var Ee=Object.defineProperty;var xe=(e,t,n)=>t in e?Ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ce=(e,t,n)=>(xe(e,typeof t!="symbol"?t+"":t,n),n);/**
* @vue/shared v3.5.11
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function makeMap(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn$1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),isModelListener=e=>e.startsWith("onUpdate:"),extend=Object.assign,remove=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hasOwnProperty$d=Object.prototype.hasOwnProperty,hasOwn$1=(e,t)=>hasOwnProperty$d.call(e,t),isArray$5=Array.isArray,isMap$2=e=>toTypeString$1(e)==="[object Map]",isSet$2=e=>toTypeString$1(e)==="[object Set]",isRegExp$1=e=>toTypeString$1(e)==="[object RegExp]",isFunction$3=e=>typeof e=="function",isString$2=e=>typeof e=="string",isSymbol$1=e=>typeof e=="symbol",isObject$4=e=>e!==null&&typeof e=="object",isPromise=e=>(isObject$4(e)||isFunction$3(e))&&isFunction$3(e.then)&&isFunction$3(e.catch),objectToString$2=Object.prototype.toString,toTypeString$1=e=>objectToString$2.call(e),toRawType=e=>toTypeString$1(e).slice(8,-1),isPlainObject$3=e=>toTypeString$1(e)==="[object Object]",isIntegerKey=e=>isString$2(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(e=>e.replace(camelizeRE,(t,n)=>n?n.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(e=>e.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(e=>e.charAt(0).toUpperCase()+e.slice(1)),toHandlerKey=cacheStringFunction(e=>e?`on${capitalize$1(e)}`:""),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},def=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},toNumber=e=>{const t=isString$2(e)?Number(e):NaN;return isNaN(t)?e:t};let _globalThis$3;const getGlobalThis$1=()=>_globalThis$3||(_globalThis$3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function normalizeStyle(e){if(isArray$5(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],a=isString$2(r)?parseStringStyle(r):normalizeStyle(r);if(a)for(const o in a)t[o]=a[o]}return t}else if(isString$2(e)||isObject$4(e))return e}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(e){const t={};return e.replace(styleCommentRE,"").split(listDelimiterRE).forEach(n=>{if(n){const r=n.split(propertyDelimiterRE);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function normalizeClass(e){let t="";if(isString$2(e))t=e;else if(isArray$5(e))for(let n=0;n<e.length;n++){const r=normalizeClass(e[n]);r&&(t+=r+" ")}else if(isObject$4(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function normalizeProps(e){if(!e)return null;let{class:t,style:n}=e;return t&&!isString$2(t)&&(e.class=normalizeClass(t)),n&&(e.style=normalizeStyle(n)),e}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||e===""}const isRef$1=e=>!!(e&&e.__v_isRef===!0),toDisplayString$1=e=>isString$2(e)?e:e==null?"":isArray$5(e)||isObject$4(e)&&(e.toString===objectToString$2||!isFunction$3(e.toString))?isRef$1(e)?toDisplayString$1(e.value):JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>isRef$1(t)?replacer(e,t.value):isMap$2(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,a],o)=>(n[stringifySymbol(r,o)+" =>"]=a,n),{})}:isSet$2(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>stringifySymbol(n))}:isSymbol$1(t)?stringifySymbol(t):isObject$4(t)&&!isArray$5(t)&&!isPlainObject$3(t)?String(t):t,stringifySymbol=(e,t="")=>{var n;return isSymbol$1(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.11
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let activeEffectScope;class EffectScope{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=activeEffectScope;try{return activeEffectScope=this,t()}finally{activeEffectScope=n}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this._active=!1}}}function effectScope(e){return new EffectScope(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e,t=!1){activeEffectScope&&activeEffectScope.cleanups.push(e)}let activeSub;const pausedQueueEffects=new WeakSet;class ReactiveEffect{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,activeEffectScope&&activeEffectScope.active&&activeEffectScope.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,pausedQueueEffects.has(this)&&(pausedQueueEffects.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||batch(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cleanupEffect(this),prepareDeps(this);const t=activeSub,n=shouldTrack;activeSub=this,shouldTrack=!0;try{return this.fn()}finally{cleanupDeps(this),activeSub=t,shouldTrack=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)removeSub(t);this.deps=this.depsTail=void 0,cleanupEffect(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?pausedQueueEffects.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){isDirty(this)&&this.run()}get dirty(){return isDirty(this)}}let batchDepth=0,batchedSub,batchedComputed;function batch(e,t=!1){if(e.flags|=8,t){e.next=batchedComputed,batchedComputed=e;return}e.next=batchedSub,batchedSub=e}function startBatch(){batchDepth++}function endBatch(){if(--batchDepth>0)return;if(batchedComputed){let t=batchedComputed;for(batchedComputed=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;batchedSub;){let t=batchedSub;for(batchedSub=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function prepareDeps(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function cleanupDeps(e){let t,n=e.depsTail,r=n;for(;r;){const a=r.prevDep;r.version===-1?(r===n&&(n=a),removeSub(r),removeDep(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=a}e.deps=t,e.depsTail=n}function isDirty(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(refreshComputed(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function refreshComputed(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===globalVersion))return;e.globalVersion=globalVersion;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!isDirty(e)){e.flags&=-3;return}const n=activeSub,r=shouldTrack;activeSub=e,shouldTrack=!0;try{prepareDeps(e);const a=e.fn(e._value);(t.version===0||hasChanged(a,e._value))&&(e._value=a,t.version++)}catch(a){throw t.version++,a}finally{activeSub=n,shouldTrack=r,cleanupDeps(e),e.flags&=-3}}function removeSub(e,t=!1){const{dep:n,prevSub:r,nextSub:a}=e;if(r&&(r.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)removeSub(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function removeDep(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=e===void 0?!0:e}function cleanupEffect(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=activeSub;activeSub=void 0;try{t()}finally{activeSub=n}}}let globalVersion=0,Link$1=class{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class Dep{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==activeSub)n=this.activeLink=new Link$1(activeSub,this),activeSub.deps?(n.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=n,activeSub.depsTail=n):activeSub.deps=activeSub.depsTail=n,addSub(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=activeSub.depsTail,n.nextDep=void 0,activeSub.depsTail.nextDep=n,activeSub.depsTail=n,activeSub.deps===n&&(activeSub.deps=r)}return n}trigger(t){this.version++,globalVersion++,this.notify(t)}notify(t){startBatch();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{endBatch()}}}function addSub(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)addSub(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(e,t,n){if(shouldTrack&&activeSub){let r=targetMap.get(e);r||targetMap.set(e,r=new Map);let a=r.get(n);a||(r.set(n,a=new Dep),a.map=r,a.key=n),a.track()}}function trigger(e,t,n,r,a,o){const i=targetMap.get(e);if(!i){globalVersion++;return}const s=l=>{l&&l.trigger()};if(startBatch(),t==="clear")i.forEach(s);else{const l=isArray$5(e),c=l&&isIntegerKey(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===ARRAY_ITERATE_KEY||!isSymbol$1(d)&&d>=u)&&s(f)})}else switch(n!==void 0&&s(i.get(n)),c&&s(i.get(ARRAY_ITERATE_KEY)),t){case"add":l?c&&s(i.get("length")):(s(i.get(ITERATE_KEY)),isMap$2(e)&&s(i.get(MAP_KEY_ITERATE_KEY)));break;case"delete":l||(s(i.get(ITERATE_KEY)),isMap$2(e)&&s(i.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$2(e)&&s(i.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(e,t){const n=targetMap.get(e);return n&&n.get(t)}function reactiveReadArray(e){const t=toRaw(e);return t===e?t:(track(t,"iterate",ARRAY_ITERATE_KEY),isShallow(e)?t:t.map(toReactive))}function shallowReadArray(e){return track(e=toRaw(e),"iterate",ARRAY_ITERATE_KEY),e}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...e){return reactiveReadArray(this).concat(...e.map(t=>isArray$5(t)?reactiveReadArray(t):t))},entries(){return iterator(this,"entries",e=>(e[1]=toReactive(e[1]),e))},every(e,t){return apply$1(this,"every",e,t,void 0,arguments)},filter(e,t){return apply$1(this,"filter",e,t,n=>n.map(toReactive),arguments)},find(e,t){return apply$1(this,"find",e,t,toReactive,arguments)},findIndex(e,t){return apply$1(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return apply$1(this,"findLast",e,t,toReactive,arguments)},findLastIndex(e,t){return apply$1(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return apply$1(this,"forEach",e,t,void 0,arguments)},includes(...e){return searchProxy(this,"includes",e)},indexOf(...e){return searchProxy(this,"indexOf",e)},join(e){return reactiveReadArray(this).join(e)},lastIndexOf(...e){return searchProxy(this,"lastIndexOf",e)},map(e,t){return apply$1(this,"map",e,t,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...e){return noTracking(this,"push",e)},reduce(e,...t){return reduce(this,"reduce",e,t)},reduceRight(e,...t){return reduce(this,"reduceRight",e,t)},shift(){return noTracking(this,"shift")},some(e,t){return apply$1(this,"some",e,t,void 0,arguments)},splice(...e){return noTracking(this,"splice",e)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(e){return reactiveReadArray(this).toSorted(e)},toSpliced(...e){return reactiveReadArray(this).toSpliced(...e)},unshift(...e){return noTracking(this,"unshift",e)},values(){return iterator(this,"values",toReactive)}};function iterator(e,t,n){const r=shallowReadArray(e),a=r[t]();return r!==e&&!isShallow(e)&&(a._next=a.next,a.next=()=>{const o=a._next();return o.value&&(o.value=n(o.value)),o}),a}const arrayProto$1=Array.prototype;function apply$1(e,t,n,r,a,o){const i=shallowReadArray(e),s=i!==e&&!isShallow(e),l=i[t];if(l!==arrayProto$1[t]){const f=l.apply(e,o);return s?toReactive(f):f}let c=n;i!==e&&(s?c=function(f,d){return n.call(this,toReactive(f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return s&&a?a(u):u}function reduce(e,t,n,r){const a=shallowReadArray(e);let o=n;return a!==e&&(isShallow(e)?n.length>3&&(o=function(i,s,l){return n.call(this,i,s,l,e)}):o=function(i,s,l){return n.call(this,i,toReactive(s),l,e)}),a[t](o,...r)}function searchProxy(e,t,n){const r=toRaw(e);track(r,"iterate",ARRAY_ITERATE_KEY);const a=r[t](...n);return(a===-1||a===!1)&&isProxy(n[0])?(n[0]=toRaw(n[0]),r[t](...n)):a}function noTracking(e,t,n=[]){pauseTracking(),startBatch();const r=toRaw(e)[t].apply(e,n);return endBatch(),resetTracking(),r}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(isSymbol$1));function hasOwnProperty$c(e){isSymbol$1(e)||(e=String(e));const t=toRaw(this);return track(t,"has",e),t.hasOwnProperty(e)}class BaseReactiveHandler{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const a=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(a?o?shallowReadonlyMap:readonlyMap:o?shallowReactiveMap:reactiveMap).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=isArray$5(t);if(!a){let l;if(i&&(l=arrayInstrumentations[n]))return l;if(n==="hasOwnProperty")return hasOwnProperty$c}const s=Reflect.get(t,n,isRef(t)?t:r);return(isSymbol$1(n)?builtInSymbols.has(n):isNonTrackableKeys(n))||(a||track(t,"get",n),o)?s:isRef(s)?i&&isIntegerKey(n)?s:s.value:isObject$4(s)?a?readonly(s):reactive(s):s}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!1,t)}set(t,n,r,a){let o=t[n];if(!this._isShallow){const l=isReadonly(o);if(!isShallow(r)&&!isReadonly(r)&&(o=toRaw(o),r=toRaw(r)),!isArray$5(t)&&isRef(o)&&!isRef(r))return l?!1:(o.value=r,!0)}const i=isArray$5(t)&&isIntegerKey(n)?Number(n)<t.length:hasOwn$1(t,n),s=Reflect.set(t,n,r,isRef(t)?t:a);return t===toRaw(a)&&(i?hasChanged(r,o)&&trigger(t,"set",n,r):trigger(t,"add",n,r)),s}deleteProperty(t,n){const r=hasOwn$1(t,n);t[n];const a=Reflect.deleteProperty(t,n);return a&&r&&trigger(t,"delete",n,void 0),a}has(t,n){const r=Reflect.has(t,n);return(!isSymbol$1(n)||!builtInSymbols.has(n))&&track(t,"has",n),r}ownKeys(t){return track(t,"iterate",isArray$5(t)?"length":ITERATE_KEY),Reflect.ownKeys(t)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=e=>e,getProto=e=>Reflect.getPrototypeOf(e);function get(e,t,n=!1,r=!1){e=e.__v_raw;const a=toRaw(e),o=toRaw(t);n||(hasChanged(t,o)&&track(a,"get",t),track(a,"get",o));const{has:i}=getProto(a),s=r?toShallow:n?toReadonly:toReactive;if(i.call(a,t))return s(e.get(t));if(i.call(a,o))return s(e.get(o));e!==a&&e.get(t)}function has$1(e,t=!1){const n=this.__v_raw,r=toRaw(n),a=toRaw(e);return t||(hasChanged(e,a)&&track(r,"has",e),track(r,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function size(e,t=!1){return e=e.__v_raw,!t&&track(toRaw(e),"iterate",ITERATE_KEY),Reflect.get(e,"size",e)}function add(e,t=!1){!t&&!isShallow(e)&&!isReadonly(e)&&(e=toRaw(e));const n=toRaw(this);return getProto(n).has.call(n,e)||(n.add(e),trigger(n,"add",e,e)),this}function set(e,t,n=!1){!n&&!isShallow(t)&&!isReadonly(t)&&(t=toRaw(t));const r=toRaw(this),{has:a,get:o}=getProto(r);let i=a.call(r,e);i||(e=toRaw(e),i=a.call(r,e));const s=o.call(r,e);return r.set(e,t),i?hasChanged(t,s)&&trigger(r,"set",e,t):trigger(r,"add",e,t),this}function deleteEntry(e){const t=toRaw(this),{has:n,get:r}=getProto(t);let a=n.call(t,e);a||(e=toRaw(e),a=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return a&&trigger(t,"delete",e,void 0),o}function clear(){const e=toRaw(this),t=e.size!==0,n=e.clear();return t&&trigger(e,"clear",void 0,void 0),n}function createForEach(e,t){return function(r,a){const o=this,i=o.__v_raw,s=toRaw(i),l=t?toShallow:e?toReadonly:toReactive;return!e&&track(s,"iterate",ITERATE_KEY),i.forEach((c,u)=>r.call(a,l(c),l(u),o))}}function createIterableMethod(e,t,n){return function(...r){const a=this.__v_raw,o=toRaw(a),i=isMap$2(o),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=a[e](...r),u=n?toShallow:t?toReadonly:toReactive;return!t&&track(o,"iterate",l?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function createInstrumentations(){const e={get(o){return get(this,o)},get size(){return size(this)},has:has$1,add,set,delete:deleteEntry,clear,forEach:createForEach(!1,!1)},t={get(o){return get(this,o,!1,!0)},get size(){return size(this)},has:has$1,add(o){return add.call(this,o,!0)},set(o,i){return set.call(this,o,i,!0)},delete:deleteEntry,clear,forEach:createForEach(!1,!0)},n={get(o){return get(this,o,!0)},get size(){return size(this,!0)},has(o){return has$1.call(this,o,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},r={get(o){return get(this,o,!0,!0)},get size(){return size(this,!0)},has(o){return has$1.call(this,o,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=createIterableMethod(o,!1,!1),n[o]=createIterableMethod(o,!0,!1),t[o]=createIterableMethod(o,!1,!0),r[o]=createIterableMethod(o,!0,!0)}),[e,n,t,r]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(e,t){const n=t?e?shallowReadonlyInstrumentations:shallowInstrumentations:e?readonlyInstrumentations:mutableInstrumentations;return(r,a,o)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?r:Reflect.get(hasOwn$1(n,a)&&a in r?n:r,a,o)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(e){return createReactiveObject(e,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(e,t,n,r,a){if(!isObject$4(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=a.get(e);if(o)return o;const i=getTargetType(e);if(i===0)return e;const s=new Proxy(e,i===2?r:n);return a.set(e,s),s}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!!(e&&e.__v_isReactive)}function isReadonly(e){return!!(e&&e.__v_isReadonly)}function isShallow(e){return!!(e&&e.__v_isShallow)}function isProxy(e){return e?!!e.__v_raw:!1}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return!hasOwn$1(e,"__v_skip")&&Object.isExtensible(e)&&def(e,"__v_skip",!0),e}const toReactive=e=>isObject$4(e)?reactive(e):e,toReadonly=e=>isObject$4(e)?readonly(e):e;function isRef(e){return e?e.__v_isRef===!0:!1}function ref(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}class RefImpl{constructor(t,n){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:toRaw(t),this._value=n?t:toReactive(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||isShallow(t)||isReadonly(t);t=r?t:toRaw(t),hasChanged(t,n)&&(this._rawValue=t,this._value=r?t:toReactive(t),this.dep.trigger())}}function unref(e){return isRef(e)?e.value:e}function toValue(e){return isFunction$3(e)?e():unref(e)}const shallowUnwrapHandlers={get:(e,t,n)=>t==="__v_raw"?e:unref(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t];return isRef(a)&&!isRef(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}class CustomRefImpl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Dep,{get:r,set:a}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=a}get value(){return this._value=this._get()}set value(t){this._set(t)}}function customRef(e){return new CustomRefImpl(e)}function toRefs(e){const t=isArray$5(e)?new Array(e.length):{};for(const n in e)t[n]=propertyToRef(e,n);return t}class ObjectRefImpl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function toRef(e,t,n){return isRef(e)?e:isFunction$3(e)?new GetterRefImpl(e):isObject$4(e)&&arguments.length>1?propertyToRef(e,t,n):ref(e)}function propertyToRef(e,t,n){const r=e[t];return isRef(r)?r:new ObjectRefImpl(e,t,n)}class ComputedRefImpl{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){const t=this.dep.track();return refreshComputed(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function computed$1(e,t,n=!1){let r,a;return isFunction$3(e)?r=e:(r=e.get,a=e.set),new ComputedRefImpl(r,a,n)}const INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function onWatcherCleanup(e,t=!1,n=activeWatcher){if(n){let r=cleanupMap.get(n);r||cleanupMap.set(n,r=[]),r.push(e)}}function watch$1(e,t,n=EMPTY_OBJ){const{immediate:r,deep:a,once:o,scheduler:i,augmentJob:s,call:l}=n,c=S=>a?S:isShallow(S)||a===!1||a===0?traverse(S,1):traverse(S);let u,f,d,m,y=!1,g=!1;if(isRef(e)?(f=()=>e.value,y=isShallow(e)):isReactive(e)?(f=()=>c(e),y=!0):isArray$5(e)?(g=!0,y=e.some(S=>isReactive(S)||isShallow(S)),f=()=>e.map(S=>{if(isRef(S))return S.value;if(isReactive(S))return c(S);if(isFunction$3(S))return l?l(S,2):S()})):isFunction$3(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){pauseTracking();try{d()}finally{resetTracking()}}const S=activeWatcher;activeWatcher=u;try{return l?l(e,3,[m]):e(m)}finally{activeWatcher=S}}:f=NOOP,t&&a){const S=f,C=a===!0?1/0:a;f=()=>traverse(S(),C)}const P=getCurrentScope(),v=()=>{u.stop(),P&&remove(P.effects,u)};if(o&&t){const S=t;t=(...C)=>{S(...C),v()}}let _=g?new Array(e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const b=S=>{if(!(!(u.flags&1)||!u.dirty&&!S))if(t){const C=u.run();if(a||y||(g?C.some((k,T)=>hasChanged(k,_[T])):hasChanged(C,_))){d&&d();const k=activeWatcher;activeWatcher=u;try{const T=[C,_===INITIAL_WATCHER_VALUE?void 0:g&&_[0]===INITIAL_WATCHER_VALUE?[]:_,m];l?l(t,3,T):t(...T),_=C}finally{activeWatcher=k}}}else u.run()};return s&&s(b),u=new ReactiveEffect(f),u.scheduler=i?()=>i(b,!1):b,m=S=>onWatcherCleanup(S,!1,u),d=u.onStop=()=>{const S=cleanupMap.get(u);if(S){if(l)l(S,4);else for(const C of S)C();cleanupMap.delete(u)}},t?r?b(!0):_=u.run():i?i(b.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function traverse(e,t=1/0,n){if(t<=0||!isObject$4(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,isRef(e))traverse(e.value,t,n);else if(isArray$5(e))for(let r=0;r<e.length;r++)traverse(e[r],t,n);else if(isSet$2(e)||isMap$2(e))e.forEach(r=>{traverse(r,t,n)});else if(isPlainObject$3(e)){for(const r in e)traverse(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&traverse(e[r],t,n)}return e}/**
* @vue/runtime-core v3.5.11
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const stack=[];let isWarning=!1;function warn$1$1(e,...t){if(isWarning)return;isWarning=!0,pauseTracking();const n=stack.length?stack[stack.length-1].component:null,r=n&&n.appContext.config.warnHandler,a=getComponentTrace();if(r)callWithErrorHandling(r,n,11,[e+t.map(o=>{var i,s;return(s=(i=o.toString)==null?void 0:i.call(o))!=null?s:JSON.stringify(o)}).join(""),n&&n.proxy,a.map(({vnode:o})=>`at <${formatComponentName(n,o.type)}>`).join(`
`),a]);else{const o=[`[Vue warn]: ${e}`,...t];a.length&&o.push(`
`,...formatTrace(a)),console.warn(...o)}resetTracking(),isWarning=!1}function getComponentTrace(){let e=stack[stack.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function formatTrace(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
`],...formatTraceEntry(n))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,a=` at <${formatComponentName(e.component,e.type,r)}`,o=">"+n;return e.props?[a,...formatProps(e.props),o]:[a+o]}function formatProps(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...formatProp(r,e[r]))}),n.length>3&&t.push(" ..."),t}function formatProp(e,t,n){return isString$2(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):isFunction$3(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),n?t:[`${e}=`,t])}function callWithErrorHandling(e,t,n,r){try{return r?e(...r):e()}catch(a){handleError(a,t,n)}}function callWithAsyncErrorHandling(e,t,n,r){if(isFunction$3(e)){const a=callWithErrorHandling(e,t,n,r);return a&&isPromise(a)&&a.catch(o=>{handleError(o,t,n)}),a}if(isArray$5(e)){const a=[];for(let o=0;o<e.length;o++)a.push(callWithAsyncErrorHandling(e[o],t,n,r));return a}}function handleError(e,t,n,r=!0){const a=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||EMPTY_OBJ;if(t){let s=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}s=s.parent}if(o){pauseTracking(),callWithErrorHandling(o,null,10,[e,l,c]),resetTracking();return}}logError(e,n,a,r,i)}function logError(e,t,n,r=!0,a=!1){if(a)throw e;console.error(e)}const queue=[];let flushIndex=-1;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(e){const t=currentFlushPromise||resolvedPromise;return e?t.then(this?e.bind(this):e):t}function findInsertionIndex(e){let t=flushIndex+1,n=queue.length;for(;t<n;){const r=t+n>>>1,a=queue[r],o=getId(a);o<e||o===e&&a.flags&2?t=r+1:n=r}return t}function queueJob(e){if(!(e.flags&1)){const t=getId(e),n=queue[queue.length-1];!n||!(e.flags&2)&&t>=getId(n)?queue.push(e):queue.splice(findInsertionIndex(t),0,e),e.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(e){isArray$5(e)?pendingPostFlushCbs.push(...e):activePostFlushCbs&&e.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,e):e.flags&1||(pendingPostFlushCbs.push(e),e.flags|=1),queueFlush()}function flushPreFlushCbs(e,t,n=flushIndex+1){for(;n<queue.length;n++){const r=queue[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;queue.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const t=[...new Set(pendingPostFlushCbs)].sort((n,r)=>getId(n)-getId(r));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const n=activePostFlushCbs[postFlushIndex];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>e.id==null?e.flags&2?-1:1/0:e.id;function flushJobs(e){try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),callWithErrorHandling(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&(t.flags&=-2)}flushIndex=-1,queue.length=0,flushPostFlushCbs(),currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function withCtx(e,t=currentRenderingInstance,n){if(!t||e._n)return e;const r=(...a)=>{r._d&&setBlockTracking(-1);const o=setCurrentRenderingInstance(t);let i;try{i=e(...a)}finally{setCurrentRenderingInstance(o),r._d&&setBlockTracking(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function withDirectives(e,t){if(currentRenderingInstance===null)return e;const n=getComponentPublicInstance(currentRenderingInstance),r=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[o,i,s,l=EMPTY_OBJ]=t[a];o&&(isFunction$3(o)&&(o={mounted:o,updated:o}),o.deep&&traverse(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:s,modifiers:l}))}return e}function invokeDirectiveHook(e,t,n,r){const a=e.dirs,o=t&&t.dirs;for(let i=0;i<a.length;i++){const s=a[i];o&&(s.oldValue=o[i].value);let l=s.dir[r];l&&(pauseTracking(),callWithAsyncErrorHandling(l,n,8,[e.el,s,e,t]),resetTracking())}}const TeleportEndKey=Symbol("_vte"),isTeleport=e=>e.__isTeleport,isTeleportDisabled=e=>e&&(e.disabled||e.disabled===""),isTeleportDeferred=e=>e&&(e.defer||e.defer===""),isTargetSVG=e=>typeof SVGElement<"u"&&e instanceof SVGElement,isTargetMathML=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,resolveTarget=(e,t)=>{const n=e&&e.to;return isString$2(n)?t?t(n):null:n},TeleportImpl={name:"Teleport",__isTeleport:!0,process(e,t,n,r,a,o,i,s,l,c){const{mc:u,pc:f,pbc:d,o:{insert:m,querySelector:y,createText:g,createComment:P}}=c,v=isTeleportDisabled(t.props);let{shapeFlag:_,children:b,dynamicChildren:S}=t;if(e==null){const C=t.el=g(""),k=t.anchor=g("");m(C,n,r),m(k,n,r);const T=(E,F)=>{_&16&&(a&&a.isCE&&(a.ce._teleportTarget=E),u(b,E,F,a,o,i,s,l))},w=()=>{const E=t.target=resolveTarget(t.props,y),F=prepareAnchor(E,t,g,m);E&&(i!=="svg"&&isTargetSVG(E)?i="svg":i!=="mathml"&&isTargetMathML(E)&&(i="mathml"),v||(T(E,F),updateCssVars(t)))};v&&(T(n,k),updateCssVars(t)),isTeleportDeferred(t.props)?queuePostRenderEffect(w,o):w()}else{t.el=e.el,t.targetStart=e.targetStart;const C=t.anchor=e.anchor,k=t.target=e.target,T=t.targetAnchor=e.targetAnchor,w=isTeleportDisabled(e.props),E=w?n:k,F=w?C:T;if(i==="svg"||isTargetSVG(k)?i="svg":(i==="mathml"||isTargetMathML(k))&&(i="mathml"),S?(d(e.dynamicChildren,S,E,a,o,i,s),traverseStaticChildren(e,t,!0)):l||f(e,t,E,F,a,o,i,s,!1),v)w?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):moveTeleport(t,n,C,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const L=t.target=resolveTarget(t.props,y);L&&moveTeleport(t,L,null,c,0)}else w&&moveTeleport(t,k,T,c,1);updateCssVars(t)}},remove(e,t,n,{um:r,o:{remove:a}},o){const{shapeFlag:i,children:s,anchor:l,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(a(c),a(u)),o&&a(l),i&16){const m=o||!isTeleportDisabled(d);for(let y=0;y<s.length;y++){const g=s[y];r(g,t,n,m,!!g.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(e,t,n,{o:{insert:r},m:a},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:s,shapeFlag:l,children:c,props:u}=e,f=o===2;if(f&&r(i,t,n),(!f||isTeleportDisabled(u))&&l&16)for(let d=0;d<c.length;d++)a(c[d],t,n,2);f&&r(s,t,n)}function hydrateTeleport(e,t,n,r,a,o,{o:{nextSibling:i,parentNode:s,querySelector:l,insert:c,createText:u}},f){const d=t.target=resolveTarget(t.props,l);if(d){const m=d._lpa||d.firstChild;if(t.shapeFlag&16)if(isTeleportDisabled(t.props))t.anchor=f(i(e),t,s(e),n,r,a,o),t.targetStart=m,t.targetAnchor=m&&i(m);else{t.anchor=i(e);let y=m;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")t.targetStart=y;else if(y.data==="teleport anchor"){t.targetAnchor=y,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}y=i(y)}t.targetAnchor||prepareAnchor(d,t,u,c),f(m&&i(m),t,d,n,r,a,o)}updateCssVars(t)}return t.anchor&&i(t.anchor)}const Teleport=TeleportImpl;function updateCssVars(e){const t=e.ctx;if(t&&t.ut){let n=e.targetStart;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function prepareAnchor(e,t,n,r){const a=t.targetStart=n(""),o=t.targetAnchor=n("");return a[TeleportEndKey]=o,e&&(r(a,e),r(o,e)),o}const leaveCbKey=Symbol("_leaveCb"),enterCbKey$1=Symbol("_enterCb");function useTransitionState(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{e.isMounted=!0}),onBeforeUnmount(()=>{e.isUnmounting=!0}),e}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=e=>{const t=e.subTree;return t.component?recursiveGetSubtree(t.component):t},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(e,{slots:t}){const n=getCurrentInstance$1(),r=useTransitionState();return()=>{const a=t.default&&getTransitionRawChildren(t.default(),!0);if(!a||!a.length)return;const o=findNonCommentChild(a),i=toRaw(e),{mode:s}=i;if(r.isLeaving)return emptyPlaceholder(o);const l=getInnerChild$1(o);if(!l)return emptyPlaceholder(o);let c=resolveTransitionHooks(l,i,r,n,d=>c=d);l.type!==Comment&&setTransitionHooks(l,c);const u=n.subTree,f=u&&getInnerChild$1(u);if(f&&f.type!==Comment&&!isSameVNodeType(l,f)&&recursiveGetSubtree(n).type!==Comment){const d=resolveTransitionHooks(f,i,r,n);if(setTransitionHooks(f,d),s==="out-in"&&l.type!==Comment)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave},emptyPlaceholder(o);s==="in-out"&&l.type!==Comment&&(d.delayLeave=(m,y,g)=>{const P=getLeavingNodesForType(r,f);P[String(f.key)]=f,m[leaveCbKey]=()=>{y(),m[leaveCbKey]=void 0,delete c.delayedLeave},c.delayedLeave=g})}return o}}};function findNonCommentChild(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Comment){t=n;break}}return t}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function resolveTransitionHooks(e,t,n,r,a){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:m,onAfterLeave:y,onLeaveCancelled:g,onBeforeAppear:P,onAppear:v,onAfterAppear:_,onAppearCancelled:b}=t,S=String(e.key),C=getLeavingNodesForType(n,e),k=(E,F)=>{E&&callWithAsyncErrorHandling(E,r,9,F)},T=(E,F)=>{const L=F[1];k(E,F),isArray$5(E)?E.every(N=>N.length<=1)&&L():E.length<=1&&L()},w={mode:i,persisted:s,beforeEnter(E){let F=l;if(!n.isMounted)if(o)F=P||l;else return;E[leaveCbKey]&&E[leaveCbKey](!0);const L=C[S];L&&isSameVNodeType(e,L)&&L.el[leaveCbKey]&&L.el[leaveCbKey](),k(F,[E])},enter(E){let F=c,L=u,N=f;if(!n.isMounted)if(o)F=v||c,L=_||u,N=b||f;else return;let O=!1;const U=E[enterCbKey$1]=j=>{O||(O=!0,j?k(N,[E]):k(L,[E]),w.delayedLeave&&w.delayedLeave(),E[enterCbKey$1]=void 0)};F?T(F,[E,U]):U()},leave(E,F){const L=String(e.key);if(E[enterCbKey$1]&&E[enterCbKey$1](!0),n.isUnmounting)return F();k(d,[E]);let N=!1;const O=E[leaveCbKey]=U=>{N||(N=!0,F(),U?k(g,[E]):k(y,[E]),E[leaveCbKey]=void 0,C[L]===e&&delete C[L])};C[L]=e,m?T(m,[E,O]):O()},clone(E){const F=resolveTransitionHooks(E,t,n,r,a);return a&&a(F),F}};return w}function emptyPlaceholder(e){if(isKeepAlive(e))return e=cloneVNode(e),e.children=null,e}function getInnerChild$1(e){if(!isKeepAlive(e))return isTeleport(e.type)&&e.children?findNonCommentChild(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&isFunction$3(n.default))return n.default()}}function setTransitionHooks(e,t){e.shapeFlag&6&&e.component?(e.transition=t,setTransitionHooks(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function getTransitionRawChildren(e,t=!1,n){let r=[],a=0;for(let o=0;o<e.length;o++){let i=e[o];const s=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Fragment?(i.patchFlag&128&&a++,r=r.concat(getTransitionRawChildren(i.children,t,s))):(t||i.type!==Comment)&&r.push(s!=null?cloneVNode(i,{key:s}):i)}if(a>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function defineComponent$1(e,t){return isFunction$3(e)?extend({name:e.name},t,{setup:e}):e}function markAsyncBoundary(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function setRef(e,t,n,r,a=!1){if(isArray$5(e)){e.forEach((y,g)=>setRef(y,t&&(isArray$5(t)?t[g]:t),n,r,a));return}if(isAsyncWrapper(r)&&!a)return;const o=r.shapeFlag&4?getComponentPublicInstance(r.component):r.el,i=a?null:o,{i:s,r:l}=e,c=t&&t.r,u=s.refs===EMPTY_OBJ?s.refs={}:s.refs,f=s.setupState,d=toRaw(f),m=f===EMPTY_OBJ?()=>!1:y=>hasOwn$1(d,y);if(c!=null&&c!==l&&(isString$2(c)?(u[c]=null,m(c)&&(f[c]=null)):isRef(c)&&(c.value=null)),isFunction$3(l))callWithErrorHandling(l,s,12,[i,u]);else{const y=isString$2(l),g=isRef(l);if(y||g){const P=()=>{if(e.f){const v=y?m(l)?f[l]:u[l]:l.value;a?isArray$5(v)&&remove(v,o):isArray$5(v)?v.includes(o)||v.push(o):y?(u[l]=[o],m(l)&&(f[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else y?(u[l]=i,m(l)&&(f[l]=i)):g&&(l.value=i,e.k&&(u[e.k]=i))};i?(P.id=-1,queuePostRenderEffect(P,n)):P()}}}let hasLoggedMismatchError=!1;const logMismatchError=()=>{hasLoggedMismatchError||(console.error("Hydration completed but contains mismatches."),hasLoggedMismatchError=!0)},isSVGContainer=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",isMathMLContainer=e=>e.namespaceURI.includes("MathML"),getContainerType=e=>{if(e.nodeType===1){if(isSVGContainer(e))return"svg";if(isMathMLContainer(e))return"mathml"}},isComment=e=>e.nodeType===8;function createHydrationFunctions(e){const{mt:t,p:n,o:{patchProp:r,createText:a,nextSibling:o,parentNode:i,remove:s,insert:l,createComment:c}}=e,u=(b,S)=>{if(!S.hasChildNodes()){n(null,b,S),flushPostFlushCbs(),S._vnode=b;return}f(S.firstChild,b,null,null,null),flushPostFlushCbs(),S._vnode=b},f=(b,S,C,k,T,w=!1)=>{w=w||!!S.dynamicChildren;const E=isComment(b)&&b.data==="[",F=()=>g(b,S,C,k,T,E),{type:L,ref:N,shapeFlag:O,patchFlag:U}=S;let j=b.nodeType;S.el=b,U===-2&&(w=!1,S.dynamicChildren=null);let I=null;switch(L){case Text:j!==3?S.children===""?(l(S.el=a(""),i(b),b),I=b):I=F():(b.data!==S.children&&(logMismatchError(),b.data=S.children),I=o(b));break;case Comment:_(b)?(I=o(b),v(S.el=b.content.firstChild,b,C)):j!==8||E?I=F():I=o(b);break;case Static:if(E&&(b=o(b),j=b.nodeType),j===1||j===3){I=b;const M=!S.children.length;for(let V=0;V<S.staticCount;V++)M&&(S.children+=I.nodeType===1?I.outerHTML:I.data),V===S.staticCount-1&&(S.anchor=I),I=o(I);return E?o(I):I}else F();break;case Fragment:E?I=y(b,S,C,k,T,w):I=F();break;default:if(O&1)(j!==1||S.type.toLowerCase()!==b.tagName.toLowerCase())&&!_(b)?I=F():I=d(b,S,C,k,T,w);else if(O&6){S.slotScopeIds=T;const M=i(b);if(E?I=P(b):isComment(b)&&b.data==="teleport start"?I=P(b,b.data,"teleport end"):I=o(b),t(S,M,null,C,k,getContainerType(M),w),isAsyncWrapper(S)){let V;E?(V=createVNode(Fragment),V.anchor=I?I.previousSibling:M.lastChild):V=b.nodeType===3?createTextVNode(""):createVNode("div"),V.el=b,S.component.subTree=V}}else O&64?j!==8?I=F():I=S.type.hydrate(b,S,C,k,T,w,e,m):O&128&&(I=S.type.hydrate(b,S,C,k,getContainerType(i(b)),T,w,e,f))}return N!=null&&setRef(N,null,k,S),I},d=(b,S,C,k,T,w)=>{w=w||!!S.dynamicChildren;const{type:E,props:F,patchFlag:L,shapeFlag:N,dirs:O,transition:U}=S,j=E==="input"||E==="option";if(j||L!==-1){O&&invokeDirectiveHook(S,null,C,"created");let I=!1;if(_(b)){I=needTransition(k,U)&&C&&C.vnode.props&&C.vnode.props.appear;const V=b.content.firstChild;I&&U.beforeEnter(V),v(V,b,C),S.el=b=V}if(N&16&&!(F&&(F.innerHTML||F.textContent))){let V=m(b.firstChild,S,b,C,k,T,w);for(;V;){isMismatchAllowed(b,1)||logMismatchError();const R=V;V=V.nextSibling,s(R)}}else if(N&8){let V=S.children;V[0]===`
`&&(b.tagName==="PRE"||b.tagName==="TEXTAREA")&&(V=V.slice(1)),b.textContent!==V&&(isMismatchAllowed(b,0)||logMismatchError(),b.textContent=S.children)}if(F){if(j||!w||L&48){const V=b.tagName.includes("-");for(const R in F)(j&&(R.endsWith("value")||R==="indeterminate")||isOn$1(R)&&!isReservedProp(R)||R[0]==="."||V)&&r(b,R,null,F[R],void 0,C)}else if(F.onClick)r(b,"onClick",null,F.onClick,void 0,C);else if(L&4&&isReactive(F.style))for(const V in F.style)F.style[V]}let M;(M=F&&F.onVnodeBeforeMount)&&invokeVNodeHook(M,C,S),O&&invokeDirectiveHook(S,null,C,"beforeMount"),((M=F&&F.onVnodeMounted)||O||I)&&queueEffectWithSuspense(()=>{M&&invokeVNodeHook(M,C,S),I&&U.enter(b),O&&invokeDirectiveHook(S,null,C,"mounted")},k)}return b.nextSibling},m=(b,S,C,k,T,w,E)=>{E=E||!!S.dynamicChildren;const F=S.children,L=F.length;for(let N=0;N<L;N++){const O=E?F[N]:F[N]=normalizeVNode(F[N]),U=O.type===Text;b?(U&&!E&&N+1<L&&normalizeVNode(F[N+1]).type===Text&&(l(a(b.data.slice(O.children.length)),C,o(b)),b.data=O.children),b=f(b,O,k,T,w,E)):U&&!O.children?l(O.el=a(""),C):(isMismatchAllowed(C,1)||logMismatchError(),n(null,O,C,null,k,T,getContainerType(C),w))}return b},y=(b,S,C,k,T,w)=>{const{slotScopeIds:E}=S;E&&(T=T?T.concat(E):E);const F=i(b),L=m(o(b),S,F,C,k,T,w);return L&&isComment(L)&&L.data==="]"?o(S.anchor=L):(logMismatchError(),l(S.anchor=c("]"),F,L),L)},g=(b,S,C,k,T,w)=>{if(isMismatchAllowed(b.parentElement,1)||logMismatchError(),S.el=null,w){const L=P(b);for(;;){const N=o(b);if(N&&N!==L)s(N);else break}}const E=o(b),F=i(b);return s(b),n(null,S,F,E,C,k,getContainerType(F),T),E},P=(b,S="[",C="]")=>{let k=0;for(;b;)if(b=o(b),b&&isComment(b)&&(b.data===S&&k++,b.data===C)){if(k===0)return o(b);k--}return b},v=(b,S,C)=>{const k=S.parentNode;k&&k.replaceChild(b,S);let T=C;for(;T;)T.vnode.el===S&&(T.vnode.el=T.subTree.el=b),T=T.parent},_=b=>b.nodeType===1&&b.tagName==="TEMPLATE";return[u,f]}const allowMismatchAttr="data-allow-mismatch",MismatchTypeString={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function isMismatchAllowed(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(allowMismatchAttr);)e=e.parentElement;const n=e&&e.getAttribute(allowMismatchAttr);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(MismatchTypeString[t])}}function forEachElement(e,t){if(isComment(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(isComment(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const isAsyncWrapper=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(e){isFunction$3(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:a=200,hydrate:o,timeout:i,suspensible:s=!0,onError:l}=e;let c=null,u,f=0;const d=()=>(f++,c=null,m()),m=()=>{let y;return c||(y=c=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((P,v)=>{l(g,()=>P(d()),()=>v(g),f+1)});throw g}).then(g=>y!==c&&c?c:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),u=g,g)))};return defineComponent$1({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(y,g,P){const v=o?()=>{const _=o(P,b=>forEachElement(y,b));_&&(g.bum||(g.bum=[])).push(_)}:P;u?v():m().then(()=>!g.isUnmounted&&v())},get __asyncResolved(){return u},setup(){const y=currentInstance;if(markAsyncBoundary(y),u)return()=>createInnerComp(u,y);const g=b=>{c=null,handleError(b,y,13,!r)};if(s&&y.suspense||isInSSRComponentSetup)return m().then(b=>()=>createInnerComp(b,y)).catch(b=>(g(b),()=>r?createVNode(r,{error:b}):null));const P=ref(!1),v=ref(),_=ref(!!a);return a&&setTimeout(()=>{_.value=!1},a),i!=null&&setTimeout(()=>{if(!P.value&&!v.value){const b=new Error(`Async component timed out after ${i}ms.`);g(b),v.value=b}},i),m().then(()=>{P.value=!0,y.parent&&isKeepAlive(y.parent.vnode)&&y.parent.update()}).catch(b=>{g(b),v.value=b}),()=>{if(P.value&&u)return createInnerComp(u,y);if(v.value&&r)return createVNode(r,{error:v.value});if(n&&!_.value)return createVNode(n)}}})}function createInnerComp(e,t){const{ref:n,props:r,children:a,ce:o}=t.vnode,i=createVNode(e,r,a);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const isKeepAlive=e=>e.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=getCurrentInstance$1(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const a=new Map,o=new Set;let i=null;const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(_,b,S,C,k)=>{const T=_.component;c(_,b,S,0,s),l(T.vnode,_,b,S,T,s,C,_.slotScopeIds,k),queuePostRenderEffect(()=>{T.isDeactivated=!1,T.a&&invokeArrayFns(T.a);const w=_.props&&_.props.onVnodeMounted;w&&invokeVNodeHook(w,T.parent,_)},s)},r.deactivate=_=>{const b=_.component;invalidateMount(b.m),invalidateMount(b.a),c(_,d,null,1,s),queuePostRenderEffect(()=>{b.da&&invokeArrayFns(b.da);const S=_.props&&_.props.onVnodeUnmounted;S&&invokeVNodeHook(S,b.parent,_),b.isDeactivated=!0},s)};function m(_){resetShapeFlag(_),u(_,n,s,!0)}function y(_){a.forEach((b,S)=>{const C=getComponentName(b.type);C&&!_(C)&&g(S)})}function g(_){const b=a.get(_);b&&(!i||!isSameVNodeType(b,i))?m(b):i&&resetShapeFlag(i),a.delete(_),o.delete(_)}watch(()=>[e.include,e.exclude],([_,b])=>{_&&y(S=>matches(_,S)),b&&y(S=>!matches(b,S))},{flush:"post",deep:!0});let P=null;const v=()=>{P!=null&&(isSuspense(n.subTree.type)?queuePostRenderEffect(()=>{a.set(P,getInnerChild(n.subTree))},n.subTree.suspense):a.set(P,getInnerChild(n.subTree)))};return onMounted(v),onUpdated(v),onBeforeUnmount(()=>{a.forEach(_=>{const{subTree:b,suspense:S}=n,C=getInnerChild(b);if(_.type===C.type&&_.key===C.key){resetShapeFlag(C);const k=C.component.da;k&&queuePostRenderEffect(k,S);return}m(_)})}),()=>{if(P=null,!t.default)return i=null;const _=t.default(),b=_[0];if(_.length>1)return i=null,_;if(!isVNode$1(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return i=null,b;let S=getInnerChild(b);if(S.type===Comment)return i=null,S;const C=S.type,k=getComponentName(isAsyncWrapper(S)?S.type.__asyncResolved||{}:C),{include:T,exclude:w,max:E}=e;if(T&&(!k||!matches(T,k))||w&&k&&matches(w,k))return S.shapeFlag&=-257,i=S,b;const F=S.key==null?C:S.key,L=a.get(F);return S.el&&(S=cloneVNode(S),b.shapeFlag&128&&(b.ssContent=S)),P=F,L?(S.el=L.el,S.component=L.component,S.transition&&setTransitionHooks(S,S.transition),S.shapeFlag|=512,o.delete(F),o.add(F)):(o.add(F),E&&o.size>parseInt(E,10)&&g(o.values().next().value)),S.shapeFlag|=256,i=S,isSuspense(b.type)?b:S}}},KeepAlive=KeepAliveImpl;function matches(e,t){return isArray$5(e)?e.some(n=>matches(n,t)):isString$2(e)?e.split(",").includes(t):isRegExp$1(e)?(e.lastIndex=0,e.test(t)):!1}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,n=currentInstance){const r=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(injectHook(t,r,n),n){let a=n.parent;for(;a&&a.parent;)isKeepAlive(a.parent.vnode)&&injectToKeepAliveRoot(r,t,n,a),a=a.parent}}function injectToKeepAliveRoot(e,t,n,r){const a=injectHook(t,e,r,!0);onUnmounted(()=>{remove(r[t],a)},n)}function resetShapeFlag(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function getInnerChild(e){return e.shapeFlag&128?e.ssContent:e}function injectHook(e,t,n=currentInstance,r=!1){if(n){const a=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{pauseTracking();const s=setCurrentInstance(n),l=callWithAsyncErrorHandling(t,n,e,i);return s(),resetTracking(),l});return r?a.unshift(o):a.push(o),o}}const createHook=e=>(t,n=currentInstance)=>{(!isInSSRComponentSetup||e==="sp")&&injectHook(e,(...r)=>t(...r),n)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(e,t=currentInstance){injectHook("ec",e,t)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(e,t){return resolveAsset(COMPONENTS,e,!0,t)||e}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(e){return isString$2(e)?resolveAsset(COMPONENTS,e,!1)||e:e||NULL_DYNAMIC_COMPONENT}function resolveDirective(e){return resolveAsset(DIRECTIVES,e)}function resolveAsset(e,t,n=!0,r=!1){const a=currentRenderingInstance||currentInstance;if(a){const o=a.type;if(e===COMPONENTS){const s=getComponentName(o,!1);if(s&&(s===t||s===camelize(t)||s===capitalize$1(camelize(t))))return o}const i=resolve$1(a[e]||o[e],t)||resolve$1(a.appContext[e],t);return!i&&r?o:i}}function resolve$1(e,t){return e&&(e[t]||e[camelize(t)]||e[capitalize$1(camelize(t))])}function renderList(e,t,n,r){let a;const o=n,i=isArray$5(e);if(i||isString$2(e)){const s=i&&isReactive(e);let l=!1;s&&(l=!isShallow(e),e=shallowReadArray(e)),a=new Array(e.length);for(let c=0,u=e.length;c<u;c++)a[c]=t(l?toReactive(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){a=new Array(e);for(let s=0;s<e;s++)a[s]=t(s+1,s,void 0,o)}else if(isObject$4(e))if(e[Symbol.iterator])a=Array.from(e,(s,l)=>t(s,l,void 0,o));else{const s=Object.keys(e);a=new Array(s.length);for(let l=0,c=s.length;l<c;l++){const u=s[l];a[l]=t(e[u],u,l,o)}}else a=[];return a}function renderSlot(e,t,n={},r,a){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.ce)return t!=="default"&&(n.name=t),openBlock(),createBlock(Fragment,null,[createVNode("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),openBlock();const i=o&&ensureValidVNode$1(o(n)),s=createBlock(Fragment,{key:(n.key||i&&i.key||`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!a&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function ensureValidVNode$1(e){return e.some(t=>isVNode$1(t)?!(t.type===Comment||t.type===Fragment&&!ensureValidVNode$1(t.children)):!0)?e:null}const getPublicInstance=e=>e?isStatefulComponent(e)?getComponentPublicInstance(e):getPublicInstance(e.parent):null,publicPropertiesMap=extend(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>{queueJob(e.update)}),$nextTick:e=>e.n||(e.n=nextTick.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),hasSetupBinding=(e,t)=>e!==EMPTY_OBJ&&!e.__isScriptSetup&&hasOwn$1(e,t),PublicInstanceProxyHandlers={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:a,props:o,accessCache:i,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return a[t];case 4:return n[t];case 3:return o[t]}else{if(hasSetupBinding(r,t))return i[t]=1,r[t];if(a!==EMPTY_OBJ&&hasOwn$1(a,t))return i[t]=2,a[t];if((c=e.propsOptions[0])&&hasOwn$1(c,t))return i[t]=3,o[t];if(n!==EMPTY_OBJ&&hasOwn$1(n,t))return i[t]=4,n[t];shouldCacheAccess&&(i[t]=0)}}const u=publicPropertiesMap[t];let f,d;if(u)return t==="$attrs"&&track(e.attrs,"get",""),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==EMPTY_OBJ&&hasOwn$1(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,hasOwn$1(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:a,ctx:o}=e;return hasSetupBinding(a,t)?(a[t]=n,!0):r!==EMPTY_OBJ&&hasOwn$1(r,t)?(r[t]=n,!0):hasOwn$1(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:o}},i){let s;return!!n[i]||e!==EMPTY_OBJ&&hasOwn$1(e,i)||hasSetupBinding(t,i)||(s=o[0])&&hasOwn$1(s,i)||hasOwn$1(r,i)||hasOwn$1(publicPropertiesMap,i)||hasOwn$1(a.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:hasOwn$1(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function normalizePropsOrEmits(e){return isArray$5(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function mergeModels(e,t){return!e||!t?e||t:isArray$5(e)&&isArray$5(t)?e.concat(t):extend({},normalizePropsOrEmits(e),normalizePropsOrEmits(t))}function withAsyncContext(e){const t=getCurrentInstance$1();let n=e();return unsetCurrentInstance(),isPromise(n)&&(n=n.catch(r=>{throw setCurrentInstance(t),r})),[n,()=>setCurrentInstance(t)]}let shouldCacheAccess=!0;function applyOptions(e){const t=resolveMergedOptions(e),n=e.proxy,r=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,e,"bc");const{data:a,computed:o,methods:i,watch:s,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:m,updated:y,activated:g,deactivated:P,beforeDestroy:v,beforeUnmount:_,destroyed:b,unmounted:S,render:C,renderTracked:k,renderTriggered:T,errorCaptured:w,serverPrefetch:E,expose:F,inheritAttrs:L,components:N,directives:O,filters:U}=t;if(c&&resolveInjections(c,r,null),i)for(const M in i){const V=i[M];isFunction$3(V)&&(r[M]=V.bind(n))}if(a){const M=a.call(n,n);isObject$4(M)&&(e.data=reactive(M))}if(shouldCacheAccess=!0,o)for(const M in o){const V=o[M],R=isFunction$3(V)?V.bind(n,n):isFunction$3(V.get)?V.get.bind(n,n):NOOP,D=!isFunction$3(V)&&isFunction$3(V.set)?V.set.bind(n):NOOP,$=computed({get:R,set:D});Object.defineProperty(r,M,{enumerable:!0,configurable:!0,get:()=>$.value,set:G=>$.value=G})}if(s)for(const M in s)createWatcher(s[M],r,n,M);if(l){const M=isFunction$3(l)?l.call(n):l;Reflect.ownKeys(M).forEach(V=>{provide(V,M[V])})}u&&callHook$1(u,e,"c");function I(M,V){isArray$5(V)?V.forEach(R=>M(R.bind(n))):V&&M(V.bind(n))}if(I(onBeforeMount,f),I(onMounted,d),I(onBeforeUpdate,m),I(onUpdated,y),I(onActivated,g),I(onDeactivated,P),I(onErrorCaptured,w),I(onRenderTracked,k),I(onRenderTriggered,T),I(onBeforeUnmount,_),I(onUnmounted,S),I(onServerPrefetch,E),isArray$5(F))if(F.length){const M=e.exposed||(e.exposed={});F.forEach(V=>{Object.defineProperty(M,V,{get:()=>n[V],set:R=>n[V]=R})})}else e.exposed||(e.exposed={});C&&e.render===NOOP&&(e.render=C),L!=null&&(e.inheritAttrs=L),N&&(e.components=N),O&&(e.directives=O),E&&markAsyncBoundary(e)}function resolveInjections(e,t,n=NOOP){isArray$5(e)&&(e=normalizeInject(e));for(const r in e){const a=e[r];let o;isObject$4(a)?"default"in a?o=inject$1(a.from||r,a.default,!0):o=inject$1(a.from||r):o=inject$1(a),isRef(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function callHook$1(e,t,n){callWithAsyncErrorHandling(isArray$5(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function createWatcher(e,t,n,r){let a=r.includes(".")?createPathGetter(n,r):()=>n[r];if(isString$2(e)){const o=t[e];isFunction$3(o)&&watch(a,o)}else if(isFunction$3(e))watch(a,e.bind(n));else if(isObject$4(e))if(isArray$5(e))e.forEach(o=>createWatcher(o,t,n,r));else{const o=isFunction$3(e.handler)?e.handler.bind(n):t[e.handler];isFunction$3(o)&&watch(a,o,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,s=o.get(t);let l;return s?l=s:!a.length&&!n&&!r?l=t:(l={},a.length&&a.forEach(c=>mergeOptions$1(l,c,i,!0)),mergeOptions$1(l,t,i)),isObject$4(t)&&o.set(t,l),l}function mergeOptions$1(e,t,n,r=!1){const{mixins:a,extends:o}=t;o&&mergeOptions$1(e,o,n,!0),a&&a.forEach(i=>mergeOptions$1(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const s=internalOptionMergeStrats[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend(isFunction$3(e)?e.call(this,this):e,isFunction$3(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$5(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mergeAsArray(e,t){return e?[...new Set([].concat(e,t))]:t}function mergeObjectOptions(e,t){return e?extend(Object.create(null),e,t):t}function mergeEmitsOrPropsOptions(e,t){return e?isArray$5(e)&&isArray$5(t)?[...new Set([...e,...t])]:extend(Object.create(null),normalizePropsOrEmits(e),normalizePropsOrEmits(t??{})):t}function mergeWatchOptions(e,t){if(!e)return t;if(!t)return e;const n=extend(Object.create(null),e);for(const r in t)n[r]=mergeAsArray(e[r],t[r]);return n}function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid$1=0;function createAppAPI(e,t){return function(r,a=null){isFunction$3(r)||(r=extend({},r)),a!=null&&!isObject$4(a)&&(a=null);const o=createAppContext(),i=new WeakSet,s=[];let l=!1;const c=o.app={_uid:uid$1++,_component:r,_props:a,_container:null,_context:o,_instance:null,version:version$1,get config(){return o.config},set config(u){},use(u,...f){return i.has(u)||(u&&isFunction$3(u.install)?(i.add(u),u.install(c,...f)):isFunction$3(u)&&(i.add(u),u(c,...f))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,f){return f?(o.components[u]=f,c):o.components[u]},directive(u,f){return f?(o.directives[u]=f,c):o.directives[u]},mount(u,f,d){if(!l){const m=c._ceVNode||createVNode(r,a);return m.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(m,u):e(m,u,d),l=!0,c._container=u,u.__vue_app__=c,getComponentPublicInstance(m.component)}},onUnmount(u){s.push(u)},unmount(){l&&(callWithAsyncErrorHandling(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return o.provides[u]=f,c},runWithContext(u){const f=currentApp;currentApp=c;try{return u()}finally{currentApp=f}}};return c}}let currentApp=null;function provide(e,t){if(currentInstance){let n=currentInstance.provides;const r=currentInstance.parent&&currentInstance.parent.provides;r===n&&(n=currentInstance.provides=Object.create(r)),n[e]=t}}function inject$1(e,t,n=!1){const r=currentInstance||currentRenderingInstance;if(r||currentApp){const a=currentApp?currentApp._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(a&&e in a)return a[e];if(arguments.length>1)return n&&isFunction$3(t)?t.call(r&&r.proxy):t}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=e=>Object.getPrototypeOf(e)===internalObjectProto;function initProps(e,t,n,r=!1){const a={},o=createInternalObject();e.propsDefaults=Object.create(null),setFullProps(e,t,a,o);for(const i in e.propsOptions[0])i in a||(a[i]=void 0);n?e.props=r?a:shallowReactive(a):e.type.props?e.props=a:e.props=o,e.attrs=o}function updateProps(e,t,n,r){const{props:a,attrs:o,vnode:{patchFlag:i}}=e,s=toRaw(a),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(isEmitListener(e.emitsOptions,d))continue;const m=t[d];if(l)if(hasOwn$1(o,d))m!==o[d]&&(o[d]=m,c=!0);else{const y=camelize(d);a[y]=resolvePropValue(l,s,y,m,e,!1)}else m!==o[d]&&(o[d]=m,c=!0)}}}else{setFullProps(e,t,a,o)&&(c=!0);let u;for(const f in s)(!t||!hasOwn$1(t,f)&&((u=hyphenate(f))===f||!hasOwn$1(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(a[f]=resolvePropValue(l,s,f,void 0,e,!0)):delete a[f]);if(o!==s)for(const f in o)(!t||!hasOwn$1(t,f))&&(delete o[f],c=!0)}c&&trigger(e.attrs,"set","")}function setFullProps(e,t,n,r){const[a,o]=e.propsOptions;let i=!1,s;if(t)for(let l in t){if(isReservedProp(l))continue;const c=t[l];let u;a&&hasOwn$1(a,u=camelize(l))?!o||!o.includes(u)?n[u]=c:(s||(s={}))[u]=c:isEmitListener(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=toRaw(n),c=s||EMPTY_OBJ;for(let u=0;u<o.length;u++){const f=o[u];n[f]=resolvePropValue(a,l,f,c[f],e,!hasOwn$1(c,f))}}return i}function resolvePropValue(e,t,n,r,a,o){const i=e[n];if(i!=null){const s=hasOwn$1(i,"default");if(s&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&isFunction$3(l)){const{propsDefaults:c}=a;if(n in c)r=c[n];else{const u=setCurrentInstance(a);r=c[n]=l.call(null,t),u()}}else r=l;a.ce&&a.ce._setProp(n,r)}i[0]&&(o&&!s?r=!1:i[1]&&(r===""||r===hyphenate(n))&&(r=!0))}return r}const mixinPropsCache=new WeakMap;function normalizePropsOptions(e,t,n=!1){const r=n?mixinPropsCache:t.propsCache,a=r.get(e);if(a)return a;const o=e.props,i={},s=[];let l=!1;if(!isFunction$3(e)){const u=f=>{l=!0;const[d,m]=normalizePropsOptions(f,t,!0);extend(i,d),m&&s.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return isObject$4(e)&&r.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray$5(o))for(let u=0;u<o.length;u++){const f=camelize(o[u]);validatePropName(f)&&(i[f]=EMPTY_OBJ)}else if(o)for(const u in o){const f=camelize(u);if(validatePropName(f)){const d=o[u],m=i[f]=isArray$5(d)||isFunction$3(d)?{type:d}:extend({},d),y=m.type;let g=!1,P=!0;if(isArray$5(y))for(let v=0;v<y.length;++v){const _=y[v],b=isFunction$3(_)&&_.name;if(b==="Boolean"){g=!0;break}else b==="String"&&(P=!1)}else g=isFunction$3(y)&&y.name==="Boolean";m[0]=g,m[1]=P,(g||hasOwn$1(m,"default"))&&s.push(f)}}const c=[i,s];return isObject$4(e)&&r.set(e,c),c}function validatePropName(e){return e[0]!=="$"&&!isReservedProp(e)}const isInternalKey=e=>e[0]==="_"||e==="$stable",normalizeSlotValue=e=>isArray$5(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot$1=(e,t,n)=>{if(t._n)return t;const r=withCtx((...a)=>normalizeSlotValue(t(...a)),n);return r._c=!1,r},normalizeObjectSlots=(e,t,n)=>{const r=e._ctx;for(const a in e){if(isInternalKey(a))continue;const o=e[a];if(isFunction$3(o))t[a]=normalizeSlot$1(a,o,r);else if(o!=null){const i=normalizeSlotValue(o);t[a]=()=>i}}},normalizeVNodeSlots=(e,t)=>{const n=normalizeSlotValue(t);e.slots.default=()=>n},assignSlots=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},initSlots=(e,t,n)=>{const r=e.slots=createInternalObject();if(e.vnode.shapeFlag&32){const a=t._;a?(assignSlots(r,t,n),n&&def(r,"_",a,!0)):normalizeObjectSlots(t,r)}else t&&normalizeVNodeSlots(e,t)},updateSlots=(e,t,n)=>{const{vnode:r,slots:a}=e;let o=!0,i=EMPTY_OBJ;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:assignSlots(a,t,n):(o=!t.$stable,normalizeObjectSlots(t,a)),i=t}else t&&(normalizeVNodeSlots(e,t),i={default:1});if(o)for(const s in a)!isInternalKey(s)&&i[s]==null&&delete a[s]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function createHydrationRenderer(e){return baseCreateRenderer(e,createHydrationFunctions)}function baseCreateRenderer(e,t){const n=getGlobalThis$1();n.__VUE__=!0;const{insert:r,remove:a,patchProp:o,createElement:i,createText:s,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:m=NOOP,insertStaticContent:y}=e,g=(x,A,B,q=null,X=null,te=null,ie=void 0,le=null,se=!!A.dynamicChildren)=>{if(x===A)return;x&&!isSameVNodeType(x,A)&&(q=Y(x),G(x,X,te,!0),x=null),A.patchFlag===-2&&(se=!1,A.dynamicChildren=null);const{type:ae,ref:J,shapeFlag:Z}=A;switch(ae){case Text:P(x,A,B,q);break;case Comment:v(x,A,B,q);break;case Static:x==null&&_(A,B,q,ie);break;case Fragment:N(x,A,B,q,X,te,ie,le,se);break;default:Z&1?C(x,A,B,q,X,te,ie,le,se):Z&6?O(x,A,B,q,X,te,ie,le,se):(Z&64||Z&128)&&ae.process(x,A,B,q,X,te,ie,le,se,re)}J!=null&&X&&setRef(J,x&&x.ref,te,A||x,!A)},P=(x,A,B,q)=>{if(x==null)r(A.el=s(A.children),B,q);else{const X=A.el=x.el;A.children!==x.children&&c(X,A.children)}},v=(x,A,B,q)=>{x==null?r(A.el=l(A.children||""),B,q):A.el=x.el},_=(x,A,B,q)=>{[x.el,x.anchor]=y(x.children,A,B,q,x.el,x.anchor)},b=({el:x,anchor:A},B,q)=>{let X;for(;x&&x!==A;)X=d(x),r(x,B,q),x=X;r(A,B,q)},S=({el:x,anchor:A})=>{let B;for(;x&&x!==A;)B=d(x),a(x),x=B;a(A)},C=(x,A,B,q,X,te,ie,le,se)=>{A.type==="svg"?ie="svg":A.type==="math"&&(ie="mathml"),x==null?k(A,B,q,X,te,ie,le,se):E(x,A,X,te,ie,le,se)},k=(x,A,B,q,X,te,ie,le)=>{let se,ae;const{props:J,shapeFlag:Z,transition:fe,dirs:he}=x;if(se=x.el=i(x.type,te,J&&J.is,J),Z&8?u(se,x.children):Z&16&&w(x.children,se,null,q,X,resolveChildrenNamespace(x,te),ie,le),he&&invokeDirectiveHook(x,null,q,"created"),T(se,x,x.scopeId,ie,q),J){for(const ve in J)ve!=="value"&&!isReservedProp(ve)&&o(se,ve,null,J[ve],te,q);"value"in J&&o(se,"value",null,J.value,te),(ae=J.onVnodeBeforeMount)&&invokeVNodeHook(ae,q,x)}he&&invokeDirectiveHook(x,null,q,"beforeMount");const pe=needTransition(X,fe);pe&&fe.beforeEnter(se),r(se,A,B),((ae=J&&J.onVnodeMounted)||pe||he)&&queuePostRenderEffect(()=>{ae&&invokeVNodeHook(ae,q,x),pe&&fe.enter(se),he&&invokeDirectiveHook(x,null,q,"mounted")},X)},T=(x,A,B,q,X)=>{if(B&&m(x,B),q)for(let te=0;te<q.length;te++)m(x,q[te]);if(X){let te=X.subTree;if(A===te||isSuspense(te.type)&&(te.ssContent===A||te.ssFallback===A)){const ie=X.vnode;T(x,ie,ie.scopeId,ie.slotScopeIds,X.parent)}}},w=(x,A,B,q,X,te,ie,le,se=0)=>{for(let ae=se;ae<x.length;ae++){const J=x[ae]=le?cloneIfMounted(x[ae]):normalizeVNode(x[ae]);g(null,J,A,B,q,X,te,ie,le)}},E=(x,A,B,q,X,te,ie)=>{const le=A.el=x.el;let{patchFlag:se,dynamicChildren:ae,dirs:J}=A;se|=x.patchFlag&16;const Z=x.props||EMPTY_OBJ,fe=A.props||EMPTY_OBJ;let he;if(B&&toggleRecurse(B,!1),(he=fe.onVnodeBeforeUpdate)&&invokeVNodeHook(he,B,A,x),J&&invokeDirectiveHook(A,x,B,"beforeUpdate"),B&&toggleRecurse(B,!0),(Z.innerHTML&&fe.innerHTML==null||Z.textContent&&fe.textContent==null)&&u(le,""),ae?F(x.dynamicChildren,ae,le,B,q,resolveChildrenNamespace(A,X),te):ie||V(x,A,le,null,B,q,resolveChildrenNamespace(A,X),te,!1),se>0){if(se&16)L(le,Z,fe,B,X);else if(se&2&&Z.class!==fe.class&&o(le,"class",null,fe.class,X),se&4&&o(le,"style",Z.style,fe.style,X),se&8){const pe=A.dynamicProps;for(let ve=0;ve<pe.length;ve++){const me=pe[ve],ge=Z[me],ye=fe[me];(ye!==ge||me==="value")&&o(le,me,ge,ye,X,B)}}se&1&&x.children!==A.children&&u(le,A.children)}else!ie&&ae==null&&L(le,Z,fe,B,X);((he=fe.onVnodeUpdated)||J)&&queuePostRenderEffect(()=>{he&&invokeVNodeHook(he,B,A,x),J&&invokeDirectiveHook(A,x,B,"updated")},q)},F=(x,A,B,q,X,te,ie)=>{for(let le=0;le<A.length;le++){const se=x[le],ae=A[le],J=se.el&&(se.type===Fragment||!isSameVNodeType(se,ae)||se.shapeFlag&70)?f(se.el):B;g(se,ae,J,null,q,X,te,ie,!0)}},L=(x,A,B,q,X)=>{if(A!==B){if(A!==EMPTY_OBJ)for(const te in A)!isReservedProp(te)&&!(te in B)&&o(x,te,A[te],null,X,q);for(const te in B){if(isReservedProp(te))continue;const ie=B[te],le=A[te];ie!==le&&te!=="value"&&o(x,te,le,ie,X,q)}"value"in B&&o(x,"value",A.value,B.value,X)}},N=(x,A,B,q,X,te,ie,le,se)=>{const ae=A.el=x?x.el:s(""),J=A.anchor=x?x.anchor:s("");let{patchFlag:Z,dynamicChildren:fe,slotScopeIds:he}=A;he&&(le=le?le.concat(he):he),x==null?(r(ae,B,q),r(J,B,q),w(A.children||[],B,J,X,te,ie,le,se)):Z>0&&Z&64&&fe&&x.dynamicChildren?(F(x.dynamicChildren,fe,B,X,te,ie,le),(A.key!=null||X&&A===X.subTree)&&traverseStaticChildren(x,A,!0)):V(x,A,B,J,X,te,ie,le,se)},O=(x,A,B,q,X,te,ie,le,se)=>{A.slotScopeIds=le,x==null?A.shapeFlag&512?X.ctx.activate(A,B,q,ie,se):U(A,B,q,X,te,ie,se):j(x,A,se)},U=(x,A,B,q,X,te,ie)=>{const le=x.component=createComponentInstance(x,q,X);if(isKeepAlive(x)&&(le.ctx.renderer=re),setupComponent(le,!1,ie),le.asyncDep){if(X&&X.registerDep(le,I,ie),!x.el){const se=le.subTree=createVNode(Comment);v(null,se,A,B)}}else I(le,x,A,B,X,te,ie)},j=(x,A,B)=>{const q=A.component=x.component;if(shouldUpdateComponent(x,A,B))if(q.asyncDep&&!q.asyncResolved){M(q,A,B);return}else q.next=A,q.update();else A.el=x.el,q.vnode=A},I=(x,A,B,q,X,te,ie)=>{const le=()=>{if(x.isMounted){let{next:Z,bu:fe,u:he,parent:pe,vnode:ve}=x;{const be=locateNonHydratedAsyncRoot(x);if(be){Z&&(Z.el=ve.el,M(x,Z,ie)),be.asyncDep.then(()=>{x.isUnmounted||le()});return}}let me=Z,ge;toggleRecurse(x,!1),Z?(Z.el=ve.el,M(x,Z,ie)):Z=ve,fe&&invokeArrayFns(fe),(ge=Z.props&&Z.props.onVnodeBeforeUpdate)&&invokeVNodeHook(ge,pe,Z,ve),toggleRecurse(x,!0);const ye=renderComponentRoot(x),_e=x.subTree;x.subTree=ye,g(_e,ye,f(_e.el),Y(_e),x,X,te),Z.el=ye.el,me===null&&updateHOCHostEl(x,ye.el),he&&queuePostRenderEffect(he,X),(ge=Z.props&&Z.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(ge,pe,Z,ve),X)}else{let Z;const{el:fe,props:he}=A,{bm:pe,m:ve,parent:me,root:ge,type:ye}=x,_e=isAsyncWrapper(A);if(toggleRecurse(x,!1),pe&&invokeArrayFns(pe),!_e&&(Z=he&&he.onVnodeBeforeMount)&&invokeVNodeHook(Z,me,A),toggleRecurse(x,!0),fe&&de){const be=()=>{x.subTree=renderComponentRoot(x),de(fe,x.subTree,x,X,null)};_e&&ye.__asyncHydrate?ye.__asyncHydrate(fe,x,be):be()}else{ge.ce&&ge.ce._injectChildStyle(ye);const be=x.subTree=renderComponentRoot(x);g(null,be,B,q,x,X,te),A.el=be.el}if(ve&&queuePostRenderEffect(ve,X),!_e&&(Z=he&&he.onVnodeMounted)){const be=A;queuePostRenderEffect(()=>invokeVNodeHook(Z,me,be),X)}(A.shapeFlag&256||me&&isAsyncWrapper(me.vnode)&&me.vnode.shapeFlag&256)&&x.a&&queuePostRenderEffect(x.a,X),x.isMounted=!0,A=B=q=null}};x.scope.on();const se=x.effect=new ReactiveEffect(le);x.scope.off();const ae=x.update=se.run.bind(se),J=x.job=se.runIfDirty.bind(se);J.i=x,J.id=x.uid,se.scheduler=()=>queueJob(J),toggleRecurse(x,!0),ae()},M=(x,A,B)=>{A.component=x;const q=x.vnode.props;x.vnode=A,x.next=null,updateProps(x,A.props,q,B),updateSlots(x,A.children,B),pauseTracking(),flushPreFlushCbs(x),resetTracking()},V=(x,A,B,q,X,te,ie,le,se=!1)=>{const ae=x&&x.children,J=x?x.shapeFlag:0,Z=A.children,{patchFlag:fe,shapeFlag:he}=A;if(fe>0){if(fe&128){D(ae,Z,B,q,X,te,ie,le,se);return}else if(fe&256){R(ae,Z,B,q,X,te,ie,le,se);return}}he&8?(J&16&&ee(ae,X,te),Z!==ae&&u(B,Z)):J&16?he&16?D(ae,Z,B,q,X,te,ie,le,se):ee(ae,X,te,!0):(J&8&&u(B,""),he&16&&w(Z,B,q,X,te,ie,le,se))},R=(x,A,B,q,X,te,ie,le,se)=>{x=x||EMPTY_ARR,A=A||EMPTY_ARR;const ae=x.length,J=A.length,Z=Math.min(ae,J);let fe;for(fe=0;fe<Z;fe++){const he=A[fe]=se?cloneIfMounted(A[fe]):normalizeVNode(A[fe]);g(x[fe],he,B,null,X,te,ie,le,se)}ae>J?ee(x,X,te,!0,!1,Z):w(A,B,q,X,te,ie,le,se,Z)},D=(x,A,B,q,X,te,ie,le,se)=>{let ae=0;const J=A.length;let Z=x.length-1,fe=J-1;for(;ae<=Z&&ae<=fe;){const he=x[ae],pe=A[ae]=se?cloneIfMounted(A[ae]):normalizeVNode(A[ae]);if(isSameVNodeType(he,pe))g(he,pe,B,null,X,te,ie,le,se);else break;ae++}for(;ae<=Z&&ae<=fe;){const he=x[Z],pe=A[fe]=se?cloneIfMounted(A[fe]):normalizeVNode(A[fe]);if(isSameVNodeType(he,pe))g(he,pe,B,null,X,te,ie,le,se);else break;Z--,fe--}if(ae>Z){if(ae<=fe){const he=fe+1,pe=he<J?A[he].el:q;for(;ae<=fe;)g(null,A[ae]=se?cloneIfMounted(A[ae]):normalizeVNode(A[ae]),B,pe,X,te,ie,le,se),ae++}}else if(ae>fe)for(;ae<=Z;)G(x[ae],X,te,!0),ae++;else{const he=ae,pe=ae,ve=new Map;for(ae=pe;ae<=fe;ae++){const Se=A[ae]=se?cloneIfMounted(A[ae]):normalizeVNode(A[ae]);Se.key!=null&&ve.set(Se.key,ae)}let me,ge=0;const ye=fe-pe+1;let _e=!1,be=0;const ke=new Array(ye);for(ae=0;ae<ye;ae++)ke[ae]=0;for(ae=he;ae<=Z;ae++){const Se=x[ae];if(ge>=ye){G(Se,X,te,!0);continue}let Pe;if(Se.key!=null)Pe=ve.get(Se.key);else for(me=pe;me<=fe;me++)if(ke[me-pe]===0&&isSameVNodeType(Se,A[me])){Pe=me;break}Pe===void 0?G(Se,X,te,!0):(ke[Pe-pe]=ae+1,Pe>=be?be=Pe:_e=!0,g(Se,A[Pe],B,null,X,te,ie,le,se),ge++)}const Te=_e?getSequence(ke):EMPTY_ARR;for(me=Te.length-1,ae=ye-1;ae>=0;ae--){const Se=pe+ae,Pe=A[Se],we=Se+1<J?A[Se+1].el:q;ke[ae]===0?g(null,Pe,B,we,X,te,ie,le,se):_e&&(me<0||ae!==Te[me]?$(Pe,B,we,2):me--)}}},$=(x,A,B,q,X=null)=>{const{el:te,type:ie,transition:le,children:se,shapeFlag:ae}=x;if(ae&6){$(x.component.subTree,A,B,q);return}if(ae&128){x.suspense.move(A,B,q);return}if(ae&64){ie.move(x,A,B,re);return}if(ie===Fragment){r(te,A,B);for(let Z=0;Z<se.length;Z++)$(se[Z],A,B,q);r(x.anchor,A,B);return}if(ie===Static){b(x,A,B);return}if(q!==2&&ae&1&&le)if(q===0)le.beforeEnter(te),r(te,A,B),queuePostRenderEffect(()=>le.enter(te),X);else{const{leave:Z,delayLeave:fe,afterLeave:he}=le,pe=()=>r(te,A,B),ve=()=>{Z(te,()=>{pe(),he&&he()})};fe?fe(te,pe,ve):ve()}else r(te,A,B)},G=(x,A,B,q=!1,X=!1)=>{const{type:te,props:ie,ref:le,children:se,dynamicChildren:ae,shapeFlag:J,patchFlag:Z,dirs:fe,cacheIndex:he}=x;if(Z===-2&&(X=!1),le!=null&&setRef(le,null,B,x,!0),he!=null&&(A.renderCache[he]=void 0),J&256){A.ctx.deactivate(x);return}const pe=J&1&&fe,ve=!isAsyncWrapper(x);let me;if(ve&&(me=ie&&ie.onVnodeBeforeUnmount)&&invokeVNodeHook(me,A,x),J&6)ce(x.component,B,q);else{if(J&128){x.suspense.unmount(B,q);return}pe&&invokeDirectiveHook(x,null,A,"beforeUnmount"),J&64?x.type.remove(x,A,B,re,q):ae&&!ae.hasOnce&&(te!==Fragment||Z>0&&Z&64)?ee(ae,A,B,!1,!0):(te===Fragment&&Z&384||!X&&J&16)&&ee(se,A,B),q&&ne(x)}(ve&&(me=ie&&ie.onVnodeUnmounted)||pe)&&queuePostRenderEffect(()=>{me&&invokeVNodeHook(me,A,x),pe&&invokeDirectiveHook(x,null,A,"unmounted")},B)},ne=x=>{const{type:A,el:B,anchor:q,transition:X}=x;if(A===Fragment){oe(B,q);return}if(A===Static){S(x);return}const te=()=>{a(B),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(x.shapeFlag&1&&X&&!X.persisted){const{leave:ie,delayLeave:le}=X,se=()=>ie(B,te);le?le(x.el,te,se):se()}else te()},oe=(x,A)=>{let B;for(;x!==A;)B=d(x),a(x),x=B;a(A)},ce=(x,A,B)=>{const{bum:q,scope:X,job:te,subTree:ie,um:le,m:se,a:ae}=x;invalidateMount(se),invalidateMount(ae),q&&invokeArrayFns(q),X.stop(),te&&(te.flags|=8,G(ie,x,A,B)),le&&queuePostRenderEffect(le,A),queuePostRenderEffect(()=>{x.isUnmounted=!0},A),A&&A.pendingBranch&&!A.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===A.pendingId&&(A.deps--,A.deps===0&&A.resolve())},ee=(x,A,B,q=!1,X=!1,te=0)=>{for(let ie=te;ie<x.length;ie++)G(x[ie],A,B,q,X)},Y=x=>{if(x.shapeFlag&6)return Y(x.component.subTree);if(x.shapeFlag&128)return x.suspense.next();const A=d(x.anchor||x.el),B=A&&A[TeleportEndKey];return B?d(B):A};let Q=!1;const z=(x,A,B)=>{x==null?A._vnode&&G(A._vnode,null,null,!0):g(A._vnode||null,x,A,null,null,null,B),A._vnode=x,Q||(Q=!0,flushPreFlushCbs(),flushPostFlushCbs(),Q=!1)},re={p:g,um:G,m:$,r:ne,mt:U,mc:w,pc:V,pbc:F,n:Y,o:e};let ue,de;return t&&([ue,de]=t(re)),{render:z,hydrate:ue,createApp:createAppAPI(z,ue)}}function resolveChildrenNamespace({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function toggleRecurse({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function needTransition(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(e,t,n=!1){const r=e.children,a=t.children;if(isArray$5(r)&&isArray$5(a))for(let o=0;o<r.length;o++){const i=r[o];let s=a[o];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=a[o]=cloneIfMounted(a[o]),s.el=i.el),!n&&s.patchFlag!==-2&&traverseStaticChildren(i,s)),s.type===Text&&(s.el=i.el)}}function getSequence(e){const t=e.slice(),n=[0];let r,a,o,i,s;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(a=n[n.length-1],e[a]<c){t[r]=a,n.push(r);continue}for(o=0,i=n.length-1;o<i;)s=o+i>>1,e[n[s]]<c?o=s+1:i=s;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function locateNonHydratedAsyncRoot(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}function invalidateMount(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject$1(ssrContextKey);function watchEffect(e,t){return doWatch(e,null,t)}function watchSyncEffect(e,t){return doWatch(e,null,{flush:"sync"})}function watch(e,t,n){return doWatch(e,t,n)}function doWatch(e,t,n=EMPTY_OBJ){const{immediate:r,deep:a,flush:o,once:i}=n,s=extend({},n);let l;if(isInSSRComponentSetup)if(o==="sync"){const d=useSSRContext();l=d.__watcherHandles||(d.__watcherHandles=[])}else if(!t||r)s.once=!0;else{const d=()=>{};return d.stop=NOOP,d.resume=NOOP,d.pause=NOOP,d}const c=currentInstance;s.call=(d,m,y)=>callWithAsyncErrorHandling(d,c,m,y);let u=!1;o==="post"?s.scheduler=d=>{queuePostRenderEffect(d,c&&c.suspense)}:o!=="sync"&&(u=!0,s.scheduler=(d,m)=>{m?d():queueJob(d)}),s.augmentJob=d=>{t&&(d.flags|=4),u&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const f=watch$1(e,t,s);return l&&l.push(f),f}function instanceWatch(e,t,n){const r=this.proxy,a=isString$2(e)?e.includes(".")?createPathGetter(r,e):()=>r[e]:e.bind(r,r);let o;isFunction$3(t)?o=t:(o=t.handler,n=t);const i=setCurrentInstance(this),s=doWatch(a,o.bind(r),n);return i(),s}function createPathGetter(e,t){const n=t.split(".");return()=>{let r=e;for(let a=0;a<n.length&&r;a++)r=r[n[a]];return r}}function useModel(e,t,n=EMPTY_OBJ){const r=getCurrentInstance$1(),a=camelize(t),o=hyphenate(t),i=getModelModifiers(e,t),s=customRef((l,c)=>{let u,f=EMPTY_OBJ,d;return watchSyncEffect(()=>{const m=e[t];hasChanged(u,m)&&(u=m,c())}),{get(){return l(),n.get?n.get(u):u},set(m){const y=n.set?n.set(m):m;if(!hasChanged(y,u)&&!(f!==EMPTY_OBJ&&hasChanged(m,f)))return;const g=r.vnode.props;g&&(t in g||a in g||o in g)&&(`onUpdate:${t}`in g||`onUpdate:${a}`in g||`onUpdate:${o}`in g)||(u=m,c()),r.emit(`update:${t}`,y),hasChanged(m,y)&&hasChanged(m,f)&&!hasChanged(y,d)&&c(),f=m,d=y}}});return s[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||EMPTY_OBJ:s,done:!1}:{done:!0}}}},s}const getModelModifiers=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${camelize(t)}Modifiers`]||e[`${hyphenate(t)}Modifiers`];function emit(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||EMPTY_OBJ;let a=n;const o=t.startsWith("update:"),i=o&&getModelModifiers(r,t.slice(7));i&&(i.trim&&(a=n.map(u=>isString$2(u)?u.trim():u)),i.number&&(a=n.map(looseToNumber)));let s,l=r[s=toHandlerKey(t)]||r[s=toHandlerKey(camelize(t))];!l&&o&&(l=r[s=toHandlerKey(hyphenate(t))]),l&&callWithAsyncErrorHandling(l,e,6,a);const c=r[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,callWithAsyncErrorHandling(c,e,6,a)}}function normalizeEmitsOptions(e,t,n=!1){const r=t.emitsCache,a=r.get(e);if(a!==void 0)return a;const o=e.emits;let i={},s=!1;if(!isFunction$3(e)){const l=c=>{const u=normalizeEmitsOptions(c,t,!0);u&&(s=!0,extend(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!s?(isObject$4(e)&&r.set(e,null),null):(isArray$5(o)?o.forEach(l=>i[l]=null):extend(i,o),isObject$4(e)&&r.set(e,i),i)}function isEmitListener(e,t){return!e||!isOn$1(t)?!1:(t=t.slice(2).replace(/Once$/,""),hasOwn$1(e,t[0].toLowerCase()+t.slice(1))||hasOwn$1(e,hyphenate(t))||hasOwn$1(e,t))}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:n,proxy:r,withProxy:a,propsOptions:[o],slots:i,attrs:s,emit:l,render:c,renderCache:u,props:f,data:d,setupState:m,ctx:y,inheritAttrs:g}=e,P=setCurrentRenderingInstance(e);let v,_;try{if(n.shapeFlag&4){const S=a||r,C=S;v=normalizeVNode(c.call(C,S,u,f,m,d,y)),_=s}else{const S=t;v=normalizeVNode(S.length>1?S(f,{attrs:s,slots:i,emit:l}):S(f,null)),_=t.props?s:getFunctionalFallthrough(s)}}catch(S){blockStack.length=0,handleError(S,e,1),v=createVNode(Comment)}let b=v;if(_&&g!==!1){const S=Object.keys(_),{shapeFlag:C}=b;S.length&&C&7&&(o&&S.some(isModelListener)&&(_=filterModelListeners(_,o)),b=cloneVNode(b,_,!1,!0))}return n.dirs&&(b=cloneVNode(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&setTransitionHooks(b,n.transition),v=b,setCurrentRenderingInstance(P),v}function filterSingleRoot(e,t=!0){let n;for(let r=0;r<e.length;r++){const a=e[r];if(isVNode$1(a)){if(a.type!==Comment||a.children==="v-if"){if(n)return;n=a}}else return}return n}const getFunctionalFallthrough=e=>{let t;for(const n in e)(n==="class"||n==="style"||isOn$1(n))&&((t||(t={}))[n]=e[n]);return t},filterModelListeners=(e,t)=>{const n={};for(const r in e)(!isModelListener(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function shouldUpdateComponent(e,t,n){const{props:r,children:a,component:o}=e,{props:i,children:s,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?hasPropsChanged(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==r[d]&&!isEmitListener(c,d))return!0}}}else return(a||s)&&(!s||!s.$stable)?!0:r===i?!1:r?i?hasPropsChanged(r,i,c):!0:!!i;return!1}function hasPropsChanged(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let a=0;a<r.length;a++){const o=r[a];if(t[o]!==e[o]&&!isEmitListener(n,o))return!0}return!1}function updateHOCHostEl({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const isSuspense=e=>e.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(e,t,n,r,a,o,i,s,l,c){if(e==null)mountSuspense(t,n,r,a,o,i,s,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}patchSuspense(e,t,n,r,a,i,s,l,c)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent(e,t){const n=e.props&&e.props[t];isFunction$3(n)&&n()}function mountSuspense(e,t,n,r,a,o,i,s,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=createSuspenseBoundary(e,a,r,t,f,n,o,i,s,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(triggerEvent(e,"onPending"),triggerEvent(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),setActiveBranch(d,e.ssFallback)):d.resolve(!1,!0)}function patchSuspense(e,t,n,r,a,o,i,s,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,m=t.ssFallback,{activeBranch:y,pendingBranch:g,isInFallback:P,isHydrating:v}=f;if(g)f.pendingBranch=d,isSameVNodeType(d,g)?(l(g,d,f.hiddenContainer,null,a,f,o,i,s),f.deps<=0?f.resolve():P&&(v||(l(y,m,n,r,a,null,o,i,s),setActiveBranch(f,m)))):(f.pendingId=suspenseId++,v?(f.isHydrating=!1,f.activeBranch=g):c(g,a,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),P?(l(null,d,f.hiddenContainer,null,a,f,o,i,s),f.deps<=0?f.resolve():(l(y,m,n,r,a,null,o,i,s),setActiveBranch(f,m))):y&&isSameVNodeType(d,y)?(l(y,d,n,r,a,f,o,i,s),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,a,f,o,i,s),f.deps<=0&&f.resolve()));else if(y&&isSameVNodeType(d,y))l(y,d,n,r,a,f,o,i,s),setActiveBranch(f,d);else if(triggerEvent(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=suspenseId++,l(null,d,f.hiddenContainer,null,a,f,o,i,s),f.deps<=0)f.resolve();else{const{timeout:_,pendingId:b}=f;_>0?setTimeout(()=>{f.pendingId===b&&f.fallback(m)},_):_===0&&f.fallback(m)}}function createSuspenseBoundary(e,t,n,r,a,o,i,s,l,c,u=!1){const{p:f,m:d,um:m,n:y,o:{parentNode:g,remove:P}}=c;let v;const _=isVNodeSuspensible(e);_&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const b=e.props?toNumber(e.props.timeout):void 0,S=o,C={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:a,deps:0,pendingId:suspenseId++,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(k=!1,T=!1){const{vnode:w,activeBranch:E,pendingBranch:F,pendingId:L,effects:N,parentComponent:O,container:U}=C;let j=!1;C.isHydrating?C.isHydrating=!1:k||(j=E&&F.transition&&F.transition.mode==="out-in",j&&(E.transition.afterLeave=()=>{L===C.pendingId&&(d(F,U,o===S?y(E):o,0),queuePostFlushCb(N))}),E&&(g(E.el)===U&&(o=y(E)),m(E,O,C,!0)),j||d(F,U,o,0)),setActiveBranch(C,F),C.pendingBranch=null,C.isInFallback=!1;let I=C.parent,M=!1;for(;I;){if(I.pendingBranch){I.effects.push(...N),M=!0;break}I=I.parent}!M&&!j&&queuePostFlushCb(N),C.effects=[],_&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),triggerEvent(w,"onResolve")},fallback(k){if(!C.pendingBranch)return;const{vnode:T,activeBranch:w,parentComponent:E,container:F,namespace:L}=C;triggerEvent(T,"onFallback");const N=y(w),O=()=>{C.isInFallback&&(f(null,k,F,N,E,null,L,s,l),setActiveBranch(C,k))},U=k.transition&&k.transition.mode==="out-in";U&&(w.transition.afterLeave=O),C.isInFallback=!0,m(w,E,null,!0),U||O()},move(k,T,w){C.activeBranch&&d(C.activeBranch,k,T,w),C.container=k},next(){return C.activeBranch&&y(C.activeBranch)},registerDep(k,T,w){const E=!!C.pendingBranch;E&&C.deps++;const F=k.vnode.el;k.asyncDep.catch(L=>{handleError(L,k,0)}).then(L=>{if(k.isUnmounted||C.isUnmounted||C.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:N}=k;handleSetupResult(k,L,!1),F&&(N.el=F);const O=!F&&k.subTree.el;T(k,N,g(F||k.subTree.el),F?null:y(k.subTree),C,i,w),O&&P(O),updateHOCHostEl(k,N.el),E&&--C.deps===0&&C.resolve()})},unmount(k,T){C.isUnmounted=!0,C.activeBranch&&m(C.activeBranch,n,k,T),C.pendingBranch&&m(C.pendingBranch,n,k,T)}};return C}function hydrateSuspense(e,t,n,r,a,o,i,s,l){const c=t.suspense=createSuspenseBoundary(t,r,n,e.parentNode,document.createElement("div"),null,a,o,i,s,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),u}function normalizeSuspenseChildren(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=normalizeSuspenseSlot(r?n.default:n),e.ssFallback=r?normalizeSuspenseSlot(n.fallback):createVNode(Comment)}function normalizeSuspenseSlot(e){let t;if(isFunction$3(e)){const n=isBlockTreeEnabled&&e._c;n&&(e._d=!1,openBlock()),e=e(),n&&(e._d=!0,t=currentBlock,closeBlock())}return isArray$5(e)&&(e=filterSingleRoot(e)),e=normalizeVNode(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function queueEffectWithSuspense(e,t){t&&t.pendingBranch?isArray$5(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function setActiveBranch(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let a=t.el;for(;!a&&t.component;)t=t.component.subTree,a=t.el;n.el=a,r&&r.subTree===n&&(r.vnode.el=a,updateHOCHostEl(r,a))}function isVNodeSuspensible(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Fragment=Symbol.for("v-fgt"),Text=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(e=!1){blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(e){isBlockTreeEnabled+=e,e<0&&currentBlock&&(currentBlock.hasOnce=!0)}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),e}function createElementBlock(e,t,n,r,a,o){return setupBlock(createBaseVNode(e,t,n,r,a,o,!0))}function createBlock(e,t,n,r,a){return setupBlock(createVNode(e,t,n,r,a,!0))}function isVNode$1(e){return e?e.__v_isVNode===!0:!1}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}const normalizeKey=({key:e})=>e??null,normalizeRef=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?isString$2(e)||isRef(e)||isFunction$3(e)?{i:currentRenderingInstance,r:e,k:t,f:!!n}:e:null);function createBaseVNode(e,t=null,n=null,r=0,a=null,o=e===Fragment?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return s?(normalizeChildren(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=isString$2(n)?8:16),isBlockTreeEnabled>0&&!i&&currentBlock&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&currentBlock.push(l),l}const createVNode=_createVNode;function _createVNode(e,t=null,n=null,r=0,a=null,o=!1){if((!e||e===NULL_DYNAMIC_COMPONENT)&&(e=Comment),isVNode$1(e)){const s=cloneVNode(e,t,!0);return n&&normalizeChildren(s,n),isBlockTreeEnabled>0&&!o&&currentBlock&&(s.shapeFlag&6?currentBlock[currentBlock.indexOf(e)]=s:currentBlock.push(s)),s.patchFlag=-2,s}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:s,style:l}=t;s&&!isString$2(s)&&(t.class=normalizeClass(s)),isObject$4(l)&&(isProxy(l)&&!isArray$5(l)&&(l=extend({},l)),t.style=normalizeStyle(l))}const i=isString$2(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$4(e)?4:isFunction$3(e)?2:0;return createBaseVNode(e,t,n,r,a,i,o,!0)}function guardReactiveProps(e){return e?isProxy(e)||isInternalObject(e)?extend({},e):e:null}function cloneVNode(e,t,n=!1,r=!1){const{props:a,ref:o,patchFlag:i,children:s,transition:l}=e,c=t?mergeProps(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&normalizeKey(c),ref:t&&t.ref?n&&o?isArray$5(o)?o.concat(normalizeRef(t)):[o,normalizeRef(t)]:normalizeRef(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&setTransitionHooks(u,l.clone(u)),u}function createTextVNode(e=" ",t=0){return createVNode(Text,null,e,t)}function createCommentVNode(e="",t=!1){return t?(openBlock(),createBlock(Comment,null,e)):createVNode(Comment,null,e)}function normalizeVNode(e){return e==null||typeof e=="boolean"?createVNode(Comment):isArray$5(e)?createVNode(Fragment,null,e.slice()):isVNode$1(e)?cloneIfMounted(e):createVNode(Text,null,String(e))}function cloneIfMounted(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(isArray$5(t))n=16;else if(typeof t=="object")if(r&65){const a=t.default;a&&(a._c&&(a._d=!1),normalizeChildren(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!isInternalObject(t)?t._ctx=currentRenderingInstance:a===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else isFunction$3(t)?(t={default:t,_ctx:currentRenderingInstance},n=32):(t=String(t),r&64?(n=16,t=[createTextVNode(t)]):n=8);e.children=t,e.shapeFlag|=n}function mergeProps(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const a in r)if(a==="class")t.class!==r.class&&(t.class=normalizeClass([t.class,r.class]));else if(a==="style")t.style=normalizeStyle([t.style,r.style]);else if(isOn$1(a)){const o=t[a],i=r[a];i&&o!==i&&!(isArray$5(o)&&o.includes(i))&&(t[a]=o?[].concat(o,i):i)}else a!==""&&(t[a]=r[a])}return t}function invokeVNodeHook(e,t,n,r=null){callWithAsyncErrorHandling(e,t,7,[n,r])}const emptyAppContext=createAppContext();let uid=0;function createComponentInstance(e,t,n){const r=e.type,a=(t?t.appContext:e.appContext)||emptyAppContext,o={uid:uid++,vnode:e,type:r,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(r,a),emitsOptions:normalizeEmitsOptions(r,a),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:r.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=emit.bind(null,o),e.ce&&e.ce(o),o}let currentInstance=null;const getCurrentInstance$1=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const e=getGlobalThis$1(),t=(n,r)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(r),o=>{a.length>1?a.forEach(i=>i(o)):a[0](o)}};internalSetCurrentInstance=t("__VUE_INSTANCE_SETTERS__",n=>currentInstance=n),setInSSRSetupState=t("__VUE_SSR_SETTERS__",n=>isInSSRComponentSetup=n)}const setCurrentInstance=e=>{const t=currentInstance;return internalSetCurrentInstance(e),e.scope.on(),()=>{e.scope.off(),internalSetCurrentInstance(t)}},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(e){return e.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(e,t=!1,n=!1){t&&setInSSRSetupState(t);const{props:r,children:a}=e.vnode,o=isStatefulComponent(e);initProps(e,r,o,t),initSlots(e,a,n);const i=o?setupStatefulComponent(e,t):void 0;return t&&setInSSRSetupState(!1),i}function setupStatefulComponent(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,PublicInstanceProxyHandlers);const{setup:r}=n;if(r){const a=e.setupContext=r.length>1?createSetupContext(e):null,o=setCurrentInstance(e);pauseTracking();const i=callWithErrorHandling(r,e,0,[e.props,a]);if(resetTracking(),o(),isPromise(i)){if(isAsyncWrapper(e)||markAsyncBoundary(e),i.then(unsetCurrentInstance,unsetCurrentInstance),t)return i.then(s=>{handleSetupResult(e,s,t)}).catch(s=>{handleError(s,e,0)});e.asyncDep=i}else handleSetupResult(e,i,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,n){isFunction$3(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject$4(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,n)}let compile$1;function finishComponentSetup(e,t,n){const r=e.type;if(!e.render){if(!t&&compile$1&&!r.render){const a=r.template||resolveMergedOptions(e).template;if(a){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,c=extend(extend({isCustomElement:o,delimiters:s},i),l);r.render=compile$1(a,c)}}e.render=r.render||NOOP}{const a=setCurrentInstance(e);pauseTracking();try{applyOptions(e)}finally{resetTracking(),a()}}}const attrsProxyHandlers={get(e,t){return track(e,"get",""),e[t]}};function createSetupContext(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,attrsProxyHandlers),slots:e.slots,emit:e.emit,expose:t}}function getComponentPublicInstance(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in publicPropertiesMap)return publicPropertiesMap[n](e)},has(t,n){return n in t||n in publicPropertiesMap}})):e.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=e=>e.replace(classifyRE,t=>t.toUpperCase()).replace(/[-_]/g,"");function getComponentName(e,t=!0){return isFunction$3(e)?e.displayName||e.name:e.name||t&&e.__name}function formatComponentName(e,t,n=!1){let r=getComponentName(t);if(!r&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(r=a[1])}if(!r&&e&&e.parent){const a=o=>{for(const i in o)if(o[i]===t)return i};r=a(e.components||e.parent.type.components)||a(e.appContext.components)}return r?classify(r):n?"App":"Anonymous"}function isClassComponent(e){return isFunction$3(e)&&"__vccOpts"in e}const computed=(e,t)=>computed$1(e,t,isInSSRComponentSetup);function h(e,t,n){const r=arguments.length;return r===2?isObject$4(t)&&!isArray$5(t)?isVNode$1(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&isVNode$1(n)&&(n=[n]),createVNode(e,t,n))}const version$1="3.5.11";/**
* @vue/runtime-dom v3.5.11
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let policy;const tt=typeof window<"u"&&window.trustedTypes;if(tt)try{policy=tt.createPolicy("vue",{createHTML:e=>e})}catch{}const unsafeToTrustedHTML=policy?e=>policy.createHTML(e):e=>e,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const a=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):n?doc.createElement(e,{is:n}):doc.createElement(e);return e==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,a,o){const i=n?n.previousSibling:t.lastChild;if(a&&(a===o||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===o||!(a=a.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const s=templateContainer.content;if(r==="svg"||r==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=e=>(e.displayName="Transition",e.props=TransitionPropsValidators,e),Transition=decorate$1((e,{slots:t})=>h(BaseTransition,resolveTransitionProps(e),t)),callHook=(e,t=[])=>{isArray$5(e)?e.forEach(n=>n(...t)):e&&e(...t)},hasExplicitCallback=e=>e?isArray$5(e)?e.some(t=>t.length>1):e.length>1:!1;function resolveTransitionProps(e){const t={};for(const N in e)N in DOMTransitionPropsValidators||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:r,duration:a,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,y=normalizeDuration(a),g=y&&y[0],P=y&&y[1],{onBeforeEnter:v,onEnter:_,onEnterCancelled:b,onLeave:S,onLeaveCancelled:C,onBeforeAppear:k=v,onAppear:T=_,onAppearCancelled:w=b}=t,E=(N,O,U)=>{removeTransitionClass(N,O?u:s),removeTransitionClass(N,O?c:i),U&&U()},F=(N,O)=>{N._isLeaving=!1,removeTransitionClass(N,f),removeTransitionClass(N,m),removeTransitionClass(N,d),O&&O()},L=N=>(O,U)=>{const j=N?T:_,I=()=>E(O,N,U);callHook(j,[O,I]),nextFrame(()=>{removeTransitionClass(O,N?l:o),addTransitionClass(O,N?u:s),hasExplicitCallback(j)||whenTransitionEnds(O,r,g,I)})};return extend(t,{onBeforeEnter(N){callHook(v,[N]),addTransitionClass(N,o),addTransitionClass(N,i)},onBeforeAppear(N){callHook(k,[N]),addTransitionClass(N,l),addTransitionClass(N,c)},onEnter:L(!1),onAppear:L(!0),onLeave(N,O){N._isLeaving=!0;const U=()=>F(N,O);addTransitionClass(N,f),addTransitionClass(N,d),forceReflow(),nextFrame(()=>{N._isLeaving&&(removeTransitionClass(N,f),addTransitionClass(N,m),hasExplicitCallback(S)||whenTransitionEnds(N,r,P,U))}),callHook(S,[N,U])},onEnterCancelled(N){E(N,!1),callHook(b,[N])},onAppearCancelled(N){E(N,!0),callHook(w,[N])},onLeaveCancelled(N){F(N),callHook(C,[N])}})}function normalizeDuration(e){if(e==null)return null;if(isObject$4(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[vtcKey]||(e[vtcKey]=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[vtcKey];n&&(n.delete(t),n.size||(e[vtcKey]=void 0))}function nextFrame(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let endId=0;function whenTransitionEnds(e,t,n,r){const a=e._endId=++endId,o=()=>{a===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:s,propCount:l}=getTransitionInfo(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=m=>{m.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},s+1),e.addEventListener(c,d)}function getTransitionInfo(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),a=r(`${TRANSITION}Delay`),o=r(`${TRANSITION}Duration`),i=getTimeout(a,o),s=r(`${ANIMATION}Delay`),l=r(`${ANIMATION}Duration`),c=getTimeout(s,l);let u=null,f=0,d=0;t===TRANSITION?i>0&&(u=TRANSITION,f=i,d=o.length):t===ANIMATION?c>0&&(u=ANIMATION,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?TRANSITION:ANIMATION:null,d=u?u===TRANSITION?o.length:l.length:0);const m=u===TRANSITION&&/\b(transform|all)(,|$)/.test(r(`${TRANSITION}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:m}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>toMs(n)+toMs(e[r])))}function toMs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(e,t,n){const r=e[vtcKey];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(e,{value:t},{transition:n}){e[vShowOriginalDisplay]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):setDisplay(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),setDisplay(e,!0),r.enter(e)):r.leave(e,()=>{setDisplay(e,!1)}):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e[vShowOriginalDisplay]:"none",e[vShowHidden]=!t}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(e,t,n){const r=e.style,a=isString$2(n);let o=!1;if(n&&!a){if(t)if(isString$2(t))for(const i of t.split(";")){const s=i.slice(0,i.indexOf(":")).trim();n[s]==null&&setStyle(r,s,"")}else for(const i in t)n[i]==null&&setStyle(r,i,"");for(const i in n)i==="display"&&(o=!0),setStyle(r,i,n[i])}else if(a){if(t!==n){const i=r[CSS_VAR_TEXT];i&&(n+=";"+i),r.cssText=n,o=displayRE.test(n)}}else t&&e.removeAttribute("style");vShowOriginalDisplay in e&&(e[vShowOriginalDisplay]=o?r.display:"",e[vShowHidden]&&(r.display="none"))}const importantRE=/\s*!important$/;function setStyle(e,t,n){if(isArray$5(n))n.forEach(r=>setStyle(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=autoPrefix(e,t);importantRE.test(n)?e.setProperty(hyphenate(r),n.replace(importantRE,""),"important"):e[r]=n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const n=prefixCache[t];if(n)return n;let r=camelize(t);if(r!=="filter"&&r in e)return prefixCache[t]=r;r=capitalize$1(r);for(let a=0;a<prefixes.length;a++){const o=prefixes[a]+r;if(o in e)return prefixCache[t]=o}return t}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,n,r,a,o=isSpecialBooleanAttr(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,n):n==null||o&&!includeBooleanAttr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":isSymbol$1(n)?String(n):n)}function patchDOMProp(e,t,n,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?unsafeToTrustedHTML(n):n);return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const i=a==="OPTION"?e.getAttribute("value")||"":e.value,s=n==null?e.type==="checkbox"?"on":"":String(n);(i!==s||!("_value"in e))&&(e.value=s),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=includeBooleanAttr(n):n==null&&i==="string"?(n="",o=!0):i==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(t)}function addEventListener(e,t,n,r){e.addEventListener(t,n,r)}function removeEventListener(e,t,n,r){e.removeEventListener(t,n,r)}const veiKey=Symbol("_vei");function patchEvent(e,t,n,r,a=null){const o=e[veiKey]||(e[veiKey]={}),i=o[t];if(r&&i)i.value=r;else{const[s,l]=parseName(t);if(r){const c=o[t]=createInvoker(r,a);addEventListener(e,s,c,l)}else i&&(removeEventListener(e,s,i,l),o[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){t={};let r;for(;r=e.match(optionsModifierRE);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):hyphenate(e.slice(2)),t]}let cachedNow=0;const p=Promise.resolve(),getNow=()=>cachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(r,n.value),t,5,[r])};return n.value=e,n.attached=getNow(),n}function patchStopImmediatePropagation(e,t){if(isArray$5(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>a=>!a._stopped&&r&&r(a))}else return t}const isNativeOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,patchProp=(e,t,n,r,a,o)=>{const i=a==="svg";t==="class"?patchClass(e,r,i):t==="style"?patchStyle(e,n,r):isOn$1(t)?isModelListener(t)||patchEvent(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):shouldSetAsProp(e,t,r,i))?(patchDOMProp(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&patchAttr(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!isString$2(r))?patchDOMProp(e,camelize(t),r):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),patchAttr(e,t,r,i))};function shouldSetAsProp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&isNativeOn(t)&&isFunction$3(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return isNativeOn(t)&&isString$2(n)?!1:t in e}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),decorate=e=>(delete e.props.mode,e),TransitionGroupImpl=decorate({name:"TransitionGroup",props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=getCurrentInstance$1(),r=useTransitionState();let a,o;return onUpdated(()=>{if(!a.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!hasCSSTransform(a[0].el,n.vnode.el,i))return;a.forEach(callPendingCbs),a.forEach(recordPosition);const s=a.filter(applyTranslation);forceReflow(),s.forEach(l=>{const c=l.el,u=c.style;addTransitionClass(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[moveCbKey]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[moveCbKey]=null,removeTransitionClass(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=toRaw(e),s=resolveTransitionProps(i);let l=i.tag||Fragment;if(a=[],o)for(let c=0;c<o.length;c++){const u=o[c];u.el&&u.el instanceof Element&&(a.push(u),setTransitionHooks(u,resolveTransitionHooks(u,s,r,n)),positionMap.set(u,u.el.getBoundingClientRect()))}o=t.default?getTransitionRawChildren(t.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null&&setTransitionHooks(u,resolveTransitionHooks(u,s,r,n))}return createVNode(l,null,o)}}}),TransitionGroup=TransitionGroupImpl;function callPendingCbs(e){const t=e.el;t[moveCbKey]&&t[moveCbKey](),t[enterCbKey]&&t[enterCbKey]()}function recordPosition(e){newPositionMap.set(e,e.el.getBoundingClientRect())}function applyTranslation(e){const t=positionMap.get(e),n=newPositionMap.get(e),r=t.left-n.left,a=t.top-n.top;if(r||a){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${a}px)`,o.transitionDuration="0s",e}}function hasCSSTransform(e,t,n){const r=e.cloneNode(),a=e[vtcKey];a&&a.forEach(s=>{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=getTransitionInfo(r);return o.removeChild(r),i}const getModelAssigner=e=>{const t=e.props["onUpdate:modelValue"]||!1;return isArray$5(t)?n=>invokeArrayFns(t,n):t};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(e,{modifiers:{lazy:t,trim:n,number:r}},a){e[assignKey]=getModelAssigner(a);const o=r||a.props&&a.props.type==="number";addEventListener(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=looseToNumber(s)),e[assignKey](s)}),n&&addEventListener(e,"change",()=>{e.value=e.value.trim()}),t||(addEventListener(e,"compositionstart",onCompositionStart),addEventListener(e,"compositionend",onCompositionEnd),addEventListener(e,"change",onCompositionEnd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:a,number:o}},i){if(e[assignKey]=getModelAssigner(i),e.composing)return;const s=(o||e.type==="number")&&!/^0\d/.test(e.value)?looseToNumber(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||a&&e.value.trim()===l)||(e.value=l))}},systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>systemModifiers.some(n=>e[`${n}Key`]&&!t.includes(n))},withModifiers=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(a,...o)=>{for(let i=0;i<t.length;i++){const s=modifierGuards[t[i]];if(s&&s(a,t))return}return e(a,...o)})},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=a=>{if(!("key"in a))return;const o=hyphenate(a.key);if(t.some(i=>i===o||keyNames[i]===o))return e(a)})},rendererOptions=extend({patchProp},nodeOps);let renderer,enabledHydration=!1;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}const createApp=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=normalizeContainer(r);if(!a)return;const o=t._component;!isFunction$3(o)&&!o.render&&!o.template&&(o.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const i=n(a,!1,resolveRootNamespace(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),i},t},createSSRApp=(...e)=>{const t=ensureHydrationRenderer().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=normalizeContainer(r);if(a)return n(a,!0,resolveRootNamespace(a))},t};function resolveRootNamespace(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function normalizeContainer(e){return isString$2(e)?document.querySelector(e):e}const HASH_RE$1=/#/g,AMPERSAND_RE$1=/&/g,SLASH_RE$1=/\//g,EQUAL_RE$1=/=/g,PLUS_RE$2=/\+/g,ENC_CARET_RE$1=/%5e/gi,ENC_BACKTICK_RE$1=/%60/gi,ENC_PIPE_RE$1=/%7c/gi,ENC_SPACE_RE$1=/%20/gi;function encode(e){return encodeURI(""+e).replace(ENC_PIPE_RE$1,"|")}function encodeQueryValue$1(e){return encode(typeof e=="string"?e:JSON.stringify(e)).replace(PLUS_RE$2,"%2B").replace(ENC_SPACE_RE$1,"+").replace(HASH_RE$1,"%23").replace(AMPERSAND_RE$1,"%26").replace(ENC_BACKTICK_RE$1,"`").replace(ENC_CARET_RE$1,"^").replace(SLASH_RE$1,"%2F")}function encodeQueryKey$1(e){return encodeQueryValue$1(e).replace(EQUAL_RE$1,"%3D")}function decode$3(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function decodeQueryKey$1(e){return decode$3(e.replace(PLUS_RE$2," "))}function decodeQueryValue$1(e){return decode$3(e.replace(PLUS_RE$2," "))}function parseQuery$2(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const a=decodeQueryKey$1(r[1]);if(a==="__proto__"||a==="constructor")continue;const o=decodeQueryValue$1(r[2]||"");t[a]===void 0?t[a]=o:Array.isArray(t[a])?t[a].push(o):t[a]=[t[a],o]}return t}function encodeQueryItem(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${encodeQueryKey$1(e)}=${encodeQueryValue$1(n)}`).join("&"):`${encodeQueryKey$1(e)}=${encodeQueryValue$1(t)}`:encodeQueryKey$1(e)}function stringifyQuery$1(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>encodeQueryItem(t,e[t])).filter(Boolean).join("&")}const PROTOCOL_STRICT_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,PROTOCOL_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,PROTOCOL_RELATIVE_REGEX=/^([/\\]\s*){2,}[^/\\]/,PROTOCOL_SCRIPT_RE=/^[\s\0]*(blob|data|javascript|vbscript):$/i,TRAILING_SLASH_RE$2=/\/$|\/\?|\/#/,JOIN_LEADING_SLASH_RE=/^\.?\//;function hasProtocol(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?PROTOCOL_STRICT_REGEX.test(e):PROTOCOL_REGEX.test(e)||(t.acceptRelative?PROTOCOL_RELATIVE_REGEX.test(e):!1)}function isScriptProtocol(e){return!!e&&PROTOCOL_SCRIPT_RE.test(e)}function hasTrailingSlash$1(e="",t){return t?TRAILING_SLASH_RE$2.test(e):e.endsWith("/")}function withoutTrailingSlash$1(e="",t){if(!t)return(hasTrailingSlash$1(e)?e.slice(0,-1):e)||"/";if(!hasTrailingSlash$1(e,!0))return e||"/";let n=e,r="";const a=e.indexOf("#");a>=0&&(n=e.slice(0,a),r=e.slice(a));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function withTrailingSlash$1(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(hasTrailingSlash$1(e,!0))return e||"/";let n=e,r="";const a=e.indexOf("#");if(a>=0&&(n=e.slice(0,a),r=e.slice(a),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function hasLeadingSlash(e=""){return e.startsWith("/")}function withLeadingSlash(e=""){return hasLeadingSlash(e)?e:"/"+e}function withBase(e,t){if(isEmptyURL(t)||hasProtocol(e))return e;const n=withoutTrailingSlash$1(t);return e.startsWith(n)?e:joinURL(n,e)}function withoutBase(e,t){if(isEmptyURL(t))return e;const n=withoutTrailingSlash$1(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function withQuery(e,t){const n=parseURL$1(e),r={...parseQuery$2(n.search),...t};return n.search=stringifyQuery$1(r),stringifyParsedURL(n)}function isEmptyURL(e){return!e||e==="/"}function isNonEmptyURL(e){return e&&e!=="/"}function joinURL(e,...t){let n=e||"";for(const r of t.filter(a=>isNonEmptyURL(a)))if(n){const a=r.replace(JOIN_LEADING_SLASH_RE,"");n=withTrailingSlash$1(n)+a}else n=r;return n}function isEqual$3(e,t,n={}){return n.trailingSlash||(e=withTrailingSlash$1(e),t=withTrailingSlash$1(t)),n.leadingSlash||(e=withLeadingSlash(e),t=withLeadingSlash(t)),n.encoding||(e=decode$3(e),t=decode$3(t)),e===t}const protocolRelative=Symbol.for("ufo:protocolRelative");function parseURL$1(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(e,{acceptRelative:!0}))return parsePath$1(e);const[,r="",a,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",s=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=parsePath$1(s);return{protocol:r.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:i,pathname:l,search:c,hash:u,[protocolRelative]:!r}}function parsePath$1(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function stringifyParsedURL(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",a=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[protocolRelative]?(e.protocol||"")+"//":"")+a+o+t+n+r}const useRuntimeConfig$1=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},appConfig=useRuntimeConfig$1().app,baseURL=()=>appConfig.baseURL,buildAssetsDir=()=>appConfig.buildAssetsDir,buildAssetsURL=(...e)=>joinURL(publicAssetsURL(),buildAssetsDir(),...e),publicAssetsURL=(...e)=>{const t=appConfig.cdnURL||appConfig.baseURL;return e.length?joinURL(t,...e):t};globalThis.__buildAssetsURL=buildAssetsURL,globalThis.__publicAssetsURL=publicAssetsURL;const suspectProtoRx=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,suspectConstructorRx=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,JsonSigRx=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function jsonParseTransform(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){warnKeyDropped(e);return}return t}function warnKeyDropped(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function destr(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!JsonSigRx.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(suspectProtoRx.test(e)||suspectConstructorRx.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,jsonParseTransform)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class FetchError extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function createFetchError(e){var l,c,u,f,d;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",a=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${a}: ${o}${t?` ${t}`:""}`,s=new FetchError(i,e.error?{cause:e.error}:void 0);for(const m of["request","options","response"])Object.defineProperty(s,m,{get(){return e[m]}});for(const[m,y]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,m,{get(){return e.response&&e.response[y]}});return s}const payloadMethods=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function isPayloadMethod(e="GET"){return payloadMethods.has(e.toUpperCase())}function isJSONSerializable(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const textTypes=new Set(["image/svg","application/xml","application/xhtml","application/html"]),JSON_RE=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function detectResponseType(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return JSON_RE.test(t)?"json":textTypes.has(t)||t.startsWith("text/")?"text":"blob"}function resolveFetchOptions(e,t,n,r){const a=mergeHeaders((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let o;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(o={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:o,params:o,headers:a}}function mergeHeaders(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[a,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(a,o);return r}async function callHooks(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const retryStatusCodes=new Set([408,409,425,429,500,502,503,504]),nullBodyResponses=new Set([101,204,205,304]);function createFetch(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function a(s){const l=s.error&&s.error.name==="AbortError"&&!s.options.timeout||!1;if(s.options.retry!==!1&&!l){let u;typeof s.options.retry=="number"?u=s.options.retry:u=isPayloadMethod(s.options.method)?0:1;const f=s.response&&s.response.status||500;if(u>0&&(Array.isArray(s.options.retryStatusCodes)?s.options.retryStatusCodes.includes(f):retryStatusCodes.has(f))){const d=typeof s.options.retryDelay=="function"?s.options.retryDelay(s):s.options.retryDelay||0;return d>0&&await new Promise(m=>setTimeout(m,d)),o(s.request,{...s.options,retry:u-1})}}const c=createFetchError(s);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){var m;const u={request:l,options:resolveFetchOptions(l,c,e.defaults,n),response:void 0,error:void 0};u.options.method=(m=u.options.method)==null?void 0:m.toUpperCase(),u.options.onRequest&&await callHooks(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=withBase(u.request,u.options.baseURL)),u.options.query&&(u.request=withQuery(u.request,u.options.query))),u.options.body&&isPayloadMethod(u.options.method)&&(isJSONSerializable(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const y=new r;f=setTimeout(()=>{const g=new Error("[TimeoutError]: The operation was aborted due to timeout");g.name="TimeoutError",g.code=23,y.abort(g)},u.options.timeout),u.options.signal=y.signal}try{u.response=await t(u.request,u.options)}catch(y){return u.error=y,u.options.onRequestError&&await callHooks(u,u.options.onRequestError),await a(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!nullBodyResponses.has(u.response.status)&&u.options.method!=="HEAD"){const y=(u.options.parseResponse?"json":u.options.responseType)||detectResponseType(u.response.headers.get("content-type")||"");switch(y){case"json":{const g=await u.response.text(),P=u.options.parseResponse||destr;u.response._data=P(g);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[y]()}}return u.options.onResponse&&await callHooks(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await callHooks(u,u.options.onResponseError),await a(u)):u.response},i=async function(l,c){return(await o(l,c))._data};return i.raw=o,i.native=(...s)=>t(...s),i.create=(s={},l={})=>createFetch({...e,...l,defaults:{...e.defaults,...l.defaults,...s}}),i}const _globalThis$2=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),fetch$1=_globalThis$2.fetch?(...e)=>_globalThis$2.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Headers$1=_globalThis$2.Headers,AbortController$1=_globalThis$2.AbortController,ofetch=createFetch({fetch:fetch$1,Headers:Headers$1,AbortController:AbortController$1}),$fetch$1=ofetch;globalThis.$fetch||(globalThis.$fetch=$fetch$1.create({baseURL:baseURL()}));function flatHooks(e,t={},n){for(const r in e){const a=e[r],o=n?`${n}:${r}`:r;typeof a=="object"&&a!==null?flatHooks(a,t,o):typeof a=="function"&&(t[o]=a)}return t}const defaultTask={run:e=>e()},_createTask=()=>defaultTask,createTask=typeof console.createTask<"u"?console.createTask:_createTask;function serialTaskCaller(e,t){const n=t.shift(),r=createTask(n);return e.reduce((a,o)=>a.then(()=>r.run(()=>o(...t))),Promise.resolve())}function parallelTaskCaller(e,t){const n=t.shift(),r=createTask(n);return Promise.all(e.map(a=>r.run(()=>a(...t))))}function callEachWith(e,t){for(const n of[...e])n(t)}class Hookable{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const a=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${a} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,a=(...o)=>(typeof r=="function"&&r(),r=void 0,a=void 0,n(...o));return r=this.hook(t,a),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const a of r)this.hook(t,a)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=flatHooks(t),r=Object.keys(n).map(a=>this.hook(a,n[a]));return()=>{for(const a of r.splice(0,r.length))a()}}removeHooks(t){const n=flatHooks(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(serialTaskCaller,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(parallelTaskCaller,t,...n)}callHookWith(t,n,...r){const a=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&callEachWith(this._before,a);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&a&&callEachWith(this._after,a)}):(this._after&&a&&callEachWith(this._after,a),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function createHooks(){return new Hookable}function createContext(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let a;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?a=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(a&&t===void 0){const i=a.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,s)=>{s||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,s)=>{r(i),t=i;try{return a?a.run(i,s):s()}finally{n||(t=void 0)}},async callAsync(i,s){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;asyncHandlers.add(c);try{const u=a?a.run(i,s):s();return n||(t=void 0),await u}finally{asyncHandlers.delete(c)}}}}function createNamespace(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=createContext({...e,...r})),t[n],t[n]}}}const _globalThis$1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},globalKey$1="__unctx__",defaultNamespace=_globalThis$1[globalKey$1]||(_globalThis$1[globalKey$1]=createNamespace()),getContext=(e,t={})=>defaultNamespace.get(e,t),asyncHandlersKey="__unctx_async_handlers__",asyncHandlers=_globalThis$1[asyncHandlersKey]||(_globalThis$1[asyncHandlersKey]=new Set);function executeAsync(e){const t=[];for(const a of asyncHandlers){const o=a();o&&t.push(o)}const n=()=>{for(const a of t)a()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(a=>{throw n(),a})),[r,n]}const nuxtAppCtx=getContext("nuxt-app",{asyncContext:!1}),NuxtPluginIndicator="__nuxt_plugin";function createNuxtApp(e){let t=0;const n={_scope:effectScope(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.9.0"},get vue(){return n.vueApp.version}},payload:reactive({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:a=>n._scope.run(()=>callWithNuxt(n,a)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let a=!1;return()=>{if(!a&&(a=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=createHooks(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(a,o)=>{const i="$"+a;defineGetter$1(n,i,o),defineGetter$1(n.vueApp.config.globalProperties,i,o)},defineGetter$1(n.vueApp,"$nuxt",n),defineGetter$1(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||useNuxtApp;const a=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",a)}const r=reactive(n.payload.config);return n.provide("config",r),n}async function applyPlugin(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function applyPlugins(e,t){const n=[],r=[],a=[],o=[];let i=0;async function s(l){if(l.dependsOn&&!l.dependsOn.every(c=>n.includes(c)))r.push([new Set(l.dependsOn),l]);else{const c=applyPlugin(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([u,f])=>{u.has(l._name)&&(u.delete(l._name),u.size===0&&(i++,await s(f)))})))});l.parallel?a.push(c.catch(u=>o.push(u))):await c}}for(const l of t)await s(l);if(await Promise.all(a),i)for(let l=0;l<i;l++)await Promise.all(a);if(o.length)throw o[0]}function defineNuxtPlugin(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[NuxtPluginIndicator]:!0,_name:t})}function callWithNuxt(e,t,n){const r=()=>n?t(...n):t();return nuxtAppCtx.set(e),e.vueApp.runWithContext(r)}function useNuxtApp(){var t;let e;if(hasInjectionContext()&&(e=(t=getCurrentInstance$1())==null?void 0:t.appContext.app.$nuxt),e=e||nuxtAppCtx.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}function useRuntimeConfig(){return useNuxtApp().$config}function defineGetter$1(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const scriptRel="modulepreload",assetsURL=function(e,t){return e[0]==="."?new URL(e,t).href:e},seen={},___vitePreload=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");a=Promise.all(n.map(i=>{if(i=assetsURL(i,r),i in seen)return;seen[i]=!0;const s=i.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(!!r)for(let f=o.length-1;f>=0;f--){const d=o[f];if(d.href===i&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const u=document.createElement("link");if(u.rel=s?"stylesheet":scriptRel,s||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),s)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})}))}return a.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},__vitePreload=(...e)=>___vitePreload(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),UNDEFINED=-1,HOLE=-2,NAN=-3,POSITIVE_INFINITY=-4,NEGATIVE_INFINITY=-5,NEGATIVE_ZERO=-6;function parse$3(e,t){return unflatten(JSON.parse(e),t)}function unflatten(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(o,i=!1){if(o===UNDEFINED)return;if(o===NAN)return NaN;if(o===POSITIVE_INFINITY)return 1/0;if(o===NEGATIVE_INFINITY)return-1/0;if(o===NEGATIVE_ZERO)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=n[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const l=s[0],c=t==null?void 0:t[l];if(c)return r[o]=c(a(s[1]));switch(l){case"Date":r[o]=new Date(s[1]);break;case"Set":const u=new Set;r[o]=u;for(let m=1;m<s.length;m+=1)u.add(a(s[m]));break;case"Map":const f=new Map;r[o]=f;for(let m=1;m<s.length;m+=2)f.set(a(s[m]),a(s[m+1]));break;case"RegExp":r[o]=new RegExp(s[1],s[2]);break;case"Object":r[o]=Object(s[1]);break;case"BigInt":r[o]=BigInt(s[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let m=1;m<s.length;m+=2)d[s[m]]=a(s[m+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(s.length);r[o]=l;for(let c=0;c<s.length;c+=1){const u=s[c];u!==HOLE&&(l[c]=a(u))}}else{const l={};r[o]=l;for(const c in s){const u=s[c];l[c]=a(u)}}return r[o]}return a(0)}const TagsWithInnerContent=new Set(["title","titleTemplate","script","style","noscript"]),HasElementTags=new Set(["base","meta","link","style","script","noscript"]),ValidHeadTags=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),UniqueTags=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),TagConfigKeys=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),IsBrowser=typeof window<"u";function defineHeadPlugin(e){return e}function hashCode(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function hashTag(e){if(e._h)return e._h;if(e._d)return hashCode(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return hashCode(t)}function thenable(e,t){return e instanceof Promise?e.then(t):t(e)}function normaliseTag(e,t,n,r){const a=r||normaliseProps(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(a instanceof Promise)return a.then(i=>normaliseTag(e,t,n,i));const o={tag:e,props:a};for(const i of TagConfigKeys){const s=o.props[i]!==void 0?o.props[i]:n[i];s!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||TagsWithInnerContent.has(o.tag))&&(o[i==="children"?"innerHTML":i]=s),delete o.props[i])}return o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(i=>({...o,props:{...o.props,content:i}})):o}function normaliseStyleClassProps(e,t){var r;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,a])=>a).map(([a,o])=>e==="style"?`${a}:${o}`:a)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(a=>!!a.trim()).join(n)}function nestedNormaliseProps(e,t,n,r){for(let a=r;a<n.length;a+=1){const o=n[a];if(o==="class"||o==="style"){e[o]=normaliseStyleClassProps(o,e[o]);continue}if(e[o]instanceof Promise)return e[o].then(i=>(e[o]=i,nestedNormaliseProps(e,t,n,a)));if(!t&&!TagConfigKeys.has(o)){const i=String(e[o]),s=o.startsWith("data-");i==="true"||i===""?e[o]=s?"true":!0:e[o]||(s&&i==="false"?e[o]="false":delete e[o])}}}function normaliseProps(e,t=!1){const n=nestedNormaliseProps(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const TagEntityBits=10;function nestedNormaliseEntryTags(e,t,n){for(let r=n;r<t.length;r+=1){const a=t[r];if(a instanceof Promise)return a.then(o=>(t[r]=o,nestedNormaliseEntryTags(e,t,r)));Array.isArray(a)?e.push(...a):e.push(a)}}function normaliseEntryTags(e){const t=[],n=e.resolvedInput;for(const a in n){if(!Object.prototype.hasOwnProperty.call(n,a))continue;const o=n[a];if(!(o===void 0||!ValidHeadTags.has(a))){if(Array.isArray(o)){for(const i of o)t.push(normaliseTag(a,i,e));continue}t.push(normaliseTag(a,o,e))}}if(t.length===0)return[];const r=[];return thenable(nestedNormaliseEntryTags(r,t,0),()=>r.map((a,o)=>(a._e=e._i,e.mode&&(a._m=e.mode),a._p=(e._i<<TagEntityBits)+o,a)))}const NetworkEvents=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),TAG_WEIGHTS={base:-10,title:10},TAG_ALIASES={critical:-80,high:-10,low:20};function tagWeight(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in TAG_WEIGHTS&&(n=TAG_WEIGHTS[e.tag]),t&&t in TAG_ALIASES?n+TAG_ALIASES[t]:n}const SortModifiers=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],allowedMetaProperties=["name","property","http-equiv"];function tagDedupeKey(e){const{props:t,tag:n}=e;if(UniqueTags.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const r of allowedMetaProperties)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}const sepSub="%separator";function sub(e,t){var r;let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const a=t.indexOf(".");n=(r=e[t.substring(0,a)])==null?void 0:r[t.substring(a+1)]}else n=e[t];return n!==void 0?(n||"").replace(/"/g,'\\"'):void 0}const sepSubRe=new RegExp(`${sepSub}(?:\\s*${sepSub})*`,"g");function processTemplateParams(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;let r=e;try{r=decodeURI(e)}catch{}const a=r.match(/%\w+(?:\.\w+)?/g);if(!a)return e;const o=e.includes(sepSub);return e=e.replace(/%\w+(?:\.\w+)?/g,i=>{if(i===sepSub||!a.includes(i))return i;const s=sub(t,i.slice(1));return s!==void 0?s:i}).trim(),o&&(e.endsWith(sepSub)&&(e=e.slice(0,-sepSub.length)),e.startsWith(sepSub)&&(e=e.slice(sepSub.length)),e=e.replace(sepSubRe,n).trim()),e}function resolveTitleTemplate(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function renderDOMHead(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async a=>{var f;const o=(await e.resolveTags()).map(d=>({tag:d,id:HasElementTags.has(d.tag)?hashTag(d):d.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const m of["body","head"]){const y=(f=n[m])==null?void 0:f.children;for(const g of y){const P=g.tagName.toLowerCase();if(!HasElementTags.has(P))continue;const v={tag:P,props:await normaliseProps(g.getAttributeNames().reduce((C,k)=>({...C,[k]:g.getAttribute(k)}),{})),innerHTML:g.innerHTML},_=tagDedupeKey(v);let b=_,S=1;for(;b&&d.has(b);)b=`${_}:${S++}`;b&&(v._d=b,d.add(b)),i.elMap[g.getAttribute("data-hid")||hashTag(v)]=g}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function s(d,m,y){const g=`${d}:${m}`;i.sideEffects[g]=y,delete i.pendingSideEffects[g]}function l({id:d,$el:m,tag:y}){const g=y.tag.endsWith("Attrs");if(i.elMap[d]=m,g||(y.textContent&&y.textContent!==m.textContent&&(m.textContent=y.textContent),y.innerHTML&&y.innerHTML!==m.innerHTML&&(m.innerHTML=y.innerHTML),s(d,"el",()=>{var P;(P=i.elMap[d])==null||P.remove(),delete i.elMap[d]})),y._eventHandlers)for(const P in y._eventHandlers)Object.prototype.hasOwnProperty.call(y._eventHandlers,P)&&m.getAttribute(`data-${P}`)!==""&&((y.tag==="bodyAttrs"?n.defaultView:m).addEventListener(P.substring(2),y._eventHandlers[P].bind(m)),m.setAttribute(`data-${P}`,""));for(const P in y.props){if(!Object.prototype.hasOwnProperty.call(y.props,P))continue;const v=y.props[P],_=`attr:${P}`;if(P==="class"){if(!v)continue;for(const b of v.split(" "))g&&s(d,`${_}:${b}`,()=>m.classList.remove(b)),!m.classList.contains(b)&&m.classList.add(b)}else if(P==="style"){if(!v)continue;for(const b of v.split(";")){const S=b.indexOf(":"),C=b.substring(0,S).trim(),k=b.substring(S+1).trim();s(d,`${_}:${C}`,()=>{m.style.removeProperty(C)}),m.style.setProperty(C,k)}}else m.getAttribute(P)!==v&&m.setAttribute(P,v===!0?"":String(v)),g&&s(d,_,()=>m.removeAttribute(P))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of o){const{tag:m,shouldRender:y,id:g}=d;if(y){if(m.tag==="title"){n.title=m.textContent;continue}d.$el=d.$el||i.elMap[g],d.$el?l(d):HasElementTags.has(m.tag)&&c.push(d)}}for(const d of c){const m=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[m]=u[m]||n.createDocumentFragment(),u[m].appendChild(d.$el)}for(const d of o)await e.hooks.callHook("dom:renderTag",d,n,s);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in i.pendingSideEffects)i.pendingSideEffects[d]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:o}),a()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function debouncedRenderDOMHead(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>renderDOMHead(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function DomPlugin(e){return t=>{var r,a;const n=((a=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:a.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":o=>{debouncedRenderDOMHead(o,e)}}}}}const UsesMergeStrategy=new Set(["templateParams","htmlAttrs","bodyAttrs"]),DedupePlugin={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=tagDedupeKey(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const a=(r.key?`${r.tag}:${r.key}`:r._d)||hashTag(r),o=t[a];if(o){let s=r==null?void 0:r.tagDuplicateStrategy;if(!s&&UsesMergeStrategy.has(r.tag)&&(s="merge"),s==="merge"){const l=o.props;l.style&&r.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),r.props.style=`${l.style} ${r.props.style}`),l.class&&r.props.class?r.props.class=`${l.class} ${r.props.class}`:l.class&&(r.props.class=l.class),t[a].props={...l,...r.props};continue}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);continue}else if(tagWeight(r)>tagWeight(o))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&HasElementTags.has(r.tag)){delete t[a];continue}t[a]=r}const n=[];for(const r in t){const a=t[r],o=a._duped;n.push(a),o&&(delete a._duped,n.push(...o))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},ValidEventTags=new Set(["script","link","bodyAttrs"]),EventHandlersPlugin=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!ValidEventTags.has(n.tag))continue;const r=n.props;for(const a in r){if(a[0]!=="o"||a[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,a))continue;const o=r[a];typeof o=="function"&&(e.ssr&&NetworkEvents.has(a)?r[a]=`this.dataset.${a}fired = true`:delete r[a],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[a]=o)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||hashCode(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var a,o;const r=t==null?void 0:t.dataset;if(r)for(const i in r){if(!i.endsWith("fired"))continue;const s=i.slice(0,-5);NetworkEvents.has(s)&&((o=(a=n._eventHandlers)==null?void 0:a[s])==null||o.call(t,new Event(s.substring(2))))}}}}),DupeableTags=new Set(["link","style","script","noscript"]),HashKeyedPlugin={hooks:{"tag:normalise":({tag:e})=>{e.key&&DupeableTags.has(e.tag)&&(e.props["data-hid"]=e._h=hashCode(e.key))}}},PayloadPlugin={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const r of e.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(t[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},SortPlugin={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:a}of SortModifiers){if(!n.tagPriority.startsWith(r))continue;const o=n.tagPriority.substring(r.length),i=(t=e.tags.find(s=>s._d===o))==null?void 0:t._p;if(i!==void 0){n._p=i+a;break}}e.tags.sort((n,r)=>{const a=tagWeight(n),o=tagWeight(r);return a<o?-1:a>o?1:n._p-r._p})}}},SupportedAttrs={meta:"content",link:"href",htmlAttrs:"lang"},contentAttrs=["innerHTML","textContent"],TemplateParamsPlugin=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let r;for(let s=0;s<n.length;s+=1)n[s].tag==="templateParams"&&(r=t.tags.splice(s,1)[0].props,s-=1);const a=r||{},o=a.separator||"|";delete a.separator,a.pageTitle=processTemplateParams(a.pageTitle||((i=n.find(s=>s.tag==="title"))==null?void 0:i.textContent)||"",a,o);for(const s of n){if(s.processTemplateParams===!1)continue;const l=SupportedAttrs[s.tag];if(l&&typeof s.props[l]=="string")s.props[l]=processTemplateParams(s.props[l],a,o);else if(s.processTemplateParams||s.tag==="titleTemplate"||s.tag==="title")for(const c of contentAttrs)typeof s[c]=="string"&&(s[c]=processTemplateParams(s[c],a,o))}e._templateParams=a,e._separator=o},"tags:afterResolve":({tags:t})=>{let n;for(let r=0;r<t.length;r+=1){const a=t[r];a.tag==="title"&&a.processTemplateParams!==!1&&(n=a)}n!=null&&n.textContent&&(n.textContent=processTemplateParams(n.textContent,e._templateParams,e._separator))}}}),TitleTemplatePlugin={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r;for(let a=0;a<t.length;a+=1){const o=t[a];o.tag==="title"?n=o:o.tag==="titleTemplate"&&(r=o)}if(r&&n){const a=resolveTitleTemplate(r.textContent,n.textContent);a!==null?n.textContent=a||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(r){const a=resolveTitleTemplate(r.textContent);a!==null&&(r.textContent=a,r.tag="title",r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}},XSSPlugin={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let activeHead;function createHead$1(e={}){const t=createHeadCore(e);return t.use(DomPlugin()),activeHead=t}function filterMode(e,t){return!e||e==="server"&&t||e==="client"&&!t}function createHeadCore(e={}){const t=createHooks();t.addHooks(e.hooks||{}),e.document=e.document||(IsBrowser?document:void 0);const n=!e.document,r=()=>{s.dirty=!0,t.callHook("entries:updated",s)};let a=0,o=[];const i=[],s={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(l){const c=typeof l=="function"?l(s):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),filterMode(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:a++,input:l,...c};return filterMode(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),r()},patch(f){for(const d of o)d._i===u._i&&(d.input=u.input=f);r()}}},async resolveTags(){const l={tags:[],entries:[...o]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await normaliseEntryTags(c)){const d={tag:f,entry:c,resolvedOptions:s.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[DedupePlugin,PayloadPlugin,EventHandlersPlugin,HashKeyedPlugin,SortPlugin,TemplateParamsPlugin,TitleTemplatePlugin,XSSPlugin,...(e==null?void 0:e.plugins)||[]].forEach(l=>s.use(l)),s.hooks.callHook("init",s),s}function getActiveHead(){return activeHead}const Vue3=version$1[0]==="3";function resolveUnref(e){return typeof e=="function"?e():unref(e)}function resolveUnrefHeadInput(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=resolveUnref(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>resolveUnrefHeadInput(n));if(typeof t=="object"){const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=unref(t[r]);continue}n[r]=resolveUnrefHeadInput(t[r])}return n}return t}const VueReactivityPlugin={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=resolveUnrefHeadInput(t.input)}}},headSymbol="usehead";function vueInstall(e){return{install(n){Vue3&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(headSymbol,e))}}.install}function createHead(e={}){e.domDelayFn=e.domDelayFn||(n=>nextTick(()=>setTimeout(()=>n(),0)));const t=createHead$1(e);return t.use(VueReactivityPlugin),t.install=vueInstall(t),t}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__unhead_injection_handler__";function setHeadInjectionHandler(e){_global[globalKey]=e}function injectHead(){if(globalKey in _global)return _global[globalKey]();const e=inject$1(headSymbol);return e||getActiveHead()}function useHead(e,t={}){const n=t.head||injectHead();if(n)return n.ssr?n.push(e,t):clientUseHead(n,e,t)}function clientUseHead(e,t,n={}){const r=ref(!1),a=ref({});watchEffect(()=>{a.value=r.value?{}:resolveUnrefHeadInput(t)});const o=e.push(a.value,n);return watch(a,s=>{o.patch(s)}),getCurrentInstance$1()&&(onBeforeUnmount(()=>{o.dispose()}),onDeactivated(()=>{r.value=!0}),onActivated(()=>{r.value=!1})),o}function parse$2(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},a=r.decode||decode$2;let o=0;for(;o<e.length;){const i=e.indexOf("=",o);if(i===-1)break;let s=e.indexOf(";",o);if(s===-1)s=e.length;else if(s<i){o=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(o,i).trim();if(r!=null&&r.filter&&!(r!=null&&r.filter(l))){o=s+1;continue}if(n[l]===void 0){let c=e.slice(i+1,s).trim();c.codePointAt(0)===34&&(c=c.slice(1,-1)),n[l]=tryDecode(c,a)}o=s+1}return n}function decode$2(e){return e.includes("%")?decodeURIComponent(e):e}function tryDecode(e,t){try{return t(e)}catch{return e}}const fieldContentRegExp=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function serialize(e,t,n){const r=n||{},a=r.encode||encodeURIComponent;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!fieldContentRegExp.test(e))throw new TypeError("argument name is invalid");const o=a(t);if(o&&!fieldContentRegExp.test(o))throw new TypeError("argument val is invalid");let i=e+"="+o;if(r.maxAge!==void 0&&r.maxAge!==null){const s=r.maxAge-0;if(Number.isNaN(s)||!Number.isFinite(s))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(s)}if(r.domain){if(!fieldContentRegExp.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!fieldContentRegExp.test(r.path))throw new TypeError("option path is invalid");i+="; Path="+r.path}if(r.expires){if(!isDate$1(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":{i+="; Priority=Low";break}case"medium":{i+="; Priority=Medium";break}case"high":{i+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:{i+="; SameSite=Strict";break}case"lax":{i+="; SameSite=Lax";break}case"strict":{i+="; SameSite=Strict";break}case"none":{i+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(i+="; Partitioned"),i}function isDate$1(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}const defaults=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function objectHash(e,t){t?t={...defaults,...t}:t=defaults;const n=createHasher(t);return n.dispatch(e),n.toString()}const defaultPrototypesKeys=Object.freeze(["prototype","__proto__","constructor"]);function createHasher(e){let t="",n=new Map;const r=a=>{t+=a};return{toString(){return t},getContext(){return n},dispatch(a){return e.replacer&&(a=e.replacer(a)),this[a===null?"null":typeof a](a)},object(a){if(a&&typeof a.toJSON=="function")return this.object(a.toJSON());const o=Object.prototype.toString.call(a);let i="";const s=o.length;s<10?i="unknown:["+o+"]":i=o.slice(8,s-1),i=i.toLowerCase();let l=null;if((l=n.get(a))===void 0)n.set(a,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(a))return r("buffer:"),r(a.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](a):e.ignoreUnknown||this.unkown(a,i);else{let c=Object.keys(a);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!isNativeFunction(a)&&(u=defaultPrototypesKeys),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(a[d]),r(",")};for(const d of c)f(d);for(const d of u)f(d)}},array(a,o){if(o=o===void 0?e.unorderedArrays!==!1:o,r("array:"+a.length+":"),!o||a.length<=1){for(const l of a)this.dispatch(l);return}const i=new Map,s=a.map(l=>{const c=createHasher(e);c.dispatch(l);for(const[u,f]of c.getContext())i.set(u,f);return c.toString()});return n=i,s.sort(),this.array(s,!1)},date(a){return r("date:"+a.toJSON())},symbol(a){return r("symbol:"+a.toString())},unkown(a,o){if(r(o),!!a&&(r(":"),a&&typeof a.entries=="function"))return this.array(Array.from(a.entries()),!0)},error(a){return r("error:"+a.toString())},boolean(a){return r("bool:"+a)},string(a){r("string:"+a.length+":"),r(a)},function(a){r("fn:"),isNativeFunction(a)?this.dispatch("[native]"):this.dispatch(a.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(a.name)),e.respectFunctionProperties&&this.object(a)},number(a){return r("number:"+a)},xml(a){return r("xml:"+a.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(a){return r("regex:"+a.toString())},uint8array(a){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(a))},uint8clampedarray(a){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(a))},int8array(a){return r("int8array:"),this.dispatch(Array.prototype.slice.call(a))},uint16array(a){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(a))},int16array(a){return r("int16array:"),this.dispatch(Array.prototype.slice.call(a))},uint32array(a){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(a))},int32array(a){return r("int32array:"),this.dispatch(Array.prototype.slice.call(a))},float32array(a){return r("float32array:"),this.dispatch(Array.prototype.slice.call(a))},float64array(a){return r("float64array:"),this.dispatch(Array.prototype.slice.call(a))},arraybuffer(a){return r("arraybuffer:"),this.dispatch(new Uint8Array(a))},url(a){return r("url:"+a.toString())},map(a){r("map:");const o=[...a];return this.array(o,e.unorderedSets!==!1)},set(a){r("set:");const o=[...a];return this.array(o,e.unorderedSets!==!1)},file(a){return r("file:"),this.dispatch([a.name,a.size,a.type,a.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
Use "options.replacer" or "options.ignoreUnknown"
`)},domwindow(){return r("domwindow")},bigint(a){return r("bigint:"+a.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const nativeFunc="[native code] }",nativeFuncLength=nativeFunc.length;function isNativeFunction(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-nativeFuncLength)===nativeFunc}var __defProp$1=Object.defineProperty,__defNormalProp$1=(e,t,n)=>t in e?__defProp$1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField$1=(e,t,n)=>(__defNormalProp$1(e,typeof t!="symbol"?t+"":t,n),n);class WordArray{constructor(t,n){__publicField$1(this,"words"),__publicField$1(this,"sigBytes"),t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||Hex).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new WordArray([...this.words])}}const Hex={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},Base64={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const a=e.words[r>>>2]>>>24-r%4*8&255,o=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,s=a<<16|o<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(s>>>6*(3-l)&63))}return n.join("")}},Latin1={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new WordArray(n,t)}},Utf8={parse(e){return Latin1.parse(unescape(encodeURIComponent(e)))}};class BufferedBlockAlgorithm{constructor(){__publicField$1(this,"_data",new WordArray),__publicField$1(this,"_nDataBytes",0),__publicField$1(this,"_minBufferSize",0),__publicField$1(this,"blockSize",512/32)}reset(){this._data=new WordArray,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=Utf8.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const a=r*this.blockSize,o=Math.min(a*4,this._data.sigBytes);if(a){for(let i=0;i<a;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,a),this._data.sigBytes-=o}return new WordArray(n,o)}}class Hasher extends BufferedBlockAlgorithm{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}var __defProp$3=Object.defineProperty,__defNormalProp$3=(e,t,n)=>t in e?__defProp$3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>(__defNormalProp$3(e,t+"",n),n);const H=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],K=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],W=[];class SHA256 extends Hasher{constructor(){super(...arguments),__publicField(this,"_hash",new WordArray([...H]))}reset(){super.reset(),this._hash=new WordArray([...H])}_doProcessBlock(t,n){const r=this._hash.words;let a=r[0],o=r[1],i=r[2],s=r[3],l=r[4],c=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)W[d]=t[n+d]|0;else{const b=W[d-15],S=(b<<25|b>>>7)^(b<<14|b>>>18)^b>>>3,C=W[d-2],k=(C<<15|C>>>17)^(C<<13|C>>>19)^C>>>10;W[d]=S+W[d-7]+k+W[d-16]}const m=l&c^~l&u,y=a&o^a&i^o&i,g=(a<<30|a>>>2)^(a<<19|a>>>13)^(a<<10|a>>>22),P=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),v=f+P+m+K[d]+W[d],_=g+y;f=u,u=c,c=l,l=s+v|0,s=i,i=o,o=a,a=v+_|0}r[0]=r[0]+a|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function sha256base64(e){return new SHA256().finalize(e).toString(Base64)}function hash(e,t={}){const n=typeof e=="string"?e:objectHash(e,t);return sha256base64(n).slice(0,10)}function isEqual$2(e,t,n={}){return e===t||objectHash(e,n)===objectHash(t,n)}function _createMatcher(e,t){return{ctx:{table:e},matchAll:n=>_matchRoutes(n,e)}}function _createTableFromExport(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,a])=>[r,_createTableFromExport(a)])):new Map(Object.entries(e[n]));return t}function createMatcherFromExport(e){return _createMatcher(_createTableFromExport(e))}function _matchRoutes(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of _sortRoutesMap(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of _sortRoutesMap(t.dynamic))if(e.startsWith(o+"/")){const s="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(..._matchRoutes(s,i))}const a=t.static.get(e);return a&&r.push(a),r.filter(Boolean)}function _sortRoutesMap(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function isPlainObject$2(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function _defu(e,t,n=".",r){if(!isPlainObject$2(t))return _defu(e,{},n,r);const a=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(a,o,i,n)||(Array.isArray(i)&&Array.isArray(a[o])?a[o]=[...i,...a[o]]:isPlainObject$2(i)&&isPlainObject$2(a[o])?a[o]=_defu(i,a[o],(n?`${n}.`:"")+o.toString(),r):a[o]=i))}return a}function createDefu(e){return(...t)=>t.reduce((n,r)=>_defu(n,r,"",e),{})}const defu=createDefu(),defuFn=createDefu((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function hasProp(e,t){try{return t in e}catch{return!1}}var __defProp$2=Object.defineProperty,__defNormalProp$2=(e,t,n)=>t in e?__defProp$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField$2=(e,t,n)=>(__defNormalProp$2(e,typeof t!="symbol"?t+"":t,n),n);class H3Error extends Error{constructor(t,n={}){super(t,n),__publicField$2(this,"statusCode",500),__publicField$2(this,"fatal",!1),__publicField$2(this,"unhandled",!1),__publicField$2(this,"statusMessage"),__publicField$2(this,"data"),__publicField$2(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:sanitizeStatusCode(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=sanitizeStatusMessage(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}__publicField$2(H3Error,"__h3_error__",!0);function createError$1(e){if(typeof e=="string")return new H3Error(e);if(isError(e))return e;const t=new H3Error(e.message??e.statusMessage??"",{cause:e.cause||e});if(hasProp(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=sanitizeStatusCode(e.statusCode,t.statusCode):e.status&&(t.statusCode=sanitizeStatusCode(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;sanitizeStatusMessage(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function isError(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}function getRequestHeaders(e){const t={};for(const n in e.node.req.headers){const r=e.node.req.headers[n];t[n]=Array.isArray(r)?r.filter(Boolean).join(", "):r}return t}function getRequestHeader(e,t){return getRequestHeaders(e)[t.toLowerCase()]}const getHeader=getRequestHeader,DISALLOWED_STATUS_CHARS=/[^\u0009\u0020-\u007E]/g;function sanitizeStatusMessage(e=""){return e.replace(DISALLOWED_STATUS_CHARS,"")}function sanitizeStatusCode(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}typeof setImmediate>"u"||setImmediate;const LayoutMetaSymbol=Symbol("layout-meta"),PageRouteSymbol=Symbol("route"),NUXT_ERROR_SIGNATURE="__nuxt_error",useError=()=>toRef(useNuxtApp().payload,"error"),showError=e=>{const t=createError(e);try{const n=useNuxtApp(),r=useError();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},clearError=async(e={})=>{const t=useNuxtApp(),n=useError();t.callHook("app:error:cleared",e),e.redirect&&await useRouter$2().replace(e.redirect),n.value=null},isNuxtError=e=>!!e&&typeof e=="object"&&NUXT_ERROR_SIGNATURE in e,createError=e=>{const t=createError$1(e);return Object.defineProperty(t,NUXT_ERROR_SIGNATURE,{value:!0,configurable:!1,writable:!1}),t},useRouter$2=()=>{var e;return(e=useNuxtApp())==null?void 0:e.$router},useRoute$1=()=>hasInjectionContext()?inject$1(PageRouteSymbol,useNuxtApp()._route):useNuxtApp()._route;function defineNuxtRouteMiddleware(e){return e}const addRouteMiddleware=(e,t,n={})=>{const r=useNuxtApp(),a=n.global||typeof e!="string",o=typeof e!="string"?e:t;if(!o){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}a?r._middleware.global.push(o):r._middleware.named[e]=o},isProcessingMiddleware=()=>{try{if(useNuxtApp()._processingMiddleware)return!0}catch{return!0}return!1},navigateTo=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:withQuery(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:s="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,s,c)}return Promise.resolve()}const r=(t==null?void 0:t.external)||hasProtocol(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const s=parseURL$1(n).protocol;if(s&&isScriptProtocol(s))throw new Error(`Cannot navigate to a URL with '${s}' protocol.`)}const a=isProcessingMiddleware();if(!r&&a)return e;const o=useRouter$2(),i=useNuxtApp();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,a?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},inlineConfig={nuxt:{buildId:"54243127-848b-40b6-b527-d6c7b1b9752a"}},__appConfig=defuFn(inlineConfig);function useAppConfig(){const e=useNuxtApp();return e._appConfig||(e._appConfig=reactive(__appConfig)),e._appConfig}const appLayoutTransition=!1,appPageTransition=!1,appKeepalive=!1,nuxtLinkDefaults={componentName:"NuxtLink"},asyncDataDefaults={deep:!0},fetchDefaults={},vueAppRootContainer="#__nuxt";let manifest,matcher;function fetchManifest(){var t;const e=(t=useAppConfig().nuxt)==null?void 0:t.buildId;return manifest=$fetch(buildAssetsURL(`builds/meta/${e}.json`)),manifest.then(n=>{matcher=createMatcherFromExport(n.matcher)}),manifest}function getAppManifest(){return manifest||fetchManifest()}async function getRouteRules(e){return await getAppManifest(),defu({},...matcher.matchAll(e).reverse())}function loadPayload(e,t={}){const n=_getPayloadURL(e,t),r=useNuxtApp(),a=r._payloadCache=r._payloadCache||{};return n in a||(a[n]=isPrerendered(e).then(o=>o?_importPayload(n).then(i=>i||(delete a[n],null)):(a[n]=null,null))),a[n]}const extension="json";function _getPayloadURL(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||hasProtocol(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return joinURL(useRuntimeConfig().app.baseURL,n.pathname,r?`_payload.${r}.${extension}`:`_payload.${extension}`)}async function _importPayload(e){const t=fetch(e).then(n=>n.text().then(parsePayload));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function isPrerendered(e=useRoute$1().path){if(e=withoutTrailingSlash$1(e),(await getAppManifest()).prerendered.includes(e))return!0;const n=await getRouteRules(e);return!!n.prerender&&!n.redirect}let payloadCache=null;async function getNuxtClientPayload(){if(payloadCache)return payloadCache;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=parsePayload(e.textContent||""),n=e.dataset.src?await _importPayload(e.dataset.src):void 0;return payloadCache={...t,...n,...window.__NUXT__},payloadCache}function parsePayload(e){return parse$3(e,useNuxtApp()._payloadRevivers)}function definePayloadReviver(e,t){useNuxtApp()._payloadRevivers[e]=t}const revivers={NuxtError:e=>createError(e),EmptyShallowRef:e=>shallowRef(e==="_"?void 0:e==="0n"?BigInt(0):destr(e)),EmptyRef:e=>ref(e==="_"?void 0:e==="0n"?BigInt(0):destr(e)),ShallowRef:e=>shallowRef(e),ShallowReactive:e=>shallowReactive(e),Ref:e=>ref(e),Reactive:e=>reactive(e)},revive_payload_client_4sVQNw7RlN=defineNuxtPlugin({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in revivers)definePayloadReviver(r,revivers[r]);Object.assign(e.payload,([t,n]=executeAsync(()=>e.runWithContext(getNuxtClientPayload)),t=await t,n(),t)),window.__NUXT__=e.payload}}),unheadPlugins=[],unhead_KgADcZ0jPj=defineNuxtPlugin({name:"nuxt:head",enforce:"pre",setup(e){const t=createHead({plugins:unheadPlugins});setHeadInjectionHandler(()=>useNuxtApp().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await renderDOMHead(t)};t.hooks.hook("dom:beforeRender",a=>{a.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*!
  * vue-router v4.2.5
  * (c) 2023 Eduardo San Martin Morote
  * @license MIT
  */const isBrowser=typeof window<"u";function isESModule(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const assign$4=Object.assign;function applyToParams(e,t){const n={};for(const r in t){const a=t[r];n[r]=isArray$4(a)?a.map(e):e(a)}return n}const noop$2=()=>{},isArray$4=Array.isArray,TRAILING_SLASH_RE$1=/\/$/,removeTrailingSlash=e=>e.replace(TRAILING_SLASH_RE$1,"");function parseURL(e,t,n="/"){let r,a={},o="",i="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,s>-1?s:t.length),a=e(o)),s>-1&&(r=r||t.slice(0,s),i=t.slice(s,t.length)),r=resolveRelativePath(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:a,hash:i}}function stringifyURL(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function stripBase(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function isSameRouteLocation(e,t,n){const r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&isSameRouteRecord(t.matched[r],n.matched[a])&&isSameRouteLocationParams(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!isSameRouteLocationParamsValue(e[n],t[n]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return isArray$4(e)?isEquivalentArray(e,t):isArray$4(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return isArray$4(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),a=r[r.length-1];(a===".."||a===".")&&r.push("");let o=n.length-1,i,s;for(i=0;i<r.length;i++)if(s=r[i],s!==".")if(s==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var NavigationType;(function(e){e.pop="pop",e.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(e){e.back="back",e.forward="forward",e.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(e){if(!e)if(isBrowser){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),removeTrailingSlash(e)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(e,t){return e.replace(BEFORE_HASH_RE,"#")+t}function getElementPosition(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),a=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;t=getElementPosition(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function getScrollKey(e,t){return(history.state?history.state.position-t:-1)+e}const scrollPositions=new Map;function saveScrollPosition(e,t){scrollPositions.set(e,t)}function getSavedScrollPosition(e){const t=scrollPositions.get(e);return scrollPositions.delete(e),t}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation$1(e,t){const{pathname:n,search:r,hash:a}=t,o=e.indexOf("#");if(o>-1){let s=a.includes(e.slice(o))?e.slice(o).length:1,l=a.slice(s);return l[0]!=="/"&&(l="/"+l),stripBase(l,"")}return stripBase(n,e)+r+a}function useHistoryListeners(e,t,n,r){let a=[],o=[],i=null;const s=({state:d})=>{const m=createCurrentLocation$1(e,location),y=n.value,g=t.value;let P=0;if(d){if(n.value=m,t.value=d,i&&i===y){i=null;return}P=g?d.position-g.position:0}else r(m);a.forEach(v=>{v(n.value,y,{delta:P,type:NavigationType.pop,direction:P?P>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function l(){i=n.value}function c(d){a.push(d);const m=()=>{const y=a.indexOf(d);y>-1&&a.splice(y,1)};return o.push(m),m}function u(){const{history:d}=window;d.state&&d.replaceState(assign$4({},d.state,{scroll:computeScrollPosition()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function buildState(e,t,n,r=!1,a=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:a?computeScrollPosition():null}}function useHistoryStateNavigation(e){const{history:t,location:n}=window,r={value:createCurrentLocation$1(e,n)},a={value:t.state};a.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:createBaseLocation()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),a.value=c}catch(m){console.error(m),n[u?"replace":"assign"](d)}}function i(l,c){const u=assign$4({},t.state,buildState(a.value.back,l,a.value.forward,!0),c,{position:a.value.position});o(l,u,!0),r.value=l}function s(l,c){const u=assign$4({},a.value,t.state,{forward:l,scroll:computeScrollPosition()});o(u.current,u,!0);const f=assign$4({},buildState(r.value,l,null),{position:u.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:a,push:s,replace:i}}function createWebHistory(e){e=normalizeBase(e);const t=useHistoryStateNavigation(e),n=useHistoryListeners(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const a=assign$4({location:"",base:e,go:r,createHref:createHref.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function createWebHashHistory(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),createWebHistory(e)}function isRouteLocation(e){return typeof e=="string"||e&&typeof e=="object"}function isRouteName(e){return typeof e=="string"||typeof e=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(e,t){return assign$4(new Error,{type:e,[NavigationFailureSymbol]:!0},t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(t==null||!!(e.type&t))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){const n=assign$4({},BASE_PATH_PARSER_OPTIONS,t),r=[];let a=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(a+="/");for(let f=0;f<c.length;f++){const d=c[f];let m=40+(n.sensitive?.25:0);if(d.type===0)f||(a+="/"),a+=d.value.replace(REGEX_CHARS_RE,"\\$&"),m+=40;else if(d.type===1){const{value:y,repeatable:g,optional:P,regexp:v}=d;o.push({name:y,repeatable:g,optional:P});const _=v||BASE_PARAM_PATTERN;if(_!==BASE_PARAM_PATTERN){m+=10;try{new RegExp(`(${_})`)}catch(S){throw new Error(`Invalid custom RegExp for param "${y}" (${_}): `+S.message)}}let b=g?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(b=P&&c.length<2?`(?:/${b})`:"/"+b),P&&(b+="?"),a+=b,m+=20,P&&(m+=-8),g&&(m+=-20),_===".*"&&(m+=-50)}u.push(m)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(a+="/?"),n.end?a+="$":n.strict&&(a+="(?:/|$)");const i=new RegExp(a,n.sensitive?"":"i");function s(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const m=u[d]||"",y=o[d-1];f[y.name]=m&&y.repeatable?m.split("/"):m}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const m of d)if(m.type===0)u+=m.value;else if(m.type===1){const{value:y,repeatable:g,optional:P}=m,v=y in c?c[y]:"";if(isArray$4(v)&&!g)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const _=isArray$4(v)?v.join("/"):v;if(!_)if(P)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${y}"`);u+=_}}return u||"/"}return{re:i,score:r,keys:o,parse:s,stringify:l}}function compareScoreArray(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function comparePathParserScore(e,t){let n=0;const r=e.score,a=t.score;for(;n<r.length&&n<a.length;){const o=compareScoreArray(r[n],a[n]);if(o)return o;n++}if(Math.abs(a.length-r.length)===1){if(isLastScoreNegative(r))return 1;if(isLastScoreNegative(a))return-1}return a.length-r.length}function isLastScoreNegative(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(e){if(!e)return[[]];if(e==="/")return[[ROOT_TOKEN]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,r=n;const a=[];let o;function i(){o&&a.push(o),o=[]}let s=0,l,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;s<e.length;){if(l=e[s++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:VALID_PARAM_RE.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),a}function createRouteRecordMatcher(e,t,n){const r=tokensToParser(tokenizePath(e.path),n),a=assign$4(r,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf==!t.record.aliasOf&&t.children.push(a),a}function createRouterMatcher(e,t){const n=[],r=new Map;t=mergeOptions({strict:!1,end:!0,sensitive:!1},t);function a(u){return r.get(u)}function o(u,f,d){const m=!d,y=normalizeRouteRecord(u);y.aliasOf=d&&d.record;const g=mergeOptions(t,u),P=[y];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const S of b)P.push(assign$4({},y,{components:d?d.record.components:y.components,path:S,aliasOf:d?d.record:y}))}let v,_;for(const b of P){const{path:S}=b;if(f&&S[0]!=="/"){const C=f.record.path,k=C[C.length-1]==="/"?"":"/";b.path=f.record.path+(S&&k+S)}if(v=createRouteRecordMatcher(b,f,g),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),m&&u.name&&!isAliasRecord(v)&&i(u.name)),y.children){const C=y.children;for(let k=0;k<C.length;k++)o(C[k],v,d&&d.children[k])}d=d||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&l(v)}return _?()=>{i(_)}:noop$2}function i(u){if(isRouteName(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function s(){return n}function l(u){let f=0;for(;f<n.length&&comparePathParserScore(u,n[f])>=0&&(u.record.path!==n[f].record.path||!isRecordChildOf(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!isAliasRecord(u)&&r.set(u.record.name,u)}function c(u,f){let d,m={},y,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw createRouterError(1,{location:u});g=d.record.name,m=assign$4(paramsFromLocation(f.params,d.keys.filter(_=>!_.optional).map(_=>_.name)),u.params&&paramsFromLocation(u.params,d.keys.map(_=>_.name))),y=d.stringify(m)}else if("path"in u)y=u.path,d=n.find(_=>_.re.test(y)),d&&(m=d.parse(y),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw createRouterError(1,{location:u,currentLocation:f});g=d.record.name,m=assign$4({},f.params,u.params),y=d.stringify(m)}const P=[];let v=d;for(;v;)P.unshift(v.record),v=v.parent;return{name:g,path:y,params:m,matched:P,meta:mergeMetaFields(P)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:s,getRecordMatcher:a}}function paramsFromLocation(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function normalizeRouteRecord(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function normalizeRecordProps(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce((t,n)=>assign$4(t,n.meta),{})}function mergeOptions(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function isRecordChildOf(e,t){return t.children.some(n=>n===e||isRecordChildOf(e,n))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE$1=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE$1,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return e==null?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode$1(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function parseQuery$1(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;a<r.length;++a){const o=r[a].replace(PLUS_RE$1," "),i=o.indexOf("="),s=decode$1(i<0?o:o.slice(0,i)),l=i<0?null:decode$1(o.slice(i+1));if(s in t){let c=t[s];isArray$4(c)||(c=t[s]=[c]),c.push(l)}else t[s]=l}return t}function stringifyQuery(e){let t="";for(let n in e){const r=e[n];if(n=encodeQueryKey(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(isArray$4(r)?r.map(o=>o&&encodeQueryValue(o)):[r&&encodeQueryValue(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function normalizeQuery(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=isArray$4(r)?r.map(a=>a==null?null:""+a):r==null?r:""+r)}return t}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let e=[];function t(r){return e.push(r),()=>{const a=e.indexOf(r);a>-1&&e.splice(a,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function guardToPromiseFn(e,t,n,r,a){const o=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return()=>new Promise((i,s)=>{const l=f=>{f===!1?s(createRouterError(4,{from:n,to:t})):f instanceof Error?s(f):isRouteLocation(f)?s(createRouterError(2,{from:t,to:f})):(o&&r.enterCallbacks[a]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(r&&r.instances[a],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>s(f))})}function extractComponentsGuards(e,t,n,r){const a=[];for(const o of e)for(const i in o.components){let s=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(isRouteComponent(s)){const c=(s.__vccOpts||s)[t];c&&a.push(guardToPromiseFn(c,n,r,o,i))}else{let l=s();a.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=isESModule(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&guardToPromiseFn(d,n,r,o,i)()}))}}return a}function isRouteComponent(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function useLink$1(e){const t=inject$1(routerKey),n=inject$1(routeLocationKey),r=computed(()=>t.resolve(unref(e.to))),a=computed(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(isSameRouteRecord.bind(null,u));if(d>-1)return d;const m=getOriginalPath(l[c-2]);return c>1&&getOriginalPath(u)===m&&f[f.length-1].path!==m?f.findIndex(isSameRouteRecord.bind(null,l[c-2])):d}),o=computed(()=>a.value>-1&&includesParams(n.params,r.value.params)),i=computed(()=>a.value>-1&&a.value===n.matched.length-1&&isSameRouteLocationParams(n.params,r.value.params));function s(l={}){return guardEvent(l)?t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop$2):Promise.resolve()}return{route:r,href:computed(()=>r.value.href),isActive:o,isExactActive:i,navigate:s}}const RouterLinkImpl=defineComponent$1({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:useLink$1,setup(e,{slots:t}){const n=reactive(useLink$1(e)),{options:r}=inject$1(routerKey),a=computed(()=>({[getLinkClass(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[getLinkClass(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:h("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},o)}}}),RouterLink=RouterLinkImpl;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(e,t){for(const n in t){const r=t[n],a=e[n];if(typeof r=="string"){if(r!==a)return!1}else if(!isArray$4(a)||a.length!==r.length||r.some((o,i)=>o!==a[i]))return!1}return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const getLinkClass=(e,t,n)=>e??t??n,RouterViewImpl=defineComponent$1({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=inject$1(routerViewLocationKey),a=computed(()=>e.route||r.value),o=inject$1(viewDepthKey,0),i=computed(()=>{let c=unref(o);const{matched:u}=a.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),s=computed(()=>a.value.matched[i.value]);provide(viewDepthKey,computed(()=>i.value+1)),provide(matchedRouteKey,s),provide(routerViewLocationKey,a);const l=ref();return watch(()=>[l.value,s.value,e.name],([c,u,f],[d,m,y])=>{u&&(u.instances[f]=c,m&&m!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!isSameRouteRecord(u,m)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=a.value,u=e.name,f=s.value,d=f&&f.components[u];if(!d)return normalizeSlot(n.default,{Component:d,route:c});const m=f.props[u],y=m?m===!0?c.params:typeof m=="function"?m(c):m:null,P=h(d,assign$4({},y,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return normalizeSlot(n.default,{Component:P,route:c})||P}}});function normalizeSlot(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const RouterView=RouterViewImpl;function createRouter(e){const t=createRouterMatcher(e.routes,e),n=e.parseQuery||parseQuery$1,r=e.stringifyQuery||stringifyQuery,a=e.history,o=useCallbacks(),i=useCallbacks(),s=useCallbacks(),l=shallowRef(START_LOCATION_NORMALIZED);let c=START_LOCATION_NORMALIZED;isBrowser&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=applyToParams.bind(null,Y=>""+Y),f=applyToParams.bind(null,encodeParam),d=applyToParams.bind(null,decode$1);function m(Y,Q){let z,re;return isRouteName(Y)?(z=t.getRecordMatcher(Y),re=Q):re=Y,t.addRoute(re,z)}function y(Y){const Q=t.getRecordMatcher(Y);Q&&t.removeRoute(Q)}function g(){return t.getRoutes().map(Y=>Y.record)}function P(Y){return!!t.getRecordMatcher(Y)}function v(Y,Q){if(Q=assign$4({},Q||l.value),typeof Y=="string"){const A=parseURL(n,Y,Q.path),B=t.resolve({path:A.path},Q),q=a.createHref(A.fullPath);return assign$4(A,B,{params:d(B.params),hash:decode$1(A.hash),redirectedFrom:void 0,href:q})}let z;if("path"in Y)z=assign$4({},Y,{path:parseURL(n,Y.path,Q.path).path});else{const A=assign$4({},Y.params);for(const B in A)A[B]==null&&delete A[B];z=assign$4({},Y,{params:f(A)}),Q.params=f(Q.params)}const re=t.resolve(z,Q),ue=Y.hash||"";re.params=u(d(re.params));const de=stringifyURL(r,assign$4({},Y,{hash:encodeHash(ue),path:re.path})),x=a.createHref(de);return assign$4({fullPath:de,hash:ue,query:r===stringifyQuery?normalizeQuery(Y.query):Y.query||{}},re,{redirectedFrom:void 0,href:x})}function _(Y){return typeof Y=="string"?parseURL(n,Y,l.value.path):assign$4({},Y)}function b(Y,Q){if(c!==Y)return createRouterError(8,{from:Q,to:Y})}function S(Y){return T(Y)}function C(Y){return S(assign$4(_(Y),{replace:!0}))}function k(Y){const Q=Y.matched[Y.matched.length-1];if(Q&&Q.redirect){const{redirect:z}=Q;let re=typeof z=="function"?z(Y):z;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=_(re):{path:re},re.params={}),assign$4({query:Y.query,hash:Y.hash,params:"path"in re?{}:Y.params},re)}}function T(Y,Q){const z=c=v(Y),re=l.value,ue=Y.state,de=Y.force,x=Y.replace===!0,A=k(z);if(A)return T(assign$4(_(A),{state:typeof A=="object"?assign$4({},ue,A.state):ue,force:de,replace:x}),Q||z);const B=z;B.redirectedFrom=Q;let q;return!de&&isSameRouteLocation(r,re,z)&&(q=createRouterError(16,{to:B,from:re}),$(re,re,!0,!1)),(q?Promise.resolve(q):F(B,re)).catch(X=>isNavigationFailure(X)?isNavigationFailure(X,2)?X:D(X):V(X,B,re)).then(X=>{if(X){if(isNavigationFailure(X,2))return T(assign$4({replace:x},_(X.to),{state:typeof X.to=="object"?assign$4({},ue,X.to.state):ue,force:de}),Q||B)}else X=N(B,re,!0,x,ue);return L(B,re,X),X})}function w(Y,Q){const z=b(Y,Q);return z?Promise.reject(z):Promise.resolve()}function E(Y){const Q=oe.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(Y):Y()}function F(Y,Q){let z;const[re,ue,de]=extractChangingRecords(Y,Q);z=extractComponentsGuards(re.reverse(),"beforeRouteLeave",Y,Q);for(const A of re)A.leaveGuards.forEach(B=>{z.push(guardToPromiseFn(B,Y,Q))});const x=w.bind(null,Y,Q);return z.push(x),ee(z).then(()=>{z=[];for(const A of o.list())z.push(guardToPromiseFn(A,Y,Q));return z.push(x),ee(z)}).then(()=>{z=extractComponentsGuards(ue,"beforeRouteUpdate",Y,Q);for(const A of ue)A.updateGuards.forEach(B=>{z.push(guardToPromiseFn(B,Y,Q))});return z.push(x),ee(z)}).then(()=>{z=[];for(const A of de)if(A.beforeEnter)if(isArray$4(A.beforeEnter))for(const B of A.beforeEnter)z.push(guardToPromiseFn(B,Y,Q));else z.push(guardToPromiseFn(A.beforeEnter,Y,Q));return z.push(x),ee(z)}).then(()=>(Y.matched.forEach(A=>A.enterCallbacks={}),z=extractComponentsGuards(de,"beforeRouteEnter",Y,Q),z.push(x),ee(z))).then(()=>{z=[];for(const A of i.list())z.push(guardToPromiseFn(A,Y,Q));return z.push(x),ee(z)}).catch(A=>isNavigationFailure(A,8)?A:Promise.reject(A))}function L(Y,Q,z){s.list().forEach(re=>E(()=>re(Y,Q,z)))}function N(Y,Q,z,re,ue){const de=b(Y,Q);if(de)return de;const x=Q===START_LOCATION_NORMALIZED,A=isBrowser?history.state:{};z&&(re||x?a.replace(Y.fullPath,assign$4({scroll:x&&A&&A.scroll},ue)):a.push(Y.fullPath,ue)),l.value=Y,$(Y,Q,z,x),D()}let O;function U(){O||(O=a.listen((Y,Q,z)=>{if(!ce.listening)return;const re=v(Y),ue=k(re);if(ue){T(assign$4(ue,{replace:!0}),re).catch(noop$2);return}c=re;const de=l.value;isBrowser&&saveScrollPosition(getScrollKey(de.fullPath,z.delta),computeScrollPosition()),F(re,de).catch(x=>isNavigationFailure(x,12)?x:isNavigationFailure(x,2)?(T(x.to,re).then(A=>{isNavigationFailure(A,20)&&!z.delta&&z.type===NavigationType.pop&&a.go(-1,!1)}).catch(noop$2),Promise.reject()):(z.delta&&a.go(-z.delta,!1),V(x,re,de))).then(x=>{x=x||N(re,de,!1),x&&(z.delta&&!isNavigationFailure(x,8)?a.go(-z.delta,!1):z.type===NavigationType.pop&&isNavigationFailure(x,20)&&a.go(-1,!1)),L(re,de,x)}).catch(noop$2)}))}let j=useCallbacks(),I=useCallbacks(),M;function V(Y,Q,z){D(Y);const re=I.list();return re.length?re.forEach(ue=>ue(Y,Q,z)):console.error(Y),Promise.reject(Y)}function R(){return M&&l.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((Y,Q)=>{j.add([Y,Q])})}function D(Y){return M||(M=!Y,U(),j.list().forEach(([Q,z])=>Y?z(Y):Q()),j.reset()),Y}function $(Y,Q,z,re){const{scrollBehavior:ue}=e;if(!isBrowser||!ue)return Promise.resolve();const de=!z&&getSavedScrollPosition(getScrollKey(Y.fullPath,0))||(re||!z)&&history.state&&history.state.scroll||null;return nextTick().then(()=>ue(Y,Q,de)).then(x=>x&&scrollToPosition(x)).catch(x=>V(x,Y,Q))}const G=Y=>a.go(Y);let ne;const oe=new Set,ce={currentRoute:l,listening:!0,addRoute:m,removeRoute:y,hasRoute:P,getRoutes:g,resolve:v,options:e,push:S,replace:C,go:G,back:()=>G(-1),forward:()=>G(1),beforeEach:o.add,beforeResolve:i.add,afterEach:s.add,onError:I.add,isReady:R,install(Y){const Q=this;Y.component("RouterLink",RouterLink),Y.component("RouterView",RouterView),Y.config.globalProperties.$router=Q,Object.defineProperty(Y.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(l)}),isBrowser&&!ne&&l.value===START_LOCATION_NORMALIZED&&(ne=!0,S(a.location).catch(ue=>{}));const z={};for(const ue in START_LOCATION_NORMALIZED)Object.defineProperty(z,ue,{get:()=>l.value[ue],enumerable:!0});Y.provide(routerKey,Q),Y.provide(routeLocationKey,shallowReactive(z)),Y.provide(routerViewLocationKey,l);const re=Y.unmount;oe.add(Y),Y.unmount=function(){oe.delete(Y),oe.size<1&&(c=START_LOCATION_NORMALIZED,O&&O(),O=null,l.value=START_LOCATION_NORMALIZED,ne=!1,M=!1),re()}}};function ee(Y){return Y.reduce((Q,z)=>Q.then(()=>E(z)),Promise.resolve())}return ce}function extractChangingRecords(e,t){const n=[],r=[],a=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const s=t.matched[i];s&&(e.matched.find(c=>isSameRouteRecord(c,s))?r.push(s):n.push(s));const l=e.matched[i];l&&(t.matched.find(c=>isSameRouteRecord(c,l))||a.push(l))}return[n,r,a]}function useRouter$1(){return inject$1(routerKey)}function useRoute(){return inject$1(routeLocationKey)}const interpolatePath=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),generateRouteKey$1=(e,t)=>{const n=e.route.matched.find(a=>{var o;return((o=a.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&interpolatePath(e.route,n));return typeof r=="function"?r(e.route):r},wrapInKeepAlive=(e,t)=>({default:()=>e?h(KeepAlive,e===!0?{}:e,t):t});function toArray(e){return Array.isArray(e)?e:[e]}const __nuxt_page_meta$2={layout:"landing"},__nuxt_page_meta$1={layout:"landing"},__nuxt_page_meta={layout:"landing"},_routes=[{name:"chat___tw",path:"/chat",meta:{},alias:[],redirect:void 0,component:()=>__vitePreload(()=>import("./chat.3Sg7fT7V.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"explore___tw",path:"/explore",meta:{},alias:[],redirect:void 0,component:()=>__vitePreload(()=>import("./explore.B3lcnNqG.js"),__vite__mapDeps([4,1,5]),import.meta.url).then(e=>e.default||e)},{name:(__nuxt_page_meta$2==null?void 0:__nuxt_page_meta$2.name)??"index___tw",path:(__nuxt_page_meta$2==null?void 0:__nuxt_page_meta$2.path)??"/",meta:__nuxt_page_meta$2||{},alias:(__nuxt_page_meta$2==null?void 0:__nuxt_page_meta$2.alias)||[],redirect:(__nuxt_page_meta$2==null?void 0:__nuxt_page_meta$2.redirect)||void 0,component:()=>__vitePreload(()=>import("./index.CHI-EiE6.js"),__vite__mapDeps([6,7,8,9]),import.meta.url).then(e=>e.default||e)},{name:"login___tw",path:"/login",meta:{},alias:[],redirect:void 0,component:()=>__vitePreload(()=>import("./login.ZcybXEnj.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},{name:(__nuxt_page_meta$1==null?void 0:__nuxt_page_meta$1.name)??"privacy___tw",path:(__nuxt_page_meta$1==null?void 0:__nuxt_page_meta$1.path)??"/privacy",meta:__nuxt_page_meta$1||{},alias:(__nuxt_page_meta$1==null?void 0:__nuxt_page_meta$1.alias)||[],redirect:(__nuxt_page_meta$1==null?void 0:__nuxt_page_meta$1.redirect)||void 0,component:()=>__vitePreload(()=>import("./privacy.BRH7FXD2.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},{name:"search-details-address___tw",path:"/search/details/:address()",meta:{},alias:[],redirect:void 0,component:()=>__vitePreload(()=>import("./_address_.BN5ikEPE.js"),__vite__mapDeps([10,11,12,13,14]),import.meta.url).then(e=>e.default||e)},{name:"search___tw",path:"/search",meta:{},alias:[],redirect:void 0,component:()=>__vitePreload(()=>import("./index.CcgJwPYb.js"),__vite__mapDeps([15,16,13,17,18,19,20]),import.meta.url).then(e=>e.default||e)},{name:"security___tw",path:"/security",meta:{},alias:[],redirect:void 0,component:()=>__vitePreload(()=>import("./security.DeegSUw-.js"),__vite__mapDeps([21,22]),import.meta.url).then(e=>e.default||e)},{name:(__nuxt_page_meta==null?void 0:__nuxt_page_meta.name)??"terms___tw",path:(__nuxt_page_meta==null?void 0:__nuxt_page_meta.path)??"/terms",meta:__nuxt_page_meta||{},alias:(__nuxt_page_meta==null?void 0:__nuxt_page_meta.alias)||[],redirect:(__nuxt_page_meta==null?void 0:__nuxt_page_meta.redirect)||void 0,component:()=>__vitePreload(()=>import("./terms.59ZkmaOL.js"),__vite__mapDeps([23,24]),import.meta.url).then(e=>e.default||e)},{path:"/wallet",children:[{name:"wallet-address___tw",path:":address()",meta:{},alias:[],redirect:void 0,component:()=>__vitePreload(()=>import("./_address_.BTVe5dDe.js"),__vite__mapDeps([25,11,12,16,13,17,2,26]),import.meta.url).then(e=>e.default||e)},{name:"wallet___tw",path:"",meta:{},alias:[],redirect:void 0,component:()=>__vitePreload(()=>import("./index.C1qSZqca.js"),__vite__mapDeps([27,18,19]),import.meta.url).then(e=>e.default||e)}],name:void 0,meta:{},alias:[],redirect:void 0,component:()=>__vitePreload(()=>import("./wallet.DFsjg_eX.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)}],_wrapIf=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?h(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function generateRouteKey(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function isChangingPage(e,t){return e===t?!1:generateRouteKey(e)!==generateRouteKey(t)?!0:!e.matched.every((r,a)=>{var o,i;return r.components&&r.components.default===((i=(o=t.matched[a])==null?void 0:o.components)==null?void 0:i.default)})}const routerOptions0={scrollBehavior(e,t,n){var c;const r=useNuxtApp(),a=((c=useRouter$2().options)==null?void 0:c.scrollBehaviorType)??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&isChangingPage(e,t)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:_getHashElementScrollMarginTop(e.hash),behavior:a}}const s=u=>!!(u.meta.pageTransition??appPageTransition),l=s(t)&&s(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(l,async()=>{await nextTick(),e.hash&&(o={el:e.hash,top:_getHashElementScrollMarginTop(e.hash),behavior:a}),u(o)})})}};function _getHashElementScrollMarginTop(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const configRouterOptions={hashMode:!1,scrollBehaviorType:"auto"},routerOptions={...configRouterOptions,...routerOptions0},validate=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=useNuxtApp(),a=useRouter$2();if(([t,n]=executeAsync(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=createError({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),s=a.beforeResolve(c=>{if(s(),c===e){const u=a.afterEach(async()=>{u(),await r.runWithContext(()=>showError(i)),window.history.pushState({},"",e.fullPath)});return!1}})},useStateKeyPrefix="$s";function useState(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const a=useStateKeyPrefix+n,o=useNuxtApp(),i=toRef(o.payload.state,a);if(i.value===void 0&&r){const s=r();if(isRef(s))return o.payload.state[a]=s,s;i.value=s}return i}function useSnackbar(){const e=useState("snackbar",()=>({status:!1,content:"",params:null,type:"warning"})),t=(o,i,s="warning")=>{e.value={status:!0,content:o,params:i,type:s}};return{snackbar:e,showSnackbar:(o,i)=>t(o,i),showSuccessSnackbar:(o,i)=>t(o,i,"success"),showErrorSnackbar:(o,i)=>t(o,i,"error")}}function useRequestEvent(e=useNuxtApp()){var t;return(t=e.ssrContext)==null?void 0:t.event}function useRequestHeaders(e){return{}}const CookieDefaults={path:"/",watch:!0,decode:e=>destr(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function useCookie(e,t){var l;const n={...CookieDefaults,...t},r=readRawCookies(n)||{};let a;n.maxAge!==void 0?a=n.maxAge*1e3:n.expires&&(a=n.expires.getTime()-Date.now());const o=a!==void 0&&a<=0,i=o?void 0:r[e]??((l=n.default)==null?void 0:l.call(n)),s=a&&!o?cookieRef(i,a):ref(i);{const c=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`),u=()=>{n.readonly||isEqual$2(s.value,r[e])||(writeClientCookie(e,s.value,n),c==null||c.postMessage(n.encode(s.value)))};let f=!1;getCurrentScope()&&onScopeDispose(()=>{f=!0,u(),c==null||c.close()}),c&&(c.onmessage=d=>{f=!0,r[e]=s.value=n.decode(d.data),nextTick(()=>{f=!1})}),n.watch?watch(s,()=>{f||u()},{deep:n.watch!=="shallow"}):u()}return s}function readRawCookies(e={}){return parse$2(document.cookie,e)}function serializeCookie(e,t,n={}){return t==null?serialize(e,t,{...n,maxAge:-1}):serialize(e,t,n)}function writeClientCookie(e,t,n={}){document.cookie=serializeCookie(e,t,n)}const MAX_TIMEOUT_DELAY=2147483647;function cookieRef(e,t){let n,r=0;return getCurrentScope()&&onScopeDispose(()=>{clearTimeout(n)}),customRef((a,o)=>{function i(){clearTimeout(n);const s=t-r,l=s<MAX_TIMEOUT_DELAY?s:MAX_TIMEOUT_DELAY;n=setTimeout(()=>{if(r+=l,r<t)return i();e=void 0,o()},l)}return{get(){return a(),e},set(s){i(),e=s,o()}}})}const NAV_LIST=[{nav:[{title:"navExplore",routeName:"explore",icon:"icon-nav-explore"},{title:"navAiChat",routeName:"chat",icon:"icon-nav-chat"}]},{title:"navSecurityAssessment",nav:[{title:"navSearchItem",routeName:"search",icon:"icon-nav-search"},{title:"navSearchWallet",routeName:"wallet",icon:"icon-nav-wallet"}]}],CARD_CLASS="bg-dark-black border-sm border-disabled border-opacity-100 rounded-lg",signatureCookieKey="jv-s",AUTH_COOKIE_KEY="jv-auth",constData={NAV_LIST,CARD_CLASS,signatureCookieKey,AUTH_COOKIE_KEY};function useUserInfo(){const{$store:e}=useNuxtApp(),t=useRuntimeConfig(),{showErrorSnackbar:n}=useSnackbar(),r=useState("userInfo",()=>({})),a=useCookie(constData.AUTH_COOKIE_KEY,{domain:t.public.DOMAIN,path:"/",secure:!0,sameSite:"Strict"}),o=()=>a.value,i=u=>{a.value=u},s=u=>{e.accessToken=u};return{getCookie:o,updateCookie:i,updateAccessToken:s,userInfo:r,getUserInfo:async()=>{const u=await e.getUserInfo();if(u.value.status!==200){n("dbError");return}r.value=u.value.data},removeAllUserInfo:()=>{s(""),i(null),r.value={}}}}function useDialog(){const e=useState("dialog",()=>({status:!1,type:""}));return{dialog:e,showDialog:(r,a)=>{e.value={status:!0,type:r,...a}},closeDialog:()=>{e.value={status:!1,type:e.value.type}}}}function useWallet(){const{$store:e}=useNuxtApp(),{showSnackbar:t,showErrorSnackbar:n,showSuccessSnackbar:r}=useSnackbar(),{showDialog:a,closeDialog:o}=useDialog(),{updateCookie:i,updateAccessToken:s}=useUserInfo(),l=useState("currAddress",()=>""),c=useState("currSignature",()=>""),u=S=>{l.value=S},f=S=>{c.value=S},d=async()=>{if(!window.ethereum){t("installMetamaskFirst");return}const S=await window.ethereum.request({method:"eth_requestAccounts"}).catch(C=>{C.code===4001?t("pleaseConnectMetamask"):console.error(C)});m(S)},m=S=>{S.length===0?t("pleaseConnectMetamask"):S[0]!==l.value&&y(S[0])},y=async S=>{const C=await e.getWalletMessage(S);if(C.value.status!==200){n("dbError"),P();return}const k=await v(C.value.data,S);if(!k){n("cannotGetSignature"),P();return}const T={type:"meta_mask",address:S,signature:k},w=await e.checkQuickLoginRegistered(T);if(w.value.status===1005){a("account-permanent-deleted");return}if(w.value.status!==200){n("dbError"),P();return}if(u(S),f(k),!w.value.data.is_regist){a("walletCompleteRegister",{userInfo:w.value.data});return}g()},g=async()=>{if(!l.value||!c.value)return;const S=await e.walletLogin({address:l.value,signature:c.value});if(S.value.status!==200){n("dbError"),P();return}s(S.value.data.access_token),i(S.value.data.access_token),localStorage.setItem("loginType","metamask"),r("loginSuccess"),o()},P=()=>{u(""),f(""),i(null),s(null)},v=async(S,C)=>{if(window.ethereum)try{const k=C||l.value;return await window.ethereum.request({method:"personal_sign",params:[S,k]})}catch(k){return k.code===4001,""}},_=S=>{if(S)return`${S.slice(0,5)}...${S.slice(38)}`},b=computed(()=>`${l.value.slice(0,5)}...${l.value.slice(38)}`);return{currAddress:l,updateAddress:u,connectMetamask:d,walletLogin:y,walletLoginWithSignature:g,walletDisconnect:P,signMsg:v,convertShortAddress:_,shortAddress:b}}class InvalidTokenError extends Error{}InvalidTokenError.prototype.name="InvalidTokenError";const auth_45global=async e=>{},wallet_45global=async()=>{},manifest_45route_45rule=async e=>{let t,n;const r=([t,n]=executeAsync(()=>getRouteRules(e.path)),t=await t,n(),t);if(r.redirect)return r.redirect},globalMiddleware=[validate,auth_45global,wallet_45global,manifest_45route_45rule],namedMiddleware={auth:()=>__vitePreload(()=>Promise.resolve().then(()=>auth),void 0,import.meta.url)};function createCurrentLocation(e,t,n){const{pathname:r,search:a,hash:o}=t,i=e.indexOf("#");if(i>-1){const c=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(c);return u[0]!=="/"&&(u="/"+u),withoutBase(u,"")}const s=withoutBase(r,e),l=!n||isEqual$3(s,n,{trailingSlash:!0})?s:n;return l+(l.includes("?")?"":a)+o}const plugin$1=defineNuxtPlugin({name:"nuxt:router",enforce:"pre",async setup(e){var g,P;let t,n,r=useRuntimeConfig().app.baseURL;routerOptions.hashMode&&!r.includes("#")&&(r+="#");const a=((g=routerOptions.history)==null?void 0:g.call(routerOptions,r))??(routerOptions.hashMode?createWebHashHistory(r):createWebHistory(r)),o=((P=routerOptions.routes)==null?void 0:P.call(routerOptions,_routes))??_routes;let i;const s=createCurrentLocation(r,window.location,e.payload.path),l=createRouter({...routerOptions,scrollBehavior:(v,_,b)=>{var S;if(_===START_LOCATION_NORMALIZED){i=b;return}return l.options.scrollBehavior=routerOptions.scrollBehavior,(S=routerOptions.scrollBehavior)==null?void 0:S.call(routerOptions,v,START_LOCATION_NORMALIZED,i||b)},history:a,routes:o});e.vueApp.use(l);const c=shallowRef(l.currentRoute.value);l.afterEach((v,_)=>{c.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=shallowRef(l.resolve(s)),f=()=>{u.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((v,_)=>{var b,S,C,k;((S=(b=v.matched[0])==null?void 0:b.components)==null?void 0:S.default)===((k=(C=_.matched[0])==null?void 0:C.components)==null?void 0:k.default)&&f()});const d={};for(const v in u.value)Object.defineProperty(d,v,{get:()=>u.value[v]});e._route=shallowReactive(d),e._middleware=e._middleware||{global:[],named:{}};const m=useError();try{[t,n]=executeAsync(()=>l.isReady()),await t,n()}catch(v){[t,n]=executeAsync(()=>e.runWithContext(()=>showError(v))),await t,n()}const y=e.payload.state._layout;return l.beforeEach(async(v,_)=>{var b;await e.callHook("page:loading:start"),v.meta=reactive(v.meta),e.isHydrating&&y&&!isReadonly(v.meta.layout)&&(v.meta.layout=y),e._processingMiddleware=!0;{const S=new Set([...globalMiddleware,...e._middleware.global]);for(const C of v.matched){const k=C.meta.middleware;if(k)for(const T of toArray(k))S.add(T)}for(const C of S){const k=typeof C=="string"?e._middleware.named[C]||await((b=namedMiddleware[C])==null?void 0:b.call(namedMiddleware).then(w=>w.default||w)):C;if(!k)throw new Error(`Unknown route middleware: '${C}'.`);const T=await e.runWithContext(()=>k(v,_));if(!e.payload.serverRendered&&e.isHydrating&&(T===!1||T instanceof Error)){const w=T||createError$1({statusCode:404,statusMessage:`Page Not Found: ${s}`});return await e.runWithContext(()=>showError(w)),!1}if(T!==!0&&(T||T===!1))return T}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(v,_,b)=>{delete e._processingMiddleware,!e.isHydrating&&m.value&&await e.runWithContext(clearError),b&&await e.callHook("page:loading:end"),v.matched.length===0&&await e.runWithContext(()=>showError(createError$1({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`,data:{path:v.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(s),name:void 0,force:!0}),l.options.scrollBehavior=routerOptions.scrollBehavior}catch(v){await e.runWithContext(()=>showError(v))}}),{provide:{router:l}}}}),requestIdleCallback$1=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),cancelIdleCallback$1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),onNuxtReady=e=>{const t=useNuxtApp();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{requestIdleCallback$1(e)}):requestIdleCallback$1(e)},payload_client_yVLowv6hDl=defineNuxtPlugin({name:"nuxt:payload",setup(e){useRouter$2().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await loadPayload(t.path);r&&Object.assign(e.static.data,r.data)}),onNuxtReady(()=>{var t;e.hooks.hook("link:prefetch",async n=>{parseURL$1(n).protocol||await loadPayload(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(getAppManifest,1e3)})}}),check_outdated_build_client_8vK7RkfGxZ=defineNuxtPlugin(e=>{let t;async function n(){const r=await getAppManifest();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const a=await $fetch(buildAssetsURL("builds/latest.json"));a.id!==r.id&&e.hooks.callHook("app:manifest:update",a)}onNuxtReady(()=>{t=setTimeout(n,1e3*60*60)})}),isVue2=!1,isVue3=!0;/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */let activePinia;const setActivePinia=e=>activePinia=e,piniaSymbol=Symbol();function isPlainObject$1(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var MutationType;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const e=effectScope(!0),t=e.run(()=>ref({}));let n=[],r=[];const a=markRaw({install(o){setActivePinia(a),a._a=o,o.provide(piniaSymbol,a),o.config.globalProperties.$pinia=a,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!isVue2?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}const noop$1=()=>{};function addSubscription(e,t,n,r=noop$1){e.push(t);const a=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&getCurrentScope()&&onScopeDispose(a),a}function triggerSubscriptions(e,...t){e.slice().forEach(n=>{n(...t)})}const fallbackRunWithContext=e=>e();function mergeReactiveObjects(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],a=e[n];isPlainObject$1(a)&&isPlainObject$1(r)&&e.hasOwnProperty(n)&&!isRef(r)&&!isReactive(r)?e[n]=mergeReactiveObjects(a,r):e[n]=r}return e}const skipHydrateSymbol=Symbol();function shouldHydrate(e){return!isPlainObject$1(e)||!e.hasOwnProperty(skipHydrateSymbol)}const{assign:assign$3}=Object;function isComputed(e){return!!(isRef(e)&&e.effect)}function createOptionsStore(e,t,n,r){const{state:a,actions:o,getters:i}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=a?a():{});const u=toRefs(n.state.value[e]);return assign$3(u,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=markRaw(computed(()=>{setActivePinia(n);const m=n._s.get(e);return i[d].call(m,m)})),f),{}))}return l=createSetupStore(e,c,t,n,r,!0),l}function createSetupStore(e,t,n={},r,a,o){let i;const s=assign$3({actions:{}},n),l={deep:!0};let c,u,f=[],d=[],m;const y=r.state.value[e];!o&&!y&&(r.state.value[e]={}),ref({});let g;function P(w){let E;c=u=!1,typeof w=="function"?(w(r.state.value[e]),E={type:MutationType.patchFunction,storeId:e,events:m}):(mergeReactiveObjects(r.state.value[e],w),E={type:MutationType.patchObject,payload:w,storeId:e,events:m});const F=g=Symbol();nextTick().then(()=>{g===F&&(c=!0)}),u=!0,triggerSubscriptions(f,E,r.state.value[e])}const v=o?function(){const{state:E}=n,F=E?E():{};this.$patch(L=>{assign$3(L,F)})}:noop$1;function _(){i.stop(),f=[],d=[],r._s.delete(e)}function b(w,E){return function(){setActivePinia(r);const F=Array.from(arguments),L=[],N=[];function O(I){L.push(I)}function U(I){N.push(I)}triggerSubscriptions(d,{args:F,name:w,store:C,after:O,onError:U});let j;try{j=E.apply(this&&this.$id===e?this:C,F)}catch(I){throw triggerSubscriptions(N,I),I}return j instanceof Promise?j.then(I=>(triggerSubscriptions(L,I),I)).catch(I=>(triggerSubscriptions(N,I),Promise.reject(I))):(triggerSubscriptions(L,j),j)}}const S={_p:r,$id:e,$onAction:addSubscription.bind(null,d),$patch:P,$reset:v,$subscribe(w,E={}){const F=addSubscription(f,w,E.detached,()=>L()),L=i.run(()=>watch(()=>r.state.value[e],N=>{(E.flush==="sync"?u:c)&&w({storeId:e,type:MutationType.direct,events:m},N)},assign$3({},l,E)));return F},$dispose:_},C=reactive(S);r._s.set(e,C);const T=(r._a&&r._a.runWithContext||fallbackRunWithContext)(()=>r._e.run(()=>(i=effectScope()).run(t)));for(const w in T){const E=T[w];if(isRef(E)&&!isComputed(E)||isReactive(E))o||(y&&shouldHydrate(E)&&(isRef(E)?E.value=y[w]:mergeReactiveObjects(E,y[w])),r.state.value[e][w]=E);else if(typeof E=="function"){const F=b(w,E);T[w]=F,s.actions[w]=E}}return assign$3(C,T),assign$3(toRaw(C),T),Object.defineProperty(C,"$state",{get:()=>r.state.value[e],set:w=>{P(E=>{assign$3(E,w)})}}),r._p.forEach(w=>{assign$3(C,i.run(()=>w({store:C,app:r._a,pinia:r,options:s})))}),y&&o&&n.hydrate&&n.hydrate(C.$state,y),c=!0,u=!0,C}function defineStore(e,t,n){let r,a;const o=typeof t=="function";r=e,a=o?n:t;function i(s,l){const c=hasInjectionContext();return s=s||(c?inject$1(piniaSymbol,null):null),s&&setActivePinia(s),s=activePinia,s._s.has(r)||(o?createSetupStore(r,t,a,s):createOptionsStore(r,a,s)),s._s.get(r)}return i.$id=r,i}const isDefer=e=>e==="defer"||e===!1;function useAsyncData(...e){var m;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,a={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const o=useNuxtApp(),i=()=>null,s=()=>o.isHydrating?o.payload.data[n]:o.static.data[n];a.server=a.server??!0,a.default=a.default??i,a.getCachedData=a.getCachedData??s,a.lazy=a.lazy??!1,a.immediate=a.immediate??!0,a.deep=a.deep??asyncDataDefaults.deep,a.dedupe=a.dedupe??"cancel";const l=()=>![null,void 0].includes(a.getCachedData(n));if(!o._asyncData[n]||!a.immediate){(m=o.payload._errors)[n]??(m[n]=null);const y=a.deep?ref:shallowRef;o._asyncData[n]={data:y(a.getCachedData(n)??a.default()),pending:ref(!l()),error:toRef(o.payload._errors,n),status:ref("idle")}}const c={...o._asyncData[n]};c.refresh=c.execute=(y={})=>{if(o._asyncDataPromises[n]){if(isDefer(y.dedupe??a.dedupe))return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((y._initial||o.isHydrating&&y._initial!==!1)&&l())return Promise.resolve(a.getCachedData(n));c.pending.value=!0,c.status.value="pending";const g=new Promise((P,v)=>{try{P(r(o))}catch(_){v(_)}}).then(P=>{if(g.cancelled)return o._asyncDataPromises[n];let v=P;a.transform&&(v=a.transform(P)),a.pick&&(v=pick$1(v,a.pick)),o.payload.data[n]=v,c.data.value=v,c.error.value=null,c.status.value="success"}).catch(P=>{if(g.cancelled)return o._asyncDataPromises[n];c.error.value=createError(P),c.data.value=unref(a.default()),c.status.value="error"}).finally(()=>{g.cancelled||(c.pending.value=!1,delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=g,o._asyncDataPromises[n]};const u=()=>c.refresh({_initial:!0}),f=a.server!==!1&&o.payload.serverRendered;{const y=getCurrentInstance$1();if(y&&!y._nuxtOnBeforeMountCbs){y._nuxtOnBeforeMountCbs=[];const P=y._nuxtOnBeforeMountCbs;y&&(onBeforeMount(()=>{P.forEach(v=>{v()}),P.splice(0,P.length)}),onUnmounted(()=>P.splice(0,P.length)))}f&&o.isHydrating&&(c.error.value||l())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):y&&(o.payload.serverRendered&&o.isHydrating||a.lazy)&&a.immediate?y._nuxtOnBeforeMountCbs.push(u):a.immediate&&u(),a.watch&&watch(a.watch,()=>c.refresh());const g=o.hook("app:data:refresh",async P=>{(!P||P.includes(n))&&await c.refresh()});y&&onUnmounted(g)}const d=Promise.resolve(o._asyncDataPromises[n]).then(()=>c);return Object.assign(d,c),d}function pick$1(e,t){const n={};for(const r of t)n[r]=e[r];return n}function useFetch(e,t,n){const[r={},a]=typeof t=="string"?[{},t]:[t,n],o=computed(()=>{let k=e;return typeof k=="function"&&(k=k()),toValue(k)}),i=r.key||hash([a,typeof o.value=="string"?o.value:"",...generateOptionSegments(r)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const s=i===a?"$f"+i:i;if(!r.baseURL&&typeof o.value=="string"&&o.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:f,pick:d,watch:m,immediate:y,getCachedData:g,deep:P,...v}=r,_=reactive({...fetchDefaults,...v,cache:typeof r.cache=="boolean"?void 0:r.cache}),b={server:l,lazy:c,default:u,transform:f,pick:d,immediate:y,getCachedData:g,deep:P,watch:m===!1?[]:[_,o,...m||[]]};let S;return useAsyncData(s,()=>{var w;(w=S==null?void 0:S.abort)==null||w.call(S),S=typeof AbortController<"u"?new AbortController:{};const k=toValue(r.timeout);return k&&setTimeout(()=>S.abort(),k),(r.$fetch||globalThis.$fetch)(o.value,{signal:S.signal,..._})},b)}function generateOptionSegments(e){var n;const t=[((n=toValue(e.method))==null?void 0:n.toUpperCase())||"GET",toValue(e.baseURL)];for(const r of[e.params||e.query]){const a=toValue(r);if(!a)continue;const o={};for(const[i,s]of Object.entries(a))o[toValue(i)]=toValue(s);t.push(o)}return t}async function preloadRouteComponents(e,t=useRouter$2()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const a=t._preloadPromises=t._preloadPromises||[];if(a.length>4)return Promise.all(a).then(()=>preloadRouteComponents(e,t));t._routePreloaded.add(n);const o=r.map(i=>{var s;return(s=i.components)==null?void 0:s.default}).filter(i=>typeof i=="function");for(const i of o){const s=Promise.resolve(i()).catch(()=>{}).finally(()=>a.splice(a.indexOf(s)));a.push(s)}await Promise.all(a)}function reloadNuxtApp(e={}){const t=e.path||window.location.pathname;let n={};try{n=destr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:useNuxtApp().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const firstNonUndefined=(...e)=>e.find(t=>t!==void 0),DEFAULT_EXTERNAL_REL_ATTRIBUTE="noopener noreferrer";function defineNuxtLink(e){const t=e.componentName||"NuxtLink",n=(r,a)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return applyTrailingSlashBehavior(r,e.trailingSlash);const o="path"in r?r.path:a(r).path;return{...r,name:void 0,path:applyTrailingSlashBehavior(o,e.trailingSlash)}};return defineComponent$1({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:a}){const o=useRouter$2(),i=useRuntimeConfig(),s=computed(()=>{const m=r.to||r.href||"";return n(m,o.resolve)}),l=computed(()=>typeof s.value=="string"&&hasProtocol(s.value,{acceptRelative:!0})),c=computed(()=>r.external||r.target&&r.target!=="_self"?!0:typeof s.value=="object"?!1:s.value===""||l.value),u=ref(!1),f=ref(null),d=m=>{var y;f.value=r.custom?(y=m==null?void 0:m.$el)==null?void 0:y.nextElementSibling:m==null?void 0:m.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!isSlowConnection()){const y=useNuxtApp();let g,P=null;onMounted(()=>{const v=useObserver();onNuxtReady(()=>{g=requestIdleCallback$1(()=>{var _;(_=f==null?void 0:f.value)!=null&&_.tagName&&(P=v.observe(f.value,async()=>{P==null||P(),P=null;const b=typeof s.value=="string"?s.value:o.resolve(s.value).fullPath;await Promise.all([y.hooks.callHook("link:prefetch",b).catch(()=>{}),!c.value&&preloadRouteComponents(s.value,o).catch(()=>{})]),u.value=!0}))})})}),onBeforeUnmount(()=>{g&&cancelIdleCallback$1(g),P==null||P(),P=null})}return()=>{var v,_;if(!c.value){const b={ref:d,to:s.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(u.value&&(b.class=r.prefetchedClass||e.prefetchedClass),b.rel=r.rel),h(resolveComponent("RouterLink"),b,a.default)}const m=typeof s.value=="object"?((v=o.resolve(s.value))==null?void 0:v.href)??null:s.value&&!r.external&&!l.value?n(joinURL(i.app.baseURL,s.value),o.resolve):s.value||null,y=r.target||null,g=r.noRel?null:firstNonUndefined(r.rel,e.externalRelAttribute,m?DEFAULT_EXTERNAL_REL_ATTRIBUTE:"")||null,P=()=>navigateTo(m,{replace:r.replace});return r.custom?a.default?a.default({href:m,navigate:P,get route(){if(!m)return;const b=parseURL$1(m);return{path:b.pathname,fullPath:b.pathname,get query(){return parseQuery$2(b.search)},hash:b.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:m}},rel:g,target:y,isExternal:c.value,isActive:!1,isExactActive:!1}):null:h("a",{ref:f,href:m,rel:g,target:y},(_=a.default)==null?void 0:_.call(a))}}})}const __nuxt_component_0$2=defineNuxtLink(nuxtLinkDefaults);function applyTrailingSlashBehavior(e,t){const n=t==="append"?withTrailingSlash$1:withoutTrailingSlash$1;return hasProtocol(e)&&!e.startsWith("http")?e:n(e,!0)}function useObserver(){const e=useNuxtApp();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(s=>{for(const l of s){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function isSlowConnection(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const plugin=defineNuxtPlugin(e=>{const t=createPinia();return e.vueApp.use(t),setActivePinia(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}),LazyProseA=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseA.BYXVAyNB.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseBlockquote=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseBlockquote.Ee10N67E.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseCode=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseCode.CKGyXSJs.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseEm=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseEm.DetHaiht.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseH1=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseH1.B8vj1j_p.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseH2=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseH2.CAEQUWqb.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseH3=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseH3.CoER2-yy.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseH4=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseH4.CrHlL_pb.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseH5=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseH5.BLPOXffE.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseH6=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseH6.BxQTs9yl.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseHr=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseHr.BIhYU0QI.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseImg=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseImg.BN7dbiTP.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseLi=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseLi.CDxgrJMG.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseOl=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseOl.BFb00pBm.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseP=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseP.DDi9o559.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProsePre=defineAsyncComponent(()=>__vitePreload(()=>import("./ProsePre.p1eYap2U.js"),__vite__mapDeps([28,29]),import.meta.url).then(e=>e.default)),LazyProseScript=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseScript.Bnk1lw7L.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseStrong=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseStrong.DreC8g_A.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseTable=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseTable.CcjkVyVT.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseTbody=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseTbody.DIZOqm5l.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseTd=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseTd.dJ1reX0B.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseTh=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseTh.B0HWy9B1.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseThead=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseThead.BRQAsKdm.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseTr=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseTr.Wm3XI1YQ.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),LazyProseUl=defineAsyncComponent(()=>__vitePreload(()=>import("./ProseUl.hpv0hyfO.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),lazyGlobalComponents=[["ProseA",LazyProseA],["ProseBlockquote",LazyProseBlockquote],["ProseCode",LazyProseCode],["ProseEm",LazyProseEm],["ProseH1",LazyProseH1],["ProseH2",LazyProseH2],["ProseH3",LazyProseH3],["ProseH4",LazyProseH4],["ProseH5",LazyProseH5],["ProseH6",LazyProseH6],["ProseHr",LazyProseHr],["ProseImg",LazyProseImg],["ProseLi",LazyProseLi],["ProseOl",LazyProseOl],["ProseP",LazyProseP],["ProsePre",LazyProsePre],["ProseScript",LazyProseScript],["ProseStrong",LazyProseStrong],["ProseTable",LazyProseTable],["ProseTbody",LazyProseTbody],["ProseTd",LazyProseTd],["ProseTh",LazyProseTh],["ProseThead",LazyProseThead],["ProseTr",LazyProseTr],["ProseUl",LazyProseUl]],components_plugin_KR1HBZs4kY=defineNuxtPlugin({name:"nuxt:global-components",setup(e){for(const[t,n]of lazyGlobalComponents)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),layouts={default:()=>__vitePreload(()=>import("./default.ByZQ-KGw.js"),__vite__mapDeps([30,31,32,7,8,33]),import.meta.url).then(e=>e.default||e),landing:()=>__vitePreload(()=>import("./landing.Bf6cXwFF.js"),__vite__mapDeps([34,31,32,35]),import.meta.url).then(e=>e.default||e)},prefetch_client_5tzzN0oIVL=defineNuxtPlugin({name:"nuxt:prefetch",setup(e){const t=useRouter$2();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var a;const r=(a=n==null?void 0:n.meta)==null?void 0:a.layout;r&&typeof layouts[r]=="function"&&await layouts[r]()})}),e.hooks.hook("link:prefetch",n=>{if(hasProtocol(n))return;const r=t.resolve(n);if(!r)return;const a=r.meta.layout;let o=toArray(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof namedMiddleware[i]=="function"&&namedMiddleware[i]();a&&typeof layouts[a]=="function"&&layouts[a]()})}});function isHTTPS(e,t=!0){const n=t&&e.headers?e.headers["x-forwarded-proto"]:void 0,r=typeof n=="string"?n.includes("https"):void 0;if(r)return!0;const a=e.connection?e.connection.encrypted:void 0,o=a!==void 0?a===!0:void 0;if(o)return!0;if(!(r===void 0&&o===void 0))return!1}var dist=isHTTPS;const _location=typeof location<"u"?location:{origin:"",pathname:"/"};function getURL(e,t){return e?encodeURI("http"+(dist(e)?"s":"")+"://"+(e.headers["x-forwarded-host"]||e.headers.host)+(t?e.url:"")):_location.origin+(t?_location.pathname:"")}function makeCommonAuthState(){var c;const e=useState("auth:data",()=>{}),t=computed(()=>!!e.value),n=useState("auth:lastRefreshedAt",()=>{if(t.value)return new Date}),r=useState("auth:loading",()=>!1),a=computed(()=>r.value?"loading":e.value?"authenticated":"unauthenticated");let o;const{origin:i,pathname:s,fullBaseUrl:l}=useRuntimeConfig().public.auth.computed;if(i)o=l;else{const u=getURL((c=useRequestEvent())==null?void 0:c.node.req,!1);o=joinURL(u,s)}return{data:e,loading:r,lastRefreshedAt:n,status:a,_internal:{baseURL:o,pathname:s}}}const useAuthState=()=>makeCommonAuthState(),getRequestURL=(e=!0)=>{var t;return getURL((t=useRequestEvent())==null?void 0:t.node.req,e)};function joinPathToApiURL(e){const t=useAuthState()._internal,n=e.startsWith("/")?t.pathname:t.baseURL;return joinURL(n,e)}function navigateToAuthPages(e){const t=useNuxtApp();window.location.href=e,e.includes("#")&&window.location.reload();const n=t.$router;return new Promise(a=>setTimeout(a,60*1e3)).then(()=>n.push(e))}function determineCallbackUrl(e,t){const n=typeof e.globalAppMiddleware=="object"?e.globalAppMiddleware.addDefaultCallbackUrl:void 0;if(typeof n<"u"){if(typeof n=="string")return n;if(typeof n=="boolean"&&n)return t()}else if(e.globalAppMiddleware===!0)return t()}const navigateToAuthPageWN=(e,t)=>callWithNuxt(e,navigateToAuthPages,[t]),getRequestURLWN=e=>callWithNuxt(e,getRequestURL),joinPathToApiURLWN=(e,t)=>callWithNuxt(e,joinPathToApiURL,[t]),makeCWN=e=>t=>callWithNuxt(t,e);async function _fetch(e,t,n){try{const r=await callWithNuxt(e,()=>joinPathToApiURL(t));return $fetch(r,n)}catch(r){throw console.error("Error in `nuxt-auth`-app-side data fetching: Have you added the authentication handler server-endpoint `[...].ts`? Have you added the authentication handler in a non-default location (default is `~/server/api/auth/[...].ts`) and not updated the module-setting `auth.basePath`? Error is:"),console.error(r),new Error("Runtime error, checkout the console logs to debug, open an issue at https://github.com/sidebase/nuxt-auth/issues/new/choose if you continue to have this problem")}}const isNonEmptyObject=e=>typeof e=="object"&&e!==null&&Object.keys(e).length>0;function useTypedBackendConfig(e,t){const n=e.public.auth.provider;if(n.type===t)return n;throw new Error("RuntimeError: Type must match at this point")}async function getRequestCookies(e){const{cookie:t}=await callWithNuxt(e,()=>useRequestHeaders());return t?{cookie:t}:{}}async function getCsrfToken(){const e=useNuxtApp(),t=await getRequestCookies(e);return _fetch(e,"/csrf",{headers:t}).then(n=>n.csrfToken)}const getCsrfTokenWithNuxt=makeCWN(getCsrfToken),signIn=async(e,t,n)=>{const r=useNuxtApp(),a=await getProviders();if(!a){const T=await joinPathToApiURLWN(r,"error");return navigateToAuthPageWN(r,T)}const o=await callWithNuxt(r,useRuntimeConfig),i=useTypedBackendConfig(o,"authjs");typeof e>"u"&&(e=i.defaultProvider);const{redirect:s=!0}=t??{};let{callbackUrl:l}=t??{};typeof l>"u"&&i.addDefaultCallbackUrl&&(l=await determineCallbackUrl(o.public.auth,()=>getRequestURLWN(r)));const c=await joinPathToApiURLWN(r,"signin"),u=l?`?${new URLSearchParams({callbackUrl:l})}`:"",f=`${c}${u}`;if(!e)return navigateToAuthPageWN(r,f);const d=a[e];if(!d)return navigateToAuthPageWN(r,f);const m=d.type==="credentials",y=d.type==="email",g=m||y;let P="signin";m&&(P="callback");const v=await callWithNuxt(r,getCsrfToken),_={"Content-Type":"application/x-www-form-urlencoded",...await getRequestCookies(r)},b=new URLSearchParams({...t,csrfToken:v,callbackUrl:l,json:!0}),C=await callWithNuxt(r,()=>_fetch(r,`/${P}/${e}`,{method:"post",params:n,headers:_,body:b}).catch(T=>T.data));if(s||!g){const T=C.url??l;return navigateToAuthPageWN(r,T)}const k=new URL(C.url).searchParams.get("error");return await getSessionWithNuxt(r),{error:k,status:200,ok:!0,url:k?null:C.url}};function getProviders(){return _fetch(useNuxtApp(),"/providers")}async function getSession(e){const t=useNuxtApp(),n=await getRequestURLWN(t),{required:r,callbackUrl:a,onUnauthenticated:o}=defu(e||{},{required:!1,callbackUrl:void 0,onUnauthenticated:()=>signIn(void 0,{callbackUrl:(e==null?void 0:e.callbackUrl)||n})}),{data:i,status:s,loading:l,lastRefreshedAt:c}=await callWithNuxt(t,useAuthState),u=()=>{l.value=!1},f=await getRequestCookies(t);return _fetch(t,"/session",{onResponse:({response:d})=>{const m=d._data;return i.value=isNonEmptyObject(m)?m:null,l.value=!1,r&&s.value==="unauthenticated"?o():m},onRequest:({options:d})=>{c.value=new Date,d.params={...d.params,callbackUrl:a||n}},onRequestError:u,onResponseError:u,headers:f})}const getSessionWithNuxt=makeCWN(getSession),signOut=async e=>{const t=useNuxtApp(),n=await getRequestURLWN(t),{callbackUrl:r=n,redirect:a=!0}=e??{},o=await getCsrfTokenWithNuxt(t);if(!o)throw createError({statusCode:400,statusMessage:"Could not fetch CSRF Token for signing out"});const i=n,s=await _fetch(t,"/signout",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},onRequest:({options:l})=>{l.body=new URLSearchParams({csrfToken:o,callbackUrl:r||i,json:"true"})}}).catch(l=>l.data);if(a){const l=s.url??r;return navigateToAuthPageWN(t,l)}return await getSessionWithNuxt(t),s};function useAuth(){const{data:e,status:t,lastRefreshedAt:n}=useAuthState();return{status:t,data:readonly(e),lastRefreshedAt:readonly(n),getSession,getCsrfToken,getProviders,signIn,signOut,refresh:getSession}}class DefaultRefreshHandler{constructor(t){Ce(this,"auth");Ce(this,"runtimeConfig");Ce(this,"refetchIntervalTimer");Ce(this,"refreshTokenIntervalTimer");Ce(this,"boundVisibilityHandler");this.config=t,this.boundVisibilityHandler=this.visibilityHandler.bind(this)}init(){var r;this.runtimeConfig=useRuntimeConfig().public.auth,this.auth=useAuth(),document.addEventListener("visibilitychange",this.boundVisibilityHandler,!1);const{enablePeriodically:t}=this.config;if(t!==!1){const a=t===!0?1e3:t;this.refetchIntervalTimer=setInterval(()=>{var o;(o=this.auth)!=null&&o.data.value&&this.auth.refresh()},a)}const n=this.runtimeConfig.provider;if(n.type==="local"&&n.refresh.isEnabled&&((r=n.refresh.token)!=null&&r.maxAgeInSeconds)){const a=n.refresh.token.maxAgeInSeconds*1e3;this.refreshTokenIntervalTimer=setInterval(()=>{var o;(o=this.auth)!=null&&o.refreshToken.value&&this.auth.refresh()},a)}}destroy(){document.removeEventListener("visibilitychange",this.boundVisibilityHandler,!1),clearInterval(this.refetchIntervalTimer),this.refreshTokenIntervalTimer&&clearInterval(this.refreshTokenIntervalTimer),this.auth=void 0,this.runtimeConfig=void 0}visibilityHandler(){var t,n;(t=this.config)!=null&&t.enableOnWindowFocus&&document.visibilityState==="visible"&&((n=this.auth)!=null&&n.data.value)&&this.auth.refresh()}}const _refreshHandler=new DefaultRefreshHandler({enablePeriodically:!1,enableOnWindowFocus:!0}),authMiddleware=e=>{var s,l,c;const t=typeof e.meta.auth=="object"?{unauthenticatedOnly:!0,...e.meta.auth}:e.meta.auth;if(t===!1)return;const n=useRuntimeConfig().public.auth,{status:r,signIn:a}=useAuth(),o=typeof t=="object"&&t.unauthenticatedOnly;if(o&&r.value==="unauthenticated"||typeof t=="object"&&!t.unauthenticatedOnly)return;if(r.value==="authenticated")return o?navigateTo(t.navigateAuthenticatedTo??"/"):void 0;if(((s=n.provider)==null?void 0:s.type)==="local"){const u=(c=(l=n.provider)==null?void 0:l.pages)==null?void 0:c.login;if(u&&u===e.path)return}const i=n.globalAppMiddleware;if(!((i===!0||typeof i=="object"&&i.allow404WithoutAuth)&&!(e.matched.length>0)))if(n.provider.type==="authjs"){const u={error:"SessionRequired",callbackUrl:determineCallbackUrl(n,()=>e.fullPath)};return a(void 0,u)}else{if(typeof t=="object"&&t.navigateUnauthenticatedTo)return navigateTo(t.navigateUnauthenticatedTo);if(typeof i=="object"&&i.addDefaultCallbackUrl){let u=e.fullPath;return typeof i.addDefaultCallbackUrl=="string"&&(u=i.addDefaultCallbackUrl),navigateTo({path:n.provider.pages.login,query:{redirect:u}})}return navigateTo(n.provider.pages.login)}},auth=Object.freeze(Object.defineProperty({__proto__:null,default:authMiddleware},Symbol.toStringTag,{value:"Module"})),plugin_I4dbrL2rYz=defineNuxtPlugin(async e=>{let t,n;const{data:r,lastRefreshedAt:a,loading:o}=useAuthState(),{getSession:i}=useAuth(),s=useRuntimeConfig().public.auth,l={};let c=!1;e.ssrContext&&(c=getHeader(e.ssrContext.event,"x-nitro-prerender")!==void 0);let u=l.disableServerSideAuth;u??(u=s==null?void 0:s.disableServerSideAuth),u??(u=!1),u&&(o.value=!0),typeof r.value>"u"&&!c&&!u&&([t,n]=executeAsync(()=>i()),await t,n()),e.hook("app:mounted",()=>{_refreshHandler.init(),u&&i()});const f=e.vueApp.unmount;e.vueApp.unmount=function(){_refreshHandler.destroy(),a.value=void 0,r.value=void 0,f()};const{globalAppMiddleware:d}=useRuntimeConfig().public.auth;(d===!0||typeof d=="object"&&d.isEnabled)&&addRouteMiddleware("auth",authMiddleware,{global:!0})}),composition_sLxaNGmlSL=defineNuxtPlugin(()=>{});/*!
  * shared v9.5.0
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const inBrowser$1=typeof window<"u",makeSymbol$1=(e,t=!1)=>t?Symbol.for(e):Symbol(e),generateFormatCacheKey=(e,t,n)=>friendlyJSONstringify({l:e,k:t,s:n}),friendlyJSONstringify=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),isNumber=e=>typeof e=="number"&&isFinite(e),isDate=e=>toTypeString(e)==="[object Date]",isRegExp=e=>toTypeString(e)==="[object RegExp]",isEmptyObject=e=>isPlainObject(e)&&Object.keys(e).length===0,assign$2=Object.assign;let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function escapeHtml(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const hasOwnProperty$5=Object.prototype.hasOwnProperty;function hasOwn(e,t){return hasOwnProperty$5.call(e,t)}const isArray$3=Array.isArray,isFunction$2=e=>typeof e=="function",isString$1=e=>typeof e=="string",isBoolean=e=>typeof e=="boolean",isObject$3=e=>e!==null&&typeof e=="object",objectToString$1=Object.prototype.toString,toTypeString=e=>objectToString$1.call(e),isPlainObject=e=>{if(!isObject$3(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},toDisplayString=e=>e==null?"":isArray$3(e)||isPlainObject(e)&&e.toString===objectToString$1?JSON.stringify(e,null,2):String(e);function join(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}function incrementer(e){let t=e;return()=>++t}function warn$1(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}/*!
  * message-compiler v9.6.5
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */function createPosition(e,t,n){return{line:e,column:t,offset:n}}function createLocation(e,t,n){return{start:e,end:t}}const CompileErrorCodes={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function createCompileError(e,t,n={}){const{domain:r,messages:a,args:o}=n,i=e,s=new SyntaxError(String(i));return s.code=e,t&&(s.location=t),s.domain=r,s}function defaultOnError(e){throw e}const CHAR_SP=" ",CHAR_CR="\r",CHAR_LF=`
`,CHAR_LS="\u2028",CHAR_PS="\u2029";function createScanner(e){const t=e;let n=0,r=1,a=1,o=0;const i=T=>t[T]===CHAR_CR&&t[T+1]===CHAR_LF,s=T=>t[T]===CHAR_LF,l=T=>t[T]===CHAR_PS,c=T=>t[T]===CHAR_LS,u=T=>i(T)||s(T)||l(T)||c(T),f=()=>n,d=()=>r,m=()=>a,y=()=>o,g=T=>i(T)||l(T)||c(T)?CHAR_LF:t[T],P=()=>g(n),v=()=>g(n+o);function _(){return o=0,u(n)&&(r++,a=0),i(n)&&n++,n++,a++,t[n]}function b(){return i(n+o)&&o++,o++,t[n+o]}function S(){n=0,r=1,a=1,o=0}function C(T=0){o=T}function k(){const T=n+o;for(;T!==n;)_();o=0}return{index:f,line:d,column:m,peekOffset:y,charAt:g,currentChar:P,currentPeek:v,next:_,peek:b,reset:S,resetPeek:C,skipToPeek:k}}const EOF=void 0,DOT=".",LITERAL_DELIMITER="'",ERROR_DOMAIN$3="tokenizer";function createTokenizer(e,t={}){const n=t.location!==!1,r=createScanner(e),a=()=>r.index(),o=()=>createPosition(r.line(),r.column(),r.index()),i=o(),s=a(),l={currentType:14,offset:s,startLoc:i,endLoc:i,lastType:14,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(x,A,B,...q){const X=c();if(A.column+=B,A.offset+=B,u){const te=n?createLocation(X.startLoc,A):null,ie=createCompileError(x,te,{domain:ERROR_DOMAIN$3,args:q});u(ie)}}function d(x,A,B){x.endLoc=o(),x.currentType=A;const q={type:A};return n&&(q.loc=createLocation(x.startLoc,x.endLoc)),B!=null&&(q.value=B),q}const m=x=>d(x,14);function y(x,A){return x.currentChar()===A?(x.next(),A):(f(CompileErrorCodes.EXPECTED_TOKEN,o(),0,A),"")}function g(x){let A="";for(;x.currentPeek()===CHAR_SP||x.currentPeek()===CHAR_LF;)A+=x.currentPeek(),x.peek();return A}function P(x){const A=g(x);return x.skipToPeek(),A}function v(x){if(x===EOF)return!1;const A=x.charCodeAt(0);return A>=97&&A<=122||A>=65&&A<=90||A===95}function _(x){if(x===EOF)return!1;const A=x.charCodeAt(0);return A>=48&&A<=57}function b(x,A){const{currentType:B}=A;if(B!==2)return!1;g(x);const q=v(x.currentPeek());return x.resetPeek(),q}function S(x,A){const{currentType:B}=A;if(B!==2)return!1;g(x);const q=x.currentPeek()==="-"?x.peek():x.currentPeek(),X=_(q);return x.resetPeek(),X}function C(x,A){const{currentType:B}=A;if(B!==2)return!1;g(x);const q=x.currentPeek()===LITERAL_DELIMITER;return x.resetPeek(),q}function k(x,A){const{currentType:B}=A;if(B!==8)return!1;g(x);const q=x.currentPeek()===".";return x.resetPeek(),q}function T(x,A){const{currentType:B}=A;if(B!==9)return!1;g(x);const q=v(x.currentPeek());return x.resetPeek(),q}function w(x,A){const{currentType:B}=A;if(!(B===8||B===12))return!1;g(x);const q=x.currentPeek()===":";return x.resetPeek(),q}function E(x,A){const{currentType:B}=A;if(B!==10)return!1;const q=()=>{const te=x.currentPeek();return te==="{"?v(x.peek()):te==="@"||te==="%"||te==="|"||te===":"||te==="."||te===CHAR_SP||!te?!1:te===CHAR_LF?(x.peek(),q()):v(te)},X=q();return x.resetPeek(),X}function F(x){g(x);const A=x.currentPeek()==="|";return x.resetPeek(),A}function L(x){const A=g(x),B=x.currentPeek()==="%"&&x.peek()==="{";return x.resetPeek(),{isModulo:B,hasSpace:A.length>0}}function N(x,A=!0){const B=(X=!1,te="",ie=!1)=>{const le=x.currentPeek();return le==="{"?te==="%"?!1:X:le==="@"||!le?te==="%"?!0:X:le==="%"?(x.peek(),B(X,"%",!0)):le==="|"?te==="%"||ie?!0:!(te===CHAR_SP||te===CHAR_LF):le===CHAR_SP?(x.peek(),B(!0,CHAR_SP,ie)):le===CHAR_LF?(x.peek(),B(!0,CHAR_LF,ie)):!0},q=B();return A&&x.resetPeek(),q}function O(x,A){const B=x.currentChar();return B===EOF?EOF:A(B)?(x.next(),B):null}function U(x){return O(x,B=>{const q=B.charCodeAt(0);return q>=97&&q<=122||q>=65&&q<=90||q>=48&&q<=57||q===95||q===36})}function j(x){return O(x,B=>{const q=B.charCodeAt(0);return q>=48&&q<=57})}function I(x){return O(x,B=>{const q=B.charCodeAt(0);return q>=48&&q<=57||q>=65&&q<=70||q>=97&&q<=102})}function M(x){let A="",B="";for(;A=j(x);)B+=A;return B}function V(x){P(x);const A=x.currentChar();return A!=="%"&&f(CompileErrorCodes.EXPECTED_TOKEN,o(),0,A),x.next(),"%"}function R(x){let A="";for(;;){const B=x.currentChar();if(B==="{"||B==="}"||B==="@"||B==="|"||!B)break;if(B==="%")if(N(x))A+=B,x.next();else break;else if(B===CHAR_SP||B===CHAR_LF)if(N(x))A+=B,x.next();else{if(F(x))break;A+=B,x.next()}else A+=B,x.next()}return A}function D(x){P(x);let A="",B="";for(;A=U(x);)B+=A;return x.currentChar()===EOF&&f(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,o(),0),B}function $(x){P(x);let A="";return x.currentChar()==="-"?(x.next(),A+=`-${M(x)}`):A+=M(x),x.currentChar()===EOF&&f(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,o(),0),A}function G(x){P(x),y(x,"'");let A="",B="";const q=te=>te!==LITERAL_DELIMITER&&te!==CHAR_LF;for(;A=O(x,q);)A==="\\"?B+=ne(x):B+=A;const X=x.currentChar();return X===CHAR_LF||X===EOF?(f(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),X===CHAR_LF&&(x.next(),y(x,"'")),B):(y(x,"'"),B)}function ne(x){const A=x.currentChar();switch(A){case"\\":case"'":return x.next(),`\\${A}`;case"u":return oe(x,A,4);case"U":return oe(x,A,6);default:return f(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,o(),0,A),""}}function oe(x,A,B){y(x,A);let q="";for(let X=0;X<B;X++){const te=I(x);if(!te){f(CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${A}${q}${x.currentChar()}`);break}q+=te}return`\\${A}${q}`}function ce(x){P(x);let A="",B="";const q=X=>X!=="{"&&X!=="}"&&X!==CHAR_SP&&X!==CHAR_LF;for(;A=O(x,q);)B+=A;return B}function ee(x){let A="",B="";for(;A=U(x);)B+=A;return B}function Y(x){const A=(B=!1,q)=>{const X=x.currentChar();return X==="{"||X==="%"||X==="@"||X==="|"||X==="("||X===")"||!X||X===CHAR_SP?q:X===CHAR_LF||X===DOT?(q+=X,x.next(),A(B,q)):(q+=X,x.next(),A(!0,q))};return A(!1,"")}function Q(x){P(x);const A=y(x,"|");return P(x),A}function z(x,A){let B=null;switch(x.currentChar()){case"{":return A.braceNest>=1&&f(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),x.next(),B=d(A,2,"{"),P(x),A.braceNest++,B;case"}":return A.braceNest>0&&A.currentType===2&&f(CompileErrorCodes.EMPTY_PLACEHOLDER,o(),0),x.next(),B=d(A,3,"}"),A.braceNest--,A.braceNest>0&&P(x),A.inLinked&&A.braceNest===0&&(A.inLinked=!1),B;case"@":return A.braceNest>0&&f(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,o(),0),B=re(x,A)||m(A),A.braceNest=0,B;default:let X=!0,te=!0,ie=!0;if(F(x))return A.braceNest>0&&f(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,o(),0),B=d(A,1,Q(x)),A.braceNest=0,A.inLinked=!1,B;if(A.braceNest>0&&(A.currentType===5||A.currentType===6||A.currentType===7))return f(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,o(),0),A.braceNest=0,ue(x,A);if(X=b(x,A))return B=d(A,5,D(x)),P(x),B;if(te=S(x,A))return B=d(A,6,$(x)),P(x),B;if(ie=C(x,A))return B=d(A,7,G(x)),P(x),B;if(!X&&!te&&!ie)return B=d(A,13,ce(x)),f(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,B.value),P(x),B;break}return B}function re(x,A){const{currentType:B}=A;let q=null;const X=x.currentChar();switch((B===8||B===9||B===12||B===10)&&(X===CHAR_LF||X===CHAR_SP)&&f(CompileErrorCodes.INVALID_LINKED_FORMAT,o(),0),X){case"@":return x.next(),q=d(A,8,"@"),A.inLinked=!0,q;case".":return P(x),x.next(),d(A,9,".");case":":return P(x),x.next(),d(A,10,":");default:return F(x)?(q=d(A,1,Q(x)),A.braceNest=0,A.inLinked=!1,q):k(x,A)||w(x,A)?(P(x),re(x,A)):T(x,A)?(P(x),d(A,12,ee(x))):E(x,A)?(P(x),X==="{"?z(x,A)||q:d(A,11,Y(x))):(B===8&&f(CompileErrorCodes.INVALID_LINKED_FORMAT,o(),0),A.braceNest=0,A.inLinked=!1,ue(x,A))}}function ue(x,A){let B={type:14};if(A.braceNest>0)return z(x,A)||m(A);if(A.inLinked)return re(x,A)||m(A);switch(x.currentChar()){case"{":return z(x,A)||m(A);case"}":return f(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,o(),0),x.next(),d(A,3,"}");case"@":return re(x,A)||m(A);default:if(F(x))return B=d(A,1,Q(x)),A.braceNest=0,A.inLinked=!1,B;const{isModulo:X,hasSpace:te}=L(x);if(X)return te?d(A,0,R(x)):d(A,4,V(x));if(N(x))return d(A,0,R(x));break}return B}function de(){const{currentType:x,offset:A,startLoc:B,endLoc:q}=l;return l.lastType=x,l.lastOffset=A,l.lastStartLoc=B,l.lastEndLoc=q,l.offset=a(),l.startLoc=o(),r.currentChar()===EOF?d(l,14):ue(r,l)}return{nextToken:de,currentOffset:a,currentPosition:o,context:c}}const ERROR_DOMAIN$2="parser",KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function createParser(e={}){const t=e.location!==!1,{onError:n}=e;function r(v,_,b,S,...C){const k=v.currentPosition();if(k.offset+=S,k.column+=S,n){const T=t?createLocation(b,k):null,w=createCompileError(_,T,{domain:ERROR_DOMAIN$2,args:C});n(w)}}function a(v,_,b){const S={type:v};return t&&(S.start=_,S.end=_,S.loc={start:b,end:b}),S}function o(v,_,b,S){t&&(v.end=_,v.loc&&(v.loc.end=b))}function i(v,_){const b=v.context(),S=a(3,b.offset,b.startLoc);return S.value=_,o(S,v.currentOffset(),v.currentPosition()),S}function s(v,_){const b=v.context(),{lastOffset:S,lastStartLoc:C}=b,k=a(5,S,C);return k.index=parseInt(_,10),v.nextToken(),o(k,v.currentOffset(),v.currentPosition()),k}function l(v,_){const b=v.context(),{lastOffset:S,lastStartLoc:C}=b,k=a(4,S,C);return k.key=_,v.nextToken(),o(k,v.currentOffset(),v.currentPosition()),k}function c(v,_){const b=v.context(),{lastOffset:S,lastStartLoc:C}=b,k=a(9,S,C);return k.value=_.replace(KNOWN_ESCAPES,fromEscapeSequence),v.nextToken(),o(k,v.currentOffset(),v.currentPosition()),k}function u(v){const _=v.nextToken(),b=v.context(),{lastOffset:S,lastStartLoc:C}=b,k=a(8,S,C);return _.type!==12?(r(v,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),k.value="",o(k,S,C),{nextConsumeToken:_,node:k}):(_.value==null&&r(v,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,getTokenCaption(_)),k.value=_.value||"",o(k,v.currentOffset(),v.currentPosition()),{node:k})}function f(v,_){const b=v.context(),S=a(7,b.offset,b.startLoc);return S.value=_,o(S,v.currentOffset(),v.currentPosition()),S}function d(v){const _=v.context(),b=a(6,_.offset,_.startLoc);let S=v.nextToken();if(S.type===9){const C=u(v);b.modifier=C.node,S=C.nextConsumeToken||v.nextToken()}switch(S.type!==10&&r(v,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,getTokenCaption(S)),S=v.nextToken(),S.type===2&&(S=v.nextToken()),S.type){case 11:S.value==null&&r(v,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,getTokenCaption(S)),b.key=f(v,S.value||"");break;case 5:S.value==null&&r(v,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,getTokenCaption(S)),b.key=l(v,S.value||"");break;case 6:S.value==null&&r(v,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,getTokenCaption(S)),b.key=s(v,S.value||"");break;case 7:S.value==null&&r(v,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,getTokenCaption(S)),b.key=c(v,S.value||"");break;default:r(v,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const C=v.context(),k=a(7,C.offset,C.startLoc);return k.value="",o(k,C.offset,C.startLoc),b.key=k,o(b,C.offset,C.startLoc),{nextConsumeToken:S,node:b}}return o(b,v.currentOffset(),v.currentPosition()),{node:b}}function m(v){const _=v.context(),b=_.currentType===1?v.currentOffset():_.offset,S=_.currentType===1?_.endLoc:_.startLoc,C=a(2,b,S);C.items=[];let k=null;do{const E=k||v.nextToken();switch(k=null,E.type){case 0:E.value==null&&r(v,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,getTokenCaption(E)),C.items.push(i(v,E.value||""));break;case 6:E.value==null&&r(v,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,getTokenCaption(E)),C.items.push(s(v,E.value||""));break;case 5:E.value==null&&r(v,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,getTokenCaption(E)),C.items.push(l(v,E.value||""));break;case 7:E.value==null&&r(v,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,getTokenCaption(E)),C.items.push(c(v,E.value||""));break;case 8:const F=d(v);C.items.push(F.node),k=F.nextConsumeToken||null;break}}while(_.currentType!==14&&_.currentType!==1);const T=_.currentType===1?_.lastOffset:v.currentOffset(),w=_.currentType===1?_.lastEndLoc:v.currentPosition();return o(C,T,w),C}function y(v,_,b,S){const C=v.context();let k=S.items.length===0;const T=a(1,_,b);T.cases=[],T.cases.push(S);do{const w=m(v);k||(k=w.items.length===0),T.cases.push(w)}while(C.currentType!==14);return k&&r(v,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),o(T,v.currentOffset(),v.currentPosition()),T}function g(v){const _=v.context(),{offset:b,startLoc:S}=_,C=m(v);return _.currentType===14?C:y(v,b,S,C)}function P(v){const _=createTokenizer(v,assign$2({},e)),b=_.context(),S=a(0,b.offset,b.startLoc);return t&&S.loc&&(S.loc.source=v),S.body=g(_),e.onCacheKey&&(S.cacheKey=e.onCacheKey(v)),b.currentType!==14&&r(_,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,v[b.offset]||""),o(S,_.currentOffset(),_.currentPosition()),S}return{parse:P}}function getTokenCaption(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function createTransformer(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function traverseNodes(e,t){for(let n=0;n<e.length;n++)traverseNode(e[n],t)}function traverseNode(e,t){switch(e.type){case 1:traverseNodes(e.cases,t),t.helper("plural");break;case 2:traverseNodes(e.items,t);break;case 6:traverseNode(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function transform$1(e,t={}){const n=createTransformer(e);n.helper("normalize"),e.body&&traverseNode(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function optimize(e){const t=e.body;return t.type===2?optimizeMessageNode(t):t.cases.forEach(n=>optimizeMessageNode(n)),e}function optimizeMessageNode(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=join(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function minify(e){switch(e.t=e.type,e.type){case 0:const t=e;minify(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,r=n.cases;for(let u=0;u<r.length;u++)minify(r[u]);n.c=r,delete n.cases;break;case 2:const a=e,o=a.items;for(let u=0;u<o.length;u++)minify(o[u]);a.i=o,delete a.items,a.static&&(a.s=a.static,delete a.static);break;case 3:case 9:case 8:case 7:const i=e;i.value&&(i.v=i.value,delete i.value);break;case 6:const s=e;minify(s.key),s.k=s.key,delete s.key,s.modifier&&(minify(s.modifier),s.m=s.modifier,delete s.modifier);break;case 5:const l=e;l.i=l.index,delete l.index;break;case 4:const c=e;c.k=c.key,delete c.key;break}delete e.type}function createCodeGenerator(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:o}=t,i=t.location!==!1,s={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:o,indentLevel:0};i&&e.loc&&(s.source=e.loc.source);const l=()=>s;function c(P,v){s.code+=P}function u(P,v=!0){const _=v?a:"";c(o?_+"  ".repeat(P):_)}function f(P=!0){const v=++s.indentLevel;P&&u(v)}function d(P=!0){const v=--s.indentLevel;P&&u(v)}function m(){u(s.indentLevel)}return{context:l,push:c,indent:f,deindent:d,newline:m,helper:P=>`_${P}`,needIndent:()=>s.needIndent}}function generateLinkedNode(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),generateNode(e,t.key),t.modifier?(e.push(", "),generateNode(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function generateMessageNode(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let o=0;o<a&&(generateNode(e,t.items[o]),o!==a-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function generatePluralNode(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let o=0;o<a&&(generateNode(e,t.cases[o]),o!==a-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function generateResource(e,t){t.body?generateNode(e,t.body):e.push("null")}function generateNode(e,t){const{helper:n}=e;switch(t.type){case 0:generateResource(e,t);break;case 1:generatePluralNode(e,t);break;case 2:generateMessageNode(e,t);break;case 6:generateLinkedNode(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const generate=(e,t={})=>{const n=isString$1(t.mode)?t.mode:"normal",r=isString$1(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,i=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=createCodeGenerator(e,{mode:n,filename:r,sourceMap:a,breakLineCode:o,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),s.length>0&&(l.push(`const { ${join(s.map(f=>`${f}: _${f}`),", ")} } = ctx`),l.newline()),l.push("return "),generateNode(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function baseCompile$1(e,t={}){const n=assign$2({},t),r=!!n.jit,a=!!n.minify,o=n.optimize==null?!0:n.optimize,s=createParser(n).parse(e);return r?(o&&optimize(s),a&&minify(s),{ast:s,code:""}):(transform$1(s,n),generate(s,n))}/*!
  * core-base v9.5.0
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}const pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]};pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]};pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]};pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]};pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};const literalValueRE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function isLiteral(e){return literalValueRE.test(e)}function stripQuotes(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function getPathCharType(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function formatSubPath(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:isLiteral(t)?stripQuotes(t):"*"+t}function parse$1(e){const t=[];let n=-1,r=0,a=0,o,i,s,l,c,u,f;const d=[];d[0]=()=>{i===void 0?i=s:i+=s},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),a++},d[3]=()=>{if(a>0)a--,r=4,d[0]();else{if(a=0,i===void 0||(i=formatSubPath(i),i===!1))return!1;d[1]()}};function m(){const y=e[n+1];if(r===5&&y==="'"||r===6&&y==='"')return n++,s="\\"+y,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&m())){if(l=getPathCharType(o),f=pathStateMachine[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(s=o,u()===!1))))return;if(r===7)return t}}const cache=new Map;function resolveWithKeyValue(e,t){return isObject$3(e)?e[t]:null}function resolveValue(e,t){if(!isObject$3(e))return null;let n=cache.get(t);if(n||(n=parse$1(t),n&&cache.set(t,n)),!n)return null;const r=n.length;let a=e,o=0;for(;o<r;){const i=a[n[o]];if(i===void 0)return null;a=i,o++}return a}const DEFAULT_MODIFIER=e=>e,DEFAULT_MESSAGE=e=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=e=>e.length===0?"":join(e),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function getPluralIndex(e){const t=isNumber(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(isNumber(e.named.count)||isNumber(e.named.n))?isNumber(e.named.count)?e.named.count:isNumber(e.named.n)?e.named.n:t:t}function normalizeNamed(e,t){t.count||(t.count=e),t.n||(t.n=e)}function createMessageContext(e={}){const t=e.locale,n=getPluralIndex(e),r=isObject$3(e.pluralRules)&&isString$1(t)&&isFunction$2(e.pluralRules[t])?e.pluralRules[t]:pluralDefault,a=isObject$3(e.pluralRules)&&isString$1(t)&&isFunction$2(e.pluralRules[t])?pluralDefault:void 0,o=v=>v[r(n,v.length,a)],i=e.list||[],s=v=>i[v],l=e.named||{};isNumber(e.pluralIndex)&&normalizeNamed(n,l);const c=v=>l[v];function u(v){const _=isFunction$2(e.messages)?e.messages(v):isObject$3(e.messages)?e.messages[v]:!1;return _||(e.parent?e.parent.message(v):DEFAULT_MESSAGE)}const f=v=>e.modifiers?e.modifiers[v]:DEFAULT_MODIFIER,d=isPlainObject(e.processor)&&isFunction$2(e.processor.normalize)?e.processor.normalize:DEFAULT_NORMALIZE,m=isPlainObject(e.processor)&&isFunction$2(e.processor.interpolate)?e.processor.interpolate:DEFAULT_INTERPOLATE,y=isPlainObject(e.processor)&&isString$1(e.processor.type)?e.processor.type:DEFAULT_MESSAGE_DATA_TYPE,P={list:s,named:c,plural:o,linked:(v,..._)=>{const[b,S]=_;let C="text",k="";_.length===1?isObject$3(b)?(k=b.modifier||k,C=b.type||C):isString$1(b)&&(k=b||k):_.length===2&&(isString$1(b)&&(k=b||k),isString$1(S)&&(C=S||C));const T=u(v)(P),w=C==="vnode"&&isArray$3(T)&&k?T[0]:T;return k?f(k)(w,C):w},message:u,type:y,interpolate:m,normalize:d,values:assign$2({},i,l)};return P}let devtools=null;function setDevToolsHook(e){devtools=e}function initI18nDevTools(e,t,n){devtools&&devtools.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const translateDevTools=createDevToolsHook("function:translate");function createDevToolsHook(e){return t=>devtools&&devtools.emit(e,t)}const CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8};function getLocale$1(e,t){return t.locale!=null?resolveLocale(t.locale):resolveLocale(e.locale)}let _resolveLocale;function resolveLocale(e){return isString$1(e)?e:_resolveLocale!=null&&e.resolvedOnce?_resolveLocale:_resolveLocale=e()}function fallbackWithSimple(e,t,n){return[...new Set([n,...isArray$3(t)?t:isObject$3(t)?Object.keys(t):isString$1(t)?[t]:[n]])]}function fallbackWithLocaleChain(e,t,n){const r=isString$1(n)?n:DEFAULT_LOCALE$1,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let o=a.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;isArray$3(i);)i=appendBlockToChain(o,i,t);const s=isArray$3(t)||!isPlainObject(t)?t:t.default?t.default:null;i=isString$1(s)?[s]:s,isArray$3(i)&&appendBlockToChain(o,i,!1),a.__localeChainCache.set(r,o)}return o}function appendBlockToChain(e,t,n){let r=!0;for(let a=0;a<t.length&&isBoolean(r);a++){const o=t[a];isString$1(o)&&(r=appendLocaleToChain(e,t[a],n))}return r}function appendLocaleToChain(e,t,n){let r;const a=t.split("-");do{const o=a.join("-");r=appendItemToChain(e,o,n),a.splice(-1,1)}while(a.length&&r===!0);return r}function appendItemToChain(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(isArray$3(n)||isPlainObject(n))&&n[a]&&(r=n[a])}return r}const VERSION$1="9.5.0",NOT_REOSLVED=-1,DEFAULT_LOCALE$1="en-US",MISSING_RESOLVE_VALUE="",capitalize=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(e,t)=>t==="text"&&isString$1(e)?e.toUpperCase():t==="vnode"&&isObject$3(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&isString$1(e)?e.toLowerCase():t==="vnode"&&isObject$3(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&isString$1(e)?capitalize(e):t==="vnode"&&isObject$3(e)&&"__v_isVNode"in e?capitalize(e.children):e}}let _compiler;function registerMessageCompiler(e){_compiler=e}let _resolver;function registerMessageResolver(e){_resolver=e}let _fallbacker;function registerLocaleFallbacker(e){_fallbacker=e}let _additionalMeta=null;const setAdditionalMeta=e=>{_additionalMeta=e},getAdditionalMeta=()=>_additionalMeta;let _fallbackContext=null;const setFallbackContext=e=>{_fallbackContext=e},getFallbackContext=()=>_fallbackContext;let _cid=0;function createCoreContext(e={}){const t=isFunction$2(e.onWarn)?e.onWarn:warn$1,n=isString$1(e.version)?e.version:VERSION$1,r=isString$1(e.locale)||isFunction$2(e.locale)?e.locale:DEFAULT_LOCALE$1,a=isFunction$2(r)?DEFAULT_LOCALE$1:r,o=isArray$3(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||isString$1(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=isPlainObject(e.messages)?e.messages:{[a]:{}},s=isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},l=isPlainObject(e.numberFormats)?e.numberFormats:{[a]:{}},c=assign$2({},e.modifiers||{},getDefaultLinkedModifiers()),u=e.pluralRules||{},f=isFunction$2(e.missing)?e.missing:null,d=isBoolean(e.missingWarn)||isRegExp(e.missingWarn)?e.missingWarn:!0,m=isBoolean(e.fallbackWarn)||isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,g=!!e.unresolving,P=isFunction$2(e.postTranslation)?e.postTranslation:null,v=isPlainObject(e.processor)?e.processor:null,_=isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,S=isFunction$2(e.messageCompiler)?e.messageCompiler:_compiler,C=isFunction$2(e.messageResolver)?e.messageResolver:_resolver||resolveWithKeyValue,k=isFunction$2(e.localeFallbacker)?e.localeFallbacker:_fallbacker||fallbackWithSimple,T=isObject$3(e.fallbackContext)?e.fallbackContext:void 0,w=e,E=isObject$3(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,F=isObject$3(w.__numberFormatters)?w.__numberFormatters:new Map,L=isObject$3(w.__meta)?w.__meta:{};_cid++;const N={version:n,cid:_cid,locale:r,fallbackLocale:o,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:m,fallbackFormat:y,unresolving:g,postTranslation:P,processor:v,warnHtmlMessage:_,escapeParameter:b,messageCompiler:S,messageResolver:C,localeFallbacker:k,fallbackContext:T,onWarn:t,__meta:L};return N.datetimeFormats=s,N.numberFormats=l,N.__datetimeFormatters=E,N.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(N,n,L),N}function handleMissing(e,t,n,r,a){const{missing:o,onWarn:i}=e;if(o!==null){const s=o(e,n,t,a);return isString$1(s)?s:t}else return t}function updateFallbackLocale(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function format$1(e){return n=>formatParts(n,e)}function formatParts(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,a=r.c||r.cases;return e.plural(a.reduce((o,i)=>[...o,formatMessageParts(e,i)],[]))}else return formatMessageParts(e,n)}function formatMessageParts(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((a,o)=>[...a,formatMessagePart(e,o)],[]);return e.normalize(r)}}function formatMessagePart(e,t){const n=t.t||t.type;switch(n){case 3:const r=t;return r.v||r.value;case 9:const a=t;return a.v||a.value;case 4:const o=t;return e.interpolate(e.named(o.k||o.key));case 5:const i=t;return e.interpolate(e.list(i.i!=null?i.i:i.index));case 6:const s=t,l=s.m||s.modifier;return e.linked(formatMessagePart(e,s.k||s.key),l?formatMessagePart(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const code$2=CompileErrorCodes.__EXTEND_POINT__,inc$2=incrementer(code$2),CoreErrorCodes={INVALID_ARGUMENT:code$2,INVALID_DATE_ARGUMENT:inc$2(),INVALID_ISO_DATE_ARGUMENT:inc$2(),NOT_SUPPORT_NON_STRING_MESSAGE:inc$2(),__EXTEND_POINT__:inc$2()};function createCoreError(e){return createCompileError(e,null,void 0)}const defaultOnCacheKey=e=>e;let compileCache=Object.create(null);const isMessageAST=e=>isObject$3(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function baseCompile(e,t={}){let n=!1;const r=t.onError||defaultOnError;return t.onError=a=>{n=!0,r(a)},{...baseCompile$1(e,t),detectError:n}}function compile(e,t){if(isString$1(e)){isBoolean(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||defaultOnCacheKey)(e),a=compileCache[r];if(a)return a;const{ast:o,detectError:i}=baseCompile(e,{...t,location:!1,jit:!0}),s=format$1(o);return i?s:compileCache[r]=s}else{const n=e.cacheKey;if(n){const r=compileCache[n];return r||(compileCache[n]=format$1(e))}else return format$1(e)}}const NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=e=>isFunction$2(e);function translate(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:o,fallbackLocale:i,messages:s}=e,[l,c]=parseTranslateArgs(...t),u=isBoolean(c.missingWarn)?c.missingWarn:e.missingWarn,f=isBoolean(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=isBoolean(c.escapeParameter)?c.escapeParameter:e.escapeParameter,m=!!c.resolvedMessage,y=isString$1(c.default)||isBoolean(c.default)?isBoolean(c.default)?o?l:()=>l:c.default:n?o?l:()=>l:"",g=n||y!=="",P=getLocale$1(e,c);d&&escapeParams(c);let[v,_,b]=m?[l,P,s[P]||{}]:resolveMessageFormat(e,l,P,i,f,u),S=v,C=l;if(!m&&!(isString$1(S)||isMessageAST(S)||isMessageFunction(S))&&g&&(S=y,C=S),!m&&(!(isString$1(S)||isMessageAST(S)||isMessageFunction(S))||!isString$1(_)))return a?NOT_REOSLVED:l;let k=!1;const T=()=>{k=!0},w=isMessageFunction(S)?S:compileMessageFormat(e,l,_,S,C,T);if(k)return S;const E=getMessageContextOptions(e,_,b,c),F=createMessageContext(E),L=evaluateMessage(e,w,F),N=r?r(L,l):L;if(__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:isString$1(l)?l:isMessageFunction(S)?S.key:"",locale:_||(isMessageFunction(S)?S.locale:""),format:isString$1(S)?S:isMessageFunction(S)?S.source:"",message:N};O.meta=assign$2({},e.__meta,getAdditionalMeta()||{}),translateDevTools(O)}return N}function escapeParams(e){isArray$3(e.list)?e.list=e.list.map(t=>isString$1(t)?escapeHtml(t):t):isObject$3(e.named)&&Object.keys(e.named).forEach(t=>{isString$1(e.named[t])&&(e.named[t]=escapeHtml(e.named[t]))})}function resolveMessageFormat(e,t,n,r,a,o){const{messages:i,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f={},d,m=null;const y="translate";for(let g=0;g<u.length&&(d=u[g],f=i[d]||{},(m=l(f,t))===null&&(m=f[t]),!(isString$1(m)||isMessageAST(m)||isMessageFunction(m)));g++){const P=handleMissing(e,t,d,o,y);P!==t&&(m=P)}return[m,d,f]}function compileMessageFormat(e,t,n,r,a,o){const{messageCompiler:i,warnHtmlMessage:s}=e;if(isMessageFunction(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=()=>r;return c.locale=n,c.key=t,c}const l=i(r,getCompileContext(e,n,a,r,s,o));return l.locale=n,l.key=t,l.source=r,l}function evaluateMessage(e,t,n){return t(n)}function parseTranslateArgs(...e){const[t,n,r]=e,a={};if(!isString$1(t)&&!isNumber(t)&&!isMessageFunction(t)&&!isMessageAST(t))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const o=isNumber(t)?String(t):(isMessageFunction(t),t);return isNumber(n)?a.plural=n:isString$1(n)?a.default=n:isPlainObject(n)&&!isEmptyObject(n)?a.named=n:isArray$3(n)&&(a.list=n),isNumber(r)?a.plural=r:isString$1(r)?a.default=r:isPlainObject(r)&&assign$2(a,r),[o,a]}function getCompileContext(e,t,n,r,a,o){return{locale:t,key:n,warnHtmlMessage:a,onError:i=>{throw o&&o(i),i},onCacheKey:i=>generateFormatCacheKey(t,n,i)}}function getMessageContextOptions(e,t,n,r){const{modifiers:a,pluralRules:o,messageResolver:i,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:a,pluralRules:o,messages:m=>{let y=i(n,m);if(y==null&&u){const[,,g]=resolveMessageFormat(u,m,t,s,l,c);y=i(g,m)}if(isString$1(y)||isMessageAST(y)){let g=!1;const v=compileMessageFormat(e,m,t,y,m,()=>{g=!0});return g?NOOP_MESSAGE_FUNCTION:v}else return isMessageFunction(y)?y:NOOP_MESSAGE_FUNCTION}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),isNumber(r.plural)&&(d.pluralIndex=r.plural),d}function datetime(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:s}=e,[l,c,u,f]=parseDateTimeArgs(...t),d=isBoolean(u.missingWarn)?u.missingWarn:e.missingWarn;isBoolean(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const m=!!u.part,y=getLocale$1(e,u),g=i(e,a,y);if(!isString$1(l)||l==="")return new Intl.DateTimeFormat(y,f).format(c);let P={},v,_=null;const b="datetime format";for(let k=0;k<g.length&&(v=g[k],P=n[v]||{},_=P[l],!isPlainObject(_));k++)handleMissing(e,l,v,d,b);if(!isPlainObject(_)||!isString$1(v))return r?NOT_REOSLVED:l;let S=`${v}__${l}`;isEmptyObject(f)||(S=`${S}__${JSON.stringify(f)}`);let C=s.get(S);return C||(C=new Intl.DateTimeFormat(v,assign$2({},_,f)),s.set(S,C)),m?C.formatToParts(c):C.format(c)}const DATETIME_FORMAT_OPTIONS_KEYS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function parseDateTimeArgs(...e){const[t,n,r,a]=e,o={};let i={},s;if(isString$1(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();s=new Date(c);try{s.toISOString()}catch{throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT)}}else if(isDate(t)){if(isNaN(t.getTime()))throw createCoreError(CoreErrorCodes.INVALID_DATE_ARGUMENT);s=t}else if(isNumber(t))s=t;else throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);return isString$1(n)?o.key=n:isPlainObject(n)&&Object.keys(n).forEach(l=>{DATETIME_FORMAT_OPTIONS_KEYS.includes(l)?i[l]=n[l]:o[l]=n[l]}),isString$1(r)?o.locale=r:isPlainObject(r)&&(i=r),isPlainObject(a)&&(i=a),[o.key||"",s,o,i]}function clearDateTimeFormat(e,t,n){const r=e;for(const a in n){const o=`${t}__${a}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function number(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:s}=e,[l,c,u,f]=parseNumberArgs(...t),d=isBoolean(u.missingWarn)?u.missingWarn:e.missingWarn;isBoolean(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const m=!!u.part,y=getLocale$1(e,u),g=i(e,a,y);if(!isString$1(l)||l==="")return new Intl.NumberFormat(y,f).format(c);let P={},v,_=null;const b="number format";for(let k=0;k<g.length&&(v=g[k],P=n[v]||{},_=P[l],!isPlainObject(_));k++)handleMissing(e,l,v,d,b);if(!isPlainObject(_)||!isString$1(v))return r?NOT_REOSLVED:l;let S=`${v}__${l}`;isEmptyObject(f)||(S=`${S}__${JSON.stringify(f)}`);let C=s.get(S);return C||(C=new Intl.NumberFormat(v,assign$2({},_,f)),s.set(S,C)),m?C.formatToParts(c):C.format(c)}const NUMBER_FORMAT_OPTIONS_KEYS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function parseNumberArgs(...e){const[t,n,r,a]=e,o={};let i={};if(!isNumber(t))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const s=t;return isString$1(n)?o.key=n:isPlainObject(n)&&Object.keys(n).forEach(l=>{NUMBER_FORMAT_OPTIONS_KEYS.includes(l)?i[l]=n[l]:o[l]=n[l]}),isString$1(r)?o.locale=r:isPlainObject(r)&&(i=r),isPlainObject(a)&&(i=a),[o.key||"",s,o,i]}function clearNumberFormat(e,t,n){const r=e;for(const a in n){const o=`${t}__${a}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}initFeatureFlags$1();/*!
  * vue-i18n v9.5.0
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const VERSION="9.5.0";function initFeatureFlags(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}const code$1=CoreWarnCodes.__EXTEND_POINT__,inc$1=incrementer(code$1);inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1();const code=CoreErrorCodes.__EXTEND_POINT__,inc=incrementer(code),I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSTALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSTALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(e,...t){return createCompileError(e,null,void 0)}const TranslateVNodeSymbol=makeSymbol$1("__translateVNode"),DatetimePartsSymbol=makeSymbol$1("__datetimeParts"),NumberPartsSymbol=makeSymbol$1("__numberParts"),SetPluralRulesSymbol=makeSymbol$1("__setPluralRules"),InejctWithOptionSymbol=makeSymbol$1("__injectWithOption"),DisposeSymbol=makeSymbol$1("__dispose");function handleFlatJson(e){if(!isObject$3(e))return e;for(const t in e)if(hasOwn(e,t))if(!t.includes("."))isObject$3(e[t])&&handleFlatJson(e[t]);else{const n=t.split("."),r=n.length-1;let a=e,o=!1;for(let i=0;i<r;i++){if(n[i]in a||(a[n[i]]={}),!isObject$3(a[n[i]])){o=!0;break}a=a[n[i]]}o||(a[n[r]]=e[t],delete e[t]),isObject$3(a[n[r]])&&handleFlatJson(a[n[r]])}return e}function getLocaleMessages(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:o}=t,i=isPlainObject(n)?n:isArray$3(r)?{}:{[e]:{}};if(isArray$3(r)&&r.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(i[l]=i[l]||{},deepCopy$1(c,i[l])):deepCopy$1(c,i)}else isString$1(s)&&deepCopy$1(JSON.parse(s),i)}),a==null&&o)for(const s in i)hasOwn(i,s)&&handleFlatJson(i[s]);return i}const isNotObjectOrIsArray=e=>!isObject$3(e)||isArray$3(e);function deepCopy$1(e,t){if(isNotObjectOrIsArray(e)||isNotObjectOrIsArray(t))throw createI18nError(I18nErrorCodes.INVALID_VALUE);for(const n in e)hasOwn(e,n)&&(isNotObjectOrIsArray(e[n])||isNotObjectOrIsArray(t[n])?t[n]=e[n]:deepCopy$1(e[n],t[n]))}function getComponentOptions(e){return e.type}function adjustI18nResources(e,t,n){let r=isObject$3(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=getLocaleMessages(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(isObject$3(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(isObject$3(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function createTextNode(e){return createVNode(Text,null,e,0)}const DEVTOOLS_META="__INTLIFY_META__";let composerID=0;function defineCoreMissingHandler(e){return(t,n,r,a)=>e(n,r,getCurrentInstance$1()||void 0,a)}const getMetaInfo=()=>{const e=getCurrentInstance$1();let t=null;return e&&(t=getComponentOptions(e)[DEVTOOLS_META])?{[DEVTOOLS_META]:t}:null};function createComposer(e={},t){const{__root:n,__injectWithOption:r}=e,a=n===void 0;let o=isBoolean(e.inheritLocale)?e.inheritLocale:!0;const i=ref(n&&o?n.locale.value:isString$1(e.locale)?e.locale:DEFAULT_LOCALE$1),s=ref(n&&o?n.fallbackLocale.value:isString$1(e.fallbackLocale)||isArray$3(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),l=ref(getLocaleMessages(i.value,e)),c=ref(isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),u=ref(isPlainObject(e.numberFormats)?e.numberFormats:{[i.value]:{}});let f=n?n.missingWarn:isBoolean(e.missingWarn)||isRegExp(e.missingWarn)?e.missingWarn:!0,d=n?n.fallbackWarn:isBoolean(e.fallbackWarn)||isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,m=n?n.fallbackRoot:isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,g=isFunction$2(e.missing)?e.missing:null,P=isFunction$2(e.missing)?defineCoreMissingHandler(e.missing):null,v=isFunction$2(e.postTranslation)?e.postTranslation:null,_=n?n.warnHtmlMessage:isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const S=n?n.modifiers:isPlainObject(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,k;k=(()=>{a&&setFallbackContext(null);const J={version:VERSION,locale:i.value,fallbackLocale:s.value,messages:l.value,modifiers:S,pluralRules:C,missing:P===null?void 0:P,missingWarn:f,fallbackWarn:d,fallbackFormat:y,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:_,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};J.datetimeFormats=c.value,J.numberFormats=u.value,J.__datetimeFormatters=isPlainObject(k)?k.__datetimeFormatters:void 0,J.__numberFormatters=isPlainObject(k)?k.__numberFormatters:void 0;const Z=createCoreContext(J);return a&&setFallbackContext(Z),Z})(),updateFallbackLocale(k,i.value,s.value);function w(){return[i.value,s.value,l.value,c.value,u.value]}const E=computed({get:()=>i.value,set:J=>{i.value=J,k.locale=i.value}}),F=computed({get:()=>s.value,set:J=>{s.value=J,k.fallbackLocale=s.value,updateFallbackLocale(k,i.value,J)}}),L=computed(()=>l.value),N=computed(()=>c.value),O=computed(()=>u.value);function U(){return isFunction$2(v)?v:null}function j(J){v=J,k.postTranslation=J}function I(){return g}function M(J){J!==null&&(P=defineCoreMissingHandler(J)),g=J,k.missing=P}const V=(J,Z,fe,he,pe,ve)=>{w();let me;try{__INTLIFY_PROD_DEVTOOLS__&&setAdditionalMeta(getMetaInfo()),a||(k.fallbackContext=n?getFallbackContext():void 0),me=J(k)}finally{__INTLIFY_PROD_DEVTOOLS__&&setAdditionalMeta(null),a||(k.fallbackContext=void 0)}if(isNumber(me)&&me===NOT_REOSLVED){const[ge,ye]=Z();return n&&m?he(n):pe(ge)}else{if(ve(me))return me;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function R(...J){return V(Z=>Reflect.apply(translate,null,[Z,...J]),()=>parseTranslateArgs(...J),"translate",Z=>Reflect.apply(Z.t,Z,[...J]),Z=>Z,Z=>isString$1(Z))}function D(...J){const[Z,fe,he]=J;if(he&&!isObject$3(he))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return R(Z,fe,assign$2({resolvedMessage:!0},he||{}))}function $(...J){return V(Z=>Reflect.apply(datetime,null,[Z,...J]),()=>parseDateTimeArgs(...J),"datetime format",Z=>Reflect.apply(Z.d,Z,[...J]),()=>MISSING_RESOLVE_VALUE,Z=>isString$1(Z))}function G(...J){return V(Z=>Reflect.apply(number,null,[Z,...J]),()=>parseNumberArgs(...J),"number format",Z=>Reflect.apply(Z.n,Z,[...J]),()=>MISSING_RESOLVE_VALUE,Z=>isString$1(Z))}function ne(J){return J.map(Z=>isString$1(Z)||isNumber(Z)||isBoolean(Z)?createTextNode(String(Z)):Z)}const ce={normalize:ne,interpolate:J=>J,type:"vnode"};function ee(...J){return V(Z=>{let fe;const he=Z;try{he.processor=ce,fe=Reflect.apply(translate,null,[he,...J])}finally{he.processor=null}return fe},()=>parseTranslateArgs(...J),"translate",Z=>Z[TranslateVNodeSymbol](...J),Z=>[createTextNode(Z)],Z=>isArray$3(Z))}function Y(...J){return V(Z=>Reflect.apply(number,null,[Z,...J]),()=>parseNumberArgs(...J),"number format",Z=>Z[NumberPartsSymbol](...J),()=>[],Z=>isString$1(Z)||isArray$3(Z))}function Q(...J){return V(Z=>Reflect.apply(datetime,null,[Z,...J]),()=>parseDateTimeArgs(...J),"datetime format",Z=>Z[DatetimePartsSymbol](...J),()=>[],Z=>isString$1(Z)||isArray$3(Z))}function z(J){C=J,k.pluralRules=C}function re(J,Z){if(!J)return!1;const fe=isString$1(Z)?Z:i.value,he=x(fe);return k.messageResolver(he,J)!==null}function ue(J){let Z=null;const fe=fallbackWithLocaleChain(k,s.value,i.value);for(let he=0;he<fe.length;he++){const pe=l.value[fe[he]]||{},ve=k.messageResolver(pe,J);if(ve!=null){Z=ve;break}}return Z}function de(J){const Z=ue(J);return Z??(n?n.tm(J)||{}:{})}function x(J){return l.value[J]||{}}function A(J,Z){l.value[J]=Z,k.messages=l.value}function B(J,Z){l.value[J]=l.value[J]||{},deepCopy$1(Z,l.value[J]),k.messages=l.value}function q(J){return c.value[J]||{}}function X(J,Z){c.value[J]=Z,k.datetimeFormats=c.value,clearDateTimeFormat(k,J,Z)}function te(J,Z){c.value[J]=assign$2(c.value[J]||{},Z),k.datetimeFormats=c.value,clearDateTimeFormat(k,J,Z)}function ie(J){return u.value[J]||{}}function le(J,Z){u.value[J]=Z,k.numberFormats=u.value,clearNumberFormat(k,J,Z)}function se(J,Z){u.value[J]=assign$2(u.value[J]||{},Z),k.numberFormats=u.value,clearNumberFormat(k,J,Z)}composerID++,n&&inBrowser$1&&(watch(n.locale,J=>{o&&(i.value=J,k.locale=J,updateFallbackLocale(k,i.value,s.value))}),watch(n.fallbackLocale,J=>{o&&(s.value=J,k.fallbackLocale=J,updateFallbackLocale(k,i.value,s.value))}));const ae={id:composerID,locale:E,fallbackLocale:F,get inheritLocale(){return o},set inheritLocale(J){o=J,J&&n&&(i.value=n.locale.value,s.value=n.fallbackLocale.value,updateFallbackLocale(k,i.value,s.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:L,get modifiers(){return S},get pluralRules(){return C||{}},get isGlobal(){return a},get missingWarn(){return f},set missingWarn(J){f=J,k.missingWarn=f},get fallbackWarn(){return d},set fallbackWarn(J){d=J,k.fallbackWarn=d},get fallbackRoot(){return m},set fallbackRoot(J){m=J},get fallbackFormat(){return y},set fallbackFormat(J){y=J,k.fallbackFormat=y},get warnHtmlMessage(){return _},set warnHtmlMessage(J){_=J,k.warnHtmlMessage=J},get escapeParameter(){return b},set escapeParameter(J){b=J,k.escapeParameter=J},t:R,getLocaleMessage:x,setLocaleMessage:A,mergeLocaleMessage:B,getPostTranslationHandler:U,setPostTranslationHandler:j,getMissingHandler:I,setMissingHandler:M,[SetPluralRulesSymbol]:z};return ae.datetimeFormats=N,ae.numberFormats=O,ae.rt=D,ae.te=re,ae.tm=de,ae.d=$,ae.n=G,ae.getDateTimeFormat=q,ae.setDateTimeFormat=X,ae.mergeDateTimeFormat=te,ae.getNumberFormat=ie,ae.setNumberFormat=le,ae.mergeNumberFormat=se,ae[InejctWithOptionSymbol]=r,ae[TranslateVNodeSymbol]=ee,ae[DatetimePartsSymbol]=Q,ae[NumberPartsSymbol]=Y,ae}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>[...r,...a.type===Fragment?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},{})}function getFragmentableTag(e){return Fragment}const TranslationImpl=defineComponent$1({name:"i18n-t",props:assign$2({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>isNumber(e)||!isNaN(e)}},baseFormatProps),setup(e,t){const{slots:n,attrs:r}=t,a=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=isString$1(e.plural)?+e.plural:e.plural);const s=getInterpolateArg(t,o),l=a[TranslateVNodeSymbol](e.keypath,s,i),c=assign$2({},r),u=isString$1(e.tag)||isObject$3(e.tag)?e.tag:getFragmentableTag();return h(u,c,l)}}}),Translation=TranslationImpl;function isVNode(e){return isArray$3(e)&&!isString$1(e[0])}function renderFormatter(e,t,n,r){const{slots:a,attrs:o}=t;return()=>{const i={part:!0};let s={};e.locale&&(i.locale=e.locale),isString$1(e.format)?i.key=e.format:isObject$3(e.format)&&(isString$1(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((d,m)=>n.includes(m)?assign$2({},d,{[m]:e.format[m]}):d,{}));const l=r(e.value,i,s);let c=[i.key];isArray$3(l)?c=l.map((d,m)=>{const y=a[d.type],g=y?y({[d.type]:d.value,index:m,parts:l}):[d.value];return isVNode(g)&&(g[0].key=`${d.type}-${m}`),g}):isString$1(l)&&(c=[l]);const u=assign$2({},o),f=isString$1(e.tag)||isObject$3(e.tag)?e.tag:getFragmentableTag();return h(f,u,c)}}const NumberFormatImpl=defineComponent$1({name:"i18n-n",props:assign$2({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const n=e.i18n||useI18n({useScope:"parent",__useComponent:!0});return renderFormatter(e,t,NUMBER_FORMAT_OPTIONS_KEYS,(...r)=>n[NumberPartsSymbol](...r))}}),NumberFormat=NumberFormatImpl,DatetimeFormatImpl=defineComponent$1({name:"i18n-d",props:assign$2({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const n=e.i18n||useI18n({useScope:"parent",__useComponent:!0});return renderFormatter(e,t,DATETIME_FORMAT_OPTIONS_KEYS,(...r)=>n[DatetimePartsSymbol](...r))}}),DatetimeFormat=DatetimeFormatImpl;function getComposer$2(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function vTDirective(e){const t=i=>{const{instance:s,modifiers:l,value:c}=i;if(!s||!s.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const u=getComposer$2(e,s.$),f=parseValue(c);return[Reflect.apply(u.t,u,[...makeParams(f)]),u]};return{created:(i,s)=>{const[l,c]=t(s);inBrowser$1&&e.global===c&&(i.__i18nWatcher=watch(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{inBrowser$1&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:s})=>{if(i.__composer){const l=i.__composer,c=parseValue(s);i.textContent=Reflect.apply(l.t,l,[...makeParams(c)])}},getSSRProps:i=>{const[s]=t(i);return{textContent:s}}}}function parseValue(e){if(isString$1(e))return{path:e};if(isPlainObject(e)){if(!("path"in e))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return e}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams(e){const{path:t,locale:n,args:r,choice:a,plural:o}=e,i={},s=r||{};return isString$1(n)&&(i.locale=n),isNumber(a)&&(i.plural=a),isNumber(o)&&(i.plural=o),[t,s,i]}function apply(e,t,...n){const r=isPlainObject(n[0])?n[0]:{},a=!!r.useI18nComponentName;(isBoolean(r.globalInstall)?r.globalInstall:!0)&&([a?"i18n":Translation.name,"I18nT"].forEach(i=>e.component(i,Translation)),[NumberFormat.name,"I18nN"].forEach(i=>e.component(i,NumberFormat)),[DatetimeFormat.name,"I18nD"].forEach(i=>e.component(i,DatetimeFormat))),e.directive("t",vTDirective(t))}const I18nInjectionKey=makeSymbol$1("global-vue-i18n");function createI18n(e={},t){const n=isBoolean(e.globalInjection)?e.globalInjection:!0,r=!0,a=new Map,[o,i]=createGlobal(e),s=makeSymbol$1("");function l(f){return a.get(f)||null}function c(f,d){a.set(f,d)}function u(f){a.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(d,...m){if(d.__VUE_I18N_SYMBOL__=s,d.provide(d.__VUE_I18N_SYMBOL__,f),isPlainObject(m[0])){const P=m[0];f.__composerExtend=P.__composerExtend,f.__vueI18nExtend=P.__vueI18nExtend}let y=null;n&&(y=injectGlobalFields(d,f.global)),apply(d,f,...m);const g=d.unmount;d.unmount=()=>{y&&y(),f.dispose(),g()}},get global(){return i},dispose(){o.stop()},__instances:a,__getInstance:l,__setInstance:c,__deleteInstance:u};return f}}function useI18n(e={}){const t=getCurrentInstance$1();if(t==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSTALLED);const n=getI18nInstance(t),r=getGlobalComposer(n),a=getComponentOptions(t),o=getScope(e,a);if(o==="global")return adjustI18nResources(r,e,a),r;if(o==="parent"){let l=getComposer$1(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let s=i.__getInstance(t);if(s==null){const l=assign$2({},e);"__i18n"in a&&(l.__i18n=a.__i18n),r&&(l.__root=r),s=createComposer(l),i.__composerExtend&&(s[DisposeSymbol]=i.__composerExtend(s)),setupLifeCycle(i,t,s),i.__setInstance(t,s)}return s}function createGlobal(e,t,n){const r=effectScope();{const a=r.run(()=>createComposer(e));if(a==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[r,a]}}function getI18nInstance(e){{const t=inject$1(e.isCE?I18nInjectionKey:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw createI18nError(e.isCE?I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return t}}function getScope(e,t){return isEmptyObject(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function getGlobalComposer(e){return e.mode==="composition"?e.global:e.global.__composer}function getComposer$1(e,t,n=!1){let r=null;const a=t.root;let o=getParentComponentInstance(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(o)),r!=null||a===o)break;o=o.parent}return r}function getParentComponentInstance(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function setupLifeCycle(e,t,n){onMounted(()=>{},t),onUnmounted(()=>{const r=n;e.__deleteInstance(t);const a=r[DisposeSymbol];a&&(a(),delete r[DisposeSymbol])},t)}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm","te"];function injectGlobalFields(e,t){const n=Object.create(null);return globalExportProps.forEach(a=>{const o=Object.getOwnPropertyDescriptor(t,a);if(!o)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const i=isRef(o.value)?{get(){return o.value.value},set(s){o.value.value=s}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,a,i)}),e.config.globalProperties.$i18n=n,globalExportMethods.forEach(a=>{const o=Object.getOwnPropertyDescriptor(t,a);if(!o||!o.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,o)}),()=>{delete e.config.globalProperties.$i18n,globalExportMethods.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}initFeatureFlags();registerMessageCompiler(compile);registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);if(__INTLIFY_PROD_DEVTOOLS__){const e=getGlobalThis();e.__INTLIFY__=!0,setDevToolsHook(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const STRATEGIES={PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"},DEFAULT_LOCALE="",DEFAULT_STRATEGY=STRATEGIES.PREFIX_EXCEPT_DEFAULT,DEFAULT_TRAILING_SLASH=!1,DEFAULT_ROUTES_NAME_SEPARATOR="___",DEFAULT_LOCALE_ROUTE_NAME_SUFFIX="default",DEFAULT_DETECTION_DIRECTION="ltr",DEFAULT_BASE_URL="",DEFAULT_DYNAMIC_PARAMS_KEY="";/*!
  * shared v9.4.1
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const makeSymbol=(e,t=!1)=>t?Symbol.for(e):Symbol(e),assign$1=Object.assign,isArray$2=Array.isArray,isFunction$1=e=>typeof e=="function",isString=e=>typeof e=="string",isSymbol=e=>typeof e=="symbol",isObject$2=e=>e!==null&&typeof e=="object",PLUS_RE=/\+/g;function decode(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function decodeQueryKey(e){return decode(e.replace(PLUS_RE," "))}function decodeQueryValue(e){return decode(e.replace(PLUS_RE," "))}function parseQuery(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const a=decodeQueryKey(r[1]);if(a==="__proto__"||a==="constructor")continue;const o=decodeQueryValue(r[2]||"");t[a]===void 0?t[a]=o:Array.isArray(t[a])?t[a].push(o):t[a]=[t[a],o]}return t}const TRAILING_SLASH_RE=/\/$|\/\?/;function hasTrailingSlash(e="",t=!1){return t?TRAILING_SLASH_RE.test(e):e.endsWith("/")}function withoutTrailingSlash(e="",t=!1){if(!t)return(hasTrailingSlash(e)?e.slice(0,-1):e)||"/";if(!hasTrailingSlash(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function withTrailingSlash(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(hasTrailingSlash(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function parsePath(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}const inBrowser=typeof window<"u";function warn(e,t){typeof console<"u"&&console.warn("[vue-i18n-routing] "+e)}function getNormalizedLocales(e){e=e||[];const t=[];for(const n of e)isString(n)?t.push({code:n}):t.push(n);return t}function isI18nInstance(e){return e!=null&&"global"in e&&"mode"in e}function isComposer(e){return e!=null&&!("__composer"in e)&&isRef(e.locale)}function isVueI18n(e){return e!=null&&"__composer"in e}function isExportedGlobalComposer(e){return e!=null&&!("__composer"in e)&&!isRef(e.locale)}function isLegacyVueI18n$1(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function getComposer(e){return isI18nInstance(e)?isComposer(e.global)?e.global:e.global.__composer:isVueI18n(e)?e.__composer:e}function getLocale(e){const t=isI18nInstance(e)?e.global:e;return isComposer(t)?t.locale.value:(isExportedGlobalComposer(t)||isVueI18n(t)||isLegacyVueI18n$1(t),t.locale)}function getLocales(e){const t=isI18nInstance(e)?e.global:e;return isComposer(t)?t.locales.value:(isExportedGlobalComposer(t)||isVueI18n(t)||isLegacyVueI18n$1(t),t.locales)}function getLocaleCodes(e){const t=isI18nInstance(e)?e.global:e;return isComposer(t)?t.localeCodes.value:(isExportedGlobalComposer(t)||isVueI18n(t)||isLegacyVueI18n$1(t),t.localeCodes)}function setLocale(e,t){const n=isI18nInstance(e)?e.global:e;if(isComposer(n))n.locale.value=t;else if(isExportedGlobalComposer(n)||isVueI18n(n)||isLegacyVueI18n$1(n))n.locale=t;else throw new Error("TODO:")}function toRawRoute(e){return isRef(e)?e.value:e}function getRouteName(e){return isString(e)?e:isSymbol(e)?e.toString():"(null)"}function getLocaleRouteName(e,t,{defaultLocale:n,strategy:r,routesNameSeparator:a,defaultLocaleRouteNameSuffix:o}){let i=getRouteName(e)+(r==="no_prefix"?"":a+t);return t===n&&r==="prefix_and_default"&&(i+=a+o),i}function resolveBaseUrl(e,t){return isFunction$1(e)?e(t):e}function matchBrowserLocale(e,t){const n=[];for(const[r,a]of t.entries()){const o=e.find(i=>i.iso.toLowerCase()===a.toLowerCase());if(o){n.push({code:o.code,score:1-r/t.length});break}}for(const[r,a]of t.entries()){const o=a.split("-")[0].toLowerCase(),i=e.find(s=>s.iso.split("-")[0].toLowerCase()===o);if(i){n.push({code:i.code,score:.999-r/t.length});break}}return n}const DefaultBrowserLocaleMatcher=matchBrowserLocale;function compareBrowserLocale(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const DefaultBrowerLocaleComparer=compareBrowserLocale;function findBrowserLocale(e,t,{matcher:n=DefaultBrowserLocaleMatcher,comparer:r=DefaultBrowerLocaleComparer}={}){const a=[];for(const i of e){const{code:s}=i,l=i.iso||s;a.push({code:s,iso:l})}const o=n(a,t);return o.length>1&&o.sort(r),o.length?o[0].code:""}function proxyVueInstance(e){return function(){return Reflect.apply(e,{getRouteBaseName:this.getRouteBaseName,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,resolveRoute:this.resolveRoute,switchLocalePath:this.switchLocalePath,localeHead:this.localeHead,i18n:this.$i18n,route:this.$route,router:this.$router},arguments)}}function extendI18n(e,{locales:t=[],localeCodes:n=[],baseUrl:r=DEFAULT_BASE_URL,hooks:a={},context:o={}}={}){const i=effectScope(),s=e.install;return e.install=(l,...c)=>{const u=isPluginOptions(c[0])?assign$1({},c[0]):{inject:!0};u.inject==null&&(u.inject=!0);const f=u.__composerExtend;if(u.__composerExtend=g=>{const P=getComposer(e);g.locales=computed(()=>P.locales.value),g.localeCodes=computed(()=>P.localeCodes.value),g.baseUrl=computed(()=>P.baseUrl.value);let v;return isFunction$1(f)&&(v=Reflect.apply(f,u,[g])),()=>{v&&v()}},e.mode==="legacy"){const g=u.__vueI18nExtend;u.__vueI18nExtend=P=>{extendVueI18n(P,a.onExtendVueI18n);let v;return isFunction$1(g)&&(v=Reflect.apply(g,u,[P])),()=>{v&&v()}}}c[0]=u,Reflect.apply(s,e,[l,...c]);const d=getComposer(e);i.run(()=>{extendComposer(d,{locales:t,localeCodes:n,baseUrl:r,hooks:a,context:o}),e.mode==="legacy"&&isVueI18n(e.global)&&extendVueI18n(e.global,a.onExtendVueI18n)});const m=l,y=e.mode==="composition"?m.config.globalProperties.$i18n:null;if(y&&extendExportedGlobal(y,d,a.onExtendExportedGlobal),u.inject&&l.mixin({methods:{resolveRoute:proxyVueInstance(resolveRoute),localePath:proxyVueInstance(localePath),localeRoute:proxyVueInstance(localeRoute),localeLocation:proxyVueInstance(localeLocation),switchLocalePath:proxyVueInstance(switchLocalePath),getRouteBaseName:proxyVueInstance(getRouteBaseName),localeHead:proxyVueInstance(localeHead)}}),m.unmount){const g=m.unmount;m.unmount=()=>{i.stop(),g()}}},i}function extendComposer(e,t){const{locales:n,localeCodes:r,baseUrl:a,context:o}=t,i=ref(n),s=ref(r),l=ref("");e.locales=computed(()=>i.value),e.localeCodes=computed(()=>s.value),e.baseUrl=computed(()=>l.value),inBrowser?watch(e.locale,()=>{l.value=resolveBaseUrl(a,o)},{immediate:!0}):l.value=resolveBaseUrl(a,o),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function extendProperyDescripters(e,t,n){const r=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&r.push(n(e));for(const a of r)for(const[o,i]of Object.entries(a))Object.defineProperty(t,o,i)}function extendExportedGlobal(e,t,n){extendProperyDescripters(t,e,n)}function extendVueI18n(e,t){const n=getComposer(e);extendProperyDescripters(n,e,t)}function isPluginOptions(e){return isObject$2(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const GlobalOptionsRegistory=makeSymbol("vue-i18n-routing-gor");function registerGlobalOptions(e,t){e[GlobalOptionsRegistory]?warn("already registered global options"):e[GlobalOptionsRegistory]=t}function getGlobalOptions(e){return e[GlobalOptionsRegistory]??{}}function getLocalesRegex(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}function createLocaleFromRouteGetter(e,t,n){const r=`(${e.join("|")})`,a=`(?:${t}${n})?`,o=new RegExp(`${t}${r}${a}$`,"i"),i=getLocalesRegex(e);return l=>{if(isObject$2(l)){if(l.name){const u=(isString(l.name)?l.name:l.name.toString()).match(o);if(u&&u.length>1)return u[1]}else if(l.path){const c=l.path.match(i);if(c&&c.length>1)return c[1]}}else if(isString(l)){const c=l.match(i);if(c&&c.length>1)return c[1]}return""}}function getI18nRoutingOptions(e,t,{defaultLocale:n=DEFAULT_LOCALE,defaultDirection:r=DEFAULT_DETECTION_DIRECTION,defaultLocaleRouteNameSuffix:a=DEFAULT_LOCALE_ROUTE_NAME_SUFFIX,routesNameSeparator:o=DEFAULT_ROUTES_NAME_SEPARATOR,strategy:i=DEFAULT_STRATEGY,trailingSlash:s=DEFAULT_TRAILING_SLASH,localeCodes:l=[],prefixable:c=DefaultPrefixable,switchLocalePathIntercepter:u=DefaultSwitchLocalePathIntercepter,dynamicRouteParamsKey:f=DEFAULT_DYNAMIC_PARAMS_KEY}={}){const d=getGlobalOptions(e);return{defaultLocale:t.defaultLocale||d.defaultLocale||n,defaultDirection:t.defaultDirection||d.defaultDirection||r,defaultLocaleRouteNameSuffix:t.defaultLocaleRouteNameSuffix||d.defaultLocaleRouteNameSuffix||a,routesNameSeparator:t.routesNameSeparator||d.routesNameSeparator||o,strategy:t.strategy||d.strategy||i,trailingSlash:t.trailingSlash||d.trailingSlash||s,localeCodes:t.localeCodes||d.localeCodes||l,prefixable:t.prefixable||d.prefixable||c,switchLocalePathIntercepter:t.switchLocalePathIntercepter||d.switchLocalePathIntercepter||u,dynamicRouteParamsKey:t.dynamicRouteParamsKey||d.dynamicRouteParamsKey||f}}function split(e,t){return[e.slice(0,t),e.slice(t)]}function routeToObject(e){const{fullPath:t,query:n,hash:r,name:a,path:o,params:i,meta:s,redirectedFrom:l,matched:c}=e;return{fullPath:t,params:i,query:n,hash:r,name:a,path:o,meta:s,matched:c,redirectedFrom:l}}function isV4Route(e){return isVue3}function resolve(e,t,n,r){var a,o;if(n!=="prefix")return e.resolve(t);const[i,s]=split(t.path,1),l=`${i}${r}${s===""?s:`/${s}`}`,c=(o=(a=e.options)==null?void 0:a.routes)==null?void 0:o.find(f=>f.path===l);if(c==null)return t;const u=assign$1({},t,c);return u.path=l,e.resolve(u)}const RESOLVED_PREFIXED=new Set(["prefix_and_default","prefix_except_default"]);function prefixable(e){const{currentLocale:t,defaultLocale:n,strategy:r}=e;return!(t===n&&RESOLVED_PREFIXED.has(r))&&r!=="no_prefix"}const DefaultPrefixable=prefixable;function getRouteBaseName(e){const t=this.router,{routesNameSeparator:n}=getI18nRoutingOptions(t,this),r=e!=null?isRef(e)?unref(e):e:this.route;return r==null||!r.name?void 0:getRouteName(r.name).split(n)[0]}function localePath(e,t){var n;const r=resolveRoute.call(this,e,t);return r==null?"":((n=r.redirectedFrom)==null?void 0:n.fullPath)||r.fullPath}function localeRoute(e,t){const n=resolveRoute.call(this,e,t);return n??void 0}function localeLocation(e,t){const n=resolveRoute.call(this,e,t);return n??void 0}function resolveRoute(e,t){const n=this.router,r=this.i18n,a=t||getLocale(r),{routesNameSeparator:o,defaultLocale:i,defaultLocaleRouteNameSuffix:s,strategy:l,trailingSlash:c,prefixable:u}=getI18nRoutingOptions(n,this);let f;if(isString(e))if(e[0]==="/"){const{pathname:y,search:g,hash:P}=parsePath(e),v=parseQuery(g);f={path:y,query:v,hash:P}}else f={name:e};else f=e;let d=assign$1({},f);if((y=>"path"in y&&!!y.path&&!("name"in y))(d)){let y=null;try{y=resolve(n,d,l,a)}catch{}const g=y,P=getRouteBaseName.call(this,g);isString(P)?(d={name:getLocaleRouteName(P,a,{defaultLocale:i,strategy:l,routesNameSeparator:o,defaultLocaleRouteNameSuffix:s}),params:g.params,query:g.query,hash:g.hash},d.state=g.state):(u({currentLocale:a,defaultLocale:i,strategy:l})&&(d.path=`/${a}${d.path}`),d.path=c?withTrailingSlash(d.path,!0):withoutTrailingSlash(d.path,!0))}else!d.name&&!("path"in d)&&(d.name=getRouteBaseName.call(this,this.route)),d.name=getLocaleRouteName(d.name,a,{defaultLocale:i,strategy:l,routesNameSeparator:o,defaultLocaleRouteNameSuffix:s});try{const y=n.resolve(d);return(isV4Route(y)?y.name:y.route.name)?y:n.resolve(e)}catch(y){if(typeof y=="object"&&"type"in y&&y.type===1)return null}}const DefaultSwitchLocalePathIntercepter=e=>e;function getLocalizableMetaFromDynamicParams(e,t){const n={};if(t===DEFAULT_DYNAMIC_PARAMS_KEY)return n;const r=e.meta;return isRef(r)?r.value[t]||n:r[t]||n}function switchLocalePath(e){const t=this.route,n=getRouteBaseName.call(this,t);if(!n)return"";const{switchLocalePathIntercepter:r,dynamicRouteParamsKey:a}=getI18nRoutingOptions(this.router,this),i=routeToObject(t),s=getLocalizableMetaFromDynamicParams(t,a)[e]||{},l={name:n,params:{...i.params,...s}},c=assign$1({},i,l);let u=localePath.call(this,c,e);return u=r(u,e),u}function localeHead({addDirAttribute:e=!1,addSeoAttributes:t=!1,identifierAttribute:n="hid"}={}){const r=this.router,a=this.i18n,{defaultDirection:o}=getI18nRoutingOptions(r,this),i={htmlAttrs:{},link:[],meta:[]};if(a.locales==null||a.baseUrl==null)return i;const s=getLocale(a),l=getLocales(a),c=getNormalizedLocales(l).find(d=>d.code===s)||{code:s},u=c.iso,f=c.dir||o;return e&&(i.htmlAttrs.dir=f),t&&s&&a.locales&&(u&&(i.htmlAttrs.lang=u),addHreflangLinks.call(this,l,unref(a.baseUrl),i.link,n),addCanonicalLinksAndOgUrl.call(this,unref(a.baseUrl),i.link,i.meta,n,t),addCurrentOgLocale(c,u,i.meta,n),addAlternateOgLocales(l,u,i.meta,n)),i}function addHreflangLinks(e,t,n,r){const a=this.router,{defaultLocale:o,strategy:i}=getI18nRoutingOptions(a,this);if(i===STRATEGIES.NO_PREFIX)return;const s=new Map;for(const l of e){const c=l.iso;if(!c){warn("Locale ISO code is required to generate alternate link");continue}const[u,f]=c.split("-");u&&f&&(l.isCatchallLocale||!s.has(u))&&s.set(u,l),s.set(c,l)}for(const[l,c]of s.entries()){const u=switchLocalePath.call(this,c.code);u&&n.push({[r]:`i18n-alt-${l}`,rel:"alternate",href:toAbsoluteUrl(u,t),hreflang:l})}if(o){const l=switchLocalePath.call(this,o);l&&n.push({[r]:"i18n-xd",rel:"alternate",href:toAbsoluteUrl(l,t),hreflang:"x-default"})}}function addCanonicalLinksAndOgUrl(e,t,n,r,a){const o=this.route,i=localeRoute.call(this,{...o,name:getRouteBaseName.call(this,o)});if(i){let s=toAbsoluteUrl(i.path,e);const l=isObject$2(a)&&a.canonicalQueries||[];if(l.length){const c=i.query,u=new URLSearchParams;for(const d of l)if(d in c){const m=c[d];isArray$2(m)?m.forEach(y=>u.append(d,y||"")):u.append(d,m||"")}const f=u.toString();f&&(s=`${s}?${f}`)}t.push({[r]:"i18n-can",rel:"canonical",href:s}),n.push({[r]:"i18n-og-url",property:"og:url",content:s})}}function addCurrentOgLocale(e,t,n,r){e&&t&&n.push({[r]:"i18n-og",property:"og:locale",content:hypenToUnderscore(t)})}function addAlternateOgLocales(e,t,n,r){const a=e.filter(o=>{const i=o.iso;return i&&i!==t});if(a.length){const o=a.map(i=>({[r]:`i18n-og-alt-${i.iso}`,property:"og:locale:alternate",content:hypenToUnderscore(i.iso)}));n.push(...o)}}function hypenToUnderscore(e){return(e||"").replace(/-/g,"_")}function toAbsoluteUrl(e,t){return e.match(/^https?:\/\//)?e:t+e}function proxyForComposable(e,t){const{router:n,route:r,i18n:a,defaultLocale:o,strategy:i,defaultLocaleRouteNameSuffix:s,trailingSlash:l,routesNameSeparator:c}=e;return function(...u){return Reflect.apply(t,{router:n,route:r,i18n:a,defaultLocale:o,strategy:i,defaultLocaleRouteNameSuffix:s,trailingSlash:l,routesNameSeparator:c},u)}}function useLocalePath$1({router:e=useRouter$1(),route:t=useRoute(),i18n:n=useI18n(),defaultLocale:r=void 0,defaultLocaleRouteNameSuffix:a=void 0,routesNameSeparator:o=void 0,strategy:i=void 0,trailingSlash:s=void 0}={}){return proxyForComposable({router:e,route:t,i18n:n,defaultLocale:r,defaultLocaleRouteNameSuffix:a,routesNameSeparator:o,strategy:i,trailingSlash:s},localePath)}function useSwitchLocalePath({router:e=useRouter$1(),route:t=useRoute(),i18n:n=useI18n(),defaultLocale:r=void 0,defaultLocaleRouteNameSuffix:a=void 0,routesNameSeparator:o=void 0,strategy:i=void 0,trailingSlash:s=void 0}={}){return proxyForComposable({router:e,route:t,i18n:n,defaultLocale:r,defaultLocaleRouteNameSuffix:a,routesNameSeparator:o,strategy:i,trailingSlash:s},switchLocalePath)}function useLocaleHead$1({addDirAttribute:e=!1,addSeoAttributes:t=!1,identifierAttribute:n="hid",strategy:r=void 0,defaultLocale:a=void 0,route:o=useRoute(),router:i=useRouter$1(),i18n:s=useI18n()}={}){const l=i,c=ref({htmlAttrs:{},link:[],meta:[]});function u(){c.value={htmlAttrs:{},link:[],meta:[]}}function f(d){c.value=Reflect.apply(localeHead,{router:i,route:d,i18n:s,defaultLocale:a,strategy:r},[{addDirAttribute:e,addSeoAttributes:t,identifierAttribute:n}])}if(inBrowser){const d=watchEffect(()=>{u(),f(toRawRoute(l.currentRoute))});onUnmounted(()=>d())}else f(toRawRoute(l.currentRoute));return c}const localeCodes=["tw"],localeMessages={tw:[]},resolveNuxtI18nOptions=async e=>{const t={experimental:{jsTsFormatResource:!1},bundle:{compositionOnly:!0,runtimeOnly:!1,fullInstall:!0,dropMessageCompiler:!1},compilation:{jit:!0,strictMessage:!0,escapeHtml:!1},customBlocks:{defaultSFCLang:"json",globalSFCScope:!1},vueI18n:"./i18n.options.ts",locales:[{code:"tw",iso:"zh-TW",name:"繁中",files:[]}],defaultLocale:"tw",defaultDirection:"ltr",routesNameSeparator:"___",trailingSlash:!1,defaultLocaleRouteNameSuffix:"default",strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:!1,differentDomains:!1,baseUrl:"https://www.jcardv.com",dynamicRouteParams:!1,customRoutes:"page",pages:{},skipSettingLocaleOnNavigate:!1,types:"composition",debug:!1,parallelPlugin:!1,i18nModules:[]},n=async o=>{const i=await o().then(s=>s.default||s);return typeof i=="object"?i:typeof i=="function"?await i():{}},r=(o,i,s)=>{for(const l in o)typeof o[l]=="object"?(typeof i[l]!="object"&&(i[l]={}),r(o[l],i[l])):i[l]=o[l]},a=async o=>{var l,c;const s=await n(o)||{};for(const[u,f]of Object.entries(s))((l=t.vueI18n)==null?void 0:l[u])===void 0||typeof((c=t.vueI18n)==null?void 0:c[u])!="object"?t.vueI18n[u]=f:r(f,t.vueI18n[u])};return t.vueI18n={messages:{}},await a(()=>__vitePreload(()=>import("./i18n.options.YPvUj1bB.js"),__vite__mapDeps([]),import.meta.url)),t},nuxtI18nOptionsDefault={experimental:{jsTsFormatResource:!1},bundle:{compositionOnly:!0,runtimeOnly:!1,fullInstall:!0,dropMessageCompiler:!1},compilation:{jit:!0,strictMessage:!0,escapeHtml:!1},customBlocks:{defaultSFCLang:"json",globalSFCScope:!1},vueI18n:"",locales:[],defaultLocale:"",defaultDirection:"ltr",routesNameSeparator:"___",trailingSlash:!1,defaultLocaleRouteNameSuffix:"default",strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:{alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0},differentDomains:!1,baseUrl:"",dynamicRouteParams:!1,customRoutes:"page",pages:{},skipSettingLocaleOnNavigate:!1,types:"composition",debug:!1,parallelPlugin:!1},nuxtI18nInternalOptions={__normalizedLocales:[{code:"tw",iso:"zh-TW",name:"繁中",files:[]}]},NUXT_I18N_MODULE_ID="@nuxtjs/i18n",parallelPlugin=!1,isSSG=!1;/*! js-cookie v3.0.5 | MIT */function assign(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var defaultConverter={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function init(e,t){function n(a,o,i){if(!(typeof document>"u")){i=assign({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,i[l]!==!0&&(s+="="+i[l].split(";")[0]));return document.cookie=a+"="+e.write(o,a)+s}}function r(a){if(!(typeof document>"u"||arguments.length&&!a)){for(var o=document.cookie?document.cookie.split("; "):[],i={},s=0;s<o.length;s++){var l=o[s].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(i[u]=e.read(c,u),a===u)break}catch{}}return a?i[a]:i}}return Object.create({set:n,get:r,remove:function(a,o){n(a,"",assign({},o,{expires:-1}))},withAttributes:function(a){return init(this.converter,assign({},this.attributes,a))},withConverter:function(a){return init(assign({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var api=init(defaultConverter,{path:"/"});function formatMessage(e){return NUXT_I18N_MODULE_ID+" "+e}function isLegacyVueI18n(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function callVueI18nInterfaces(e,t,...n){const r=isI18nInstance(e)?e.global:e,[a,o]=[r,r[t]];return Reflect.apply(o,a,[...n])}function getVueI18nPropertyValue(e,t){const n=isI18nInstance(e)?e.global:e;return isComposer(n)?n[t].value:(isExportedGlobalComposer(n)||isVueI18n(n)||isLegacyVueI18n(n),n[t])}function defineGetter(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function proxyNuxt(e,t){return function(){return Reflect.apply(t,{i18n:e.$i18n,getRouteBaseName:e.$getRouteBaseName,localePath:e.$localePath,localeRoute:e.$localeRoute,switchLocalePath:e.$switchLocalePath,localeHead:e.$localeHead,route:e.$router.currentRoute.value,router:e.$router},arguments)}}function deepCopy(e,t,n){for(const r in e)isArray$3(e[r])?(isArray$3(t[r])||(t[r]=[]),e[r].forEach((a,o)=>{if(!t[r][o]){const i={};deepCopy(a,i),t[r].push(i)}})):isObject$3(e[r])?(isObject$3(t[r])||(t[r]={}),deepCopy(e[r],t[r])):t[r]=e[r]}const loadedMessages=new Map;async function loadMessage(e,{key:t,load:n},r){var i,s;const a=(i=e.$config.public)==null?void 0:i.i18n;let o=null;try{const l=await n().then(c=>c.default||c);isFunction$2(l)?(s=a.experimental)!=null&&s.jsTsFormatResource?o=await l(r):console.warn(formatMessage("JS / TS extension format is not supported by default. This can be enabled by setting `i18n.experimental.jsTsFormatResource: true` (experimental)")):(o=l,o!=null&&loadedMessages.set(t,o))}catch(l){console.error(formatMessage("Failed locale loading: "+l.message))}return o}async function loadLocale(e,t,n){const r=localeMessages[t];if(r==null){console.warn(formatMessage("Could not find messages for locale code"+t));return}const a={};for(const o of r){let i=null;loadedMessages.has(o.key)&&o.cache?i=loadedMessages.get(o.key):i=await loadMessage(e,o,t),i!=null&&deepCopy(i,a)}n(t,a)}function getBrowserLocale(e,t){let n;return navigator.languages&&(n=findBrowserLocale(e.__normalizedLocales,navigator.languages)),n}function getLocaleCookie(e,{useCookie:t=nuxtI18nOptionsDefault.detectBrowserLanguage.useCookie,cookieKey:n=nuxtI18nOptionsDefault.detectBrowserLanguage.cookieKey,localeCodes:r=[]}={}){if(t){let a;if(a=api.get(n),a&&r.includes(a))return a}}function setLocaleCookie(e,t,{useCookie:n=nuxtI18nOptionsDefault.detectBrowserLanguage.useCookie,cookieKey:r=nuxtI18nOptionsDefault.detectBrowserLanguage.cookieKey,cookieDomain:a=nuxtI18nOptionsDefault.detectBrowserLanguage.cookieDomain,cookieSecure:o=nuxtI18nOptionsDefault.detectBrowserLanguage.cookieSecure,cookieCrossOrigin:i=nuxtI18nOptionsDefault.detectBrowserLanguage.cookieCrossOrigin}={}){if(!n)return;const s=new Date,l={expires:new Date(s.setDate(s.getDate()+365)),path:"/",sameSite:i?"none":"lax",secure:i||o};a&&(l.domain=a),api.set(r,e,l)}const DefaultDetectBrowserLanguageFromResult={locale:"",stat:!1,reason:"unknown",from:"unknown"};function detectBrowserLanguage(e,t,n,r,a,o=[],i=""){const{strategy:s}=n,{ssg:l,callType:c,firstAccess:u}=a;if(!u)return{locale:"",stat:!1,reason:"first_access_only"};const{redirectOn:f,alwaysRedirect:d,useCookie:m,fallbackLocale:y}=n.detectBrowserLanguage,g=isString$1(e)?e:e.path;if(s!=="no_prefix"){if(f==="root"){if(g!=="/")return{locale:"",stat:!1,reason:"not_redirect_on_root"}}else if(f==="no prefix"&&!d&&g.match(getLocalesRegex(o)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let P="unknown",v,_;m&&(_=v=getLocaleCookie(t,{...n.detectBrowserLanguage,localeCodes:o}),P="cookie"),_||(_=getBrowserLocale(r),P="navigator_or_header");const b=_||y;!_&&y&&(P="fallback");const S=i||n.vueI18n.locale;if(b&&(!m||d||!v)){if(s==="no_prefix")return{locale:b,stat:!0,from:P};if(c==="setup"&&b!==S)return{locale:b,stat:!0,from:P};if(d){const C=g==="/",k=f==="all",T=f==="no prefix"&&!g.match(getLocalesRegex(o));if(C||k||T)return{locale:b,stat:!0,from:P}}}return l==="ssg_setup"&&b?{locale:b,stat:!0,from:P}:(P==="navigator_or_header"||P==="cookie")&&b?{locale:b,stat:!0,from:P}:{locale:"",stat:!1,reason:"not_found_match"}}function getHost(){let e;return e=window.location.host,e}function getLocaleDomain(e){let t=getHost()||"";if(t){const n=e.find(r=>{if(r&&r.domain){let a=r.domain;return hasProtocol(r.domain)&&(a=r.domain.replace(/(http|https):\/\//,"")),a===t}return!1});if(n)return n.code;t=""}return t}function getDomainFromLocale(e,t,n){var i,s;const r=n==null?void 0:n.$config.public.i18n,a=t.find(l=>l.code===e),o=((s=(i=r==null?void 0:r.locales)==null?void 0:i[e])==null?void 0:s.domain)??(a==null?void 0:a.domain);if(o){if(hasProtocol(o,{strict:!0}))return o;let l;return l=new URL(window.location.origin).protocol,l+"//"+o}console.warn(formatMessage("Could not find domain name for locale "+e))}function setCookieLocale(e,t){return callVueI18nInterfaces(e,"setLocaleCookie",t)}function mergeLocaleMessage(e,t,n){return callVueI18nInterfaces(e,"mergeLocaleMessage",t,n)}function onBeforeLanguageSwitch(e,t,n,r,a){return callVueI18nInterfaces(e,"onBeforeLanguageSwitch",t,n,r,a)}function onLanguageSwitched(e,t,n){return callVueI18nInterfaces(e,"onLanguageSwitched",t,n)}function makeFallbackLocaleCodes(e,t){let n=[];if(isArray$3(e))n=e;else if(isObject$3(e)){const r=[...t,"default"];for(const a of r)e[a]&&(n=[...n,...e[a].filter(Boolean)])}else isString$1(e)&&t.every(r=>r!==e)&&n.push(e);return n}async function loadInitialMessages(e,t,n){const{defaultLocale:r,initialLocale:a,localeCodes:o,fallbackLocale:i,lazy:s}=n,l=(u,f)=>{const d=t[u]||{};t[u]={...d,...f}};if(s&&i){const u=makeFallbackLocaleCodes(i,[r,a]);await Promise.all(u.map(f=>loadLocale(e,f,l)))}const c=s?[...new Set().add(r).add(a)]:o;return await Promise.all(c.map(u=>loadLocale(e,u,l))),t}async function loadAndSetLocale(e,t,n,{useCookie:r=nuxtI18nOptionsDefault.detectBrowserLanguage.useCookie,skipSettingLocaleOnNavigate:a=nuxtI18nOptionsDefault.skipSettingLocaleOnNavigate,differentDomains:o=nuxtI18nOptionsDefault.differentDomains,initial:i=!1,lazy:s=!1}={}){let l=!1;const c=getLocale(n);if(!e)return[l,c];if(!i&&o)return[l,c];if(c===e)return[l,c];const u=await onBeforeLanguageSwitch(n,c,e,i,t),f=getLocaleCodes(n);if(u&&f&&f.includes(u)){if(u===c)return[l,c];e=u}const d=getVueI18nPropertyValue(n,"fallbackLocale");if(s){const m=(y,g)=>mergeLocaleMessage(n,y,g);if(d){const y=makeFallbackLocaleCodes(d,[e]);await Promise.all(y.map(g=>loadLocale(t,g,m)))}await loadLocale(t,e,m)}return a?[l,c]:(r&&setCookieLocale(n,e),setLocale(n,e),await onLanguageSwitched(n,c,e),l=!0,[l,c])}function detectLocale(e,t,n,r,a,o,i,s=[]){const{strategy:l,defaultLocale:c,differentDomains:u}=r,f=isFunction$2(a)?a():a,{locale:d,stat:m,reason:y,from:g}=r.detectBrowserLanguage?detectBrowserLanguage(e,t,r,nuxtI18nInternalOptions,o,s,f):DefaultDetectBrowserLanguageFromResult;if(y==="detect_ignore_on_ssg")return f;if((g==="navigator_or_header"||g==="cookie"||g==="fallback")&&d)return d;let P=d;return P||(u?P=getLocaleDomain(i):l!=="no_prefix"?P=n(e):r.detectBrowserLanguage||(P=f)),!P&&r.detectBrowserLanguage&&r.detectBrowserLanguage.useCookie&&(P=getLocaleCookie(t,{...r.detectBrowserLanguage,localeCodes:s})||""),P||(P=c||""),P}function detectRedirect({route:e,context:t,targetLocale:n,routeLocaleGetter:r,nuxtI18nOptions:a,calledWithRouting:o=!1}){const{strategy:i,differentDomains:s}=a;let l="";const{fullPath:c}=e.to;if(!s&&(o||i!=="no_prefix"&&i!=="prefix_and_default")&&r(e.to)!==n){const u=t.$switchLocalePath(n)||t.$localePath(c,n);isString$1(u)&&u&&!isEqual$3(u,c)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if((s||isSSG)&&r(e.to)!==n){const f=useSwitchLocalePath({i18n:getComposer(t.$i18n),route:e.to,router:t.$router})(n);isString$1(f)&&f&&!isEqual$3(f,c)&&!f.startsWith("//")&&(l=f)}return l}function isRootRedirectOptions(e){return isObject$3(e)&&"path"in e&&"statusCode"in e}const useRedirectState=()=>useState(NUXT_I18N_MODULE_ID+":redirect",()=>"");function _navigate(e,t){return navigateTo(e,{redirectCode:t})}async function navigate(e,{status:t=302,rootRedirect:n=nuxtI18nOptionsDefault.rootRedirect,differentDomains:r=nuxtI18nOptionsDefault.differentDomains,skipSettingLocaleOnNavigate:a=nuxtI18nOptionsDefault.skipSettingLocaleOnNavigate,enableNavigate:o=!1}={}){const{i18n:i,locale:s,route:l}=e;let{redirectPath:c}=e;if(l.path==="/"&&n)return isString$1(n)?c="/"+n:isRootRedirectOptions(n)&&(c="/"+n.path,t=n.statusCode),_navigate(c,t);if(!(a&&(i.__pendingLocale=s,i.__pendingLocalePromise=new Promise(u=>{i.__resolvePendingLocalePromise=u}),!o))){if(r){const u=useRedirectState();u.value&&u.value!==c&&(u.value="",window.location.assign(c))}else if(c)return _navigate(c,t)}}function injectNuxtHelpers(e,t){defineGetter(e,"$i18n",t.global);for(const n of[["getRouteBaseName",getRouteBaseName],["localePath",localePath],["localeRoute",localeRoute],["switchLocalePath",switchLocalePath],["localeHead",localeHead]])defineGetter(e,"$"+n[0],proxyNuxt(e,n[1]))}function extendPrefixable(e){return t=>DefaultPrefixable(t)&&!e}function extendSwitchLocalePathIntercepter(e,t,n){return(r,a)=>{if(e){const o=getDomainFromLocale(a,t,n);return o?joinURL(o,r):r}else return DefaultSwitchLocalePathIntercepter(r)}}function extendBaseUrl(e,t){return n=>{var l,c;if(isFunction$2(e))return e(n);const{differentDomains:r,localeCodeLoader:a,normalizedLocales:o}=t,i=isFunction$2(a)?a():a;if(r&&i){const u=getDomainFromLocale(i,o,t.nuxt);if(u)return u}const s=(c=(l=n.$config)==null?void 0:l.public)==null?void 0:c.i18n;return s!=null&&s.baseUrl?s.baseUrl:e}}const i18n_yfWm7jX06p=defineNuxtPlugin({name:"i18n:plugin",parallel:parallelPlugin,async setup(e){let t,n;const r=useRouter$2(),a=useRoute$1(),{vueApp:o}=e,i=e,s=([t,n]=executeAsync(()=>resolveNuxtI18nOptions()),t=await t,n(),t),l=s.detectBrowserLanguage&&s.detectBrowserLanguage.useCookie,{__normalizedLocales:c}=nuxtI18nInternalOptions,{defaultLocale:u,differentDomains:f,skipSettingLocaleOnNavigate:d,lazy:m,routesNameSeparator:y,defaultLocaleRouteNameSuffix:g,strategy:P,rootRedirect:v}=s;s.baseUrl=extendBaseUrl(s.baseUrl,{differentDomains:f,nuxt:i,localeCodeLoader:u,normalizedLocales:c});const _=createLocaleFromRouteGetter(localeCodes,y,g),b=s.vueI18n;b.messages=b.messages||{},b.fallbackLocale=b.fallbackLocale??!1,registerGlobalOptions(r,{...s,dynamicRouteParamsKey:"nuxtI18n",switchLocalePathIntercepter:extendSwitchLocalePathIntercepter(f,c,i),prefixable:extendPrefixable(f)});const S=L=>L||b.locale||"en-US";let C=detectLocale(a,e.ssrContext,_,s,S(u),{ssg:"normal",callType:"setup",firstAccess:!0},c,localeCodes);b.messages=([t,n]=executeAsync(()=>loadInitialMessages(i,b.messages,{...s,initialLocale:C,fallbackLocale:b.fallbackLocale,localeCodes})),t=await t,n(),t),C=S(C);const k=createI18n({...b,locale:C});let T=!0;const w=L=>C!==L&&T;extendI18n(k,{locales:s.locales,localeCodes,baseUrl:s.baseUrl,context:i,hooks:{onExtendComposer(L){L.strategy=P,L.localeProperties=computed(()=>c.find(N=>N.code===L.locale.value)||{code:L.locale.value}),L.setLocale=async N=>{const O=w(N),[U]=await loadAndSetLocale(N,i,k,{useCookie:l,differentDomains:f,initial:O,skipSettingLocaleOnNavigate:d,lazy:m});U&&O&&(T=!1);const j=detectRedirect({route:{to:a},context:i,targetLocale:N,routeLocaleGetter:_,nuxtI18nOptions:s});await navigate({i18n:k,redirectPath:j,locale:N,route:a},{differentDomains:f,skipSettingLocaleOnNavigate:d,rootRedirect:v,enableNavigate:!0})},L.differentDomains=f,L.defaultLocale=u,L.getBrowserLocale=()=>getBrowserLocale(nuxtI18nInternalOptions,e.ssrContext),L.getLocaleCookie=()=>getLocaleCookie(e.ssrContext,{...s.detectBrowserLanguage,localeCodes}),L.setLocaleCookie=N=>setLocaleCookie(N,e.ssrContext,s.detectBrowserLanguage||void 0),L.onBeforeLanguageSwitch=(N,O,U,j)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:N,newLocale:O,initialSetup:U,context:j}),L.onLanguageSwitched=(N,O)=>e.callHook("i18n:localeSwitched",{oldLocale:N,newLocale:O}),L.finalizePendingLocaleChange=async()=>{k.__pendingLocale&&(setLocale(k,k.__pendingLocale),k.__resolvePendingLocalePromise&&await k.__resolvePendingLocalePromise(),k.__pendingLocale=void 0)},L.waitForPendingLocaleChange=async()=>{k.__pendingLocale&&k.__pendingLocalePromise&&await k.__pendingLocalePromise}},onExtendExportedGlobal(L){return{strategy:{get(){return L.strategy}},localeProperties:{get(){return L.localeProperties.value}},setLocale:{get(){return async N=>Reflect.apply(L.setLocale,L,[N])}},differentDomains:{get(){return L.differentDomains}},defaultLocale:{get(){return L.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(L.getBrowserLocale,L,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(L.getLocaleCookie,L,[])}},setLocaleCookie:{get(){return N=>Reflect.apply(L.setLocaleCookie,L,[N])}},onBeforeLanguageSwitch:{get(){return(N,O,U,j)=>Reflect.apply(L.onBeforeLanguageSwitch,L,[N,O,U,j])}},onLanguageSwitched:{get(){return(N,O)=>Reflect.apply(L.onLanguageSwitched,L,[N,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(L.finalizePendingLocaleChange,L,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(L.waitForPendingLocaleChange,L,[])}}}},onExtendVueI18n(L){return{strategy:{get(){return L.strategy}},localeProperties:{get(){return L.localeProperties.value}},setLocale:{get(){return async N=>Reflect.apply(L.setLocale,L,[N])}},differentDomains:{get(){return L.differentDomains}},defaultLocale:{get(){return L.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(L.getBrowserLocale,L,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(L.getLocaleCookie,L,[])}},setLocaleCookie:{get(){return N=>Reflect.apply(L.setLocaleCookie,L,[N])}},onBeforeLanguageSwitch:{get(){return(N,O,U,j)=>Reflect.apply(L.onBeforeLanguageSwitch,L,[N,O,U,j])}},onLanguageSwitched:{get(){return(N,O)=>Reflect.apply(L.onLanguageSwitched,L,[N,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(L.finalizePendingLocaleChange,L,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(L.waitForPendingLocaleChange,L,[])}}}}}});const E={__composerExtend:L=>{const N=getComposer(k);return L.strategy=N.strategy,L.localeProperties=computed(()=>N.localeProperties.value),L.setLocale=N.setLocale,L.differentDomains=N.differentDomains,L.getBrowserLocale=N.getBrowserLocale,L.getLocaleCookie=N.getLocaleCookie,L.setLocaleCookie=N.setLocaleCookie,L.onBeforeLanguageSwitch=N.onBeforeLanguageSwitch,L.onLanguageSwitched=N.onLanguageSwitched,L.finalizePendingLocaleChange=N.finalizePendingLocaleChange,L.waitForPendingLocaleChange=N.waitForPendingLocaleChange,()=>{}}};o.use(k,E),injectNuxtHelpers(i,k);let F=0;addRouteMiddleware("locale-changing",async(L,N)=>{let O,U;const j=detectLocale(L,e.ssrContext,_,s,()=>getLocale(k)||S(u),{ssg:"normal",callType:"routing",firstAccess:F===0},c,localeCodes),I=w(j),[M]=([O,U]=executeAsync(()=>loadAndSetLocale(j,i,k,{useCookie:l,differentDomains:f,initial:I,skipSettingLocaleOnNavigate:d,lazy:m})),O=await O,U(),O);M&&I&&(T=!1);const V=detectRedirect({route:{to:L,from:N},context:i,targetLocale:j,routeLocaleGetter:_,nuxtI18nOptions:s,calledWithRouting:!0});return F++,navigate({i18n:k,redirectPath:V,locale:j,route:L},{differentDomains:f,skipSettingLocaleOnNavigate:d,rootRedirect:v})},{global:!0})}}),chunk_reload_client_UciE0i6zes=defineNuxtPlugin({name:"nuxt:chunk-reload",setup(e){const t=useRouter$2(),n=useRuntimeConfig(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function a(o){const s="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:joinURL(n.app.baseURL,o.fullPath);reloadNuxtApp({path:s,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(a)}),t.onError((o,i)=>{r.has(o)&&a(i)})}}),ga_client_sD01LCW8al=defineNuxtPlugin(()=>{window.dataLayer=window.dataLayer||[];function e(){dataLayer.push(arguments)}e("js",new Date),e("config","G-BBX37SPN21")});var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lottie={exports:{}};(function(module,exports){typeof navigator<"u"&&function(e,t){module.exports=t()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var n,r=e.length,a;for(n=0;n<r;n+=1){a=e[n].prototype;for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(t.prototype[o]=a[o])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(n){this.audios.push(n)},pause:function(){var n,r=this.audios.length;for(n=0;n<r;n+=1)this.audios[n].pause()},resume:function(){var n,r=this.audios.length;for(n=0;n<r;n+=1)this.audios[n].resume()},setRate:function(n){var r,a=this.audios.length;for(r=0;r<a;r+=1)this.audios[r].setRate(n)},createAudio:function(n){return this.audioFactory?this.audioFactory(n):window.Howl?new window.Howl({src:[n]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(n){this.audioFactory=n},setVolume:function(n){this._volume=n,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var n,r=this.audios.length;for(n=0;n<r;n+=1)this.audios[n].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(n,r){var a=0,o=[],i;switch(n){case"int16":case"uint8c":i=1;break;default:i=1.1;break}for(a=0;a<r;a+=1)o.push(i);return o}function t(n,r){return n==="float32"?new Float32Array(r):n==="int16"?new Int16Array(r):n==="uint8c"?new Uint8ClampedArray(r):e(n,r)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(n){return typeof n}:_typeof$6=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],t,n=e.length;for(t=0;t<n;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var n=createSizedArray(e.length),r,a=e.length;for(r=0;r<a;r+=1)n[r]=Math.abs(e[r]);return n}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,n,r){this.type=e,this.currentTime=t,this.totalTime=n,this.direction=r<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,n,r){this.type=e,this.currentLoop=n,this.totalLoops=t,this.direction=r<0?-1:1}function BMSegmentStartEvent(e,t,n){this.type=e,this.firstFrame=t,this.totalFrames=n}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}}();function HSVtoRGB(e,t,n){var r,a,o,i,s,l,c,u;switch(i=Math.floor(e*6),s=e*6-i,l=n*(1-t),c=n*(1-s*t),u=n*(1-(1-s)*t),i%6){case 0:r=n,a=u,o=l;break;case 1:r=c,a=n,o=l;break;case 2:r=l,a=n,o=u;break;case 3:r=l,a=c,o=n;break;case 4:r=u,a=l,o=n;break;case 5:r=n,a=l,o=c;break}return[r,a,o]}function RGBtoHSV(e,t,n){var r=Math.max(e,t,n),a=Math.min(e,t,n),o=r-a,i,s=r===0?0:o/r,l=r/255;switch(r){case a:i=0;break;case e:i=t-n+o*(t<n?6:0),i/=6*o;break;case t:i=n-e+o*2,i/=6*o;break;case n:i=e-t+o*4,i/=6*o;break}return[i,s,l]}function addSaturationToRGB(e,t){var n=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return n[1]+=t,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var e=[],t,n;for(t=0;t<256;t+=1)n=t.toString(16),e[t]=n.length===1?"0"+n:n;return function(r,a,o){return r<0&&(r=0),a<0&&(a=0),o<0&&(o=0),"#"+e[r]+e[a]+e[o]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(n){return typeof n}:_typeof$5=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof$5(e)}var dataManager=function(){var e=1,t=[],n,r,a={onmessage:function(){},postMessage:function(m){n({data:m})}},o={postMessage:function(m){a.onmessage({data:m})}};function i(d){if(window.Worker&&window.Blob&&getWebWorker()){var m=new Blob(["var _workerSelf = self; self.onmessage = ",d.toString()],{type:"text/javascript"}),y=URL.createObjectURL(m);return new Worker(y)}return n=d,a}function s(){r||(r=i(function(m){function y(){function P(j,I){var M,V,R=j.length,D,$,G,ne;for(V=0;V<R;V+=1)if(M=j[V],"ks"in M&&!M.completed){if(M.completed=!0,M.hasMask){var oe=M.masksProperties;for($=oe.length,D=0;D<$;D+=1)if(oe[D].pt.k.i)C(oe[D].pt.k);else for(ne=oe[D].pt.k.length,G=0;G<ne;G+=1)oe[D].pt.k[G].s&&C(oe[D].pt.k[G].s[0]),oe[D].pt.k[G].e&&C(oe[D].pt.k[G].e[0])}M.ty===0?(M.layers=b(M.refId,I),P(M.layers,I)):M.ty===4?S(M.shapes):M.ty===5&&O(M)}}function v(j,I){if(j){var M=0,V=j.length;for(M=0;M<V;M+=1)j[M].t===1&&(j[M].data.layers=b(j[M].data.refId,I),P(j[M].data.layers,I))}}function _(j,I){for(var M=0,V=I.length;M<V;){if(I[M].id===j)return I[M];M+=1}return null}function b(j,I){var M=_(j,I);return M?M.layers.__used?JSON.parse(JSON.stringify(M.layers)):(M.layers.__used=!0,M.layers):null}function S(j){var I,M=j.length,V,R;for(I=M-1;I>=0;I-=1)if(j[I].ty==="sh")if(j[I].ks.k.i)C(j[I].ks.k);else for(R=j[I].ks.k.length,V=0;V<R;V+=1)j[I].ks.k[V].s&&C(j[I].ks.k[V].s[0]),j[I].ks.k[V].e&&C(j[I].ks.k[V].e[0]);else j[I].ty==="gr"&&S(j[I].it)}function C(j){var I,M=j.i.length;for(I=0;I<M;I+=1)j.i[I][0]+=j.v[I][0],j.i[I][1]+=j.v[I][1],j.o[I][0]+=j.v[I][0],j.o[I][1]+=j.v[I][1]}function k(j,I){var M=I?I.split("."):[100,100,100];return j[0]>M[0]?!0:M[0]>j[0]?!1:j[1]>M[1]?!0:M[1]>j[1]?!1:j[2]>M[2]?!0:M[2]>j[2]?!1:null}var T=function(){var j=[4,4,14];function I(V){var R=V.t.d;V.t.d={k:[{s:R,t:0}]}}function M(V){var R,D=V.length;for(R=0;R<D;R+=1)V[R].ty===5&&I(V[R])}return function(V){if(k(j,V.v)&&(M(V.layers),V.assets)){var R,D=V.assets.length;for(R=0;R<D;R+=1)V.assets[R].layers&&M(V.assets[R].layers)}}}(),w=function(){var j=[4,7,99];return function(I){if(I.chars&&!k(j,I.v)){var M,V=I.chars.length;for(M=0;M<V;M+=1){var R=I.chars[M];R.data&&R.data.shapes&&(S(R.data.shapes),R.data.ip=0,R.data.op=99999,R.data.st=0,R.data.sr=1,R.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},I.chars[M].t||(R.data.shapes.push({ty:"no"}),R.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),E=function(){var j=[5,7,15];function I(V){var R=V.t.p;typeof R.a=="number"&&(R.a={a:0,k:R.a}),typeof R.p=="number"&&(R.p={a:0,k:R.p}),typeof R.r=="number"&&(R.r={a:0,k:R.r})}function M(V){var R,D=V.length;for(R=0;R<D;R+=1)V[R].ty===5&&I(V[R])}return function(V){if(k(j,V.v)&&(M(V.layers),V.assets)){var R,D=V.assets.length;for(R=0;R<D;R+=1)V.assets[R].layers&&M(V.assets[R].layers)}}}(),F=function(){var j=[4,1,9];function I(V){var R,D=V.length,$,G;for(R=0;R<D;R+=1)if(V[R].ty==="gr")I(V[R].it);else if(V[R].ty==="fl"||V[R].ty==="st")if(V[R].c.k&&V[R].c.k[0].i)for(G=V[R].c.k.length,$=0;$<G;$+=1)V[R].c.k[$].s&&(V[R].c.k[$].s[0]/=255,V[R].c.k[$].s[1]/=255,V[R].c.k[$].s[2]/=255,V[R].c.k[$].s[3]/=255),V[R].c.k[$].e&&(V[R].c.k[$].e[0]/=255,V[R].c.k[$].e[1]/=255,V[R].c.k[$].e[2]/=255,V[R].c.k[$].e[3]/=255);else V[R].c.k[0]/=255,V[R].c.k[1]/=255,V[R].c.k[2]/=255,V[R].c.k[3]/=255}function M(V){var R,D=V.length;for(R=0;R<D;R+=1)V[R].ty===4&&I(V[R].shapes)}return function(V){if(k(j,V.v)&&(M(V.layers),V.assets)){var R,D=V.assets.length;for(R=0;R<D;R+=1)V.assets[R].layers&&M(V.assets[R].layers)}}}(),L=function(){var j=[4,4,18];function I(V){var R,D=V.length,$,G;for(R=D-1;R>=0;R-=1)if(V[R].ty==="sh")if(V[R].ks.k.i)V[R].ks.k.c=V[R].closed;else for(G=V[R].ks.k.length,$=0;$<G;$+=1)V[R].ks.k[$].s&&(V[R].ks.k[$].s[0].c=V[R].closed),V[R].ks.k[$].e&&(V[R].ks.k[$].e[0].c=V[R].closed);else V[R].ty==="gr"&&I(V[R].it)}function M(V){var R,D,$=V.length,G,ne,oe,ce;for(D=0;D<$;D+=1){if(R=V[D],R.hasMask){var ee=R.masksProperties;for(ne=ee.length,G=0;G<ne;G+=1)if(ee[G].pt.k.i)ee[G].pt.k.c=ee[G].cl;else for(ce=ee[G].pt.k.length,oe=0;oe<ce;oe+=1)ee[G].pt.k[oe].s&&(ee[G].pt.k[oe].s[0].c=ee[G].cl),ee[G].pt.k[oe].e&&(ee[G].pt.k[oe].e[0].c=ee[G].cl)}R.ty===4&&I(R.shapes)}}return function(V){if(k(j,V.v)&&(M(V.layers),V.assets)){var R,D=V.assets.length;for(R=0;R<D;R+=1)V.assets[R].layers&&M(V.assets[R].layers)}}}();function N(j){j.__complete||(F(j),T(j),w(j),E(j),L(j),P(j.layers,j.assets),v(j.chars,j.assets),j.__complete=!0)}function O(j){j.t.a.length===0&&"m"in j.t.p}var U={};return U.completeData=N,U.checkColors=F,U.checkChars=w,U.checkPathProperties=E,U.checkShapes=L,U.completeLayers=P,U}if(o.dataManager||(o.dataManager=y()),o.assetLoader||(o.assetLoader=function(){function P(_){var b=_.getResponseHeader("content-type");return b&&_.responseType==="json"&&b.indexOf("json")!==-1||_.response&&_typeof$5(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function v(_,b,S,C){var k,T=new XMLHttpRequest;try{T.responseType="json"}catch{}T.onreadystatechange=function(){if(T.readyState===4)if(T.status===200)k=P(T),S(k);else try{k=P(T),S(k)}catch(w){C&&C(w)}};try{T.open(["G","E","T"].join(""),_,!0)}catch{T.open(["G","E","T"].join(""),b+"/"+_,!0)}T.send()}return{load:v}}()),m.data.type==="loadAnimation")o.assetLoader.load(m.data.path,m.data.fullPath,function(P){o.dataManager.completeData(P),o.postMessage({id:m.data.id,payload:P,status:"success"})},function(){o.postMessage({id:m.data.id,status:"error"})});else if(m.data.type==="complete"){var g=m.data.animation;o.dataManager.completeData(g),o.postMessage({id:m.data.id,payload:g,status:"success"})}else m.data.type==="loadData"&&o.assetLoader.load(m.data.path,m.data.fullPath,function(P){o.postMessage({id:m.data.id,payload:P,status:"success"})},function(){o.postMessage({id:m.data.id,status:"error"})})}),r.onmessage=function(d){var m=d.data,y=m.id,g=t[y];t[y]=null,m.status==="success"?g.onComplete(m.payload):g.onError&&g.onError()})}function l(d,m){e+=1;var y="processId_"+e;return t[y]={onComplete:d,onError:m},y}function c(d,m,y){s();var g=l(m,y);r.postMessage({type:"loadAnimation",path:d,fullPath:window.location.origin+window.location.pathname,id:g})}function u(d,m,y){s();var g=l(m,y);r.postMessage({type:"loadData",path:d,fullPath:window.location.origin+window.location.pathname,id:g})}function f(d,m,y){s();var g=l(m,y);r.postMessage({type:"complete",animation:d,id:g})}return{loadAnimation:c,loadData:u,completeAnimation:f}}(),ImagePreloader=function(){var e=function(){var v=createTag("canvas");v.width=1,v.height=1;var _=v.getContext("2d");return _.fillStyle="rgba(0,0,0,0)",_.fillRect(0,0,1,1),v}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(v,_,b){var S="";if(v.e)S=v.p;else if(_){var C=v.p;C.indexOf("images/")!==-1&&(C=C.split("/")[1]),S=_+C}else S=b,S+=v.u?v.u:"",S+=v.p;return S}function a(v){var _=0,b=setInterval((function(){var S=v.getBBox();(S.width||_>500)&&(this._imageLoaded(),clearInterval(b)),_+=1}).bind(this),50)}function o(v){var _=r(v,this.assetsPath,this.path),b=createNS("image");isSafari?this.testImageLoaded(b):b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),b.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this._elementHelper.append?this._elementHelper.append(b):this._elementHelper.appendChild(b);var S={img:b,assetData:v};return S}function i(v){var _=r(v,this.assetsPath,this.path),b=createTag("img");b.crossOrigin="anonymous",b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),b.src=_;var S={img:b,assetData:v};return S}function s(v){var _={assetData:v},b=r(v,this.assetsPath,this.path);return dataManager.loadData(b,(function(S){_.img=S,this._footageLoaded()}).bind(this),(function(){_.img={},this._footageLoaded()}).bind(this)),_}function l(v,_){this.imagesLoadedCb=_;var b,S=v.length;for(b=0;b<S;b+=1)v[b].layers||(!v[b].t||v[b].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(v[b]))):v[b].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(v[b]))))}function c(v){this.path=v||""}function u(v){this.assetsPath=v||""}function f(v){for(var _=0,b=this.images.length;_<b;){if(this.images[_].assetData===v)return this.images[_].img;_+=1}return null}function d(){this.imagesLoadedCb=null,this.images.length=0}function m(){return this.totalImages===this.loadedAssets}function y(){return this.totalFootages===this.loadedFootagesCount}function g(v,_){v==="svg"?(this._elementHelper=_,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function P(){this._imageLoaded=t.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=a.bind(this),this.createFootageData=s.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return P.prototype={loadAssets:l,setAssetsPath:u,setPath:c,loadedImages:m,loadedFootages:y,destroy:d,getAsset:f,createImgData:i,createImageData:o,imageLoaded:t,footageLoaded:n,setCacheType:g},P}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,n){if(this._cbs[t])for(var r=this._cbs[t],a=0;a<r.length;a+=1)r[a](n)},addEventListener:function(t,n){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(n),(function(){this.removeEventListener(t,n)}).bind(this)},removeEventListener:function(t,n){if(!n)this._cbs[t]=null;else if(this._cbs[t]){for(var r=0,a=this._cbs[t].length;r<a;)this._cbs[t][r]===n&&(this._cbs[t].splice(r,1),r-=1,a-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var n=t.split(`\r
`),r={},a,o=0,i=0;i<n.length;i+=1)a=n[i].split(":"),a.length===2&&(r[a[0]]=a[1].trim(),o+=1);if(o===0)throw new Error;return r}return function(t){for(var n=[],r=0;r<t.length;r+=1){var a=t[r],o={time:a.tm,duration:a.dr};try{o.payload=JSON.parse(t[r].cm)}catch{try{o.payload=e(t[r].cm)}catch{o.payload={name:t[r].cm}}}n.push(o)}return n}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(n){for(var r=0,a=this.compositions.length;r<a;){if(this.compositions[r].data&&this.compositions[r].data.nm===n)return this.compositions[r].prepareFrame&&this.compositions[r].data.xt&&this.compositions[r].prepareFrame(this.currentFrame),this.compositions[r].compInterface;r+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(t,n){renderers[t]=n};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(n){return typeof n}:_typeof$4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var n=getRenderer(t);this.renderer=new n(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&_typeof$4(t)!=="object"&&(t=JSON.parse(t));var n={wrapper:e,animationData:t},r=e.attributes;n.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",n.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var a=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";a==="false"?n.loop=!1:a==="true"?n.loop=!0:a!==""&&(n.loop=parseInt(a,10));var o=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:r.getNamedItem("bm-autoplay")?r.getNamedItem("bm-autoplay").value:!0;n.autoplay=o!=="false",n.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"";var i=r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"";i==="false"&&(n.prerender=!1),n.path?this.setParams(n):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,n,r=t.length,a=e.layers,o,i=a.length;for(o=0;o<i;o+=1)for(n=0;n<r;){if(t[n].id===a[o].id){t[n]=a[o];break}n+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(r=e.assets.length,n=0;n<r;n+=1)this.animationData.assets.push(e.assets[n]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var t=e.shift();this.timeCompleted=t.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(n,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var n=typeof e=="number"?e:void 0,r=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(n,r)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,n=0;n<this.markers.length;n+=1)if(t=this.markers[n],t.payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,n){if(!(n&&this.name!==n)){var r=Number(e);if(isNaN(r)){var a=this.getMarkerData(e);a&&this.goToAndStop(a.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,n){if(!(n&&this.name!==n)){var r=Number(e);if(isNaN(r)){var a=this.getMarkerData(e);a&&(a.duration?this.playSegments([a.time,a.time+a.duration],!0):this.goToAndStop(a.time,!0))}else this.goToAndStop(r,t,n);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var t=this.currentRawFrame+e*this.frameModifier,n=!1;t>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(n=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(n=!0,t=0)):this.setCurrentRawFrameValue(t),n&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?n=e:this.currentRawFrame+this.firstFrame>t&&(n=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,n!==-1&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var n,r=e.length;for(n=0;n<r;n+=1)this.segments.push(e[n])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var n=e.p;n.indexOf("images/")!==-1&&(n=n.split("/")[1]),t=this.assetsPath+n}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,n=this.assets.length;t<n;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,n){try{var r=this.renderer.getElementByPath(e);r.updateDocumentData(t,n)}catch{}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],n=0,r=0,a=0,o=!0,i=!1;function s(I){for(var M=0,V=I.target;M<r;)t[M].animation===V&&(t.splice(M,1),M-=1,r-=1,V.isPaused||f()),M+=1}function l(I,M){if(!I)return null;for(var V=0;V<r;){if(t[V].elem===I&&t[V].elem!==null)return t[V].animation;V+=1}var R=new AnimationItem;return d(R,I),R.setData(I,M),R}function c(){var I,M=t.length,V=[];for(I=0;I<M;I+=1)V.push(t[I].animation);return V}function u(){a+=1,F()}function f(){a-=1}function d(I,M){I.addEventListener("destroy",s),I.addEventListener("_active",u),I.addEventListener("_idle",f),t.push({elem:M,animation:I}),r+=1}function m(I){var M=new AnimationItem;return d(M,null),M.setParams(I),M}function y(I,M){var V;for(V=0;V<r;V+=1)t[V].animation.setSpeed(I,M)}function g(I,M){var V;for(V=0;V<r;V+=1)t[V].animation.setDirection(I,M)}function P(I){var M;for(M=0;M<r;M+=1)t[M].animation.play(I)}function v(I){var M=I-n,V;for(V=0;V<r;V+=1)t[V].animation.advanceTime(M);n=I,a&&!i?window.requestAnimationFrame(v):o=!0}function _(I){n=I,window.requestAnimationFrame(v)}function b(I){var M;for(M=0;M<r;M+=1)t[M].animation.pause(I)}function S(I,M,V){var R;for(R=0;R<r;R+=1)t[R].animation.goToAndStop(I,M,V)}function C(I){var M;for(M=0;M<r;M+=1)t[M].animation.stop(I)}function k(I){var M;for(M=0;M<r;M+=1)t[M].animation.togglePause(I)}function T(I){var M;for(M=r-1;M>=0;M-=1)t[M].animation.destroy(I)}function w(I,M,V){var R=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),D,$=R.length;for(D=0;D<$;D+=1)V&&R[D].setAttribute("data-bm-type",V),l(R[D],I);if(M&&$===0){V||(V="svg");var G=document.getElementsByTagName("body")[0];G.innerText="";var ne=createTag("div");ne.style.width="100%",ne.style.height="100%",ne.setAttribute("data-bm-type",V),G.appendChild(ne),l(ne,I)}}function E(){var I;for(I=0;I<r;I+=1)t[I].animation.resize()}function F(){!i&&a&&o&&(window.requestAnimationFrame(_),o=!1)}function L(){i=!0}function N(){i=!1,F()}function O(I,M){var V;for(V=0;V<r;V+=1)t[V].animation.setVolume(I,M)}function U(I){var M;for(M=0;M<r;M+=1)t[M].animation.mute(I)}function j(I){var M;for(M=0;M<r;M+=1)t[M].animation.unmute(I)}return e.registerAnimation=l,e.loadAnimation=m,e.setSpeed=y,e.setDirection=g,e.play=P,e.pause=b,e.stop=C,e.togglePause=k,e.searchAnimations=w,e.resize=E,e.goToAndStop=S,e.destroy=T,e.freeze=L,e.unfreeze=N,e.setVolume=O,e.mute=U,e.unmute=j,e.getRegisteredAnimations=c,e}(),BezierFactory=function(){var e={};e.getBezierEasing=n;var t={};function n(_,b,S,C,k){var T=k||("bez_"+_+"_"+b+"_"+S+"_"+C).replace(/\./g,"p");if(t[T])return t[T];var w=new v([_,b,S,C]);return t[T]=w,w}var r=4,a=.001,o=1e-7,i=10,s=11,l=1/(s-1),c=typeof Float32Array=="function";function u(_,b){return 1-3*b+3*_}function f(_,b){return 3*b-6*_}function d(_){return 3*_}function m(_,b,S){return((u(b,S)*_+f(b,S))*_+d(b))*_}function y(_,b,S){return 3*u(b,S)*_*_+2*f(b,S)*_+d(b)}function g(_,b,S,C,k){var T,w,E=0;do w=b+(S-b)/2,T=m(w,C,k)-_,T>0?S=w:b=w;while(Math.abs(T)>o&&++E<i);return w}function P(_,b,S,C){for(var k=0;k<r;++k){var T=y(b,S,C);if(T===0)return b;var w=m(b,S,C)-_;b-=w/T}return b}function v(_){this._p=_,this._mSampleValues=c?new Float32Array(s):new Array(s),this._precomputed=!1,this.get=this.get.bind(this)}return v.prototype={get:function(b){var S=this._p[0],C=this._p[1],k=this._p[2],T=this._p[3];return this._precomputed||this._precompute(),S===C&&k===T?b:b===0?0:b===1?1:m(this._getTForX(b),C,T)},_precompute:function(){var b=this._p[0],S=this._p[1],C=this._p[2],k=this._p[3];this._precomputed=!0,(b!==S||C!==k)&&this._calcSampleValues()},_calcSampleValues:function(){for(var b=this._p[0],S=this._p[2],C=0;C<s;++C)this._mSampleValues[C]=m(C*l,b,S)},_getTForX:function(b){for(var S=this._p[0],C=this._p[2],k=this._mSampleValues,T=0,w=1,E=s-1;w!==E&&k[w]<=b;++w)T+=l;--w;var F=(b-k[w])/(k[w+1]-k[w]),L=T+F*l,N=y(L,S,C);return N>=a?P(b,L,S,C):N===0?L:g(b,T,T+l,S,C)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,n){var r=0,a=e,o=createSizedArray(a),i={newElement:s,release:l};function s(){var c;return r?(r-=1,c=o[r]):c=t(),c}function l(c){r===a&&(o=pooling.double(o),a*=2),n&&n(c),o[r]=c,r+=1}return i}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(n){var r,a=n.lengths.length;for(r=0;r<a;r+=1)bezierLengthPool.release(n.lengths[r]);n.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(d,m,y,g,P,v){var _=d*g+m*P+y*v-P*g-v*d-y*m;return _>-.001&&_<.001}function n(d,m,y,g,P,v,_,b,S){if(y===0&&v===0&&S===0)return t(d,m,g,P,_,b);var C=e.sqrt(e.pow(g-d,2)+e.pow(P-m,2)+e.pow(v-y,2)),k=e.sqrt(e.pow(_-d,2)+e.pow(b-m,2)+e.pow(S-y,2)),T=e.sqrt(e.pow(_-g,2)+e.pow(b-P,2)+e.pow(S-v,2)),w;return C>k?C>T?w=C-k-T:w=T-k-C:T>k?w=T-k-C:w=k-C-T,w>-1e-4&&w<1e-4}var r=function(){return function(d,m,y,g){var P=getDefaultCurveSegments(),v,_,b,S,C,k=0,T,w=[],E=[],F=bezierLengthPool.newElement();for(b=y.length,v=0;v<P;v+=1){for(C=v/(P-1),T=0,_=0;_<b;_+=1)S=bmPow(1-C,3)*d[_]+3*bmPow(1-C,2)*C*y[_]+3*(1-C)*bmPow(C,2)*g[_]+bmPow(C,3)*m[_],w[_]=S,E[_]!==null&&(T+=bmPow(w[_]-E[_],2)),E[_]=w[_];T&&(T=bmSqrt(T),k+=T),F.percents[v]=C,F.lengths[v]=k}return F.addedLength=k,F}}();function a(d){var m=segmentsLengthPool.newElement(),y=d.c,g=d.v,P=d.o,v=d.i,_,b=d._length,S=m.lengths,C=0;for(_=0;_<b-1;_+=1)S[_]=r(g[_],g[_+1],P[_],v[_+1]),C+=S[_].addedLength;return y&&b&&(S[_]=r(g[_],g[0],P[_],v[0]),C+=S[_].addedLength),m.totalLength=C,m}function o(d){this.segmentLength=0,this.points=new Array(d)}function i(d,m){this.partialLength=d,this.point=m}var s=function(){var d={};return function(m,y,g,P){var v=(m[0]+"_"+m[1]+"_"+y[0]+"_"+y[1]+"_"+g[0]+"_"+g[1]+"_"+P[0]+"_"+P[1]).replace(/\./g,"p");if(!d[v]){var _=getDefaultCurveSegments(),b,S,C,k,T,w=0,E,F,L=null;m.length===2&&(m[0]!==y[0]||m[1]!==y[1])&&t(m[0],m[1],y[0],y[1],m[0]+g[0],m[1]+g[1])&&t(m[0],m[1],y[0],y[1],y[0]+P[0],y[1]+P[1])&&(_=2);var N=new o(_);for(C=g.length,b=0;b<_;b+=1){for(F=createSizedArray(C),T=b/(_-1),E=0,S=0;S<C;S+=1)k=bmPow(1-T,3)*m[S]+3*bmPow(1-T,2)*T*(m[S]+g[S])+3*(1-T)*bmPow(T,2)*(y[S]+P[S])+bmPow(T,3)*y[S],F[S]=k,L!==null&&(E+=bmPow(F[S]-L[S],2));E=bmSqrt(E),w+=E,N.points[b]=new i(E,F),L=F}N.segmentLength=w,d[v]=N}return d[v]}}();function l(d,m){var y=m.percents,g=m.lengths,P=y.length,v=bmFloor((P-1)*d),_=d*m.addedLength,b=0;if(v===P-1||v===0||_===g[v])return y[v];for(var S=g[v]>_?-1:1,C=!0;C;)if(g[v]<=_&&g[v+1]>_?(b=(_-g[v])/(g[v+1]-g[v]),C=!1):v+=S,v<0||v>=P-1){if(v===P-1)return y[v];C=!1}return y[v]+(y[v+1]-y[v])*b}function c(d,m,y,g,P,v){var _=l(P,v),b=1-_,S=e.round((b*b*b*d[0]+(_*b*b+b*_*b+b*b*_)*y[0]+(_*_*b+b*_*_+_*b*_)*g[0]+_*_*_*m[0])*1e3)/1e3,C=e.round((b*b*b*d[1]+(_*b*b+b*_*b+b*b*_)*y[1]+(_*_*b+b*_*_+_*b*_)*g[1]+_*_*_*m[1])*1e3)/1e3;return[S,C]}var u=createTypedArray("float32",8);function f(d,m,y,g,P,v,_){P<0?P=0:P>1&&(P=1);var b=l(P,_);v=v>1?1:v;var S=l(v,_),C,k=d.length,T=1-b,w=1-S,E=T*T*T,F=b*T*T*3,L=b*b*T*3,N=b*b*b,O=T*T*w,U=b*T*w+T*b*w+T*T*S,j=b*b*w+T*b*S+b*T*S,I=b*b*S,M=T*w*w,V=b*w*w+T*S*w+T*w*S,R=b*S*w+T*S*S+b*w*S,D=b*S*S,$=w*w*w,G=S*w*w+w*S*w+w*w*S,ne=S*S*w+w*S*S+S*w*S,oe=S*S*S;for(C=0;C<k;C+=1)u[C*4]=e.round((E*d[C]+F*y[C]+L*g[C]+N*m[C])*1e3)/1e3,u[C*4+1]=e.round((O*d[C]+U*y[C]+j*g[C]+I*m[C])*1e3)/1e3,u[C*4+2]=e.round((M*d[C]+V*y[C]+R*g[C]+D*m[C])*1e3)/1e3,u[C*4+3]=e.round(($*d[C]+G*y[C]+ne*g[C]+oe*m[C])*1e3)/1e3;return u}return{getSegmentsLength:a,getNewSegment:f,getPointInSegment:c,buildBezierData:s,pointOnLine2D:t,pointOnLine3D:n}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var n=this.offsetTime,r;this.propType==="multidimensional"&&(r=createTypedArray("float32",this.pv.length));for(var a=t.lastIndex,o=a,i=this.keyframes.length-1,s=!0,l,c,u;s;){if(l=this.keyframes[o],c=this.keyframes[o+1],o===i-1&&e>=c.t-n){l.h&&(l=c),a=0;break}if(c.t-n>e){a=o;break}o<i-1?o+=1:(a=0,s=!1)}u=this.keyframesMetadata[o]||{};var f,d,m,y,g,P,v=c.t-n,_=l.t-n,b;if(l.to){u.bezierData||(u.bezierData=bez.buildBezierData(l.s,c.s||l.e,l.to,l.ti));var S=u.bezierData;if(e>=v||e<_){var C=e>=v?S.points.length-1:0;for(d=S.points[C].point.length,f=0;f<d;f+=1)r[f]=S.points[C].point[f]}else{u.__fnct?P=u.__fnct:(P=BezierFactory.getBezierEasing(l.o.x,l.o.y,l.i.x,l.i.y,l.n).get,u.__fnct=P),m=P((e-_)/(v-_));var k=S.segmentLength*m,T,w=t.lastFrame<e&&t._lastKeyframeIndex===o?t._lastAddedLength:0;for(g=t.lastFrame<e&&t._lastKeyframeIndex===o?t._lastPoint:0,s=!0,y=S.points.length;s;){if(w+=S.points[g].partialLength,k===0||m===0||g===S.points.length-1){for(d=S.points[g].point.length,f=0;f<d;f+=1)r[f]=S.points[g].point[f];break}else if(k>=w&&k<w+S.points[g+1].partialLength){for(T=(k-w)/S.points[g+1].partialLength,d=S.points[g].point.length,f=0;f<d;f+=1)r[f]=S.points[g].point[f]+(S.points[g+1].point[f]-S.points[g].point[f])*T;break}g<y-1?g+=1:s=!1}t._lastPoint=g,t._lastAddedLength=w-S.points[g].partialLength,t._lastKeyframeIndex=o}}else{var E,F,L,N,O;if(i=l.s.length,b=c.s||l.e,this.sh&&l.h!==1)if(e>=v)r[0]=b[0],r[1]=b[1],r[2]=b[2];else if(e<=_)r[0]=l.s[0],r[1]=l.s[1],r[2]=l.s[2];else{var U=createQuaternion(l.s),j=createQuaternion(b),I=(e-_)/(v-_);quaternionToEuler(r,slerp(U,j,I))}else for(o=0;o<i;o+=1)l.h!==1&&(e>=v?m=1:e<_?m=0:(l.o.x.constructor===Array?(u.__fnct||(u.__fnct=[]),u.__fnct[o]?P=u.__fnct[o]:(E=l.o.x[o]===void 0?l.o.x[0]:l.o.x[o],F=l.o.y[o]===void 0?l.o.y[0]:l.o.y[o],L=l.i.x[o]===void 0?l.i.x[0]:l.i.x[o],N=l.i.y[o]===void 0?l.i.y[0]:l.i.y[o],P=BezierFactory.getBezierEasing(E,F,L,N).get,u.__fnct[o]=P)):u.__fnct?P=u.__fnct:(E=l.o.x,F=l.o.y,L=l.i.x,N=l.i.y,P=BezierFactory.getBezierEasing(E,F,L,N).get,l.keyframeMetadata=P),m=P((e-_)/(v-_)))),b=c.s||l.e,O=l.h===1?l.s[o]:l.s[o]+(b[o]-l.s[o])*m,this.propType==="multidimensional"?r[o]=O:r=O}return t.lastIndex=a,r}function slerp(e,t,n){var r=[],a=e[0],o=e[1],i=e[2],s=e[3],l=t[0],c=t[1],u=t[2],f=t[3],d,m,y,g,P;return m=a*l+o*c+i*u+s*f,m<0&&(m=-m,l=-l,c=-c,u=-u,f=-f),1-m>1e-6?(d=Math.acos(m),y=Math.sin(d),g=Math.sin((1-n)*d)/y,P=Math.sin(n*d)/y):(g=1-n,P=n),r[0]=g*a+P*l,r[1]=g*o+P*c,r[2]=g*i+P*u,r[3]=g*s+P*f,r}function quaternionToEuler(e,t){var n=t[0],r=t[1],a=t[2],o=t[3],i=Math.atan2(2*r*o-2*n*a,1-2*r*r-2*a*a),s=Math.asin(2*n*r+2*a*o),l=Math.atan2(2*n*o-2*r*a,1-2*n*n-2*a*a);e[0]=i/degToRads,e[1]=s/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,n=e[1]*degToRads,r=e[2]*degToRads,a=Math.cos(t/2),o=Math.cos(n/2),i=Math.cos(r/2),s=Math.sin(t/2),l=Math.sin(n/2),c=Math.sin(r/2),u=a*o*i-s*l*c,f=s*l*i+a*o*c,d=s*o*i+a*l*c,m=a*l*i-s*o*c;return[f,d,m,u]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=n&&e>=n||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(e,this._caching);this.pv=r}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var n=0,r=this.v.length;n<r;)t=e[n]*this.mult,mathAbs(this.v[n]-t)>1e-5&&(this.v[n]=t,this._mdf=!0),n+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)n=this.effectsSequence[e](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,n,r){this.propType="unidimensional",this.mult=n||1,this.data=t,this.v=n?t.k*n:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,n,r){this.propType="multidimensional",this.mult=n||1,this.data=t,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var a,o=t.k.length;for(this.v=createTypedArray("float32",o),this.pv=createTypedArray("float32",o),this.vel=createTypedArray("float32",o),a=0;a<o;a+=1)this.v[a]=t.k[a]*this.mult,this.pv[a]=t.k[a];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,n,r){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=n||1,this.elem=e,this.container=r,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,n,r){this.propType="multidimensional";var a,o=t.k.length,i,s,l,c;for(a=0;a<o-1;a+=1)t.k[a].to&&t.k[a].s&&t.k[a+1]&&t.k[a+1].s&&(i=t.k[a].s,s=t.k[a+1].s,l=t.k[a].to,c=t.k[a].ti,(i.length===2&&!(i[0]===s[0]&&i[1]===s[1])&&bez.pointOnLine2D(i[0],i[1],s[0],s[1],i[0]+l[0],i[1]+l[1])&&bez.pointOnLine2D(i[0],i[1],s[0],s[1],s[0]+c[0],s[1]+c[1])||i.length===3&&!(i[0]===s[0]&&i[1]===s[1]&&i[2]===s[2])&&bez.pointOnLine3D(i[0],i[1],i[2],s[0],s[1],s[2],i[0]+l[0],i[1]+l[1],i[2]+l[2])&&bez.pointOnLine3D(i[0],i[1],i[2],s[0],s[1],s[2],s[0]+c[0],s[1]+c[1],s[2]+c[2]))&&(t.k[a].to=null,t.k[a].ti=null),i[0]===s[0]&&i[1]===s[1]&&l[0]===0&&l[1]===0&&c[0]===0&&c[1]===0&&(i.length===2||i[2]===s[2]&&l[2]===0&&c[2]===0)&&(t.k[a].to=null,t.k[a].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=n||1,this.elem=e,this.container=r,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var u=t.k[0].s.length;for(this.v=createTypedArray("float32",u),this.pv=createTypedArray("float32",u),a=0;a<u;a+=1)this.v[a]=initFrame,this.pv[a]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",u)},this.addEffect=addEffect}var PropertyFactory=function(){function e(n,r,a,o,i){r.sid&&(r=n.globalData.slotManager.getProp(r));var s;if(!r.k.length)s=new ValueProperty(n,r,o,i);else if(typeof r.k[0]=="number")s=new MultiDimensionalProperty(n,r,o,i);else switch(a){case 0:s=new KeyframedValueProperty(n,r,o,i);break;case 1:s=new KeyframedMultidimensionalProperty(n,r,o,i);break}return s.effectsSequence.length&&i.addDynamicProperty(s),s}var t={getProp:e};return t}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,n=this.dynamicProperties.length;for(t=0;t<n;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function e(){return createTypedArray("float32",2)}return poolFactory(8,e)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var n=0;n<t;)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,n,r,a){var o;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[];break}(!o[r]||o[r]&&!a)&&(o[r]=pointPool.newElement()),o[r][0]=e,o[r][1]=t},ShapePath.prototype.setTripleAt=function(e,t,n,r,a,o,i,s){this.setXYAt(e,t,"v",i,s),this.setXYAt(n,r,"o",i,s),this.setXYAt(a,o,"i",i,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,n=this.o,r=this.i,a=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),a=1);var o=this._length-1,i=this._length,s;for(s=a;s<i;s+=1)e.setTripleAt(t[o][0],t[o][1],r[o][0],r[o][1],n[o][0],n[o][1],s,!1),o-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(a){var o=a._length,i;for(i=0;i<o;i+=1)pointPool.release(a.v[i]),pointPool.release(a.i[i]),pointPool.release(a.o[i]),a.v[i]=null,a.i[i]=null,a.o[i]=null;a._length=0,a.c=!1}function n(a){var o=r.newElement(),i,s=a._length===void 0?a.v.length:a._length;for(o.setLength(s),o.c=a.c,i=0;i<s;i+=1)o.setTripleAt(a.v[i][0],a.v[i][1],a.o[i][0],a.o[i][1],a.i[i][0],a.i[i][1],i);return o}var r=poolFactory(4,e,t);return r.clone=n,r}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:a,release:o},t=0,n=4,r=createSizedArray(n);function a(){var i;return t?(t-=1,i=r[t]):i=new ShapeCollection,i}function o(i){var s,l=i._length;for(s=0;s<l;s+=1)shapePool.release(i.shapes[s]);i._length=0,t===n&&(r=pooling.double(r),n*=2),r[t]=i,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(v,_,b){var S=b.lastIndex,C,k,T,w,E,F,L,N,O,U=this.keyframes;if(v<U[0].t-this.offsetTime)C=U[0].s[0],T=!0,S=0;else if(v>=U[U.length-1].t-this.offsetTime)C=U[U.length-1].s?U[U.length-1].s[0]:U[U.length-2].e[0],T=!0;else{for(var j=S,I=U.length-1,M=!0,V,R,D;M&&(V=U[j],R=U[j+1],!(R.t-this.offsetTime>v));)j<I-1?j+=1:M=!1;if(D=this.keyframesMetadata[j]||{},T=V.h===1,S=j,!T){if(v>=R.t-this.offsetTime)N=1;else if(v<V.t-this.offsetTime)N=0;else{var $;D.__fnct?$=D.__fnct:($=BezierFactory.getBezierEasing(V.o.x,V.o.y,V.i.x,V.i.y).get,D.__fnct=$),N=$((v-(V.t-this.offsetTime))/(R.t-this.offsetTime-(V.t-this.offsetTime)))}k=R.s?R.s[0]:V.e[0]}C=V.s[0]}for(F=_._length,L=C.i[0].length,b.lastIndex=S,w=0;w<F;w+=1)for(E=0;E<L;E+=1)O=T?C.i[w][E]:C.i[w][E]+(k.i[w][E]-C.i[w][E])*N,_.i[w][E]=O,O=T?C.o[w][E]:C.o[w][E]+(k.o[w][E]-C.o[w][E])*N,_.o[w][E]=O,O=T?C.v[w][E]:C.v[w][E]+(k.v[w][E]-C.v[w][E])*N,_.v[w][E]=O}function n(){var v=this.comp.renderedFrame-this.offsetTime,_=this.keyframes[0].t-this.offsetTime,b=this.keyframes[this.keyframes.length-1].t-this.offsetTime,S=this._caching.lastFrame;return S!==e&&(S<_&&v<_||S>b&&v>b)||(this._caching.lastIndex=S<v?this._caching.lastIndex:0,this.interpolateShape(v,this.pv,this._caching)),this._caching.lastFrame=v,this.pv}function r(){this.paths=this.localShapeCollection}function a(v,_){if(v._length!==_._length||v.c!==_.c)return!1;var b,S=v._length;for(b=0;b<S;b+=1)if(v.v[b][0]!==_.v[b][0]||v.v[b][1]!==_.v[b][1]||v.o[b][0]!==_.o[b][0]||v.o[b][1]!==_.o[b][1]||v.i[b][0]!==_.i[b][0]||v.i[b][1]!==_.i[b][1])return!1;return!0}function o(v){a(this.v,v)||(this.v=shapePool.clone(v),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var v;this.kf?v=this.pv:this.data.ks?v=this.data.ks.k:v=this.data.pt.k;var _,b=this.effectsSequence.length;for(_=0;_<b;_+=1)v=this.effectsSequence[_](v);this.setVValue(v),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function s(v,_,b){this.propType="shape",this.comp=v.comp,this.container=v,this.elem=v,this.data=_,this.k=!1,this.kf=!1,this._mdf=!1;var S=b===3?_.pt.k:_.ks.k;this.v=shapePool.clone(S),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function l(v){this.effectsSequence.push(v),this.container.addDynamicProperty(this)}s.prototype.interpolateShape=t,s.prototype.getValue=i,s.prototype.setVValue=o,s.prototype.addEffect=l;function c(v,_,b){this.propType="shape",this.comp=v.comp,this.elem=v,this.container=v,this.offsetTime=v.data.st,this.keyframes=b===3?_.pt.k:_.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var S=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,S),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=r,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[n.bind(this)]}c.prototype.getValue=i,c.prototype.interpolateShape=t,c.prototype.setVValue=o,c.prototype.addEffect=l;var u=function(){var v=roundCorner;function _(b,S){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=S.d,this.elem=b,this.comp=b.comp,this.frameId=-1,this.initDynamicPropertyContainer(b),this.p=PropertyFactory.getProp(b,S.p,1,0,this),this.s=PropertyFactory.getProp(b,S.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return _.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var S=this.p.v[0],C=this.p.v[1],k=this.s.v[0]/2,T=this.s.v[1]/2,w=this.d!==3,E=this.v;E.v[0][0]=S,E.v[0][1]=C-T,E.v[1][0]=w?S+k:S-k,E.v[1][1]=C,E.v[2][0]=S,E.v[2][1]=C+T,E.v[3][0]=w?S-k:S+k,E.v[3][1]=C,E.i[0][0]=w?S-k*v:S+k*v,E.i[0][1]=C-T,E.i[1][0]=w?S+k:S-k,E.i[1][1]=C-T*v,E.i[2][0]=w?S+k*v:S-k*v,E.i[2][1]=C+T,E.i[3][0]=w?S-k:S+k,E.i[3][1]=C+T*v,E.o[0][0]=w?S+k*v:S-k*v,E.o[0][1]=C-T,E.o[1][0]=w?S+k:S-k,E.o[1][1]=C+T*v,E.o[2][0]=w?S-k*v:S+k*v,E.o[2][1]=C+T,E.o[3][0]=w?S-k:S+k,E.o[3][1]=C-T*v}},extendPrototype([DynamicPropertyContainer],_),_}(),f=function(){function v(_,b){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=_,this.comp=_.comp,this.data=b,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(_),b.sy===1?(this.ir=PropertyFactory.getProp(_,b.ir,0,0,this),this.is=PropertyFactory.getProp(_,b.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(_,b.pt,0,0,this),this.p=PropertyFactory.getProp(_,b.p,1,0,this),this.r=PropertyFactory.getProp(_,b.r,0,degToRads,this),this.or=PropertyFactory.getProp(_,b.or,0,0,this),this.os=PropertyFactory.getProp(_,b.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return v.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var b=Math.floor(this.pt.v)*2,S=Math.PI*2/b,C=!0,k=this.or.v,T=this.ir.v,w=this.os.v,E=this.is.v,F=2*Math.PI*k/(b*2),L=2*Math.PI*T/(b*2),N,O,U,j,I=-Math.PI/2;I+=this.r.v;var M=this.data.d===3?-1:1;for(this.v._length=0,N=0;N<b;N+=1){O=C?k:T,U=C?w:E,j=C?F:L;var V=O*Math.cos(I),R=O*Math.sin(I),D=V===0&&R===0?0:R/Math.sqrt(V*V+R*R),$=V===0&&R===0?0:-V/Math.sqrt(V*V+R*R);V+=+this.p.v[0],R+=+this.p.v[1],this.v.setTripleAt(V,R,V-D*j*U*M,R-$*j*U*M,V+D*j*U*M,R+$*j*U*M,N,!0),C=!C,I+=S*M}},convertPolygonToPath:function(){var b=Math.floor(this.pt.v),S=Math.PI*2/b,C=this.or.v,k=this.os.v,T=2*Math.PI*C/(b*4),w,E=-Math.PI*.5,F=this.data.d===3?-1:1;for(E+=this.r.v,this.v._length=0,w=0;w<b;w+=1){var L=C*Math.cos(E),N=C*Math.sin(E),O=L===0&&N===0?0:N/Math.sqrt(L*L+N*N),U=L===0&&N===0?0:-L/Math.sqrt(L*L+N*N);L+=+this.p.v[0],N+=+this.p.v[1],this.v.setTripleAt(L,N,L-O*T*k*F,N-U*T*k*F,L+O*T*k*F,N+U*T*k*F,w,!0),E+=S*F}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],v),v}(),d=function(){function v(_,b){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=_,this.comp=_.comp,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(_),this.p=PropertyFactory.getProp(_,b.p,1,0,this),this.s=PropertyFactory.getProp(_,b.s,1,0,this),this.r=PropertyFactory.getProp(_,b.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return v.prototype={convertRectToPath:function(){var b=this.p.v[0],S=this.p.v[1],C=this.s.v[0]/2,k=this.s.v[1]/2,T=bmMin(C,k,this.r.v),w=T*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(b+C,S-k+T,b+C,S-k+T,b+C,S-k+w,0,!0),this.v.setTripleAt(b+C,S+k-T,b+C,S+k-w,b+C,S+k-T,1,!0),T!==0?(this.v.setTripleAt(b+C-T,S+k,b+C-T,S+k,b+C-w,S+k,2,!0),this.v.setTripleAt(b-C+T,S+k,b-C+w,S+k,b-C+T,S+k,3,!0),this.v.setTripleAt(b-C,S+k-T,b-C,S+k-T,b-C,S+k-w,4,!0),this.v.setTripleAt(b-C,S-k+T,b-C,S-k+w,b-C,S-k+T,5,!0),this.v.setTripleAt(b-C+T,S-k,b-C+T,S-k,b-C+w,S-k,6,!0),this.v.setTripleAt(b+C-T,S-k,b+C-w,S-k,b+C-T,S-k,7,!0)):(this.v.setTripleAt(b-C,S+k,b-C+w,S+k,b-C,S+k,2),this.v.setTripleAt(b-C,S-k,b-C,S-k+w,b-C,S-k,3))):(this.v.setTripleAt(b+C,S-k+T,b+C,S-k+w,b+C,S-k+T,0,!0),T!==0?(this.v.setTripleAt(b+C-T,S-k,b+C-T,S-k,b+C-w,S-k,1,!0),this.v.setTripleAt(b-C+T,S-k,b-C+w,S-k,b-C+T,S-k,2,!0),this.v.setTripleAt(b-C,S-k+T,b-C,S-k+T,b-C,S-k+w,3,!0),this.v.setTripleAt(b-C,S+k-T,b-C,S+k-w,b-C,S+k-T,4,!0),this.v.setTripleAt(b-C+T,S+k,b-C+T,S+k,b-C+w,S+k,5,!0),this.v.setTripleAt(b+C-T,S+k,b+C-w,S+k,b+C-T,S+k,6,!0),this.v.setTripleAt(b+C,S+k-T,b+C,S+k-T,b+C,S+k-w,7,!0)):(this.v.setTripleAt(b-C,S-k,b-C+w,S-k,b-C,S-k,1,!0),this.v.setTripleAt(b-C,S+k,b-C,S+k-w,b-C,S+k,2,!0),this.v.setTripleAt(b+C,S+k,b+C-w,S+k,b+C,S+k,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],v),v}();function m(v,_,b){var S;if(b===3||b===4){var C=b===3?_.pt:_.ks,k=C.k;k.length?S=new c(v,_,b):S=new s(v,_,b)}else b===5?S=new d(v,_):b===6?S=new u(v,_):b===7&&(S=new f(v,_));return S.k&&v.addDynamicProperty(S),S}function y(){return s}function g(){return c}var P={};return P.getShapeProp=m,P.getConstructorFunction=y,P.getKeyframedConstructorFunction=g,P}();/*!
 Transformation Matrix v2.0
 (c) Epistemex 2014-2015
 www.epistemex.com
 By Ken Fyrstenberg
 Contributions by leeoniya.
 License: MIT, header required.
 */var Matrix=function(){var e=Math.cos,t=Math.sin,n=Math.tan,r=Math.round;function a(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(V){if(V===0)return this;var R=e(V),D=t(V);return this._t(R,-D,0,0,D,R,0,0,0,0,1,0,0,0,0,1)}function i(V){if(V===0)return this;var R=e(V),D=t(V);return this._t(1,0,0,0,0,R,-D,0,0,D,R,0,0,0,0,1)}function s(V){if(V===0)return this;var R=e(V),D=t(V);return this._t(R,0,D,0,0,1,0,0,-D,0,R,0,0,0,0,1)}function l(V){if(V===0)return this;var R=e(V),D=t(V);return this._t(R,-D,0,0,D,R,0,0,0,0,1,0,0,0,0,1)}function c(V,R){return this._t(1,R,V,1,0,0)}function u(V,R){return this.shear(n(V),n(R))}function f(V,R){var D=e(R),$=t(R);return this._t(D,$,0,0,-$,D,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(V),1,0,0,0,0,1,0,0,0,0,1)._t(D,-$,0,0,$,D,0,0,0,0,1,0,0,0,0,1)}function d(V,R,D){return!D&&D!==0&&(D=1),V===1&&R===1&&D===1?this:this._t(V,0,0,0,0,R,0,0,0,0,D,0,0,0,0,1)}function m(V,R,D,$,G,ne,oe,ce,ee,Y,Q,z,re,ue,de,x){return this.props[0]=V,this.props[1]=R,this.props[2]=D,this.props[3]=$,this.props[4]=G,this.props[5]=ne,this.props[6]=oe,this.props[7]=ce,this.props[8]=ee,this.props[9]=Y,this.props[10]=Q,this.props[11]=z,this.props[12]=re,this.props[13]=ue,this.props[14]=de,this.props[15]=x,this}function y(V,R,D){return D=D||0,V!==0||R!==0||D!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,V,R,D,1):this}function g(V,R,D,$,G,ne,oe,ce,ee,Y,Q,z,re,ue,de,x){var A=this.props;if(V===1&&R===0&&D===0&&$===0&&G===0&&ne===1&&oe===0&&ce===0&&ee===0&&Y===0&&Q===1&&z===0)return A[12]=A[12]*V+A[15]*re,A[13]=A[13]*ne+A[15]*ue,A[14]=A[14]*Q+A[15]*de,A[15]*=x,this._identityCalculated=!1,this;var B=A[0],q=A[1],X=A[2],te=A[3],ie=A[4],le=A[5],se=A[6],ae=A[7],J=A[8],Z=A[9],fe=A[10],he=A[11],pe=A[12],ve=A[13],me=A[14],ge=A[15];return A[0]=B*V+q*G+X*ee+te*re,A[1]=B*R+q*ne+X*Y+te*ue,A[2]=B*D+q*oe+X*Q+te*de,A[3]=B*$+q*ce+X*z+te*x,A[4]=ie*V+le*G+se*ee+ae*re,A[5]=ie*R+le*ne+se*Y+ae*ue,A[6]=ie*D+le*oe+se*Q+ae*de,A[7]=ie*$+le*ce+se*z+ae*x,A[8]=J*V+Z*G+fe*ee+he*re,A[9]=J*R+Z*ne+fe*Y+he*ue,A[10]=J*D+Z*oe+fe*Q+he*de,A[11]=J*$+Z*ce+fe*z+he*x,A[12]=pe*V+ve*G+me*ee+ge*re,A[13]=pe*R+ve*ne+me*Y+ge*ue,A[14]=pe*D+ve*oe+me*Q+ge*de,A[15]=pe*$+ve*ce+me*z+ge*x,this._identityCalculated=!1,this}function P(V){var R=V.props;return this.transform(R[0],R[1],R[2],R[3],R[4],R[5],R[6],R[7],R[8],R[9],R[10],R[11],R[12],R[13],R[14],R[15])}function v(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function _(V){for(var R=0;R<16;){if(V.props[R]!==this.props[R])return!1;R+=1}return!0}function b(V){var R;for(R=0;R<16;R+=1)V.props[R]=this.props[R];return V}function S(V){var R;for(R=0;R<16;R+=1)this.props[R]=V[R]}function C(V,R,D){return{x:V*this.props[0]+R*this.props[4]+D*this.props[8]+this.props[12],y:V*this.props[1]+R*this.props[5]+D*this.props[9]+this.props[13],z:V*this.props[2]+R*this.props[6]+D*this.props[10]+this.props[14]}}function k(V,R,D){return V*this.props[0]+R*this.props[4]+D*this.props[8]+this.props[12]}function T(V,R,D){return V*this.props[1]+R*this.props[5]+D*this.props[9]+this.props[13]}function w(V,R,D){return V*this.props[2]+R*this.props[6]+D*this.props[10]+this.props[14]}function E(){var V=this.props[0]*this.props[5]-this.props[1]*this.props[4],R=this.props[5]/V,D=-this.props[1]/V,$=-this.props[4]/V,G=this.props[0]/V,ne=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/V,oe=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/V,ce=new Matrix;return ce.props[0]=R,ce.props[1]=D,ce.props[4]=$,ce.props[5]=G,ce.props[12]=ne,ce.props[13]=oe,ce}function F(V){var R=this.getInverseMatrix();return R.applyToPointArray(V[0],V[1],V[2]||0)}function L(V){var R,D=V.length,$=[];for(R=0;R<D;R+=1)$[R]=F(V[R]);return $}function N(V,R,D){var $=createTypedArray("float32",6);if(this.isIdentity())$[0]=V[0],$[1]=V[1],$[2]=R[0],$[3]=R[1],$[4]=D[0],$[5]=D[1];else{var G=this.props[0],ne=this.props[1],oe=this.props[4],ce=this.props[5],ee=this.props[12],Y=this.props[13];$[0]=V[0]*G+V[1]*oe+ee,$[1]=V[0]*ne+V[1]*ce+Y,$[2]=R[0]*G+R[1]*oe+ee,$[3]=R[0]*ne+R[1]*ce+Y,$[4]=D[0]*G+D[1]*oe+ee,$[5]=D[0]*ne+D[1]*ce+Y}return $}function O(V,R,D){var $;return this.isIdentity()?$=[V,R,D]:$=[V*this.props[0]+R*this.props[4]+D*this.props[8]+this.props[12],V*this.props[1]+R*this.props[5]+D*this.props[9]+this.props[13],V*this.props[2]+R*this.props[6]+D*this.props[10]+this.props[14]],$}function U(V,R){if(this.isIdentity())return V+","+R;var D=this.props;return Math.round((V*D[0]+R*D[4]+D[12])*100)/100+","+Math.round((V*D[1]+R*D[5]+D[13])*100)/100}function j(){for(var V=0,R=this.props,D="matrix3d(",$=1e4;V<16;)D+=r(R[V]*$)/$,D+=V===15?")":",",V+=1;return D}function I(V){var R=1e4;return V<1e-6&&V>0||V>-1e-6&&V<0?r(V*R)/R:V}function M(){var V=this.props,R=I(V[0]),D=I(V[1]),$=I(V[4]),G=I(V[5]),ne=I(V[12]),oe=I(V[13]);return"matrix("+R+","+D+","+$+","+G+","+ne+","+oe+")"}return function(){this.reset=a,this.rotate=o,this.rotateX=i,this.rotateY=s,this.rotateZ=l,this.skew=u,this.skewFromAxis=f,this.shear=c,this.scale=d,this.setTransform=m,this.translate=y,this.transform=g,this.multiply=P,this.applyToPoint=C,this.applyToX=k,this.applyToY=T,this.applyToZ=w,this.applyToPointArray=O,this.applyToTriplePoints=N,this.applyToPointStringified=U,this.toCSS=j,this.to2dCSS=M,this.clone=b,this.cloneFromProps=S,this.equals=_,this.inversePoints=L,this.inversePoint=F,this.getInverseMatrix=E,this._t=this.transform,this.isIdentity=v,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(n){return typeof n}:_typeof$3=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return typeof navigator<"u"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),n=0;n<t.length;n+=1){var r=t[n].split("=");if(decodeURIComponent(r[0])==e)return decodeURIComponent(r[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};e.registerModifier=n,e.getModifier=r;function n(a,o){t[a]||(t[a]=o)}function r(a,o,i){return new t[a](o,i)}return e}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,n,r,a){var o=[];t<=1?o.push({s:e,e:t}):e>=1?o.push({s:e-1,e:t-1}):(o.push({s:e,e:1}),o.push({s:0,e:t-1}));var i=[],s,l=o.length,c;for(s=0;s<l;s+=1)if(c=o[s],!(c.e*a<r||c.s*a>r+n)){var u,f;c.s*a<=r?u=0:u=(c.s*a-r)/n,c.e*a>=r+n?f=1:f=(c.e*a-r)/n,i.push([u,f])}return i.length||i.push([0,0]),i},TrimModifier.prototype.releasePathsData=function(e){var t,n=e.length;for(t=0;t<n;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,n;if(this._mdf||e){var r=this.o.v%360/360;if(r<0&&(r+=1),this.s.v>1?t=1+r:this.s.v<0?t=0+r:t=this.s.v+r,this.e.v>1?n=1+r:this.e.v<0?n=0+r:n=this.e.v+r,t>n){var a=t;t=n,n=a}t=Math.round(t*1e4)*1e-4,n=Math.round(n*1e4)*1e-4,this.sValue=t,this.eValue=n}else t=this.sValue,n=this.eValue;var o,i,s=this.shapes.length,l,c,u,f,d,m=0;if(n===t)for(i=0;i<s;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(n===1&&t===0||n===0&&t===1){if(this._mdf)for(i=0;i<s;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var y=[],g,P;for(i=0;i<s;i+=1)if(g=this.shapes[i],!g.shape._mdf&&!this._mdf&&!e&&this.m!==2)g.shape.paths=g.localShapeCollection;else{if(o=g.shape.paths,c=o._length,d=0,!g.shape._mdf&&g.pathsData.length)d=g.totalShapeLength;else{for(u=this.releasePathsData(g.pathsData),l=0;l<c;l+=1)f=bez.getSegmentsLength(o.shapes[l]),u.push(f),d+=f.totalLength;g.totalShapeLength=d,g.pathsData=u}m+=d,g.shape._mdf=!0}var v=t,_=n,b=0,S;for(i=s-1;i>=0;i-=1)if(g=this.shapes[i],g.shape._mdf){for(P=g.localShapeCollection,P.releaseShapes(),this.m===2&&s>1?(S=this.calculateShapeEdges(t,n,g.totalShapeLength,b,m),b+=g.totalShapeLength):S=[[v,_]],c=S.length,l=0;l<c;l+=1){v=S[l][0],_=S[l][1],y.length=0,_<=1?y.push({s:g.totalShapeLength*v,e:g.totalShapeLength*_}):v>=1?y.push({s:g.totalShapeLength*(v-1),e:g.totalShapeLength*(_-1)}):(y.push({s:g.totalShapeLength*v,e:g.totalShapeLength}),y.push({s:0,e:g.totalShapeLength*(_-1)}));var C=this.addShapes(g,y[0]);if(y[0].s!==y[0].e){if(y.length>1){var k=g.shape.paths.shapes[g.shape.paths._length-1];if(k.c){var T=C.pop();this.addPaths(C,P),C=this.addShapes(g,y[1],T)}else this.addPaths(C,P),C=this.addShapes(g,y[1])}this.addPaths(C,P)}}g.shape.paths=P}}},TrimModifier.prototype.addPaths=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t.addShape(e[n])},TrimModifier.prototype.addSegment=function(e,t,n,r,a,o,i){a.setXYAt(t[0],t[1],"o",o),a.setXYAt(n[0],n[1],"i",o+1),i&&a.setXYAt(e[0],e[1],"v",o),a.setXYAt(r[0],r[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,n,r){t.setXYAt(e[1],e[5],"o",n),t.setXYAt(e[2],e[6],"i",n+1),r&&t.setXYAt(e[0],e[4],"v",n),t.setXYAt(e[3],e[7],"v",n+1)},TrimModifier.prototype.addShapes=function(e,t,n){var r=e.pathsData,a=e.shape.paths.shapes,o,i=e.shape.paths._length,s,l,c=0,u,f,d,m,y=[],g,P=!0;for(n?(f=n._length,g=n._length):(n=shapePool.newElement(),f=0,g=0),y.push(n),o=0;o<i;o+=1){for(d=r[o].lengths,n.c=a[o].c,l=a[o].c?d.length:d.length+1,s=1;s<l;s+=1)if(u=d[s-1],c+u.addedLength<t.s)c+=u.addedLength,n.c=!1;else if(c>t.e){n.c=!1;break}else t.s<=c&&t.e>=c+u.addedLength?(this.addSegment(a[o].v[s-1],a[o].o[s-1],a[o].i[s],a[o].v[s],n,f,P),P=!1):(m=bez.getNewSegment(a[o].v[s-1],a[o].v[s],a[o].o[s-1],a[o].i[s],(t.s-c)/u.addedLength,(t.e-c)/u.addedLength,d[s-1]),this.addSegmentFromArray(m,n,f,P),P=!1,n.c=!1),c+=u.addedLength,f+=1;if(a[o].c&&d.length){if(u=d[s-1],c<=t.e){var v=d[s-1].addedLength;t.s<=c&&t.e>=c+v?(this.addSegment(a[o].v[s-1],a[o].o[s-1],a[o].i[0],a[o].v[0],n,f,P),P=!1):(m=bez.getNewSegment(a[o].v[s-1],a[o].v[0],a[o].o[s-1],a[o].i[0],(t.s-c)/v,(t.e-c)/v,d[s-1]),this.addSegmentFromArray(m,n,f,P),P=!1,n.c=!1)}else n.c=!1;c+=u.addedLength,f+=1}if(n._length&&(n.setXYAt(n.v[g][0],n.v[g][1],"i",g),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),c>t.e)break;o<i-1&&(n=shapePool.newElement(),P=!0,y.push(n),f=0)}return y};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var n=t/100,r=[0,0],a=e._length,o=0;for(o=0;o<a;o+=1)r[0]+=e.v[o][0],r[1]+=e.v[o][1];r[0]/=a,r[1]/=a;var i=shapePool.newElement();i.c=e.c;var s,l,c,u,f,d;for(o=0;o<a;o+=1)s=e.v[o][0]+(r[0]-e.v[o][0])*n,l=e.v[o][1]+(r[1]-e.v[o][1])*n,c=e.o[o][0]+(r[0]-e.o[o][0])*-n,u=e.o[o][1]+(r[1]-e.o[o][1])*-n,f=e.i[o][0]+(r[0]-e.i[o][0])*-n,d=e.i[o][1]+(r[1]-e.i[o][1])*-n,i.setTripleAt(s,l,c,u,f,d,o);return i},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,n,r=this.shapes.length,a,o,i=this.amount.v;if(i!==0){var s,l;for(n=0;n<r;n+=1){if(s=this.shapes[n],l=s.localShapeCollection,!(!s.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),s.shape._mdf=!0,t=s.shape.paths.shapes,o=s.shape.paths._length,a=0;a<o;a+=1)l.addShape(this.processPath(t[a],i));s.shape.paths=s.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(l){var c=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||c,this.a&&l.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&l.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&l.skewFromAxis(-this.sk.v,this.sa.v),this.r?l.rotate(-this.r.v):l.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?l.translate(this.px.v,this.py.v,-this.pz.v):l.translate(this.px.v,this.py.v,0):l.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function n(l){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||l){var c;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var u,f;if(c=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(u=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/c,0),f=this.p.getValueAtTime(this.p.keyframes[0].t/c,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(u=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/c,0),f=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/c,0)):(u=this.p.pv,f=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/c,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){u=[],f=[];var d=this.px,m=this.py;d._caching.lastFrame+d.offsetTime<=d.keyframes[0].t?(u[0]=d.getValueAtTime((d.keyframes[0].t+.01)/c,0),u[1]=m.getValueAtTime((m.keyframes[0].t+.01)/c,0),f[0]=d.getValueAtTime(d.keyframes[0].t/c,0),f[1]=m.getValueAtTime(m.keyframes[0].t/c,0)):d._caching.lastFrame+d.offsetTime>=d.keyframes[d.keyframes.length-1].t?(u[0]=d.getValueAtTime(d.keyframes[d.keyframes.length-1].t/c,0),u[1]=m.getValueAtTime(m.keyframes[m.keyframes.length-1].t/c,0),f[0]=d.getValueAtTime((d.keyframes[d.keyframes.length-1].t-.01)/c,0),f[1]=m.getValueAtTime((m.keyframes[m.keyframes.length-1].t-.01)/c,0)):(u=[d.pv,m.pv],f[0]=d.getValueAtTime((d._caching.lastFrame+d.offsetTime-.01)/c,d.offsetTime),f[1]=m.getValueAtTime((m._caching.lastFrame+m.offsetTime-.01)/c,m.offsetTime))}else f=e,u=f;this.v.rotate(-Math.atan2(u[1]-f[1],u[0]-f[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function r(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function a(){}function o(l){this._addDynamicProperty(l),this.elem.addDynamicProperty(l),this._isDirty=!0}function i(l,c,u){if(this.elem=l,this.frameId=-1,this.propType="transform",this.data=c,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(u||l),c.p&&c.p.s?(this.px=PropertyFactory.getProp(l,c.p.x,0,0,this),this.py=PropertyFactory.getProp(l,c.p.y,0,0,this),c.p.z&&(this.pz=PropertyFactory.getProp(l,c.p.z,0,0,this))):this.p=PropertyFactory.getProp(l,c.p||{k:[0,0,0]},1,0,this),c.rx){if(this.rx=PropertyFactory.getProp(l,c.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(l,c.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(l,c.rz,0,degToRads,this),c.or.k[0].ti){var f,d=c.or.k.length;for(f=0;f<d;f+=1)c.or.k[f].to=null,c.or.k[f].ti=null}this.or=PropertyFactory.getProp(l,c.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(l,c.r||{k:0},0,degToRads,this);c.sk&&(this.sk=PropertyFactory.getProp(l,c.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(l,c.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(l,c.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(l,c.s||{k:[100,100,100]},1,.01,this),c.o?this.o=PropertyFactory.getProp(l,c.o,0,.01,l):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}i.prototype={applyToMatrix:t,getValue:n,precalculateMatrix:r,autoOrient:a},extendPrototype([DynamicPropertyContainer],i),i.prototype.addDynamicProperty=o,i.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function s(l,c,u){return new i(l,c,u)}return{getTransformProperty:s}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,n,r,a,o){var i=o?-1:1,s=r.s.v[0]+(1-r.s.v[0])*(1-a),l=r.s.v[1]+(1-r.s.v[1])*(1-a);e.translate(r.p.v[0]*i*a,r.p.v[1]*i*a,r.p.v[2]),t.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),t.rotate(-r.r.v*i*a),t.translate(r.a.v[0],r.a.v[1],r.a.v[2]),n.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),n.scale(o?1/s:s,o?1/l:l),n.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(e,t,n,r){for(this.elem=e,this.arr=t,this.pos=n,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[n]);n>0;)n-=1,this._elements.unshift(t[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t]._processed=!1,e[t].ty==="gr"&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]._render=t,e[n].ty==="gr"&&this.changeGroupRender(e[n].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,n,r,a,o,i=!1;if(this._mdf||e){var s=Math.ceil(this.c.v);if(this._groups.length<s){for(;this._groups.length<s;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),i=!0}o=0;var c;for(r=0;r<=this._groups.length-1;r+=1){if(c=o<s,this._groups[r]._render=c,this.changeGroupRender(this._groups[r].it,c),!c){var u=this.elemsData[r].it,f=u[u.length-1];f.transform.op.v!==0?(f.transform.op._mdf=!0,f.transform.op.v=0):f.transform.op._mdf=!1}o+=1}this._currentCopies=s;var d=this.o.v,m=d%1,y=d>0?Math.floor(d):Math.ceil(d),g=this.pMatrix.props,P=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var _=0;if(d>0){for(;_<y;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;m&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,m,!1),_+=m)}else if(d<0){for(;_>y;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;m&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-m,!0),_-=m)}r=this.data.m===1?0:this._currentCopies-1,a=this.data.m===1?1:-1,o=this._currentCopies;for(var b,S;o;){if(t=this.elemsData[r].it,n=t[t.length-1].transform.mProps.v.props,S=n.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),_!==0){for((r!==0&&a===1||r!==this._currentCopies-1&&a===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(P[0],P[1],P[2],P[3],P[4],P[5],P[6],P[7],P[8],P[9],P[10],P[11],P[12],P[13],P[14],P[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),b=0;b<S;b+=1)n[b]=this.matrix.props[b];this.matrix.reset()}else for(this.matrix.reset(),b=0;b<S;b+=1)n[b]=this.matrix.props[b];_+=1,o-=1,r+=a}}else for(o=this._currentCopies,r=0,a=1;o;)t=this.elemsData[r].it,n=t[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,o-=1,r+=a;return i},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var n=shapePool.newElement();n.c=e.c;var r,a=e._length,o,i,s,l,c,u,f=0,d,m,y,g,P,v;for(r=0;r<a;r+=1)o=e.v[r],s=e.o[r],i=e.i[r],o[0]===s[0]&&o[1]===s[1]&&o[0]===i[0]&&o[1]===i[1]?(r===0||r===a-1)&&!e.c?(n.setTripleAt(o[0],o[1],s[0],s[1],i[0],i[1],f),f+=1):(r===0?l=e.v[a-1]:l=e.v[r-1],c=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),u=c?Math.min(c/2,t)/c:0,P=o[0]+(l[0]-o[0])*u,d=P,v=o[1]-(o[1]-l[1])*u,m=v,y=d-(d-o[0])*roundCorner,g=m-(m-o[1])*roundCorner,n.setTripleAt(d,m,y,g,P,v,f),f+=1,r===a-1?l=e.v[0]:l=e.v[r+1],c=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),u=c?Math.min(c/2,t)/c:0,y=o[0]+(l[0]-o[0])*u,d=y,g=o[1]+(l[1]-o[1])*u,m=g,P=d-(d-o[0])*roundCorner,v=m-(m-o[1])*roundCorner,n.setTripleAt(d,m,y,g,P,v,f),f+=1):(n.setTripleAt(e.v[r][0],e.v[r][1],e.o[r][0],e.o[r][1],e.i[r][0],e.i[r][1],f),f+=1);return n},RoundCornersModifier.prototype.processShapes=function(e){var t,n,r=this.shapes.length,a,o,i=this.rd.v;if(i!==0){var s,l;for(n=0;n<r;n+=1){if(s=this.shapes[n],l=s.localShapeCollection,!(!s.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),s.shape._mdf=!0,t=s.shape.paths.shapes,o=s.shape.paths._length,a=0;a<o;a+=1)l.addShape(this.processPath(t[a],i));s.shape.paths=s.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(e,t){return Math.abs(e-t)*1e5<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,n){return e*(1-n)+t*n}function lerpPoint(e,t,n){return[lerp(e[0],t[0],n),lerp(e[1],t[1],n)]}function quadRoots(e,t,n){if(e===0)return[];var r=t*t-4*e*n;if(r<0)return[];var a=-t/(2*e);if(r===0)return[a];var o=Math.sqrt(r)/(2*e);return[a-o,a+o]}function polynomialCoefficients(e,t,n,r){return[-e+3*t-3*n+r,3*e-6*t+3*n,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,n,r,a){a&&pointEqual(e,t)&&(t=lerpPoint(e,r,1/3)),a&&pointEqual(n,r)&&(n=lerpPoint(e,r,2/3));var o=polynomialCoefficients(e[0],t[0],n[0],r[0]),i=polynomialCoefficients(e[1],t[1],n[1],r[1]);this.a=[o[0],i[0]],this.b=[o[1],i[1]],this.c=[o[2],i[2]],this.d=[o[3],i[3]],this.points=[e,t,n,r]}PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,n=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(n<0)return[];var r=Math.sqrt(n);return floatZero(r)?r>0&&r<1?[t]:[]:[t-r,t+r].filter(function(a){return a>0&&a<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),n=lerpPoint(this.points[1],this.points[2],e),r=lerpPoint(this.points[2],this.points[3],e),a=lerpPoint(t,n,e),o=lerpPoint(n,r,e),i=lerpPoint(a,o,e);return[new PolynomialBezier(this.points[0],t,a,i,!0),new PolynomialBezier(i,o,r,this.points[3],!0)]};function extrema(e,t){var n=e.points[0][t],r=e.points[e.points.length-1][t];if(n>r){var a=r;r=n,n=a}for(var o=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),i=0;i<o.length;i+=1)if(o[i]>0&&o[i]<1){var s=e.point(o[i])[t];s<n?n=s:s>r&&(r=s)}return{min:n,max:r}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,n){var r=e.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:e,t:(t+n)/2,t1:t,t2:n}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2<e.width+t.width&&Math.abs(e.cy-t.cy)*2<e.height+t.height}function intersectsImpl(e,t,n,r,a,o){if(boxIntersect(e,t)){if(n>=o||e.width<=r&&e.height<=r&&t.width<=r&&t.height<=r){a.push([e.t,t.t]);return}var i=splitData(e),s=splitData(t);intersectsImpl(i[0],s[0],n+1,r,a,o),intersectsImpl(i[0],s[1],n+1,r,a,o),intersectsImpl(i[1],s[0],n+1,r,a,o),intersectsImpl(i[1],s[1],n+1,r,a,o)}}PolynomialBezier.prototype.intersections=function(e,t,n){t===void 0&&(t=2),n===void 0&&(n=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,r,n),r},PolynomialBezier.shapeSegment=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[n],e.v[n],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[n],e.i[n],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,n,r){var a=[e[0],e[1],1],o=[t[0],t[1],1],i=[n[0],n[1],1],s=[r[0],r[1],1],l=crossProduct(crossProduct(a,o),crossProduct(i,s));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,n){return[e[0]+Math.cos(t)*n,e[1]-Math.sin(t)*n]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,n,r,a,o,i){var s=n-Math.PI/2,l=n+Math.PI/2,c=t[0]+Math.cos(n)*r*a,u=t[1]-Math.sin(n)*r*a;e.setTripleAt(c,u,c+Math.cos(s)*o,u-Math.sin(s)*o,c+Math.cos(l)*i,u-Math.sin(l)*i,e.length())}function getPerpendicularVector(e,t){var n=[t[0]-e[0],t[1]-e[1]],r=-Math.PI*.5,a=[Math.cos(r)*n[0]-Math.sin(r)*n[1],Math.sin(r)*n[0]+Math.cos(r)*n[1]];return a}function getProjectingAngle(e,t){var n=t===0?e.length()-1:t-1,r=(t+1)%e.length(),a=e.v[n],o=e.v[r],i=getPerpendicularVector(a,o);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(e,t,n,r,a,o,i){var s=getProjectingAngle(t,n),l=t.v[n%t._length],c=t.v[n===0?t._length-1:n-1],u=t.v[(n+1)%t._length],f=o===2?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,d=o===2?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0;setPoint(e,t.v[n%t._length],s,i,r,d/((a+1)*2),f/((a+1)*2))}function zigZagSegment(e,t,n,r,a,o){for(var i=0;i<r;i+=1){var s=(i+1)/(r+1),l=a===2?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,c=t.normalAngle(s),u=t.point(s);setPoint(e,u,c,o,n,l/((r+1)*2),l/((r+1)*2)),o=-o}return o}ZigZagModifier.prototype.processPath=function(e,t,n,r){var a=e._length,o=shapePool.newElement();if(o.c=e.c,e.c||(a-=1),a===0)return o;var i=-1,s=PolynomialBezier.shapeSegment(e,0);zigZagCorner(o,e,0,t,n,r,i);for(var l=0;l<a;l+=1)i=zigZagSegment(o,s,t,n,r,-i),l===a-1&&!e.c?s=null:s=PolynomialBezier.shapeSegment(e,(l+1)%a),zigZagCorner(o,e,l+1,t,n,r,i);return o},ZigZagModifier.prototype.processShapes=function(e){var t,n,r=this.shapes.length,a,o,i=this.amplitude.v,s=Math.max(0,Math.round(this.frequency.v)),l=this.pointsType.v;if(i!==0){var c,u;for(n=0;n<r;n+=1){if(c=this.shapes[n],u=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(u.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,o=c.shape.paths._length,a=0;a<o;a+=1)u.addShape(this.processPath(t[a],i,s,l));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,n){var r=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,r,n),polarOffset(t,r,n)]}function offsetSegment(e,t){var n,r,a,o,i,s,l;l=linearOffset(e.points[0],e.points[1],t),n=l[0],r=l[1],l=linearOffset(e.points[1],e.points[2],t),a=l[0],o=l[1],l=linearOffset(e.points[2],e.points[3],t),i=l[0],s=l[1];var c=lineIntersection(n,r,a,o);c===null&&(c=r);var u=lineIntersection(i,s,a,o);return u===null&&(u=i),new PolynomialBezier(n,c,u,s)}function joinLines(e,t,n,r,a){var o=t.points[3],i=n.points[0];if(r===3||pointEqual(o,i))return o;if(r===2){var s=-t.tangentAngle(1),l=-n.tangentAngle(0)+Math.PI,c=lineIntersection(o,polarOffset(o,s+Math.PI/2,100),i,polarOffset(i,s+Math.PI/2,100)),u=c?pointDistance(c,o):pointDistance(o,i)/2,f=polarOffset(o,s,2*u*roundCorner);return e.setXYAt(f[0],f[1],"o",e.length()-1),f=polarOffset(i,l,2*u*roundCorner),e.setTripleAt(i[0],i[1],i[0],i[1],f[0],f[1],e.length()),i}var d=pointEqual(o,t.points[2])?t.points[0]:t.points[2],m=pointEqual(i,n.points[1])?n.points[3]:n.points[1],y=lineIntersection(d,o,i,m);return y&&pointDistance(y,o)<a?(e.setTripleAt(y[0],y[1],y[0],y[1],y[0],y[1],e.length()),y):o}function getIntersection(e,t){var n=e.intersections(t);return n.length&&floatEqual(n[0][0],1)&&n.shift(),n.length?n[0]:null}function pruneSegmentIntersection(e,t){var n=e.slice(),r=t.slice(),a=getIntersection(e[e.length-1],t[0]);return a&&(n[e.length-1]=e[e.length-1].split(a[0])[0],r[0]=t[0].split(a[1])[1]),e.length>1&&t.length>1&&(a=getIntersection(e[0],t[t.length-1]),a)?[[e[0].split(a[0])[0]],[t[t.length-1].split(a[1])[1]]]:[n,r]}function pruneIntersections(e){for(var t,n=1;n<e.length;n+=1)t=pruneSegmentIntersection(e[n-1],e[n]),e[n-1]=t[0],e[n]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var n=e.inflectionPoints(),r,a,o,i;if(n.length===0)return[offsetSegment(e,t)];if(n.length===1||floatEqual(n[1],1))return o=e.split(n[0]),r=o[0],a=o[1],[offsetSegment(r,t),offsetSegment(a,t)];o=e.split(n[0]),r=o[0];var s=(n[1]-n[0])/(1-n[0]);return o=o[1].split(s),i=o[0],a=o[1],[offsetSegment(r,t),offsetSegment(i,t),offsetSegment(a,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,n,r){var a=shapePool.newElement();a.c=e.c;var o=e.length();e.c||(o-=1);var i,s,l,c=[];for(i=0;i<o;i+=1)l=PolynomialBezier.shapeSegment(e,i),c.push(offsetSegmentSplit(l,t));if(!e.c)for(i=o-1;i>=0;i-=1)l=PolynomialBezier.shapeSegmentInverted(e,i),c.push(offsetSegmentSplit(l,t));c=pruneIntersections(c);var u=null,f=null;for(i=0;i<c.length;i+=1){var d=c[i];for(f&&(u=joinLines(a,f,d[0],n,r)),f=d[d.length-1],s=0;s<d.length;s+=1)l=d[s],u&&pointEqual(l.points[0],u)?a.setXYAt(l.points[1][0],l.points[1][1],"o",a.length()-1):a.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],a.length()),a.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],a.length()),u=l.points[3]}return c.length&&joinLines(a,f,c[0][0],n,r),a},OffsetPathModifier.prototype.processShapes=function(e){var t,n,r=this.shapes.length,a,o,i=this.amount.v,s=this.miterLimit.v,l=this.lineJoin;if(i!==0){var c,u;for(n=0;n<r;n+=1){if(c=this.shapes[n],u=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(u.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,o=c.shape.paths._length,a=0;a<o;a+=1)u.addShape(this.processPath(t[a],i,l,s));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],n="normal",r="normal",a=t.length,o,i=0;i<a;i+=1)switch(o=t[i].toLowerCase(),o){case"italic":r="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200";break}return{style:r,weight:e.fWeight||n}}var FontManager=function(){var e=5e3,t={w:0,size:0,shapes:[],data:{shapes:[]}},n=[];n=n.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=127988,a=917631,o=917601,i=917626,s=65039,l=8205,c=127462,u=127487,f=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function d(I){var M=I.split(","),V,R=M.length,D=[];for(V=0;V<R;V+=1)M[V]!=="sans-serif"&&M[V]!=="monospace"&&D.push(M[V]);return D.join(",")}function m(I,M){var V=createTag("span");V.setAttribute("aria-hidden",!0),V.style.fontFamily=M;var R=createTag("span");R.innerText="giItT1WQy@!-/#",V.style.position="absolute",V.style.left="-10000px",V.style.top="-10000px",V.style.fontSize="300px",V.style.fontVariant="normal",V.style.fontStyle="normal",V.style.fontWeight="normal",V.style.letterSpacing="0",V.appendChild(R),document.body.appendChild(V);var D=R.offsetWidth;return R.style.fontFamily=d(I)+", "+M,{node:R,w:D,parent:V}}function y(){var I,M=this.fonts.length,V,R,D=M;for(I=0;I<M;I+=1)this.fonts[I].loaded?D-=1:this.fonts[I].fOrigin==="n"||this.fonts[I].origin===0?this.fonts[I].loaded=!0:(V=this.fonts[I].monoCase.node,R=this.fonts[I].monoCase.w,V.offsetWidth!==R?(D-=1,this.fonts[I].loaded=!0):(V=this.fonts[I].sansCase.node,R=this.fonts[I].sansCase.w,V.offsetWidth!==R&&(D-=1,this.fonts[I].loaded=!0)),this.fonts[I].loaded&&(this.fonts[I].sansCase.parent.parentNode.removeChild(this.fonts[I].sansCase.parent),this.fonts[I].monoCase.parent.parentNode.removeChild(this.fonts[I].monoCase.parent)));D!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function g(I,M){var V=document.body&&M?"svg":"canvas",R,D=getFontProperties(I);if(V==="svg"){var $=createNS("text");$.style.fontSize="100px",$.setAttribute("font-family",I.fFamily),$.setAttribute("font-style",D.style),$.setAttribute("font-weight",D.weight),$.textContent="1",I.fClass?($.style.fontFamily="inherit",$.setAttribute("class",I.fClass)):$.style.fontFamily=I.fFamily,M.appendChild($),R=$}else{var G=new OffscreenCanvas(500,500).getContext("2d");G.font=D.style+" "+D.weight+" 100px "+I.fFamily,R=G}function ne(oe){return V==="svg"?(R.textContent=oe,R.getComputedTextLength()):R.measureText(oe).width}return{measureText:ne}}function P(I,M){if(!I){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=I.list;return}if(!document.body){this.isLoaded=!0,I.list.forEach(function(Q){Q.helper=g(Q),Q.cache={}}),this.fonts=I.list;return}var V=I.list,R,D=V.length,$=D;for(R=0;R<D;R+=1){var G=!0,ne,oe;if(V[R].loaded=!1,V[R].monoCase=m(V[R].fFamily,"monospace"),V[R].sansCase=m(V[R].fFamily,"sans-serif"),!V[R].fPath)V[R].loaded=!0,$-=1;else if(V[R].fOrigin==="p"||V[R].origin===3){if(ne=document.querySelectorAll('style[f-forigin="p"][f-family="'+V[R].fFamily+'"], style[f-origin="3"][f-family="'+V[R].fFamily+'"]'),ne.length>0&&(G=!1),G){var ce=createTag("style");ce.setAttribute("f-forigin",V[R].fOrigin),ce.setAttribute("f-origin",V[R].origin),ce.setAttribute("f-family",V[R].fFamily),ce.type="text/css",ce.innerText="@font-face {font-family: "+V[R].fFamily+"; font-style: normal; src: url('"+V[R].fPath+"');}",M.appendChild(ce)}}else if(V[R].fOrigin==="g"||V[R].origin===1){for(ne=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),oe=0;oe<ne.length;oe+=1)ne[oe].href.indexOf(V[R].fPath)!==-1&&(G=!1);if(G){var ee=createTag("link");ee.setAttribute("f-forigin",V[R].fOrigin),ee.setAttribute("f-origin",V[R].origin),ee.type="text/css",ee.rel="stylesheet",ee.href=V[R].fPath,document.body.appendChild(ee)}}else if(V[R].fOrigin==="t"||V[R].origin===2){for(ne=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),oe=0;oe<ne.length;oe+=1)V[R].fPath===ne[oe].src&&(G=!1);if(G){var Y=createTag("link");Y.setAttribute("f-forigin",V[R].fOrigin),Y.setAttribute("f-origin",V[R].origin),Y.setAttribute("rel","stylesheet"),Y.setAttribute("href",V[R].fPath),M.appendChild(Y)}}V[R].helper=g(V[R],M),V[R].cache={},this.fonts.push(V[R])}$===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function v(I){if(I){this.chars||(this.chars=[]);var M,V=I.length,R,D=this.chars.length,$;for(M=0;M<V;M+=1){for(R=0,$=!1;R<D;)this.chars[R].style===I[M].style&&this.chars[R].fFamily===I[M].fFamily&&this.chars[R].ch===I[M].ch&&($=!0),R+=1;$||(this.chars.push(I[M]),D+=1)}}}function _(I,M,V){for(var R=0,D=this.chars.length;R<D;){if(this.chars[R].ch===I&&this.chars[R].style===M&&this.chars[R].fFamily===V)return this.chars[R];R+=1}return(typeof I=="string"&&I.charCodeAt(0)!==13||!I)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",I,M,V)),t}function b(I,M,V){var R=this.getFontByName(M),D=I;if(!R.cache[D]){var $=R.helper;if(I===" "){var G=$.measureText("|"+I+"|"),ne=$.measureText("||");R.cache[D]=(G-ne)/100}else R.cache[D]=$.measureText(I)/100}return R.cache[D]*V}function S(I){for(var M=0,V=this.fonts.length;M<V;){if(this.fonts[M].fName===I)return this.fonts[M];M+=1}return this.fonts[0]}function C(I){var M=0,V=I.charCodeAt(0);if(V>=55296&&V<=56319){var R=I.charCodeAt(1);R>=56320&&R<=57343&&(M=(V-55296)*1024+R-56320+65536)}return M}function k(I,M){var V=I.toString(16)+M.toString(16);return f.indexOf(V)!==-1}function T(I){return I===l}function w(I){return I===s}function E(I){var M=C(I);return M>=c&&M<=u}function F(I){return E(I.substr(0,2))&&E(I.substr(2,2))}function L(I){return n.indexOf(I)!==-1}function N(I,M){var V=C(I.substr(M,2));if(V!==r)return!1;var R=0;for(M+=2;R<5;){if(V=C(I.substr(M,2)),V<o||V>i)return!1;R+=1,M+=2}return C(I.substr(M,2))===a}function O(){this.isLoaded=!0}var U=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};U.isModifier=k,U.isZeroWidthJoiner=T,U.isFlagEmoji=F,U.isRegionalCode=E,U.isCombinedCharacter=L,U.isRegionalFlag=N,U.isVariationSelector=w,U.BLACK_FLAG_CODE_POINT=r;var j={addChars:v,addFonts:P,getCharData:_,getFontByName:S,measureText:b,checkLoadedFonts:y,setIsLoaded:O};return U.prototype=j,U}();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,n=this.renderableComponents.length;for(t=0;t<n;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function AngleEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function ColorEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function PointEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function LayerIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function MaskIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function CheckboxEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var n=e.ef||[];this.effectElements=[];var r,a=n.length,o;for(r=0;r<a;r+=1)o=new GroupEffect(n[r],t),this.effectElements.push(o)}function GroupEffect(e,t){this.init(e,t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var n,r=this.data.ef.length,a,o=this.data.ef;for(n=0;n<r;n+=1){switch(a=null,o[n].ty){case 0:a=new SliderEffect(o[n],t,this);break;case 1:a=new AngleEffect(o[n],t,this);break;case 2:a=new ColorEffect(o[n],t,this);break;case 3:a=new PointEffect(o[n],t,this);break;case 4:case 7:a=new CheckboxEffect(o[n],t,this);break;case 10:a=new LayerIndexEffect(o[n],t,this);break;case 11:a=new MaskIndexEffect(o[n],t,this);break;case 5:a=new EffectsManager(o[n],t);break;default:a=new NoValueEffect(o[n]);break}a&&this.effectElements.push(a)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,n=this.data.masksProperties.length;t<n;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var n=t("layer"),r=t("effects"),a=t("shape"),o=t("text"),i=t("comp");this.layerInterface=n(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var s=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(s),this.data.ty===0||this.data.xt?this.compInterface=i(this):this.data.ty===4?(this.layerInterface.shapeInterface=a(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=o(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),n=this.baseElement||this.layerElement;n.style["mix-blend-mode"]=t},initBaseData:function(t,n,r){this.globalData=n,this.comp=r,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,n){var r,a=this.dynamicProperties.length;for(r=0;r<a;r+=1)(n||this._isParent&&this.dynamicProperties[r].propType==="transform")&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,n)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,n),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(e){var t,n=this.layers.length,r;for(this.completeLayers=!0,t=n-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t],r.ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,n=e.length,r,a=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<a;){if(this.layers[r].id===e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,n){for(var r=this.elements,a=this.layers,o=0,i=a.length;o<i;)a[o].ind==t&&(!r[o]||r[o]===!0?(this.buildItem(o),this.addPendingElement(e)):(n.push(r[o]),r[o].setAsParent(),a[o].parent!==void 0?this.buildElementParenting(e,a[o].parent,n):e.setHierarchy(n))),o+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length;for(t=0;t<n;t+=1)if(e[t].xt){var r=this.createComp(e[t]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(e){var t,n=this.elements.length;for(t=0;t<n;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t=e.shift(),n;if(typeof t=="number")n=this.elements[t];else{var r,a=this.elements.length;for(r=0;r<a;r+=1)if(this.elements[r].data.nm===t){n=this.elements[r];break}}return e.length===0?n:n.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,n=this.finalTransform.mat,r=0,a=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<a;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,n.cloneFromProps(t),r=0;r<a;r+=1)n.multiply(this.hierarchy[r].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,n=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<n;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var r=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(r),t=1;t<n;t+=1){var a=this.localTransforms[t].matrix;r.multiply(a)}r.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var o=this.finalTransform.localOpacity;for(t=0;t<n;t+=1)o*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=o}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var n=0,r=t.length;for(n=0;n<r;n+=1)this.localTransforms.push(t[n])}}},globalToLocal:function(t){var n=[];n.push(this.finalTransform);for(var r=!0,a=this.comp;r;)a.finalTransform?(a.data.hasMask&&n.splice(0,0,a.finalTransform),a=a.comp):r=!1;var o,i=n.length,s;for(o=0;o<i;o+=1)s=n[o].mat.applyToPointArray(0,0,0),t=[t[0]-s[0],t[1]-s[1],0];return t},mHelper:new Matrix};function MaskElement(e,t,n){this.data=e,this.element=t,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r=this.globalData.defs,a,o=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(o),this.solidPath="";var i,s=this.masksProperties,l=0,c=[],u,f,d=createElementID(),m,y,g,P,v="clipPath",_="clip-path";for(a=0;a<o;a+=1)if((s[a].mode!=="a"&&s[a].mode!=="n"||s[a].inv||s[a].o.k!==100||s[a].o.x)&&(v="mask",_="mask"),(s[a].mode==="s"||s[a].mode==="i")&&l===0?(m=createNS("rect"),m.setAttribute("fill","#ffffff"),m.setAttribute("width",this.element.comp.data.w||0),m.setAttribute("height",this.element.comp.data.h||0),c.push(m)):m=null,i=createNS("path"),s[a].mode==="n")this.viewData[a]={op:PropertyFactory.getProp(this.element,s[a].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,s[a],3),elem:i,lastPath:""},r.appendChild(i);else{l+=1,i.setAttribute("fill",s[a].mode==="s"?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero");var b;if(s[a].x.k!==0?(v="mask",_="mask",P=PropertyFactory.getProp(this.element,s[a].x,0,null,this.element),b=createElementID(),y=createNS("filter"),y.setAttribute("id",b),g=createNS("feMorphology"),g.setAttribute("operator","erode"),g.setAttribute("in","SourceGraphic"),g.setAttribute("radius","0"),y.appendChild(g),r.appendChild(y),i.setAttribute("stroke",s[a].mode==="s"?"#000000":"#ffffff")):(g=null,P=null),this.storedData[a]={elem:i,x:P,expan:g,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},s[a].mode==="i"){f=c.length;var S=createNS("g");for(u=0;u<f;u+=1)S.appendChild(c[u]);var C=createNS("mask");C.setAttribute("mask-type","alpha"),C.setAttribute("id",d+"_"+l),C.appendChild(i),r.appendChild(C),S.setAttribute("mask","url("+getLocationHref()+"#"+d+"_"+l+")"),c.length=0,c.push(S)}else c.push(i);s[a].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[a]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,s[a].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,s[a],3),invRect:m},this.viewData[a].prop.k||this.drawPath(s[a],this.viewData[a].prop.v,this.viewData[a])}for(this.maskElement=createNS(v),o=c.length,a=0;a<o;a+=1)this.maskElement.appendChild(c[a]);l>0&&(this.maskElement.setAttribute("id",d),this.element.maskedElement.setAttribute(_,"url("+getLocationHref()+"#"+d+")"),r.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,n,r=this.masksProperties.length;for(n=0;n<r;n+=1)if((this.viewData[n].prop._mdf||e)&&this.drawPath(this.masksProperties[n],this.viewData[n].prop.v,this.viewData[n]),(this.viewData[n].op._mdf||e)&&this.viewData[n].elem.setAttribute("fill-opacity",this.viewData[n].op.v),this.masksProperties[n].mode!=="n"&&(this.viewData[n].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[n].invRect.setAttribute("transform",t.getInverseMatrix().to2dCSS()),this.storedData[n].x&&(this.storedData[n].x._mdf||e))){var a=this.storedData[n].expan;this.storedData[n].x.v<0?(this.storedData[n].lastOperator!=="erode"&&(this.storedData[n].lastOperator="erode",this.storedData[n].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[n].filterId+")")),a.setAttribute("radius",-this.storedData[n].x.v)):(this.storedData[n].lastOperator!=="dilate"&&(this.storedData[n].lastOperator="dilate",this.storedData[n].elem.setAttribute("filter",null)),this.storedData[n].elem.setAttribute("stroke-width",this.storedData[n].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},MaskElement.prototype.drawPath=function(e,t,n){var r=" M"+t.v[0][0]+","+t.v[0][1],a,o;for(o=t._length,a=1;a<o;a+=1)r+=" C"+t.o[a-1][0]+","+t.o[a-1][1]+" "+t.i[a][0]+","+t.i[a][1]+" "+t.v[a][0]+","+t.v[a][1];if(t.c&&o>1&&(r+=" C"+t.o[a-1][0]+","+t.o[a-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),n.lastPath!==r){var i="";n.elem&&(t.c&&(i=e.inv?this.solidPath+r:r),n.elem.setAttribute("d",i)),n.lastPath=r}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=n;function t(r,a){var o=createNS("filter");return o.setAttribute("id",r),a!==!0&&(o.setAttribute("filterUnits","objectBoundingBox"),o.setAttribute("x","0%"),o.setAttribute("y","0%"),o.setAttribute("width","100%"),o.setAttribute("height","100%")),o}function n(){var r=createNS("feColorMatrix");return r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),r}return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,n="SourceGraphic",r=e.data.ef?e.data.ef.length:0,a=createElementID(),o=filtersFactory.createFilter(a,!0),i=0;this.filters=[];var s;for(t=0;t<r;t+=1){s=null;var l=e.data.ef[t].ty;if(registeredEffects$1[l]){var c=registeredEffects$1[l].effect;s=new c(o,e.effectsManager.effectElements[t],e,idPrefix+i,n),n=idPrefix+i,registeredEffects$1[l].countsAsEffect&&(i+=1)}s&&this.filters.push(s)}i&&(e.globalData.defs.appendChild(o),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),this.filters.length&&e.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,n=this.filters.length,r=[];for(t=0;t<n;t+=1)this.filters[t].type===e&&r.push(this.filters[t]);return r};function registerEffect$1(e,t,n){registeredEffects$1[e]={effect:t,countsAsEffect:n}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var n=createNS("g");n.setAttribute("id",this.layerId),n.appendChild(this.layerElement),t=n,this.globalData.defs.appendChild(n)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var r=createNS("clipPath"),a=createNS("path");a.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var o=createElementID();if(r.setAttribute("id",o),r.appendChild(a),this.globalData.defs.appendChild(r),this.checkMasks()){var i=createNS("g");i.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),i.appendChild(this.layerElement),this.transformedElement=i,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var n=this.layerId+"_"+t,r,a,o,i;if(t===1||t===3){var s=createNS("mask");s.setAttribute("id",n),s.setAttribute("mask-type",t===3?"luminance":"alpha"),o=createNS("use"),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(o),this.globalData.defs.appendChild(s),!featureSupport.maskType&&t===1&&(s.setAttribute("mask-type","luminance"),r=createElementID(),a=filtersFactory.createFilter(r),this.globalData.defs.appendChild(a),a.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),i.appendChild(o),s.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+r+")"))}else if(t===2){var l=createNS("mask");l.setAttribute("id",n),l.setAttribute("mask-type","alpha");var c=createNS("g");l.appendChild(c),r=createElementID(),a=filtersFactory.createFilter(r);var u=createNS("feComponentTransfer");u.setAttribute("in","SourceGraphic"),a.appendChild(u);var f=createNS("feFuncA");f.setAttribute("type","table"),f.setAttribute("tableValues","1.0 0.0"),u.appendChild(f),this.globalData.defs.appendChild(a);var d=createNS("rect");d.setAttribute("width",this.comp.data.w),d.setAttribute("height",this.comp.data.h),d.setAttribute("x","0"),d.setAttribute("y","0"),d.setAttribute("fill","#ffffff"),d.setAttribute("opacity","0"),c.setAttribute("filter","url("+getLocationHref()+"#"+r+")"),c.appendChild(d),o=createNS("use"),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),c.appendChild(o),featureSupport.maskType||(l.setAttribute("mask-type","luminance"),a.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),c.appendChild(d),i.appendChild(this.layerElement),c.appendChild(i)),this.globalData.defs.appendChild(l)}this.matteMasks[t]=n}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={initElement:function(n,r,a){this.initFrame(),this.initBaseData(n,r,a),this.initTransform(n,r,a),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var n=this.baseElement||this.layerElement;n.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var n=this.baseElement||this.layerElement;n.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(n){this._mdf=!1,this.prepareRenderableFrame(n),this.prepareProperties(n,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(e)],RenderableDOMElement)})();function IImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var n,r=this.shapeModifiers.length;for(n=0;n<r;n+=1)this.shapeModifiers[n].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var n=0,r=this.shapeModifiers.length;n<r;)if(this.shapeModifiers[n].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,n=this.shapes.length;for(t=0;t<n;t+=1)this.shapes[t].sh.reset();n=this.shapeModifiers.length;var r;for(t=n-1;t>=0&&(r=this.shapeModifiers[t].processShapes(this._isFirstFrame),!r);t-=1);}},searchProcessedElement:function(t){for(var n=this.processedElements,r=0,a=n.length;r<a;){if(n[r].elem===t)return n[r].pos;r+=1}return 0},addProcessedElement:function(t,n){for(var r=this.processedElements,a=r.length;a;)if(a-=1,r[a].elem===t){r[a].pos=n;return}r.push(new ProcessedElement(t,n))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,n){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=n,this.lvl=t,this._isAnimated=!!n.k;for(var r=0,a=e.length;r<a;){if(e[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(e,t,n,r){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var a,o=t.length||0,i;for(a=0;a<o;a+=1)i=PropertyFactory.getProp(e,t[a].v,0,0,this),this.k=i.k||this.k,this.dataProps[a]={n:t[a].n,p:i};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,n=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),t=0;t<n;t+=1)this.dataProps[t].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=n}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(e,t,n){this.data=t,this.c=createTypedArray("uint8c",t.p*4);var r=t.k.k[0].s?t.k.k[0].s.length-t.p*4:t.k.k.length-t.p*4;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(e,t){for(var n=0,r=this.o.length/2,a;n<r;){if(a=Math.abs(e[n*4]-e[t*4+n*2]),a>.01)return!1;n+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,n=this.data.p*4,r,a;for(t=0;t<n;t+=1)r=t%4===0?100:255,a=Math.round(this.prop.v[t]*r),this.c[t]!==a&&(this.c[t]=a,this._cmdf=!e);if(this.o.length)for(n=this.prop.v.length,t=this.data.p*4;t<n;t+=1)r=t%2===0?100:1,a=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==a&&(this.o[t-this.data.p*4]=a,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,n)}SVGGradientFillStyleData.prototype.initGradientData=function(e,t,n){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,t),this.setGradientOpacity(t,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var n=createElementID(),r=createNS(t.t===1?"linearGradient":"radialGradient");r.setAttribute("id",n),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var a=[],o,i,s;for(s=t.g.p*4,i=0;i<s;i+=4)o=createNS("stop"),r.appendChild(o),a.push(o);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+n+")"),this.gf=r,this.cst=a},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var n,r,a,o=createNS("mask"),i=createNS("path");o.appendChild(i);var s=createElementID(),l=createElementID();o.setAttribute("id",l);var c=createNS(e.t===1?"linearGradient":"radialGradient");c.setAttribute("id",s),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),a=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(r=e.g.p*4;r<a;r+=2)n=createNS("stop"),n.setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(n),u.push(n);i.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),e.ty==="gs"&&(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&i.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=o,this.ost=u,this.maskId=l,t.msElem=i}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,n),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,n){this.transform={mProps:e,op:t,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,n,r,a){if(n===0)return"";var o=t.o,i=t.i,s=t.v,l,c=" M"+a.applyToPointStringified(s[0][0],s[0][1]);for(l=1;l<n;l+=1)c+=" C"+a.applyToPointStringified(o[l-1][0],o[l-1][1])+" "+a.applyToPointStringified(i[l][0],i[l][1])+" "+a.applyToPointStringified(s[l][0],s[l][1]);return r&&n&&(c+=" C"+a.applyToPointStringified(o[l-1][0],o[l-1][1])+" "+a.applyToPointStringified(i[0][0],i[0][1])+" "+a.applyToPointStringified(s[0][0],s[0][1]),c+="z"),c},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,n={createRenderFunction:r};function r(f){switch(f.ty){case"fl":return s;case"gf":return c;case"gs":return l;case"st":return u;case"sh":case"el":case"rc":case"sr":return i;case"tr":return a;case"no":return o;default:return null}}function a(f,d,m){(m||d.transform.op._mdf)&&d.transform.container.setAttribute("opacity",d.transform.op.v),(m||d.transform.mProps._mdf)&&d.transform.container.setAttribute("transform",d.transform.mProps.v.to2dCSS())}function o(){}function i(f,d,m){var y,g,P,v,_,b,S=d.styles.length,C=d.lvl,k,T,w,E;for(b=0;b<S;b+=1){if(v=d.sh._mdf||m,d.styles[b].lvl<C){for(T=t.reset(),w=C-d.styles[b].lvl,E=d.transformers.length-1;!v&&w>0;)v=d.transformers[E].mProps._mdf||v,w-=1,E-=1;if(v)for(w=C-d.styles[b].lvl,E=d.transformers.length-1;w>0;)T.multiply(d.transformers[E].mProps.v),w-=1,E-=1}else T=e;if(k=d.sh.paths,g=k._length,v){for(P="",y=0;y<g;y+=1)_=k.shapes[y],_&&_._length&&(P+=buildShapeString(_,_._length,_.c,T));d.caches[b]=P}else P=d.caches[b];d.styles[b].d+=f.hd===!0?"":P,d.styles[b]._mdf=v||d.styles[b]._mdf}}function s(f,d,m){var y=d.style;(d.c._mdf||m)&&y.pElem.setAttribute("fill","rgb("+bmFloor(d.c.v[0])+","+bmFloor(d.c.v[1])+","+bmFloor(d.c.v[2])+")"),(d.o._mdf||m)&&y.pElem.setAttribute("fill-opacity",d.o.v)}function l(f,d,m){c(f,d,m),u(f,d,m)}function c(f,d,m){var y=d.gf,g=d.g._hasOpacity,P=d.s.v,v=d.e.v;if(d.o._mdf||m){var _=f.ty==="gf"?"fill-opacity":"stroke-opacity";d.style.pElem.setAttribute(_,d.o.v)}if(d.s._mdf||m){var b=f.t===1?"x1":"cx",S=b==="x1"?"y1":"cy";y.setAttribute(b,P[0]),y.setAttribute(S,P[1]),g&&!d.g._collapsable&&(d.of.setAttribute(b,P[0]),d.of.setAttribute(S,P[1]))}var C,k,T,w;if(d.g._cmdf||m){C=d.cst;var E=d.g.c;for(T=C.length,k=0;k<T;k+=1)w=C[k],w.setAttribute("offset",E[k*4]+"%"),w.setAttribute("stop-color","rgb("+E[k*4+1]+","+E[k*4+2]+","+E[k*4+3]+")")}if(g&&(d.g._omdf||m)){var F=d.g.o;for(d.g._collapsable?C=d.cst:C=d.ost,T=C.length,k=0;k<T;k+=1)w=C[k],d.g._collapsable||w.setAttribute("offset",F[k*2]+"%"),w.setAttribute("stop-opacity",F[k*2+1])}if(f.t===1)(d.e._mdf||m)&&(y.setAttribute("x2",v[0]),y.setAttribute("y2",v[1]),g&&!d.g._collapsable&&(d.of.setAttribute("x2",v[0]),d.of.setAttribute("y2",v[1])));else{var L;if((d.s._mdf||d.e._mdf||m)&&(L=Math.sqrt(Math.pow(P[0]-v[0],2)+Math.pow(P[1]-v[1],2)),y.setAttribute("r",L),g&&!d.g._collapsable&&d.of.setAttribute("r",L)),d.e._mdf||d.h._mdf||d.a._mdf||m){L||(L=Math.sqrt(Math.pow(P[0]-v[0],2)+Math.pow(P[1]-v[1],2)));var N=Math.atan2(v[1]-P[1],v[0]-P[0]),O=d.h.v;O>=1?O=.99:O<=-1&&(O=-.99);var U=L*O,j=Math.cos(N+d.a.v)*U+P[0],I=Math.sin(N+d.a.v)*U+P[1];y.setAttribute("fx",j),y.setAttribute("fy",I),g&&!d.g._collapsable&&(d.of.setAttribute("fx",j),d.of.setAttribute("fy",I))}}}function u(f,d,m){var y=d.style,g=d.d;g&&(g._mdf||m)&&g.dashStr&&(y.pElem.setAttribute("stroke-dasharray",g.dashStr),y.pElem.setAttribute("stroke-dashoffset",g.dashoffset[0])),d.c&&(d.c._mdf||m)&&y.pElem.setAttribute("stroke","rgb("+bmFloor(d.c.v[0])+","+bmFloor(d.c.v[1])+","+bmFloor(d.c.v[2])+")"),(d.o._mdf||m)&&y.pElem.setAttribute("stroke-opacity",d.o.v),(d.w._mdf||m)&&(y.pElem.setAttribute("stroke-width",d.w.v),y.msElem&&y.msElem.setAttribute("stroke-width",d.w.v))}return n}();function SVGShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,n),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t=this.shapes.length,n,r,a=this.stylesList.length,o,i=[],s=!1;for(r=0;r<a;r+=1){for(o=this.stylesList[r],s=!1,i.length=0,e=0;e<t;e+=1)n=this.shapes[e],n.styles.indexOf(o)!==-1&&(i.push(n),s=n._isAnimated||s);i.length>1&&s&&this.setShapesAsAnimated(i)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var n,r=new SVGStyleData(e,t),a=r.pElem;if(e.ty==="st")n=new SVGStrokeStyleData(this,e,r);else if(e.ty==="fl")n=new SVGFillStyleData(this,e,r);else if(e.ty==="gf"||e.ty==="gs"){var o=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;n=new o(this,e,r),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),a.setAttribute("mask","url("+getLocationHref()+"#"+n.maskId+")"))}else e.ty==="no"&&(n=new SVGNoStyleData(this,e,r));return(e.ty==="st"||e.ty==="gs")&&(a.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),a.setAttribute("fill-opacity","0"),e.lj===1&&a.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&a.setAttribute("fill-rule","evenodd"),e.ln&&a.setAttribute("id",e.ln),e.cl&&a.setAttribute("class",e.cl),e.bm&&(a.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(r),this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var n=TransformPropertyFactory.getTransformProperty(this,e,this),r=new SVGTransformData(n,n.o,t);return this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createShapeElement=function(e,t,n){var r=4;e.ty==="rc"?r=5:e.ty==="el"?r=6:e.ty==="sr"&&(r=7);var a=ShapePropertyFactory.getShapeProp(this,e,r,this),o=new SVGShapeData(t,n,a);return this.shapes.push(o),this.addShapeToModifiers(o),this.addToAnimatedContents(e,o),o},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var n=0,r=this.animatedContents.length;n<r;){if(this.animatedContents[n].element===t)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t=e.styles,n,r=this.stylesList.length;for(n=0;n<r;n+=1)this.stylesList[n].closed||t.push(this.stylesList[n])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,n,r,a,o,i){var s=[].concat(o),l,c=e.length-1,u,f,d=[],m=[],y,g,P;for(l=c;l>=0;l-=1){if(P=this.searchProcessedElement(e[l]),P?t[l]=n[P-1]:e[l]._render=i,e[l].ty==="fl"||e[l].ty==="st"||e[l].ty==="gf"||e[l].ty==="gs"||e[l].ty==="no")P?t[l].style.closed=!1:t[l]=this.createStyleElement(e[l],a),e[l]._render&&t[l].style.pElem.parentNode!==r&&r.appendChild(t[l].style.pElem),d.push(t[l].style);else if(e[l].ty==="gr"){if(!P)t[l]=this.createGroupElement(e[l]);else for(f=t[l].it.length,u=0;u<f;u+=1)t[l].prevViewData[u]=t[l].it[u];this.searchShapes(e[l].it,t[l].it,t[l].prevViewData,t[l].gr,a+1,s,i),e[l]._render&&t[l].gr.parentNode!==r&&r.appendChild(t[l].gr)}else e[l].ty==="tr"?(P||(t[l]=this.createTransformElement(e[l],r)),y=t[l].transform,s.push(y)):e[l].ty==="sh"||e[l].ty==="rc"||e[l].ty==="el"||e[l].ty==="sr"?(P||(t[l]=this.createShapeElement(e[l],s,a)),this.setElementStyles(t[l])):e[l].ty==="tm"||e[l].ty==="rd"||e[l].ty==="ms"||e[l].ty==="pb"||e[l].ty==="zz"||e[l].ty==="op"?(P?(g=t[l],g.closed=!1):(g=ShapeModifiers.getModifier(e[l].ty),g.init(this,e[l]),t[l]=g,this.shapeModifiers.push(g)),m.push(g)):e[l].ty==="rp"&&(P?(g=t[l],g.closed=!0):(g=ShapeModifiers.getModifier(e[l].ty),t[l]=g,g.init(this,e,l,t),this.shapeModifiers.push(g),i=!1),m.push(g));this.addProcessedElement(e[l],l+1)}for(c=d.length,l=0;l<c;l+=1)d[l].closed=!0;for(c=m.length,l=0;l<c;l+=1)m[l].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t=this.animatedContents.length,n;for(e=0;e<t;e+=1)n=this.animatedContents[e],(this._isFirstFrame||n.element._isAnimated)&&n.data!==!0&&n.fn(n.data,n.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(e,t,n,r,a,o){this.o=e,this.sw=t,this.sc=n,this.fc=r,this.m=a,this.p=o,this._mdf={o:!0,sw:!!t,sc:!!n,fc:!!r,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,n,r,a,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var i=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,i=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,i=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,i=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,i=!0),this.m!==a&&(this.m=a,this._mdf.m=!0,i=!0),o.length&&(this.p[0]!==o[0]||this.p[1]!==o[1]||this.p[4]!==o[4]||this.p[5]!==o[5]||this.p[12]!==o[12]||this.p[13]!==o[13])&&(this.p=o,this._mdf.p=!0,i=!0),i};function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,n=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var r,a=this.effectsSequence.length,o=e||this.data.d.k[this.keysIndex].s;for(r=0;r<a;r+=1)n!==this.keysIndex?o=this.effectsSequence[r](o,o.t):o=this.effectsSequence[r](this.currentData,o.t);t!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,n=0,r=e.length;n<=r-1&&!(n===r-1||e[n+1].t>t);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],n=0,r=e.length,a,o,i=!1,s=!1,l="";n<r;)i=s,s=!1,a=e.charCodeAt(n),l=e.charAt(n),FontManager.isCombinedCharacter(a)?i=!0:a>=55296&&a<=56319?FontManager.isRegionalFlag(e,n)?l=e.substr(n,14):(o=e.charCodeAt(n+1),o>=56320&&o<=57343&&(FontManager.isModifier(a,o)?(l=e.substr(n,2),i=!0):FontManager.isFlagEmoji(e.substr(n,4))?l=e.substr(n,4):l=e.substr(n,2))):a>56319?(o=e.charCodeAt(n+1),FontManager.isVariationSelector(a)&&(i=!0)):FontManager.isZeroWidthJoiner(a)&&(i=!0,s=!0),i?(t[t.length-1]+=l,i=!1):t.push(l),n+=l.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,n=this.data,r=[],a,o,i,s=0,l,c=n.m.g,u=0,f=0,d=0,m=[],y=0,g=0,P,v,_=t.getFontByName(e.f),b,S=0,C=getFontProperties(_);e.fWeight=C.weight,e.fStyle=C.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),o=e.finalText.length,e.finalLineHeight=e.lh;var k=e.tr/1e3*e.finalSize,T;if(e.sz)for(var w=!0,E=e.sz[0],F=e.sz[1],L,N;w;){N=this.buildFinalText(e.t),L=0,y=0,o=N.length,k=e.tr/1e3*e.finalSize;var O=-1;for(a=0;a<o;a+=1)T=N[a].charCodeAt(0),i=!1,N[a]===" "?O=a:(T===13||T===3)&&(y=0,i=!0,L+=e.finalLineHeight||e.finalSize*1.2),t.chars?(b=t.getCharData(N[a],_.fStyle,_.fFamily),S=i?0:b.w*e.finalSize/100):S=t.measureText(N[a],e.f,e.finalSize),y+S>E&&N[a]!==" "?(O===-1?o+=1:a=O,L+=e.finalLineHeight||e.finalSize*1.2,N.splice(a,O===a?1:0,"\r"),O=-1,y=0):(y+=S,y+=k);L+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&F<L?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=N,o=e.finalText.length,w=!1)}y=-k,S=0;var U=0,j;for(a=0;a<o;a+=1)if(i=!1,j=e.finalText[a],T=j.charCodeAt(0),T===13||T===3?(U=0,m.push(y),g=y>g?y:g,y=-2*k,l="",i=!0,d+=1):l=j,t.chars?(b=t.getCharData(j,_.fStyle,t.getFontByName(e.f).fFamily),S=i?0:b.w*e.finalSize/100):S=t.measureText(l,e.f,e.finalSize),j===" "?U+=S+k:(y+=S+k+U,U=0),r.push({l:S,an:S,add:u,n:i,anIndexes:[],val:l,line:d,animatorJustifyOffset:0}),c==2){if(u+=S,l===""||l===" "||a===o-1){for((l===""||l===" ")&&(u-=S);f<=a;)r[f].an=u,r[f].ind=s,r[f].extra=S,f+=1;s+=1,u=0}}else if(c==3){if(u+=S,l===""||a===o-1){for(l===""&&(u-=S);f<=a;)r[f].an=u,r[f].ind=s,r[f].extra=S,f+=1;u=0,s+=1}}else r[s].ind=s,r[s].extra=0,s+=1;if(e.l=r,g=y>g?y:g,m.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=g,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=m;var I=n.a,M,V;v=I.length;var R,D,$=[];for(P=0;P<v;P+=1){for(M=I[P],M.a.sc&&(e.strokeColorAnim=!0),M.a.sw&&(e.strokeWidthAnim=!0),(M.a.fc||M.a.fh||M.a.fs||M.a.fb)&&(e.fillColorAnim=!0),D=0,R=M.s.b,a=0;a<o;a+=1)V=r[a],V.anIndexes[P]=D,(R==1&&V.val!==""||R==2&&V.val!==""&&V.val!==" "||R==3&&(V.n||V.val==" "||a==o-1)||R==4&&(V.n||a==o-1))&&(M.s.rn===1&&$.push(D),D+=1);n.a[P].s.totalChars=D;var G=-1,ne;if(M.s.rn===1)for(a=0;a<o;a+=1)V=r[a],G!=V.anIndexes[P]&&(G=V.anIndexes[P],ne=$.splice(Math.floor(Math.random()*$.length),1)[0]),V.anIndexes[P]=ne}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?this.keysIndex:t;var n=this.copyData({},this.data.d.k[t].s);n=this.copyData(n,e),this.data.d.k[t].s=n,this.recalculate(t),this.setCurrentData(n),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,n=Math.floor;function r(o,i){this._currentTextLength=-1,this.k=!1,this.data=i,this.elem=o,this.comp=o.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(o),this.s=PropertyFactory.getProp(o,i.s||{k:0},0,0,this),"e"in i?this.e=PropertyFactory.getProp(o,i.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(o,i.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(o,i.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(o,i.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(o,i.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(o,i.a,0,.01,this),this.dynamicProperties.length||this.getValue()}r.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var s=0,l=0,c=1,u=1;this.ne.v>0?s=this.ne.v/100:l=-this.ne.v/100,this.xe.v>0?c=1-this.xe.v/100:u=1+this.xe.v/100;var f=BezierFactory.getBezierEasing(s,l,c,u).get,d=0,m=this.finalS,y=this.finalE,g=this.data.sh;if(g===2)y===m?d=i>=y?1:0:d=e(0,t(.5/(y-m)+(i-m)/(y-m),1)),d=f(d);else if(g===3)y===m?d=i>=y?0:1:d=1-e(0,t(.5/(y-m)+(i-m)/(y-m),1)),d=f(d);else if(g===4)y===m?d=0:(d=e(0,t(.5/(y-m)+(i-m)/(y-m),1)),d<.5?d*=2:d=1-2*(d-.5)),d=f(d);else if(g===5){if(y===m)d=0;else{var P=y-m;i=t(e(0,i+.5-m),y-m);var v=-P/2+i,_=P/2;d=Math.sqrt(1-v*v/(_*_))}d=f(d)}else g===6?(y===m?d=0:(i=t(e(0,i+.5-m),y-m),d=(1+Math.cos(Math.PI+Math.PI*2*i/(y-m)))/2),d=f(d)):(i>=n(m)&&(i-m<0?d=e(0,t(t(y,1)-(m-i),1)):d=e(0,t(y-i,1))),d=f(d));if(this.sm.v!==100){var b=this.sm.v*.01;b===0&&(b=1e-8);var S=.5-b*.5;d<S?d=0:(d=(d-S)/b,d>1&&(d=1))}return d*this.a.v},getValue:function(i){this.iterateDynamicProperties(),this._mdf=i||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,i&&this.data.r===2&&(this.e.v=this._currentTextLength);var s=this.data.r===2?1:100/this.data.totalChars,l=this.o.v/s,c=this.s.v/s+l,u=this.e.v/s+l;if(c>u){var f=c;c=u,u=f}this.finalS=c,this.finalE=u}},extendPrototype([DynamicPropertyContainer],r);function a(o,i,s){return new r(o,i)}return{getTextSelectorProp:a}}();function TextAnimatorDataProperty(e,t,n){var r={propType:!1},a=PropertyFactory.getProp,o=t.a;this.a={r:o.r?a(e,o.r,0,degToRads,n):r,rx:o.rx?a(e,o.rx,0,degToRads,n):r,ry:o.ry?a(e,o.ry,0,degToRads,n):r,sk:o.sk?a(e,o.sk,0,degToRads,n):r,sa:o.sa?a(e,o.sa,0,degToRads,n):r,s:o.s?a(e,o.s,1,.01,n):r,a:o.a?a(e,o.a,1,0,n):r,o:o.o?a(e,o.o,0,.01,n):r,p:o.p?a(e,o.p,1,0,n):r,sw:o.sw?a(e,o.sw,0,0,n):r,sc:o.sc?a(e,o.sc,1,0,n):r,fc:o.fc?a(e,o.fc,1,0,n):r,fh:o.fh?a(e,o.fh,0,0,n):r,fs:o.fs?a(e,o.fs,0,.01,n):r,fb:o.fb?a(e,o.fb,0,.01,n):r,t:o.t?a(e,o.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,n),this.s.t=t.s.t}function TextAnimatorProperty(e,t,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,n,r=PropertyFactory.getProp;for(e=0;e<t;e+=1)n=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,n,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,!(!this._mdf&&!this._isFirstFrame&&!t&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var n=this._moreOptions.alignment.v,r=this._animatorsData,a=this._textData,o=this.mHelper,i=this._renderType,s=this.renderedLetters.length,l,c,u,f,d=e.l,m,y,g,P,v,_,b,S,C,k,T,w,E,F,L;if(this._hasMaskedPath){if(L=this._pathData.m,!this._pathData.n||this._pathData._mdf){var N=L.v;this._pathData.r.v&&(N=N.reverse()),m={tLength:0,segments:[]},f=N._length-1;var O;for(w=0,u=0;u<f;u+=1)O=bez.buildBezierData(N.v[u],N.v[u+1],[N.o[u][0]-N.v[u][0],N.o[u][1]-N.v[u][1]],[N.i[u+1][0]-N.v[u+1][0],N.i[u+1][1]-N.v[u+1][1]]),m.tLength+=O.segmentLength,m.segments.push(O),w+=O.segmentLength;u=f,L.v.c&&(O=bez.buildBezierData(N.v[u],N.v[0],[N.o[u][0]-N.v[u][0],N.o[u][1]-N.v[u][1]],[N.i[0][0]-N.v[0][0],N.i[0][1]-N.v[0][1]]),m.tLength+=O.segmentLength,m.segments.push(O),w+=O.segmentLength),this._pathData.pi=m}if(m=this._pathData.pi,y=this._pathData.f.v,b=0,_=1,P=0,v=!0,k=m.segments,y<0&&L.v.c)for(m.tLength<Math.abs(y)&&(y=-Math.abs(y)%m.tLength),b=k.length-1,C=k[b].points,_=C.length-1;y<0;)y+=C[_].partialLength,_-=1,_<0&&(b-=1,C=k[b].points,_=C.length-1);C=k[b].points,S=C[_-1],g=C[_],T=g.partialLength}f=d.length,l=0,c=0;var U=e.finalSize*1.2*.714,j=!0,I,M,V,R,D;R=r.length;var $,G=-1,ne,oe,ce,ee=y,Y=b,Q=_,z=-1,re,ue,de,x,A,B,q,X,te="",ie=this.defaultPropsArray,le;if(e.j===2||e.j===1){var se=0,ae=0,J=e.j===2?-.5:-1,Z=0,fe=!0;for(u=0;u<f;u+=1)if(d[u].n){for(se&&(se+=ae);Z<u;)d[Z].animatorJustifyOffset=se,Z+=1;se=0,fe=!0}else{for(V=0;V<R;V+=1)I=r[V].a,I.t.propType&&(fe&&e.j===2&&(ae+=I.t.v*J),M=r[V].s,$=M.getMult(d[u].anIndexes[V],a.a[V].s.totalChars),$.length?se+=I.t.v*$[0]*J:se+=I.t.v*$*J);fe=!1}for(se&&(se+=ae);Z<u;)d[Z].animatorJustifyOffset=se,Z+=1}for(u=0;u<f;u+=1){if(o.reset(),re=1,d[u].n)l=0,c+=e.yOffset,c+=j?1:0,y=ee,j=!1,this._hasMaskedPath&&(b=Y,_=Q,C=k[b].points,S=C[_-1],g=C[_],T=g.partialLength,P=0),te="",X="",B="",le="",ie=this.defaultPropsArray;else{if(this._hasMaskedPath){if(z!==d[u].line){switch(e.j){case 1:y+=w-e.lineWidths[d[u].line];break;case 2:y+=(w-e.lineWidths[d[u].line])/2;break}z=d[u].line}G!==d[u].ind&&(d[G]&&(y+=d[G].extra),y+=d[u].an/2,G=d[u].ind),y+=n[0]*d[u].an*.005;var he=0;for(V=0;V<R;V+=1)I=r[V].a,I.p.propType&&(M=r[V].s,$=M.getMult(d[u].anIndexes[V],a.a[V].s.totalChars),$.length?he+=I.p.v[0]*$[0]:he+=I.p.v[0]*$),I.a.propType&&(M=r[V].s,$=M.getMult(d[u].anIndexes[V],a.a[V].s.totalChars),$.length?he+=I.a.v[0]*$[0]:he+=I.a.v[0]*$);for(v=!0,this._pathData.a.v&&(y=d[0].an*.5+(w-this._pathData.f.v-d[0].an*.5-d[d.length-1].an*.5)*G/(f-1),y+=this._pathData.f.v);v;)P+T>=y+he||!C?(E=(y+he-P)/g.partialLength,oe=S.point[0]+(g.point[0]-S.point[0])*E,ce=S.point[1]+(g.point[1]-S.point[1])*E,o.translate(-n[0]*d[u].an*.005,-(n[1]*U)*.01),v=!1):C&&(P+=g.partialLength,_+=1,_>=C.length&&(_=0,b+=1,k[b]?C=k[b].points:L.v.c?(_=0,b=0,C=k[b].points):(P-=g.partialLength,C=null)),C&&(S=g,g=C[_],T=g.partialLength));ne=d[u].an/2-d[u].add,o.translate(-ne,0,0)}else ne=d[u].an/2-d[u].add,o.translate(-ne,0,0),o.translate(-n[0]*d[u].an*.005,-n[1]*U*.01,0);for(V=0;V<R;V+=1)I=r[V].a,I.t.propType&&(M=r[V].s,$=M.getMult(d[u].anIndexes[V],a.a[V].s.totalChars),(l!==0||e.j!==0)&&(this._hasMaskedPath?$.length?y+=I.t.v*$[0]:y+=I.t.v*$:$.length?l+=I.t.v*$[0]:l+=I.t.v*$));for(e.strokeWidthAnim&&(de=e.sw||0),e.strokeColorAnim&&(e.sc?ue=[e.sc[0],e.sc[1],e.sc[2]]:ue=[0,0,0]),e.fillColorAnim&&e.fc&&(x=[e.fc[0],e.fc[1],e.fc[2]]),V=0;V<R;V+=1)I=r[V].a,I.a.propType&&(M=r[V].s,$=M.getMult(d[u].anIndexes[V],a.a[V].s.totalChars),$.length?o.translate(-I.a.v[0]*$[0],-I.a.v[1]*$[1],I.a.v[2]*$[2]):o.translate(-I.a.v[0]*$,-I.a.v[1]*$,I.a.v[2]*$));for(V=0;V<R;V+=1)I=r[V].a,I.s.propType&&(M=r[V].s,$=M.getMult(d[u].anIndexes[V],a.a[V].s.totalChars),$.length?o.scale(1+(I.s.v[0]-1)*$[0],1+(I.s.v[1]-1)*$[1],1):o.scale(1+(I.s.v[0]-1)*$,1+(I.s.v[1]-1)*$,1));for(V=0;V<R;V+=1){if(I=r[V].a,M=r[V].s,$=M.getMult(d[u].anIndexes[V],a.a[V].s.totalChars),I.sk.propType&&($.length?o.skewFromAxis(-I.sk.v*$[0],I.sa.v*$[1]):o.skewFromAxis(-I.sk.v*$,I.sa.v*$)),I.r.propType&&($.length?o.rotateZ(-I.r.v*$[2]):o.rotateZ(-I.r.v*$)),I.ry.propType&&($.length?o.rotateY(I.ry.v*$[1]):o.rotateY(I.ry.v*$)),I.rx.propType&&($.length?o.rotateX(I.rx.v*$[0]):o.rotateX(I.rx.v*$)),I.o.propType&&($.length?re+=(I.o.v*$[0]-re)*$[0]:re+=(I.o.v*$-re)*$),e.strokeWidthAnim&&I.sw.propType&&($.length?de+=I.sw.v*$[0]:de+=I.sw.v*$),e.strokeColorAnim&&I.sc.propType)for(A=0;A<3;A+=1)$.length?ue[A]+=(I.sc.v[A]-ue[A])*$[0]:ue[A]+=(I.sc.v[A]-ue[A])*$;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(A=0;A<3;A+=1)$.length?x[A]+=(I.fc.v[A]-x[A])*$[0]:x[A]+=(I.fc.v[A]-x[A])*$;I.fh.propType&&($.length?x=addHueToRGB(x,I.fh.v*$[0]):x=addHueToRGB(x,I.fh.v*$)),I.fs.propType&&($.length?x=addSaturationToRGB(x,I.fs.v*$[0]):x=addSaturationToRGB(x,I.fs.v*$)),I.fb.propType&&($.length?x=addBrightnessToRGB(x,I.fb.v*$[0]):x=addBrightnessToRGB(x,I.fb.v*$))}}for(V=0;V<R;V+=1)I=r[V].a,I.p.propType&&(M=r[V].s,$=M.getMult(d[u].anIndexes[V],a.a[V].s.totalChars),this._hasMaskedPath?$.length?o.translate(0,I.p.v[1]*$[0],-I.p.v[2]*$[1]):o.translate(0,I.p.v[1]*$,-I.p.v[2]*$):$.length?o.translate(I.p.v[0]*$[0],I.p.v[1]*$[1],-I.p.v[2]*$[2]):o.translate(I.p.v[0]*$,I.p.v[1]*$,-I.p.v[2]*$));if(e.strokeWidthAnim&&(B=de<0?0:de),e.strokeColorAnim&&(q="rgb("+Math.round(ue[0]*255)+","+Math.round(ue[1]*255)+","+Math.round(ue[2]*255)+")"),e.fillColorAnim&&e.fc&&(X="rgb("+Math.round(x[0]*255)+","+Math.round(x[1]*255)+","+Math.round(x[2]*255)+")"),this._hasMaskedPath){if(o.translate(0,-e.ls),o.translate(0,n[1]*U*.01+c,0),this._pathData.p.v){F=(g.point[1]-S.point[1])/(g.point[0]-S.point[0]);var pe=Math.atan(F)*180/Math.PI;g.point[0]<S.point[0]&&(pe+=180),o.rotate(-pe*Math.PI/180)}o.translate(oe,ce,0),y-=n[0]*d[u].an*.005,d[u+1]&&G!==d[u+1].ind&&(y+=d[u].an/2,y+=e.tr*.001*e.finalSize)}else{switch(o.translate(l,c,0),e.ps&&o.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:o.translate(d[u].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[d[u].line]),0,0);break;case 2:o.translate(d[u].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[d[u].line])/2,0,0);break}o.translate(0,-e.ls),o.translate(ne,0,0),o.translate(n[0]*d[u].an*.005,n[1]*U*.01,0),l+=d[u].l+e.tr*.001*e.finalSize}i==="html"?te=o.toCSS():i==="svg"?te=o.to2dCSS():ie=[o.props[0],o.props[1],o.props[2],o.props[3],o.props[4],o.props[5],o.props[6],o.props[7],o.props[8],o.props[9],o.props[10],o.props[11],o.props[12],o.props[13],o.props[14],o.props[15]],le=re}s<=u?(D=new LetterProps(le,B,q,X,te,ie),this.renderedLetters.push(D),s+=1,this.lettersChangedFlag=!0):(D=this.renderedLetters[u],this.lettersChangedFlag=D.update(le,B,q,X,te,ie)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(e,t,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,n),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var n,r=t.length,a,o="";for(n=0;n<r;n+=1)t[n].ty==="sh"&&(a=t[n].ks.k,o+=buildShapeString(a,a.i.length,!0,e));return o},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,n,r,a){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n])/2,0,0);break}t.translate(r,a,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,n){this.textSpans=[],this.renderType="svg",this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,n=e.length,r=[],a="";t<n;)e[t]==="\r"||e[t]===""?(r.push(a),a=""):a+=e[t],t+=1;return r.push(a),r},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var n=e.shapes[0];if(n.it){var r=n.it[n.it.length-1];r.s&&(r.s.k[0]=t,r.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,t,n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var r=this.globalData.fontManager.getFontByName(n.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var a=n.fWeight,o=n.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",a)}this.layerElement.setAttribute("aria-label",n.t);var i=n.l||[],s=!!this.globalData.fontManager.chars;t=i.length;var l,c=this.mHelper,u="",f=this.data.singleShape,d=0,m=0,y=!0,g=n.tr*.001*n.finalSize;if(f&&!s&&!n.sz){var P=this.textContainer,v="start";switch(n.j){case 1:v="end";break;case 2:v="middle";break;default:v="start";break}P.setAttribute("text-anchor",v),P.setAttribute("letter-spacing",g);var _=this.buildTextContents(n.finalText);for(t=_.length,m=n.ps?n.ps[1]+n.ascent:0,e=0;e<t;e+=1)l=this.textSpans[e].span||createNS("tspan"),l.textContent=_[e],l.setAttribute("x",0),l.setAttribute("y",m),l.style.display="inherit",P.appendChild(l),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=l,m+=n.finalLineHeight;this.layerElement.appendChild(P)}else{var b=this.textSpans.length,S;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!s||!f||e===0){if(l=b>e?this.textSpans[e].span:createNS(s?"g":"text"),b<=e){if(l.setAttribute("stroke-linecap","butt"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=l,s){var C=createNS("g");l.appendChild(C),this.textSpans[e].childSpan=C}this.textSpans[e].span=l,this.layerElement.appendChild(l)}l.style.display="inherit"}if(c.reset(),f&&(i[e].n&&(d=-g,m+=n.yOffset,m+=y?1:0,y=!1),this.applyTextPropertiesToMatrix(n,c,i[e].line,d,m),d+=i[e].l||0,d+=g),s){S=this.globalData.fontManager.getCharData(n.finalText[e],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily);var k;if(S.t===1)k=new SVGCompElement(S.data,this.globalData,this);else{var T=emptyShapeData;S.data&&S.data.shapes&&(T=this.buildShapeData(S.data,n.finalSize)),k=new SVGShapeElement(T,this.globalData,this)}if(this.textSpans[e].glyph){var w=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(w.layerElement),w.destroy()}this.textSpans[e].glyph=k,k._debug=!0,k.prepareFrame(0),k.renderFrame(),this.textSpans[e].childSpan.appendChild(k.layerElement),S.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else f&&l.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),l.textContent=i[e].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}f&&l&&l.setAttribute("d",u)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t=this.textSpans.length,n;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<t;e+=1)n=this.textSpans[e].glyph,n&&(n.prepareFrame(this.comp.renderedFrame-this.data.st),n._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,t,n=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l;t=r.length;var a,o,i;for(e=0;e<t;e+=1)r[e].n||(a=n[e],o=this.textSpans[e].span,i=this.textSpans[e].glyph,i&&i.renderFrame(),a._mdf.m&&o.setAttribute("transform",a.m),a._mdf.o&&o.setAttribute("opacity",a.o),a._mdf.sw&&o.setAttribute("stroke-width",a.sw),a._mdf.sc&&o.setAttribute("stroke",a.sc),a._mdf.fc&&o.setAttribute("fill",a.fc))}};function ISolidElement(e,t,n){this.initElement(e,t,n)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function NullElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initFrame(),this.initTransform(e,t,n),this.initHierarchy()}NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var n=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",e.w),r.setAttribute("height",e.h),r.setAttribute("x",0),r.setAttribute("y",0);var a=createElementID();n.setAttribute("id",a),n.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),t.appendChild(n),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,n=this.layers.length;for(t=0;t<n;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){t[e]=!0;var n=this.createItem(this.layers[e]);if(t[e]=n,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,e),this.layers[e].tt){var r="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(r===-1)return;if(!this.elements[r]||this.elements[r]===!0)this.buildItem(r),this.addPendingElement(n);else{var a=t[r],o=a.getMatte(this.layers[e].tt);n.setMatte(o)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,n=this.elements.length;t<n;){if(this.elements[t]===e){var r="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,a=this.elements[r],o=a.getMatte(this.layers[t].tt);e.setMatte(o);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<n;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){for(var r=0,a;r<t;)this.elements[r]&&this.elements[r]!==!0&&this.elements[r].getBaseElement()&&(a=this.elements[r].getBaseElement()),r+=1;a?this.layerElement.insertBefore(n,a):this.layerElement.appendChild(n)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!t.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var n,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(e,t,n){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var n="";if(t&&t.title){var r=createNS("title"),a=createElementID();r.setAttribute("id",a),r.textContent=t.title,this.svgElement.appendChild(r),n+=a}if(t&&t.description){var o=createNS("desc"),i=createElementID();o.setAttribute("id",i),o.textContent=t.description,this.svgElement.appendChild(o),n+=" "+i}n&&this.svgElement.setAttribute("aria-labelledby",n);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&t.hideOnTransparent===!1),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(t){var n,r=t.length,a="_";for(n=0;n<r;n+=1)a+=t[n].transform.key+"_";var o=this.sequences[a];return o||(o={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[a]=o,this.sequenceList.push(o)),o},processSequence:function(t,n){for(var r=0,a=t.transforms.length,o=n;r<a&&!n;){if(t.transforms[r].transform.mProps._mdf){o=!0;break}r+=1}if(o)for(t.finalTransform.reset(),r=a-1;r>=0;r-=1)t.finalTransform.multiply(t.transforms[r].transform.mProps.v);t._mdf=o},processSequences:function(t){var n,r=this.sequenceList.length;for(n=0;n<r;n+=1)this.processSequence(this.sequenceList[n],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",n=null,r=null,a=null;function o(){var l=createNS("svg"),c=createNS("filter"),u=createNS("feColorMatrix");return c.setAttribute("id",t),u.setAttribute("type","matrix"),u.setAttribute("color-interpolation-filters","sRGB"),u.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),c.appendChild(u),l.appendChild(c),l.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(l.style.display="none"),l}function i(){n||(a=o(),document.body.appendChild(a),n=createTag("canvas"),r=n.getContext("2d"),r.filter="url(#"+t+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}function s(l){return n||i(),n.width=l.width,n.height=l.height,r.filter="url(#"+t+")",n}return{load:i,get:s}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var n=createTag("canvas");return n.width=e,n.height=t,n}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(e){var t,n=e.data.ef?e.data.ef.length:0;this.filters=[];var r;for(t=0;t<n;t+=1){r=null;var a=e.data.ef[t].ty;if(registeredEffects[a]){var o=registeredEffects[a].effect;r=new o(e.effectsManager.effectElements[t],e)}r&&this.filters.push(r)}this.filters.length&&e.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,n=this.filters.length,r=[];for(t=0;t<n;t+=1)this.filters[t].type===e&&r.push(this.filters[t]);return r};function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n,r=this.masksProperties.length,a=!1;for(n=0;n<r;n+=1)this.masksProperties[n].mode!=="n"&&(a=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=a,a&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,t=this.element.canvasContext,n,r=this.masksProperties.length,a,o,i;for(t.beginPath(),n=0;n<r;n+=1)if(this.masksProperties[n].mode!=="n"){this.masksProperties[n].inv&&(t.moveTo(0,0),t.lineTo(this.element.globalData.compSize.w,0),t.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),t.lineTo(0,this.element.globalData.compSize.h),t.lineTo(0,0)),i=this.viewData[n].v,a=e.applyToPointArray(i.v[0][0],i.v[0][1],0),t.moveTo(a[0],a[1]);var s,l=i._length;for(s=1;s<l;s+=1)o=e.applyToTriplePoints(i.o[s-1],i.i[s],i.v[s]),t.bezierCurveTo(o[0],o[1],o[2],o[3],o[4],o[5]);o=e.applyToTriplePoints(i.o[s-1],i.i[0],i.v[0]),t.bezierCurveTo(o[0],o[1],o[2],o[3],o[4],o[5])}this.element.globalData.renderer.save(!0),t.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,n=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(n);var r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var n=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=n}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],n=t.getContext("2d");this.clearCanvas(n),n.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],n=t.getContext("2d");this.clearCanvas(n),n.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var r=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(r.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var a=assetLoader.getLumaCanvas(this.canvasContext.canvas),o=a.getContext("2d");o.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(a,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var n=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(n),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(n),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(e,t,n,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var a=4;t.ty==="rc"?a=5:t.ty==="el"?a=6:t.ty==="sr"&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,a,e);var o,i=n.length,s;for(o=0;o<i;o+=1)n[o].closed||(s={transforms:r.addTransformSequence(n[o].transforms),trNodes:[]},this.styledShapes.push(s),n[o].elements.push(s))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var n={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},r={};if(e.ty==="fl"||e.ty==="st"?(r.c=PropertyFactory.getProp(this,e.c,1,255,this),r.c.k||(n.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(r.s=PropertyFactory.getProp(this,e.s,1,null,this),r.e=PropertyFactory.getProp(this,e.e,1,null,this),r.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,e.g,this)),r.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(n.lc=lineCapEnum[e.lc||2],n.lj=lineJoinEnum[e.lj||2],e.lj==1&&(n.ml=e.ml),r.w=PropertyFactory.getProp(this,e.w,0,null,this),r.w.k||(n.wi=r.w.v),e.d){var a=new DashProperty(this,e.d,"canvas",this);r.d=a,r.d.k||(n.da=r.d.dashArray,n.do=r.d.dashoffset[0])}}else n.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(n),r.style=n,r},CVShapeElement.prototype.createGroupElement=function(){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(e){var t={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}};return t},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,n,r,a){var o,i=e.length-1,s,l,c=[],u=[],f,d,m,y=[].concat(a);for(o=i;o>=0;o-=1){if(f=this.searchProcessedElement(e[o]),f?t[o]=n[f-1]:e[o]._shouldRender=r,e[o].ty==="fl"||e[o].ty==="st"||e[o].ty==="gf"||e[o].ty==="gs")f?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],y),c.push(t[o].style);else if(e[o].ty==="gr"){if(!f)t[o]=this.createGroupElement(e[o]);else for(l=t[o].it.length,s=0;s<l;s+=1)t[o].prevViewData[s]=t[o].it[s];this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,r,y)}else e[o].ty==="tr"?(f||(m=this.createTransformElement(e[o]),t[o]=m),y.push(t[o]),this.addTransformToStyleList(t[o])):e[o].ty==="sh"||e[o].ty==="rc"||e[o].ty==="el"||e[o].ty==="sr"?f||(t[o]=this.createShapeElement(e[o])):e[o].ty==="tm"||e[o].ty==="rd"||e[o].ty==="pb"||e[o].ty==="zz"||e[o].ty==="op"?(f?(d=t[o],d.closed=!1):(d=ShapeModifiers.getModifier(e[o].ty),d.init(this,e[o]),t[o]=d,this.shapeModifiers.push(d)),u.push(d)):e[o].ty==="rp"&&(f?(d=t[o],d.closed=!0):(d=ShapeModifiers.getModifier(e[o].ty),t[o]=d,d.init(this,e,o,t),this.shapeModifiers.push(d),r=!1),u.push(d));this.addProcessedElement(e[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(c),i=u.length,o=0;o<i;o+=1)u[o].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t=this.stylesList.length,n,r,a,o,i,s,l=this.globalData.renderer,c=this.globalData.canvasContext,u,f;for(e=0;e<t;e+=1)if(f=this.stylesList[e],u=f.type,!((u==="st"||u==="gs")&&f.wi===0||!f.data._shouldRender||f.coOp===0||this.globalData.currentGlobalAlpha===0)){for(l.save(),i=f.elements,u==="st"||u==="gs"?(l.ctxStrokeStyle(u==="st"?f.co:f.grd),l.ctxLineWidth(f.wi),l.ctxLineCap(f.lc),l.ctxLineJoin(f.lj),l.ctxMiterLimit(f.ml||0)):l.ctxFillStyle(u==="fl"?f.co:f.grd),l.ctxOpacity(f.coOp),u!=="st"&&u!=="gs"&&c.beginPath(),l.ctxTransform(f.preTransforms.finalTransform.props),r=i.length,n=0;n<r;n+=1){for((u==="st"||u==="gs")&&(c.beginPath(),f.da&&(c.setLineDash(f.da),c.lineDashOffset=f.do)),s=i[n].trNodes,o=s.length,a=0;a<o;a+=1)s[a].t==="m"?c.moveTo(s[a].p[0],s[a].p[1]):s[a].t==="c"?c.bezierCurveTo(s[a].pts[0],s[a].pts[1],s[a].pts[2],s[a].pts[3],s[a].pts[4],s[a].pts[5]):c.closePath();(u==="st"||u==="gs")&&(l.ctxStroke(),f.da&&c.setLineDash(this.dashResetter))}u!=="st"&&u!=="gs"&&this.globalData.renderer.ctxFill(f.r),l.restore()}},CVShapeElement.prototype.renderShape=function(e,t,n,r){var a,o=t.length-1,i;for(i=e,a=o;a>=0;a-=1)t[a].ty==="tr"?(i=n[a].transform,this.renderShapeTransform(e,i)):t[a].ty==="sh"||t[a].ty==="el"||t[a].ty==="rc"||t[a].ty==="sr"?this.renderPath(t[a],n[a]):t[a].ty==="fl"?this.renderFill(t[a],n[a],i):t[a].ty==="st"?this.renderStroke(t[a],n[a],i):t[a].ty==="gf"||t[a].ty==="gs"?this.renderGradientFill(t[a],n[a],i):t[a].ty==="gr"?this.renderShape(i,t[a].it,n[a].it):t[a].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n=e.trNodes,r=t.paths,a,o,i,s=r._length;n.length=0;var l=e.transforms.finalTransform;for(i=0;i<s;i+=1){var c=r.shapes[i];if(c&&c.v){for(o=c._length,a=1;a<o;a+=1)a===1&&n.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),n.push({t:"c",pts:l.applyToTriplePoints(c.o[a-1],c.i[a],c.v[a])});o===1&&n.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&o&&(n.push({t:"c",pts:l.applyToTriplePoints(c.o[a-1],c.i[0],c.v[0])}),n.push({t:"z"}))}}e.trNodes=n}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var n,r=t.styledShapes.length;for(n=0;n<r;n+=1)this.renderStyledShape(t.styledShapes[n],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,n){var r=t.style;(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,n){var r=t.style,a;if(!r.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var o=this.globalData.canvasContext,i=t.s.v,s=t.e.v;if(e.t===1)a=o.createLinearGradient(i[0],i[1],s[0],s[1]);else{var l=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)),c=Math.atan2(s[1]-i[1],s[0]-i[0]),u=t.h.v;u>=1?u=.99:u<=-1&&(u=-.99);var f=l*u,d=Math.cos(c+t.a.v)*f+i[0],m=Math.sin(c+t.a.v)*f+i[1];a=o.createRadialGradient(d,m,0,i[0],i[1],l)}var y,g=e.g.p,P=t.g.c,v=1;for(y=0;y<g;y+=1)t.g._hasOpacity&&t.g._collapsable&&(v=t.g.o[y*2+1]),a.addColorStop(P[y*4]/100,"rgba("+P[y*4+1]+","+P[y*4+2]+","+P[y*4+3]+","+v+")");r.grd=a}r.coOp=t.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(e,t,n){var r=t.style,a=t.d;a&&(a._mdf||this._isFirstFrame)&&(r.da=a.dashArray,r.do=a.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity),(t.w._mdf||this._isFirstFrame)&&(r.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(e,t,n){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var n=!1;e.sc&&(n=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var r=this.globalData.fontManager.getFontByName(e.f),a,o,i=e.l,s=this.mHelper;this.stroke=n,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,o=e.finalText.length;var l,c,u,f,d,m,y,g,P,v,_=this.data.singleShape,b=e.tr*.001*e.finalSize,S=0,C=0,k=!0,T=0;for(a=0;a<o;a+=1){l=this.globalData.fontManager.getCharData(e.finalText[a],r.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),c=l&&l.data||{},s.reset(),_&&i[a].n&&(S=-b,C+=e.yOffset,C+=k?1:0,k=!1),d=c.shapes?c.shapes[0].it:[],y=d.length,s.scale(e.finalSize/100,e.finalSize/100),_&&this.applyTextPropertiesToMatrix(e,s,i[a].line,S,C),P=createSizedArray(y-1);var w=0;for(m=0;m<y;m+=1)if(d[m].ty==="sh"){for(f=d[m].ks.k.i.length,g=d[m].ks.k,v=[],u=1;u<f;u+=1)u===1&&v.push(s.applyToX(g.v[0][0],g.v[0][1],0),s.applyToY(g.v[0][0],g.v[0][1],0)),v.push(s.applyToX(g.o[u-1][0],g.o[u-1][1],0),s.applyToY(g.o[u-1][0],g.o[u-1][1],0),s.applyToX(g.i[u][0],g.i[u][1],0),s.applyToY(g.i[u][0],g.i[u][1],0),s.applyToX(g.v[u][0],g.v[u][1],0),s.applyToY(g.v[u][0],g.v[u][1],0));v.push(s.applyToX(g.o[u-1][0],g.o[u-1][1],0),s.applyToY(g.o[u-1][0],g.o[u-1][1],0),s.applyToX(g.i[0][0],g.i[0][1],0),s.applyToY(g.i[0][0],g.i[0][1],0),s.applyToX(g.v[0][0],g.v[0][1],0),s.applyToY(g.v[0][0],g.v[0][1],0)),P[w]=v,w+=1}_&&(S+=i[a].l,S+=b),this.textSpans[T]?this.textSpans[T].elem=P:this.textSpans[T]={elem:P},T+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var e=this.canvasContext;e.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var t,n,r,a,o,i,s=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;n=l.length;var c,u=null,f=null,d=null,m,y,g=this.globalData.renderer;for(t=0;t<n;t+=1)if(!l[t].n){if(c=s[t],c&&(g.save(),g.ctxTransform(c.p),g.ctxOpacity(c.o)),this.fill){for(c&&c.fc?u!==c.fc&&(g.ctxFillStyle(c.fc),u=c.fc):u!==this.values.fill&&(u=this.values.fill,g.ctxFillStyle(this.values.fill)),m=this.textSpans[t].elem,a=m.length,this.globalData.canvasContext.beginPath(),r=0;r<a;r+=1)for(y=m[r],i=y.length,this.globalData.canvasContext.moveTo(y[0],y[1]),o=2;o<i;o+=6)this.globalData.canvasContext.bezierCurveTo(y[o],y[o+1],y[o+2],y[o+3],y[o+4],y[o+5]);this.globalData.canvasContext.closePath(),g.ctxFill()}if(this.stroke){for(c&&c.sw?d!==c.sw&&(d=c.sw,g.ctxLineWidth(c.sw)):d!==this.values.sWidth&&(d=this.values.sWidth,g.ctxLineWidth(this.values.sWidth)),c&&c.sc?f!==c.sc&&(f=c.sc,g.ctxStrokeStyle(c.sc)):f!==this.values.stroke&&(f=this.values.stroke,g.ctxStrokeStyle(this.values.stroke)),m=this.textSpans[t].elem,a=m.length,this.globalData.canvasContext.beginPath(),r=0;r<a;r+=1)for(y=m[r],i=y.length,this.globalData.canvasContext.moveTo(y[0],y[1]),o=2;o<i;o+=6)this.globalData.canvasContext.bezierCurveTo(y[o],y[o+1],y[o+2],y[o+3],y[o+4],y[o+5]);this.globalData.canvasContext.closePath(),g.ctxStroke()}c&&this.globalData.renderer.restore()}};function CVImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t=e.getContext("2d"),n=this.img.width,r=this.img.height,a=n/r,o=this.assetData.w/this.assetData.h,i,s,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>o&&l==="xMidYMid slice"||a<o&&l!=="xMidYMid slice"?(s=r,i=s*o):(i=n,s=i/o),t.drawImage(this.img,(n-i)/2,(r-s)/2,i,s,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,t,n){this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,n,r){this.canvasContext.fillRect(e,t,n,r)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var n="0px 0px 0px";t.transformOrigin=n,t.mozTransformOrigin=n,t.webkitTransformOrigin=n,t["-webkit-transform"]=n,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){this.reset();var n,r;e?(n=e,r=t,this.canvasContext.canvas.width=n,this.canvasContext.canvas.height=r):(this.animationItem.wrapper&&this.animationItem.container?(n=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight):(n=this.canvasContext.canvas.width,r=this.canvasContext.canvas.height),this.canvasContext.canvas.width=n*this.renderConfig.dpr,this.canvasContext.canvas.height=r*this.renderConfig.dpr);var a,o;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var i=this.renderConfig.preserveAspectRatio.split(" "),s=i[1]||"meet",l=i[0]||"xMidYMid",c=l.substr(0,4),u=l.substr(4);a=n/r,o=this.transformCanvas.w/this.transformCanvas.h,o>a&&s==="meet"||o<a&&s==="slice"?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr)),c==="xMid"&&(o<a&&s==="meet"||o>a&&s==="slice")?this.transformCanvas.tx=(n-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:c==="xMax"&&(o<a&&s==="meet"||o>a&&s==="slice")?this.transformCanvas.tx=(n-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,u==="YMid"&&(o>a&&s==="meet"||o<a&&s==="slice")?this.transformCanvas.ty=(r-this.transformCanvas.h*(n/this.transformCanvas.w))/2*this.renderConfig.dpr:u==="YMax"&&(o>a&&s==="meet"||o<a&&s==="slice")?this.transformCanvas.ty=(r-this.transformCanvas.h*(n/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e,t=this.layers?this.layers.length:0;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var n,r=this.layers.length;for(this.completeLayers||this.checkLayers(e),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(e-this.layers[n].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var e,t=15;for(e=0;e<t;e+=1){var n=new CanvasContext;this.stack[e]=n}this._length=t,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var e=this._length*2,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t=this.stack[this.cArrPos],n=t.transform,r,a=this.cTr.props;for(r=0;r<16;r+=1)a[r]=n[r];if(e){this.nativeContext.restore();var o=this.stack[this.cArrPos+1];this.appliedFillStyle=o.fillStyle,this.appliedStrokeStyle=o.strokeStyle,this.appliedLineWidth=o.lineWidth,this.appliedLineCap=o.lineCap,this.appliedLineJoin=o.lineJoin,this.appliedMiterLimit=o.miterLimit}this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),(e||t.opacity!==-1&&this.currentOpacity!==t.opacity)&&(this.nativeContext.globalAlpha=t.opacity,this.currentOpacity=t.opacity),this.currentFillStyle=t.fillStyle,this.currentStrokeStyle=t.strokeStyle,this.currentLineWidth=t.lineWidth,this.currentLineCap=t.lineCap,this.currentLineJoin=t.lineJoin,this.currentMiterLimit=t.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var n=this.stack[this.cArrPos],r;for(r=0;r<16;r+=1)n.transform[r]=t[r];this.cArrPos+=1;var a=this.stack[this.cArrPos];a.opacity=n.opacity,a.fillStyle=n.fillStyle,a.strokeStyle=n.strokeStyle,a.lineWidth=n.lineWidth,a.lineCap=n.lineCap,a.lineJoin=n.lineJoin,a.miterLimit=n.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var n=t.props;this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,n,r){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,n,r)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(e,t,n){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var t,n=this.layers.length;for(t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var n=this.finalTransform.mat.toCSS();t.transform=n,t.webkitTransform=n}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(e,t,n){this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t=e[n].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var n=e.sh.v,r=e.transformers,a,o=n._length,i,s,l,c;if(!(o<=1)){for(a=0;a<o-1;a+=1)i=this.getTransformedPoint(r,n.v[a]),s=this.getTransformedPoint(r,n.o[a]),l=this.getTransformedPoint(r,n.i[a+1]),c=this.getTransformedPoint(r,n.v[a+1]),this.checkBounds(i,s,l,c,t);n.c&&(i=this.getTransformedPoint(r,n.v[a]),s=this.getTransformedPoint(r,n.o[a]),l=this.getTransformedPoint(r,n.i[0]),c=this.getTransformedPoint(r,n.v[0]),this.checkBounds(i,s,l,c,t))}},HShapeElement.prototype.checkBounds=function(e,t,n,r,a){this.getBoundsOfCurve(e,t,n,r);var o=this.shapeBoundingBox;a.x=bmMin(o.left,a.x),a.xMax=bmMax(o.right,a.xMax),a.y=bmMin(o.top,a.y),a.yMax=bmMax(o.bottom,a.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,n,r){for(var a=[[e[0],r[0]],[e[1],r[1]]],o,i,s,l,c,u,f,d=0;d<2;++d)i=6*e[d]-12*t[d]+6*n[d],o=-3*e[d]+9*t[d]-9*n[d]+3*r[d],s=3*t[d]-3*e[d],i|=0,o|=0,s|=0,o===0&&i===0||(o===0?(l=-s/i,l>0&&l<1&&a[d].push(this.calculateF(l,e,t,n,r,d))):(c=i*i-4*s*o,c>=0&&(u=(-i+bmSqrt(c))/(2*o),u>0&&u<1&&a[d].push(this.calculateF(u,e,t,n,r,d)),f=(-i-bmSqrt(c))/(2*o),f>0&&f<1&&a[d].push(this.calculateF(f,e,t,n,r,d)))));this.shapeBoundingBox.left=bmMin.apply(null,a[0]),this.shapeBoundingBox.top=bmMin.apply(null,a[1]),this.shapeBoundingBox.right=bmMax.apply(null,a[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,a[1])},HShapeElement.prototype.calculateF=function(e,t,n,r,a,o){return bmPow(1-e,3)*t[o]+3*bmPow(1-e,2)*e*n[o]+3*(1-e)*bmPow(e,2)*r[o]+bmPow(e,3)*a[o]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]&&e[n].sh?this.calculateShapeBoundingBox(e[n],t):e[n]&&e[n].it?this.calculateBoundingBox(e[n].it,t):e[n]&&e[n].style&&e[n].w&&this.expandStrokeBoundingBox(e[n].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var n=0;if(e.keyframes){for(var r=0;r<e.keyframes.length;r+=1){var a=e.keyframes[r].s;a>n&&(n=a)}n*=e.mult}else n=e.v*e.mult;t.x-=n,t.xMax+=n,t.y-=n,t.yMax+=n},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var n=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),n=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),n=!0),n||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,a="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=a,r.webkitTransform=a}}};function HTextElement(e,t,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,n=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=n,t.color=n,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var r=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",r.fClass)this.innerElem.className=r.fClass;else{t.fontFamily=r.fFamily;var a=e.fWeight,o=e.fStyle;t.fontStyle=o,t.fontWeight=a}var i,s,l=e.l;s=l.length;var c,u,f,d=this.mHelper,m,y="",g=0;for(i=0;i<s;i+=1){if(this.globalData.fontManager.chars?(this.textPaths[g]?c=this.textPaths[g]:(c=createNS("path"),c.setAttribute("stroke-linecap",lineCapEnum[1]),c.setAttribute("stroke-linejoin",lineJoinEnum[2]),c.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[g]?(u=this.textSpans[g],f=u.children[0]):(u=createTag("div"),u.style.lineHeight=0,f=createNS("svg"),f.appendChild(c),styleDiv(u)))):this.isMasked?c=this.textPaths[g]?this.textPaths[g]:createNS("text"):this.textSpans[g]?(u=this.textSpans[g],c=this.textPaths[g]):(u=createTag("span"),styleDiv(u),c=createTag("span"),styleDiv(c),u.appendChild(c)),this.globalData.fontManager.chars){var P=this.globalData.fontManager.getCharData(e.finalText[i],r.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),v;if(P?v=P.data:v=null,d.reset(),v&&v.shapes&&v.shapes.length&&(m=v.shapes[0].it,d.scale(e.finalSize/100,e.finalSize/100),y=this.createPathShape(d,m),c.setAttribute("d",y)),this.isMasked)this.innerElem.appendChild(c);else{if(this.innerElem.appendChild(u),v&&v.shapes){document.body.appendChild(f);var _=f.getBBox();f.setAttribute("width",_.width+2),f.setAttribute("height",_.height+2),f.setAttribute("viewBox",_.x-1+" "+(_.y-1)+" "+(_.width+2)+" "+(_.height+2));var b=f.style,S="translate("+(_.x-1)+"px,"+(_.y-1)+"px)";b.transform=S,b.webkitTransform=S,l[i].yOffset=_.y-1}else f.setAttribute("width",1),f.setAttribute("height",1);u.appendChild(f)}}else if(c.textContent=l[i].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(c);else{this.innerElem.appendChild(u);var C=c.style,k="translate3d(0,"+-e.finalSize/1.2+"px,0)";C.transform=k,C.webkitTransform=k}this.isMasked?this.textSpans[g]=c:this.textSpans[g]=u,this.textSpans[g].style.display="block",this.textPaths[g]=c,g+=1}for(;g<this.textSpans.length;)this.textSpans[g].style.display="none",g+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var n,r,a=0,o=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;r=i.length;var s,l,c;for(n=0;n<r;n+=1)i[n].n?a+=1:(l=this.textSpans[n],c=this.textPaths[n],s=o[a],a+=1,s._mdf.m&&(this.isMasked?l.setAttribute("transform",s.m):(l.style.webkitTransform=s.m,l.style.transform=s.m)),l.style.opacity=s.o,s.sw&&s._mdf.sw&&c.setAttribute("stroke-width",s.sw),s.sc&&s._mdf.sc&&c.setAttribute("stroke",s.sc),s.fc&&s._mdf.fc&&(c.setAttribute("fill",s.fc),c.style.color=s.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height));var f=1;if(this.currentBBox.w!==u.width+f*2||this.currentBBox.h!==u.height+f*2||this.currentBBox.x!==u.x-f||this.currentBBox.y!==u.y-f){this.currentBBox.w=u.width+f*2,this.currentBBox.h=u.height+f*2,this.currentBBox.x=u.x-f,this.currentBBox.y=u.y-f,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var d="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=d,e.webkitTransform=d}}}};function HCameraElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,e.pe,0,0,this),e.ks.p.s?(this.px=r(this,e.ks.p.x,1,0,this),this.py=r(this,e.ks.p.y,1,0,this),this.pz=r(this,e.ks.p.z,1,0,this)):this.p=r(this,e.ks.p,1,0,this),e.ks.a&&(this.a=r(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var a,o=e.ks.or.k.length;for(a=0;a<o;a+=1)e.ks.or.k[a].to=null,e.ks.or.k[a].ti=null}this.or=r(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,e.ks.rx,0,degToRads,this),this.ry=r(this,e.ks.ry,0,degToRads,this),this.rz=r(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t=this.comp.threeDElements.length,n,r,a;for(e=0;e<t;e+=1)if(n=this.comp.threeDElements[e],n.type==="3d"){r=n.perspectiveElem.style,a=n.container.style;var o=this.pe.v+"px",i="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=o,r.webkitPerspective=o,a.transformOrigin=i,a.mozTransformOrigin=i,a.webkitTransformOrigin=i,r.transform=s,r.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e=this._isFirstFrame,t,n;if(this.hierarchy)for(n=this.hierarchy.length,t=0;t<n;t+=1)e=this.hierarchy[t].finalTransform.mProp._mdf||e;if(e||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(n=this.hierarchy.length-1,t=n;t>=0;t-=1){var r=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var a;this.p?a=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:a=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2)+Math.pow(a[2],2)),i=[a[0]/o,a[1]/o,a[2]/o],s=Math.sqrt(i[2]*i[2]+i[0]*i[0]),l=Math.atan2(i[1],s),c=Math.atan2(i[0],-i[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){n=this.comp.threeDElements.length;var f,d,m;for(t=0;t<n;t+=1)if(f=this.comp.threeDElements[t],f.type==="3d"){if(u){var y=this.mat.toCSS();m=f.container.style,m.transform=y,m.webkitTransform=y}this.pe._mdf&&(d=f.perspectiveElem.style,d.perspective=this.pe.v+"px",d.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){var r=this.layers[t];if(!r.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(n,t);else{for(var a=0,o,i,s;a<t;)this.elements[a]&&this.elements[a]!==!0&&this.elements[a].getBaseElement&&(i=this.elements[a],s=this.layers[a].ddd?this.getThreeDContainerByPos(a):i.getBaseElement(),o=s||o),a+=1;o?(!r.ddd||!this.supports3d)&&this.layerElement.insertBefore(n,o):(!r.ddd||!this.supports3d)&&this.layerElement.appendChild(n)}else this.addTo3dContainer(n,t)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,n=this.threeDElements.length;t<n;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var n=createTag("div"),r,a;styleDiv(n);var o=createTag("div");if(styleDiv(o),t==="3d"){r=n.style,r.width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var i="50% 50%";r.webkitTransformOrigin=i,r.mozTransformOrigin=i,r.transformOrigin=i,a=o.style;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";a.transform=s,a.webkitTransform=s}n.appendChild(o);var l={container:o,perspectiveElem:n,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,n,r="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(r!=="3d"&&(r="3d",n=this.createThreeDContainer(e,"3d")),n.endPos=Math.max(n.endPos,e)):(r!=="2d"&&(r="2d",n=this.createThreeDContainer(e,"2d")),n.endPos=Math.max(n.endPos,e));for(t=this.threeDElements.length,e=t-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var n=0,r=this.threeDElements.length;n<r;){if(t<=this.threeDElements[n].endPos){for(var a=this.threeDElements[n].startPos,o;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(o=this.elements[a].getBaseElement()),a+=1;o?this.threeDElements[n].container.insertBefore(e,o):this.threeDElements[n].container.appendChild(e);break}n+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),n=this.animationItem.wrapper,r=t.style;r.width=e.w+"px",r.height=e.h+"px",this.resizerElem=t,styleDiv(t),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),n.appendChild(t),r.overflow="hidden";var a=createNS("svg");a.setAttribute("width","1"),a.setAttribute("height","1"),styleDiv(a),this.resizerElem.appendChild(a);var o=createNS("defs");a.appendChild(o),this.data=e,this.setupGlobalData(e,a),this.globalData.defs=o,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,n=e/t,r=this.globalData.compSize.w/this.globalData.compSize.h,a,o,i,s;r>n?(a=e/this.globalData.compSize.w,o=e/this.globalData.compSize.w,i=0,s=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(a=t/this.globalData.compSize.h,o=t/this.globalData.compSize.h,i=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,s=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+a+",0,0,0,0,"+o+",0,0,0,0,1,0,"+i+","+s+",0,1)",l.transform=l.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,n,r=this.threeDElements.length;for(n=0;n<r;n+=1){var a=this.threeDElements[n].perspectiveElem.style;a.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",a.perspective=a.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,n=e.length,r=createTag("div");for(t=0;t<n;t+=1)if(e[t].xt){var a=this.createComp(e[t],r,this.globalData.comp,null);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}};function HCompElement(e,t,n){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var n=0,r;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(e,r):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(){return function(e){function t(n){for(var r=0,a=e.layers.length;r<a;){if(e.layers[r].nm===n||e.layers[r].ind===n)return e.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t}}();function _typeof$2(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(n){return typeof n}:_typeof$2=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof$2(e)}function seedRandom(e,t){var n=this,r=256,a=6,o=52,i="random",s=t.pow(r,a),l=t.pow(2,o),c=l*2,u=r-1,f;function d(b,S,C){var k=[];S=S===!0?{entropy:!0}:S||{};var T=P(g(S.entropy?[b,_(e)]:b===null?v():b,3),k),w=new m(k),E=function(){for(var L=w.g(a),N=s,O=0;L<l;)L=(L+O)*r,N*=r,O=w.g(1);for(;L>=c;)L/=2,N/=2,O>>>=1;return(L+O)/N};return E.int32=function(){return w.g(4)|0},E.quick=function(){return w.g(4)/4294967296},E.double=E,P(_(w.S),e),(S.pass||C||function(F,L,N,O){return O&&(O.S&&y(O,w),F.state=function(){return y(w,{})}),N?(t[i]=F,L):F})(E,T,"global"in S?S.global:this==t,S.state)}t["seed"+i]=d;function m(b){var S,C=b.length,k=this,T=0,w=k.i=k.j=0,E=k.S=[];for(C||(b=[C++]);T<r;)E[T]=T++;for(T=0;T<r;T++)E[T]=E[w=u&w+b[T%C]+(S=E[T])],E[w]=S;k.g=function(F){for(var L,N=0,O=k.i,U=k.j,j=k.S;F--;)L=j[O=u&O+1],N=N*r+j[u&(j[O]=j[U=u&U+L])+(j[U]=L)];return k.i=O,k.j=U,N}}function y(b,S){return S.i=b.i,S.j=b.j,S.S=b.S.slice(),S}function g(b,S){var C=[],k=_typeof$2(b),T;if(S&&k=="object")for(T in b)try{C.push(g(b[T],S-1))}catch{}return C.length?C:k=="string"?b:b+"\0"}function P(b,S){for(var C=b+"",k,T=0;T<C.length;)S[u&T]=u&(k^=S[u&T]*19)+C.charCodeAt(T++);return _(S)}function v(){try{var b=new Uint8Array(r);return(n.crypto||n.msCrypto).getRandomValues(b),_(b)}catch{var S=n.navigator,C=S&&S.plugins;return[+new Date,n,C,n.screen,_(e)]}}function _(b){return String.fromCharCode.apply(0,b)}P(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(n){return typeof n}:_typeof$1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return e==="number"||t instanceof Number||e==="boolean"||e==="string"}function $bm_neg(e){var t=_typeof$1(e);if(t==="number"||e instanceof Number||t==="boolean")return-e;if($bm_isInstanceOfArray(e)){var n,r=e.length,a=[];for(n=0;n<r;n+=1)a[n]=-e[n];return a}return e.propType?e.v:-e}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var n=_typeof$1(e),r=_typeof$1(t);if(isNumerable(n,e)&&isNumerable(r,t)||n==="string"||r==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return e=e.slice(0),e[0]+=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var a=0,o=e.length,i=t.length,s=[];a<o||a<i;)(typeof e[a]=="number"||e[a]instanceof Number)&&(typeof t[a]=="number"||t[a]instanceof Number)?s[a]=e[a]+t[a]:s[a]=t[a]===void 0?e[a]:e[a]||t[a],a+=1;return s}return 0}var add=sum;function sub(e,t){var n=_typeof$1(e),r=_typeof$1(t);if(isNumerable(n,e)&&isNumerable(r,t))return n==="string"&&(e=parseInt(e,10)),r==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return e=e.slice(0),e[0]-=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var a=0,o=e.length,i=t.length,s=[];a<o||a<i;)(typeof e[a]=="number"||e[a]instanceof Number)&&(typeof t[a]=="number"||t[a]instanceof Number)?s[a]=e[a]-t[a]:s[a]=t[a]===void 0?e[a]:e[a]||t[a],a+=1;return s}return 0}function mul(e,t){var n=_typeof$1(e),r=_typeof$1(t),a;if(isNumerable(n,e)&&isNumerable(r,t))return e*t;var o,i;if($bm_isInstanceOfArray(e)&&isNumerable(r,t)){for(i=e.length,a=createTypedArray("float32",i),o=0;o<i;o+=1)a[o]=e[o]*t;return a}if(isNumerable(n,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,a=createTypedArray("float32",i),o=0;o<i;o+=1)a[o]=e*t[o];return a}return 0}function div(e,t){var n=_typeof$1(e),r=_typeof$1(t),a;if(isNumerable(n,e)&&isNumerable(r,t))return e/t;var o,i;if($bm_isInstanceOfArray(e)&&isNumerable(r,t)){for(i=e.length,a=createTypedArray("float32",i),o=0;o<i;o+=1)a[o]=e[o]/t;return a}if(isNumerable(n,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,a=createTypedArray("float32",i),o=0;o<i;o+=1)a[o]=e/t[o];return a}return 0}function mod(e,t){return typeof e=="string"&&(e=parseInt(e,10)),typeof t=="string"&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,n){if(t>n){var r=n;n=t,t=r}return Math.min(Math.max(e,t),n)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var n,r=Math.min(e.length,t.length),a=0;for(n=0;n<r;n+=1)a+=Math.pow(t[n]-e[n],2);return Math.sqrt(a)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],n=e[1],r=e[2],a=Math.max(t,n,r),o=Math.min(t,n,r),i,s,l=(a+o)/2;if(a===o)i=0,s=0;else{var c=a-o;switch(s=l>.5?c/(2-a-o):c/(a+o),a){case t:i=(n-r)/c+(n<r?6:0);break;case n:i=(r-t)/c+2;break;case r:i=(t-n)/c+4;break}i/=6}return[i,s,l,e[3]]}function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e){var t=e[0],n=e[1],r=e[2],a,o,i;if(n===0)a=r,i=r,o=r;else{var s=r<.5?r*(1+n):r+n-r*n,l=2*r-s;a=hue2rgb(l,s,t+1/3),o=hue2rgb(l,s,t),i=hue2rgb(l,s,t-1/3)}return[a,o,i,e[3]]}function linear(e,t,n,r,a){if((r===void 0||a===void 0)&&(r=t,a=n,t=0,n=1),n<t){var o=n;n=t,t=o}if(e<=t)return r;if(e>=n)return a;var i=n===t?0:(e-t)/(n-t);if(!r.length)return r+(a-r)*i;var s,l=r.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=r[s]+(a[s]-r[s])*i;return c}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var n,r=t.length;e||(e=createTypedArray("float32",r));var a=createTypedArray("float32",r),o=BMMath.random();for(n=0;n<r;n+=1)a[n]=e[n]+o*(t[n]-e[n]);return a}e===void 0&&(e=0);var i=BMMath.random();return e+i*(t-e)}function createPath(e,t,n,r){var a,o=e.length,i=shapePool.newElement();i.setPathData(!!r,o);var s=[0,0],l,c;for(a=0;a<o;a+=1)l=t&&t[a]?t[a]:s,c=n&&n[a]?n[a]:s,i.setTripleAt(e[a][0],e[a][1],c[0]+e[a][0],c[1]+e[a][1],l[0]+e[a][0],l[1]+e[a][1],a,!0);return i}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function e(t,n){var r,a,o=this.pv.length?this.pv.length:1,i=createTypedArray("float32",o);t=5;var s=Math.floor(time*t);for(r=0,a=0;r<s;){for(a=0;a<o;a+=1)i[a]+=-n+n*2*BMMath.random();r+=1}var l=time*t,c=l-Math.floor(l),u=createTypedArray("float32",o);if(o>1){for(a=0;a<o;a+=1)u[a]=this.pv[a]+i[a]+(-n+n*2*BMMath.random())*c;return u}return this.pv+i[0]+(-n+n*2*BMMath.random())*c}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(e,t){var n=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],r=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads,a=-Math.atan2(n[1],n[2])/degToRads;return[a,r,0]}function easeOut(e,t,n,r,a){return applyEase(easeOutBez,e,t,n,r,a)}function easeIn(e,t,n,r,a){return applyEase(easeInBez,e,t,n,r,a)}function ease(e,t,n,r,a){return applyEase(easeInOutBez,e,t,n,r,a)}function applyEase(e,t,n,r,a,o){a===void 0?(a=n,o=r):t=(t-n)/(r-n),t>1?t=1:t<0&&(t=0);var i=e(t);if($bm_isInstanceOfArray(a)){var s,l=a.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=(o[s]-a[s])*i+a[s];return c}return(o-a)*i+a}function nearestKey(e){var t,n=data.k.length,r,a;if(!data.k.length||typeof data.k[0]=="number")r=0,a=0;else if(r=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)r=1,a=data.k[0].t;else{for(t=0;t<n-1;t+=1)if(e===data.k[t].t){r=t+1,a=data.k[t].t;break}else if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,a=data.k[t+1].t):(r=t+1,a=data.k[t].t);break}r===-1&&(r=t+1,a=data.k[t].t)}var o={};return o.index=r,o.time=a/elem.comp.globalData.frameRate,o}function key(e){var t,n,r;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var a=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(r=a.length,n=0;n<r;n+=1)t[n]=a[n],t.value[n]=a[n];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return!e&&e!==0&&(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return typeof value=="string"?t===void 0?value.substring(e):value.substring(e,t):""}function substr(e,t){return typeof value=="string"?t===void 0?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=e===0?0:Math.floor(time*e)/e,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={};e.initExpressions=t,e.resetFrame=ExpressionManager.resetFrame;function t(n){var r=0,a=[];function o(){r+=1}function i(){r-=1,r===0&&l()}function s(c){a.indexOf(c)===-1&&a.push(c)}function l(){var c,u=a.length;for(c=0;c<u;c+=1)a[c].release();a.length=0}n.renderer.compInterface=CompExpressionInterface(n.renderer),n.renderer.globalData.projectInterface.registerComposition(n.renderer),n.renderer.globalData.pushExpression=o,n.renderer.globalData.popExpression=i,n.renderer.globalData.registerExpressionProperty=s}return e}(),MaskManagerInterface=function(){function e(n,r){this._mask=n,this._data=r}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var t=function(r){var a=createSizedArray(r.viewData.length),o,i=r.viewData.length;for(o=0;o<i;o+=1)a[o]=new e(r.viewData[o],r.masksProperties[o]);var s=function(c){for(o=0;o<i;){if(r.masksProperties[o].nm===c)return a[o];o+=1}return null};return s};return t}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function n(i,s,l){Object.defineProperty(i,"velocity",{get:function(){return s.getVelocityAtTime(s.comp.currentFrame)}}),i.numKeys=s.keyframes?s.keyframes.length:0,i.key=function(c){if(!i.numKeys)return 0;var u="";"s"in s.keyframes[c-1]?u=s.keyframes[c-1].s:"e"in s.keyframes[c-2]?u=s.keyframes[c-2].e:u=s.keyframes[c-2].s;var f=l==="unidimensional"?new Number(u):Object.assign({},u);return f.time=s.keyframes[c-1].t/s.elem.comp.globalData.frameRate,f.value=l==="unidimensional"?u[0]:u,f},i.valueAtTime=s.getValueAtTime,i.speedAtTime=s.getSpeedAtTime,i.velocityAtTime=s.getVelocityAtTime,i.propertyGroup=s.propertyGroup}function r(i){(!i||!("pv"in i))&&(i=e);var s=1/i.mult,l=i.pv*s,c=new Number(l);return c.value=l,n(c,i,"unidimensional"),function(){return i.k&&i.getValue(),l=i.v*s,c.value!==l&&(c=new Number(l),c.value=l,n(c,i,"unidimensional")),c}}function a(i){(!i||!("pv"in i))&&(i=t);var s=1/i.mult,l=i.data&&i.data.l||i.pv.length,c=createTypedArray("float32",l),u=createTypedArray("float32",l);return c.value=u,n(c,i,"multidimensional"),function(){i.k&&i.getValue();for(var f=0;f<l;f+=1)u[f]=i.v[f]*s,c[f]=u[f];return c}}function o(){return e}return function(i){return i?i.propType==="unidimensional"?r(i):a(i):o}}(),TransformExpressionInterface=function(){return function(e){function t(i){switch(i){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)});var n,r,a,o;return e.p?o=ExpressionPropertyInterface(e.p):(n=ExpressionPropertyInterface(e.px),r=ExpressionPropertyInterface(e.py),e.pz&&(a=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?o():[n(),r(),a?a():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t}}(),LayerExpressionInterface=function(){function e(c){var u=new Matrix;if(c!==void 0){var f=this._elem.finalTransform.mProp.getValueAtTime(c);f.clone(u)}else{var d=this._elem.finalTransform.mProp;d.applyToMatrix(u)}return u}function t(c,u){var f=this.getMatrix(u);return f.props[12]=0,f.props[13]=0,f.props[14]=0,this.applyPoint(f,c)}function n(c,u){var f=this.getMatrix(u);return this.applyPoint(f,c)}function r(c,u){var f=this.getMatrix(u);return f.props[12]=0,f.props[13]=0,f.props[14]=0,this.invertPoint(f,c)}function a(c,u){var f=this.getMatrix(u);return this.invertPoint(f,c)}function o(c,u){if(this._elem.hierarchy&&this._elem.hierarchy.length){var f,d=this._elem.hierarchy.length;for(f=0;f<d;f+=1)this._elem.hierarchy[f].finalTransform.mProp.applyToMatrix(c)}return c.applyToPointArray(u[0],u[1],u[2]||0)}function i(c,u){if(this._elem.hierarchy&&this._elem.hierarchy.length){var f,d=this._elem.hierarchy.length;for(f=0;f<d;f+=1)this._elem.hierarchy[f].finalTransform.mProp.applyToMatrix(c)}return c.inversePoint(u)}function s(c){var u=new Matrix;if(u.reset(),this._elem.finalTransform.mProp.applyToMatrix(u),this._elem.hierarchy&&this._elem.hierarchy.length){var f,d=this._elem.hierarchy.length;for(f=0;f<d;f+=1)this._elem.hierarchy[f].finalTransform.mProp.applyToMatrix(u);return u.inversePoint(c)}return u.inversePoint(c)}function l(){return[1,1,1,1]}return function(c){var u;function f(g){m.mask=new MaskManagerInterface(g,c)}function d(g){m.effect=g}function m(g){switch(g){case"ADBE Root Vectors Group":case"Contents":case 2:return m.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return m.effect;case"ADBE Text Properties":return m.textInterface;default:return null}}m.getMatrix=e,m.invertPoint=i,m.applyPoint=o,m.toWorld=n,m.toWorldVec=t,m.fromWorld=a,m.fromWorldVec=r,m.toComp=n,m.fromComp=s,m.sampleImage=l,m.sourceRectAtTime=c.sourceRectAtTime.bind(c),m._elem=c,u=TransformExpressionInterface(c.finalTransform.mProp);var y=getDescriptor(u,"anchorPoint");return Object.defineProperties(m,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:y,anchor_point:y,transform:{get:function(){return u}},active:{get:function(){return c.isInRange}}}),m.startTime=c.data.st,m.index=c.data.ind,m.source=c.data.refId,m.height=c.data.ty===0?c.data.h:100,m.width=c.data.ty===0?c.data.w:100,m.inPoint=c.data.ip/c.comp.globalData.frameRate,m.outPoint=c.data.op/c.comp.globalData.frameRate,m._name=c.data.nm,m.registerMaskInterface=f,m.registerEffectsInterface=d,m}}(),propertyGroupFactory=function(){return function(e,t){return function(n){return n=n===void 0?1:n,n<=0?e:t(n-1)}}}(),PropertyInterface=function(){return function(e,t){var n={_name:e};function r(a){return a=a===void 0?1:a,a<=0?n:t(a-1)}return r}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(a,o){if(a.effectsManager){var i=[],s=a.data.ef,l,c=a.effectsManager.effectElements.length;for(l=0;l<c;l+=1)i.push(n(s[l],a.effectsManager.effectElements[l],o,a));var u=a.data.ef||[],f=function(m){for(l=0,c=u.length;l<c;){if(m===u[l].nm||m===u[l].mn||m===u[l].ix)return i[l];l+=1}return null};return Object.defineProperty(f,"numProperties",{get:function(){return u.length}}),f}return null}function n(a,o,i,s){function l(m){for(var y=a.ef,g=0,P=y.length;g<P;){if(m===y[g].nm||m===y[g].mn||m===y[g].ix)return y[g].ty===5?u[g]:u[g]();g+=1}throw new Error}var c=propertyGroupFactory(l,i),u=[],f,d=a.ef.length;for(f=0;f<d;f+=1)a.ef[f].ty===5?u.push(n(a.ef[f],o.effectElements[f],o.effectElements[f].propertyGroup,s)):u.push(r(o.effectElements[f],a.ef[f].ty,s,c));return a.mn==="ADBE Color Control"&&Object.defineProperty(l,"color",{get:function(){return u[0]()}}),Object.defineProperties(l,{numProperties:{get:function(){return a.np}},_name:{value:a.nm},propertyGroup:{value:c}}),l.enabled=a.en!==0,l.active=l.enabled,l}function r(a,o,i,s){var l=ExpressionPropertyInterface(a.p);function c(){return o===10?i.comp.compInterface(a.p.v):l()}return a.p.setGroupProperty&&a.p.setGroupProperty(PropertyInterface("",s)),c}return e}(),ShapePathInterface=function(){return function(t,n,r){var a=n.sh;function o(s){return s==="Shape"||s==="shape"||s==="Path"||s==="path"||s==="ADBE Vector Shape"||s===2?o.path:null}var i=propertyGroupFactory(o,r);return a.setGroupProperty(PropertyInterface("Path",i)),Object.defineProperties(o,{path:{get:function(){return a.k&&a.getValue(),a}},shape:{get:function(){return a.k&&a.getValue(),a}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:r}}),o}}(),ShapeExpressionInterface=function(){function e(y,g,P){var v=[],_,b=y?y.length:0;for(_=0;_<b;_+=1)y[_].ty==="gr"?v.push(n(y[_],g[_],P)):y[_].ty==="fl"?v.push(r(y[_],g[_],P)):y[_].ty==="st"?v.push(i(y[_],g[_],P)):y[_].ty==="tm"?v.push(s(y[_],g[_],P)):y[_].ty==="tr"||(y[_].ty==="el"?v.push(c(y[_],g[_],P)):y[_].ty==="sr"?v.push(u(y[_],g[_],P)):y[_].ty==="sh"?v.push(ShapePathInterface(y[_],g[_],P)):y[_].ty==="rc"?v.push(f(y[_],g[_],P)):y[_].ty==="rd"?v.push(d(y[_],g[_],P)):y[_].ty==="rp"?v.push(m(y[_],g[_],P)):y[_].ty==="gf"?v.push(a(y[_],g[_],P)):v.push(o(y[_],g[_])));return v}function t(y,g,P){var v,_=function(C){for(var k=0,T=v.length;k<T;){if(v[k]._name===C||v[k].mn===C||v[k].propertyIndex===C||v[k].ix===C||v[k].ind===C)return v[k];k+=1}return typeof C=="number"?v[C-1]:null};_.propertyGroup=propertyGroupFactory(_,P),v=e(y.it,g.it,_.propertyGroup),_.numProperties=v.length;var b=l(y.it[y.it.length-1],g.it[g.it.length-1],_.propertyGroup);return _.transform=b,_.propertyIndex=y.cix,_._name=y.nm,_}function n(y,g,P){var v=function(C){switch(C){case"ADBE Vectors Group":case"Contents":case 2:return v.content;default:return v.transform}};v.propertyGroup=propertyGroupFactory(v,P);var _=t(y,g,v.propertyGroup),b=l(y.it[y.it.length-1],g.it[g.it.length-1],v.propertyGroup);return v.content=_,v.transform=b,Object.defineProperty(v,"_name",{get:function(){return y.nm}}),v.numProperties=y.np,v.propertyIndex=y.ix,v.nm=y.nm,v.mn=y.mn,v}function r(y,g,P){function v(_){return _==="Color"||_==="color"?v.color:_==="Opacity"||_==="opacity"?v.opacity:null}return Object.defineProperties(v,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},_name:{value:y.nm},mn:{value:y.mn}}),g.c.setGroupProperty(PropertyInterface("Color",P)),g.o.setGroupProperty(PropertyInterface("Opacity",P)),v}function a(y,g,P){function v(_){return _==="Start Point"||_==="start point"?v.startPoint:_==="End Point"||_==="end point"?v.endPoint:_==="Opacity"||_==="opacity"?v.opacity:null}return Object.defineProperties(v,{startPoint:{get:ExpressionPropertyInterface(g.s)},endPoint:{get:ExpressionPropertyInterface(g.e)},opacity:{get:ExpressionPropertyInterface(g.o)},type:{get:function(){return"a"}},_name:{value:y.nm},mn:{value:y.mn}}),g.s.setGroupProperty(PropertyInterface("Start Point",P)),g.e.setGroupProperty(PropertyInterface("End Point",P)),g.o.setGroupProperty(PropertyInterface("Opacity",P)),v}function o(){function y(){return null}return y}function i(y,g,P){var v=propertyGroupFactory(T,P),_=propertyGroupFactory(k,v);function b(w){Object.defineProperty(k,y.d[w].nm,{get:ExpressionPropertyInterface(g.d.dataProps[w].p)})}var S,C=y.d?y.d.length:0,k={};for(S=0;S<C;S+=1)b(S),g.d.dataProps[S].p.setGroupProperty(_);function T(w){return w==="Color"||w==="color"?T.color:w==="Opacity"||w==="opacity"?T.opacity:w==="Stroke Width"||w==="stroke width"?T.strokeWidth:null}return Object.defineProperties(T,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},strokeWidth:{get:ExpressionPropertyInterface(g.w)},dash:{get:function(){return k}},_name:{value:y.nm},mn:{value:y.mn}}),g.c.setGroupProperty(PropertyInterface("Color",v)),g.o.setGroupProperty(PropertyInterface("Opacity",v)),g.w.setGroupProperty(PropertyInterface("Stroke Width",v)),T}function s(y,g,P){function v(b){return b===y.e.ix||b==="End"||b==="end"?v.end:b===y.s.ix?v.start:b===y.o.ix?v.offset:null}var _=propertyGroupFactory(v,P);return v.propertyIndex=y.ix,g.s.setGroupProperty(PropertyInterface("Start",_)),g.e.setGroupProperty(PropertyInterface("End",_)),g.o.setGroupProperty(PropertyInterface("Offset",_)),v.propertyIndex=y.ix,v.propertyGroup=P,Object.defineProperties(v,{start:{get:ExpressionPropertyInterface(g.s)},end:{get:ExpressionPropertyInterface(g.e)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:y.nm}}),v.mn=y.mn,v}function l(y,g,P){function v(b){return y.a.ix===b||b==="Anchor Point"?v.anchorPoint:y.o.ix===b||b==="Opacity"?v.opacity:y.p.ix===b||b==="Position"?v.position:y.r.ix===b||b==="Rotation"||b==="ADBE Vector Rotation"?v.rotation:y.s.ix===b||b==="Scale"?v.scale:y.sk&&y.sk.ix===b||b==="Skew"?v.skew:y.sa&&y.sa.ix===b||b==="Skew Axis"?v.skewAxis:null}var _=propertyGroupFactory(v,P);return g.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",_)),g.transform.mProps.p.setGroupProperty(PropertyInterface("Position",_)),g.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",_)),g.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",_)),g.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",_)),g.transform.mProps.sk&&(g.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",_)),g.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",_))),g.transform.op.setGroupProperty(PropertyInterface("Opacity",_)),Object.defineProperties(v,{opacity:{get:ExpressionPropertyInterface(g.transform.mProps.o)},position:{get:ExpressionPropertyInterface(g.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(g.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(g.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(g.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(g.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(g.transform.mProps.sa)},_name:{value:y.nm}}),v.ty="tr",v.mn=y.mn,v.propertyGroup=P,v}function c(y,g,P){function v(S){return y.p.ix===S?v.position:y.s.ix===S?v.size:null}var _=propertyGroupFactory(v,P);v.propertyIndex=y.ix;var b=g.sh.ty==="tm"?g.sh.prop:g.sh;return b.s.setGroupProperty(PropertyInterface("Size",_)),b.p.setGroupProperty(PropertyInterface("Position",_)),Object.defineProperties(v,{size:{get:ExpressionPropertyInterface(b.s)},position:{get:ExpressionPropertyInterface(b.p)},_name:{value:y.nm}}),v.mn=y.mn,v}function u(y,g,P){function v(S){return y.p.ix===S?v.position:y.r.ix===S?v.rotation:y.pt.ix===S?v.points:y.or.ix===S||S==="ADBE Vector Star Outer Radius"?v.outerRadius:y.os.ix===S?v.outerRoundness:y.ir&&(y.ir.ix===S||S==="ADBE Vector Star Inner Radius")?v.innerRadius:y.is&&y.is.ix===S?v.innerRoundness:null}var _=propertyGroupFactory(v,P),b=g.sh.ty==="tm"?g.sh.prop:g.sh;return v.propertyIndex=y.ix,b.or.setGroupProperty(PropertyInterface("Outer Radius",_)),b.os.setGroupProperty(PropertyInterface("Outer Roundness",_)),b.pt.setGroupProperty(PropertyInterface("Points",_)),b.p.setGroupProperty(PropertyInterface("Position",_)),b.r.setGroupProperty(PropertyInterface("Rotation",_)),y.ir&&(b.ir.setGroupProperty(PropertyInterface("Inner Radius",_)),b.is.setGroupProperty(PropertyInterface("Inner Roundness",_))),Object.defineProperties(v,{position:{get:ExpressionPropertyInterface(b.p)},rotation:{get:ExpressionPropertyInterface(b.r)},points:{get:ExpressionPropertyInterface(b.pt)},outerRadius:{get:ExpressionPropertyInterface(b.or)},outerRoundness:{get:ExpressionPropertyInterface(b.os)},innerRadius:{get:ExpressionPropertyInterface(b.ir)},innerRoundness:{get:ExpressionPropertyInterface(b.is)},_name:{value:y.nm}}),v.mn=y.mn,v}function f(y,g,P){function v(S){return y.p.ix===S?v.position:y.r.ix===S?v.roundness:y.s.ix===S||S==="Size"||S==="ADBE Vector Rect Size"?v.size:null}var _=propertyGroupFactory(v,P),b=g.sh.ty==="tm"?g.sh.prop:g.sh;return v.propertyIndex=y.ix,b.p.setGroupProperty(PropertyInterface("Position",_)),b.s.setGroupProperty(PropertyInterface("Size",_)),b.r.setGroupProperty(PropertyInterface("Rotation",_)),Object.defineProperties(v,{position:{get:ExpressionPropertyInterface(b.p)},roundness:{get:ExpressionPropertyInterface(b.r)},size:{get:ExpressionPropertyInterface(b.s)},_name:{value:y.nm}}),v.mn=y.mn,v}function d(y,g,P){function v(S){return y.r.ix===S||S==="Round Corners 1"?v.radius:null}var _=propertyGroupFactory(v,P),b=g;return v.propertyIndex=y.ix,b.rd.setGroupProperty(PropertyInterface("Radius",_)),Object.defineProperties(v,{radius:{get:ExpressionPropertyInterface(b.rd)},_name:{value:y.nm}}),v.mn=y.mn,v}function m(y,g,P){function v(S){return y.c.ix===S||S==="Copies"?v.copies:y.o.ix===S||S==="Offset"?v.offset:null}var _=propertyGroupFactory(v,P),b=g;return v.propertyIndex=y.ix,b.c.setGroupProperty(PropertyInterface("Copies",_)),b.o.setGroupProperty(PropertyInterface("Offset",_)),Object.defineProperties(v,{copies:{get:ExpressionPropertyInterface(b.c)},offset:{get:ExpressionPropertyInterface(b.o)},_name:{value:y.nm}}),v.mn=y.mn,v}return function(y,g,P){var v;function _(S){if(typeof S=="number")return S=S===void 0?1:S,S===0?P:v[S-1];for(var C=0,k=v.length;C<k;){if(v[C]._name===S)return v[C];C+=1}return null}function b(){return P}return _.propertyGroup=propertyGroupFactory(_,b),v=e(y,g,_.propertyGroup),_.numProperties=v.length,_._name="Contents",_}}(),TextExpressionInterface=function(){return function(e){var t;function n(r){switch(r){case"ADBE Text Document":return n.sourceText;default:return null}}return Object.defineProperty(n,"sourceText",{get:function(){e.textProperty.getValue();var a=e.textProperty.currentData.t;return(!t||a!==t.value)&&(t=new String(a),t.value=a||new String(a),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),n}}();function _typeof(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(n){return typeof n}:_typeof=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof(e)}var FootageInterface=function(){var e=function(r){var a="",o=r.getFootageData();function i(){return a="",o=r.getFootageData(),s}function s(l){if(o[l])return a=l,o=o[l],_typeof(o)==="object"?s:o;var c=l.indexOf(a);if(c!==-1){var u=parseInt(l.substr(c+a.length),10);return o=o[u],_typeof(o)==="object"?s:o}return""}return i},t=function(r){function a(o){return o==="Outline"?a.outlineInterface():null}return a._name="Outline",a.outlineInterface=e(r),a};return function(n){function r(a){return a==="Data"?r.dataInterface:null}return r._name="Data",r.dataInterface=t(n),r}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers=function(){function e(i,s,l){s.x&&(l.k=!0,l.x=!0,l.initiateExpression=ExpressionManager.initiateExpression,l.effectsSequence.push(l.initiateExpression(i,s,l).bind(l)))}function t(i){return i*=this.elem.globalData.frameRate,i-=this.offsetTime,i!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<i?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(i,this._cachingAtTime),this._cachingAtTime.lastFrame=i),this._cachingAtTime.value}function n(i){var s=-.01,l=this.getValueAtTime(i),c=this.getValueAtTime(i+s),u=0;if(l.length){var f;for(f=0;f<l.length;f+=1)u+=Math.pow(c[f]-l[f],2);u=Math.sqrt(u)*100}else u=0;return u}function r(i){if(this.vel!==void 0)return this.vel;var s=-.001,l=this.getValueAtTime(i),c=this.getValueAtTime(i+s),u;if(l.length){u=createTypedArray("float32",l.length);var f;for(f=0;f<l.length;f+=1)u[f]=(c[f]-l[f])/s}else u=(c-l)/s;return u}function a(){return this.pv}function o(i){this.propertyGroup=i}return{searchExpressions:e,getSpeedAtTime:n,getVelocityAtTime:r,getValueAtTime:t,getStaticValueAtTime:a,setGroupProperty:o}}();function addPropertyDecorator(){function e(d,m,y){if(!this.k||!this.keyframes)return this.pv;d=d?d.toLowerCase():"";var g=this.comp.renderedFrame,P=this.keyframes,v=P[P.length-1].t;if(g<=v)return this.pv;var _,b;y?(m?_=Math.abs(v-this.elem.comp.globalData.frameRate*m):_=Math.max(0,v-this.elem.data.ip),b=v-_):((!m||m>P.length-1)&&(m=P.length-1),b=P[P.length-1-m].t,_=v-b);var S,C,k;if(d==="pingpong"){var T=Math.floor((g-b)/_);if(T%2!==0)return this.getValueAtTime((_-(g-b)%_+b)/this.comp.globalData.frameRate,0)}else if(d==="offset"){var w=this.getValueAtTime(b/this.comp.globalData.frameRate,0),E=this.getValueAtTime(v/this.comp.globalData.frameRate,0),F=this.getValueAtTime(((g-b)%_+b)/this.comp.globalData.frameRate,0),L=Math.floor((g-b)/_);if(this.pv.length){for(k=new Array(w.length),C=k.length,S=0;S<C;S+=1)k[S]=(E[S]-w[S])*L+F[S];return k}return(E-w)*L+F}else if(d==="continue"){var N=this.getValueAtTime(v/this.comp.globalData.frameRate,0),O=this.getValueAtTime((v-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(k=new Array(N.length),C=k.length,S=0;S<C;S+=1)k[S]=N[S]+(N[S]-O[S])*((g-v)/this.comp.globalData.frameRate)/5e-4;return k}return N+(N-O)*((g-v)/.001)}return this.getValueAtTime(((g-b)%_+b)/this.comp.globalData.frameRate,0)}function t(d,m,y){if(!this.k)return this.pv;d=d?d.toLowerCase():"";var g=this.comp.renderedFrame,P=this.keyframes,v=P[0].t;if(g>=v)return this.pv;var _,b;y?(m?_=Math.abs(this.elem.comp.globalData.frameRate*m):_=Math.max(0,this.elem.data.op-v),b=v+_):((!m||m>P.length-1)&&(m=P.length-1),b=P[m].t,_=b-v);var S,C,k;if(d==="pingpong"){var T=Math.floor((v-g)/_);if(T%2===0)return this.getValueAtTime(((v-g)%_+v)/this.comp.globalData.frameRate,0)}else if(d==="offset"){var w=this.getValueAtTime(v/this.comp.globalData.frameRate,0),E=this.getValueAtTime(b/this.comp.globalData.frameRate,0),F=this.getValueAtTime((_-(v-g)%_+v)/this.comp.globalData.frameRate,0),L=Math.floor((v-g)/_)+1;if(this.pv.length){for(k=new Array(w.length),C=k.length,S=0;S<C;S+=1)k[S]=F[S]-(E[S]-w[S])*L;return k}return F-(E-w)*L}else if(d==="continue"){var N=this.getValueAtTime(v/this.comp.globalData.frameRate,0),O=this.getValueAtTime((v+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(k=new Array(N.length),C=k.length,S=0;S<C;S+=1)k[S]=N[S]+(N[S]-O[S])*(v-g)/.001;return k}return N+(N-O)*(v-g)/.001}return this.getValueAtTime((_-((v-g)%_+v))/this.comp.globalData.frameRate,0)}function n(d,m){if(!this.k)return this.pv;if(d=(d||.4)*.5,m=Math.floor(m||5),m<=1)return this.pv;var y=this.comp.renderedFrame/this.comp.globalData.frameRate,g=y-d,P=y+d,v=m>1?(P-g)/(m-1):1,_=0,b=0,S;this.pv.length?S=createTypedArray("float32",this.pv.length):S=0;for(var C;_<m;){if(C=this.getValueAtTime(g+_*v),this.pv.length)for(b=0;b<this.pv.length;b+=1)S[b]+=C[b];else S+=C;_+=1}if(this.pv.length)for(b=0;b<this.pv.length;b+=1)S[b]/=m;else S/=m;return S}function r(d){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var m=this._transformCachingAtTime.v;if(m.cloneFromProps(this.pre.props),this.appliedTransformations<1){var y=this.a.getValueAtTime(d);m.translate(-y[0]*this.a.mult,-y[1]*this.a.mult,y[2]*this.a.mult)}if(this.appliedTransformations<2){var g=this.s.getValueAtTime(d);m.scale(g[0]*this.s.mult,g[1]*this.s.mult,g[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var P=this.sk.getValueAtTime(d),v=this.sa.getValueAtTime(d);m.skewFromAxis(-P*this.sk.mult,v*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var _=this.r.getValueAtTime(d);m.rotate(-_*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var b=this.rz.getValueAtTime(d),S=this.ry.getValueAtTime(d),C=this.rx.getValueAtTime(d),k=this.or.getValueAtTime(d);m.rotateZ(-b*this.rz.mult).rotateY(S*this.ry.mult).rotateX(C*this.rx.mult).rotateZ(-k[2]*this.or.mult).rotateY(k[1]*this.or.mult).rotateX(k[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var T=this.px.getValueAtTime(d),w=this.py.getValueAtTime(d);if(this.data.p.z){var E=this.pz.getValueAtTime(d);m.translate(T*this.px.mult,w*this.py.mult,-E*this.pz.mult)}else m.translate(T*this.px.mult,w*this.py.mult,0)}else{var F=this.p.getValueAtTime(d);m.translate(F[0]*this.p.mult,F[1]*this.p.mult,-F[2]*this.p.mult)}return m}function a(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(d,m,y){var g=o(d,m,y);return g.dynamicProperties.length?g.getValueAtTime=r.bind(g):g.getValueAtTime=a.bind(g),g.setGroupProperty=expressionHelpers.setGroupProperty,g};var i=PropertyFactory.getProp;PropertyFactory.getProp=function(d,m,y,g,P){var v=i(d,m,y,g,P);v.kf?v.getValueAtTime=expressionHelpers.getValueAtTime.bind(v):v.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(v),v.setGroupProperty=expressionHelpers.setGroupProperty,v.loopOut=e,v.loopIn=t,v.smooth=n,v.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(v),v.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(v),v.numKeys=m.a===1?m.k.length:0,v.propertyIndex=m.ix;var _=0;return y!==0&&(_=createTypedArray("float32",m.a===1?m.k[0].s.length:m.k.length)),v._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:_},expressionHelpers.searchExpressions(d,m,v),v.k&&P.addDynamicProperty(v),v};function s(d){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),d*=this.elem.globalData.frameRate,d-=this.offsetTime,d!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<d?this._caching.lastIndex:0,this._cachingAtTime.lastTime=d,this.interpolateShape(d,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var l=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function u(){}u.prototype={vertices:function(m,y){this.k&&this.getValue();var g=this.v;y!==void 0&&(g=this.getValueAtTime(y,0));var P,v=g._length,_=g[m],b=g.v,S=createSizedArray(v);for(P=0;P<v;P+=1)m==="i"||m==="o"?S[P]=[_[P][0]-b[P][0],_[P][1]-b[P][1]]:S[P]=[_[P][0],_[P][1]];return S},points:function(m){return this.vertices("v",m)},inTangents:function(m){return this.vertices("i",m)},outTangents:function(m){return this.vertices("o",m)},isClosed:function(){return this.v.c},pointOnPath:function(m,y){var g=this.v;y!==void 0&&(g=this.getValueAtTime(y,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(g));for(var P=this._segmentsLength,v=P.lengths,_=P.totalLength*m,b=0,S=v.length,C=0,k;b<S;){if(C+v[b].addedLength>_){var T=b,w=g.c&&b===S-1?0:b+1,E=(_-C)/v[b].addedLength;k=bez.getPointInSegment(g.v[T],g.v[w],g.o[T],g.i[w],E,v[b]);break}else C+=v[b].addedLength;b+=1}return k||(k=g.c?[g.v[0][0],g.v[0][1]]:[g.v[g._length-1][0],g.v[g._length-1][1]]),k},vectorOnPath:function(m,y,g){m==1?m=this.v.c:m==0&&(m=.999);var P=this.pointOnPath(m,y),v=this.pointOnPath(m+.001,y),_=v[0]-P[0],b=v[1]-P[1],S=Math.sqrt(Math.pow(_,2)+Math.pow(b,2));if(S===0)return[0,0];var C=g==="tangent"?[_/S,b/S]:[-b/S,_/S];return C},tangentOnPath:function(m,y){return this.vectorOnPath(m,y,"tangent")},normalOnPath:function(m,y){return this.vectorOnPath(m,y,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([u],l),extendPrototype([u],c),c.prototype.getValueAtTime=s,c.prototype.initiateExpression=ExpressionManager.initiateExpression;var f=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(d,m,y,g,P){var v=f(d,m,y,g,P);return v.propertyIndex=m.ix,v.lock=!1,y===3?expressionHelpers.searchExpressions(d,m.pt,v):y===4&&expressionHelpers.searchExpressions(d,m.ks,v),v.k&&d.addDynamicProperty(v),v}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,n){var r=this.calculateExpression(n);if(t.t!==r){var a={};return this.copyData(a,t),a.t=r.toString(),a.__complete=!1,a}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),n=this.searchExpressions();return this.kf=t||n,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,n){var r=createNS("feMerge");r.setAttribute("result",t);var a,o;for(o=0;o<n.length;o+=1)a=createNS("feMergeNode"),a.setAttribute("in",n[o]),r.appendChild(a),r.appendChild(a);return r}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,n,r,a){this.filterManager=t;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=o,o.setAttribute("result",r+"_tint_1"),e.appendChild(o),o=createNS("feColorMatrix"),o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",r+"_tint_2"),e.appendChild(o),this.matrixFilter=o;var i=this.createMergeNode(r,[a,r+"_tint_1",r+"_tint_2"]);e.appendChild(i)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+r+" 0"),this.matrixFilter.setAttribute("values",n[0]-t[0]+" 0 0 0 "+t[0]+" "+(n[1]-t[1])+" 0 0 0 "+t[1]+" "+(n[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}};function SVGFillFilter(e,t,n,r){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",r),e.appendChild(a),this.matrixFilter=a}SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,n=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+n+" 0")}};function SVGStrokeEffect(e,t,n){this.initialized=!1,this.filterManager=t,this.elem=n,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var e=this.elem.layerElement.children||this.elem.layerElement.childNodes,t,n,r,a;for(this.filterManager.effectElements[1].p.v===1?(a=this.elem.maskManager.masksProperties.length,r=0):(r=this.filterManager.effectElements[0].p.v-1,a=r+1),n=createNS("g"),n.setAttribute("fill","none"),n.setAttribute("stroke-linecap","round"),n.setAttribute("stroke-dashoffset",1),r;r<a;r+=1)t=createNS("path"),n.appendChild(t),this.paths.push({p:t,m:r});if(this.filterManager.effectElements[10].p.v===3){var o=createNS("mask"),i=createElementID();o.setAttribute("id",i),o.setAttribute("mask-type","alpha"),o.appendChild(n),this.elem.globalData.defs.appendChild(o);var s=createNS("g");for(s.setAttribute("mask","url("+getLocationHref()+"#"+i+")");e[0];)s.appendChild(e[0]);this.elem.layerElement.appendChild(s),this.masker=o,n.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[0]);this.elem.layerElement.appendChild(n),this.elem.layerElement.removeAttribute("mask"),n.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=n},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,n=this.paths.length,r,a;for(t=0;t<n;t+=1)if(this.paths[t].m!==-1&&(r=this.elem.maskManager.viewData[this.paths[t].m],a=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&a.setAttribute("d",r.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var o;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var i=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,s=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=a.getTotalLength();o="0 0 0 "+l*i+" ";var c=l*(s-i),u=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,f=Math.floor(c/u),d;for(d=0;d<f;d+=1)o+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+l*10+" 0 0"}else o="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;a.setAttribute("stroke-dasharray",o)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(e||this.filterManager.effectElements[3].p._mdf)){var m=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(m[0]*255)+","+bmFloor(m[1]*255)+","+bmFloor(m[2]*255)+")")}};function SVGTritoneFilter(e,t,n,r){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(a);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",r),this.matrixFilter=o;var i=createNS("feFuncR");i.setAttribute("type","table"),o.appendChild(i),this.feFuncR=i;var s=createNS("feFuncG");s.setAttribute("type","table"),o.appendChild(s),this.feFuncG=s;var l=createNS("feFuncB");l.setAttribute("type","table"),o.appendChild(l),this.feFuncB=l,e.appendChild(o)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,a=r[0]+" "+n[0]+" "+t[0],o=r[1]+" "+n[1]+" "+t[1],i=r[2]+" "+n[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",a),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",i)}};function SVGProLevelsFilter(e,t,n,r){this.filterManager=t;var a=this.filterManager.effectElements,o=createNS("feComponentTransfer");(a[10].p.k||a[10].p.v!==0||a[11].p.k||a[11].p.v!==1||a[12].p.k||a[12].p.v!==1||a[13].p.k||a[13].p.v!==0||a[14].p.k||a[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(a[17].p.k||a[17].p.v!==0||a[18].p.k||a[18].p.v!==1||a[19].p.k||a[19].p.v!==1||a[20].p.k||a[20].p.v!==0||a[21].p.k||a[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(a[24].p.k||a[24].p.v!==0||a[25].p.k||a[25].p.v!==1||a[26].p.k||a[26].p.v!==1||a[27].p.k||a[27].p.v!==0||a[28].p.k||a[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(a[31].p.k||a[31].p.v!==0||a[32].p.k||a[32].p.v!==1||a[33].p.k||a[33].p.v!==1||a[34].p.k||a[34].p.v!==0||a[35].p.k||a[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(o)),(a[3].p.k||a[3].p.v!==0||a[4].p.k||a[4].p.v!==1||a[5].p.k||a[5].p.v!==1||a[6].p.k||a[6].p.v!==0||a[7].p.k||a[7].p.v!==1)&&(o=createNS("feComponentTransfer"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",r),e.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var n=createNS(e);return n.setAttribute("type","table"),t.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(e,t,n,r,a){for(var o=0,i=256,s,l=Math.min(e,t),c=Math.max(e,t),u=Array.call(null,{length:i}),f,d=0,m=a-r,y=t-e;o<=256;)s=o/256,s<=l?f=y<0?a:r:s>=c?f=y<0?r:a:f=r+m*Math.pow((s-e)/y,1/n),u[d]=f,d+=1,o+=256/(i-1);return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(t=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(t=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(t=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(t=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(t=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",t))}};function SVGDropShadowEffect(e,t,n,r,a){var o=t.container.globalData.renderConfig.filterSize,i=t.data.fs||o;e.setAttribute("x",i.x||o.x),e.setAttribute("y",i.y||o.y),e.setAttribute("width",i.width||o.width),e.setAttribute("height",i.height||o.height),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",r+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,e.appendChild(s);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",r+"_drop_shadow_1"),l.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=c,e.appendChild(c);var u=createNS("feComposite");u.setAttribute("in",r+"_drop_shadow_3"),u.setAttribute("in2",r+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",r+"_drop_shadow_4"),e.appendChild(u);var f=this.createMergeNode(r,[r+"_drop_shadow_4",a]);e.appendChild(f)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,a=n*Math.cos(r),o=n*Math.sin(r);this.feOffset.setAttribute("dx",a),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,n){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,n=_svgMatteSymbols.length;t<n;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var n=e.layerElement.parentNode;if(n){for(var r=n.children,a=0,o=r.length;a<o&&r[a]!==e.layerElement;)a+=1;var i;a<=o-2&&(i=r[a+1]);var s=createNS("use");s.setAttribute("href","#"+t),i?n.insertBefore(s,i):n.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var n=createElementID(),r=createNS("mask");r.setAttribute("id",t.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var a=e.globalData.defs;a.appendChild(r);var o=createNS("symbol");o.setAttribute("id",n),this.replaceInParent(t,n),o.appendChild(t.layerElement),a.appendChild(o);var i=createNS("use");i.setAttribute("href","#"+n),r.appendChild(i),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,n=0,r=t.length;n<r;)t[n]&&t[n].data.ind===e&&this.setElementAsMask(this.elem,t[n]),n+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(e,t,n,r){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var a=createNS("feGaussianBlur");a.setAttribute("result",r),e.appendChild(a),this.feGaussianBlur=a}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,n=this.filterManager.effectElements[0].p.v*t,r=this.filterManager.effectElements[1].p.v,a=r==3?0:n,o=r==2?0:n;this.feGaussianBlur.setAttribute("stdDeviation",a+" "+o);var i=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",i)}};function TransformEffect(){}TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,n=t[0].p.v,r=t[1].p.v,a=t[2].p.v===1,o=t[3].p.v,i=a?o:t[4].p.v,s=t[5].p.v,l=t[6].p.v,c=t[7].p.v;this.matrix.reset(),this.matrix.translate(-n[0],-n[1],n[2]),this.matrix.scale(i*.01,o*.01,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-s*degToRads,(l+90)*degToRads),this.matrix.translate(r[0],r[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(e,t){this.init(t)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(e){this.init(e)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie,lottie.exports);var lottieExports=lottie.exports;const Lottie=getDefaultExportFromCjs(lottieExports);(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".lottie-animation-container{width:var(--lottie-animation-container-width);height:var(--lottie-animation-container-height);background-color:var(--lottie-animation-container-background-color);overflow:hidden;margin:var(--lottie-animation-margin)}.lottie-animation-container svg{transform:scale(var(--lottie-animation-scale))}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__spreadValues=(e,t)=>{for(var n in t||(t={}))__hasOwnProp.call(t,n)&&__defNormalProp(e,n,t[n]);if(__getOwnPropSymbols)for(var n of __getOwnPropSymbols(t))__propIsEnum.call(t,n)&&__defNormalProp(e,n,t[n]);return e},__spreadProps=(e,t)=>__defProps(e,__getOwnPropDescs(t)),freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal$1=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")(),root$1=root,Symbol$1=root$1.Symbol,Symbol$2=Symbol$1,objectProto$e=Object.prototype,hasOwnProperty$b=objectProto$e.hasOwnProperty,nativeObjectToString$1=objectProto$e.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty$b.call(e,symToStringTag$1),n=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var r=!0}catch{}var a=nativeObjectToString$1.call(e);return r&&(t?e[symToStringTag$1]=n:delete e[symToStringTag$1]),a}var objectProto$d=Object.prototype,nativeObjectToString=objectProto$d.toString;function objectToString(e){return nativeObjectToString.call(e)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString(e)}function isObjectLike(e){return e!=null&&typeof e=="object"}var isArray=Array.isArray,isArray$1=isArray;function isObject$1(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject$1(e))return!1;var t=baseGetTag(e);return t==funcTag$2||t==genTag$1||t==asyncTag||t==proxyTag}var coreJsData=root$1["__core-js_shared__"],coreJsData$1=coreJsData,maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}var funcProto$1=Function.prototype,funcToString$1=funcProto$1.toString;function toSource(e){if(e!=null){try{return funcToString$1.call(e)}catch{}try{return e+""}catch{}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto$c=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$a=objectProto$c.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$a).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!isObject$1(e)||isMasked(e))return!1;var t=isFunction(e)?reIsNative:reIsHostCtor;return t.test(toSource(e))}function getValue(e,t){return e==null?void 0:e[t]}function getNative(e,t){var n=getValue(e,t);return baseIsNative(n)?n:void 0}var WeakMap$1=getNative(root$1,"WeakMap"),WeakMap$1$1=WeakMap$1,objectCreate=Object.create,baseCreate=function(){function e(){}return function(t){if(!isObject$1(t))return{};if(objectCreate)return objectCreate(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),baseCreate$1=baseCreate,defineProperty=function(){try{var e=getNative(Object,"defineProperty");return e({},"",{}),e}catch{}}(),defineProperty$1=defineProperty;function arrayEach(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var n=typeof e;return t=t??MAX_SAFE_INTEGER$1,!!t&&(n=="number"||n!="symbol"&&reIsUint.test(e))&&e>-1&&e%1==0&&e<t}function baseAssignValue(e,t,n){t=="__proto__"&&defineProperty$1?defineProperty$1(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function eq(e,t){return e===t||e!==e&&t!==t}var objectProto$b=Object.prototype,hasOwnProperty$9=objectProto$b.hasOwnProperty;function assignValue(e,t,n){var r=e[t];(!(hasOwnProperty$9.call(e,t)&&eq(r,n))||n===void 0&&!(t in e))&&baseAssignValue(e,t,n)}var MAX_SAFE_INTEGER=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER}function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}var objectProto$a=Object.prototype;function isPrototype(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||objectProto$a;return e===n}function baseTimes(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var argsTag$3="[object Arguments]";function baseIsArguments(e){return isObjectLike(e)&&baseGetTag(e)==argsTag$3}var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty,propertyIsEnumerable$1=objectProto$9.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&hasOwnProperty$8.call(e,"callee")&&!propertyIsEnumerable$1.call(e,"callee")},isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$1=moduleExports$2?root$1.Buffer:void 0,nativeIsBuffer=Buffer$1?Buffer$1.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse,isBuffer$1=isBuffer,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$3="[object Object]",regexpTag$3="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!typedArrayTags[baseGetTag(e)]}function baseUnary(e){return function(t){return e(t)}}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var e=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return e||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeUtil$1=nodeUtil,nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,isTypedArray$1=isTypedArray,objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty;function arrayLikeKeys(e,t){var n=isArray$1(e),r=!n&&isArguments$1(e),a=!n&&!r&&isBuffer$1(e),o=!n&&!r&&!a&&isTypedArray$1(e),i=n||r||a||o,s=i?baseTimes(e.length,String):[],l=s.length;for(var c in e)hasOwnProperty$7.call(e,c)&&!(i&&(c=="length"||a&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||isIndex(c,l)))&&s.push(c);return s}function overArg(e,t){return function(n){return e(t(n))}}var nativeKeys=overArg(Object.keys,Object),nativeKeys$1=nativeKeys,objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty;function baseKeys(e){if(!isPrototype(e))return nativeKeys$1(e);var t=[];for(var n in Object(e))hasOwnProperty$6.call(e,n)&&n!="constructor"&&t.push(n);return t}function keys$1(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}var nativeCreate=getNative(Object,"create"),nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate$1){var n=t[e];return n===HASH_UNDEFINED$2?void 0:n}return hasOwnProperty$4.call(t,e)?t[e]:void 0}var objectProto$4=Object.prototype,hasOwnProperty$3=objectProto$4.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate$1?t[e]!==void 0:hasOwnProperty$3.call(t,e)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=nativeCreate$1&&t===void 0?HASH_UNDEFINED$1:t,this}function Hash(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(e,t){for(var n=e.length;n--;)if(eq(e[n][0],t))return n;return-1}var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,n=assocIndexOf(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():splice.call(t,n,1),--this.size,!0}function listCacheGet(e){var t=this.__data__,n=assocIndexOf(t,e);return n<0?void 0:t[n][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,t){var n=this.__data__,r=assocIndexOf(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function ListCache(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;var Map$1=getNative(root$1,"Map"),Map$1$1=Map$1;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1$1||ListCache),string:new Hash}}function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function getMapData(e,t){var n=e.__data__;return isKeyable(t)?n[typeof t=="string"?"string":"hash"]:n.map}function mapCacheDelete(e){var t=getMapData(this,e).delete(e);return this.size-=t?1:0,t}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){var n=getMapData(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function MapCache(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function arrayPush(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var getPrototype=overArg(Object.getPrototypeOf,Object),getPrototype$1=getPrototype;function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function stackGet(e){return this.__data__.get(e)}function stackHas(e){return this.__data__.has(e)}var LARGE_ARRAY_SIZE=200;function stackSet(e,t){var n=this.__data__;if(n instanceof ListCache){var r=n.__data__;if(!Map$1$1||r.length<LARGE_ARRAY_SIZE-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new MapCache(r)}return n.set(e,t),this.size=n.size,this}function Stack(e){var t=this.__data__=new ListCache(e);this.size=t.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer2=moduleExports?root$1.Buffer:void 0;Buffer2&&Buffer2.allocUnsafe;function cloneBuffer(e,t){return e.slice()}function arrayFilter(e,t){for(var n=-1,r=e==null?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(e){return e==null?[]:(e=Object(e),arrayFilter(nativeGetSymbols$1(e),function(t){return propertyIsEnumerable.call(e,t)}))}:stubArray,getSymbols$1=getSymbols;function baseGetAllKeys(e,t,n){var r=t(e);return isArray$1(e)?r:arrayPush(r,n(e))}function getAllKeys(e){return baseGetAllKeys(e,keys$1,getSymbols$1)}var DataView=getNative(root$1,"DataView"),DataView$1=DataView,Promise$1=getNative(root$1,"Promise"),Promise$2=Promise$1,Set$1=getNative(root$1,"Set"),Set$1$1=Set$1,mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$1$1),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$1$1),weakMapCtorString=toSource(WeakMap$1$1),getTag=baseGetTag;(DataView$1&&getTag(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$3||Map$1$1&&getTag(new Map$1$1)!=mapTag$4||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$1$1&&getTag(new Set$1$1)!=setTag$4||WeakMap$1$1&&getTag(new WeakMap$1$1)!=weakMapTag$1)&&(getTag=function(e){var t=baseGetTag(e),n=t==objectTag$2?e.constructor:void 0,r=n?toSource(n):"";if(r)switch(r){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return t});var getTag$1=getTag,objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function initCloneArray(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&hasOwnProperty$2.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Uint8Array2=root$1.Uint8Array,Uint8Array$1=Uint8Array2;function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);return new Uint8Array$1(t).set(new Uint8Array$1(e)),t}function cloneDataView(e,t){var n=cloneArrayBuffer(e.buffer);return new e.constructor(n,e.byteOffset,e.byteLength)}var reFlags=/\w*$/;function cloneRegExp(e){var t=new e.constructor(e.source,reFlags.exec(e));return t.lastIndex=e.lastIndex,t}var symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol(e){return symbolValueOf$1?Object(symbolValueOf$1.call(e)):{}}function cloneTypedArray(e,t){var n=cloneArrayBuffer(e.buffer);return new e.constructor(n,e.byteOffset,e.length)}var boolTag$2="[object Boolean]",dateTag$2="[object Date]",mapTag$3="[object Map]",numberTag$2="[object Number]",regexpTag$2="[object RegExp]",setTag$3="[object Set]",stringTag$2="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(e,t,n){var r=e.constructor;switch(t){case arrayBufferTag$2:return cloneArrayBuffer(e);case boolTag$2:case dateTag$2:return new r(+e);case dataViewTag$2:return cloneDataView(e);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(e);case mapTag$3:return new r;case numberTag$2:case stringTag$2:return new r(e);case regexpTag$2:return cloneRegExp(e);case setTag$3:return new r;case symbolTag$2:return cloneSymbol(e)}}function initCloneObject(e){return typeof e.constructor=="function"&&!isPrototype(e)?baseCreate$1(getPrototype$1(e)):{}}var mapTag$2="[object Map]";function baseIsMap(e){return isObjectLike(e)&&getTag$1(e)==mapTag$2}var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap,isMap$1=isMap,setTag$2="[object Set]";function baseIsSet(e){return isObjectLike(e)&&getTag$1(e)==setTag$2}var nodeIsSet=nodeUtil$1&&nodeUtil$1.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,isSet$1=isSet,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$1]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$1]=cloneableTags[stringTag$1]=cloneableTags[symbolTag$1]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;function baseClone(e,t,n,r,a,o){var i;if(i!==void 0)return i;if(!isObject$1(e))return e;var s=isArray$1(e);if(s)i=initCloneArray(e);else{var l=getTag$1(e),c=l==funcTag||l==genTag;if(isBuffer$1(e))return cloneBuffer(e);if(l==objectTag$1||l==argsTag$1||c&&!a)i=c?{}:initCloneObject(e);else{if(!cloneableTags[l])return a?e:{};i=initCloneByTag(e,l)}}o||(o=new Stack);var u=o.get(e);if(u)return u;o.set(e,i),isSet$1(e)?e.forEach(function(m){i.add(baseClone(m,t,n,m,e,o))}):isMap$1(e)&&e.forEach(function(m,y){i.set(y,baseClone(m,t,n,y,e,o))});var f=getAllKeys,d=s?void 0:f(e);return arrayEach(d||e,function(m,y){d&&(y=m,m=e[y]),assignValue(i,y,baseClone(m,t,n,y,e,o))}),i}var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(e){return baseClone(e,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(e){return this.__data__.set(e,HASH_UNDEFINED),this}function setCacheHas(e){return this.__data__.has(e)}function SetCache(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new MapCache;++t<n;)this.add(e[t])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function cacheHas(e,t){return e.has(t)}var COMPARE_PARTIAL_FLAG$3=1,COMPARE_UNORDERED_FLAG$1=2;function equalArrays(e,t,n,r,a,o){var i=n&COMPARE_PARTIAL_FLAG$3,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var f=-1,d=!0,m=n&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(o.set(e,t),o.set(t,e);++f<s;){var y=e[f],g=t[f];if(r)var P=i?r(g,y,f,t,e,o):r(y,g,f,e,t,o);if(P!==void 0){if(P)continue;d=!1;break}if(m){if(!arraySome(t,function(v,_){if(!cacheHas(m,_)&&(y===v||a(y,v,n,r,o)))return m.push(_)})){d=!1;break}}else if(!(y===g||a(y,g,n,r,o))){d=!1;break}}return o.delete(e),o.delete(t),d}function mapToArray(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function setToArray(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var COMPARE_PARTIAL_FLAG$2=1,COMPARE_UNORDERED_FLAG=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(e,t,n,r,a,o,i){switch(n){case dataViewTag:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case arrayBufferTag:return!(e.byteLength!=t.byteLength||!o(new Uint8Array$1(e),new Uint8Array$1(t)));case boolTag:case dateTag:case numberTag:return eq(+e,+t);case errorTag:return e.name==t.name&&e.message==t.message;case regexpTag:case stringTag:return e==t+"";case mapTag:var s=mapToArray;case setTag:var l=r&COMPARE_PARTIAL_FLAG$2;if(s||(s=setToArray),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;r|=COMPARE_UNORDERED_FLAG,i.set(e,t);var u=equalArrays(s(e),s(t),r,a,o,i);return i.delete(e),u;case symbolTag:if(symbolValueOf)return symbolValueOf.call(e)==symbolValueOf.call(t)}return!1}var COMPARE_PARTIAL_FLAG$1=1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function equalObjects(e,t,n,r,a,o){var i=n&COMPARE_PARTIAL_FLAG$1,s=getAllKeys(e),l=s.length,c=getAllKeys(t),u=c.length;if(l!=u&&!i)return!1;for(var f=l;f--;){var d=s[f];if(!(i?d in t:hasOwnProperty$1.call(t,d)))return!1}var m=o.get(e),y=o.get(t);if(m&&y)return m==t&&y==e;var g=!0;o.set(e,t),o.set(t,e);for(var P=i;++f<l;){d=s[f];var v=e[d],_=t[d];if(r)var b=i?r(_,v,d,t,e,o):r(v,_,d,e,t,o);if(!(b===void 0?v===_||a(v,_,n,r,o):b)){g=!1;break}P||(P=d=="constructor")}if(g&&!P){var S=e.constructor,C=t.constructor;S!=C&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof C=="function"&&C instanceof C)&&(g=!1)}return o.delete(e),o.delete(t),g}var COMPARE_PARTIAL_FLAG=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(e,t,n,r,a,o){var i=isArray$1(e),s=isArray$1(t),l=i?arrayTag:getTag$1(e),c=s?arrayTag:getTag$1(t);l=l==argsTag?objectTag:l,c=c==argsTag?objectTag:c;var u=l==objectTag,f=c==objectTag,d=l==c;if(d&&isBuffer$1(e)){if(!isBuffer$1(t))return!1;i=!0,u=!1}if(d&&!u)return o||(o=new Stack),i||isTypedArray$1(e)?equalArrays(e,t,n,r,a,o):equalByTag(e,t,l,n,r,a,o);if(!(n&COMPARE_PARTIAL_FLAG)){var m=u&&hasOwnProperty.call(e,"__wrapped__"),y=f&&hasOwnProperty.call(t,"__wrapped__");if(m||y){var g=m?e.value():e,P=y?t.value():t;return o||(o=new Stack),a(g,P,n,r,o)}}return d?(o||(o=new Stack),equalObjects(e,t,n,r,a,o)):!1}function baseIsEqual(e,t,n,r,a){return e===t?!0:e==null||t==null||!isObjectLike(e)&&!isObjectLike(t)?e!==e&&t!==t:baseIsEqualDeep(e,t,n,r,baseIsEqual,a)}function isEqual$1(e,t){return baseIsEqual(e,t)}var _export_sfc$1=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n};const _sfc_main$i=defineComponent$1({props:{animationData:{type:Object,default:()=>({})},animationLink:{type:String,default:""},loop:{type:[Boolean,Number],default:!0},autoPlay:{type:Boolean,default:!0},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},speed:{type:Number,default:1},delay:{type:Number,default:0},direction:{type:String,default:"forward"},pauseOnHover:{type:Boolean,default:!1},playOnHover:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"},pauseAnimation:{type:Boolean,default:!1},noMargin:{type:Boolean,default:!1},scale:{type:Number,default:1},renderer:{type:String,default:"svg"},rendererSettings:{type:Object,default:()=>({})},assetsPath:{type:String,default:""}},emits:{onComplete:null,onLoopComplete:null,onEnterFrame:null,onSegmentStart:null,onAnimationLoaded:null},setup(e,{emit:t}){const n=ref(),r=ref();let a=null,o=1;watchEffect(async()=>{if(e.animationLink!="")try{const T=await(await fetch(e.animationLink)).json();n.value=T,nextTick(()=>i())}catch(k){console.error(k);return}else if(isEqual$1(e.animationData,{})===!1)n.value=cloneDeep(e.animationData),nextTick(()=>i());else throw new Error("You must provide either animationLink or animationData")});const i=()=>{if(!r.value||!n.value)return;a==null||a.destroy(),a=null;let k=e.autoPlay,T=e.loop;e.playOnHover&&(k=!1),typeof T=="number"&&T>0&&(T=T-1),e.delay>0&&(k=!1);const w={container:r.value,renderer:e.renderer,loop:T,autoplay:k,animationData:n.value,assetsPath:e.assetsPath};isEqual$1(e.rendererSettings,{})===!1&&(w.rendererSettings=e.rendererSettings),e.scale!==1&&(w.rendererSettings=__spreadProps(__spreadValues({},w.rendererSettings),{viewBoxOnly:!0})),a=Lottie.loadAnimation(w),setTimeout(()=>{k=e.autoPlay,e.playOnHover?a==null||a.pause():k?a==null||a.play():a==null||a.pause(),t("onAnimationLoaded")},e.delay),a.setSpeed(e.speed),e.direction==="reverse"&&a.setDirection(-1),e.direction==="normal"&&a.setDirection(1),(e.pauseAnimation||e.playOnHover)&&a.pause(),a.addEventListener("loopComplete",()=>{e.direction==="alternate"&&(a==null||a.stop(),o=o===-1?1:-1,a==null||a.setDirection(o),a==null||a.play()),t("onLoopComplete")}),a.addEventListener("complete",()=>{t("onComplete")}),a.addEventListener("enterFrame",()=>{t("onEnterFrame")}),a.addEventListener("segmentStart",()=>{t("onSegmentStart")})},s=computed(()=>{let k=e.width,T=e.height;return typeof e.width=="number"&&(k=`${e.width}px`),typeof e.height=="number"&&(T=`${e.height}px`),{"--lottie-animation-container-width":k,"--lottie-animation-container-height":T,"--lottie-animation-container-background-color":e.backgroundColor,"--lottie-animation-margin":e.noMargin?"0":"0 auto","--lottie-animation-scale":e.scale!=1?e.scale:""}}),l=()=>{a&&e.pauseOnHover&&a.pause(),a&&e.playOnHover&&a.play()},c=()=>{a&&e.pauseOnHover&&a.play(),a&&e.playOnHover&&a.pause()};return watch(()=>e.pauseAnimation,()=>{if((e.pauseOnHover||e.playOnHover)&&e.pauseAnimation){console.error("If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover");return}a&&(e.pauseAnimation?a.pause():a.play())}),{lottieAnimationContainer:r,hoverEnded:c,hoverStarted:l,getCurrentStyle:s,play:()=>{a&&a.play()},pause:()=>{a&&a.pause()},stop:()=>{a&&a.stop()},destroy:()=>{a&&a.destroy()},setSpeed:(k=1)=>{if(k<=0)throw new Error("Speed must be greater than 0");a&&a.setSpeed(k)},setDirection:k=>{a&&(k==="forward"?a.setDirection(1):k==="reverse"&&a.setDirection(-1))},goToAndStop:(k,T=!0)=>{a&&a.goToAndStop(k,T)},goToAndPlay:(k,T=!0)=>{a&&a.goToAndPlay(k,T)},playSegments:(k,T=!1)=>{a&&a.playSegments(k,T)},setSubFrame:(k=!0)=>{a&&a.setSubframe(k)},getDuration:(k=!0)=>{if(a)return a.getDuration(k)},updateDocumentData:(k,T=0)=>{a&&a.renderer.elements[T].updateDocumentData(k)}}}});function _sfc_render$1(e,t,n,r,a,o){return openBlock(),createElementBlock("div",{ref:"lottieAnimationContainer",class:"lottie-animation-container",style:normalizeStyle(e.getCurrentStyle),onMouseenter:t[0]||(t[0]=(...i)=>e.hoverStarted&&e.hoverStarted(...i)),onMouseleave:t[1]||(t[1]=(...i)=>e.hoverEnded&&e.hoverEnded(...i))},null,36)}var Vue3Lottie=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$1]]),index={install(e,t){var n;const r=(n=t==null?void 0:t.name)!=null?n:"Vue3Lottie";e.component(r,Vue3Lottie)}};const lottie_player_kRMqPMftCH=defineNuxtPlugin(e=>{e.vueApp.use(index)}),user={async login(e){const{data:t,error:n}=await this.trustKeeperApi("/user/login_email","POST",e);return t.value?t:n},async checkQuickLoginRegistered(e){const{data:t,error:n}=await this.trustKeeperApi("/user/check_registration","POST",e);return t.value?t:n},async checkQuickLoginRegisteredByTempToken(e,t){const{$store:n}=useNuxtApp(),{data:r,error:a}=await useFetch(`${n.trustKeeperBackendUrl}${n.trustKeeperBackendVersion}/user/check_registration`,{method:"POST",body:t,headers:{Authorization:`Bearer ${e}`}},"$DbB3WUGDx0");return r.value?r:a},async quickLoginRegister(e){const{data:t,error:n}=await this.trustKeeperApi("/user/login_update_user_info","PUT",e);return t.value?t:n},async googleLogin(e){const{data:t,error:n}=await this.trustKeeperApi("/user/google_login","POST",e);return t.value?t:n},async facebookLogin(e){const{data:t,error:n}=await this.trustKeeperApi("/user/meta_login","POST",e);return t.value?t:n},async lineLogin(e){const{data:t,error:n}=await this.trustKeeperApi("/user/line_login","POST",e);return t.value?t:n},async getWalletMessage(e){const{data:t,error:n}=await this.trustKeeperApi(`/user/get_random_code?address=${e}`,"GET");return t.value?t:n},async walletLogin(e){const{data:t,error:n}=await this.trustKeeperApi("/user/metamask_login","POST",e);return t.value?t:n},async registerVerify(e){const{data:t,error:n}=await this.trustKeeperApi("/user/registration/verify_email","POST",e);return t.value?t:n},async register(e){const{data:t,error:n}=await this.trustKeeperApi("/user/registration/confirm_email","POST",e);return t.value?t:n},async resetPasswordVerify(e){const{data:t,error:n}=await this.trustKeeperApi("/user/forget_pwd/verify_email","POST",e);return t.value?t:n},async resetPassword(e){const{data:t,error:n}=await this.trustKeeperApi("/user/forget_pwd/confirm","POST",e);return t.value?t:n},async deleteAccount(){const{data:e,error:t}=await this.trustKeeperAuthApi("/user/delete","DELETE");return e.value?e:t},async getUserInfo(){const{data:e,error:t}=await this.trustKeeperAuthApi("/chat/get_user_info","GET");return e.value?e:t}},chat={async getIndexQuestion(){const{data:e,error:t}=await this.trustKeeperApi("/chat/get_six_question","GET");return e.value?e:t},async getChatHistory(){const{data:e,error:t}=await this.trustKeeperAuthApi("/chat/chat_history","GET");return e.value?e:t},async postChatScore(e){const{data:t,error:n}=await this.trustKeeperAuthApi("/chat/chat_score","POST",e);return t.value?t:n},async isWebsiteBeenScored(){const{data:e,error:t}=await this.trustKeeperApi("/user/website_score","GET");return e.value?e:t},async postWebsiteScoreWhileLogin(e){const{data:t,error:n}=await this.trustKeeperAuthApi("/user/website_score","POST",e);return t.value?t:n},async postWebsiteScore(e){const{data:t,error:n}=await this.trustKeeperApi("/user/website_score","POST",e);return t.value?t:n}},apis={async getPartnerList(){const{data:e,error:t}=await this.api("/cooperator","GET");return e.value?e:t},async getLatestVerifyList(e){const{data:t,error:n}=await this.api(`/latest_verify?language=${e}`,"GET");return t.value?t:n},async getVerifyAmounts(){const{data:e,error:t}=await this.api("/statistics","GET");return e.value?e:t},async getExploreVerifyItemAmounts(){const{data:e,error:t}=await this.api("/verify_subject_amount","GET");return e.value?e:t},async getSearchAmount(){const{data:e,error:t}=await this.api("/search_counter","GET");return e.value?e:t},async getScholar(){const{data:e,error:t}=await this.api(`/scholar?language=${this.locale}`,"GET");return e.value?e:t},async submitContact(e){const{data:t,error:n}=await this.api("/contact_us","POST",e);return t.value?t:n},async searchVerifyItemsList(e){const t=e.search?`&sort_subject_name=${e.search}`:"",n=e.sort?`&sort_key=${e.sort}`:"",r=e.order?`&sort_type=${e.order}`:"",a=e.address?`&address=${e.address}`:"",{data:o,error:i}=await this.api(`/query_index?language=${e.lang}${t}${n}${r}${a}`,"GET");return o.value?o:i},async searchVerifyList(e){const t=e.value?`&address=${e.value}`:"",n=e.chain?`&chain=${e.chain}`:"",r=e.address?`&wallet_address=${e.address}`:"",a=e.type?`&subject_type=${e.type}`:"",{data:o,error:i}=await this.api(`/search_all_detail?language=${e.lang}${t}${n}${r}${a}`,"GET");return o.value?o:i},async getSearchRecommendKeywordList(){const{data:e,error:t}=await this.api("/recommend_search","GET");return e.value?e:t},async searchWalletList(e){const{data:t,error:n}=await this.api(`/check_wallet?address=${e}`,"GET");return t.value?t:n},async checkAddressIsWallet(e){const{data:t,error:n}=await this.api(`/check_address?address=${e}`,"GET");return t.value?t:n},async importTokens(e){const{data:t,error:n}=await this.api("/import_tokens","POST",e);return t.value?t:n},async getExplorePopularCryptoList(e){const{data:t,error:n}=await this.api(`/hot_coin?language=${e}`,"GET",null,"/api/v2");return t.value?t:n},async getExploreRiskWalletList(e){const t=e?`?random=${e}`:"",{data:n,error:r}=await this.api(`/risk_wallet${t}`,"GET",null,"/api/v2");return n.value?n:r},...user,...chat},useMainStore=defineStore("main",{state:()=>({backendVersion:"/api/v1",trustKeeperBackendVersion:"/api/v1",backendWebsocketVersion:"/api/v1",accessToken:""}),actions:{async api(e,t,n,r){const{data:a,error:o}=await useFetch(`${this.backendUrl}${r||this.backendVersion}${e}`,{method:t,body:n},"$bgVLK5yZok");return{data:a,error:o}},async trustKeeperApi(e,t,n){const{data:r,error:a}=await useFetch(`${this.trustKeeperBackendUrl}${this.backendVersion}${e}`,{method:t,body:n},"$98Tnq6SQtK");return{data:r,error:a}},async trustKeeperAuthApi(e,t,n){const{data:r,error:a}=await useFetch(`${this.trustKeeperBackendUrl}${this.trustKeeperBackendVersion}${e}`,{method:t,body:n,headers:{Authorization:`Bearer ${this.accessToken}`}},"$HrZgc7l21H");return{data:r,error:a}},...apis},getters:{isLogin(){return!!this.accessToken},locale(){try{return useNuxtApp().$i18n.locale.value}catch{return"tw"}},backendUrl(){return useRuntimeConfig().public.APP_ENV==="development"?"https://verify-api.star-bit.io":"https://api.jcardv.com"},backendWebsocketUrl(){return useRuntimeConfig().public.APP_ENV==="development"?"wss://verify-api.star-bit.io":"wss://api.jcardv.com"},trustKeeperBackendUrl(){return useRuntimeConfig().public.APP_ENV==="development"?"https://api-trustkeeper.star-bit.io":"https://api.trustkeeper.io"},websocketBackendUrl(){const n=`${useRuntimeConfig().public.APP_ENV==="development"?"wss://api-trustkeeper.star-bit.io":"wss://api.trustkeeper.io"}${this.backendVersion}/chat/quiz_v2`;return this.accessToken?`${n}?token=${this.accessToken}`:n},domain(){const e=useRuntimeConfig();return e.public.LOCAL==="1"?"localhost":e.public.APP_ENV==="development"?"jcard-verify.star-bit.io":"jcardv.com"},website(){const e=useRuntimeConfig();return e.public.LOCAL==="1"?"http://localhost:7202":e.public.APP_ENV==="development"?"https://jcard-verify.star-bit.io":"https://www.jcardv.com"}}}),store_pBBVV6Lb3L=defineNuxtPlugin(({$pinia:e})=>({provide:{store:useMainStore(e)}})),IN_BROWSER=typeof window<"u",SUPPORTS_INTERSECTION=IN_BROWSER&&"IntersectionObserver"in window,SUPPORTS_TOUCH=IN_BROWSER&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),SUPPORTS_EYE_DROPPER=IN_BROWSER&&"EyeDropper"in window;function _classPrivateFieldInitSpec(e,t,n){_checkPrivateRedeclaration(e,t),t.set(e,n)}function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldSet(e,t,n){var r=_classExtractFieldDescriptor(e,t,"set");return _classApplyDescriptorSet(e,r,n),n}function _classApplyDescriptorSet(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function _classPrivateFieldGet(e,t){var n=_classExtractFieldDescriptor(e,t,"get");return _classApplyDescriptorGet(e,n)}function _classExtractFieldDescriptor(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}function getNestedValue(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let a=0;a<r;a++){if(e==null)return n;e=e[t[a]]}return e==null||e[t[r]]===void 0?n:e[t[r]]}function deepEqual(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const n=Object.keys(e);return n.length!==Object.keys(t).length?!1:n.every(r=>deepEqual(e[r],t[r]))}function getObjectValueByPath(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),getNestedValue(e,t.split("."),n))}function getPropertyFromItem(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const a=t(e,n);return typeof a>"u"?n:a}if(typeof t=="string")return getObjectValueByPath(e,t,n);if(Array.isArray(t))return getNestedValue(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function createRange(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function convertToUnit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function isObject(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function refElement(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const keyCodes=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),keyValues=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function keys(e){return Object.keys(e)}function has(e,t){return t.every(n=>e.hasOwnProperty(n))}function pick(e,t){const n={},r=new Set(Object.keys(e));for(const a of t)r.has(a)&&(n[a]=e[a]);return n}function pickWithRest(e,t,n){const r=Object.create(null),a=Object.create(null);for(const o in e)t.some(i=>i instanceof RegExp?i.test(o):i===o)&&!(n!=null&&n.some(i=>i===o))?r[o]=e[o]:a[o]=e[o];return[r,a]}function omit(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}function only(e,t){const n={};return t.forEach(r=>n[r]=e[r]),n}const onRE=/^on[^a-z]/,isOn=e=>onRE.test(e),bubblingEvents=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],compositionIgnoreKeys=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function isComposingIgnoreKey(e){return e.isComposing&&compositionIgnoreKeys.includes(e.key)}function filterInputAttrs(e){const[t,n]=pickWithRest(e,[onRE]),r=omit(t,bubblingEvents),[a,o]=pickWithRest(n,["class","style","id",/^data-/]);return Object.assign(a,t),Object.assign(o,r),[a,o]}function wrapInArray(e){return e==null?[]:Array.isArray(e)?e:[e]}function debounce(e,t){let n=0;const r=function(){for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];clearTimeout(n),n=setTimeout(()=>e(...o),unref(t))};return r.clear=()=>{clearTimeout(n)},r.immediate=e,r}function clamp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function getDecimals(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function padEnd(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function padStart(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function chunk(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r<e.length;)n.push(e.substr(r,t)),r+=t;return n}function humanReadableFileSize(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e3;if(e<t)return`${e} B`;const n=t===1024?["Ki","Mi","Gi"]:["k","M","G"];let r=-1;for(;Math.abs(e)>=t&&r<n.length-1;)e/=t,++r;return`${e.toFixed(1)} ${n[r]}B`}function mergeDeep(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const a in e)r[a]=e[a];for(const a in t){const o=e[a],i=t[a];if(isObject(o)&&isObject(i)){r[a]=mergeDeep(o,i,n);continue}if(Array.isArray(o)&&Array.isArray(i)&&n){r[a]=n(o,i);continue}r[a]=i}return r}function flattenFragments(e){return e.map(t=>t.type===Fragment?flattenFragments(t.children):t).flat()}function toKebabCase(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(toKebabCase.cache.has(e))return toKebabCase.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return toKebabCase.cache.set(e,t),t}toKebabCase.cache=new Map;function findChildrenWithProvide(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>findChildrenWithProvide(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>findChildrenWithProvide(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return findChildrenWithProvide(e,t.component.subTree).flat(1)}return[]}var _arr=new WeakMap,_pointer=new WeakMap;class CircularBuffer{constructor(t){_classPrivateFieldInitSpec(this,_arr,{writable:!0,value:[]}),_classPrivateFieldInitSpec(this,_pointer,{writable:!0,value:0}),this.size=t}push(t){_classPrivateFieldGet(this,_arr)[_classPrivateFieldGet(this,_pointer)]=t,_classPrivateFieldSet(this,_pointer,(_classPrivateFieldGet(this,_pointer)+1)%this.size)}values(){return _classPrivateFieldGet(this,_arr).slice(_classPrivateFieldGet(this,_pointer)).concat(_classPrivateFieldGet(this,_arr).slice(0,_classPrivateFieldGet(this,_pointer)))}}function getEventCoordinates(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}function destructComputed(e){const t=reactive({}),n=computed(e);return watchEffect(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),toRefs(t)}function includes(e,t){return e.includes(t)}function eventName(e){return e[2].toLowerCase()+e.slice(3)}const EventProp=()=>[Function,Array];function hasEvent(e,t){return t="on"+capitalize$1(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function callEvent(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(Array.isArray(e))for(const a of e)a(...n);else typeof e=="function"&&e(...n)}function focusableChildren(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(r=>`${r}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function getNextElement(e,t,n){let r,a=e.indexOf(document.activeElement);const o=t==="next"?1:-1;do a+=o,r=e[a];while((!r||r.offsetParent==null||!((n==null?void 0:n(r))??!0))&&a<e.length&&a>=0);return r}function focusChild(e,t){var r,a,o,i;const n=focusableChildren(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((r=n[0])==null||r.focus());else if(t==="first")(a=n[0])==null||a.focus();else if(t==="last")(o=n.at(-1))==null||o.focus();else if(typeof t=="number")(i=n[t])==null||i.focus();else{const s=getNextElement(n,t);s?s.focus():focusChild(e,t==="next"?"first":"last")}}function isEmpty(e){return e==null||typeof e=="string"&&e.trim()===""}function noop(){}function matchesSelector(e,t){if(!(IN_BROWSER&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function ensureValidVNode(e){return e.some(t=>isVNode$1(t)?t.type===Comment?!1:t.type!==Fragment||ensureValidVNode(t.children):!0)?e:null}const block=["top","bottom"],inline=["start","end","left","right"];function parseAnchor(e,t){let[n,r]=e.split(" ");return r||(r=includes(block,n)?"start":includes(inline,n)?"top":"center"),{side:toPhysical(n,t),align:toPhysical(r,t)}}function toPhysical(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function flipSide(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function flipAlign(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function flipCorner(e){return{side:e.align,align:e.side}}function getAxis(e){return includes(block,e.side)?"y":"x"}class Box{constructor(t){let{x:n,y:r,width:a,height:o}=t;this.x=n,this.y=r,this.width=a,this.height=o}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function getOverflow(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function getTargetBox(e){return Array.isArray(e)?new Box({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function nullifyTransforms(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),r=n.transform;if(r){let a,o,i,s,l;if(r.startsWith("matrix3d("))a=r.slice(9,-1).split(/, /),o=+a[0],i=+a[5],s=+a[12],l=+a[13];else if(r.startsWith("matrix("))a=r.slice(7,-1).split(/, /),o=+a[0],i=+a[3],s=+a[4],l=+a[5];else return new Box(t);const c=n.transformOrigin,u=t.x-s-(1-o)*parseFloat(c),f=t.y-l-(1-i)*parseFloat(c.slice(c.indexOf(" ")+1)),d=o?t.width/o:e.offsetWidth+1,m=i?t.height/i:e.offsetHeight+1;return new Box({x:u,y:f,width:d,height:m})}else return new Box(t)}function animate(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let r;try{r=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof r.finished>"u"&&(r.finished=new Promise(a=>{r.onfinish=()=>{a(r)}})),r}const handlers=new WeakMap;function bindProps(e,t){Object.keys(t).forEach(n=>{if(isOn(n)){const r=eventName(n),a=handlers.get(e);if(t[n]==null)a==null||a.forEach(o=>{const[i,s]=o;i===r&&(e.removeEventListener(r,s),a.delete(o))});else if(!a||![...a].some(o=>o[0]===r&&o[1]===t[n])){e.addEventListener(r,t[n]);const o=a||new Set;o.add([r,t[n]]),handlers.has(e)||handlers.set(e,o)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function unbindProps(e,t){Object.keys(t).forEach(n=>{if(isOn(n)){const r=eventName(n),a=handlers.get(e);a==null||a.forEach(o=>{const[i,s]=o;i===r&&(e.removeEventListener(r,s),a.delete(o))})}else e.removeAttribute(n)})}const mainTRC=2.4,Rco=.2126729,Gco=.7151522,Bco=.072175,normBG=.55,normTXT=.58,revTXT=.57,revBG=.62,blkThrs=.03,blkClmp=1.45,deltaYmin=5e-4,scaleBoW=1.25,scaleWoB=1.25,loConThresh=.078,loConFactor=12.82051282051282,loConOffset=.06,loClip=.001;function APCAcontrast(e,t){const n=(e.r/255)**mainTRC,r=(e.g/255)**mainTRC,a=(e.b/255)**mainTRC,o=(t.r/255)**mainTRC,i=(t.g/255)**mainTRC,s=(t.b/255)**mainTRC;let l=n*Rco+r*Gco+a*Bco,c=o*Rco+i*Gco+s*Bco;if(l<=blkThrs&&(l+=(blkThrs-l)**blkClmp),c<=blkThrs&&(c+=(blkThrs-c)**blkClmp),Math.abs(c-l)<deltaYmin)return 0;let u;if(c>l){const f=(c**normBG-l**normTXT)*scaleBoW;u=f<loClip?0:f<loConThresh?f-f*loConFactor*loConOffset:f-loConOffset}else{const f=(c**revBG-l**revTXT)*scaleWoB;u=f>-loClip?0:f>-loConThresh?f-f*loConFactor*loConOffset:f+loConOffset}return u*100}function consoleWarn(e){}function consoleError(e){}function deprecate(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const delta=.20689655172413793,cielabForwardTransform=e=>e>delta**3?Math.cbrt(e):e/(3*delta**2)+4/29,cielabReverseTransform=e=>e>delta?e**3:3*delta**2*(e-4/29);function fromXYZ$1(e){const t=cielabForwardTransform,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function toXYZ$1(e){const t=cielabReverseTransform,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const srgbForwardMatrix=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],srgbForwardTransform=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,srgbReverseMatrix=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],srgbReverseTransform=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function fromXYZ(e){const t=Array(3),n=srgbForwardTransform,r=srgbForwardMatrix;for(let a=0;a<3;++a)t[a]=Math.round(clamp(n(r[a][0]*e[0]+r[a][1]*e[1]+r[a][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function toXYZ(e){let{r:t,g:n,b:r}=e;const a=[0,0,0],o=srgbReverseTransform,i=srgbReverseMatrix;t=o(t/255),n=o(n/255),r=o(r/255);for(let s=0;s<3;++s)a[s]=i[s][0]*t+i[s][1]*n+i[s][2]*r;return a}function isCssColor(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function isParsableColor(e){return isCssColor(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const cssColorRe=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,mappers={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>HSLtoRGB({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>HSLtoRGB({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>HSVtoRGB({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>HSVtoRGB({h:e,s:t,v:n,a:r})};function parseColor(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&cssColorRe.test(e)){const{groups:t}=e.match(cssColorRe),{fn:n,values:r}=t,a=r.split(/,\s*/).map(o=>o.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(o)/100:parseFloat(o));return mappers[n](...a)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),HexToRGB(t)}else if(typeof e=="object"){if(has(e,["r","g","b"]))return e;if(has(e,["h","s","l"]))return HSVtoRGB(HSLtoHSV(e));if(has(e,["h","s","v"]))return HSVtoRGB(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function HSVtoRGB(e){const{h:t,s:n,v:r,a}=e,o=s=>{const l=(s+t/60)%6;return r-r*n*Math.max(Math.min(l,4-l,1),0)},i=[o(5),o(3),o(1)].map(s=>Math.round(s*255));return{r:i[0],g:i[1],b:i[2],a}}function HSLtoRGB(e){return HSVtoRGB(HSLtoHSV(e))}function RGBtoHSV(e){if(!e)return{h:0,s:1,v:1,a:1};const t=e.r/255,n=e.g/255,r=e.b/255,a=Math.max(t,n,r),o=Math.min(t,n,r);let i=0;a!==o&&(a===t?i=60*(0+(n-r)/(a-o)):a===n?i=60*(2+(r-t)/(a-o)):a===r&&(i=60*(4+(t-n)/(a-o)))),i<0&&(i=i+360);const s=a===0?0:(a-o)/a,l=[i,s,a];return{h:l[0],s:l[1],v:l[2],a:e.a}}function HSVtoHSL(e){const{h:t,s:n,v:r,a}=e,o=r-r*n/2,i=o===1||o===0?0:(r-o)/Math.min(o,1-o);return{h:t,s:i,l:o,a}}function HSLtoHSV(e){const{h:t,s:n,l:r,a}=e,o=r+n*Math.min(r,1-r),i=o===0?0:2-2*r/o;return{h:t,s:i,v:o,a}}function RGBtoCSS(e){let{r:t,g:n,b:r,a}=e;return a===void 0?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${a})`}function HSVtoCSS(e){return RGBtoCSS(HSVtoRGB(e))}function toHex(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function RGBtoHex(e){let{r:t,g:n,b:r,a}=e;return`#${[toHex(t),toHex(n),toHex(r),a!==void 0?toHex(Math.round(a*255)):""].join("")}`}function HexToRGB(e){e=parseHex(e);let[t,n,r,a]=chunk(e,2).map(o=>parseInt(o,16));return a=a===void 0?a:a/255,{r:t,g:n,b:r,a}}function HexToHSV(e){const t=HexToRGB(e);return RGBtoHSV(t)}function HSVtoHex(e){return RGBtoHex(HSVtoRGB(e))}function parseHex(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=padEnd(padEnd(e,6),8,"F")),e}function lighten(e,t){const n=fromXYZ$1(toXYZ(e));return n[0]=n[0]+t*10,fromXYZ(toXYZ$1(n))}function darken(e,t){const n=fromXYZ$1(toXYZ(e));return n[0]=n[0]-t*10,fromXYZ(toXYZ$1(n))}function getLuma(e){const t=parseColor(e);return toXYZ(t)[1]}function getContrast(e,t){const n=getLuma(e),r=getLuma(t),a=Math.max(n,r),o=Math.min(n,r);return(a+.05)/(o+.05)}function getForeground(e){const t=Math.abs(APCAcontrast(parseColor(0),parseColor(e)));return Math.abs(APCAcontrast(parseColor(16777215),parseColor(e)))>Math.min(t,50)?"#fff":"#000"}function propsFactory(e,t){return n=>Object.keys(e).reduce((r,a)=>{const i=typeof e[a]=="object"&&e[a]!=null&&!Array.isArray(e[a])?e[a]:{type:e[a]};return n&&a in n?r[a]={...i,default:n[a]}:r[a]=i,t&&!r[a].source&&(r[a].source=t),r},{})}const makeComponentProps=propsFactory({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),DefaultsSymbol=Symbol.for("vuetify:defaults");function createDefaults(e){return ref(e)}function injectDefaults(){const e=inject$1(DefaultsSymbol);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function provideDefaults(e,t){const n=injectDefaults(),r=ref(e),a=computed(()=>{if(unref(t==null?void 0:t.disabled))return n.value;const i=unref(t==null?void 0:t.scoped),s=unref(t==null?void 0:t.reset),l=unref(t==null?void 0:t.root);if(r.value==null&&!(i||s||l))return n.value;let c=mergeDeep(r.value,{prev:n.value});if(i)return c;if(s||l){const u=Number(s||1/0);for(let f=0;f<=u&&!(!c||!("prev"in c));f++)c=c.prev;return c&&typeof l=="string"&&l in c&&(c=mergeDeep(mergeDeep(c,{prev:c}),c[l])),c}return c.prev?mergeDeep(c.prev,c):c});return provide(DefaultsSymbol,a),a}function propIsDefined(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[toKebabCase(t)])<"u"}function internalUseDefaults(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:injectDefaults();const r=getCurrentInstance("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const a=computed(()=>{var l;return(l=n.value)==null?void 0:l[e._as??t]}),o=new Proxy(e,{get(l,c){var f,d,m,y;const u=Reflect.get(l,c);return c==="class"||c==="style"?[(f=a.value)==null?void 0:f[c],u].filter(g=>g!=null):typeof c=="string"&&!propIsDefined(r.vnode,c)?((d=a.value)==null?void 0:d[c])??((y=(m=n.value)==null?void 0:m.global)==null?void 0:y[c])??u:u}}),i=shallowRef();watchEffect(()=>{if(a.value){const l=Object.entries(a.value).filter(c=>{let[u]=c;return u.startsWith(u[0].toUpperCase())});i.value=l.length?Object.fromEntries(l):void 0}else i.value=void 0});function s(){const l=injectSelf(DefaultsSymbol,r);provide(DefaultsSymbol,computed(()=>i.value?mergeDeep((l==null?void 0:l.value)??{},i.value):l==null?void 0:l.value))}return{props:o,provideSubDefaults:s}}function defineComponent(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=propsFactory(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return pick(r,t)},e.props._as=String,e.setup=function(r,a){const o=injectDefaults();if(!o.value)return e._setup(r,a);const{props:i,provideSubDefaults:s}=internalUseDefaults(r,r._as??e.name,o),l=e._setup(i,a);return s(),l}}return e}function genericComponent(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?defineComponent:defineComponent$1)(t)}function defineFunctionalComponent(e,t){return t.props=e,t}function createSimpleFunctional(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return genericComponent()({name:n??capitalize$1(camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...makeComponentProps()},setup(r,a){let{slots:o}=a;return()=>{var i;return h(r.tag,{class:[e,r.class],style:r.style},(i=o.default)==null?void 0:i.call(o))}}})}function attachedRoot(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const standardEasing="cubic-bezier(0.4, 0, 0.2, 1)",deceleratedEasing="cubic-bezier(0.0, 0, 0.2, 1)",acceleratedEasing="cubic-bezier(0.4, 0, 1, 1)";function getPrefixedEventHandlers(e,t,n){return Object.keys(e).filter(r=>isOn(r)&&r.endsWith(t)).reduce((r,a)=>(r[a.slice(0,-t.length)]=o=>e[a](o,n(o)),r),{})}function getCurrentInstance(e,t){const n=getCurrentInstance$1();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function getCurrentInstanceName(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=getCurrentInstance(e).type;return toKebabCase((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let _uid=0,_map=new WeakMap;function getUid(){const e=getCurrentInstance("getUid");if(_map.has(e))return _map.get(e);{const t=_uid++;return _map.set(e,t),t}}getUid.reset=()=>{_uid=0,_map=new WeakMap};function getScrollParent(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?isPotentiallyScrollable(e):hasScrollbar(e))return e;e=e.parentElement}return document.scrollingElement}function getScrollParents(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(hasScrollbar(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function hasScrollbar(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function isPotentiallyScrollable(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function injectSelf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstance("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}function isFixedPosition(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function useRender(e){const t=getCurrentInstance("useRender");t.render=e}const firstDay={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function getWeekArray(e,t){const n=[];let r=[];const a=startOfMonth(e),o=endOfMonth(e),i=(a.getDay()-firstDay[t.slice(-2).toUpperCase()]+7)%7,s=(o.getDay()-firstDay[t.slice(-2).toUpperCase()]+7)%7;for(let l=0;l<i;l++){const c=new Date(a);c.setDate(c.getDate()-(i-l)),r.push(c)}for(let l=1;l<=o.getDate();l++){const c=new Date(e.getFullYear(),e.getMonth(),l);r.push(c),r.length===7&&(n.push(r),r=[])}for(let l=1;l<7-s;l++){const c=new Date(o);c.setDate(c.getDate()+l),r.push(c)}return n.push(r),n}function startOfMonth(e){return new Date(e.getFullYear(),e.getMonth(),1)}function endOfMonth(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function parseLocalDate(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const _YYYMMDD=/([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))/;function date(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(_YYYMMDD.test(e))return parseLocalDate(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const sundayJanuarySecond2000=new Date(2e3,0,2);function getWeekdays(e){const t=firstDay[e.slice(-2).toUpperCase()];return createRange(7).map(n=>{const r=new Date(sundayJanuarySecond2000);return r.setDate(sundayJanuarySecond2000.getDate()+t+n),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(r)})}function format(e,t,n,r){const a=date(e)??new Date,o=r==null?void 0:r[t];if(typeof o=="function")return o(a,t,n);let i={};switch(t){case"fullDateWithWeekday":i={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":i={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":i={day:"2-digit",month:"2-digit",year:"numeric"};break;case"monthAndDate":i={month:"long",day:"numeric"};break;case"monthAndYear":i={month:"long",year:"numeric"};break;case"month":i={month:"long"};break;case"monthShort":i={month:"short"};break;case"dayOfMonth":i={day:"numeric"};break;case"shortDate":i={year:"2-digit",month:"numeric",day:"numeric"};break;case"year":i={year:"numeric"};break;default:i=o??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,i).format(a)}function toISO(e,t){const n=e.toJsDate(t),r=n.getFullYear(),a=padStart(String(n.getMonth()+1),2,"0"),o=padStart(String(n.getDate()),2,"0");return`${r}-${a}-${o}`}function parseISO(e){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}function addDays(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function addMonths(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}function getYear(e){return e.getFullYear()}function getNextYear(e){return new Date(e.getFullYear()+1,e.getMonth(),e.getDate())}function getMonth(e){return e.getMonth()}function getNextMonth(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function startOfYear(e){return new Date(e.getFullYear(),0,1)}function endOfYear(e){return new Date(e.getFullYear(),11,31)}function isWithinRange(e,t){return isAfter(e,t[0])&&isBefore(e,t[1])}function isValid(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function isAfter(e,t){return e.getTime()>t.getTime()}function isBefore(e,t){return e.getTime()<t.getTime()}function isEqual(e,t){return e.getTime()===t.getTime()}function isSameDay(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function isSameMonth(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function getDate(e){return e.getDate()}function getDiff(e,t,n){const r=new Date(e),a=new Date(t);return n==="month"?r.getMonth()-a.getMonth()+(r.getFullYear()-a.getFullYear())*12:Math.floor((r.getTime()-a.getTime())/(1e3*60*60*24))}function setMonth(e,t){const n=new Date(e);return n.setMonth(t),n}function setYear(e,t){const n=new Date(e);return n.setFullYear(t),n}function startOfDay(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function endOfDay(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}class VuetifyDateAdapter{constructor(t){this.locale=t.locale,this.formats=t.formats}date(t){return date(t)}toJsDate(t){return t}toISO(t){return toISO(this,t)}parseISO(t){return parseISO(t)}addDays(t,n){return addDays(t,n)}addMonths(t,n){return addMonths(t,n)}getWeekArray(t){return getWeekArray(t,this.locale)}startOfMonth(t){return startOfMonth(t)}endOfMonth(t){return endOfMonth(t)}format(t,n){return format(t,n,this.locale,this.formats)}isEqual(t,n){return isEqual(t,n)}isValid(t){return isValid(t)}isWithinRange(t,n){return isWithinRange(t,n)}isAfter(t,n){return isAfter(t,n)}isBefore(t,n){return!isAfter(t,n)&&!isEqual(t,n)}isSameDay(t,n){return isSameDay(t,n)}isSameMonth(t,n){return isSameMonth(t,n)}setMonth(t,n){return setMonth(t,n)}setYear(t,n){return setYear(t,n)}getDate(t){return getDate(t)}getDiff(t,n,r){return getDiff(t,n,r)}getWeekdays(){return getWeekdays(this.locale)}getYear(t){return getYear(t)}getNextYear(t){return getNextYear(t)}getMonth(t){return getMonth(t)}getNextMonth(t){return getNextMonth(t)}startOfDay(t){return startOfDay(t)}endOfDay(t){return endOfDay(t)}startOfYear(t){return startOfYear(t)}endOfYear(t){return endOfYear(t)}}const DateAdapterSymbol=Symbol.for("vuetify:date-adapter");function createDate(e,t){var a;const n=mergeDeep({adapter:VuetifyDateAdapter,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},e),r=reactive(typeof n.adapter=="function"?new n.adapter({locale:((a=n.locale)==null?void 0:a[t.current.value])??t.current.value,formats:n.formats}):n.adapter);return watch(t.current,o=>{const i=n.locale?n.locale[o]:o;r.locale=i??r.locale}),r}function useDate(){const e=inject$1(DateAdapterSymbol);if(!e)throw new Error("[Vuetify] Could not find injected date adapter");return e}function getWeek(e,t){const n=e.toJsDate(t);let r=e.getYear(n),a=e.startOfYear(n);if(n<a)r=r-1,a=e.startOfYear(e.setYear(n,r));else{const s=e.startOfYear(e.setYear(n,r+1));n>=s&&(r=r+1,a=s)}const o=Math.abs(n.getTime()-a.getTime()),i=Math.ceil(o/(1e3*60*60*24));return Math.floor(i/7)+1}const breakpoints=["sm","md","lg","xl","xxl"],DisplaySymbol=Symbol.for("vuetify:display"),defaultDisplayOptions={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},parseDisplayOptions=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:defaultDisplayOptions;return mergeDeep(defaultDisplayOptions,e)};function getClientWidth(e){return IN_BROWSER&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function getClientHeight(e){return IN_BROWSER&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function getPlatform(e){const t=IN_BROWSER&&!e?window.navigator.userAgent:"ssr";function n(y){return!!t.match(y)}const r=n(/android/i),a=n(/iphone|ipad|ipod/i),o=n(/cordova/i),i=n(/electron/i),s=n(/chrome/i),l=n(/edge/i),c=n(/firefox/i),u=n(/opera/i),f=n(/win/i),d=n(/mac/i),m=n(/linux/i);return{android:r,ios:a,cordova:o,electron:i,chrome:s,edge:l,firefox:c,opera:u,win:f,mac:d,linux:m,touch:SUPPORTS_TOUCH,ssr:t==="ssr"}}function createDisplay(e,t){const{thresholds:n,mobileBreakpoint:r}=parseDisplayOptions(e),a=shallowRef(getClientHeight(t)),o=shallowRef(getPlatform(t)),i=reactive({}),s=shallowRef(getClientWidth(t));function l(){a.value=getClientHeight(),s.value=getClientWidth()}function c(){l(),o.value=getPlatform()}return watchEffect(()=>{const u=s.value<n.sm,f=s.value<n.md&&!u,d=s.value<n.lg&&!(f||u),m=s.value<n.xl&&!(d||f||u),y=s.value<n.xxl&&!(m||d||f||u),g=s.value>=n.xxl,P=u?"xs":f?"sm":d?"md":m?"lg":y?"xl":"xxl",v=typeof r=="number"?r:n[r],_=s.value<v;i.xs=u,i.sm=f,i.md=d,i.lg=m,i.xl=y,i.xxl=g,i.smAndUp=!u,i.mdAndUp=!(u||f),i.lgAndUp=!(u||f||d),i.xlAndUp=!(u||f||d||m),i.smAndDown=!(d||m||y||g),i.mdAndDown=!(m||y||g),i.lgAndDown=!(y||g),i.xlAndDown=!g,i.name=P,i.height=a.value,i.width=s.value,i.mobile=_,i.mobileBreakpoint=r,i.platform=o.value,i.thresholds=n}),IN_BROWSER&&window.addEventListener("resize",l,{passive:!0}),{...toRefs(i),update:c,ssr:!!t}}const makeDisplayProps=propsFactory({mobileBreakpoint:[Number,String]},"display");function useDisplay(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const n=inject$1(DisplaySymbol);if(!n)throw new Error("Could not find Vuetify display injection");const r=computed(()=>{if(!e.mobileBreakpoint)return n.mobile.value;const o=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:n.thresholds.value[e.mobileBreakpoint];return n.width.value<o}),a=computed(()=>t?{[`${t}--mobile`]:r.value}:{});return{...n,displayClasses:a,mobile:r}}const aliases={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",eyeDropper:"mdi-eyedropper"},mdi={component:e=>h(VClassIcon,{...e,class:"mdi"})},IconValue=[String,Function,Object,Array],IconSymbol=Symbol.for("vuetify:icons"),makeIconProps=propsFactory({icon:{type:IconValue},tag:{type:String,required:!0}},"icon"),VComponentIcon=genericComponent()({name:"VComponentIcon",props:makeIconProps(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return createVNode(e.tag,null,{default:()=>{var a;return[e.icon?createVNode(r,null,null):(a=n.default)==null?void 0:a.call(n)]}})}}}),VSvgIcon=defineComponent({name:"VSvgIcon",inheritAttrs:!1,props:makeIconProps(),setup(e,t){let{attrs:n}=t;return()=>createVNode(e.tag,mergeProps(n,{style:null}),{default:()=>[createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?createVNode("path",{d:r[0],"fill-opacity":r[1]},null):createVNode("path",{d:r},null)):createVNode("path",{d:e.icon},null)])]})}}),VLigatureIcon=defineComponent({name:"VLigatureIcon",props:makeIconProps(),setup(e){return()=>createVNode(e.tag,null,{default:()=>[e.icon]})}}),VClassIcon=defineComponent({name:"VClassIcon",props:makeIconProps(),setup(e){return()=>createVNode(e.tag,{class:e.icon},null)}}),defaultSets={svg:{component:VSvgIcon},class:{component:VClassIcon}};function createIcons(e){return mergeDeep({defaultSet:"mdi",sets:{...defaultSets,mdi},aliases:{...aliases,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},e)}const useIcon=e=>{const t=inject$1(IconSymbol);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:computed(()=>{var l;const r=unref(e);if(!r)return{component:VComponentIcon};let a=r;if(typeof a=="string"&&(a=a.trim(),a.startsWith("$")&&(a=(l=t.aliases)==null?void 0:l[a.slice(1)])),!a)throw new Error(`Could not find aliased icon "${r}"`);if(Array.isArray(a))return{component:VSvgIcon,icon:a};if(typeof a!="string")return{component:VComponentIcon,icon:a};const o=Object.keys(t.sets).find(c=>typeof a=="string"&&a.startsWith(`${c}:`)),i=o?a.slice(o.length+1):a;return{component:t.sets[o??t.defaultSet].component,icon:i}})}},en={badge:"Badge",open:"Open",close:"Close",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},defaultRtl={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function useToggleScope(e,t){let n;function r(){n=effectScope(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}watch(e,a=>{a&&!n?r():a||(n==null||n.stop(),n=void 0)},{immediate:!0}),onScopeDispose(()=>{n==null||n.stop()})}function useProxiedModel(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const o=getCurrentInstance("useProxiedModel"),i=ref(e[t]!==void 0?e[t]:n),s=toKebabCase(t),c=computed(s!==t?()=>{var f,d,m,y;return e[t],!!(((f=o.vnode.props)!=null&&f.hasOwnProperty(t)||(d=o.vnode.props)!=null&&d.hasOwnProperty(s))&&((m=o.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${t}`)||(y=o.vnode.props)!=null&&y.hasOwnProperty(`onUpdate:${s}`)))}:()=>{var f,d;return e[t],!!((f=o.vnode.props)!=null&&f.hasOwnProperty(t)&&((d=o.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${t}`)))});useToggleScope(()=>!c.value,()=>{watch(()=>e[t],f=>{i.value=f})});const u=computed({get(){const f=e[t];return r(c.value?f:i.value)},set(f){const d=a(f),m=toRaw(c.value?e[t]:i.value);m===d||r(m)===f||(i.value=d,o==null||o.emit(`update:${t}`,d))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?e[t]:i.value}),u}const LANG_PREFIX="$vuetify.",replace=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[+r])),createTranslateFunction=(e,t,n)=>function(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];if(!r.startsWith(LANG_PREFIX))return replace(r,o);const s=r.replace(LANG_PREFIX,""),l=e.value&&n.value[e.value],c=t.value&&n.value[t.value];let u=getObjectValueByPath(l,s,null);return u||(`${r}${e.value}`,u=getObjectValueByPath(c,s,null)),u||(u=r),typeof u!="string"&&(u=r),replace(u,o)};function createNumberFunction(e,t){return(n,r)=>new Intl.NumberFormat([e.value,t.value],r).format(n)}function useProvided(e,t,n){const r=useProxiedModel(e,t,e[t]??n.value);return r.value=e[t]??n.value,watch(n,a=>{e[t]==null&&(r.value=n.value)}),r}function createProvideFunction(e){return t=>{const n=useProvided(t,"locale",e.current),r=useProvided(t,"fallback",e.fallback),a=useProvided(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:a,t:createTranslateFunction(n,r,a),n:createNumberFunction(n,r),provide:createProvideFunction({current:n,fallback:r,messages:a})}}}function createVuetifyAdapter(e){const t=shallowRef((e==null?void 0:e.locale)??"en"),n=shallowRef((e==null?void 0:e.fallback)??"en"),r=ref({en,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,t:createTranslateFunction(t,n,r),n:createNumberFunction(t,n),provide:createProvideFunction({current:t,fallback:n,messages:r})}}const LocaleSymbol=Symbol.for("vuetify:locale");function isLocaleInstance(e){return e.name!=null}function createLocale(e){const t=e!=null&&e.adapter&&isLocaleInstance(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:createVuetifyAdapter(e),n=createRtl(t,e);return{...t,...n}}function useLocale(){const e=inject$1(LocaleSymbol);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function provideLocale(e){const t=inject$1(LocaleSymbol);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");const n=t.provide(e),r=provideRtl(n,t.rtl,e),a={...n,...r};return provide(LocaleSymbol,a),a}function createRtl(e,t){const n=ref((t==null?void 0:t.rtl)??defaultRtl),r=computed(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:computed(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function provideRtl(e,t,n){const r=computed(()=>n.rtl??t.value[e.current.value]??!1);return{isRtl:r,rtl:t,rtlClasses:computed(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function useRtl(){const e=inject$1(LocaleSymbol);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const ThemeSymbol=Symbol.for("vuetify:theme"),makeThemeProps=propsFactory({theme:String},"theme"),defaultThemeOptions={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function parseThemeOptions(){var n,r;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:defaultThemeOptions;if(!e)return{...defaultThemeOptions,isDisabled:!0};const t={};for(const[a,o]of Object.entries(e.themes??{})){const i=o.dark||a==="dark"?(n=defaultThemeOptions.themes)==null?void 0:n.dark:(r=defaultThemeOptions.themes)==null?void 0:r.light;t[a]=mergeDeep(i,o)}return mergeDeep(defaultThemeOptions,{...e,themes:t})}function createTheme(e){const t=parseThemeOptions(e),n=ref(t.defaultTheme),r=ref(t.themes),a=computed(()=>{const u={};for(const[f,d]of Object.entries(r.value)){const m=u[f]={...d,colors:{...d.colors}};if(t.variations)for(const y of t.variations.colors){const g=m.colors[y];if(g)for(const P of["lighten","darken"]){const v=P==="lighten"?lighten:darken;for(const _ of createRange(t.variations[P],1))m.colors[`${y}-${P}-${_}`]=RGBtoHex(v(parseColor(g),_))}}for(const y of Object.keys(m.colors)){if(/^on-[a-z]/.test(y)||m.colors[`on-${y}`])continue;const g=`on-${y}`,P=parseColor(m.colors[y]);m.colors[g]=getForeground(P)}}return u}),o=computed(()=>a.value[n.value]),i=computed(()=>{const u=[];o.value.dark&&createCssClass(u,":root",["color-scheme: dark"]),createCssClass(u,":root",genCssVariables(o.value));for(const[y,g]of Object.entries(a.value))createCssClass(u,`.v-theme--${y}`,[`color-scheme: ${g.dark?"dark":"normal"}`,...genCssVariables(g)]);const f=[],d=[],m=new Set(Object.values(a.value).flatMap(y=>Object.keys(y.colors)));for(const y of m)/^on-[a-z]/.test(y)?createCssClass(d,`.${y}`,[`color: rgb(var(--v-theme-${y})) !important`]):(createCssClass(f,`.bg-${y}`,[`--v-theme-overlay-multiplier: var(--v-theme-${y}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${y})) !important`,`color: rgb(var(--v-theme-on-${y})) !important`]),createCssClass(d,`.text-${y}`,[`color: rgb(var(--v-theme-${y})) !important`]),createCssClass(d,`.border-${y}`,[`--v-border-color: var(--v-theme-${y})`]));return u.push(...f,...d),u.map((y,g)=>g===0?y:`    ${y}`).join("")});function s(){return{style:[{children:i.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function l(u){if(t.isDisabled)return;const f=u._context.provides.usehead;if(f)if(f.push){const d=f.push(s);IN_BROWSER&&watch(i,()=>{d.patch(s)})}else IN_BROWSER?(f.addHeadObjs(computed(s)),watchEffect(()=>f.updateDOM())):f.addHeadObjs(s());else{let m=function(){if(typeof document<"u"&&!d){const y=document.createElement("style");y.type="text/css",y.id="vuetify-theme-stylesheet",t.cspNonce&&y.setAttribute("nonce",t.cspNonce),d=y,document.head.appendChild(d)}d&&(d.innerHTML=i.value)},d=IN_BROWSER?document.getElementById("vuetify-theme-stylesheet"):null;IN_BROWSER?watch(i,m,{immediate:!0}):m()}}const c=computed(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:l,isDisabled:t.isDisabled,name:n,themes:r,current:o,computedThemes:a,themeClasses:c,styles:i,global:{name:n,current:o}}}function provideTheme(e){getCurrentInstance("provideTheme");const t=inject$1(ThemeSymbol,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=computed(()=>e.theme??t.name.value),r=computed(()=>t.themes.value[n.value]),a=computed(()=>t.isDisabled?void 0:`v-theme--${n.value}`),o={...t,name:n,current:r,themeClasses:a};return provide(ThemeSymbol,o),o}function useTheme(){getCurrentInstance("useTheme");const e=inject$1(ThemeSymbol,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function createCssClass(e,t,n){e.push(`${t} {
`,...n.map(r=>`  ${r};
`),`}
`)}function genCssVariables(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[a,o]of Object.entries(e.colors)){const i=parseColor(o);r.push(`--v-theme-${a}: ${i.r},${i.g},${i.b}`),a.startsWith("on-")||r.push(`--v-theme-${a}-overlay-multiplier: ${getLuma(o)>.18?t:n}`)}for(const[a,o]of Object.entries(e.variables)){const i=typeof o=="string"&&o.startsWith("#")?parseColor(o):void 0,s=i?`${i.r}, ${i.g}, ${i.b}`:void 0;r.push(`--v-${a}: ${s??o}`)}return r}function useResizeObserver(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=ref(),r=ref();if(IN_BROWSER){const a=new ResizeObserver(o=>{e==null||e(o,a),o.length&&(t==="content"?r.value=o[0].contentRect:r.value=o[0].target.getBoundingClientRect())});onBeforeUnmount(()=>{a.disconnect()}),watch(n,(o,i)=>{i&&(a.unobserve(refElement(i)),r.value=void 0),o&&a.observe(refElement(o))},{flush:"post"})}return{resizeRef:n,contentRect:readonly(r)}}const VuetifyLayoutKey=Symbol.for("vuetify:layout"),VuetifyLayoutItemKey=Symbol.for("vuetify:layout-item"),ROOT_ZINDEX=1e3,makeLayoutProps=propsFactory({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),makeLayoutItemProps=propsFactory({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function useLayout(){const e=inject$1(VuetifyLayoutKey);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function useLayoutItem(e){const t=inject$1(VuetifyLayoutKey);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${getUid()}`,r=getCurrentInstance("useLayoutItem");provide(VuetifyLayoutItemKey,{id:n});const a=shallowRef(!1);onDeactivated(()=>a.value=!0),onActivated(()=>a.value=!1);const{layoutItemStyles:o,layoutItemScrimStyles:i}=t.register(r,{...e,active:computed(()=>a.value?!1:e.active.value),id:n});return onBeforeUnmount(()=>t.unregister(n)),{layoutItemStyles:o,layoutRect:t.layoutRect,layoutItemScrimStyles:i}}const generateLayers=(e,t,n,r)=>{let a={top:0,left:0,right:0,bottom:0};const o=[{id:"",layer:{...a}}];for(const i of e){const s=t.get(i),l=n.get(i),c=r.get(i);if(!s||!l||!c)continue;const u={...a,[s.value]:parseInt(a[s.value],10)+(c.value?parseInt(l.value,10):0)};o.push({id:i,layer:u}),a=u}return o};function createLayout(e){const t=inject$1(VuetifyLayoutKey,null),n=computed(()=>t?t.rootZIndex.value-100:ROOT_ZINDEX),r=ref([]),a=reactive(new Map),o=reactive(new Map),i=reactive(new Map),s=reactive(new Map),l=reactive(new Map),{resizeRef:c,contentRect:u}=useResizeObserver(),f=computed(()=>{const k=new Map,T=e.overlaps??[];for(const w of T.filter(E=>E.includes(":"))){const[E,F]=w.split(":");if(!r.value.includes(E)||!r.value.includes(F))continue;const L=a.get(E),N=a.get(F),O=o.get(E),U=o.get(F);!L||!N||!O||!U||(k.set(F,{position:L.value,amount:parseInt(O.value,10)}),k.set(E,{position:N.value,amount:-parseInt(U.value,10)}))}return k}),d=computed(()=>{const k=[...new Set([...i.values()].map(w=>w.value))].sort((w,E)=>w-E),T=[];for(const w of k){const E=r.value.filter(F=>{var L;return((L=i.get(F))==null?void 0:L.value)===w});T.push(...E)}return generateLayers(T,a,o,s)}),m=computed(()=>!Array.from(l.values()).some(k=>k.value)),y=computed(()=>d.value[d.value.length-1].layer),g=computed(()=>({"--v-layout-left":convertToUnit(y.value.left),"--v-layout-right":convertToUnit(y.value.right),"--v-layout-top":convertToUnit(y.value.top),"--v-layout-bottom":convertToUnit(y.value.bottom),...m.value?void 0:{transition:"none"}})),P=computed(()=>d.value.slice(1).map((k,T)=>{let{id:w}=k;const{layer:E}=d.value[T],F=o.get(w),L=a.get(w);return{id:w,...E,size:Number(F.value),position:L.value}})),v=k=>P.value.find(T=>T.id===k),_=getCurrentInstance("createLayout"),b=shallowRef(!1);onMounted(()=>{b.value=!0}),provide(VuetifyLayoutKey,{register:(k,T)=>{let{id:w,order:E,position:F,layoutSize:L,elementSize:N,active:O,disableTransitions:U,absolute:j}=T;i.set(w,E),a.set(w,F),o.set(w,L),s.set(w,O),U&&l.set(w,U);const M=findChildrenWithProvide(VuetifyLayoutItemKey,_==null?void 0:_.vnode).indexOf(k);M>-1?r.value.splice(M,0,w):r.value.push(w);const V=computed(()=>P.value.findIndex(G=>G.id===w)),R=computed(()=>n.value+d.value.length*2-V.value*2),D=computed(()=>{const G=F.value==="left"||F.value==="right",ne=F.value==="right",oe=F.value==="bottom",ce={[F.value]:0,zIndex:R.value,transform:`translate${G?"X":"Y"}(${(O.value?0:-110)*(ne||oe?-1:1)}%)`,position:j.value||n.value!==ROOT_ZINDEX?"absolute":"fixed",...m.value?void 0:{transition:"none"}};if(!b.value)return ce;const ee=P.value[V.value];if(!ee)throw new Error(`[Vuetify] Could not find layout item "${w}"`);const Y=f.value.get(w);return Y&&(ee[Y.position]+=Y.amount),{...ce,height:G?`calc(100% - ${ee.top}px - ${ee.bottom}px)`:N.value?`${N.value}px`:void 0,left:ne?void 0:`${ee.left}px`,right:ne?`${ee.right}px`:void 0,top:F.value!=="bottom"?`${ee.top}px`:void 0,bottom:F.value!=="top"?`${ee.bottom}px`:void 0,width:G?N.value?`${N.value}px`:void 0:`calc(100% - ${ee.left}px - ${ee.right}px)`}}),$=computed(()=>({zIndex:R.value-1}));return{layoutItemStyles:D,layoutItemScrimStyles:$,zIndex:R}},unregister:k=>{i.delete(k),a.delete(k),o.delete(k),s.delete(k),l.delete(k),r.value=r.value.filter(T=>T!==k)},mainRect:y,mainStyles:g,getLayoutItem:v,items:P,layoutRect:u,rootZIndex:n});const S=computed(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),C=computed(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:S,layoutStyles:C,getLayoutItem:v,items:P,layoutRect:u,layoutRef:c}}function createVuetify(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=mergeDeep(t,n),{aliases:a={},components:o={},directives:i={}}=r,s=createDefaults(r.defaults),l=createDisplay(r.display,r.ssr),c=createTheme(r.theme),u=createIcons(r.icons),f=createLocale(r.locale),d=createDate(r.date,f);return{install:y=>{for(const g in i)y.directive(g,i[g]);for(const g in o)y.component(g,o[g]);for(const g in a)y.component(g,defineComponent({...a[g],name:g,aliasName:a[g].name}));if(c.install(y),y.provide(DefaultsSymbol,s),y.provide(DisplaySymbol,l),y.provide(ThemeSymbol,c),y.provide(IconSymbol,u),y.provide(LocaleSymbol,f),y.provide(DateAdapterSymbol,d),IN_BROWSER&&r.ssr)if(y.$nuxt)y.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:g}=y;y.mount=function(){const P=g(...arguments);return nextTick(()=>l.update()),y.mount=g,P}}getUid.reset(),y.mixin({computed:{$vuetify(){return reactive({defaults:inject.call(this,DefaultsSymbol),display:inject.call(this,DisplaySymbol),theme:inject.call(this,ThemeSymbol),icons:inject.call(this,IconSymbol),locale:inject.call(this,LocaleSymbol),date:inject.call(this,DateAdapterSymbol)})}}})},defaults:s,display:l,theme:c,icons:u,locale:f,date:d}}const version="3.4.0";createVuetify.version=version;function inject(e){var r,a;const t=this.$,n=((r=t.parent)==null?void 0:r.provides)??((a=t.vnode.appContext)==null?void 0:a.provides);if(n&&e in n)return n[e]}const makeVAppProps=propsFactory({...makeComponentProps(),...makeLayoutProps({fullHeight:!0}),...makeThemeProps()},"VApp"),VApp=genericComponent()({name:"VApp",props:makeVAppProps(),setup(e,t){let{slots:n}=t;const r=provideTheme(e),{layoutClasses:a,getLayoutItem:o,items:i,layoutRef:s}=createLayout(e),{rtlClasses:l}=useRtl();return useRender(()=>{var c;return createVNode("div",{ref:s,class:["v-application",r.themeClasses.value,a.value,l.value,e.class],style:[e.style]},[createVNode("div",{class:"v-application__wrap"},[(c=n.default)==null?void 0:c.call(n)])])}),{getLayoutItem:o,items:i,theme:r}}}),makeTagProps=propsFactory({tag:{type:String,default:"div"}},"tag"),makeVToolbarTitleProps=propsFactory({text:String,...makeComponentProps(),...makeTagProps()},"VToolbarTitle"),VToolbarTitle=genericComponent()({name:"VToolbarTitle",props:makeVToolbarTitleProps(),setup(e,t){let{slots:n}=t;return useRender(()=>{const r=!!(n.default||n.text||e.text);return createVNode(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var a;return[r&&createVNode("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,(a=n.default)==null?void 0:a.call(n)])]}})}),{}}}),makeTransitionProps$1=propsFactory({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function createCssTransition(e,t,n){return genericComponent()({name:e,props:makeTransitionProps$1({mode:n,origin:t}),setup(r,a){let{slots:o}=a;const i={onBeforeEnter(s){r.origin&&(s.style.transformOrigin=r.origin)},onLeave(s){if(r.leaveAbsolute){const{offsetTop:l,offsetLeft:c,offsetWidth:u,offsetHeight:f}=s;s._transitionInitialStyles={position:s.style.position,top:s.style.top,left:s.style.left,width:s.style.width,height:s.style.height},s.style.position="absolute",s.style.top=`${l}px`,s.style.left=`${c}px`,s.style.width=`${u}px`,s.style.height=`${f}px`}r.hideOnLeave&&s.style.setProperty("display","none","important")},onAfterLeave(s){if(r.leaveAbsolute&&(s!=null&&s._transitionInitialStyles)){const{position:l,top:c,left:u,width:f,height:d}=s._transitionInitialStyles;delete s._transitionInitialStyles,s.style.position=l||"",s.style.top=c||"",s.style.left=u||"",s.style.width=f||"",s.style.height=d||""}}};return()=>{const s=r.group?TransitionGroup:Transition;return h(s,{name:r.disabled?"":e,css:!r.disabled,...r.group?void 0:{mode:r.mode},...r.disabled?{}:i},o.default)}}})}function createJavascriptTransition(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return genericComponent()({name:e,props:{mode:{type:String,default:n},disabled:Boolean},setup(r,a){let{slots:o}=a;return()=>h(Transition,{name:r.disabled?"":e,css:!r.disabled,...r.disabled?{}:t},o.default)}})}function ExpandTransitionGenerator(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",r=camelize(`offset-${n}`);return{onBeforeEnter(i){i._parent=i.parentNode,i._initialStyle={transition:i.style.transition,overflow:i.style.overflow,[n]:i.style[n]}},onEnter(i){const s=i._initialStyle;i.style.setProperty("transition","none","important"),i.style.overflow="hidden";const l=`${i[r]}px`;i.style[n]="0",i.offsetHeight,i.style.transition=s.transition,e&&i._parent&&i._parent.classList.add(e),requestAnimationFrame(()=>{i.style[n]=l})},onAfterEnter:o,onEnterCancelled:o,onLeave(i){i._initialStyle={transition:"",overflow:i.style.overflow,[n]:i.style[n]},i.style.overflow="hidden",i.style[n]=`${i[r]}px`,i.offsetHeight,requestAnimationFrame(()=>i.style[n]="0")},onAfterLeave:a,onLeaveCancelled:a};function a(i){e&&i._parent&&i._parent.classList.remove(e),o(i)}function o(i){const s=i._initialStyle[n];i.style.overflow=i._initialStyle.overflow,s!=null&&(i.style[n]=s),delete i._initialStyle}}const makeVDialogTransitionProps=propsFactory({target:[Object,Array]},"v-dialog-transition"),VDialogTransition=genericComponent()({name:"VDialogTransition",props:makeVDialogTransitionProps(),setup(e,t){let{slots:n}=t;const r={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,o){var d;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),a.style.visibility="";const{x:i,y:s,sx:l,sy:c,speed:u}=getDimensions(e.target,a),f=animate(a,[{transform:`translate(${i}px, ${s}px) scale(${l}, ${c})`,opacity:0},{}],{duration:225*u,easing:deceleratedEasing});(d=getChildren(a))==null||d.forEach(m=>{animate(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*u,easing:standardEasing})}),f.finished.then(()=>o())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,o){var d;await new Promise(m=>requestAnimationFrame(m));const{x:i,y:s,sx:l,sy:c,speed:u}=getDimensions(e.target,a);animate(a,[{},{transform:`translate(${i}px, ${s}px) scale(${l}, ${c})`,opacity:0}],{duration:125*u,easing:acceleratedEasing}).finished.then(()=>o()),(d=getChildren(a))==null||d.forEach(m=>{animate(m,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*u,easing:standardEasing})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>e.target?createVNode(Transition,mergeProps({name:"dialog-transition"},r,{css:!1}),n):createVNode(Transition,{name:"dialog-transition"},n)}});function getChildren(e){var n;const t=(n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return t&&[...t]}function getDimensions(e,t){const n=getTargetBox(e),r=nullifyTransforms(t),[a,o]=getComputedStyle(t).transformOrigin.split(" ").map(v=>parseFloat(v)),[i,s]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=n.left+n.width/2;i==="left"||s==="left"?l-=n.width/2:(i==="right"||s==="right")&&(l+=n.width/2);let c=n.top+n.height/2;i==="top"||s==="top"?c-=n.height/2:(i==="bottom"||s==="bottom")&&(c+=n.height/2);const u=n.width/r.width,f=n.height/r.height,d=Math.max(1,u,f),m=u/d||0,y=f/d||0,g=r.width*r.height/(window.innerWidth*window.innerHeight),P=g>.12?Math.min(1.5,(g-.12)*10+1):1;return{x:l-(a+r.left),y:c-(o+r.top),sx:m,sy:y,speed:P}}const VFabTransition=createCssTransition("fab-transition","center center","out-in"),VDialogBottomTransition=createCssTransition("dialog-bottom-transition"),VDialogTopTransition=createCssTransition("dialog-top-transition"),VFadeTransition=createCssTransition("fade-transition"),VScaleTransition=createCssTransition("scale-transition"),VScrollXTransition=createCssTransition("scroll-x-transition"),VScrollXReverseTransition=createCssTransition("scroll-x-reverse-transition"),VScrollYTransition=createCssTransition("scroll-y-transition"),VScrollYReverseTransition=createCssTransition("scroll-y-reverse-transition"),VSlideXTransition=createCssTransition("slide-x-transition"),VSlideXReverseTransition=createCssTransition("slide-x-reverse-transition"),VSlideYTransition=createCssTransition("slide-y-transition"),VSlideYReverseTransition=createCssTransition("slide-y-reverse-transition"),VExpandTransition=createJavascriptTransition("expand-transition",ExpandTransitionGenerator()),VExpandXTransition=createJavascriptTransition("expand-x-transition",ExpandTransitionGenerator("",!0)),makeVDefaultsProviderProps=propsFactory({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),VDefaultsProvider=genericComponent(!1)({name:"VDefaultsProvider",props:makeVDefaultsProviderProps(),setup(e,t){let{slots:n}=t;const{defaults:r,disabled:a,reset:o,root:i,scoped:s}=toRefs(e);return provideDefaults(r,{reset:o,root:i,scoped:s,disabled:a}),()=>{var l;return(l=n.default)==null?void 0:l.call(n)}}}),makeDimensionProps=propsFactory({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function useDimension(e){return{dimensionStyles:computed(()=>({height:convertToUnit(e.height),maxHeight:convertToUnit(e.maxHeight),maxWidth:convertToUnit(e.maxWidth),minHeight:convertToUnit(e.minHeight),minWidth:convertToUnit(e.minWidth),width:convertToUnit(e.width)}))}}function useAspectStyles(e){return{aspectStyles:computed(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const makeVResponsiveProps=propsFactory({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...makeComponentProps(),...makeDimensionProps()},"VResponsive"),VResponsive=genericComponent()({name:"VResponsive",props:makeVResponsiveProps(),setup(e,t){let{slots:n}=t;const{aspectStyles:r}=useAspectStyles(e),{dimensionStyles:a}=useDimension(e);return useRender(()=>{var o;return createVNode("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[a.value,e.style]},[createVNode("div",{class:"v-responsive__sizer",style:r.value},null),(o=n.additional)==null?void 0:o.call(n),n.default&&createVNode("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}}),makeTransitionProps=propsFactory({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),MaybeTransition=(e,t)=>{let{slots:n}=t;const{transition:r,disabled:a,...o}=e,{component:i=Transition,...s}=typeof r=="object"?r:{};return h(i,mergeProps(typeof r=="string"?{name:a?"":r}:s,o,{disabled:a}),n)};function mounted$5(e,t){if(!SUPPORTS_INTERSECTION)return;const n=t.modifiers||{},r=t.value,{handler:a,options:o}=typeof r=="object"?r:{handler:r,options:{}},i=new IntersectionObserver(function(){var f;let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const c=(f=e._observe)==null?void 0:f[t.instance.$.uid];if(!c)return;const u=s.some(d=>d.isIntersecting);a&&(!n.quiet||c.init)&&(!n.once||u||c.init)&&a(u,s,l),u&&n.once?unmounted$5(e,t):c.init=!0},o);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:i},i.observe(e)}function unmounted$5(e,t){var r;const n=(r=e._observe)==null?void 0:r[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Intersect={mounted:mounted$5,unmounted:unmounted$5},makeVImgProps=propsFactory({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...makeVResponsiveProps(),...makeComponentProps(),...makeTransitionProps()},"VImg"),VImg=genericComponent()({name:"VImg",directives:{intersect:Intersect},props:makeVImgProps(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:r}=t;const a=shallowRef(""),o=ref(),i=shallowRef(e.eager?"loading":"idle"),s=shallowRef(),l=shallowRef(),c=computed(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),u=computed(()=>c.value.aspect||s.value/l.value||0);watch(()=>e.src,()=>{f(i.value!=="idle")}),watch(u,(w,E)=>{!w&&E&&o.value&&P(o.value)}),onBeforeMount(()=>f());function f(w){if(!(e.eager&&w)&&!(SUPPORTS_INTERSECTION&&!w&&!e.eager)){if(i.value="loading",c.value.lazySrc){const E=new Image;E.src=c.value.lazySrc,P(E,null)}c.value.src&&nextTick(()=>{var E;n("loadstart",((E=o.value)==null?void 0:E.currentSrc)||c.value.src),setTimeout(()=>{var F;if((F=o.value)!=null&&F.complete){if(o.value.naturalWidth||m(),i.value==="error")return;u.value||P(o.value,null),i.value==="loading"&&d()}else u.value||P(o.value),y()})})}}function d(){var w;y(),P(o.value),i.value="loaded",n("load",((w=o.value)==null?void 0:w.currentSrc)||c.value.src)}function m(){var w;i.value="error",n("error",((w=o.value)==null?void 0:w.currentSrc)||c.value.src)}function y(){const w=o.value;w&&(a.value=w.currentSrc||w.src)}let g=-1;function P(w){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const F=()=>{clearTimeout(g);const{naturalHeight:L,naturalWidth:N}=w;L||N?(s.value=N,l.value=L):!w.complete&&i.value==="loading"&&E!=null?g=window.setTimeout(F,E):(w.currentSrc.endsWith(".svg")||w.currentSrc.startsWith("data:image/svg+xml"))&&(s.value=1,l.value=1)};F()}const v=computed(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),_=()=>{var F;if(!c.value.src||i.value==="idle")return null;const w=createVNode("img",{class:["v-img__img",v.value],style:{objectPosition:e.position},src:c.value.src,srcset:c.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:o,onLoad:d,onError:m},null),E=(F=r.sources)==null?void 0:F.call(r);return createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[withDirectives(E?createVNode("picture",{class:"v-img__picture"},[E,w]):w,[[vShow,i.value==="loaded"]])]})},b=()=>createVNode(MaybeTransition,{transition:e.transition},{default:()=>[c.value.lazySrc&&i.value!=="loaded"&&createVNode("img",{class:["v-img__img","v-img__img--preload",v.value],style:{objectPosition:e.position},src:c.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),S=()=>r.placeholder?createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[(i.value==="loading"||i.value==="error"&&!r.error)&&createVNode("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,C=()=>r.error?createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[i.value==="error"&&createVNode("div",{class:"v-img__error"},[r.error()])]}):null,k=()=>e.gradient?createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,T=shallowRef(!1);{const w=watch(u,E=>{E&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{T.value=!0})}),w())})}return useRender(()=>{const w=VResponsive.filterProps(e);return withDirectives(createVNode(VResponsive,mergeProps({class:["v-img",{"v-img--booting":!T.value},e.class],style:[{width:convertToUnit(e.width==="auto"?s.value:e.width)},e.style]},w,{aspectRatio:u.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>createVNode(Fragment,null,[createVNode(_,null,null),createVNode(b,null,null),createVNode(k,null,null),createVNode(S,null,null),createVNode(C,null,null)]),default:r.default}),[[resolveDirective("intersect"),{handler:f,options:e.options},null,{once:!0}]])}),{currentSrc:a,image:o,state:i,naturalWidth:s,naturalHeight:l}}}),makeBorderProps=propsFactory({border:[Boolean,Number,String]},"border");function useBorder(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{borderClasses:computed(()=>{const r=isRef(e)?e.value:e.border,a=[];if(r===!0||r==="")a.push(`${t}--border`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))a.push(`border-${o}`);return a})}}function useColor(e){return destructComputed(()=>{const t=[],n={};if(e.value.background)if(isCssColor(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text&&isParsableColor(e.value.background)){const r=parseColor(e.value.background);if(r.a==null||r.a===1){const a=getForeground(r);n.color=a,n.caretColor=a}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(isCssColor(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function useTextColor(e,t){const n=computed(()=>({text:isRef(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:a}=useColor(n);return{textColorClasses:r,textColorStyles:a}}function useBackgroundColor(e,t){const n=computed(()=>({background:isRef(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:a}=useColor(n);return{backgroundColorClasses:r,backgroundColorStyles:a}}const makeElevationProps=propsFactory({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function useElevation(e){return{elevationClasses:computed(()=>{const n=isRef(e)?e.value:e.elevation,r=[];return n==null||r.push(`elevation-${n}`),r})}}const makeRoundedProps=propsFactory({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function useRounded(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{roundedClasses:computed(()=>{const r=isRef(e)?e.value:e.rounded,a=[];if(r===!0||r==="")a.push(`${t}--rounded`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))a.push(`rounded-${o}`);return a})}}const allowedDensities$1=[null,"prominent","default","comfortable","compact"],makeVToolbarProps=propsFactory({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>allowedDensities$1.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...makeBorderProps(),...makeComponentProps(),...makeElevationProps(),...makeRoundedProps(),...makeTagProps({tag:"header"}),...makeThemeProps()},"VToolbar"),VToolbar=genericComponent()({name:"VToolbar",props:makeVToolbarProps(),setup(e,t){var m;let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:a}=useBackgroundColor(toRef(e,"color")),{borderClasses:o}=useBorder(e),{elevationClasses:i}=useElevation(e),{roundedClasses:s}=useRounded(e),{themeClasses:l}=provideTheme(e),{rtlClasses:c}=useRtl(),u=shallowRef(!!(e.extended||(m=n.extension)!=null&&m.call(n))),f=computed(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),d=computed(()=>u.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return provideDefaults({VBtn:{variant:"text"}}),useRender(()=>{var v;const y=!!(e.title||n.title),g=!!(n.image||e.image),P=(v=n.extension)==null?void 0:v.call(n);return u.value=!!(e.extended||P),createVNode(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},r.value,o.value,i.value,s.value,l.value,c.value,e.class],style:[a.value,e.style]},{default:()=>[g&&createVNode("div",{key:"image",class:"v-toolbar__image"},[n.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):createVNode(VImg,{key:"image-img",cover:!0,src:e.image},null)]),createVNode(VDefaultsProvider,{defaults:{VTabs:{height:convertToUnit(f.value)}}},{default:()=>{var _,b,S;return[createVNode("div",{class:"v-toolbar__content",style:{height:convertToUnit(f.value)}},[n.prepend&&createVNode("div",{class:"v-toolbar__prepend"},[(_=n.prepend)==null?void 0:_.call(n)]),y&&createVNode(VToolbarTitle,{key:"title",text:e.title},{text:n.title}),(b=n.default)==null?void 0:b.call(n),n.append&&createVNode("div",{class:"v-toolbar__append"},[(S=n.append)==null?void 0:S.call(n)])])]}}),createVNode(VDefaultsProvider,{defaults:{VTabs:{height:convertToUnit(d.value)}}},{default:()=>[createVNode(VExpandTransition,null,{default:()=>[u.value&&createVNode("div",{class:"v-toolbar__extension",style:{height:convertToUnit(d.value)}},[P])]})]})]})}),{contentHeight:f,extensionHeight:d}}}),makeScrollProps=propsFactory({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function useScroll(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:n}=t;let r=0;const a=ref(null),o=shallowRef(0),i=shallowRef(0),s=shallowRef(0),l=shallowRef(!1),c=shallowRef(!1),u=computed(()=>Number(e.scrollThreshold)),f=computed(()=>clamp((u.value-o.value)/u.value||0)),d=()=>{const m=a.value;!m||n&&!n.value||(r=o.value,o.value="window"in m?m.pageYOffset:m.scrollTop,c.value=o.value<r,s.value=Math.abs(o.value-u.value))};return watch(c,()=>{i.value=i.value||o.value}),watch(l,()=>{i.value=0}),onMounted(()=>{watch(()=>e.scrollTarget,m=>{var g;const y=m?document.querySelector(m):window;y&&y!==a.value&&((g=a.value)==null||g.removeEventListener("scroll",d),a.value=y,a.value.addEventListener("scroll",d,{passive:!0}))},{immediate:!0})}),onBeforeUnmount(()=>{var m;(m=a.value)==null||m.removeEventListener("scroll",d)}),n&&watch(n,d,{immediate:!0}),{scrollThreshold:u,currentScroll:o,currentThreshold:s,isScrollActive:l,scrollRatio:f,isScrollingUp:c,savedScroll:i}}function useSsrBoot(){const e=shallowRef(!1);return onMounted(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:computed(()=>e.value?void 0:{transition:"none !important"}),isBooted:readonly(e)}}const makeVAppBarProps=propsFactory({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...makeVToolbarProps(),...makeLayoutItemProps(),...makeScrollProps(),height:{type:[Number,String],default:64}},"VAppBar"),VAppBar=genericComponent()({name:"VAppBar",props:makeVAppBarProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=ref(),a=useProxiedModel(e,"modelValue"),o=computed(()=>{var _;const v=new Set(((_=e.scrollBehavior)==null?void 0:_.split(" "))??[]);return{hide:v.has("hide"),inverted:v.has("inverted"),collapse:v.has("collapse"),elevate:v.has("elevate"),fadeImage:v.has("fade-image")}}),i=computed(()=>{const v=o.value;return v.hide||v.inverted||v.collapse||v.elevate||v.fadeImage||!a.value}),{currentScroll:s,scrollThreshold:l,isScrollingUp:c,scrollRatio:u}=useScroll(e,{canScroll:i}),f=computed(()=>e.collapse||o.value.collapse&&(o.value.inverted?u.value>0:u.value===0)),d=computed(()=>e.flat||o.value.elevate&&(o.value.inverted?s.value>0:s.value===0)),m=computed(()=>o.value.fadeImage?o.value.inverted?1-u.value:u.value:void 0),y=computed(()=>{var b,S;if(o.value.hide&&o.value.inverted)return 0;const v=((b=r.value)==null?void 0:b.contentHeight)??0,_=((S=r.value)==null?void 0:S.extensionHeight)??0;return v+_});useToggleScope(computed(()=>!!e.scrollBehavior),()=>{watchEffect(()=>{o.value.hide?o.value.inverted?a.value=s.value>l.value:a.value=c.value||s.value<l.value:a.value=!0})});const{ssrBootStyles:g}=useSsrBoot(),{layoutItemStyles:P}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:toRef(e,"location"),layoutSize:y,elementSize:shallowRef(void 0),active:a,absolute:toRef(e,"absolute")});return useRender(()=>{const v=VToolbar.filterProps(e);return createVNode(VToolbar,mergeProps({ref:r,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...P.value,"--v-toolbar-image-opacity":m.value,height:void 0,...g.value},e.style]},v,{collapse:f.value,flat:d.value}),n)}),{}}}),allowedDensities=[null,"default","comfortable","compact"],makeDensityProps=propsFactory({density:{type:String,default:"default",validator:e=>allowedDensities.includes(e)}},"density");function useDensity(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{densityClasses:computed(()=>`${t}--density-${e.density}`)}}const allowedVariants$2=["elevated","flat","tonal","outlined","text","plain"];function genOverlays(e,t){return createVNode(Fragment,null,[e&&createVNode("span",{key:"overlay",class:`${t}__overlay`},null),createVNode("span",{key:"underlay",class:`${t}__underlay`},null)])}const makeVariantProps=propsFactory({color:String,variant:{type:String,default:"elevated",validator:e=>allowedVariants$2.includes(e)}},"variant");function useVariant(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const n=computed(()=>{const{variant:o}=unref(e);return`${t}--variant-${o}`}),{colorClasses:r,colorStyles:a}=useColor(computed(()=>{const{variant:o,color:i}=unref(e);return{[["elevated","flat"].includes(o)?"background":"text"]:i}}));return{colorClasses:r,colorStyles:a,variantClasses:n}}const makeVBtnGroupProps=propsFactory({divided:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps()},"VBtnGroup"),VBtnGroup=genericComponent()({name:"VBtnGroup",props:makeVBtnGroupProps(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=provideTheme(e),{densityClasses:a}=useDensity(e),{borderClasses:o}=useBorder(e),{elevationClasses:i}=useElevation(e),{roundedClasses:s}=useRounded(e);provideDefaults({VBtn:{height:"auto",color:toRef(e,"color"),density:toRef(e,"density"),flat:!0,variant:toRef(e,"variant")}}),useRender(()=>createVNode(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},r.value,o.value,a.value,i.value,s.value,e.class],style:e.style},n))}}),makeGroupProps=propsFactory({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),makeGroupItemProps=propsFactory({value:null,disabled:Boolean,selectedClass:String},"group-item");function useGroupItem(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const r=getCurrentInstance("useGroupItem");if(!r)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=getUid();provide(Symbol.for(`${t.description}:id`),a);const o=inject$1(t,null);if(!o){if(!n)return o;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const i=toRef(e,"value"),s=computed(()=>!!(o.disabled.value||e.disabled));o.register({id:a,value:i,disabled:s},r),onBeforeUnmount(()=>{o.unregister(a)});const l=computed(()=>o.isSelected(a)),c=computed(()=>l.value&&[o.selectedClass.value,e.selectedClass]);return watch(l,u=>{r.emit("group:selected",{value:u})}),{id:a,isSelected:l,toggle:()=>o.select(a,!l.value),select:u=>o.select(a,u),selectedClass:c,value:i,disabled:s,group:o}}function useGroup(e,t){let n=!1;const r=reactive([]),a=useProxiedModel(e,"modelValue",[],d=>d==null?[]:getIds(r,wrapInArray(d)),d=>{const m=getValues(r,d);return e.multiple?m:m[0]}),o=getCurrentInstance("useGroup");function i(d,m){const y=d,g=Symbol.for(`${t.description}:id`),v=findChildrenWithProvide(g,o==null?void 0:o.vnode).indexOf(m);v>-1?r.splice(v,0,y):r.push(y)}function s(d){if(n)return;l();const m=r.findIndex(y=>y.id===d);r.splice(m,1)}function l(){const d=r.find(m=>!m.disabled);d&&e.mandatory==="force"&&!a.value.length&&(a.value=[d.id])}onMounted(()=>{l()}),onBeforeUnmount(()=>{n=!0});function c(d,m){const y=r.find(g=>g.id===d);if(!(m&&(y!=null&&y.disabled)))if(e.multiple){const g=a.value.slice(),P=g.findIndex(_=>_===d),v=~P;if(m=m??!v,v&&e.mandatory&&g.length<=1||!v&&e.max!=null&&g.length+1>e.max)return;P<0&&m?g.push(d):P>=0&&!m&&g.splice(P,1),a.value=g}else{const g=a.value.includes(d);if(e.mandatory&&g)return;a.value=m??!g?[d]:[]}}function u(d){if(e.multiple,a.value.length){const m=a.value[0],y=r.findIndex(v=>v.id===m);let g=(y+d)%r.length,P=r[g];for(;P.disabled&&g!==y;)g=(g+d)%r.length,P=r[g];if(P.disabled)return;a.value=[r[g].id]}else{const m=r.find(y=>!y.disabled);m&&(a.value=[m.id])}}const f={register:i,unregister:s,selected:a,select:c,disabled:toRef(e,"disabled"),prev:()=>u(r.length-1),next:()=>u(1),isSelected:d=>a.value.includes(d),selectedClass:computed(()=>e.selectedClass),items:computed(()=>r),getItemIndex:d=>getItemIndex(r,d)};return provide(t,f),f}function getItemIndex(e,t){const n=getIds(e,[t]);return n.length?e.findIndex(r=>r.id===n[0]):-1}function getIds(e,t){const n=[];return t.forEach(r=>{const a=e.find(i=>deepEqual(r,i.value)),o=e[r];(a==null?void 0:a.value)!=null?n.push(a.id):o!=null&&n.push(o.id)}),n}function getValues(e,t){const n=[];return t.forEach(r=>{const a=e.findIndex(o=>o.id===r);if(~a){const o=e[a];n.push(o.value!=null?o.value:a)}}),n}const VBtnToggleSymbol=Symbol.for("vuetify:v-btn-toggle"),makeVBtnToggleProps=propsFactory({...makeVBtnGroupProps(),...makeGroupProps()},"VBtnToggle"),VBtnToggle=genericComponent()({name:"VBtnToggle",props:makeVBtnToggleProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:r,next:a,prev:o,select:i,selected:s}=useGroup(e,VBtnToggleSymbol);return useRender(()=>{const l=VBtnGroup.filterProps(e);return createVNode(VBtnGroup,mergeProps({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>{var c;return[(c=n.default)==null?void 0:c.call(n,{isSelected:r,next:a,prev:o,select:i,selected:s})]}})}),{next:a,prev:o,select:i}}}),predefinedSizes=["x-small","small","default","large","x-large"],makeSizeProps=propsFactory({size:{type:[String,Number],default:"default"}},"size");function useSize(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return destructComputed(()=>{let n,r;return includes(predefinedSizes,e.size)?n=`${t}--size-${e.size}`:e.size&&(r={width:convertToUnit(e.size),height:convertToUnit(e.size)}),{sizeClasses:n,sizeStyles:r}})}const makeVIconProps=propsFactory({color:String,start:Boolean,end:Boolean,icon:IconValue,...makeComponentProps(),...makeSizeProps(),...makeTagProps({tag:"i"}),...makeThemeProps()},"VIcon"),VIcon=genericComponent()({name:"VIcon",props:makeVIconProps(),setup(e,t){let{attrs:n,slots:r}=t;const a=ref(),{themeClasses:o}=provideTheme(e),{iconData:i}=useIcon(computed(()=>a.value||e.icon)),{sizeClasses:s}=useSize(e),{textColorClasses:l,textColorStyles:c}=useTextColor(toRef(e,"color"));return useRender(()=>{var f,d;const u=(f=r.default)==null?void 0:f.call(r);return u&&(a.value=(d=flattenFragments(u).filter(m=>m.type===Text&&m.children&&typeof m.children=="string")[0])==null?void 0:d.children),createVNode(i.value.component,{tag:e.tag,icon:i.value.icon,class:["v-icon","notranslate",o.value,s.value,l.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[s.value?void 0:{fontSize:convertToUnit(e.size),height:convertToUnit(e.size),width:convertToUnit(e.size)},c.value,e.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[u]})}),{}}});function useIntersectionObserver(e,t){const n=ref(),r=shallowRef(!1);if(SUPPORTS_INTERSECTION){const a=new IntersectionObserver(o=>{e==null||e(o,a),r.value=!!o.find(i=>i.isIntersecting)},t);onBeforeUnmount(()=>{a.disconnect()}),watch(n,(o,i)=>{i&&(a.unobserve(i),r.value=!1),o&&a.observe(o)},{flush:"post"})}return{intersectionRef:n,isIntersecting:r}}const makeVProgressCircularProps=propsFactory({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...makeComponentProps(),...makeSizeProps(),...makeTagProps({tag:"div"}),...makeThemeProps()},"VProgressCircular"),VProgressCircular=genericComponent()({name:"VProgressCircular",props:makeVProgressCircularProps(),setup(e,t){let{slots:n}=t;const r=20,a=2*Math.PI*r,o=ref(),{themeClasses:i}=provideTheme(e),{sizeClasses:s,sizeStyles:l}=useSize(e),{textColorClasses:c,textColorStyles:u}=useTextColor(toRef(e,"color")),{textColorClasses:f,textColorStyles:d}=useTextColor(toRef(e,"bgColor")),{intersectionRef:m,isIntersecting:y}=useIntersectionObserver(),{resizeRef:g,contentRect:P}=useResizeObserver(),v=computed(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),_=computed(()=>Number(e.width)),b=computed(()=>l.value?Number(e.size):P.value?P.value.width:Math.max(_.value,32)),S=computed(()=>r/(1-_.value/b.value)*2),C=computed(()=>_.value/b.value*S.value),k=computed(()=>convertToUnit((100-v.value)/100*a));return watchEffect(()=>{m.value=o.value,g.value=o.value}),useRender(()=>createVNode(e.tag,{ref:o,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":y.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},i.value,s.value,c.value,e.class],style:[l.value,u.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:v.value},{default:()=>[createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${S.value} ${S.value}`},[createVNode("circle",{class:["v-progress-circular__underlay",f.value],style:d.value,fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":C.value,"stroke-dasharray":a,"stroke-dashoffset":0},null),createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":C.value,"stroke-dasharray":a,"stroke-dashoffset":k.value},null)]),n.default&&createVNode("div",{class:"v-progress-circular__content"},[n.default({value:v.value})])]})),{}}}),oppositeMap={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},makeLocationProps=propsFactory({location:String},"location");function useLocation(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:r}=useRtl();return{locationStyles:computed(()=>{if(!e.location)return{};const{side:o,align:i}=parseAnchor(e.location.split(" ").length>1?e.location:`${e.location} center`,r.value);function s(c){return n?n(c):0}const l={};return o!=="center"&&(t?l[oppositeMap[o]]=`calc(100% - ${s(o)}px)`:l[o]=0),i!=="center"?t?l[oppositeMap[i]]=`calc(100% - ${s(i)}px)`:l[i]=0:(o==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[o]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[o]),l})}}const makeVProgressLinearProps=propsFactory({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...makeComponentProps(),...makeLocationProps({location:"top"}),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VProgressLinear"),VProgressLinear=genericComponent()({name:"VProgressLinear",props:makeVProgressLinearProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"modelValue"),{isRtl:a,rtlClasses:o}=useRtl(),{themeClasses:i}=provideTheme(e),{locationStyles:s}=useLocation(e),{textColorClasses:l,textColorStyles:c}=useTextColor(e,"color"),{backgroundColorClasses:u,backgroundColorStyles:f}=useBackgroundColor(computed(()=>e.bgColor||e.color)),{backgroundColorClasses:d,backgroundColorStyles:m}=useBackgroundColor(e,"color"),{roundedClasses:y}=useRounded(e),{intersectionRef:g,isIntersecting:P}=useIntersectionObserver(),v=computed(()=>parseInt(e.max,10)),_=computed(()=>parseInt(e.height,10)),b=computed(()=>parseFloat(e.bufferValue)/v.value*100),S=computed(()=>parseFloat(r.value)/v.value*100),C=computed(()=>a.value!==e.reverse),k=computed(()=>e.indeterminate?"fade-transition":"slide-x-transition"),T=computed(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function w(E){if(!g.value)return;const{left:F,right:L,width:N}=g.value.getBoundingClientRect(),O=C.value?N-E.clientX+(L-N):E.clientX-F;r.value=Math.round(O/N*v.value)}return useRender(()=>createVNode(e.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&P.value,"v-progress-linear--reverse":C.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},y.value,i.value,o.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?convertToUnit(_.value):0,"--v-progress-linear-height":convertToUnit(_.value),...s.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:S.value,onClick:e.clickable&&w},{default:()=>[e.stream&&createVNode("div",{key:"stream",class:["v-progress-linear__stream",l.value],style:{...c.value,[C.value?"left":"right"]:convertToUnit(-_.value),borderTop:`${convertToUnit(_.value/2)} dotted`,opacity:T.value,top:`calc(50% - ${convertToUnit(_.value/4)})`,width:convertToUnit(100-b.value,"%"),"--v-progress-linear-stream-to":convertToUnit(_.value*(C.value?1:-1))}},null),createVNode("div",{class:["v-progress-linear__background",u.value],style:[f.value,{opacity:T.value,width:convertToUnit(e.stream?b.value:100,"%")}]},null),createVNode(Transition,{name:k.value},{default:()=>[e.indeterminate?createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(E=>createVNode("div",{key:E,class:["v-progress-linear__indeterminate",E,d.value],style:m.value},null))]):createVNode("div",{class:["v-progress-linear__determinate",d.value],style:[m.value,{width:convertToUnit(S.value,"%")}]},null)]}),n.default&&createVNode("div",{class:"v-progress-linear__content"},[n.default({value:S.value,buffer:b.value})])]})),{}}}),makeLoaderProps=propsFactory({loading:[Boolean,String]},"loader");function useLoader(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{loaderClasses:computed(()=>({[`${t}--loading`]:e.loading}))}}function LoaderSlot(e,t){var r;let{slots:n}=t;return createVNode("div",{class:`${e.name}__loader`},[((r=n.default)==null?void 0:r.call(n,{color:e.color,isActive:e.active}))||createVNode(VProgressLinear,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const positionValues=["static","relative","fixed","absolute","sticky"],makePositionProps=propsFactory({position:{type:String,validator:e=>positionValues.includes(e)}},"position");function usePosition(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{positionClasses:computed(()=>e.position?`${t}--${e.position}`:void 0)}}function useRouter(){var e,t;return(t=(e=getCurrentInstance("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function useLink(e,t){const n=resolveDynamicComponent("RouterLink"),r=computed(()=>!!(e.href||e.to)),a=computed(()=>(r==null?void 0:r.value)||hasEvent(t,"click")||hasEvent(e,"click"));if(typeof n=="string")return{isLink:r,isClickable:a,href:toRef(e,"href")};const o=e.to?n.useLink(e):void 0;return{isLink:r,isClickable:a,route:o==null?void 0:o.route,navigate:o==null?void 0:o.navigate,isActive:o&&computed(()=>{var i,s;return e.exact?(i=o.isExactActive)==null?void 0:i.value:(s=o.isActive)==null?void 0:s.value}),href:computed(()=>e.to?o==null?void 0:o.route.value.href:e.href)}}const makeRouterProps=propsFactory({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let inTransition=!1;function useBackButton(e,t){let n=!1,r,a;IN_BROWSER&&(nextTick(()=>{window.addEventListener("popstate",o),r=e==null?void 0:e.beforeEach((i,s,l)=>{inTransition?n?t(l):l():setTimeout(()=>n?t(l):l()),inTransition=!0}),a=e==null?void 0:e.afterEach(()=>{inTransition=!1})}),onScopeDispose(()=>{window.removeEventListener("popstate",o),r==null||r(),a==null||a()}));function o(i){var s;(s=i.state)!=null&&s.replaced||(n=!0,setTimeout(()=>n=!1))}}function useSelectLink(e,t){watch(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n&&t&&nextTick(()=>{t(!0)})},{immediate:!0})}const stopSymbol=Symbol("rippleStop"),DELAY_RIPPLE=80;function transform(e,t){e.style.transform=t,e.style.webkitTransform=t}function isTouchEvent(e){return e.constructor.name==="TouchEvent"}function isKeyboardEvent(e){return e.constructor.name==="KeyboardEvent"}const calculate=function(e,t){var f;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=0,a=0;if(!isKeyboardEvent(e)){const d=t.getBoundingClientRect(),m=isTouchEvent(e)?e.touches[e.touches.length-1]:e;r=m.clientX-d.left,a=m.clientY-d.top}let o=0,i=.3;(f=t._ripple)!=null&&f.circle?(i=.15,o=t.clientWidth/2,o=n.center?o:o+Math.sqrt((r-o)**2+(a-o)**2)/4):o=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const s=`${(t.clientWidth-o*2)/2}px`,l=`${(t.clientHeight-o*2)/2}px`,c=n.center?s:`${r-o}px`,u=n.center?l:`${a-o}px`;return{radius:o,scale:i,x:c,y:u,centerX:s,centerY:l}},ripples={show(e,t){var m;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=t==null?void 0:t._ripple)!=null&&m.enabled))return;const r=document.createElement("span"),a=document.createElement("span");r.appendChild(a),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:o,scale:i,x:s,y:l,centerX:c,centerY:u}=calculate(e,t,n),f=`${o*2}px`;a.className="v-ripple__animation",a.style.width=f,a.style.height=f,t.appendChild(r);const d=window.getComputedStyle(t);d&&d.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),transform(a,`translate(${s}, ${l}) scale3d(${i},${i},${i})`),a.dataset.activated=String(performance.now()),setTimeout(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),transform(a,`translate(${c}, ${u}) scale3d(1,1,1)`)},0)},hide(e){var o;if(!((o=e==null?void 0:e._ripple)!=null&&o.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const r=performance.now()-Number(n.dataset.activated),a=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var s;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((s=n.parentNode)==null?void 0:s.parentNode)===e&&e.removeChild(n.parentNode)},300)},a)}};function isRippleEnabled(e){return typeof e>"u"||!!e}function rippleShow(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[stopSymbol])){if(e[stopSymbol]=!0,isTouchEvent(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||isKeyboardEvent(e),n._ripple.class&&(t.class=n._ripple.class),isTouchEvent(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{ripples.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var r;(r=n==null?void 0:n._ripple)!=null&&r.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},DELAY_RIPPLE)}else ripples.show(e,n,t)}}function rippleStop(e){e[stopSymbol]=!0}function rippleHide(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{rippleHide(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),ripples.hide(t)}}function rippleCancelShow(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let keyboardRipple=!1;function keyboardRippleShow(e){!keyboardRipple&&(e.keyCode===keyCodes.enter||e.keyCode===keyCodes.space)&&(keyboardRipple=!0,rippleShow(e))}function keyboardRippleHide(e){keyboardRipple=!1,rippleHide(e)}function focusRippleHide(e){keyboardRipple&&(keyboardRipple=!1,rippleHide(e))}function updateRipple(e,t,n){const{value:r,modifiers:a}=t,o=isRippleEnabled(r);if(o||ripples.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=o,e._ripple.centered=a.center,e._ripple.circle=a.circle,isObject(r)&&r.class&&(e._ripple.class=r.class),o&&!n){if(a.stop){e.addEventListener("touchstart",rippleStop,{passive:!0}),e.addEventListener("mousedown",rippleStop);return}e.addEventListener("touchstart",rippleShow,{passive:!0}),e.addEventListener("touchend",rippleHide,{passive:!0}),e.addEventListener("touchmove",rippleCancelShow,{passive:!0}),e.addEventListener("touchcancel",rippleHide),e.addEventListener("mousedown",rippleShow),e.addEventListener("mouseup",rippleHide),e.addEventListener("mouseleave",rippleHide),e.addEventListener("keydown",keyboardRippleShow),e.addEventListener("keyup",keyboardRippleHide),e.addEventListener("blur",focusRippleHide),e.addEventListener("dragstart",rippleHide,{passive:!0})}else!o&&n&&removeListeners(e)}function removeListeners(e){e.removeEventListener("mousedown",rippleShow),e.removeEventListener("touchstart",rippleShow),e.removeEventListener("touchend",rippleHide),e.removeEventListener("touchmove",rippleCancelShow),e.removeEventListener("touchcancel",rippleHide),e.removeEventListener("mouseup",rippleHide),e.removeEventListener("mouseleave",rippleHide),e.removeEventListener("keydown",keyboardRippleShow),e.removeEventListener("keyup",keyboardRippleHide),e.removeEventListener("dragstart",rippleHide),e.removeEventListener("blur",focusRippleHide)}function mounted$4(e,t){updateRipple(e,t,!1)}function unmounted$4(e){delete e._ripple,removeListeners(e)}function updated$1(e,t){if(t.value===t.oldValue)return;const n=isRippleEnabled(t.oldValue);updateRipple(e,t,n)}const Ripple={mounted:mounted$4,unmounted:unmounted$4,updated:updated$1},makeVBtnProps=propsFactory({active:{type:Boolean,default:void 0},symbol:{type:null,default:VBtnToggleSymbol},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:IconValue,appendIcon:IconValue,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeGroupItemProps(),...makeLoaderProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeRouterProps(),...makeSizeProps(),...makeTagProps({tag:"button"}),...makeThemeProps(),...makeVariantProps({variant:"elevated"})},"VBtn"),VBtn=genericComponent()({name:"VBtn",directives:{Ripple},props:makeVBtnProps(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:a}=provideTheme(e),{borderClasses:o}=useBorder(e),{colorClasses:i,colorStyles:s,variantClasses:l}=useVariant(e),{densityClasses:c}=useDensity(e),{dimensionStyles:u}=useDimension(e),{elevationClasses:f}=useElevation(e),{loaderClasses:d}=useLoader(e),{locationStyles:m}=useLocation(e),{positionClasses:y}=usePosition(e),{roundedClasses:g}=useRounded(e),{sizeClasses:P,sizeStyles:v}=useSize(e),_=useGroupItem(e,e.symbol,!1),b=useLink(e,n),S=computed(()=>{var E;return e.active!==void 0?e.active:b.isLink.value?(E=b.isActive)==null?void 0:E.value:_==null?void 0:_.isSelected.value}),C=computed(()=>(_==null?void 0:_.disabled.value)||e.disabled),k=computed(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),T=computed(()=>{if(e.value!==void 0)return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function w(E){var F;C.value||b.isLink.value&&(E.metaKey||E.ctrlKey||E.shiftKey||E.button!==0||n.target==="_blank")||((F=b.navigate)==null||F.call(b,E),_==null||_.toggle())}return useSelectLink(b,_==null?void 0:_.select),useRender(()=>{var U,j;const E=b.isLink.value?"a":e.tag,F=!!(e.prependIcon||r.prepend),L=!!(e.appendIcon||r.append),N=!!(e.icon&&e.icon!==!0),O=(_==null?void 0:_.isSelected.value)&&(!b.isLink.value||((U=b.isActive)==null?void 0:U.value))||!_||((j=b.isActive)==null?void 0:j.value);return withDirectives(createVNode(E,{type:E==="a"?void 0:"button",class:["v-btn",_==null?void 0:_.selectedClass.value,{"v-btn--active":S.value,"v-btn--block":e.block,"v-btn--disabled":C.value,"v-btn--elevated":k.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},a.value,o.value,O?i.value:void 0,c.value,f.value,d.value,y.value,g.value,P.value,l.value,e.class],style:[O?s.value:void 0,u.value,m.value,v.value,e.style],disabled:C.value||void 0,href:b.href.value,onClick:w,value:T.value},{default:()=>{var I;return[genOverlays(!0,"v-btn"),!e.icon&&F&&createVNode("span",{key:"prepend",class:"v-btn__prepend"},[r.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},r.prepend):createVNode(VIcon,{key:"prepend-icon",icon:e.prependIcon},null)]),createVNode("span",{class:"v-btn__content","data-no-activator":""},[!r.default&&N?createVNode(VIcon,{key:"content-icon",icon:e.icon},null):createVNode(VDefaultsProvider,{key:"content-defaults",disabled:!N,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var M;return[((M=r.default)==null?void 0:M.call(r))??e.text]}})]),!e.icon&&L&&createVNode("span",{key:"append",class:"v-btn__append"},[r.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},r.append):createVNode(VIcon,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&createVNode("span",{key:"loader",class:"v-btn__loader"},[((I=r.loader)==null?void 0:I.call(r))??createVNode(VProgressCircular,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[resolveDirective("ripple"),!C.value&&e.ripple,null]])}),{}}}),makeVAppBarNavIconProps=propsFactory({...makeVBtnProps({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),VAppBarNavIcon=genericComponent()({name:"VAppBarNavIcon",props:makeVAppBarNavIconProps(),setup(e,t){let{slots:n}=t;return useRender(()=>createVNode(VBtn,mergeProps(e,{class:["v-app-bar-nav-icon"]}),n)),{}}}),VAppBarTitle=genericComponent()({name:"VAppBarTitle",props:makeVToolbarTitleProps(),setup(e,t){let{slots:n}=t;return useRender(()=>createVNode(VToolbarTitle,mergeProps(e,{class:"v-app-bar-title"}),n)),{}}}),VAlertTitle=createSimpleFunctional("v-alert-title"),allowedTypes=["success","info","warning","error"],makeVAlertProps=propsFactory({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:IconValue,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>allowedTypes.includes(e)},...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"flat"})},"VAlert"),VAlert=genericComponent()({name:"VAlert",props:makeVAlertProps(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{emit:n,slots:r}=t;const a=useProxiedModel(e,"modelValue"),o=computed(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),i=computed(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:s}=provideTheme(e),{colorClasses:l,colorStyles:c,variantClasses:u}=useVariant(i),{densityClasses:f}=useDensity(e),{dimensionStyles:d}=useDimension(e),{elevationClasses:m}=useElevation(e),{locationStyles:y}=useLocation(e),{positionClasses:g}=usePosition(e),{roundedClasses:P}=useRounded(e),{textColorClasses:v,textColorStyles:_}=useTextColor(toRef(e,"borderColor")),{t:b}=useLocale(),S=computed(()=>({"aria-label":b(e.closeLabel),onClick(C){a.value=!1,n("click:close",C)}}));return()=>{const C=!!(r.prepend||o.value),k=!!(r.title||e.title),T=!!(r.close||e.closable);return a.value&&createVNode(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},s.value,l.value,f.value,m.value,g.value,P.value,u.value,e.class],style:[c.value,d.value,y.value,e.style],role:"alert"},{default:()=>{var w,E;return[genOverlays(!1,"v-alert"),e.border&&createVNode("div",{key:"border",class:["v-alert__border",v.value],style:_.value},null),C&&createVNode("div",{key:"prepend",class:"v-alert__prepend"},[r.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!o.value,defaults:{VIcon:{density:e.density,icon:o.value,size:e.prominent?44:28}}},r.prepend):createVNode(VIcon,{key:"prepend-icon",density:e.density,icon:o.value,size:e.prominent?44:28},null)]),createVNode("div",{class:"v-alert__content"},[k&&createVNode(VAlertTitle,{key:"title"},{default:()=>{var F;return[((F=r.title)==null?void 0:F.call(r))??e.title]}}),((w=r.text)==null?void 0:w.call(r))??e.text,(E=r.default)==null?void 0:E.call(r)]),r.append&&createVNode("div",{key:"append",class:"v-alert__append"},[r.append()]),T&&createVNode("div",{key:"close",class:"v-alert__close"},[r.close?createVNode(VDefaultsProvider,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var F;return[(F=r.close)==null?void 0:F.call(r,{props:S.value})]}}):createVNode(VBtn,mergeProps({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},S.value),null)])]}})}}}),makeVLabelProps=propsFactory({text:String,clickable:Boolean,...makeComponentProps(),...makeThemeProps()},"VLabel"),VLabel=genericComponent()({name:"VLabel",props:makeVLabelProps(),setup(e,t){let{slots:n}=t;return useRender(()=>{var r;return createVNode("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(r=n.default)==null?void 0:r.call(n)])}),{}}}),VSelectionControlGroupSymbol=Symbol.for("vuetify:selection-control-group"),makeSelectionControlGroupProps=propsFactory({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:IconValue,trueIcon:IconValue,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:deepEqual},...makeComponentProps(),...makeDensityProps(),...makeThemeProps()},"SelectionControlGroup"),makeVSelectionControlGroupProps=propsFactory({...makeSelectionControlGroupProps({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),VSelectionControlGroup=genericComponent()({name:"VSelectionControlGroup",props:makeVSelectionControlGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"modelValue"),a=getUid(),o=computed(()=>e.id||`v-selection-control-group-${a}`),i=computed(()=>e.name||o.value),s=new Set;return provide(VSelectionControlGroupSymbol,{modelValue:r,forceUpdate:()=>{s.forEach(l=>l())},onForceUpdate:l=>{s.add(l),onScopeDispose(()=>{s.delete(l)})}}),provideDefaults({[e.defaultsTarget]:{color:toRef(e,"color"),disabled:toRef(e,"disabled"),density:toRef(e,"density"),error:toRef(e,"error"),inline:toRef(e,"inline"),modelValue:r,multiple:computed(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),name:i,falseIcon:toRef(e,"falseIcon"),trueIcon:toRef(e,"trueIcon"),readonly:toRef(e,"readonly"),ripple:toRef(e,"ripple"),type:toRef(e,"type"),valueComparator:toRef(e,"valueComparator")}}),useRender(()=>{var l;return createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(l=n.default)==null?void 0:l.call(n)])}),{}}}),makeVSelectionControlProps=propsFactory({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...makeComponentProps(),...makeSelectionControlGroupProps()},"VSelectionControl");function useSelectionControl(e){const t=inject$1(VSelectionControlGroupSymbol,void 0),{densityClasses:n}=useDensity(e),r=useProxiedModel(e,"modelValue"),a=computed(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),o=computed(()=>e.falseValue!==void 0?e.falseValue:!1),i=computed(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),s=computed({get(){const m=t?t.modelValue.value:r.value;return i.value?m.some(y=>e.valueComparator(y,a.value)):e.valueComparator(m,a.value)},set(m){if(e.readonly)return;const y=m?a.value:o.value;let g=y;i.value&&(g=m?[...wrapInArray(r.value),y]:wrapInArray(r.value).filter(P=>!e.valueComparator(P,a.value))),t?t.modelValue.value=g:r.value=g}}),{textColorClasses:l,textColorStyles:c}=useTextColor(computed(()=>{if(!(e.error||e.disabled))return s.value?e.color:e.baseColor})),{backgroundColorClasses:u,backgroundColorStyles:f}=useBackgroundColor(computed(()=>s.value&&!e.error&&!e.disabled?e.color:void 0)),d=computed(()=>s.value?e.trueIcon:e.falseIcon);return{group:t,densityClasses:n,trueValue:a,falseValue:o,model:s,textColorClasses:l,textColorStyles:c,backgroundColorClasses:u,backgroundColorStyles:f,icon:d}}const VSelectionControl=genericComponent()({name:"VSelectionControl",directives:{Ripple},inheritAttrs:!1,props:makeVSelectionControlProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{group:a,densityClasses:o,icon:i,model:s,textColorClasses:l,textColorStyles:c,backgroundColorClasses:u,backgroundColorStyles:f,trueValue:d}=useSelectionControl(e),m=getUid(),y=computed(()=>e.id||`input-${m}`),g=shallowRef(!1),P=shallowRef(!1),v=ref();a==null||a.onForceUpdate(()=>{v.value&&(v.value.checked=s.value)});function _(C){g.value=!0,matchesSelector(C.target,":focus-visible")!==!1&&(P.value=!0)}function b(){g.value=!1,P.value=!1}function S(C){e.readonly&&a&&nextTick(()=>a.forceUpdate()),s.value=C.target.checked}return useRender(()=>{var E,F;const C=r.label?r.label({label:e.label,props:{for:y.value}}):e.label,[k,T]=filterInputAttrs(n),w=createVNode("input",mergeProps({ref:v,checked:s.value,disabled:!!(e.readonly||e.disabled),id:y.value,onBlur:b,onFocus:_,onInput:S,"aria-disabled":!!(e.readonly||e.disabled),type:e.type,value:d.value,name:e.name,"aria-checked":e.type==="checkbox"?s.value:void 0},T),null);return createVNode("div",mergeProps({class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":P.value,"v-selection-control--inline":e.inline},o.value,e.class]},k,{style:e.style}),[createVNode("div",{class:["v-selection-control__wrapper",l.value],style:c.value},[(E=r.default)==null?void 0:E.call(r,{backgroundColorClasses:u,backgroundColorStyles:f}),withDirectives(createVNode("div",{class:["v-selection-control__input"]},[((F=r.input)==null?void 0:F.call(r,{model:s,textColorClasses:l,textColorStyles:c,backgroundColorClasses:u,backgroundColorStyles:f,inputNode:w,icon:i.value,props:{onFocus:_,onBlur:b,id:y.value}}))??createVNode(Fragment,null,[i.value&&createVNode(VIcon,{key:"icon",icon:i.value},null),w])]),[[resolveDirective("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),C&&createVNode(VLabel,{for:y.value,clickable:!0,onClick:L=>L.stopPropagation()},{default:()=>[C]})])}),{isFocused:g,input:v}}}),makeVCheckboxBtnProps=propsFactory({indeterminate:Boolean,indeterminateIcon:{type:IconValue,default:"$checkboxIndeterminate"},...makeVSelectionControlProps({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),VCheckboxBtn=genericComponent()({name:"VCheckboxBtn",props:makeVCheckboxBtnProps(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"indeterminate"),a=useProxiedModel(e,"modelValue");function o(l){r.value&&(r.value=!1)}const i=computed(()=>r.value?e.indeterminateIcon:e.falseIcon),s=computed(()=>r.value?e.indeterminateIcon:e.trueIcon);return useRender(()=>{const l=omit(VSelectionControl.filterProps(e),["modelValue"]);return createVNode(VSelectionControl,mergeProps(l,{modelValue:a.value,"onUpdate:modelValue":[c=>a.value=c,o],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:i.value,trueIcon:s.value,"aria-checked":r.value?"mixed":void 0}),n)}),{}}});function useInputIcon(e){const{t}=useLocale();function n(r){let{name:a}=r;const o={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[a],i=e[`onClick:${a}`],s=i&&o?t(`$vuetify.input.${o}`,e.label??""):void 0;return createVNode(VIcon,{icon:e[`${a}Icon`],"aria-label":s,onClick:i},null)}return{InputIcon:n}}const makeVMessagesProps=propsFactory({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...makeComponentProps(),...makeTransitionProps({transition:{component:VSlideYTransition,leaveAbsolute:!0,group:!0}})},"VMessages"),VMessages=genericComponent()({name:"VMessages",props:makeVMessagesProps(),setup(e,t){let{slots:n}=t;const r=computed(()=>wrapInArray(e.messages)),{textColorClasses:a,textColorStyles:o}=useTextColor(computed(()=>e.color));return useRender(()=>createVNode(MaybeTransition,{transition:e.transition,tag:"div",class:["v-messages",a.value,e.class],style:[o.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&r.value.map((i,s)=>createVNode("div",{class:"v-messages__message",key:`${s}-${r.value}`},[n.message?n.message({message:i}):i]))]})),{}}}),makeFocusProps=propsFactory({focused:Boolean,"onUpdate:focused":EventProp()},"focus");function useFocus(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const n=useProxiedModel(e,"focused"),r=computed(()=>({[`${t}--focused`]:n.value}));function a(){n.value=!0}function o(){n.value=!1}return{focusClasses:r,isFocused:n,focus:a,blur:o}}const FormKey=Symbol.for("vuetify:form"),makeFormProps=propsFactory({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function createForm(e){const t=useProxiedModel(e,"modelValue"),n=computed(()=>e.disabled),r=computed(()=>e.readonly),a=shallowRef(!1),o=ref([]),i=ref([]);async function s(){const u=[];let f=!0;i.value=[],a.value=!0;for(const d of o.value){const m=await d.validate();if(m.length>0&&(f=!1,u.push({id:d.id,errorMessages:m})),!f&&e.fastFail)break}return i.value=u,a.value=!1,{valid:f,errors:i.value}}function l(){o.value.forEach(u=>u.reset())}function c(){o.value.forEach(u=>u.resetValidation())}return watch(o,()=>{let u=0,f=0;const d=[];for(const m of o.value)m.isValid===!1?(f++,d.push({id:m.id,errorMessages:m.errorMessages})):m.isValid===!0&&u++;i.value=d,t.value=f>0?!1:u===o.value.length?!0:null},{deep:!0}),provide(FormKey,{register:u=>{let{id:f,validate:d,reset:m,resetValidation:y}=u;o.value.some(g=>g.id===f),o.value.push({id:f,validate:d,reset:m,resetValidation:y,isValid:null,errorMessages:[]})},unregister:u=>{o.value=o.value.filter(f=>f.id!==u)},update:(u,f,d)=>{const m=o.value.find(y=>y.id===u);m&&(m.isValid=f,m.errorMessages=d)},isDisabled:n,isReadonly:r,isValidating:a,isValid:t,items:o,validateOn:toRef(e,"validateOn")}),{errors:i,isDisabled:n,isReadonly:r,isValidating:a,isValid:t,items:o,validate:s,reset:l,resetValidation:c}}function useForm(){return inject$1(FormKey,null)}const makeValidationProps=propsFactory({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...makeFocusProps()},"validation");function useValidation(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:getUid();const r=useProxiedModel(e,"modelValue"),a=computed(()=>e.validationValue===void 0?r.value:e.validationValue),o=useForm(),i=ref([]),s=shallowRef(!0),l=computed(()=>!!(wrapInArray(r.value===""?null:r.value).length||wrapInArray(a.value===""?null:a.value).length)),c=computed(()=>!!(e.disabled??(o==null?void 0:o.isDisabled.value))),u=computed(()=>!!(e.readonly??(o==null?void 0:o.isReadonly.value))),f=computed(()=>{var S;return(S=e.errorMessages)!=null&&S.length?wrapInArray(e.errorMessages).concat(i.value).slice(0,Math.max(0,+e.maxErrors)):i.value}),d=computed(()=>{let S=(e.validateOn??(o==null?void 0:o.validateOn.value))||"input";S==="lazy"&&(S="input lazy");const C=new Set((S==null?void 0:S.split(" "))??[]);return{blur:C.has("blur")||C.has("input"),input:C.has("input"),submit:C.has("submit"),lazy:C.has("lazy")}}),m=computed(()=>{var S;return e.error||(S=e.errorMessages)!=null&&S.length?!1:e.rules.length?s.value?i.value.length||d.value.lazy?null:!0:!i.value.length:!0}),y=shallowRef(!1),g=computed(()=>({[`${t}--error`]:m.value===!1,[`${t}--dirty`]:l.value,[`${t}--disabled`]:c.value,[`${t}--readonly`]:u.value})),P=computed(()=>e.name??unref(n));onBeforeMount(()=>{o==null||o.register({id:P.value,validate:b,reset:v,resetValidation:_})}),onBeforeUnmount(()=>{o==null||o.unregister(P.value)}),onMounted(async()=>{d.value.lazy||await b(!0),o==null||o.update(P.value,m.value,f.value)}),useToggleScope(()=>d.value.input,()=>{watch(a,()=>{if(a.value!=null)b();else if(e.focused){const S=watch(()=>e.focused,C=>{C||b(),S()})}})}),useToggleScope(()=>d.value.blur,()=>{watch(()=>e.focused,S=>{S||b()})}),watch(m,()=>{o==null||o.update(P.value,m.value,f.value)});function v(){r.value=null,nextTick(_)}function _(){s.value=!0,d.value.lazy?i.value=[]:b(!0)}async function b(){let S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const C=[];y.value=!0;for(const k of e.rules){if(C.length>=+(e.maxErrors??1))break;const w=await(typeof k=="function"?k:()=>k)(a.value);if(w!==!0){if(w!==!1&&typeof w!="string"){console.warn(`${w} is not a valid value. Rule functions must return boolean true or a string.`);continue}C.push(w||"")}}return i.value=C,y.value=!1,s.value=S,i.value}return{errorMessages:f,isDirty:l,isDisabled:c,isReadonly:u,isPristine:s,isValid:m,isValidating:y,reset:v,resetValidation:_,validate:b,validationClasses:g}}const makeVInputProps=propsFactory({id:String,appendIcon:IconValue,centerAffix:{type:Boolean,default:!0},prependIcon:IconValue,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":EventProp(),"onClick:append":EventProp(),...makeComponentProps(),...makeDensityProps(),...makeValidationProps()},"VInput"),VInput=genericComponent()({name:"VInput",props:{...makeVInputProps()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r,emit:a}=t;const{densityClasses:o}=useDensity(e),{rtlClasses:i}=useRtl(),{InputIcon:s}=useInputIcon(e),l=getUid(),c=computed(()=>e.id||`input-${l}`),u=computed(()=>`${c.value}-messages`),{errorMessages:f,isDirty:d,isDisabled:m,isReadonly:y,isPristine:g,isValid:P,isValidating:v,reset:_,resetValidation:b,validate:S,validationClasses:C}=useValidation(e,"v-input",c),k=computed(()=>({id:c,messagesId:u,isDirty:d,isDisabled:m,isReadonly:y,isPristine:g,isValid:P,isValidating:v,reset:_,resetValidation:b,validate:S})),T=computed(()=>{var w;return(w=e.errorMessages)!=null&&w.length||!g.value&&f.value.length?f.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return useRender(()=>{var N,O,U,j;const w=!!(r.prepend||e.prependIcon),E=!!(r.append||e.appendIcon),F=T.value.length>0,L=!e.hideDetails||e.hideDetails==="auto"&&(F||!!r.details);return createVNode("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},o.value,i.value,C.value,e.class],style:e.style},[w&&createVNode("div",{key:"prepend",class:"v-input__prepend"},[(N=r.prepend)==null?void 0:N.call(r,k.value),e.prependIcon&&createVNode(s,{key:"prepend-icon",name:"prepend"},null)]),r.default&&createVNode("div",{class:"v-input__control"},[(O=r.default)==null?void 0:O.call(r,k.value)]),E&&createVNode("div",{key:"append",class:"v-input__append"},[e.appendIcon&&createVNode(s,{key:"append-icon",name:"append"},null),(U=r.append)==null?void 0:U.call(r,k.value)]),L&&createVNode("div",{class:"v-input__details"},[createVNode(VMessages,{id:u.value,active:F,messages:T.value},{message:r.message}),(j=r.details)==null?void 0:j.call(r,k.value)])])}),{reset:_,resetValidation:b,validate:S,isValid:P,errorMessages:f}}}),makeVCheckboxProps=propsFactory({...makeVInputProps(),...omit(makeVCheckboxBtnProps(),["inline"])},"VCheckbox"),VCheckbox=genericComponent()({name:"VCheckbox",inheritAttrs:!1,props:makeVCheckboxProps(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const a=useProxiedModel(e,"modelValue"),{isFocused:o,focus:i,blur:s}=useFocus(e),l=getUid(),c=computed(()=>e.id||`checkbox-${l}`);return useRender(()=>{const[u,f]=filterInputAttrs(n),d=VInput.filterProps(e),m=VCheckboxBtn.filterProps(e);return createVNode(VInput,mergeProps({class:["v-checkbox",e.class]},u,d,{modelValue:a.value,"onUpdate:modelValue":y=>a.value=y,id:c.value,focused:o.value,style:e.style}),{...r,default:y=>{let{id:g,messagesId:P,isDisabled:v,isReadonly:_}=y;return createVNode(VCheckboxBtn,mergeProps(m,{id:g.value,"aria-describedby":P.value,disabled:v.value,readonly:_.value},f,{modelValue:a.value,"onUpdate:modelValue":b=>a.value=b,onFocus:i,onBlur:s}),r)}})}),{}}}),makeVAvatarProps=propsFactory({start:Boolean,end:Boolean,icon:IconValue,image:String,text:String,...makeComponentProps(),...makeDensityProps(),...makeRoundedProps(),...makeSizeProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"flat"})},"VAvatar"),VAvatar=genericComponent()({name:"VAvatar",props:makeVAvatarProps(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=provideTheme(e),{colorClasses:a,colorStyles:o,variantClasses:i}=useVariant(e),{densityClasses:s}=useDensity(e),{roundedClasses:l}=useRounded(e),{sizeClasses:c,sizeStyles:u}=useSize(e);return useRender(()=>createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,a.value,s.value,l.value,c.value,i.value,e.class],style:[o.value,u.value,e.style]},{default:()=>{var f;return[e.image?createVNode(VImg,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?createVNode(VIcon,{key:"icon",icon:e.icon},null):((f=n.default)==null?void 0:f.call(n))??e.text,genOverlays(!1,"v-avatar")]}})),{}}}),VChipGroupSymbol=Symbol.for("vuetify:v-chip-group"),makeVChipGroupProps=propsFactory({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:deepEqual},...makeComponentProps(),...makeGroupProps({selectedClass:"v-chip--selected"}),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"tonal"})},"VChipGroup"),VChipGroup=genericComponent()({name:"VChipGroup",props:makeVChipGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=provideTheme(e),{isSelected:a,select:o,next:i,prev:s,selected:l}=useGroup(e,VChipGroupSymbol);return provideDefaults({VChip:{color:toRef(e,"color"),disabled:toRef(e,"disabled"),filter:toRef(e,"filter"),variant:toRef(e,"variant")}}),useRender(()=>createVNode(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},r.value,e.class],style:e.style},{default:()=>{var c;return[(c=n.default)==null?void 0:c.call(n,{isSelected:a,select:o,next:i,prev:s,selected:l.value})]}})),{}}}),makeVChipProps=propsFactory({activeClass:String,appendAvatar:String,appendIcon:IconValue,closable:Boolean,closeIcon:{type:IconValue,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:EventProp(),onClickOnce:EventProp(),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeGroupItemProps(),...makeRoundedProps(),...makeRouterProps(),...makeSizeProps(),...makeTagProps({tag:"span"}),...makeThemeProps(),...makeVariantProps({variant:"tonal"})},"VChip"),VChip=genericComponent()({name:"VChip",directives:{Ripple},props:makeVChipProps(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,t){let{attrs:n,emit:r,slots:a}=t;const{t:o}=useLocale(),{borderClasses:i}=useBorder(e),{colorClasses:s,colorStyles:l,variantClasses:c}=useVariant(e),{densityClasses:u}=useDensity(e),{elevationClasses:f}=useElevation(e),{roundedClasses:d}=useRounded(e),{sizeClasses:m}=useSize(e),{themeClasses:y}=provideTheme(e),g=useProxiedModel(e,"modelValue"),P=useGroupItem(e,VChipGroupSymbol,!1),v=useLink(e,n),_=computed(()=>e.link!==!1&&v.isLink.value),b=computed(()=>!e.disabled&&e.link!==!1&&(!!P||e.link||v.isClickable.value)),S=computed(()=>({"aria-label":o(e.closeLabel),onClick(T){T.stopPropagation(),g.value=!1,r("click:close",T)}}));function C(T){var w;r("click",T),b.value&&((w=v.navigate)==null||w.call(v,T),P==null||P.toggle())}function k(T){(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),C(T))}return()=>{const T=v.isLink.value?"a":e.tag,w=!!(e.appendIcon||e.appendAvatar),E=!!(w||a.append),F=!!(a.close||e.closable),L=!!(a.filter||e.filter)&&P,N=!!(e.prependIcon||e.prependAvatar),O=!!(N||a.prepend),U=!P||P.isSelected.value;return g.value&&withDirectives(createVNode(T,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":b.value,"v-chip--filter":L,"v-chip--pill":e.pill},y.value,i.value,U?s.value:void 0,u.value,f.value,d.value,m.value,c.value,P==null?void 0:P.selectedClass.value,e.class],style:[U?l.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:v.href.value,tabindex:b.value?0:void 0,onClick:C,onKeydown:b.value&&!_.value&&k},{default:()=>{var j;return[genOverlays(b.value,"v-chip"),L&&createVNode(VExpandXTransition,{key:"filter"},{default:()=>[withDirectives(createVNode("div",{class:"v-chip__filter"},[a.filter?createVNode(VDefaultsProvider,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},a.filter):createVNode(VIcon,{key:"filter-icon",icon:e.filterIcon},null)]),[[vShow,P.isSelected.value]])]}),O&&createVNode("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!N,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},a.prepend):createVNode(Fragment,null,[e.prependIcon&&createVNode(VIcon,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),createVNode("div",{class:"v-chip__content"},[((j=a.default)==null?void 0:j.call(a,{isSelected:P==null?void 0:P.isSelected.value,selectedClass:P==null?void 0:P.selectedClass.value,select:P==null?void 0:P.select,toggle:P==null?void 0:P.toggle,value:P==null?void 0:P.value.value,disabled:e.disabled}))??e.text]),E&&createVNode("div",{key:"append",class:"v-chip__append"},[a.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!w,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},a.append):createVNode(Fragment,null,[e.appendIcon&&createVNode(VIcon,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),F&&createVNode("div",mergeProps({key:"close",class:"v-chip__close"},S.value),[a.close?createVNode(VDefaultsProvider,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},a.close):createVNode(VIcon,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[resolveDirective("ripple"),b.value&&e.ripple,null]])}}}),ListKey=Symbol.for("vuetify:list");function createList(){const e=inject$1(ListKey,{hasPrepend:shallowRef(!1),updateHasPrepend:()=>null}),t={hasPrepend:shallowRef(!1),updateHasPrepend:n=>{n&&(t.hasPrepend.value=n)}};return provide(ListKey,t),e}function useList(){return inject$1(ListKey,null)}const singleOpenStrategy={open:e=>{let{id:t,value:n,opened:r,parents:a}=e;if(n){const o=new Set;o.add(t);let i=a.get(t);for(;i!=null;)o.add(i),i=a.get(i);return o}else return r.delete(t),r},select:()=>null},multipleOpenStrategy={open:e=>{let{id:t,value:n,opened:r,parents:a}=e;if(n){let o=a.get(t);for(r.add(t);o!=null&&o!==t;)r.add(o),o=a.get(o);return r}else r.delete(t);return r},select:()=>null},listOpenStrategy={open:multipleOpenStrategy.open,select:e=>{let{id:t,value:n,opened:r,parents:a}=e;if(!n)return r;const o=[];let i=a.get(t);for(;i!=null;)o.push(i),i=a.get(i);return new Set(o)}},independentSelectStrategy=e=>{const t={select:n=>{let{id:r,value:a,selected:o}=n;if(r=toRaw(r),e&&!a){const i=Array.from(o.entries()).reduce((s,l)=>{let[c,u]=l;return u==="on"?[...s,c]:s},[]);if(i.length===1&&i[0]===r)return o}return o.set(r,a?"on":"off"),o},in:(n,r,a)=>{let o=new Map;for(const i of n||[])o=t.select({id:i,value:!0,selected:new Map(o),children:r,parents:a});return o},out:n=>{const r=[];for(const[a,o]of n.entries())o==="on"&&r.push(a);return r}};return t},independentSingleSelectStrategy=e=>{const t=independentSelectStrategy(e);return{select:r=>{let{selected:a,id:o,...i}=r;o=toRaw(o);const s=a.has(o)?new Map([[o,a.get(o)]]):new Map;return t.select({...i,id:o,selected:s})},in:(r,a,o)=>{let i=new Map;return r!=null&&r.length&&(i=t.in(r.slice(0,1),a,o)),i},out:(r,a,o)=>t.out(r,a,o)}},leafSelectStrategy=e=>{const t=independentSelectStrategy(e);return{select:r=>{let{id:a,selected:o,children:i,...s}=r;return a=toRaw(a),i.has(a)?o:t.select({id:a,selected:o,children:i,...s})},in:t.in,out:t.out}},leafSingleSelectStrategy=e=>{const t=independentSingleSelectStrategy(e);return{select:r=>{let{id:a,selected:o,children:i,...s}=r;return a=toRaw(a),i.has(a)?o:t.select({id:a,selected:o,children:i,...s})},in:t.in,out:t.out}},classicSelectStrategy=e=>{const t={select:n=>{let{id:r,value:a,selected:o,children:i,parents:s}=n;r=toRaw(r);const l=new Map(o),c=[r];for(;c.length;){const f=c.shift();o.set(f,a?"on":"off"),i.has(f)&&c.push(...i.get(f))}let u=s.get(r);for(;u;){const f=i.get(u),d=f.every(y=>o.get(y)==="on"),m=f.every(y=>!o.has(y)||o.get(y)==="off");o.set(u,d?"on":m?"off":"indeterminate"),u=s.get(u)}return e&&!a&&Array.from(o.entries()).reduce((d,m)=>{let[y,g]=m;return g==="on"?[...d,y]:d},[]).length===0?l:o},in:(n,r,a)=>{let o=new Map;for(const i of n||[])o=t.select({id:i,value:!0,selected:new Map(o),children:r,parents:a});return o},out:(n,r)=>{const a=[];for(const[o,i]of n.entries())i==="on"&&!r.has(o)&&a.push(o);return a}};return t},VNestedSymbol=Symbol.for("vuetify:nested"),emptyNested={id:shallowRef(),root:{register:()=>null,unregister:()=>null,parents:ref(new Map),children:ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:ref(new Set),selected:ref(new Map),selectedValues:ref([])}},makeNestedProps=propsFactory({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),useNested=e=>{let t=!1;const n=ref(new Map),r=ref(new Map),a=useProxiedModel(e,"opened",e.opened,f=>new Set(f),f=>[...f.values()]),o=computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return leafSingleSelectStrategy(e.mandatory);case"leaf":return leafSelectStrategy(e.mandatory);case"independent":return independentSelectStrategy(e.mandatory);case"single-independent":return independentSingleSelectStrategy(e.mandatory);case"classic":default:return classicSelectStrategy(e.mandatory)}}),i=computed(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return listOpenStrategy;case"single":return singleOpenStrategy;case"multiple":default:return multipleOpenStrategy}}),s=useProxiedModel(e,"selected",e.selected,f=>o.value.in(f,n.value,r.value),f=>o.value.out(f,n.value,r.value));onBeforeUnmount(()=>{t=!0});function l(f){const d=[];let m=f;for(;m!=null;)d.unshift(m),m=r.value.get(m);return d}const c=getCurrentInstance("nested"),u={id:shallowRef(),root:{opened:a,selected:s,selectedValues:computed(()=>{const f=[];for(const[d,m]of s.value.entries())m==="on"&&f.push(d);return f}),register:(f,d,m)=>{d&&f!==d&&r.value.set(f,d),m&&n.value.set(f,[]),d!=null&&n.value.set(d,[...n.value.get(d)||[],f])},unregister:f=>{if(t)return;n.value.delete(f);const d=r.value.get(f);if(d){const m=n.value.get(d)??[];n.value.set(d,m.filter(y=>y!==f))}r.value.delete(f),a.value.delete(f)},open:(f,d,m)=>{c.emit("click:open",{id:f,value:d,path:l(f),event:m});const y=i.value.open({id:f,value:d,opened:new Set(a.value),children:n.value,parents:r.value,event:m});y&&(a.value=y)},openOnSelect:(f,d,m)=>{const y=i.value.select({id:f,value:d,selected:new Map(s.value),opened:new Set(a.value),children:n.value,parents:r.value,event:m});y&&(a.value=y)},select:(f,d,m)=>{c.emit("click:select",{id:f,value:d,path:l(f),event:m});const y=o.value.select({id:f,value:d,selected:new Map(s.value),children:n.value,parents:r.value,event:m});y&&(s.value=y),u.root.openOnSelect(f,d,m)},children:n,parents:r}};return provide(VNestedSymbol,u),u.root},useNestedItem=(e,t)=>{const n=inject$1(VNestedSymbol,emptyNested),r=Symbol(getUid()),a=computed(()=>e.value!==void 0?e.value:r),o={...n,id:a,open:(i,s)=>n.root.open(a.value,i,s),openOnSelect:(i,s)=>n.root.openOnSelect(a.value,i,s),isOpen:computed(()=>n.root.opened.value.has(a.value)),parent:computed(()=>n.root.parents.value.get(a.value)),select:(i,s)=>n.root.select(a.value,i,s),isSelected:computed(()=>n.root.selected.value.get(toRaw(a.value))==="on"),isIndeterminate:computed(()=>n.root.selected.value.get(a.value)==="indeterminate"),isLeaf:computed(()=>!n.root.children.value.get(a.value)),isGroupActivator:n.isGroupActivator};return!n.isGroupActivator&&n.root.register(a.value,n.id.value,t),onBeforeUnmount(()=>{!n.isGroupActivator&&n.root.unregister(a.value)}),t&&provide(VNestedSymbol,o),o},useNestedGroupActivator=()=>{const e=inject$1(VNestedSymbol,emptyNested);provide(VNestedSymbol,{...e,isGroupActivator:!0})},VListGroupActivator=defineComponent({name:"VListGroupActivator",setup(e,t){let{slots:n}=t;return useNestedGroupActivator(),()=>{var r;return(r=n.default)==null?void 0:r.call(n)}}}),makeVListGroupProps=propsFactory({activeColor:String,baseColor:String,color:String,collapseIcon:{type:IconValue,default:"$collapse"},expandIcon:{type:IconValue,default:"$expand"},prependIcon:IconValue,appendIcon:IconValue,fluid:Boolean,subgroup:Boolean,title:String,value:null,...makeComponentProps(),...makeTagProps()},"VListGroup"),VListGroup=genericComponent()({name:"VListGroup",props:makeVListGroupProps(),setup(e,t){let{slots:n}=t;const{isOpen:r,open:a,id:o}=useNestedItem(toRef(e,"value"),!0),i=computed(()=>`v-list-group--id-${String(o.value)}`),s=useList(),{isBooted:l}=useSsrBoot();function c(m){a(!r.value,m)}const u=computed(()=>({onClick:c,class:"v-list-group__header",id:i.value})),f=computed(()=>r.value?e.collapseIcon:e.expandIcon),d=computed(()=>({VListItem:{active:r.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&f.value,appendIcon:e.appendIcon||!e.subgroup&&f.value,title:e.title,value:e.value}}));return useRender(()=>createVNode(e.tag,{class:["v-list-group",{"v-list-group--prepend":s==null?void 0:s.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":r.value},e.class],style:e.style},{default:()=>[n.activator&&createVNode(VDefaultsProvider,{defaults:d.value},{default:()=>[createVNode(VListGroupActivator,null,{default:()=>[n.activator({props:u.value,isOpen:r.value})]})]}),createVNode(MaybeTransition,{transition:{component:VExpandTransition},disabled:!l.value},{default:()=>{var m;return[withDirectives(createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":i.value},[(m=n.default)==null?void 0:m.call(n)]),[[vShow,r.value]])]}})]})),{}}}),VListItemSubtitle=createSimpleFunctional("v-list-item-subtitle"),VListItemTitle=createSimpleFunctional("v-list-item-title"),makeVListItemProps=propsFactory({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:IconValue,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:EventProp(),onClickOnce:EventProp(),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeRoundedProps(),...makeRouterProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VListItem"),VListItem=genericComponent()({name:"VListItem",directives:{Ripple},props:makeVListItemProps(),emits:{click:e=>!0},setup(e,t){let{attrs:n,slots:r,emit:a}=t;const o=useLink(e,n),i=computed(()=>e.value===void 0?o.href.value:e.value),{select:s,isSelected:l,isIndeterminate:c,isGroupActivator:u,root:f,parent:d,openOnSelect:m}=useNestedItem(i,!1),y=useList(),g=computed(()=>{var V;return e.active!==!1&&(e.active||((V=o.isActive)==null?void 0:V.value)||l.value)}),P=computed(()=>e.link!==!1&&o.isLink.value),v=computed(()=>!e.disabled&&e.link!==!1&&(e.link||o.isClickable.value||e.value!=null&&!!y)),_=computed(()=>e.rounded||e.nav),b=computed(()=>e.color??e.activeColor),S=computed(()=>({color:g.value?b.value??e.baseColor:e.baseColor,variant:e.variant}));watch(()=>{var V;return(V=o.isActive)==null?void 0:V.value},V=>{V&&d.value!=null&&f.open(d.value,!0),V&&m(V)},{immediate:!0});const{themeClasses:C}=provideTheme(e),{borderClasses:k}=useBorder(e),{colorClasses:T,colorStyles:w,variantClasses:E}=useVariant(S),{densityClasses:F}=useDensity(e),{dimensionStyles:L}=useDimension(e),{elevationClasses:N}=useElevation(e),{roundedClasses:O}=useRounded(_),U=computed(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),j=computed(()=>({isActive:g.value,select:s,isSelected:l.value,isIndeterminate:c.value}));function I(V){var R;a("click",V),!(u||!v.value)&&((R=o.navigate)==null||R.call(o,V),e.value!=null&&s(!l.value,V))}function M(V){(V.key==="Enter"||V.key===" ")&&(V.preventDefault(),I(V))}return useRender(()=>{const V=P.value?"a":e.tag,R=r.title||e.title,D=r.subtitle||e.subtitle,$=!!(e.appendAvatar||e.appendIcon),G=!!($||r.append),ne=!!(e.prependAvatar||e.prependIcon),oe=!!(ne||r.prepend);return y==null||y.updateHasPrepend(oe),e.activeColor&&deprecate("active-color",["color","base-color"]),withDirectives(createVNode(V,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":e.disabled,"v-list-item--link":v.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!oe&&(y==null?void 0:y.hasPrepend.value),"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&g.value},C.value,k.value,T.value,F.value,N.value,U.value,O.value,E.value,e.class],style:[w.value,L.value,e.style],href:o.href.value,tabindex:v.value?y?-2:0:void 0,onClick:I,onKeydown:v.value&&!P.value&&M},{default:()=>{var ce;return[genOverlays(v.value||g.value,"v-list-item"),oe&&createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[r.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!ne,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var ee;return[(ee=r.prepend)==null?void 0:ee.call(r,j.value)]}}):createVNode(Fragment,null,[e.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&createVNode(VIcon,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),createVNode("div",{class:"v-list-item__spacer"},null)]),createVNode("div",{class:"v-list-item__content","data-no-activator":""},[R&&createVNode(VListItemTitle,{key:"title"},{default:()=>{var ee;return[((ee=r.title)==null?void 0:ee.call(r,{title:e.title}))??e.title]}}),D&&createVNode(VListItemSubtitle,{key:"subtitle"},{default:()=>{var ee;return[((ee=r.subtitle)==null?void 0:ee.call(r,{subtitle:e.subtitle}))??e.subtitle]}}),(ce=r.default)==null?void 0:ce.call(r,j.value)]),G&&createVNode("div",{key:"append",class:"v-list-item__append"},[r.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!$,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var ee;return[(ee=r.append)==null?void 0:ee.call(r,j.value)]}}):createVNode(Fragment,null,[e.appendIcon&&createVNode(VIcon,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[resolveDirective("ripple"),v.value&&e.ripple]])}),{}}}),makeVListSubheaderProps=propsFactory({color:String,inset:Boolean,sticky:Boolean,title:String,...makeComponentProps(),...makeTagProps()},"VListSubheader"),VListSubheader=genericComponent()({name:"VListSubheader",props:makeVListSubheaderProps(),setup(e,t){let{slots:n}=t;const{textColorClasses:r,textColorStyles:a}=useTextColor(toRef(e,"color"));return useRender(()=>{const o=!!(n.default||e.title);return createVNode(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},r.value,e.class],style:[{textColorStyles:a},e.style]},{default:()=>{var i;return[o&&createVNode("div",{class:"v-list-subheader__text"},[((i=n.default)==null?void 0:i.call(n))??e.title])]}})}),{}}}),makeVDividerProps=propsFactory({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...makeComponentProps(),...makeThemeProps()},"VDivider"),VDivider=genericComponent()({name:"VDivider",props:makeVDividerProps(),setup(e,t){let{attrs:n}=t;const{themeClasses:r}=provideTheme(e),{textColorClasses:a,textColorStyles:o}=useTextColor(toRef(e,"color")),i=computed(()=>{const s={};return e.length&&(s[e.vertical?"maxHeight":"maxWidth"]=convertToUnit(e.length)),e.thickness&&(s[e.vertical?"borderRightWidth":"borderTopWidth"]=convertToUnit(e.thickness)),s});return useRender(()=>createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},r.value,a.value,e.class],style:[i.value,o.value,e.style],"aria-orientation":!n.role||n.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null)),{}}}),makeVListChildrenProps=propsFactory({items:Array,returnObject:Boolean},"VListChildren"),VListChildren=genericComponent()({name:"VListChildren",props:makeVListChildrenProps(),setup(e,t){let{slots:n}=t;return createList(),()=>{var r,a;return((r=n.default)==null?void 0:r.call(n))??((a=e.items)==null?void 0:a.map(o=>{var d,m;let{children:i,props:s,type:l,raw:c}=o;if(l==="divider")return((d=n.divider)==null?void 0:d.call(n,{props:s}))??createVNode(VDivider,s,null);if(l==="subheader")return((m=n.subheader)==null?void 0:m.call(n,{props:s}))??createVNode(VListSubheader,s,null);const u={subtitle:n.subtitle?y=>{var g;return(g=n.subtitle)==null?void 0:g.call(n,{...y,item:c})}:void 0,prepend:n.prepend?y=>{var g;return(g=n.prepend)==null?void 0:g.call(n,{...y,item:c})}:void 0,append:n.append?y=>{var g;return(g=n.append)==null?void 0:g.call(n,{...y,item:c})}:void 0,title:n.title?y=>{var g;return(g=n.title)==null?void 0:g.call(n,{...y,item:c})}:void 0},f=VListGroup.filterProps(s);return i?createVNode(VListGroup,mergeProps({value:s==null?void 0:s.value},f),{activator:y=>{let{props:g}=y;const P={...s,...g,value:e.returnObject?c:s.value};return n.header?n.header({props:P}):createVNode(VListItem,P,u)},default:()=>createVNode(VListChildren,{items:i},n)}):n.item?n.item({props:s}):createVNode(VListItem,mergeProps(s,{value:e.returnObject?c:s.value}),u)}))}}}),makeItemsProps=propsFactory({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:deepEqual}},"list-items");function transformItem$3(e,t){const n=getPropertyFromItem(t,e.itemTitle,t),r=getPropertyFromItem(t,e.itemValue,n),a=getPropertyFromItem(t,e.itemChildren),o=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?omit(t,["children"]):t:void 0:getPropertyFromItem(t,e.itemProps),i={title:n,value:r,...o};return{title:String(i.title??""),value:i.value,props:i,children:Array.isArray(a)?transformItems$3(e,a):void 0,raw:t}}function transformItems$3(e,t){const n=[];for(const r of t)n.push(transformItem$3(e,r));return n}function useItems(e){const t=computed(()=>transformItems$3(e,e.items)),n=computed(()=>t.value.some(o=>o.value===null));function r(o){return n.value||(o=o.filter(i=>i!==null)),o.map(i=>e.returnObject&&typeof i=="string"?transformItem$3(e,i):t.value.find(s=>e.valueComparator(i,s.value))||transformItem$3(e,i))}function a(o){return e.returnObject?o.map(i=>{let{raw:s}=i;return s}):o.map(i=>{let{value:s}=i;return s})}return{items:t,transformIn:r,transformOut:a}}function isPrimitive(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function transformItem$2(e,t){const n=getPropertyFromItem(t,e.itemType,"item"),r=isPrimitive(t)?t:getPropertyFromItem(t,e.itemTitle),a=getPropertyFromItem(t,e.itemValue,void 0),o=getPropertyFromItem(t,e.itemChildren),i=e.itemProps===!0?omit(t,["children"]):getPropertyFromItem(t,e.itemProps),s={title:r,value:a,...i};return{type:n,title:s.title,value:s.value,props:s,children:n==="item"&&o?transformItems$2(e,o):void 0,raw:t}}function transformItems$2(e,t){const n=[];for(const r of t)n.push(transformItem$2(e,r));return n}function useListItems(e){return{items:computed(()=>transformItems$2(e,e.items))}}const makeVListProps=propsFactory({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...makeNestedProps({selectStrategy:"single-leaf",openStrategy:"list"}),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),itemType:{type:String,default:"type"},...makeItemsProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VList"),VList=genericComponent()({name:"VList",props:makeVListProps(),emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,t){let{slots:n}=t;const{items:r}=useListItems(e),{themeClasses:a}=provideTheme(e),{backgroundColorClasses:o,backgroundColorStyles:i}=useBackgroundColor(toRef(e,"bgColor")),{borderClasses:s}=useBorder(e),{densityClasses:l}=useDensity(e),{dimensionStyles:c}=useDimension(e),{elevationClasses:u}=useElevation(e),{roundedClasses:f}=useRounded(e),{open:d,select:m}=useNested(e),y=computed(()=>e.lines?`v-list--${e.lines}-line`:void 0),g=toRef(e,"activeColor"),P=toRef(e,"baseColor"),v=toRef(e,"color");createList(),provideDefaults({VListGroup:{activeColor:g,baseColor:P,color:v},VListItem:{activeClass:toRef(e,"activeClass"),activeColor:g,baseColor:P,color:v,density:toRef(e,"density"),disabled:toRef(e,"disabled"),lines:toRef(e,"lines"),nav:toRef(e,"nav"),slim:toRef(e,"slim"),variant:toRef(e,"variant")}});const _=shallowRef(!1),b=ref();function S(E){_.value=!0}function C(E){_.value=!1}function k(E){var F;!_.value&&!(E.relatedTarget&&((F=b.value)!=null&&F.contains(E.relatedTarget)))&&w()}function T(E){if(b.value){if(E.key==="ArrowDown")w("next");else if(E.key==="ArrowUp")w("prev");else if(E.key==="Home")w("first");else if(E.key==="End")w("last");else return;E.preventDefault()}}function w(E){if(b.value)return focusChild(b.value,E)}return useRender(()=>createVNode(e.tag,{ref:b,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},a.value,o.value,s.value,l.value,u.value,y.value,f.value,e.class],style:[i.value,c.value,e.style],tabindex:e.disabled||_.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:S,onFocusout:C,onFocus:k,onKeydown:T},{default:()=>[createVNode(VListChildren,{items:r.value,returnObject:e.returnObject},n)]})),{open:d,select:m,focus:w}}}),VListImg=createSimpleFunctional("v-list-img"),makeVListItemActionProps=propsFactory({start:Boolean,end:Boolean,...makeComponentProps(),...makeTagProps()},"VListItemAction"),VListItemAction=genericComponent()({name:"VListItemAction",props:makeVListItemActionProps(),setup(e,t){let{slots:n}=t;return useRender(()=>createVNode(e.tag,{class:["v-list-item-action",{"v-list-item-action--start":e.start,"v-list-item-action--end":e.end},e.class],style:e.style},n)),{}}}),makeVListItemMediaProps=propsFactory({start:Boolean,end:Boolean,...makeComponentProps(),...makeTagProps()},"VListItemMedia"),VListItemMedia=genericComponent()({name:"VListItemMedia",props:makeVListItemMediaProps(),setup(e,t){let{slots:n}=t;return useRender(()=>createVNode(e.tag,{class:["v-list-item-media",{"v-list-item-media--start":e.start,"v-list-item-media--end":e.end},e.class],style:e.style},n)),{}}});function elementToViewport(e,t){return{x:e.x+t.x,y:e.y+t.y}}function getOffset$1(e,t){return{x:e.x-t.x,y:e.y-t.y}}function anchorToPoint(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:r}=e,a=r==="left"?0:r==="center"?t.width/2:r==="right"?t.width:r,o=n==="top"?0:n==="bottom"?t.height:n;return elementToViewport({x:a,y:o},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:r}=e,a=n==="left"?0:n==="right"?t.width:n,o=r==="top"?0:r==="center"?t.height/2:r==="bottom"?t.height:r;return elementToViewport({x:a,y:o},t)}return elementToViewport({x:t.width/2,y:t.height/2},t)}const locationStrategies={static:staticLocationStrategy,connected:connectedLocationStrategy},makeLocationStrategyProps=propsFactory({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in locationStrategies},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function useLocationStrategies(e,t){const n=ref({}),r=ref();IN_BROWSER&&(useToggleScope(()=>!!(t.isActive.value&&e.locationStrategy),o=>{var i,s;watch(()=>e.locationStrategy,o),onScopeDispose(()=>{r.value=void 0}),typeof e.locationStrategy=="function"?r.value=(i=e.locationStrategy(t,e,n))==null?void 0:i.updateLocation:r.value=(s=locationStrategies[e.locationStrategy](t,e,n))==null?void 0:s.updateLocation}),window.addEventListener("resize",a,{passive:!0}),onScopeDispose(()=>{window.removeEventListener("resize",a),r.value=void 0}));function a(o){var i;(i=r.value)==null||i.call(r,o)}return{contentStyles:n,updateLocation:r}}function staticLocationStrategy(){}function getIntrinsicSize(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const n=nullifyTransforms(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function connectedLocationStrategy(e,t,n){(Array.isArray(e.target.value)||isFixedPosition(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:a,preferredOrigin:o}=destructComputed(()=>{const y=parseAnchor(t.location,e.isRtl.value),g=t.origin==="overlap"?y:t.origin==="auto"?flipSide(y):parseAnchor(t.origin,e.isRtl.value);return y.side===g.side&&y.align===flipAlign(g).align?{preferredAnchor:flipCorner(y),preferredOrigin:flipCorner(g)}:{preferredAnchor:y,preferredOrigin:g}}),[i,s,l,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(y=>computed(()=>{const g=parseFloat(t[y]);return isNaN(g)?1/0:g})),u=computed(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const y=t.offset.split(" ").map(parseFloat);return y.length<2&&y.push(0),y}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let f=!1;const d=new ResizeObserver(()=>{f&&m()});watch([e.target,e.contentEl],(y,g)=>{let[P,v]=y,[_,b]=g;_&&!Array.isArray(_)&&d.unobserve(_),P&&!Array.isArray(P)&&d.observe(P),b&&d.unobserve(b),v&&d.observe(v)},{immediate:!0}),onScopeDispose(()=>{d.disconnect()});function m(){if(f=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>f=!0)}),!e.target.value||!e.contentEl.value)return;const y=getTargetBox(e.target.value),g=getIntrinsicSize(e.contentEl.value,e.isRtl.value),P=getScrollParents(e.contentEl.value),v=12;P.length||(P.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const _=P.reduce((L,N)=>{const O=N.getBoundingClientRect(),U=new Box({x:N===document.documentElement?0:O.x,y:N===document.documentElement?0:O.y,width:N.clientWidth,height:N.clientHeight});return L?new Box({x:Math.max(L.left,U.left),y:Math.max(L.top,U.top),width:Math.min(L.right,U.right)-Math.max(L.left,U.left),height:Math.min(L.bottom,U.bottom)-Math.max(L.top,U.top)}):U},void 0);_.x+=v,_.y+=v,_.width-=v*2,_.height-=v*2;let b={anchor:a.value,origin:o.value};function S(L){const N=new Box(g),O=anchorToPoint(L.anchor,y),U=anchorToPoint(L.origin,N);let{x:j,y:I}=getOffset$1(O,U);switch(L.anchor.side){case"top":I-=u.value[0];break;case"bottom":I+=u.value[0];break;case"left":j-=u.value[0];break;case"right":j+=u.value[0];break}switch(L.anchor.align){case"top":I-=u.value[1];break;case"bottom":I+=u.value[1];break;case"left":j-=u.value[1];break;case"right":j+=u.value[1];break}return N.x+=j,N.y+=I,N.width=Math.min(N.width,l.value),N.height=Math.min(N.height,c.value),{overflows:getOverflow(N,_),x:j,y:I}}let C=0,k=0;const T={x:0,y:0},w={x:!1,y:!1};let E=-1;for(;!(E++>10);){const{x:L,y:N,overflows:O}=S(b);C+=L,k+=N,g.x+=L,g.y+=N;{const U=getAxis(b.anchor),j=O.x.before||O.x.after,I=O.y.before||O.y.after;let M=!1;if(["x","y"].forEach(V=>{if(V==="x"&&j&&!w.x||V==="y"&&I&&!w.y){const R={anchor:{...b.anchor},origin:{...b.origin}},D=V==="x"?U==="y"?flipAlign:flipSide:U==="y"?flipSide:flipAlign;R.anchor=D(R.anchor),R.origin=D(R.origin);const{overflows:$}=S(R);($[V].before<=O[V].before&&$[V].after<=O[V].after||$[V].before+$[V].after<(O[V].before+O[V].after)/2)&&(b=R,M=w[V]=!0)}}),M)continue}O.x.before&&(C+=O.x.before,g.x+=O.x.before),O.x.after&&(C-=O.x.after,g.x-=O.x.after),O.y.before&&(k+=O.y.before,g.y+=O.y.before),O.y.after&&(k-=O.y.after,g.y-=O.y.after);{const U=getOverflow(g,_);T.x=_.width-U.x.before-U.x.after,T.y=_.height-U.y.before-U.y.after,C+=U.x.before,g.x+=U.x.before,k+=U.y.before,g.y+=U.y.before}break}const F=getAxis(b.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:convertToUnit(pixelRound(k)),left:e.isRtl.value?void 0:convertToUnit(pixelRound(C)),right:e.isRtl.value?convertToUnit(pixelRound(-C)):void 0,minWidth:convertToUnit(F==="y"?Math.min(i.value,y.width):i.value),maxWidth:convertToUnit(pixelCeil(clamp(T.x,i.value===1/0?0:i.value,l.value))),maxHeight:convertToUnit(pixelCeil(clamp(T.y,s.value===1/0?0:s.value,c.value)))}),{available:T,contentBox:g}}return watch(()=>[a.value,o.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>m()),nextTick(()=>{const y=m();if(!y)return;const{available:g,contentBox:P}=y;P.height>g.y&&requestAnimationFrame(()=>{m(),requestAnimationFrame(()=>{m()})})}),{updateLocation:m}}function pixelRound(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function pixelCeil(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let clean=!0;const frames=[];function requestNewFrame(e){!clean||frames.length?(frames.push(e),run()):(clean=!1,e(),run())}let raf=-1;function run(){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{const e=frames.shift();e&&e(),frames.length?run():clean=!0})}const scrollStrategies={none:null,close:closeScrollStrategy,block:blockScrollStrategy,reposition:repositionScrollStrategy},makeScrollStrategyProps=propsFactory({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in scrollStrategies}},"VOverlay-scroll-strategies");function useScrollStrategies(e,t){if(!IN_BROWSER)return;let n;watchEffect(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=effectScope(),await nextTick(),n.active&&n.run(()=>{var r;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(r=scrollStrategies[e.scrollStrategy])==null||r.call(scrollStrategies,t,e,n)}))}),onScopeDispose(()=>{n==null||n.stop()})}function closeScrollStrategy(e){function t(n){e.isActive.value=!1}bindScroll(e.targetEl.value??e.contentEl.value,t)}function blockScrollStrategy(e,t){var i;const n=(i=e.root.value)==null?void 0:i.offsetParent,r=[...new Set([...getScrollParents(e.targetEl.value,t.contained?n:void 0),...getScrollParents(e.contentEl.value,t.contained?n:void 0)])].filter(s=>!s.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,o=(s=>hasScrollbar(s)&&s)(n||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),r.forEach((s,l)=>{s.style.setProperty("--v-body-scroll-x",convertToUnit(-s.scrollLeft)),s.style.setProperty("--v-body-scroll-y",convertToUnit(-s.scrollTop)),s!==document.documentElement&&s.style.setProperty("--v-scrollbar-offset",convertToUnit(a)),s.classList.add("v-overlay-scroll-blocked")}),onScopeDispose(()=>{r.forEach((s,l)=>{const c=parseFloat(s.style.getPropertyValue("--v-body-scroll-x")),u=parseFloat(s.style.getPropertyValue("--v-body-scroll-y"));s.style.removeProperty("--v-body-scroll-x"),s.style.removeProperty("--v-body-scroll-y"),s.style.removeProperty("--v-scrollbar-offset"),s.classList.remove("v-overlay-scroll-blocked"),s.scrollLeft=-c,s.scrollTop=-u}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function repositionScrollStrategy(e,t,n){let r=!1,a=-1,o=-1;function i(s){requestNewFrame(()=>{var u,f;const l=performance.now();(f=(u=e.updateLocation).value)==null||f.call(u,s),r=(performance.now()-l)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?s=>s():requestIdleCallback)(()=>{n.run(()=>{bindScroll(e.targetEl.value??e.contentEl.value,s=>{r?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{i(s)})})):i(s)})})}),onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(a)})}function bindScroll(e,t){const n=[document,...getScrollParents(e)];n.forEach(r=>{r.addEventListener("scroll",t,{passive:!0})}),onScopeDispose(()=>{n.forEach(r=>{r.removeEventListener("scroll",t)})})}const VMenuSymbol=Symbol.for("vuetify:v-menu"),makeDelayProps=propsFactory({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function useDelay(e,t){const n={},r=a=>()=>{if(!IN_BROWSER)return Promise.resolve(!0);const o=a==="openDelay";return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise(i=>{const s=parseInt(e[a]??0,10);n[a]=window.setTimeout(()=>{t==null||t(o),i(o)},s)})};return{runCloseDelay:r("closeDelay"),runOpenDelay:r("openDelay")}}const makeActivatorProps=propsFactory({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...makeDelayProps()},"VOverlay-activator");function useActivator(e,t){let{isActive:n,isTop:r}=t;const a=getCurrentInstance("useActivator"),o=ref();let i=!1,s=!1,l=!0;const c=computed(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),u=computed(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:f,runCloseDelay:d}=useDelay(e,T=>{T===(e.openOnHover&&i||c.value&&s)&&!(e.openOnHover&&n.value&&!r.value)&&(n.value!==T&&(l=!0),n.value=T)}),m=ref(),y={onClick:T=>{T.stopPropagation(),o.value=T.currentTarget||T.target,n.value||(m.value=[T.clientX,T.clientY]),n.value=!n.value},onMouseenter:T=>{var w;(w=T.sourceCapabilities)!=null&&w.firesTouchEvents||(i=!0,o.value=T.currentTarget||T.target,f())},onMouseleave:T=>{i=!1,d()},onFocus:T=>{matchesSelector(T.target,":focus-visible")!==!1&&(s=!0,T.stopPropagation(),o.value=T.currentTarget||T.target,f())},onBlur:T=>{s=!1,T.stopPropagation(),d()}},g=computed(()=>{const T={};return u.value&&(T.onClick=y.onClick),e.openOnHover&&(T.onMouseenter=y.onMouseenter,T.onMouseleave=y.onMouseleave),c.value&&(T.onFocus=y.onFocus,T.onBlur=y.onBlur),T}),P=computed(()=>{const T={};if(e.openOnHover&&(T.onMouseenter=()=>{i=!0,f()},T.onMouseleave=()=>{i=!1,d()}),c.value&&(T.onFocusin=()=>{s=!0,f()},T.onFocusout=()=>{s=!1,d()}),e.closeOnContentClick){const w=inject$1(VMenuSymbol,null);T.onClick=()=>{n.value=!1,w==null||w.closeParents()}}return T}),v=computed(()=>{const T={};return e.openOnHover&&(T.onMouseenter=()=>{l&&(i=!0,l=!1,f())},T.onMouseleave=()=>{i=!1,d()}),T});watch(r,T=>{T&&(e.openOnHover&&!i&&(!c.value||!s)||c.value&&!s&&(!e.openOnHover||!i))&&(n.value=!1)}),watch(n,T=>{T||setTimeout(()=>{m.value=void 0})},{flush:"post"});const _=ref();watchEffect(()=>{_.value&&nextTick(()=>{o.value=refElement(_.value)})});const b=ref(),S=computed(()=>e.target==="cursor"&&m.value?m.value:b.value?refElement(b.value):getTarget(e.target,a)||o.value),C=computed(()=>Array.isArray(S.value)?void 0:S.value);let k;return watch(()=>!!e.activator,T=>{T&&IN_BROWSER?(k=effectScope(),k.run(()=>{_useActivator(e,a,{activatorEl:o,activatorEvents:g})})):k&&k.stop()},{flush:"post",immediate:!0}),onScopeDispose(()=>{k==null||k.stop()}),{activatorEl:o,activatorRef:_,target:S,targetEl:C,targetRef:b,activatorEvents:g,contentEvents:P,scrimEvents:v}}function _useActivator(e,t,n){let{activatorEl:r,activatorEvents:a}=n;watch(()=>e.activator,(l,c)=>{if(c&&l!==c){const u=s(c);u&&i(u)}l&&nextTick(()=>o())},{immediate:!0}),watch(()=>e.activatorProps,()=>{o()}),onScopeDispose(()=>{i()});function o(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&bindProps(l,mergeProps(a.value,c))}function i(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&unbindProps(l,mergeProps(a.value,c))}function s(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const c=getTarget(l,t);return r.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:void 0,r.value}}function getTarget(e,t){var r,a;if(!e)return;let n;if(e==="parent"){let o=(a=(r=t==null?void 0:t.proxy)==null?void 0:r.$el)==null?void 0:a.parentNode;for(;o!=null&&o.hasAttribute("data-no-activator");)o=o.parentNode;n=o}else typeof e=="string"?n=document.querySelector(e):"$el"in e?n=e.$el:n=e;return n}function useHydration(){if(!IN_BROWSER)return shallowRef(!1);const{ssr:e}=useDisplay();if(e){const t=shallowRef(!1);return onMounted(()=>{t.value=!0}),t}else return shallowRef(!0)}const makeLazyProps=propsFactory({eager:Boolean},"lazy");function useLazy(e,t){const n=shallowRef(!1),r=computed(()=>n.value||e.eager||t.value);watch(t,()=>n.value=!0);function a(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:a}}function useScopeId(){const t=getCurrentInstance("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const StackSymbol=Symbol.for("vuetify:stack"),globalStack=reactive([]);function useStack(e,t,n){const r=getCurrentInstance("useStack"),a=!n,o=inject$1(StackSymbol,void 0),i=reactive({activeChildren:new Set});provide(StackSymbol,i);const s=shallowRef(+t.value);useToggleScope(e,()=>{var f;const u=(f=globalStack.at(-1))==null?void 0:f[1];s.value=u?u+10:+t.value,a&&globalStack.push([r.uid,s.value]),o==null||o.activeChildren.add(r.uid),onScopeDispose(()=>{if(a){const d=toRaw(globalStack).findIndex(m=>m[0]===r.uid);globalStack.splice(d,1)}o==null||o.activeChildren.delete(r.uid)})});const l=shallowRef(!0);a&&watchEffect(()=>{var f;const u=((f=globalStack.at(-1))==null?void 0:f[0])===r.uid;setTimeout(()=>l.value=u)});const c=computed(()=>!i.activeChildren.size);return{globalTop:readonly(l),localTop:c,stackStyles:computed(()=>({zIndex:s.value}))}}function useTeleport(e){return{teleportTarget:computed(()=>{const n=e.value;if(n===!0||!IN_BROWSER)return;const r=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(r==null)return;let a=r.querySelector(":scope > .v-overlay-container");return a||(a=document.createElement("div"),a.className="v-overlay-container",r.appendChild(a)),a})}}function defaultConditional(){return!0}function checkEvent(e,t,n){if(!e||checkIsActive(e,n)===!1)return!1;const r=attachedRoot(t);if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&r.host===e.target)return!1;const a=(typeof n.value=="object"&&n.value.include||(()=>[]))();return a.push(t),!a.some(o=>o==null?void 0:o.contains(e.target))}function checkIsActive(e,t){return(typeof t.value=="object"&&t.value.closeConditional||defaultConditional)(e)}function directive(e,t,n){const r=typeof n.value=="function"?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&checkEvent(e,t,n)&&setTimeout(()=>{checkIsActive(e,n)&&r&&r(e)},0)}function handleShadow(e,t){const n=attachedRoot(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const ClickOutside={mounted(e,t){const n=a=>directive(a,e,t),r=a=>{e._clickOutside.lastMousedownWasOutside=checkEvent(a,e,t)};handleShadow(e,a=>{a.addEventListener("click",n,!0),a.addEventListener("mousedown",r,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},unmounted(e,t){e._clickOutside&&(handleShadow(e,n=>{var o;if(!n||!((o=e._clickOutside)!=null&&o[t.instance.$.uid]))return;const{onClick:r,onMousedown:a}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",r,!0),n.removeEventListener("mousedown",a,!0)}),delete e._clickOutside[t.instance.$.uid])}};function Scrim(e){const{modelValue:t,color:n,...r}=e;return createVNode(Transition,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&createVNode("div",mergeProps({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const makeVOverlayProps=propsFactory({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...makeActivatorProps(),...makeComponentProps(),...makeDimensionProps(),...makeLazyProps(),...makeLocationStrategyProps(),...makeScrollStrategyProps(),...makeThemeProps(),...makeTransitionProps()},"VOverlay"),VOverlay=genericComponent()({name:"VOverlay",directives:{ClickOutside},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...makeVOverlayProps()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:r,emit:a}=t;const o=useProxiedModel(e,"modelValue"),i=computed({get:()=>o.value,set:G=>{G&&e.disabled||(o.value=G)}}),{teleportTarget:s}=useTeleport(computed(()=>e.attach||e.contained)),{themeClasses:l}=provideTheme(e),{rtlClasses:c,isRtl:u}=useRtl(),{hasContent:f,onAfterLeave:d}=useLazy(e,i),m=useBackgroundColor(computed(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:y,localTop:g,stackStyles:P}=useStack(i,toRef(e,"zIndex"),e._disableGlobalStack),{activatorEl:v,activatorRef:_,target:b,targetEl:S,targetRef:C,activatorEvents:k,contentEvents:T,scrimEvents:w}=useActivator(e,{isActive:i,isTop:g}),{dimensionStyles:E}=useDimension(e),F=useHydration(),{scopeId:L}=useScopeId();watch(()=>e.disabled,G=>{G&&(i.value=!1)});const N=ref(),O=ref(),{contentStyles:U,updateLocation:j}=useLocationStrategies(e,{isRtl:u,contentEl:O,target:b,isActive:i});useScrollStrategies(e,{root:N,contentEl:O,targetEl:S,isActive:i,updateLocation:j});function I(G){a("click:outside",G),e.persistent?$():i.value=!1}function M(){return i.value&&y.value}IN_BROWSER&&watch(i,G=>{G?window.addEventListener("keydown",V):window.removeEventListener("keydown",V)},{immediate:!0});function V(G){var ne,oe;G.key==="Escape"&&y.value&&(e.persistent?$():(i.value=!1,(ne=O.value)!=null&&ne.contains(document.activeElement)&&((oe=v.value)==null||oe.focus())))}const R=useRouter();useToggleScope(()=>e.closeOnBack,()=>{useBackButton(R,G=>{y.value&&i.value?(G(!1),e.persistent?$():i.value=!1):G()})});const D=ref();watch(()=>i.value&&(e.absolute||e.contained)&&s.value==null,G=>{if(G){const ne=getScrollParent(N.value);ne&&ne!==document.scrollingElement&&(D.value=ne.scrollTop)}});function $(){e.noClickAnimation||O.value&&animate(O.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:standardEasing})}return useRender(()=>{var G;return createVNode(Fragment,null,[(G=n.activator)==null?void 0:G.call(n,{isActive:i.value,props:mergeProps({ref:_,targetRef:C},k.value,e.activatorProps)}),F.value&&f.value&&createVNode(Teleport,{disabled:!s.value,to:s.value},{default:()=>[createVNode("div",mergeProps({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":i.value,"v-overlay--contained":e.contained},l.value,c.value,e.class],style:[P.value,{top:convertToUnit(D.value)},e.style],ref:N},L,r),[createVNode(Scrim,mergeProps({color:m,modelValue:i.value&&!!e.scrim},w.value),null),createVNode(MaybeTransition,{appear:!0,persisted:!0,transition:e.transition,target:b.value,onAfterLeave:()=>{d(),a("afterLeave")}},{default:()=>{var ne;return[withDirectives(createVNode("div",mergeProps({ref:O,class:["v-overlay__content",e.contentClass],style:[E.value,U.value]},T.value,e.contentProps),[(ne=n.default)==null?void 0:ne.call(n,{isActive:i})]),[[vShow,i.value],[resolveDirective("click-outside"),{handler:I,closeConditional:M,include:()=>[v.value]}]])]}})])]})])}),{activatorEl:v,target:b,animateClick:$,contentEl:O,globalTop:y,localTop:g,updateLocation:j}}}),Refs=Symbol("Forwarded refs");function getDescriptor(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function forwardRefs(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e[Refs]=n,new Proxy(e,{get(a,o){if(Reflect.has(a,o))return Reflect.get(a,o);if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const i of n)if(i.value&&Reflect.has(i.value,o)){const s=Reflect.get(i.value,o);return typeof s=="function"?s.bind(i.value):s}}},has(a,o){if(Reflect.has(a,o))return!0;if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const i of n)if(i.value&&Reflect.has(i.value,o))return!0;return!1},set(a,o,i){if(Reflect.has(a,o))return Reflect.set(a,o,i);if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const s of n)if(s.value&&Reflect.has(s.value,o))return Reflect.set(s.value,o,i);return!1},getOwnPropertyDescriptor(a,o){var s;const i=Reflect.getOwnPropertyDescriptor(a,o);if(i)return i;if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const l of n){if(!l.value)continue;const c=getDescriptor(l.value,o)??("_"in l.value?getDescriptor((s=l.value._)==null?void 0:s.setupState,o):void 0);if(c)return c}for(const l of n){const c=l.value&&l.value[Refs];if(!c)continue;const u=c.slice();for(;u.length;){const f=u.shift(),d=getDescriptor(f.value,o);if(d)return d;const m=f.value&&f.value[Refs];m&&u.push(...m)}}}}})}const makeVMenuProps=propsFactory({id:String,...omit(makeVOverlayProps({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:VDialogTransition}}),["absolute"])},"VMenu"),VMenu=genericComponent()({name:"VMenu",props:makeVMenuProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"modelValue"),{scopeId:a}=useScopeId(),o=getUid(),i=computed(()=>e.id||`v-menu-${o}`),s=ref(),l=inject$1(VMenuSymbol,null),c=shallowRef(0);provide(VMenuSymbol,{register(){++c.value},unregister(){--c.value},closeParents(){setTimeout(()=>{c.value||(r.value=!1,l==null||l.closeParents())},40)}});async function u(g){var _,b,S;const P=g.relatedTarget,v=g.target;await nextTick(),r.value&&P!==v&&((_=s.value)!=null&&_.contentEl)&&((b=s.value)!=null&&b.globalTop)&&![document,s.value.contentEl].includes(v)&&!s.value.contentEl.contains(v)&&((S=focusableChildren(s.value.contentEl)[0])==null||S.focus())}watch(r,g=>{g?(l==null||l.register(),document.addEventListener("focusin",u,{once:!0})):(l==null||l.unregister(),document.removeEventListener("focusin",u))});function f(){l==null||l.closeParents()}function d(g){var P,v,_;e.disabled||g.key==="Tab"&&(getNextElement(focusableChildren((P=s.value)==null?void 0:P.contentEl,!1),g.shiftKey?"prev":"next",S=>S.tabIndex>=0)||(r.value=!1,(_=(v=s.value)==null?void 0:v.activatorEl)==null||_.focus()))}function m(g){var v;if(e.disabled)return;const P=(v=s.value)==null?void 0:v.contentEl;P&&r.value?g.key==="ArrowDown"?(g.preventDefault(),focusChild(P,"next")):g.key==="ArrowUp"&&(g.preventDefault(),focusChild(P,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(r.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>m(g))))}const y=computed(()=>mergeProps({"aria-haspopup":"menu","aria-expanded":String(r.value),"aria-owns":i.value,onKeydown:m},e.activatorProps));return useRender(()=>{const g=VOverlay.filterProps(e);return createVNode(VOverlay,mergeProps({ref:s,class:["v-menu",e.class],style:e.style},g,{modelValue:r.value,"onUpdate:modelValue":P=>r.value=P,absolute:!0,activatorProps:y.value,"onClick:outside":f,onKeydown:d},a),{activator:n.activator,default:function(){for(var P=arguments.length,v=new Array(P),_=0;_<P;_++)v[_]=arguments[_];return createVNode(VDefaultsProvider,{root:"VMenu"},{default:()=>{var b;return[(b=n.default)==null?void 0:b.call(n,...v)]}})}})}),forwardRefs({id:i,ΨopenChildren:c},s)}}),makeVCounterProps=propsFactory({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...makeComponentProps(),...makeTransitionProps({transition:{component:VSlideYTransition}})},"VCounter"),VCounter=genericComponent()({name:"VCounter",functional:!0,props:makeVCounterProps(),setup(e,t){let{slots:n}=t;const r=computed(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return useRender(()=>createVNode(MaybeTransition,{transition:e.transition},{default:()=>[withDirectives(createVNode("div",{class:["v-counter",e.class],style:e.style},[n.default?n.default({counter:r.value,max:e.max,value:e.value}):r.value]),[[vShow,e.active]])]})),{}}}),makeVFieldLabelProps=propsFactory({floating:Boolean,...makeComponentProps()},"VFieldLabel"),VFieldLabel=genericComponent()({name:"VFieldLabel",props:makeVFieldLabelProps(),setup(e,t){let{slots:n}=t;return useRender(()=>createVNode(VLabel,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},n)),{}}}),allowedVariants$1=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],makeVFieldProps=propsFactory({appendInnerIcon:IconValue,bgColor:String,clearable:Boolean,clearIcon:{type:IconValue,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:IconValue,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>allowedVariants$1.includes(e)},"onClick:clear":EventProp(),"onClick:appendInner":EventProp(),"onClick:prependInner":EventProp(),...makeComponentProps(),...makeLoaderProps(),...makeRoundedProps(),...makeThemeProps()},"VField"),VField=genericComponent()({name:"VField",inheritAttrs:!1,props:{id:String,...makeFocusProps(),...makeVFieldProps()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:a}=t;const{themeClasses:o}=provideTheme(e),{loaderClasses:i}=useLoader(e),{focusClasses:s,isFocused:l,focus:c,blur:u}=useFocus(e),{InputIcon:f}=useInputIcon(e),{roundedClasses:d}=useRounded(e),{rtlClasses:m}=useRtl(),y=computed(()=>e.dirty||e.active),g=computed(()=>!e.singleLine&&!!(e.label||a.label)),P=getUid(),v=computed(()=>e.id||`input-${P}`),_=computed(()=>`${v.value}-messages`),b=ref(),S=ref(),C=ref(),k=computed(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:T,backgroundColorStyles:w}=useBackgroundColor(toRef(e,"bgColor")),{textColorClasses:E,textColorStyles:F}=useTextColor(computed(()=>e.error||e.disabled?void 0:y.value&&l.value?e.color:e.baseColor));watch(y,O=>{if(g.value){const U=b.value.$el,j=S.value.$el;requestAnimationFrame(()=>{const I=nullifyTransforms(U),M=j.getBoundingClientRect(),V=M.x-I.x,R=M.y-I.y-(I.height/2-M.height/2),D=M.width/.75,$=Math.abs(D-I.width)>1?{maxWidth:convertToUnit(D)}:void 0,G=getComputedStyle(U),ne=getComputedStyle(j),oe=parseFloat(G.transitionDuration)*1e3||150,ce=parseFloat(ne.getPropertyValue("--v-field-label-scale")),ee=ne.getPropertyValue("color");U.style.visibility="visible",j.style.visibility="hidden",animate(U,{transform:`translate(${V}px, ${R}px) scale(${ce})`,color:ee,...$},{duration:oe,easing:standardEasing,direction:O?"normal":"reverse"}).finished.then(()=>{U.style.removeProperty("visibility"),j.style.removeProperty("visibility")})})}},{flush:"post"});const L=computed(()=>({isActive:y,isFocused:l,controlRef:C,blur:u,focus:c}));function N(O){O.target!==document.activeElement&&O.preventDefault()}return useRender(()=>{var V,R,D;const O=e.variant==="outlined",U=a["prepend-inner"]||e.prependInnerIcon,j=!!(e.clearable||a.clear),I=!!(a["append-inner"]||e.appendInnerIcon||j),M=a.label?a.label({...L.value,label:e.label,props:{for:v.value}}):e.label;return createVNode("div",mergeProps({class:["v-field",{"v-field--active":y.value,"v-field--appended":I,"v-field--center-affix":e.centerAffix??!k.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":U,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!M,[`v-field--variant-${e.variant}`]:!0},o.value,T.value,s.value,i.value,d.value,m.value,e.class],style:[w.value,e.style],onClick:N},n),[createVNode("div",{class:"v-field__overlay"},null),createVNode(LoaderSlot,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:a.loader}),U&&createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&createVNode(f,{key:"prepend-icon",name:"prependInner"},null),(V=a["prepend-inner"])==null?void 0:V.call(a,L.value)]),createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&g.value&&createVNode(VFieldLabel,{key:"floating-label",ref:S,class:[E.value],floating:!0,for:v.value,style:F.value},{default:()=>[M]}),createVNode(VFieldLabel,{ref:b,for:v.value},{default:()=>[M]}),(R=a.default)==null?void 0:R.call(a,{...L.value,props:{id:v.value,class:"v-field__input","aria-describedby":_.value},focus:c,blur:u})]),j&&createVNode(VExpandXTransition,{key:"clear"},{default:()=>[withDirectives(createVNode("div",{class:"v-field__clearable",onMousedown:$=>{$.preventDefault(),$.stopPropagation()}},[a.clear?a.clear():createVNode(f,{name:"clear"},null)]),[[vShow,e.dirty]])]}),I&&createVNode("div",{key:"append",class:"v-field__append-inner"},[(D=a["append-inner"])==null?void 0:D.call(a,L.value),e.appendInnerIcon&&createVNode(f,{key:"append-icon",name:"appendInner"},null)]),createVNode("div",{class:["v-field__outline",E.value],style:F.value},[O&&createVNode(Fragment,null,[createVNode("div",{class:"v-field__outline__start"},null),g.value&&createVNode("div",{class:"v-field__outline__notch"},[createVNode(VFieldLabel,{ref:S,floating:!0,for:v.value},{default:()=>[M]})]),createVNode("div",{class:"v-field__outline__end"},null)]),k.value&&g.value&&createVNode(VFieldLabel,{ref:S,floating:!0,for:v.value},{default:()=>[M]})])])}),{controlRef:C}}});function filterFieldProps(e){const t=Object.keys(VField.props).filter(n=>!isOn(n)&&n!=="class"&&n!=="style");return pick(e,t)}const activeTypes=["color","file","time","date","datetime-local","week","month"],makeVTextFieldProps=propsFactory({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...makeVInputProps(),...makeVFieldProps()},"VTextField"),VTextField=genericComponent()({name:"VTextField",directives:{Intersect},inheritAttrs:!1,props:makeVTextFieldProps(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:a}=t;const o=useProxiedModel(e,"modelValue"),{isFocused:i,focus:s,blur:l}=useFocus(e),c=computed(()=>typeof e.counterValue=="function"?e.counterValue(o.value):typeof e.counterValue=="number"?e.counterValue:(o.value??"").toString().length),u=computed(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),f=computed(()=>["plain","underlined"].includes(e.variant));function d(k,T){var w,E;!e.autofocus||!k||(E=(w=T[0].target)==null?void 0:w.focus)==null||E.call(w)}const m=ref(),y=ref(),g=ref(),P=computed(()=>activeTypes.includes(e.type)||e.persistentPlaceholder||i.value||e.active);function v(){var k;g.value!==document.activeElement&&((k=g.value)==null||k.focus()),i.value||s()}function _(k){r("mousedown:control",k),k.target!==g.value&&(v(),k.preventDefault())}function b(k){v(),r("click:control",k)}function S(k){k.stopPropagation(),v(),nextTick(()=>{o.value=null,callEvent(e["onClick:clear"],k)})}function C(k){var w;const T=k.target;if(o.value=T.value,(w=e.modelModifiers)!=null&&w.trim&&["text","search","password","tel","url"].includes(e.type)){const E=[T.selectionStart,T.selectionEnd];nextTick(()=>{T.selectionStart=E[0],T.selectionEnd=E[1]})}}return useRender(()=>{const k=!!(a.counter||e.counter!==!1&&e.counter!=null),T=!!(k||a.details),[w,E]=filterInputAttrs(n),{modelValue:F,...L}=VInput.filterProps(e),N=filterFieldProps(e);return createVNode(VInput,mergeProps({ref:m,modelValue:o.value,"onUpdate:modelValue":O=>o.value=O,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":f.value},e.class],style:e.style},w,L,{centerAffix:!f.value,focused:i.value}),{...a,default:O=>{let{id:U,isDisabled:j,isDirty:I,isReadonly:M,isValid:V}=O;return createVNode(VField,mergeProps({ref:y,onMousedown:_,onClick:b,"onClick:clear":S,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},N,{id:U.value,active:P.value||I.value,dirty:I.value||e.dirty,disabled:j.value,focused:i.value,error:V.value===!1}),{...a,default:R=>{let{props:{class:D,...$}}=R;const G=withDirectives(createVNode("input",mergeProps({ref:g,value:o.value,onInput:C,autofocus:e.autofocus,readonly:M.value,disabled:j.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:v,onBlur:l},$,E),null),[[resolveDirective("intersect"),{handler:d},null,{once:!0}]]);return createVNode(Fragment,null,[e.prefix&&createVNode("span",{class:"v-text-field__prefix"},[createVNode("span",{class:"v-text-field__prefix__text"},[e.prefix])]),a.default?createVNode("div",{class:D,"data-no-activator":""},[a.default(),G]):cloneVNode(G,{class:D}),e.suffix&&createVNode("span",{class:"v-text-field__suffix"},[createVNode("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:T?O=>{var U;return createVNode(Fragment,null,[(U=a.details)==null?void 0:U.call(a,O),k&&createVNode(Fragment,null,[createVNode("span",null,null),createVNode(VCounter,{active:e.persistentCounter||i.value,value:c.value,max:u.value},a.counter)])])}:void 0})}),forwardRefs({},m,y,g)}}),makeVVirtualScrollItemProps=propsFactory({renderless:Boolean,...makeComponentProps()},"VVirtualScrollItem"),VVirtualScrollItem=genericComponent()({name:"VVirtualScrollItem",inheritAttrs:!1,props:makeVVirtualScrollItemProps(),emits:{"update:height":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:a}=t;const{resizeRef:o,contentRect:i}=useResizeObserver(void 0,"border");watch(()=>{var s;return(s=i.value)==null?void 0:s.height},s=>{s!=null&&r("update:height",s)}),useRender(()=>{var s,l;return e.renderless?createVNode(Fragment,null,[(s=a.default)==null?void 0:s.call(a,{itemRef:o})]):createVNode("div",mergeProps({ref:o,class:["v-virtual-scroll__item",e.class],style:e.style},n),[(l=a.default)==null?void 0:l.call(a)])})}}),UP=-1,DOWN=1,BUFFER_PX=100,makeVirtualProps=propsFactory({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function useVirtual(e,t){const n=useDisplay(),r=shallowRef(0);watchEffect(()=>{r.value=parseFloat(e.itemHeight||0)});const a=shallowRef(0),o=shallowRef(Math.ceil((parseInt(e.height)||n.height.value)/(r.value||16))||1),i=shallowRef(0),s=shallowRef(0),l=ref(),c=ref();let u=0;const{resizeRef:f,contentRect:d}=useResizeObserver();watchEffect(()=>{f.value=l.value});const m=computed(()=>{var D;return l.value===document.documentElement?n.height.value:((D=d.value)==null?void 0:D.height)||parseInt(e.height)||0}),y=computed(()=>!!(l.value&&c.value&&m.value&&r.value)),g=new Map;let P=Array.from({length:t.value.length});const v=Array.from({length:t.value.length}),_=shallowRef(0);let b=-1;function S(D){return P[D]||r.value}const C=debounce(()=>{const D=performance.now();v[0]=0;const $=t.value.length;for(let G=1;G<=$-1;G++)v[G]=(v[G-1]||0)+S(G-1);_.value=Math.max(_.value,performance.now()-D)},_),k=watch(y,D=>{D&&(k(),u=c.value.offsetTop,C.immediate(),I(),~b&&nextTick(()=>{IN_BROWSER&&window.requestAnimationFrame(()=>{V(b),b=-1})}))});watch(m,(D,$)=>{$&&I()}),onScopeDispose(()=>{C.clear()});function T(D,$){const G=P[D],ne=r.value;r.value=ne?Math.min(r.value,$):$,(G!==$||ne!==r.value)&&(P[D]=$,g.set(t.value[D],$),C())}function w(D){return D=clamp(D,0,t.value.length-1),v[D]||0}function E(D){return binaryClosest(v,D)}let F=0,L=0,N=0;function O(){if(!l.value||!c.value)return;const D=l.value.scrollTop,$=performance.now();$-N>500?(L=Math.sign(D-F),u=c.value.offsetTop):L=D-F,F=D,N=$,I()}function U(){!l.value||!c.value||(L=0,N=0,I())}let j=-1;function I(){cancelAnimationFrame(j),j=requestAnimationFrame(M)}function M(){if(!l.value||!m.value)return;const D=F-u,$=Math.sign(L),G=Math.max(0,D-BUFFER_PX),ne=clamp(E(G),0,t.value.length),oe=D+m.value+BUFFER_PX,ce=clamp(E(oe)+1,ne+1,t.value.length);if(($!==UP||ne<a.value)&&($!==DOWN||ce>o.value)){const ee=w(a.value)-w(ne),Y=w(ce)-w(o.value);Math.max(ee,Y)>BUFFER_PX?(a.value=ne,o.value=ce):(ne<=0&&(a.value=ne),ce>=t.value.length&&(o.value=ce))}i.value=w(a.value),s.value=w(t.value.length)-w(o.value)}function V(D){const $=w(D);!l.value||D&&!$?b=D:l.value.scrollTop=$}const R=computed(()=>t.value.slice(a.value,o.value).map((D,$)=>({raw:D,index:$+a.value})));return watch(()=>t.value.length,()=>{P=createRange(t.value.length).map(()=>r.value),g.forEach((D,$)=>{const G=t.value.indexOf($);G===-1?g.delete($):P[G]=D}),I()}),{containerRef:l,markerRef:c,computedItems:R,paddingTop:i,paddingBottom:s,scrollToIndex:V,handleScroll:O,handleScrollend:U,handleItemResize:T}}function binaryClosest(e,t){let n=e.length-1,r=0,a=0,o=null,i=-1;if(e[n]<t)return n;for(;r<=n;)if(a=r+n>>1,o=e[a],o>t)n=a-1;else if(o<t)i=a,r=a+1;else return o===t?a:r;return i}const makeVVirtualScrollProps=propsFactory({items:{type:Array,default:()=>[]},renderless:Boolean,...makeVirtualProps(),...makeComponentProps(),...makeDimensionProps()},"VVirtualScroll"),VVirtualScroll=genericComponent()({name:"VVirtualScroll",props:makeVVirtualScrollProps(),setup(e,t){let{slots:n}=t;const r=getCurrentInstance("VVirtualScroll"),{dimensionStyles:a}=useDimension(e),{containerRef:o,markerRef:i,handleScroll:s,handleScrollend:l,handleItemResize:c,scrollToIndex:u,paddingTop:f,paddingBottom:d,computedItems:m}=useVirtual(e,toRef(e,"items"));return useToggleScope(()=>e.renderless,()=>{function y(){var v,_;const P=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";o.value===document.documentElement?(document[P]("scroll",s,{passive:!0}),document[P]("scrollend",l)):((v=o.value)==null||v[P]("scroll",s,{passive:!0}),(_=o.value)==null||_[P]("scrollend",l))}onMounted(()=>{o.value=getScrollParent(r.vnode.el,!0),y(!0)}),onScopeDispose(y)}),useRender(()=>{const y=m.value.map(g=>createVNode(VVirtualScrollItem,{key:g.index,renderless:e.renderless,"onUpdate:height":P=>c(g.index,P)},{default:P=>{var v;return(v=n.default)==null?void 0:v.call(n,{item:g.raw,index:g.index,...P})}}));return e.renderless?createVNode(Fragment,null,[createVNode("div",{ref:i,class:"v-virtual-scroll__spacer",style:{paddingTop:convertToUnit(f.value)}},null),y,createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:convertToUnit(d.value)}},null)]):createVNode("div",{ref:o,class:["v-virtual-scroll",e.class],onScrollPassive:s,onScrollend:l,style:[a.value,e.style]},[createVNode("div",{ref:i,class:"v-virtual-scroll__container",style:{paddingTop:convertToUnit(f.value),paddingBottom:convertToUnit(d.value)}},[y])])}),{scrollToIndex:u}}});function useScrolling(e,t){const n=shallowRef(!1);let r;function a(s){cancelAnimationFrame(r),n.value=!0,r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{n.value=!1})})}async function o(){await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>{if(n.value){const l=watch(n,()=>{l(),s()})}else s()})}async function i(s){var u,f;if(s.key==="Tab"&&((u=t.value)==null||u.focus()),!["PageDown","PageUp","Home","End"].includes(s.key))return;const l=(f=e.value)==null?void 0:f.$el;if(!l)return;(s.key==="Home"||s.key==="End")&&l.scrollTo({top:s.key==="Home"?0:l.scrollHeight,behavior:"smooth"}),await o();const c=l.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(s.key==="PageDown"||s.key==="Home"){const d=l.getBoundingClientRect().top;for(const m of c)if(m.getBoundingClientRect().top>=d){m.focus();break}}else{const d=l.getBoundingClientRect().bottom;for(const m of[...c].reverse())if(m.getBoundingClientRect().bottom<=d){m.focus();break}}}return{onListScroll:a,onListKeydown:i}}const makeSelectProps=propsFactory({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:IconValue,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...makeItemsProps({itemChildren:!1})},"Select"),makeVSelectProps=propsFactory({...makeSelectProps(),...omit(makeVTextFieldProps({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps({transition:{component:VDialogTransition}})},"VSelect"),VSelect=genericComponent()({name:"VSelect",props:makeVSelectProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:n}=t;const{t:r}=useLocale(),a=ref(),o=ref(),i=ref(),s=useProxiedModel(e,"menu"),l=computed({get:()=>s.value,set:I=>{var M;s.value&&!I&&((M=o.value)!=null&&M.ΨopenChildren)||(s.value=I)}}),{items:c,transformIn:u,transformOut:f}=useItems(e),d=useProxiedModel(e,"modelValue",[],I=>u(I===null?[null]:wrapInArray(I)),I=>{const M=f(I);return e.multiple?M:M[0]??null}),m=useForm(),y=computed(()=>d.value.map(I=>I.value)),g=shallowRef(!1),P=computed(()=>l.value?e.closeText:e.openText);let v="",_;const b=computed(()=>e.hideSelected?c.value.filter(I=>!d.value.some(M=>M===I)):c.value),S=computed(()=>e.hideNoData&&!c.value.length||e.readonly||(m==null?void 0:m.isReadonly.value)),C=ref(),{onListScroll:k,onListKeydown:T}=useScrolling(C,a);function w(I){e.openOnClear&&(l.value=!0)}function E(){S.value||(l.value=!l.value)}function F(I){var $,G;if(!I.key||e.readonly||m!=null&&m.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(I.key)&&I.preventDefault(),["Enter","ArrowDown"," "].includes(I.key)&&(l.value=!0),["Escape","Tab"].includes(I.key)&&(l.value=!1),I.key==="Home"?($=C.value)==null||$.focus("first"):I.key==="End"&&((G=C.value)==null||G.focus("last"));const M=1e3;function V(ne){const oe=ne.key.length===1,ce=!ne.ctrlKey&&!ne.metaKey&&!ne.altKey;return oe&&ce}if(e.multiple||!V(I))return;const R=performance.now();R-_>M&&(v=""),v+=I.key.toLowerCase(),_=R;const D=c.value.find(ne=>ne.title.toLowerCase().startsWith(v));D!==void 0&&(d.value=[D])}function L(I){if(e.multiple){const M=d.value.findIndex(V=>e.valueComparator(V.value,I.value));if(M===-1)d.value=[...d.value,I];else{const V=[...d.value];V.splice(M,1),d.value=V}}else d.value=[I],l.value=!1}function N(I){var M;(M=C.value)!=null&&M.$el.contains(I.relatedTarget)||(l.value=!1)}function O(){var I;g.value&&((I=a.value)==null||I.focus())}function U(I){g.value=!0}function j(I){if(I==null)d.value=[];else if(matchesSelector(a.value,":autofill")||matchesSelector(a.value,":-webkit-autofill")){const M=c.value.find(V=>V.title===I);M&&L(M)}else a.value&&(a.value.value="")}return watch(l,()=>{if(!e.hideSelected&&l.value&&d.value.length){const I=b.value.findIndex(M=>d.value.some(V=>e.valueComparator(V.value,M.value)));IN_BROWSER&&window.requestAnimationFrame(()=>{var M;I>=0&&((M=i.value)==null||M.scrollToIndex(I))})}}),useRender(()=>{const I=!!(e.chips||n.chip),M=!!(!e.hideNoData||b.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),V=d.value.length>0,R=VTextField.filterProps(e),D=V||!g.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return createVNode(VTextField,mergeProps({ref:a},R,{modelValue:d.value.map($=>$.props.value).join(", "),"onUpdate:modelValue":j,focused:g.value,"onUpdate:focused":$=>g.value=$,validationValue:d.externalValue,counterValue:d.value.length,dirty:V,class:["v-select",{"v-select--active-menu":l.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":d.value.length,"v-select--selection-slot":!!n.selection},e.class],style:e.style,inputmode:"none",placeholder:D,"onClick:clear":w,"onMousedown:control":E,onBlur:N,onKeydown:F,"aria-label":r(P.value),title:r(P.value)}),{...n,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:o,modelValue:l.value,"onUpdate:modelValue":$=>l.value=$,activator:"parent",contentClass:"v-select__content",disabled:S.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:O},e.menuProps),{default:()=>[M&&createVNode(VList,{ref:C,selected:y.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:$=>$.preventDefault(),onKeydown:T,onFocusin:U,onScrollPassive:k,tabindex:"-1",color:e.itemColor??e.color},{default:()=>{var $,G,ne;return[($=n["prepend-item"])==null?void 0:$.call(n),!b.value.length&&!e.hideNoData&&(((G=n["no-data"])==null?void 0:G.call(n))??createVNode(VListItem,{title:r(e.noDataText)},null)),createVNode(VVirtualScroll,{ref:i,renderless:!0,items:b.value},{default:oe=>{var z;let{item:ce,index:ee,itemRef:Y}=oe;const Q=mergeProps(ce.props,{ref:Y,key:ee,onClick:()=>L(ce)});return((z=n.item)==null?void 0:z.call(n,{item:ce,index:ee,props:Q}))??createVNode(VListItem,Q,{prepend:re=>{let{isSelected:ue}=re;return createVNode(Fragment,null,[e.multiple&&!e.hideSelected?createVNode(VCheckboxBtn,{key:ce.value,modelValue:ue,ripple:!1,tabindex:"-1"},null):void 0,ce.props.prependIcon&&createVNode(VIcon,{icon:ce.props.prependIcon},null)])}})}}),(ne=n["append-item"])==null?void 0:ne.call(n)]}})]}),d.value.map(($,G)=>{function ne(Y){Y.stopPropagation(),Y.preventDefault(),L($)}const oe={"onClick:close":ne,onMousedown(Y){Y.preventDefault(),Y.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},ce=I?!!n.chip:!!n.selection,ee=ce?ensureValidVNode(I?n.chip({item:$,index:G,props:oe}):n.selection({item:$,index:G})):void 0;if(!(ce&&!ee))return createVNode("div",{key:$.value,class:"v-select__selection"},[I?n.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:$.title}}},{default:()=>[ee]}):createVNode(VChip,mergeProps({key:"chip",closable:e.closableChips,size:"small",text:$.title,disabled:$.props.disabled},oe),null):ee??createVNode("span",{class:"v-select__selection-text"},[$.title,e.multiple&&G<d.value.length-1&&createVNode("span",{class:"v-select__selection-comma"},[createTextVNode(",")])])])})]),"append-inner":function(){var oe;for(var $=arguments.length,G=new Array($),ne=0;ne<$;ne++)G[ne]=arguments[ne];return createVNode(Fragment,null,[(oe=n["append-inner"])==null?void 0:oe.call(n,...G),e.menuIcon?createVNode(VIcon,{class:"v-select__menu-icon",icon:e.menuIcon},null):void 0])}})}),forwardRefs({isFocused:g,menu:l,select:L},a)}}),defaultFilter=(e,t,n)=>e==null||t==null?-1:e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()),makeFilterProps=propsFactory({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function filterItems(e,t,n){var s;const r=[],a=(n==null?void 0:n.default)??defaultFilter,o=n!=null&&n.filterKeys?wrapInArray(n.filterKeys):!1,i=Object.keys((n==null?void 0:n.customKeyFilter)??{}).length;if(!(e!=null&&e.length))return r;e:for(let l=0;l<e.length;l++){const[c,u=c]=wrapInArray(e[l]),f={},d={};let m=-1;if(t&&!(n!=null&&n.noFilter)){if(typeof c=="object"){const P=o||Object.keys(u);for(const v of P){const _=getPropertyFromItem(u,v,u),b=(s=n==null?void 0:n.customKeyFilter)==null?void 0:s[v];if(m=b?b(_,t,c):a(_,t,c),m!==-1&&m!==!1)b?f[v]=m:d[v]=m;else if((n==null?void 0:n.filterMode)==="every")continue e}}else m=a(c,t,c),m!==-1&&m!==!1&&(d.title=m);const y=Object.keys(d).length,g=Object.keys(f).length;if(!y&&!g||(n==null?void 0:n.filterMode)==="union"&&g!==i&&!y||(n==null?void 0:n.filterMode)==="intersection"&&(g!==i||!y))continue}r.push({index:l,matches:{...d,...f}})}return r}function useFilter(e,t,n,r){const a=ref([]),o=ref(new Map),i=computed(()=>r!=null&&r.transform?unref(t).map(l=>[l,r.transform(l)]):unref(t));watchEffect(()=>{const l=typeof n=="function"?n():unref(n),c=typeof l!="string"&&typeof l!="number"?"":String(l),u=filterItems(i.value,c,{customKeyFilter:{...e.customKeyFilter,...unref(r==null?void 0:r.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),f=unref(t),d=[],m=new Map;u.forEach(y=>{let{index:g,matches:P}=y;const v=f[g];d.push(v),m.set(v.value,P)}),a.value=d,o.value=m});function s(l){return o.value.get(l.value)}return{filteredItems:a,filteredMatches:o,getMatches:s}}function highlightResult$1(e,t,n){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?createVNode(Fragment,null,[createVNode("span",{class:"v-autocomplete__unmask"},[e.substr(0,t)]),createVNode("span",{class:"v-autocomplete__mask"},[e.substr(t,n)]),createVNode("span",{class:"v-autocomplete__unmask"},[e.substr(t+n)])]):e}const makeVAutocompleteProps=propsFactory({autoSelectFirst:{type:[Boolean,String]},search:String,...makeFilterProps({filterKeys:["title"]}),...makeSelectProps(),...omit(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps({transition:!1})},"VAutocomplete"),VAutocomplete=genericComponent()({name:"VAutocomplete",props:makeVAutocompleteProps(),emits:{"update:focused":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:n}=t;const{t:r}=useLocale(),a=ref(),o=shallowRef(!1),i=shallowRef(!0),s=shallowRef(!1),l=ref(),c=ref(),u=useProxiedModel(e,"menu"),f=computed({get:()=>u.value,set:Q=>{var z;u.value&&!Q&&((z=l.value)!=null&&z.ΨopenChildren)||(u.value=Q)}}),d=shallowRef(-1),m=computed(()=>{var Q;return(Q=a.value)==null?void 0:Q.color}),y=computed(()=>f.value?e.closeText:e.openText),{items:g,transformIn:P,transformOut:v}=useItems(e),{textColorClasses:_,textColorStyles:b}=useTextColor(m),S=useProxiedModel(e,"search",""),C=useProxiedModel(e,"modelValue",[],Q=>P(Q===null?[null]:wrapInArray(Q)),Q=>{const z=v(Q);return e.multiple?z:z[0]??null}),k=useForm(),{filteredItems:T,getMatches:w}=useFilter(e,g,()=>i.value?"":S.value),E=computed(()=>e.hideSelected?T.value.filter(Q=>!C.value.some(z=>z.value===Q.value)):T.value),F=computed(()=>C.value.map(Q=>Q.props.value)),L=computed(()=>{var z;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&S.value===((z=E.value[0])==null?void 0:z.title))&&E.value.length>0&&!i.value&&!s.value}),N=computed(()=>e.hideNoData&&!g.value.length||e.readonly||(k==null?void 0:k.isReadonly.value)),O=ref(),{onListScroll:U,onListKeydown:j}=useScrolling(O,a);function I(Q){e.openOnClear&&(f.value=!0),S.value=""}function M(){N.value||(f.value=!0)}function V(Q){N.value||(o.value&&(Q.preventDefault(),Q.stopPropagation()),f.value=!f.value)}function R(Q){var ue,de,x;if(e.readonly||k!=null&&k.isReadonly.value)return;const z=a.value.selectionStart,re=C.value.length;if((d.value>-1||["Enter","ArrowDown","ArrowUp"].includes(Q.key))&&Q.preventDefault(),["Enter","ArrowDown"].includes(Q.key)&&(f.value=!0),["Escape"].includes(Q.key)&&(f.value=!1),L.value&&["Enter","Tab"].includes(Q.key)&&Y(E.value[0]),Q.key==="ArrowDown"&&L.value&&((ue=O.value)==null||ue.focus("next")),!!e.multiple){if(["Backspace","Delete"].includes(Q.key)){if(d.value<0){Q.key==="Backspace"&&!S.value&&(d.value=re-1);return}const A=d.value,B=C.value[d.value];B&&!B.props.disabled&&Y(B),d.value=A>=re-1?re-2:A}if(Q.key==="ArrowLeft"){if(d.value<0&&z>0)return;const A=d.value>-1?d.value-1:re-1;C.value[A]?d.value=A:(d.value=-1,a.value.setSelectionRange((de=S.value)==null?void 0:de.length,(x=S.value)==null?void 0:x.length))}if(Q.key==="ArrowRight"){if(d.value<0)return;const A=d.value+1;C.value[A]?d.value=A:(d.value=-1,a.value.setSelectionRange(0,0))}}}function D(Q){S.value=Q.target.value}function $(Q){if(matchesSelector(a.value,":autofill")||matchesSelector(a.value,":-webkit-autofill")){const z=g.value.find(re=>re.title===Q.target.value);z&&Y(z)}}function G(){var Q;o.value&&(i.value=!0,(Q=a.value)==null||Q.focus())}function ne(Q){o.value=!0,setTimeout(()=>{s.value=!0})}function oe(Q){s.value=!1}function ce(Q){(Q==null||Q===""&&!e.multiple)&&(C.value=[])}const ee=shallowRef(!1);function Y(Q){if(e.multiple){const z=C.value.findIndex(re=>e.valueComparator(re.value,Q.value));if(z===-1)C.value=[...C.value,Q];else{const re=[...C.value];re.splice(z,1),C.value=re}}else C.value=[Q],ee.value=!0,S.value=Q.title,f.value=!1,i.value=!0,nextTick(()=>ee.value=!1)}return watch(o,(Q,z)=>{var re;Q!==z&&(Q?(ee.value=!0,S.value=e.multiple?"":String(((re=C.value.at(-1))==null?void 0:re.props.title)??""),i.value=!0,nextTick(()=>ee.value=!1)):(!e.multiple&&!S.value?C.value=[]:L.value&&!s.value&&!C.value.some(ue=>{let{value:de}=ue;return de===E.value[0].value})&&Y(E.value[0]),f.value=!1,S.value="",d.value=-1))}),watch(S,Q=>{!o.value||ee.value||(Q&&(f.value=!0),i.value=!Q)}),watch(f,()=>{if(!e.hideSelected&&f.value&&C.value.length){const Q=E.value.findIndex(z=>C.value.some(re=>z.value===re.value));IN_BROWSER&&window.requestAnimationFrame(()=>{var z;Q>=0&&((z=c.value)==null||z.scrollToIndex(Q))})}}),useRender(()=>{const Q=!!(e.chips||n.chip),z=!!(!e.hideNoData||E.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),re=C.value.length>0,ue=VTextField.filterProps(e);return createVNode(VTextField,mergeProps({ref:a},ue,{modelValue:S.value,"onUpdate:modelValue":ce,focused:o.value,"onUpdate:focused":de=>o.value=de,validationValue:C.externalValue,counterValue:C.value.length,dirty:re,onInput:D,onChange:$,class:["v-autocomplete",`v-autocomplete--${e.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":f.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!n.selection,"v-autocomplete--selecting-index":d.value>-1},e.class],style:e.style,readonly:e.readonly,placeholder:re?void 0:e.placeholder,"onClick:clear":I,"onMousedown:control":M,onKeydown:R}),{...n,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:l,modelValue:f.value,"onUpdate:modelValue":de=>f.value=de,activator:"parent",contentClass:"v-autocomplete__content",disabled:N.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:G},e.menuProps),{default:()=>[z&&createVNode(VList,{ref:O,selected:F.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:de=>de.preventDefault(),onKeydown:j,onFocusin:ne,onFocusout:oe,onScrollPassive:U,tabindex:"-1",color:e.itemColor??e.color},{default:()=>{var de,x,A;return[(de=n["prepend-item"])==null?void 0:de.call(n),!E.value.length&&!e.hideNoData&&(((x=n["no-data"])==null?void 0:x.call(n))??createVNode(VListItem,{title:r(e.noDataText)},null)),createVNode(VVirtualScroll,{ref:c,renderless:!0,items:E.value},{default:B=>{var le;let{item:q,index:X,itemRef:te}=B;const ie=mergeProps(q.props,{ref:te,key:X,active:L.value&&X===0?!0:void 0,onClick:()=>Y(q)});return((le=n.item)==null?void 0:le.call(n,{item:q,index:X,props:ie}))??createVNode(VListItem,ie,{prepend:se=>{let{isSelected:ae}=se;return createVNode(Fragment,null,[e.multiple&&!e.hideSelected?createVNode(VCheckboxBtn,{key:q.value,modelValue:ae,ripple:!1,tabindex:"-1"},null):void 0,q.props.prependIcon&&createVNode(VIcon,{icon:q.props.prependIcon},null)])},title:()=>{var se,ae;return i.value?q.title:highlightResult$1(q.title,(se=w(q))==null?void 0:se.title,((ae=S.value)==null?void 0:ae.length)??0)}})}}),(A=n["append-item"])==null?void 0:A.call(n)]}})]}),C.value.map((de,x)=>{function A(te){te.stopPropagation(),te.preventDefault(),Y(de)}const B={"onClick:close":A,onMousedown(te){te.preventDefault(),te.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},q=Q?!!n.chip:!!n.selection,X=q?ensureValidVNode(Q?n.chip({item:de,index:x,props:B}):n.selection({item:de,index:x})):void 0;if(!(q&&!X))return createVNode("div",{key:de.value,class:["v-autocomplete__selection",x===d.value&&["v-autocomplete__selection--selected",_.value]],style:x===d.value?b.value:{}},[Q?n.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:de.title}}},{default:()=>[X]}):createVNode(VChip,mergeProps({key:"chip",closable:e.closableChips,size:"small",text:de.title,disabled:de.props.disabled},B),null):X??createVNode("span",{class:"v-autocomplete__selection-text"},[de.title,e.multiple&&x<C.value.length-1&&createVNode("span",{class:"v-autocomplete__selection-comma"},[createTextVNode(",")])])])})]),"append-inner":function(){var B;for(var de=arguments.length,x=new Array(de),A=0;A<de;A++)x[A]=arguments[A];return createVNode(Fragment,null,[(B=n["append-inner"])==null?void 0:B.call(n,...x),e.menuIcon?createVNode(VIcon,{class:"v-autocomplete__menu-icon",icon:e.menuIcon,onMousedown:V,onClick:noop,"aria-label":r(y.value),title:r(y.value)},null):void 0])}})}),forwardRefs({isFocused:o,isPristine:i,menu:f,search:S,filteredItems:T,select:Y},a)}}),makeVBadgeProps=propsFactory({bordered:Boolean,color:String,content:[Number,String],dot:Boolean,floating:Boolean,icon:IconValue,inline:Boolean,label:{type:String,default:"$vuetify.badge"},max:[Number,String],modelValue:{type:Boolean,default:!0},offsetX:[Number,String],offsetY:[Number,String],textColor:String,...makeComponentProps(),...makeLocationProps({location:"top end"}),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeTransitionProps({transition:"scale-rotate-transition"})},"VBadge"),VBadge=genericComponent()({name:"VBadge",inheritAttrs:!1,props:makeVBadgeProps(),setup(e,t){const{backgroundColorClasses:n,backgroundColorStyles:r}=useBackgroundColor(toRef(e,"color")),{roundedClasses:a}=useRounded(e),{t:o}=useLocale(),{textColorClasses:i,textColorStyles:s}=useTextColor(toRef(e,"textColor")),{themeClasses:l}=useTheme(),{locationStyles:c}=useLocation(e,!0,u=>(e.floating?e.dot?2:4:e.dot?8:12)+(["top","bottom"].includes(u)?+(e.offsetY??0):["left","right"].includes(u)?+(e.offsetX??0):0));return useRender(()=>{const u=Number(e.content),f=!e.max||isNaN(u)?e.content:u<=+e.max?u:`${e.max}+`,[d,m]=pickWithRest(t.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return createVNode(e.tag,mergeProps({class:["v-badge",{"v-badge--bordered":e.bordered,"v-badge--dot":e.dot,"v-badge--floating":e.floating,"v-badge--inline":e.inline},e.class]},m,{style:e.style}),{default:()=>{var y,g;return[createVNode("div",{class:"v-badge__wrapper"},[(g=(y=t.slots).default)==null?void 0:g.call(y),createVNode(MaybeTransition,{transition:e.transition},{default:()=>{var P,v;return[withDirectives(createVNode("span",mergeProps({class:["v-badge__badge",l.value,n.value,a.value,i.value],style:[r.value,s.value,e.inline?{}:c.value],"aria-atomic":"true","aria-label":o(e.label,u),"aria-live":"polite",role:"status"},d),[e.dot?void 0:t.slots.badge?(v=(P=t.slots).badge)==null?void 0:v.call(P):e.icon?createVNode(VIcon,{icon:e.icon},null):f]),[[vShow,e.modelValue]])]}})])]}})}),{}}}),makeVBannerActionsProps=propsFactory({color:String,density:String,...makeComponentProps()},"VBannerActions"),VBannerActions=genericComponent()({name:"VBannerActions",props:makeVBannerActionsProps(),setup(e,t){let{slots:n}=t;return provideDefaults({VBtn:{color:e.color,density:e.density,slim:!0,variant:"text"}}),useRender(()=>{var r;return createVNode("div",{class:["v-banner-actions",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),VBannerText=createSimpleFunctional("v-banner-text"),makeVBannerProps=propsFactory({avatar:String,bgColor:String,color:String,icon:IconValue,lines:String,stacked:Boolean,sticky:Boolean,text:String,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeDisplayProps(),...makeElevationProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VBanner"),VBanner=genericComponent()({name:"VBanner",props:makeVBannerProps(),setup(e,t){let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:a}=useBackgroundColor(e,"bgColor"),{borderClasses:o}=useBorder(e),{densityClasses:i}=useDensity(e),{displayClasses:s,mobile:l}=useDisplay(e),{dimensionStyles:c}=useDimension(e),{elevationClasses:u}=useElevation(e),{locationStyles:f}=useLocation(e),{positionClasses:d}=usePosition(e),{roundedClasses:m}=useRounded(e),{themeClasses:y}=provideTheme(e),g=toRef(e,"color"),P=toRef(e,"density");provideDefaults({VBannerActions:{color:g,density:P}}),useRender(()=>{const v=!!(e.text||n.text),_=!!(e.avatar||e.icon),b=!!(_||n.prepend);return createVNode(e.tag,{class:["v-banner",{"v-banner--stacked":e.stacked||l.value,"v-banner--sticky":e.sticky,[`v-banner--${e.lines}-line`]:!!e.lines},y.value,r.value,o.value,i.value,s.value,u.value,d.value,m.value,e.class],style:[a.value,c.value,f.value,e.style],role:"banner"},{default:()=>{var S;return[b&&createVNode("div",{key:"prepend",class:"v-banner__prepend"},[n.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!_,defaults:{VAvatar:{color:g.value,density:P.value,icon:e.icon,image:e.avatar}}},n.prepend):createVNode(VAvatar,{key:"prepend-avatar",color:g.value,density:P.value,icon:e.icon,image:e.avatar},null)]),createVNode("div",{class:"v-banner__content"},[v&&createVNode(VBannerText,{key:"text"},{default:()=>{var C;return[((C=n.text)==null?void 0:C.call(n))??e.text]}}),(S=n.default)==null?void 0:S.call(n)]),n.actions&&createVNode(VBannerActions,{key:"actions"},n.actions)]}})})}}),makeVBottomNavigationProps=propsFactory({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:e=>!e||["horizontal","shift"].includes(e)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeLayoutItemProps({name:"bottom-navigation"}),...makeTagProps({tag:"header"}),...makeGroupProps({modelValue:!0,selectedClass:"v-btn--selected"}),...makeThemeProps()},"VBottomNavigation"),VBottomNavigation=genericComponent()({name:"VBottomNavigation",props:makeVBottomNavigationProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=useTheme(),{borderClasses:a}=useBorder(e),{backgroundColorClasses:o,backgroundColorStyles:i}=useBackgroundColor(toRef(e,"bgColor")),{densityClasses:s}=useDensity(e),{elevationClasses:l}=useElevation(e),{roundedClasses:c}=useRounded(e),{ssrBootStyles:u}=useSsrBoot(),f=computed(()=>Number(e.height)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0)),d=toRef(e,"active"),{layoutItemStyles:m}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:computed(()=>"bottom"),layoutSize:computed(()=>d.value?f.value:0),elementSize:f,active:d,absolute:toRef(e,"absolute")});return useGroup(e,VBtnToggleSymbol),provideDefaults({VBtn:{color:toRef(e,"color"),density:toRef(e,"density"),stacked:computed(()=>e.mode!=="horizontal"),variant:"text"}},{scoped:!0}),useRender(()=>createVNode(e.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":d.value,"v-bottom-navigation--grow":e.grow,"v-bottom-navigation--shift":e.mode==="shift"},r.value,o.value,a.value,s.value,l.value,c.value,e.class],style:[i.value,m.value,{height:convertToUnit(f.value),transform:`translateY(${convertToUnit(d.value?0:100,"%")})`},u.value,e.style]},{default:()=>[n.default&&createVNode("div",{class:"v-bottom-navigation__content"},[n.default()])]})),{}}}),makeVDialogProps=propsFactory({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...makeVOverlayProps({origin:"center center",scrollStrategy:"block",transition:{component:VDialogTransition},zIndex:2400})},"VDialog"),VDialog=genericComponent()({name:"VDialog",props:makeVDialogProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"modelValue"),{scopeId:a}=useScopeId(),o=ref();function i(l){var f,d;const c=l.relatedTarget,u=l.target;if(c!==u&&((f=o.value)!=null&&f.contentEl)&&((d=o.value)!=null&&d.globalTop)&&![document,o.value.contentEl].includes(u)&&!o.value.contentEl.contains(u)){const m=focusableChildren(o.value.contentEl);if(!m.length)return;const y=m[0],g=m[m.length-1];c===y?g.focus():y.focus()}}IN_BROWSER&&watch(()=>r.value&&e.retainFocus,l=>{l?document.addEventListener("focusin",i):document.removeEventListener("focusin",i)},{immediate:!0}),watch(r,async l=>{var c,u;await nextTick(),l?(c=o.value.contentEl)==null||c.focus({preventScroll:!0}):(u=o.value.activatorEl)==null||u.focus({preventScroll:!0})});const s=computed(()=>mergeProps({"aria-haspopup":"dialog","aria-expanded":String(r.value)},e.activatorProps));return useRender(()=>{const l=VOverlay.filterProps(e);return createVNode(VOverlay,mergeProps({ref:o,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},l,{modelValue:r.value,"onUpdate:modelValue":c=>r.value=c,"aria-modal":"true",activatorProps:s.value,role:"dialog"},a),{activator:n.activator,default:function(){for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];return createVNode(VDefaultsProvider,{root:"VDialog"},{default:()=>{var d;return[(d=n.default)==null?void 0:d.call(n,...u)]}})}})}),forwardRefs({},o)}}),makeVBottomSheetProps=propsFactory({inset:Boolean,...makeVDialogProps({transition:"bottom-sheet-transition"})},"VBottomSheet"),VBottomSheet=genericComponent()({name:"VBottomSheet",props:makeVBottomSheetProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"modelValue");return useRender(()=>{const a=VDialog.filterProps(e);return createVNode(VDialog,mergeProps(a,{contentClass:["v-bottom-sheet__content",e.contentClass],modelValue:r.value,"onUpdate:modelValue":o=>r.value=o,class:["v-bottom-sheet",{"v-bottom-sheet--inset":e.inset},e.class],style:e.style}),n)}),{}}}),makeVBreadcrumbsDividerProps=propsFactory({divider:[Number,String],...makeComponentProps()},"VBreadcrumbsDivider"),VBreadcrumbsDivider=genericComponent()({name:"VBreadcrumbsDivider",props:makeVBreadcrumbsDividerProps(),setup(e,t){let{slots:n}=t;return useRender(()=>{var r;return createVNode("li",{class:["v-breadcrumbs-divider",e.class],style:e.style},[((r=n==null?void 0:n.default)==null?void 0:r.call(n))??e.divider])}),{}}}),makeVBreadcrumbsItemProps=propsFactory({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...makeComponentProps(),...makeRouterProps(),...makeTagProps({tag:"li"})},"VBreadcrumbsItem"),VBreadcrumbsItem=genericComponent()({name:"VBreadcrumbsItem",props:makeVBreadcrumbsItemProps(),setup(e,t){let{slots:n,attrs:r}=t;const a=useLink(e,r),o=computed(()=>{var c;return e.active||((c=a.isActive)==null?void 0:c.value)}),i=computed(()=>o.value?e.activeColor:e.color),{textColorClasses:s,textColorStyles:l}=useTextColor(i);return useRender(()=>createVNode(e.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":o.value,"v-breadcrumbs-item--disabled":e.disabled,[`${e.activeClass}`]:o.value&&e.activeClass},s.value,e.class],style:[l.value,e.style],"aria-current":o.value?"page":void 0},{default:()=>{var c,u;return[a.isLink.value?createVNode("a",{class:"v-breadcrumbs-item--link",href:a.href.value,"aria-current":o.value?"page":void 0,onClick:a.navigate},[((u=n.default)==null?void 0:u.call(n))??e.title]):((c=n.default)==null?void 0:c.call(n))??e.title]}})),{}}}),makeVBreadcrumbsProps=propsFactory({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:IconValue,items:{type:Array,default:()=>[]},...makeComponentProps(),...makeDensityProps(),...makeRoundedProps(),...makeTagProps({tag:"ul"})},"VBreadcrumbs"),VBreadcrumbs=genericComponent()({name:"VBreadcrumbs",props:makeVBreadcrumbsProps(),setup(e,t){let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:a}=useBackgroundColor(toRef(e,"bgColor")),{densityClasses:o}=useDensity(e),{roundedClasses:i}=useRounded(e);provideDefaults({VBreadcrumbsDivider:{divider:toRef(e,"divider")},VBreadcrumbsItem:{activeClass:toRef(e,"activeClass"),activeColor:toRef(e,"activeColor"),color:toRef(e,"color"),disabled:toRef(e,"disabled")}});const s=computed(()=>e.items.map(l=>typeof l=="string"?{item:{title:l},raw:l}:{item:l,raw:l}));return useRender(()=>{const l=!!(n.prepend||e.icon);return createVNode(e.tag,{class:["v-breadcrumbs",r.value,o.value,i.value,e.class],style:[a.value,e.style]},{default:()=>{var c;return[l&&createVNode("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[n.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!e.icon,defaults:{VIcon:{icon:e.icon,start:!0}}},n.prepend):createVNode(VIcon,{key:"prepend-icon",start:!0,icon:e.icon},null)]),s.value.map((u,f,d)=>{var g;let{item:m,raw:y}=u;return createVNode(Fragment,null,[((g=n.item)==null?void 0:g.call(n,{item:m,index:f}))??createVNode(VBreadcrumbsItem,mergeProps({key:f,disabled:f>=d.length-1},typeof m=="string"?{title:m}:m),{default:n.title?()=>{var P;return(P=n.title)==null?void 0:P.call(n,{item:m,index:f})}:void 0}),f<d.length-1&&createVNode(VBreadcrumbsDivider,null,{default:n.divider?()=>{var P;return(P=n.divider)==null?void 0:P.call(n,{item:y,index:f})}:void 0})])}),(c=n.default)==null?void 0:c.call(n)]}})}),{}}}),VCardActions=genericComponent()({name:"VCardActions",props:makeComponentProps(),setup(e,t){let{slots:n}=t;return provideDefaults({VBtn:{slim:!0,variant:"text"}}),useRender(()=>{var r;return createVNode("div",{class:["v-card-actions",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),VCardSubtitle=createSimpleFunctional("v-card-subtitle"),VCardTitle=createSimpleFunctional("v-card-title"),makeCardItemProps=propsFactory({appendAvatar:String,appendIcon:IconValue,prependAvatar:String,prependIcon:IconValue,subtitle:String,title:String,...makeComponentProps(),...makeDensityProps()},"VCardItem"),VCardItem=genericComponent()({name:"VCardItem",props:makeCardItemProps(),setup(e,t){let{slots:n}=t;return useRender(()=>{var c;const r=!!(e.prependAvatar||e.prependIcon),a=!!(r||n.prepend),o=!!(e.appendAvatar||e.appendIcon),i=!!(o||n.append),s=!!(e.title||n.title),l=!!(e.subtitle||n.subtitle);return createVNode("div",{class:["v-card-item",e.class],style:e.style},[a&&createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!r,defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},n.prepend):r&&createVNode(VAvatar,{key:"prepend-avatar",density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]),createVNode("div",{class:"v-card-item__content"},[s&&createVNode(VCardTitle,{key:"title"},{default:()=>{var u;return[((u=n.title)==null?void 0:u.call(n))??e.title]}}),l&&createVNode(VCardSubtitle,{key:"subtitle"},{default:()=>{var u;return[((u=n.subtitle)==null?void 0:u.call(n))??e.subtitle]}}),(c=n.default)==null?void 0:c.call(n)]),i&&createVNode("div",{key:"append",class:"v-card-item__append"},[n.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!o,defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},n.append):o&&createVNode(VAvatar,{key:"append-avatar",density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)])])}),{}}}),VCardText=createSimpleFunctional("v-card-text"),makeVCardProps=propsFactory({appendAvatar:String,appendIcon:IconValue,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeLoaderProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeRouterProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"elevated"})},"VCard"),VCard=genericComponent()({name:"VCard",directives:{Ripple},props:makeVCardProps(),setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:a}=provideTheme(e),{borderClasses:o}=useBorder(e),{colorClasses:i,colorStyles:s,variantClasses:l}=useVariant(e),{densityClasses:c}=useDensity(e),{dimensionStyles:u}=useDimension(e),{elevationClasses:f}=useElevation(e),{loaderClasses:d}=useLoader(e),{locationStyles:m}=useLocation(e),{positionClasses:y}=usePosition(e),{roundedClasses:g}=useRounded(e),P=useLink(e,n),v=computed(()=>e.link!==!1&&P.isLink.value),_=computed(()=>!e.disabled&&e.link!==!1&&(e.link||P.isClickable.value));return useRender(()=>{const b=v.value?"a":e.tag,S=!!(r.title||e.title),C=!!(r.subtitle||e.subtitle),k=S||C,T=!!(r.append||e.appendAvatar||e.appendIcon),w=!!(r.prepend||e.prependAvatar||e.prependIcon),E=!!(r.image||e.image),F=k||w||T,L=!!(r.text||e.text);return withDirectives(createVNode(b,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":_.value},a.value,o.value,i.value,c.value,f.value,d.value,y.value,g.value,l.value,e.class],style:[s.value,u.value,m.value,e.style],href:P.href.value,onClick:_.value&&P.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var N;return[E&&createVNode("div",{key:"image",class:"v-card__image"},[r.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):createVNode(VImg,{key:"image-img",cover:!0,src:e.image},null)]),createVNode(LoaderSlot,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:r.loader}),F&&createVNode(VCardItem,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:r.item,prepend:r.prepend,title:r.title,subtitle:r.subtitle,append:r.append}),L&&createVNode(VCardText,{key:"text"},{default:()=>{var O;return[((O=r.text)==null?void 0:O.call(r))??e.text]}}),(N=r.default)==null?void 0:N.call(r),r.actions&&createVNode(VCardActions,null,{default:r.actions}),genOverlays(_.value,"v-card")]}}),[[resolveDirective("ripple"),_.value&&e.ripple]])}),{}}}),handleGesture=e=>{const{touchstartX:t,touchendX:n,touchstartY:r,touchendY:a}=e,o=.5,i=16;e.offsetX=n-t,e.offsetY=a-r,Math.abs(e.offsetY)<o*Math.abs(e.offsetX)&&(e.left&&n<t-i&&e.left(e),e.right&&n>t+i&&e.right(e)),Math.abs(e.offsetX)<o*Math.abs(e.offsetY)&&(e.up&&a<r-i&&e.up(e),e.down&&a>r+i&&e.down(e))};function touchstart(e,t){var r;const n=e.changedTouches[0];t.touchstartX=n.clientX,t.touchstartY=n.clientY,(r=t.start)==null||r.call(t,{originalEvent:e,...t})}function touchend(e,t){var r;const n=e.changedTouches[0];t.touchendX=n.clientX,t.touchendY=n.clientY,(r=t.end)==null||r.call(t,{originalEvent:e,...t}),handleGesture(t)}function touchmove(e,t){var r;const n=e.changedTouches[0];t.touchmoveX=n.clientX,t.touchmoveY=n.clientY,(r=t.move)==null||r.call(t,{originalEvent:e,...t})}function createHandlers(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:n=>touchstart(n,t),touchend:n=>touchend(n,t),touchmove:n=>touchmove(n,t)}}function mounted$3(e,t){var s;const n=t.value,r=n!=null&&n.parent?e.parentElement:e,a=(n==null?void 0:n.options)??{passive:!0},o=(s=t.instance)==null?void 0:s.$.uid;if(!r||!o)return;const i=createHandlers(t.value);r._touchHandlers=r._touchHandlers??Object.create(null),r._touchHandlers[o]=i,keys(i).forEach(l=>{r.addEventListener(l,i[l],a)})}function unmounted$3(e,t){var o,i;const n=(o=t.value)!=null&&o.parent?e.parentElement:e,r=(i=t.instance)==null?void 0:i.$.uid;if(!(n!=null&&n._touchHandlers)||!r)return;const a=n._touchHandlers[r];keys(a).forEach(s=>{n.removeEventListener(s,a[s])}),delete n._touchHandlers[r]}const Touch={mounted:mounted$3,unmounted:unmounted$3},VWindowSymbol=Symbol.for("vuetify:v-window"),VWindowGroupSymbol=Symbol.for("vuetify:v-window-group"),makeVWindowProps=propsFactory({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...makeComponentProps(),...makeTagProps(),...makeThemeProps()},"VWindow"),VWindow=genericComponent()({name:"VWindow",directives:{Touch},props:makeVWindowProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=provideTheme(e),{isRtl:a}=useRtl(),{t:o}=useLocale(),i=useGroup(e,VWindowGroupSymbol),s=ref(),l=computed(()=>a.value?!e.reverse:e.reverse),c=shallowRef(!1),u=computed(()=>{const S=e.direction==="vertical"?"y":"x",k=(l.value?!c.value:c.value)?"-reverse":"";return`v-window-${S}${k}-transition`}),f=shallowRef(0),d=ref(void 0),m=computed(()=>i.items.value.findIndex(S=>i.selected.value.includes(S.id)));watch(m,(S,C)=>{const k=i.items.value.length,T=k-1;k<=2?c.value=S<C:S===T&&C===0?c.value=!0:S===0&&C===T?c.value=!1:c.value=S<C}),provide(VWindowSymbol,{transition:u,isReversed:c,transitionCount:f,transitionHeight:d,rootRef:s});const y=computed(()=>e.continuous||m.value!==0),g=computed(()=>e.continuous||m.value!==i.items.value.length-1);function P(){y.value&&i.prev()}function v(){g.value&&i.next()}const _=computed(()=>{const S=[],C={icon:a.value?e.nextIcon:e.prevIcon,class:`v-window__${l.value?"right":"left"}`,onClick:i.prev,ariaLabel:o("$vuetify.carousel.prev")};S.push(y.value?n.prev?n.prev({props:C}):createVNode(VBtn,C,null):createVNode("div",null,null));const k={icon:a.value?e.prevIcon:e.nextIcon,class:`v-window__${l.value?"left":"right"}`,onClick:i.next,ariaLabel:o("$vuetify.carousel.next")};return S.push(g.value?n.next?n.next({props:k}):createVNode(VBtn,k,null):createVNode("div",null,null)),S}),b=computed(()=>e.touch===!1?e.touch:{...{left:()=>{l.value?P():v()},right:()=>{l.value?v():P()},start:C=>{let{originalEvent:k}=C;k.stopPropagation()}},...e.touch===!0?{}:e.touch});return useRender(()=>withDirectives(createVNode(e.tag,{ref:s,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},r.value,e.class],style:e.style},{default:()=>{var S,C;return[createVNode("div",{class:"v-window__container",style:{height:d.value}},[(S=n.default)==null?void 0:S.call(n,{group:i}),e.showArrows!==!1&&createVNode("div",{class:"v-window__controls"},[_.value])]),(C=n.additional)==null?void 0:C.call(n,{group:i})]}}),[[resolveDirective("touch"),b.value]])),{group:i}}}),makeVCarouselProps=propsFactory({color:String,cycle:Boolean,delimiterIcon:{type:IconValue,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:e=>Number(e)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...makeVWindowProps({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),VCarousel=genericComponent()({name:"VCarousel",props:makeVCarouselProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"modelValue"),{t:a}=useLocale(),o=ref();let i=-1;watch(r,l),watch(()=>e.interval,l),watch(()=>e.cycle,c=>{c?l():window.clearTimeout(i)}),onMounted(s);function s(){!e.cycle||!o.value||(i=window.setTimeout(o.value.group.next,+e.interval>0?+e.interval:6e3))}function l(){window.clearTimeout(i),window.requestAnimationFrame(s)}return useRender(()=>{const c=VWindow.filterProps(e);return createVNode(VWindow,mergeProps({ref:o},c,{modelValue:r.value,"onUpdate:modelValue":u=>r.value=u,class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters},e.class],style:[{height:convertToUnit(e.height)},e.style]}),{default:n.default,additional:u=>{let{group:f}=u;return createVNode(Fragment,null,[!e.hideDelimiters&&createVNode("div",{class:"v-carousel__controls",style:{left:e.verticalDelimiters==="left"&&e.verticalDelimiters?0:"auto",right:e.verticalDelimiters==="right"?0:"auto"}},[f.items.value.length>0&&createVNode(VDefaultsProvider,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[f.items.value.map((d,m)=>{const y={id:`carousel-item-${d.id}`,"aria-label":a("$vuetify.carousel.ariaLabel.delimiter",m+1,f.items.value.length),class:[f.isSelected(d.id)&&"v-btn--active"],onClick:()=>f.select(d.id,!0)};return n.item?n.item({props:y,item:d}):createVNode(VBtn,mergeProps(d,y),null)})]})]),e.progress&&createVNode(VProgressLinear,{class:"v-carousel__progress",color:typeof e.progress=="string"?e.progress:void 0,modelValue:(f.getItemIndex(r.value)+1)/f.items.value.length*100},null)])},prev:n.prev,next:n.next})}),{}}}),makeVWindowItemProps=propsFactory({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...makeComponentProps(),...makeGroupItemProps(),...makeLazyProps()},"VWindowItem"),VWindowItem=genericComponent()({name:"VWindowItem",directives:{Touch},props:makeVWindowItemProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=inject$1(VWindowSymbol),a=useGroupItem(e,VWindowGroupSymbol),{isBooted:o}=useSsrBoot();if(!r||!a)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const i=shallowRef(!1),s=computed(()=>o.value&&(r.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function l(){!i.value||!r||(i.value=!1,r.transitionCount.value>0&&(r.transitionCount.value-=1,r.transitionCount.value===0&&(r.transitionHeight.value=void 0)))}function c(){var y;i.value||!r||(i.value=!0,r.transitionCount.value===0&&(r.transitionHeight.value=convertToUnit((y=r.rootRef.value)==null?void 0:y.clientHeight)),r.transitionCount.value+=1)}function u(){l()}function f(y){i.value&&nextTick(()=>{!s.value||!i.value||!r||(r.transitionHeight.value=convertToUnit(y.clientHeight))})}const d=computed(()=>{const y=r.isReversed.value?e.reverseTransition:e.transition;return s.value?{name:typeof y!="string"?r.transition.value:y,onBeforeEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:c,onAfterLeave:l,onLeaveCancelled:u,onEnter:f}:!1}),{hasContent:m}=useLazy(e,a.isSelected);return useRender(()=>createVNode(MaybeTransition,{transition:d.value,disabled:!o.value},{default:()=>{var y;return[withDirectives(createVNode("div",{class:["v-window-item",a.selectedClass.value,e.class],style:e.style},[m.value&&((y=n.default)==null?void 0:y.call(n))]),[[vShow,a.isSelected.value]])]}})),{groupItem:a}}}),makeVCarouselItemProps=propsFactory({...makeVImgProps(),...makeVWindowItemProps()},"VCarouselItem"),VCarouselItem=genericComponent()({name:"VCarouselItem",inheritAttrs:!1,props:makeVCarouselItemProps(),setup(e,t){let{slots:n,attrs:r}=t;useRender(()=>{const a=VImg.filterProps(e),o=VWindowItem.filterProps(e);return createVNode(VWindowItem,mergeProps({class:"v-carousel-item"},o),{default:()=>[createVNode(VImg,mergeProps(r,a),n)]})})}}),VCode=createSimpleFunctional("v-code"),makeVColorPickerCanvasProps=propsFactory({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...makeComponentProps()},"VColorPickerCanvas"),VColorPickerCanvas=defineComponent({name:"VColorPickerCanvas",props:makeVColorPickerCanvasProps(),emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,t){let{emit:n}=t;const r=shallowRef(!1),a=ref(),o=shallowRef(parseFloat(e.width)),i=shallowRef(parseFloat(e.height)),s=ref({x:0,y:0}),l=computed({get:()=>s.value,set(P){var b,S;if(!a.value)return;const{x:v,y:_}=P;s.value=P,n("update:color",{h:((b=e.color)==null?void 0:b.h)??0,s:clamp(v,0,o.value)/o.value,v:1-clamp(_,0,i.value)/i.value,a:((S=e.color)==null?void 0:S.a)??1})}}),c=computed(()=>{const{x:P,y:v}=l.value,_=parseInt(e.dotSize,10)/2;return{width:convertToUnit(e.dotSize),height:convertToUnit(e.dotSize),transform:`translate(${convertToUnit(P-_)}, ${convertToUnit(v-_)})`}}),{resizeRef:u}=useResizeObserver(P=>{var b;if(!((b=u.value)!=null&&b.offsetParent))return;const{width:v,height:_}=P[0].contentRect;o.value=v,i.value=_});function f(P,v,_){const{left:b,top:S,width:C,height:k}=_;l.value={x:clamp(P-b,0,C),y:clamp(v-S,0,k)}}function d(P){P.type==="mousedown"&&P.preventDefault(),!e.disabled&&(m(P),window.addEventListener("mousemove",m),window.addEventListener("mouseup",y),window.addEventListener("touchmove",m),window.addEventListener("touchend",y))}function m(P){if(e.disabled||!a.value)return;r.value=!0;const v=getEventCoordinates(P);f(v.clientX,v.clientY,a.value.getBoundingClientRect())}function y(){window.removeEventListener("mousemove",m),window.removeEventListener("mouseup",y),window.removeEventListener("touchmove",m),window.removeEventListener("touchend",y)}function g(){var S;if(!a.value)return;const P=a.value,v=P.getContext("2d");if(!v)return;const _=v.createLinearGradient(0,0,P.width,0);_.addColorStop(0,"hsla(0, 0%, 100%, 1)"),_.addColorStop(1,`hsla(${((S=e.color)==null?void 0:S.h)??0}, 100%, 50%, 1)`),v.fillStyle=_,v.fillRect(0,0,P.width,P.height);const b=v.createLinearGradient(0,0,0,P.height);b.addColorStop(0,"hsla(0, 0%, 100%, 0)"),b.addColorStop(1,"hsla(0, 0%, 0%, 1)"),v.fillStyle=b,v.fillRect(0,0,P.width,P.height)}return watch(()=>{var P;return(P=e.color)==null?void 0:P.h},g,{immediate:!0}),watch(()=>[o.value,i.value],(P,v)=>{g(),s.value={x:l.value.x*P[0]/v[0],y:l.value.y*P[1]/v[1]}},{flush:"post"}),watch(()=>e.color,()=>{if(r.value){r.value=!1;return}s.value=e.color?{x:e.color.s*o.value,y:(1-e.color.v)*i.value}:{x:0,y:0}},{deep:!0,immediate:!0}),onMounted(()=>g()),useRender(()=>createVNode("div",{ref:u,class:["v-color-picker-canvas",e.class],style:e.style,onMousedown:d,onTouchstartPassive:d},[createVNode("canvas",{ref:a,width:o.value,height:i.value},null),e.color&&createVNode("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":e.disabled}],style:c.value},null)])),{}}});function stripAlpha(e,t){if(t){const{a:n,...r}=e;return r}return e}function extractColor(e,t){if(t==null||typeof t=="string"){const n=HSVtoHex(e);return e.a===1?n.slice(0,7):n}if(typeof t=="object"){let n;return has(t,["r","g","b"])?n=HSVtoRGB(e):has(t,["h","s","l"])?n=HSVtoHSL(e):has(t,["h","s","v"])&&(n=e),stripAlpha(n,!has(t,["a"])&&e.a===1)}return e}const nullColor={h:0,s:0,v:1,a:1},rgba={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:e=>Math.round(e.r),getColor:(e,t)=>({...e,r:Number(t)})},{label:"G",max:255,step:1,getValue:e=>Math.round(e.g),getColor:(e,t)=>({...e,g:Number(t)})},{label:"B",max:255,step:1,getValue:e=>Math.round(e.b),getColor:(e,t)=>({...e,b:Number(t)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:t}=e;return t!=null?Math.round(t*100)/100:1},getColor:(e,t)=>({...e,a:Number(t)})}],to:HSVtoRGB,from:RGBtoHSV};var Ve;const rgb={...rgba,inputs:(Ve=rgba.inputs)==null?void 0:Ve.slice(0,3)},hsla={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:e=>Math.round(e.h),getColor:(e,t)=>({...e,h:Number(t)})},{label:"S",max:1,step:.01,getValue:e=>Math.round(e.s*100)/100,getColor:(e,t)=>({...e,s:Number(t)})},{label:"L",max:1,step:.01,getValue:e=>Math.round(e.l*100)/100,getColor:(e,t)=>({...e,l:Number(t)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:t}=e;return t!=null?Math.round(t*100)/100:1},getColor:(e,t)=>({...e,a:Number(t)})}],to:HSVtoHSL,from:HSLtoHSV},hsl={...hsla,inputs:hsla.inputs.slice(0,3)},hexa={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:e=>e,getColor:(e,t)=>t}],to:HSVtoHex,from:HexToHSV},hex={...hexa,inputs:[{label:"HEX",getValue:e=>e.slice(0,7),getColor:(e,t)=>t}]},modes={rgb,rgba,hsl,hsla,hex,hexa},VColorPickerInput=e=>{let{label:t,...n}=e;return createVNode("div",{class:"v-color-picker-edit__input"},[createVNode("input",n,null),createVNode("span",null,[t])])},makeVColorPickerEditProps=propsFactory({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(modes).includes(e)},modes:{type:Array,default:()=>Object.keys(modes),validator:e=>Array.isArray(e)&&e.every(t=>Object.keys(modes).includes(t))},...makeComponentProps()},"VColorPickerEdit"),VColorPickerEdit=defineComponent({name:"VColorPickerEdit",props:makeVColorPickerEditProps(),emits:{"update:color":e=>!0,"update:mode":e=>!0},setup(e,t){let{emit:n}=t;const r=computed(()=>e.modes.map(o=>({...modes[o],name:o}))),a=computed(()=>{var s;const o=r.value.find(l=>l.name===e.mode);if(!o)return[];const i=e.color?o.to(e.color):null;return(s=o.inputs)==null?void 0:s.map(l=>{let{getValue:c,getColor:u,...f}=l;return{...o.inputProps,...f,disabled:e.disabled,value:i&&c(i),onChange:d=>{const m=d.target;m&&n("update:color",o.from(u(i??nullColor,m.value)))}}})});return useRender(()=>{var o;return createVNode("div",{class:["v-color-picker-edit",e.class],style:e.style},[(o=a.value)==null?void 0:o.map(i=>createVNode(VColorPickerInput,i,null)),r.value.length>1&&createVNode(VBtn,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const i=r.value.findIndex(s=>s.name===e.mode);n("update:mode",r.value[(i+1)%r.value.length].name)}},null)])}),{}}}),VSliderSymbol=Symbol.for("vuetify:v-slider");function getOffset(e,t,n){const r=n==="vertical",a=t.getBoundingClientRect(),o="touches"in e?e.touches[0]:e;return r?o.clientY-(a.top+a.height/2):o.clientX-(a.left+a.width/2)}function getPosition(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}const makeSliderProps=propsFactory({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...makeRoundedProps(),...makeElevationProps({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),useSteps=e=>{const t=computed(()=>parseFloat(e.min)),n=computed(()=>parseFloat(e.max)),r=computed(()=>+e.step>0?parseFloat(e.step):0),a=computed(()=>Math.max(getDecimals(r.value),getDecimals(t.value)));function o(i){if(i=parseFloat(i),r.value<=0)return i;const s=clamp(i,t.value,n.value),l=t.value%r.value,c=Math.round((s-l)/r.value)*r.value+l;return parseFloat(Math.min(c,n.value).toFixed(a.value))}return{min:t,max:n,step:r,decimals:a,roundValue:o}},useSlider=e=>{let{props:t,steps:n,onSliderStart:r,onSliderMove:a,onSliderEnd:o,getActiveThumb:i}=e;const{isRtl:s}=useRtl(),l=toRef(t,"reverse"),c=computed(()=>t.direction==="vertical"),u=computed(()=>c.value!==l.value),{min:f,max:d,step:m,decimals:y,roundValue:g}=n,P=computed(()=>parseInt(t.thumbSize,10)),v=computed(()=>parseInt(t.tickSize,10)),_=computed(()=>parseInt(t.trackSize,10)),b=computed(()=>(d.value-f.value)/m.value),S=toRef(t,"disabled"),C=computed(()=>t.error||t.disabled?void 0:t.thumbColor??t.color),k=computed(()=>t.error||t.disabled?void 0:t.trackColor??t.color),T=computed(()=>t.error||t.disabled?void 0:t.trackFillColor??t.color),w=shallowRef(!1),E=shallowRef(0),F=ref(),L=ref();function N(ee){var B;const Y=t.direction==="vertical",Q=Y?"top":"left",z=Y?"height":"width",re=Y?"clientY":"clientX",{[Q]:ue,[z]:de}=(B=F.value)==null?void 0:B.$el.getBoundingClientRect(),x=getPosition(ee,re);let A=Math.min(Math.max((x-ue-E.value)/de,0),1)||0;return(Y?u.value:u.value!==s.value)&&(A=1-A),g(f.value+A*(d.value-f.value))}const O=ee=>{o({value:N(ee)}),w.value=!1,E.value=0},U=ee=>{L.value=i(ee),L.value&&(L.value.focus(),w.value=!0,L.value.contains(ee.target)?E.value=getOffset(ee,L.value,t.direction):(E.value=0,a({value:N(ee)})),r({value:N(ee)}))},j={passive:!0,capture:!0};function I(ee){a({value:N(ee)})}function M(ee){ee.stopPropagation(),ee.preventDefault(),O(ee),window.removeEventListener("mousemove",I,j),window.removeEventListener("mouseup",M)}function V(ee){var Y;O(ee),window.removeEventListener("touchmove",I,j),(Y=ee.target)==null||Y.removeEventListener("touchend",V)}function R(ee){var Y;U(ee),window.addEventListener("touchmove",I,j),(Y=ee.target)==null||Y.addEventListener("touchend",V,{passive:!1})}function D(ee){ee.preventDefault(),U(ee),window.addEventListener("mousemove",I,j),window.addEventListener("mouseup",M,{passive:!1})}const $=ee=>{const Y=(ee-f.value)/(d.value-f.value)*100;return clamp(isNaN(Y)?0:Y,0,100)},G=toRef(t,"showTicks"),ne=computed(()=>G.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(ee=>({value:ee,position:$(ee),label:ee.toString()})):Object.keys(t.ticks).map(ee=>({value:parseFloat(ee),position:$(parseFloat(ee)),label:t.ticks[ee]})):b.value!==1/0?createRange(b.value+1).map(ee=>{const Y=f.value+ee*m.value;return{value:Y,position:$(Y)}}):[]:[]),oe=computed(()=>ne.value.some(ee=>{let{label:Y}=ee;return!!Y})),ce={activeThumbRef:L,color:toRef(t,"color"),decimals:y,disabled:S,direction:toRef(t,"direction"),elevation:toRef(t,"elevation"),hasLabels:oe,isReversed:l,indexFromEnd:u,min:f,max:d,mousePressed:w,numTicks:b,onSliderMousedown:D,onSliderTouchstart:R,parsedTicks:ne,parseMouseMove:N,position:$,readonly:toRef(t,"readonly"),rounded:toRef(t,"rounded"),roundValue:g,showTicks:G,startOffset:E,step:m,thumbSize:P,thumbColor:C,thumbLabel:toRef(t,"thumbLabel"),ticks:toRef(t,"ticks"),tickSize:v,trackColor:k,trackContainerRef:F,trackFillColor:T,trackSize:_,vertical:c};return provide(VSliderSymbol,ce),ce},makeVSliderThumbProps=propsFactory({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...makeComponentProps()},"VSliderThumb"),VSliderThumb=genericComponent()({name:"VSliderThumb",directives:{Ripple},props:makeVSliderThumbProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n,emit:r}=t;const a=inject$1(VSliderSymbol),{isRtl:o,rtlClasses:i}=useRtl();if(!a)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:s,step:l,disabled:c,thumbSize:u,thumbLabel:f,direction:d,isReversed:m,vertical:y,readonly:g,elevation:P,mousePressed:v,decimals:_,indexFromEnd:b}=a,{textColorClasses:S,textColorStyles:C}=useTextColor(s),{pageup:k,pagedown:T,end:w,home:E,left:F,right:L,down:N,up:O}=keyValues,U=[k,T,w,E,F,L,N,O],j=computed(()=>l.value?[1,2,3]:[1,5,10]);function I(V,R){if(!U.includes(V.key))return;V.preventDefault();const D=l.value||.1,$=(e.max-e.min)/D;if([F,L,N,O].includes(V.key)){const ne=(y.value?[o.value?F:L,m.value?N:O]:b.value!==o.value?[F,O]:[L,O]).includes(V.key)?1:-1,oe=V.shiftKey?2:V.ctrlKey?1:0;R=R+ne*D*j.value[oe]}else if(V.key===E)R=e.min;else if(V.key===w)R=e.max;else{const G=V.key===T?1:-1;R=R-G*D*($>100?$/10:10)}return Math.max(e.min,Math.min(e.max,R))}function M(V){const R=I(V,e.modelValue);R!=null&&r("update:modelValue",R)}return useRender(()=>{const V=convertToUnit(b.value?100-e.position:e.position,"%"),{elevationClasses:R}=useElevation(computed(()=>c.value?void 0:P.value));return createVNode("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&v.value},e.class,i.value],style:[{"--v-slider-thumb-position":V,"--v-slider-thumb-size":convertToUnit(u.value)},e.style],role:"slider",tabindex:c.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!g.value,"aria-orientation":d.value,onKeydown:g.value?void 0:M},[createVNode("div",{class:["v-slider-thumb__surface",S.value,R.value],style:{...C.value}},null),withDirectives(createVNode("div",{class:["v-slider-thumb__ripple",S.value],style:C.value},null),[[resolveDirective("ripple"),e.ripple,null,{circle:!0,center:!0}]]),createVNode(VScaleTransition,{origin:"bottom center"},{default:()=>{var D;return[withDirectives(createVNode("div",{class:"v-slider-thumb__label-container"},[createVNode("div",{class:["v-slider-thumb__label"]},[createVNode("div",null,[((D=n["thumb-label"])==null?void 0:D.call(n,{modelValue:e.modelValue}))??e.modelValue.toFixed(l.value?_.value:1)])])]),[[vShow,f.value&&e.focused||f.value==="always"]])]}})])}),{}}}),makeVSliderTrackProps=propsFactory({start:{type:Number,required:!0},stop:{type:Number,required:!0},...makeComponentProps()},"VSliderTrack"),VSliderTrack=genericComponent()({name:"VSliderTrack",props:makeVSliderTrackProps(),emits:{},setup(e,t){let{slots:n}=t;const r=inject$1(VSliderSymbol);if(!r)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:a,parsedTicks:o,rounded:i,showTicks:s,tickSize:l,trackColor:c,trackFillColor:u,trackSize:f,vertical:d,min:m,max:y,indexFromEnd:g}=r,{roundedClasses:P}=useRounded(i),{backgroundColorClasses:v,backgroundColorStyles:_}=useBackgroundColor(u),{backgroundColorClasses:b,backgroundColorStyles:S}=useBackgroundColor(c),C=computed(()=>`inset-${d.value?"block":"inline"}-${g.value?"end":"start"}`),k=computed(()=>d.value?"height":"width"),T=computed(()=>({[C.value]:"0%",[k.value]:"100%"})),w=computed(()=>e.stop-e.start),E=computed(()=>({[C.value]:convertToUnit(e.start,"%"),[k.value]:convertToUnit(w.value,"%")})),F=computed(()=>s.value?(d.value?o.value.slice().reverse():o.value).map((N,O)=>{var j;const U=N.value!==m.value&&N.value!==y.value?convertToUnit(N.position,"%"):void 0;return createVNode("div",{key:N.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":N.position>=e.start&&N.position<=e.stop,"v-slider-track__tick--first":N.value===m.value,"v-slider-track__tick--last":N.value===y.value}],style:{[C.value]:U}},[(N.label||n["tick-label"])&&createVNode("div",{class:"v-slider-track__tick-label"},[((j=n["tick-label"])==null?void 0:j.call(n,{tick:N,index:O}))??N.label])])}):[]);return useRender(()=>createVNode("div",{class:["v-slider-track",P.value,e.class],style:[{"--v-slider-track-size":convertToUnit(f.value),"--v-slider-tick-size":convertToUnit(l.value)},e.style]},[createVNode("div",{class:["v-slider-track__background",b.value,{"v-slider-track__background--opacity":!!a.value||!u.value}],style:{...T.value,...S.value}},null),createVNode("div",{class:["v-slider-track__fill",v.value],style:{...E.value,..._.value}},null),s.value&&createVNode("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":s.value==="always"}]},[F.value])])),{}}}),makeVSliderProps=propsFactory({...makeFocusProps(),...makeSliderProps(),...makeVInputProps(),modelValue:{type:[Number,String],default:0}},"VSlider"),VSlider=genericComponent()({name:"VSlider",props:makeVSliderProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const a=ref(),{rtlClasses:o}=useRtl(),i=useSteps(e),s=useProxiedModel(e,"modelValue",void 0,k=>i.roundValue(k??i.min.value)),{min:l,max:c,mousePressed:u,roundValue:f,onSliderMousedown:d,onSliderTouchstart:m,trackContainerRef:y,position:g,hasLabels:P,readonly:v}=useSlider({props:e,steps:i,onSliderStart:()=>{r("start",s.value)},onSliderEnd:k=>{let{value:T}=k;const w=f(T);s.value=w,r("end",w)},onSliderMove:k=>{let{value:T}=k;return s.value=f(T)},getActiveThumb:()=>{var k;return(k=a.value)==null?void 0:k.$el}}),{isFocused:_,focus:b,blur:S}=useFocus(e),C=computed(()=>g(s.value));return useRender(()=>{const k=VInput.filterProps(e),T=!!(e.label||n.label||n.prepend);return createVNode(VInput,mergeProps({class:["v-slider",{"v-slider--has-labels":!!n["tick-label"]||P.value,"v-slider--focused":_.value,"v-slider--pressed":u.value,"v-slider--disabled":e.disabled},o.value,e.class],style:e.style},k,{focused:_.value}),{...n,prepend:T?w=>{var E,F;return createVNode(Fragment,null,[((E=n.label)==null?void 0:E.call(n,w))??(e.label?createVNode(VLabel,{id:w.id.value,class:"v-slider__label",text:e.label},null):void 0),(F=n.prepend)==null?void 0:F.call(n,w)])}:void 0,default:w=>{let{id:E,messagesId:F}=w;return createVNode("div",{class:"v-slider__container",onMousedown:v.value?void 0:d,onTouchstartPassive:v.value?void 0:m},[createVNode("input",{id:E.value,name:e.name||E.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:s.value},null),createVNode(VSliderTrack,{ref:y,start:0,stop:C.value},{"tick-label":n["tick-label"]}),createVNode(VSliderThumb,{ref:a,"aria-describedby":F.value,focused:_.value,min:l.value,max:c.value,modelValue:s.value,"onUpdate:modelValue":L=>s.value=L,position:C.value,elevation:e.elevation,onFocus:b,onBlur:S,ripple:e.ripple},{"thumb-label":n["thumb-label"]})])}})}),{}}}),makeVColorPickerPreviewProps=propsFactory({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...makeComponentProps()},"VColorPickerPreview"),VColorPickerPreview=defineComponent({name:"VColorPickerPreview",props:makeVColorPickerPreviewProps(),emits:{"update:color":e=>!0},setup(e,t){let{emit:n}=t;const r=new AbortController;onUnmounted(()=>r.abort());async function a(){if(!SUPPORTS_EYE_DROPPER)return;const o=new window.EyeDropper;try{const i=await o.open({signal:r.signal}),s=HexToHSV(i.sRGBHex);n("update:color",{...e.color??nullColor,...s})}catch{}}return useRender(()=>{var o,i;return createVNode("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha},e.class],style:e.style},[SUPPORTS_EYE_DROPPER&&createVNode("div",{class:"v-color-picker-preview__eye-dropper",key:"eyeDropper"},[createVNode(VBtn,{onClick:a,icon:"$eyeDropper",variant:"plain",density:"comfortable"},null)]),createVNode("div",{class:"v-color-picker-preview__dot"},[createVNode("div",{style:{background:HSVtoCSS(e.color??nullColor)}},null)]),createVNode("div",{class:"v-color-picker-preview__sliders"},[createVNode(VSlider,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(o=e.color)==null?void 0:o.h,"onUpdate:modelValue":s=>n("update:color",{...e.color??nullColor,h:s}),step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&createVNode(VSlider,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((i=e.color)==null?void 0:i.a)??1,"onUpdate:modelValue":s=>n("update:color",{...e.color??nullColor,a:s}),step:1/256,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}}),red={base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"},pink={base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"},purple={base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"},deepPurple={base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"},indigo={base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"},blue={base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"},lightBlue={base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"},cyan={base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"},teal={base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"},green={base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"},lightGreen={base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"},lime={base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"},yellow={base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"},amber={base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"},orange={base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"},deepOrange={base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"},brown={base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"},blueGrey={base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"},grey={base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"},shades={black:"#000000",white:"#ffffff",transparent:"#ffffff00"},colors={red,pink,purple,deepPurple,indigo,blue,lightBlue,cyan,teal,green,lightGreen,lime,yellow,amber,orange,deepOrange,brown,blueGrey,grey,shades},makeVColorPickerSwatchesProps=propsFactory({swatches:{type:Array,default:()=>parseDefaultColors(colors)},disabled:Boolean,color:Object,maxHeight:[Number,String],...makeComponentProps()},"VColorPickerSwatches");function parseDefaultColors(e){return Object.keys(e).map(t=>{const n=e[t];return n.base?[n.base,n.darken4,n.darken3,n.darken2,n.darken1,n.lighten1,n.lighten2,n.lighten3,n.lighten4,n.lighten5]:[n.black,n.white,n.transparent]})}const VColorPickerSwatches=defineComponent({name:"VColorPickerSwatches",props:makeVColorPickerSwatchesProps(),emits:{"update:color":e=>!0},setup(e,t){let{emit:n}=t;return useRender(()=>createVNode("div",{class:["v-color-picker-swatches",e.class],style:[{maxHeight:convertToUnit(e.maxHeight)},e.style]},[createVNode("div",null,[e.swatches.map(r=>createVNode("div",{class:"v-color-picker-swatches__swatch"},[r.map(a=>{const o=parseColor(a),i=RGBtoHSV(o),s=RGBtoCSS(o);return createVNode("div",{class:"v-color-picker-swatches__color",onClick:()=>i&&n("update:color",i)},[createVNode("div",{style:{background:s}},[e.color&&deepEqual(e.color,i)?createVNode(VIcon,{size:"x-small",icon:"$success",color:getContrast(a,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}}),makeVSheetProps=propsFactory({color:String,...makeBorderProps(),...makeComponentProps(),...makeDimensionProps(),...makeElevationProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VSheet"),VSheet=genericComponent()({name:"VSheet",props:makeVSheetProps(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=provideTheme(e),{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(toRef(e,"color")),{borderClasses:i}=useBorder(e),{dimensionStyles:s}=useDimension(e),{elevationClasses:l}=useElevation(e),{locationStyles:c}=useLocation(e),{positionClasses:u}=usePosition(e),{roundedClasses:f}=useRounded(e);return useRender(()=>createVNode(e.tag,{class:["v-sheet",r.value,a.value,i.value,l.value,u.value,f.value,e.class],style:[o.value,s.value,c.value,e.style]},n)),{}}}),makeVColorPickerProps=propsFactory({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(modes).includes(e)},modes:{type:Array,default:()=>Object.keys(modes),validator:e=>Array.isArray(e)&&e.every(t=>Object.keys(modes).includes(t))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...omit(makeVSheetProps({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),VColorPicker=defineComponent({name:"VColorPicker",props:makeVColorPickerProps(),emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const t=useProxiedModel(e,"mode"),n=ref(null),r=useProxiedModel(e,"modelValue",void 0,i=>{if(i==null||i==="")return null;let s;try{s=RGBtoHSV(parseColor(i))}catch{return null}return n.value&&(s={...s,h:n.value.h},n.value=null),s},i=>i?extractColor(i,e.modelValue):null),{rtlClasses:a}=useRtl(),o=i=>{r.value=i,n.value=i};return onMounted(()=>{e.modes.includes(t.value)||(t.value=e.modes[0])}),provideDefaults({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),useRender(()=>{const i=VSheet.filterProps(e);return createVNode(VSheet,mergeProps({rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker",a.value,e.class],style:[{"--v-color-picker-color-hsv":HSVtoCSS({...r.value??nullColor,a:1})},e.style]},i,{maxWidth:e.width}),{default:()=>[!e.hideCanvas&&createVNode(VColorPickerCanvas,{key:"canvas",color:r.value,"onUpdate:color":o,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&createVNode("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&createVNode(VColorPickerPreview,{key:"preview",color:r.value,"onUpdate:color":o,hideAlpha:!t.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&createVNode(VColorPickerEdit,{key:"edit",modes:e.modes,mode:t.value,"onUpdate:mode":s=>t.value=s,color:r.value,"onUpdate:color":o,disabled:e.disabled},null)]),e.showSwatches&&createVNode(VColorPickerSwatches,{key:"swatches",color:r.value,"onUpdate:color":o,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]})}),{}}});function highlightResult(e,t,n){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?createVNode(Fragment,null,[createVNode("span",{class:"v-combobox__unmask"},[e.substr(0,t)]),createVNode("span",{class:"v-combobox__mask"},[e.substr(t,n)]),createVNode("span",{class:"v-combobox__unmask"},[e.substr(t+n)])]):e}const makeVComboboxProps=propsFactory({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...makeFilterProps({filterKeys:["title"]}),...makeSelectProps({hideNoData:!0,returnObject:!0}),...omit(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps({transition:!1})},"VCombobox"),VCombobox=genericComponent()({name:"VCombobox",props:makeVComboboxProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:search":e=>!0,"update:menu":e=>!0},setup(e,t){var Q;let{emit:n,slots:r}=t;const{t:a}=useLocale(),o=ref(),i=shallowRef(!1),s=shallowRef(!0),l=shallowRef(!1),c=ref(),u=ref(),f=useProxiedModel(e,"menu"),d=computed({get:()=>f.value,set:z=>{var re;f.value&&!z&&((re=c.value)!=null&&re.ΨopenChildren)||(f.value=z)}}),m=shallowRef(-1);let y=!1;const g=computed(()=>{var z;return(z=o.value)==null?void 0:z.color}),P=computed(()=>d.value?e.closeText:e.openText),{items:v,transformIn:_,transformOut:b}=useItems(e),{textColorClasses:S,textColorStyles:C}=useTextColor(g),k=useProxiedModel(e,"modelValue",[],z=>_(wrapInArray(z)),z=>{const re=b(z);return e.multiple?re:re[0]??null}),T=useForm(),w=shallowRef(e.multiple?"":((Q=k.value[0])==null?void 0:Q.title)??""),E=computed({get:()=>w.value,set:z=>{var re;if(w.value=z??"",e.multiple||(k.value=[transformItem$3(e,z)]),z&&e.multiple&&((re=e.delimiters)!=null&&re.length)){const ue=z.split(new RegExp(`(?:${e.delimiters.join("|")})+`));ue.length>1&&(ue.forEach(de=>{de=de.trim(),de&&oe(transformItem$3(e,de))}),w.value="")}z||(m.value=-1),s.value=!z}});watch(w,z=>{y?nextTick(()=>y=!1):i.value&&!d.value&&(d.value=!0),n("update:search",z)}),watch(k,z=>{var re;e.multiple||(w.value=((re=z[0])==null?void 0:re.title)??"")});const{filteredItems:F,getMatches:L}=useFilter(e,v,()=>s.value?"":E.value),N=computed(()=>e.hideSelected?F.value.filter(z=>!k.value.some(re=>re.value===z.value)):F.value),O=computed(()=>k.value.map(z=>z.value)),U=computed(()=>{var re;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&E.value===((re=N.value[0])==null?void 0:re.title))&&N.value.length>0&&!s.value&&!l.value}),j=computed(()=>e.hideNoData&&!v.value.length||e.readonly||(T==null?void 0:T.isReadonly.value)),I=ref(),{onListScroll:M,onListKeydown:V}=useScrolling(I,o);function R(z){y=!0,e.openOnClear&&(d.value=!0)}function D(){j.value||(d.value=!0)}function $(z){j.value||(i.value&&(z.preventDefault(),z.stopPropagation()),d.value=!d.value)}function G(z){var de;if(isComposingIgnoreKey(z)||e.readonly||T!=null&&T.isReadonly.value)return;const re=o.value.selectionStart,ue=k.value.length;if((m.value>-1||["Enter","ArrowDown","ArrowUp"].includes(z.key))&&z.preventDefault(),["Enter","ArrowDown"].includes(z.key)&&(d.value=!0),["Escape"].includes(z.key)&&(d.value=!1),["Enter","Escape","Tab"].includes(z.key)&&(U.value&&["Enter","Tab"].includes(z.key)&&oe(F.value[0]),s.value=!0),z.key==="ArrowDown"&&U.value&&((de=I.value)==null||de.focus("next")),!!e.multiple){if(["Backspace","Delete"].includes(z.key)){if(m.value<0){z.key==="Backspace"&&!E.value&&(m.value=ue-1);return}const x=m.value,A=k.value[m.value];A&&!A.props.disabled&&oe(A),m.value=x>=ue-1?ue-2:x}if(z.key==="ArrowLeft"){if(m.value<0&&re>0)return;const x=m.value>-1?m.value-1:ue-1;k.value[x]?m.value=x:(m.value=-1,o.value.setSelectionRange(E.value.length,E.value.length))}if(z.key==="ArrowRight"){if(m.value<0)return;const x=m.value+1;k.value[x]?m.value=x:(m.value=-1,o.value.setSelectionRange(0,0))}z.key==="Enter"&&E.value&&(oe(transformItem$3(e,E.value)),E.value="")}}function ne(){var z;i.value&&(s.value=!0,(z=o.value)==null||z.focus())}function oe(z){if(e.multiple){const re=k.value.findIndex(ue=>e.valueComparator(ue.value,z.value));if(re===-1)k.value=[...k.value,z];else{const ue=[...k.value];ue.splice(re,1),k.value=ue}E.value=""}else k.value=[z],w.value=z.title,nextTick(()=>{d.value=!1,s.value=!0})}function ce(z){i.value=!0,setTimeout(()=>{l.value=!0})}function ee(z){l.value=!1}function Y(z){(z==null||z===""&&!e.multiple)&&(k.value=[])}return watch(F,z=>{!z.length&&e.hideNoData&&(d.value=!1)}),watch(i,(z,re)=>{z||z===re||(m.value=-1,d.value=!1,U.value&&!l.value&&!k.value.some(ue=>{let{value:de}=ue;return de===N.value[0].value})?oe(N.value[0]):e.multiple&&E.value&&(k.value=[...k.value,transformItem$3(e,E.value)],E.value=""))}),watch(d,()=>{if(!e.hideSelected&&d.value&&k.value.length){const z=N.value.findIndex(re=>k.value.some(ue=>e.valueComparator(ue.value,re.value)));IN_BROWSER&&window.requestAnimationFrame(()=>{var re;z>=0&&((re=u.value)==null||re.scrollToIndex(z))})}}),useRender(()=>{const z=!!(e.chips||r.chip),re=!!(!e.hideNoData||N.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ue=k.value.length>0,de=VTextField.filterProps(e);return createVNode(VTextField,mergeProps({ref:o},de,{modelValue:E.value,"onUpdate:modelValue":[x=>E.value=x,Y],focused:i.value,"onUpdate:focused":x=>i.value=x,validationValue:k.externalValue,counterValue:e.multiple?k.value.length:E.value.length,dirty:ue,class:["v-combobox",{"v-combobox--active-menu":d.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!r.selection,"v-combobox--selecting-index":m.value>-1,[`v-combobox--${e.multiple?"multiple":"single"}`]:!0},e.class],style:e.style,readonly:e.readonly,placeholder:ue?void 0:e.placeholder,"onClick:clear":R,"onMousedown:control":D,onKeydown:G}),{...r,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:c,modelValue:d.value,"onUpdate:modelValue":x=>d.value=x,activator:"parent",contentClass:"v-combobox__content",disabled:j.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:ne},e.menuProps),{default:()=>[re&&createVNode(VList,{ref:I,selected:O.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:x=>x.preventDefault(),onKeydown:V,onFocusin:ce,onFocusout:ee,onScrollPassive:M,tabindex:"-1",color:e.itemColor??e.color},{default:()=>{var x,A,B;return[(x=r["prepend-item"])==null?void 0:x.call(r),!N.value.length&&!e.hideNoData&&(((A=r["no-data"])==null?void 0:A.call(r))??createVNode(VListItem,{title:a(e.noDataText)},null)),createVNode(VVirtualScroll,{ref:u,renderless:!0,items:N.value},{default:q=>{var se;let{item:X,index:te,itemRef:ie}=q;const le=mergeProps(X.props,{ref:ie,key:te,active:U.value&&te===0?!0:void 0,onClick:()=>oe(X)});return((se=r.item)==null?void 0:se.call(r,{item:X,index:te,props:le}))??createVNode(VListItem,le,{prepend:ae=>{let{isSelected:J}=ae;return createVNode(Fragment,null,[e.multiple&&!e.hideSelected?createVNode(VCheckboxBtn,{key:X.value,modelValue:J,ripple:!1,tabindex:"-1"},null):void 0,X.props.prependIcon&&createVNode(VIcon,{icon:X.props.prependIcon},null)])},title:()=>{var ae,J;return s.value?X.title:highlightResult(X.title,(ae=L(X))==null?void 0:ae.title,((J=E.value)==null?void 0:J.length)??0)}})}}),(B=r["append-item"])==null?void 0:B.call(r)]}})]}),k.value.map((x,A)=>{function B(ie){ie.stopPropagation(),ie.preventDefault(),oe(x)}const q={"onClick:close":B,onMousedown(ie){ie.preventDefault(),ie.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},X=z?!!r.chip:!!r.selection,te=X?ensureValidVNode(z?r.chip({item:x,index:A,props:q}):r.selection({item:x,index:A})):void 0;if(!(X&&!te))return createVNode("div",{key:x.value,class:["v-combobox__selection",A===m.value&&["v-combobox__selection--selected",S.value]],style:A===m.value?C.value:{}},[z?r.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:x.title}}},{default:()=>[te]}):createVNode(VChip,mergeProps({key:"chip",closable:e.closableChips,size:"small",text:x.title,disabled:x.props.disabled},q),null):te??createVNode("span",{class:"v-combobox__selection-text"},[x.title,e.multiple&&A<k.value.length-1&&createVNode("span",{class:"v-combobox__selection-comma"},[createTextVNode(",")])])])})]),"append-inner":function(){var q;for(var x=arguments.length,A=new Array(x),B=0;B<x;B++)A[B]=arguments[B];return createVNode(Fragment,null,[(q=r["append-inner"])==null?void 0:q.call(r,...A),(!e.hideNoData||e.items.length)&&e.menuIcon?createVNode(VIcon,{class:"v-combobox__menu-icon",icon:e.menuIcon,onMousedown:$,onClick:noop,"aria-label":a(P.value),title:a(P.value)},null):void 0])}})}),forwardRefs({isFocused:i,isPristine:s,menu:d,search:E,selectionIndex:m,filteredItems:F,select:oe},o)}}),makeDataTableExpandProps=propsFactory({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),VDataTableExpandedKey=Symbol.for("vuetify:datatable:expanded");function provideExpanded(e){const t=toRef(e,"expandOnClick"),n=useProxiedModel(e,"expanded",e.expanded,s=>new Set(s),s=>[...s.values()]);function r(s,l){const c=new Set(n.value);l?c.add(s.value):c.delete(s.value),n.value=c}function a(s){return n.value.has(s.value)}function o(s){r(s,!a(s))}const i={expand:r,expanded:n,expandOnClick:t,isExpanded:a,toggleExpand:o};return provide(VDataTableExpandedKey,i),i}function useExpanded(){const e=inject$1(VDataTableExpandedKey);if(!e)throw new Error("foo");return e}const makeDataTableGroupProps=propsFactory({groupBy:{type:Array,default:()=>[]}},"DataTable-group"),VDataTableGroupSymbol=Symbol.for("vuetify:data-table-group");function createGroupBy(e){return{groupBy:useProxiedModel(e,"groupBy")}}function provideGroupBy(e){const{groupBy:t,sortBy:n}=e,r=ref(new Set),a=computed(()=>t.value.map(c=>({...c,order:c.order??!1})).concat(n.value));function o(c){return r.value.has(c.id)}function i(c){const u=new Set(r.value);o(c)?u.delete(c.id):u.add(c.id),r.value=u}function s(c){function u(f){const d=[];for(const m of f.items)"type"in m&&m.type==="group"?d.push(...u(m)):d.push(m);return d}return u({type:"group",items:c,id:"dummy",key:"dummy",value:"dummy",depth:0})}const l={sortByWithGroups:a,toggleGroup:i,opened:r,groupBy:t,extractRows:s,isGroupOpen:o};return provide(VDataTableGroupSymbol,l),l}function useGroupBy(){const e=inject$1(VDataTableGroupSymbol);if(!e)throw new Error("Missing group!");return e}function groupItemsByProperty(e,t){if(!e.length)return[];const n=new Map;for(const r of e){const a=getObjectValueByPath(r.raw,t);n.has(a)||n.set(a,[]),n.get(a).push(r)}return n}function groupItems(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"root";if(!t.length)return[];const a=groupItemsByProperty(e,t[0]),o=[],i=t.slice(1);return a.forEach((s,l)=>{const c=t[0],u=`${r}_${c}_${l}`;o.push({depth:n,id:u,key:c,value:l,items:i.length?groupItems(s,i,n+1,u):s,type:"group"})}),o}function flattenItems(e,t){const n=[];for(const r of e)"type"in r&&r.type==="group"?(r.value!=null&&n.push(r),(t.has(r.id)||r.value==null)&&n.push(...flattenItems(r.items,t))):n.push(r);return n}function useGroupedItems(e,t,n){return{flatItems:computed(()=>{if(!t.value.length)return e.value;const a=groupItems(e.value,t.value.map(o=>o.key));return flattenItems(a,n.value)})}}function useOptions(e){let{page:t,itemsPerPage:n,sortBy:r,groupBy:a,search:o}=e;const i=getCurrentInstance("VDataTable"),s=computed(()=>({page:t.value,itemsPerPage:n.value,sortBy:r.value,groupBy:a.value,search:o.value}));let l=null;watch(s,()=>{deepEqual(l,s.value)||((l==null?void 0:l.search)!==s.value.search&&(t.value=1),i.emit("update:options",s.value),l=s.value)},{deep:!0,immediate:!0})}const makeDataTablePaginateProps=propsFactory({page:{type:[Number,String],default:1},itemsPerPage:{type:[Number,String],default:10}},"DataTable-paginate"),VDataTablePaginationSymbol=Symbol.for("vuetify:data-table-pagination");function createPagination(e){const t=useProxiedModel(e,"page",void 0,r=>+(r??1)),n=useProxiedModel(e,"itemsPerPage",void 0,r=>+(r??10));return{page:t,itemsPerPage:n}}function providePagination(e){const{page:t,itemsPerPage:n,itemsLength:r}=e,a=computed(()=>n.value===-1?0:n.value*(t.value-1)),o=computed(()=>n.value===-1?r.value:Math.min(r.value,a.value+n.value)),i=computed(()=>n.value===-1||r.value===0?1:Math.ceil(r.value/n.value));watchEffect(()=>{t.value>i.value&&(t.value=i.value)});function s(d){n.value=d,t.value=1}function l(){t.value=clamp(t.value+1,1,i.value)}function c(){t.value=clamp(t.value-1,1,i.value)}function u(d){t.value=clamp(d,1,i.value)}const f={page:t,itemsPerPage:n,startIndex:a,stopIndex:o,pageCount:i,itemsLength:r,nextPage:l,prevPage:c,setPage:u,setItemsPerPage:s};return provide(VDataTablePaginationSymbol,f),f}function usePagination(){const e=inject$1(VDataTablePaginationSymbol);if(!e)throw new Error("Missing pagination!");return e}function usePaginatedItems(e){const{items:t,startIndex:n,stopIndex:r,itemsPerPage:a}=e;return{paginatedItems:computed(()=>a.value<=0?t.value:t.value.slice(n.value,r.value))}}const singleSelectStrategy={showSelectAll:!1,allSelected:()=>[],select:e=>{var r;let{items:t,value:n}=e;return new Set(n?[(r=t[0])==null?void 0:r.value]:[])},selectAll:e=>{let{selected:t}=e;return t}},pageSelectStrategy={showSelectAll:!0,allSelected:e=>{let{currentPage:t}=e;return t},select:e=>{let{items:t,value:n,selected:r}=e;for(const a of t)n?r.add(a.value):r.delete(a.value);return r},selectAll:e=>{let{value:t,currentPage:n,selected:r}=e;return pageSelectStrategy.select({items:n,value:t,selected:r})}},allSelectStrategy={showSelectAll:!0,allSelected:e=>{let{allItems:t}=e;return t},select:e=>{let{items:t,value:n,selected:r}=e;for(const a of t)n?r.add(a.value):r.delete(a.value);return r},selectAll:e=>{let{value:t,allItems:n,selected:r}=e;return allSelectStrategy.select({items:n,value:t,selected:r})}},makeDataTableSelectProps=propsFactory({showSelect:Boolean,selectStrategy:{type:[String,Object],default:"page"},modelValue:{type:Array,default:()=>[]},valueComparator:{type:Function,default:deepEqual}},"DataTable-select"),VDataTableSelectionSymbol=Symbol.for("vuetify:data-table-selection");function provideSelection(e,t){let{allItems:n,currentPage:r}=t;const a=useProxiedModel(e,"modelValue",e.modelValue,P=>new Set(wrapInArray(P).map(v=>{var _;return((_=n.value.find(b=>e.valueComparator(v,b.value)))==null?void 0:_.value)??v})),P=>[...P.values()]),o=computed(()=>n.value.filter(P=>P.selectable)),i=computed(()=>r.value.filter(P=>P.selectable)),s=computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single":return singleSelectStrategy;case"all":return allSelectStrategy;case"page":default:return pageSelectStrategy}});function l(P){return wrapInArray(P).every(v=>a.value.has(v.value))}function c(P){return wrapInArray(P).some(v=>a.value.has(v.value))}function u(P,v){const _=s.value.select({items:P,value:v,selected:new Set(a.value)});a.value=_}function f(P){u([P],!l([P]))}function d(P){const v=s.value.selectAll({value:P,allItems:o.value,currentPage:i.value,selected:new Set(a.value)});a.value=v}const m=computed(()=>a.value.size>0),y=computed(()=>{const P=s.value.allSelected({allItems:o.value,currentPage:i.value});return!!P.length&&l(P)}),g={toggleSelect:f,select:u,selectAll:d,isSelected:l,isSomeSelected:c,someSelected:m,allSelected:y,showSelectAll:s.value.showSelectAll};return provide(VDataTableSelectionSymbol,g),g}function useSelection(){const e=inject$1(VDataTableSelectionSymbol);if(!e)throw new Error("Missing selection!");return e}const makeDataTableSortProps=propsFactory({sortBy:{type:Array,default:()=>[]},customKeySort:Object,multiSort:Boolean,mustSort:Boolean},"DataTable-sort"),VDataTableSortSymbol=Symbol.for("vuetify:data-table-sort");function createSort(e){const t=useProxiedModel(e,"sortBy"),n=toRef(e,"mustSort"),r=toRef(e,"multiSort");return{sortBy:t,mustSort:n,multiSort:r}}function provideSort(e){const{sortBy:t,mustSort:n,multiSort:r,page:a}=e,o=l=>{if(l.key==null)return;let c=t.value.map(f=>({...f}))??[];const u=c.find(f=>f.key===l.key);u?u.order==="desc"?n.value?u.order="asc":c=c.filter(f=>f.key!==l.key):u.order="desc":r.value?c=[...c,{key:l.key,order:"asc"}]:c=[{key:l.key,order:"asc"}],t.value=c,a&&(a.value=1)};function i(l){return!!t.value.find(c=>c.key===l.key)}const s={sortBy:t,toggleSort:o,isSorted:i};return provide(VDataTableSortSymbol,s),s}function useSort(){const e=inject$1(VDataTableSortSymbol);if(!e)throw new Error("Missing sort!");return e}function useSortedItems(e,t,n,r){const a=useLocale();return{sortedItems:computed(()=>n.value.length?sortItems(t.value,n.value,a.current.value,{...e.customKeySort,...r==null?void 0:r.value}):t.value)}}function sortItems(e,t,n,r){const a=new Intl.Collator(n,{sensitivity:"accent",usage:"sort"});return[...e].sort((o,i)=>{for(let s=0;s<t.length;s++){const l=t[s].key,c=t[s].order??"asc";if(c===!1)continue;let u=getObjectValueByPath(o.raw,l),f=getObjectValueByPath(i.raw,l);if(c==="desc"&&([u,f]=[f,u]),r!=null&&r[l]){const d=r[l](u,f);if(!d)continue;return d}if(u instanceof Date&&f instanceof Date)return u.getTime()-f.getTime();if([u,f]=[u,f].map(d=>d!=null?d.toString().toLocaleLowerCase():d),u!==f)return isEmpty(u)&&isEmpty(f)?0:isEmpty(u)?-1:isEmpty(f)?1:!isNaN(u)&&!isNaN(f)?Number(u)-Number(f):a.compare(u,f)}return 0})}const makeDataIteratorItemsProps=propsFactory({items:{type:Array,default:()=>[]},itemValue:{type:[String,Array,Function],default:"id"},itemSelectable:{type:[String,Array,Function],default:null},returnObject:Boolean},"DataIterator-items");function transformItem$1(e,t){const n=e.returnObject?t:getPropertyFromItem(t,e.itemValue),r=getPropertyFromItem(t,e.itemSelectable,!0);return{type:"item",value:n,selectable:r,raw:t}}function transformItems$1(e,t){const n=[];for(const r of t)n.push(transformItem$1(e,r));return n}function useDataIteratorItems(e){return{items:computed(()=>transformItems$1(e,e.items))}}const makeVDataIteratorProps=propsFactory({search:String,loading:Boolean,...makeComponentProps(),...makeDataIteratorItemsProps(),...makeDataTableSelectProps(),...makeDataTableSortProps(),...makeDataTablePaginateProps({itemsPerPage:5}),...makeDataTableExpandProps(),...makeDataTableGroupProps(),...makeFilterProps(),...makeTagProps()},"VDataIterator"),VDataIterator=genericComponent()({name:"VDataIterator",props:makeVDataIteratorProps(),emits:{"update:modelValue":e=>!0,"update:groupBy":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:expanded":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"groupBy"),a=toRef(e,"search"),{items:o}=useDataIteratorItems(e),{filteredItems:i}=useFilter(e,o,a,{transform:$=>$.raw}),{sortBy:s,multiSort:l,mustSort:c}=createSort(e),{page:u,itemsPerPage:f}=createPagination(e),{toggleSort:d}=provideSort({sortBy:s,multiSort:l,mustSort:c,page:u}),{sortByWithGroups:m,opened:y,extractRows:g,isGroupOpen:P,toggleGroup:v}=provideGroupBy({groupBy:r,sortBy:s}),{sortedItems:_}=useSortedItems(e,i,m),{flatItems:b}=useGroupedItems(_,r,y),S=computed(()=>b.value.length),{startIndex:C,stopIndex:k,pageCount:T,prevPage:w,nextPage:E,setItemsPerPage:F,setPage:L}=providePagination({page:u,itemsPerPage:f,itemsLength:S}),{paginatedItems:N}=usePaginatedItems({items:b,startIndex:C,stopIndex:k,itemsPerPage:f}),O=computed(()=>g(N.value)),{isSelected:U,select:j,selectAll:I,toggleSelect:M}=provideSelection(e,{allItems:o,currentPage:O}),{isExpanded:V,toggleExpand:R}=provideExpanded(e);useOptions({page:u,itemsPerPage:f,sortBy:s,groupBy:r,search:a});const D=computed(()=>({page:u.value,itemsPerPage:f.value,sortBy:s.value,pageCount:T.value,toggleSort:d,prevPage:w,nextPage:E,setPage:L,setItemsPerPage:F,isSelected:U,select:j,selectAll:I,toggleSelect:M,isExpanded:V,toggleExpand:R,isGroupOpen:P,toggleGroup:v,items:O.value,groupedItems:N.value}));return useRender(()=>createVNode(e.tag,{class:["v-data-iterator",e.class],style:e.style},{default:()=>{var $,G,ne,oe;return[($=n.header)==null?void 0:$.call(n,D.value),N.value.length?(ne=n.default)==null?void 0:ne.call(n,D.value):(G=n["no-data"])==null?void 0:G.call(n),(oe=n.footer)==null?void 0:oe.call(n,D.value)]}})),{}}}),makeVDataTableFooterProps=propsFactory({prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},pageText:{type:String,default:"$vuetify.dataFooter.pageText"},firstPageLabel:{type:String,default:"$vuetify.dataFooter.firstPage"},prevPageLabel:{type:String,default:"$vuetify.dataFooter.prevPage"},nextPageLabel:{type:String,default:"$vuetify.dataFooter.nextPage"},lastPageLabel:{type:String,default:"$vuetify.dataFooter.lastPage"},itemsPerPageOptions:{type:Array,default:()=>[{value:10,title:"10"},{value:25,title:"25"},{value:50,title:"50"},{value:100,title:"100"},{value:-1,title:"$vuetify.dataFooter.itemsPerPageAll"}]},showCurrentPage:Boolean},"VDataTableFooter"),VDataTableFooter=genericComponent()({name:"VDataTableFooter",props:makeVDataTableFooterProps(),setup(e,t){let{slots:n}=t;const{t:r}=useLocale(),{page:a,pageCount:o,startIndex:i,stopIndex:s,itemsLength:l,itemsPerPage:c,setItemsPerPage:u}=usePagination(),f=computed(()=>e.itemsPerPageOptions.map(d=>typeof d=="number"?{value:d,title:d===-1?r("$vuetify.dataFooter.itemsPerPageAll"):String(d)}:{...d,title:r(d.title)}));return()=>{var d;return createVNode("div",{class:"v-data-table-footer"},[(d=n.prepend)==null?void 0:d.call(n),createVNode("div",{class:"v-data-table-footer__items-per-page"},[createVNode("span",null,[r(e.itemsPerPageText)]),createVNode(VSelect,{items:f.value,modelValue:c.value,"onUpdate:modelValue":m=>u(Number(m)),density:"compact",variant:"outlined","hide-details":!0},null)]),createVNode("div",{class:"v-data-table-footer__info"},[createVNode("div",null,[r(e.pageText,l.value?i.value+1:0,s.value,l.value)])]),createVNode("div",{class:"v-data-table-footer__pagination"},[createVNode(VBtn,{icon:e.firstIcon,variant:"plain",onClick:()=>a.value=1,disabled:a.value===1,"aria-label":r(e.firstPageLabel)},null),createVNode(VBtn,{icon:e.prevIcon,variant:"plain",onClick:()=>a.value=Math.max(1,a.value-1),disabled:a.value===1,"aria-label":r(e.prevPageLabel)},null),e.showCurrentPage&&createVNode("span",{key:"page",class:"v-data-table-footer__page"},[a.value]),createVNode(VBtn,{icon:e.nextIcon,variant:"plain",onClick:()=>a.value=Math.min(o.value,a.value+1),disabled:a.value===o.value,"aria-label":r(e.nextPageLabel)},null),createVNode(VBtn,{icon:e.lastIcon,variant:"plain",onClick:()=>a.value=o.value,disabled:a.value===o.value,"aria-label":r(e.lastPageLabel)},null)])])}}}),VDataTableColumn=defineFunctionalComponent({align:{type:String,default:"start"},fixed:Boolean,fixedOffset:[Number,String],height:[Number,String],lastFixed:Boolean,noPadding:Boolean,tag:String,width:[Number,String]},(e,t)=>{let{slots:n}=t;const r=e.tag??"td";return createVNode(r,{class:["v-data-table__td",{"v-data-table-column--fixed":e.fixed,"v-data-table-column--last-fixed":e.lastFixed,"v-data-table-column--no-padding":e.noPadding},`v-data-table-column--align-${e.align}`],style:{height:convertToUnit(e.height),width:convertToUnit(e.width),left:convertToUnit(e.fixedOffset||null)}},{default:()=>{var a;return[(a=n.default)==null?void 0:a.call(n)]}})}),makeDataTableHeaderProps=propsFactory({headers:Array},"DataTable-header"),VDataTableHeadersSymbol=Symbol.for("vuetify:data-table-headers"),defaultHeader={title:"",sortable:!1},defaultActionHeader={...defaultHeader,width:48};function priorityQueue(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).map(n=>({element:n,priority:0}));return{enqueue:(n,r)=>{let a=!1;for(let o=0;o<t.length;o++)if(t[o].priority>r){t.splice(o,0,{element:n,priority:r}),a=!0;break}a||t.push({element:n,priority:r})},size:()=>t.length,count:()=>{let n=0;if(!t.length)return 0;const r=Math.floor(t[0].priority);for(let a=0;a<t.length;a++)Math.floor(t[a].priority)===r&&(n+=1);return n},dequeue:()=>t.shift()}}function extractLeaves(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(!e.children)t.push(e);else for(const n of e.children)extractLeaves(n,t);return t}function extractKeys(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const n of e)n.key&&t.add(n.key),n.children&&extractKeys(n.children,t);return t}function getDefaultItem(e){if(e.key){if(e.key==="data-table-group")return defaultHeader;if(["data-table-expand","data-table-select"].includes(e.key))return defaultActionHeader}}function getDepth(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.children?Math.max(t,...e.children.map(n=>getDepth(n,t+1))):t}function parseFixedColumns(e){let t=!1;function n(o){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o)if(i&&(o.fixed=!0),o.fixed)if(o.children)for(let s=o.children.length-1;s>=0;s--)n(o.children[s],!0);else t?isNaN(+o.width)&&(`${o.key}`,void 0):o.lastFixed=!0,t=!0;else if(o.children)for(let s=o.children.length-1;s>=0;s--)n(o.children[s]);else t=!1}for(let o=e.length-1;o>=0;o--)n(e[o]);function r(o){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!o)return i;if(o.children){o.fixedOffset=i;for(const s of o.children)i=r(s,i)}else o.fixed&&(o.fixedOffset=i,i+=parseFloat(o.width||"0")||0);return i}let a=0;for(const o of e)a=r(o,a)}function parse(e,t){const n=[];let r=0;const a=priorityQueue(e);for(;a.size()>0;){let i=a.count();const s=[];let l=1;for(;i>0;){const{element:c,priority:u}=a.dequeue(),f=t-r-getDepth(c);if(s.push({...c,rowspan:f??1,colspan:c.children?extractLeaves(c).length:1}),c.children)for(const d of c.children){const m=u%1+l/Math.pow(10,r+1);a.enqueue(d,r+f+m)}l+=1,i-=1}r+=1,n.push(s)}return{columns:e.map(i=>extractLeaves(i)).flat(),headers:n}}function convertToInternalHeaders(e){const t=[];for(const n of e){const r={...getDefaultItem(n),...n},a=r.key??(typeof r.value=="string"?r.value:null),o=r.value??a??null,i={...r,key:a,value:o,sortable:r.sortable??(r.key!=null||!!r.sort),children:r.children?convertToInternalHeaders(r.children):void 0};t.push(i)}return t}function createHeaders(e,t){const n=ref([]),r=ref([]),a=ref(),o=ref();watchEffect(()=>{var y,g,P;const l=(e.headers||Object.keys(e.items[0]??{}).map(v=>({key:v,title:capitalize$1(v)}))).slice(),c=extractKeys(l);(y=t==null?void 0:t.groupBy)!=null&&y.value.length&&!c.has("data-table-group")&&l.unshift({key:"data-table-group",title:"Group"}),(g=t==null?void 0:t.showSelect)!=null&&g.value&&!c.has("data-table-select")&&l.unshift({key:"data-table-select"}),(P=t==null?void 0:t.showExpand)!=null&&P.value&&!c.has("data-table-expand")&&l.push({key:"data-table-expand"});const u=convertToInternalHeaders(l);parseFixedColumns(u);const f=Math.max(...u.map(v=>getDepth(v)))+1,d=parse(u,f);n.value=d.headers,r.value=d.columns;const m=d.headers.flat(1);a.value=m.reduce((v,_)=>(_.sortable&&_.key&&_.sort&&(v[_.key]=_.sort),v),{}),o.value=m.reduce((v,_)=>(_.key&&_.filter&&(v[_.key]=_.filter),v),{})});const i={headers:n,columns:r,sortFunctions:a,filterFunctions:o};return provide(VDataTableHeadersSymbol,i),i}function useHeaders(){const e=inject$1(VDataTableHeadersSymbol);if(!e)throw new Error("Missing headers!");return e}const makeVDataTableHeadersProps=propsFactory({color:String,sticky:Boolean,multiSort:Boolean,sortAscIcon:{type:IconValue,default:"$sortAsc"},sortDescIcon:{type:IconValue,default:"$sortDesc"},...makeLoaderProps()},"VDataTableHeaders"),VDataTableHeaders=genericComponent()({name:"VDataTableHeaders",props:makeVDataTableHeadersProps(),setup(e,t){let{slots:n}=t;const{toggleSort:r,sortBy:a,isSorted:o}=useSort(),{someSelected:i,allSelected:s,selectAll:l,showSelectAll:c}=useSelection(),{columns:u,headers:f}=useHeaders(),{loaderClasses:d}=useLoader(e);function m(b,S){if(!(!e.sticky&&!b.fixed))return{position:"sticky",left:b.fixed?convertToUnit(b.fixedOffset):void 0,top:e.sticky?`calc(var(--v-table-header-height) * ${S})`:void 0}}function y(b){const S=a.value.find(C=>C.key===b.key);return S?S.order==="asc"?e.sortAscIcon:e.sortDescIcon:e.sortAscIcon}const{backgroundColorClasses:g,backgroundColorStyles:P}=useBackgroundColor(e,"color"),v=computed(()=>({headers:f.value,columns:u.value,toggleSort:r,isSorted:o,sortBy:a.value,someSelected:i.value,allSelected:s.value,selectAll:l,getSortIcon:y})),_=b=>{let{column:S,x:C,y:k}=b;const T=S.key==="data-table-select"||S.key==="data-table-expand";return createVNode(VDataTableColumn,mergeProps({tag:"th",align:S.align,class:["v-data-table__th",{"v-data-table__th--sortable":S.sortable,"v-data-table__th--sorted":o(S),"v-data-table__th--fixed":S.fixed},d.value],style:{width:convertToUnit(S.width),minWidth:convertToUnit(S.width),...m(S,k)},colspan:S.colspan,rowspan:S.rowspan,onClick:S.sortable?()=>r(S):void 0,fixed:S.fixed,lastFixed:S.lastFixed,noPadding:T},S.headerProps),{default:()=>{var F;const w=`header.${S.key}`,E={column:S,selectAll:l,isSorted:o,toggleSort:r,sortBy:a.value,someSelected:i.value,allSelected:s.value,getSortIcon:y};return n[w]?n[w](E):S.key==="data-table-select"?((F=n["header.data-table-select"])==null?void 0:F.call(n,E))??(c&&createVNode(VCheckboxBtn,{modelValue:s.value,indeterminate:i.value&&!s.value,"onUpdate:modelValue":l},null)):createVNode("div",{class:"v-data-table-header__content"},[createVNode("span",null,[S.title]),S.sortable&&createVNode(VIcon,{key:"icon",class:"v-data-table-header__sort-icon",icon:y(S)},null),e.multiSort&&o(S)&&createVNode("div",{key:"badge",class:["v-data-table-header__sort-badge",...g.value],style:P.value},[a.value.findIndex(L=>L.key===S.key)+1])])}})};useRender(()=>createVNode(Fragment,null,[n.headers?n.headers(v.value):f.value.map((b,S)=>createVNode("tr",null,[b.map((C,k)=>createVNode(_,{column:C,x:k,y:S},null))])),e.loading&&createVNode("tr",{class:"v-data-table-progress"},[createVNode("th",{colspan:u.value.length},[createVNode(LoaderSlot,{name:"v-data-table-progress",active:!0,color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0},{default:n.loader})])])]))}}),makeVDataTableGroupHeaderRowProps=propsFactory({item:{type:Object,required:!0}},"VDataTableGroupHeaderRow"),VDataTableGroupHeaderRow=genericComponent()({name:"VDataTableGroupHeaderRow",props:makeVDataTableGroupHeaderRowProps(),setup(e,t){let{slots:n}=t;const{isGroupOpen:r,toggleGroup:a,extractRows:o}=useGroupBy(),{isSelected:i,isSomeSelected:s,select:l}=useSelection(),{columns:c}=useHeaders(),u=computed(()=>o([e.item]));return()=>createVNode("tr",{class:"v-data-table-group-header-row",style:{"--v-data-table-group-header-row-depth":e.item.depth}},[c.value.map(f=>{var d,m;if(f.key==="data-table-group"){const y=r(e.item)?"$expand":"$next",g=()=>a(e.item);return((d=n["data-table-group"])==null?void 0:d.call(n,{item:e.item,count:u.value.length,props:{icon:y,onClick:g}}))??createVNode(VDataTableColumn,{class:"v-data-table-group-header-row__column"},{default:()=>[createVNode(VBtn,{size:"small",variant:"text",icon:y,onClick:g},null),createVNode("span",null,[e.item.value]),createVNode("span",null,[createTextVNode("("),u.value.length,createTextVNode(")")])]})}if(f.key==="data-table-select"){const y=i(u.value),g=s(u.value)&&!y,P=v=>l(u.value,v);return((m=n["data-table-select"])==null?void 0:m.call(n,{props:{modelValue:y,indeterminate:g,"onUpdate:modelValue":P}}))??createVNode("td",null,[createVNode(VCheckboxBtn,{modelValue:y,indeterminate:g,"onUpdate:modelValue":P},null)])}return createVNode("td",null,null)})])}}),makeVDataTableRowProps=propsFactory({index:Number,item:Object,cellProps:[Object,Function],onClick:EventProp(),onContextmenu:EventProp(),onDblclick:EventProp()},"VDataTableRow"),VDataTableRow=genericComponent()({name:"VDataTableRow",props:makeVDataTableRowProps(),setup(e,t){let{slots:n}=t;const{isSelected:r,toggleSelect:a}=useSelection(),{isExpanded:o,toggleExpand:i}=useExpanded(),{columns:s}=useHeaders();useRender(()=>createVNode("tr",{class:["v-data-table__tr",{"v-data-table__tr--clickable":!!(e.onClick||e.onContextmenu||e.onDblclick)}],onClick:e.onClick,onContextmenu:e.onContextmenu,onDblclick:e.onDblclick},[e.item&&s.value.map((l,c)=>{const u=e.item,f=`item.${l.key}`,d={index:e.index,item:u.raw,internalItem:u,value:getObjectValueByPath(u.columns,l.key),column:l,isSelected:r,toggleSelect:a,isExpanded:o,toggleExpand:i},m=typeof e.cellProps=="function"?e.cellProps({index:d.index,item:d.item,internalItem:d.internalItem,value:d.value,column:l}):e.cellProps,y=typeof l.cellProps=="function"?l.cellProps({index:d.index,item:d.item,internalItem:d.internalItem,value:d.value}):l.cellProps;return createVNode(VDataTableColumn,mergeProps({align:l.align,fixed:l.fixed,fixedOffset:l.fixedOffset,lastFixed:l.lastFixed,noPadding:l.key==="data-table-select"||l.key==="data-table-expand",width:l.width},m,y),{default:()=>{var g,P;return n[f]?n[f](d):l.key==="data-table-select"?((g=n["item.data-table-select"])==null?void 0:g.call(n,d))??createVNode(VCheckboxBtn,{disabled:!u.selectable,modelValue:r([u]),onClick:withModifiers(()=>a(u),["stop"])},null):l.key==="data-table-expand"?((P=n["item.data-table-expand"])==null?void 0:P.call(n,d))??createVNode(VBtn,{icon:o(u)?"$collapse":"$expand",size:"small",variant:"text",onClick:withModifiers(()=>i(u),["stop"])},null):toDisplayString$1(d.value)}})})]))}}),makeVDataTableRowsProps=propsFactory({loading:[Boolean,String],loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideNoData:Boolean,items:{type:Array,default:()=>[]},noDataText:{type:String,default:"$vuetify.noDataText"},rowHeight:Number,rowProps:[Object,Function],cellProps:[Object,Function]},"VDataTableRows"),VDataTableRows=genericComponent()({name:"VDataTableRows",inheritAttrs:!1,props:makeVDataTableRowsProps(),setup(e,t){let{attrs:n,slots:r}=t;const{columns:a}=useHeaders(),{expandOnClick:o,toggleExpand:i,isExpanded:s}=useExpanded(),{isSelected:l,toggleSelect:c}=useSelection(),{toggleGroup:u,isGroupOpen:f}=useGroupBy(),{t:d}=useLocale();return useRender(()=>{var m,y;return e.loading?createVNode("tr",{class:"v-data-table-rows-loading",key:"loading"},[createVNode("td",{colspan:a.value.length},[((m=r.loading)==null?void 0:m.call(r))??d(e.loadingText)])]):!e.loading&&!e.items.length&&!e.hideNoData?createVNode("tr",{class:"v-data-table-rows-no-data",key:"no-data"},[createVNode("td",{colspan:a.value.length},[((y=r["no-data"])==null?void 0:y.call(r))??d(e.noDataText)])]):createVNode(Fragment,null,[e.items.map((g,P)=>{var b;if(g.type==="group"){const S={index:P,item:g,columns:a.value,isExpanded:s,toggleExpand:i,isSelected:l,toggleSelect:c,toggleGroup:u,isGroupOpen:f};return r["group-header"]?r["group-header"](S):createVNode(VDataTableGroupHeaderRow,mergeProps({key:`group-header_${g.id}`,item:g},getPrefixedEventHandlers(n,":group-header",()=>S)),r)}const v={index:P,item:g.raw,internalItem:g,columns:a.value,isExpanded:s,toggleExpand:i,isSelected:l,toggleSelect:c},_={...v,props:mergeProps({key:`item_${g.key??g.index}`,onClick:o.value?()=>{i(g)}:void 0,index:P,item:g,cellProps:e.cellProps},getPrefixedEventHandlers(n,":row",()=>v),typeof e.rowProps=="function"?e.rowProps({item:v.item,index:v.index,internalItem:v.internalItem}):e.rowProps)};return createVNode(Fragment,{key:_.props.key},[r.item?r.item(_):createVNode(VDataTableRow,_.props,r),s(g)&&((b=r["expanded-row"])==null?void 0:b.call(r,v))])})])}),{}}}),makeVTableProps=propsFactory({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...makeComponentProps(),...makeDensityProps(),...makeTagProps(),...makeThemeProps()},"VTable"),VTable=genericComponent()({name:"VTable",props:makeVTableProps(),setup(e,t){let{slots:n,emit:r}=t;const{themeClasses:a}=provideTheme(e),{densityClasses:o}=useDensity(e);return useRender(()=>createVNode(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!n.top,"v-table--has-bottom":!!n.bottom,"v-table--hover":e.hover},a.value,o.value,e.class],style:e.style},{default:()=>{var i,s,l;return[(i=n.top)==null?void 0:i.call(n),n.default?createVNode("div",{class:"v-table__wrapper",style:{height:convertToUnit(e.height)}},[createVNode("table",null,[n.default()])]):(s=n.wrapper)==null?void 0:s.call(n),(l=n.bottom)==null?void 0:l.call(n)]}})),{}}}),makeDataTableItemsProps=propsFactory({items:{type:Array,default:()=>[]},itemValue:{type:[String,Array,Function],default:"id"},itemSelectable:{type:[String,Array,Function],default:null},rowProps:[Object,Function],cellProps:[Object,Function],returnObject:Boolean},"DataTable-items");function transformItem(e,t,n,r){const a=e.returnObject?t:getPropertyFromItem(t,e.itemValue),o=getPropertyFromItem(t,e.itemSelectable,!0),i=r.reduce((s,l)=>(l.key!=null&&(s[l.key]=getPropertyFromItem(t,l.value)),s),{});return{type:"item",key:e.returnObject?getPropertyFromItem(t,e.itemValue):a,index:n,value:a,selectable:o,columns:i,raw:t}}function transformItems(e,t,n){return t.map((r,a)=>transformItem(e,r,a,n))}function useDataTableItems(e,t){return{items:computed(()=>transformItems(e,e.items,t.value))}}const makeDataTableProps=propsFactory({...makeVDataTableRowsProps(),width:[String,Number],search:String,...makeDataTableExpandProps(),...makeDataTableGroupProps(),...makeDataTableHeaderProps(),...makeDataTableItemsProps(),...makeDataTableSelectProps(),...makeDataTableSortProps(),...makeVDataTableHeadersProps(),...makeVTableProps()},"DataTable"),makeVDataTableProps=propsFactory({...makeDataTablePaginateProps(),...makeDataTableProps(),...makeFilterProps(),...makeVDataTableFooterProps()},"VDataTable"),VDataTable=genericComponent()({name:"VDataTable",props:makeVDataTableProps(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:groupBy":e=>!0,"update:expanded":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{groupBy:a}=createGroupBy(e),{sortBy:o,multiSort:i,mustSort:s}=createSort(e),{page:l,itemsPerPage:c}=createPagination(e),{columns:u,headers:f,sortFunctions:d,filterFunctions:m}=createHeaders(e,{groupBy:a,showSelect:toRef(e,"showSelect"),showExpand:toRef(e,"showExpand")}),{items:y}=useDataTableItems(e,u),g=toRef(e,"search"),{filteredItems:P}=useFilter(e,y,g,{transform:ce=>ce.columns,customKeyFilter:m}),{toggleSort:v}=provideSort({sortBy:o,multiSort:i,mustSort:s,page:l}),{sortByWithGroups:_,opened:b,extractRows:S,isGroupOpen:C,toggleGroup:k}=provideGroupBy({groupBy:a,sortBy:o}),{sortedItems:T}=useSortedItems(e,P,_,d),{flatItems:w}=useGroupedItems(T,a,b),E=computed(()=>w.value.length),{startIndex:F,stopIndex:L,pageCount:N,setItemsPerPage:O}=providePagination({page:l,itemsPerPage:c,itemsLength:E}),{paginatedItems:U}=usePaginatedItems({items:w,startIndex:F,stopIndex:L,itemsPerPage:c}),j=computed(()=>S(U.value)),{isSelected:I,select:M,selectAll:V,toggleSelect:R,someSelected:D,allSelected:$}=provideSelection(e,{allItems:y,currentPage:j}),{isExpanded:G,toggleExpand:ne}=provideExpanded(e);useOptions({page:l,itemsPerPage:c,sortBy:o,groupBy:a,search:g}),provideDefaults({VDataTableRows:{hideNoData:toRef(e,"hideNoData"),noDataText:toRef(e,"noDataText"),loading:toRef(e,"loading"),loadingText:toRef(e,"loadingText")}});const oe=computed(()=>({page:l.value,itemsPerPage:c.value,sortBy:o.value,pageCount:N.value,toggleSort:v,setItemsPerPage:O,someSelected:D.value,allSelected:$.value,isSelected:I,select:M,selectAll:V,toggleSelect:R,isExpanded:G,toggleExpand:ne,isGroupOpen:C,toggleGroup:k,items:j.value.map(ce=>ce.raw),internalItems:j.value,groupedItems:U.value,columns:u.value,headers:f.value}));return useRender(()=>{const ce=VDataTableFooter.filterProps(e),ee=VDataTableHeaders.filterProps(e),Y=VDataTableRows.filterProps(e),Q=VTable.filterProps(e);return createVNode(VTable,mergeProps({class:["v-data-table",{"v-data-table--show-select":e.showSelect,"v-data-table--loading":e.loading},e.class],style:e.style},Q),{top:()=>{var z;return(z=r.top)==null?void 0:z.call(r,oe.value)},default:()=>{var z,re,ue,de,x,A;return r.default?r.default(oe.value):createVNode(Fragment,null,[(z=r.colgroup)==null?void 0:z.call(r,oe.value),createVNode("thead",null,[createVNode(VDataTableHeaders,ee,r)]),(re=r.thead)==null?void 0:re.call(r,oe.value),createVNode("tbody",null,[(ue=r["body.prepend"])==null?void 0:ue.call(r,oe.value),r.body?r.body(oe.value):createVNode(VDataTableRows,mergeProps(n,Y,{items:U.value}),r),(de=r["body.append"])==null?void 0:de.call(r,oe.value)]),(x=r.tbody)==null?void 0:x.call(r,oe.value),(A=r.tfoot)==null?void 0:A.call(r,oe.value)])},bottom:()=>r.bottom?r.bottom(oe.value):createVNode(Fragment,null,[createVNode(VDataTableFooter,ce,{prepend:r["footer.prepend"]})])})}),{}}}),makeVDataTableVirtualProps=propsFactory({...makeDataTableProps(),...makeDataTableGroupProps(),...makeVirtualProps(),...makeFilterProps()},"VDataTableVirtual"),VDataTableVirtual=genericComponent()({name:"VDataTableVirtual",props:makeVDataTableVirtualProps(),emits:{"update:modelValue":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:groupBy":e=>!0,"update:expanded":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{groupBy:a}=createGroupBy(e),{sortBy:o,multiSort:i,mustSort:s}=createSort(e),{columns:l,headers:c,sortFunctions:u,filterFunctions:f}=createHeaders(e,{groupBy:a,showSelect:toRef(e,"showSelect"),showExpand:toRef(e,"showExpand")}),{items:d}=useDataTableItems(e,l),m=toRef(e,"search"),{filteredItems:y}=useFilter(e,d,m,{transform:ee=>ee.columns,customKeyFilter:f}),{toggleSort:g}=provideSort({sortBy:o,multiSort:i,mustSort:s}),{sortByWithGroups:P,opened:v,extractRows:_,isGroupOpen:b,toggleGroup:S}=provideGroupBy({groupBy:a,sortBy:o}),{sortedItems:C}=useSortedItems(e,y,P,u),{flatItems:k}=useGroupedItems(C,a,v),T=computed(()=>_(k.value)),{isSelected:w,select:E,selectAll:F,toggleSelect:L,someSelected:N,allSelected:O}=provideSelection(e,{allItems:T,currentPage:T}),{isExpanded:U,toggleExpand:j}=provideExpanded(e),{containerRef:I,markerRef:M,paddingTop:V,paddingBottom:R,computedItems:D,handleItemResize:$,handleScroll:G,handleScrollend:ne}=useVirtual(e,k),oe=computed(()=>D.value.map(ee=>ee.raw));useOptions({sortBy:o,page:shallowRef(1),itemsPerPage:shallowRef(-1),groupBy:a,search:m}),provideDefaults({VDataTableRows:{hideNoData:toRef(e,"hideNoData"),noDataText:toRef(e,"noDataText"),loading:toRef(e,"loading"),loadingText:toRef(e,"loadingText")}});const ce=computed(()=>({sortBy:o.value,toggleSort:g,someSelected:N.value,allSelected:O.value,isSelected:w,select:E,selectAll:F,toggleSelect:L,isExpanded:U,toggleExpand:j,isGroupOpen:b,toggleGroup:S,items:T.value.map(ee=>ee.raw),internalItems:T.value,groupedItems:k.value,columns:l.value,headers:c.value}));useRender(()=>{const ee=VDataTableHeaders.filterProps(e),Y=VDataTableRows.filterProps(e),Q=VTable.filterProps(e);return createVNode(VTable,mergeProps({class:["v-data-table",{"v-data-table--loading":e.loading},e.class],style:e.style},Q),{top:()=>{var z;return(z=r.top)==null?void 0:z.call(r,ce.value)},wrapper:()=>{var z,re;return createVNode("div",{ref:I,onScrollPassive:G,onScrollend:ne,class:"v-table__wrapper",style:{height:convertToUnit(e.height)}},[createVNode("table",null,[createVNode("thead",null,[createVNode(VDataTableHeaders,mergeProps(ee,{sticky:e.fixedHeader}),r)]),createVNode("tbody",null,[createVNode("tr",{ref:M,style:{height:convertToUnit(V.value),border:0}},[createVNode("td",{colspan:l.value.length,style:{height:0,border:0}},null)]),(z=r["body.prepend"])==null?void 0:z.call(r,ce.value),createVNode(VDataTableRows,mergeProps(n,Y,{items:oe.value}),{...r,item:ue=>createVNode(VVirtualScrollItem,{key:ue.internalItem.index,renderless:!0,"onUpdate:height":de=>$(ue.internalItem.index,de)},{default:de=>{var A;let{itemRef:x}=de;return((A=r.item)==null?void 0:A.call(r,{...ue,itemRef:x}))??createVNode(VDataTableRow,mergeProps(ue.props,{ref:x,key:ue.internalItem.index}),r)}})}),(re=r["body.append"])==null?void 0:re.call(r,ce.value),createVNode("tr",{style:{height:convertToUnit(R.value),border:0}},[createVNode("td",{colspan:l.value.length,style:{height:0,border:0}},null)])])])])},bottom:()=>{var z;return(z=r.bottom)==null?void 0:z.call(r,ce.value)}})})}}),makeVDataTableServerProps=propsFactory({itemsLength:{type:[Number,String],required:!0},...makeDataTablePaginateProps(),...makeDataTableProps(),...makeVDataTableFooterProps()},"VDataTableServer"),VDataTableServer=genericComponent()({name:"VDataTableServer",props:makeVDataTableServerProps(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:expanded":e=>!0,"update:groupBy":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{groupBy:a}=createGroupBy(e),{sortBy:o,multiSort:i,mustSort:s}=createSort(e),{page:l,itemsPerPage:c}=createPagination(e),u=computed(()=>parseInt(e.itemsLength,10)),{columns:f,headers:d}=createHeaders(e,{groupBy:a,showSelect:toRef(e,"showSelect"),showExpand:toRef(e,"showExpand")}),{items:m}=useDataTableItems(e,f),{toggleSort:y}=provideSort({sortBy:o,multiSort:i,mustSort:s,page:l}),{opened:g,isGroupOpen:P,toggleGroup:v,extractRows:_}=provideGroupBy({groupBy:a,sortBy:o}),{pageCount:b,setItemsPerPage:S}=providePagination({page:l,itemsPerPage:c,itemsLength:u}),{flatItems:C}=useGroupedItems(m,a,g),{isSelected:k,select:T,selectAll:w,toggleSelect:E,someSelected:F,allSelected:L}=provideSelection(e,{allItems:m,currentPage:m}),{isExpanded:N,toggleExpand:O}=provideExpanded(e),U=computed(()=>_(m.value));useOptions({page:l,itemsPerPage:c,sortBy:o,groupBy:a,search:toRef(e,"search")}),provide("v-data-table",{toggleSort:y,sortBy:o}),provideDefaults({VDataTableRows:{hideNoData:toRef(e,"hideNoData"),noDataText:toRef(e,"noDataText"),loading:toRef(e,"loading"),loadingText:toRef(e,"loadingText")}});const j=computed(()=>({page:l.value,itemsPerPage:c.value,sortBy:o.value,pageCount:b.value,toggleSort:y,setItemsPerPage:S,someSelected:F.value,allSelected:L.value,isSelected:k,select:T,selectAll:w,toggleSelect:E,isExpanded:N,toggleExpand:O,isGroupOpen:P,toggleGroup:v,items:U.value.map(I=>I.raw),internalItems:U.value,groupedItems:C.value,columns:f.value,headers:d.value}));useRender(()=>{const I=VDataTableFooter.filterProps(e),M=VDataTableHeaders.filterProps(e),V=VDataTableRows.filterProps(e),R=VTable.filterProps(e);return createVNode(VTable,mergeProps({class:["v-data-table",{"v-data-table--loading":e.loading},e.class],style:e.style},R),{top:()=>{var D;return(D=r.top)==null?void 0:D.call(r,j.value)},default:()=>{var D,$,G,ne,oe,ce;return r.default?r.default(j.value):createVNode(Fragment,null,[(D=r.colgroup)==null?void 0:D.call(r,j.value),createVNode("thead",{class:"v-data-table__thead",role:"rowgroup"},[createVNode(VDataTableHeaders,mergeProps(M,{sticky:e.fixedHeader}),r)]),($=r.thead)==null?void 0:$.call(r,j.value),createVNode("tbody",{class:"v-data-table__tbody",role:"rowgroup"},[(G=r["body.prepend"])==null?void 0:G.call(r,j.value),r.body?r.body(j.value):createVNode(VDataTableRows,mergeProps(n,V,{items:C.value}),r),(ne=r["body.append"])==null?void 0:ne.call(r,j.value)]),(oe=r.tbody)==null?void 0:oe.call(r,j.value),(ce=r.tfoot)==null?void 0:ce.call(r,j.value)])},bottom:()=>r.bottom?r.bottom(j.value):createVNode(VDataTableFooter,I,{prepend:r["footer.prepend"]})})})}}),makeVContainerProps=propsFactory({fluid:{type:Boolean,default:!1},...makeComponentProps(),...makeTagProps()},"VContainer"),VContainer=genericComponent()({name:"VContainer",props:makeVContainerProps(),setup(e,t){let{slots:n}=t;const{rtlClasses:r}=useRtl();return useRender(()=>createVNode(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},r.value,e.class],style:e.style},n)),{}}}),breakpointProps=breakpoints.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}),offsetProps=breakpoints.reduce((e,t)=>{const n="offset"+capitalize$1(t);return e[n]={type:[String,Number],default:null},e},{}),orderProps=breakpoints.reduce((e,t)=>{const n="order"+capitalize$1(t);return e[n]={type:[String,Number],default:null},e},{}),propMap$1={col:Object.keys(breakpointProps),offset:Object.keys(offsetProps),order:Object.keys(orderProps)};function breakpointClass$1(e,t,n){let r=e;if(!(n==null||n===!1)){if(t){const a=t.replace(e,"");r+=`-${a}`}return e==="col"&&(r="v-"+r),e==="col"&&(n===""||n===!0)||(r+=`-${n}`),r.toLowerCase()}}const ALIGN_SELF_VALUES=["auto","start","end","center","baseline","stretch"],makeVColProps=propsFactory({cols:{type:[Boolean,String,Number],default:!1},...breakpointProps,offset:{type:[String,Number],default:null},...offsetProps,order:{type:[String,Number],default:null},...orderProps,alignSelf:{type:String,default:null,validator:e=>ALIGN_SELF_VALUES.includes(e)},...makeComponentProps(),...makeTagProps()},"VCol"),VCol=genericComponent()({name:"VCol",props:makeVColProps(),setup(e,t){let{slots:n}=t;const r=computed(()=>{const a=[];let o;for(o in propMap$1)propMap$1[o].forEach(s=>{const l=e[s],c=breakpointClass$1(o,s,l);c&&a.push(c)});const i=a.some(s=>s.startsWith("v-col-"));return a.push({"v-col":!i||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),a});return()=>{var a;return h(e.tag,{class:[r.value,e.class],style:e.style},(a=n.default)==null?void 0:a.call(n))}}}),ALIGNMENT=["start","end","center"],SPACE=["space-between","space-around","space-evenly"];function makeRowProps(e,t){return breakpoints.reduce((n,r)=>{const a=e+capitalize$1(r);return n[a]=t(),n},{})}const ALIGN_VALUES=[...ALIGNMENT,"baseline","stretch"],alignValidator=e=>ALIGN_VALUES.includes(e),alignProps=makeRowProps("align",()=>({type:String,default:null,validator:alignValidator})),JUSTIFY_VALUES=[...ALIGNMENT,...SPACE],justifyValidator=e=>JUSTIFY_VALUES.includes(e),justifyProps=makeRowProps("justify",()=>({type:String,default:null,validator:justifyValidator})),ALIGN_CONTENT_VALUES=[...ALIGNMENT,...SPACE,"stretch"],alignContentValidator=e=>ALIGN_CONTENT_VALUES.includes(e),alignContentProps=makeRowProps("alignContent",()=>({type:String,default:null,validator:alignContentValidator})),propMap={align:Object.keys(alignProps),justify:Object.keys(justifyProps),alignContent:Object.keys(alignContentProps)},classMap={align:"align",justify:"justify",alignContent:"align-content"};function breakpointClass(e,t,n){let r=classMap[e];if(n!=null){if(t){const a=t.replace(e,"");r+=`-${a}`}return r+=`-${n}`,r.toLowerCase()}}const makeVRowProps=propsFactory({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:alignValidator},...alignProps,justify:{type:String,default:null,validator:justifyValidator},...justifyProps,alignContent:{type:String,default:null,validator:alignContentValidator},...alignContentProps,...makeComponentProps(),...makeTagProps()},"VRow"),VRow=genericComponent()({name:"VRow",props:makeVRowProps(),setup(e,t){let{slots:n}=t;const r=computed(()=>{const a=[];let o;for(o in propMap)propMap[o].forEach(i=>{const s=e[i],l=breakpointClass(o,i,s);l&&a.push(l)});return a.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),a});return()=>{var a;return h(e.tag,{class:["v-row",r.value,e.class],style:e.style},(a=n.default)==null?void 0:a.call(n))}}}),VSpacer=createSimpleFunctional("v-spacer","div","VSpacer"),makeVDatePickerControlsProps=propsFactory({active:{type:[String,Array],default:void 0},disabled:{type:[Boolean,String,Array],default:!1},nextIcon:{type:[String],default:"$next"},prevIcon:{type:[String],default:"$prev"},modeIcon:{type:[String],default:"$subgroup"},text:String,viewMode:{type:String,default:"month"}},"VDatePickerControls"),VDatePickerControls=genericComponent()({name:"VDatePickerControls",props:makeVDatePickerControlsProps(),emits:{"click:year":()=>!0,"click:month":()=>!0,"click:prev":()=>!0,"click:next":()=>!0,"click:text":()=>!0},setup(e,t){let{emit:n}=t;const r=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("text"):!!e.disabled),a=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("mode"):!!e.disabled),o=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("prev"):!!e.disabled),i=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("next"):!!e.disabled);function s(){n("click:prev")}function l(){n("click:next")}function c(){n("click:year")}function u(){n("click:month")}return useRender(()=>createVNode("div",{class:["v-date-picker-controls"]},[createVNode(VBtn,{class:"v-date-picker-controls__month-btn",disabled:r.value,text:e.text,variant:"text",rounded:!0,onClick:u},null),createVNode(VBtn,{key:"mode-btn",class:"v-date-picker-controls__mode-btn",disabled:a.value,density:"comfortable",icon:e.modeIcon,variant:"text",onClick:c},null),createVNode(VSpacer,{key:"mode-spacer"},null),createVNode("div",{key:"month-buttons",class:"v-date-picker-controls__month"},[createVNode(VBtn,{disabled:o.value,icon:e.prevIcon,variant:"text",onClick:s},null),createVNode(VBtn,{disabled:i.value,icon:e.nextIcon,variant:"text",onClick:l},null)])])),{}}}),makeVDatePickerHeaderProps=propsFactory({appendIcon:String,color:String,header:String,transition:String,onClick:EventProp()},"VDatePickerHeader"),VDatePickerHeader=genericComponent()({name:"VDatePickerHeader",props:makeVDatePickerHeaderProps(),emits:{click:()=>!0,"click:append":()=>!0},setup(e,t){let{emit:n,slots:r}=t;const{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(e,"color");function i(){n("click")}function s(){n("click:append")}return useRender(()=>{const l=!!(r.default||e.header),c=!!(r.append||e.appendIcon);return createVNode("div",{class:["v-date-picker-header",{"v-date-picker-header--clickable":!!e.onClick},a.value],style:o.value,onClick:i},[r.prepend&&createVNode("div",{key:"prepend",class:"v-date-picker-header__prepend"},[r.prepend()]),l&&createVNode(MaybeTransition,{key:"content",name:e.transition},{default:()=>{var u;return[createVNode("div",{key:e.header,class:"v-date-picker-header__content"},[((u=r.default)==null?void 0:u.call(r))??e.header])]}}),c&&createVNode("div",{class:"v-date-picker-header__append"},[r.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VBtn:{icon:e.appendIcon,variant:"text"}}},{default:()=>{var u;return[(u=r.append)==null?void 0:u.call(r)]}}):createVNode(VBtn,{key:"append-btn",icon:e.appendIcon,variant:"text",onClick:s},null)])])}),{}}}),makeVDatePickerMonthProps=propsFactory({allowedDates:[Array,Function],color:String,month:[Number,String],hideWeekdays:Boolean,max:null,min:null,modelValue:Array,multiple:Boolean,showAdjacentMonths:Boolean,showWeek:Boolean,year:[Number,String]},"VDatePickerMonth"),VDatePickerMonth=genericComponent()({name:"VDatePickerMonth",props:makeVDatePickerMonthProps(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0},setup(e,t){let{emit:n,slots:r}=t;const a=ref(),o=useDate(),i=useProxiedModel(e,"modelValue",[],g=>wrapInArray(g)),s=computed(()=>{var P;const g=(P=i.value)==null?void 0:P[0];return g&&o.isValid(g)?g:o.date()}),l=useProxiedModel(e,"year",void 0,g=>{let P=o.date(s.value);return g!=null&&(P=o.setYear(P,Number(g))),o.startOfYear(P)},g=>o.getYear(g)),c=useProxiedModel(e,"month",void 0,g=>{let P=o.date(s.value);return g!=null&&(P=o.setMonth(P,Number(g))),P=o.setYear(P,o.getYear(l.value)),P},g=>o.getMonth(g)),u=computed(()=>{const g=o.getWeekArray(c.value),P=g.flat(),v=6*7;if(P.length<v&&e.showAdjacentMonths){const _=P[P.length-1];let b=[];for(let S=1;S<=v-P.length;S++)b.push(o.addDays(_,S)),S%7===0&&(g.push(b),b=[])}return g}),f=computed(()=>{const g=u.value.flat(),P=o.date();return g.map((v,_)=>{const b=o.toISO(v),S=!o.isSameMonth(v,c.value);return{date:v,isoDate:b,formatted:o.format(v,"keyboardDate"),year:o.getYear(v),month:o.getMonth(v),isDisabled:m(v),isWeekStart:_%7===0,isWeekEnd:_%7===6,isSelected:i.value.some(C=>o.isSameDay(v,C)),isToday:o.isSameDay(v,P),isAdjacent:S,isHidden:S&&!e.showAdjacentMonths,isHovered:!1,localized:o.format(v,"dayOfMonth")}})}),d=computed(()=>u.value.map(g=>getWeek(o,g[0])));function m(g){const P=o.date(g);return e.min&&o.isAfter(e.min,P)||e.max&&o.isAfter(P,e.max)?!0:Array.isArray(e.allowedDates)?!e.allowedDates.some(v=>o.isSameDay(o.date(v),P)):typeof e.allowedDates=="function"?!e.allowedDates(P):!1}function y(g){if(e.multiple){const P=i.value.findIndex(v=>o.isSameDay(v,g));if(P===-1)i.value=[...i.value,g];else{const v=[...i.value];v.splice(P,1),i.value=v}}else i.value=[g]}return()=>createVNode("div",{class:"v-date-picker-month"},[e.showWeek&&createVNode("div",{key:"weeks",class:"v-date-picker-month__weeks"},[!e.hideWeekdays&&createVNode("div",{key:"hide-week-days",class:"v-date-picker-month__day"},[createTextVNode(" ")]),d.value.map(g=>createVNode("div",{class:["v-date-picker-month__day","v-date-picker-month__day--adjacent"]},[g]))]),createVNode("div",{ref:a,class:"v-date-picker-month__days"},[!e.hideWeekdays&&o.getWeekdays().map(g=>createVNode("div",{class:["v-date-picker-month__day","v-date-picker-month__weekday"]},[g])),f.value.map((g,P)=>{const v={props:{onClick:()=>y(g.date)},item:g,i:P};return createVNode("div",{class:["v-date-picker-month__day",{"v-date-picker-month__day--adjacent":g.isAdjacent,"v-date-picker-month__day--hide-adjacent":g.isHidden,"v-date-picker-month__day--hovered":g.isHovered,"v-date-picker-month__day--selected":g.isSelected,"v-date-picker-month__day--week-end":g.isWeekEnd,"v-date-picker-month__day--week-start":g.isWeekStart}],"data-v-date":g.isDisabled?void 0:g.isoDate},[(e.showAdjacentMonths||!g.isAdjacent)&&createVNode(VDefaultsProvider,{defaults:{VBtn:{color:(g.isSelected||g.isToday)&&!g.isDisabled?e.color:void 0,disabled:g.isDisabled,icon:!0,ripple:!1,text:g.localized,variant:g.isDisabled?"text":g.isToday&&!g.isSelected?"outlined":"flat",onClick:()=>y(g.date)}}},{default:()=>{var _;return[((_=r.day)==null?void 0:_.call(r,v))??createVNode(VBtn,v.props,null)]}})])})])])}}),makeVDatePickerMonthsProps=propsFactory({color:String,height:[String,Number],modelValue:Number},"VDatePickerMonths"),VDatePickerMonths=genericComponent()({name:"VDatePickerMonths",props:makeVDatePickerMonthsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useDate(),a=useProxiedModel(e,"modelValue"),o=computed(()=>{let i=r.startOfYear(r.date());return createRange(12).map(s=>{const l=r.format(i,"monthShort");return i=r.getNextMonth(i),{text:l,value:s}})});return watchEffect(()=>{a.value=a.value??r.getMonth(r.date())}),useRender(()=>createVNode("div",{class:"v-date-picker-months",style:{height:convertToUnit(e.height)}},[createVNode("div",{class:"v-date-picker-months__content"},[o.value.map((i,s)=>{var u;const l={active:a.value===s,color:a.value===s?e.color:void 0,rounded:!0,text:i.text,variant:a.value===i.value?"flat":"text",onClick:()=>c(s)};function c(f){a.value=f}return((u=n.month)==null?void 0:u.call(n,{month:i,i:s,props:l}))??createVNode(VBtn,mergeProps({key:"month"},l,{onClick:()=>c(s)}),null)})])])),{}}}),makeVDatePickerYearsProps=propsFactory({color:String,height:[String,Number],min:null,max:null,modelValue:Number},"VDatePickerYears"),VDatePickerYears=genericComponent()({name:"VDatePickerYears",props:makeVDatePickerYearsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useDate(),a=useProxiedModel(e,"modelValue"),o=computed(()=>{const s=r.getYear(r.date());let l=s-100,c=s+52;e.min&&(l=r.getYear(r.date(e.min))),e.max&&(c=r.getYear(r.date(e.max)));let u=r.startOfYear(r.date());return u=r.setYear(u,l),createRange(c-l+1,l).map(f=>{const d=r.format(u,"year");return u=r.getNextYear(u),{text:d,value:f}})});watchEffect(()=>{a.value=a.value??r.getYear(r.date())});const i=ref();return onMounted(async()=>{var s;await nextTick(),(s=i.value)==null||s.$el.scrollIntoView({block:"center"})}),useRender(()=>createVNode("div",{class:"v-date-picker-years",style:{height:convertToUnit(e.height)}},[createVNode("div",{class:"v-date-picker-years__content"},[o.value.map((s,l)=>{var u;const c={ref:a.value===s.value?i:void 0,active:a.value===s.value,color:a.value===s.value?e.color:void 0,rounded:!0,text:s.text,variant:a.value===s.value?"flat":"text",onClick:()=>a.value=s.value};return((u=n.year)==null?void 0:u.call(n,{year:s,i:l,props:c}))??createVNode(VBtn,mergeProps({key:"month"},c),null)})])])),{}}}),VPickerTitle=createSimpleFunctional("v-picker-title"),makeVPickerProps=propsFactory({bgColor:String,landscape:Boolean,title:String,hideHeader:Boolean,...makeVSheetProps()},"VPicker"),VPicker=genericComponent()({name:"VPicker",props:makeVPickerProps(),setup(e,t){let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:a}=useBackgroundColor(toRef(e,"color"));return useRender(()=>{const o=VSheet.filterProps(e),i=!!(e.title||n.title);return createVNode(VSheet,mergeProps(o,{color:e.bgColor,class:["v-picker",{"v-picker--landscape":e.landscape,"v-picker--with-actions":!!n.actions},e.class],style:e.style}),{default:()=>{var s;return[!e.hideHeader&&createVNode("div",{key:"header",class:[r.value],style:[a.value]},[i&&createVNode(VPickerTitle,{key:"picker-title"},{default:()=>{var l;return[((l=n.title)==null?void 0:l.call(n))??e.title]}}),n.header&&createVNode("div",{class:"v-picker__header"},[n.header()])]),createVNode("div",{class:"v-picker__body"},[(s=n.default)==null?void 0:s.call(n)]),n.actions&&createVNode(VDefaultsProvider,{defaults:{VBtn:{slim:!0,variant:"text"}}},{default:()=>[createVNode("div",{class:"v-picker__actions"},[n.actions()])]})]}})}),{}}}),makeVDatePickerProps=propsFactory({calendarIcon:{type:String,default:"$calendar"},keyboardIcon:{type:String,default:"$edit"},inputMode:{type:String,default:"calendar"},inputText:{type:String,default:"$vuetify.datePicker.input.placeholder"},inputPlaceholder:{type:String,default:"dd/mm/yyyy"},header:{type:String,default:"$vuetify.datePicker.header"},...makeVDatePickerControlsProps(),...makeVDatePickerMonthProps(),...omit(makeVDatePickerMonthsProps(),["modelValue"]),...omit(makeVDatePickerYearsProps(),["modelValue"]),...makeVPickerProps({title:"$vuetify.datePicker.title"}),modelValue:null},"VDatePicker"),VDatePicker=genericComponent()({name:"VDatePicker",props:makeVDatePickerProps(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0,"update:inputMode":e=>!0,"update:viewMode":e=>!0},setup(e,t){let{emit:n,slots:r}=t;const a=useDate(),{t:o}=useLocale(),i=useProxiedModel(e,"modelValue",void 0,E=>wrapInArray(E),E=>e.multiple?E:E[0]),s=ref(i.value);watchEffect(()=>{s.value=i.value});const l=useProxiedModel(e,"viewMode"),c=useProxiedModel(e,"inputMode"),u=computed(()=>{var F;const E=a.date((F=s.value)==null?void 0:F[0]);return E&&a.isValid(E)?E:a.date()}),f=ref(Number(e.month??a.getMonth(a.startOfMonth(u.value)))),d=ref(Number(e.year??a.getYear(a.startOfYear(a.setMonth(u.value,f.value))))),m=shallowRef(!1),y=computed(()=>e.multiple&&i.value.length>1?o("$vuetify.datePicker.itemsSelected",i.value.length):i.value[0]&&a.isValid(i.value[0])?a.format(i.value[0],"normalDateWithWeekday"):o(e.header)),g=computed(()=>a.format(a.setYear(a.setMonth(a.date(),f.value),d.value),"monthAndYear")),P=computed(()=>`date-picker-header${m.value?"-reverse":""}-transition`),v=computed(()=>{const E=a.date(e.min);return e.min&&a.isValid(E)?E:null}),_=computed(()=>{const E=a.date(e.max);return e.max&&a.isValid(E)?E:null}),b=computed(()=>{const E=[];if(l.value!=="month")E.push("prev","next");else{let F=a.date();if(F=a.setYear(F,d.value),F=a.setMonth(F,f.value),v.value){const L=a.addDays(a.startOfMonth(F),-1);a.isAfter(v.value,L)&&E.push("prev")}if(_.value){const L=a.addDays(a.endOfMonth(F),1);a.isAfter(L,_.value)&&E.push("next")}}return E});function S(){c.value=c.value==="calendar"?"keyboard":"calendar"}function C(){f.value<11?(f.value++,n("update:month",f.value)):(d.value++,f.value=0,n("update:year",d.value))}function k(){f.value>0?(f.value--,n("update:month",f.value)):(d.value--,f.value=11,n("update:year",f.value))}function T(){l.value=l.value==="months"?"month":"months"}function w(){l.value=l.value==="year"?"month":"year"}return watch(f,()=>{l.value==="months"&&T()}),watch(d,()=>{l.value==="year"&&w()}),watch(s,(E,F)=>{const L=a.date(wrapInArray(E)[0]),N=a.date(wrapInArray(F)[0]);m.value=a.isBefore(L,N),i.value=E}),useRender(()=>{const E=VPicker.filterProps(e),F=VDatePickerControls.filterProps(e),L=VDatePickerHeader.filterProps(e),N=VDatePickerMonth.filterProps(e),O=omit(VDatePickerMonths.filterProps(e),["modelValue"]),U=omit(VDatePickerYears.filterProps(e),["modelValue"]);return createVNode(VPicker,mergeProps(E,{class:["v-date-picker",`v-date-picker--${l.value}`,e.class],style:e.style,width:e.showWeek?408:360}),{title:()=>{var j;return((j=r.title)==null?void 0:j.call(r))??createVNode("div",{class:"v-date-picker__title"},[o(e.title)])},header:()=>createVNode(VDatePickerHeader,mergeProps({key:"header"},L,{header:y.value,transition:P.value,"onClick:append":S}),r),default:()=>e.inputMode==="calendar"?createVNode(Fragment,null,[createVNode(VDatePickerControls,mergeProps(F,{disabled:b.value,text:g.value,"onClick:next":C,"onClick:prev":k,"onClick:month":T,"onClick:year":w}),null),createVNode(VFadeTransition,{hideOnLeave:!0},{default:()=>[l.value==="months"?createVNode(VDatePickerMonths,mergeProps({key:"date-picker-months"},O,{modelValue:f.value,"onUpdate:modelValue":j=>f.value=j,min:v.value,max:_.value}),null):l.value==="year"?createVNode(VDatePickerYears,mergeProps({key:"date-picker-years"},U,{modelValue:d.value,"onUpdate:modelValue":j=>d.value=j,min:v.value,max:_.value}),null):createVNode(VDatePickerMonth,mergeProps({key:"date-picker-month"},N,{modelValue:s.value,"onUpdate:modelValue":j=>s.value=j,month:f.value,"onUpdate:month":j=>f.value=j,year:d.value,"onUpdate:year":j=>d.value=j,min:v.value,max:_.value}),null)]})]):createVNode("div",{class:"v-date-picker__input"},[createVNode(VTextField,{label:o(e.inputText),placeholder:e.inputPlaceholder},null)]),actions:r.actions})}),{}}}),VExpansionPanelSymbol=Symbol.for("vuetify:v-expansion-panel"),allowedVariants=["default","accordion","inset","popout"],makeVExpansionPanelsProps=propsFactory({color:String,static:Boolean,variant:{type:String,default:"default",validator:e=>allowedVariants.includes(e)},readonly:Boolean,...makeComponentProps(),...makeGroupProps(),...makeTagProps(),...makeThemeProps()},"VExpansionPanels"),VExpansionPanels=genericComponent()({name:"VExpansionPanels",props:makeVExpansionPanelsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;useGroup(e,VExpansionPanelSymbol);const{themeClasses:r}=provideTheme(e),a=computed(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return provideDefaults({VExpansionPanel:{color:toRef(e,"color")},VExpansionPanelTitle:{readonly:toRef(e,"readonly"),static:toRef(e,"static")}}),useRender(()=>createVNode(e.tag,{class:["v-expansion-panels",r.value,a.value,e.class],style:e.style},n)),{}}}),makeVExpansionPanelTextProps=propsFactory({...makeComponentProps(),...makeLazyProps()},"VExpansionPanelText"),VExpansionPanelText=genericComponent()({name:"VExpansionPanelText",props:makeVExpansionPanelTextProps(),setup(e,t){let{slots:n}=t;const r=inject$1(VExpansionPanelSymbol);if(!r)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:a,onAfterLeave:o}=useLazy(e,r.isSelected);return useRender(()=>createVNode(VExpandTransition,{onAfterLeave:o},{default:()=>{var i;return[withDirectives(createVNode("div",{class:["v-expansion-panel-text",e.class],style:e.style},[n.default&&a.value&&createVNode("div",{class:"v-expansion-panel-text__wrapper"},[(i=n.default)==null?void 0:i.call(n)])]),[[vShow,r.isSelected.value]])]}})),{}}}),makeVExpansionPanelTitleProps=propsFactory({color:String,expandIcon:{type:IconValue,default:"$expand"},collapseIcon:{type:IconValue,default:"$collapse"},hideActions:Boolean,static:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...makeComponentProps()},"VExpansionPanelTitle"),VExpansionPanelTitle=genericComponent()({name:"VExpansionPanelTitle",directives:{Ripple},props:makeVExpansionPanelTitleProps(),setup(e,t){let{slots:n}=t;const r=inject$1(VExpansionPanelSymbol);if(!r)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(e,"color"),i=computed(()=>({collapseIcon:e.collapseIcon,disabled:r.disabled.value,expanded:r.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly}));return useRender(()=>{var s;return withDirectives(createVNode("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":r.isSelected.value,"v-expansion-panel-title--static":e.static},a.value,e.class],style:[o.value,e.style],type:"button",tabindex:r.disabled.value?-1:void 0,disabled:r.disabled.value,"aria-expanded":r.isSelected.value,onClick:e.readonly?void 0:r.toggle},[createVNode("span",{class:"v-expansion-panel-title__overlay"},null),(s=n.default)==null?void 0:s.call(n,i.value),!e.hideActions&&createVNode("span",{class:"v-expansion-panel-title__icon"},[n.actions?n.actions(i.value):createVNode(VIcon,{icon:r.isSelected.value?e.collapseIcon:e.expandIcon},null)])]),[[resolveDirective("ripple"),e.ripple]])}),{}}}),makeVExpansionPanelProps=propsFactory({title:String,text:String,bgColor:String,...makeComponentProps(),...makeElevationProps(),...makeGroupItemProps(),...makeLazyProps(),...makeRoundedProps(),...makeTagProps(),...makeVExpansionPanelTitleProps()},"VExpansionPanel"),VExpansionPanel=genericComponent()({name:"VExpansionPanel",props:makeVExpansionPanelProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=useGroupItem(e,VExpansionPanelSymbol),{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(e,"bgColor"),{elevationClasses:i}=useElevation(e),{roundedClasses:s}=useRounded(e),l=computed(()=>(r==null?void 0:r.disabled.value)||e.disabled),c=computed(()=>r.group.items.value.reduce((d,m,y)=>(r.group.selected.value.includes(m.id)&&d.push(y),d),[])),u=computed(()=>{const d=r.group.items.value.findIndex(m=>m.id===r.id);return!r.isSelected.value&&c.value.some(m=>m-d===1)}),f=computed(()=>{const d=r.group.items.value.findIndex(m=>m.id===r.id);return!r.isSelected.value&&c.value.some(m=>m-d===-1)});return provide(VExpansionPanelSymbol,r),provideDefaults({VExpansionPanelText:{eager:toRef(e,"eager")}}),useRender(()=>{const d=!!(n.text||e.text),m=!!(n.title||e.title);return createVNode(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":r.isSelected.value,"v-expansion-panel--before-active":u.value,"v-expansion-panel--after-active":f.value,"v-expansion-panel--disabled":l.value},s.value,a.value,e.class],style:[o.value,e.style]},{default:()=>{var y;return[createVNode("div",{class:["v-expansion-panel__shadow",...i.value]},null),m&&createVNode(VExpansionPanelTitle,{key:"title",collapseIcon:e.collapseIcon,color:e.color,expandIcon:e.expandIcon,hideActions:e.hideActions,ripple:e.ripple},{default:()=>[n.title?n.title():e.title]}),d&&createVNode(VExpansionPanelText,{key:"text"},{default:()=>[n.text?n.text():e.text]}),(y=n.default)==null?void 0:y.call(n)]}})}),{}}}),makeVFileInputProps=propsFactory({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:e=>typeof e=="boolean"||[1e3,1024].includes(e)},...makeVInputProps({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:e=>wrapInArray(e).every(t=>t!=null&&typeof t=="object")},...makeVFieldProps({clearable:!0})},"VFileInput"),VFileInput=genericComponent()({name:"VFileInput",inheritAttrs:!1,props:makeVFileInputProps(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:a}=t;const{t:o}=useLocale(),i=useProxiedModel(e,"modelValue"),{isFocused:s,focus:l,blur:c}=useFocus(e),u=computed(()=>typeof e.showSize!="boolean"?e.showSize:void 0),f=computed(()=>(i.value??[]).reduce((E,F)=>{let{size:L=0}=F;return E+L},0)),d=computed(()=>humanReadableFileSize(f.value,u.value)),m=computed(()=>(i.value??[]).map(E=>{const{name:F="",size:L=0}=E;return e.showSize?`${F} (${humanReadableFileSize(L,u.value)})`:F})),y=computed(()=>{var F;const E=((F=i.value)==null?void 0:F.length)??0;return e.showSize?o(e.counterSizeString,E,d.value):o(e.counterString,E)}),g=ref(),P=ref(),v=ref(),_=computed(()=>s.value||e.active),b=computed(()=>["plain","underlined"].includes(e.variant));function S(){var E;v.value!==document.activeElement&&((E=v.value)==null||E.focus()),s.value||l()}function C(E){T(E)}function k(E){r("mousedown:control",E)}function T(E){var F;(F=v.value)==null||F.click(),r("click:control",E)}function w(E){E.stopPropagation(),S(),nextTick(()=>{i.value=[],callEvent(e["onClick:clear"],E)})}return watch(i,E=>{(!Array.isArray(E)||!E.length)&&v.value&&(v.value.value="")}),useRender(()=>{const E=!!(a.counter||e.counter),F=!!(E||a.details),[L,N]=filterInputAttrs(n),{modelValue:O,...U}=VInput.filterProps(e),j=filterFieldProps(e);return createVNode(VInput,mergeProps({ref:g,modelValue:i.value,"onUpdate:modelValue":I=>i.value=I,class:["v-file-input",{"v-file-input--chips":!!e.chips,"v-input--plain-underlined":b.value},e.class],style:e.style,"onClick:prepend":C},L,U,{centerAffix:!b.value,focused:s.value}),{...a,default:I=>{let{id:M,isDisabled:V,isDirty:R,isReadonly:D,isValid:$}=I;return createVNode(VField,mergeProps({ref:P,"prepend-icon":e.prependIcon,onMousedown:k,onClick:T,"onClick:clear":w,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},j,{id:M.value,active:_.value||R.value,dirty:R.value,disabled:V.value,focused:s.value,error:$.value===!1}),{...a,default:G=>{var ce;let{props:{class:ne,...oe}}=G;return createVNode(Fragment,null,[createVNode("input",mergeProps({ref:v,type:"file",readonly:D.value,disabled:V.value,multiple:e.multiple,name:e.name,onClick:ee=>{ee.stopPropagation(),D.value&&ee.preventDefault(),S()},onChange:ee=>{if(!ee.target)return;const Y=ee.target;i.value=[...Y.files??[]]},onFocus:S,onBlur:c},oe,N),null),createVNode("div",{class:ne},[!!((ce=i.value)!=null&&ce.length)&&(a.selection?a.selection({fileNames:m.value,totalBytes:f.value,totalBytesReadable:d.value}):e.chips?m.value.map(ee=>createVNode(VChip,{key:ee,size:"small",color:e.color},{default:()=>[ee]})):m.value.join(", "))])])}})},details:F?I=>{var M,V;return createVNode(Fragment,null,[(M=a.details)==null?void 0:M.call(a,I),E&&createVNode(Fragment,null,[createVNode("span",null,null),createVNode(VCounter,{active:!!((V=i.value)!=null&&V.length),value:y.value},a.counter)])])}:void 0})}),forwardRefs({},g,P,v)}}),makeVFooterProps=propsFactory({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...makeBorderProps(),...makeComponentProps(),...makeElevationProps(),...makeLayoutItemProps(),...makeRoundedProps(),...makeTagProps({tag:"footer"}),...makeThemeProps()},"VFooter"),VFooter=genericComponent()({name:"VFooter",props:makeVFooterProps(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=provideTheme(e),{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(toRef(e,"color")),{borderClasses:i}=useBorder(e),{elevationClasses:s}=useElevation(e),{roundedClasses:l}=useRounded(e),c=shallowRef(32),{resizeRef:u}=useResizeObserver(m=>{m.length&&(c.value=m[0].target.clientHeight)}),f=computed(()=>e.height==="auto"?c.value:parseInt(e.height,10)),{layoutItemStyles:d}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:computed(()=>"bottom"),layoutSize:f,elementSize:computed(()=>e.height==="auto"?void 0:f.value),active:computed(()=>e.app),absolute:toRef(e,"absolute")});return useRender(()=>createVNode(e.tag,{ref:u,class:["v-footer",r.value,a.value,i.value,s.value,l.value,e.class],style:[o.value,e.app?d.value:{height:convertToUnit(e.height)},e.style]},n)),{}}}),makeVFormProps=propsFactory({...makeComponentProps(),...makeFormProps()},"VForm"),VForm=genericComponent()({name:"VForm",props:makeVFormProps(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const a=createForm(e),o=ref();function i(l){l.preventDefault(),a.reset()}function s(l){const c=l,u=a.validate();c.then=u.then.bind(u),c.catch=u.catch.bind(u),c.finally=u.finally.bind(u),r("submit",c),c.defaultPrevented||u.then(f=>{var m;let{valid:d}=f;d&&((m=o.value)==null||m.submit())}),c.preventDefault()}return useRender(()=>{var l;return createVNode("form",{ref:o,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:i,onSubmit:s},[(l=n.default)==null?void 0:l.call(n,a)])}),forwardRefs(a,o)}}),makeVHoverProps=propsFactory({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...makeDelayProps()},"VHover"),VHover=genericComponent()({name:"VHover",props:makeVHoverProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"modelValue"),{runOpenDelay:a,runCloseDelay:o}=useDelay(e,i=>!e.disabled&&(r.value=i));return()=>{var i;return(i=n.default)==null?void 0:i.call(n,{isHovering:r.value,props:{onMouseenter:a,onMouseleave:o}})}}}),makeVInfiniteScrollProps=propsFactory({color:String,direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},side:{type:String,default:"end",validator:e=>["start","end","both"].includes(e)},mode:{type:String,default:"intersect",validator:e=>["intersect","manual"].includes(e)},margin:[Number,String],loadMoreText:{type:String,default:"$vuetify.infiniteScroll.loadMore"},emptyText:{type:String,default:"$vuetify.infiniteScroll.empty"},...makeDimensionProps(),...makeTagProps()},"VInfiniteScroll"),VInfiniteScrollIntersect=defineComponent({name:"VInfiniteScrollIntersect",props:{side:{type:String,required:!0},rootRef:null,rootMargin:String},emits:{intersect:(e,t)=>!0},setup(e,t){let{emit:n}=t;const{intersectionRef:r,isIntersecting:a}=useIntersectionObserver(o=>{},e.rootMargin?{rootMargin:e.rootMargin}:void 0);return watch(a,async o=>{n("intersect",e.side,o)}),useRender(()=>createVNode("div",{class:"v-infinite-scroll-intersect",ref:r},[createTextVNode(" ")])),{}}}),VInfiniteScroll=genericComponent()({name:"VInfiniteScroll",props:makeVInfiniteScrollProps(),emits:{load:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const a=ref(),o=shallowRef("ok"),i=shallowRef("ok"),s=computed(()=>convertToUnit(e.margin)),l=shallowRef(!1);function c(C){if(!a.value)return;const k=e.direction==="vertical"?"scrollTop":"scrollLeft";a.value[k]=C}function u(){if(!a.value)return 0;const C=e.direction==="vertical"?"scrollTop":"scrollLeft";return a.value[C]}function f(){if(!a.value)return 0;const C=e.direction==="vertical"?"scrollHeight":"scrollWidth";return a.value[C]}function d(){if(!a.value)return 0;const C=e.direction==="vertical"?"clientHeight":"clientWidth";return a.value[C]}onMounted(()=>{a.value&&(e.side==="start"?c(f()):e.side==="both"&&c(f()/2-d()/2))});function m(C,k){C==="start"?o.value=k:C==="end"&&(i.value=k)}function y(C){return C==="start"?o.value:i.value}let g=0;function P(C,k){l.value=k,l.value&&v(C)}function v(C){if(e.mode!=="manual"&&!l.value)return;const k=y(C);if(!a.value||k==="loading")return;g=f(),m(C,"loading");function T(w){m(C,w),nextTick(()=>{w==="empty"||w==="error"||(w==="ok"&&C==="start"&&c(f()-g+u()),e.mode!=="manual"&&nextTick(()=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{v(C)})})})}))})}r("load",{side:C,done:T})}const{t:_}=useLocale();function b(C,k){var E,F,L,N,O;if(e.side!==C&&e.side!=="both")return;const T=()=>v(C),w={side:C,props:{onClick:T,color:e.color}};return k==="error"?(E=n.error)==null?void 0:E.call(n,w):k==="empty"?((F=n.empty)==null?void 0:F.call(n,w))??createVNode("div",null,[_(e.emptyText)]):e.mode==="manual"?k==="loading"?((L=n.loading)==null?void 0:L.call(n,w))??createVNode(VProgressCircular,{indeterminate:!0,color:e.color},null):((N=n["load-more"])==null?void 0:N.call(n,w))??createVNode(VBtn,{variant:"outlined",color:e.color,onClick:T},{default:()=>[_(e.loadMoreText)]}):((O=n.loading)==null?void 0:O.call(n,w))??createVNode(VProgressCircular,{indeterminate:!0,color:e.color},null)}const{dimensionStyles:S}=useDimension(e);useRender(()=>{const C=e.tag,k=e.side==="start"||e.side==="both",T=e.side==="end"||e.side==="both",w=e.mode==="intersect";return createVNode(C,{ref:a,class:["v-infinite-scroll",`v-infinite-scroll--${e.direction}`,{"v-infinite-scroll--start":k,"v-infinite-scroll--end":T}],style:S.value},{default:()=>{var E;return[createVNode("div",{class:"v-infinite-scroll__side"},[b("start",o.value)]),a.value&&k&&w&&createVNode(VInfiniteScrollIntersect,{key:"start",side:"start",onIntersect:P,rootRef:a.value,rootMargin:s.value},null),(E=n.default)==null?void 0:E.call(n),a.value&&T&&w&&createVNode(VInfiniteScrollIntersect,{key:"end",side:"end",onIntersect:P,rootRef:a.value,rootMargin:s.value},null),createVNode("div",{class:"v-infinite-scroll__side"},[b("end",i.value)])]}})})}}),VItemGroupSymbol=Symbol.for("vuetify:v-item-group"),makeVItemGroupProps=propsFactory({...makeComponentProps(),...makeGroupProps({selectedClass:"v-item--selected"}),...makeTagProps(),...makeThemeProps()},"VItemGroup"),VItemGroup=genericComponent()({name:"VItemGroup",props:makeVItemGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=provideTheme(e),{isSelected:a,select:o,next:i,prev:s,selected:l}=useGroup(e,VItemGroupSymbol);return()=>createVNode(e.tag,{class:["v-item-group",r.value,e.class],style:e.style},{default:()=>{var c;return[(c=n.default)==null?void 0:c.call(n,{isSelected:a,select:o,next:i,prev:s,selected:l.value})]}})}}),VItem=genericComponent()({name:"VItem",props:makeGroupItemProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:r,select:a,toggle:o,selectedClass:i,value:s,disabled:l}=useGroupItem(e,VItemGroupSymbol);return()=>{var c;return(c=n.default)==null?void 0:c.call(n,{isSelected:r.value,selectedClass:i.value,select:a,toggle:o,value:s.value,disabled:l.value})}}}),VKbd=createSimpleFunctional("v-kbd"),makeVLayoutProps=propsFactory({...makeComponentProps(),...makeLayoutProps()},"VLayout"),VLayout=genericComponent()({name:"VLayout",props:makeVLayoutProps(),setup(e,t){let{slots:n}=t;const{layoutClasses:r,layoutStyles:a,getLayoutItem:o,items:i,layoutRef:s}=createLayout(e);return useRender(()=>{var l;return createVNode("div",{ref:s,class:[r.value,e.class],style:[a.value,e.style]},[(l=n.default)==null?void 0:l.call(n)])}),{getLayoutItem:o,items:i}}}),makeVLayoutItemProps=propsFactory({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...makeComponentProps(),...makeLayoutItemProps()},"VLayoutItem"),VLayoutItem=genericComponent()({name:"VLayoutItem",props:makeVLayoutItemProps(),setup(e,t){let{slots:n}=t;const{layoutItemStyles:r}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:toRef(e,"position"),elementSize:toRef(e,"size"),layoutSize:toRef(e,"size"),active:toRef(e,"modelValue"),absolute:toRef(e,"absolute")});return()=>{var a;return createVNode("div",{class:["v-layout-item",e.class],style:[r.value,e.style]},[(a=n.default)==null?void 0:a.call(n)])}}}),makeVLazyProps=propsFactory({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...makeComponentProps(),...makeDimensionProps(),...makeTagProps(),...makeTransitionProps({transition:"fade-transition"})},"VLazy"),VLazy=genericComponent()({name:"VLazy",directives:{intersect:Intersect},props:makeVLazyProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{dimensionStyles:r}=useDimension(e),a=useProxiedModel(e,"modelValue");function o(i){a.value||(a.value=i)}return useRender(()=>withDirectives(createVNode(e.tag,{class:["v-lazy",e.class],style:[r.value,e.style]},{default:()=>[a.value&&createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>{var i;return[(i=n.default)==null?void 0:i.call(n)]}})]}),[[resolveDirective("intersect"),{handler:o,options:e.options},null]])),{}}}),makeVLocaleProviderProps=propsFactory({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...makeComponentProps()},"VLocaleProvider"),VLocaleProvider=genericComponent()({name:"VLocaleProvider",props:makeVLocaleProviderProps(),setup(e,t){let{slots:n}=t;const{rtlClasses:r}=provideLocale(e);return useRender(()=>{var a;return createVNode("div",{class:["v-locale-provider",r.value,e.class],style:e.style},[(a=n.default)==null?void 0:a.call(n)])}),{}}}),makeVMainProps=propsFactory({scrollable:Boolean,...makeComponentProps(),...makeTagProps({tag:"main"})},"VMain"),VMain=genericComponent()({name:"VMain",props:makeVMainProps(),setup(e,t){let{slots:n}=t;const{mainStyles:r}=useLayout(),{ssrBootStyles:a}=useSsrBoot();return useRender(()=>createVNode(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[r.value,a.value,e.style]},{default:()=>{var o,i;return[e.scrollable?createVNode("div",{class:"v-main__scroller"},[(o=n.default)==null?void 0:o.call(n)]):(i=n.default)==null?void 0:i.call(n)]}})),{}}});function useSticky(e){let{rootEl:t,isSticky:n,layoutItemStyles:r}=e;const a=shallowRef(!1),o=shallowRef(0),i=computed(()=>{const c=typeof a.value=="boolean"?"top":a.value;return[n.value?{top:"auto",bottom:"auto",height:void 0}:void 0,a.value?{[c]:convertToUnit(o.value)}:{top:r.value.top}]});onMounted(()=>{watch(n,c=>{c?window.addEventListener("scroll",l,{passive:!0}):window.removeEventListener("scroll",l)},{immediate:!0})}),onBeforeUnmount(()=>{window.removeEventListener("scroll",l)});let s=0;function l(){const c=s>window.scrollY?"up":"down",u=t.value.getBoundingClientRect(),f=parseFloat(r.value.top??0),d=window.scrollY-Math.max(0,o.value-f),m=u.height+Math.max(o.value,f)-window.scrollY-window.innerHeight,y=parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y"))||0;u.height<window.innerHeight-f?(a.value="top",o.value=f):c==="up"&&a.value==="bottom"||c==="down"&&a.value==="top"?(o.value=window.scrollY+u.top-y,a.value=!0):c==="down"&&m<=0?(o.value=0,a.value="bottom"):c==="up"&&d<=0&&(y?a.value!=="top"&&(o.value=-d+y+f,a.value="top"):(o.value=u.top+d,a.value="top")),s=window.scrollY}return{isStuck:a,stickyStyles:i}}const HORIZON=100,HISTORY=20;function kineticEnergyToVelocity(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function calculateImpulseVelocity(e){if(e.length<2)return 0;if(e.length===2)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t);let t=0;for(let n=e.length-1;n>0;n--){if(e[n].t===e[n-1].t)continue;const r=kineticEnergyToVelocity(t),a=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);t+=(a-r)*Math.abs(a),n===e.length-1&&(t*=.5)}return kineticEnergyToVelocity(t)*1e3}function useVelocity(){const e={};function t(a){Array.from(a.changedTouches).forEach(o=>{(e[o.identifier]??(e[o.identifier]=new CircularBuffer(HISTORY))).push([a.timeStamp,o])})}function n(a){Array.from(a.changedTouches).forEach(o=>{delete e[o.identifier]})}function r(a){var c;const o=(c=e[a])==null?void 0:c.values().reverse();if(!o)throw new Error(`No samples for touch id ${a}`);const i=o[0],s=[],l=[];for(const u of o){if(i[0]-u[0]>HORIZON)break;s.push({t:u[0],d:u[1].clientX}),l.push({t:u[0],d:u[1].clientY})}return{x:calculateImpulseVelocity(s),y:calculateImpulseVelocity(l),get direction(){const{x:u,y:f}=this,[d,m]=[Math.abs(u),Math.abs(f)];return d>m&&u>=0?"right":d>m&&u<=0?"left":m>d&&f>=0?"down":m>d&&f<=0?"up":oops$1()}}}return{addMovement:t,endTouch:n,getVelocity:r}}function oops$1(){throw new Error}function useTouch(e){let{isActive:t,isTemporary:n,width:r,touchless:a,position:o}=e;onMounted(()=>{window.addEventListener("touchstart",v,{passive:!0}),window.addEventListener("touchmove",_,{passive:!1}),window.addEventListener("touchend",b,{passive:!0})}),onBeforeUnmount(()=>{window.removeEventListener("touchstart",v),window.removeEventListener("touchmove",_),window.removeEventListener("touchend",b)});const i=computed(()=>["left","right"].includes(o.value)),{addMovement:s,endTouch:l,getVelocity:c}=useVelocity();let u=!1;const f=shallowRef(!1),d=shallowRef(0),m=shallowRef(0);let y;function g(C,k){return(o.value==="left"?C:o.value==="right"?document.documentElement.clientWidth-C:o.value==="top"?C:o.value==="bottom"?document.documentElement.clientHeight-C:oops())-(k?r.value:0)}function P(C){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const T=o.value==="left"?(C-m.value)/r.value:o.value==="right"?(document.documentElement.clientWidth-C-m.value)/r.value:o.value==="top"?(C-m.value)/r.value:o.value==="bottom"?(document.documentElement.clientHeight-C-m.value)/r.value:oops();return k?Math.max(0,Math.min(1,T)):T}function v(C){if(a.value)return;const k=C.changedTouches[0].clientX,T=C.changedTouches[0].clientY,w=25,E=o.value==="left"?k<w:o.value==="right"?k>document.documentElement.clientWidth-w:o.value==="top"?T<w:o.value==="bottom"?T>document.documentElement.clientHeight-w:oops(),F=t.value&&(o.value==="left"?k<r.value:o.value==="right"?k>document.documentElement.clientWidth-r.value:o.value==="top"?T<r.value:o.value==="bottom"?T>document.documentElement.clientHeight-r.value:oops());(E||F||t.value&&n.value)&&(u=!0,y=[k,T],m.value=g(i.value?k:T,t.value),d.value=P(i.value?k:T),l(C),s(C))}function _(C){const k=C.changedTouches[0].clientX,T=C.changedTouches[0].clientY;if(u){if(!C.cancelable){u=!1;return}const E=Math.abs(k-y[0]),F=Math.abs(T-y[1]);(i.value?E>F&&E>3:F>E&&F>3)?(f.value=!0,u=!1):(i.value?F:E)>3&&(u=!1)}if(!f.value)return;C.preventDefault(),s(C);const w=P(i.value?k:T,!1);d.value=Math.max(0,Math.min(1,w)),w>1?m.value=g(i.value?k:T,!0):w<0&&(m.value=g(i.value?k:T,!1))}function b(C){if(u=!1,!f.value)return;s(C),f.value=!1;const k=c(C.changedTouches[0].identifier),T=Math.abs(k.x),w=Math.abs(k.y);(i.value?T>w&&T>400:w>T&&w>3)?t.value=k.direction===({left:"right",right:"left",top:"down",bottom:"up"}[o.value]||oops()):t.value=d.value>.5}const S=computed(()=>f.value?{transform:o.value==="left"?`translateX(calc(-100% + ${d.value*r.value}px))`:o.value==="right"?`translateX(calc(100% - ${d.value*r.value}px))`:o.value==="top"?`translateY(calc(-100% + ${d.value*r.value}px))`:o.value==="bottom"?`translateY(calc(100% - ${d.value*r.value}px))`:oops(),transition:"none"}:void 0);return{isDragging:f,dragProgress:d,dragStyles:S}}function oops(){throw new Error}const locations=["start","end","left","right","top","bottom"],makeVNavigationDrawerProps=propsFactory({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>locations.includes(e)},sticky:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDisplayProps(),...makeElevationProps(),...makeLayoutItemProps(),...makeRoundedProps(),...makeTagProps({tag:"nav"}),...makeThemeProps()},"VNavigationDrawer"),VNavigationDrawer=genericComponent()({name:"VNavigationDrawer",props:makeVNavigationDrawerProps(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:a}=t;const{isRtl:o}=useRtl(),{themeClasses:i}=provideTheme(e),{borderClasses:s}=useBorder(e),{backgroundColorClasses:l,backgroundColorStyles:c}=useBackgroundColor(toRef(e,"color")),{elevationClasses:u}=useElevation(e),{displayClasses:f,mobile:d}=useDisplay(e),{roundedClasses:m}=useRounded(e),y=useRouter(),g=useProxiedModel(e,"modelValue",null,D=>!!D),{ssrBootStyles:P}=useSsrBoot(),{scopeId:v}=useScopeId(),_=ref(),b=shallowRef(!1),S=computed(()=>e.rail&&e.expandOnHover&&b.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),C=computed(()=>toPhysical(e.location,o.value)),k=computed(()=>!e.permanent&&(d.value||e.temporary)),T=computed(()=>e.sticky&&!k.value&&C.value!=="bottom");useToggleScope(()=>e.expandOnHover&&e.rail!=null,()=>{watch(b,D=>r("update:rail",!D))}),useToggleScope(()=>!e.disableResizeWatcher,()=>{watch(k,D=>!e.permanent&&nextTick(()=>g.value=!D))}),useToggleScope(()=>!e.disableRouteWatcher&&!!y,()=>{watch(y.currentRoute,()=>k.value&&(g.value=!1))}),watch(()=>e.permanent,D=>{D&&(g.value=!0)}),onBeforeMount(()=>{e.modelValue!=null||k.value||(g.value=e.permanent||!d.value)});const{isDragging:w,dragProgress:E,dragStyles:F}=useTouch({isActive:g,isTemporary:k,width:S,touchless:toRef(e,"touchless"),position:C}),L=computed(()=>{const D=k.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):S.value;return w.value?D*E.value:D}),{layoutItemStyles:N,layoutItemScrimStyles:O}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:C,layoutSize:L,elementSize:S,active:computed(()=>g.value||w.value),disableTransitions:computed(()=>w.value),absolute:computed(()=>e.absolute||T.value&&typeof U.value!="string")}),{isStuck:U,stickyStyles:j}=useSticky({rootEl:_,isSticky:T,layoutItemStyles:N}),I=useBackgroundColor(computed(()=>typeof e.scrim=="string"?e.scrim:null)),M=computed(()=>({...w.value?{opacity:E.value*.2,transition:"none"}:void 0,...O.value}));provideDefaults({VList:{bgColor:"transparent"}});function V(){b.value=!0}function R(){b.value=!1}return useRender(()=>{const D=a.image||e.image;return createVNode(Fragment,null,[createVNode(e.tag,mergeProps({ref:_,onMouseenter:V,onMouseleave:R,class:["v-navigation-drawer",`v-navigation-drawer--${C.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":b.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":k.value,"v-navigation-drawer--active":g.value,"v-navigation-drawer--sticky":T.value},i.value,l.value,s.value,f.value,u.value,m.value,e.class],style:[c.value,N.value,F.value,P.value,j.value,e.style]},v,n),{default:()=>{var $,G,ne,oe;return[D&&createVNode("div",{key:"image",class:"v-navigation-drawer__img"},[a.image?($=a.image)==null?void 0:$.call(a,{image:e.image}):createVNode("img",{src:e.image,alt:""},null)]),a.prepend&&createVNode("div",{class:"v-navigation-drawer__prepend"},[(G=a.prepend)==null?void 0:G.call(a)]),createVNode("div",{class:"v-navigation-drawer__content"},[(ne=a.default)==null?void 0:ne.call(a)]),a.append&&createVNode("div",{class:"v-navigation-drawer__append"},[(oe=a.append)==null?void 0:oe.call(a)])]}}),createVNode(Transition,{name:"fade-transition"},{default:()=>[k.value&&(w.value||g.value)&&!!e.scrim&&createVNode("div",mergeProps({class:["v-navigation-drawer__scrim",I.backgroundColorClasses.value],style:[M.value,I.backgroundColorStyles.value],onClick:()=>g.value=!1},v),null)]})])}),{isStuck:U}}}),VNoSsr=defineComponent({name:"VNoSsr",setup(e,t){let{slots:n}=t;const r=useHydration();return()=>{var a;return r.value&&((a=n.default)==null?void 0:a.call(n))}}}),makeVOtpInputProps=propsFactory({autofocus:Boolean,divider:String,focusAll:Boolean,label:{type:String,default:"$vuetify.input.otp"},length:{type:[Number,String],default:6},modelValue:{type:[Number,String],default:void 0},placeholder:String,type:{type:String,default:"number"},...makeDimensionProps(),...makeFocusProps(),...only(makeVFieldProps({variant:"outlined"}),["baseColor","bgColor","class","color","disabled","error","loading","rounded","style","theme","variant"])},"VOtpInput"),VOtpInput=genericComponent()({name:"VOtpInput",props:makeVOtpInputProps(),emits:{finish:e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:a}=t;const{dimensionStyles:o}=useDimension(e),{isFocused:i,focus:s,blur:l}=useFocus(e),c=useProxiedModel(e,"modelValue","",T=>String(T).split(""),T=>T.join("")),{t:u}=useLocale(),f=computed(()=>Number(e.length)),d=computed(()=>Array(f.value).fill(0)),m=ref(-1),y=ref(),g=ref([]),P=computed(()=>g.value[m.value]);function v(){if(e.type==="number"&&/[^0-9]/g.test(P.value.value)){P.value.value="";return}const T=c.value.slice(),w=P.value.value;T[m.value]=w;let E=null;m.value>c.value.length?E=c.value.length+1:m.value+1!==f.value&&(E="next"),c.value=T,E&&focusChild(y.value,E)}function _(T){const w=c.value.slice(),E=m.value;let F=null;["ArrowLeft","ArrowRight","Backspace","Delete"].includes(T.key)&&(T.preventDefault(),T.key==="ArrowLeft"?F="prev":T.key==="ArrowRight"?F="next":["Backspace","Delete"].includes(T.key)&&(w[m.value]="",c.value=w,m.value>0&&T.key==="Backspace"?F="prev":requestAnimationFrame(()=>{var L;(L=g.value[E])==null||L.select()})),requestAnimationFrame(()=>{F!=null&&focusChild(y.value,F)}))}function b(T,w){var E,F;w.preventDefault(),w.stopPropagation(),c.value=(((E=w==null?void 0:w.clipboardData)==null?void 0:E.getData("Text"))??"").split(""),(F=g.value)==null||F[T].blur()}function S(){c.value=[]}function C(T,w){s(),m.value=w}function k(){l(),m.value=-1}return provideDefaults({VField:{color:computed(()=>e.color),bgColor:computed(()=>e.color),baseColor:computed(()=>e.baseColor),disabled:computed(()=>e.disabled),error:computed(()=>e.error),variant:computed(()=>e.variant)}},{scoped:!0}),watch(c,T=>{T.length===f.value&&r("finish",T.join(""))},{deep:!0}),watch(m,T=>{T<0||nextTick(()=>{var w;(w=g.value[T])==null||w.select()})}),useRender(()=>{var E;const[T,w]=filterInputAttrs(n);return createVNode("div",mergeProps({class:["v-otp-input",{"v-otp-input--divided":!!e.divider},e.class],style:[e.style]},T),[createVNode("div",{ref:y,class:"v-otp-input__content",style:[o.value]},[d.value.map((F,L)=>createVNode(Fragment,null,[e.divider&&L!==0&&createVNode("span",{class:"v-otp-input__divider"},[e.divider]),createVNode(VField,{focused:i.value&&e.focusAll||m.value===L,key:L},{...a,default:()=>createVNode("input",{ref:N=>g.value[L]=N,"aria-label":u(e.label,L+1),autofocus:L===0&&e.autofocus,autocomplete:"one-time-code",class:["v-otp-input__field"],inputmode:e.type==="number"?"numeric":"text",min:e.type==="number"?0:void 0,maxlength:"1",placeholder:e.placeholder,type:e.type==="number"?"text":e.type,value:c.value[L],onInput:v,onFocus:N=>C(N,L),onBlur:k,onKeydown:_,onPaste:N=>b(L,N)},null)})])),createVNode("input",mergeProps({class:"v-otp-input-input",type:"hidden"},w,{value:c.value.join("")}),null),createVNode(VOverlay,{contained:!0,"content-class":"v-otp-input__loader","model-value":!!e.loading,persistent:!0},{default:()=>{var F;return[((F=a.loader)==null?void 0:F.call(a))??createVNode(VProgressCircular,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"24",width:"2"},null)]}}),(E=a.default)==null?void 0:E.call(a)])])}),{blur:()=>{var T;(T=g.value)==null||T.some(w=>w.blur())},focus:()=>{var T;(T=g.value)==null||T[0].focus()},reset:S,isFocused:i}}});function useRefs(){const e=ref([]);onBeforeUpdate(()=>e.value=[]);function t(n,r){e.value[r]=n}return{refs:e,updateRef:t}}const makeVPaginationProps=propsFactory({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1===0},totalVisible:[Number,String],firstIcon:{type:IconValue,default:"$first"},prevIcon:{type:IconValue,default:"$prev"},nextIcon:{type:IconValue,default:"$next"},lastIcon:{type:IconValue,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeSizeProps(),...makeTagProps({tag:"nav"}),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VPagination"),VPagination=genericComponent()({name:"VPagination",props:makeVPaginationProps(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const a=useProxiedModel(e,"modelValue"),{t:o,n:i}=useLocale(),{isRtl:s}=useRtl(),{themeClasses:l}=provideTheme(e),{width:c}=useDisplay(),u=shallowRef(-1);provideDefaults(void 0,{scoped:!0});const{resizeRef:f}=useResizeObserver(w=>{if(!w.length)return;const{target:E,contentRect:F}=w[0],L=E.querySelector(".v-pagination__list > *");if(!L)return;const N=F.width,O=L.offsetWidth+parseFloat(getComputedStyle(L).marginRight)*2;u.value=g(N,O)}),d=computed(()=>parseInt(e.length,10)),m=computed(()=>parseInt(e.start,10)),y=computed(()=>e.totalVisible?parseInt(e.totalVisible,10):u.value>=0?u.value:g(c.value,58));function g(w,E){const F=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((w-E*F)/E).toFixed(2)))}const P=computed(()=>{if(d.value<=0||isNaN(d.value)||d.value>Number.MAX_SAFE_INTEGER)return[];if(y.value<=1)return[a.value];if(d.value<=y.value)return createRange(d.value,m.value);const w=y.value%2===0,E=w?y.value/2:Math.floor(y.value/2),F=w?E:E+1,L=d.value-E;if(F-a.value>=0)return[...createRange(Math.max(1,y.value-1),m.value),e.ellipsis,d.value];if(a.value-L>=(w?1:0)){const N=y.value-1,O=d.value-N+m.value;return[m.value,e.ellipsis,...createRange(N,O)]}else{const N=Math.max(1,y.value-3),O=N===1?a.value:a.value-Math.ceil(N/2)+m.value;return[m.value,e.ellipsis,...createRange(N,O),e.ellipsis,d.value]}});function v(w,E,F){w.preventDefault(),a.value=E,F&&r(F,E)}const{refs:_,updateRef:b}=useRefs();provideDefaults({VPaginationBtn:{color:toRef(e,"color"),border:toRef(e,"border"),density:toRef(e,"density"),size:toRef(e,"size"),variant:toRef(e,"variant"),rounded:toRef(e,"rounded"),elevation:toRef(e,"elevation")}});const S=computed(()=>P.value.map((w,E)=>{const F=L=>b(L,E);if(typeof w=="string")return{isActive:!1,key:`ellipsis-${E}`,page:w,props:{ref:F,ellipsis:!0,icon:!0,disabled:!0}};{const L=w===a.value;return{isActive:L,key:w,page:i(w),props:{ref:F,ellipsis:!1,icon:!0,disabled:!!e.disabled||+e.length<2,color:L?e.activeColor:e.color,ariaCurrent:L,ariaLabel:o(L?e.currentPageAriaLabel:e.pageAriaLabel,w),onClick:N=>v(N,w)}}}})),C=computed(()=>{const w=!!e.disabled||a.value<=m.value,E=!!e.disabled||a.value>=m.value+d.value-1;return{first:e.showFirstLastPage?{icon:s.value?e.lastIcon:e.firstIcon,onClick:F=>v(F,m.value,"first"),disabled:w,ariaLabel:o(e.firstAriaLabel),ariaDisabled:w}:void 0,prev:{icon:s.value?e.nextIcon:e.prevIcon,onClick:F=>v(F,a.value-1,"prev"),disabled:w,ariaLabel:o(e.previousAriaLabel),ariaDisabled:w},next:{icon:s.value?e.prevIcon:e.nextIcon,onClick:F=>v(F,a.value+1,"next"),disabled:E,ariaLabel:o(e.nextAriaLabel),ariaDisabled:E},last:e.showFirstLastPage?{icon:s.value?e.firstIcon:e.lastIcon,onClick:F=>v(F,m.value+d.value-1,"last"),disabled:E,ariaLabel:o(e.lastAriaLabel),ariaDisabled:E}:void 0}});function k(){var E;const w=a.value-m.value;(E=_.value[w])==null||E.$el.focus()}function T(w){w.key===keyValues.left&&!e.disabled&&a.value>+e.start?(a.value=a.value-1,nextTick(k)):w.key===keyValues.right&&!e.disabled&&a.value<m.value+d.value-1&&(a.value=a.value+1,nextTick(k))}return useRender(()=>createVNode(e.tag,{ref:f,class:["v-pagination",l.value,e.class],style:e.style,role:"navigation","aria-label":o(e.ariaLabel),onKeydown:T,"data-test":"v-pagination-root"},{default:()=>[createVNode("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&createVNode("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[n.first?n.first(C.value.first):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},C.value.first),null)]),createVNode("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[n.prev?n.prev(C.value.prev):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},C.value.prev),null)]),S.value.map((w,E)=>createVNode("li",{key:w.key,class:["v-pagination__item",{"v-pagination__item--is-active":w.isActive}],"data-test":"v-pagination-item"},[n.item?n.item(w):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},w.props),{default:()=>[w.page]})])),createVNode("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[n.next?n.next(C.value.next):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},C.value.next),null)]),e.showFirstLastPage&&createVNode("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[n.last?n.last(C.value.last):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},C.value.last),null)])])]})),{}}});function floor(e){return Math.floor(Math.abs(e))*Math.sign(e)}const makeVParallaxProps=propsFactory({scale:{type:[Number,String],default:.5},...makeComponentProps()},"VParallax"),VParallax=genericComponent()({name:"VParallax",props:makeVParallaxProps(),setup(e,t){let{slots:n}=t;const{intersectionRef:r,isIntersecting:a}=useIntersectionObserver(),{resizeRef:o,contentRect:i}=useResizeObserver(),{height:s}=useDisplay(),l=ref();watchEffect(()=>{var m;r.value=o.value=(m=l.value)==null?void 0:m.$el});let c;watch(a,m=>{m?(c=getScrollParent(r.value),c=c===document.scrollingElement?document:c,c.addEventListener("scroll",d,{passive:!0}),d()):c.removeEventListener("scroll",d)}),onBeforeUnmount(()=>{c==null||c.removeEventListener("scroll",d)}),watch(s,d),watch(()=>{var m;return(m=i.value)==null?void 0:m.height},d);const u=computed(()=>1-clamp(+e.scale));let f=-1;function d(){a.value&&(cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var C;const m=((C=l.value)==null?void 0:C.$el).querySelector(".v-img__img");if(!m)return;const y=c instanceof Document?document.documentElement.clientHeight:c.clientHeight,g=c instanceof Document?window.scrollY:c.scrollTop,P=r.value.getBoundingClientRect().top+g,v=i.value.height,_=P+(v-y)/2,b=floor((g-_)*u.value),S=Math.max(1,(u.value*(y-v)+v)/v);m.style.setProperty("transform",`translateY(${b}px) scale(${S})`)}))}return useRender(()=>createVNode(VImg,{class:["v-parallax",{"v-parallax--active":a.value},e.class],style:e.style,ref:l,cover:!0,onLoadstart:d,onLoad:d},n)),{}}}),makeVRadioProps=propsFactory({...makeVSelectionControlProps({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),VRadio=genericComponent()({name:"VRadio",props:makeVRadioProps(),setup(e,t){let{slots:n}=t;return useRender(()=>createVNode(VSelectionControl,mergeProps(e,{class:["v-radio",e.class],style:e.style,type:"radio"}),n)),{}}}),makeVRadioGroupProps=propsFactory({height:{type:[Number,String],default:"auto"},...makeVInputProps(),...omit(makeSelectionControlGroupProps(),["multiple"]),trueIcon:{type:IconValue,default:"$radioOn"},falseIcon:{type:IconValue,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),VRadioGroup=genericComponent()({name:"VRadioGroup",inheritAttrs:!1,props:makeVRadioGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const a=getUid(),o=computed(()=>e.id||`radio-group-${a}`),i=useProxiedModel(e,"modelValue");return useRender(()=>{const[s,l]=filterInputAttrs(n),c=VInput.filterProps(e),u=VSelectionControl.filterProps(e),f=r.label?r.label({label:e.label,props:{for:o.value}}):e.label;return createVNode(VInput,mergeProps({class:["v-radio-group",e.class],style:e.style},s,c,{modelValue:i.value,"onUpdate:modelValue":d=>i.value=d,id:o.value}),{...r,default:d=>{let{id:m,messagesId:y,isDisabled:g,isReadonly:P}=d;return createVNode(Fragment,null,[f&&createVNode(VLabel,{id:m.value},{default:()=>[f]}),createVNode(VSelectionControlGroup,mergeProps(u,{id:m.value,"aria-describedby":y.value,defaultsTarget:"VRadio",trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:g.value,readonly:P.value,"aria-labelledby":f?m.value:void 0,multiple:!1},l,{modelValue:i.value,"onUpdate:modelValue":v=>i.value=v}),r)])}})}),{}}}),makeVRangeSliderProps=propsFactory({...makeFocusProps(),...makeVInputProps(),...makeSliderProps(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),VRangeSlider=genericComponent()({name:"VRangeSlider",props:makeVRangeSliderProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,end:e=>!0,start:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const a=ref(),o=ref(),i=ref(),{rtlClasses:s}=useRtl();function l(E){if(!a.value||!o.value)return;const F=getOffset(E,a.value.$el,e.direction),L=getOffset(E,o.value.$el,e.direction),N=Math.abs(F),O=Math.abs(L);return N<O||N===O&&F<0?a.value.$el:o.value.$el}const c=useSteps(e),u=useProxiedModel(e,"modelValue",void 0,E=>E!=null&&E.length?E.map(F=>c.roundValue(F)):[0,0]),{activeThumbRef:f,hasLabels:d,max:m,min:y,mousePressed:g,onSliderMousedown:P,onSliderTouchstart:v,position:_,trackContainerRef:b}=useSlider({props:e,steps:c,onSliderStart:()=>{r("start",u.value)},onSliderEnd:E=>{var N;let{value:F}=E;const L=f.value===((N=a.value)==null?void 0:N.$el)?[F,u.value[1]]:[u.value[0],F];!e.strict&&L[0]<L[1]&&(u.value=L),r("end",u.value)},onSliderMove:E=>{var O,U,j,I;let{value:F}=E;const[L,N]=u.value;!e.strict&&L===N&&L!==y.value&&(f.value=F>L?(O=o.value)==null?void 0:O.$el:(U=a.value)==null?void 0:U.$el,(j=f.value)==null||j.focus()),f.value===((I=a.value)==null?void 0:I.$el)?u.value=[Math.min(F,N),N]:u.value=[L,Math.max(L,F)]},getActiveThumb:l}),{isFocused:S,focus:C,blur:k}=useFocus(e),T=computed(()=>_(u.value[0])),w=computed(()=>_(u.value[1]));return useRender(()=>{const E=VInput.filterProps(e),F=!!(e.label||n.label||n.prepend);return createVNode(VInput,mergeProps({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!n["tick-label"]||d.value,"v-slider--focused":S.value,"v-slider--pressed":g.value,"v-slider--disabled":e.disabled},s.value,e.class],style:e.style,ref:i},E,{focused:S.value}),{...n,prepend:F?L=>{var N,O;return createVNode(Fragment,null,[((N=n.label)==null?void 0:N.call(n,L))??(e.label?createVNode(VLabel,{class:"v-slider__label",text:e.label},null):void 0),(O=n.prepend)==null?void 0:O.call(n,L)])}:void 0,default:L=>{var U,j;let{id:N,messagesId:O}=L;return createVNode("div",{class:"v-slider__container",onMousedown:P,onTouchstartPassive:v},[createVNode("input",{id:`${N.value}_start`,name:e.name||N.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:u.value[0]},null),createVNode("input",{id:`${N.value}_stop`,name:e.name||N.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:u.value[1]},null),createVNode(VSliderTrack,{ref:b,start:T.value,stop:w.value},{"tick-label":n["tick-label"]}),createVNode(VSliderThumb,{ref:a,"aria-describedby":O.value,focused:S&&f.value===((U=a.value)==null?void 0:U.$el),modelValue:u.value[0],"onUpdate:modelValue":I=>u.value=[I,u.value[1]],onFocus:I=>{var M,V,R,D;C(),f.value=(M=a.value)==null?void 0:M.$el,u.value[0]===u.value[1]&&u.value[1]===y.value&&I.relatedTarget!==((V=o.value)==null?void 0:V.$el)&&((R=a.value)==null||R.$el.blur(),(D=o.value)==null||D.$el.focus())},onBlur:()=>{k(),f.value=void 0},min:y.value,max:u.value[1],position:T.value,ripple:e.ripple},{"thumb-label":n["thumb-label"]}),createVNode(VSliderThumb,{ref:o,"aria-describedby":O.value,focused:S&&f.value===((j=o.value)==null?void 0:j.$el),modelValue:u.value[1],"onUpdate:modelValue":I=>u.value=[u.value[0],I],onFocus:I=>{var M,V,R,D;C(),f.value=(M=o.value)==null?void 0:M.$el,u.value[0]===u.value[1]&&u.value[0]===m.value&&I.relatedTarget!==((V=a.value)==null?void 0:V.$el)&&((R=o.value)==null||R.$el.blur(),(D=a.value)==null||D.$el.focus())},onBlur:()=>{k(),f.value=void 0},min:u.value[0],max:m.value,position:w.value,ripple:e.ripple},{"thumb-label":n["thumb-label"]})])}})}),{}}}),makeVRatingProps=propsFactory({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:IconValue,default:"$ratingEmpty"},fullIcon:{type:IconValue,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},ripple:Boolean,...makeComponentProps(),...makeDensityProps(),...makeSizeProps(),...makeTagProps(),...makeThemeProps()},"VRating"),VRating=genericComponent()({name:"VRating",props:makeVRatingProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{t:r}=useLocale(),{themeClasses:a}=provideTheme(e),o=useProxiedModel(e,"modelValue"),i=computed(()=>clamp(parseFloat(o.value),0,+e.length)),s=computed(()=>createRange(Number(e.length),1)),l=computed(()=>s.value.flatMap(g=>e.halfIncrements?[g-.5,g]:[g])),c=shallowRef(-1),u=computed(()=>l.value.map(g=>{const P=e.hover&&c.value>-1,v=i.value>=g,_=c.value>=g,S=(P?_:v)?e.fullIcon:e.emptyIcon,C=e.activeColor??e.color,k=v||_?C:e.color;return{isFilled:v,isHovered:_,icon:S,color:k}})),f=computed(()=>[0,...l.value].map(g=>{function P(){c.value=g}function v(){c.value=-1}function _(){e.disabled||e.readonly||(o.value=i.value===g&&e.clearable?0:g)}return{onMouseenter:e.hover?P:void 0,onMouseleave:e.hover?v:void 0,onClick:_}})),d=computed(()=>e.name??`v-rating-${getUid()}`);function m(g){var w,E;let{value:P,index:v,showStar:_=!0}=g;const{onMouseenter:b,onMouseleave:S,onClick:C}=f.value[v+1],k=`${d.value}-${String(P).replace(".","-")}`,T={color:(w=u.value[v])==null?void 0:w.color,density:e.density,disabled:e.disabled,icon:(E=u.value[v])==null?void 0:E.icon,ripple:e.ripple,size:e.size,variant:"plain"};return createVNode(Fragment,null,[createVNode("label",{for:k,class:{"v-rating__item--half":e.halfIncrements&&P%1>0,"v-rating__item--full":e.halfIncrements&&P%1===0},onMouseenter:b,onMouseleave:S,onClick:C},[createVNode("span",{class:"v-rating__hidden"},[r(e.itemAriaLabel,P,e.length)]),_?n.item?n.item({...u.value[v],props:T,value:P,index:v,rating:i.value}):createVNode(VBtn,mergeProps({"aria-label":r(e.itemAriaLabel,P,e.length)},T),null):void 0]),createVNode("input",{class:"v-rating__hidden",name:d.value,id:k,type:"radio",value:P,checked:i.value===P,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function y(g){return n["item-label"]?n["item-label"](g):g.label?createVNode("span",null,[g.label]):createVNode("span",null,[createTextVNode(" ")])}return useRender(()=>{var P;const g=!!((P=e.itemLabels)!=null&&P.length)||n["item-label"];return createVNode(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},a.value,e.class],style:e.style},{default:()=>[createVNode(m,{value:0,index:-1,showStar:!1},null),s.value.map((v,_)=>{var b,S;return createVNode("div",{class:"v-rating__wrapper"},[g&&e.itemLabelPosition==="top"?y({value:v,index:_,label:(b=e.itemLabels)==null?void 0:b[_]}):void 0,createVNode("div",{class:"v-rating__item"},[e.halfIncrements?createVNode(Fragment,null,[createVNode(m,{value:v-.5,index:_*2},null),createVNode(m,{value:v,index:_*2+1},null)]):createVNode(m,{value:v,index:_},null)]),g&&e.itemLabelPosition==="bottom"?y({value:v,index:_,label:(S=e.itemLabels)==null?void 0:S[_]}):void 0])})]})}),{}}}),rootTypes={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function genBone(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return createVNode("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${e}`]},[t])}function genBones(e){const[t,n]=e.split("@");return Array.from({length:n}).map(()=>genStructure(t))}function genStructure(e){let t=[];if(!e)return t;const n=rootTypes[e];if(e!==n){if(e.includes(","))return mapBones(e);if(e.includes("@"))return genBones(e);n.includes(",")?t=mapBones(n):n.includes("@")?t=genBones(n):n&&t.push(genStructure(n))}return[genBone(e,t)]}function mapBones(e){return e.replace(/\s/g,"").split(",").map(genStructure)}const makeVSkeletonLoaderProps=propsFactory({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...makeDimensionProps(),...makeElevationProps(),...makeThemeProps()},"VSkeletonLoader"),VSkeletonLoader=genericComponent()({name:"VSkeletonLoader",props:makeVSkeletonLoaderProps(),setup(e,t){let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:a}=useBackgroundColor(toRef(e,"color")),{dimensionStyles:o}=useDimension(e),{elevationClasses:i}=useElevation(e),{themeClasses:s}=provideTheme(e),{t:l}=useLocale(),c=computed(()=>genStructure(wrapInArray(e.type).join(",")));return useRender(()=>{var f;const u=!n.default||e.loading;return createVNode("div",{class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":e.boilerplate},s.value,r.value,i.value],style:[a.value,u?o.value:{}],"aria-busy":e.boilerplate?void 0:u,"aria-live":e.boilerplate?void 0:"polite","aria-label":e.boilerplate?void 0:l(e.loadingText),role:e.boilerplate?void 0:"alert"},[u?c.value:(f=n.default)==null?void 0:f.call(n)])}),{}}});function bias(e){const n=Math.abs(e);return Math.sign(e)*(n/((1/.501-2)*(1-n)+1))}function calculateUpdatedOffset(e){let{selectedElement:t,containerSize:n,contentSize:r,isRtl:a,currentScrollOffset:o,isHorizontal:i}=e;const s=i?t.clientWidth:t.clientHeight,l=i?t.offsetLeft:t.offsetTop,c=a&&i?r-l-s:l,u=n+o,f=s+c,d=s*.4;return c<=o?o=Math.max(c-d,0):u<=f&&(o=Math.min(o-(u-f-d),r-n)),o}function calculateCenteredOffset(e){let{selectedElement:t,containerSize:n,contentSize:r,isRtl:a,isHorizontal:o}=e;const i=o?t.clientWidth:t.clientHeight,s=o?t.offsetLeft:t.offsetTop,l=a&&o?r-s-i/2-n/2:s+i/2-n/2;return Math.min(r-n,Math.max(0,l))}const VSlideGroupSymbol=Symbol.for("vuetify:v-slide-group"),makeVSlideGroupProps=propsFactory({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:VSlideGroupSymbol},nextIcon:{type:IconValue,default:"$next"},prevIcon:{type:IconValue,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile"].includes(e)},...makeComponentProps(),...makeDisplayProps(),...makeTagProps(),...makeGroupProps({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),VSlideGroup=genericComponent()({name:"VSlideGroup",props:makeVSlideGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isRtl:r}=useRtl(),{displayClasses:a,mobile:o}=useDisplay(e),i=useGroup(e,e.symbol),s=shallowRef(!1),l=shallowRef(0),c=shallowRef(0),u=shallowRef(0),f=computed(()=>e.direction==="horizontal"),{resizeRef:d,contentRect:m}=useResizeObserver(),{resizeRef:y,contentRect:g}=useResizeObserver(),P=computed(()=>i.selected.value.length?i.items.value.findIndex($=>$.id===i.selected.value[0]):-1),v=computed(()=>i.selected.value.length?i.items.value.findIndex($=>$.id===i.selected.value[i.selected.value.length-1]):-1);if(IN_BROWSER){let $=-1;watch(()=>[i.selected.value,m.value,g.value,f.value],()=>{cancelAnimationFrame($),$=requestAnimationFrame(()=>{if(m.value&&g.value){const G=f.value?"width":"height";c.value=m.value[G],u.value=g.value[G],s.value=c.value+1<u.value}if(P.value>=0&&y.value){const G=y.value.children[v.value];P.value===0||!s.value?l.value=0:e.centerActive?l.value=calculateCenteredOffset({selectedElement:G,containerSize:c.value,contentSize:u.value,isRtl:r.value,isHorizontal:f.value}):s.value&&(l.value=calculateUpdatedOffset({selectedElement:G,containerSize:c.value,contentSize:u.value,isRtl:r.value,currentScrollOffset:l.value,isHorizontal:f.value}))}})})}const _=shallowRef(!1);let b=0,S=0;function C($){const G=f.value?"clientX":"clientY";S=(r.value&&f.value?-1:1)*l.value,b=$.touches[0][G],_.value=!0}function k($){if(!s.value)return;const G=f.value?"clientX":"clientY",ne=r.value&&f.value?-1:1;l.value=ne*(S+b-$.touches[0][G])}function T($){const G=u.value-c.value;l.value<0||!s.value?l.value=0:l.value>=G&&(l.value=G),_.value=!1}function w(){d.value&&(d.value[f.value?"scrollLeft":"scrollTop"]=0)}const E=shallowRef(!1);function F($){if(E.value=!0,!(!s.value||!y.value)){for(const G of $.composedPath())for(const ne of y.value.children)if(ne===G){l.value=calculateUpdatedOffset({selectedElement:ne,containerSize:c.value,contentSize:u.value,isRtl:r.value,currentScrollOffset:l.value,isHorizontal:f.value});return}}}function L($){E.value=!1}function N($){var G;!E.value&&!($.relatedTarget&&((G=y.value)!=null&&G.contains($.relatedTarget)))&&U()}function O($){y.value&&(f.value?$.key==="ArrowRight"?U(r.value?"prev":"next"):$.key==="ArrowLeft"&&U(r.value?"next":"prev"):$.key==="ArrowDown"?U("next"):$.key==="ArrowUp"&&U("prev"),$.key==="Home"?U("first"):$.key==="End"&&U("last"))}function U($){var G,ne,oe,ce,ee;if(y.value)if(!$)(G=focusableChildren(y.value)[0])==null||G.focus();else if($==="next"){const Y=(ne=y.value.querySelector(":focus"))==null?void 0:ne.nextElementSibling;Y?Y.focus():U("first")}else if($==="prev"){const Y=(oe=y.value.querySelector(":focus"))==null?void 0:oe.previousElementSibling;Y?Y.focus():U("last")}else $==="first"?(ce=y.value.firstElementChild)==null||ce.focus():$==="last"&&((ee=y.value.lastElementChild)==null||ee.focus())}function j($){const G=l.value+($==="prev"?-1:1)*c.value;l.value=clamp(G,0,u.value-c.value)}const I=computed(()=>{let $=l.value>u.value-c.value?-(u.value-c.value)+bias(u.value-c.value-l.value):-l.value;l.value<=0&&($=bias(-l.value));const G=r.value&&f.value?-1:1;return{transform:`translate${f.value?"X":"Y"}(${G*$}px)`,transition:_.value?"none":"",willChange:_.value?"transform":""}}),M=computed(()=>({next:i.next,prev:i.prev,select:i.select,isSelected:i.isSelected})),V=computed(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!o.value;case!0:return s.value||Math.abs(l.value)>0;case"mobile":return o.value||s.value||Math.abs(l.value)>0;default:return!o.value&&(s.value||Math.abs(l.value)>0)}}),R=computed(()=>Math.abs(l.value)>0),D=computed(()=>u.value>Math.abs(l.value)+c.value);return useRender(()=>createVNode(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!f.value,"v-slide-group--has-affixes":V.value,"v-slide-group--is-overflowing":s.value},a.value,e.class],style:e.style,tabindex:E.value||i.selected.value.length?-1:0,onFocus:N},{default:()=>{var $,G,ne;return[V.value&&createVNode("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!R.value}],onClick:()=>j("prev")},[(($=n.prev)==null?void 0:$.call(n,M.value))??createVNode(VFadeTransition,null,{default:()=>[createVNode(VIcon,{icon:r.value?e.nextIcon:e.prevIcon},null)]})]),createVNode("div",{key:"container",ref:d,class:"v-slide-group__container",onScroll:w},[createVNode("div",{ref:y,class:"v-slide-group__content",style:I.value,onTouchstartPassive:C,onTouchmovePassive:k,onTouchendPassive:T,onFocusin:F,onFocusout:L,onKeydown:O},[(G=n.default)==null?void 0:G.call(n,M.value)])]),V.value&&createVNode("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!D.value}],onClick:()=>j("next")},[((ne=n.next)==null?void 0:ne.call(n,M.value))??createVNode(VFadeTransition,null,{default:()=>[createVNode(VIcon,{icon:r.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:i.selected,scrollTo:j,scrollOffset:l,focus:U}}}),VSlideGroupItem=genericComponent()({name:"VSlideGroupItem",props:makeGroupItemProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=useGroupItem(e,VSlideGroupSymbol);return()=>{var a;return(a=n.default)==null?void 0:a.call(n,{isSelected:r.isSelected.value,select:r.select,toggle:r.toggle,selectedClass:r.selectedClass.value})}}});function useCountdown(e){const t=shallowRef(e);let n=-1;function r(){clearInterval(n)}function a(){r(),nextTick(()=>t.value=e)}function o(i){const s=i?getComputedStyle(i):{transitionDuration:.2},l=parseFloat(s.transitionDuration)*1e3||200;if(r(),t.value<=0)return;const c=performance.now();n=window.setInterval(()=>{const u=performance.now()-c+l;t.value=Math.max(e-u,0),t.value<=0&&r()},l)}return onScopeDispose(r),{clear:r,time:t,start:o,reset:a}}const makeVSnackbarProps=propsFactory({multiLine:Boolean,text:String,timer:[Boolean,String],timeout:{type:[Number,String],default:5e3},vertical:Boolean,...makeLocationProps({location:"bottom"}),...makePositionProps(),...makeRoundedProps(),...makeVariantProps(),...makeThemeProps(),...omit(makeVOverlayProps({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),VSnackbar=genericComponent()({name:"VSnackbar",props:makeVSnackbarProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"modelValue"),{locationStyles:a}=useLocation(e),{positionClasses:o}=usePosition(e),{scopeId:i}=useScopeId(),{themeClasses:s}=provideTheme(e),{colorClasses:l,colorStyles:c,variantClasses:u}=useVariant(e),{roundedClasses:f}=useRounded(e),d=useCountdown(Number(e.timeout)),m=ref(),y=ref(),g=shallowRef(!1);watch(r,v),watch(()=>e.timeout,v),onMounted(()=>{r.value&&v()});let P=-1;function v(){d.reset(),window.clearTimeout(P);const C=Number(e.timeout);if(!r.value||C===-1)return;const k=refElement(y.value);d.start(k),P=window.setTimeout(()=>{r.value=!1},C)}function _(){d.reset(),window.clearTimeout(P)}function b(){g.value=!0,_()}function S(){g.value=!1,v()}return useRender(()=>{const C=VOverlay.filterProps(e),k=!!(n.default||n.text||e.text);return createVNode(VOverlay,mergeProps({ref:m,class:["v-snackbar",{"v-snackbar--active":r.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--timer":!!e.timer,"v-snackbar--vertical":e.vertical},o.value,e.class],style:e.style},C,{modelValue:r.value,"onUpdate:modelValue":T=>r.value=T,contentProps:mergeProps({class:["v-snackbar__wrapper",s.value,l.value,f.value,u.value],style:[a.value,c.value],onPointerenter:b,onPointerleave:S},C.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},i),{default:()=>{var T,w;return[genOverlays(!1,"v-snackbar"),e.timer&&createVNode("div",{key:"timer",class:"v-snackbar__timer"},[createVNode(VProgressLinear,{ref:y,active:!g.value,color:typeof e.timer=="string"?e.timer:"info",max:e.timeout,"model-value":d.time.value},null)]),k&&createVNode("div",{key:"content",class:"v-snackbar__content",role:"status","aria-live":"polite"},[((T=n.text)==null?void 0:T.call(n))??e.text,(w=n.default)==null?void 0:w.call(n)]),n.actions&&createVNode(VDefaultsProvider,{defaults:{VBtn:{variant:"text",ripple:!1,slim:!0}}},{default:()=>[createVNode("div",{class:"v-snackbar__actions"},[n.actions()])]})]},activator:n.activator})}),forwardRefs({},m)}}),makeVStepperActionsProps=propsFactory({color:String,disabled:{type:[Boolean,String],default:!1},prevText:{type:String,default:"$vuetify.stepper.prev"},nextText:{type:String,default:"$vuetify.stepper.next"}},"VStepperActions"),VStepperActions=genericComponent()({name:"VStepperActions",props:makeVStepperActionsProps(),emits:{"click:prev":()=>!0,"click:next":()=>!0},setup(e,t){let{emit:n,slots:r}=t;const{t:a}=useLocale();function o(){n("click:prev")}function i(){n("click:next")}return useRender(()=>{const s={onClick:o},l={onClick:i};return createVNode("div",{class:"v-stepper-actions"},[createVNode(VDefaultsProvider,{defaults:{VBtn:{disabled:["prev",!0].includes(e.disabled),text:a(e.prevText),variant:"text"}}},{default:()=>{var c;return[((c=r.prev)==null?void 0:c.call(r,{props:s}))??createVNode(VBtn,s,null)]}}),createVNode(VDefaultsProvider,{defaults:{VBtn:{color:e.color,disabled:["next",!0].includes(e.disabled),text:a(e.nextText),variant:"tonal"}}},{default:()=>{var c;return[((c=r.next)==null?void 0:c.call(r,{props:l}))??createVNode(VBtn,l,null)]}})])}),{}}}),VStepperHeader=createSimpleFunctional("v-stepper-header"),makeVStepperItemProps=propsFactory({color:String,title:String,subtitle:String,complete:Boolean,completeIcon:{type:String,default:"$complete"},editable:Boolean,editIcon:{type:String,default:"$edit"},error:Boolean,errorIcon:{type:String,default:"$error"},icon:String,ripple:{type:[Boolean,Object],default:!0},rules:{type:Array,default:()=>[]},...makeGroupItemProps()},"VStepperItem"),VStepperItem=genericComponent()({name:"VStepperItem",directives:{Ripple},props:makeVStepperItemProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=useGroupItem(e,VStepperSymbol,!0),a=computed(()=>(r==null?void 0:r.value.value)??e.value),o=computed(()=>e.rules.every(f=>f()===!0)),i=computed(()=>!e.disabled&&e.editable),s=computed(()=>e.error||!o.value),l=computed(()=>e.complete||e.rules.length>0&&o.value),c=computed(()=>s.value?e.errorIcon:l.value?e.completeIcon:e.editable?e.editIcon:e.icon),u=computed(()=>({canEdit:i.value,hasError:s.value,hasCompleted:l.value,title:e.title,subtitle:e.subtitle,step:a.value,value:e.value}));return useRender(()=>{var g,P,v;const f=(!r||r.isSelected.value||l.value||i.value)&&!s.value&&!e.disabled,d=!!(e.title||n.title),m=!!(e.subtitle||n.subtitle);function y(){r==null||r.toggle()}return withDirectives(createVNode("button",{class:["v-stepper-item",{"v-stepper-item--complete":l.value,"v-stepper-item--disabled":e.disabled,"v-stepper-item--error":s.value},r==null?void 0:r.selectedClass.value],disabled:!e.editable,onClick:y},[createVNode(VAvatar,{key:"stepper-avatar",class:"v-stepper-item__avatar",color:f?e.color:void 0,size:24},{default:()=>{var _;return[((_=n.icon)==null?void 0:_.call(n,u.value))??(c.value?createVNode(VIcon,{icon:c.value},null):a.value)]}}),createVNode("div",{class:"v-stepper-item__content"},[d&&createVNode("div",{key:"title",class:"v-stepper-item__title"},[((g=n.title)==null?void 0:g.call(n,u.value))??e.title]),m&&createVNode("div",{key:"subtitle",class:"v-stepper-item__subtitle"},[((P=n.subtitle)==null?void 0:P.call(n,u.value))??e.subtitle]),(v=n.default)==null?void 0:v.call(n,u.value)])]),[[resolveDirective("ripple"),e.ripple&&e.editable,null]])}),{}}}),VStepperSymbol$1=Symbol.for("vuetify:v-stepper"),makeVStepperWindowProps=propsFactory({...omit(makeVWindowProps(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VStepperWindow"),VStepperWindow=genericComponent()({name:"VStepperWindow",props:makeVStepperWindowProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=inject$1(VStepperSymbol$1,null),a=useProxiedModel(e,"modelValue"),o=computed({get(){var i;return a.value!=null||!r?a.value:(i=r.items.value.find(s=>r.selected.value.includes(s.id)))==null?void 0:i.value},set(i){a.value=i}});return useRender(()=>{const i=VWindow.filterProps(e);return createVNode(VWindow,mergeProps({_as:"VStepperWindow"},i,{modelValue:o.value,"onUpdate:modelValue":s=>o.value=s,class:"v-stepper-window",mandatory:!1,touch:!1}),n)}),{}}}),makeVStepperWindowItemProps=propsFactory({...makeVWindowItemProps()},"VStepperWindowItem"),VStepperWindowItem=genericComponent()({name:"VStepperWindowItem",props:makeVStepperWindowItemProps(),setup(e,t){let{slots:n}=t;return useRender(()=>{const r=VWindowItem.filterProps(e);return createVNode(VWindowItem,mergeProps({_as:"VStepperWindowItem"},r,{class:"v-stepper-window-item"}),n)}),{}}}),VStepperSymbol=Symbol.for("vuetify:v-stepper"),makeVStepperProps=propsFactory({altLabels:Boolean,bgColor:String,editable:Boolean,hideActions:Boolean,items:{type:Array,default:()=>[]},itemTitle:{type:String,default:"title"},itemValue:{type:String,default:"value"},mobile:Boolean,nonLinear:Boolean,flat:Boolean,...makeGroupProps({mandatory:"force",selectedClass:"v-stepper-item--selected"}),...makeVSheetProps(),...only(makeVStepperActionsProps(),["prevText","nextText"])},"VStepper"),VStepper=genericComponent()({name:"VStepper",props:makeVStepperProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{items:r,next:a,prev:o,selected:i}=useGroup(e,VStepperSymbol),{color:s,editable:l,prevText:c,nextText:u}=toRefs(e),f=computed(()=>e.items.map((y,g)=>{const P=getPropertyFromItem(y,e.itemTitle,y),v=getPropertyFromItem(y,e.itemValue,g+1);return{title:P,value:v,raw:y}})),d=computed(()=>r.value.findIndex(y=>i.value.includes(y.id))),m=computed(()=>e.disabled?e.disabled:d.value===0?"prev":d.value===r.value.length-1?"next":!1);return provideDefaults({VStepperItem:{editable:l,prevText:c,nextText:u},VStepperActions:{color:s,disabled:m,prevText:c,nextText:u}}),useRender(()=>{const y=VSheet.filterProps(e),g=!!(n.header||e.items.length),P=e.items.length>0,v=!e.hideActions&&!!(P||n.actions);return createVNode(VSheet,mergeProps(y,{color:e.bgColor,class:["v-stepper",{"v-stepper--alt-labels":e.altLabels,"v-stepper--flat":e.flat,"v-stepper--non-linear":e.nonLinear,"v-stepper--mobile":e.mobile},e.class],style:e.style}),{default:()=>{var _,b;return[g&&createVNode(VStepperHeader,{key:"stepper-header"},{default:()=>[f.value.map((S,C)=>createVNode(Fragment,null,[!!C&&createVNode(VDivider,null,null),createVNode(VStepperItem,S,{default:n[`header-item.${S.value}`]??n.header,icon:n.icon,title:n.title,subtitle:n.subtitle})]))]}),P&&createVNode(VStepperWindow,{key:"stepper-window"},{default:()=>[f.value.map(S=>createVNode(VStepperWindowItem,{value:S.value},{default:()=>{var C,k;return((C=n[`item.${S.value}`])==null?void 0:C.call(n,S))??((k=n.item)==null?void 0:k.call(n,S))}}))]}),(_=n.default)==null?void 0:_.call(n,{prev:o,next:a}),v&&(((b=n.actions)==null?void 0:b.call(n,{next:a,prev:o}))??createVNode(VStepperActions,{key:"stepper-actions","onClick:prev":o,"onClick:next":a},n))]}})}),{prev:o,next:a}}}),makeVSwitchProps=propsFactory({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...makeVInputProps(),...makeVSelectionControlProps()},"VSwitch"),VSwitch=genericComponent()({name:"VSwitch",inheritAttrs:!1,props:makeVSwitchProps(),emits:{"update:focused":e=>!0,"update:modelValue":()=>!0,"update:indeterminate":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const a=useProxiedModel(e,"indeterminate"),o=useProxiedModel(e,"modelValue"),{loaderClasses:i}=useLoader(e),{isFocused:s,focus:l,blur:c}=useFocus(e),u=ref(),f=computed(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),d=getUid(),m=computed(()=>e.id||`switch-${d}`);function y(){a.value&&(a.value=!1)}function g(P){var v,_;P.stopPropagation(),P.preventDefault(),(_=(v=u.value)==null?void 0:v.input)==null||_.click()}return useRender(()=>{const[P,v]=filterInputAttrs(n),_=VInput.filterProps(e),b=VSelectionControl.filterProps(e);return createVNode(VInput,mergeProps({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":a.value},i.value,e.class],style:e.style},P,_,{id:m.value,focused:s.value}),{...r,default:S=>{let{id:C,messagesId:k,isDisabled:T,isReadonly:w,isValid:E}=S;return createVNode(VSelectionControl,mergeProps({ref:u},b,{modelValue:o.value,"onUpdate:modelValue":[F=>o.value=F,y],id:C.value,"aria-describedby":k.value,type:"checkbox","aria-checked":a.value?"mixed":void 0,disabled:T.value,readonly:w.value,onFocus:l,onBlur:c},v),{...r,default:F=>{let{backgroundColorClasses:L,backgroundColorStyles:N}=F;return createVNode("div",{class:["v-switch__track",...L.value],style:N.value,onClick:g},null)},input:F=>{let{inputNode:L,icon:N,backgroundColorClasses:O,backgroundColorStyles:U}=F;return createVNode(Fragment,null,[L,createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":N||e.loading},e.inset?void 0:O.value],style:e.inset?void 0:U.value},[createVNode(VScaleTransition,null,{default:()=>[e.loading?createVNode(LoaderSlot,{name:"v-switch",active:!0,color:E.value===!1?void 0:f.value},{default:j=>r.loader?r.loader(j):createVNode(VProgressCircular,{active:j.isActive,color:j.color,indeterminate:!0,size:"16",width:"2"},null)}):N&&createVNode(VIcon,{key:N,icon:N,size:"x-small"},null)]})])])}})}})}),{}}}),makeVSystemBarProps=propsFactory({color:String,height:[Number,String],window:Boolean,...makeComponentProps(),...makeElevationProps(),...makeLayoutItemProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VSystemBar"),VSystemBar=genericComponent()({name:"VSystemBar",props:makeVSystemBarProps(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=provideTheme(e),{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(toRef(e,"color")),{elevationClasses:i}=useElevation(e),{roundedClasses:s}=useRounded(e),{ssrBootStyles:l}=useSsrBoot(),c=computed(()=>e.height??(e.window?32:24)),{layoutItemStyles:u}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:shallowRef("top"),layoutSize:c,elementSize:c,active:computed(()=>!0),absolute:toRef(e,"absolute")});return useRender(()=>createVNode(e.tag,{class:["v-system-bar",{"v-system-bar--window":e.window},r.value,a.value,i.value,s.value,e.class],style:[o.value,u.value,l.value,e.style]},n)),{}}}),VTabsSymbol=Symbol.for("vuetify:v-tabs"),makeVTabProps=propsFactory({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...omit(makeVBtnProps({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),VTab=genericComponent()({name:"VTab",props:makeVTabProps(),setup(e,t){let{slots:n,attrs:r}=t;const{textColorClasses:a,textColorStyles:o}=useTextColor(e,"sliderColor"),i=computed(()=>e.direction==="horizontal"),s=shallowRef(!1),l=ref(),c=ref();function u(f){var m,y;let{value:d}=f;if(s.value=d,d){const g=(y=(m=l.value)==null?void 0:m.$el.parentElement)==null?void 0:y.querySelector(".v-tab--selected .v-tab__slider"),P=c.value;if(!g||!P)return;const v=getComputedStyle(g).color,_=g.getBoundingClientRect(),b=P.getBoundingClientRect(),S=i.value?"x":"y",C=i.value?"X":"Y",k=i.value?"right":"bottom",T=i.value?"width":"height",w=_[S],E=b[S],F=w>E?_[k]-b[k]:_[S]-b[S],L=Math.sign(F)>0?i.value?"right":"bottom":Math.sign(F)<0?i.value?"left":"top":"center",O=(Math.abs(F)+(Math.sign(F)<0?_[T]:b[T]))/Math.max(_[T],b[T])||0,U=_[T]/b[T]||0,j=1.5;animate(P,{backgroundColor:[v,"currentcolor"],transform:[`translate${C}(${F}px) scale${C}(${U})`,`translate${C}(${F/j}px) scale${C}(${(O-1)/j+1})`,"none"],transformOrigin:Array(3).fill(L)},{duration:225,easing:standardEasing})}}return useRender(()=>{const f=VBtn.filterProps(e);return createVNode(VBtn,mergeProps({symbol:VTabsSymbol,ref:l,class:["v-tab",e.class],style:e.style,tabindex:s.value?0:-1,role:"tab","aria-selected":String(s.value),active:!1},f,r,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":u}),{default:()=>{var d;return[((d=n.default)==null?void 0:d.call(n))??e.text,!e.hideSlider&&createVNode("div",{ref:c,class:["v-tab__slider",a.value],style:o.value},null)]}})}),{}}});function parseItems(e){return e?e.map(t=>isObject(t)?t:{text:t,value:t}):[]}const makeVTabsProps=propsFactory({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...makeVSlideGroupProps({mandatory:"force"}),...makeDensityProps(),...makeTagProps()},"VTabs"),VTabs=genericComponent()({name:"VTabs",props:makeVTabsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"modelValue"),a=computed(()=>parseItems(e.items)),{densityClasses:o}=useDensity(e),{backgroundColorClasses:i,backgroundColorStyles:s}=useBackgroundColor(toRef(e,"bgColor"));return provideDefaults({VTab:{color:toRef(e,"color"),direction:toRef(e,"direction"),stacked:toRef(e,"stacked"),fixed:toRef(e,"fixedTabs"),sliderColor:toRef(e,"sliderColor"),hideSlider:toRef(e,"hideSlider")}}),useRender(()=>{const l=VSlideGroup.filterProps(e);return createVNode(VSlideGroup,mergeProps(l,{modelValue:r.value,"onUpdate:modelValue":c=>r.value=c,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},o.value,i.value,e.class],style:[{"--v-tabs-height":convertToUnit(e.height)},s.value,e.style],role:"tablist",symbol:VTabsSymbol}),{default:()=>[n.default?n.default():a.value.map(c=>createVNode(VTab,mergeProps(c,{key:c.text}),null))]})}),{}}}),makeVTextareaProps=propsFactory({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...makeVInputProps(),...makeVFieldProps()},"VTextarea"),VTextarea=genericComponent()({name:"VTextarea",directives:{Intersect},inheritAttrs:!1,props:makeVTextareaProps(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:a}=t;const o=useProxiedModel(e,"modelValue"),{isFocused:i,focus:s,blur:l}=useFocus(e),c=computed(()=>typeof e.counterValue=="function"?e.counterValue(o.value):(o.value||"").toString().length),u=computed(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function f(L,N){var O,U;!e.autofocus||!L||(U=(O=N[0].target)==null?void 0:O.focus)==null||U.call(O)}const d=ref(),m=ref(),y=shallowRef(""),g=ref(),P=computed(()=>e.persistentPlaceholder||i.value||e.active);function v(){var L;g.value!==document.activeElement&&((L=g.value)==null||L.focus()),i.value||s()}function _(L){v(),r("click:control",L)}function b(L){r("mousedown:control",L)}function S(L){L.stopPropagation(),v(),nextTick(()=>{o.value="",callEvent(e["onClick:clear"],L)})}function C(L){var O;const N=L.target;if(o.value=N.value,(O=e.modelModifiers)!=null&&O.trim){const U=[N.selectionStart,N.selectionEnd];nextTick(()=>{N.selectionStart=U[0],N.selectionEnd=U[1]})}}const k=ref(),T=ref(+e.rows),w=computed(()=>["plain","underlined"].includes(e.variant));watchEffect(()=>{e.autoGrow||(T.value=+e.rows)});function E(){e.autoGrow&&nextTick(()=>{if(!k.value||!m.value)return;const L=getComputedStyle(k.value),N=getComputedStyle(m.value.$el),O=parseFloat(L.getPropertyValue("--v-field-padding-top"))+parseFloat(L.getPropertyValue("--v-input-padding-top"))+parseFloat(L.getPropertyValue("--v-field-padding-bottom")),U=k.value.scrollHeight,j=parseFloat(L.lineHeight),I=Math.max(parseFloat(e.rows)*j+O,parseFloat(N.getPropertyValue("--v-input-control-height"))),M=parseFloat(e.maxRows)*j+O||1/0,V=clamp(U??0,I,M);T.value=Math.floor((V-O)/j),y.value=convertToUnit(V)})}onMounted(E),watch(o,E),watch(()=>e.rows,E),watch(()=>e.maxRows,E),watch(()=>e.density,E);let F;return watch(k,L=>{L?(F=new ResizeObserver(E),F.observe(k.value)):F==null||F.disconnect()}),onBeforeUnmount(()=>{F==null||F.disconnect()}),useRender(()=>{const L=!!(a.counter||e.counter||e.counterValue),N=!!(L||a.details),[O,U]=filterInputAttrs(n),{modelValue:j,...I}=VInput.filterProps(e),M=filterFieldProps(e);return createVNode(VInput,mergeProps({ref:d,modelValue:o.value,"onUpdate:modelValue":V=>o.value=V,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-input--plain-underlined":w.value},e.class],style:e.style},O,I,{centerAffix:T.value===1&&!w.value,focused:i.value}),{...a,default:V=>{let{id:R,isDisabled:D,isDirty:$,isReadonly:G,isValid:ne}=V;return createVNode(VField,mergeProps({ref:m,style:{"--v-textarea-control-height":y.value},onClick:_,onMousedown:b,"onClick:clear":S,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},M,{id:R.value,active:P.value||$.value,centerAffix:T.value===1&&!w.value,dirty:$.value||e.dirty,disabled:D.value,focused:i.value,error:ne.value===!1}),{...a,default:oe=>{let{props:{class:ce,...ee}}=oe;return createVNode(Fragment,null,[e.prefix&&createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),withDirectives(createVNode("textarea",mergeProps({ref:g,class:ce,value:o.value,onInput:C,autofocus:e.autofocus,readonly:G.value,disabled:D.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:v,onBlur:l},ee,U),null),[[resolveDirective("intersect"),{handler:f},null,{once:!0}]]),e.autoGrow&&withDirectives(createVNode("textarea",{class:[ce,"v-textarea__sizer"],id:`${ee.id}-sizer`,"onUpdate:modelValue":Y=>o.value=Y,ref:k,readonly:!0,"aria-hidden":"true"},null),[[vModelText,o.value]]),e.suffix&&createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:N?V=>{var R;return createVNode(Fragment,null,[(R=a.details)==null?void 0:R.call(a,V),L&&createVNode(Fragment,null,[createVNode("span",null,null),createVNode(VCounter,{active:e.persistentCounter||i.value,value:c.value,max:u.value},a.counter)])])}:void 0})}),forwardRefs({},d,m,g)}}),makeVThemeProviderProps=propsFactory({withBackground:Boolean,...makeComponentProps(),...makeThemeProps(),...makeTagProps()},"VThemeProvider"),VThemeProvider=genericComponent()({name:"VThemeProvider",props:makeVThemeProviderProps(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=provideTheme(e);return()=>{var a;return e.withBackground?createVNode(e.tag,{class:["v-theme-provider",r.value,e.class],style:e.style},{default:()=>{var o;return[(o=n.default)==null?void 0:o.call(n)]}}):(a=n.default)==null?void 0:a.call(n)}}}),makeVTimelineProps=propsFactory({align:{type:String,default:"center",validator:e=>["center","start"].includes(e)},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},justify:{type:String,default:"auto",validator:e=>["auto","center"].includes(e)},side:{type:String,validator:e=>e==null||["start","end"].includes(e)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:e=>["start","end","both"].includes(e)},...makeComponentProps(),...makeDensityProps(),...makeTagProps(),...makeThemeProps()},"VTimeline"),VTimeline=genericComponent()({name:"VTimeline",props:makeVTimelineProps(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=provideTheme(e),{densityClasses:a}=useDensity(e),{rtlClasses:o}=useRtl();provideDefaults({VTimelineDivider:{lineColor:toRef(e,"lineColor")},VTimelineItem:{density:toRef(e,"density"),lineInset:toRef(e,"lineInset")}});const i=computed(()=>{const l=e.side?e.side:e.density!=="default"?"end":null;return l&&`v-timeline--side-${l}`}),s=computed(()=>{const l=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(e.truncateLine){case"both":return l;case"start":return l[0];case"end":return l[1];default:return null}});return useRender(()=>createVNode(e.tag,{class:["v-timeline",`v-timeline--${e.direction}`,`v-timeline--align-${e.align}`,`v-timeline--justify-${e.justify}`,s.value,{"v-timeline--inset-line":!!e.lineInset},r.value,a.value,i.value,o.value,e.class],style:[{"--v-timeline-line-thickness":convertToUnit(e.lineThickness)},e.style]},n)),{}}}),makeVTimelineDividerProps=propsFactory({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:IconValue,iconColor:String,lineColor:String,...makeComponentProps(),...makeRoundedProps(),...makeSizeProps(),...makeElevationProps()},"VTimelineDivider"),VTimelineDivider=genericComponent()({name:"VTimelineDivider",props:makeVTimelineDividerProps(),setup(e,t){let{slots:n}=t;const{sizeClasses:r,sizeStyles:a}=useSize(e,"v-timeline-divider__dot"),{backgroundColorStyles:o,backgroundColorClasses:i}=useBackgroundColor(toRef(e,"dotColor")),{roundedClasses:s}=useRounded(e,"v-timeline-divider__dot"),{elevationClasses:l}=useElevation(e),{backgroundColorClasses:c,backgroundColorStyles:u}=useBackgroundColor(toRef(e,"lineColor"));return useRender(()=>createVNode("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot},e.class],style:e.style},[createVNode("div",{class:["v-timeline-divider__before",c.value],style:u.value},null),!e.hideDot&&createVNode("div",{key:"dot",class:["v-timeline-divider__dot",l.value,s.value,r.value],style:a.value},[createVNode("div",{class:["v-timeline-divider__inner-dot",i.value,s.value],style:o.value},[n.default?createVNode(VDefaultsProvider,{key:"icon-defaults",disabled:!e.icon,defaults:{VIcon:{color:e.iconColor,icon:e.icon,size:e.size}}},n.default):createVNode(VIcon,{key:"icon",color:e.iconColor,icon:e.icon,size:e.size},null)])]),createVNode("div",{class:["v-timeline-divider__after",c.value],style:u.value},null)])),{}}}),makeVTimelineItemProps=propsFactory({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:IconValue,iconColor:String,lineInset:[Number,String],...makeComponentProps(),...makeDimensionProps(),...makeElevationProps(),...makeRoundedProps(),...makeSizeProps(),...makeTagProps()},"VTimelineItem"),VTimelineItem=genericComponent()({name:"VTimelineItem",props:makeVTimelineItemProps(),setup(e,t){let{slots:n}=t;const{dimensionStyles:r}=useDimension(e),a=shallowRef(0),o=ref();return watch(o,i=>{var s;i&&(a.value=((s=i.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:s.getBoundingClientRect().width)??0)},{flush:"post"}),useRender(()=>{var i,s;return createVNode("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot},e.class],style:[{"--v-timeline-dot-size":convertToUnit(a.value),"--v-timeline-line-inset":e.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${convertToUnit(e.lineInset)})`:convertToUnit(0)},e.style]},[createVNode("div",{class:"v-timeline-item__body",style:r.value},[(i=n.default)==null?void 0:i.call(n)]),createVNode(VTimelineDivider,{ref:o,hideDot:e.hideDot,icon:e.icon,iconColor:e.iconColor,size:e.size,elevation:e.elevation,dotColor:e.dotColor,fillDot:e.fillDot,rounded:e.rounded},{default:n.icon}),e.density!=="compact"&&createVNode("div",{class:"v-timeline-item__opposite"},[!e.hideOpposite&&((s=n.opposite)==null?void 0:s.call(n))])])}),{}}}),makeVToolbarItemsProps=propsFactory({...makeComponentProps(),...makeVariantProps({variant:"text"})},"VToolbarItems"),VToolbarItems=genericComponent()({name:"VToolbarItems",props:makeVToolbarItemsProps(),setup(e,t){let{slots:n}=t;return provideDefaults({VBtn:{color:toRef(e,"color"),height:"inherit",variant:toRef(e,"variant")}}),useRender(()=>{var r;return createVNode("div",{class:["v-toolbar-items",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),makeVTooltipProps=propsFactory({id:String,text:String,...omit(makeVOverlayProps({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),VTooltip=genericComponent()({name:"VTooltip",props:makeVTooltipProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useProxiedModel(e,"modelValue"),{scopeId:a}=useScopeId(),o=getUid(),i=computed(()=>e.id||`v-tooltip-${o}`),s=ref(),l=computed(()=>e.location.split(" ").length>1?e.location:e.location+" center"),c=computed(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),u=computed(()=>e.transition?e.transition:r.value?"scale-transition":"fade-transition"),f=computed(()=>mergeProps({"aria-describedby":i.value},e.activatorProps));return useRender(()=>{const d=VOverlay.filterProps(e);return createVNode(VOverlay,mergeProps({ref:s,class:["v-tooltip",e.class],style:e.style,id:i.value},d,{modelValue:r.value,"onUpdate:modelValue":m=>r.value=m,transition:u.value,absolute:!0,location:l.value,origin:c.value,persistent:!0,role:"tooltip",activatorProps:f.value,_disableGlobalStack:!0},a),{activator:n.activator,default:function(){var P;for(var m=arguments.length,y=new Array(m),g=0;g<m;g++)y[g]=arguments[g];return((P=n.default)==null?void 0:P.call(n,...y))??e.text}})}),forwardRefs({},s)}}),VValidation=genericComponent()({name:"VValidation",props:makeValidationProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=useValidation(e,"validation");return()=>{var a;return(a=n.default)==null?void 0:a.call(n,r)}}}),components=Object.freeze(Object.defineProperty({__proto__:null,VAlert,VAlertTitle,VApp,VAppBar,VAppBarNavIcon,VAppBarTitle,VAutocomplete,VAvatar,VBadge,VBanner,VBannerActions,VBannerText,VBottomNavigation,VBottomSheet,VBreadcrumbs,VBreadcrumbsDivider,VBreadcrumbsItem,VBtn,VBtnGroup,VBtnToggle,VCard,VCardActions,VCardItem,VCardSubtitle,VCardText,VCardTitle,VCarousel,VCarouselItem,VCheckbox,VCheckboxBtn,VChip,VChipGroup,VClassIcon,VCode,VCol,VColorPicker,VCombobox,VComponentIcon,VContainer,VCounter,VDataIterator,VDataTable,VDataTableFooter,VDataTableRow,VDataTableRows,VDataTableServer,VDataTableVirtual,VDatePicker,VDatePickerControls,VDatePickerHeader,VDatePickerMonth,VDatePickerMonths,VDatePickerYears,VDefaultsProvider,VDialog,VDialogBottomTransition,VDialogTopTransition,VDialogTransition,VDivider,VExpandTransition,VExpandXTransition,VExpansionPanel,VExpansionPanelText,VExpansionPanelTitle,VExpansionPanels,VFabTransition,VFadeTransition,VField,VFieldLabel,VFileInput,VFooter,VForm,VHover,VIcon,VImg,VInfiniteScroll,VInput,VItem,VItemGroup,VKbd,VLabel,VLayout,VLayoutItem,VLazy,VLigatureIcon,VList,VListGroup,VListImg,VListItem,VListItemAction,VListItemMedia,VListItemSubtitle,VListItemTitle,VListSubheader,VLocaleProvider,VMain,VMenu,VMessages,VNavigationDrawer,VNoSsr,VOtpInput,VOverlay,VPagination,VParallax,VProgressCircular,VProgressLinear,VRadio,VRadioGroup,VRangeSlider,VRating,VResponsive,VRow,VScaleTransition,VScrollXReverseTransition,VScrollXTransition,VScrollYReverseTransition,VScrollYTransition,VSelect,VSelectionControl,VSelectionControlGroup,VSheet,VSkeletonLoader,VSlideGroup,VSlideGroupItem,VSlideXReverseTransition,VSlideXTransition,VSlideYReverseTransition,VSlideYTransition,VSlider,VSnackbar,VSpacer,VStepper,VStepperActions,VStepperHeader,VStepperItem,VStepperWindow,VStepperWindowItem,VSvgIcon,VSwitch,VSystemBar,VTab,VTable,VTabs,VTextField,VTextarea,VThemeProvider,VTimeline,VTimelineItem,VToolbar,VToolbarItems,VToolbarTitle,VTooltip,VValidation,VVirtualScroll,VWindow,VWindowItem},Symbol.toStringTag,{value:"Module"}));function mounted$2(e,t){const n=t.modifiers||{},r=t.value,{once:a,immediate:o,...i}=n,s=!Object.keys(i).length,{handler:l,options:c}=typeof r=="object"?r:{handler:r,options:{attributes:(i==null?void 0:i.attr)??s,characterData:(i==null?void 0:i.char)??s,childList:(i==null?void 0:i.child)??s,subtree:(i==null?void 0:i.sub)??s}},u=new MutationObserver(function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;l==null||l(f,d),a&&unmounted$2(e,t)});o&&(l==null||l([],u)),e._mutate=Object(e._mutate),e._mutate[t.instance.$.uid]={observer:u},u.observe(e,c)}function unmounted$2(e,t){var n;(n=e._mutate)!=null&&n[t.instance.$.uid]&&(e._mutate[t.instance.$.uid].observer.disconnect(),delete e._mutate[t.instance.$.uid])}const Mutate={mounted:mounted$2,unmounted:unmounted$2};function mounted$1(e,t){var a,o;const n=t.value,r={passive:!((a=t.modifiers)!=null&&a.active)};window.addEventListener("resize",n,r),e._onResize=Object(e._onResize),e._onResize[t.instance.$.uid]={handler:n,options:r},(o=t.modifiers)!=null&&o.quiet||n()}function unmounted$1(e,t){var a;if(!((a=e._onResize)!=null&&a[t.instance.$.uid]))return;const{handler:n,options:r}=e._onResize[t.instance.$.uid];window.removeEventListener("resize",n,r),delete e._onResize[t.instance.$.uid]}const Resize={mounted:mounted$1,unmounted:unmounted$1};function mounted(e,t){const{self:n=!1}=t.modifiers??{},r=t.value,a=typeof r=="object"&&r.options||{passive:!0},o=typeof r=="function"||"handleEvent"in r?r:r.handler,i=n?e:t.arg?document.querySelector(t.arg):window;i&&(i.addEventListener("scroll",o,a),e._onScroll=Object(e._onScroll),e._onScroll[t.instance.$.uid]={handler:o,options:a,target:n?void 0:i})}function unmounted(e,t){var o;if(!((o=e._onScroll)!=null&&o[t.instance.$.uid]))return;const{handler:n,options:r,target:a=e}=e._onScroll[t.instance.$.uid];a.removeEventListener("scroll",n,r),delete e._onScroll[t.instance.$.uid]}function updated(e,t){t.value!==t.oldValue&&(unmounted(e,t),mounted(e,t))}const Scroll={mounted,unmounted,updated},directives=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside,Intersect,Mutate,Resize,Ripple,Scroll,Touch},Symbol.toStringTag,{value:"Module"})),vuetify_8NhHJigKc1=defineNuxtPlugin(e=>{const t=createVuetify({ssr:!0,components,directives,defaults:{global:{ripple:!1}},theme:{themes:{light:{dark:!0,colors:{primary:"#79CEEB",secondary:"#2F8CC3","dark-secondary":"#365EA6",tertiary:"#FA9D49",error:"#F14E46",warning:"#F6C30D",success:"#9ACF35",info:"#C2E8F5",disabled:"#616E88","light-gray":"#BDC5D1","dark-gray":"#30476A","floral-white":"#FFFCF7","dark-black":"#101625"}}}}});e.vueApp.use(t)}),plugins=[revive_payload_client_4sVQNw7RlN,unhead_KgADcZ0jPj,plugin$1,payload_client_yVLowv6hDl,check_outdated_build_client_8vK7RkfGxZ,plugin,components_plugin_KR1HBZs4kY,prefetch_client_5tzzN0oIVL,plugin_I4dbrL2rYz,composition_sLxaNGmlSL,i18n_yfWm7jX06p,chunk_reload_client_UciE0i6zes,ga_client_sD01LCW8al,lottie_player_kRMqPMftCH,store_pBBVV6Lb3L,vuetify_8NhHJigKc1],removeUndefinedProps=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0)),setupForUseMeta=(e,t)=>(n,r)=>(useHead(()=>e({...removeUndefinedProps(n),...r.attrs},r)),()=>{var a,o;return t?(o=(a=r.slots).default)==null?void 0:o.call(a):null}),globalProps={accesskey:String,autocapitalize:String,autofocus:{type:Boolean,default:void 0},class:[String,Object,Array],contenteditable:{type:Boolean,default:void 0},contextmenu:String,dir:String,draggable:{type:Boolean,default:void 0},enterkeyhint:String,exportparts:String,hidden:{type:Boolean,default:void 0},id:String,inputmode:String,is:String,itemid:String,itemprop:String,itemref:String,itemscope:String,itemtype:String,lang:String,nonce:String,part:String,slot:String,spellcheck:{type:Boolean,default:void 0},style:String,tabindex:String,title:String,translate:String},Link=defineComponent$1({name:"Link",inheritAttrs:!1,props:{...globalProps,as:String,crossorigin:String,disabled:Boolean,fetchpriority:String,href:String,hreflang:String,imagesizes:String,imagesrcset:String,integrity:String,media:String,prefetch:{type:Boolean,default:void 0},referrerpolicy:String,rel:String,sizes:String,title:String,type:String,methods:String,target:String,body:Boolean,renderPriority:[String,Number]},setup:setupForUseMeta(e=>({link:[e]}))}),Meta=defineComponent$1({name:"Meta",inheritAttrs:!1,props:{...globalProps,charset:String,content:String,httpEquiv:String,name:String,body:Boolean,renderPriority:[String,Number]},setup:setupForUseMeta(e=>{const t={...e};return t.httpEquiv&&(t["http-equiv"]=t.httpEquiv,delete t.httpEquiv),{meta:[t]}})}),Head=defineComponent$1({name:"Head",inheritAttrs:!1,setup:(e,t)=>()=>{var n,r;return(r=(n=t.slots).default)==null?void 0:r.call(n)}}),Html=defineComponent$1({name:"Html",inheritAttrs:!1,props:{...globalProps,manifest:String,version:String,xmlns:String,renderPriority:[String,Number]},setup:setupForUseMeta(e=>({htmlAttrs:e}),!0)}),RouteProvider=defineComponent$1({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const a in e.route)Object.defineProperty(r,a,{get:()=>t===e.renderKey?e.route[a]:n[a]});return provide(PageRouteSymbol,shallowReactive(r)),()=>h(e.vnode,{ref:e.vnodeRef})}}),__nuxt_component_1=defineComponent$1({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=useNuxtApp(),a=ref(),o=inject$1(PageRouteSymbol,null);n({pageRef:a});const i=inject$1(LayoutMetaSymbol,null);let s;const l=r.deferHydration();return e.pageKey&&watch(()=>e.pageKey,(c,u)=>{c!==u&&r.callHook("page:loading:start")}),()=>h(RouterView,{name:e.name,route:e.route,...t},{default:c=>{const u=haveParentRoutesRendered(o,c.route,c.Component),f=o&&o.matched.length===c.route.matched.length;if(!c.Component){if(s&&!f)return s;l();return}if(s&&i&&!i.isCurrent(c.route))return s;if(u&&o&&(!i||i!=null&&i.isCurrent(o)))return f?s:null;const d=generateRouteKey$1(c,e.pageKey),m=!!(e.transition??c.route.meta.pageTransition??appPageTransition),y=m&&_mergeTransitionProps([e.transition,c.route.meta.pageTransition,appPageTransition,{onAfterLeave:()=>{r.callHook("page:transition:finish",c.Component)}}].filter(Boolean)),g=e.keepalive??c.route.meta.keepalive??appKeepalive;return s=_wrapIf(Transition,m&&y,wrapInKeepAlive(g,h(Suspense,{suspensible:!0,onPending:()=>r.callHook("page:start",c.Component),onResolve:()=>{nextTick(()=>r.callHook("page:finish",c.Component).then(()=>r.callHook("page:loading:end")).finally(l))}},{default:()=>{const P=h(RouteProvider,{key:d||void 0,vnode:c.Component,route:c.route,renderKey:d||void 0,trackRootNodes:m,vnodeRef:a});return g&&(P.type.name=c.Component.type.name||c.Component.type.__name||"RouteProvider"),P}}))).default(),s}})}});function _mergeTransitionProps(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?toArray(n.onAfterLeave):void 0}));return defu(...t)}function haveParentRoutesRendered(e,t,n){if(!e)return!1;const r=t.matched.findIndex(a=>{var o;return((o=a.components)==null?void 0:o.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((a,o)=>{var i,s,l;return((i=a.components)==null?void 0:i.default)!==((l=(s=e.matched[o])==null?void 0:s.components)==null?void 0:l.default)})||n&&generateRouteKey$1({route:t,Component:n})!==generateRouteKey$1({route:e,Component:n})}const LayoutLoader=defineComponent$1({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await layouts[e.name]().then(r=>r.default||r);return()=>h(n,e.layoutProps,t.slots)}}),__nuxt_component_4=defineComponent$1({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=useNuxtApp(),r=inject$1(PageRouteSymbol),a=r===useRoute$1()?useRoute():r,o=computed(()=>{let l=unref(e.name)??a.meta.layout??"default";return l&&!(l in layouts)&&e.fallback&&(l=unref(e.fallback)),l}),i=ref();t.expose({layoutRef:i});const s=n.deferHydration();return()=>{const l=o.value&&o.value in layouts,c=a.meta.layoutTransition??appLayoutTransition;return _wrapIf(Transition,l&&c,{default:()=>h(Suspense,{suspensible:!0,onResolve:()=>{nextTick(s)}},{default:()=>h(LayoutProvider,{layoutProps:mergeProps(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),LayoutProvider=defineComponent$1({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&provide(LayoutMetaSymbol,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,a;return!n||typeof n=="string"&&!(n in layouts)?(a=(r=t.slots).default)==null?void 0:a.call(r):h(LayoutLoader,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),_sfc_main$h={__name:"base-input",props:mergeModels({type:{type:String,default:"text",validator(e){return["text","password"].includes(e)}},label:{type:String,default:""},placeholder:{type:String,default:""},appendInnerIcon:{type:String,default:""},prependIcon:{type:String,default:""},hideDetails:{type:Boolean,default:!1},rules:{type:Array,default:()=>[]}},{inputText:{type:[String,Number],default:""},inputTextModifiers:{}}),emits:mergeModels(["clickAppendIcon"],["update:inputText"]),setup(e,{emit:t}){const n=t,r=useModel(e,"inputText");return(a,o)=>(openBlock(),createBlock(VTextField,{modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=i=>r.value=i),class:"base-input",density:"compact",variant:"outlined","base-color":"light-gray",color:"light-gray",rounded:"lg",type:e.type,label:e.label?a.$t(e.label):"",placeholder:e.placeholder?a.$t(e.placeholder):"","prepend-inner-icon":e.prependIcon,"append-inner-icon":e.appendInnerIcon,"hide-details":e.hideDetails,rules:e.rules,"onClick:appendInner":o[1]||(o[1]=i=>n("clickAppendIcon"))},null,8,["modelValue","type","label","placeholder","prepend-inner-icon","append-inner-icon","hide-details","rules"]))}},_sfc_main$g={__name:"base-password",props:mergeModels({label:{type:String,default:"settingPassword"},rules:{type:Array,default:()=>[]}},{password:{type:String,default:""},passwordModifiers:{}}),emits:["update:password"],setup(e){const t=useModel(e,"password"),n=ref(!1);return(r,a)=>{const o=_sfc_main$h;return openBlock(),createBlock(o,{"input-text":t.value,"onUpdate:inputText":a[0]||(a[0]=i=>t.value=i),class:"mb-1",label:e.label,"append-inner-icon":unref(n)?"mdi-eye":"mdi-eye-off",type:unref(n)?"text":"password",rules:e.rules,onClickAppendIcon:a[1]||(a[1]=i=>n.value=!unref(n))},null,8,["input-text","label","append-inner-icon","type","rules"])}}},__nuxt_component_0$1=defineComponent$1({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=ref(!1);return onMounted(()=>{r.value=!0}),a=>{var l;if(r.value)return(l=t.default)==null?void 0:l.call(t);const o=t.fallback||t.placeholder;if(o)return o();const i=a.fallback||a.placeholder||"",s=a.fallbackTag||a.placeholderTag||"span";return createElementBlock(s,n,i)}}});function useInput(){const{t:e}=useI18n();return{required:s=>!!s||e("required"),addressRule:s=>/^0x[0-9a-fA-F]{40}$/.test(s)||/^T[A-Za-z0-9]{33}$/.test(s)||/^[A-Za-z0-9]{43,44}$/.test(s)||e("addressError"),emailRule:s=>/.+@.+/.test(s)||e("emailRule"),passwordRule:s=>/^[\w]{4,15}$/.test(s)||e("passwordRule"),nameCount:s=>s.length<=15||e("nameCountCheck"),inputLengthRule:(s,l)=>s&&s.length!==l?e("inputLengthInvalid"):!0}}function useBase(){const{$store:e}=useNuxtApp(),{showSnackbar:t}=useSnackbar(),n=(c,u=2)=>c.toString().padStart(u,"0");return{numberZeroFormat:n,baseTimestamp:(c,u)=>{const f=new Date(c*1e3),d=f.getFullYear(),m=f.getMonth(),y=f.getDate(),g=f.getHours(),P=f.getMinutes(),v=f.getSeconds(),_=`${d}-${n(m+1)}-${n(y)}`;return u==="date"?_:`${_} ${n(g)}:${n(P)}:${n(v)}`},numberSplit:c=>c&&c.toLocaleString(),downloadCsv:(c,u,f)=>{const d=u.map(g=>g.title).join(",")+`
`,m=c.reduce((g,P)=>{const v=u.map(_=>typeof P[_.key]=="string"?(P[_.key]=`"${P[_.key]}"`,P[_.key].replaceAll("#","")):P[_.key]).join(",");return g+=`${v}
`,g},d),y=document.createElement("a");y.setAttribute("href","data:text/csv;charset=utf-8,%EF%BB%BF"+encodeURI(m)),y.setAttribute("download",`${f}.csv`),y.click()},copy:async c=>{try{await navigator.clipboard.writeText(c),t("copySuccess")}catch{t("copyFail")}},getScoreType:c=>c>=80?"success":c>=60?"warning":"error",checkIsWallet:async c=>{const u=await e.checkAddressIsWallet(c);return!(u.value.status===200&&u.value.data==="合約地址")}}}const _hoisted_1$c={class:"base-date-input"},_sfc_main$f={__name:"base-date-input",props:{dateValue:{type:String,default:""},dateValueModifiers:{}},emits:["update:dateValue"],setup(e){const{required:t}=useInput(),{baseTimestamp:n}=useBase(),r=useModel(e,"dateValue"),a=ref(null),o=ref(!1),i=l=>{o.value=!1,r.value=a?n(l/1e3,"date"):""},s=ref("year");return(l,c)=>{const u=_sfc_main$h,f=__nuxt_component_0$1;return openBlock(),createElementBlock("div",_hoisted_1$c,[createVNode(u,{id:"date-activator","input-text":r.value,"onUpdate:inputText":c[0]||(c[0]=d=>r.value=d),label:"birthday","append-inner-icon":"mdi-calendar",rules:[unref(t)],onClickAppendIcon:c[1]||(c[1]=d=>o.value=!0)},null,8,["input-text","rules"]),createVNode(f,null,{default:withCtx(()=>[createVNode(VOverlay,{modelValue:unref(o),"onUpdate:modelValue":c[4]||(c[4]=d=>isRef(o)?o.value=d:null),class:"base-date-input-overlay","location-strategy":"connected",activator:"#date-activator",scrim:"black"},{default:withCtx(()=>[createVNode(VDatePicker,{modelValue:unref(a),"onUpdate:modelValue":[c[2]||(c[2]=d=>isRef(a)?a.value=d:null),c[3]||(c[3]=d=>i(d))],"hide-header":"","show-adjacent-months":"",position:"static","bg-color":"dark-black",color:"floral-white","view-mode":unref(s),max:unref(n)(Date.now()/1e3,"date")},null,8,["modelValue","view-mode","max"])]),_:1},8,["modelValue"])]),_:1})])}}},_export_sfc=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},_hoisted_1$b=["src","width"],_sfc_main$e={__name:"base-btn",props:{btnText:{type:String,default:""},textNoI18n:{type:Boolean,default:!1},color:{type:String,default:"primary"},disabled:{type:Boolean,default:!1},width:{type:String,default:"100%"},maxWidth:{type:String,default:"100%"},height:{type:String,default:"44px"},to:{type:[String,Object],default:""},href:{type:String,default:""},iconLink:{type:String,default:""},iconWidth:{type:String,default:"28"},variant:{type:String,default:"flat"},rounded:{type:String,default:"pill"}},emits:["clickBtn"],setup(e){return(t,n)=>(openBlock(),createBlock(VBtn,{class:"base-btn text-none font-weight-light px-3",density:"compact",rounded:e.rounded,variant:e.variant,color:e.disabled?"disabled":e.color,disabled:e.disabled,width:e.width,"max-width":e.maxWidth,height:e.height,to:e.to,href:e.href,target:e.href?"_blank":void 0,onClick:n[0]||(n[0]=r=>e.to||e.href?void 0:t.$emit("clickBtn"))},{default:withCtx(()=>[e.iconLink?(openBlock(),createElementBlock("img",{key:0,class:"mr-2",src:e.iconLink,alt:"btn-icon",width:e.iconWidth},null,8,_hoisted_1$b)):createCommentVNode("",!0),e.btnText?(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(e.textNoI18n?e.btnText:t.$t(e.btnText)),1)],64)):createCommentVNode("",!0)]),_:1},8,["rounded","variant","color","disabled","width","max-width","height","to","href","target"]))}},__nuxt_component_3=_export_sfc(_sfc_main$e,[["__scopeId","data-v-e3b1c5b1"]]),_sfc_main$d={__name:"base-email-validation",props:mergeModels({formData:{type:Object,default:()=>({})},functionName:{type:String,default:""},sendVerifyCodeCheck:{type:Function,default:()=>!0},handleVerifyCodeResult:{type:Function,default:()=>!0}},{verifyCode:{type:String,default:""},verifyCodeModifiers:{},verifyCodeFormValid:{type:Boolean,default:!1},verifyCodeFormValidModifiers:{},emailCanSend:{type:Boolean,default:!1},emailCanSendModifiers:{}}),emits:["update:verifyCode","update:verifyCodeFormValid","update:emailCanSend"],setup(e){const{$store:t}=useNuxtApp(),{required:n,inputLengthRule:r}=useInput(),{showSnackbar:a,showErrorSnackbar:o}=useSnackbar(),i=useModel(e,"verifyCode"),s=useModel(e,"verifyCodeFormValid"),l=useModel(e,"emailCanSend"),c=e,u=ref(!1),f=async()=>{if(!(!c.emailCanSend||!c.sendVerifyCodeCheck()))try{const P=await t[c.functionName](c.formData);if([1006].includes(P.value.status)){a(P.value.status);return}if(!c.handleVerifyCodeResult(P))return;if(P.value.status!==200){o("sendVerifyEmailFail");return}a("getVerifyCodeFromEmail"),u.value=!0,y()}catch{o("sendVerifyEmailFail")}},d=ref(null),m=ref(0),y=()=>{d.value||(m.value=180,d.value=setInterval(()=>{m.value--,m.value<=0&&(clearInterval(d.value),d.value=null)},1e3))};return onUnmounted(()=>{d.value&&clearInterval(d.value)}),(g,P)=>{const v=_sfc_main$h,_=__nuxt_component_3;return openBlock(),createBlock(VForm,{modelValue:s.value,"onUpdate:modelValue":P[2]||(P[2]=b=>s.value=b)},{default:withCtx(()=>[createVNode(VRow,{class:"flex-wrap mb-2","no-gutters":"",justify:"space-between"},{default:withCtx(()=>[createVNode(VCol,{cols:"12",md:"6"},{default:withCtx(()=>[createVNode(v,{"input-text":i.value,"onUpdate:inputText":P[0]||(P[0]=b=>i.value=b),label:"enterVerifyCode",counter:"6",disabled:!unref(u),rules:[unref(n),unref(r)(i.value,6)]},null,8,["input-text","disabled","rules"])]),_:1}),createVNode(VCol,{cols:"12",md:"5"},{default:withCtx(()=>[createVNode(_,{"text-no-i18n":"","btn-text":`${g.$t("sendVerifyEmail")} ${unref(m)?`(${unref(m)})`:""}`,disabled:!l.value||unref(m)>0,onClickBtn:P[1]||(P[1]=b=>f())},null,8,["btn-text","disabled"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}}};function useLocalePath(e){const{route:t,router:n,i18n:r}={};return useLocalePath$1({route:t||useRoute$1(),router:n||useRouter$2(),i18n:r||getComposer(useNuxtApp().$i18n)})}function useLocaleHead(e){const{addDirAttribute:t,addSeoAttributes:n,identifierAttribute:r,route:a,router:o,i18n:i}=e||{};return useLocaleHead$1({addDirAttribute:t||!1,addSeoAttributes:n||!1,identifierAttribute:r||"hid",route:a||useRoute$1(),router:o||useRouter$2(),i18n:i||getComposer(useNuxtApp().$i18n)})}const NuxtLinkLocale=defineNuxtLink({componentName:"NuxtLinkLocale"}),__nuxt_component_0=defineComponent$1({name:"NuxtLinkLocale",props:{...NuxtLinkLocale.props,to:{type:[String,Object],default:void 0,required:!1},locale:{type:String,default:void 0,required:!1}},setup(e,{slots:t}){const n=useLocalePath(),r=computed(()=>e.to!=null?n(e.to,e.locale):e.to),a=computed(()=>e.external||e.target&&e.target!=="_self"?!0:typeof e.to=="object"?!1:e.to===""||hasProtocol(e.to,{acceptRelative:!0}));return()=>a.value?h(NuxtLinkLocale,e,t.default):h(NuxtLinkLocale,{...e,to:r},t.default)}}),_hoisted_1$a={class:"base-tip-checked d-flex align-center mb-3"},_sfc_main$c={__name:"base-tip-checked",props:{inputChecked:{type:Boolean,default:!1},inputCheckedModifiers:{}},emits:["update:inputChecked"],setup(e){const{required:t}=useInput(),{closeDialog:n}=useDialog(),r=useModel(e,"inputChecked");return(a,o)=>{const i=__nuxt_component_0,s=resolveComponent("i18n-t");return openBlock(),createElementBlock("div",_hoisted_1$a,[createVNode(VCheckbox,{modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=l=>r.value=l),class:"tip-checkbox flex-shrink-0","hide-details":"","false-icon":"mdi-circle-outline","true-icon":"mdi-circle-slice-8",color:r.value?"info":"disabled",rules:[unref(t)]},null,8,["modelValue","color","rules"]),createVNode(s,{class:"font-weight-light lh-150",keypath:"registerTipText",tag:"p",scope:"global"},{privacy:withCtx(()=>[createVNode(i,{class:"d-inline-block text-decoration-underline text-primary can-click",to:"/privacy",onClick:o[1]||(o[1]=l=>unref(n)())},{default:withCtx(()=>[createTextVNode(toDisplayString$1(a.$t("privacy")),1)]),_:1})]),terms:withCtx(()=>[createVNode(i,{class:"d-inline-block text-decoration-underline text-primary can-click",to:"/terms",onClick:o[2]||(o[2]=l=>unref(n)())},{default:withCtx(()=>[createTextVNode(toDisplayString$1(a.$t("terms")),1)]),_:1})]),_:1})])}}},__nuxt_component_2=_export_sfc(_sfc_main$c,[["__scopeId","data-v-0e19469f"]]),_hoisted_1$9={class:"app-register mx-auto"},_hoisted_2$8=["textContent"],_hoisted_3$6={class:"text-center rem-0"},_hoisted_4$3=["textContent"],_sfc_main$b={__name:"app-register",setup(e){const{$store:t}=useNuxtApp(),{t:n}=useI18n(),{required:r,emailRule:a,nameCount:o,passwordRule:i}=useInput(),{showSnackbar:s,showErrorSnackbar:l,showSuccessSnackbar:c}=useSnackbar(),{showDialog:u}=useDialog(),f=reactive({email:"",password:"",name:"",verifyCode:"",birthday:""}),d=ref(""),m=S=>S===f.password||n("passwordCheckError"),y=ref(null),g=ref(!1),P=ref(!1),v=ref(!1),_=S=>{if(S.value.status===1005){u("account-permanent-deleted");return}return S.value.status===606?(l(S.value.status),!1):[1011,1038,1043,1045].includes(S.value.status)?(s(S.value.status),!1):!0},b=async()=>{if(!(await y.value.validate()).valid||!P.value||!v.value)return;const C={email:f.email,password:f.password,email_verify_code:f.verifyCode,name:f.name,birthday:f.birthday},k=await t.register(C);if([1007,1100].includes(k.value.status)){l(k.value.status);return}if(k.value.status!==200){l("registerFail");return}c("registerSuccess"),u("login")};return(S,C)=>{const k=_sfc_main$h,T=_sfc_main$g,w=_sfc_main$f,E=_sfc_main$d,F=__nuxt_component_2,L=__nuxt_component_3;return openBlock(),createElementBlock("div",_hoisted_1$9,[createBaseVNode("p",{class:"rem-12 font-weight-bold text-center mt-3 mb-5",textContent:toDisplayString$1(S.$t("memberRegister"))},null,8,_hoisted_2$8),createVNode(VForm,{ref_key:"verifyForm",ref:y,modelValue:unref(g),"onUpdate:modelValue":C[5]||(C[5]=N=>isRef(g)?g.value=N:null)},{default:withCtx(()=>[createVNode(k,{"input-text":unref(f).email,"onUpdate:inputText":C[0]||(C[0]=N=>unref(f).email=N),class:"mb-1",label:"pleaseEnterEmail",rules:[unref(r),unref(a)]},null,8,["input-text","rules"]),createVNode(T,{password:unref(f).password,"onUpdate:password":C[1]||(C[1]=N=>unref(f).password=N),rules:[unref(r),unref(i)]},null,8,["password","rules"]),createVNode(T,{password:unref(d),"onUpdate:password":C[2]||(C[2]=N=>isRef(d)?d.value=N:null),label:"confirmPassword",rules:[unref(r),m]},null,8,["password","rules"]),createVNode(k,{"input-text":unref(f).name,"onUpdate:inputText":C[3]||(C[3]=N=>unref(f).name=N),class:"mb-1",label:"enterName",rules:[unref(r),unref(o)]},null,8,["input-text","rules"]),createVNode(w,{"date-value":unref(f).birthday,"onUpdate:dateValue":C[4]||(C[4]=N=>unref(f).birthday=N),label:"birthday"},null,8,["date-value"])]),_:1},8,["modelValue"]),createVNode(E,{"email-can-send":unref(g),"onUpdate:emailCanSend":C[6]||(C[6]=N=>isRef(g)?g.value=N:null),"verify-code":unref(f).verifyCode,"onUpdate:verifyCode":C[7]||(C[7]=N=>unref(f).verifyCode=N),"verify-code-form-valid":unref(P),"onUpdate:verifyCodeFormValid":C[8]||(C[8]=N=>isRef(P)?P.value=N:null),"form-data":{email:unref(f).email},"function-name":"registerVerify","handle-verify-code-result":_},null,8,["email-can-send","verify-code","verify-code-form-valid","form-data"]),createVNode(F,{"input-checked":unref(v),"onUpdate:inputChecked":C[9]||(C[9]=N=>isRef(v)?v.value=N:null)},null,8,["input-checked"]),createVNode(L,{class:"mb-6","btn-text":"register",disabled:!(unref(g)&&unref(P)&&unref(v)),onClickBtn:C[10]||(C[10]=N=>b())},null,8,["disabled"]),createBaseVNode("p",_hoisted_3$6,[createTextVNode(toDisplayString$1(S.$t("alreadyAccount"))+" ",1),createBaseVNode("span",{class:"can-click text-decoration-underline",textContent:toDisplayString$1(S.$t("immediateLogin")),onClick:C[11]||(C[11]=N=>unref(u)("login"))},null,8,_hoisted_4$3)])])}}},_hoisted_1$8={class:"app-login mx-auto"},_hoisted_2$7=["textContent"],_hoisted_3$5={class:"d-flex justify-end mb-5"},_hoisted_4$2=["textContent"],_hoisted_5$1={class:"sso-login-wrap d-flex justify-center align-center text-light-gray rem-0 mb-6"},_hoisted_6$1=["textContent"],_hoisted_7$1={class:"text-center rem-0 my-1"},_hoisted_8=["textContent"],_sfc_main$a={__name:"app-login",setup(e){const{$store:t,$config:n}=useNuxtApp(),{signIn:r}=useAuth(),{locale:a}=useI18n(),o=useRoute$1(),{required:i,emailRule:s}=useInput(),{showDialog:l,closeDialog:c}=useDialog(),{showSnackbar:u,showErrorSnackbar:f,showSuccessSnackbar:d}=useSnackbar(),{updateCookie:m,updateAccessToken:y,getUserInfo:g}=useUserInfo(),{connectMetamask:P}=useWallet(),v=reactive({email:"",password:""}),_=ref(null),b=ref(!1),S=async()=>{if(!(await _.value.validate()).valid)return;const E={email:v.email,password:v.password},F=await t.login(E);if(F.value.status===1005){l("account-permanent-deleted");return}if(F.value.status===1016){f(1008);return}if([635,1008,1009].includes(F.value.status)){f(F.value.status);return}if([1038,1043,1045].includes(F.value.status)){u(F.value.status);return}if(F.value.status!==200){f("loginFail");return}y(F.value.data.access_token),m(F.value.data.access_token),await g(),d("loginSuccess"),c()},C=ref([{type:"google",title:"googleLogin",icon:"/img/icon-google.svg"},{type:"facebook",title:"facebookLogin",icon:"/img/icon-facebook.svg"},{type:"line",title:"lineLogin",icon:"/img/icon-line.svg"},{type:"wallet",title:"metamaskLogin",icon:"/img/icon-metamask.svg"}]),k=async w=>{if(localStorage.setItem("loginUrl",o.fullPath),localStorage.setItem("loginType",w),localStorage.setItem("loginLang",a.value),w==="line"){const E=Math.ceil(Math.random()*1e8);window.open(`https://access.line.me/oauth2/v2.1/authorize?response_type=code&client_id=${n.public.LINE_CLIENT_ID}&redirect_uri=${t.website}/login&state=${E}&bot_prompt=aggressive&scope=profile%20openid%20email`);return}await r(w,{callbackUrl:`${t.website}/login`})},T=()=>{P()};return(w,E)=>{const F=_sfc_main$h,L=_sfc_main$g,N=__nuxt_component_3;return openBlock(),createElementBlock("div",_hoisted_1$8,[createBaseVNode("p",{class:"rem-12 font-weight-bold text-center mt-3 mb-5",textContent:toDisplayString$1(w.$t("memberLogin"))},null,8,_hoisted_2$7),createVNode(VForm,{ref_key:"loginForm",ref:_,modelValue:unref(b),"onUpdate:modelValue":E[2]||(E[2]=O=>isRef(b)?b.value=O:null)},{default:withCtx(()=>[createVNode(F,{"input-text":unref(v).email,"onUpdate:inputText":E[0]||(E[0]=O=>unref(v).email=O),class:"mb-1",label:"pleaseEnterEmail",rules:[unref(i),unref(s)]},null,8,["input-text","rules"]),createVNode(L,{password:unref(v).password,"onUpdate:password":E[1]||(E[1]=O=>unref(v).password=O),label:"pleaseEnterPassword",rules:[unref(i)]},null,8,["password","rules"])]),_:1},8,["modelValue"]),createBaseVNode("div",_hoisted_3$5,[createBaseVNode("span",{class:"can-click text-decoration-underline rem-0",textContent:toDisplayString$1(w.$t("forgetPasswordLink")),onClick:E[3]||(E[3]=O=>unref(l)("resetPassword"))},null,8,_hoisted_4$2)]),createVNode(N,{class:"mb-6","btn-text":"login",disabled:!unref(b),onClickBtn:E[4]||(E[4]=O=>S())},null,8,["disabled"]),createBaseVNode("div",_hoisted_5$1,[createBaseVNode("div",{class:"sso-login-text d-block mx-3 mx-sm-5 w-100",textContent:toDisplayString$1(w.$t("orLoginWithSso"))},null,8,_hoisted_6$1)]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(C),O=>(openBlock(),createBlock(N,{key:O.title,class:"quick-login-btn justify-start mb-5",variant:"outlined",color:"floral-white","btn-text":O.title,"icon-link":O.icon,onClickBtn:U=>O.type==="wallet"?T():k(O.type)},null,8,["btn-text","icon-link","onClickBtn"]))),128)),createBaseVNode("p",_hoisted_7$1,[createTextVNode(toDisplayString$1(w.$t("noAccountYet"))+" ",1),createBaseVNode("span",{class:"can-click text-decoration-underline",textContent:toDisplayString$1(w.$t("immediateRegister")),onClick:E[5]||(E[5]=O=>unref(l)("register"))},null,8,_hoisted_8)])])}}},__nuxt_component_6=_export_sfc(_sfc_main$a,[["__scopeId","data-v-1a4299b9"]]),_hoisted_1$7={class:"app-logout mx-auto"},_hoisted_2$6=["textContent"],_sfc_main$9={__name:"app-logout",setup(e){const{$localePath:t}=useNuxtApp(),n=useRouter$2(),{closeDialog:r}=useDialog(),{showSuccessSnackbar:a}=useSnackbar(),{removeAllUserInfo:o}=useUserInfo(),{walletDisconnect:i}=useWallet(),s=()=>{o(),i(),r(),a("logoutSuccess"),n.push(t("/"))};return(l,c)=>{const u=__nuxt_component_3;return openBlock(),createElementBlock("div",_hoisted_1$7,[createBaseVNode("p",{class:"rem-6 text-center font-weight-bold mb-8",textContent:toDisplayString$1(l.$t("isLogout"))},null,8,_hoisted_2$6),createVNode(u,{"btn-text":"logout",onClickBtn:c[0]||(c[0]=f=>s())})])}}},_hoisted_1$6={class:"app-reset-password mx-auto"},_hoisted_2$5=["textContent"],_hoisted_3$4=["textContent"],_hoisted_4$1={class:"d-flex justify-center text-decoration-underline rem-0"},_hoisted_5=["textContent"],_hoisted_6={class:"d-flex justify-center"},_hoisted_7=["textContent"],_sfc_main$8={__name:"app-reset-password",setup(e){const{$store:t}=useNuxtApp(),{t:n}=useI18n(),{required:r,emailRule:a,passwordRule:o,inputLengthRule:i}=useInput(),{showSnackbar:s,showErrorSnackbar:l,showSuccessSnackbar:c}=useSnackbar(),{showDialog:u}=useDialog(),f=ref("sendVerifyCode"),d=reactive({email:"",password:"",verifyCode:""}),m=ref(""),y=w=>w===d.password||n("passwordCheckError"),g=ref(null),P=ref(0),v=()=>{P.value=180,g.value=setInterval(()=>{P.value--,P.value<=0&&(clearInterval(g.value),g.value=null)},1e3)},_=ref(null),b=ref(!1),S=async()=>{if(f.value==="sendVerifyCode"&&!(await _.value.validate()).valid||f.value==="resetPassword"&&(!d.email||P.value))return;const w=await t.resetPasswordVerify({email:d.email});if([1006].includes(w.value.status)){s(w.value.status);return}if(w.value.status===1005){u("account-permanent-deleted");return}if([1008].includes(w.value.status)){l(w.value.status);return}if([1038,1043,1045].includes(w.value.status)){s(w.value.status);return}if(w.value.status!==200){l("sendVerifyEmailFail");return}v(),f.value="resetPassword"},C=ref(null),k=ref(!1),T=async()=>{if(!(await C.value.validate()).valid)return;const E={email:d.email,password:d.password,email_verify_code:d.verifyCode},F=await t.resetPassword(E);if([1007,1100].includes(F.value.status)){l(F.value.status);return}if(F.value.status!==200){l("resetPasswordFail");return}c("resetPasswordSuccess"),u("login")};return onUnmounted(()=>{g.value&&clearInterval(g.value)}),(w,E)=>{const F=_sfc_main$h,L=__nuxt_component_3,N=_sfc_main$g;return openBlock(),createElementBlock("div",_hoisted_1$6,[createBaseVNode("p",{class:"rem-12 font-weight-bold text-center mt-3 mb-5",textContent:toDisplayString$1(unref(f)=="sendVerifyCode"?w.$t("forgetPassword"):w.$t("resetPassword"))},null,8,_hoisted_2$5),createBaseVNode("p",{class:"text-center lh-150 mb-4",textContent:toDisplayString$1(w.$t("resetPasswordWarning"))},null,8,_hoisted_3$4),unref(f)=="sendVerifyCode"?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(VForm,{ref_key:"verifyForm",ref:_,modelValue:unref(b),"onUpdate:modelValue":E[2]||(E[2]=O=>isRef(b)?b.value=O:null)},{default:withCtx(()=>[createVNode(F,{"input-text":unref(d).email,"onUpdate:inputText":E[0]||(E[0]=O=>unref(d).email=O),class:"mb-1",label:"pleaseEnterEmail",rules:[unref(r),unref(a)]},null,8,["input-text","rules"]),createVNode(L,{class:"mb-6","btn-text":"send",disabled:!unref(b),onClickBtn:E[1]||(E[1]=O=>S())},null,8,["disabled"])]),_:1},8,["modelValue"]),createBaseVNode("div",_hoisted_4$1,[createBaseVNode("div",{class:"can-click",onClick:E[3]||(E[3]=O=>unref(u)("login")),textContent:toDisplayString$1(w.$t("back"))},null,8,_hoisted_5)])],64)):unref(f)=="resetPassword"?(openBlock(),createElementBlock(Fragment,{key:1},[createVNode(VForm,{ref_key:"resetForm",ref:C,modelValue:unref(k),"onUpdate:modelValue":E[8]||(E[8]=O=>isRef(k)?k.value=O:null)},{default:withCtx(()=>[createVNode(F,{"input-text":unref(d).verifyCode,"onUpdate:inputText":E[4]||(E[4]=O=>unref(d).verifyCode=O),class:"mb-1",label:"enterVerifyCode",counter:"6",rules:[unref(r),unref(i)(unref(d).verifyCode,6)]},null,8,["input-text","rules"]),createVNode(N,{password:unref(d).password,"onUpdate:password":E[5]||(E[5]=O=>unref(d).password=O),rules:[unref(r),unref(o)]},null,8,["password","rules"]),createVNode(N,{password:unref(m),"onUpdate:password":E[6]||(E[6]=O=>isRef(m)?m.value=O:null),label:"resetConfirmPassword",rules:[unref(r),y]},null,8,["password","rules"]),createVNode(L,{class:"mb-6","btn-text":"send",disabled:!unref(k),onClickBtn:E[7]||(E[7]=O=>T())},null,8,["disabled"])]),_:1},8,["modelValue"]),createBaseVNode("div",_hoisted_6,[createBaseVNode("div",{class:normalizeClass(["text-decoration-underline rem-0",unref(P)?"text-disabled":"can-click text-primary"]),onClick:E[9]||(E[9]=O=>S()),textContent:toDisplayString$1(`${w.$t("resendVerifyCode")}${unref(P)?` (${unref(P)})`:""}`)},null,10,_hoisted_7)])],64)):createCommentVNode("",!0)])}}},_hoisted_1$5={class:"app-delete-account"},_hoisted_2$4=["textContent"],_hoisted_3$3=["textContent"],_sfc_main$7={__name:"app-delete-account",setup(e){const{$store:t,$localePath:n}=useNuxtApp(),r=useRouter$2(),{showSuccessSnackbar:a,showErrorSnackbar:o}=useSnackbar(),{closeDialog:i}=useDialog(),{removeAllUserInfo:s}=useUserInfo(),{walletDisconnect:l}=useWallet(),c=async()=>{if((await t.deleteAccount()).value.status!==200){o("deleteFail");return}s(),l(),r.push(n("/")),a("deleteSuccess"),i()};return(u,f)=>{const d=__nuxt_component_3;return openBlock(),createElementBlock("div",_hoisted_1$5,[createBaseVNode("p",{class:"rem-12 font-weight-medium text-center mb-5",textContent:toDisplayString$1(u.$t("deleteAccountTitle"))},null,8,_hoisted_2$4),createBaseVNode("p",{class:"rem-4 lh-150 text-center",textContent:toDisplayString$1(u.$t("deleteAccountNotice"))},null,8,_hoisted_3$3),createVNode(VRow,{class:"mt-6 px-n2","no-gutters":""},{default:withCtx(()=>[createVNode(VCol,{class:"px-1",cols:"12",md:"6"},{default:withCtx(()=>[createVNode(d,{"btn-text":"back",variant:"outlined",onClickBtn:f[0]||(f[0]=m=>unref(i)())})]),_:1}),createVNode(VCol,{class:"px-1",cols:"12",md:"6"},{default:withCtx(()=>[createVNode(d,{"btn-text":"deleteConfirm",color:"error",onClickBtn:f[1]||(f[1]=m=>c())})]),_:1})]),_:1})])}}},_hoisted_1$4={class:"app-account-permanent-deleted"},_hoisted_2$3=["textContent"],_hoisted_3$2=["textContent"],_sfc_main$6={__name:"app-account-permanent-deleted",setup(e){const{closeDialog:t,showDialog:n}=useDialog();return(r,a)=>{const o=__nuxt_component_3;return openBlock(),createElementBlock("div",_hoisted_1$4,[createBaseVNode("p",{class:"rem-12 font-weight-medium text-center mb-5",textContent:toDisplayString$1(r.$t("accountIsPermanentDeleted"))},null,8,_hoisted_2$3),createBaseVNode("p",{class:"rem-4 lh-150 text-center",textContent:toDisplayString$1(r.$t("accountIsPermanentDeletedContent"))},null,8,_hoisted_3$2),createVNode(VRow,{class:"mt-6 px-n2","no-gutters":""},{default:withCtx(()=>[createVNode(VCol,{class:"px-1",cols:"12",md:"6"},{default:withCtx(()=>[createVNode(o,{"btn-text":"back",variant:"outlined",onClickBtn:a[0]||(a[0]=i=>unref(t)())})]),_:1}),createVNode(VCol,{class:"px-1",cols:"12",md:"6"},{default:withCtx(()=>[createVNode(o,{"btn-text":"memberRegister",onClickBtn:a[1]||(a[1]=i=>unref(n)("register"))})]),_:1})]),_:1})])}}},_hoisted_1$3={class:"app-quick-login-register mx-auto"},_hoisted_2$2=["textContent"],_hoisted_3$1=["textContent"],_sfc_main$5={__name:"app-quick-login-register",props:{userInfo:{type:Object,default:()=>({})},userInfoModifiers:{}},emits:mergeModels(["clickRegister"],["update:userInfo"]),setup(e,{emit:t}){const{required:n,nameCount:r}=useInput(),a=t,o=useModel(e,"userInfo"),i=ref(null),s=ref(!1),l=ref(!1),c=async()=>{(await i.value.validate()).valid&&a("clickRegister")};return(u,f)=>{const d=_sfc_main$h,m=_sfc_main$f,y=__nuxt_component_2,g=__nuxt_component_3;return openBlock(),createElementBlock("div",_hoisted_1$3,[createBaseVNode("p",{class:"rem-12 font-weight-bold text-center mt-3 mb-5",textContent:toDisplayString$1(u.$t("memberRegister"))},null,8,_hoisted_2$2),createBaseVNode("p",{class:"text-center mb-6",textContent:toDisplayString$1(u.$t("needRegister"))},null,8,_hoisted_3$1),createVNode(VForm,{ref_key:"userInfoForm",ref:i,modelValue:unref(s),"onUpdate:modelValue":f[3]||(f[3]=P=>isRef(s)?s.value=P:null)},{default:withCtx(()=>[createVNode(d,{"input-text":o.value.name,"onUpdate:inputText":f[0]||(f[0]=P=>o.value.name=P),class:"mb-1",label:"enterName",rules:[unref(n),unref(r)]},null,8,["input-text","rules"]),createVNode(m,{"date-value":o.value.birthday,"onUpdate:dateValue":f[1]||(f[1]=P=>o.value.birthday=P),label:"birthday",rules:[unref(n)]},null,8,["date-value","rules"]),createVNode(y,{"input-checked":unref(l),"onUpdate:inputChecked":f[2]||(f[2]=P=>isRef(l)?l.value=P:null)},null,8,["input-checked"])]),_:1},8,["modelValue"]),createVNode(g,{"btn-text":"registerComplete",disabled:!(unref(s)&&unref(l)),onClickBtn:f[4]||(f[4]=P=>c())},null,8,["disabled"])])}}},_sfc_main$4={__name:"base-dialog",props:{dialogShow:{type:Boolean,default:!1},canClose:{type:Boolean,default:!0},width:{type:String,default:""},contentMaxWidth:{type:String,default:"460px"},fullscreen:{type:Boolean,default:!1},bgColor:{type:String,default:"dark-black"}},emits:["update:dialogShow"],setup(e,{emit:t}){const n=e,r=t,a=ref(n.dialogShow);return watch(a,o=>{r("update:dialogShow",o)}),watch(()=>n.dialogShow,o=>{a.value=o}),(o,i)=>(openBlock(),createBlock(VDialog,{modelValue:unref(a),"onUpdate:modelValue":i[1]||(i[1]=s=>isRef(a)?a.value=s:null),width:e.width||o.$vuetify.display.mdAndUp?706:o.$vuetify.display.sm?530:"100%",persistent:!e.canClose,fullscreen:e.fullscreen,scrim:"black"},{default:withCtx(()=>[createVNode(VCard,{class:"base-dialog text-floral-white pa-4 pa-sm-8 rounded-xl",color:e.bgColor,border:"sm disabled opacity-100"},{default:withCtx(()=>[e.canClose?(openBlock(),createBlock(VBtn,{key:0,class:"d-block ml-auto",icon:"",flat:"",color:"transparent",width:"30px",height:"30px",onClick:i[0]||(i[0]=s=>a.value=!1)},{default:withCtx(()=>[createVNode(VIcon,{icon:"mdi-close",color:"floral-white",size:"large"})]),_:1})):createCommentVNode("",!0),createBaseVNode("div",{class:"dialog-content mx-auto my-5 mb-sm-9 w-100 h-100",style:normalizeStyle({maxWidth:e.contentMaxWidth})},[renderSlot(o.$slots,"content")],4)]),_:3},8,["color"])]),_:3},8,["modelValue","width","persistent","fullscreen"]))}},_sfc_main$3={},_hoisted_1$2={class:"base-loading"};function _sfc_render(e,t){return openBlock(),createElementBlock("div",_hoisted_1$2,[createBaseVNode("div",{class:normalizeClass(["la-square-jelly-box text-primary",{"la-2x":e.$vuetify.display.smAndUp}])},t[0]||(t[0]=[createBaseVNode("div",null,null,-1),createBaseVNode("div",null,null,-1)]),2)])}const __nuxt_component_13=_export_sfc(_sfc_main$3,[["render",_sfc_render],["__scopeId","data-v-1a594d1a"]]);function useLoading(){const e=useState("loadingShow",()=>!1),t=useState("loadingText",()=>"");return{loadingShow:e,loadingText:t,showLoading:a=>{e.value=!0,t.value=a},closeLoading:()=>{e.value=!1,t.value=""}}}const _hoisted_1$1={class:"text-center pre-line"},_hoisted_2$1=["textContent"],_sfc_main$2={__name:"app",setup(e){const{$store:t,$localeRoute:n,$localePath:r}=useNuxtApp(),{t:a}=useI18n(),o=useRouter$2(),i=useRoute$1(),{snackbar:s,showErrorSnackbar:l,showSuccessSnackbar:c}=useSnackbar(),{dialog:u}=useDialog(),{loadingShow:f,loadingText:d}=useLoading(),{walletLoginWithSignature:m,walletLogin:y,updateAddress:g,currAddress:P}=useWallet(),{userInfo:v}=useUserInfo(),_=useLocaleHead({addSeoAttributes:!0});useHead({titleTemplate:S=>`${S?`${S} - `:""}${a("jcardVerify")}`,meta:[{hid:"author",name:"author",content:"STARBIT"},{hid:"description",name:"description",content:a("seoDescription")},{hid:"og:type",property:"og:type",content:"website"},{hid:"og:title",property:"og:title",content:a("seoTitle")},{hid:"og:site_name",property:"og:site_name",content:a("jcardVerify")},{hid:"og:description",property:"og:description",content:a("seoDescription")},{hid:"og:image",property:"og:image",content:`${t.website}/banner.webp`},{hid:"twitter:title",name:"twitter:title",content:a("seoTitle")},{hid:"twitter:description",name:"twitter:description",content:a("seoDescription")},{hid:"twitter:image",name:"twitter:image",content:`${t.website}/banner.webp`},{hid:"twitter:url",property:"twitter:url",content:`${t.website}${n().fullPath}`}]}),watch(P,S=>{!S||![r("/"),r("/explore"),r("/terms"),r("/privacy")].includes(i.path)||o.push(r(`/wallet/${S}`))}),watch(()=>v.value,S=>{/^(0x)[A-Fa-f0-9]{40}$/g.test(S.email)&&g(S.email)},{deep:!0,immediate:!0});const b=async()=>{const S={email:u.value.userInfo.email,name:u.value.userInfo.name,birthday:u.value.userInfo.birthday};if((await t.quickLoginRegister(S)).value.status!==200){l("registerFail");return}c("registerSuccess"),setTimeout(()=>{m()},500)};return onMounted(()=>{window.ethereum&&window.ethereum.on("accountsChanged",S=>{if(!S.length){walletDisconnect(),l("walletDisconnected");return}const C=S[0];y(C)})}),(S,C)=>{const k=Link,T=Meta,w=Head,E=__nuxt_component_1,F=__nuxt_component_4,L=_sfc_main$b,N=__nuxt_component_6,O=_sfc_main$9,U=_sfc_main$8,j=_sfc_main$7,I=_sfc_main$6,M=_sfc_main$5,V=_sfc_main$4,R=__nuxt_component_13,D=__nuxt_component_0$1,$=Html;return openBlock(),createElementBlock("div",null,[createVNode($,{lang:unref(_).htmlAttrs.lang},{default:withCtx(()=>[createVNode(w,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_).link,G=>(openBlock(),createBlock(k,{key:G.hid,hid:G.hid,rel:G.rel,href:G.href,hreflang:G.hreflang},null,8,["hid","rel","href","hreflang"]))),128)),(openBlock(!0),createElementBlock(Fragment,null,renderList([...unref(_).meta],G=>(openBlock(),createBlock(T,{key:G.hid,property:G.property,content:G.content,name:G.name},null,8,["property","content","name"]))),128))]),_:1}),createVNode(F,null,{default:withCtx(()=>[createVNode(E)]),_:1}),createVNode(VSnackbar,{modelValue:unref(s).status,"onUpdate:modelValue":C[1]||(C[1]=G=>unref(s).status=G),class:"base-snackbar",location:"top",color:unref(s).type||"warning","max-width":"500","min-width":"300",width:"100%",timeout:3e3},{actions:withCtx(()=>[createVNode(VBtn,{icon:"",top:"",onClick:C[0]||(C[0]=G=>unref(s).status=!1)},{default:withCtx(()=>[createVNode(VIcon,{icon:"mdi-close",color:unref(s).type==="success"?"black":"white"},null,8,["color"])]),_:1})]),default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1,toDisplayString$1(S.$t(unref(s).content,unref(s).params)),1)]),_:1},8,["modelValue","color"]),createVNode(V,{"dialog-show":unref(u).status,"onUpdate:dialogShow":C[4]||(C[4]=G=>unref(u).status=G)},{content:withCtx(()=>[unref(u).type==="register"?(openBlock(),createBlock(L,{key:0})):unref(u).type==="login"?(openBlock(),createBlock(N,{key:1})):unref(u).type==="logout"?(openBlock(),createBlock(O,{key:2})):unref(u).type==="resetPassword"?(openBlock(),createBlock(U,{key:3})):unref(u).type==="deleteAccount"?(openBlock(),createBlock(j,{key:4})):unref(u).type==="account-permanent-deleted"?(openBlock(),createBlock(I,{key:5})):unref(u).type==="walletCompleteRegister"?(openBlock(),createBlock(M,{key:6,"user-info":unref(u).userInfo,"onUpdate:userInfo":C[2]||(C[2]=G=>unref(u).userInfo=G),onClickRegister:C[3]||(C[3]=G=>b())},null,8,["user-info"])):createCommentVNode("",!0)]),_:1},8,["dialog-show"]),createVNode(D,null,{default:withCtx(()=>[createVNode(VDialog,{class:"loading-dialog","model-value":unref(f),persistent:"",scrim:"black",width:"100%",height:"100%","max-width":"706px","max-height":S.$vuetify.display.smAndDown?"100%":"481px"},{default:withCtx(()=>[createVNode(VCard,{class:"loading-content d-flex justify-center align-center h-100",rounded:"xl",border:"disabled sm opacity-100"},{default:withCtx(()=>[createVNode(R),unref(d)?(openBlock(),createElementBlock("div",{key:0,class:"mt-10",textContent:toDisplayString$1(S.$t(unref(d)))},null,8,_hoisted_2$1)):createCommentVNode("",!0)]),_:1})]),_:1},8,["model-value","max-height"])]),_:1})]),_:1},8,["lang"])])}}},_hoisted_1={class:"error-content flex-grow-1 d-flex flex-column justify-center align-center w-100"},_hoisted_2=["textContent"],_hoisted_3=["textContent"],_hoisted_4={class:"d-flex flex-column-reverse flex-sm-row justify-center align-center w-100"},_sfc_main$1={__name:"error",props:{error:{type:Object,default:()=>({})}},setup(e){const{$localePath:t}=useNuxtApp(),{t:n}=useI18n(),r=e;return useHead({title:`${n(r.error.statusCode===404?"pageNotFoundWarning":"errorOccurred")} - ${n("jcardVerify")}`,meta:[{hid:"og:title",property:"og:title",content:`${n(r.error.statusCode===404?"pageNotFoundWarning":"errorOccurred")} - ${n("seoTitle")}`},{hid:"twitter:title",name:"twitter:title",content:`${n(r.error.statusCode===404?"pageNotFoundWarning":"errorOccurred")} - ${n("seoTitle")}`}]}),(a,o)=>{const i=__nuxt_component_3;return openBlock(),createBlock(VApp,null,{default:withCtx(()=>[createVNode(VMain,{class:"error-page d-flex flex-column align-center px-3 py-15 lh-150"},{default:withCtx(()=>[o[1]||(o[1]=createBaseVNode("p",{class:"error-text",textContent:"ERROR"},null,-1)),createBaseVNode("section",_hoisted_1,[createBaseVNode("h1",{class:"font-weight-bold",textContent:toDisplayString$1(e.error.statusCode)},null,8,_hoisted_2),createBaseVNode("h2",{class:"font-weight-bold mb-10",textContent:toDisplayString$1(a.$t(e.error.statusCode===404?"pageNotFoundWarning":"errorOccurred"))},null,8,_hoisted_3),createBaseVNode("div",_hoisted_4,[createVNode(i,{class:"mr-0 mr-sm-4","btn-text":"backToExplore",variant:"outlined",height:"38px",width:a.$vuetify.display.smAndUp?"272px":"100%",to:unref(t)("/explore")},null,8,["width","to"]),createVNode(i,{class:"mb-4 mb-sm-0","btn-text":"backToPreviousPage",height:"38px",width:a.$vuetify.display.smAndUp?"272px":"100%",onClickBtn:o[0]||(o[0]=s=>a.$router.go(-1))},null,8,["width"])])])]),_:1})]),_:1})}}},_sfc_main={__name:"nuxt-root",setup(e){const t=()=>null,n=useNuxtApp(),r=n.deferHydration(),a=!1;provide(PageRouteSymbol,useRoute$1()),n.hooks.callHookWith(s=>s.map(l=>l()),"vue:setup");const o=useError();onErrorCaptured((s,l,c)=>{if(n.hooks.callHook("vue:error",s,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),isNuxtError(s)&&(s.fatal||s.unhandled))return n.runWithContext(()=>showError(s)),!1});const i=!1;return(s,l)=>(openBlock(),createBlock(Suspense,{onResolve:unref(r)},{default:withCtx(()=>[unref(o)?(openBlock(),createBlock(unref(_sfc_main$1),{key:0,error:unref(o)},null,8,["error"])):unref(i)?(openBlock(),createBlock(unref(t),{key:1,context:unref(i)},null,8,["context"])):unref(a)?(openBlock(),createBlock(resolveDynamicComponent(unref(a)),{key:2})):(openBlock(),createBlock(unref(_sfc_main$2),{key:3}))]),_:1},8,["onResolve"]))}};let entry;{let e;entry=async function(){var i,s;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((s=document.getElementById("__NUXT_DATA__"))==null?void 0:s.dataset.ssr)==="true")?createSSRApp(_sfc_main):createApp(_sfc_main),a=createNuxtApp({vueApp:r});async function o(l){await a.callHook("app:error",l),a.payload.error=a.payload.error||l}r.config.errorHandler=o;try{await applyPlugins(a,plugins)}catch(l){o(l)}try{await a.hooks.callHook("app:created",r),await a.hooks.callHook("app:beforeMount",r),r.mount(vueAppRootContainer),await a.hooks.callHook("app:mounted",r),await nextTick()}catch(l){o(l)}return r.config.errorHandler===o&&(r.config.errorHandler=void 0),r},e=entry().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{VBtn as $,toDisplayString$1 as A,createVNode as B,Comment as C,renderList as D,withCtx as E,Fragment as F,mergeProps as G,createTextVNode as H,VTooltip as I,useNuxtApp as J,useState as K,useSnackbar as L,useInput as M,VHover as N,VForm as O,isRef as P,_sfc_main$h as Q,__nuxt_component_3 as R,_sfc_main$4 as S,Text as T,useDialog as U,VIcon as V,useI18n as W,useRoute$1 as X,useHead as Y,onBeforeUnmount as Z,__vitePreload as _,onUpdated as a,VOverlay as a0,withKeys as a1,VTextField as a2,__nuxt_component_0$1 as a3,VCard as a4,VListItem as a5,VList as a6,VRow as a7,VCol as a8,VDivider as a9,showError as aA,VSpacer as aB,mergeModels as aC,useModel as aD,VSelect as aE,VDataTable as aF,VPagination as aG,useRuntimeConfig as aH,createError as aI,withLeadingSlash as aJ,withTrailingSlash$1 as aK,joinURL as aL,resolveDynamicComponent as aM,VNavigationDrawer as aN,VAppBar as aO,VApp as aP,VMain as aQ,__nuxt_component_1 as aR,normalizeProps as aS,guardReactiveProps as aT,VListItemTitle as aU,VMenu as aV,VTextarea as aW,constData as aa,__nuxt_component_0$2 as ab,__nuxt_component_0 as ac,normalizeStyle as ad,useDisplay as ae,VCarousel as af,VCarouselItem as ag,reactive as ah,provide as ai,nextTick as aj,onUnmounted as ak,cloneVNode as al,inject$1 as am,VContainer as an,VExpansionPanel as ao,VExpansionPanelTitle as ap,VExpansionPanelText as aq,VExpansionPanels as ar,useRouter$2 as as,useAuth as at,useUserInfo as au,_sfc_main$5 as av,useLoading as aw,useWallet as ax,PageRouteSymbol as ay,withModifiers as az,openBlock as b,createElementBlock as c,createBaseVNode as d,defineComponent$1 as e,computed as f,getCurrentInstance$1 as g,h,destr as i,getDefaultExportFromCjs as j,defu as k,hash as l,watch as m,renderSlot as n,onMounted as o,createBlock as p,normalizeClass as q,resolveComponent as r,unref as s,toRaw as t,useAsyncData as u,createCommentVNode as v,withAsyncContext as w,_export_sfc as x,useBase as y,ref as z};
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = ["./chat.3Sg7fT7V.js","./icon-nav-chat-primary.Dmcy-cHI.js","./img-success.B4tsf647.js","./chat.DkigdssB.css","./explore.B3lcnNqG.js","./explore.BFyh1BKQ.css","./index.CHI-EiE6.js","./base-search-block.CKB5ZpWk.js","./base-search-block.C3C1EeAG.css","./index.K8HLvSoi.css","./_address_.BN5ikEPE.js","./base-verify-score.Dwfqt1QN.js","./base-verify-score.B6PSiGwo.css","./icon-copy.C1o4PTiU.js","./_address_.VL_eKoEl.css","./index.CcgJwPYb.js","./base-pagination.B5giXeaX.js","./base-pagination.BngS2HjP.css","./base-no-result.DnMgRYDy.js","./base-no-result.BCZAZwvB.css","./index.B1ctRMD_.css","./security.DeegSUw-.js","./security.CB_CHfBD.css","./terms.59ZkmaOL.js","./terms.CiHwvRDF.css","./_address_.BTVe5dDe.js","./_address_.BYzTfyEo.css","./index.C1qSZqca.js","./ProsePre.p1eYap2U.js","./ProsePre.ClFFq5ii.css","./default.ByZQ-KGw.js","./base-lang.DjwrBNEa.js","./base-lang.BgTde_Fn.css","./default.BFp99pAw.css","./landing.Bf6cXwFF.js","./landing.BdoozwU_.css"]
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}