PageSourceSearch

https://static.iway.ch/gfo_checker_2/v1/iway_gfo_checker_2.js?ver=20

js iway.ch collected 2026-09-24 09:40:20 UTC 298,521 bytes, 305 lines download raw bytes

vendor: 7,869 bytes, lines 1-8
1var Oe=Object.defineProperty;var Te=(e,t,n)=>t in e?Oe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ce=(e,t,n)=>Te(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
2* @vue/shared v3.4.21
3* (c) 2018-present Yuxi (Evan) You and Vue contributors
4* @license MIT
5**/function makeMap(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=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$1=Object.prototype.hasOwnProperty,hasOwn=(e,t)=>hasOwnProperty$1.call(e,t),isArray=Array.isArray,isMap=e=>toTypeString(e)==="[object Map]",isSet=e=>toTypeString(e)==="[object Set]",isDate=e=>toTypeString(e)==="[object Date]",isRegExp=e=>toTypeString(e)==="[object RegExp]",isFunction=e=>typeof e=="function",isString=e=>typeof e=="string",isSymbol=e=>typeof e=="symbol",isObject=e=>e!==null&&typeof e=="object",isPromise=e=>(isObject(e)||isFunction(e))&&isFunction(e.then)&&isFunction(e.catch),objectToString=Object.prototype.toString,toTypeString=e=>objectToString.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject$1=e=>toTypeString(e)==="[object Object]",isIntegerKey=e=>isString(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),isBuiltInDirective=makeMap("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),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)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},toNumber=e=>{const t=isString(e)?Number(e):NaN;return isNaN(t)?e:t};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),GLOBALS_ALLOWED="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",isGloballyAllowed=makeMap(GLOBALS_ALLOWED);function normalizeStyle(e){if(isArray(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=isString(s)?parseStringStyle(s):normalizeStyle(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(isString(e)||isObject(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 s=n.split(propertyDelimiterRE);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function normalizeClass(e){let t="";if(isString(e))t=e;else if(isArray(e))for(let n=0;n<e.length;n++){const s=normalizeClass(e[n]);s&&(t+=s+" ")}else if(isObject(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(t)&&(e.class=normalizeClass(t)),n&&(e.style=normalizeStyle(n)),e}const HTML_TAGS="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",SVG_TAGS="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",MATH_TAGS="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",VOID_TAGS="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",isHTMLTag=makeMap(HTML_TAGS),isSVGTag=makeMap(SVG_TAGS),isMathMLTag=makeMap(MATH_TAGS),isVoidTag=makeMap(VOID_TAGS),specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||e===""}function looseCompareArrays(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=looseEqual(e[s],t[s]);return n}function looseEqual(e,t){if(e===t)return!0;let n=isDate(e),s=isDate(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=isSymbol(e),s=isSymbol(t),n||s)return e===t;if(n=isArray(e),s=isArray(t),n||s)return n&&s?looseCompareArrays(e,t):!1;if(n=isObject(e),s=isObject(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!looseEqual(e[o],t[o]))return!1}}return String(e)===String(t)}function looseIndexOf(e,t){return e.findIndex(n=>looseEqual(n,t))}const toDisplayString=e=>isString(e)?e:e==null?"":isArray(e)||isObject(e)&&(e.toString===objectToString||!isFunction(e.toString))?JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>t&&t.__v_isRef?replacer(e,t.value):isMap(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[stringifySymbol(s,i)+" =>"]=r,n),{})}:isSet(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>stringifySymbol(n))}:isSymbol(t)?stringifySymbol(t):isObject(t)&&!isArray(t)&&!isPlainObject$1(t)?String(t):t,stringifySymbol=(e,t="")=>{var n;return isSymbol(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6* @vue/reactivity v3.4.21
7* (c) 2018-present Yuxi (Evan) You and Vue contributors
8* @license MIT
9**/let activeEffectScope;class EffectScope{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}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,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function effectScope(e){return new EffectScope(e)}function recordEffectScope(e,t=activeEffectScope){t&&t.active&&t.effects.push(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e){activeEffectScope&&activeEffectScope.cleanups.push(e)}let activeEffect;class ReactiveEffect{constructor(t,n,s,r){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,recordEffectScope(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,pauseTracking();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(triggerComputed(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),resetTracking()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=shouldTrack,n=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=n,shouldTrack=t}}stop(){var t;this.active&&(preCleanupEffect(this),postCleanupEffect(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function triggerComputed(e){return e.value}function preCleanupEffect(e){e._trackId++,e._depsLength=0}function postCleanupEffect(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)cleanupDepEffect(e.deps[t],e);e.deps.length=e._depsLength}}function cleanupDepEffect(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function effect(e,t){e.effect instanceof ReactiveEffect&&(e=e.effect.fn);const n=new ReactiveEffect(e,NOOP,()=>{n.dirty&&n.run()});t&&(extend(n,t),t.scope&&recordEffectScope(n,t.scope)),(!t||!t.lazy)&&n.run();const s=n.run.bind(n);return s.effect=n,s}function stop(e){e.effect.stop()}let shouldTrack=!0,pauseScheduleStack=0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=e===void 0?!0:e}function pauseScheduling(){pauseScheduleStack++}function resetScheduling(){for(pauseScheduleStack--;!pauseScheduleStack&&queueEffectSchedulers.length;)queueEffectSchedulers.shift()()}function trackEffect(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&cleanupDepEffect(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const queueEffectSchedulers=[];function triggerEffects(e,t,n){pauseScheduling();for(const s of e.keys()){let r;s._dirtyLevel<t&&(r??(r=e.get(s)===s._trackId))&&(s._shouldSchedule||(s._shouldSchedule=s._dirtyLevel===0),s._dirtyLevel=t),s._shouldSchedule&&(r??(r=e.get(s)===s._trackId))&&(s.trigger(),(!s._runnings||s.allowRecurse)&&s._dirtyLevel!==2&&(s._shouldSchedule=!1,s.scheduler&&queueEffectSchedulers.push(s.scheduler)))}resetScheduling()}const createDep=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track(e,t,n){if(shouldTrack&&activeEffect){let s=targetMap.get(e);s||targetMap.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=createDep(()=>s.delete(n))),trackEffect(activeEffect,r)}}function trigger(e,t,n,s,r,i){const o=targetMap.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&isArray(e)){const l=Number(s);o.forEach((c,u)=>{(u==="length"||!isSymbol(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":isArray(e)?isIntegerKey(n)&&a.push(o.get("length")):(a.push(o.get(ITERATE_KEY)),isMap(e)&&a.push(o.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray(e)||(a.push(o.get(ITERATE_KEY)),isMap(e)&&a.push(o.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(e)&&a.push(o.get(ITERATE_KEY));break}pauseScheduling();for(const l of a)l&&triggerEffects(l,4);resetScheduling()}function getDepFromReactive(e,t){var n;return(n=targetMap.get(e))==null?void 0:n.get(t)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbol
9s=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(isSymbol)),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=toRaw(this);for(let i=0,o=this.length;i<o;i++)track(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(toRaw)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){pauseTracking(),pauseScheduling();const s=toRaw(this)[t].apply(this,n);return resetScheduling(),resetTracking(),s}}),e}function hasOwnProperty(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,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?shallowReadonlyMap:readonlyMap:i?shallowReactiveMap:reactiveMap).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=isArray(t);if(!r){if(o&&hasOwn(arrayInstrumentations,n))return Reflect.get(arrayInstrumentations,n,s);if(n==="hasOwnProperty")return hasOwnProperty}const a=Reflect.get(t,n,s);return(isSymbol(n)?builtInSymbols.has(n):isNonTrackableKeys(n))||(r||track(t,"get",n),i)?a:isRef(a)?o&&isIntegerKey(n)?a:a.value:isObject(a)?r?readonly(a):reactive(a):a}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const l=isReadonly(i);if(!isShallow(s)&&!isReadonly(s)&&(i=toRaw(i),s=toRaw(s)),!isArray(t)&&isRef(i)&&!isRef(s))return l?!1:(i.value=s,!0)}const o=isArray(t)&&isIntegerKey(n)?Number(n)<t.length:hasOwn(t,n),a=Reflect.set(t,n,s,r);return t===toRaw(r)&&(o?hasChanged(s,i)&&trigger(t,"set",n,s):trigger(t,"add",n,s)),a}deleteProperty(t,n){const s=hasOwn(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&trigger(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!isSymbol(n)||!builtInSymbols.has(n))&&track(t,"has",n),s}ownKeys(t){return track(t,"iterate",isArray(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$1(e,t,n=!1,s=!1){e=e.__v_raw;const r=toRaw(e),i=toRaw(t);n||(hasChanged(t,i)&&track(r,"get",t),track(r,"get",i));const{has:o}=getProto(r),a=s?toShallow:n?toReadonly:toReactive;if(o.call(r,t))return a(e.get(t));if(o.call(r,i))return a(e.get(i));e!==r&&e.get(t)}function has(e,t=!1){const n=this.__v_raw,s=toRaw(n),r=toRaw(e);return t||(hasChanged(e,r)&&track(s,"has",e),track(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}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){e=toRaw(e);const t=toRaw(this);return getProto(t).has.call(t,e)||(t.add(e),trigger(t,"add",e,e)),this}function set(e,t){t=toRaw(t);const n=toRaw(this),{has:s,get:r}=getProto(n);let i=s.call(n,e);i||(e=toRaw(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?hasChanged(t,o)&&trigger(n,"set",e,t):trigger(n,"add",e,t),this}function deleteEntry(e){const t=toRaw(this),{has:n,get:s}=getProto(t);let r=n.call(t,e);r||(e=toRaw(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&trigger(t,"delete",e,void 0),i}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(s,r){const i=this,o=i.__v_raw,a=toRaw(o),l=t?toShallow:e?toReadonly:toReactive;return!e&&track(a,"iterate",ITERATE_KEY),o.forEach((c,u)=>s.call(r,l(c),l(u),i))}}function createIterableMethod(e,t,n){return function(...s){const r=this.__v_raw,i=toRaw(r),o=isMap(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=r[e](...s),u=n?toShallow:t?toReadonly:toReactive;return!t&&track(i,"iterate",l?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function createInstrumentations(){const e={get(i){return get$1(this,i)},get size(){return size(this)},has,add,set,delete:deleteEntry,clear,forEach:createForEach(!1,!1)},t={get(i){return get$1(this,i,!1,!0)},get size(){return size(this)},has,add,set,delete:deleteEntry,clear,forEach:createForEach(!1,!0)},n={get(i){return get$1(this,i,!0)},get size(){return size(this,!0)},has(i){return has.call(this,i,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},s={get(i){return get$1(this,i,!0,!0)},get size(){return size(this,!0)},has(i){return has.call(this,i,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>
9{e[i]=createIterableMethod(i,!1,!1),n[i]=createIterableMethod(i,!0,!1),t[i]=createIterableMethod(i,!1,!0),s[i]=createIterableMethod(i,!0,!0)}),[e,n,t,s]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(e,t){const n=t?e?shallowReadonlyInstrumentations:shallowInstrumentations:e?readonlyInstrumentations:mutableInstrumentations;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(hasOwn(n,r)&&r in s?n:s,r,i)}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,s,r){if(!isObject(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=getTargetType(e);if(o===0)return e;const a=new Proxy(e,o===2?s:n);return r.set(e,a),a}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 isReactive(e)||isReadonly(e)}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return Object.isExtensible(e)&&def(e,"__v_skip",!0),e}const toReactive=e=>isObject(e)?reactive(e):e,toReadonly=e=>isObject(e)?readonly(e):e;class ComputedRefImpl{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ReactiveEffect(()=>t(this._value),()=>triggerRefValue(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=toRaw(this);return(!t._cacheable||t.effect.dirty)&&hasChanged(t._value,t._value=t.effect.run())&&triggerRefValue(t,4),trackRefValue(t),t.effect._dirtyLevel>=2&&triggerRefValue(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function computed$1(e,t,n=!1){let s,r;const i=isFunction(e);return i?(s=e,r=NOOP):(s=e.get,r=e.set),new ComputedRefImpl(s,r,i||!r,n)}function trackRefValue(e){var t;shouldTrack&&activeEffect&&(e=toRaw(e),trackEffect(activeEffect,(t=e.dep)!=null?t:e.dep=createDep(()=>e.dep=void 0,e instanceof ComputedRefImpl?e:void 0)))}function triggerRefValue(e,t=4,n){e=toRaw(e);const s=e.dep;s&&triggerEffects(s,t)}function isRef(e){return!!(e&&e.__v_isRef===!0)}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.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:toRaw(t),this._value=n?t:toReactive(t)}get value(){return trackRefValue(this),this._value}set value(t){const n=this.__v_isShallow||isShallow(t)||isReadonly(t);t=n?t:toRaw(t),hasChanged(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:toReactive(t),triggerRefValue(this,4))}}function triggerRef(e){triggerRefValue(e,4)}function unref(e){return isRef(e)?e.value:e}function toValue(e){return isFunction(e)?e():unref(e)}const shallowUnwrapHandlers={get:(e,t,n)=>unref(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return isRef(r)&&!isRef(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}class CustomRefImpl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function customRef(e){return new CustomRefImpl(e)}function toRefs(e){const t=isArray(e)?new Array(e.length):{};for(const n in e)t[n]=propertyToRef(e,n);return t}class ObjectRefImpl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return 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}get value(){return this._getter()}}function toRef(e,t,n){return isRef(e)?e:isFunction(e)?new GetterRefImpl(e):isObject(e)&&arguments.length>1?propertyToRef(e,t,n):ref(e)}function propertyToRef(e,t,n){const s=e[t];return isRef(s)?s:new ObjectRefImpl(e,t,n)}const TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
10* @vue/runtime-core v3.4.21
11* (c) 2018-present Yuxi (Evan) You and Vue contributors
12* @license MIT
13**/const stack$1=[];function warn$1(e,...t){pauseTracking();const n=stack$1.length?stack$1[stack$1.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=getComponentTrace();if(s)callWithErrorHandling(s,n,11,[e+t.map(i=>{var o,a;return(a=(o=i.toString)==null?void 0:o.call(i))!=null?a:JSON.stringify(i)}).join(""),n&&n.proxy,r.map(({vnode:i})=>`at <${formatComponentName(n,i.type)}>`).join(`
14`),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(`
15`,...formatTrace(r)),console.warn(...i)}resetTracking()}function getComponentTrace(){let e=stack$1[stack$1.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 s=e.component&&e.component.parent;e=s&&s.vnode}return t}function formatTrace(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
16`],...formatTraceEntry(n))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${formatComponentName(e.component,e.type,s)}`,i=">"+n;return e.props?[r,...formatProps(e.props),i]:[r+i]}function formatProps(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...formatProp(s,e[s]))}),n.length>3&&t.push(" ..."),t}function formatProp(e,t,n){return isString(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(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),n?t:[`${e}=`,t])}function assertNumber(e,t){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ErrorTypeStrings$1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function callWithErrorHandling(e,t,n,s){try{return s?e(...s):e()}catch(r){handleError(r,t,n)}}function callWithAsyncErrorHandling(e,t,n,s){if(isFunction(e)){const i=callWithErrorHandling(e,t,n,s);return i&&isPromise(i)&&i.catch(o=>{handleError(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(callWithAsyncErrorHandling(e[i],t,n,s));return r}function handleError(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,o,a)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){callWithErrorHandling(l,null,10,[e,o,a]);return}}logError(e,n,r,s)}function logError(e,t,n,s=!0){console.error(e)}let isFlushing=!1,isFlushPending=!1;const queue=[];let flushIndex=0;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 s=t+n>>>1,r=queue[s],i=getId(r);i<e||i===e&&r.pre?t=s+1:n=s}return t}function queueJob(e){(!queue.length||!queue.includes(e,isFlushing&&e.allowRecurse?flushIndex+1:flushIndex))&&(e.id==null?queue.push(e):queue.splice(findInsertionIndex(e.id),0,e),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}
16function invalidateJob(e){const t=queue.indexOf(e);t>flushIndex&&queue.splice(t,1)}function queuePostFlushCb(e){isArray(e)?pendingPostFlushCbs.push(...e):(!activePostFlushCbs||!activePostFlushCbs.includes(e,e.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(e),queueFlush()}function flushPreFlushCbs(e,t,n=isFlushing?flushIndex+1:0){for(;n<queue.length;n++){const s=queue[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;queue.splice(n,1),n--,s()}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const t=[...new Set(pendingPostFlushCbs)].sort((n,s)=>getId(n)-getId(s));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>e.id==null?1/0:e.id,comparator=(e,t)=>{const n=getId(e)-getId(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function flushJobs(e){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&t.active!==!1&&callWithErrorHandling(t,null,14)}}finally{flushIndex=0,queue.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let devtools$1,buffer=[];function setDevtoolsHook$1(e,t){var n,s;devtools$1=e,devtools$1?(devtools$1.enabled=!0,buffer.forEach(({event:r,args:i})=>devtools$1.emit(r,...i)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{setDevtoolsHook$1(i,t)}),setTimeout(()=>{devtools$1||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||EMPTY_OBJ;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:d,trim:f}=s[u]||EMPTY_OBJ;f&&(r=n.map(g=>isString(g)?g.trim():g)),d&&(r=n.map(looseToNumber))}let a,l=s[a=toHandlerKey(t)]||s[a=toHandlerKey(camelize(t))];!l&&i&&(l=s[a=toHandlerKey(hyphenate(t))]),l&&callWithAsyncErrorHandling(l,e,6,r);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,callWithAsyncErrorHandling(c,e,6,r)}}function normalizeEmitsOptions(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},a=!1;if(!isFunction(e)){const l=c=>{const u=normalizeEmitsOptions(c,t,!0);u&&(a=!0,extend(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(isObject(e)&&s.set(e,null),null):(isArray(i)?i.forEach(l=>o[l]=null):extend(o,i),isObject(e)&&s.set(e,o),o)}function isEmitListener(e,t){return!e||!isOn(t)?!1:(t=t.slice(2).replace(/Once$/,""),hasOwn(e,t[0].toLowerCase()+t.slice(1))||hasOwn(e,hyphenate(t))||hasOwn(e,t))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function pushScopeId(e){currentScopeId=e}function popScopeId(){currentScopeId=null}const withScopeId=e=>withCtx;function withCtx(e,t=currentRenderingInstance,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&setBlockTracking(-1);const i=setCurrentRenderingInstance(t);let o;try{o=e(...r)}finally{setCurrentRenderingInstance(i),s._d&&setBlockTracking(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:g,ctx:y,inheritAttrs:T}=e;let R,I;const C=setCurrentRenderingInstance(e);try{if(n.shapeFlag&4){const b=r||s,v=b;R=normalizeVNode(u.call(v,b,d,i,g,f,y)),I=l}else{const b=t;R=normalizeVNode(b.length>1?b(i,{attrs:l,slots:a,emit:c}):b(i,null)),I=t.props?l:getFunctionalFallthrough(l)}}catch(b){blockStack.length=0,handleError(b,e,1),R=createVNode(Comment)}let S=R;if(I&&T!==!1){const b=Object.keys(I),{shapeFlag:v}=S;b.length&&v&7&&(o&&b.some(isModelListener)&&(I=filterModelListeners(I,o)),S=cloneVNode(S,I))}return n.dirs&&(S=cloneVNode(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),R=S,setCurrentRenderingInstance(C),R}function filterSingleRoot(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(isVNode(r)){if(r.type!==Comment||r.children==="v-if"){if(n)return;n=r}}else return}return n}const getFunctionalFallthrough=e=>{let t;for(const n in e)(n==="class"||n==="style"||isOn(n))&&((t||(t={}))[n]=e[n]);return t},filterModelListeners=(e,t)=>{const n={};for(const s in e)(!isModelListener(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function shouldUpdateComponent(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;
vendor: 5,092 bytes, line 16
16if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?hasPropsChanged(s,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(o[f]!==s[f]&&!isEmitListener(c,f))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?hasPropsChanged(s,o,c):!0:!!o;return!1}function hasPropsChanged(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!isEmitListener(n,i))return!0}return!1}function updateHOCHostEl({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}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(e)?resolveAsset(COMPONENTS,e,!1)||e:e||NULL_DYNAMIC_COMPONENT}function resolveDirective(e){return resolveAsset(DIRECTIVES,e)}function resolveAsset(e,t,n=!0,s=!1){const r=currentRenderingInstance||currentInstance;if(r){const i=r.type;if(e===COMPONENTS){const a=getComponentName(i,!1);if(a&&(a===t||a===camelize(t)||a===capitalize$1(camelize(t))))return i}const o=resolve(r[e]||i[e],t)||resolve(r.appContext[e],t);return!o&&s?i:o}}function resolve(e,t){return e&&(e[t]||e[camelize(t)]||e[capitalize$1(camelize(t))])}const isSuspense=e=>e.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,a,l,c){if(e==null)mountSuspense(t,n,s,r,i,o,a,l,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}patchSuspense(e,t,n,s,r,o,a,l,c)}},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent(e,t){const n=e.props&&e.props[t];isFunction(n)&&n()}function mountSuspense(e,t,n,s,r,i,o,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=e.suspense=createSuspenseBoundary(e,r,s,t,d,n,i,o,a,l);c(null,f.pendingBranch=e.ssContent,d,null,s,f,i,o),f.deps>0?(triggerEvent(e,"onPending"),triggerEvent(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,i,o),setActiveBranch(f,e.ssFallback)):f.resolve(!1,!0)}function patchSuspense(e,t,n,s,r,i,o,a,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,g=t.ssFallback,{activeBranch:y,pendingBranch:T,isInFallback:R,isHydrating:I}=d;if(T)d.pendingBranch=f,isSameVNodeType(f,T)?(l(T,f,d.hiddenContainer,null,r,d,i,o,a),d.deps<=0?d.resolve():R&&(I||(l(y,g,n,s,r,null,i,o,a),setActiveBranch(d,g)))):(d.pendingId=suspenseId++,I?(d.isHydrating=!1,d.activeBranch=T):c(T,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),R?(l(null,f,d.hiddenContainer,null,r,d,i,o,a),d.deps<=0?d.resolve():(l(y,g,n,s,r,null,i,o,a),setActiveBranch(d,g))):y&&isSameVNodeType(f,y)?(l(y,f,n,s,r,d,i,o,a),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,r,d,i,o,a),d.deps<=0&&d.resolve()));else if(y&&isSameVNodeType(f,y))l(y,f,n,s,r,d,i,o,a),setActiveBranch(d,f);else if(triggerEvent(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=suspenseId++,l(null,f,d.hiddenContainer,null,r,d,i,o,a),d.deps<=0)d.resolve();else{const{timeout:C,pendingId:S}=d;C>0?setTimeout(()=>{d.pendingId===S&&d.fallback(g)},C):C===0&&d.fallback(g)}}function createSuspenseBoundary(e,t,n,s,r,i,o,a,l,c,u=!1){const{p:d,m:f,um:g,n:y,o:{parentNode:T,remove:R}}=c;let I;const C=isVNodeSuspensible(e);C&&t!=null&&t.pendingBranch&&(I=t.pendingId,t.deps++);const S=e.props?toNumber(e.props.timeout):void 0,b=i,v={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:suspenseId++,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,P=!1){const{vnode:_,activeBranch:O,pendingBranch:N,pendingId:w,effects:k,parentComponent:M,container:z}=v;let q=!1;v.isHydrating?v.isHydrating=!1:x||(q=O&&N.transition&&N.transition.mode==="out-in",q&&(O.transition.afterLeave=()=>{w===v.pendingId&&(f(N,z,i===b?y(O):i,0),queuePostFlushCb(k))}),O&&(T(O.el)!==v.hiddenContainer&&(i=y(O)),g(O,M,v,!0)),q||f(N,z,i,0)),setActiveBranch(v,N),v.pendingBranch=null,v.isInFallback=!1;let F=v.parent,W=!1;for(;F;){if(F.pendingBranch){F.effects.push(...k),W=!0;break}F=F.parent}!W&&!q&&queuePostFlushCb(k),v.effects=[],C&&t&&t.pendingBranch&&I===t.pendingId&&(t.deps--,t.deps===0&&!P&&t.resolve()),triggerEvent(_,"onResolve")},fallback(x){if(!v.pendingBranch)return;const{vnode:P,activeBranch:_,parentComponent:O,container:N,namespace:w}=v;triggerEvent(P,"onFallback");const k=y(_),M=()=>{v.isInFallback&&(d(null,x,N,k,O,null,w,a,l),setActiveBranch(v,x))},z=x.transition&&x.transition.mode==="out-in";z&&(_.transition.afterLeave=M),v.isInFallback=!0,g(_,O,null,!0),z||M()},move(x,P,_){v.activeBranch&&f(v.activeBranch,x,P,_),v.container=x},next(){return v.activeBranch&&y(v.activeBranch)},registerDep(x,P){const _=!!v.pendingBranch;_&&v.deps++;const O=x.vnode.el;
16x.asyncDep.catch(N=>{handleError(N,x,0)}).then(N=>{if(x.isUnmounted||v.isUnmounted||v.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:w}=x;handleSetupResult(x,N,!1),O&&(w.el=O);const k=!O&&x.subTree.el;P(x,w,T(O||x.subTree.el),O?null:y(x.subTree),v,o,l),k&&R(k),updateHOCHostEl(x,w.el),_&&--v.deps===0&&v.resolve()})},unmount(x,P){v.isUnmounted=!0,v.activeBranch&&g(v.activeBranch,n,x,P),v.pendingBranch&&g(v.pendingBranch,n,x,P)}};return v}function hydrateSuspense(e,t,n,s,r,i,o,a,l){const c=t.suspense=createSuspenseBoundary(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,o);return c.deps===0&&c.resolve(!1,!0),u}function normalizeSuspenseChildren(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=normalizeSuspenseSlot(s?n.default:n),e.ssFallback=s?normalizeSuspenseSlot(n.fallback):createVNode(Comment)}function normalizeSuspenseSlot(e){let t;if(isFunction(e)){const n=isBlockTreeEnabled&&e._c;n&&(e._d=!1,openBlock()),e=e(),n&&(e._d=!0,t=currentBlock,closeBlock())}return isArray(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(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function setActiveBranch(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,updateHOCHostEl(s,r))}function isVNodeSuspensible(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(e,t){return doWatch(e,null,t)}function watchPostEffect(e,t){return doWatch(e,null,{flush:"post"})}function watchSyncEffect(e,t){return doWatch(e,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch(e,t,n){return doWatch(e,t,n)}function doWatch(e,t,{immediate:n,deep:s,flush:r,once:i,onTrack:o,onTrigger:a}=EMPTY_OBJ){if(t&&i){const x=t;t=(...P)=>{x(...P),v()}}const l=currentInstance,c=x=>s===!0?x:traverse(x,s===!1?1:void 0);let u,d=!1,f=!1;if(isRef(e)?(u=()=>e.value,d=isShallow(e)):isReactive(e)?(u=()=>c(e),d=!0):isArray(e)?(f=!0,d=e.some(x=>isReactive(x)||isShallow(x)),u=()=>e.map(x=>{if(isRef(x))return x.value;if(isReactive(x))return c(x);if(isFunction(x))return callWithErrorHandling(x,l,2)})):isFunction(e)?t?u=()=>callWithErrorHandling(e,l,2):u=()=>(g&&g(),callWithAsyncErrorHandling(e,l,3,[y])):u=NOOP,t&&s){const x=u;u=()=>traverse(x())}let g,y=x=>{g=S.onStop=()=>{callWithErrorHandling(x,l,4),g=S.onStop=void 0}},T;if(isInSSRComponentSetup)if(y=NOOP,t?n&&callWithAsyncErrorHandling(t,l,3,[u(),f?[]:void 0,y]):u(),r==="sync"){const x=useSSRContext();T=x.__watcherHandles||(x.__watcherHandles=[])}else return NOOP;let R=f?new Array(e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const I=()=>{if(!(!S.active||!S.dirty))if(t){const x=S.run();(s||d||(f?x.some((P,_)=>hasChanged(P,R[_])):hasChanged(x,R)))&&(g&&g(),callWithAsyncErrorHandling(t,l,3,[x,R===INITIAL_WATCHER_VALUE?void 0:f&&R[0]===INITIAL_WATCHER_VALUE?[]:R,y]),R=x)}else S.run()};I.allowRecurse=!!t;let C;r==="sync"?C=I:r==="post"?C=()=>queuePostRenderEffect(I,l&&l.suspense):(I.pre=!0,l&&(I.id=l.uid),C=()=>queueJob(I));const S=new ReactiveEffect(u,NOOP,C),b=getCurrentScope(),v=()=>{S.stop(),b&&remove(b.effects,S)};return t?n?I():R=S.run():r==="post"?queuePostRenderEffect(S.run.bind(S),l&&l.suspense):S.run(),T&&T.push(v),v}function instanceWatch(e,t,n){const s=this.proxy,r=isString(e)?e.includes(".")?createPathGetter(s,e):()=>s[e]:e.bind(s,s);let i;isFunction(t)?i=t:(i=t.handler,n=t);const o=setCurrentInstance(this),a=doWatch(r,i.bind(s),n);return o(),a}function createPathGetter(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function traverse(e,t,n=0,s){if(!isObject(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),isRef(e))traverse(e.value,t,n,s);else if(isArray(e))for(let r=0;r<e.length;r++)traverse(e[r],t,n,s);else if(isSet(e)||isMap(e))e.forEach(r=>{traverse(r,t,n,s)});else if(isPlainObject$1(e))for(const r in e)traverse(e[r],t,n,s);return e}function withDirectives(e,t){if(currentRenderingInstance===null)return e;const n=getExposeProxy(currentRenderingInstance)||currentRenderingInstance.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,a,l=EMPTY_OBJ]=t[r];i&&(isFunction(i)&&(i={mounted:i,updated:i}),i.deep&&traverse(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function invokeDirectiveHook(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const a=r[o];i&&(a.oldValue=i[o].value);let l=a.dir[s];l&&(pauseTracking(),callWithAsyncErrorHandling(l,n,8,[e.el,a,e,t]),resetTracking())}}const leaveCbKey=Symbol("_leaveCb"),enterCbKey$1=Symbol("_enterCb");function useTransitionState(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leav
16ingVNodes: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},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(e,{slots:t}){const n=getCurrentInstance(),s=useTransitionState();return()=>{const r=t.default&&getTransitionRawChildren(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const f of r)if(f.type!==Comment){i=f;break}}const o=toRaw(e),{mode:a}=o;if(s.isLeaving)return emptyPlaceholder(i);const l=getKeepAliveChild(i);if(!l)return emptyPlaceholder(i);const c=resolveTransitionHooks(l,o,s,n);setTransitionHooks(l,c);const u=n.subTree,d=u&&getKeepAliveChild(u);if(d&&d.type!==Comment&&!isSameVNodeType(l,d)){const f=resolveTransitionHooks(d,o,s,n);if(setTransitionHooks(d,f),a==="out-in")return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},emptyPlaceholder(i);a==="in-out"&&l.type!==Comment&&(f.delayLeave=(g,y,T)=>{const R=getLeavingNodesForType(s,d);R[String(d.key)]=d,g[leaveCbKey]=()=>{y(),g[leaveCbKey]=void 0,delete c.delayedLeave},c.delayedLeave=T})}return i}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function resolveTransitionHooks(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:g,onLeaveCancelled:y,onBeforeAppear:T,onAppear:R,onAfterAppear:I,onAppearCancelled:C}=t,S=String(e.key),b=getLeavingNodesForType(n,e),v=(_,O)=>{_&&callWithAsyncErrorHandling(_,s,9,O)},x=(_,O)=>{const N=O[1];v(_,O),isArray(_)?_.every(w=>w.length<=1)&&N():_.length<=1&&N()},P={mode:i,persisted:o,beforeEnter(_){let O=a;if(!n.isMounted)if(r)O=T||a;else return;_[leaveCbKey]&&_[leaveCbKey](!0);const N=b[S];N&&isSameVNodeType(e,N)&&N.el[leaveCbKey]&&N.el[leaveCbKey](),v(O,[_])},enter(_){let O=l,N=c,w=u;if(!n.isMounted)if(r)O=R||l,N=I||c,w=C||u;else return;let k=!1;const M=_[enterCbKey$1]=z=>{k||(k=!0,z?v(w,[_]):v(N,[_]),P.delayedLeave&&P.delayedLeave(),_[enterCbKey$1]=void 0)};O?x(O,[_,M]):M()},leave(_,O){const N=String(e.key);if(_[enterCbKey$1]&&_[enterCbKey$1](!0),n.isUnmounting)return O();v(d,[_]);let w=!1;const k=_[leaveCbKey]=M=>{w||(w=!0,O(),M?v(y,[_]):v(g,[_]),_[leaveCbKey]=void 0,b[N]===e&&delete b[N])};b[N]=e,f?x(f,[_,k]):k()},clone(_){return resolveTransitionHooks(_,t,n,s)}};return P}function emptyPlaceholder(e){if(isKeepAlive(e))return e=cloneVNode(e),e.children=null,e}function getKeepAliveChild(e){return isKeepAlive(e)?e.children?e.children[0]:void 0:e}function setTransitionHooks(e,t){e.shapeFlag&6&&e.component?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 s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Fragment?(o.patchFlag&128&&r++,s=s.concat(getTransitionRawChildren(o.children,t,a))):(t||o.type!==Comment)&&s.push(a!=null?cloneVNode(o,{key:a}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function defineComponent(e,t){return isFunction(e)?extend({name:e.name},t,{setup:e}):e}const isAsyncWrapper=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(e){isFunction(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:a}=e;let l=null,c,u=0;const d=()=>(u++,l=null,f()),f=()=>{let g;
vendor: 15,317 bytes, line 16
16return l||(g=l=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),a)return new Promise((T,R)=>{a(y,()=>T(d()),()=>R(y),u+1)});throw y}).then(y=>g!==l&&l?l:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),c=y,y)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const g=currentInstance;if(c)return()=>createInnerComp(c,g);const y=C=>{l=null,handleError(C,g,13,!s)};if(o&&g.suspense||isInSSRComponentSetup)return f().then(C=>()=>createInnerComp(C,g)).catch(C=>(y(C),()=>s?createVNode(s,{error:C}):null));const T=ref(!1),R=ref(),I=ref(!!r);return r&&setTimeout(()=>{I.value=!1},r),i!=null&&setTimeout(()=>{if(!T.value&&!R.value){const C=new Error(`Async component timed out after ${i}ms.`);y(C),R.value=C}},i),f().then(()=>{T.value=!0,g.parent&&isKeepAlive(g.parent.vnode)&&(g.parent.effect.dirty=!0,queueJob(g.parent.update))}).catch(C=>{y(C),R.value=C}),()=>{if(T.value&&c)return createInnerComp(c,g);if(R.value&&s)return createVNode(s,{error:R.value});if(n&&!I.value)return createVNode(n)}}})}function createInnerComp(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=createVNode(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}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(),s=n.ctx;if(!s.renderer)return()=>{const C=t.default&&t.default();return C&&C.length===1?C[0]:C};const r=new Map,i=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=s,f=d("div");s.activate=(C,S,b,v,x)=>{const P=C.component;c(C,S,b,0,a),l(P.vnode,C,S,b,P,a,v,C.slotScopeIds,x),queuePostRenderEffect(()=>{P.isDeactivated=!1,P.a&&invokeArrayFns(P.a);const _=C.props&&C.props.onVnodeMounted;_&&invokeVNodeHook(_,P.parent,C)},a)},s.deactivate=C=>{const S=C.component;c(C,f,null,1,a),queuePostRenderEffect(()=>{S.da&&invokeArrayFns(S.da);const b=C.props&&C.props.onVnodeUnmounted;b&&invokeVNodeHook(b,S.parent,C),S.isDeactivated=!0},a)};function g(C){resetShapeFlag(C),u(C,n,a,!0)}function y(C){r.forEach((S,b)=>{const v=getComponentName(S.type);v&&(!C||!C(v))&&T(b)})}function T(C){const S=r.get(C);!o||!isSameVNodeType(S,o)?g(S):o&&resetShapeFlag(o),r.delete(C),i.delete(C)}watch(()=>[e.include,e.exclude],([C,S])=>{C&&y(b=>matches(C,b)),S&&y(b=>!matches(S,b))},{flush:"post",deep:!0});let R=null;const I=()=>{R!=null&&r.set(R,getInnerChild(n.subTree))};return onMounted(I),onUpdated(I),onBeforeUnmount(()=>{r.forEach(C=>{const{subTree:S,suspense:b}=n,v=getInnerChild(S);if(C.type===v.type&&C.key===v.key){resetShapeFlag(v);const x=v.component.da;x&&queuePostRenderEffect(x,b);return}g(C)})}),()=>{if(R=null,!t.default)return null;const C=t.default(),S=C[0];if(C.length>1)return o=null,C;if(!isVNode(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return o=null,S;let b=getInnerChild(S);const v=b.type,x=getComponentName(isAsyncWrapper(b)?b.type.__asyncResolved||{}:v),{include:P,exclude:_,max:O}=e;if(P&&(!x||!matches(P,x))||_&&x&&matches(_,x))return o=b,S;const N=b.key==null?v:b.key,w=r.get(N);return b.el&&(b=cloneVNode(b),S.shapeFlag&128&&(S.ssContent=b)),R=N,w?(b.el=w.el,b.component=w.component,b.transition&&setTransitionHooks(b,b.transition),b.shapeFlag|=512,i.delete(N),i.add(N)):(i.add(N),O&&i.size>parseInt(O,10)&&T(i.values().next().value)),b.shapeFlag|=256,o=b,isSuspense(S.type)?S:b}}},KeepAlive=KeepAliveImpl;function matches(e,t){return isArray(e)?e.some(n=>matches(n,t)):isString(e)?e.split(",").includes(t):isRegExp(e)?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 s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(injectHook(t,s,n),n){let r=n.parent;for(;r&&r.parent;)isKeepAlive(r.parent.vnode)&&injectToKeepAliveRoot(s,t,n,r),r=r.parent}}function injectToKeepAliveRoot(e,t,n,s){const r=injectHook(t,e,s,!0);onUnmounted(()=>{remove(s[t],r)},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,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;pauseTracking();const a=setCurrentInstance(n),l=callWithAsyncErrorHandling(t,n,e,o);return a(),resetTracking(),l});return s?r.unshift(i):r.push(i),i}}const createHook=e=>(t,n=currentInstance)=>(!isInSSRComponentSetup||e==="sp")&&injectHook(e,(...s)=>t(...s),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)}function renderList(e,t,n,s){let r;const i=n&&n[s];if(isArray(e)||isString(e)){r=new Array(e.length);for(let o=0,a=e.length;o<a;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(isObject(e))if(e[Symbol.iterator])r=Array.from(e,(o,a)=>t(o,a,void 0,i&&i[a]));else{const o=Object.keys(e);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];r[a]=t(e[c],c,a,i&&i[a])}}else r=[];return n&&(n[s]=r),r}function createSlots(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(isArray(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function renderSlot(e,t,n={},s,r){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.isCE)return t!=="default"&&(n.name=t),createVNode("slot",n,s&&s());let i=e[t];i&&i._c&&(i._d=!1),openBlock();const o=i&&ensureValidVNode(i(n)),a=createBlock(Fragment,{key:n.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&e._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function ensureValidVNode(e){return e.some(t=>isVNode(t)?!(t.type===Comment||t.type===Fragment&&!ensureValidVNode(t.children)):!0)?e:null}function toHandlers(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:toHandlerKey(s)]=e[s];return n}const getPublicInstance=e=>e?isStatefulComponent(e)?getExposeProxy(e)||e.proxy: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),$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,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(e,t),PublicInstanceProxyHandlers={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(hasSetupBinding(s,t))return o[t]=1,s[t];if(r!==EMPTY_OBJ&&hasOwn(r,t))return o[t]=2,r[t];if((c=e.propsOptions[0])&&hasOwn(c,t))return o[t]=3,i[t];if(n!==EMPTY_OBJ&&hasOwn(n,t))return o[t]=4,n[t];shouldCacheAccess&&(o[t]=0)}}const u=publicPropertiesMap[t];let d,f;if(u)return t==="$attrs"&&track(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==EMPTY_OBJ&&hasOwn(n,t))return o[t]=4,n[t];if(f=l.config.globalProperties,hasOwn(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return hasSetupBinding(r,t)?(r[t]=n,!0):s!==EMPTY_OBJ&&hasOwn(s,t)?(s[t]=n,!0):hasOwn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let a;return!!n[o]||e!==EMPTY_OBJ&&hasOwn(e,o)||hasSetupBinding(t,o)||(a=i[0])&&hasOwn(a,o)||hasOwn(s,o)||hasOwn(publicPropertiesMap,o)||hasOwn(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:hasOwn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(e,t){if(t!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(e,t,e)},has(e,t){return t[0]!=="_"&&!isGloballyAllowed(t)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(e){}function defineOptions(e){}function defineSlots(){return null}function defineModel(){}function withDefaults(e,t){return null}function useSlots(){return getContext().slots}function useAttrs(){return getContext().attrs}function getContext(){const e=getCurrentInstance();return e.setupContext||(e.setupContext=createSetupContext(e))}function normalizePropsOrEmits(e){return isArray(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function mergeDefaults(e,t){const n=normalizePropsOrEmits(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?isArray(r)||isFunction(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function mergeModels(e,t){return!e||!t?e||t:isArray(e)&&isArray(t)?e.concat(t):extend({},normalizePropsOrEmits(e),normalizePropsOrEmits(t))}function createPropsRestProxy(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function withAsyncContext(e){const t=getCurrentInstance();let n=e();return unsetCurrentInstance(),isPromise(n)&&(n=n.catch(s=>{throw setCurrentInstance(t),s})),[n,()=>setCurrentInstance(t)]}let shouldCacheAccess=!0;function applyOptions(e){const t=resolveMergedOptions(e),n=e.proxy,s=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:g,updated:y,activated:T,deactivated:R,beforeDestroy:I,beforeUnmount:C,destroyed:S,unmounted:b,render:v,renderTracked:x,renderTriggered:P,errorCaptured:_,serverPrefetch:O,expose:N,inheritAttrs:w,components:k,directives:M,filters:z}=t;if(c&&resolveInjections(c,s,null),o)for(const W in o){const B=o[W];isFunction(B)&&(s[W]=B.bind(n))}if(r){const W=r.call(n,n);isObject(W)&&(e.data=reactive(W))}if(shouldCacheAccess=!0,i)for(const W in i){const B=i[W],te=isFunction(B)?B.bind(n,n):isFunction(B.get)?B.get.bind(n,n):NOOP,re=!isFunction(B)&&isFunction(B.set)?B.set.bind(n):NOOP,oe=computed({get:te,set:re});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>oe.value,set:le=>oe.value=le})}if(a)for(const W in a)createWatcher(a[W],s,n,W);if(l){const W=isFunction(l)?l.call(n):l;Reflect.ownKeys(W).forEach(B=>{provide(B,W[B])})}u&&callHook$1(u,e,"c");function F(W,B){isArray(B)?B.forEach(te=>W(te.bind(n))):B&&W(B.bind(n))}if(F(onBeforeMount,d),F(onMounted,f),F(onBeforeUpdate,g),F(onUpdated,y),F(onActivated,T),F(onDeactivated,R),F(onErrorCaptured,_),F(onRenderTracked,x),F(onRenderTriggered,P),F(onBeforeUnmount,C),F(onUnmounted,b),F(onServerPrefetch,O),isArray(N))if(N.length){const W=e.exposed||(e.exposed={});N.forEach(B=>{Object.defineProperty(W,B,{get:()=>n[B],set:te=>n[B]=te})})}else e.exposed||(e.exposed={});v&&e.render===NOOP&&(e.render=v),w!=null&&(e.inheritAttrs=w),k&&(e.components=k),M&&(e.directives=M)}function resolveInjections(e,t,n=NOOP){isArray(e)&&(e=normalizeInject(e));for(const s in e){const r=e[s];let i;isObject(r)?"default"in r?i=inject(r.from||s,r.default,!0):i=inject(r.from||s):i=inject(r),isRef(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function callHook$1(e,t,n){callWithAsyncErrorHandling(isArray(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function createWatcher(e,t,n,s){const r=s.includes(".")?createPathGetter(n,s):()=>n[s];if(isString(e)){const i=t[e];isFunction(i)&&watch(r,i)}else if(isFunction(e))watch(r,e.bind(n));else if(isObject(e))if(isArray(e))e.forEach(i=>createWatcher(i,t,n,s));else{const i=isFunction(e.handler)?e.handler.bind(n):t[e.handler];isFunction(i)&&watch(r,i,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(c=>mergeOptions(l,c,o,!0)),mergeOptions(l,t,o)),isObject(t)&&i.set(t,l),l}function mergeOptions(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&mergeOptions(e,i,n,!0),r&&r.forEach(o=>mergeOptions(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const a=internalOptionMergeStrats[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend(isFunction(e)?e.call(this,this):e,isFunction(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mergeAsArray$1(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(e)&&isArray(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 s in t)n[s]=mergeAsArray$1(e[s],t[s]);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(s,r=null){isFunction(s)||(s=extend({},s)),r!=null&&!isObject(r)&&(r=null);const i=createAppContext(),o=new WeakSet;let a=!1;const l=i.app={_uid:uid$1++,_component:s,_props:r,_container:null,_context:i,_instance:null,version,get config(){return i.config},set config(c){},use(c,...u){return o.has(c)||(c&&isFunction(c.install)?(o.add(c),c.install(l,...u)):isFunction(c)&&(o.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]}
16,mount(c,u,d){if(!a){const f=createVNode(s,r);return f.appContext=i,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(f,c):e(f,c,d),a=!0,l._container=c,c.__vue_app__=l,getExposeProxy(f.component)||f.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l},runWithContext(c){const u=currentApp;currentApp=l;try{return c()}finally{currentApp=u}}};return l}}let currentApp=null;function provide(e,t){if(currentInstance){let n=currentInstance.provides;const s=currentInstance.parent&&currentInstance.parent.provides;s===n&&(n=currentInstance.provides=Object.create(s)),n[e]=t}}function inject(e,t,n=!1){const s=currentInstance||currentRenderingInstance;if(s||currentApp){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:currentApp._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&isFunction(t)?t.call(s&&s.proxy):t}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps(e,t,n,s=!1){const r={},i={};def(i,InternalObjectKey,1),e.propsDefaults=Object.create(null),setFullProps(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:shallowReactive(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function updateProps(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,a=toRaw(r),[l]=e.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(isEmitListener(e.emitsOptions,f))continue;const g=t[f];if(l)if(hasOwn(i,f))g!==i[f]&&(i[f]=g,c=!0);else{const y=camelize(f);r[y]=resolvePropValue(l,a,y,g,e,!1)}else g!==i[f]&&(i[f]=g,c=!0)}}}else{setFullProps(e,t,r,i)&&(c=!0);let u;for(const d in a)(!t||!hasOwn(t,d)&&((u=hyphenate(d))===d||!hasOwn(t,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=resolvePropValue(l,a,d,void 0,e,!0)):delete r[d]);if(i!==a)for(const d in i)(!t||!hasOwn(t,d))&&(delete i[d],c=!0)}c&&trigger(e,"set","$attrs")}function setFullProps(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(isReservedProp(l))continue;const c=t[l];let u;r&&hasOwn(r,u=camelize(l))?!i||!i.includes(u)?n[u]=c:(a||(a={}))[u]=c:isEmitListener(e.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,o=!0)}if(i){const l=toRaw(n),c=a||EMPTY_OBJ;for(let u=0;u<i.length;u++){const d=i[u];n[d]=resolvePropValue(r,l,d,c[d],e,!hasOwn(c,d))}}return o}function resolvePropValue(e,t,n,s,r,i){const o=e[n];if(o!=null){const a=hasOwn(o,"default");if(a&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&isFunction(l)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const u=setCurrentInstance(r);s=c[n]=l.call(null,t),u()}}else s=l}o[0]&&(i&&!a?s=!1:o[1]&&(s===""||s===hyphenate(n))&&(s=!0))}return s}function normalizePropsOptions(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},a=[];let l=!1;if(!isFunction(e)){const u=d=>{l=!0;const[f,g]=normalizePropsOptions(d,t,!0);extend(o,f),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return isObject(e)&&s.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray(i))for(let u=0;u<i.length;u++){const d=camelize(i[u]);validatePropName(d)&&(o[d]=EMPTY_OBJ)}else if(i)for(const u in i){const d=camelize(u);if(validatePropName(d)){const f=i[u],g=o[d]=isArray(f)||isFunction(f)?{type:f}:extend({},f);if(g){const y=getTypeIndex(Boolean,g.type),T=getTypeIndex(String,g.type);g[0]=y>-1,g[1]=T<0||y<T,(y>-1||hasOwn(g,"default"))&&a.push(d)}}}const c=[o,a];return isObject(e)&&s.set(e,c),c}function validatePropName(e){return e[0]!=="$"&&!isReservedProp(e)}function getType(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function isSameType(e,t){return getType(e)===getType(t)}function getTypeIndex(e,t){return isArray(t)?t.findIndex(n=>isSameType(n,e)):isFunction(t)&&isSameType(t,e)?0:-1}const isInternalKey=e=>e[0]==="_"||e==="$stable",normalizeSlotValue=e=>isArray(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot=(e,t,n
16)=>{if(t._n)return t;const s=withCtx((...r)=>normalizeSlotValue(t(...r)),n);return s._c=!1,s},normalizeObjectSlots=(e,t,n)=>{const s=e._ctx;for(const r in e){if(isInternalKey(r))continue;const i=e[r];if(isFunction(i))t[r]=normalizeSlot(r,i,s);else if(i!=null){const o=normalizeSlotValue(i);t[r]=()=>o}}},normalizeVNodeSlots=(e,t)=>{const n=normalizeSlotValue(t);e.slots.default=()=>n},initSlots=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=toRaw(t),def(t,"_",n)):normalizeObjectSlots(t,e.slots={})}else e.slots={},t&&normalizeVNodeSlots(e,t);def(e.slots,InternalObjectKey,1)},updateSlots=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=EMPTY_OBJ;if(s.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(extend(r,t),!n&&a===1&&delete r._):(i=!t.$stable,normalizeObjectSlots(t,r)),o=t}else t&&(normalizeVNodeSlots(e,t),o={default:1});if(i)for(const a in r)!isInternalKey(a)&&o[a]==null&&delete r[a]};function setRef(e,t,n,s,r=!1){if(isArray(e)){e.forEach((f,g)=>setRef(f,t&&(isArray(t)?t[g]:t),n,s,r));return}if(isAsyncWrapper(s)&&!r)return;const i=s.shapeFlag&4?getExposeProxy(s.component)||s.component.proxy:s.el,o=r?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===EMPTY_OBJ?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(isString(c)?(u[c]=null,hasOwn(d,c)&&(d[c]=null)):isRef(c)&&(c.value=null)),isFunction(l))callWithErrorHandling(l,a,12,[o,u]);else{const f=isString(l),g=isRef(l);if(f||g){const y=()=>{if(e.f){const T=f?hasOwn(d,l)?d[l]:u[l]:l.value;r?isArray(T)&&remove(T,i):isArray(T)?T.includes(i)||T.push(i):f?(u[l]=[i],hasOwn(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=o,hasOwn(d,l)&&(d[l]=o)):g&&(l.value=o,e.k&&(u[e.k]=o))};o?(y.id=-1,queuePostRenderEffect(y,n)):y()}}}let hasMismatch=!1;const isSVGContainer=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",isMathMLContainer=e=>e.namespaceURI.includes("MathML"),getContainerType=e=>{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:s,createText:r,nextSibling:i,parentNode:o,remove:a,insert:l,createComment:c}}=e,u=(S,b)=>{if(!b.hasChildNodes()){n(null,S,b),flushPostFlushCbs(),b._vnode=S;return}hasMismatch=!1,d(b.firstChild,S,null,null,null),flushPostFlushCbs(),b._vnode=S,hasMismatch&&console.error("Hydration completed but contains mismatches.")},d=(S,b,v,x,P,_=!1)=>{const O=isComment(S)&&S.data==="[",N=()=>T(S,b,v,x,P,O),{type:w,ref:k,shapeFlag:M,patchFlag:z}=b;let q=S.nodeType;b.el=S,z===-2&&(_=!1,b.dynamicChildren=null);let F=null;switch(w){case Text:q!==3?b.children===""?(l(b.el=r(""),o(S),S),F=S):F=N():(S.data!==b.children&&(hasMismatch=!0,S.data=b.children),F=i(S));break;case Comment:C(S)?(F=i(S),I(b.el=S.content.firstChild,S,v)):q!==8||O?F=N():F=i(S);break;case Static:if(O&&(S=i(S),q=S.nodeType),q===1||q===3){F=S;const W=!b.children.length;for(let B=0;B<b.staticCount;B++)W&&(b.children+=F.nodeType===1?F.outerHTML:F.data),B===b.staticCount-1&&(b.anchor=F),F=i(F);return O?i(F):F}else N();break;case Fragment:O?F=y(S,b,v,x,P,_):F=N();break;default:if(M&1)(q!==1||b.type.toLowerCase()!==S.tagName.toLowerCase())&&!C(S)?F=N():F=f(S,b,v,x,P,_);else if(M&6){b.slotScopeIds=P;const W=o(S);if(O?F=R(S):isComment(S)&&S.data==="teleport start"?F=R(S,S.data,"teleport end"):F=i(S),t(b,W,null,v,x,getContainerType(W),_),isAsyncWrapper(b)){let B;O?(B=createVNode(Fragment),B.anchor=F?F.previousSibling:W.lastChild):B=S.nodeType===3?createTextVNode(""):createVNode("div"),B.el=S,b.component.subTree=B}}else M&64?q!==8?F=N():F=b.type.hydrate(S,b,v,x,P,_,e,g):M&128&&(F=b.type.hydrate(S,b,v,x,getContainerType(o(S)),P,_,e,d))}return k!=null&&setRef(k,null,x,b),F},f=(S,b,v,x,P,_)=>{_=_||!!b.dynamicChildren;const{type:O,props:N,patchFlag:w,shapeFlag:k,dirs:M,transition:z}=b,q=O==="input"||O==="option";if(q||w!==-1){M&&invokeDirectiveHook(b,null,v,"created");let F=!1;if(C(S)){F=needTransition(x,z)&&v&&v.vnode.props&&v.vnode.props.appear;const B=S.content.firstChild;F&&z.beforeEnter(B),I(B,S,v),b.el=S=B}if(k&16&&!(N&&(N.innerHTML||N.textContent))){let B=g(S.firstChild,b,S,v,x,P,_);for(;B;){hasMismatch=!0;const te=B;B=B.nextSibling,a(te)}}else k&8&&S.textContent!==b.children&&(hasMismatch=!0,S.textContent=b.children);if(N)if(q||!_||w&48)for(const B in N)(q&&(B.endsWith("value")||B==="indeterminate")||isOn(B)&&!isReservedProp(B)||B[0]===".")&&s(S,B,null,N[B],void 0,void 0,v);else N.onClick&&s(S,"onClick",null,N.onClick,void 0,void 0,v);let W;(W=N&&N.onVnodeBeforeMount)&&invokeVNodeHook(W,v,b),M&&invokeDirectiveHook(b,null,v,"beforeMount"),((W=N&&N.onVnodeMounted)||M||F)&&queueEffectWithSuspense(()=>{W&&invokeVNodeHook(W,v,b),F&&z.enter(S),M&&invokeDirectiveHook(b,null,v,"mounted")},x)}return S.nextSibling},g=(S,b,v,x,P,_,O)=>{O=O||!!b.dynamicChildren;const N=b.children,w=N.length;for(let k=0;k<w;k++){const M=O?N[k]:N[k]=normalizeVNode(N[k]);if(S)S=d(S,M,x,P,_,O);else{if(M.type===Text&&!M.children)continue;hasMismatch=!0,n(null,M,v,null,x,P,getContainerType(v),_)}}return S},y=(S,b,v,x,P,_)=>{const{slotScopeIds:O}=b;O&&(P=P?P.concat(O):O);const N=o(S),w=g(i(S),b,N,v,x,P,_);return w&&isComment(w)&&w.data==="]"?i(b.anchor=w):(hasMismatch=!0,l(b.anchor=c("]"),N,w),w)},T=(S,b,v,x,P,_)=>{if(hasMismatch=!0,b.el=null,_){const w=R(S);for(;;){const k=i(S);if(k&&k!==w)a(k);else break}}const O=i(S),N=o(S);return a(S),n(null,b,N,O,v,x,getContainerType(N),P),O},R=(S,b="[",v="]")=>{let x=0;for(;S;)if(S=i(S),S&&isComment(S)&&(S.data===b&&x++,S.data===v)){if(x===0)return i(S);x--}return S},I=(S,b,v)=>{const x=b.parentNode;x&&x.replaceChild(S,b);let P=v;for(;P;)P.vnode.el===b&&(P.vnode.el=P.subTree.el=S),P=P.parent},C=S=>S.nodeType===1&&S.tagName.toLowerCase()==="template";return[u,d]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function createHydrationRenderer(e){return baseCreateRenderer(e,createHydrationFunctions)}function baseCreateRenderer(e,t){const n=getGlobalThis();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:g=NOOP,insertStaticContent:y}=e,T=(m,E,A,L=null,V=null,K=null,U=void 0,$=null,j=!!E.dynamicChildren)=>{if(m===E)return;m&&!isSameVNodeType(m,E)&&(L=ye(m),le(m,V,K,!0),m=null),E.patchFlag===-2&&(j=!1,E.dynamicChildren=null);const{type:D,ref:G,shapeFlag:J}=E;switch(D){case Text:R(m,E,A,L);break;case Comment:I(m,E,A,L);break;
vendor: 5,533 bytes, line 16
16case Static:m==null&&C(E,A,L,U);break;case Fragment:k(m,E,A,L,V,K,U,$,j);break;default:J&1?v(m,E,A,L,V,K,U,$,j):J&6?M(m,E,A,L,V,K,U,$,j):(J&64||J&128)&&D.process(m,E,A,L,V,K,U,$,j,fe)}G!=null&&V&&setRef(G,m&&m.ref,K,E||m,!E)},R=(m,E,A,L)=>{if(m==null)s(E.el=a(E.children),A,L);else{const V=E.el=m.el;E.children!==m.children&&c(V,E.children)}},I=(m,E,A,L)=>{m==null?s(E.el=l(E.children||""),A,L):E.el=m.el},C=(m,E,A,L)=>{[m.el,m.anchor]=y(m.children,E,A,L,m.el,m.anchor)},S=({el:m,anchor:E},A,L)=>{let V;for(;m&&m!==E;)V=f(m),s(m,A,L),m=V;s(E,A,L)},b=({el:m,anchor:E})=>{let A;for(;m&&m!==E;)A=f(m),r(m),m=A;r(E)},v=(m,E,A,L,V,K,U,$,j)=>{E.type==="svg"?U="svg":E.type==="math"&&(U="mathml"),m==null?x(E,A,L,V,K,U,$,j):O(m,E,V,K,U,$,j)},x=(m,E,A,L,V,K,U,$)=>{let j,D;const{props:G,shapeFlag:J,transition:Y,dirs:Z}=m;if(j=m.el=o(m.type,K,G&&G.is,G),J&8?u(j,m.children):J&16&&_(m.children,j,null,L,V,resolveChildrenNamespace(m,K),U,$),Z&&invokeDirectiveHook(m,null,L,"created"),P(j,m,m.scopeId,U,L),G){for(const ee in G)ee!=="value"&&!isReservedProp(ee)&&i(j,ee,null,G[ee],K,m.children,L,V,ne);"value"in G&&i(j,"value",null,G.value,K),(D=G.onVnodeBeforeMount)&&invokeVNodeHook(D,L,m)}Z&&invokeDirectiveHook(m,null,L,"beforeMount");const X=needTransition(V,Y);X&&Y.beforeEnter(j),s(j,E,A),((D=G&&G.onVnodeMounted)||X||Z)&&queuePostRenderEffect(()=>{D&&invokeVNodeHook(D,L,m),X&&Y.enter(j),Z&&invokeDirectiveHook(m,null,L,"mounted")},V)},P=(m,E,A,L,V)=>{if(A&&g(m,A),L)for(let K=0;K<L.length;K++)g(m,L[K]);if(V){let K=V.subTree;if(E===K){const U=V.vnode;P(m,U,U.scopeId,U.slotScopeIds,V.parent)}}},_=(m,E,A,L,V,K,U,$,j=0)=>{for(let D=j;D<m.length;D++){const G=m[D]=$?cloneIfMounted(m[D]):normalizeVNode(m[D]);T(null,G,E,A,L,V,K,U,$)}},O=(m,E,A,L,V,K,U)=>{const $=E.el=m.el;let{patchFlag:j,dynamicChildren:D,dirs:G}=E;j|=m.patchFlag&16;const J=m.props||EMPTY_OBJ,Y=E.props||EMPTY_OBJ;let Z;if(A&&toggleRecurse(A,!1),(Z=Y.onVnodeBeforeUpdate)&&invokeVNodeHook(Z,A,E,m),G&&invokeDirectiveHook(E,m,A,"beforeUpdate"),A&&toggleRecurse(A,!0),D?N(m.dynamicChildren,D,$,A,L,resolveChildrenNamespace(E,V),K):U||B(m,E,$,null,A,L,resolveChildrenNamespace(E,V),K,!1),j>0){if(j&16)w($,E,J,Y,A,L,V);else if(j&2&&J.class!==Y.class&&i($,"class",null,Y.class,V),j&4&&i($,"style",J.style,Y.style,V),j&8){const X=E.dynamicProps;for(let ee=0;ee<X.length;ee++){const se=X[ee],ie=J[se],de=Y[se];(de!==ie||se==="value")&&i($,se,ie,de,V,m.children,A,L,ne)}}j&1&&m.children!==E.children&&u($,E.children)}else!U&&D==null&&w($,E,J,Y,A,L,V);((Z=Y.onVnodeUpdated)||G)&&queuePostRenderEffect(()=>{Z&&invokeVNodeHook(Z,A,E,m),G&&invokeDirectiveHook(E,m,A,"updated")},L)},N=(m,E,A,L,V,K,U)=>{for(let $=0;$<E.length;$++){const j=m[$],D=E[$],G=j.el&&(j.type===Fragment||!isSameVNodeType(j,D)||j.shapeFlag&70)?d(j.el):A;T(j,D,G,null,L,V,K,U,!0)}},w=(m,E,A,L,V,K,U)=>{if(A!==L){if(A!==EMPTY_OBJ)for(const $ in A)!isReservedProp($)&&!($ in L)&&i(m,$,A[$],null,U,E.children,V,K,ne);for(const $ in L){if(isReservedProp($))continue;const j=L[$],D=A[$];j!==D&&$!=="value"&&i(m,$,D,j,U,E.children,V,K,ne)}"value"in L&&i(m,"value",A.value,L.value,U)}},k=(m,E,A,L,V,K,U,$,j)=>{const D=E.el=m?m.el:a(""),G=E.anchor=m?m.anchor:a("");let{patchFlag:J,dynamicChildren:Y,slotScopeIds:Z}=E;Z&&($=$?$.concat(Z):Z),m==null?(s(D,A,L),s(G,A,L),_(E.children||[],A,G,V,K,U,$,j)):J>0&&J&64&&Y&&m.dynamicChildren?(N(m.dynamicChildren,Y,A,V,K,U,$),(E.key!=null||V&&E===V.subTree)&&traverseStaticChildren(m,E,!0)):B(m,E,A,G,V,K,U,$,j)},M=(m,E,A,L,V,K,U,$,j)=>{E.slotScopeIds=$,m==null?E.shapeFlag&512?V.ctx.activate(E,A,L,U,j):z(E,A,L,V,K,U,j):q(m,E,j)},z=(m,E,A,L,V,K,U)=>{const $=m.component=createComponentInstance(m,L,V);if(isKeepAlive(m)&&($.ctx.renderer=fe),setupComponent($),$.asyncDep){if(V&&V.registerDep($,F),!m.el){const j=$.subTree=createVNode(Comment);I(null,j,E,A)}}else F($,m,E,A,V,K,U)},q=(m,E,A)=>{const L=E.component=m.component;if(shouldUpdateComponent(m,E,A))if(L.asyncDep&&!L.asyncResolved){W(L,E,A);return}else L.next=E,invalidateJob(L.update),L.effect.dirty=!0,L.update();else E.el=m.el,L.vnode=E},F=(m,E,A,L,V,K,U)=>{const $=()=>{if(m.isMounted){let{next:G,bu:J,u:Y,parent:Z,vnode:X}=m;{const Se=locateNonHydratedAsyncRoot(m);if(Se){G&&(G.el=X.el,W(m,G,U)),Se.asyncDep.then(()=>{m.isUnmounted||$()});return}}let ee=G,se;toggleRecurse(m,!1),G?(G.el=X.el,W(m,G,U)):G=X,J&&invokeArrayFns(J),(se=G.props&&G.props.onVnodeBeforeUpdate)&&invokeVNodeHook(se,Z,G,X),toggleRecurse(m,!0);const ie=renderComponentRoot(m),de=m.subTree;m.subTree=ie,T(de,ie,d(de.el),ye(de),m,V,K),G.el=ie.el,ee===null&&updateHOCHostEl(m,ie.el),Y&&queuePostRenderEffect(Y,V),(se=G.props&&G.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(se,Z,G,X),V)}else{let G;const{el:J,props:Y}=E,{bm:Z,m:X,parent:ee}=m,se=isAsyncWrapper(E);if(toggleRecurse(m,!1),Z&&invokeArrayFns(Z),!se&&(G=Y&&Y.onVnodeBeforeMount)&&invokeVNodeHook(G,ee,E),toggleRecurse(m,!0),J&&ge){const ie=()=>{m.subTree=renderComponentRoot(m),ge(J,m.subTree,m,V,null)};se?E.type.__asyncLoader().then(()=>!m.isUnmounted&&ie()):ie()}else{const ie=m.subTree=renderComponentRoot(m);T(null,ie,A,L,m,V,K),E.el=ie.el}if(X&&queuePostRenderEffect(X,V),!se&&(G=Y&&Y.onVnodeMounted)){const ie=E;queuePostRenderEffect(()=>invokeVNodeHook(G,ee,ie),V)}(E.shapeFlag&256||ee&&isAsyncWrapper(ee.vnode)&&ee.vnode.shapeFlag&256)&&m.a&&queuePostRenderEffect(m.a,V),m.isMounted=!0,E=A=L=null}},j=m.effect=new ReactiveEffect($,NOOP,()=>queueJob(D),m.scope),D=m.update=()=>{j.dirty&&j.run()};D.id=m.uid,toggleRecurse(m,!0),D()},W=(m,E,A)=>{E.component=m;
16const L=m.vnode.props;m.vnode=E,m.next=null,updateProps(m,E.props,L,A),updateSlots(m,E.children,A),pauseTracking(),flushPreFlushCbs(m),resetTracking()},B=(m,E,A,L,V,K,U,$,j=!1)=>{const D=m&&m.children,G=m?m.shapeFlag:0,J=E.children,{patchFlag:Y,shapeFlag:Z}=E;if(Y>0){if(Y&128){re(D,J,A,L,V,K,U,$,j);return}else if(Y&256){te(D,J,A,L,V,K,U,$,j);return}}Z&8?(G&16&&ne(D,V,K),J!==D&&u(A,J)):G&16?Z&16?re(D,J,A,L,V,K,U,$,j):ne(D,V,K,!0):(G&8&&u(A,""),Z&16&&_(J,A,L,V,K,U,$,j))},te=(m,E,A,L,V,K,U,$,j)=>{m=m||EMPTY_ARR,E=E||EMPTY_ARR;const D=m.length,G=E.length,J=Math.min(D,G);let Y;for(Y=0;Y<J;Y++){const Z=E[Y]=j?cloneIfMounted(E[Y]):normalizeVNode(E[Y]);T(m[Y],Z,A,null,V,K,U,$,j)}D>G?ne(m,V,K,!0,!1,J):_(E,A,L,V,K,U,$,j,J)},re=(m,E,A,L,V,K,U,$,j)=>{let D=0;const G=E.length;let J=m.length-1,Y=G-1;for(;D<=J&&D<=Y;){const Z=m[D],X=E[D]=j?cloneIfMounted(E[D]):normalizeVNode(E[D]);if(isSameVNodeType(Z,X))T(Z,X,A,null,V,K,U,$,j);else break;D++}for(;D<=J&&D<=Y;){const Z=m[J],X=E[Y]=j?cloneIfMounted(E[Y]):normalizeVNode(E[Y]);if(isSameVNodeType(Z,X))T(Z,X,A,null,V,K,U,$,j);else break;J--,Y--}if(D>J){if(D<=Y){const Z=Y+1,X=Z<G?E[Z].el:L;for(;D<=Y;)T(null,E[D]=j?cloneIfMounted(E[D]):normalizeVNode(E[D]),A,X,V,K,U,$,j),D++}}else if(D>Y)for(;D<=J;)le(m[D],V,K,!0),D++;else{const Z=D,X=D,ee=new Map;for(D=X;D<=Y;D++){const ce=E[D]=j?cloneIfMounted(E[D]):normalizeVNode(E[D]);ce.key!=null&&ee.set(ce.key,D)}let se,ie=0;const de=Y-X+1;let Se=!1,be=0;const Ee=new Array(de);for(D=0;D<de;D++)Ee[D]=0;for(D=Z;D<=J;D++){const ce=m[D];if(ie>=de){le(ce,V,K,!0);continue}let pe;if(ce.key!=null)pe=ee.get(ce.key);else for(se=X;se<=Y;se++)if(Ee[se-X]===0&&isSameVNodeType(ce,E[se])){pe=se;break}pe===void 0?le(ce,V,K,!0):(Ee[pe-X]=D+1,pe>=be?be=pe:Se=!0,T(ce,E[pe],A,null,V,K,U,$,j),ie++)}const _e=Se?getSequence(Ee):EMPTY_ARR;for(se=_e.length-1,D=de-1;D>=0;D--){const ce=X+D,pe=E[ce],ve=ce+1<G?E[ce+1].el:L;Ee[D]===0?T(null,pe,A,ve,V,K,U,$,j):Se&&(se<0||D!==_e[se]?oe(pe,A,ve,2):se--)}}},oe=(m,E,A,L,V=null)=>{const{el:K,type:U,transition:$,children:j,shapeFlag:D}=m;if(D&6){oe(m.component.subTree,E,A,L);return}if(D&128){m.suspense.move(E,A,L);return}if(D&64){U.move(m,E,A,fe);return}if(U===Fragment){s(K,E,A);for(let J=0;J<j.length;J++)oe(j[J],E,A,L);s(m.anchor,E,A);return}if(U===Static){S(m,E,A);return}if(L!==2&&D&1&&$)if(L===0)$.beforeEnter(K),s(K,E,A),queuePostRenderEffect(()=>$.enter(K),V);else{const{leave:J,delayLeave:Y,afterLeave:Z}=$,X=()=>s(K,E,A),ee=()=>{J(K,()=>{X(),Z&&Z()})};Y?Y(K,X,ee):ee()}else s(K,E,A)},le=(m,E,A,L=!1,V=!1)=>{const{type:K,props:U,ref:$,children:j,dynamicChildren:D,shapeFlag:G,patchFlag:J,dirs:Y}=m;if($!=null&&setRef($,null,A,m,!0),G&256){E.ctx.deactivate(m);return}const Z=G&1&&Y,X=!isAsyncWrapper(m);let ee;if(X&&(ee=U&&U.onVnodeBeforeUnmount)&&invokeVNodeHook(ee,E,m),G&6)ae(m.component,A,L);else{if(G&128){m.suspense.unmount(A,L);return}Z&&invokeDirectiveHook(m,null,E,"beforeUnmount"),G&64?m.type.remove(m,E,A,V,fe,L):D&&(K!==Fragment||J>0&&J&64)?ne(D,E,A,!1,!0):(K===Fragment&&J&384||!V&&G&16)&&ne(j,E,A),L&&H(m)}(X&&(ee=U&&U.onVnodeUnmounted)||Z)&&queuePostRenderEffect(()=>{ee&&invokeVNodeHook(ee,E,m),Z&&invokeDirectiveHook(m,null,E,"unmounted")},A)},H=m=>{const{type:E,el:A,anchor:L,transition:V}=m;if(E===Fragment){Q(A,L);return}if(E===Static){b(m);return}const K=()=>{r(A),V&&!V.persisted&&V.afterLeave&&V.afterLeave()};if(m.shapeFlag&1&&V&&!V.persisted){const{leave:U,delayLeave:$}=V,j=()=>U(A,K);$?$(m.el,K,j):j()}else K()},Q=(m,E)=>{let A;for(;m!==E;)A=f(m),r(m),m=A;r(E)},ae=(m,E,A)=>{const{bum:L,scope:V,update:K,subTree:U,um:$}=m;L&&invokeArrayFns(L),V.stop(),K&&(K.active=!1,le(U,m,E,A)),$&&queuePostRenderEffect($,E),queuePostRenderEffect(()=>{m.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},ne=(m,E,A,L=!1,V=!1,K=0)=>{for(let U=K;U<m.length;U++)le(m[U],E,A,L,V)},ye=m=>m.shapeFlag&6?ye(m.component.subTree):m.shapeFlag&128?m.suspense.next():f(m.anchor||m.el);let ue=!1;const me=(m,E,A)=>{m==null?E._vnode&&le(E._vnode,null,null,!0):T(E._vnode||null,m,E,null,null,null,A),ue||(ue=!0,flushPreFlushCbs(),flushPostFlushCbs(),ue=!1),E._vnode=m},fe={p:T,um:le,m:oe,r:H,mt:z,mc:_,pc:B,pbc:N,n:ye,o:e};let he,ge;return t&&([he,ge]=t(fe)),{render:me,hydrate:he,createApp:createAppAPI(me,he)}}
16function 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,update:t},n){e.allowRecurse=t.allowRecurse=n}function needTransition(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(e,t,n=!1){const s=e.children,r=t.children;if(isArray(s)&&isArray(r))for(let i=0;i<s.length;i++){const o=s[i];let a=r[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[i]=cloneIfMounted(r[i]),a.el=o.el),n||traverseStaticChildren(o,a)),a.type===Text&&(a.el=o.el)}}function getSequence(e){const t=e.slice(),n=[0];let s,r,i,o,a;const l=e.length;for(s=0;s<l;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)a=i+o>>1,e[n[a]]<c?i=a+1:o=a;c<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function locateNonHydratedAsyncRoot(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}const isTeleport=e=>e.__isTeleport,isTeleportDisabled=e=>e&&(e.disabled||e.disabled===""),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(n)?t?t(n):null:n},TeleportImpl={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:g,querySelector:y,createText:T,createComment:R}}=c,I=isTeleportDisabled(t.props);let{shapeFlag:C,children:S,dynamicChildren:b}=t;if(e==null){const v=t.el=T(""),x=t.anchor=T("");g(v,n,s),g(x,n,s);const P=t.target=resolveTarget(t.props,y),_=t.targetAnchor=T("");P&&(g(_,P),o==="svg"||isTargetSVG(P)?o="svg":(o==="mathml"||isTargetMathML(P))&&(o="mathml"));const O=(N,w)=>{C&16&&u(S,N,w,r,i,o,a,l)};I?O(n,x):P&&O(P,_)}else{t.el=e.el;const v=t.anchor=e.anchor,x=t.target=e.target,P=t.targetAnchor=e.targetAnchor,_=isTeleportDisabled(e.props),O=_?n:x,N=_?v:P;if(o==="svg"||isTargetSVG(x)?o="svg":(o==="mathml"||isTargetMathML(x))&&(o="mathml"),b?(f(e.dynamicChildren,b,O,r,i,o,a),traverseStaticChildren(e,t,!0)):l||d(e,t,O,N,r,i,o,a,!1),I)_?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):moveTeleport(t,n,v,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const w=t.target=resolveTarget(t.props,y);w&&moveTeleport(t,w,null,c,0)}else _&&moveTeleport(t,x,P,c,1)}updateCssVars(t)},remove(e,t,n,s,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&i(u),o&&i(c),a&16){const g=o||!isTeleportDisabled(f);for(let y=0;y<l.length;y++){const T=l[y];r(T,t,n,g,!!T.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=e,d=i===2;if(d&&s(o,t,n),(!d||isTeleportDisabled(u))&&l&16)for(let f=0;f<c.length;f++)r(c[f],t,n,2);d&&s(a,t,n)}function hydrateTeleport(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:a,querySelector:l}},c){const u=t.target=resolveTarget(t.props,l);if(u){const d=u._lpa||u.firstChild;if(t.shapeFlag&16)if(isTeleportDisabled(t.props))t.anchor=c(o(e),t,a(e),n,s,r,i),t.targetAnchor=d;else{t.anchor=o(e);let f=d;for(;f;)if(f=o(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,u._lpa=t.targetAnchor&&o(t.targetAnchor);break}c(d,t,u,n,s,r,i)}updateCssVars(t)}return t.anchor&&o(t.anchor)}const Teleport=TeleportImpl;function updateCssVars(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}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}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,s,r,i){return setupBlock(createBaseVNode(e,t,n,s,r,i,!0))}function createBlock(e,t,n,s,r){return setupBlock(createVNode(e,t,n,s,r,!0))}function isVNode(e){return e?e.__v_isVNode===!0:!1}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}function transformVNodeArgs(e){}const InternalObjectKey="__vInternal",normalizeKey=({key:e})=>e??null,normalizeRef=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?isString(e)||isRef(e)||isFunction(e)?{i:currentRenderingInstance,r:e,k:t,f:!!n}:e:null);
vendor: 4,828 bytes, line 16
16function createBaseVNode(e,t=null,n=null,s=0,r=null,i=e===Fragment?0:1,o=!1,a=!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,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return a?(normalizeChildren(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=isString(n)?8:16),isBlockTreeEnabled>0&&!o&&currentBlock&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&currentBlock.push(l),l}const createVNode=_createVNode;function _createVNode(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===NULL_DYNAMIC_COMPONENT)&&(e=Comment),isVNode(e)){const a=cloneVNode(e,t,!0);return n&&normalizeChildren(a,n),isBlockTreeEnabled>0&&!i&&currentBlock&&(a.shapeFlag&6?currentBlock[currentBlock.indexOf(e)]=a:currentBlock.push(a)),a.patchFlag|=-2,a}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:a,style:l}=t;a&&!isString(a)&&(t.class=normalizeClass(a)),isObject(l)&&(isProxy(l)&&!isArray(l)&&(l=extend({},l)),t.style=normalizeStyle(l))}const o=isString(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject(e)?4:isFunction(e)?2:0;return createBaseVNode(e,t,n,s,r,o,i,!0)}function guardReactiveProps(e){return e?isProxy(e)||InternalObjectKey in e?extend({},e):e:null}function cloneVNode(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,a=t?mergeProps(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&normalizeKey(a),ref:t&&t.ref?n&&r?isArray(r)?r.concat(normalizeRef(t)):[r,normalizeRef(t)]:normalizeRef(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,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:e.transition,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}}function createTextVNode(e=" ",t=0){return createVNode(Text,null,e,t)}function createStaticVNode(e,t){const n=createVNode(Static,null,e);return n.staticCount=t,n}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(e)?createVNode(Fragment,null,e.slice()):typeof e=="object"?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:s}=e;if(t==null)t=null;else if(isArray(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),normalizeChildren(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(InternalObjectKey in t)?t._ctx=currentRenderingInstance:r===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else isFunction(t)?(t={default:t,_ctx:currentRenderingInstance},n=32):(t=String(t),s&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 s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=normalizeClass([t.class,s.class]));else if(r==="style")t.style=normalizeStyle([t.style,s.style]);else if(isOn(r)){const i=t[r],o=s[r];o&&i!==o&&!(isArray(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function invokeVNodeHook(e,t,n,s=null){callWithAsyncErrorHandling(e,t,7,[n,s])}const emptyAppContext=createAppContext();let uid=0;function createComponentInstance(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||emptyAppContext,i={uid:uid++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(s,r),emitsOptions:normalizeEmitsOptions(s,r),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:s.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,attrsProxy:null,slotsProxy: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,
16sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=emit.bind(null,i),e.ce&&e.ce(i),i}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const e=getGlobalThis(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};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){t&&setInSSRSetupState(t);const{props:n,children:s}=e.vnode,r=isStatefulComponent(e);initProps(e,n,r,t),initSlots(e,s);const i=r?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=markRaw(new Proxy(e.ctx,PublicInstanceProxyHandlers));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?createSetupContext(e):null,i=setCurrentInstance(e);pauseTracking();const o=callWithErrorHandling(s,e,0,[e.props,r]);if(resetTracking(),i(),isPromise(o)){if(o.then(unsetCurrentInstance,unsetCurrentInstance),t)return o.then(a=>{handleSetupResult(e,a,t)}).catch(a=>{handleError(a,e,0)});e.asyncDep=o}else handleSetupResult(e,o,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,n){isFunction(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,n)}let compile$1,installWithProxy;function registerRuntimeCompiler(e){compile$1=e,installWithProxy=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile$1;function finishComponentSetup(e,t,n){const s=e.type;if(!e.render){if(!t&&compile$1&&!s.render){const r=s.template||resolveMergedOptions(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,c=extend(extend({isCustomElement:i,delimiters:a},o),l);s.render=compile$1(r,c)}}e.render=s.render||NOOP,installWithProxy&&installWithProxy(e)}{const r=setCurrentInstance(e);pauseTracking();try{applyOptions(e)}finally{resetTracking(),r()}}}function getAttrsProxy(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return track(e,"get","$attrs"),t[n]}}))}function createSetupContext(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return getAttrsProxy(e)},slots:e.slots,emit:e.emit,expose:t}}function getExposeProxy(e){if(e.exposed)return 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}}))}const classifyRE=/(?:^|[-_])(\w)/g,classify=e=>e.replace(classifyRE,t=>t.toUpperCase()).replace(/[-_]/g,"");function getComponentName(e,t=!0){return isFunction(e)?e.displayName||e.name:e.name||t&&e.__name}function formatComponentName(e,t,n=!1){let s=getComponentName(t);if(!s&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&e&&e.parent){const r=i=>{for(const o in i)if(i[o]===t)return o};s=r(e.components||e.parent.type.components)||r(e.appContext.components)}return s?classify(s):n?"App":"Anonymous"}function isClassComponent(e){return isFunction(e)&&"__vccOpts"in e}const computed=(e,t)=>computed$1(e,t,isInSSRComponentSetup);function useModel(e,t,n=EMPTY_OBJ){const s=getCurrentInstance(),r=camelize(t),i=hyphenate(t),o=customRef((l,c)=>{let u;return watchSyncEffect(()=>{const d=e[t];hasChanged(u,d)&&(u=d,c())}),{get(){return l(),n.get?n.get(u):u},set(d){const f=s.vnode.props;!(f&&(t in f||r in f||i in f)&&(`onUpdate:${t}`in f||`onUpdate:${r}`in f||`onUpdate:${i}`in f))&&hasChanged(d,u)&&(u=d,c()),s.emit(`update:${t}`,n.set?n.set(d):d)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return o[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?e[a]||{}:o,done:!1}:{done:!0}}}},o}function h(e,t,n){const s=arguments.length;return s===2?isObject(t)&&!isArray(t)?isVNode(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&isVNode(n)&&(n=[n]),createVNode(e,t,n))}function initCustomFormatter(){}function withMemo(e,t,n,s){const r=n[s];if(r&&isMemoSame(r,e))return r;const i=t();return i.memo=e.slice(),n[s]=i}function isMemoSame(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(hasChanged(n[s],t[s]))return!1;return isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),!0}const version="3.4.21",warn=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;/**
17* @vue/runtime-dom v3.4.21
18* (c) 2018-present Yuxi (Evan) You and Vue contributors
19* @license MIT
20**/const 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,s)=>{const r=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):doc.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},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,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{templateContainer.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const a=templateContainer.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},TRANSITION$1="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=(e,{slots:t})=>h(BaseTransition,resolveTransitionProps(e),t);Transition.displayName="Transition";const 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=Transition.props=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(e,t=[])=>{isArray(e)?e.forEach(n=>n(...t)):e&&e(...t)},hasExplicitCallback=e=>e?isArray(e)?e.some(t=>t.length>1):e.length>1:!1;function resolveTransitionProps(e){const t={};for(const k in e)k in DOMTransitionPropsValidators||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,y=normalizeDuration(r),T=y&&y[0],R=y&&y[1],{onBeforeEnter:I,onEnter:C,onEnterCancelled:S,onLeave:b,onLeaveCancelled:v,onBeforeAppear:x=I,onAppear:P=C,onAppearCancelled:_=S}=t,O=(k,M,z)=>{removeTransitionClass(k,M?u:a),removeTransitionClass(k,M?c:o),z&&z()},N=(k,M)=>{k._isLeaving=!1,removeTransitionClass(k,d),removeTransitionClass(k,g),removeTransitionClass(k,f),M&&M()},w=k=>(M,z)=>{const q=k?P:C,F=()=>O(M,k,z);callHook(q,[M,F]),nextFrame(()=>{removeTransitionClass(M,k?l:i),addTransitionClass(M,k?u:a),hasExplicitCallback(q)||whenTransitionEnds(M,s,T,F)})};return extend(t,{onBeforeEnter(k){callHook(I,[k]),addTransitionClass(k,i),addTransitionClass(k,o)},onBeforeAppear(k){callHook(x,[k]),addTransitionClass(k,l),addTransitionClass(k,c)},onEnter:w(!1),onAppear:w(!0),onLeave(k,M){k._isLeaving=!0;const z=()=>N(k,M);addTransitionClass(k,d),forceReflow(),addTransitionClass(k,f),nextFrame(()=>{k._isLeaving&&(removeTransitionClass(k,d),addTransitionClass(k,g),hasExplicitCallback(b)||whenTransitionEnds(k,s,R,z))}),callHook(b,[k,z])},onEnterCancelled(k){O(k,!1),callHook(S,[k])},onAppearCancelled(k){O(k,!0),callHook(_,[k])},onLeaveCancelled(k){N(k),callHook(v,[k])}})}function normalizeDuration(e){if(e==null)return null;if(isObject(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(s=>s&&e.classList.remove(s));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,s){const r=e._endId=++endId,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:a,propCount:l}=getTransitionInfo(e,t);if(!o)return s();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=g=>{g.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),e.addEventListener(c,f)}function getTransitionInfo(e,t){const n=window.getComputedStyle(e),s=y=>(n[y]||"").split(", "),r=s(`${TRANSITION$1}Delay`),i=s(`${TRANSITION$1}Duration`),o=getTimeout(r,i),a=s(`${ANIMATION}Delay`),l=s(`${ANIMATION}Duration`),c=getTimeout(a,l);let u=null,d=0,f=0;t===TRANSITION$1?o>0&&(u=TRANSITION$1,d=o,f=i.length):t===ANIMATION?c>0&&(u=ANIMATION,d=c,f=l.length):(d=Math.max(o,c),u=d>0?o>c?TRANSITION$1:ANIMATION:null,f=u?u===TRANSITION$1?i.length:l.length:0);const g=u===TRANSITION$1&&/\b(transform|all)(,|$)/.test(s(`${TRANSITION$1}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:g}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>toMs(n)+toMs(e[s])))}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 s=e[vtcKey];s&&(t=(t?[t,...s]:[...s]).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):setDis
vendor: 4,200 bytes, line 20
20play(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),setDisplay(e,!0),s.enter(e)):s.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}function initVShowForSSR(){vShow.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const CSS_VAR_TEXT=Symbol("");function useCssVars(e){const t=getCurrentInstance();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>setVarsOnNode(i,r))},s=()=>{const r=e(t.proxy);setVarsOnVNode(t.subTree,r),n(r)};watchPostEffect(s),onMounted(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>r.disconnect())})}function setVarsOnVNode(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{setVarsOnVNode(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)setVarsOnNode(e.el,t);else if(e.type===Fragment)e.children.forEach(n=>setVarsOnVNode(n,t));else if(e.type===Static){let{el:n,anchor:s}=e;for(;n&&(setVarsOnNode(n,t),n!==s);)n=n.nextSibling}}function setVarsOnNode(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[CSS_VAR_TEXT]=s}}const displayRE=/(^|;)\s*display\s*:/;function patchStyle(e,t,n){const s=e.style,r=isString(n);let i=!1;if(n&&!r){if(t)if(isString(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&setStyle(s,a,"")}else for(const o in t)n[o]==null&&setStyle(s,o,"");for(const o in n)o==="display"&&(i=!0),setStyle(s,o,n[o])}else if(r){if(t!==n){const o=s[CSS_VAR_TEXT];o&&(n+=";"+o),s.cssText=n,i=displayRE.test(n)}}else t&&e.removeAttribute("style");vShowOriginalDisplay in e&&(e[vShowOriginalDisplay]=i?s.display:"",e[vShowHidden]&&(s.display="none"))}const importantRE=/\s*!important$/;function setStyle(e,t,n){if(isArray(n))n.forEach(s=>setStyle(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=autoPrefix(e,t);importantRE.test(n)?e.setProperty(hyphenate(s),n.replace(importantRE,""),"important"):e[s]=n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const n=prefixCache[t];if(n)return n;let s=camelize(t);if(s!=="filter"&&s in e)return prefixCache[t]=s;s=capitalize$1(s);for(let r=0;r<prefixes.length;r++){const i=prefixes[r]+s;if(i in e)return prefixCache[t]=i}return t}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,n);else{const i=isSpecialBooleanAttr(t);n==null||i&&!includeBooleanAttr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function patchDOMProp(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=includeBooleanAttr(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function addEventListener(e,t,n,s){e.addEventListener(t,n,s)}function removeEventListener(e,t,n,s){e.removeEventListener(t,n,s)}const veiKey=Symbol("_vei");function patchEvent(e,t,n,s,r=null){const i=e[veiKey]||(e[veiKey]={}),o=i[t];if(s&&o)o.value=s;else{const[a,l]=parseName(t);if(s){const c=i[t]=createInvoker(s,r);addEventListener(e,a,c,l)}else o&&(removeEventListener(e,a,o,l),i[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){t={};let s;for(;s=e.match(optionsModifierRE);)e=e.slice(0,e.length-s[0].length),t[s[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(()=>
20cachedNow=0),cachedNow=Date.now());function createInvoker(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(s,n.value),t,5,[s])};return n.value=e,n.attached=getNow(),n}function patchStopImmediatePropagation(e,t){if(isArray(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}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,s,r,i,o,a,l)=>{const c=r==="svg";t==="class"?patchClass(e,s,c):t==="style"?patchStyle(e,n,s):isOn(t)?isModelListener(t)||patchEvent(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):shouldSetAsProp(e,t,s,c))?patchDOMProp(e,t,s,i,o,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),patchAttr(e,t,s,c))};function shouldSetAsProp(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&isNativeOn(t)&&isFunction(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return isNativeOn(t)&&isString(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function defineCustomElement(e,t){const n=defineComponent(e);class s extends VueElement{constructor(i){super(n,i,t)}}return s.def=n,s}/*! #__NO_SIDE_EFFECTS__ */const defineSSRCustomElement=e=>defineCustomElement(e,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(t,n={},s){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),nextTick(()=>{this._connected||(render(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(s=>{for(const r of s)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,r=!1)=>{const{props:i,styles:o}=s;let a;if(i&&!isArray(i))for(const l in i){const c=i[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=toNumber(this._props[l])),(a||(a=Object.create(null)))[camelize(l)]=!0)}this._numberProps=a,r&&this._resolveProps(s),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(s=>t(s,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,s=isArray(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(camelize))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i)}})}_setAttr(t){let n=this.getAttribute(t);const s=camelize(t);this._numberProps&&this._numberProps[s]&&(n=toNumber(n)),this._setProp(s,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(hyphenate(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(hyphenate(t),n+""):n||this.removeAttribute(hyphenate(t))))}_update(){render(this._createVNode(),this.shadowRoot)}_createVNode(){const t=createVNode(this._def,extend({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const s=(i,o)=>{this.dispatchEvent(new CustomEvent(i,{detail:o}))};n.emit=(i,...o)=>{s(i,o),hyphenate(i)!==i&&s(hyphenate(i),o)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof VueElement){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function useCssModule(e="$style"){{const t=getCurrentInstance();if(!t)return EMPTY_OBJ;const n=t.type.__cssModules;if(!n)return EMPTY_OBJ;const s=n[e];return s||EMPTY_OBJ}}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),TransitionGroupImpl={name:"TransitionGroup",props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=getCurrentInstance(),s=useTransitionState();let r,i;return onUpdated(()=>
20{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!hasCSSTransform(r[0].el,n.vnode.el,o))return;r.forEach(callPendingCbs),r.forEach(recordPosition);const a=r.filter(applyTranslation);forceReflow(),a.forEach(l=>{const c=l.el,u=c.style;addTransitionClass(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[moveCbKey]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[moveCbKey]=null,removeTransitionClass(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=toRaw(e),a=resolveTransitionProps(o);let l=o.tag||Fragment;r=i,i=t.default?getTransitionRawChildren(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&setTransitionHooks(u,resolveTransitionHooks(u,a,s,n))}if(r)for(let c=0;c<r.length;c++){const u=r[c];setTransitionHooks(u,resolveTransitionHooks(u,a,s,n)),positionMap.set(u,u.el.getBoundingClientRect())}return createVNode(l,null,i)}}},removeMode=e=>delete e.mode;TransitionGroupImpl.props;const 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),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function hasCSSTransform(e,t,n){const s=e.cloneNode(),r=e[vtcKey];r&&r.forEach(a=>{a.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=getTransitionInfo(s);return i.removeChild(s),o}const getModelAssigner=e=>{const t=e.props["onUpdate:modelValue"]||!1;return isArray(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:s}},r){e[assignKey]=getModelAssigner(r);const i=s||r.props&&r.props.type==="number";addEventListener(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=looseToNumber(a)),e[assignKey](a)}),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,modifiers:{lazy:n,trim:s,number:r}},i){if(e[assignKey]=getModelAssigner(i),e.composing)return;const o=r||e.type==="number"?looseToNumber(e.value):e.value,a=t??"";o!==a&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===a)||(e.value=a))}},vModelCheckbox={deep:!0,created(e,t,n){e[assignKey]=getModelAssigner(n),addEventListener(e,"change",()=>{const s=e._modelValue,r=getValue(e),i=e.checked,o=e[assignKey];if(isArray(s)){const a=looseIndexOf(s,r),l=a!==-1;if(i&&!l)o(s.concat(r));else if(!i&&l){const c=[...s];c.splice(a,1),o(c)}}else if(isSet(s)){const a=new Set(s);i?a.add(r):a.delete(r),o(a)}else o(getCheckboxValue(e,i))})},mounted:setChecked,beforeUpdate(e,t,n){e[assignKey]=getModelAssigner(n),setChecked(e,t,n)}};function setChecked(e,{value:t,oldValue:n},s){e._modelValue=t,isArray(t)?e.checked=looseIndexOf(t,s.props.value)>-1:isSet(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=looseEqual(t,getCheckboxValue(e,!0)))}const vModelRadio={created(e,{value:t},n){e.checked=looseEqual(t,n.props.value),e[assignKey]=getModelAssigner(n),addEventListener(e,"change",()=>{e[assignKey](getValue(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[assignKey]=getModelAssigner(s),t!==n&&(e.checked=looseEqual(t,s.props.value))}},vModelSelect={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=isSet(t);addEventListener(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?looseToNumber(getValue(o)):getValue(o));e[assignKey](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,nextTick(()=>{e._assigning=!1})}),e[assignKey]=getModelAssigner(s)},mounted(e,{value:t,modifiers:{number:n}}){setSelected(e,t,n)},beforeUpdate(e,t,n){e[assignKey]=getModelAssigner(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||setSelected(e,t,n)}};function setSelected(e,t,n){const s=e.multiple,r=isArray(t);if(!(s&&!r&&!isSet(t))){for(let i=0,o=e.options.length;i<o;i++){const a=e.options[i],l=getValue(a);if(s)if(r){const c=typeof l;
20c==="string"||c==="number"?a.selected=t.includes(n?looseToNumber(l):l):a.selected=looseIndexOf(t,l)>-1}else a.selected=t.has(l);else if(looseEqual(getValue(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function getValue(e){return"_value"in e?e._value:e.value}function getCheckboxValue(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const vModelDynamic={created(e,t,n){callModelHook(e,t,n,null,"created")},mounted(e,t,n){callModelHook(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){callModelHook(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){callModelHook(e,t,n,s,"updated")}};function resolveDynamicModel(e,t){switch(e){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(t){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook(e,t,n,s,r){const o=resolveDynamicModel(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,s)}function initVModelForSSR(){vModelText.getSSRProps=({value:e})=>({value:e}),vModelRadio.getSSRProps=({value:e},t)=>{if(t.props&&looseEqual(t.props.value,e))return{checked:!0}},vModelCheckbox.getSSRProps=({value:e},t)=>{if(isArray(e)){if(t.props&&looseIndexOf(e,t.props.value)>-1)return{checked:!0}}else if(isSet(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},vModelDynamic.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=resolveDynamicModel(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const 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={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const a=modifierGuards[t[o]];if(a&&a(r,t))return}return e(r,...i)})},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={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=hyphenate(r.key);if(t.some(o=>o===i||keyNames[o]===i))return e(r)})},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 render=(...e)=>{ensureRenderer().render(...e)},hydrate=(...e)=>{ensureHydrationRenderer().hydrate(...e)},createApp=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=normalizeContainer(s);if(!r)return;const i=t._component;!isFunction(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,resolveRootNamespace(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},createSSRApp=(...e)=>{const t=ensureHydrationRenderer().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=normalizeContainer(s);if(r)return n(r,!0,resolveRootNamespace(r))},t};function resolveRootNamespace(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function normalizeContainer(e){return isString(e)?document.querySelector(e):e}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},runtimeDom=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,DeprecationTypes,EffectScope,ErrorCodes,ErrorTypeStrings,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text,TrackOpTypes,Transition,TransitionGroup,TriggerOpTypes,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize:capitalize$1,cloneVNode,compatUtils,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,devtools,effect,effectScope,getCurrentInstance,getCurrentScope,getTransitionRawChildren,guardReactiveProps,h,handleError,hasInjectionContext,hydrate,initCustomFormatter,initDirectivesForSSR,inject,
20isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString,toHandlerKey,toHandlers,toRaw,toRef,toRefs,toValue,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useModel,useSSRContext,useSlots,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version,warn,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"}));/**
21* @vue/compiler-core v3.4.21
22* (c) 2018-present Yuxi (Evan) You and Vue contributors
23* @license MIT
vendor: 28,957 bytes, line 24
24**/const FRAGMENT=Symbol(""),TELEPORT=Symbol(""),SUSPENSE=Symbol(""),KEEP_ALIVE=Symbol(""),BASE_TRANSITION=Symbol(""),OPEN_BLOCK=Symbol(""),CREATE_BLOCK=Symbol(""),CREATE_ELEMENT_BLOCK=Symbol(""),CREATE_VNODE=Symbol(""),CREATE_ELEMENT_VNODE=Symbol(""),CREATE_COMMENT=Symbol(""),CREATE_TEXT=Symbol(""),CREATE_STATIC=Symbol(""),RESOLVE_COMPONENT=Symbol(""),RESOLVE_DYNAMIC_COMPONENT=Symbol(""),RESOLVE_DIRECTIVE=Symbol(""),RESOLVE_FILTER=Symbol(""),WITH_DIRECTIVES=Symbol(""),RENDER_LIST=Symbol(""),RENDER_SLOT=Symbol(""),CREATE_SLOTS=Symbol(""),TO_DISPLAY_STRING=Symbol(""),MERGE_PROPS=Symbol(""),NORMALIZE_CLASS=Symbol(""),NORMALIZE_STYLE=Symbol(""),NORMALIZE_PROPS=Symbol(""),GUARD_REACTIVE_PROPS=Symbol(""),TO_HANDLERS=Symbol(""),CAMELIZE=Symbol(""),CAPITALIZE=Symbol(""),TO_HANDLER_KEY=Symbol(""),SET_BLOCK_TRACKING=Symbol(""),PUSH_SCOPE_ID=Symbol(""),POP_SCOPE_ID=Symbol(""),WITH_CTX=Symbol(""),UNREF=Symbol(""),IS_REF=Symbol(""),WITH_MEMO=Symbol(""),IS_MEMO_SAME=Symbol(""),helperNameMap={[FRAGMENT]:"Fragment",[TELEPORT]:"Teleport",[SUSPENSE]:"Suspense",[KEEP_ALIVE]:"KeepAlive",[BASE_TRANSITION]:"BaseTransition",[OPEN_BLOCK]:"openBlock",[CREATE_BLOCK]:"createBlock",[CREATE_ELEMENT_BLOCK]:"createElementBlock",[CREATE_VNODE]:"createVNode",[CREATE_ELEMENT_VNODE]:"createElementVNode",[CREATE_COMMENT]:"createCommentVNode",[CREATE_TEXT]:"createTextVNode",[CREATE_STATIC]:"createStaticVNode",[RESOLVE_COMPONENT]:"resolveComponent",[RESOLVE_DYNAMIC_COMPONENT]:"resolveDynamicComponent",[RESOLVE_DIRECTIVE]:"resolveDirective",[RESOLVE_FILTER]:"resolveFilter",[WITH_DIRECTIVES]:"withDirectives",[RENDER_LIST]:"renderList",[RENDER_SLOT]:"renderSlot",[CREATE_SLOTS]:"createSlots",[TO_DISPLAY_STRING]:"toDisplayString",[MERGE_PROPS]:"mergeProps",[NORMALIZE_CLASS]:"normalizeClass",[NORMALIZE_STYLE]:"normalizeStyle",[NORMALIZE_PROPS]:"normalizeProps",[GUARD_REACTIVE_PROPS]:"guardReactiveProps",[TO_HANDLERS]:"toHandlers",[CAMELIZE]:"camelize",[CAPITALIZE]:"capitalize",[TO_HANDLER_KEY]:"toHandlerKey",[SET_BLOCK_TRACKING]:"setBlockTracking",[PUSH_SCOPE_ID]:"pushScopeId",[POP_SCOPE_ID]:"popScopeId",[WITH_CTX]:"withCtx",[UNREF]:"unref",[IS_REF]:"isRef",[WITH_MEMO]:"withMemo",[IS_MEMO_SAME]:"isMemoSame"};function registerRuntimeHelpers(e){Object.getOwnPropertySymbols(e).forEach(t=>{helperNameMap[t]=e[t]})}const locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function createRoot(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(e,t,n,s,r,i,o,a=!1,l=!1,c=!1,u=locStub){return e&&(a?(e.helper(OPEN_BLOCK),e.helper(getVNodeBlockHelper(e.inSSR,c))):e.helper(getVNodeHelper(e.inSSR,c)),o&&e.helper(WITH_DIRECTIVES)),{type:13,tag:t,props:n,children:s,patchFlag:r,dynamicProps:i,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function createArrayExpression(e,t=locStub){return{type:17,loc:t,elements:e}}function createObjectExpression(e,t=locStub){return{type:15,loc:t,properties:e}}function createObjectProperty(e,t){return{type:16,loc:locStub,key:isString(e)?createSimpleExpression(e,!0):e,value:t}}function createSimpleExpression(e,t=!1,n=locStub,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function createCompoundExpression(e,t=locStub){return{type:8,loc:t,children:e}}function createCallExpression(e,t=[],n=locStub){return{type:14,loc:n,callee:e,arguments:t}}function createFunctionExpression(e,t=void 0,n=!1,s=!1,r=locStub){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:r}}function createConditionalExpression(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:locStub}}function createCacheExpression(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:locStub}}function createBlockStatement(e){return{type:21,body:e,loc:locStub}}function getVNodeHelper(e,t){return e||t?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(e,t){return e||t?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(getVNodeHelper(s,e.isComponent)),t(OPEN_BLOCK),t(getVNodeBlockHelper(s,e.isComponent)))}const defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(e){return e>=97&&e<=122||e>=65&&e<=90}function isWhitespace(e){return e===32||e===10||e===9||e===12||e===13}function isEndOfTagSection(e){return e===47||e===62||isWhitespace(e)}function toCharCodes(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=defaultDelimitersOpen,this.delimiterClose=defaultDelimitersClose,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=defaultDelimitersOpen,this.delimiterClose=defaultDelimitersClose}getPos(t){let n=1,s=t+1;for(let r=this.newlines.length-1;r>=0;r--){const i=this.newlines[r];if(t>i){n=r+2,s=t-i;break}}return{column:s,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?isEndOfTagSection(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||isWhitespace(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const s=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=s}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Sequences.TitleEnd||this.currentSequence===Sequences.TextareaEnd&&!this.inSFCRoot?t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Sequences.Cdata[this.sequenceIndex]?++this.sequenceIndex===Sequences.Cdata.length&&(this.state=28,this.currentSequence=Sequences.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):isTagStartChar(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){isEndOfTagSection(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(isEndOfTagSection(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(toCharCodes("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){isWhitespace(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=isTagStartChar(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||isWhitespace(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):isWhitespace(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):isWhitespace(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||isEndOfTagSection(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||isEndOfTagSection(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||isEndOfTagSection(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||isEndOfTagSection(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||isEndOfTagSection(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):isWhitespace(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):isWhitespace(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){isWhitespace(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Sequences.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Sequences.ScriptEnd[3]?this.startSpecial(Sequences.ScriptEnd,4):t===Sequences.StyleEnd[3]?this.startSpecial(Sequences.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Sequences.TitleEnd[3]?this.startSpecial(Sequences.TitleEnd,4):t===Sequences.TextareaEnd[3]?this.startSpecial(Sequences.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}function getCompatValue(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function isCompatEnabled(e,t){const n=getCompatValue("MODE",t),s=getCompatValue(e,t);return n===3?s===!0:s!==!1}function checkCompatEnabled(e,t,n,...s){return isCompatEnabled(e,t)}function defaultOnError(e){throw e}function defaultOnWarn(e){}function createCompilerError(e,t,n,s){const r=`https://vuejs.org/error-reference/#compiler-${e}`,i=new SyntaxError(String(r));return i.code=e,i.loc=t,i}const isStaticExp=e=>e.type===4&&e.isStatic;function isCoreComponent(e){switch(e){case"Teleport":case"teleport":return TELEPORT;case"Suspense":case"suspense":return SUSPENSE;case"KeepAlive":case"keep-alive":return KEEP_ALIVE;case"BaseTransition":case"base-transition":return BASE_TRANSITION}}const nonIdentifierRE=/^\d|[^\$\w]/,isSimpleIdentifier=e=>!nonIdentifierRE.test(e),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,isMemberExpressionBrowser=e=>{e=e.trim().replace(whitespaceRE,o=>o.trim());let t=0,n=[],s=0,r=0,i=null;for(let o=0;o<e.length;o++){const a=e.charAt(o);switch(t){case 0:if(a==="[")n.push(t),t=1,s++;else if(a==="(")n.push(t),t=2,r++;else if(!(o===0?validFirstIdentCharRE:validIdentCharRE).test(a))return!1;break;case 1:a==="'"||a==='"'||a==="`"?(n.push(t),t=3,i=a):a==="["?s++:a==="]"&&(--s||(t=n.pop()));break;case 2:if(a==="'"||a==='"'||a==="`")n.push(t),t=3,i=a;else if(a==="(")r++;else if(a===")"){if(o===e.length-1)return!1;--r||(t=n.pop())}break;case 3:a===i&&(t=n.pop(),i=null);break}}return!s&&!r},isMemberExpression=isMemberExpressionBrowser;function findDir(e,t,n=!1){for(let s=0;s<e.props.length;s++){const r=e.props[s];if(r.type===7&&(n||r.exp)&&(isString(t)?r.name===t:t.test(r.name)))return r}}function findProp(e,t,n=!1,s=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(i.type===6){if(n)continue;if(i.name===t&&(i.value||s))return i}else if(i.name==="bind"&&(i.exp||s)&&isStaticArgOf(i.arg,t))return i}}function isStaticArgOf(e,t){return!!(e&&isStaticExp(e)&&e.content===t)}function hasDynamicKeyVBind(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function isText$1(e){return e.type===5||e.type===2}function isVSlot(e){return e.type===7&&e.name==="slot"}function isTemplateNode(e){return e.type===1&&e.tagType===3}function isSlotOutlet(e){return e.type===1&&e.tagType===2}const propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(e,t=[]){if(e&&!isString(e)&&e.type===14){const n=e.callee;if(!isString(n)&&propsHelperSet.has(n))return getUnnormalizedProps(e.arguments[0],t.concat(e))}return[e,t]}function injectProp(e,t,n){let s,r=e.type===13?e.props:e.arguments[2],i=[],o;if(r&&!isString(r)&&r.type===14){const a=getUnnormalizedProps(r);r=a[0],i=a[1],o=i[i.length-1]}if(r==null||isString(r))s=createObjectExpression([t]);else if(r.type===14){const a=r.arguments[0];!isString(a)&&a.type===15?hasProp(t,a)||a.properties.unshift(t):r.callee===TO_HANDLERS?s=createCallExpression(n.helper(MERGE_PROPS),[createObjectExpression([t]),r]):r.arguments.unshift(createObjectExpression([t])),!s&&(s=r)}else r.type===15?(hasProp(t,r)||r.properties.unshift(t),s=r):(s=createCallExpression(n.helper(MERGE_PROPS),[createObjectExpression([t]),r]),o&&o.callee===GUARD_REACTIVE_PROPS&&(o=i[i.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function hasProp(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(r=>r.key.type===4&&r.key.content===s)}return n}function toValidAssetId(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function getMemoedVNodeCall(e){return e.type===14&&e.callee===WITH_MEMO?e.arguments[1].returns:e}const forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,defaultParserOptions={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isCustomElement:NO,onError:defaultOnError,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1};let currentOptions=defaultParserOptions,currentRoot=null,currentInput="",currentOpenTag=null,currentProp=null,currentAttrValue="",currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null;const stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(e,t){onText(getSlice(e,t),e,t)},ontextentity(e,t,n){onText(e,t,n)},oninterpolation(e,t){if(inVPre)return onText(getSlice(e,t),e,t);let n=e+tokenizer.delimiterOpen.length,s=t-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(n));)n++;for(;isWhitespace(currentInput.charCodeAt(s-1));)s--;let r=getSlice(n,s);r.includes("&")&&(r=currentOptions.decodeEntities(r,!1)),addNode({type:5,content:createExp(r,!1,getLoc(n,s)),loc:getLoc(e,t)})},onopentagname(e,t){const n=getSlice(e,t);currentOpenTag={type:1,tag:n,ns:currentOptions.getNamespace(n,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(e-1,t),codegenNode:void 0}},onopentagend(e){endOpenTag(e)},onclosetag(e,t){const n=getSlice(e,t);if(!currentOptions.isVoidTag(n)){let s=!1;for(let r=0;r<stack.length;r++)if(stack[r].tag.toLowerCase()===n.toLowerCase()){s=!0,r>0&&emitError(24,stack[0].loc.start.offset);for(let o=0;o<=r;o++){const a=stack.shift();onCloseTag(a,t,o<r)}break}s||emitError(23,backTrack(e,60))}},onselfclosingtag(e){var t;const n=currentOpenTag.tag;currentOpenTag.isSelfClosing=!0,endOpenTag(e),((t=stack[0])==null?void 0:t.tag)===n&&onCloseTag(stack.shift(),e)},onattribname(e,t){currentProp={type:6,name:getSlice(e,t),nameLoc:getLoc(e,t),value:void 0,loc:getLoc(e)}},ondirname(e,t){const n=getSlice(e,t),s=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!inVPre&&s===""&&emitError(26,e),inVPre||s==="")currentProp={type:6,name:n,nameLoc:getLoc(e,t),value:void 0,loc:getLoc(e)};else if(currentProp={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?["prop"]:[],loc:getLoc(e)},s==="pre"){inVPre=tokenizer.inVPre=!0,currentVPreBoundary=currentOpenTag;const r=currentOpenTag.props;for(let i=0;i<r.length;i++)r[i].type===7&&(r[i]=dirToAttr(r[i]))}},ondirarg(e,t){if(e===t)return;const n=getSlice(e,t);if(inVPre)currentProp.name+=n,setLocEnd(currentProp.nameLoc,t);else{const s=n[0]!=="[";currentProp.arg=createExp(s?n:n.slice(1,-1),s,getLoc(e,t),s?3:0)}},ondirmodifier(e,t){const n=getSlice(e,t);if(inVPre)currentProp.name+="."+n,setLocEnd(currentProp.nameLoc,t);else if(currentProp.name==="slot"){const s=currentProp.arg;s&&(s.content+="."+n,setLocEnd(s.loc,t))}else currentProp.modifiers.push(n)},onattribdata(e,t){currentAttrValue+=getSlice(e,t),currentAttrStartIndex<0&&(currentAttrStartIndex=e),currentAttrEndIndex=t},onattribentity(e,t,n){currentAttrValue+=e,currentAttrStartIndex<0&&(currentAttrStartIndex=t),currentAttrEndIndex=n},onattribnameend(e){const t=currentProp.loc.start.offset,n=getSlice(t,e);currentProp.type===7&&(currentProp.rawName=n),currentOpenTag.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&emitError(2,t)},onattribend(e,t){if(currentOpenTag&&currentProp){if(setLocEnd(currentProp.loc,t),e!==0)if(currentAttrValue.includes("&")&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name==="class"&&(currentAttrValue=condense(currentAttrValue).trim()),e===1&&!currentAttrValue&&emitError(13,t),currentProp.value={type:2,content:currentAttrValue,loc:e===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&&currentOpenTag.tag==="template"&&currentProp.name==="lang"&&currentAttrValue&&currentAttrValue!=="html"&&tokenizer.enterRCDATA(toCharCodes("</template"),0);else{let n=0;currentProp.exp=createExp(currentAttrValue,!1,getLoc(currentAttrStartIndex,currentAttrEndIndex),0,n),currentProp.name==="for"&&(currentProp.forParseResult=parseForExpression(currentProp.exp));let s=-1;currentProp.name==="bind"&&(s=currentProp.modifiers.indexOf("sync"))>-1&&checkCompatEnabled("COMPILER_V_BIND_SYNC",currentOptions,currentProp.loc,currentProp.rawName)&&(currentProp.name="model",currentProp.modifiers.splice(s,1))}(currentProp.type!==7||currentProp.name!=="pre")&&currentOpenTag.props.push(currentProp)}currentAttrValue="",currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(e,t){currentOptions.comments&&addNode({type:3,content:getSlice(e,t),loc:getLoc(e-4,t+3)})},onend(){const e=currentInput.length;for(let t=0;t<stack.length;t++)onCloseTag(stack[t],e-1),emitError(24,stack[t].loc.start.offset)},oncdata(e,t){stack[0].ns!==0?onText(getSlice(e,t),e,t):emitError(1,e-9)},onprocessinginstruction(e){(stack[0]?stack[0].ns:currentOptions.ns)===0&&emitError(21,e-1)}}),forIteratorRE=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,stripParensRE=/^\(|\)$/g;function parseForExpression(e){const t=e.loc,n=e.content,s=n.match(forAliasRE);if(!s)return;const[,r,i]=s,o=(d,f,g=!1)=>{const y=t.start.offset+f,T=y+d.length;return createExp(d,!1,getLoc(y,T),0,g?1:0)},a={source:o(i.trim(),n.indexOf(i,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=r.trim().replace(stripParensRE,"").trim();const c=r.indexOf(l),u=l.match(forIteratorRE);if(u){l=l.replace(forIteratorRE,"").trim();const d=u[1].trim();let f;if(d&&(f=n.indexOf(d,c+l.length),a.key=o(d,f,!0)),u[2]){const g=u[2].trim();g&&(a.index=o(g,n.indexOf(g,a.key?f+d.length:c+l.length),!0))}}return l&&(a.value=o(l,c,!0)),a}function getSlice(e,t){return currentInput.slice(e,t)}function endOpenTag(e){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(e+1,e+1)),addNode(currentOpenTag);const{tag:t,ns:n}=currentOpenTag;n===0&&currentOptions.isPreTag(t)&&inPre++,currentOptions.isVoidTag(t)?onCloseTag(currentOpenTag,e):(stack.unshift(currentOpenTag),(n===1||n===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(e,t,n){var s;{const o=(s=stack[0])==null?void 0:s.tag;o!=="script"&&o!=="style"&&e.includes("&")&&(e=currentOptions.decodeEntities(e,!1))}const r=stack[0]||currentRoot,i=r.children[r.children.length-1];(i==null?void 0:i.type)===2?(i.content+=e,setLocEnd(i.loc,n)):r.children.push({type:2,content:e,loc:getLoc(t,n)})}function onCloseTag(e,t,n=!1){n?setLocEnd(e.loc,backTrack(t,60)):setLocEnd(e.loc,t+1),tokenizer.inSFCRoot&&(e.children.length?e.innerLoc.end=extend({},e.children[e.children.length-1].loc.end):e.innerLoc.end=extend({},e.innerLoc.start),e.innerLoc.source=getSlice(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:r}=e;inVPre||(s==="slot"?e.tagType=2:isFragmentTemplate(e)?e.tagType=3:isComponent(e)&&(e.tagType=1)),tokenizer.inRCDATA||(e.children=condenseWhitespace(e.children,e.tag)),r===0&&currentOptions.isPreTag(s)&&inPre--,currentVPreBoundary===e&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{const i=e.props;if(!tokenizer.inSFCRoot&&isCompatEnabled("COMPILER_NATIVE_TEMPLATE",currentOptions)&&e.tag==="template"&&!isFragmentTemplate(e)){const a=stack[0]||currentRoot,l=a.children.indexOf(e);a.children.splice(l,1,...e.children)}const o=i.find(a=>a.type===6&&a.name==="inline-template");o&&checkCompatEnabled("COMPILER_INLINE_TEMPLATE",currentOptions,o.loc)&&e.children.length&&(o.value={type:2,content:getSlice(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:o.loc})}}function backTrack(e,t){let n=e;for(;currentInput.charCodeAt(n)!==t&&n>=0;)n--;return n}const specialTemplateDir=new Set(["if","else","else-if","for","slot"]);function isFragmentTemplate({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&specialTemplateDir.has(t[n].name))return!0}return!1}function isComponent({tag:e,props:t}){var n;if(currentOptions.isCustomElement(e))return!1;if(e==="component"||isUpperCase(e.charCodeAt(0))||isCoreComponent(e)||(n=currentOptions.isBuiltInComponent)!=null&&n.call(currentOptions,e)||currentOptions.isNativeTag&&!currentOptions.isNativeTag(e))return!0;for(let s=0;s<t.length;s++){const r=t[s];if(r.type===6){if(r.name==="is"&&r.value){if(r.value.content.startsWith("vue:"))return!0;
24if(checkCompatEnabled("COMPILER_IS_ON_ELEMENT",currentOptions,r.loc))return!0}}else if(r.name==="bind"&&isStaticArgOf(r.arg,"is")&&checkCompatEnabled("COMPILER_IS_ON_ELEMENT",currentOptions,r.loc))return!0}return!1}function isUpperCase(e){return e>64&&e<91}const windowsNewlineRE=/\r\n/g;function condenseWhitespace(e,t){var n,s;const r=currentOptions.whitespace!=="preserve";let i=!1;for(let o=0;o<e.length;o++){const a=e[o];if(a.type===2)if(inPre)a.content=a.content.replace(windowsNewlineRE,`
25`);else if(isAllWhitespace(a.content)){const l=(n=e[o-1])==null?void 0:n.type,c=(s=e[o+1])==null?void 0:s.type;!l||!c||r&&(l===3&&(c===3||c===1)||l===1&&(c===3||c===1&&hasNewlineChar(a.content)))?(i=!0,e[o]=null):a.content=" "}else r&&(a.content=condense(a.content))}if(inPre&&t&&currentOptions.isPreTag(t)){const o=e[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}return i?e.filter(Boolean):e}function isAllWhitespace(e){for(let t=0;t<e.length;t++)if(!isWhitespace(e.charCodeAt(t)))return!1;return!0}function hasNewlineChar(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function condense(e){let t="",n=!1;for(let s=0;s<e.length;s++)isWhitespace(e.charCodeAt(s))?n||(t+=" ",n=!0):(t+=e[s],n=!1);return t}function addNode(e){(stack[0]||currentRoot).children.push(e)}function getLoc(e,t){return{start:tokenizer.getPos(e),end:t==null?t:tokenizer.getPos(t),source:t==null?t:getSlice(e,t)}}function setLocEnd(e,t){e.end=tokenizer.getPos(t),e.source=getSlice(e.start.offset,t)}function dirToAttr(e){const t={type:6,name:e.rawName,nameLoc:getLoc(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function createExp(e,t=!1,n,s=0,r=0){return createSimpleExpression(e,t,n,s)}function emitError(e,t,n){currentOptions.onError(createCompilerError(e,getLoc(t,t)))}function reset(){tokenizer.reset(),currentOpenTag=null,currentProp=null,currentAttrValue="",currentAttrStartIndex=-1,
25currentAttrEndIndex=-1,stack.length=0}function baseParse(e,t){if(reset(),currentInput=e,currentOptions=extend({},defaultParserOptions),t){let r;for(r in t)t[r]!=null&&(currentOptions[r]=t[r])}tokenizer.mode=currentOptions.parseMode==="html"?1:currentOptions.parseMode==="sfc"?2:0,tokenizer.inXML=currentOptions.ns===1||currentOptions.ns===2;const n=t==null?void 0:t.delimiters;n&&(tokenizer.delimiterOpen=toCharCodes(n[0]),tokenizer.delimiterClose=toCharCodes(n[1]));const s=currentRoot=createRoot([],e);return tokenizer.parse(currentInput),s.loc=getLoc(0,e.length),s.children=condenseWhitespace(s.children),currentRoot=null,s}function hoistStatic(e,t){walk(e,t,isSingleElementRoot(e,e.children[0]))}function isSingleElementRoot(e,t){const{children:n}=e;return n.length===1&&t.type===1&&!isSlotOutlet(t)}function walk(e,t,n=!1){const{children:s}=e,r=s.length;let i=0;for(let o=0;o<s.length;o++){const a=s[o];if(a.type===1&&a.tagType===0){const l=n?0:getConstantType(a,t);if(l>0){if(l>=2){a.codegenNode.patchFlag="-1",a.codegenNode=t.hoist(a.codegenNode),i++;continue}}else{const c=a.codegenNode;if(c.type===13){const u=getPatchFlag(c);if((!u||u===512||u===1)&&getGeneratedPropsConstantType(a,t)>=2){const d=getNodeProps(a);d&&(c.props=t.hoist(d))}c.dynamicProps&&(c.dynamicProps=t.hoist(c.dynamicProps))}}}if(a.type===1){const l=a.tagType===1;l&&t.scopes.vSlot++,walk(a,t),l&&t.scopes.vSlot--}else if(a.type===11)walk(a,t,a.children.length===1);else if(a.type===9)for(let l=0;l<a.branches.length;l++)walk(a.branches[l],t,a.branches[l].children.length===1)}if(i&&t.transformHoist&&t.transformHoist(s,t,e),i&&i===r&&e.type===1&&e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&isArray(e.codegenNode.children)){const o=t.hoist(createArrayExpression(e.codegenNode.children));t.hmr&&(o.content=`[...${o.content}]`),e.codegenNode.children=o}}function getConstantType(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const s=n.get(e);if(s!==void 0)return s;const r=e.codegenNode;if(r.type!==13||r.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject")return 0;if(getPatchFlag(r))return n.set(e,0),0;{let a=3;const l=getGeneratedPropsConstantType(e,t);if(l===0)return n.set(e,0),0;l<a&&(a=l);for(let c=0;c<e.children.length;c++){const u=getConstantType(e.children[c],t);if(u===0)return n.set(e,0),0;u<a&&(a=u)}if(a>1)for(let c=0;c<e.props.length;c++){const u=e.props[c];if(u.type===7&&u.name==="bind"&&u.exp){const d=getConstantType(u.exp,t);if(d===0)return n.set(e,0),0;d<a&&(a=d)}}if(r.isBlock){for(let c=0;c<e.props.length;c++)if(e.props[c].type===7)return n.set(e,0),0;t.removeHelper(OPEN_BLOCK),t.removeHelper(getVNodeBlockHelper(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(getVNodeHelper(t.inSSR,r.isComponent))}return n.set(e,a),a}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return getConstantType(e.content,t);case 4:return e.constType;case 8:let o=3;for(let a=0;a<e.children.length;a++){const l=e.children[a];if(isString(l)||isSymbol(l))continue;const c=getConstantType(l,t);if(c===0)return 0;c<o&&(o=c)}return o;default:return 0}}const allowHoistedHelperSet=new Set([NORMALIZE_CLASS,NORMALIZE_STYLE,NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getConstantTypeOfHelperCall(e,t){if(e.type===14&&!isString(e.callee)&&allowHoistedHelperSet.has(e.callee)){const n=e.arguments[0];if(n.type===4)return getConstantType(n,t);if(n.type===14)return getConstantTypeOfHelperCall(n,t)}return 0}function getGeneratedPropsConstantType(e,t){let n=3;const s=getNodeProps(e);if(s&&s.type===15){const{properties:r}=s;for(let i=0;i<r.length;i++){const{key:o,value:a}=r[i],l=getConstantType(o,t);if(l===0)return l;l<n&&(n=l);let c;if(a.type===4?c=getConstantType(a,t):a.type===14?c=getConstantTypeOfHelperCall(a,t):c=0,c===0)return c;c<n&&(n=c)}}return n}function getNodeProps(e){const t=e.codegenNode;if(t.type===13)return t.props}function getPatchFlag(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function createTransformContext(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:r=!1,cacheHandlers:i=!1,nodeTransforms:o=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=NOOP,isCustomElement:u=NOOP,expressionPlugins:d=[],scopeId:f=null,slotted:g=!0,ssr:y=!1,inSSR:T=!1,ssrCssVars:R="",b
vendor: 6,207 bytes, lines 25-30
25indingMetadata:I=EMPTY_OBJ,inline:C=!1,isTS:S=!1,onError:b=defaultOnError,onWarn:v=defaultOnWarn,compatConfig:x}){const P=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),_={filename:t,selfName:P&&capitalize$1(camelize(P[1])),prefixIdentifiers:n,hoistStatic:s,hmr:r,cacheHandlers:i,nodeTransforms:o,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:d,scopeId:f,slotted:g,ssr:y,inSSR:T,ssrCssVars:R,bindingMetadata:I,inline:C,isTS:S,onError:b,onWarn:v,compatConfig:x,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new WeakMap,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(O){const N=_.helpers.get(O)||0;return _.helpers.set(O,N+1),O},removeHelper(O){const N=_.helpers.get(O);if(N){const w=N-1;w?_.helpers.set(O,w):_.helpers.delete(O)}},helperString(O){return`_${helperNameMap[_.helper(O)]}`},replaceNode(O){_.parent.children[_.childIndex]=_.currentNode=O},removeNode(O){const N=_.parent.children,w=O?N.indexOf(O):_.currentNode?_.childIndex:-1;!O||O===_.currentNode?(_.currentNode=null,_.onNodeRemoved()):_.childIndex>w&&(_.childIndex--,_.onNodeRemoved()),_.parent.children.splice(w,1)},onNodeRemoved:NOOP,addIdentifiers(O){},removeIdentifiers(O){},hoist(O){isString(O)&&(O=createSimpleExpression(O)),_.hoists.push(O);const N=createSimpleExpression(`_hoisted_${_.hoists.length}`,!1,O.loc,2);return N.hoisted=O,N},cache(O,N=!1){return createCacheExpression(_.cached++,O,N)}};return _.filters=new Set,_}function transform(e,t){const n=createTransformContext(e,t);traverseNode(e,n),t.hoistStatic&&hoistStatic(e,n),t.ssr||createRootCodegen(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function createRootCodegen(e,t){const{helper:n}=t,{children:s}=e;if(s.length===1){const r=s[0];if(isSingleElementRoot(e,r)&&r.codegenNode){const i=r.codegenNode;i.type===13&&convertToBlock(i,t),e.codegenNode=i}else e.codegenNode=r}else if(s.length>1){let r=64;e.codegenNode=createVNodeCall(t,n(FRAGMENT),void 0,e.children,r+"",void 0,void 0,!0,void 0,!1)}}function traverseChildren(e,t){let n=0;const s=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];isString(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=s,traverseNode(r,t))}}function traverseNode(e,t){t.currentNode=e;const{nodeTransforms:n}=t,s=[];for(let i=0;i<n.length;i++){const o=n[i](e,t);if(o&&(isArray(o)?s.push(...o):s.push(o)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(CREATE_COMMENT);break;case 5:t.ssr||t.helper(TO_DISPLAY_STRING);break;case 9:for(let i=0;i<e.branches.length;i++)traverseNode(e.branches[i],t);break;case 10:case 11:case 1:case 0:traverseChildren(e,t);break}t.currentNode=e;let r=s.length;for(;r--;)s[r]()}function createStructuralDirectiveTransform(e,t){const n=isString(e)?s=>s===e:s=>e.test(s);return(s,r)=>{if(s.type===1){const{props:i}=s;if(s.tagType===3&&i.some(isVSlot))return;const o=[];for(let a=0;a<i.length;a++){const l=i[a];if(l.type===7&&n(l.name)){i.splice(a,1),a--;const c=t(s,l,r);c&&o.push(c)}}return o}}}const PURE_ANNOTATION="/*#__PURE__*/",aliasHelper=e=>`${helperNameMap[e]}: _${helperNameMap[e]}`;function createCodegenContext(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:r="template.vue.html",scopeId:i=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:d=!1,inSSR:f=!1}){const g={mode:t,prefixIdentifiers:n,sourceMap:s,filename:r,scopeId:i,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:d,inSSR:f,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(T){return`_${helperNameMap[T]}`},push(T,R=-2,I){g.code+=T},indent(){y(++g.indentLevel)},deindent(T=!1){T?--g.indentLevel:y(--g.indentLevel)},newline(){y(g.indentLevel)}};function y(T){g.push(`
26`+"  ".repeat(T),0)}return g}function generate(e,t={}){const n=createCodegenContext(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:r,prefixIdentifiers:i,indent:o,deindent:a,newline:l,scopeId:c,ssr:u}=n,d=Array.from(e.helpers),f=d.length>0,g=!i&&s!=="module";genFunctionPreamble(e,n);const T=u?"ssrRender":"render",I=(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(r(`function ${T}(${I}) {`),o(),g&&(r("with (_ctx) {"),o(),f&&(r(`const { ${d.map(aliasHelper).join(", ")} } = _Vue
27`,-1),l())),e.components.length&&(genAssets(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(genAssets(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),genAssets(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let C=0;C<e.temps;C++)r(`${C>0?", ":""}_temp${C}`)}return(e.components.length||e.directives.length||e.temps)&&(r(`
28`,0),l()),u||r("return "),e.codegenNode?genNode(e.codegenNode,n):r("null"),g&&(a(),r("}")),a(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function genFunctionPreamble(e,t){const{ssr:n,prefixIdentifiers:s,push:r,newline:i,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:l}=t,c=a,u=Array.from(e.helpers);if(u.length>0&&(r(`const _Vue = ${c}
29`,-1),e.hoists.length)){const d=[CREATE_VNODE,CREATE_ELEMENT_VNODE,CREATE_COMMENT,CREATE_TEXT,CREATE_STATIC].filter(f=>u.includes(f)).map(aliasHelper).join(", ");r(`const { ${d} } = _Vue
30`,-1)}genHoists(e.hoists,t),i(),r("return ")}function genAssets(e,t,{helper:n,push:s,newline:r,isTS:i}){const o=n(t==="filter"?RESOLVE_FILTER:t==="component"?RESOLVE_COMPONENT:RESOLVE_DIRECTIVE);for(let a=0;a<e.length;a++){let l=e[a];const c=l.endsWith("__self");c&&(l=l.slice(0,-6)),s(`const ${toValidAssetId(l,t)} = ${o}(${JSON.stringify(l)}${c?", true":""})${i?"!":""}`),a<e.length-1&&r()}}function genHoists(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s,helper:r,scopeId:i,mode:o}=t;s();for(let a=0;a<e.length;a++){const l=e[a];l&&(n(`const _hoisted_${a+1}
30 = `),genNode(l,t),s())}t.pure=!1}function genNodeListAsArray(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),genNodeList(e,t,n),n&&t.deindent(),t.push("]")}function genNodeList(e,t,n=!1,s=!0){const{push:r,newline:i}=t;for(let o=0;o<e.length;o++){const a=e[o];isString(a)?r(a,-3):isArray(a)?genNodeListAsArray(a,t):genNode(a,t),o<e.length-1&&(n?(s&&r(","),i()):s&&r(", "))}}function genNode(e,t){if(isString(e)){t.push(e,-3);return}if(isSymbol(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:genNode(e.codegenNode,t);break;case 2:genText(e,t);break;case 4:genExpression(e,t);break;case 5:genInterpolation(e,t);break;case 12:genNode(e.codegenNode,t);break;case 8:genCompoundExpression(e,t);break;case 3:genComment(e,t);break;case 13:genVNodeCall(e,t);break;case 14:genCallExpression(e,t);break;case 15:genObjectExpression(e,t);break;case 17:genArrayExpression(e,t);break;case 18:genFunctionExpression(e,t);break;case 19:genConditionalExpression(e,t);break;case 20:genCacheExpression(e,t);break;case 21:genNodeList(e.body,t,!0,!1);break}}function genText(e,t){t.push(JSON.stringify(e.content),-3,e)}function genExpression(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function genInterpolation(e,t){const{push:n,helper:s,pure:r}=t;r&&n(PURE_ANNOTATION),n(`${s(TO_DISPLAY_STRING)}(`),genNode(e.content,t),n(")")}function genCompoundExpression(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];isString(s)?t.push(s,-3):genNode(s,t)}}function genExpressionAsPropertyKey(e,t){const{push:n}=t;if(e.type===8)n("["),genCompoundExpression(e,t),n("]");else if(e.isStatic){const s=isSimpleIdentifier(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function genComment(e,t){const{push:n,helper:s,pure:r}=t;r&&n(PURE_ANNOTATION),n(`${s(CREATE_COMMENT)}(${JSON.stringify(e.content)})`,-3,e)}function genVNodeCall(e,t){const{push:n,helper:s,pure:r}=t,{tag:i,props:o,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:d,disableTracking:f,isComponent:g}=e;u&&n(s(WITH_DIRECTIVES)+"("),d&&n(`(${s(OPEN_BLOCK)}(${f?"true":""}), `),r&&n(PURE_ANNOTATION);const y=d?getVNodeBlockHelper(t.inSSR,g):getVNodeHelper(t.inSSR,g);n(s(y)+"(",-2,e),genNodeList(genNullableArgs([i,o,a,l,c]),t),n(")"),d&&n(")"),u&&(n(", "),genNode(u,t),n(")"))}function genNullableArgs(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function genCallExpression(e,t){const{push:n,helper:s,pure:r}=t,i=isString(e.callee)?e.callee:s(e.callee);r&&n(PURE_ANNOTATION),n(i+"(",-2,e),genNodeList(e.arguments,t),n(")")}function genObjectExpression(e,t){const{push:n,indent:s,deindent:r,newline:i}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const a=o.length>1||!1;n(a?"{":"{ "),a&&s();for(let l=0;l<o.length;l++){const{key:c,value:u}=o[l];genExpressionAsPropertyKey(c,t),n(": "),genNode(u,t),l<o.length-1&&(n(","),i())}a&&r(),n(a?"}":" }")}function genArrayExpression(e,t){genNodeListAsArray(e.elements,t)}function genFunctionExpression(e,t){const{push:n,indent:s,deindent:r}=t,{params:i,returns:o,body:a,newline:l,isSlot:c}=e;c&&n(`_${helperNameMap[WITH_CTX]}(`),n("(",-2,e),isArray(i)?genNodeList(i,t):i&&genNode(i,t),n(") => "),(l||a)&&(n("{"),s()),o?(l&&n("return "),isArray(o)?genNodeListAsArray(o,t):genNode(o,t)):a&&genNode(a,t),(l||a)&&(r(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function genConditionalExpression(e,t){const{test:n,consequent:s,alternate:r,newline:i}=e,{push:o,indent:a,deindent:l,newline:c}=t;if(n.type===4){const d=!isSimpleIdentifier(n.content);d&&o("("),genExpression(n,t),d&&o(")")}else o("("),genNode(n,t),o(")");i&&a(),t.indentLevel++,i||o(" "),o("? "),genNode(s,t),t.indentLevel--,i&&c(),i||o(" "),o(": ");const u=r.type===19;u||t.indentLevel++,genNode(r,t),u||t.indentLevel--,i&&l(!0)}function genCacheExpression(e,t){const{push:n,helper:s,indent:r,deindent:i,newline:o}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${s(SET_BLOCK_TRACKING)}(-1),`),o()),n(`_cache[${e.index}] = `),genNode(e.value,t),e.isVNode&&(n(","),o(),n(`${s(SET_BLOCK_TRACKING)}(1),`),o(),n(`_cache[${e.index}]`),i()),n(")")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const transformIf=createStructuralDirectiveTransform(/^(if|else|else-if)$/,(e,t,n)=>processIf(e,t,n,(s,r,i)=>{const o=n.parent.children;let a=o.indexOf(s),l=0;for(;a-->=0;){const c=o[a];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(i)s.codegenNode=createCodegenNodeForBranch(r,l,n);else{const c=getParentCondition(s.codegenNode);c.alternate=createCodegenNodeForBranch(r,l+s.branches.length-1,n)}}}));function processIf(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(createCompilerError(28,t.loc)),t.exp=createSimpleExpression("true",!1,r)}if(t.name==="if"){const r=createIfBranch(e,t),i={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(i),s)return s(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(e);for(;i-->=-1;){const o=r[i];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(createCompilerError(30,e.loc)),n.removeNode();const a=createIfBranch(e,t);o.branches.push(a);const l=s&&s(o,a,!1);
vendor: 6,970 bytes, line 30
30traverseNode(a,n),l&&l(),n.currentNode=null}else n.onError(createCompilerError(30,e.loc));break}}}function createIfBranch(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!findDir(e,"for")?e.children:[e],userKey:findProp(e,"key"),isTemplateIf:n}}function createCodegenNodeForBranch(e,t,n){return e.condition?createConditionalExpression(e.condition,createChildrenCodegenNode(e,t,n),createCallExpression(n.helper(CREATE_COMMENT),['""',"true"])):createChildrenCodegenNode(e,t,n)}function createChildrenCodegenNode(e,t,n){const{helper:s}=n,r=createObjectProperty("key",createSimpleExpression(`${t}`,!1,locStub,2)),{children:i}=e,o=i[0];if(i.length!==1||o.type!==1)if(i.length===1&&o.type===11){const l=o.codegenNode;return injectProp(l,r,n),l}else return createVNodeCall(n,s(FRAGMENT),createObjectExpression([r]),i,64+"",void 0,void 0,!0,!1,!1,e.loc);else{const l=o.codegenNode,c=getMemoedVNodeCall(l);return c.type===13&&convertToBlock(c,n),injectProp(c,r,n),l}}function getParentCondition(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const transformFor=createStructuralDirectiveTransform("for",(e,t,n)=>{const{helper:s,removeHelper:r}=n;return processFor(e,t,n,i=>{const o=createCallExpression(s(RENDER_LIST),[i.source]),a=isTemplateNode(e),l=findDir(e,"memo"),c=findProp(e,"key"),u=c&&(c.type===6?createSimpleExpression(c.value.content,!0):c.exp),d=c?createObjectProperty("key",u):null,f=i.source.type===4&&i.source.constType>0,g=f?64:c?128:256;return i.codegenNode=createVNodeCall(n,s(FRAGMENT),void 0,o,g+"",void 0,void 0,!0,!f,!1,e.loc),()=>{let y;const{children:T}=i,R=T.length!==1||T[0].type!==1,I=isSlotOutlet(e)?e:a&&e.children.length===1&&isSlotOutlet(e.children[0])?e.children[0]:null;if(I?(y=I.codegenNode,a&&d&&injectProp(y,d,n)):R?y=createVNodeCall(n,s(FRAGMENT),d?createObjectExpression([d]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(y=T[0].codegenNode,a&&d&&injectProp(y,d,n),y.isBlock!==!f&&(y.isBlock?(r(OPEN_BLOCK),r(getVNodeBlockHelper(n.inSSR,y.isComponent))):r(getVNodeHelper(n.inSSR,y.isComponent))),y.isBlock=!f,y.isBlock?(s(OPEN_BLOCK),s(getVNodeBlockHelper(n.inSSR,y.isComponent))):s(getVNodeHelper(n.inSSR,y.isComponent))),l){const C=createFunctionExpression(createForLoopParams(i.parseResult,[createSimpleExpression("_cached")]));C.body=createBlockStatement([createCompoundExpression(["const _memo = (",l.exp,")"]),createCompoundExpression(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`]),createCompoundExpression(["const _item = ",y]),createSimpleExpression("_item.memo = _memo"),createSimpleExpression("return _item")]),o.arguments.push(C,createSimpleExpression("_cache"),createSimpleExpression(String(n.cached++)))}else o.arguments.push(createFunctionExpression(createForLoopParams(i.parseResult),y,!0))}})});function processFor(e,t,n,s){if(!t.exp){n.onError(createCompilerError(31,t.loc));return}const r=t.forParseResult;if(!r){n.onError(createCompilerError(32,t.loc));return}finalizeForParseResult(r);const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=n,{source:l,value:c,key:u,index:d}=r,f={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:d,parseResult:r,children:isTemplateNode(e)?e.children:[e]};n.replaceNode(f),a.vFor++;const g=s&&s(f);return()=>{a.vFor--,g&&g()}}function finalizeForParseResult(e,t){e.finalized||(e.finalized=!0)}function createForLoopParams({value:e,key:t,index:n},s=[]){return createParamsList([e,t,n,...s])}function createParamsList(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||createSimpleExpression("_".repeat(s+1),!1))}const defaultFallback=createSimpleExpression("undefined",!1),trackSlotScopes=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=findDir(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},buildClientSlotFn=(e,t,n,s)=>createFunctionExpression(e,n,!1,!0,n.length?n[0].loc:s);function buildSlots(e,t,n=buildClientSlotFn){t.helper(WITH_CTX);const{children:s,loc:r}=e,i=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=findDir(e,"slot",!0);if(l){const{arg:R,exp:I}=l;R&&!isStaticExp(R)&&(a=!0),i.push(createObjectProperty(R||createSimpleExpression("default",!0),n(I,void 0,s,r)))}let c=!1,u=!1;const d=[],f=new Set;let g=0;for(let R=0;R<s.length;R++){const I=s[R];let C;if(!isTemplateNode(I)||!(C=findDir(I,"slot",!0))){I.type!==3&&d.push(I);continue}if(l){t.onError(createCompilerError(37,C.loc));break}c=!0;const{children:S,loc:b}=I,{arg:v=createSimpleExpression("default",!0),exp:x,loc:P}=C;let _;isStaticExp(v)?_=v?v.content:"default":a=!0;const O=findDir(I,"for"),N=n(x,O,S,b);let w,k;if(w=findDir(I,"if"))a=!0,o.push(createConditionalExpression(w.exp,buildDynamicSlot(v,N,g++),defaultFallback));else if(k=findDir(I,/^else(-if)?$/,!0)){let M=R,z;for(;M--&&(z=s[M],z.type===3););if(z&&isTemplateNode(z)&&findDir(z,"if")){s.splice(R,1),R--;let q=o[o.length-1];for(;q.alternate.type===19;)q=q.alternate;q.alternate=k.exp?createConditionalExpression(k.exp,buildDynamicSlot(v,N,g++),defaultFallback):buildDynamicSlot(v,N,g++)}else t.onError(createCompilerError(30,k.loc))}else if(O){a=!0;const M=O.forParseResult;M?(finalizeForParseResult(M),o.push(createCallExpression(t.helper(RENDER_LIST),[M.source,createFunctionExpression(createForLoopParams(M),buildDynamicSlot(v,N),!0)]))):t.onError(createCompilerError(32,O.loc))}else{if(_){if(f.has(_)){t.onError(createCompilerError(38,P));continue}f.add(_),_==="default"&&(u=!0)}i.push(createObjectProperty(v,N))}}if(!l){const R=(I,C)=>{const S=n(I,void 0,C,r);return t.compatConfig&&(S.isNonScopedSlot=!0),createObjectProperty("default",S)};c?d.length&&d.some(I=>isNonWhitespaceContent(I))&&(u?t.onError(createCompilerError(39,d[0].loc)):i.push(R(void 0,d))):i.push(R(void 0,s))}const y=a?2:hasForwardedSlots(e.children)?3:1;let T=createObjectExpression(i.concat(createObjectProperty("_",createSimpleExpression(y+"",!1))),r);return o.length&&(T=createCallExpression(t.helper(CREATE_SLOTS),[T,createArrayExpression(o)])),{slots:T,hasDynamicSlots:a}}function buildDynamicSlot(e,t,n){const s=[createObjectProperty("name",e),createObjectProperty("fn",t)];return n!=null&&s.push(createObjectProperty("key",createSimpleExpression(String(n),!0))),createObjectExpression(s)}function hasForwardedSlots(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||hasForwardedSlots(n.children))return!0;break;case 9:if(hasForwardedSlots(n.branches))return!0;break;case 10:case 11:if(hasForwardedSlots(n.children))return!0;break}}return!1}function isNonWhitespaceContent(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():isNonWhitespaceContent(e.content)}const directiveImportMap=new WeakMap,transformElement=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:r}=e,i=e.tagType===1;
30let o=i?resolveComponentType(e,t):`"${s}"`;const a=isObject(o)&&o.callee===RESOLVE_DYNAMIC_COMPONENT;let l,c,u,d=0,f,g,y,T=a||o===TELEPORT||o===SUSPENSE||!i&&(s==="svg"||s==="foreignObject");if(r.length>0){const R=buildProps(e,t,void 0,i,a);l=R.props,d=R.patchFlag,g=R.dynamicPropNames;const I=R.directives;y=I&&I.length?createArrayExpression(I.map(C=>buildDirectiveArgs(C,t))):void 0,R.shouldUseBlock&&(T=!0)}if(e.children.length>0)if(o===KEEP_ALIVE&&(T=!0,d|=1024),i&&o!==TELEPORT&&o!==KEEP_ALIVE){const{slots:I,hasDynamicSlots:C}=buildSlots(e,t);c=I,C&&(d|=1024)}else if(e.children.length===1&&o!==TELEPORT){const I=e.children[0],C=I.type,S=C===5||C===8;S&&getConstantType(I,t)===0&&(d|=1),S||C===2?c=I:c=e.children}else c=e.children;d!==0&&(u=String(d),g&&g.length&&(f=stringifyDynamicPropNames(g))),e.codegenNode=createVNodeCall(t,o,l,c,u,f,y,!!T,!1,i,e.loc)};function resolveComponentType(e,t,n=!1){let{tag:s}=e;const r=isComponentTag(s),i=findProp(e,"is");if(i)if(r||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)){const a=i.type===6?i.value&&createSimpleExpression(i.value.content,!0):i.exp;if(a)return createCallExpression(t.helper(RESOLVE_DYNAMIC_COMPONENT),[a])}else i.type===6&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=isCoreComponent(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(RESOLVE_COMPONENT),t.components.add(s),toValidAssetId(s,"component"))}function buildProps(e,t,n=e.props,s,r,i=!1){const{tag:o,loc:a,children:l}=e;let c=[];const u=[],d=[],f=l.length>0;let g=!1,y=0,T=!1,R=!1,I=!1,C=!1,S=!1,b=!1;const v=[],x=O=>{c.length&&(u.push(createObjectExpression(dedupeProperties(c),a)),c=[]),O&&u.push(O)},P=({key:O,value:N})=>{if(isStaticExp(O)){const w=O.content,k=isOn(w);if(k&&(!s||r)&&w.toLowerCase()!=="onclick"&&w!=="onUpdate:modelValue"&&!isReservedProp(w)&&(C=!0),k&&isReservedProp(w)&&(b=!0),k&&N.type===14&&(N=N.arguments[0]),N.type===20||(N.type===4||N.type===8)&&getConstantType(N,t)>0)return;w==="ref"?T=!0:w==="class"?R=!0:w==="style"?I=!0:w!=="key"&&!v.includes(w)&&v.push(w),s&&(w==="class"||w==="style")&&!v.includes(w)&&v.push(w)}else S=!0};for(let O=0;O<n.length;O++){const N=n[O];if(N.type===6){const{loc:w,name:k,nameLoc:M,value:z}=N;let q=!0;if(k==="ref"&&(T=!0,t.scopes.vFor>
vendor: 4,682 bytes, line 30
300&&c.push(createObjectProperty(createSimpleExpression("ref_for",!0),createSimpleExpression("true")))),k==="is"&&(isComponentTag(o)||z&&z.content.startsWith("vue:")||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(createObjectProperty(createSimpleExpression(k,!0,M),createSimpleExpression(z?z.content:"",q,z?z.loc:w)))}else{const{name:w,arg:k,exp:M,loc:z,modifiers:q}=N,F=w==="bind",W=w==="on";if(w==="slot"){s||t.onError(createCompilerError(40,z));continue}if(w==="once"||w==="memo"||w==="is"||F&&isStaticArgOf(k,"is")&&(isComponentTag(o)||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t))||W&&i)continue;if((F&&isStaticArgOf(k,"key")||W&&f&&isStaticArgOf(k,"vue:before-update"))&&(g=!0),F&&isStaticArgOf(k,"ref")&&t.scopes.vFor>0&&c.push(createObjectProperty(createSimpleExpression("ref_for",!0),createSimpleExpression("true"))),!k&&(F||W)){if(S=!0,M)if(F){if(x(),isCompatEnabled("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(M);continue}u.push(M)}else x({type:14,loc:z,callee:t.helper(TO_HANDLERS),arguments:s?[M]:[M,"true"]});else t.onError(createCompilerError(F?34:35,z));continue}F&&q.includes("prop")&&(y|=32);const B=t.directiveTransforms[w];if(B){const{props:te,needRuntime:re}=B(N,e,t);!i&&te.forEach(P),W&&k&&!isStaticExp(k)?x(createObjectExpression(te,a)):c.push(...te),re&&(d.push(N),isSymbol(re)&&directiveImportMap.set(N,re))}else isBuiltInDirective(w)||(d.push(N),f&&(g=!0))}}let _;if(u.length?(x(),u.length>1?_=createCallExpression(t.helper(MERGE_PROPS),u,a):_=u[0]):c.length&&(_=createObjectExpression(dedupeProperties(c),a)),S?y|=16:(R&&!s&&(y|=2),I&&!s&&(y|=4),v.length&&(y|=8),C&&(y|=32)),!g&&(y===0||y===32)&&(T||b||d.length>0)&&(y|=512),!t.inSSR&&_)switch(_.type){case 15:let O=-1,N=-1,w=!1;for(let z=0;z<_.properties.length;z++){const q=_.properties[z].key;isStaticExp(q)?q.content==="class"?O=z:q.content==="style"&&(N=z):q.isHandlerKey||(w=!0)}const k=_.properties[O],M=_.properties[N];w?_=createCallExpression(t.helper(NORMALIZE_PROPS),[_]):(k&&!isStaticExp(k.value)&&(k.value=createCallExpression(t.helper(NORMALIZE_CLASS),[k.value])),M&&(I||M.value.type===4&&M.value.content.trim()[0]==="["||M.value.type===17)&&(M.value=createCallExpression(t.helper(NORMALIZE_STYLE),[M.value])));break;case 14:break;default:_=createCallExpression(t.helper(NORMALIZE_PROPS),[createCallExpression(t.helper(GUARD_REACTIVE_PROPS),[_])]);break}return{props:_,directives:d,patchFlag:y,dynamicPropNames:v,shouldUseBlock:g}}function dedupeProperties(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const r=e[s];if(r.key.type===8||!r.key.isStatic){n.push(r);continue}const i=r.key.content,o=t.get(i);o?(i==="style"||i==="class"||isOn(i))&&mergeAsArray(o,r):(t.set(i,r),n.push(r))}return n}function mergeAsArray(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=createArrayExpression([e.value,t.value],e.loc)}function buildDirectiveArgs(e,t){const n=[],s=directiveImportMap.get(e);s?n.push(t.helperString(s)):(t.helper(RESOLVE_DIRECTIVE),t.directives.add(e.name),n.push(toValidAssetId(e.name,"directive")));const{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const i=createSimpleExpression("true",!1,r);n.push(createObjectExpression(e.modifiers.map(o=>createObjectProperty(o,i)),r))}return createArrayExpression(n,e.loc)}function stringifyDynamicPropNames(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function isComponentTag(e){return e==="component"||e==="Component"}const transformSlotOutlet=(e,t)=>{if(isSlotOutlet(e)){const{children:n,loc:s}=e,{slotName:r,slotProps:i}=processSlotOutlet(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),n.length&&(o[3]=createFunctionExpression([],n,!1,!1,s),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=createCallExpression(t.helper(RENDER_SLOT),o,s)}};function processSlotOutlet(e,t){let n='"default"',s;const r=[];for(let i=0;i<e.props.length;i++){const o=e.props[i];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=camelize(o.name),r.push(o)));else if(o.name==="bind"&&isStaticArgOf(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const a=camelize(o.arg.content);n=o.exp=createSimpleExpression(a,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&isStaticExp(o.arg)&&(o.arg.content=camelize(o.arg.content)),r.push(o)}if(r.length>0){const{props:i,directives:o}=buildProps(e,t,r,!1,!1);s=i,o.length&&t.onError(createCompilerError(36,o[0].loc))}return{slotName:n,slotProps:s}}const fnExpRE=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>
30|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,transformOn$1=(e,t,n,s)=>{const{loc:r,modifiers:i,arg:o}=e;!e.exp&&!i.length&&n.onError(createCompilerError(35,r));let a;if(o.type===4)if(o.isStatic){let d=o.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const f=t.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?toHandlerKey(camelize(d)):`on:${d}`;a=createSimpleExpression(f,!0,o.loc)}else a=createCompoundExpression([`${n.helperString(TO_HANDLER_KEY)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(TO_HANDLER_KEY)}(`),a.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const d=isMemberExpression(l.content),f=!(d||fnExpRE.test(l.content)),g=l.content.includes(";");(f||c&&d)&&(l=createCompoundExpression([`${f?"$event":"(...args)"} => ${g?"{":"("}`,l,g?"}":")"]))}let u={props:[createObjectProperty(a,l||createSimpleExpression("() => {}",!1,r))]};return s&&(u=s(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(d=>d.key.isHandlerKey=!0),u},transformBind=(e,t,n)=>{const{modifiers:s,loc:r}=e,i=e.arg;let{exp:o}=e;if(o&&o.type===4&&!o.content.trim()&&(o=void 0),!o){if(i.type!==4||!i.isStatic)return n.onError(createCompilerError(52,i.loc)),{props:[createObjectProperty(i,createSimpleExpression("",!0,r))]};const a=camelize(i.content);o=e.exp=createSimpleExpression(a,!1,i.loc)}return i.type!==4?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),s.includes("camel")&&(i.type===4?i.isStatic?i.content=camelize(i.content):i.content=`${n.helperString(CAMELIZE)}(${i.content})`:(i.children.unshift(`${n.helperString(CAMELIZE)}(`),i.children.push(")"))),n.inSSR||(s.includes("prop")&&injectPrefix(i,"."),s.includes("attr")&&injectPrefix(i,"^")),{props:[createObjectProperty(i,o)]}},injectPrefix=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},transformText=(e,t)=>
vendor: 3,258 bytes, line 30
30{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,r=!1;for(let i=0;i<n.length;i++){const o=n[i];if(isText$1(o)){r=!0;for(let a=i+1;a<n.length;a++){const l=n[a];if(isText$1(l))s||(s=n[i]=createCompoundExpression([o],o.loc)),s.children.push(" + ",l),n.splice(a,1),a--;else{s=void 0;break}}}}if(!(!r||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(i=>i.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i<n.length;i++){const o=n[i];if(isText$1(o)||o.type===8){const a=[];(o.type!==2||o.content!==" ")&&a.push(o),!t.ssr&&getConstantType(o,t)===0&&a.push("1"),n[i]={type:12,content:o,loc:o.loc,codegenNode:createCallExpression(t.helper(CREATE_TEXT),a)}}}}},seen$1=new WeakSet,transformOnce=(e,t)=>{if(e.type===1&&findDir(e,"once",!0))return seen$1.has(e)||t.inVOnce||t.inSSR?void 0:(seen$1.add(e),t.inVOnce=!0,t.helper(SET_BLOCK_TRACKING),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},transformModel$1=(e,t,n)=>{const{exp:s,arg:r}=e;if(!s)return n.onError(createCompilerError(41,e.loc)),createTransformProps();const i=s.loc.source,o=s.type===4?s.content:i,a=n.bindingMetadata[i];if(a==="props"||a==="props-aliased")return n.onError(createCompilerError(44,s.loc)),createTransformProps();if(!o.trim()||!isMemberExpression(o))return n.onError(createCompilerError(42,s.loc)),createTransformProps();const l=r||createSimpleExpression("modelValue",!0),c=r?isStaticExp(r)?`onUpdate:${camelize(r.content)}`:createCompoundExpression(['"onUpdate:" + ',r]):"onUpdate:modelValue";let u;const d=n.isTS?"($event: any)":"$event";u=createCompoundExpression([`${d} => ((`,s,") = $event)"]);const f=[createObjectProperty(l,e.exp),createObjectProperty(c,u)];if(e.modifiers.length&&t.tagType===1){const g=e.modifiers.map(T=>(isSimpleIdentifier(T)?T:JSON.stringify(T))+": true").join(", "),y=r?isStaticExp(r)?`${r.content}Modifiers`:createCompoundExpression([r,' + "Modifiers"']):"modelModifiers";f.push(createObjectProperty(y,createSimpleExpression(`{ ${g} }`,!1,e.loc,2)))}return createTransformProps(f)};function createTransformProps(e=[]){return{props:e}}const validDivisionCharRE=/[\w).+\-_$\]]/,transformFilter=(e,t)=>{isCompatEnabled("COMPILER_FILTERS",t)&&(e.type===5&&rewriteFilter(e.content,t),e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&rewriteFilter(n.exp,t)}))};function rewriteFilter(e,t){if(e.type===4)parseFilter(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?parseFilter(s,t):s.type===8?rewriteFilter(e,t):s.type===5&&rewriteFilter(s.content,t))}}function parseFilter(e,t){const n=e.content;let s=!1,r=!1,i=!1,o=!1,a=0,l=0,c=0,u=0,d,f,g,y,T=[];for(g=0;g<n.length;g++)if(f=d,d=n.charCodeAt(g),s)d===39&&f!==92&&(s=!1);else if(r)d===34&&f!==92&&(r=!1);else if(i)d===96&&f!==92&&(i=!1);else if(o)d===47&&f!==92&&(o=!1);else if(d===124&&n.charCodeAt(g+1)!==124&&n.charCodeAt(g-1)!==124&&!a&&!l&&!c)y===void 0?(u=g+1,y=n.slice(0,g).trim()):R();else{switch(d){case 34:r=!0;break;case 39:s=!0;break;case 96:i=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--;break}if(d===47){let I=g-1,C;for(;I>
30=0&&(C=n.charAt(I),C===" ");I--);(!C||!validDivisionCharRE.test(C))&&(o=!0)}}y===void 0?y=n.slice(0,g).trim():u!==0&&R();function R(){T.push(n.slice(u,g).trim()),u=g+1}if(T.length){for(g=0;g<T.length;g++)y=wrapFilter(y,T[g],t);e.content=y}}function wrapFilter(e,t,n){n.helper(RESOLVE_FILTER);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${toValidAssetId(t,"filter")}(${e})`;{const r=t.slice(0,s),i=t.slice(s+1);return n.filters.add(r),`${toValidAssetId(r,"filter")}(${e}${i!==")"?","+i:i}`}}const seen=new WeakSet,transformMemo=(e,t)=>{if(e.type===1){const n=findDir(e,"memo");return!n||seen.has(e)?void 0:(seen.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&convertToBlock(s,t),e.codegenNode=createCallExpression(t.helper(WITH_MEMO),[n.exp,createFunctionExpression(void 0,s),"_cache",String(t.cached++)]))})}};function getBaseTransformPreset(e){return[[transformOnce,transformIf,transformMemo,transformFor,transformFilter,transformSlotOutlet,transformElement,trackSlotScopes,transformText],{on:transformOn$1,bind:transformBind,model:transformModel$1}]}function baseCompile(e,t={}){const n=t.onError||defaultOnError,s=t.mode==="module";t.prefixIdentifiers===!0?n(createCompilerError(47)):s&&n(createCompilerError(48));const r=!1;t.cacheHandlers&&n(createCompilerError(49)),t.scopeId&&!s&&n(createCompilerError(50));const i=extend({},t,{prefixIdentifiers:r}),o=isString(e)?baseParse(e,i):e,[a,l]=getBaseTransformPreset();return transform(o,extend({},i,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:extend({},l,t.directiveTransforms||{})})),generate(o,i)}const noopDirectiveTransform=()=>({props:[]});/**
31* @vue/compiler-dom v3.4.21
32* (c) 2018-present Yuxi (Evan) You and Vue contributors
33* @license MIT
34**/const V_MODEL_RADIO=Symbol(""),V_MODEL_CHECKBOX=Symbol(""),V_MODEL_TEXT=Symbol(""),V_MODEL_SELECT=Symbol(""),V_MODEL_DYNAMIC=Symbol(""),V_ON_WITH_MODIFIERS=Symbol(""),V_ON_WITH_KEYS=Symbol(""),V_SHOW=Symbol(""),TRANSITION=Symbol(""),TRANSITION_GROUP=Symbol("");registerRuntimeHelpers({[V_MODEL_RADIO]:"vModelRadio",[V_MODEL_CHECKBOX]:"vModelCheckbox",[V_MODEL_TEXT]:"vModelText",[V_MODEL_SELECT]:"vModelSelect",[V_MODEL_DYNAMIC]:"vModelDynamic",[V_ON_WITH_MODIFIERS]:"withModifiers",[V_ON_WITH_KEYS]:"withKeys",[V_SHOW]:"vShow",[TRANSITION]:"Transition",[TRANSITION_GROUP]:"TransitionGroup"});let decoder;function decodeHtmlBrowser(e,t=!1){return decoder||(decoder=document.createElement("div")),t?(decoder.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,decoder.children[0].getAttribute("foo")):(decoder.innerHTML=e,decoder.textContent)}const parserOptions={parseMode:"html",isVoidTag,isNativeTag:e=>isHTMLTag(e)||isSVGTag(e)||isMathMLTag(e),isPreTag:e=>e==="pre",decodeEntities:decodeHtmlBrowser,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return TRANSITION;if(e==="TransitionGroup"||e==="transition-group")return TRANSITION_GROUP},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},transformStyle=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:createSimpleExpression("style",!0,t.loc),exp:parseInlineCSS(t.value.content,t.loc),modifiers:[],loc:t.loc})})},parseInlineCSS=(e,t)=>{const n=parseStringStyle(e);return createSimpleExpression(JSON.stringify(n),!1,t,3)};function createDOMCompilerError(e,t){return createCompilerError(e,t)}const transformVHtml=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(createDOMCompilerError(53,r)),t.children.length&&(n.onError(createDOMCompilerError(54,r)),t.children.length=0),{props:[createObjectProperty(createSimpleExpression("innerHTML",!0,r),s||createSimpleExpression("",!0))]}},transformVText=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(createDOMCompilerError(55,r)),t.children.length&&(n.onError(createDOMCompilerError(56,r)),t.children.length=0),{props:[createObjectProperty(createSimpleExpression("textContent",!0),s?getConstantType(s,n)>0?s:createCallExpression(n.helperString(TO_DISPLAY_STRING),[s],r):createSimpleExpression("",!0))]}},transformModel=(e,t,n)=>
34{const s=transformModel$1(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(createDOMCompilerError(58,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||i){let o=V_MODEL_TEXT,a=!1;if(r==="input"||i){const l=findProp(t,"type");if(l){if(l.type===7)o=V_MODEL_DYNAMIC;else if(l.value)switch(l.value.content){case"radio":o=V_MODEL_RADIO;break;case"checkbox":o=V_MODEL_CHECKBOX;break;case"file":a=!0,n.onError(createDOMCompilerError(59,e.loc));break}}else hasDynamicKeyVBind(t)&&(o=V_MODEL_DYNAMIC)}else r==="select"&&(o=V_MODEL_SELECT);a||(s.needRuntime=n.helper(o))}else n.onError(createDOMCompilerError(57,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},isEventOptionModifier=makeMap("passive,once,capture"),isNonKeyModifier=makeMap("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),maybeKeyModifier=makeMap("left,right"),isKeyboardEvent=makeMap("onkeyup,onkeydown,onkeypress",!0),resolveModifiers=(e,t,n,s)=>{const r=[],i=[],o=[];for(let a=0;a<t.length;a++){const l=t[a];l==="native"&&checkCompatEnabled("COMPILER_V_ON_NATIVE",n)||isEventOptionModifier(l)?o.push(l):maybeKeyModifier(l)?isStaticExp(e)?isKeyboardEvent(e.content)?r.push(l):i.push(l):(r.push(l),i.push(l)):isNonKeyModifier(l)?i.push(l):r.push(l)}return{keyModifiers:r,nonKeyModifiers:i,eventOptionModifiers:o}},transformClick=(e,t)=>isStaticExp(e)&&e.content.toLowerCase()==="onclick"?createSimpleExpression(t,!0):e.type!==4?createCompoundExpression(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,transformOn=(e,t,n)=>transformOn$1(e,t,n,s=>{const{modifiers:r}=e;if(!r.length)return s;let{key:i,value:o}=s.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=resolveModifiers(i,r,n,e.loc);if(l.includes("right")&&(i=transformClick(i,"onContextmenu")),l.includes("middle")&&(i=transformClick(i,"onMouseup")),l.length&&(o=createCallExpression(n.helper(V_ON_WITH_MODIFIERS),[o,JSON.stringify(l)])),a.length&&(!isStaticExp(i)||isKeyboardEvent(i.content))&&(o=createCallExpression(n.helper(V_ON_WITH_KEYS),[o,JSON.stringify(a)])),c.length){const u=c.map(capitalize$1).join("");i=isStaticExp(i)?createSimpleExpression(`${i.content}${u}`,!0):createCompoundExpression(["(",i,`) + "${u}"`])}return{props:[createObjectProperty(i,o)]}}),transformShow=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(createDOMCompilerError(61,r)),{props:[],needRuntime:n.helper(V_SHOW)}},ignoreSideEffectTags=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},DOMNodeTransforms=[transformStyle],DOMDirectiveTransforms={cloak:noopDirectiveTransform,html:transformVHtml,text:transformVText,model:transformModel,on:transformOn,show:transformShow};function compile(e,t={}){return baseCompile(e,extend({},parserOptions,t,{nodeTransforms:[ignoreSideEffectTags,...DOMNodeTransforms,...t.nodeTransforms||[]],directiveTransforms:extend({},DOMDirectiveTransforms,t.directiveTransforms||{}),transformHoist:null}))}/**
35* vue v3.4.21
36* (c) 2018-present Yuxi (Evan) You and Vue contributors
37* @license MIT
vendor: 5,058 bytes, lines 38-42
38**/const compileCache=new WeakMap;function getCache(e){let t=compileCache.get(e??EMPTY_OBJ);return t||(t=Object.create(null),compileCache.set(e??EMPTY_OBJ,t)),t}function compileToFunction(e,t){if(!isString(e))if(e.nodeType)e=e.innerHTML;else return NOOP;const n=e,s=getCache(t),r=s[n];if(r)return r;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=extend({hoistStatic:!0,onError:void 0,onWarn:NOOP},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:o}=compile(e,i),a=new Function("Vue",o)(runtimeDom);return a._rc=!0,s[n]=a}registerRuntimeCompiler(compileToFunction);/*!
39 * pinia v2.1.7
40 * (c) 2023 Eduardo San Martin Morote
41 * @license MIT
42 */let activePinia;const setActivePinia=e=>activePinia=e,piniaSymbol=Symbol();function isPlainObject(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=[],s=[];const r=markRaw({install(i){setActivePinia(r),r._a=i,i.provide(piniaSymbol,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return this._a?n.push(i):s.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const noop$1=()=>{};function addSubscription(e,t,n,s=noop$1){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&getCurrentScope()&&onScopeDispose(r),r}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,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];isPlainObject(r)&&isPlainObject(s)&&e.hasOwnProperty(n)&&!isRef(s)&&!isReactive(s)?e[n]=mergeReactiveObjects(r,s):e[n]=s}return e}const skipHydrateSymbol=Symbol();function shouldHydrate(e){return!isPlainObject(e)||!e.hasOwnProperty(skipHydrateSymbol)}const{assign}=Object;function isComputed(e){return!!(isRef(e)&&e.effect)}function createOptionsStore(e,t,n,s){const{state:r,actions:i,getters:o}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=r?r():{});const u=toRefs(n.state.value[e]);return assign(u,i,Object.keys(o||{}).reduce((d,f)=>(d[f]=markRaw(computed(()=>{setActivePinia(n);const g=n._s.get(e);return o[f].call(g,g)})),d),{}))}return l=createSetupStore(e,c,t,n,s,!0),l}function createSetupStore(e,t,n={},s,r,i){let o;const a=assign({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],g;const y=s.state.value[e];!i&&!y&&(s.state.value[e]={}),ref({});let T;function R(_){let O;c=u=!1,typeof _=="function"?(_(s.state.value[e]),O={type:MutationType.patchFunction,storeId:e,events:g}):(mergeReactiveObjects(s.state.value[e],_),O={type:MutationType.patchObject,payload:_,storeId:e,events:g});const N=T=Symbol();nextTick().then(()=>{T===N&&(c=!0)}),u=!0,triggerSubscriptions(d,O,s.state.value[e])}const I=i?function(){const{state:O}=n,N=O?O():{};this.$patch(w=>{assign(w,N)})}:noop$1;function C(){o.stop(),d=[],f=[],s._s.delete(e)}function S(_,O){return function(){setActivePinia(s);const N=Array.from(arguments),w=[],k=[];function M(F){w.push(F)}function z(F){k.push(F)}triggerSubscriptions(f,{args:N,name:_,store:v,after:M,onError:z});let q;try{q=O.apply(this&&this.$id===e?this:v,N)}catch(F){throw triggerSubscriptions(k,F),F}return q instanceof Promise?q.then(F=>(triggerSubscriptions(w,F),F)).catch(F=>(triggerSubscriptions(k,F),Promise.reject(F))):(triggerSubscriptions(w,q),q)}}const b={_p:s,$id:e,$onAction:addSubscription.bind(null,f),$patch:R,$reset:I,$subscribe(_,O={}){const N=addSubscription(d,_,O.detached,()=>w()),w=o.run(()=>watch(()=>s.state.value[e],k=>{(O.flush==="sync"?u:c)&&_({storeId:e,type:MutationType.direct,events:g},k)},assign({},l,O)));return N},$dispose:C},v=reactive(b);s._s.set(e,v);const P=(s._a&&s._a.runWithContext||fallbackRunWithContext)(()=>s._e.run(()=>(o=effectScope()).run(t)));for(const _ in P){const O=P[_];if(isRef(O)&&!isComputed(O)||isReactive(O))i||(y&&shouldHydrate(O)&&(isRef(O)?O.value=y[_]:mergeReactiveObjects(O,y[_])),s.state.value[e][_]=O);else if(typeof O=="function"){const N=S(_,O);P[_]=N,a.actions[_]=O}}return assign(v,P),assign(toRaw(v),P),Object.defineProperty(v,"$state",{get:()=>s.state.value[e],set:_=>{R(O=>{assign(O,_)})}}),s._p.forEach(_=>{assign(v,o.run(()=>_({store:v,app:s._a,pinia:s,options:a})))}),y&&i&&n.hydrate&&n.hydrate(v.$state,y),c=!0,u=!0,v}function defineStore(e,t,n){let s,r;const i=typeof t=="function";typeof e=="string"?(s=e,r=i?n:t):(r=e,s=e.id);function o(a,l){const c=hasInjectionContext();return a=a||(c?inject(piniaSymbol,null):null),a&&setActivePinia(a),a=activePinia,a._s.has(s)||(i?createSetupStore(s,t,r,a):createOptionsStore(s,r,a)),a._s.get(s)}return o.$id=s,o}class GfoApi{constructor(){this.gfo_api_url="",this.gfo_api_token=""}
42async sendGetRequest(t){let n=this.gfo_api_url;n+=t;let s={"Content-Type":"application/json",Accept:"application/json"};return s["X-API-TOKEN"]=this.gfo_api_token,fetch(n,{method:"GET",headers:s})}async sendPostRequest(t,n){let s=this.gfo_api_url;s+=t;let r={"Content-Type":"application/json",Accept:"application/json"};return r["X-API-TOKEN"]=this.gfo_api_token,fetch(s,{method:"POST",headers:r,body:n==null?null:JSON.stringify(n)})}async sendPatchRequest(t,n){let s=this.gfo_api_url;s+=t;let r={"Content-Type":"application/json",Accept:"application/json"};return r["X-API-TOKEN"]=this.gfo_api_token,fetch(s,{method:"PATCH",headers:r,body:n==null?null:JSON.stringify(n)})}async sendRequest(t,n,s){if(t=="GET")return this.sendGetRequest(n);if(t=="POST")return this.sendPostRequest(n,s);throw new Error(`Api.SendRequest: Method ${t} unknown`)}}class AddressApi{constructor(){this.api_token=""}async sendGetRequest(t){let n="https://addr-api.iway.ch";n+=t;let s={Accept:"application/json",Authorization:"Bearer "+this.api_token};return fetch(n,{method:"GET",headers:s})}async sendRequest(t,n,s){if(t=="GET")return this.sendGetRequest(n);throw new Error(`Api.SendRequest: Method ${t} unknown`)}}class Checker{constructor(){this.checker_key="",this.api_token="",this.text_no_access_found="",this.text_address_not_found="",this.text_no_copper="",this.netz_list=[],this.send_zip_only=["8863","9200"]}static async makeOne(t,n){let r=await(await t.sendGetRequest(`/checker_token/${n}`)).json(),i=new Checker;return Object.assign(i,r),i}doValidate(t){if(t.checkBy=="address"){if(!t.zip||!t.city)return"PLZ und Ort erforderlich";if(!t.street&&!t.building)return"Strasse oder Gebäude erforderlich"}return""}doCheck(t){let n="https://accesscheck.ch/api/v2";return t.checkBy=="address"?(n+="/check/address.json",t.isBuilding?n+=`?building=${encodeURIComponent(t.street)}`:(n+=`?street=${encodeURIComponent(t.street)}`,n+=`&houseNr=${encodeURIComponent(t.houseNr)}`),n+=`&zip=${encodeURIComponent(t.zip)}`,this.send_zip_only.indexOf(t.zip)==-1&&(n+=`&city=${encodeURIComponent(t.city)}`)):t.checkBy=="oto"?(n+="/check/oto.json",n+=`?oto=${encodeURIComponent(t.oto)}`,n+=`&plugNr=${encodeURIComponent(t.plugNr)}`):t.checkBy=="number"&&(n+="/check/number.json",n+=`?number=${encodeURIComponent(t.number)}`),fetch(n,{method:"GET",headers:{Authorization:`Bearer ${this.api_token}`}})}}const __vite_import_meta_env__={DEV:!1,PROD:!0},app_theme="iway",ENV=__vite_import_meta_env__;let store_list={};const storeDefintion={state:()=>({gfo_api:new GfoApi,checker:new Checker,address_api:new AddressApi,current_view:"Loading",app_theme,checker_results:null,check_by_model:null,checker_result_uid:"",netz_list:null,theme:"default",mobile:!1,env_dev:ENV.DEV,env_prod:ENV.PROD,settings:null}),getters:{},actions:{setMobile:function(){let e=window.innerWidth;this.mobile=e<=576}}},useOwnStore=e=>{if(typeof store_list[e]>"u"){const t=defineStore(e,{...storeDefintion});store_list[e]=t()}return store_list[e]};class Settings{constructor(){this.checkBy=["address","oto_id","phone"],this.checkerKeys=["private","business"],this.orderPage="",this.netzDisplay="available",this.callbackFunctionName="",this.callbackCustomEventName="",this.payload=""}}const html_iway=`<link rel="stylesheet" type="text/css" href="https://static.iway.ch/iway_bootstrap/v1/iway_bootstrap.css" />
43<div :data-bs-theme="bs_theme">
44    <Loading v-if="'Loading' == current_view" />
45    <RequestForm v-if="'RequestForm' == current_view" />
46    <ResultsList />
47</div>`,html_lic$3='<div class="alert alert-info">wird geladen ...</div>';let html$4="";html$4=html_lic$3;const Loading={components:{},setup(e,{attrs:t,slots:n,emit:s,expose:r}){return{}},template:html$4},html_lic$2=`<div class="container-fluid">
48    <form @submit="executeCheck" class="mt-3">
49        <div v-if="error" class="alert alert-danger  mb-3">
50            {{error}}
51        </div>
52
53        <div class="check-by-wrap row justify-content-center">
54            
55                <div class="check-key-choices col col-12 col-md-6"
56                    v-if="1 < checkerKeyChoices.length">
57                    <label class="d-block mb-1 fs-small" id="checkerKeyGroupTitle">{{i18n.t("access is for")}}:</label>
58                    <div class="row gx-3"
59                        role="radiogroup"
60                        aria-labelledby="checkerKeyGroupTitle">
61
62                        <template v-for="(choice, idx) in checkerKeyChoices">
63                            <div class="col-12 col-sm-auto flex-grow-1 mb-2">
64                                <input type="radio" class="btn-check"  autocomplete="off"
65                                    name="checker_key"
66                                    @click="model.checkerKey = choice.value"
67                                    :disabled="checkIsRunning"
68                                    :id="\`input_checkerKey_\${idx}\`"
69                                    :value="choice.value" :name="choice.text"
70                                    :checked="choice.value == model.checkerKey"
71                                    >
72                                <label class="btn btn-secondary w-100" :for="\`input_checkerKey_\${idx}\`">{{choice.text}}</label>
73                            </div>
74                        </template>
75                    </div>
76                </div>
77
78                <div class="check-by-choices col-12 col-md-6" 
79                    v-if="1 < checkByChoices.length">
80                    <label class="mb-1 w-100 fs-small" id="checkByGroupTitle">{{i18n.t("search by")}}:</label>
81                    <div class="row gx-3"
82                        role="radiogroup" aria-labelledby="checkByGroupTitle">
83                        <template v-for="(choice, idx) in checkByChoices">
84                            <div class="col-12 col-sm-auto flex-grow-1 mb-2 ">
85                                <input type="radio" class="btn-check"  autocomplete="off"
86                                    name="input_checkBy"
87                                    @click="model.checkBy = choice.value"
88                                    :disabled="checkIsRunning"
89                                    
90                                    :id="\`input_checkBy_\${idx}\`"
91                                    :value="choice.value"
92                                    :checked="choice.value ==model.checkBy">
93                                <label class="btn btn-secondary w-100"
94                                    :for="\`input_checkBy_\${idx}\`">{{choice.text}}</label>
95                            </div>
96
97                        </template>
98
99                    </div>
100                </div>
101            
102        </div>
103
104        <div v-if="'address' == model.checkBy"
105            class="address-form mt-3 row gx-3">
106
107            <div class="col-12" v-if="'address' == model.checkBy && !useAddressApi">
108                Formular ohne Address-Api ist nicht implementiert
109            </div>
110
111            <div v-if="useAddressApi" class="address-zipcity col-12 col-lg-4">
112                <AddressTypeahead field_name="zipcity" ref="inputZipCity"
113                    label="PLZ oder Ort*"
114                    required
115                    id="inputZipCity"
116                    class="w-100" :disabled="checkIsRunning"
117                    @onSelected="onZipCityChange"
118                    >
119                </AddressTypeahead>
120            </div>
121
122            <div v-if="useAddressApi" class="address-street col-12 col-lg-4">
123                <AddressTypeahead field_name="street" ref="inputStreet"
124                    label="Strasse/Gebäude*"
125                    id="inputStreet"
126                    required
127                    :allow_free_entry="true"
128                    class="w-100" :disabled="checkIsRunning"
129                    :place_id="currentPlaceId" @onSelected="onStreetChange"
130                    v-if="'address' == model.checkBy && useAddressApi"
131                    >
132                </AddressTypeahead>
133            </div>
134
135            <div v-if="useAddressApi" class="address-street-number col-12 col-lg-2">
136
137                <AddressTypeahead field_name="street_number"
138                    label="Hausnr*"
139                    ref="inputStreetNumber" class="w-100"
140                    id="inputStreetNumber"
141                    required
142                    :disabled="housNrDisabled" :street_id="currentStreetId"
143                    :allow_free_entry="true"
144                    @onSelected="onHouseNrChange"
145                    v-if="'address' == model.checkBy && useAddressApi"
146                    >
147                </AddressTypeahead>
148            </div>
149
150            <div class="col-12 col-lg-2">
151                <button type="submit" class="btn btn-primary btn-lg w-100"  :disabled="checkIsRunning"
152                data-tracking="check" ref="inputSubmitAddress">
153                    <span v-if="checkIsRunning" class="text-nowrap small">Prüfung läuft</span>
154                    <span v-if="!checkIsRunning">Prüfen</span>
155                </button>
156            </div>
157        </div>
158
159        <div class="oto-form mt-3 row  gx-3"
160            v-if="'oto' == model.checkBy">
161            <div class="oto-input col-12 col-lg-6 mb-2">
162                <div class="form-floating ">
163                    <input type="search" class="form-control" 
164                        :disabled="checkIsRunning" 
165                        v-model="model.oto" autocomplete="new-password" 
166                        aria-autocomplete="none"
167                        required
168                        id="input_oto" placeholder="OTO-ID">
169                    <label for="input_oto">OTO-ID*</label>
170                    <div class="form-text" v-html="i18n.t('oto_id_help')"></div>
171                </div>
172            </div>
173            <div class="oto-plug col-12 col-lg-4 mb-2">
174                <div class="form-floating">
175                    <input type="search" class="form-control" 
176                        placeholder="Steckplatz"
177                        :disabled="checkIsRunning"
178                        id="input_plug" autocomplete="new-password"
179                        v-model="model.plugNr">
180                    <label for="input_plug">Steckplatz</label>
181                </div>
182            </div>
183            <div class="col-12 col-lg-2">
184                <button type="submit" class="btn btn-primary btn-lg w-100"  :disabled="checkIsRunning"
185                    data-tracking="check" ref="inputSubmitOto">
186                    <span v-if="checkIsRunning" class="text-nowrap small">Prüfung läuft</span>
187                    <span v-if="!checkIsRunning">Prüfen</span>
188                </button>
189            </div>
190        </div>
191
192        <div class="number-form mt-3 row  gx-3"
193            v-if="'number' == model.checkBy">
194            <div class="number-input col form-floating mb-2">
195                <div class="form-floating">
196                    <input type="search" class="form-control"
197                        placeholder="Telefon-Nr. (Festnetz)"
198                        id="input_phone"
199                        :disabled="checkIsRunning"
200                        autocomplete="new-password" 
201                        aria-autocomplete="none"
202                        v-model="model.number"
203                        required>
204                    <label for="input_phone">Telefon-Nr. (Festnetz)*</label>
205                </div>
206            </div>
207            <div class="col-12 col-lg-2">
208                <button type="submit" class="btn btn-primary btn-lg w-100"  :disabled="checkIsRunning"
209                    data-tracking="check" ref="inputSubmitNumber">
210                    <span v-if="checkIsRunning" class="text-nowrap small">Prüfung läuft</span>
211                    <span v-if="!checkIsRunning">Prüfen</span>
212                </button>
213            </div>
214        </div>
215
216    </form>
217</div>`;class CheckByModel{constructor(){this.checkBy="address",this.checkerKey="",this.street="",this.houseNr="",this.building="",this.isBuilding=!1,this.zip="",this.city="",this.oto="",this.plugNr="",this.number="",this.retryCount=-1,this.history="",this.placeId=0,this.streetId=0}getQueryForGfo(){if(this.checkBy=="address")return this.isBuilding?{street:"",houseNr:"",building:this.street,zip:this.zip,city:this.city,placeId:this.placeId,streetId:this.streetId}:{street:this.street,houseNr:this.houseNr,building:"",zip:this.zip,city:this.city,placeId:this.placeId,streetId:this.streetId};if(this.checkBy=="oto")return{oto:this.oto,plugNr:this.plugNr};if(this.checkBy=="number")return{number:this.number}}}class CheckerOffer{constructor(t,n){this.address={},this.serviceProvider=t,this.serviceType=n,this.serviceParentArea=null,this.maxUpstream=0,this.maxDownstream=0,this.profiles=[]}}class CheckerOfferProfile{constructor(){this.name="",this.customerId="",this.netzId=0,this.netzSlug="",this.areaCodes=[],this.productVariantId=0,this.serviceProvider="",this.serviceType="",this.maxDownstream=0,this.maxUpstream=0,this.netzIsMixin=!1}}class CheckerOfferAddress{constructor(){Ce(this,"getNormalizedLabel",function(){return normalizeLabel(this.label)});this.addon=null,this.building=null,this.city="",this.houseNr="",this.label="",this.street="",this.zip=""}}function normalizeLabel(e){const t=["ZH","BE","LU","UR","SZ","OW","NW","GL","ZG","FR","SO","BS","BL","SH","AR","AI","SG","GR","AG","TG","TI","VD","VS","NE","GE","JU"];let n=e;const s=new RegExp(`[\\(\\[]\\s*(${t.join("|")})\\s*[\\)\\]]`,"g");n=n.replace(s,"").replace(/\s+/g," ").trim();const r=new RegExp(`\\b(${t.join("|")})\\b`,"g");return n=n.replace(r,""),n=n.replace(/\s+,/,","),n=n.replace(/\s+/g," "),n=n.replace("St.Gallen","St. Gallen"),n.trim()}class CheckerOfferProvider{constructor(t){this.checkerResponse=t}get offers(){let t=[];if(!this.checkerResponse||!("results"in this.checkerResponse))return[];this.checkerResponse.results.forEach(r=>{var o;let i=new CheckerOfferAddress;Object.assign(i,r.address);for(const a in r.providers){const l=r.providers[a];for(const c in l.services){if(a=="swisscom"&&c=="adsl"&&"vdsl"in l.services)continue;const u=l.services[c];let d=new CheckerOffer(a,c);d.serviceParentArea=((o=u==null?void 0:u.attributes)==null?void 0:o.parentArea)??null,d.address=i,d.maxDownstream=(u==null?void 0:u.maxDownstream)??0,d.maxUpstream=(u==null?void 0:u.maxUpstream)??0;let f=(l==null?void 0:l.profiles)??[];f=f.filter(g=>g.serviceType==c).sort((g,y)=>g.maxDownstream-y.maxDownstream).map(g=>{var T,R,I,C,S;let y=new CheckerOfferProfile;return y.customerId=g.customerId,y.maxDownstream=g.maxDownstream,y.maxUpstream=g.maxUpstream,y.name=g.name,y.serviceProvider=g.
217serviceProvider,y.serviceType=g.serviceType,y.netzId=Number(((T=g.customerId.match(/netz-(\d+)/))==null?void 0:T[1])??null),y.productVariantId=Number(((R=g.customerId.match(/pvid-(\d+)/))==null?void 0:R[1])??null),y.netzSlug=((I=g.customerId.match(/slug-(.+?)_pvid-/))==null?void 0:I[1])??null,y.areaCodes=((S=(C=g.customerId.match(/arcd-([^_]+)/))==null?void 0:C[1])==null?void 0:S.split(","))??[],y}),d.serviceParentArea!=null&&(f=f.filter(g=>g.areaCodes.length===0||g.areaCodes.includes(d.serviceParentArea))),d.profiles=f,0<f.length&&t.push(d)}}});let n=null,s=[];for(let r=0;r<t.length;r++){const i=t[r];if(i.serviceProvider=="alex"&&!i.profiles.find(o=>o.maxDownstream==1e7)&&s.push(i),i.serviceProvider=="swisscom"&&i.serviceType=="xgspon"){const o=i.profiles.find(a=>a.maxDownstream==1e7);o&&(n=JSON.parse(JSON.stringify(o)),n.netzIsMixin=!0)}}n!=null&&0<s.length&&s.forEach(r=>{r.profiles.push(n)});for(let r=0;r<t.length;r++){const i=t[r],o=[],a=new Set;for(const l of i.profiles)a.has(l.name)||(o.push(l),a.add(l.name));i.profiles=o}return t.sort((r,i)=>{const o=["alex","litex","swisscom"],a=["xgspon","fiber","adsl","vdsl"],l=o.indexOf(r.serviceProvider),c=o.indexOf(i.serviceProvider),u=l===-1?999:l,d=c===-1?999:c;if(u!==d)return u-d;const f=a.indexOf(r.serviceType),g=a.indexOf(i.serviceType);return(f===-1?999:f)-(g===-1?999:g)})}get addressChoices(){const t=this.offers.map(i=>i.address.getNormalizedLabel()),n=new Set;let s=[],r=[];for(const i of t){const o=String(i).toLowerCase();n.has(o)||(n.add(o),s.push(i))}return s.forEach(i=>{this.offers.filter(a=>a.address.getNormalizedLabel()==i&&a.serviceType!="vdsl"&&a.serviceType!="adsl").length==0?r.push({key:i,text:i+" (DSL)"}):r.push({key:i,text:i+" (Glasfaser)"})}),r}get netzIds(){let t=[];return"results"in this.checkerResponse?(this.checkerResponse.results.forEach(s=>{for(const r in s)s[r].profiles.forEach(i=>{var a;const o=Number(((a=i.customerId.match(/netz-(\d+)/))==null?void 0:a[1])??null);o!=null&&t.push(o)})}),[...new Set(t)]):[]}}const html_lic$1=`<!-- data-1p-ignore: Damit 1Password das Feld in Ruhe lässt -->
218<div class="position-relative">
219    <div class="form-floating mb-2 w-100">
220        <input type="search" class="form-control" :placeholder="labelName"
221            :name="fieldId"
222            :id="fieldId"  v-model="query"
223            @keydown.down="onKeyDownwards" @keydown.up="onKeyUpwards"
224            @keydown.enter="onKeyEnter" @keydown.esc="onReset"  
225            @blur="onBlur"
226            @change="onChange"
227            @focus="onFocus" 
228            :disabled="isDisabled" ref="inputFieldRef" 
229            :required="isRequired"
230            :autocomplete="'off-'+(new Date()).getTime()"
231            aria-autocomplete="none"
232            data-1p-ignore
233            />
234        <label :for="fieldId">{{labelName}}</label>
235    </div>
236    <ul class="list-group position-absolute mt-n3 w-100 bg-white" v-show="listIsVisible" style="z-index:1000;">
237        <li class="list-group-item" v-for="(item, idx) in items" 
238            :data-idx="idx"
239            @touchstart="onTouchStart"
240            @mousedown="onMousedown"
241            :class="currentIdx == idx ? 'active' : ''"
242            style="cursor:pointer;">
243            <span v-if="'zipcity' == props.field_name" 
244                v-text="item.postcode + ' ' + item.name"></span>
245            <span v-if="'street' == props.field_name" v-text="item.name"></span>
246            <span v-if="'street_number' == props.field_name"
247                v-text="item"></span>
248        </li>
249    </ul>
250</div>`;class AddressSearchModel{constructor(){this.type="zipcity",this.limit=10,this.minChars=2,this.placeId=0,this.streetId=0,this.cancel=function(){}}doSearch(t,n){let s="";if(n=n.trim(),this.type=="zipcity")if(new RegExp("^[0-9]{1,4}").test(n)){let l=n.substring(0,4);s=`/postcodes?max=${this.limit}&postcode=${l}`}else s=`/places?max=${this.limit}&name=${n}`;else this.type=="street"?(s=`/streets?max=10&place_id=${this.placeId}`,n!=""&&(s+=`&name=${n}`)):this.type=="street_number"&&(s=`/streets/${this.streetId}`);let r=this,i=new Promise(function(a){r.cancel=a}
250),o=t.sendGetRequest(s);return Promise.race([i,o])}}let html$3="";html$3=html_lic$1;const AddressTypeahead={template:html$3,props:{id:String,label:String,field_name:String,place_id:Number,street_id:Number,disabled:Boolean,allow_free_entry:Boolean,required:Boolean},setup(e,{attrs:t,slots:n,emit:s,expose:r}){let i=inject("$storeName");const o=useOwnStore(i),a=ref(null),l=ref(-1),c=ref(""),u=ref([]),d=ref([]),f=ref(!1),g=ref(!1),y=ref(0),T=ref(null),R=ref(""),I=computed(function(){return e.disabled||e.field_name=="street"&&!e.place_id}),C=computed(function(){return e.required}),S=computed(function(){return e.label}),b=computed(function(){return e.street_id}),v=computed(function(){return e.place_id}),x=computed(function(){return e.allow_free_entry}),P=computed(function(){return e.id||""}),_=computed(function(){return 0<u.value.length&&g.value==!0}),O=function(){l.value>0?l.value--:l.value===-1?l.value=u.value.length-1:l.value=-1},N=function(){l.value<u.value.length-1?l.value++:l.value=-1},w=function(H){H.preventDefault(),f.value===!0&&(f.value=!1,l.value!==-1&&typeof u.value[l.value]<"u"?k(u.value[l.value]):x.value===!0&&(l.value=-1,k(c.value)))},k=function(H){s("onSelected",H),e.field_name=="zipcity"&&(R.value=`${H.postcode} ${H.name}`,B()),e.field_name=="street"&&typeof H=="object"&&(R.value=`${H.name}`,B()),e.field_name=="street"&&typeof H=="string"&&(R.value=`${H}`,B()),e.field_name=="street_number"&&(R.value=`${H}`,B())},M=function(H){H.preventDefault(),g.value=!1},z=function(H){if(H.preventDefault(),f.value===!0){f.value=!1;let Q=H.target,ae=-1;if(Q.tagName=="SPAN"&&(Q=Q.parentNode),Q.getAttribute("data-idx")!=null){ae=parseInt(Q.getAttribute("data-idx"));let ne=u.value[ae];ne&&k(ne)}}},q=function(H){if(f.value===!0){f.value=!1;let Q=H.target,ae=-1;if(Q.tagName=="SPAN"&&(Q=Q.parentNode),Q.getAttribute("data-idx")!=null){ae=parseInt(Q.getAttribute("data-idx"));let ne=u.value[ae];ne&&k(ne)}}},F=function(H){if(H.preventDefault(),f.value===!0){f.value=!1;let Q=H.target,ae=-1;if(Q.tagName=="SPAN"&&(Q=Q.parentNode),Q.getAttribute("data-idx")!=null){ae=parseInt(Q.getAttribute("data-idx"));let ne=u.value[ae];ne&&k(ne)}}},W=async function(H){H.preventDefault(),f.value===!0&&(f.value=!1,x.value===!0&&k(c.value)),l.value=-1,B()},B=function(){f.value=!1,u.value=[],c.value=R.value},te=function(){f.value=!0,u.value=[],c.value="",g.value=!0},re=function(){a.value.focus()},oe=function(){R.value="",B()},le=function(H){R.value=H,c.value=H};return watch(c,function(){if(y.value&&clearTimeout(y.value),T.value!=null&&T.value.cancel(),R.value!=c.value.trim()&&c.value.trim()!=""){if(e.field_name=="street_number"){u.value=d.value.filter(function(H){return H.indexOf(c.value)==0}),l.value=u.value.length==0?-1:0;return}y.value=setTimeout(async function(){let H=new AddressSearchModel;H.type=e.field_name,H.placeId=e.place_id,T.value=H;let Q=await H.doSearch(o.address_api,c.value);Q&&200<=Q.status&&400>Q.status&&(u.value=await Q.json(),l.value=u.value.length==0?-1:0)},350)}}),watch(b,async function(){if(0<b.value){let H=new AddressSearchModel;H.type=e.field_name,H.streetId=b.value;let Q=await H.doSearch(o.address_api,"");if(Q&&200<=Q.status&&400>Q.status){let ae=await Q.json();d.value=ae.house_numbers.filter(function(ne){return typeof ne=="string"&&ne.trim()!=""}),u.value=d.value.slice(0,5)}}else d.value=[],R.value="",te()}),watch(v,async function(){}),r({doFocus:re,doClear:oe,setValue:le}),{isDisabled:I,isRequired:C,query:c,items:u,fieldId:P,hasFocus:g,inputFieldRef:a,currentIdx:l,labelName:S,listIsVisible:_,onChange:W,onKeyUpwards:O,onKeyDownwards:N,onKeyEnter:w,onMousedown:q,onTouchStart:F,onReset:B,onFocus:te,onBlur:M,onClick:z,props:e,doFocus:re,doClear:oe}}},consoleLogger={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Logger{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||consoleLogger,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,s,r){return r&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${s}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Logger(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Logger(this.logger,t)}}var baseLogger=new Logger;class EventEmitter{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(s=>{this.observers[s]||(this.observers[s]=new Map);const r=this.observers[s].get(n)||0;this.observers[s].set(n,r+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;r<n;r++)s[r-1]=arguments[r];this.observers[t]&&Array.from(this.observers[t].entries()).forEac
250h(o=>{let[a,l]=o;for(let c=0;c<l;c++)a(...s)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(o=>{let[a,l]=o;for(let c=0;c<l;c++)a.apply(a,[t,...s])})}}function defer(){let e,t;const n=new Promise((s,r)=>{e=s,t=r});return n.resolve=e,n.reject=t,n}function makeString(e){return e==null?"":""+e}function copy(e,t,n){e.forEach(s=>{t[s]&&(n[s]=t[s])})}const lastOfPathSeparatorRegExp=/###/g;function getLastOfPath(e,t,n){function s(a){return a&&a.indexOf("###")>-1?a.replace(lastOfPathSeparatorRegExp,"."):a}function r(){return!e||typeof e=="string"}const i=typeof t!="string"?t:t.split(".");let o=0;for(;o<i.length-1;){if(r())return{};const a=s(i[o]);!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={},++o}return r()?{}:{obj:e,k:s(i[o])}}function setPath(e,t,n){const{obj:s,k:r}=getLastOfPath(e,t,Object);if(s!==void 0||t.length===1){s[r]=n;return}let i=t[t.length-1],o=t.slice(0,t.length-1),a=getLastOfPath(e,o,Object);for(;a.obj===void 0&&o.length;)i=`${o[o.length-1]}.${i}`,o=o.slice(0,o.length-1),a=getLastOfPath(e,o,Object),a&&a.obj&&typeof a.obj[`${a.k}.${i}`]<"u"&&(a.obj=void 0);a.obj[`${a.k}.${i}`]=n}function pushPath(e,t,n,s){const{obj:r,k:i}=getLastOfPath(e,t,Object);r[i]=r[i]||[],r[i].push(n)}function getPath(e,t){const{obj:n,k:s}=getLastOfPath(e,t);if(n)return n[s]}function getPathWithDefaults(e,t,n){const s=getPath(e,n);return s!==void 0?s:getPath(t,n)}function deepExtend(e,t,n){for(const s in t)s!=="__proto__"&&s!=="constructor"&&(s in e?typeof e[s]=="string"||e[s]instanceof String||typeof t[s]=="string"||t[s]instanceof String?n&&(e[s]=t[s]):deepExtend(e[s],t[s],n):e[s]=t[s]);return e}function regexEscape(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var _entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function escape(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>_entityMap[t]):e}class RegExpCache{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const s=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,s),this.regExpQueue.push(t),s}}const chars=[" ",",","?","!",";"],looksLikeObjectPathRegExpCache=new RegExpCache(20);function looksLikeObjectPath(e,t,n){t=t||"",n=n||"";const s=chars.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(s.length===0)return!0;const r=looksLikeObjectPathRegExpCache.getRegExp(`(${s.map(o=>o==="?"?"\\?":o).join("|")})`);let i=!r.test(e);
250if(!i){const o=e.indexOf(n);o>0&&!r.test(e.substring(0,o))&&(i=!0)}return i}function deepFind(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const s=t.split(n);let r=e;for(let i=0;i<s.length;){if(!r||typeof r!="object")return;let o,a="";for(let l=i;l<s.length;++l)if(l!==i&&(a+=n),a+=s[l],o=r[a],o!==void 0){if(["string","number","boolean"].indexOf(typeof o)>-1&&l<s.length-1)continue;i+=l-i+1;break}r=o}return r}function getCleanedCode(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class ResourceStore extends EventEmitter{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,s){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,o=r.ignoreJSONStructure!==void 0?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;t.indexOf(".")>-1?a=t.split("."):(a=[t,n],s&&(Array.isArray(s)?a.push(...s):typeof s=="string"&&i?a.push(...s.split(i)):a.push(s)));const l=getPath(this.data,a);return!l&&!n&&!s&&t.indexOf(".")>-1&&(t=a[0],n=a[1],s=a.slice(2).join(".")),l||!o||typeof s!="string"?l:deepFind(this.data&&this.data[t]&&this.data[t][n],s,i)}addResource(t,n,s,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let a=[t,n];s&&(a=a.concat(o?s.split(o):s)),t.indexOf(".")>-1&&(a=t.split("."),r=n,n=a[1]),this.addNamespaces(n),setPath(this.data,a,r),i.silent||this.emit("added",t,n,s,r)}addResources(t,n,s){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in s)(typeof s[i]=="string"||Array.isArray(s[i]))&&this.addResource(t,n,i,s[i],{silent:!0});r.silent||this.emit("added",t,n,s)}addResourceBundle(t,n,s,r,i){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},a=[t,n];t.indexOf(".")>-1&&(a=t.split("."),r=s,s=n,n=a[1]),this.addNamespaces(n);let l=getPath(this.data,a)||{};o.skipCopy||(s=JSON.parse(JSON.stringify(s))),r?deepExtend(l,s,i):l={...l,...s},setPath(this.data,a,l),o.silent||this.emit("added",t,n,s)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(r=>n[r]&&Object.keys(n[r]).length>0)}toJSON(){return this.data}}var postProcessor={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,s,r){return e.forEach(i=>{this.processors[i]&&(t=this.processors[i].process(t,n,s,r))}),t}};const checkedLoadedFor={};class Translator extends EventEmitter{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),copy(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
250i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=baseLogger.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const s=this.resolve(t,n);return s&&s.res!==void 0}extractFromKey(t,n){let s=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let i=n.ns||this.options.defaultNS||[];const o=s&&t.indexOf(s)>-1,a=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!looksLikeObjectPath(t,s,r);if(o&&!a){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:i};const c=t.split(s);(s!==r||s===r&&this.options.ns.indexOf(c[0])>-1)&&(i=c.shift()),t=c.join(r)}return typeof i=="string"&&(i=[i]),{key:t,namespaces:i}}translate(t,n,s){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const r=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(t[t.length-1],n),l=a[a.length-1],c=n.lng||this.language,u=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(u){const b=n.nsSeparator||this.options.nsSeparator;return r?{res:`${l}${b}${o}`,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${b}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:o}const d=this.resolve(t,n);let f=d&&d.res;const g=d&&d.usedKey||o,y=d&&d.exactUsedKey||o,T=Object.prototype.toString.apply(f),R=["[object Number]","[object Function]","[object RegExp]"],I=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,C=!this.i18nFormat||this.i18nFormat.handleAsObject;if(C&&f&&(typeof f!="string"&&typeof f!="boolean"&&typeof f!="number")&&R.indexOf(T)<0&&!(typeof I=="string"&&Array.isArray(f))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const b=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,f,{...n,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(d.res=b,d.usedParams=this.getUsedParamsDetails(n),d):b}if(i){const b=Array.isArray(f),v=b?[]:{},x=b?y:g;for(const P in f)if(Object.prototype.hasOwnProperty.call(f,P)){const _=`${x}${i}${P}`;v[P]=this.translate(_,{...n,joinArrays:!1,ns:a}),v[P]===_&&(v[P]=f[P])}f=v}}else if(C&&typeof I=="string"&&Array.isArray(f))f=f.join(I),f&&(f=this.extendTranslation(f,t,n,s));else{let b=!1,v=!1;const x=n.count!==void 0&&typeof n.count!="string",P=Translator.hasDefaultValue(n),_=x?this.pluralResolver.getSuffix(c,n.count,n):"",O=n.ordinal&&x?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",N=x&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),w=N&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${_}`]||n[`defaultValue${O}`]||n.defaultValue;!this.isValidLookup(f)&&P&&(b=!0,f=w),this.isValidLookup(f)||(v=!0,f=o);const M=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&v?void 0:f,z=P&&w!==f&&this.options.updateMissing;if(v||b||z){if(this.logger.log(z?"updateKey":"missingKey",c,l,o,z?w:f),i){const B=this.resolve(o,{...n,keySeparator:!1});B&&B.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let q=[];const F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&F&&F[0])for(let B=0;B<F.length;B++)q.push(F[B]);else this.options.saveMissingTo==="all"?q=this.languageUtils.toResolveHierarchy(n.lng||this.language):q.push(n.lng||this.language);const W=(B,te,re)=>{const oe=P&&re!==f?re:M;this.options.missingKeyHandler?this.options.missingKeyHandler(B,l,te,oe,z,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(B,l,te,oe,z,n),this.emit
250("missingKey",B,l,te,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&x?q.forEach(B=>{const te=this.pluralResolver.getSuffixes(B,n);N&&n[`defaultValue${this.options.pluralSeparator}zero`]&&te.indexOf(`${this.options.pluralSeparator}zero`)<0&&te.push(`${this.options.pluralSeparator}zero`),te.forEach(re=>{W([B],o+re,n[`defaultValue${re}`]||w)})}):W(q,o,w))}f=this.extendTranslation(f,t,n,d,s),v&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${o}`),(v||b)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${o}`:o,b?f:void 0):f=this.options.parseMissingKeyHandler(f))}return r?(d.res=f,d.usedParams=this.getUsedParamsDetails(n),d):f}extendTranslation(t,n,s,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const c=typeof t=="string"&&(s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(c){const f=t.match(this.interpolator.nestingRegexp);u=f&&f.length}let d=s.replace&&typeof s.replace!="string"?s.replace:s;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),t=this.interpolator.interpolate(t,d,s.lng||this.language,s),c){const f=t.match(this.interpolator.nestingRegexp),g=f&&f.length;u<g&&(s.nest=!1)}!s.lng&&this.options.compatibilityAPI!=="v1"&&r&&r.res&&(s.lng=r.usedLng),s.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var f=arguments.length,g=new Array(f),y=0;y<f;y++)g[y]=arguments[y];return i&&i[0]===g[0]&&!s.context?(o.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${n[0]}`),null):o.translate(...g,n)},s)),s.interpolation&&this.interpolator.reset()}const a=s.postProcess||this.options.postProcess,l=typeof a=="string"?[a]:a;return t!=null&&l&&l.length&&s.applyPostProcessor!==!1&&(t=postProcessor.handle(l,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(s)},...s}:s,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,r,i,o,a;return typeof t=="string"&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(s))return;const c=this.extractFromKey(l,n),u=c.key;r=u;let d=c.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const f=n.count!==void 0&&typeof n.count!="string",g=f&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),y=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",T=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);d.forEach(R=>{this.isValidLookup(s)||(a=R,!checkedLoadedFor[`${T[0]}-${R}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(checkedLoadedFor[`${T[0]}-${R}`]=!0,this.logger.warn(`key "${r}" for languages "${T.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),T.forEach(I=>{if(this.isValidLookup(s))return;o=I;const C=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(C,u,I,R,n);else{let b;f&&(b=this.pluralResolver.getSuffix(I,n.count,n));const v=`${this.options.pluralSeparator}zero`,x=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(C.push(u+b),n.ordinal&&b.indexOf(x)===0&&C.push(u+b.replace(x,this.options.pluralSeparator)),g&&C.push(u+v)),y){const P=`${u}${this.options.contextSeparator}${n.context}`;C.push(P),f&&(C.push(P+b),n.ordinal&&b.indexOf(x)===0&&C.push(P+b.replace(x,this.options.pluralSeparator)),g&&C.push(P+v))}}let S;for(;S=C.pop();)this.isValidLookup(s)||(i=S,s=this.getResource(I,R,S,n))}))})}),{res:s,usedKey:r,exactUsedKey:i,usedLng:o,usedNS:a}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,s){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,s,r):this.resourceStore.getResource(t,n,s,r)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=t.replace&&typeof t.replace!="string";let r=s?t.replace:t;if(s&&typeof t.count<"u"&&(r.count=t.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!s){r={...r};for(const i of n)delete r[i]}return r}static hasDefaultValue(t){const n="defaultValue";for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&n===s.substring(0,n.length)&&t[s]!==void 0)return!0;return!1}}function capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}class LanguageUtil{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=baseLogger.create("languageUtils")}getScriptPartFromCode(t){if(t=getCleanedCode(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=getCleanedCode(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let s=t.split("-");return this.options.lowerCaseLng?s=s.map(r=>r.toLowerCase()):s.length===2?(s[0]=s[0].toLowerCase(),s[1]=s[1].toUpperCase(),n.indexOf(s[1].toLowerCase())>-1&&(s[1]=capitalize(s[1].toLowerCase()))):s.length===3&&(s[0]=s[0].toLowerCase(),s[1].length===2&&(s[1]=s[1].toUpperCase()),s[0]!=="sgn"&&s[2].length===2&&(s[2]=s[2].toUpperCase()),n.indexOf(s[1].toLowerCase())>-1&&(s[1]=capitalize(s[1].toLowerCase())),n.indexOf(s[2].toLowerCase())>-1&&(s[2]=capitalize(s[2].toLowerCase()))),s.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(s=>{if(n)return;const r=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(r))&&(n=r)}),!n&&this.options.supportedLngs&&t.forEach(s=>{if(n)return;const r=this.getLanguagePartFromCode(s);if(this.isSupportedCode(r))return n=r;n=this.options.supportedLngs.find(i=>{if(i===r)return i;if(!(i.indexOf("-")<0&&r.indexOf("-")<0)&&(i.indexOf("-")>0&&r.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===r||i.indexOf(r)===0&&r.length>1))return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let s=t[n];
250return s||(s=t[this.getScriptPartFromCode(n)]),s||(s=t[this.formatLanguageCode(n)]),s||(s=t[this.getLanguagePartFromCode(n)]),s||(s=t.default),s||[]}toResolveHierarchy(t,n){const s=this.getFallbackCodes(n||this.options.fallbackLng||[],t),r=[],i=o=>{o&&(this.isSupportedCode(o)?r.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):typeof t=="string"&&i(this.formatLanguageCode(t)),s.forEach(o=>{r.indexOf(o)<0&&i(this.formatLanguageCode(o))}),r}}let sets=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],_rulesPluralsTypes={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const nonIntlVersions=["v1","v2","v3"],intlVersions=["v4"],suffixesOrder={zero:0,one:1,two:2,few:3,many:4,other:5};function createRules(){const e={};return sets.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:_rulesPluralsTypes[t.fc]}})}),e}class PluralResolver{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=baseLogger.create("pluralResolver"),(!this.options.compatibilityJSON||intlVersions.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=createRules()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(getCleanedCode(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(t,n);return this.shouldUseIntlApi()?s&&s.resolvedOptions().pluralCategories.length>1:s&&s.numbers.length>1}getPluralFormsOfKey(t,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};
250return this.getSuffixes(t,s).map(r=>`${n}${r}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(t,n);return s?this.shouldUseIntlApi()?s.resolvedOptions().pluralCategories.sort((r,i)=>suffixesOrder[r]-suffixesOrder[i]).map(r=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r}`):s.numbers.map(r=>this.getSuffix(t,r,n)):[]}getSuffix(t,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=this.getRule(t,s);return r?this.shouldUseIntlApi()?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${r.select(n)}`:this.getSuffixRetroCompatible(r,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const s=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let r=t.numbers[s];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(r===2?r="plural":r===1&&(r=""));const i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return this.options.compatibilityJSON==="v1"?r===1?"":typeof r=="number"?`_plural_${r.toString()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?i():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}
250shouldUseIntlApi(){return!nonIntlVersions.includes(this.options.compatibilityJSON)}}function deepFindWithDefaults(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=getPathWithDefaults(e,t,n);return!i&&r&&typeof n=="string"&&(i=deepFind(e,n,s),i===void 0&&(i=deepFind(t,n,s))),i}class Interpolator{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=baseLogger.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:s,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:l,formatSeparator:c,unescapeSuffix:u,unescapePrefix:d,nestingPrefix:f,nestingPrefixEscaped:g,nestingSuffix:y,nestingSuffixEscaped:T,nestingOptionsSeparator:R,maxReplaces:I,alwaysFormat:C}=t.interpolation;this.escape=n!==void 0?n:escape,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=r!==void 0?r:!1,this.prefix=i?regexEscape(i):o||"{{",this.suffix=a?regexEscape(a):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=u?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=f?regexEscape(f):g||regexEscape("$t("),this.nestingSuffix=y?regexEscape(y):T||regexEscape(")"),this.nestingOptionsSeparator=R||",",this.maxReplaces=I||1e3,this.alwaysFormat=C!==void 0?C:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,s)=>n&&n.source===s?(n.lastIndex=0,n):new RegExp(s,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,s,r){let i,o,a;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(y){return y.replace(/\$/g,"$$$$")}const u=y=>{if(y.indexOf(this.formatSeparator)<0){const C=deepFindWithDefaults(n,l,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(C,void 0,s,{...r,...n,interpolationkey:y}):C}const T=y.split(this.formatSeparator),R=T.shift().trim(),I=T.join(this.formatSeparator).trim();return this.format(deepFindWithDefaults(n,l,R,this.options.keySeparator,this.options.ignoreJSONStructure),I,s,{...r,...n,interpolationkey:R})};this.resetRegExp();const d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>c(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?c(this.escape(y)):c(y)}].forEach(y=>{for(a=0;i=y.regex.exec(t);){const T=i[1].trim();if(o=u(T),o===void 0)if(typeof d=="function"){const I=d(t,i,r);o=typeof I=="string"?I:""}else if(r&&Object.prototype.hasOwnProperty.call(r,T))o="";else if(f){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${T} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=makeString(o));const R=y.safeValue(o);if(t=t.replace(i[0],R),f?(y.regex.lastIndex+=o.length,y.regex.lastIndex-=i[0].length):y.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),t}nest(t,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,i,o;function a(l,c){const u=this.nestingOptionsSeparator;if(l.indexOf(u)<0)return l;const d=l.split(new RegExp(`${u}[ ]*{`));let f=`{${d[1]}`;l=d[0],f=this.interpolate(f,o);const g=f.match(/'/g),y=f.match(/"/g);(g&&g.length%2===0&&!y||y.length%2!==0)&&(f=f.replace(/'/g,'"'));try{o=JSON.parse(f),c&&(o={...c,...o})}catch(T){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,T),`${l}${u}${f}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,l}for(;r=this.nestingRegexp.exec(t);){let l=[];o={...s},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;
250let c=!1;if(r[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(r[1])){const u=r[1].split(this.formatSeparator).map(d=>d.trim());r[1]=u.shift(),l=u,c=!0}if(i=n(a.call(this,r[1].trim(),o),o),i&&r[0]===t&&typeof i!="string")return i;typeof i!="string"&&(i=makeString(i)),i||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${t}`),i=""),c&&(i=l.reduce((u,d)=>this.format(u,d,s.lng,{...s,interpolationkey:r[1].trim()}),i.trim())),t=t.replace(r[0],i),this.regexp.lastIndex=0}return t}}function parseFormatStr(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const s=e.split("(");t=s[0].toLowerCase().trim();const r=s[1].substring(0,s[1].length-1);t==="currency"&&r.indexOf(":")<0?n.currency||(n.currency=r.trim()):t==="relativetime"&&r.indexOf(":")<0?n.range||(n.range=r.trim()):r.split(";").forEach(o=>{if(o){const[a,...l]=o.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),u=a.trim();n[u]||(n[u]=c),c==="false"&&(n[u]=!1),c==="true"&&(n[u]=!0),isNaN(c)||(n[u]=parseInt(c,10))}})}return{formatName:t,formatOptions:n}}function createCachedFormatter(e){const t={};return function(s,r,i){const o=r+JSON.stringify(i);let a=t[o];return a||(a=e(getCleanedCode(r),i),t[o]=a),a(s)}}class Formatter{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=baseLogger.create("formatter"),this.options=t,this.formats={number:createCachedFormatter((n,s)=>{const r=new Intl.NumberFormat(n,{...s});return i=>r.format(i)}),currency:createCachedFormatter((n,s)=>{const r=new Intl.NumberFormat(n,{...s,style:"currency"});return i=>r.format(i)}),datetime:createCachedFormatter((n,s)=>{const r=new Intl.DateTimeFormat(n,{...s});return i=>r.format(i)}),relativetime:createCachedFormatter((n,s)=>{const r=new Intl.RelativeTimeFormat(n,{...s});return i=>r.format(i,s.range||"day")}),list:createCachedFormatter((n,s)=>{const r=new Intl.ListFormat(n,{...s});return i=>r.format(i)})},this.init(t)}init(t){const s=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=s.formatSeparator?s.formatSeparator:s.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=createCachedFormatter(n)}format(t,n,s){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((a,l)=>{const{formatName:c,formatOptions:u}=parseFormatStr(l);if(this.formats[c]){let d=a;try{const f=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},g=f.locale||f.lng||r.locale||r.lng||s;d=this.formats[c](a,g,{...u,...r,...f})}catch(f){this.logger.warn(f)}return d}else this.logger.warn(`there was no format function for ${c}`);return a},t)}}function removePending(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class Connector extends EventEmitter{constructor(t,n,s){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=s,this.languageUtils=s.languageUtils,this.options=r,this.logger=baseLogger.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(s,r.backend,r)}queueLoad(t,n,s,r){const i={},o={},a={},l={};return t.forEach(c=>{let u=!0;n.forEach(d=>{const f=`${c}|${d}`;!s.reload&&this.store.hasResourceBundle(c,d)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?o[f]===void 0&&(o[f]=!0):(this.state[f]=1,u=!1,o[f]===void 0&&(o[f]=!0),i[f]===void 0&&(i[f]=!0),l[d]===void 0&&(l[d]=!0)))}),u||(a[c]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(l)}}loaded(t,n,s){const r=t.split("|"),i=r[0],o=r[1];n&&this.emit("failedLoading",i,o,n),s&&this.store.addResourceBundle(i,o,s,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const a={};this.queue.forEach(l=>{pushPath(l.loaded,[i],o),removePending(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEac
250h(c=>{a[c]||(a[c]={});const u=l.loaded[c];u.length&&u.forEach(d=>{a[c][d]===void 0&&(a[c][d]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(l=>!l.done)}read(t,n,s){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:s,tried:r,wait:i,callback:o});return}this.readingCalls++;const a=(c,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(c&&u&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,s,r+1,i*2,o)},i);return}o(c,u)},l=this.backend[s].bind(this.backend);if(l.length===2){try{const c=l(t,n);c&&typeof c.then=="function"?c.then(u=>a(null,u)).catch(a):a(null,c)}catch(c){a(c)}return}return l(t,n,a)}prepareLoading(t,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const i=this.queueLoad(t,n,s,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,s){this.prepareLoading(t,n,{},s)}reload(t,n,s){this.prepareLoading(t,n,{reload:!0},s)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const s=t.split("|"),r=s[0],i=s[1];this.read(r,i,"read",void 0,void 0,(o,a)=>{o&&this.logger.warn(`${n}loading namespace ${i} for language ${r} failed`,o),!o&&a&&this.logger.log(`${n}loaded namespace ${i} for language ${r}`,a),this.loaded(t,o,a)})}saveMissing(t,n,s,r,i){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${s}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(s==null||s==="")){if(this.backend&&this.backend.create){const l={...o,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let u;c.length===5?u=c(t,n,s,r,l):u=c(t,n,s,r),u&&typeof u.then=="function"?u.then(d=>a(null,d)).catch(a):a(null,u)}catch(u){a(u)}else c(t,n,s,r,a,l)}!t||!t[0]||this.store.addResource(t[0],n,s,r)}}}function get(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const s=t[3]||t[2];Object.keys(s).forEach(r=>{n[r]=s[r]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function transformOptions(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function noop(){}function bindMemberFunctions(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEac
250h(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}class I18n extends EventEmitter{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=transformOptions(t),this.services={},this.logger=baseLogger,this.modules={external:[]},bindMemberFunctions(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(s=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const r=get();this.options={...r,...this.options,...transformOptions(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function i(u){return u?typeof u=="function"?new u:u:null}if(!this.options.isClone){this.modules.logger?baseLogger.init(i(this.modules.logger),this.options):baseLogger.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Formatter);const d=new LanguageUtil(this.options);this.store=new ResourceStore(this.options.resources,this.options);const f=this.services;f.logger=baseLogger,f.resourceStore=this.store,f.languageUtils=d,f.pluralResolver=new PluralResolver(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(f.formatter=i(u),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new Interpolator(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new Connector(i(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(g){for(var y=arguments.length,T=new Array(y>1?y-1:0),R=1;R<y;R++)T[R-1]=arguments[R];t.emit(g,...T)}),this.modules.languageDetector&&(f.languageDetector=i(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=i(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new Translator(this.services,this.options),this.translator.on("*",function(g){for(var y=arguments.length,T=new Array(y>1?y-1:0),R=1;R<y;R++)T[R-1]=arguments[R];t.emit(g,...T)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,s||(s=noop),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=function(){return t.store[u](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=function(){return t.store[u](...arguments),t}});const l=defer(),c=()=>{const u=(d,f)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(f),s(d,f)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l}loadResources(t){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:noop;const r=typeof t=="string"?t:this.language;if(typeof t=="function"&&(s=t),!this.options.resources||this.options.partialBundledLanguages){if(r&&r.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return s();const i=[],o=a=>{if(!a||a==="cimode")return;
250this.services.languageUtils.toResolveHierarchy(a).forEach(c=>{c!=="cimode"&&i.indexOf(c)<0&&i.push(c)})};r?o(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>o(l)),this.options.preload&&this.options.preload.forEach(a=>o(a)),this.services.backendConnector.load(i,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(a)})}else s(null)}reloadResources(t,n,s){const r=defer();return t||(t=this.languages),n||(n=this.options.ns),s||(s=noop),this.services.backendConnector.reload(t,n,i=>{r.resolve(),s(i)}),r}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&postProcessor.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const s=this.languages[n];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}}changeLanguage(t,n){var s=this;this.isLanguageChangingTo=t;const r=defer();this.emit("languageChanging",t);const i=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},o=(l,c)=>{c?(i(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,r.resolve(function(){return s.t(...arguments)}),n&&n(l,function(){return s.t(...arguments)})},a=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const c=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||i(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,u=>{o(u,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(t),r}getFixedT(t,n,s){var r=this;const i=function(o,a){let l;if(typeof a!="object"){for(var c=arguments.length,u=new Array(c>2?c-2:0),d=2;d<c;d++)u[d-2]=arguments[d];l=r.options.overloadTranslationOptionHandler([o,a].concat(u))}else l={...a};l.lng=l.lng||i.lng,l.lngs=l.lngs||i.lngs,l.ns=l.ns||i.ns,l.keyPrefix=l.keyPrefix||s||i.keyPrefix;const f=r.options.keySeparator||".";let g;return l.keyPrefix&&Array.isArray(o)?g=o.map(y=>`${l.keyPrefix}${f}${y}`):g=l.keyPrefix?`${l.keyPrefix}${f}${o}`:o,r.t(g,l)};return typeof t=="string"?i.lng=t:i.lngs=t,i.ns=n,i.keyPrefix=s,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
250if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=n.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const o=(a,l)=>{const c=this.services.backendConnector.state[`${a}|${l}`];return c===-1||c===2};if(n.precheck){const a=n.precheck(this,o);if(a!==void 0)return a}return!!(this.hasResourceBundle(s,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(s,t)&&(!r||o(i,t)))}loadNamespaces(t,n){const s=defer();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(r=>{this.options.ns.indexOf(r)<0&&this.options.ns.push(r)}),this.loadResources(r=>{s.resolve(),n&&n(r)}),s):(n&&n(),Promise.resolve())}loadLanguages(t,n){const s=defer();typeof t=="string"&&(t=[t]);const r=this.options.preload||[],i=t.filter(o=>r.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return i.length?(this.options.preload=r.concat(i),this.loadResources(o=>{s.resolve(),n&&n(o)}),s):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],s=this.services&&this.services.languageUtils||new LanguageUtil(get());return n.indexOf(s.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new I18n(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:noop;const s=t.forkResourceStore;s&&delete t.forkResourceStore;const r={...this.options,...t,isClone:!0},i=new I18n(r);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(a=>{i[a]=this[a]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},s&&(i.store=new ResourceStore(this.store.data,r),i.services.resourceStore=i.store),i.translator=new Translator(i.services,r),i.translator.on("*",function(a){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u<l;u++)c[u-1]=arguments[u];i.emit(a,...c)}),i.init(r,n),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const instance=I18n.createInstance();instance.createInstance=I18n.createInstance;instance.createInstance;instance.dir;instance.init;instance.loadResources;instance.reloadResources;instance.use;instance.changeLanguage;instance.getFixedT;instance.t;instance.exists;instance.setDefaultNamespace;instance.hasLoadedNamespace;instance.loadNamespaces;instance.loadLanguages;const no_results="Die Abfrage lieferte keine Ergebnisse. Bitte prüfen Sie Ihre Eingaben und versuchen Sie es erneut.",oto_id_help="z.B. A.123.456.789.1 oder B.123.456.789.1",Offer_swisscom_fiber
250="Glasfasernetz schweizweit",Offer_alex_ewz="Stadtnetz Zürich",Offer_alex_ewb="Stadtnetz Bern",Offer_alex_stwk="Stadtnetz Winterthur",Offer_alex_ewl="Stadtnetz Luzern",Offer_alex_sgsw="Stadtnetz St.Gallen",Offer_alex_sgsw_gossau="Stadtnetz Gossau",Offer_alex_ewm="Stadtnetz Meilen",Offer_swisscom_adsl="DSL Internet",Offer_swisscom_vdsl="DSL Internet",Offer_alex_baden="Stadtnetz Baden",Offer_alex_swl="Stadtnetz Lenzburg",Offer_alex_leucom="Stadtnetz Frauenfeld",Offer_alex_lindau="Stadtnetz Lindau",Offer_swisscom_xgspon="XGS-PON Glasfasernetz",Offer_alex_s4n="Swiss4Net",Offer_litex_xgspon="LiteXchange XGS-PON",Offer_litex_fiber="LiteXchange Glasfasernetz",Offer_alex_gbm="Gemeindebetriebe Muri",Offer_other_gbm="Gemeindebetriebe Muri",Offer_alex_leucom_wbb="Stadtnetz Frauenfeld",Offer_alex_leucom_gef="Stadtnetz Frauenfeld",Offer_alex_leucom_pge="Stadtnetz Frauenfeld",translations_de={"access is for":"Der Anschluss ist für","search by":"Suchen über die",no_results,"multiple addresses found":"Mehrere Adressen gefunden","select address":"Adresse wählen","address found":"Gefundene Adresse","dsl available speed":"Die zurzeit technisch erreichbare Bandbreite beträgt: {{ download, number }} Mbit/s Download und {{ upload, number }} Mbit/s Upload.","dsl achievable speed":"Mit den angezeigten Profilen können Sie die maximal verfügbare Bandbreite nutzen.",oto_id_help,Offer_swisscom_fiber,Offer_alex_ewz,Offer_alex_ewb,Offer_alex_stwk,Offer_alex_ewl,Offer_alex_sgsw,Offer_alex_sgsw_gossau,Offer_alex_ewm,Offer_swisscom_adsl,Offer_swisscom_vdsl,Offer_alex_baden,Offer_alex_swl,Offer_alex_leucom,Offer_alex_lindau,Offer_swisscom_xgspon,Offer_alex_s4n,Offer_litex_xgspon,Offer_litex_fiber,Offer_alex_gbm,Offer_other_gbm,Offer_alex_leucom_wbb,Offer_alex_leucom_gef,Offer_alex_leucom_pge};instance.init({lng:"de",debug:!1,resources:{de:{translation:translations_de}}});const cookie_service={setCookie:function(e,t,n){const s=new Date;typeof extdays>"u"&&(n=30),s.setTime(s.getTime()+n*24*60*60*1e3);let r="expires="+s.toUTCString();document.cookie=e+"="+t+";"+r+";path=/"},getCookie:function(e){let t=e+"=",s=decodeURIComponent(document.cookie).split(";");for(let r=0;r<s.length;r++){let i=s[r];for(;i.charAt(0)==" ";)i=i.substring(1);if(i.indexOf(t)==0)return i.substring(t.length,i.length)}return""}};let html$2="";html$2=html_lic$2;const RequestForm={template:html$2,components:{AddressTypeahead},setup(e,{attrs:t,slots:n,emit:s,expose:r}){let i=inject("$storeName");const o=useOwnStore(i),a=ref(!1),l=reactive(new CheckByModel),c=ref(""),u=ref(null),d=ref(null),f=ref(null),g=ref(null),y=ref(null),T=ref(null),R=computed(function(){return new CheckerOfferProvider(o.checker_results).addressChoices}),I=async function(M){var z;if(M.preventDefault(),c.value="",a.value=!0,o.checker==null||o.checker.ckeckerKey!=l.checkerKey)try{o.checker=await Checker.makeOne(o.gfo_api,l.checkerKey)}catch(q){c.value="Fehler beim erstellen des Checker-Objektes: "+q;return}o.netz_list=null,o.checker_results=null,o.check_by_model=null,o.checker_result_uid="";try{let q=o.checker.doValidate(l);if(q){c.value=q,a.value=!1;return}let W=await o.checker.doCheck(l);if((200>W.status||400<=W.status)&&(c.value+="Fehler bei der Prüfung "),c.value==""){let B=await W.json();o.checker_results=B,o.check_by_model=Object.assign({},l)}}catch(q){c.value=q}if(a.value=!1,c.value==""){l.retryCount++;let q=null;(o.checker_results.errors.alex!=null||o.checker_results.errors.swisscom!=null||o.checker_results.errors.swisscom!=null)&&(q=JSON.stringify(o.checker_results.errors));try{let F=await o.gfo_api.sendPostRequest("/checker_result",{checker_version:2,selected_address_label:((z=R==null?void 0:R.value)==null?void 0:z.length)==1?R.value[0].key:"",checker_key:l.checkerKey,query:l.getQueryForGfo(),response:o.checker_results,retry_count:l.retryCount,history:q,source:location.href});if(200<=F.status&&400>F.status){let W=await F.json();o.checker_result_uid=W.uid,cookie_service.setCookie("gfo_checker_result_uid",W.uid,1)}}catch(F){c.value=F}}},C=computed(function(){return o.address_api.api_token!=""}),S=computed(function(){return l.checkBy}),b=computed(function(){return l.placeId}),v=computed(function(){return l.streetId}),x=computed(function(){let M=[],z=o.settings.checkBy;return-1<z.indexOf("address")&&M.push({value:"address",text:"Adresse"}),(-1<z.indexOf("oto")||-1<z.indexOf("oto_id"))&&M.push({value:"oto",text:"OTO-ID"}),-1<z.indexOf("phone")&&M.push({value:"number",text:"Telefon-Nr."}),-1<z.indexOf("number")&&M.push({value:"number",text:"Telefon-Nr."}),M}),P=computed(function(){let M=[];return o.settings.checkerKeys.forEach(function(z){let q=z.trim();if(q){let F=z.charAt(0).toUpperCase()+z.slice(1);F=="Private"&&(F="Privat"),M.push({value:q,text:F})}}),M}
250),_=computed(function(){return a.value||l.isBuilding||!l.isBuilding&&l.street==""}),O=function(M){l.zip=M.postcode,l.city=M.name,l.placeId=M.id,l.street="",l.streetId=0,l.houseNr="",l.building="",l.isBuilding=!1,window.setTimeout(function(){d.value.doFocus(),f.value.doClear()},1)},N=function(M){var z,q;typeof M=="string"?(l.street=M,l.streetId=0,l.isBuilding=!1,l.houseNr="",l.building=""):(l.street=M.name,l.streetId=M.id,l.houseNr="",l.building="",l.isBuilding=M.is_building,((z=M.place)==null?void 0:z.postcode)=="5624"&&M.name=="Aumatte"&&(l.isBuilding=!1),l.isBuilding==!0&&((q=f==null?void 0:f.value)==null||q.setValue(""))),window.setTimeout(function(){l.isBuilding==!0?g.value.focus():f.value.doFocus()},1)},w=function(M){l.houseNr=M,l.building="",l.isBuilding=!1,window.setTimeout(function(){g.value.focus()},1)},k=function(M){window.setTimeout(function(){g.value.focus()},1)};return watch(S,function(){o.netz_list=null,o.checker_results=null,o.checker_result_uid="",l.street="",l.houseNr="",l.building="",l.zip="",l.city="",l.oto="",l.plugNr="",l.number="",l.isBuilding=!1,l.placeId=0,l.streetId=0}),onMounted(async function(){var z,q,F,W,B,te,re,oe;l.checkerKey=P.value[0].value||"",l.checkBy=x.value[0].value||"";let M=cookie_service.getCookie("gfo_checker_result_uid");if(M){console.log("getting last search");let le=await o.gfo_api.sendGetRequest(`/checker_result/${M}`);if(le.status==200){let H=await le.json(),Q=((z=H==null?void 0:H.query)==null?void 0:z.street)??"",ae=((q=H==null?void 0:H.query)==null?void 0:q.building)??"",ne=((F=H==null?void 0:H.query)==null?void 0:F.phone)??"",ye=((W=H==null?void 0:H.query)==null?void 0:W.oto)??"";Q!=""?(l.checkBy="address",l.streetId=((B=H==null?void 0:H.query)==null?void 0:B.streetId)??0,l.placeId=((te=H==null?void 0:H.query)==null?void 0:te.placeId)??0,window.setTimeout(function(){var ue,me,fe,he,ge,m;l.street=Q,l.houseNr=((ue=H==null?void 0:H.query)==null?void 0:ue.houseNr)??"",l.isBuilding=!1,l.zip=((me=H==null?void 0:H.query)==null?void 0:me.zip)??"",l.city=((fe=H==null?void 0:H.query)==null?void 0:fe.city)??"",(he=u==null?void 0:u.value)==null||he.setValue(`${l.zip} ${l.city}`.trim()),(ge=d==null?void 0:d.value)==null||ge.setValue(Q.trim()),(m=f==null?void 0:f.value)==null||m.setValue(`${l.houseNr}`.trim())},1)):ae!=""?(l.checkBy="address",l.streetId=((re=H==null?void 0:H.query)==null?void 0:re.streetId)??0,l.placeId=((oe=H==null?void 0:H.query)==null?void 0:oe.placeId)??0,window.setTimeout(function(){var ue,me,fe,he,ge,m;l.street=ae,l.houseNr=((ue=H==null?void 0:H.query)==null?void 0:ue.houseNr)??"",l.isBuilding=!0,l.zip=((me=H==null?void 0:H.query)==null?void 0:me.zip)??"",l.city=((fe=H==null?void 0:H.query)==null?void 0:fe.city)??"",(he=u==null?void 0:u.value)==null||he.setValue(`${l.zip} ${l.city}`.trim()),(ge=d==null?void 0:d.value)==null||ge.setValue(ae.trim()),(m=f==null?void 0:f.value)==null||m.setValue("")},1)):ye!=""?(l.checkBy="oto",window.setTimeout(function(){var ue;l.oto=ye,l.plugNr=((ue=H==null?void 0:H.query)==null?void 0:ue.plugNr)??""},1)):ne!=""&&(l.checkBy="number",window.setTimeout(function(){l.number=ne},1))}}}),{currentPlaceId:b,currentStreetId:v,error:c,executeCheck:I,checkIsRunning:a,checkByChoices:x,checkerKeyChoices:P,housNrDisabled:_,i18n:instance,model:l,useAddressApi:C,onZipCityChange:O,onStreetChange:N,onHouseNrChange:w,onBuildingChange:k,inputZipCity:u,inputStreet:d,inputStreetNumber:f,inputSubmitAddress:g,inputSubmitOto:y,inputSubmitNumber:T}}},html_lic=`<div class="container-fluid">
251
252  <div class="alert alert-info mt-3" v-if="hasNoResults">Die Abfrage lieferte keine Ergebnisse. Bitte prüfen Sie Ihre Eingaben und versuchen Sie es erneut.
253  </div>
254  <div class="alert alert-danger mt-3" v-if="partiallyFailed">
255    Bei der Abfrage waren nicht alle Netzwerke verfügbar. Die Ergebnisse können daher unvollständig sein. Bitte versuchen Sie es in einer Minute erneut.
256  </div>
257  <div class="alert alert-danger mt-3" v-if="error">{{error}}</div>
258
259  <div class="alert alert-light mt-3" v-if="displayAddressChoices">
260    Wir haben mehrere Adressen gefunden. Bitte wählen Sie Ihre Adresse aus. Wenn Sie unsicher sind, welches die richtige Adresse ist, wenden Sie sich unter 043 500 11 11 oder [email protected] an unseren Supp
260ort.
261  </div>
262  <div class="form-floating mt-3 w-100" v-if="displayAddressChoices">
263    <select class=form-select id="input_select_result_idx"
264      ref="selectResultIndexRef"
265      v-model="selectedAddress"
266      :aria-label="i18n.t('multiple addresses found')">
267      <option value="">{{i18n.t('select address')}}</option>
268      <option v-for="(item, idx) in addressChoices"
269        :value="item.key">
270          {{item.text}}
271      </option>
272    </select>
273    <label for="input_select_result_idx">{{i18n.t("multiple addresses found")}}</label>
274  </div>
275
276  <div class="alert alert-light mt-3" v-if="displayAddress">
277    {{i18n.t("address found")}}: {{selectedAddressChoice.key}}
278  </div>
279
280  <div v-if="displayResults" class="mt-3">
281    <div v-for="(offer, idx) in offersAtAddress">
282      <div v-if="'first' != netzDisplay || 0 == idx" class=" bg-body p-0 mb-5">
283        <h4>{{ i18n.t('Offer_' + offer.serviceProvider + '_' + offer.serviceType)}}</h4>
284        <div class="alert alert-light mt-3 mb-3"
285          v-if="-1 < offer.serviceType.indexOf('dsl')" >
286          {{ i18n.t("dsl available speed", {download: offer.maxDownstream/1000, upload:  offer.maxUpstream/1000 }) }}
287          <br/>{{ i18n.t("dsl achievable speed") }}
288        </div>
289        <ul class="list-group">
290          <li class="list-group-item list-group-item-action"  
291            v-for="profile in offer.profiles"
292            :key="profile.customerId">
293            <a :href="getProfileLink(profile)" data-tracking="goto-checkout">
294              {{profile.name}}
295            </a>
296
297          </li>
298        </ul>
299      </div>
300    </div>
301  </div>
302
303
304</div>`;class CheckerResultAddress{constructor(){this.addon=null,this.building=null,this.city="",this.building="",this.houseNr="",this.label="",this.street="",this.zip=""}}class CheckerResultGroup{constructor(){this.netzName="",this.maxSpeed=[0,0],this.netzSlugs=[],this.profiles=[]}}class CheckerResultProfile{constructor(){this.name="",this.customerId="",this.netzId=0,this.netzSlug="",this.netzName="",this.netzIsMixin=!1,this.productVariantId=0,this.maxDownstream=0,this.maxUpstream=0,this.serviceProvider="",this.serviceType=""}}class CheckerResultModel{constructor(){this.address=null,this.resultGroups=[]}FromCheckerResponse(t,n,s){this.address=Object.assign(new CheckerResultAddress,s.address);let r={},i={};n.forEach(function(l){r[l.id]=l,i[l.slug]=l});for(var o=0;o<t.netz_list.length;o++){let l=t.netz_list[o],c=l[0],u=i[c];if(typeof u>"u"||!u.service_provider_v2||!u.service_type_v2)continue;let d=[];if(typeof s.providers<"u"&&(d=this.getProfilesForNetz(u,s.providers[u.service_provider_v2])),d.length==0)continue;let f=new CheckerResultGroup;f.netzName=u.title,f.netzSlugs=l;let g=[];d.forEach(function(C){g.indexOf(C.customerId)==-1&&(f.profiles.push(C),g.push(C.customerId))});for(var a=1;a<l.length;a++){let C=i[l[a]],S=this.getProfilesForNetz(C,s.providers[C.service_provider_v2]);if(0<S.length){S=S.map(function(v){return v.netzIsMixin=!0,v});let b=[];S.forEach(function(v){b.indexOf(v.customerId)==-1&&(f.profiles.push(v),b.push(v.customerId))})}}let y=0,T=0,R=null,I=null;try{R=s.providers.swisscom.services.vdsl,I=s.providers.swisscom.services.adsl}catch{}R!=null?(y=R.maxDownstream,T=R.maxUpstream):I!=null&&(y=I.maxDownstream,T=I.maxUpstream),f.maxSpeed=[y,T],this.resultGroups.push(f)}}getProfilesForNetz(t,n){if(typeof n>"u")return[];let s=null,r=t.area_codes,i=t.service_type_v2.split(",").sort(function(l,c){return l=="vdsl"?-1:c=="vdsl"?1:l.localeCompare(c)});for(var o=0;o<i.length;o++){let l=i[o];if(typeof n.services[l]<"u"){s=n.services[l];break}}if(!s)return[];let a=[];for(var o=0;o<n.profiles.length;o++){let c=n.profiles[o];if(c.customerId.indexOf(`netz-${t.id}`)==-1)continue;let u=s.attributes.parentArea||"";if(u!=""&&0<r.length&&r.indexOf(u)==-1)continue;let d=c.customerId.match(/pvid-([0-9]+)/)[1]||"";if(!d||isNaN(d))continue;let f=new CheckerResultProfile;Object.assign(f,c),f.netzSlug=t.slug,f.netzId=t.id,f.netzName=t.title,f.productVariantId=parseInt(d),a.push(f)}return a}}class CheckerCallbackModel{constructor(){this.query=new CheckByModel,this.result=new CheckerResultModel,this.checker_result_uid="",this.payload=""}}let html$1="";html$1=html_lic;const ResultsList={template:html$1,components:{},setup(props,{attrs,slots,emit,expose}){let ownStorename=inject("$storeName");const Store=useOwnStore(ownStorename),selectedAddress=ref(""),error=ref(""),selectResultIndexRef=ref(null),instance$1=getCurrentInstance(),partiallyFailed=computed(function(){return hasResults.value?Store.checker_results.errors.alex!=null||Store.checker_results.errors.swisscom!=null||Store.checker_results.errors.litex!=null:!1}),checkCompleted=computed(function(){return Store.checker_results!=null}),hasNoResults=computed(function(){return checkCompleted.value&&Store.checker_results!=null&&Store.checker_results.results.length==0}),hasResults=computed(function(){return checkCompleted.value&&Store.checker_results!=null&&0<Store.checker_results.results.length}),netzDisplay=computed(function(){return Store.settings.netzDisplay}),addressChoices=computed(function(){return new CheckerOfferProvider(Store.checker_results).addressChoices}),displayAddress=computed(function(){const e=displayAddressChoices.value;return Store.settings!=null&&Store.settings.callbackFunctionName==""&&Store.settings.callbackCustomEventName==""&&hasResults.value&&!e}),displayAddressChoices=computed(function(){var t,n,s,r;const e=addressChoices.value;if(e.length>1)return!0;
304if(((t=Store.check_by_model)==null?void 0:t.checkBy)=="address"){const i=`${Store.check_by_model.street} ${(n=Store.check_by_model)==null?void 0:n.houseNr}, ${(s=Store.check_by_model)==null?void 0:s.zip} ${(r=Store.check_by_model)==null?void 0:r.city}`,o=normalizeLabel(i);if(e.length==1&&o!=e[0].key)return!0}return!1}),selectedAddressChoice=computed(()=>{if(addressChoices.value.length==0)return{text:"",key:""};if(selectedAddress.value=="")return addressChoices.value[0];{const e=addressChoices.value.filter(t=>t.key==selectedAddress.value);return e.length==0?{text:"",key:""}:e[0]}}),offers=computed(()=>new CheckerOfferProvider(Store.checker_results).offers),offersAtAddress=computed(()=>{const e=selectedAddressChoice.value;return offers.value.filter(n=>n.address.getNormalizedLabel()==e.key)}),displayResults=computed(function(){return Store.settings!=null&&Store.settings.callbackFunctionName==""&&Store.settings.callbackCustomEventName==""&&offers.value.length>0&&error.value==""&&(displayAddress.value||displayAddressChoices.value&&selectedAddress.value!="")}),selectedCheckerResult=computed(function(){const e=selectedAddressChoice.value,t=offersAtAddress.value;let n=new CheckerResultModel;if(e.key==""||t.length==0)return n;const s=t[0];n.address=s.address;let r=new CheckerResultGroup;return r.netzName=instance.t("Offer_"+s.serviceProvider+"_"+s.serviceType),r.maxSpeed=[s.maxDownstream,s.maxUpstream],r.netzSlugs=[s.profiles[0].netzSlug],r.profiles=s.profiles,n.resultGroups.push(r),n}),invokeCallback=computed(function(){return Store.settings!=null&&Store.settings.callbackFunctionName!=""&&offers.value.length>0&&error.value==""&&Store.checker_result_uid!=""}),invokeCustomEvent=computed(function(){return Store.settings!=null&&Store.settings.callbackCustomEventName!=""&&offers.value.length>0&&error.value==""&&Store.checker_result_uid!=""}),getProfileLink=function(e){let t={netz:e.netzSlug,pv_ids:e.productVariantId,checker_result_uid:Store.checker_result_uid};if(typeof Store.settings.payload=="string"&&Store.settings.payload.trim()!=""){let n=new URLSearchParams(Store.settings.payload.trim());n.delete("netz"),n.delete("checker_result_uid"),n.get("pv_ids")!=null&&(t.pv_ids+=","+n.get("pv_ids"),n.delete("pv_ids")),n.keys().forEach(s=>{s=="pv_ids"?t.pv_ids+=","+n.get(s):s=="netz"||s=="checker_result_uid"||(t[s]=n.get(s))})}if(Store.settings.orderPage){let n=Store.settings.orderPage;return n+=n.indexOf("?")==-1?"?":"&",n+=new URLSearchParams(t).toString(),n}else return new URLSearchParams(t).toString()},gotoProfileLink=function(e){if(Store.settings.orderPage)return!0;e.preventDefault(),e.target.href};return watch(invokeCallback,newValue=>{if(newValue==!0){let functionName=Store.settings.callbackFunctionName,checkerCallbackModel=new CheckerCallbackModel,checkerResultUid=Store.checker_result_uid.toString();checkerCallbackModel.query=Store.check_by_model,checkerCallbackModel.result=selectedCheckerResult.value,checkerCallbackModel.checker_result_uid=checkerResultUid,checkerCallbackModel.payload=Store.settings.payload,eval(`${functionName}(checkerCallbackModel)`)}}),watch(invokeCustomEvent,e=>{var n;const t=instance$1.vnode.el;if(e==!0){const s=(n=offersAtAddress.value[0])==null?void 0:n.profiles[0],r={checker_result_uid:Store.checker_result_uid.toString(),payload:Store.settings.payload,netz:(s==null?void 0:s.netzSlug)??""};t.dispatchEvent(new CustomEvent(Store.settings.callbackCustomEventName,{detail:r,bubbles:!0,composed:!0}))}}),watch(addressChoices,function(){selectedAddress.value=""}),watch(selectedAddress,async function(){if(Store.checker_result_uid!=""&&selectedAddress.value!="")try{await Store.gfo_api.sendPatchRequest(`/checker_result/${Store.checker_result_uid}`,{selected_address_label:selectedAddress.value})}catch(e){error.value=e}}),watch(displayAddressChoices,function(e){e==!0&&window.setTimeout(function(){selectResultIndexRef==null?console.log("selectResultIndexRef is null"):selectResultIndexRef.value.focus()})}),{addressChoices,error,checkCompleted,displayAddress,displayResults,displayAddressChoices,gotoProfileLink,getProfileLink,offers,offersAtAddress,selectedAddress,hasNoResults,hasResults,i18n:instance,netzDisplay,partiallyFailed,selectResultIndexRef,selectedAddressChoice}}};let html="";html=html_iway;const AppWrap={template:html,components:{Loading,RequestForm,Settings,ResultsList},props:{},setup(e,t){let n=inject("$storeName");const s=useOwnStore(n),r=computed(function(){return s.current_view}),i=computed(function(){return s.theme});return{current_view:r,bs_theme:i}}},_hoisted_1={key:0,style:{background:"white",padding:"15px",color:"red"}},_sfc_main={__name:"App",props:{dataApi_token:String,dataApi_url:String,dataChecker_key:String,dataCheck_by:String,dataNetz_display:String,dataCallback_function_name:String,dataCallback_custom_event_name:String,dataOrder_page:String,dataAddress_api_token:String,dataTheme:String,dataPayload:String},setup(e){setActivePinia(createPinia());let t="store"+Math.floor(Math.random()*1e3);provide("$storeName",t);const n=useOwnStore(t),s=e,r=ref(""),i=computed(function(){return s.dataTheme?s.dataTheme:"light"});return onMounted(async function(){let o="",a="",l="";
304s.dataApi_url?o=s.dataApi_url:typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("GFO_API_URL")&&(o=CHECKER_CONFIG.GFO_API_URL),s.dataApi_token?a=s.dataApi_token:typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("GFO_API_TOKEN")&&(a=CHECKER_CONFIG.GFO_API_TOKEN),s.dataAddress_api_token?l=s.dataAddress_api_token:typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("ADDRESS_API_TOKEN")&&(l=CHECKER_CONFIG.ADDRESS_API_TOKEN);let c=new Settings;s.dataChecker_key?c.checkerKeys=s.dataChecker_key.split(",").map(function(f){return f.trim()}):typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("CHECKER_KEY")&&(c.checkerKeys=CHECKER_CONFIG.CHECKER_KEY.split(",").map(function(f){return f.trim()})),s.dataCheck_by?c.checkBy=s.dataCheck_by.split(",").map(function(f){return f.trim()}):typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("CHECK_BY")&&(c.checkBy=CHECKER_CONFIG.CHECK_BY.split(",").map(function(f){return f.trim()})),s.dataNetz_display?c.netzDisplay=s.dataNetz_display:typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("NETZ_DISPLAY")&&(c.netzDisplay=CHECKER_CONFIG.NETZ_DISPLAY),s.dataCallback_function_name?c.callbackFunctionName=s.dataCallback_function_name:typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("CALLBACK_FUNCTION_NAME")&&(c.callbackFunctionName=CHECKER_CONFIG.CALLBACK_FUNCTION_NAME),s.dataCallback_custom_event_name?c.callbackCustomEventName=s.dataCallback_custom_event_name:typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("CALLBACK_CUSTOM_EVENT_NAME")&&(c.callbackCustomEventName=CHECKER_CONFIG.CALLBACK_CUSTOM_EVENT_NAME),s.dataOrder_page?c.orderPage=s.dataOrder_page:typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("ORDER_PAGE")&&(c.orderPage=CHECKER_CONFIG.ORDER_PAGE),s.dataPayload?c.payload=s.dataPayload:typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("PAYLOAD")&&(c.payload=CHECKER_CONFIG.PAYLOAD),s.dataTheme?n.theme=s.dataTheme:typeof CHECKER_CONFIG<"u"&&CHECKER_CONFIG.hasOwnProperty("THEME")&&(n.theme=CHECKER_CONFIG.THEME);let u=new GfoApi;u.gfo_api_url=o,u.gfo_api_token=a;let d=new AddressApi;d.api_token=l,n.gfo_api=u,n.settings=c,n.address_api=d,n.current_view="RequestForm"}),watch(i,function(){n.theme=i.value==="dark"?"dark":"light"}),(o,a)=>(openBlock(),createElementBlock(Fragment,null,[r.value?(openBlock(),createElementBlock("div",_hoisted_1,toDisplayString(r.value),1)):createCommentVNode("",!0),createVNode(unref(AppWrap))],64))}},styles_iway="";let styles_local=styles_iway.replaceAll(":root",":host");_sfc_main.styles=[styles_local];const TheElement=defineCustomElement(_sfc_main);customElements.define("gfo-checker",TheElement);
305//# sourceMappingURL=gfo_checker_2.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.