31 lines
237 KiB
JavaScript
31 lines
237 KiB
JavaScript
function __vite__mapDeps(indexes) {
|
||
if (!__vite__mapDeps.viteFileDeps) {
|
||
__vite__mapDeps.viteFileDeps = ["assets/pages-index-index.-O3dtvSQ.js","assets/footer.GjOAft6T.js","assets/footer-CZEnLgS-.css","assets/index-CbLKnceV.css","assets/pages-index-list.DtImBNYA.js","assets/list-IslghMux.css","assets/pages-index-detail.-npdjvJE.js","assets/detail-B1ckKmp6.css"]
|
||
}
|
||
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
||
}
|
||
!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if((n=function(e){return"/"+e}(n))in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),r?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))};
|
||
/**
|
||
* @vue/shared v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/
|
||
function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},s=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,h=e=>"[object Map]"===x(e),m=e=>"[object Set]"===x(e),g=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,_=e=>null!==e&&"object"==typeof e,b=e=>(_(e)||g(e))&&g(e.then)&&g(e.catch),w=Object.prototype.toString,x=e=>w.call(e),S=e=>"[object Object]"===x(e),T=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,E=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k=/-(\w)/g,O=C((e=>e.replace(k,((e,t)=>t?t.toUpperCase():"")))),L=/\B([A-Z])/g,A=C((e=>e.replace(L,"-$1").toLowerCase())),$=C((e=>e.charAt(0).toUpperCase()+e.slice(1))),M=C((e=>e?`on${$(e)}`:"")),P=(e,t)=>!Object.is(e,t),j=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},R=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},N=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let I;const B=()=>I||(I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function D(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?W(o):D(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||_(e))return e}const F=/;(?![^(]*\))/g,H=/:([^]+)/,V=/\/\*[^]*?\*\//g;function W(e){const t={};return e.replace(V,"").split(F).forEach((e=>{if(e){const n=e.split(H);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function z(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const o=z(e[n]);o&&(t+=o+" ")}else if(_(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const U=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Y(e){return!!e||""===e}const q=e=>v(e)?e:null==e?"":p(e)||_(e)&&(e.toString===w||!g(e.toString))?JSON.stringify(e,X,2):String(e),X=(e,t)=>t&&t.__v_isRef?X(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[K(t,o)+" =>"]=n,e)),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>K(e)))}:y(t)?K(t):!_(t)||p(t)||S(t)?t:String(t),K=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},G=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view"].map((e=>"uni-"+e)),J=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),Z=["list-item"].map((e=>"uni-"+e));function Q(e){if(-1!==Z.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==G.indexOf(t)||-1!==J.indexOf(t)}const ee=/^([a-z-]+:)?\/\//i,te=/^data:.*,.*/;function ne(e){if(!e)return;let t=e.type.name;for(;t&&Q(A(t));)t=(e=e.parent).type.name;return e.proxy}function oe(e){return 1===e.nodeType}function re(e){if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),D(t)}if(v(e))return W(e);if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?W(o):re(o);if(r)for(const e in r)t[e]=r[e]}return t}return D(e)}function ie(e){let t="";if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(p(e))for(let n=0;n<e.length;n++){const o=ie(e[n]);o&&(t+=o+" ")}else t=z(e);return t.trim()}function se(e){return 0===e.indexOf("/")}function ae(e){return se(e)?e:"/"+e}function le(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}const ce=e=>e>9?e:"0"+e;function ue({date:e=new Date,mode:t="date"}){return"time"===t?ce(e.getHours())+":"+ce(e.getMinutes()):e.getFullYear()+"-"+ce(e.getMonth()+1)+"-"+ce(e.getDate())}function de(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?g(e.success)&&e.success(t):g(e.fail)&&e.fail(t),g(e.complete)&&e.complete(t)}function fe(e){return O(e.substring(5))}const pe=le((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[fe(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[fe(e)],n.call(this,e)}}));function he(e){return c({},e.dataset,e.__uniDataset)}const me=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function ge(e){return{passive:e}}function ve(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:he(e),offsetTop:n,offsetLeft:o}}function ye(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function _e(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=ye(e[n])}catch(o){t[n]=e[n]}})),t}const be=/\+/g;function we(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(be," ");let r=e.indexOf("="),i=ye(r<0?e:e.slice(0,r)),s=r<0?null:ye(e.slice(r+1));if(i in t){let e=t[i];p(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function xe(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r);const i=()=>e.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class Se{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o<n.length;)n[o].fn===t&&(n.splice(o,1),o--),o++;else delete this.listener[e]}_clearCache(e){for(let t=0;t<this.emitCache.length;t++){const n=this.emitCache[t],o=e?n.eventName===e?e:null:n.eventName;if(!o)continue;"number"!=typeof this.emit.apply(this,[o,...n.args])?(this.emitCache.splice(t,1),t--):this.emitCache.pop()}}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const Te=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Ee=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Ce=[];const ke=le(((e,t)=>{if(g(e._component.onError))return t(e)})),Oe=function(){};Oe.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var i=o.length-1;i>=0;i--)if(o[i].fn===t||o[i].fn._===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var Le=Oe;const Ae={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function $e(e,t,n){if(v(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in Ae?Ae[o]:o}return r}var o;return t}function Me(e,t={},n="light"){const o=t[n],r={};return void 0===o?e:(Object.keys(e).forEach((i=>{const s=e[i];r[i]=S(s)?Me(s,t,n):p(s)?s.map((e=>"object"==typeof e?Me(e,t,n):$e(o,e))):$e(o,s,i)})),r)}
|
||
/**
|
||
* @dcloudio/uni-h5-vue v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Pe,je;class Re{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Pe,!e&&Pe&&(this.index=(Pe.scopes||(Pe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Pe;try{return Pe=this,e()}finally{Pe=t}}}on(){Pe=this}off(){Pe=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function Ne(e){return new Re(e)}class Ie{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t=Pe){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,ze();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ue()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=He,t=je;try{return He=!0,je=this,this._runnings++,Be(this),this.fn()}finally{De(this),this._runnings--,je=t,He=e}}stop(){var e;this.active&&(Be(this),De(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Be(e){e._trackId++,e._depsLength=0}function De(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Fe(e.deps[t],e);e.deps.length=e._depsLength}}function Fe(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let He=!0,Ve=0;const We=[];function ze(){We.push(He),He=!1}function Ue(){const e=We.pop();He=void 0===e||e}function Ye(){Ve++}function qe(){for(Ve--;!Ve&&Ke.length;)Ke.shift()()}function Xe(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Fe(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ke=[];function Ge(e,t,n){Ye();for(const o of e.keys()){let n;o._dirtyLevel<t&&(null!=n?n:n=e.get(o)===o._trackId)&&(o._shouldSchedule||(o._shouldSchedule=0===o._dirtyLevel),o._dirtyLevel=t),o._shouldSchedule&&(null!=n?n:n=e.get(o)===o._trackId)&&(o.trigger(),o._runnings&&!o.allowRecurse||2===o._dirtyLevel||(o._shouldSchedule=!1,o.scheduler&&Ke.push(o.scheduler)))}qe()}const Je=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ze=new WeakMap,Qe=Symbol(""),et=Symbol("");function tt(e,t,n){if(He&&je){let t=Ze.get(e);t||Ze.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Je((()=>t.delete(n)))),Xe(je,o)}}function nt(e,t,n,o,r,i){const s=Ze.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&p(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":p(e)?T(n)&&a.push(s.get("length")):(a.push(s.get(Qe)),h(e)&&a.push(s.get(et)));break;case"delete":p(e)||(a.push(s.get(Qe)),h(e)&&a.push(s.get(et)));break;case"set":h(e)&&a.push(s.get(Qe))}Ye();for(const l of a)l&&Ge(l,4);qe()}const ot=n("__proto__,__v_isRef,__isVue"),rt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),it=st();function st(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Xt(this);for(let t=0,r=this.length;t<r;t++)tt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Xt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ze(),Ye();const n=Xt(this)[t].apply(this,e);return qe(),Ue(),n}})),e}function at(e){const t=Xt(this);return tt(t,0,e),t.hasOwnProperty(e)}class lt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Bt:It:r?Nt:Rt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&f(it,t))return Reflect.get(it,t,n);if("hasOwnProperty"===t)return at}const s=Reflect.get(e,t,n);return(y(t)?rt.has(t):ot(t))?s:(o||tt(e,0,t),r?s:tn(s)?i&&T(t)?s:s.value:_(s)?o?Vt(s):Ft(s):s)}}class ct extends lt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Ut(r);if(Yt(n)||Ut(n)||(r=Xt(r),n=Xt(n)),!p(e)&&tn(r)&&!tn(n))return!t&&(r.value=n,!0)}const i=p(e)&&T(t)?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,o);return e===Xt(o)&&(i?P(n,r)&&nt(e,"set",t,n):nt(e,"add",t,n)),s}deleteProperty(e,t){const n=f(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&nt(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&rt.has(t)||tt(e,0,t),n}ownKeys(e){return tt(e,0,p(e)?"length":Qe),Reflect.ownKeys(e)}}class ut extends lt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const dt=new ct,ft=new ut,pt=new ct(!0),ht=e=>e,mt=e=>Reflect.getPrototypeOf(e);function gt(e,t,n=!1,o=!1){const r=Xt(e=e.__v_raw),i=Xt(t);n||(P(t,i)&&tt(r,0,t),tt(r,0,i));const{has:s}=mt(r),a=o?ht:n?Jt:Gt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function vt(e,t=!1){const n=this.__v_raw,o=Xt(n),r=Xt(e);return t||(P(e,r)&&tt(o,0,e),tt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function yt(e,t=!1){return e=e.__v_raw,!t&&tt(Xt(e),0,Qe),Reflect.get(e,"size",e)}function _t(e){e=Xt(e);const t=Xt(this);return mt(t).has.call(t,e)||(t.add(e),nt(t,"add",e,e)),this}function bt(e,t){t=Xt(t);const n=Xt(this),{has:o,get:r}=mt(n);let i=o.call(n,e);i||(e=Xt(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?P(t,s)&&nt(n,"set",e,t):nt(n,"add",e,t),this}function wt(e){const t=Xt(this),{has:n,get:o}=mt(t);let r=n.call(t,e);r||(e=Xt(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&nt(t,"delete",e,void 0),i}function xt(){const e=Xt(this),t=0!==e.size,n=e.clear();return t&&nt(e,"clear",void 0,void 0),n}function St(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Xt(i),a=t?ht:e?Jt:Gt;return!e&&tt(s,0,Qe),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function Tt(e,t,n){return function(...o){const r=this.__v_raw,i=Xt(r),s=h(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?ht:t?Jt:Gt;return!t&&tt(i,0,l?et:Qe),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Et(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Ct(){const e={get(e){return gt(this,e)},get size(){return yt(this)},has:vt,add:_t,set:bt,delete:wt,clear:xt,forEach:St(!1,!1)},t={get(e){return gt(this,e,!1,!0)},get size(){return yt(this)},has:vt,add:_t,set:bt,delete:wt,clear:xt,forEach:St(!1,!0)},n={get(e){return gt(this,e,!0)},get size(){return yt(this,!0)},has(e){return vt.call(this,e,!0)},add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear"),forEach:St(!0,!1)},o={get(e){return gt(this,e,!0,!0)},get size(){return yt(this,!0)},has(e){return vt.call(this,e,!0)},add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear"),forEach:St(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Tt(r,!1,!1),n[r]=Tt(r,!0,!1),t[r]=Tt(r,!1,!0),o[r]=Tt(r,!0,!0)})),[e,n,t,o]}const[kt,Ot,Lt,At]=Ct();function $t(e,t){const n=t?e?At:Lt:e?Ot:kt;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(f(n,o)&&o in t?n:t,o,r)}const Mt={get:$t(!1,!1)},Pt={get:$t(!1,!0)},jt={get:$t(!0,!1)},Rt=new WeakMap,Nt=new WeakMap,It=new WeakMap,Bt=new WeakMap;function Dt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>x(e).slice(8,-1))(e))}function Ft(e){return Ut(e)?e:Wt(e,!1,dt,Mt,Rt)}function Ht(e){return Wt(e,!1,pt,Pt,Nt)}function Vt(e){return Wt(e,!0,ft,jt,It)}function Wt(e,t,n,o,r){if(!_(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=Dt(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function zt(e){return Ut(e)?zt(e.__v_raw):!(!e||!e.__v_isReactive)}function Ut(e){return!(!e||!e.__v_isReadonly)}function Yt(e){return!(!e||!e.__v_isShallow)}function qt(e){return zt(e)||Ut(e)}function Xt(e){const t=e&&e.__v_raw;return t?Xt(t):e}function Kt(e){return Object.isExtensible(e)&&R(e,"__v_skip",!0),e}const Gt=e=>_(e)?Ft(e):e,Jt=e=>_(e)?Vt(e):e;class Zt{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ie((()=>e(this._value)),(()=>en(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Xt(this);return e._cacheable&&!e.effect.dirty||!P(e._value,e._value=e.effect.run())||en(e,4),Qt(e),e.effect._dirtyLevel>=2&&en(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Qt(e){var t;He&&je&&(e=Xt(e),Xe(je,null!=(t=e.dep)?t:e.dep=Je((()=>e.dep=void 0),e instanceof Zt?e:void 0)))}function en(e,t=4,n){const o=(e=Xt(e)).dep;o&&Ge(o,t)}function tn(e){return!(!e||!0!==e.__v_isRef)}function nn(e){return on(e,!1)}function on(e,t){return tn(e)?e:new rn(e,t)}class rn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Xt(e),this._value=t?e:Gt(e)}get value(){return Qt(this),this._value}set value(e){const t=this.__v_isShallow||Yt(e)||Ut(e);e=t?e:Xt(e),P(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Gt(e),en(this,4))}}function sn(e){return tn(e)?e.value:e}const an={get:(e,t,n)=>sn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return tn(r)&&!tn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ln(e){return zt(e)?e:new Proxy(e,an)}function cn(e,t,n,o){try{return o?e(...o):e()}catch(r){dn(r,t,n)}}function un(e,t,n,o){if(g(e)){const r=cn(e,t,n,o);return r&&b(r)&&r.catch((e=>{dn(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(un(e[i],t,n,o));return r}function dn(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void cn(s,null,10,[e,r,i])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let fn=!1,pn=!1;const hn=[];let mn=0;const gn=[];let vn=null,yn=0;const _n=Promise.resolve();let bn=null;function wn(e){const t=bn||_n;return e?t.then(this?e.bind(this):e):t}function xn(e){hn.length&&hn.includes(e,fn&&e.allowRecurse?mn+1:mn)||(null==e.id?hn.push(e):hn.splice(function(e){let t=mn+1,n=hn.length;for(;t<n;){const o=t+n>>>1,r=hn[o],i=Cn(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),Sn())}function Sn(){fn||pn||(pn=!0,bn=_n.then(On))}function Tn(e,t,n=(fn?mn+1:0)){for(;n<hn.length;n++){const t=hn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;hn.splice(n,1),n--,t()}}}function En(e){if(gn.length){const e=[...new Set(gn)].sort(((e,t)=>Cn(e)-Cn(t)));if(gn.length=0,vn)return void vn.push(...e);for(vn=e,yn=0;yn<vn.length;yn++)vn[yn]();vn=null,yn=0}}const Cn=e=>null==e.id?1/0:e.id,kn=(e,t)=>{const n=Cn(e)-Cn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function On(e){pn=!1,fn=!0,hn.sort(kn);try{for(mn=0;mn<hn.length;mn++){const e=hn[mn];e&&!1!==e.active&&cn(e,null,14)}}finally{mn=0,hn.length=0,En(),fn=!1,bn=null,(hn.length||gn.length)&&On()}}function Ln(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let i=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in r){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:s}=r[e]||o;s&&(i=n.map((e=>v(e)?e.trim():e))),t&&(i=n.map(N))}let l,c=r[l=M(t)]||r[l=M(O(t))];!c&&s&&(c=r[l=M(A(t))]),c&&un(c,e,6,An(e,c,i));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,un(u,e,6,An(e,u,i))}}function An(e,t,n){if(1!==n.length)return n;if(g(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&f(o,"type")&&f(o,"timeStamp")&&f(o,"target")&&f(o,"currentTarget")&&f(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function $n(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!g(e)){const o=e=>{const n=$n(e,t,!0);n&&(a=!0,c(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(p(i)?i.forEach((e=>s[e]=null)):c(s,i),_(e)&&o.set(e,s),s):(_(e)&&o.set(e,null),null)}function Mn(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,A(t))||f(e,t))}let Pn=null,jn=null;function Rn(e){const t=Pn;return Pn=e,jn=e&&e.type.__scopeId||null,t}function Nn(e,t=Pn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Wr(-1);const r=Rn(t);let i;try{i=e(...n)}finally{Rn(r),o._d&&Wr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function In(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:c,emit:u,render:d,renderCache:f,data:p,setupState:h,ctx:m,inheritAttrs:g}=e;let v,y;const _=Rn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=oi(d.call(t,e,f,i,h,p,m)),y=c}else{const e=t;0,v=oi(e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)),y=t.props?c:Bn(c)}}catch(w){Dr.length=0,dn(w,e,1),v=Qr(Ir)}let b=v;if(y&&!1!==g){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(l)&&(y=Dn(y,s)),b=ei(b,y))}return n.dirs&&(b=ei(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,Rn(_),v}const Bn=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},Dn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Fn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!Mn(n,i))return!0}return!1}function Hn(e,t){return zn("components",e,!0,t)||e}const Vn=Symbol.for("v-ndc");function Wn(e){return v(e)?zn("components",e,!1)||e:e||Vn}function zn(e,t,n=!0,o=!1){const r=Pn||ui;if(r){const n=r.type;if("components"===e){const e=wi(n,!1);if(e&&(e===t||e===O(t)||e===$(O(t))))return n}const i=Un(r[e]||n[e],t)||Un(r.appContext[e],t);return!i&&o?n:i}}function Un(e,t){return e&&(e[t]||e[O(t)]||e[$(O(t))])}const Yn=e=>e.__isSuspense;const qn=Symbol.for("v-scx");function Xn(e,t){return Jn(e,null,t)}const Kn={};function Gn(e,t,n){return Jn(e,t,n)}function Jn(e,t,{immediate:n,deep:r,flush:s,once:a,onTrack:l,onTrigger:c}=o){if(t&&a){const e=t;t=(...t)=>{e(...t),C()}}const d=ui,f=e=>!0===r?e:eo(e,!1===r?1:void 0);let h,m,v=!1,y=!1;if(tn(e)?(h=()=>e.value,v=Yt(e)):zt(e)?(h=()=>f(e),v=!0):p(e)?(y=!0,v=e.some((e=>zt(e)||Yt(e))),h=()=>e.map((e=>tn(e)?e.value:zt(e)?f(e):g(e)?cn(e,d,2):void 0))):h=g(e)?t?()=>cn(e,d,2):()=>(m&&m(),un(e,d,3,[b])):i,t&&r){const e=h;h=()=>eo(e())}let _,b=e=>{m=T.onStop=()=>{cn(e,d,4),m=T.onStop=void 0}};if(vi){if(b=i,t?n&&un(t,d,3,[h(),y?[]:void 0,b]):h(),"sync"!==s)return i;{const e=mr(qn);_=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Kn):Kn;const x=()=>{if(T.active&&T.dirty)if(t){const e=T.run();(r||v||(y?e.some(((e,t)=>P(e,w[t]))):P(e,w)))&&(m&&m(),un(t,d,3,[e,w===Kn?void 0:y&&w[0]===Kn?[]:w,b]),w=e)}else T.run()};let S;x.allowRecurse=!!t,"sync"===s?S=x:"post"===s?S=()=>Lr(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),S=()=>xn(x));const T=new Ie(h,i,S),E=Pe,C=()=>{T.stop(),E&&u(E.effects,T)};return t?n?x():w=T.run():"post"===s?Lr(T.run.bind(T),d&&d.suspense):T.run(),_&&_.push(C),C}function Zn(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?Qn(o,e):()=>o[e]:e.bind(o,o);let i;g(t)?i=t:(i=t.handler,n=t);const s=hi(this),a=Jn(r,i.bind(o),n);return s(),a}function Qn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function eo(e,t,n=0,o){if(!_(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),tn(e))eo(e.value,t,n,o);else if(p(e))for(let r=0;r<e.length;r++)eo(e[r],t,n,o);else if(m(e)||h(e))e.forEach((e=>{eo(e,t,n,o)}));else if(S(e))for(const r in e)eo(e[r],t,n,o);return e}function to(e,t){if(null===Pn)return e;const n=bi(Pn)||Pn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,s,a,l=o]=t[i];e&&(g(e)&&(e={mounted:e,updated:e}),e.deep&&eo(s),r.push({dir:e,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function no(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(ze(),un(l,n,8,[e.el,a,e,t]),Ue())}}const oo=Symbol("_leaveCb"),ro=Symbol("_enterCb");const io=[Function,Array],so={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:io,onEnter:io,onAfterEnter:io,onEnterCancelled:io,onBeforeLeave:io,onLeave:io,onAfterLeave:io,onLeaveCancelled:io,onBeforeAppear:io,onAppear:io,onAfterAppear:io,onAppearCancelled:io},ao={name:"BaseTransition",props:so,setup(e,{slots:t}){const n=di(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ro((()=>{e.isMounted=!0})),Bo((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&ho(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Ir){i=e;break}const s=Xt(e),{mode:a}=s;if(o.isLeaving)return uo(i);const l=fo(i);if(!l)return uo(i);const c=co(l,s,o,n);po(l,c);const u=n.subTree,d=u&&fo(u);if(d&&d.type!==Ir&&!Xr(l,d)){const e=co(d,s,o,n);if(po(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},uo(i);"in-out"===a&&l.type!==Ir&&(e.delayLeave=(e,t,n)=>{lo(o,d)[String(d.key)]=d,e[oo]=()=>{t(),e[oo]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function lo(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function co(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:_}=t,b=String(e.key),w=lo(n,e),x=(e,t)=>{e&&un(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},T={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=g||a}t[oo]&&t[oo](!0);const i=w[b];i&&Xr(e,i)&&i.el[oo]&&i.el[oo](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=_||u}let s=!1;const a=e[ro]=t=>{s||(s=!0,x(t?i:o,[e]),T.delayedLeave&&T.delayedLeave(),e[ro]=void 0)};t?S(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[ro]&&t[ro](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t[oo]=n=>{i||(i=!0,o(),x(n?m:h,[t]),t[oo]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?S(f,[t,s]):s()},clone:e=>co(e,t,n,o)};return T}function uo(e){if(_o(e))return(e=ei(e)).children=null,e}function fo(e){return _o(e)?e.children?e.children[0]:void 0:e}function po(e,t){6&e.shapeFlag&&e.component?po(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ho(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===Rr?(128&s.patchFlag&&r++,o=o.concat(ho(s.children,t,a))):(t||s.type!==Ir)&&o.push(null!=a?ei(s,{key:a}):s)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}
|
||
/*! #__NO_SIDE_EFFECTS__ */function mo(e,t){return g(e)?(()=>c({name:e.name},t,{setup:e}))():e}const go=e=>!!e.type.__asyncLoader
|
||
/*! #__NO_SIDE_EFFECTS__ */;function vo(e){g(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return mo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=ui;if(l)return()=>yo(l,e);const t=t=>{c=null,dn(t,e,13,!o)};if(s&&e.suspense||vi)return d().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qr(o,{error:e}):null)));const a=nn(!1),u=nn(),f=nn(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&_o(e.parent.vnode)&&(e.parent.effect.dirty=!0,xn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?yo(l,e):u.value&&o?Qr(o,{error:u.value}):n&&!f.value?Qr(n):void 0}})}function yo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=Qr(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const _o=e=>e.type.__isKeepAlive;class bo{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const wo={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=di(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new bo(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Xr(t,i)||"key"===e.matchBy&&t.key!==i.key?(Oo(o=t),u(o,n,a,!0)):i&&Oo(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function p(t){r.forEach(((n,o)=>{const i=Ao(n,e.matchBy);!i||t&&t(i)||(r.delete(o),s(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,j(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),Lr((()=>{i.isDeactivated=!1,i.a&&j(i.a);const t=e.props&&e.props.onVnodeMounted;t&&ai(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&$o(t.bda),c(e,f,null,1,a),Lr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&j(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ai(n,t.parent,e),t.isDeactivated=!0}),a)},Gn((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>So(e,t))),t&&p((e=>!So(t,e)))}),{flush:"post",deep:!0});let h=null;const m=()=>{null!=h&&r.set(h,Lo(n.subTree))};return Ro(m),Io(m),Bo((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=Lo(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&j(l.component.bda),Oo(l);const e=l.component.da;e&&Lr(e,a)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!qr(o)||!(4&o.shapeFlag)&&!Yn(o.type))return i=null,o;let s=Lo(o);const a=s.type,l=Ao(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!So(c,l))||u&&l&&So(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=ei(s),Yn(o.type)&&(o.ssContent=s)),h=d,f&&(s.el=f.el,s.component=f.component,s.transition&&po(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Yn(o.type)?o:s}}},xo=wo;function So(e,t){return p(e)?e.some((e=>So(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function To(e,t){Co(e,"a",t)}function Eo(e,t){Co(e,"da",t)}function Co(e,t,n=ui){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Mo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)_o(e.parent.vnode)&&ko(o,t,n,e),e=e.parent}}function ko(e,t,n,o){const r=Mo(t,e,o,!0);Do((()=>{u(o[t],r)}),n)}function Oo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Lo(e){return Yn(e.type)?e.ssContent:e}function Ao(e,t){if("name"===t){const t=e.type;return wi(go(e)?t.__asyncResolved||{}:t)}return String(e.key)}function $o(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function Mo(e,t,n=ui,o=!1){if(n){if(r=e,Te.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;un(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ze();const r=hi(n),i=un(t,n,e,o);return r(),Ue(),i});return o?i.unshift(s):i.push(s),s}var r}const Po=e=>(t,n=ui)=>(!vi||"sp"===e)&&Mo(e,((...e)=>t(...e)),n),jo=Po("bm"),Ro=Po("m"),No=Po("bu"),Io=Po("u"),Bo=Po("bum"),Do=Po("um"),Fo=Po("sp"),Ho=Po("rtg"),Vo=Po("rtc");function Wo(e,t=ui){Mo("ec",e,t)}function zo(e,t,n,o){let r;const i=n&&n[o];if(p(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(_(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o<s;o++){const s=n[o];r[o]=t(e[s],s,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function Uo(e,t,n={},o,r){if(Pn.isCE||Pn.parent&&go(Pn.parent)&&Pn.parent.isCE)return"default"!==t&&(n.name=t),Qr("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),Hr();const s=i&&Yo(i(n)),a=Yr(Rr,{key:n.key||s&&s.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Yo(e){return e.some((e=>!qr(e)||e.type!==Ir&&!(e.type===Rr&&!Yo(e.children))))?e:null}const qo=e=>{if(!e)return null;if(gi(e)){return bi(e)||e.proxy}return qo(e.parent)},Xo=c(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=>qo(e.parent),$root:e=>qo(e.root),$emit:e=>e.emit,$options:e=>nr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,xn(e.update)})(e)),$nextTick:e=>e.n||(e.n=wn.bind(e.proxy)),$watch:e=>Zn.bind(e)}),Ko=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Go={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Ko(r,t))return a[t]=1,r[t];if(i!==o&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==o&&f(n,t))return a[t]=4,n[t];Zo&&(a[t]=0)}}const d=Xo[t];let p,h;return d?("$attrs"===t&&tt(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&f(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Ko(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o&&f(e,a)||Ko(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(Xo,a)||f(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Jo(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Zo=!0;function Qo(e){const t=nr(e),n=e.proxy,o=e.ctx;Zo=!1,t.beforeCreate&&er(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:m,updated:v,activated:y,deactivated:b,beforeDestroy:w,beforeUnmount:x,destroyed:S,unmounted:T,render:E,renderTracked:C,renderTriggered:k,errorCaptured:O,serverPrefetch:L,expose:A,inheritAttrs:$,components:M,directives:P,filters:j}=t;if(u&&function(e,t,n=i){p(e)&&(e=sr(e));for(const o in e){const n=e[o];let r;r=_(n)?"default"in n?mr(n.from||o,n.default,!0):mr(n.from||o):mr(n),tn(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),a)for(const i in a){const e=a[i];g(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);_(t)&&(e.data=Ft(t))}if(Zo=!0,s)for(const p in s){const e=s[p],t=g(e)?e.bind(n,n):g(e.get)?e.get.bind(n,n):i,r=!g(e)&&g(e.set)?e.set.bind(n):i,a=xi({get:t,set:r});Object.defineProperty(o,p,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const i in l)tr(l[i],o,n,i);if(c){const e=g(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{hr(t,e[t])}))}function R(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&er(d,e,"c"),R(jo,f),R(Ro,h),R(No,m),R(Io,v),R(To,y),R(Eo,b),R(Wo,O),R(Vo,C),R(Ho,k),R(Bo,x),R(Do,T),R(Fo,L),p(A))if(A.length){const t=e.exposed||(e.exposed={});A.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});E&&e.render===i&&(e.render=E),null!=$&&(e.inheritAttrs=$),M&&(e.components=M),P&&(e.directives=P);const N=e.appContext.config.globalProperties.$applyOptions;N&&N(t,e,n)}function er(e,t,n){un(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function tr(e,t,n,o){const r=o.includes(".")?Qn(n,o):()=>n[o];if(v(e)){const n=t[e];g(n)&&Gn(r,n)}else if(g(e))Gn(r,e.bind(n));else if(_(e))if(p(e))e.forEach((e=>tr(e,t,n,o)));else{const o=g(e.handler)?e.handler.bind(n):t[e.handler];g(o)&&Gn(r,o,e)}}function nr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>or(l,e,s,!0))),or(l,t,s)):l=t,_(t)&&i.set(t,l),l}function or(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&or(e,i,n,!0),r&&r.forEach((t=>or(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=rr[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const rr={data:ir,props:cr,emits:cr,methods:lr,computed:lr,beforeCreate:ar,created:ar,beforeMount:ar,mounted:ar,beforeUpdate:ar,updated:ar,beforeDestroy:ar,beforeUnmount:ar,destroyed:ar,unmounted:ar,activated:ar,deactivated:ar,errorCaptured:ar,serverPrefetch:ar,components:lr,directives:lr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const o in t)n[o]=ar(e[o],t[o]);return n},provide:ir,inject:function(e,t){return lr(sr(e),sr(t))}};function ir(e,t){return t?e?function(){return c(g(e)?e.call(this,this):e,g(t)?t.call(this,this):t)}:t:e}function sr(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ar(e,t){return e?[...new Set([].concat(e,t))]:t}function lr(e,t){return e?c(Object.create(null),e,t):t}function cr(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:c(Object.create(null),Jo(e),Jo(null!=t?t:{})):t}function ur(){return{app:null,config:{isNativeTag:s,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 dr=0;function fr(e,t){return function(n,o=null){g(n)||(n=c({},n)),null==o||_(o)||(o=null);const r=ur(),i=new WeakSet;let s=!1;const a=r.app={_uid:dr++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Ti,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&g(e.install)?(i.add(e),e.install(a,...t)):g(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){const u=Qr(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,bi(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a),runWithContext(e){const t=pr;pr=a;try{return e()}finally{pr=t}}};return a}}let pr=null;function hr(e,t){if(ui){let n=ui.provides;const o=ui.parent&&ui.parent.provides;o===n&&(n=ui.provides=Object.create(o)),n[e]=t,"app"===ui.type.mpType&&ui.appContext.app.provide(e,t)}else;}function mr(e,t,n=!1){const o=ui||Pn;if(o||pr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:pr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&g(t)?t.call(o&&o.proxy):t}}function gr(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(E(o))continue;const c=t[o];let u;i&&f(i,u=O(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Mn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(s){const t=Xt(n),r=a||o;for(let o=0;o<s.length;o++){const a=s[o];n[a]=vr(i,t,a,r[a],e,!f(r,a))}}return l}function vr(e,t,n,o,r,i){const s=e[n];if(null!=s){const e=f(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&g(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const s=hi(r);o=i[n]=e.call(null,t),s()}}else o=e}s[0]&&(i&&!e?o=!1:!s[1]||""!==o&&o!==A(n)||(o=!0))}return o}function yr(e,t,n=!1){const i=t.propsCache,s=i.get(e);if(s)return s;const a=e.props,l={},u=[];let d=!1;if(!g(e)){const o=e=>{d=!0;const[n,o]=yr(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!d)return _(e)&&i.set(e,r),r;if(p(a))for(let r=0;r<a.length;r++){const e=O(a[r]);_r(e)&&(l[e]=o)}else if(a)for(const o in a){const e=O(o);if(_r(e)){const t=a[o],n=l[e]=p(t)||g(t)?{type:t}:c({},t);if(n){const t=xr(Boolean,n.type),o=xr(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||f(n,"default"))&&u.push(e)}}}const h=[l,u];return _(e)&&i.set(e,h),h}function _r(e){return"$"!==e[0]&&!E(e)}function br(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function wr(e,t){return br(e)===br(t)}function xr(e,t){return p(t)?t.findIndex((t=>wr(t,e))):g(t)&&wr(t,e)?0:-1}const Sr=e=>"_"===e[0]||"$stable"===e,Tr=e=>p(e)?e.map(oi):[oi(e)],Er=(e,t,n)=>{if(t._n)return t;const o=Nn(((...e)=>Tr(t(...e))),n);return o._c=!1,o},Cr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Sr(r))continue;const n=e[r];if(g(n))t[r]=Er(0,n,o);else if(null!=n){const e=Tr(n);t[r]=()=>e}}},kr=(e,t)=>{const n=Tr(t);e.slots.default=()=>n};function Or(e,t,n,r,i=!1){if(p(e))return void e.forEach(((e,o)=>Or(e,t&&(p(t)?t[o]:t),n,r,i)));if(go(r)&&!i)return;const s=4&r.shapeFlag?bi(r.component)||r.component.proxy:r.el,a=i?null:s,{i:l,r:c}=e,d=t&&t.r,h=l.refs===o?l.refs={}:l.refs,m=l.setupState;if(null!=d&&d!==c&&(v(d)?(h[d]=null,f(m,d)&&(m[d]=null)):tn(d)&&(d.value=null)),g(c))cn(c,l,12,[a,h]);else{const t=v(c),o=tn(c);if(t||o){const r=()=>{if(e.f){const n=t?f(m,c)?m[c]:h[c]:c.value;i?p(n)&&u(n,s):p(n)?n.includes(s)||n.push(s):t?(h[c]=[s],f(m,c)&&(m[c]=h[c])):(c.value=[s],e.k&&(h[e.k]=c.value))}else t?(h[c]=a,f(m,c)&&(m[c]=a)):o&&(c.value=a,e.k&&(h[e.k]=a))};a?(r.id=-1,Lr(r,n)):r()}}}const Lr=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?gn.push(...n):vn&&vn.includes(n,n.allowRecurse?yn+1:yn)||gn.push(n),Sn())};function Ar(e){return function(e,t){B().__VUE__=!0;const{insert:n,remove:s,patchProp:a,forcePatchProp:l,createElement:u,createText:d,createComment:p,setText:h,setElementText:m,parentNode:g,nextSibling:v,setScopeId:y=i,insertStaticContent:_}=e,w=(e,t,n,o=null,r=null,i=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Xr(e,t)&&(o=te(e),G(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Nr:x(e,t,n,o);break;case Ir:S(e,t,n,o);break;case Br:null==e&&T(t,n,o,s);break;case Rr:F(e,t,n,o,r,i,s,a,l);break;default:1&d?L(e,t,n,o,r,i,s,a,l):6&d?H(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&Or(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},S=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},T=(e,t,n,o)=>{[e.el,e.anchor]=_(e.children,t,n,o,e.el,e.anchor)},C=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=v(e),n(e,o,r),e=i;n(t,o,r)},k=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),s(e),e=n;s(t)},L=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?$(t,n,o,r,i,s,a,l):N(e,t,r,i,s,a,l)},$=(e,t,o,r,i,s,l,c)=>{let d,f;const{props:p,shapeFlag:h,transition:g,dirs:v}=e;if(d=e.el=u(e.type,s,p&&p.is,p),8&h?m(d,e.children):16&h&&P(e.children,d,null,r,i,$r(e,s),l,c),v&&no(e,null,r,"created"),M(d,e,e.scopeId,l,r),p){for(const t in p)"value"===t||E(t)||a(d,t,null,p[t],s,e.children,r,i,ee);"value"in p&&a(d,"value",null,p.value,s),(f=p.onVnodeBeforeMount)&&ai(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&no(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,g);y&&g.beforeEnter(d),n(d,t,o),((f=p&&p.onVnodeMounted)||y||v)&&Lr((()=>{f&&ai(f,r,e),y&&g.enter(d),v&&no(e,null,r,"mounted")}),i)},M=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i<o.length;i++)y(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;M(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},P=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?ri(e[c]):oi(e[c]);w(null,l,t,n,o,r,i,s,a)}},N=(e,t,n,r,i,s,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||o,g=t.props||o;let v;if(n&&Mr(n,!1),(v=g.onVnodeBeforeUpdate)&&ai(v,n,t,e),p&&no(t,e,n,"beforeUpdate"),n&&Mr(n,!0),f?I(e.dynamicChildren,f,u,n,r,$r(t,i),s):c||Y(e,t,u,null,n,r,$r(t,i),s,!1),d>0){if(16&d)D(u,t,h,g,n,r,i);else if(2&d&&h.class!==g.class&&a(u,"class",null,g.class,i),4&d&&a(u,"style",h.style,g.style,i),8&d){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const s=o[t],c=h[s],d=g[s];(d!==c||"value"===s||l&&l(u,s))&&a(u,s,c,d,i,e.children,n,r,ee)}}1&d&&e.children!==t.children&&m(u,t.children)}else c||null!=f||D(u,t,h,g,n,r,i);((v=g.onVnodeUpdated)||p)&&Lr((()=>{v&&ai(v,n,t,e),p&&no(t,e,n,"updated")}),r)},I=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===Rr||!Xr(l,c)||70&l.shapeFlag)?g(l.el):n;w(l,c,u,null,o,r,i,s,!0)}},D=(e,t,n,r,i,s,c)=>{if(n!==r){if(n!==o)for(const o in n)E(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(E(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&a(e,o,d,u,c,t.children,i,s,ee)}"value"in r&&a(e,"value",n.value,r.value,c)}},F=(e,t,o,r,i,s,a,l,c)=>{const u=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(u,o,r),n(f,o,r),P(t.children||[],o,f,i,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(I(e.dynamicChildren,h,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&Pr(e,t,!0)):Y(e,t,o,f,i,s,a,l,c)},H=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):V(t,n,o,r,i,s,l):W(e,t,l)},V=(e,t,n,r,i,s,a)=>{const l=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||li,s={uid:ci++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Re(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:yr(r,i),emitsOptions:$n(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,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,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=Ln.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(_o(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&pi(t);const{props:n,children:o}=e.vnode,r=gi(e);(function(e,t,n,o=!1){const r={},i={};R(i,Kr,1),e.propsDefaults=Object.create(null),gr(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Ht(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Xt(t),R(t,"_",n)):Cr(t,e.slots={})}else e.slots={},t&&kr(e,t);R(e.slots,Kr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Kt(new Proxy(e.ctx,Go));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(tt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=hi(e);ze();const i=cn(o,e,0,[e.props,n]);if(Ue(),r(),b(i)){if(i.then(mi,mi),t)return i.then((n=>{yi(e,n,t)})).catch((t=>{dn(t,e,0)}));e.asyncDep=i}else yi(e,i,t)}else _i(e,t)}(e,t):void 0;t&&pi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,z),!e.el){const e=l.subTree=Qr(Ir);S(null,e,t,n)}}else z(l,e,t,n,i,s,a)},W=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Fn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Fn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!Mn(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void U(o,t,n);o.next=t,function(e){const t=hn.indexOf(e);t>mn&&hn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},z=(e,t,n,o,r,s,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=jr(e);if(n)return t&&(t.el=c.el,U(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Mr(e,!1),t?(t.el=c.el,U(e,t,a)):t=c,n&&j(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ai(u,i,t,c),Mr(e,!0);const f=In(e),p=e.subTree;e.subTree=f,w(p,f,g(p.el),te(p),e,r,s),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),o&&Lr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&Lr((()=>ai(u,i,t,c)),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=go(t);if(Mr(e,!1),c&&j(c),!f&&(i=l&&l.onVnodeBeforeMount)&&ai(i,d,t),Mr(e,!0),a&&se){const n=()=>{e.subTree=In(e),se(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=In(e);w(null,i,n,o,e,r,s),t.el=i.el}if(u&&Lr(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;Lr((()=>ai(i,d,e)),r)}(256&t.shapeFlag||d&&go(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&$o(e.ba),e.a&&Lr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new Ie(l,i,(()=>xn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Mr(e,!0),u()},U=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Xt(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;gr(e,t,r,i)&&(c=!0);for(const i in a)t&&(f(t,i)||(o=A(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=vr(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(Mn(e.emitsOptions,s))continue;const u=t[s];if(l)if(f(i,s))u!==i[s]&&(i[s]=u,c=!0);else{const t=O(s);r[t]=vr(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=u,c=!0)}}c&&nt(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,a=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(c(i,t),n||1!==e||delete i._):(s=!t.$stable,Cr(t,i)),a=t}else t&&(kr(e,t),a={default:1});if(s)for(const o in i)Sr(o)||null!=a[o]||delete i[o]})(e,t.children,n),ze(),Tn(e),Ue()},Y=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void X(c,d,n,o,r,i,s,a,l);if(256&f)return void q(c,d,n,o,r,i,s,a,l)}8&p?(16&u&&ee(c,r,i),d!==c&&m(n,d)):16&u?16&p?X(c,d,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&m(n,""),16&p&&P(d,n,o,r,i,s,a,l))},q=(e,t,n,o,i,s,a,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,f=Math.min(u,d);let p;for(p=0;p<f;p++){const o=t[p]=c?ri(t[p]):oi(t[p]);w(e[p],o,n,null,i,s,a,l,c)}u>d?ee(e,i,s,!0,!1,f):P(t,n,o,i,s,a,l,c,f)},X=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const o=e[u],r=t[u]=c?ri(t[u]):oi(t[u]);if(!Xr(o,r))break;w(o,r,n,null,i,s,a,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],r=t[p]=c?ri(t[p]):oi(t[p]);if(!Xr(o,r))break;w(o,r,n,null,i,s,a,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,r=e<d?t[e].el:o;for(;u<=p;)w(null,t[u]=c?ri(t[u]):oi(t[u]),n,r,i,s,a,l,c),u++}}else if(u>p)for(;u<=f;)G(e[u],i,s,!0),u++;else{const h=u,m=u,g=new Map;for(u=m;u<=p;u++){const e=t[u]=c?ri(t[u]):oi(t[u]);null!=e.key&&g.set(e.key,u)}let v,y=0;const _=p-m+1;let b=!1,x=0;const S=new Array(_);for(u=0;u<_;u++)S[u]=0;for(u=h;u<=f;u++){const o=e[u];if(y>=_){G(o,i,s,!0);continue}let r;if(null!=o.key)r=g.get(o.key);else for(v=m;v<=p;v++)if(0===S[v-m]&&Xr(o,t[v])){r=v;break}void 0===r?G(o,i,s,!0):(S[r-m]=u+1,r>=x?x=r:b=!0,w(o,t[r],n,null,i,s,a,l,c),y++)}const T=b?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):r;for(v=T.length-1,u=_-1;u>=0;u--){const e=m+u,r=t[e],f=e+1<d?t[e+1].el:o;0===S[u]?w(null,r,n,f,i,s,a,l,c):b&&(v<0||u!==T[v]?K(r,n,f,2):v--)}}},K=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void K(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,re);if(a===Rr){n(s,t,o);for(let e=0;e<c.length;e++)K(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===Br)return void C(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),Lr((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},G=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&Or(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!go(e);let m;if(h&&(m=s&&s.onVnodeBeforeUnmount)&&ai(m,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&no(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Rr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Rr&&384&d||!r&&16&u)&&ee(l,t,n),o&&J(e)}(h&&(m=s&&s.onVnodeUnmounted)||p)&&Lr((()=>{m&&ai(m,t,e),p&&no(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Rr)return void Z(n,o);if(t===Br)return void k(e);const i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,i);o?o(e.el,i,s):s()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=v(e),s(e),e=n;s(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&j(o),r.stop(),i&&(i.active=!1,G(s,e,t,n)),a&&Lr(a,t),Lr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)G(e[s],t,n,o,r)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,Tn(),En(),ne=!1),t._vnode=e},re={p:w,um:G,m:K,r:J,mt:V,mc:P,pc:Y,pbc:I,n:te,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:fr(oe,ie)}}(e)}function $r({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Mr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Pr(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=ri(r[i]),t.el=e.el),n||Pr(e,t)),t.type===Nr&&(t.el=e.el)}}function jr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:jr(t)}const Rr=Symbol.for("v-fgt"),Nr=Symbol.for("v-txt"),Ir=Symbol.for("v-cmt"),Br=Symbol.for("v-stc"),Dr=[];let Fr=null;function Hr(e=!1){Dr.push(Fr=e?null:[])}let Vr=1;function Wr(e){Vr+=e}function zr(e){return e.dynamicChildren=Vr>0?Fr||r:null,Dr.pop(),Fr=Dr[Dr.length-1]||null,Vr>0&&Fr&&Fr.push(e),e}function Ur(e,t,n,o,r,i){return zr(Zr(e,t,n,o,r,i,!0))}function Yr(e,t,n,o,r){return zr(Qr(e,t,n,o,r,!0))}function qr(e){return!!e&&!0===e.__v_isVNode}function Xr(e,t){return e.type===t.type&&e.key===t.key}const Kr="__vInternal",Gr=({key:e})=>null!=e?e:null,Jr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||tn(e)||g(e)?{i:Pn,r:e,k:t,f:!!n}:e:null);function Zr(e,t=null,n=null,o=0,r=null,i=(e===Rr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gr(t),ref:t&&Jr(t),scopeId:jn,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:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Pn};return a?(ii(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Vr>0&&!s&&Fr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Fr.push(l),l}const Qr=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Vn||(e=Ir);if(qr(e)){const o=ei(e,t,!0);return n&&ii(o,n),Vr>0&&!i&&Fr&&(6&o.shapeFlag?Fr[Fr.indexOf(e)]=o:Fr.push(o)),o.patchFlag|=-2,o}s=e,g(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?qt(e)||Kr in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=ie(e)),_(n)&&(qt(n)&&!p(n)&&(n=c({},n)),t.style=re(n))}const a=v(e)?1:Yn(e)?128:(e=>e.__isTeleport)(e)?64:_(e)?4:g(e)?2:0;return Zr(e,t,n,o,r,a,i,!0)};function ei(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?si(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Gr(a),ref:t&&t.ref?n&&r?p(r)?r.concat(Jr(t)):[r,Jr(t)]:Jr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Rr?-1===i?16:16|i: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&&ei(e.ssContent),ssFallback:e.ssFallback&&ei(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ti(e=" ",t=0){return Qr(Nr,null,e,t)}function ni(e="",t=!1){return t?(Hr(),Yr(Ir,null,e)):Qr(Ir,null,e)}function oi(e){return null==e||"boolean"==typeof e?Qr(Ir):p(e)?Qr(Rr,null,e.slice()):"object"==typeof e?ri(e):Qr(Nr,null,String(e))}function ri(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ei(e)}function ii(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(p(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),ii(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Kr in t?3===o&&Pn&&(1===Pn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Pn}}else g(t)?(t={default:t,_ctx:Pn},n=32):(t=String(t),64&o?(n=16,t=[ti(t)]):n=8);e.children=t,e.shapeFlag|=n}function si(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=ie([t.class,o.class]));else if("style"===e)t.style=re([t.style,o.style]);else if(a(e)){const n=t[e],r=o[e];!r||n===r||p(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function ai(e,t,n,o=null){un(e,t,7,[n,o])}const li=ur();let ci=0;let ui=null;const di=()=>ui||Pn;let fi,pi;{const e=B(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};fi=t("__VUE_INSTANCE_SETTERS__",(e=>ui=e)),pi=t("__VUE_SSR_SETTERS__",(e=>vi=e))}const hi=e=>{const t=ui;return fi(e),e.scope.on(),()=>{e.scope.off(),fi(t)}},mi=()=>{ui&&ui.scope.off(),fi(null)};function gi(e){return 4&e.vnode.shapeFlag}let vi=!1;function yi(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_(t)&&(e.setupState=ln(t)),_i(e,n)}function _i(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=hi(e);ze();try{Qo(e)}finally{Ue(),t()}}}function bi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ln(Kt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Xo?Xo[n](e):void 0,has:(e,t)=>t in e||t in Xo}))}function wi(e,t=!0){return g(e)?e.displayName||e.name:e.name||t&&e.__name}const xi=(e,t)=>{const n=function(e,t,n=!1){let o,r;const s=g(e);return s?(o=e,r=i):(o=e.get,r=e.set),new Zt(o,r,s||!r,n)}(e,0,vi);return n};function Si(e,t,n){const o=arguments.length;return 2===o?_(t)&&!p(t)?qr(t)?Qr(e,null,[t]):Qr(e,t):Qr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&qr(n)&&(n=[n]),Qr(e,t,n))}const Ti="3.4.21",Ei="undefined"!=typeof document?document:null,Ci=Ei&&Ei.createElement("template"),ki={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?Ei.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ei.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ei.createElement(e,{is:n}):Ei.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ei.createTextNode(e),createComment:e=>Ei.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ei.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{Ci.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=Ci.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Oi="transition",Li=Symbol("_vtc"),Ai=(e,{slots:t})=>Si(ao,function(e){const t={};for(const c in e)c in $i||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(_(e))return[ji(e.enter),ji(e.leave)];{const t=ji(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:S,onBeforeAppear:T=y,onAppear:E=b,onAppearCancelled:C=w}=t,k=(e,t,n)=>{Ni(e,t?d:a),Ni(e,t?u:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,Ni(e,f),Ni(e,h),Ni(e,p),t&&t()},L=e=>(t,n)=>{const r=e?E:b,s=()=>k(t,e,n);Mi(r,[t,s]),Ii((()=>{Ni(t,e?l:i),Ri(t,e?d:a),Pi(r)||Di(t,o,g,s)}))};return c(t,{onBeforeEnter(e){Mi(y,[e]),Ri(e,i),Ri(e,s)},onBeforeAppear(e){Mi(T,[e]),Ri(e,l),Ri(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);Ri(e,f),document.body.offsetHeight,Ri(e,p),Ii((()=>{e._isLeaving&&(Ni(e,f),Ri(e,h),Pi(x)||Di(e,o,v,n))})),Mi(x,[e,n])},onEnterCancelled(e){k(e,!1),Mi(w,[e])},onAppearCancelled(e){k(e,!0),Mi(C,[e])},onLeaveCancelled(e){O(e),Mi(S,[e])}})}(e),t);Ai.displayName="Transition";const $i={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};Ai.props=c({},so,$i);const Mi=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},Pi=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function ji(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ri(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Li]||(e[Li]=new Set)).add(t)}function Ni(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Li];n&&(n.delete(t),n.size||(e[Li]=void 0))}function Ii(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Bi=0;function Di(e,t,n,o){const r=e._endId=++Bi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=Fi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=Fi(a,l);let u=null,d=0,f=0;t===Oi?s>0&&(u=Oi,d=s,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?Oi:"animation":null,f=u?u===Oi?i.length:l.length:0);const p=u===Oi&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,f)}function Fi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Hi(t)+Hi(e[n]))))}function Hi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Vi=Symbol("_vod"),Wi=Symbol("_vsh"),zi={beforeMount(e,{value:t},{transition:n}){e[Vi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ui(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ui(e,!0),o.enter(e)):o.leave(e,(()=>{Ui(e,!1)})):Ui(e,t))},beforeUnmount(e,{value:t}){Ui(e,t)}};function Ui(e,t){e.style.display=t?e[Vi]:"none",e[Wi]=!t}const Yi=Symbol(""),qi=/(^|;)\s*display\s*:/;const Xi=/\s*!important$/;function Ki(e,t,n){if(p(n))n.forEach((n=>Ki(e,t,n)));else if(null==n&&(n=""),n=is(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Ji[t];if(n)return n;let o=O(t);if("filter"!==o&&o in e)return Ji[t]=o;o=$(o);for(let r=0;r<Gi.length;r++){const n=Gi[r]+o;if(n in e)return Ji[t]=n}return t}(e,t);Xi.test(n)?e.setProperty(A(o),n.replace(Xi,""),"important"):e[o]=n}}const Gi=["Webkit","Moz","ms"],Ji={};const{unit:Zi,unitRatio:Qi,unitPrecision:es}={unit:"rem",unitRatio:10/320,unitPrecision:5},ts=(ns=Zi,os=Qi,rs=es,e=>e.replace(me,((e,t)=>{if(!t)return e;if(1===os)return`${t}${ns}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*os,rs);return 0===n?"0":`${n}${ns}`})));var ns,os,rs;const is=e=>v(e)?ts(e):e,ss="http://www.w3.org/1999/xlink";const as=Symbol("_vei");function ls(e,t,n,o,r=null){const i=e[as]||(e[as]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(cs.test(e)){let n;for(t={};n=e.match(cs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):A(e.slice(2)),t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&p(i)){const n=fs(e,i);for(let o=0;o<n.length;o++){const i=n[o];un(i,t,5,i.__wwe?[e]:r(e))}}else un(fs(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=(()=>us||(ds.then((()=>us=0)),us=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const cs=/(?:Once|Passive|Capture)$/;let us=0;const ds=Promise.resolve();function fs(e,t){if(p(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const ps=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const hs=["ctrl","shift","alt","meta"],ms={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&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>hs.some((n=>e[`${n}Key`]&&!t.includes(n)))},gs=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e<t.length;e++){const o=ms[t[e]];if(o&&o(n,t))return}return e(n,...o)})},vs={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ys=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=n=>{if(!("key"in n))return;const o=A(n.key);return t.some((e=>e===o||vs[e]===o))?e(n):void 0})},_s=c({patchProp:(e,t,n,o,r,i,s,c,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;wn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,s);const d="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[Li];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,r=v(n);let i=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Ki(o,t,"")}else for(const e in t)null==n[e]&&Ki(o,e,"");for(const e in n)"display"===e&&(i=!0),Ki(o,e,n[e])}else if(r){if(t!==n){const e=o[Yi];e&&(n+=";"+e),o.cssText=n,i=qi.test(n)}}else t&&e.removeAttribute("style");Vi in e&&(e[Vi]=i?o.display:"",e[Wi]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Ki(o,a,s[a])}(e,n,o):a(t)?l(t)||ls(e,t,0,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&ps(t)&&g(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(ps(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=Y(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,i,s,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(ss,t.slice(6,t.length)):e.setAttributeNS(ss,t,n);else{const o=U(t);null==n||o&&!Y(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},ki);let bs;const ws=(...e)=>{const t=(bs||(bs=Ar(_s))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}
|
||
/*!
|
||
* vue-router v4.3.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/(e);if(!o)return;const r=t._component;g(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const xs="undefined"!=typeof document;const Ss=Object.assign;function Ts(e,t){const n={};for(const o in t){const r=t[o];n[o]=Cs(r)?r.map(e):e(r)}return n}const Es=()=>{},Cs=Array.isArray,ks=/#/g,Os=/&/g,Ls=/\//g,As=/=/g,$s=/\?/g,Ms=/\+/g,Ps=/%5B/g,js=/%5D/g,Rs=/%5E/g,Ns=/%60/g,Is=/%7B/g,Bs=/%7C/g,Ds=/%7D/g,Fs=/%20/g;function Hs(e){return encodeURI(""+e).replace(Bs,"|").replace(Ps,"[").replace(js,"]")}function Vs(e){return Hs(e).replace(Ms,"%2B").replace(Fs,"+").replace(ks,"%23").replace(Os,"%26").replace(Ns,"`").replace(Is,"{").replace(Ds,"}").replace(Rs,"^")}function Ws(e){return null==e?"":function(e){return Hs(e).replace(ks,"%23").replace($s,"%3F")}(e).replace(Ls,"%2F")}function zs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Us=/\/$/;function Ys(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i<o.length;i++)if(s=o[i],"."!==s){if(".."!==s)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:zs(s)}}function qs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Xs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ks(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Gs(e[n],t[n]))return!1;return!0}function Gs(e,t){return Cs(e)?Js(e,t):Cs(t)?Js(t,e):e===t}function Js(e,t){return Cs(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Zs,Qs,ea,ta;function na(e){if(!e)if(xs){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Us,"")}(Qs=Zs||(Zs={})).pop="pop",Qs.push="push",(ta=ea||(ea={})).back="back",ta.forward="forward",ta.unknown="";const oa=/^[^#]+#/;function ra(e,t){return e.replace(oa,"#")+t}const ia=()=>({left:window.scrollX,top:window.scrollY});function sa(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function aa(e,t){return(history.state?history.state.position-t:-1)+e}const la=new Map;function ca(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),qs(n,"")}return qs(n,e)+o+r}function ua(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ia():null}}function da(e){const{history:t,location:n}=window,o={value:ca(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=Ss({},r.value,t.state,{forward:e,scroll:ia()});i(s.current,s,!0),i(e,Ss({},ua(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Ss({},t.state,ua(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function fa(e){const t=da(e=na(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=ca(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:Zs.pop,direction:u?u>0?ea.forward:ea.back:ea.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Ss({},e.state,{scroll:ia()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Ss({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ra.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function pa(e){return"string"==typeof e||"symbol"==typeof e}const ha={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ma=Symbol("");var ga,va;function ya(e,t){return Ss(new Error,{type:e,[ma]:!0},t)}function _a(e,t){return e instanceof Error&&ma in e&&(null==t||!!(e.type&t))}(va=ga||(ga={}))[va.aborted=4]="aborted",va[va.cancelled=8]="cancelled",va[va.duplicated=16]="duplicated";const ba={sensitive:!1,strict:!1,start:!0,end:!0},wa=/[.+*?^${}()[\]/\\]/g;function xa(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function Sa(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=xa(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(Ta(o))return 1;if(Ta(r))return-1}return r.length-o.length}function Ta(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ea={type:0,value:""},Ca=/[a-zA-Z0-9_]/;function ka(e,t,n){const o=function(e,t){const n=Ss({},ba,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t<l.length;t++){const o=l[t];let s=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(wa,"\\$&"),s+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;i.push({name:e,repeatable:n,optional:c});const d=u||"[^/]+?";if("[^/]+?"!==d){s+=10;try{new RegExp(`(${d})`)}catch(a){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+a.message)}}let f=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(f=c&&l.length<2?`(?:/${f})`:"/"+f),c&&(f+="?"),r+=f,s+=20,c&&(s+=-8),n&&(s+=-20),".*"===d&&(s+=-50)}e.push(s)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");return{re:s,score:o,keys:i,parse:function(e){const t=e.match(s),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:s,optional:a}=e,l=i in t?t[i]:"";if(Cs(l)&&!s)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=Cs(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${i}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Ea]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const r=[];let i;function s(){i&&r.push(i),i=[]}let a,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l<e.length;)if(a=e[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&d(),s()):":"===a?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:"("===a?n=2:Ca.test(a)?f():(d(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),s(),r}(e.path),n),r=Ss(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Oa(e,t){const n=[],o=new Map;function r(e,n,o){const a=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Aa(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=Pa(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(Ss({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,f;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=ka(t,n,c),o?o.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),a&&e.name&&!$a(d)&&i(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)r(e[t],d,o&&o.children[t])}o=o||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&s(d)}return f?()=>{i(f)}:Es}function i(e){if(pa(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){let t=0;for(;t<n.length&&Sa(e,n[t])>=0&&(e.record.path!==n[t].record.path||!ja(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!$a(e)&&o.set(e.record.name,e)}return t=Pa({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw ya(1,{location:e});s=r.record.name,a=Ss(La(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&La(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw ya(1,{location:e,currentLocation:t});s=r.record.name,a=Ss({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:Ma(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function La(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Aa(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function $a(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ma(e){return e.reduce(((e,t)=>Ss(e,t.meta)),{})}function Pa(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function ja(e,t){return t.children.some((t=>t===e||ja(e,t)))}function Ra(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(Ms," "),r=e.indexOf("="),i=zs(r<0?e:e.slice(0,r)),s=r<0?null:zs(e.slice(r+1));if(i in t){let e=t[i];Cs(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Na(e){let t="";for(let n in e){const o=e[n];if(n=Vs(n).replace(As,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(Cs(o)?o.map((e=>e&&Vs(e))):[o&&Vs(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Ia(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Cs(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Ba=Symbol(""),Da=Symbol(""),Fa=Symbol(""),Ha=Symbol(""),Va=Symbol("");function Wa(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function za(e,t,n,o,r,i=(e=>e())){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(ya(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ya(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function Ua(e,t,n,o,r=(e=>e())){const i=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=l)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(l.__vccOpts||l)[t];s&&i.push(za(s,n,o,a,e,r))}else{let s=l();i.push((()=>s.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&za(c,n,o,a,e,r)()}))))}}var s;return i}function Ya(e){const t=mr(Fa),n=mr(Ha),o=xi((()=>t.resolve(sn(e.to)))),r=xi((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(Xs.bind(null,r));if(s>-1)return s;const a=Ka(e[t-2]);return t>1&&Ka(r)===a&&i[i.length-1].path!==a?i.findIndex(Xs.bind(null,e[t-2])):s})),i=xi((()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!Cs(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=xi((()=>r.value>-1&&r.value===n.matched.length-1&&Ks(n.params,o.value.params)));return{route:o,href:xi((()=>o.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[sn(e.replace)?"replace":"push"](sn(e.to)).catch(Es):Promise.resolve()}}}const qa=mo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ya,setup(e,{slots:t}){const n=Ft(Ya(e)),{options:o}=mr(Fa),r=xi((()=>({[Ga(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ga(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Si("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Xa=qa;function Ka(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ga=(e,t,n)=>null!=e?e:null!=t?t:n;function Ja(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Za=mo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=mr(Va),r=xi((()=>e.route||o.value)),i=mr(Da,0),s=xi((()=>{let e=sn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=xi((()=>r.value.matched[s.value]));hr(Da,xi((()=>s.value+1))),hr(Ba,a),hr(Va,r);const l=nn();return Gn((()=>[l.value,a.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&Xs(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Ja(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=Si(c,Ss({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Ja(n.default,{Component:f,route:o})||f}}});function Qa(e){const t=Oa(e.routes,e),n=e.parseQuery||Ra,o=e.stringifyQuery||Na,r=e.history,i=Wa(),s=Wa(),a=Wa(),l=on(ha,!0);let c=ha;xs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ts.bind(null,(e=>""+e)),d=Ts.bind(null,Ws),f=Ts.bind(null,zs);function p(e,i){if(i=Ss({},i||l.value),"string"==typeof e){const o=Ys(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return Ss(o,s,{params:f(s.params),hash:zs(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=Ss({},e,{path:Ys(n,e.path,i.path).path});else{const t=Ss({},e.params);for(const e in t)null==t[e]&&delete t[e];s=Ss({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Ss({},e,{hash:(h=c,Hs(h).replace(Is,"{").replace(Ds,"}").replace(Rs,"^")),path:a.path}));var h;const m=r.createHref(p);return Ss({fullPath:p,hash:c,query:o===Na?Ia(e.query):e.query||{}},a,{redirectedFrom:void 0,href:m})}function h(e){return"string"==typeof e?Ys(n,e,l.value.path):Ss({},e)}function m(e,t){if(c!==e)return ya(8,{from:t,to:e})}function g(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),Ss({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(Ss(h(u),{state:"object"==typeof u?Ss({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Xs(t.matched[o],n.matched[r])&&Ks(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=ya(16,{to:d,from:r}),$(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch((e=>_a(e)?_a(e,2)?e:A(e):L(e,d,r))).then((e=>{if(e){if(_a(e,2))return y(Ss({replace:a},h(e.to),{state:"object"==typeof e.to?Ss({},i,e.to.state):i,force:s}),t||d)}else e=S(d,r,!0,a,i);return x(d,r,e),e}))}function _(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e){const t=j.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const i=t.matched[s];i&&(e.matched.find((e=>Xs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Xs(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=Ua(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(za(o,e,t))}));const l=_.bind(null,e,t);return n.push(l),N(n).then((()=>{n=[];for(const o of i.list())n.push(za(o,e,t));return n.push(l),N(n)})).then((()=>{n=Ua(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(za(o,e,t))}));return n.push(l),N(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(Cs(o.beforeEnter))for(const r of o.beforeEnter)n.push(za(r,e,t));else n.push(za(o.beforeEnter,e,t));return n.push(l),N(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ua(a,"beforeRouteEnter",e,t,b),n.push(l),N(n)))).then((()=>{n=[];for(const o of s.list())n.push(za(o,e,t));return n.push(l),N(n)})).catch((e=>_a(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((o=>b((()=>o(e,t,n)))))}function S(e,t,n,o,i){const s=m(e,t);if(s)return s;const a=t===ha,c=xs?history.state:{};n&&(o||a?r.replace(e.fullPath,Ss({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,$(e,t,n,a),A()}let T;function E(){T||(T=r.listen(((e,t,n)=>{if(!R.listening)return;const o=p(e),i=v(o);if(i)return void y(Ss(i,{replace:!0}),o).catch(Es);c=o;const s=l.value;var a,u;xs&&(a=aa(s.fullPath,n.delta),u=ia(),la.set(a,u)),w(o,s).catch((e=>_a(e,12)?e:_a(e,2)?(y(e.to,o).then((e=>{_a(e,20)&&!n.delta&&n.type===Zs.pop&&r.go(-1,!1)})).catch(Es),Promise.reject()):(n.delta&&r.go(-n.delta,!1),L(e,o,s)))).then((e=>{(e=e||S(o,s,!1))&&(n.delta&&!_a(e,8)?r.go(-n.delta,!1):n.type===Zs.pop&&_a(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(Es)})))}let C,k=Wa(),O=Wa();function L(e,t,n){A(e);const o=O.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function A(e){return C||(C=!e,E(),k.list().forEach((([t,n])=>e?n(e):t())),k.reset()),e}function $(t,n,o,r){const{scrollBehavior:i}=e;if(!xs||!i)return Promise.resolve();const s=!o&&function(e){const t=la.get(e);return la.delete(e),t}(aa(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return wn().then((()=>i(t,n,s))).then((e=>e&&sa(e))).catch((e=>L(e,t,n)))}const M=e=>r.go(e);let P;const j=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return pa(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:g,replace:function(e){return g(Ss(h(e),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:function(){return C&&l.value!==ha?Promise.resolve():new Promise(((e,t)=>{k.add([e,t])}))},install(e){e.component("RouterLink",Xa),e.component("RouterView",Za),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>sn(l)}),xs&&!P&&l.value===ha&&(P=!0,g(r.location).catch((e=>{})));const t={};for(const o in ha)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Fa,this),e.provide(Ha,Ht(t)),e.provide(Va,l);const n=e.unmount;j.add(e),e.unmount=function(){j.delete(e),j.size<1&&(c=ha,T&&T(),T=null,l.value=ha,P=!1,C=!1),n()}}};function N(e){return e.reduce(((e,t)=>e.then((()=>b(t)))),Promise.resolve())}return R}function el(){return mr(Ha)}const tl=["{","}"];const nl=/^(?:\d)+/,ol=/^(?:\w)+/;const rl=Object.prototype.hasOwnProperty,il=(e,t)=>rl.call(e,t),sl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=tl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let s=e[r++];if(s===t){i&&o.push({type:"text",value:i}),i="";let t="";for(s=e[r++];void 0!==s&&s!==n;)t+=s,s=e[r++];const a=s===n,l=nl.test(t)?"list":a&&ol.test(t)?"named":"unknown";o.push({value:t,type:l})}else i+=s}return i&&o.push({type:"text",value:i}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===r)return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(t[i.value])}o++}return n}(o,t)}};function al(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class ll{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||sl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=al(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{il(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=al(t,this.messages))&&(o=this.messages[t]):n=t,il(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function cl(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&ad?ad():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new ll({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Fp().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}const ul=le((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let dl;function fl(){if(!dl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,dl=cl(e),ul()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>dl.add(e,__uniConfig.locales[e]))),dl.setLocale(e)}}return dl}function pl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const hl=le((()=>{const e="uni.async.",t=["error"];fl().add("en",pl(e,t,["The connection timed out, click the screen to try again."]),!1),fl().add("es",pl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),fl().add("fr",pl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),fl().add("zh-Hans",pl(e,t,["连接服务器超时,点击屏幕重试"]),!1),fl().add("zh-Hant",pl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),ml=le((()=>{const e="uni.showToast.",t=["unpaired"];fl().add("en",pl(e,t,["Please note showToast must be paired with hideToast"]),!1),fl().add("es",pl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),fl().add("fr",pl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),fl().add("zh-Hans",pl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),fl().add("zh-Hant",pl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),gl=le((()=>{const e="uni.showLoading.",t=["unpaired"];fl().add("en",pl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),fl().add("es",pl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),fl().add("fr",pl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),fl().add("zh-Hans",pl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),fl().add("zh-Hant",pl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),vl=le((()=>{const e="uni.showModal.",t=["cancel","confirm"];fl().add("en",pl(e,t,["Cancel","OK"]),!1),fl().add("es",pl(e,t,["Cancelar","OK"]),!1),fl().add("fr",pl(e,t,["Annuler","OK"]),!1),fl().add("zh-Hans",pl(e,t,["取消","确定"]),!1),fl().add("zh-Hant",pl(e,t,["取消","確定"]),!1)})),yl=le((()=>{const e="uni.chooseFile.",t=["notUserActivation"];fl().add("en",pl(e,t,["File chooser dialog can only be shown with a user activation"]),!1),fl().add("es",pl(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),fl().add("fr",pl(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),fl().add("zh-Hans",pl(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),fl().add("zh-Hant",pl(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),_l=le((()=>{const e="uni.setClipboardData.",t=["success","fail"];fl().add("en",pl(e,t,["Content copied","Copy failed, please copy manually"]),!1),fl().add("es",pl(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),fl().add("fr",pl(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),fl().add("zh-Hans",pl(e,t,["内容已复制","复制失败,请手动复制"]),!1),fl().add("zh-Hant",pl(e,t,["內容已復制","復制失敗,請手動復製"]),!1)})),bl=le((()=>{const e="uni.picker.",t=["done","cancel"];fl().add("en",pl(e,t,["Done","Cancel"]),!1),fl().add("es",pl(e,t,["OK","Cancelar"]),!1),fl().add("fr",pl(e,t,["OK","Annuler"]),!1),fl().add("zh-Hans",pl(e,t,["完成","取消"]),!1),fl().add("zh-Hant",pl(e,t,["完成","取消"]),!1)}));function wl(e){const t=new Le;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let xl=1;const Sl=Object.create(null);function Tl(e,t){return e+"."+t}function El({id:e,name:t,args:n},o){t=Tl(o,t);const r=t=>{e&&Em.publishHandler("invokeViewApi."+e,t)},i=Sl[t];i?i(n,r):r({})}const Cl=c(wl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Em,i=n?xl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),kl=ge(!0);let Ol;function Ll(){Ol&&(clearTimeout(Ol),Ol=null)}let Al=0,$l=0;function Ml(e){if(Ll(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Al=t,$l=n,Ol=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),350)}function Pl(e){if(!Ol)return;if(1!==e.touches.length)return Ll();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Al)>10||Math.abs(n-$l)>10?Ll():void 0}function jl(e,t){const n=Number(e);return isNaN(n)?t:n}function Rl(){const e=__uniConfig.globalStyle||{},t=jl(e.rpxCalcMaxDeviceWidth,960),n=jl(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Nl(){Rl(),pe(),window.addEventListener("touchstart",Ml,kl),window.addEventListener("touchmove",Pl,kl),window.addEventListener("touchend",Ll,kl),window.addEventListener("touchcancel",Ll,kl)}function Il(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bl,Dl,Fl=["top","left","right","bottom"],Hl={};function Vl(){return Dl="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function Wl(){if(Dl="string"==typeof Dl?Dl:Vl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Fl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Bl=!0}else Fl.forEach((function(e){Hl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Dl+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Ul.length||setTimeout((function(){var e={};Ul.forEach((function(t){e[t]=Hl[t]})),Ul.length=0,Yl.forEach((function(t){t(e)}))}),0);Ul.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Hl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function zl(e){return Bl||Wl(),Hl[e]}var Ul=[];var Yl=[];const ql=Il({get support(){return 0!=("string"==typeof Dl?Dl:Vl()).length},get top(){return zl("top")},get left(){return zl("left")},get right(){return zl("right")},get bottom(){return zl("bottom")},onChange:function(e){Vl()&&(Bl||Wl(),"function"==typeof e&&Yl.push(e))},offChange:function(e){var t=Yl.indexOf(e);t>=0&&Yl.splice(t,1)}}),Xl=gs((()=>{}),["prevent"]),Kl=gs((e=>{}),["stop"]);function Gl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Jl(){const e=Gl(document.documentElement.style,"--window-top");return e?e+ql.top:0}function Zl(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Ql(e){return Symbol(e)}const ec="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",tc="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function nc(e,t="#000",n=27){return Qr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Qr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function oc(){{const{$pageInstance:e}=di();return e&&e.proxy.$page.id}}function rc(){const e=gp(),t=e.length;if(t)return e[t-1]}function ic(){const e=rc();if(e)return e.$page.meta}function sc(){const e=ic();return e?e.id:-1}function ac(){const e=rc();if(e)return e.$vm}const lc=["navigationBar","pullToRefresh"];function cc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);lc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function uc(e,t,n,o,r,i){const{id:s,route:a}=o,l=Me(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:ae(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}function dc(e,t,n){if(v(e))n=t,t=e,e=ac();else if("number"==typeof e){const t=gp().find((t=>t.$page.id===e));e=t?t.$vm:ac()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function fc(e){e.preventDefault()}let pc,hc=0;function mc({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const s=()=>{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-hc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(hc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(pc=setTimeout(s,300))),o=!1};return function(){clearTimeout(pc),o||requestAnimationFrame(s),o=!0}}function gc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return gc(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&".."===n[r];r++);n.splice(0,r),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-r-1,r+1),ae(i.concat(n).join("/"))}function vc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class yc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(oe(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&oe(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=xc(this.$el.querySelector(e));return t?_c(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o<n.length;o++){const e=xc(n[o]);e&&t.push(_c(e,!1))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){const{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){let t="";if(!e||v(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:A(n);(v(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(v(e)&&(e=W(e)),S(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];g(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Em.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function _c(e,t=!0){if(t&&e&&(e=ne(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new yc(e)),e.$el.__wxsComponentDescriptor}function bc(e,t){return _c(e,t)}function wc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>bc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ne(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,bc(r,!1)]}}function xc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Sc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=ve(t?r:function(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}(r)),a=ve(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Tc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Ec(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:s,clientX:a,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:i,pageY:s-t,clientX:a,clientY:l-t,force:c||0})}return n}const Cc=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=0!==o.tagName.indexOf("UNI-");if(r)return wc(e,t,n,!1)||[e];const i=Sc(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=Jl();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Tc(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Jl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Tc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Jl();i.touches=Ec(e.touches,t),i.changedTouches=Ec(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return wc(i,t,n)||[i]},createNativeEvent:Sc},Symbol.toStringTag,{value:"Module"});function kc(e){!function(e){const t=e.globalProperties;c(t,Cc),t.$gcd=bc}(e._context.config)}let Oc=1;function Lc(e){return(e||sc())+".invokeViewApi"}const Ac=c(wl("view"),{invokeOnCallback:(e,t)=>Cm.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Cm,s=o?Oc++:0;o&&r("invokeViewApi."+s,o,!0),i(Lc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=Cm,a=Oc++,l="invokeViewApi."+a;return r(l,n),s(Lc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function $c(e){dc(rc(),"onResize",e),Cm.invokeOnCallback("onWindowResize",e)}function Mc(e){const t=rc();dc(Fp(),"onShow",e),dc(t,"onShow")}function Pc(){dc(Fp(),"onHide"),dc(rc(),"onHide")}const jc=["onPageScroll","onReachBottom"];function Rc(){jc.forEach((e=>Cm.subscribe(e,function(e){return(t,n)=>{dc(parseInt(n),e,t)}}(e))))}function Nc(){!function(){const{on:e}=Cm;e("onResize",$c),e("onAppEnterForeground",Mc),e("onAppEnterBackground",Pc)}(),Rc()}function Ic(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Se(this.$page.id)),e.eventChannel}}function Bc(e){e._context.config.globalProperties.getOpenerEventChannel=Ic}function Dc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Fc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Qu(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Hc(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Fc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Fc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n<r&&setTimeout(i,s.duration+s.delay)}setTimeout((()=>{i()}),0)}const Vc={props:["animation"],watch:{animation:{deep:!0,handler(){Hc(this)}}},mounted(){Hc(this)}},Wc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Vc),zc(e)},zc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},mo(e));function Uc(e){return e.__wwe=!0,e}function Yc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=ve(n),{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const qc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Xc(e){const t=nn(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Uc((function(e){e.touches.length>1||s(e)})),onMousedown:Uc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Uc((function(){a()})),onMouseup:Uc((function(){r&&l()})),onTouchcancel:Uc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Kc(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Gc=Ql("uf"),Jc=Ql("ul");function Zc(e,t,n){const o=oc();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Em.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Em.on(r,t[r]):e&&Em.on(`uni-${r}-${o}-${e}`,t[r])}))}function Qc(e,t,n){const o=oc();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Em.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Em.off(r,t[r]):e&&Em.off(`uni-${r}-${o}-${e}`,t[r])}))}const eu=Wc({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=nn(null),o=mr(Gc,!1),{hovering:r,binding:i}=Xc(e),s=Uc(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=mr(Jc,!1);return a&&(a.addHandler(s),Bo((()=>{a.removeHandler(s)}))),function(e,t){Zc(e.id,t),Gn((()=>e.id),((e,n)=>{Qc(n,t,!0),Zc(e,t,!0)})),Do((()=>{Qc(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Kc(e,"disabled"),l=Kc(e,"loading"),c=Kc(e,"plain"),u=o&&"none"!==o;return Qr("uni-button",si({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}});function tu(e){const{base:t}=__uniConfig.router;return 0===ae(e).indexOf(t)?ae(e):t+e}function nu(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return tu(e.slice(1));e="https:"+e}if(ee.test(e)||te.test(e)||0===e.indexOf("blob:"))return e;const o=gp();return o.length?tu(gc(o[o.length-1].$page.route,e).slice(1)):e}const ou=navigator.userAgent,ru=/android/i.test(ou),iu=/iphone|ipad|ipod/i.test(ou),su=ou.match(/Windows NT ([\d|\d.\d]*)/i),au=/Macintosh|Mac/i.test(ou),lu=/Linux|X11/i.test(ou),cu=au&&navigator.maxTouchPoints>0;function uu(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function du(e){return e&&90===Math.abs(window.orientation)}function fu(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function pu(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}const hu=["original","compressed"],mu=["album","camera"],gu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function vu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function yu(e,t){return!p(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function _u(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let bu=1;const wu={};function xu(e,t,n){if("number"==typeof e){const o=wu[e];if(o)return o.keepAlive||delete wu[e],o.callback(t,n)}return t}const Su="success",Tu="fail",Eu="complete";function Cu(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];g(o)&&(t[n]=_u(o),delete e[n])}return t}(t),a=g(r),l=g(i),c=g(s),u=bu++;return function(e,t,n,o=!1){wu[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),g(n)&&n(u),u.errMsg===e+":ok"?(g(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const ku="success",Ou="fail",Lu="complete",Au={},$u={};function Mu(e,t){return function(n){return e(n,t)||n}}function Pu(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(Mu(i,n));else{const e=i(t,n);if(b(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function ju(e,t={}){return[ku,Ou,Lu].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Pu(o,e,t).then((e=>g(r)&&r(e)||e))}})),t}function Ru(e,t){const n=[];p(Au.returnValue)&&n.push(...Au.returnValue);const o=$u[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Nu(e){const t=Object.create(null);Object.keys(Au).forEach((e=>{"returnValue"!==e&&(t[e]=Au[e].slice())}));const n=$u[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Iu(e,t,n,o){const r=Nu(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Pu(r.invoke,n).then((n=>t(ju(Nu(e),n),...o)))}return t(ju(r,n),...o)}return t(n,...o)}function Bu(e,t){return(n={},...o)=>function(e){return!(!S(e)||![Su,Tu,Eu].find((t=>g(e[t]))))}(n)?Ru(e,Iu(e,t,n,o)):Ru(e,new Promise(((r,i)=>{Iu(e,t,c(n,{success:r,fail:i}),o)})))}function Du(e,t,n,o={}){const r=t+":fail"+(n?" "+n:"");return delete o.errCode,xu(e,c({errMsg:r},o))}function Fu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],s=o[t];if(g(s)){const o=s(e[0][t],n);if(v(o))return o}else f(n,t)||(n[t]=s)}}(t,o);if(r)return r}function Hu(e,t,n,o){return n=>{const r=Cu(e,n,o),i=Fu(0,[n],0,o);return i?Du(r,e,i):t(n,{resolve:t=>function(e,t,n){return xu(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Du(r,e,function(e){return!e||v(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Vu(e,t,n,o){return Bu(e,Hu(e,t,0,o))}function Wu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Fu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function zu(e,t,n,o){return Bu(e,function(e,t,n,o){return Hu(e,t,0,o)}(e,t,0,o))}let Uu=!1,Yu=0,qu=0,Xu=960,Ku=375,Gu=750;function Ju(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=uu(),t=pu(fu(e,du(e)));return{platform:iu?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();Yu=n,qu=t,Uu="ios"===e}function Zu(e,t){const n=Number(e);return isNaN(n)?t:n}const Qu=Wu(0,((e,t)=>{if(0===Yu&&(Ju(),function(){const e=__uniConfig.globalStyle||{};Xu=Zu(e.rpxCalcMaxDeviceWidth,960),Ku=Zu(e.rpxCalcBaseDeviceWidth,375),Gu=Zu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Yu;n=e===Gu||n<=Xu?n:Ku;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==qu&&Uu?.5:1),e<0?-o:o}));function ed(e,t){Object.keys(t).forEach((n=>{g(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):p(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}const td=Wu(0,((e,t)=>{v(e)&&S(t)?ed($u[e]||($u[e]={}),t):S(e)&&ed(Au,e)})),nd={formatArgs:{}},od={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class rd{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=c({},od,e)}_getOption(e){const t={transition:c({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach((e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e})),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const id=le((()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach((n=>{rd.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}}))})),sd=Wu(0,(e=>(id(),new rd(e))),0,nd),ad=Wu(0,(()=>{const e=Fp();return e&&e.$vm?e.$vm.$locale:fl().getLocale()})),ld={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const cd=Wu(0,(()=>c({},Xd)));let ud,dd,fd;const pd=[];const hd=zu("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{var e,o;void 0===fd&&(fd=!1,ud="",dd="uniPush is not enabled"),pd.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==ud&&(e=ud,o=dd,pd.forEach((t=>{t(e,o)})),pd.length=0)}))})),md=e=>{},gd=e=>{},vd={formatArgs:{showToast:!0},beforeInvoke(){_l()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=fl(),o=n("uni.setClipboardData.success");o&&cm({title:o,icon:"success",mask:!1})}},yd=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=yu(e,hu)},sourceType(e,t){t.sourceType=yu(e,mu)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),_d={formatArgs:{sourceType(e,t){t.sourceType=yu(e,mu)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},bd=(Boolean,["all","image","video"]),wd={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=yu(e,mu)},type(e,t){t.type=vu(e,bd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=[""])}}},xd="json",Sd=["text","arraybuffer"],Td=encodeURIComponent;ArrayBuffer,Boolean;const Ed={formatArgs:{method(e,t){t.method=vu((e||"").toUpperCase(),gu)},data(e,t){t.data=e||""},url(e,t){t.method===gu[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[Td(a)]=Td(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==gu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||xd).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Sd.indexOf(t.responseType)&&(t.responseType="text")}}},Cd={formatArgs:{filePath(e,t){e&&(t.filePath=nu(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},kd={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=vu((e||"").toUpperCase(),gu)},protocols(e,t){v(e)&&(t.protocols=[e])}}};const Od={url:{type:String,required:!0}},Ld=(jd(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),jd(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Id("navigateTo")),Ad=Id("redirectTo"),$d=Id("reLaunch"),Md=Id("switchTab"),Pd={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(gp().length-1,e)}}};function jd(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let Rd;function Nd(){Rd=""}function Id(e){return{formatArgs:{url:Bd(e)},beforeAll:Nd}}function Bd(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=gp();return n.length&&(t=n[n.length-1].$page.route),gc(t,e)}(t)).split("?")[0],r=vc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(Rd===t&&"appLaunch"!==n.openType)return`${Rd} locked`;__uniConfig.ready&&(Rd=t)}else if(r.meta.isTabBar){const e=gp(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const Dd={formatArgs:{title:"",mask:!1}},Fd=(Boolean,{beforeInvoke(){vl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=fl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=fl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Hd=["success","loading","none","error"],Vd=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=vu(e,Hd)},image(e,t){t.image=e?nu(e):""},duration:1500,mask:!1}}),Wd={};function zd(e,t){const n=Wd[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return Ud(s,o)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function Ud(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function Yd(e){for(const n in Wd)if(f(Wd,n)){if(Wd[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Wd[t]=e,t}function qd(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Wd[e]}const Xd=Dc(),Kd=Dc();const Gd=Wc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=nn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=Ft({width:-1,height:-1});return Gn((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){To(o),Ro((()=>{t.initial&&wn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>Qr("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[Qr("div",{onScroll:r},[Qr("div",null,null)],40,["onScroll"]),Qr("div",{onScroll:r},[Qr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Jd(){}const Zd={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function Qd(e,t,n){function o(e){const t=xi((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Jd,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Jd,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Gn((()=>t.value),(e=>e&&o(e)))}const ef={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},tf={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},nf={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},of=Wc({name:"Image",props:ef,setup(e,{emit:t}){const n=nn(null),o=function(e,t){const n=nn(""),o=xi((()=>{let e="auto",o="";const r=nf[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=Ft({rootEl:e,src:xi((()=>t.src?nu(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Ro((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}(n,e),r=Yc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=tf[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){rf&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Gn((()=>t.mode),((e,t)=>{tf[t]&&r(),tf[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),o(),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Gn((()=>e.src),(e=>l(e))),Gn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Ro((()=>l(e.src))),Bo((()=>c()))}(o,e,n,i,r),()=>Qr("uni-image",{ref:n},[Qr("div",{style:o.modeStyle},null,4),tf[e.mode]?Qr(Gd,{onResize:i},null,8,["onResize"]):Qr("span",null,null)],512)}});const rf="Google Inc."===navigator.vendor;const sf=ge(!0),af=[];let lf=0,cf=!1;const uf=e=>af.forEach((t=>t.userAction=e));function df(e={userAction:!1}){if(!cf){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!lf&&uf(!0),lf++,setTimeout((()=>{!--lf&&uf(!1)}),0)}),sf)})),cf=!0}af.push(e)}const ff=()=>!!lf;function pf(){const e=Ft({userAction:!1});return Ro((()=>{df(e)})),Bo((()=>{!function(e){const t=af.indexOf(e);t>=0&&af.splice(t,1)}(e)})),{state:e}}function hf(){const e=Ft({attrs:{}});return Ro((()=>{let t=di();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function mf(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}const gf=function(){var e,t,n;e=sc(),n=mf,t=Tl(e,t="getSelectedTextRange"),Sl[t]||(Sl[t]=n)};function vf(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");const o=null==e?"":String(e);return null==n?o:o.slice(0,n)}const yf=["none","text","decimal","numeric","tel","search","email","url"],_f=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~yf.indexOf(e)},cursorColor:{type:String,default:""}},Zd),bf=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function wf(e,t,n,o){let r=null;r=xe((n=>{t.value=vf(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Gn((()=>e.modelValue),r),Gn((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r<t?n=setTimeout(o,t-(s-r)):o()};return i.cancel=function(){clearTimeout(n),o=null},i.flush=function(){clearTimeout(n),o&&o()},i}(((e,t)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return jo((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function xf(e,t){pf();const n=xi((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Gn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Ro((()=>{n.value&&wn(o)}))}function Sf(e,t,n,o){gf();const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=nn(null),r=Yc(t,n),i=xi((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=xi((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=xi((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=xi((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=vf(e.modelValue,e.type)||vf(e.value,e.type);const u=Ft({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Gn((()=>u.focus),(e=>n("update:focus",e))),Gn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=wf(e,i,n,s);xf(e,r),Qd(0,r);const{state:l}=hf();!function(e,t){const n=mr(Gc,!1);if(!n)return;const o=di(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),Bo((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Gn([()=>t.selectionStart,()=>t.selectionEnd],s),Gn((()=>t.cursor),a),Gn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),g(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}function Tf(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&navigator.userAgent.includes("iPhone OS 16")&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const Ef=Wc({name:"Input",props:c({},_f,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...bf],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=xi((()=>{let t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=xi((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(A(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let a=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=nn(void 0!==t?t.toLocaleString():"");return Gn((()=>e.modelValue),(e=>{n.value=void 0!==e?e.toLocaleString():""})),Gn((()=>e.value),(e=>{n.value=void 0!==e?e.toLocaleString():""})),n}return nn("")}(e,i),l={fn:null};const c=nn(null),{fieldRef:u,state:d,scopedAttrsState:f,fixDisabledColor:p,trigger:h}=Sf(e,c,t,((e,t)=>{const n=e.target;if("number"===i.value){if(l.fn&&(n.removeEventListener("blur",l.fn),l.fn=null),n.validity&&!n.validity.valid){if((!a.value||!n.value)&&"-"===e.data||"-"===a.value[0]&&"deleteContentBackward"===e.inputType)return a.value="-",t.value="",l.fn=()=>{a.value=n.value=""},n.addEventListener("blur",l.fn),!1;const o=Tf(e,a,t,n,l);return"boolean"==typeof o?o:(a.value=t.value=n.value="-"===a.value?"":a.value,!1)}{const o=Tf(e,a,t,n,l);if("boolean"==typeof o)return o;a.value=n.value}const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}}));Gn((()=>d.value),(t=>{"number"!==e.type||"-"===a.value&&""===t||(a.value=t.toString())}));const m=["number","digit"],g=xi((()=>m.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&p?Qr("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:d.maxlength,step:g.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):Qr("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:d.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Qr("uni-input",{ref:c},[Qr("div",{class:"uni-input-wrapper"},[to(Qr("div",si(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[zi,!(d.value.length||"-"===a.value||a.value.includes("."))]]),"search"===e.confirmType?Qr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});function Cf(e){const t=[];return p(e)&&e.forEach((e=>{qr(e)?e.type===Rr?t.push(...Cf(e.children)):t.push(e):p(e)&&t.push(...Cf(e))})),t}const kf=function(e,t,n,o){e.addEventListener(t,(e=>{g(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Of,Lf;const Af=Wc({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return p(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=nn(null),r=nn(null),i=Yc(o,n),s=function(e){const t=Ft([...e.value]),n=Ft({value:t,height:34});return Gn((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}(e),a=nn(null);Ro((()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)}));let l=nn([]),c=nn([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Ir));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return hr("getPickerViewColumn",(function(e){return xi({get(){const t=u(e.vnode);return s.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(s.value[o]!==t){s.value[o]=t;const e=s.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),hr("pickerViewProps",e),hr("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=Cf(e);l.value=t,wn((()=>{c.value=t}))}return Qr("uni-picker-view",{ref:o},[Qr(Gd,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),Qr("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class $f{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function Mf(e,t,n){return e>t-n&&e<t+n}function Pf(e,t){return Mf(e,0,t)}class jf{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,s=t/(r*e);return{x:function(e){return(i+s*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+s*e)*t+s*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Pf(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Pf(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Pf(t,.4)&&(t=0),Pf(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Pf(o-e,.4)&&Pf(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),Mf(this.x(),this._endPosition,.4)&&Pf(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Rf{constructor(e,t,n){this._extent=e,this._friction=t||new $f(.01),this._spring=n||new jf(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class Nf{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Rf(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}let o;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){const e=this._scroll._friction.x(100),t=e%this._itemSize;o=Math.abs(t)>this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)}),(()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1}))}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(g(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const r=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}const If=Wc({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=nn(null),r=nn(null),i=mr("getPickerViewColumn"),s=di(),a=i?i(s):nn(0),l=mr("pickerViewProps"),c=mr("pickerViewState"),u=nn(34),d=nn(null);Ro((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const f=xi((()=>(c.height-u.value)/2)),{state:p}=hf();let h;const m=Ft({current:a.value,length:0});let g;function v(){h&&!g&&(g=!0,wn((()=>{g=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),h.update(e*u.value,void 0,u.value)})))}Gn((()=>a.value),(e=>{e!==m.current&&(m.current=e,v())})),Gn((()=>m.current),(e=>a.value=e)),Gn([()=>u.value,()=>m.length,()=>c.height],v);let y=0;function _(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),h.scrollTo(e*u.value)}else y=t;e.preventDefault()}function b({clientY:e}){const t=o.value;if(!h.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(m.current+t,m.length-1);m.current=r=Math.max(r,0),h.scrollTo(r*u.value)}}}const w=()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new Nf(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(s-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new $f(1e-4),spring:new jf(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});h=n,function(e,t,n){Bo((()=>{document.removeEventListener("mousemove",Of),document.removeEventListener("mouseup",Lf)}));let o=0,r=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;kf(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)})),kf(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)})),kf(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}}));const d=Of=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),kf(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=Lf=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),kf(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":s(e),e.stopPropagation();break;case"end":case"cancel":a(e)}}),!0),function(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY})),e.addEventListener("touchend",(e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{n[e]=o[e]})),e.target.dispatchEvent(n)}}))}(e),v()};return Ro(w),()=>{const e=t.default&&t.default();m.length=Cf(e).length;const n=`${f.value}px 0`;return Qr("uni-picker-view-column",{ref:o},[Qr("div",{onWheel:_,onClick:b,class:"uni-picker-view-group"},[Qr("div",si(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),Qr("div",si(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[Qr(Gd,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),Qr("div",{ref:r,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Bf=Wc({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=nn(null),o=xi((()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t})),r=xi((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return Qr("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?Qr("div",{class:"uni-scroll-view-refresh"},[Qr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?Qr("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Qr("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),Qr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?Qr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Qr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?Qr("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Df=ge(!0),Ff=Wc({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=nn(null),i=nn(null),s=nn(null),a=nn(null),l=Yc(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=xi((()=>Number(e.scrollTop)||0)),n=xi((()=>Number(e.scrollLeft)||0));return{state:Ft({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p,_scrollLeftChanged:h,_scrollTopChanged:m}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=xi((()=>e.scrollX)),h=xi((()=>e.scrollY)),m=xi((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),g=xi((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=m.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+g.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=m.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+g.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function _(t){h.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function b(t){p.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function S(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherrefresh",{},{dy:E.y-T.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:E.y-T.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:E.y-T.y}))}t.refreshState=n}}let T={x:0,y:0},E={x:0,y:e.refresherThreshold};return Ro((()=>{wn((()=>{_(n.value),b(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===T)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-T.x)>Math.abs(i-T.y))if(p.value){if(0===l.scrollLeft&&o>T.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<T.x)return void(a=!1);a=!0}else a=!1;else if(h.value)if(0===l.scrollTop&&i>T.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i<T.y)return void(a=!1);a=!0}else a=!1;if(a&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&S("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-T.y;0===u&&(u=i),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=i-u,t.refresherHeight>0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(T={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){E={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),T={x:0,y:0},E={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,Df),s.value.addEventListener("touchmove",l,ge(!1)),s.value.addEventListener("scroll",i,ge(!1)),s.value.addEventListener("touchend",m,Df),Bo((()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",m)}))})),To((()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)})),Gn(n,(e=>{_(e)})),Gn(o,(e=>{b(e)})),Gn((()=>e.scrollIntoView),(e=>{w(e)})),Gn((()=>e.refresherTriggered),(e=>{!0===e?S("refreshing"):!1===e&&S("restore")})),{realScrollX:p,realScrollY:h,_scrollTopChanged:_,_scrollLeftChanged:b}}(e,c,u,d,l,r,i,a,t),g=xi((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=xi((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return Qr("uni-scroll-view",{ref:r},[Qr("div",{ref:s,class:"uni-scroll-view"},[Qr("div",{ref:i,style:g.value,class:v.value},[t?Qr(Bf,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,Qr("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const Hf={ensp:" ",emsp:" ",nbsp:" "};function Vf(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Hf[t]&&" "===i&&(i=Hf[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Hf.nbsp).replace(/ /g,Hf.ensp).replace(/ /g,Hf.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const Wf=Wc({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=nn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Ir){const n=Vf(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(ti(e)),t!==r&&o.push(Qr("br"))}))}else o.push(t)})),Qr("uni-text",{ref:n,selectable:!!e.selectable||null},[Qr("span",null,o)],8,["selectable"])}}}),zf=c({},_f,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Yf.concat("return").includes(e)}});let Uf=!1;const Yf=["done","go","next","search","send"];const qf=Wc({name:"Textarea",props:zf,emits:["confirm","linechange",...bf],setup(e,{emit:t,expose:n}){const o=nn(null),r=nn(null),{fieldRef:i,state:s,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=Sf(e,o,t),u=xi((()=>s.value.split("\n"))),d=xi((()=>Yf.includes(e.confirmType))),f=nn(0),p=nn(null);function h({height:e}){f.value=e}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function g(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:s.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return Gn((()=>f.value),(t=>{const n=o.value,i=p.value,s=r.value;let a=parseFloat(getComputedStyle(n).lineHeight);isNaN(a)&&(a=i.offsetHeight);var l=Math.round(t/a);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",s.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";Uf=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),s.value=e.value}}),()=>{let t=e.disabled&&l?Qr("textarea",{key:"disabled-textarea",ref:i,value:s.value,tabindex:"-1",readonly:!!e.disabled,maxlength:s.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Uf},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Qr("textarea",{key:"textarea",ref:i,value:s.value,disabled:!!e.disabled,maxlength:s.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Uf},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return Qr("uni-textarea",{ref:o},[Qr("div",{ref:r,class:"uni-textarea-wrapper"},[to(Qr("div",si(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[zi,!s.value.length]]),Qr("div",{ref:p,class:"uni-textarea-line"},[" "],512),Qr("div",{class:"uni-textarea-compute"},[u.value.map((e=>Qr("div",null,[e.trim()?e:"."]))),Qr(Gd,{initial:!0,onResize:h},null,8,["initial","onResize"])]),"search"===e.confirmType?Qr("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),Xf=Wc({name:"View",props:c({},qc),setup(e,{slots:t}){const n=nn(null),{hovering:o,binding:r}=Xc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?Qr("uni-view",si({class:o.value?i:"",ref:n},r),[t.default&&t.default()],16):Qr("uni-view",{ref:n},[t.default&&t.default()],512)}}});function Kf(e,t,n,o){g(t)&&Mo(e,t.bind(n),o)}function Gf(e,t,n){var o;const r=e.mpType||n.$mpType;if(r&&"component"!==r&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!g(t))&&(Ee.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>Kf(o,e,n,t))):Kf(o,r,n,t)}})),"page"===r)){t.__isVisible=!0;try{const e=t.attrs.__pageQuery;0,dc(n,"onLoad",e),delete t.attrs.__pageQuery,"preloadPage"!==(null==(o=n.$page)?void 0:o.openType)&&dc(n,"onShow")}catch(i){console.error(i.message+"\n"+i.stack)}}}function Jf(e,t,n){Gf(e,t,n)}function Zf(e,t,n){return e[t]=n}function Qf(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function ep(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;dc(r.proxy,"onError",t)}}function tp(e,t){return e?[...new Set([].concat(e,t))]:t}function np(e){const t=e._context.config;var n;t.errorHandler=ke(e,ep),n=t.optionMergeStrategies,Ee.forEach((e=>{n[e]=tp}));const o=t.globalProperties;o.$set=Zf,o.$applyOptions=Jf,o.$callMethod=Qf,function(e){Ce.forEach((t=>t(e)))}(e)}const op=Ql("upm");function rp(){return mr(op)}function ip(e){const t=function(e){return Ft(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==gp().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(cc(el().meta,e)))))}(e);return hr(op,t),t}function sp(){return el()}function ap(){return history.state&&history.state.__id__||1}const lp=window.CSS&&window.CSS.supports;function cp(e){return lp&&(lp(e)||lp.apply(window.CSS,e.split(":")))}const up=cp("top:env(a)"),dp=cp("top:constant(a)"),fp=(()=>up?"env":dp?"constant":"")();function pp(e){var t,n;Zl({"--window-top":(n=0,fp?`calc(${n}px + ${fp}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,fp?`calc(${t}px + ${fp}(safe-area-inset-bottom))`:`${t}px`)})}const hp=new Map;function mp(){return hp}function gp(){const e=[],t=hp.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function vp(e,t=!0){const n=hp.get(e);n.$.__isUnload=!0,dc(n,"onUnload"),hp.delete(e),t&&function(e){const t=wp.get(e);t&&(wp.delete(e),xp.pruneCacheEntry(t))}(e)}let yp=ap();function _p(e){const t=function(e){const t=rp();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),uc("navigateTo",n,{},t)}(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),hp.set(bp(t.path,t.id),e)}function bp(e,t){return e+"$$"+t}const wp=new Map,xp={get:e=>wp.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;xp.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(xp.delete(n),xp.pruneCacheEntry(e),wn((()=>{hp.forEach(((e,t)=>{e.$.isUnmounted&&hp.delete(t)}))})))}))}(e),wp.set(e,t)},delete(e){wp.get(e)&&wp.delete(e)},forEach(e){wp.forEach(e)}};function Sp(e,t){!function(e){const t=Ep(e),{body:n}=document;Cp&&n.removeAttribute(Cp),t&&n.setAttribute(t,""),Cp=t}(e),pp(),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),function(e,t){document.removeEventListener("touchmove",fc),kp&&document.removeEventListener("scroll",kp);if(t.disableScroll)return document.addEventListener("touchmove",fc);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!n&&!o&&!r)return;const i={},s=e.proxy.$page.id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Em.publishHandler("onPageScroll",{scrollTop:o},e),n&&Em.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r));o&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>Em.publishHandler("onReachBottom",{},s));kp=mc(i),requestAnimationFrame((()=>document.addEventListener("scroll",kp)))}(e,t)}function Tp(e){const t=Ep(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Ep(e){return e.type.__scopeId}let Cp,kp;function Op(e){const t=Qa({history:$p(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Ap});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Lp[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let Lp=Object.create(null);const Ap=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Lp[o]);if(t)return t}return{left:0,top:0};var o};function $p(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),fa(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=gp(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=t[r].$page;vp(bp(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const Mp={install(e){np(e),kc(e),Bc(e),e.config.warnHandler||(e.config.warnHandler=Pp),Op(e)}};function Pp(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const jp={class:"uni-async-loading"},Rp=Qr("i",{class:"uni-loading"},null,-1),Np=zc({name:"AsyncLoading",render:()=>(Hr(),Yr("div",jp,[Rp]))});function Ip(){window.location.reload()}const Bp=zc({name:"AsyncError",setup(){hl();const{t:e}=fl();return()=>Qr("div",{class:"uni-async-error",onClick:Ip},[e("uni.async.error")],8,["onClick"])}});let Dp;function Fp(){return Dp}function Hp(e){Dp=e,Object.defineProperty(Dp.$.ctx,"$children",{get:()=>gp().map((e=>e.$vm))});const t=Dp.$.appContext.app;t.component(Np.name)||t.component(Np.name,Np),t.component(Bp.name)||t.component(Bp.name,Bp),function(e){e.$vm=e,e.$mpType="app";const t=nn(fl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Dp),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Dp),Nc(),Nl()}function Vp(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=di();n(r.proxy);const s=o(r);if(i)return i(s||e,t)},e}function Wp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Vp(e.default,t):Vp(e,t)}function zp(e){return Wp(e,{clone:!0,init:_p,setup(e){e.$pageInstance=e;const t=sp(),n=_e(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n,e.proxy.options=n;const o=rp();var r,i,s;return jo((()=>{Sp(e,o)})),Ro((()=>{Tp(e);const{onReady:n}=e;n&&j(n),Xp(t)})),Co((()=>{if(!e.__isVisible){Sp(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&j(n),wn((()=>{Xp(t)}))}}),"ba",r),function(e,t){Co(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&j(t)}})),i=o.id,Em.subscribe(Tl(i,"invokeViewApi"),s?s(El):El),Bo((()=>{!function(e){Em.unsubscribe(Tl(e,"invokeViewApi")),Object.keys(Sl).forEach((t=>{0===t.indexOf(e+".")&&delete Sl[t]}))}(o.id)})),n}})}function Up(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=sh(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Cm.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Yp(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Cm.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function qp(){const{emit:e}=Cm;"visible"===document.visibilityState?e("onAppEnterForeground",c({},Kd)):e("onAppEnterBackground")}function Xp(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&dc("onTabItemTap",{index:n,text:t,pagePath:o})}const Kp=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Gp;function Jp(){if(Gp=Gp||Kp.__DC_STAT_UUID,!Gp){Gp=Date.now()+""+Math.floor(1e7*Math.random());try{Kp.__DC_STAT_UUID=Gp}catch(e){}}return Gp}function Zp(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Qp(){let e,t="0",n="",o="phone";const r=navigator.language;if(iu){e="iOS";const o=ou.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=ou.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(ru){e="Android";const o=ou.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=ou.match(/\((.+?)\)/),i=r?r[1].split(";"):ou.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<i.length;e++){const t=i[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<s.length;e++)if(s[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(cu)n="iPad",e="iOS",o="pad",t=g(window.BigInt)?"14.0":"13.0";else if(su||au||lu){n="PC",e="PC",o="pc",t="0";let r=ou.match(/\((.+?)\)/)[1];if(su){switch(e="Windows",su[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=r&&r.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(au){e="macOS";const n=r&&r.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(lu){e="Linux";const n=r&&r.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const i=`${e} ${t}`,s=e.toLocaleLowerCase();let a="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(ou)&&(a=t[n],l=ou.match(r)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:i,platform:s,browserName:a.toLocaleLowerCase(),browserVersion:l,language:r,deviceType:o,ua:ou,osname:e,osversion:t,theme:Zp()}}const eh=Wu(0,(()=>{const e=window.devicePixelRatio,t=uu(),n=du(t),o=fu(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=pu(o);let s=window.innerHeight;const a=ql.top,l={left:ql.left,right:i-ql.right,top:ql.top,bottom:s-ql.bottom,width:i-ql.left-ql.right,height:s-ql.top-ql.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=Jl(),n=Gl(e,"--window-bottom"),o=Gl(e,"--window-left"),r=Gl(e,"--window-right"),i=Gl(e,"--top-window-height");return{top:t,bottom:n?n+ql.bottom:0,left:o?o+ql.left:0,right:r?r+ql.right:0,topWindowHeight:i||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:ql.top,right:ql.right,bottom:ql.bottom,left:ql.left},screenTop:r-s}}));let th,nh=!0;function oh(){nh&&(th=Qp())}const rh=Wu(0,(()=>{oh();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=th;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Jp(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i},{})})),ih=Wu(0,(()=>{oh();const{theme:e,language:t,browserName:n,browserVersion:o}=th;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:ad?ad():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""},{})})),sh=Wu(0,(()=>{nh=!0,oh(),nh=!1;const e=eh(),t=rh(),n=ih();nh=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=th,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return S(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),ah=zu("getSystemInfo",((e,{resolve:t})=>t(sh())));const lh=zu("setClipboardData",((e,t)=>{return n=void 0,o=[e,t],r=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const i=document.execCommand("Copy",!1);r.blur(),i?t():n()}(e,t,n)}},new Promise(((e,t)=>{var i=e=>{try{a(r.next(e))}catch(n){t(n)}},s=e=>{try{a(r.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(n,o)).next())}));var n,o,r}),0,vd);const ch=Wu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function uh(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const dh=Wu(0,(e=>{try{return uh(e)}catch(t){return""}})),fh=Wu(0,(e=>{localStorage&&localStorage.removeItem(e)})),ph=Wu(0,(()=>{localStorage&&localStorage.clear()})),hh={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function mh({count:e,sourceType:t,type:n,extension:o}){df();const r=document.createElement("input");return r.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${hh[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(r.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}let gh=null;const vh=zu("chooseFile",(({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:i})=>{yl();const{t:s}=fl();gh&&(document.body.removeChild(gh),gh=null),gh=mh({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(gh),gh.addEventListener("change",(function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let r=0;r<t;r++){const t=n.files[r];let i;Object.defineProperty(t,"path",{get:()=>(i=i||Yd(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map((({path:e})=>e))},tempFiles:o})})),gh.click(),ff()||console.warn(s("uni.chooseFile.notUserActivation"))}),0,wd);let yh=null;const _h=zu("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{yl();const{t:i}=fl();yh&&(document.body.removeChild(yh),yh=null),yh=mh({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(yh),yh.addEventListener("change",(function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o<t;o++){const t=n.files[o];let i;Object.defineProperty(t,"path",{get:()=>(i=i||Yd(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),yh.click(),ff()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,yd),bh={esc:["Esc","Escape"],enter:["Enter"]},wh=Object.keys(bh);function xh(){const e=nn(""),t=nn(!1),n=n=>{if(t.value)return;const o=wh.find((e=>-1!==bh[e].indexOf(n.key)));o&&(e.value=o),wn((()=>e.value=""))};return Ro((()=>{document.addEventListener("keyup",n)})),Bo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const Sh=Qr("div",{class:"uni-mask"},null,-1);function Th(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ws(mo({setup:()=>()=>(Hr(),Yr(e,t,null,16))}))}function Eh(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Ch(e,{onEsc:t,onEnter:n}){const o=nn(e.visible),{key:r,disable:i}=xh();return Gn((()=>e.visible),(e=>o.value=e)),Gn((()=>o.value),(e=>i.value=!e)),Xn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let kh=null;const Oh=zu("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:o})=>{yl();const{t:r}=fl();kh&&(document.body.removeChild(kh),kh=null),kh=mh({sourceType:e,extension:t,type:"video"}),document.body.appendChild(kh),kh.addEventListener("change",(function(e){const t=e.target.files[0];let o="";const r={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(r,"tempFilePath",{get(){return o=o||Yd(this.tempFile),o}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=Yd(t);i.onloadedmetadata=function(){qd(e),n(c(r,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,qd(e),n(r)}),300),i.src=e}else n(r)})),kh.click(),ff()||console.warn(r("uni.chooseFile.notUserActivation"))}),0,_d),Lh=Vu("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,withCredentials:s,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(g){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const p=new XMLHttpRequest,h=new Ah(p);p.open(o,e);for(const v in n)f(n,v)&&p.setRequestHeader(v,n[v]);const m=setTimeout((function(){p.onload=p.onabort=p.onerror=null,h.abort(),c("timeout",{errCode:5})}),a);return p.responseType=i,p.onload=function(){clearTimeout(m);const e=p.status;let t="text"===i?p.responseText:p.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(g){}l({data:t,statusCode:e,header:$h(p.getAllResponseHeaders()),cookies:[]})},p.onabort=function(){clearTimeout(m),c("abort",{errCode:600003})},p.onerror=function(){clearTimeout(m),c(void 0,{errCode:5})},p.withCredentials=s,p.send(u),h}),0,Ed);class Ah{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function $h(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class Mh{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){g(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const Ph=Vu("uploadFile",(({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:s={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new Mh;return p(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Ud(e)):zd(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach((e=>{d.append(e,s[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})}),a),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,Cd),jh=[],Rh={open:"",close:"",error:"",message:""};class Nh{constructor(e,t,n){let o;this._callbacks={open:[],close:[],error:[],message:[]};try{const n=this._webSocket=new WebSocket(e,t);n.binaryType="arraybuffer";["open","close","error","message"].forEach((e=>{this._callbacks[e]=[],n.addEventListener(e,(t=>{const{data:n,code:o,reason:r}=t,i="message"===e?{data:n}:"close"===e?{code:o,reason:r}:{};if(this._callbacks[e].forEach((t=>{try{t(i)}catch(n){console.error(`thirdScriptError\n${n};at socketTask.on${$(e)} callback function\n`,n)}})),this===jh[0]&&Rh[e]&&Cm.invokeOnCallback(Rh[e],i),"error"===e||"close"===e){const e=jh.indexOf(this);e>=0&&jh.splice(e,1)}}))}));["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach((e=>{Object.defineProperty(this,e,{get:()=>n[e]})}))}catch(r){o=r}n&&n(o,this)}send(e){const t=(e||{}).data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw de(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),de(e,"sendSocketMessage:ok")}catch(o){de(e,{errMsg:`sendSocketMessage:fail ${o}`,errCode:602001})}}close(e={}){const t=this._webSocket;try{const n=e.code||1e3,o=e.reason;v(o)?t.close(n,o):t.close(n),de(e,"closeSocket:ok")}catch(n){de(e,`closeSocket:fail ${n}`)}}onOpen(e){this._callbacks.open.push(e)}onMessage(e){this._callbacks.message.push(e)}onError(e){this._callbacks.error.push(e)}onClose(e){this._callbacks.close.push(e)}}const Ih=Vu("connectSocket",(({url:e,protocols:t},{resolve:n,reject:o})=>new Nh(e,t,((e,t)=>{e?o(e.toString(),{errCode:600009}):(jh.push(t),n())}))),0,kd),Bh=zu("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===dc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(Fp().$router.go(-e.delta),t()):n("onBackPress")}),0,Pd);function Dh({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=Fp().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:we(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++yp,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(_a(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Se(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}const Fh=zu("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>Dh({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r)),0,Ld);const Hh=zu("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>(function(){const e=rc();if(!e)return;const t=e.$page;vp(bp(t.path,t.id))}(),Dh({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o))),0,Ad);const Vh=zu("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>(function(){const e=mp().keys();for(const t of e)vp(t)}(),Dh({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o))),0,$d);function Wh(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}const zh=zu("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>(function(){const e=ac();if(!e)return;const t=mp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:vp(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,dc(e,"onHide"))}(),Dh({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},function(e){const t=mp().values();for(const n of t){const t=n.$page;if(Wh(e,t))return n.$.__isActive=!0,t.id}}(e)).then(o).catch(r))),0,Md);function Uh(e){__uniConfig.darkmode&&Cm.on("onThemeChange",e)}function Yh(e){Cm.off("onThemeChange",e)}const qh={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Xh=mo({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=nn(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=Ch(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=nn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=qh[e].cancelColor})(e,t)};return Xn((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Zp()&&n({theme:"dark"}),Uh(n))):Yh(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,Qr(Ai,{name:"uni-fade"},{default:()=>[to(Qr("uni-modal",{onTouchmove:Xl},[Sh,Qr("div",{class:"uni-modal"},[t?Qr("div",{class:"uni-modal__hd"},[Qr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?Qr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Qr("div",{class:"uni-modal__bd",onTouchmovePassive:Kl,textContent:o},null,40,["onTouchmovePassive","textContent"]),Qr("div",{class:"uni-modal__ft"},[l&&Qr("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),Qr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[zi,s.value]])]})}}});let Kh;const Gh=le((()=>{Cm.on("onHidePopup",(()=>Kh.visible=!1))}));let Jh;function Zh(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Kh.editable&&(o.content=t),Jh&&Jh(o)}const Qh=zu("showModal",((e,{resolve:t})=>{Gh(),Jh=t,Kh?(c(Kh,e),Kh.visible=!0):(Kh=Ft(e),wn((()=>(Th(Xh,Kh,Zh).mount(Eh("u-a-m")),wn((()=>Kh.visible=!0))))))}),0,Fd),em={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Hd.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},tm={light:"#fff",dark:"rgba(255,255,255,0.9)"},nm=e=>tm[e],om=mo({name:"Toast",props:em,setup(e){ml(),gl();const{Icon:t}=function(e){const t=nn(nm(Zp())),n=({theme:e})=>t.value=nm(e);Xn((()=>{e.visible?Uh(n):Yh(n)}));return{Icon:xi((()=>{switch(e.icon){case"success":return Qr(nc(ec,t.value,38),{class:"uni-toast__icon"});case"error":return Qr(nc(tc,t.value,38),{class:"uni-toast__icon"});case"loading":return Qr("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Ch(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return Qr(Ai,{name:"uni-fade"},{default:()=>[to(Qr("uni-toast",{"data-duration":r},[o?Qr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Xl},null,40,["onTouchmove"]):"",s||t.value?Qr("div",{class:"uni-toast"},[s?Qr("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,Qr("p",{class:"uni-toast__content"},[i])]):Qr("div",{class:"uni-sample-toast"},[Qr("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[zi,n.value]])]})}}});let rm,im,sm="";const am=Ne();function lm(e){rm?c(rm,e):(rm=Ft(c(e,{visible:!1})),wn((()=>{am.run((()=>{Gn([()=>rm.visible,()=>rm.duration],(([e,t])=>{if(e){if(im&&clearTimeout(im),"onShowLoading"===sm)return;im=setTimeout((()=>{pm("onHideToast")}),t)}else im&&clearTimeout(im)}))})),Cm.on("onHidePopup",(()=>pm("onHidePopup"))),Th(om,rm,(()=>{})).mount(Eh("u-a-t"))}))),setTimeout((()=>{rm.visible=!0}),10)}const cm=zu("showToast",((e,{resolve:t,reject:n})=>{lm(e),sm="onShowToast",t()}),0,Vd),um={icon:"loading",duration:1e8,image:""},dm=zu("showLoading",((e,{resolve:t,reject:n})=>{c(e,um),lm(e),sm="onShowLoading",t()}),0,Dd),fm=zu("hideLoading",((e,{resolve:t,reject:n})=>{pm("onHideLoading"),t()}));function pm(e){const{t:t}=fl();if(!sm)return;let n="";if("onHideToast"===e&&"onShowToast"!==sm?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==sm&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);sm="",setTimeout((()=>{rm.visible=!1}),10)}function hm(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Cm.emit("onNavigationBarChange",{titleText:t})}Xn(t),To(t)}const mm=zc({name:"Layout",setup(e,{emit:t}){const n=nn(null);Zl({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=el();return{routeKey:xi((()=>bp("/"+e.meta.route,ap()))),isTabBar:xi((()=>e.meta.isTabBar)),routeCache:xp}}(),{layoutState:r,windowState:i}=function(){sp();{const e=Ft({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Gn((()=>e.marginWidth),(e=>Zl({"--window-margin":e+"px"}))),Gn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Zl({"--window-left":e+"px"})})),Gn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Zl({"--window-right":e+"px"})})),{layoutState:e,windowState:xi((()=>({})))}}}();!function(e,t){const n=sp();function o(){const o=document.body.clientWidth,r=gp();let i={};if(r.length>0){i=r[r.length-1].$page.meta}else{const e=vc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,wn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,wn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Gn([()=>n.path],o),Ro((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=nn(!1);return xi((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return Qr(Za,null,{default:Nn((({Component:o})=>[(Hr(),Yr(xo,{matchBy:"key",cache:n},[(Hr(),Yr(Wn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return Qr("uni-app",{ref:n,class:s.value},[e,!1],2)}}});function gm(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!qr(e)}function vm(e){if(e.mode===bm.TIME)return"00:00";if(e.mode===bm.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case wm.YEAR:return t.toString();case wm.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function ym(e){if(e.mode===bm.TIME)return"23:59";if(e.mode===bm.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case wm.YEAR:return t.toString();case wm.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function _m(e,t,n,o){const r=e.mode===bm.DATE?"-":":",i=e.mode===bm.DATE?t.dateArray:t.timeArray;let s;if(e.mode===bm.TIME)s=2;else switch(e.fields){case wm.YEAR:s=1;break;case wm.MONTH:s=2;break;default:s=3}const a=String(n).split(r);let l=[];for(let c=0;c<s;c++){const e=a[c];l.push(i[c].indexOf(e))}return l.indexOf(-1)>=0&&(l=o?_m(e,t,o):l.map((()=>0))),l}const bm={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},wm={YEAR:"year",MONTH:"month",DAY:"day"},xm={PICKER:"picker",SELECT:"select"},Sm=Wc({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:bm.SELECTOR,validator:e=>Object.values(bm).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>vm(e)},end:{type:String,default:e=>ym(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){bl();const{t:o}=fl(),r=nn(null),i=nn(null),s=nn(null),a=nn(null),l=nn(!1),{state:u,rangeArray:d}=function(e){const t=Ft({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=xi((()=>{let n=e.range;switch(e.mode){case bm.SELECTOR:return[n];case bm.MULTISELECTOR:return n;case bm.TIME:return t.timeArray;case bm.DATE:{const n=t.dateArray;switch(e.fields){case wm.YEAR:return[n[0]];case wm.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),f=Yc(r,t),{system:h,selectorTypeComputed:m,_show:g,_l10nColumn:v,_l10nItem:y,_input:_,_fixInputPosition:b,_pickerViewChange:w,_cancel:x,_change:S,_resetFormData:T,_getFormData:E,_createTime:C,_createDate:k,_setValueSync:O}=function(e,t,n,o,r,i,s){const a=function(){const e=nn(!1);return e.value=(()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0)(),e}(),l=function(){const e=nn("");return e.value=(()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""})(),e}(),c=xi((()=>{const t=e.selectorType;return Object.values(xm).includes(t)?t:a.value?xm.PICKER:xm.SELECT})),u=xi((()=>e.mode===bm.DATE&&!Object.values(wm).includes(e.fields)&&t.isDesktop?l.value:"")),d=xi((()=>_m(e,t,e.start,vm(e)))),f=xi((()=>_m(e,t,e.end,ym(e))));function h(n){if(e.disabled)return;t.valueChangeSource="";let o=r.value,i=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=i.getBoundingClientRect();t.popover={top:s.top,left:s.left,width:s.width,height:s.height},setTimeout((()=>{t.visible=!0}),20)}function m(){return{value:t.valueSync,key:e.name}}function g(){switch(e.mode){case bm.SELECTOR:t.valueSync=0;break;case bm.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case bm.DATE:case bm.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&t<n&&(n=t)}if(e.end){const t=new Date(e.end).getFullYear();!isNaN(t)&&t>o&&(o=t)}return{start:n,end:o}}function _(){let e=[];const n=y();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let r=[];for(let t=1;t<=31;t++)r.push((t<10?"0":"")+t);t.dateArray.push(e,o,r)}function b(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;n<e.length&&n<t.length;n++)e[n]=t[n]}function S(){let n=e.value;switch(e.mode){case bm.MULTISELECTOR:{p(n)||(n=t.valueArray),p(t.valueSync)||(t.valueSync=[]);const o=t.valueSync.length=Math.max(n.length,e.range.length);for(let r=0;r<o;r++){const o=Number(n[r]),i=Number(t.valueSync[r]),s=isNaN(o)?isNaN(i)?0:i:o,a=e.range[r]?e.range[r].length-1:0;t.valueSync.splice(r,1,s<0||s>a?0:s)}}break;case bm.TIME:case bm.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function T(){let n,o=t.valueSync;switch(e.mode){case bm.MULTISELECTOR:n=[...o];break;case bm.TIME:n=_m(e,t,o,ue({mode:bm.TIME}));break;case bm.DATE:n=_m(e,t,o,ue({mode:bm.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function E(){let n=t.valueArray;switch(e.mode){case bm.SELECTOR:return n[0];case bm.MULTISELECTOR:return n.map((e=>e));case bm.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case bm.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function C(){O(),t.valueChangeSource="click";const e=E();t.valueSync=p(e)?e.map((e=>e)):e,n("change",{},{value:e})}function k(e){if("firefox"===u.value&&e){const{top:n,left:o,width:r,height:i}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&s<o+r&&a>n&&a<n+i)return}O(),n("cancel",{},{})}function O(){t.visible=!1,setTimeout((()=>{let e=r.value;e.remove(),o.value.prepend(e),e.style.display="none"}),260)}function L(){e.mode===bm.SELECTOR&&c.value===xm.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function A(e){const n=e.target;t.valueSync=n.value,wn((()=>{C()}))}function $(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;s.value.style.left=e.clientX-t.left-1.5*n+"px",s.value.style.top=e.clientY-t.top-.5*n+"px"}}function M(e){t.valueArray=P(e.detail.value,!0)}function P(t,n){const{getLocale:o}=fl();if(e.mode===bm.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case wm.YEAR:return t;case wm.MONTH:return[t[1],t[0]];default:switch(r){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function j(t,n){const{getLocale:o}=fl();if(e.mode===bm.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==wm.YEAR&&n===(e.fields===wm.MONTH||"es"!==r&&"fr"!==r?0:1)){let e;switch(r){case"es":e=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return Gn((()=>t.visible),(e=>{e?(clearTimeout(Tm),t.contentVisible=e,L()):Tm=setTimeout((()=>{t.contentVisible=e}),300)})),Gn([()=>e.mode,()=>e.value,()=>e.range],S,{deep:!0}),Gn((()=>t.valueSync),T,{deep:!0}),Gn((()=>t.valueArray),(o=>{if(e.mode===bm.TIME||e.mode===bm.DATE){const n=e.mode===bm.TIME?b:w,o=t.valueArray,r=d.value,i=f.value;if(e.mode===bm.DATE){const e=t.dateArray,n=e[2].length,r=Number(e[2][o[2]])||1,i=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${r}`).getDate();i<r&&(o[2]-=i+n-r)}n(o)<n(r)?x(o,r):n(o)>n(i)&&x(o,i)}o.forEach(((o,r)=>{o!==t.oldValueArray[r]&&(t.oldValueArray[r]=o,e.mode===bm.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))}))})),{selectorTypeComputed:c,system:u,_show:h,_cancel:k,_change:C,_l10nColumn:P,_l10nItem:j,_input:A,_resetFormData:g,_getFormData:m,_createTime:v,_createDate:_,_setValueSync:S,_fixInputPosition:$,_pickerViewChange:M}}(e,u,f,r,i,s,a);!function(e,t,n){const{key:o,disable:r}=xh();Xn((()=>{r.value=!e.visible})),Gn(o,(e=>{"esc"===e?t():"enter"===e&&n()}))}(u,x,S),function(e,t){const n=mr(Gc,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),Bo((()=>{n.removeField(o)}))}}(T,E),C(),k(),O();const L=function(e){const t=nn(0),n=nn(0),o=xi((()=>t.value>=500&&n.value>=500)),r=xi((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},r=t.content,i=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(o.value&&s){c(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=a(s.left),t=a(s.width),o=a(s.top),l=a(s.height),u=e+t/2;r.transform="none !important";const d=Math.max(0,u-150);r.left=`${d}px`;let f=Math.max(12,u-d);f=Math.min(288,f),i.left=`${f}px`;const p=n.value/2;o+l-p>p-o?(r.top="auto",r.bottom=n.value-o+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(r.top=`${o+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return Ro((()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=sh();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),Do((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:o,popupStyle:r}}(u);return Xn((()=>{u.isDesktop=L.isDesktop.value,u.popupStyle=L.popupStyle.value})),Bo((()=>{i.value&&i.value.remove()})),Ro((()=>{l.value=!0})),()=>{let t;const{visible:c,contentVisible:f,valueArray:p,popupStyle:T,valueSync:E}=u,{rangeKey:C,mode:k,start:O,end:L}=e,A=Kc(e,"disabled");return Qr("uni-picker",si({ref:r},A,{onClick:Uc(g)}),[l.value?Qr("div",{ref:i,class:["uni-picker-container",`uni-${k}-${m.value}`],onWheel:Xl,onTouchmove:Xl},[Qr(Ai,{name:"uni-fade"},{default:()=>[to(Qr("div",{class:"uni-mask uni-picker-mask",onClick:Uc(x),onMousemove:b},null,40,["onClick","onMousemove"]),[[zi,c]])]}),h.value?null:Qr("div",{class:[{"uni-picker-toggle":c},"uni-picker-custom"],style:T.content},[Qr("div",{class:"uni-picker-header",onClick:Kl},[Qr("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:Uc(x)},[o("uni.picker.cancel")],8,["onClick"]),Qr("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:S},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?Qr(Af,{value:v(p),class:"uni-picker-content",onChange:w},gm(t=zo(v(d.value),((e,t)=>{let n;return Qr(If,{key:t},gm(n=zo(e,((e,n)=>Qr("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[C]||"":y(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,Qr("div",{ref:s,class:"uni-picker-select",onWheel:Kl,onTouchmove:Kl},[zo(d.value[0],((e,t)=>Qr("div",{key:t,class:["uni-picker-item",{selected:p[0]===t}],onClick:()=>{p[0]=t,S()}},["object"==typeof e?e[C]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),Qr("div",{style:T.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,Qr("div",null,[n.default&&n.default()]),h.value?Qr("div",{class:"uni-picker-system",onMousemove:Uc(b)},[Qr("input",{class:["uni-picker-system_input",h.value],ref:a,value:E,type:k,tabindex:"-1",min:O,max:L,onChange:e=>{_(e),Kl(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let Tm;const Em=c(Cl,{publishHandler(e,t,n){Cm.subscribeHandler(e,t,n)}}),Cm=c(Ac,{publishHandler(e,t,n){Em.subscribeHandler(e,t,n)}}),km=zc({name:"PageBody",setup(e,t){const n=nn(null);return Gn((()=>false.enablePullDownRefresh),(()=>{n.value=null}),{immediate:!0}),()=>Qr(Rr,null,[!1,Qr("uni-page-wrapper",n.value,[Qr("uni-page-body",null,[Uo(t.slots,"default")])],16)])}}),Om=zc({name:"Page",setup(e,t){const n=ip(ap());n.navigationBar;const o={};return hm(n),()=>Qr("uni-page",{"data-page":n.route,style:o},[Lm(t)])}});function Lm(e){return Hr(),Yr(km,{key:0},{default:Nn((()=>[Uo(e.slots,"page")])),_:3})}const Am={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Qu;const $m=Object.assign({}),Mm=Object.assign;window.__uniConfig=Mm({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",titleText:"uni-app",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"4.24"},{appId:"__UNI__F9A28FF",appName:"心悦搜剧-短剧搜索",appVersion:"1.0.0",appVersionCode:"100",async:Am,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys($m).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Mm(e[n]||(e[n]={}),$m[t].default),e}),{}),router:{mode:"hash",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Pm={delay:Am.delay,timeout:Am.timeout,suspensible:Am.suspensible};Am.loading&&(Pm.loadingComponent={name:"SystemAsyncLoading",render:()=>Qr(Hn(Am.loading))}),Am.error&&(Pm.errorComponent={name:"SystemAsyncError",render:()=>Qr(Hn(Am.error))});const jm=()=>t((()=>import("./pages-index-index.-O3dtvSQ.js")),__vite__mapDeps([0,1,2,3])).then((e=>zp(e.default||e))),Rm=vo(Mm({loader:jm},Pm)),Nm=()=>t((()=>import("./pages-index-list.DtImBNYA.js")),__vite__mapDeps([4,1,2,5])).then((e=>zp(e.default||e))),Im=vo(Mm({loader:Nm},Pm)),Bm=()=>t((()=>import("./pages-index-detail.-npdjvJE.js")),__vite__mapDeps([6,1,2,7])).then((e=>zp(e.default||e))),Dm=vo(Mm({loader:Bm},Pm));function Fm(e,t){return Hr(),Yr(Om,null,{page:Nn((()=>[Qr(e,Mm({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Fp(),t=e&&e.$route&&e.$route.query||{};return()=>Fm(Rm,t)}},loader:jm,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"首页",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/index/list",component:{setup(){const e=Fp(),t=e&&e.$route&&e.$route.query||{};return()=>Fm(Im,t)}},loader:Nm,meta:{navigationBar:{titleText:"搜索",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/index/detail",component:{setup(){const e=Fp(),t=e&&e.$route&&e.$route.query||{};return()=>Fm(Dm,t)}},loader:Bm,meta:{navigationBar:{titleText:"资源详情",style:"custom",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Hm={onLaunch:function(){Lh({url:baseURL+"api/tool/getConfig",success:e=>{this.$store.commit("setConfig",e.data.data)}})},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};function Vm(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}Wp(Hm,{init:Hp,setup(e){const t=sp(),n=()=>{var n;n=e,Object.keys(ld).forEach((e=>{ld[e].forEach((t=>{Mo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i,onError:s}=e,a=function({path:e,query:t}){return c(Xd,{path:e,query:t}),c(Kd,Xd),c({},Xd)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:_e(t.query)});if(o&&j(o,a),r&&j(r,a),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};i&&j(i,e)}s&&(e.appContext.config.errorHandler=e=>{j(s,e)})};return mr(Fa).isReady().then(n),Ro((()=>{window.addEventListener("resize",xe(Up,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Yp),document.addEventListener("visibilitychange",qp),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Cm.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Hr(),Yr(mm));e.setup=(e,o)=>{const r=t&&t(e,o);return g(r)?n:r},e.render=n}});const Wm="function"==typeof Proxy;class zm{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const s in e.settings){const t=e.settings[s];n[s]=t.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r={...n};try{const e=localStorage.getItem(o),t=JSON.parse(e);Object.assign(r,t)}catch(i){}this.fallbacks={getSettings:()=>r,setSettings(e){try{localStorage.setItem(o,JSON.stringify(e))}catch(i){}r=e}},t.on("plugin:settings:set",((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function Um(e,t){const n=Vm(),o=Vm().__VUE_DEVTOOLS_GLOBAL_HOOK__,r=Wm&&e.enableEarlyProxy;if(!o||!n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&r){const i=r?new zm(e,o):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}else o.emit("devtools-plugin:setup",e,t)}
|
||
/*!
|
||
* vuex v4.1.0
|
||
* (c) 2022 Evan You
|
||
* @license MIT
|
||
*/function Ym(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function qm(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Xm(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Gm(e,n,[],e._modules.root,!0),Km(e,n,t)}function Km(e,t,n){var o=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,s={},a={},l=Ne(!0);l.run((function(){Ym(i,(function(t,n){s[n]=function(e,t){return function(){return e(t)}}(t,e),a[n]=xi((function(){return s[n]()})),Object.defineProperty(e.getters,n,{get:function(){return a[n].value},enumerable:!0})}))})),e._state=Ft({data:t}),e._scope=l,e.strict&&function(e){Gn((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(e),o&&n&&e._withCommit((function(){o.data=null})),r&&r.stop()}function Gm(e,t,n,o,r){var i=!n.length,s=e._modules.getNamespace(n);if(o.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=o),!i&&!r){var a=Zm(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){a[l]=o.state}))}var c=o.context=function(e,t,n){var o=""===t,r={dispatch:o?e.dispatch:function(n,o,r){var i=Qm(n,o,r),s=i.payload,a=i.options,l=i.type;return a&&a.root||(l=t+l),e.dispatch(l,s)},commit:o?e.commit:function(n,o,r){var i=Qm(n,o,r),s=i.payload,a=i.options,l=i.type;a&&a.root||(l=t+l),e.commit(l,s,a)}};return Object.defineProperties(r,{getters:{get:o?function(){return e.getters}:function(){return Jm(e,t)}},state:{get:function(){return Zm(e.state,n)}}}),r}(e,s,n);o.forEachMutation((function(t,n){!function(e,t,n,o){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,o.state,t)}))}(e,s+n,t,c)})),o.forEachAction((function(t,n){var o=t.root?n:s+n,r=t.handler||t;!function(e,t,n,o){(e._actions[t]||(e._actions[t]=[])).push((function(t){var r,i=n.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},t);return(r=i)&&"function"==typeof r.then||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}(e,o,r,c)})),o.forEachGetter((function(t,n){!function(e,t,n,o){if(e._wrappedGetters[t])return;e._wrappedGetters[t]=function(e){return n(o.state,o.getters,e.state,e.getters)}}(e,s+n,t,c)})),o.forEachChild((function(o,i){Gm(e,t,n.concat(i),o,r)}))}function Jm(e,t){if(!e._makeLocalGettersCache[t]){var n={},o=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,o)===t){var i=r.slice(o);Object.defineProperty(n,i,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Zm(e,t){return t.reduce((function(e,t){return e[t]}),e)}function Qm(e,t,n){var o;return null!==(o=e)&&"object"==typeof o&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var eg=0;function tg(e,t){Um({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(n){n.addTimelineLayer({id:"vuex:mutations",label:"Vuex Mutations",color:ng}),n.addTimelineLayer({id:"vuex:actions",label:"Vuex Actions",color:ng}),n.addInspector({id:"vuex",label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&"vuex"===n.inspectorId)if(n.filter){var o=[];sg(o,t._modules.root,n.filter,""),n.rootNodes=o}else n.rootNodes=[ig(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var o=n.nodeId;Jm(t,o),n.state=function(e,t,n){t="root"===n?t:t[n];var o=Object.keys(t),r={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(o.length){var i=function(e){var t={};return Object.keys(e).forEach((function(n){var o=n.split("/");if(o.length>1){var r=t,i=o.pop();o.forEach((function(e){r[e]||(r[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),r=r[e]._custom.value})),r[i]=ag((function(){return e[n]}))}else t[n]=ag((function(){return e[n]}))})),t}(t);r.getters=Object.keys(i).map((function(e){return{key:e.endsWith("/")?rg(e):e,editable:!1,value:ag((function(){return i[e]}))}}))}return r}((r=t._modules,(s=(i=o).split("/").filter((function(e){return e}))).reduce((function(e,t,n){var o=e[t];if(!o)throw new Error('Missing module "'+t+'" for path "'+i+'".');return n===s.length-1?o:o._children}),"root"===i?r:r.root._children)),"root"===o?t.getters:t._makeLocalGettersCache,o)}var r,i,s})),n.on.editInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var o=n.nodeId,r=n.path;"root"!==o&&(r=o.split("/").filter(Boolean).concat(r)),t._withCommit((function(){n.set(t._state.data,r,n.state.value)}))}})),t.subscribe((function(e,t){var o={};e.payload&&(o.payload=e.payload),o.state=t,n.notifyComponentUpdate(),n.sendInspectorTree("vuex"),n.sendInspectorState("vuex"),n.addTimelineEvent({layerId:"vuex:mutations",event:{time:Date.now(),title:e.type,data:o}})})),t.subscribeAction({before:function(e,t){var o={};e.payload&&(o.payload=e.payload),e._id=eg++,e._time=Date.now(),o.state=t,n.addTimelineEvent({layerId:"vuex:actions",event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:o}})},after:function(e,t){var o={},r=Date.now()-e._time;o.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},e.payload&&(o.payload=e.payload),o.state=t,n.addTimelineEvent({layerId:"vuex:actions",event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:o}})}})}))}var ng=8702998,og={label:"namespaced",textColor:16777215,backgroundColor:6710886};function rg(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function ig(e,t){return{id:t||"root",label:rg(t),tags:e.namespaced?[og]:[],children:Object.keys(e._children).map((function(n){return ig(e._children[n],t+n+"/")}))}}function sg(e,t,n,o){o.includes(n)&&e.push({id:o||"root",label:o.endsWith("/")?o.slice(0,o.length-1):o||"Root",tags:t.namespaced?[og]:[]}),Object.keys(t._children).forEach((function(r){sg(e,t._children[r],n,o+r+"/")}))}function ag(e){try{return e()}catch(t){return t}}var lg=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},cg={namespaced:{configurable:!0}};cg.namespaced.get=function(){return!!this._rawModule.namespaced},lg.prototype.addChild=function(e,t){this._children[e]=t},lg.prototype.removeChild=function(e){delete this._children[e]},lg.prototype.getChild=function(e){return this._children[e]},lg.prototype.hasChild=function(e){return e in this._children},lg.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},lg.prototype.forEachChild=function(e){Ym(this._children,e)},lg.prototype.forEachGetter=function(e){this._rawModule.getters&&Ym(this._rawModule.getters,e)},lg.prototype.forEachAction=function(e){this._rawModule.actions&&Ym(this._rawModule.actions,e)},lg.prototype.forEachMutation=function(e){this._rawModule.mutations&&Ym(this._rawModule.mutations,e)},Object.defineProperties(lg.prototype,cg);var ug=function(e){this.register([],e,!1)};function dg(e,t,n){if(t.update(n),n.modules)for(var o in n.modules){if(!t.getChild(o))return;dg(e.concat(o),t.getChild(o),n.modules[o])}}ug.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},ug.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},ug.prototype.update=function(e){dg([],this.root,e)},ug.prototype.register=function(e,t,n){var o=this;void 0===n&&(n=!0);var r=new lg(t,n);0===e.length?this.root=r:this.get(e.slice(0,-1)).addChild(e[e.length-1],r);t.modules&&Ym(t.modules,(function(t,r){o.register(e.concat(r),t,n)}))},ug.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],o=t.getChild(n);o&&o.runtime&&t.removeChild(n)},ug.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var fg=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ug(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var i=this,s=this.dispatch,a=this.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return a.call(i,e,t,n)},this.strict=o;var l=this._modules.root.state;Gm(this,l,[],this._modules.root),Km(this,l),n.forEach((function(e){return e(t)}))},pg={state:{configurable:!0}};fg.prototype.install=function(e,t){e.provide(t||"store",this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&tg(e,this)},pg.state.get=function(){return this._state.data},pg.state.set=function(e){},fg.prototype.commit=function(e,t,n){var o=this,r=Qm(e,t,n),i=r.type,s=r.payload,a={type:i,payload:s},l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(a,o.state)})))},fg.prototype.dispatch=function(e,t){var n=this,o=Qm(e,t),r=o.type,i=o.payload,s={type:r,payload:i},a=this._actions[r];if(a){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(c){}var l=a.length>1?Promise.all(a.map((function(e){return e(i)}))):a[0](i);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(c){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(c){}t(e)}))}))}},fg.prototype.subscribe=function(e,t){return qm(e,this._subscribers,t)},fg.prototype.subscribeAction=function(e,t){return qm("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},fg.prototype.watch=function(e,t,n){var o=this;return Gn((function(){return e(o.state,o.getters)}),t,Object.assign({},n))},fg.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},fg.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),Gm(this,this.state,e,this._modules.get(e),n.preserveState),Km(this,this.state)},fg.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete Zm(t.state,e.slice(0,-1))[e[e.length-1]]})),Xm(this)},fg.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},fg.prototype.hotUpdate=function(e){this._modules.update(e),Xm(this,!0)},fg.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(fg.prototype,pg);const hg=new fg({state:{config:{}},mutations:{setConfig(e,t){e.config=t}}});(function(){const e=ws(Hm);return e.use(hg),{app:e}})().app.use(Mp).mount("#app");export{gs as $,_h as A,Oh as B,gp as C,td as D,vh as E,Rr as F,dm as G,fm as H,Ef as I,Qh as J,md as K,gd as L,Ph as M,ch as N,dh as O,fh as P,ph as Q,Ih as R,sh as S,Hh as T,zh as U,ah as V,hd as W,ad as X,cd as Y,Uo as Z,re as _,Hn as a,Ff as a0,sd as a1,to as a2,zi as a3,qf as a4,Wn as b,Yr as c,Qr as d,ti as e,ie as f,Zr as g,ys as h,Xf as i,ni as j,Ur as k,zo as l,of as m,Fh as n,Hr as o,Wf as p,cl as q,Lh as r,eu as s,q as t,Sm as u,Vh as v,Nn as w,cm as x,lh as y,Bh as z};
|