function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.F_WhoMrP.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/index-D-XPbgaD.css","assets/pages-create-index.BistVuQq.js","assets/audio.DwsFIuQc.js","assets/index-BxwRvl-1.css","assets/pages-history-index.CEVmSmoU.js","assets/index-BoAbYFdN.css","assets/pages-mine-index.CxA0PXbk.js","assets/index-DAVLIIA2.css","assets/pages-member-index.D8KNhv6G.js","assets/index-BBkMB7qv.css","assets/pages-player-index.Duoye2hE.js","assets/index-CWcfS7T-.css","assets/pages-login-index.C95zcaI2.js","assets/index-DphD2z50.css","assets/pages-ai-index.EF9hKGQd.js","assets/index-DvK1ndyS.css","assets/pages-ai-content-index.CUcSCcat.js","assets/index-7-0PYasr.css","assets/pages-learning-path-index.mDV2q8nR.js","assets/index-E0E7QbKa.css","assets/pages-favorites-index.RGVmocpY.js","assets/index-DnlsGnM-.css","assets/pages-search-index.DUjMkWBz.js","assets/index-aqhs_BPI.css","assets/pages-album-index.BwM-rjr3.js","assets/book-generator-api.DJmua_js.js","assets/index-9M8f62hO.css","assets/pages-albums-index.BtKMvbpX.js","assets/index-ByL8Nr_j.css","assets/pages-book-generator-index.DK-2uG5e.js","assets/index-DvC9vndt.css","assets/pages-video-generator-index.CNYZ7b_9.js","assets/video-generator-api.Cip3yDj1.js","assets/index-BmcKJqZs.css","assets/pages-video-generator-create.DIeZdTz7.js","assets/create-DfQuoL34.css","assets/pages-video-generator-preview.CHvEKhoE.js","assets/preview-CzCBePic.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){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),o=(null==t?void 0:t.nonce)||(null==t?void 0:t.getAttribute("nonce"));r=Promise.all(n.map(t=>{if((t=function(e){return"/"+e}(t))in e)return;e[t]=!0;const n=t.endsWith(".css"),r=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${r}`))return;const i=document.createElement("link");return i.rel=n?"stylesheet":"modulepreload",n||(i.as="script",i.crossOrigin=""),i.href=t,o&&i.setAttribute("nonce",o),document.head.appendChild(i),n?new Promise((e,n)=>{i.addEventListener("load",e),i.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${t}`)))}):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 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,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||g(e))&&g(e.then)&&g(e.catch),w=Object.prototype.toString,x=e=>w.call(e),T=e=>"[object Object]"===x(e),S=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,O=k(e=>e.replace(E,(e,t)=>t?t.toUpperCase():"")),L=/\B([A-Z])/g,$=k(e=>e.replace(L,"-$1").toLowerCase()),P=k(e=>e.charAt(0).toUpperCase()+e.slice(1)),A=k(e=>e?`on${P(e)}`:""),M=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},B=(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 j;const D=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function I(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?W(o):I(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||b(e))return e}const F=/;(?![^(]*\))/g,V=/:([^]+)/,H=/\/\*[^]*?\*\//g;function W(e){const t={};return e.replace(H,"").split(F).forEach(e=>{if(e){const n=e.split(V);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function q(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const o=q(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const U=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function z(e){return!!e||""===e}const Y=e=>v(e)?e:null==e?"":p(e)||b(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):!b(t)||p(t)||T(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","location-picker","location-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="\n",te=["%","%"],ne=/^([a-z-]+:)?\/\//i,oe=/^data:.*,.*/,re="onShow",ie="onHide",se="onLaunch",ae="onError",le="onThemeChange",ce="onPageNotFound",ue="onUnhandledRejection",de="onLoad",fe="onUnload",pe="onInit",he="onSaveExitState",me="onResize",ge="onBackPress",ve="onPageScroll",ye="onTabItemTap",be="onReachBottom",_e="onPullDownRefresh",we="onShareTimeline",xe="onShareChat",Te="onAddToFavorites",Se="onShareAppMessage",Ce="onNavigationBarButtonTap",ke="onNavigationBarSearchInputClicked",Ee="onNavigationBarSearchInputChanged",Oe="onNavigationBarSearchInputConfirmed",Le="onNavigationBarSearchInputFocusChanged",$e="onAppEnterForeground",Pe="onAppEnterBackground";function Ae(e){return 0===e.indexOf("/")}function Me(e){return Ae(e)?e:"/"+e}function Re(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}const Be=e=>e>9?e:"0"+e;function Ne({date:e=new Date,mode:t="date"}){return"time"===t?Be(e.getHours())+":"+Be(e.getMinutes()):e.getFullYear()+"-"+Be(e.getMonth()+1)+"-"+Be(e.getDate())}let je;function De(){return je||(je=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function e(){return this}return void 0!==e()?e():new Function("return this")()}(),je)}function Ie(e){if(!e)return;let t=e.type.name;for(;t&&Q($(t));)t=(e=e.parent).type.name;return e.proxy}function Fe(e){return 1===e.nodeType}function Ve(e){const t=De();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach(t=>{n[t]=e[t]}),I(n)}if(e instanceof Map){const t={};return e.forEach((e,n)=>{t[n]=e}),I(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):Ve(o);if(r)for(const e in r)t[e]=r[e]}return t}return I(e)}function He(e){let t="";const n=De();if(n&&n.UTSJSONObject&&e instanceof n.UTSJSONObject)n.UTSJSONObject.keys(e).forEach(n=>{e[n]&&(t+=n+" ")});else if(e instanceof Map)e.forEach((e,n)=>{e&&(t+=n+" ")});else if(p(e))for(let o=0;o<e.length;o++){const n=He(e[o]);n&&(t+=n+" ")}else t=q(e);return t.trim()}function We(e){return O(e.substring(5))}const qe=Re(e=>{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[We(t)]=o}n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[We(t)],o.call(this,t)}});function Ue(e){return c({},e.dataset,e.__uniDataset)}const ze=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Ye(e){return{passive:e}}function Xe(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:Ue(e),offsetTop:n,offsetLeft:o}}function Ke(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ge(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=Ke(e[n])}catch(o){t[n]=e[n]}}),t}const Je=/\+/g;function Ze(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(Je," ");let r=e.indexOf("="),i=Ke(r<0?e:e.slice(0,r)),s=r<0?null:Ke(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 Qe(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r);r=o(()=>e.apply(this,arguments),t)};return i.cancel=function(){n(r)},i}class et{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 tt=[pe,de,re,ie,fe,ge,ve,ye,be,_e,we,Se,xe,Te,he,Ce,ke,Ee,Oe,Le];const nt=[re,ie,se,ae,le,ce,ue,"onExit",pe,de,"onReady",fe,me,ge,ve,ye,be,_e,we,Te,Se,xe,he,Ce,ke,Ee,Oe,Le];const ot=[];const rt=Re((e,t)=>t(e)),it=function(){};it.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},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[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var st=it;const at={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function lt(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 at?at[o]:o}return r}var o;return t}function ct(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]=T(s)?ct(s,t,n):p(s)?s.map(e=>T(e)?ct(e,t,n):lt(o,e)):lt(o,s,i)}),r):e}
/**
* @dcloudio/uni-h5-vue v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ut,dt;class ft{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ut,!e&&ut&&(this.index=(ut.scopes||(ut.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=ut;try{return ut=this,e()}finally{ut=t}}}on(){ut=this}off(){ut=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 pt(e){return new ft(e)}function ht(){return ut}class mt{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=ut){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Tt();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(gt(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),St()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=_t,t=dt;try{return _t=!0,dt=this,this._runnings++,vt(this),this.fn()}finally{yt(this),this._runnings--,dt=t,_t=e}}stop(){var e;this.active&&(vt(this),yt(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function gt(e){return e.value}function vt(e){e._trackId++,e._depsLength=0}function yt(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)bt(e.deps[t],e);e.deps.length=e._depsLength}}function bt(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let _t=!0,wt=0;const xt=[];function Tt(){xt.push(_t),_t=!1}function St(){const e=xt.pop();_t=void 0===e||e}function Ct(){wt++}function kt(){for(wt--;!wt&&Ot.length;)Ot.shift()()}function Et(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&bt(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ot=[];function Lt(e,t,n){Ct();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&&Ot.push(o.scheduler)))}kt()}const $t=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Pt=new WeakMap,At=Symbol(""),Mt=Symbol("");function Rt(e,t,n){if(_t&&dt){let t=Pt.get(e);t||Pt.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=$t(()=>t.delete(n))),Et(dt,o)}}function Bt(e,t,n,o,r,i){const s=Pt.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)?S(n)&&a.push(s.get("length")):(a.push(s.get(At)),h(e)&&a.push(s.get(Mt)));break;case"delete":p(e)||(a.push(s.get(At)),h(e)&&a.push(s.get(Mt)));break;case"set":h(e)&&a.push(s.get(At))}Ct();for(const l of a)l&&Lt(l,4);kt()}const Nt=n("__proto__,__v_isRef,__isVue"),jt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(y)),Dt=It();function It(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=On(this);for(let t=0,r=this.length;t<r;t++)Rt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(On)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...e){Tt(),Ct();const n=On(this)[t].apply(this,e);return kt(),St(),n}}),e}function Ft(e){const t=On(this);return Rt(t,0,e),t.hasOwnProperty(e)}class Vt{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?yn:vn:r?gn:mn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&f(Dt,t))return Reflect.get(Dt,t,n);if("hasOwnProperty"===t)return Ft}const s=Reflect.get(e,t,n);return(y(t)?jt.has(t):Nt(t))?s:(o||Rt(e,0,t),r?s:Bn(s)?i&&S(t)?s:s.value:b(s)?o?xn(s):_n(s):s)}}class Ht extends Vt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Cn(r);if(kn(n)||Cn(n)||(r=On(r),n=On(n)),!p(e)&&Bn(r)&&!Bn(n))return!t&&(r.value=n,!0)}const i=p(e)&&S(t)?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,o);return e===On(o)&&(i?M(n,r)&&Bt(e,"set",t,n):Bt(e,"add",t,n)),s}deleteProperty(e,t){const n=f(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Bt(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&jt.has(t)||Rt(e,0,t),n}ownKeys(e){return Rt(e,0,p(e)?"length":At),Reflect.ownKeys(e)}}class Wt extends Vt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const qt=new Ht,Ut=new Wt,zt=new Ht(!0),Yt=e=>e,Xt=e=>Reflect.getPrototypeOf(e);function Kt(e,t,n=!1,o=!1){const r=On(e=e.__v_raw),i=On(t);n||(M(t,i)&&Rt(r,0,t),Rt(r,0,i));const{has:s}=Xt(r),a=o?Yt:n?Pn:$n;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function Gt(e,t=!1){const n=this.__v_raw,o=On(n),r=On(e);return t||(M(e,r)&&Rt(o,0,e),Rt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function Jt(e,t=!1){return e=e.__v_raw,!t&&Rt(On(e),0,At),Reflect.get(e,"size",e)}function Zt(e){e=On(e);const t=On(this);return Xt(t).has.call(t,e)||(t.add(e),Bt(t,"add",e,e)),this}function Qt(e,t){t=On(t);const n=On(this),{has:o,get:r}=Xt(n);let i=o.call(n,e);i||(e=On(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?M(t,s)&&Bt(n,"set",e,t):Bt(n,"add",e,t),this}function en(e){const t=On(this),{has:n,get:o}=Xt(t);let r=n.call(t,e);r||(e=On(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Bt(t,"delete",e,void 0),i}function tn(){const e=On(this),t=0!==e.size,n=e.clear();return t&&Bt(e,"clear",void 0,void 0),n}function nn(e,t){return function(n,o){const r=this,i=r.__v_raw,s=On(i),a=t?Yt:e?Pn:$n;return!e&&Rt(s,0,At),i.forEach((e,t)=>n.call(o,a(e),a(t),r))}}function on(e,t,n){return function(...o){const r=this.__v_raw,i=On(r),s=h(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?Yt:t?Pn:$n;return!t&&Rt(i,0,l?Mt:At),{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 rn(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function sn(){const e={get(e){return Kt(this,e)},get size(){return Jt(this)},has:Gt,add:Zt,set:Qt,delete:en,clear:tn,forEach:nn(!1,!1)},t={get(e){return Kt(this,e,!1,!0)},get size(){return Jt(this)},has:Gt,add:Zt,set:Qt,delete:en,clear:tn,forEach:nn(!1,!0)},n={get(e){return Kt(this,e,!0)},get size(){return Jt(this,!0)},has(e){return Gt.call(this,e,!0)},add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear"),forEach:nn(!0,!1)},o={get(e){return Kt(this,e,!0,!0)},get size(){return Jt(this,!0)},has(e){return Gt.call(this,e,!0)},add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear"),forEach:nn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=on(r,!1,!1),n[r]=on(r,!0,!1),t[r]=on(r,!1,!0),o[r]=on(r,!0,!0)}),[e,n,t,o]}const[an,ln,cn,un]=sn();function dn(e,t){const n=t?e?un:cn:e?ln:an;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 fn={get:dn(!1,!1)},pn={get:dn(!1,!0)},hn={get:dn(!0,!1)},mn=new WeakMap,gn=new WeakMap,vn=new WeakMap,yn=new WeakMap;function bn(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 _n(e){return Cn(e)?e:Tn(e,!1,qt,fn,mn)}function wn(e){return Tn(e,!1,zt,pn,gn)}function xn(e){return Tn(e,!0,Ut,hn,vn)}function Tn(e,t,n,o,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=bn(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Sn(e){return Cn(e)?Sn(e.__v_raw):!(!e||!e.__v_isReactive)}function Cn(e){return!(!e||!e.__v_isReadonly)}function kn(e){return!(!e||!e.__v_isShallow)}function En(e){return Sn(e)||Cn(e)}function On(e){const t=e&&e.__v_raw;return t?On(t):e}function Ln(e){return Object.isExtensible(e)&&B(e,"__v_skip",!0),e}const $n=e=>b(e)?_n(e):e,Pn=e=>b(e)?xn(e):e;class An{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 mt(()=>e(this._value),()=>Rn(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=On(this);return e._cacheable&&!e.effect.dirty||!M(e._value,e._value=e.effect.run())||Rn(e,4),Mn(e),e.effect._dirtyLevel>=2&&Rn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Mn(e){var t;_t&&dt&&(e=On(e),Et(dt,null!=(t=e.dep)?t:e.dep=$t(()=>e.dep=void 0,e instanceof An?e:void 0)))}function Rn(e,t=4,n){const o=(e=On(e)).dep;o&&Lt(o,t)}function Bn(e){return!(!e||!0!==e.__v_isRef)}function Nn(e){return Dn(e,!1)}function jn(e){return Dn(e,!0)}function Dn(e,t){return Bn(e)?e:new In(e,t)}class In{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:On(e),this._value=t?e:$n(e)}get value(){return Mn(this),this._value}set value(e){const t=this.__v_isShallow||kn(e)||Cn(e);e=t?e:On(e),M(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:$n(e),Rn(this,4))}}function Fn(e){return Bn(e)?e.value:e}const Vn={get:(e,t,n)=>Fn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Bn(r)&&!Bn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Hn(e){return Sn(e)?e:new Proxy(e,Vn)}class Wn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=On(this._object),t=this._key,null==(n=Pt.get(e))?void 0:n.get(t);var e,t,n}}function qn(e,t,n){const o=e[t];return Bn(o)?o:new Wn(e,t,n)}function Un(e,t,n,o){try{return o?e(...o):e()}catch(r){Yn(r,t,n)}}function zn(e,t,n,o){if(g(e)){const r=Un(e,t,n,o);return r&&_(r)&&r.catch(e=>{Yn(e,t,n)}),r}const r=[];for(let i=0;i<e.length;i++)r.push(zn(e[i],t,n,o));return r}function Yn(e,t,n,o=!0){const r=t?t.vnode:null;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 Un(s,null,10,[e,r,i])}Xn(e,n,r,o)}function Xn(e,t,n,o=!0){console.error(e)}let Kn=!1,Gn=!1;const Jn=[];let Zn=0;const Qn=[];let eo=null,to=0;const no=Promise.resolve();let oo=null;function ro(e){const t=oo||no;return e?t.then(this?e.bind(this):e):t}function io(e){Jn.length&&Jn.includes(e,Kn&&e.allowRecurse?Zn+1:Zn)||(null==e.id?Jn.push(e):Jn.splice(function(e){let t=Zn+1,n=Jn.length;for(;t<n;){const o=t+n>>>1,r=Jn[o],i=co(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),so())}function so(){Kn||Gn||(Gn=!0,oo=no.then(fo))}function ao(e,t,n=(Kn?Zn+1:0)){for(;n<Jn.length;n++){const t=Jn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;Jn.splice(n,1),n--,t()}}}function lo(e){if(Qn.length){const e=[...new Set(Qn)].sort((e,t)=>co(e)-co(t));if(Qn.length=0,eo)return void eo.push(...e);for(eo=e,to=0;to<eo.length;to++)eo[to]();eo=null,to=0}}const co=e=>null==e.id?1/0:e.id,uo=(e,t)=>{const n=co(e)-co(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function fo(e){Gn=!1,Kn=!0,Jn.sort(uo);try{for(Zn=0;Zn<Jn.length;Zn++){const e=Jn[Zn];e&&!1!==e.active&&Un(e,null,14)}}finally{Zn=0,Jn.length=0,lo(),Kn=!1,oo=null,(Jn.length||Qn.length)&&fo()}}function po(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=A(t)]||r[l=A(O(t))];!c&&s&&(c=r[l=A($(t))]),c&&zn(c,e,6,ho(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,zn(u,e,6,ho(e,u,i))}}function ho(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 mo(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=mo(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),b(e)&&o.set(e,s),s):(b(e)&&o.set(e,null),null)}function go(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,$(t))||f(e,t))}let vo=null,yo=null;function bo(e){const t=vo;return vo=e,yo=e&&e.type.__scopeId||null,t}function _o(e,t=vo,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Ei(-1);const r=bo(t);let i;try{i=e(...n)}finally{bo(r),o._d&&Ei(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function wo(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 b=bo(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=Vi(d.call(t,e,f,i,h,p,m)),y=c}else{const e=t;0,v=Vi(e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)),y=t.props?c:xo(c)}}catch(w){Ti.length=0,Yn(w,e,1),v=ji(wi)}let _=v;if(y&&!1!==g){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(l)&&(y=To(y,s)),_=Di(_,y))}return n.dirs&&(_=Di(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,bo(b),v}const xo=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},To=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function So(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]&&!go(n,i))return!0}return!1}const Co="components";function ko(e,t){return Lo(Co,e,!0,t)||e}const Eo=Symbol.for("v-ndc");function Oo(e){return v(e)?Lo(Co,e,!1)||e:e||Eo}function Lo(e,t,n=!0,o=!1){const r=vo||Xi;if(r){const n=r.type;{const e=is(n,!1);if(e&&(e===t||e===O(t)||e===P(O(t))))return n}const i=$o(r[e]||n[e],t)||$o(r.appContext[e],t);return!i&&o?n:i}}function $o(e,t){return e&&(e[t]||e[O(t)]||e[P(O(t))])}const Po=e=>e.__isSuspense;const Ao=Symbol.for("v-scx");function Mo(e,t){return No(e,null,t)}const Ro={};function Bo(e,t,n){return No(e,t,n)}function No(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),k()}}const d=Xi,f=e=>!0===r?e:Io(e,!1===r?1:void 0);let h,m,v=!1,y=!1;if(Bn(e)?(h=()=>e.value,v=kn(e)):Sn(e)?(h=()=>f(e),v=!0):p(e)?(y=!0,v=e.some(e=>Sn(e)||kn(e)),h=()=>e.map(e=>Bn(e)?e.value:Sn(e)?f(e):g(e)?Un(e,d,2):void 0)):h=g(e)?t?()=>Un(e,d,2):()=>(m&&m(),zn(e,d,3,[_])):i,t&&r){const e=h;h=()=>Io(e())}let b,_=e=>{m=S.onStop=()=>{Un(e,d,4),m=S.onStop=void 0}};if(ts){if(_=i,t?n&&zn(t,d,3,[h(),y?[]:void 0,_]):h(),"sync"!==s)return i;{const e=Qr(Ao);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Ro):Ro;const x=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(r||v||(y?e.some((e,t)=>M(e,w[t])):M(e,w)))&&(m&&m(),zn(t,d,3,[e,w===Ro?void 0:y&&w[0]===Ro?[]:w,_]),w=e)}else S.run()};let T;x.allowRecurse=!!t,"sync"===s?T=x:"post"===s?T=()=>pi(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),T=()=>io(x));const S=new mt(h,i,T),C=ht(),k=()=>{S.stop(),C&&u(C.effects,S)};return t?n?x():w=S.run():"post"===s?pi(S.run.bind(S),d&&d.suspense):S.run(),b&&b.push(k),k}function jo(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?Do(o,e):()=>o[e]:e.bind(o,o);let i;g(t)?i=t:(i=t.handler,n=t);const s=Zi(this),a=No(r,i.bind(o),n);return s(),a}function Do(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 Io(e,t,n=0,o){if(!b(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),Bn(e))Io(e.value,t,n,o);else if(p(e))for(let r=0;r<e.length;r++)Io(e[r],t,n,o);else if(m(e)||h(e))e.forEach(e=>{Io(e,t,n,o)});else if(T(e))for(const r in e)Io(e[r],t,n,o);return e}function Fo(e,t){if(null===vo)return e;const n=rs(vo)||vo.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&&Io(s),r.push({dir:e,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function Vo(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&&(Tt(),zn(l,n,8,[e.el,a,e,t]),St())}}const Ho=Symbol("_leaveCb"),Wo=Symbol("_enterCb");const qo=[Function,Array],Uo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qo,onEnter:qo,onAfterEnter:qo,onEnterCancelled:qo,onBeforeLeave:qo,onLeave:qo,onAfterLeave:qo,onLeaveCancelled:qo,onBeforeAppear:qo,onAppear:qo,onAfterAppear:qo,onAppearCancelled:qo},zo={name:"BaseTransition",props:Uo,setup(e,{slots:t}){const n=Ki(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return br(()=>{e.isMounted=!0}),xr(()=>{e.isUnmounting=!0}),e}();return()=>{const r=t.default&&Zo(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==wi){i=e;break}const s=On(e),{mode:a}=s;if(o.isLeaving)return Ko(i);const l=Go(i);if(!l)return Ko(i);const c=Xo(l,s,o,n);Jo(l,c);const u=n.subTree,d=u&&Go(u);if(d&&d.type!==wi&&!Ai(l,d)){const e=Xo(d,s,o,n);if(Jo(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Ko(i);"in-out"===a&&l.type!==wi&&(e.delayLeave=(e,t,n)=>{Yo(o,d)[String(d.key)]=d,e[Ho]=()=>{t(),e[Ho]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function Yo(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 Xo(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:b}=t,_=String(e.key),w=Yo(n,e),x=(e,t)=>{e&&zn(e,o,9,t)},T=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},S={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=g||a}t[Ho]&&t[Ho](!0);const i=w[_];i&&Ai(e,i)&&i.el[Ho]&&i.el[Ho](),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=b||u}let s=!1;const a=e[Wo]=t=>{s||(s=!0,x(t?i:o,[e]),S.delayedLeave&&S.delayedLeave(),e[Wo]=void 0)};t?T(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[Wo]&&t[Wo](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t[Ho]=n=>{i||(i=!0,o(),x(n?m:h,[t]),t[Ho]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?T(f,[t,s]):s()},clone:e=>Xo(e,t,n,o)};return S}function Ko(e){if(or(e))return(e=Di(e)).children=null,e}function Go(e){return or(e)?e.children?e.children[0]:void 0:e}function Jo(e,t){6&e.shapeFlag&&e.component?Jo(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 Zo(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===bi?(128&s.patchFlag&&r++,o=o.concat(Zo(s.children,t,a))):(t||s.type!==wi)&&o.push(null!=a?Di(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 Qo(e,t){return g(e)?(()=>c({name:e.name},t,{setup:e}))():e}const er=e=>!!e.type.__asyncLoader;
/*! #__NO_SIDE_EFFECTS__ */function tr(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 Qo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Xi;if(l)return()=>nr(l,e);const t=t=>{c=null,Yn(t,e,13,!o)};if(s&&e.suspense||ts)return d().then(t=>()=>nr(t,e)).catch(e=>(t(e),()=>o?ji(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&&or(e.parent.vnode)&&(e.parent.effect.dirty=!0,io(e.parent.update))}).catch(e=>{t(e),u.value=e}),()=>a.value&&l?nr(l,e):u.value&&o?ji(o,{error:u.value}):n&&!f.value?ji(n):void 0}})}function nr(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=ji(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const or=e=>e.type.__isKeepAlive;class rr{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 ir={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=Ki(),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 rr(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Ai(t,i)||"key"===e.matchBy&&t.key!==i.key?(fr(o=t),u(o,n,a,!0)):i&&fr(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=hr(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,R(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),pi(()=>{i.isDeactivated=!1,i.a&&R(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Ui(t,i.parent,e)},a)},o.deactivate=e=>{const t=e.component;t.bda&&mr(t.bda),c(e,f,null,1,a),pi(()=>{t.bda&&t.bda.forEach(e=>e.__called=!1),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Ui(n,t.parent,e),t.isDeactivated=!0},a)},Bo(()=>[e.include,e.exclude,e.matchBy],([e,t])=>{e&&p(t=>ar(e,t)),t&&p(e=>!ar(t,e))},{flush:"post",deep:!0});let h=null;const m=()=>{null!=h&&r.set(h,pr(n.subTree))};return br(m),wr(m),xr(()=>{r.forEach((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=pr(i);if(t.type===l.type&&("key"!==e.matchBy||t.key===l.key)){l.component.bda&&R(l.component.bda),fr(l);const e=l.component.da;return void(e&&pi(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(!Pi(o)||!(4&o.shapeFlag)&&!Po(o.type))return i=null,o;let s=pr(o);const a=s.type,l=hr(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!ar(c,l))||u&&l&&ar(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=Di(s),Po(o.type)&&(o.ssContent=s)),h=d,f&&(s.el=f.el,s.component=f.component,s.transition&&Jo(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Po(o.type)?o:s}}},sr=ir;function ar(e,t){return p(e)?e.some(e=>ar(e,t)):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function lr(e,t){ur(e,"a",t)}function cr(e,t){ur(e,"da",t)}function ur(e,t,n=Xi){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,gr(t,o,n),n){let e=n.parent;for(;e&&e.parent;)or(e.parent.vnode)&&dr(o,t,n,e),e=e.parent}}function dr(e,t,n,o){const r=gr(t,e,o,!0);Tr(()=>{u(o[t],r)},n)}function fr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function pr(e){return Po(e.type)?e.ssContent:e}function hr(e,t){if("name"===t){const t=e.type;return is(er(e)?t.__asyncResolved||{}:t)}return String(e.key)}function mr(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function gr(e,t,n=Xi,o=!1){if(n){if(r=e,tt.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return[de,re].indexOf(e)>-1}(e))){const o=n.proxy;zn(t.bind(o),n,e,de===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Tt();const r=Zi(n),i=zn(t,n,e,o);return r(),St(),i});return o?i.unshift(s):i.push(s),s}var r}const vr=e=>(t,n=Xi)=>(!ts||"sp"===e)&&gr(e,(...e)=>t(...e),n),yr=vr("bm"),br=vr("m"),_r=vr("bu"),wr=vr("u"),xr=vr("bum"),Tr=vr("um"),Sr=vr("sp"),Cr=vr("rtg"),kr=vr("rtc");function Er(e,t=Xi){gr("ec",e,t)}function Or(e,t,n,o){let r;const i=n;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)}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)}else if(b(e))if(e[Symbol.iterator])r=Array.from(e,(e,n)=>t(e,n,void 0,i));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)}}else r=[];return r}function Lr(e,t,n={},o,r){if(vo.isCE||vo.parent&&er(vo.parent)&&vo.parent.isCE)return"default"!==t&&(n.name=t),ji("slot",n,o);let i=e[t];i&&i._c&&(i._d=!1),Ci();const s=i&&$r(i(n)),a=$i(bi,{key:n.key||s&&s.key||`_${t}`},s||[],s&&1===e._?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function $r(e){return e.some(e=>!Pi(e)||e.type!==wi&&!(e.type===bi&&!$r(e.children)))?e:null}const Pr=e=>{if(!e)return null;if(es(e)){return rs(e)||e.proxy}return Pr(e.parent)},Ar=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=>Pr(e.parent),$root:e=>Pr(e.root),$emit:e=>e.emit,$options:e=>Fr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,io(e.update)})(e)),$nextTick:e=>e.n||(e.n=ro.bind(e.proxy)),$watch:e=>jo.bind(e)}),Mr=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Rr={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(Mr(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];Nr&&(a[t]=0)}}const d=Ar[t];let p,h;return d?("$attrs"===t&&Rt(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 Mr(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)||Mr(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(Ar,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 Br(e){return p(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let Nr=!0;function jr(e){const t=Fr(e),n=e.proxy,o=e.ctx;Nr=!1,t.beforeCreate&&Dr(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:_,beforeDestroy:w,beforeUnmount:x,destroyed:T,unmounted:S,render:C,renderTracked:k,renderTriggered:E,errorCaptured:O,serverPrefetch:L,expose:$,inheritAttrs:P,components:A,directives:M,filters:R}=t;if(u&&function(e,t){p(e)&&(e=qr(e));for(const n in e){const o=e[n];let r;r=b(o)?"default"in o?Qr(o.from||n,o.default,!0):Qr(o.from||n):Qr(o),Bn(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=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);b(t)&&(e.data=_n(t))}if(Nr=!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=ss({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)Ir(l[i],o,n,i);if(c){const e=g(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{Zr(t,e[t])})}function B(e,t){p(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&Dr(d,e,"c"),B(yr,f),B(br,h),B(_r,m),B(wr,v),B(lr,y),B(cr,_),B(Er,O),B(kr,k),B(Cr,E),B(xr,x),B(Tr,S),B(Sr,L),p($))if($.length){const t=e.exposed||(e.exposed={});$.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});C&&e.render===i&&(e.render=C),null!=P&&(e.inheritAttrs=P),A&&(e.components=A),M&&(e.directives=M);const N=e.appContext.config.globalProperties.$applyOptions;N&&N(t,e,n)}function Dr(e,t,n){zn(p(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ir(e,t,n,o){const r=o.includes(".")?Do(n,o):()=>n[o];if(v(e)){const n=t[e];g(n)&&Bo(r,n)}else if(g(e))Bo(r,e.bind(n));else if(b(e))if(p(e))e.forEach(e=>Ir(e,t,n,o));else{const o=g(e.handler)?e.handler.bind(n):t[e.handler];g(o)&&Bo(r,o,e)}}function Fr(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=>Vr(l,e,s,!0)),Vr(l,t,s)):l=t,b(t)&&i.set(t,l),l}function Vr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Vr(e,i,n,!0),r&&r.forEach(t=>Vr(e,t,n,!0));for(const s in t)if(o&&"expose"===s);else{const o=Hr[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const Hr={data:Wr,props:Yr,emits:Yr,methods:zr,computed:zr,beforeCreate:Ur,created:Ur,beforeMount:Ur,mounted:Ur,beforeUpdate:Ur,updated:Ur,beforeDestroy:Ur,beforeUnmount:Ur,destroyed:Ur,unmounted:Ur,activated:Ur,deactivated:Ur,errorCaptured:Ur,serverPrefetch:Ur,components:zr,directives:zr,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]=Ur(e[o],t[o]);return n},provide:Wr,inject:function(e,t){return zr(qr(e),qr(t))}};function Wr(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 qr(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ur(e,t){return e?[...new Set([].concat(e,t))]:t}function zr(e,t){return e?c(Object.create(null),e,t):t}function Yr(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:c(Object.create(null),Br(e),Br(null!=t?t:{})):t}function Xr(){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 Kr=0;function Gr(e,t){return function(t,n=null){g(t)||(t=c({},t)),null==n||b(n)||(n=null);const o=Xr(),r=new WeakSet;let i=!1;const s=o.app={_uid:Kr++,_component:t,_props:n,_container:null,_context:o,_instance:null,version:ls,get config(){return o.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&g(e.install)?(r.add(e),e.install(s,...t)):g(e)&&(r.add(e),e(s,...t))),s),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),s),component:(e,t)=>t?(o.components[e]=t,s):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,s):o.directives[e],mount(r,a,l){if(!i){const a=ji(t,n);return a.appContext=o,!0===l?l="svg":!1===l&&(l=void 0),e(a,r,l),i=!0,s._container=r,r.__vue_app__=s,s._instance=a.component,rs(a.component)||a.component.proxy}},unmount(){i&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,s),runWithContext(e){const t=Jr;Jr=s;try{return e()}finally{Jr=t}}};return s}}let Jr=null;function Zr(e,t){if(Xi){let n=Xi.provides;const o=Xi.parent&&Xi.parent.provides;o===n&&(n=Xi.provides=Object.create(o)),n[e]=t,"app"===Xi.type.mpType&&Xi.appContext.app.provide(e,t)}else;}function Qr(e,t,n=!1){const o=Xi||vo;if(o||Jr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Jr._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 ei(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(C(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:go(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(s){const t=On(n),r=a||o;for(let o=0;o<s.length;o++){const a=s[o];n[a]=ti(i,t,a,r[a],e,!f(r,a))}}return l}function ti(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=Zi(r);o=i[n]=e.call(null,t),s()}}else o=e}s[0]&&(i&&!e?o=!1:!s[1]||""!==o&&o!==$(n)||(o=!0))}return o}function ni(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]=ni(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 b(e)&&i.set(e,r),r;if(p(a))for(let r=0;r<a.length;r++){const e=O(a[r]);oi(e)&&(l[e]=o)}else if(a)for(const o in a){const e=O(o);if(oi(e)){const t=a[o],n=l[e]=p(t)||g(t)?{type:t}:c({},t);if(n){const t=si(Boolean,n.type),o=si(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 b(e)&&i.set(e,h),h}function oi(e){return"$"!==e[0]&&!C(e)}function ri(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 ii(e,t){return ri(e)===ri(t)}function si(e,t){return p(t)?t.findIndex(t=>ii(t,e)):g(t)&&ii(t,e)?0:-1}const ai=e=>"_"===e[0]||"$stable"===e,li=e=>p(e)?e.map(Vi):[Vi(e)],ci=(e,t,n)=>{if(t._n)return t;const o=_o((...e)=>li(t(...e)),n);return o._c=!1,o},ui=(e,t,n)=>{const o=e._ctx;for(const r in e){if(ai(r))continue;const n=e[r];if(g(n))t[r]=ci(0,n,o);else if(null!=n){const e=li(n);t[r]=()=>e}}},di=(e,t)=>{const n=li(t);e.slots.default=()=>n};function fi(e,t,n,r,i=!1){if(p(e))return void e.forEach((e,o)=>fi(e,t&&(p(t)?t[o]:t),n,r,i));if(er(r)&&!i)return;const s=4&r.shapeFlag?rs(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)):Bn(d)&&(d.value=null)),g(c))Un(c,l,12,[a,h]);else{const t=v(c),o=Bn(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,pi(r,n)):r()}}}const pi=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?Qn.push(...n):eo&&eo.includes(n,n.allowRecurse?to+1:to)||Qn.push(n),so())};function hi(e){return function(e){D().__VUE__=!0;const{insert:t,remove:n,patchProp:s,forcePatchProp:a,createElement:l,createText:u,createComment:d,setText:p,setElementText:h,parentNode:m,nextSibling:g,setScopeId:v=i,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,i=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ai(e,t)&&(o=ee(e),K(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 _i:w(e,t,n,o);break;case wi:x(e,t,n,o);break;case xi:null==e&&T(t,n,o,s);break;case bi:I(e,t,n,o,r,i,s,a,l);break;default:1&d?E(e,t,n,o,r,i,s,a,l):6&d?F(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,oe)}null!=u&&r&&fi(u,e&&e.ref,i,t||e,!t)},w=(e,n,o,r)=>{if(null==e)t(n.el=u(n.children),o,r);else{const t=n.el=e.el;n.children!==e.children&&p(t,n.children)}},x=(e,n,o,r)=>{null==e?t(n.el=d(n.children||""),o,r):n.el=e.el},T=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o,e.el,e.anchor)},S=({el:e,anchor:n},o,r)=>{let i;for(;e&&e!==n;)i=g(e),t(e,o,r),e=i;t(n,o,r)},k=({el:e,anchor:t})=>{let o;for(;e&&e!==t;)o=g(e),n(e),e=o;n(t)},E=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?L(t,n,o,r,i,s,a,l):M(e,t,r,i,s,a,l)},L=(e,n,o,r,i,a,c,u)=>{let d,f;const{props:p,shapeFlag:m,transition:g,dirs:v}=e;if(d=e.el=l(e.type,a,p&&p.is,p),8&m?h(d,e.children):16&m&&A(e.children,d,null,r,i,mi(e,a),c,u),v&&Vo(e,null,r,"created"),P(d,e,e.scopeId,c,r),p){for(const t in p)"value"===t||C(t)||s(d,t,null,p[t],a,e.children,r,i,Q);"value"in p&&s(d,"value",null,p.value,a),(f=p.onVnodeBeforeMount)&&Ui(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&Vo(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,g);y&&g.beforeEnter(d),t(d,n,o),((f=p&&p.onVnodeMounted)||y||v)&&pi(()=>{f&&Ui(f,r,e),y&&g.enter(d),v&&Vo(e,null,r,"mounted")},i)},P=(e,t,n,o,r)=>{if(n&&v(e,n),o)for(let i=0;i<o.length;i++)v(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;P(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},A=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Hi(e[c]):Vi(e[c]);b(null,l,t,n,o,r,i,s,a)}},M=(e,t,n,r,i,l,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const m=e.props||o,g=t.props||o;let v;if(n&&gi(n,!1),(v=g.onVnodeBeforeUpdate)&&Ui(v,n,t,e),p&&Vo(t,e,n,"beforeUpdate"),n&&gi(n,!0),f?N(e.dynamicChildren,f,u,n,r,mi(t,i),l):c||U(e,t,u,null,n,r,mi(t,i),l,!1),d>0){if(16&d)j(u,t,m,g,n,r,i);else if(2&d&&m.class!==g.class&&s(u,"class",null,g.class,i),4&d&&s(u,"style",m.style,g.style,i),8&d){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const l=o[t],c=m[l],d=g[l];(d!==c||"value"===l||a&&a(u,l))&&s(u,l,c,d,i,e.children,n,r,Q)}}1&d&&e.children!==t.children&&h(u,t.children)}else c||null!=f||j(u,t,m,g,n,r,i);((v=g.onVnodeUpdated)||p)&&pi(()=>{v&&Ui(v,n,t,e),p&&Vo(t,e,n,"updated")},r)},N=(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===bi||!Ai(l,c)||70&l.shapeFlag)?m(l.el):n;b(l,c,u,null,o,r,i,s,!0)}},j=(e,t,n,r,i,l,c)=>{if(n!==r){if(n!==o)for(const o in n)C(o)||o in r||s(e,o,n[o],null,c,t.children,i,l,Q);for(const o in r){if(C(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||a&&a(e,o))&&s(e,o,d,u,c,t.children,i,l,Q)}"value"in r&&s(e,"value",n.value,r.value,c)}},I=(e,n,o,r,i,s,a,l,c)=>{const d=n.el=e?e.el:u(""),f=n.anchor=e?e.anchor:u("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:m}=n;m&&(l=l?l.concat(m):m),null==e?(t(d,o,r),t(f,o,r),A(n.children||[],o,f,i,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(N(e.dynamicChildren,h,o,i,s,a,l),(null!=n.key||i&&n===i.subTree)&&vi(e,n,!0)):U(e,n,o,f,i,s,a,l,c)},F=(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):H(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)||zi,s={uid:Yi++,vnode:e,type:r,parent:t,appContext:i,get renderer(){return"app"===r.mpType?"app":this.$pageInstance&&this.$pageInstance==s?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new ft(!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:ni(r,i),emitsOptions:mo(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=po.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(or(e)&&(l.ctx.renderer=oe),function(e,t=!1){t&&Ji(t);const{props:n,children:o}=e.vnode,r=es(e);(function(e,t,n,o=!1){const r={},i={};B(i,Mi,1),e.propsDefaults=Object.create(null),ei(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:wn(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=On(t),B(t,"_",n)):ui(t,e.slots={})}else e.slots={},t&&di(e,t);B(e.slots,Mi,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ln(new Proxy(e.ctx,Rr));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)=>(Rt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=Zi(e);Tt();const i=Un(o,e,0,[e.props,n]);if(St(),r(),_(i)){if(i.then(Qi,Qi),t)return i.then(t=>{ns(e,t)}).catch(t=>{Yn(t,e,0)});e.asyncDep=i}else ns(e,i)}else os(e)}(e,t):void 0;t&&Ji(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,W),!e.el){const e=l.subTree=ji(wi);x(null,e,t,n)}}else W(l,e,t,n,i,s,a)},H=(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||So(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?So(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]&&!go(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void q(o,t,n);o.next=t,function(e){const t=Jn.indexOf(e);t>Zn&&Jn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},W=(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=yi(e);if(n)return t&&(t.el=c.el,q(e,t,a)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let u,d=t;gi(e,!1),t?(t.el=c.el,q(e,t,a)):t=c,n&&R(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Ui(u,i,t,c),gi(e,!0);const f=wo(e),p=e.subTree;e.subTree=f,b(p,f,m(p.el),ee(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&&pi(o,r),(u=t.props&&t.props.onVnodeUpdated)&&pi(()=>Ui(u,i,t,c),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=er(t);gi(e,!1),c&&R(c),!f&&(i=l&&l.onVnodeBeforeMount)&&Ui(i,d,t),gi(e,!0);{const i=e.subTree=wo(e);b(null,i,n,o,e,r,s),t.el=i.el}if(u&&pi(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;pi(()=>Ui(i,d,e),r)}(256&t.shapeFlag||d&&er(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&mr(e.ba),e.a&&pi(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new mt(l,i,()=>io(u),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,gi(e,!0),u()},q=(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=On(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;ei(e,t,r,i)&&(c=!0);for(const i in a)t&&(f(t,i)||(o=$(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=ti(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(go(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]=ti(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=u,c=!0)}}c&&Bt(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,ui(t,i)),a=t}else t&&(di(e,t),a={default:1});if(s)for(const o in i)ai(o)||null!=a[o]||delete i[o]})(e,t.children,n),Tt(),ao(e),St()},U=(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 Y(c,d,n,o,r,i,s,a,l);if(256&f)return void z(c,d,n,o,r,i,s,a,l)}8&p?(16&u&&Q(c,r,i),d!==c&&h(n,d)):16&u?16&p?Y(c,d,n,o,r,i,s,a,l):Q(c,r,i,!0):(8&u&&h(n,""),16&p&&A(d,n,o,r,i,s,a,l))},z=(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?Hi(t[p]):Vi(t[p]);b(e[p],o,n,null,i,s,a,l,c)}u>d?Q(e,i,s,!0,!1,f):A(t,n,o,i,s,a,l,c,f)},Y=(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?Hi(t[u]):Vi(t[u]);if(!Ai(o,r))break;b(o,r,n,null,i,s,a,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],r=t[p]=c?Hi(t[p]):Vi(t[p]);if(!Ai(o,r))break;b(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;)b(null,t[u]=c?Hi(t[u]):Vi(t[u]),n,r,i,s,a,l,c),u++}}else if(u>p)for(;u<=f;)K(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?Hi(t[u]):Vi(t[u]);null!=e.key&&g.set(e.key,u)}let v,y=0;const _=p-m+1;let w=!1,x=0;const T=new Array(_);for(u=0;u<_;u++)T[u]=0;for(u=h;u<=f;u++){const o=e[u];if(y>=_){K(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===T[v-m]&&Ai(o,t[v])){r=v;break}void 0===r?K(o,i,s,!0):(T[r-m]=u+1,r>=x?x=r:w=!0,b(o,t[r],n,null,i,s,a,l,c),y++)}const S=w?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}(T):r;for(v=S.length-1,u=_-1;u>=0;u--){const e=m+u,r=t[e],f=e+1<d?t[e+1].el:o;0===T[u]?b(null,r,n,f,i,s,a,l,c):w&&(v<0||u!==S[v]?X(r,n,f,2):v--)}}},X=(e,n,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void X(e.component.subTree,n,o,r);if(128&u)return void e.suspense.move(n,o,r);if(64&u)return void a.move(e,n,o,oe);if(a===bi){t(s,n,o);for(let e=0;e<c.length;e++)X(c[e],n,o,r);return void t(e.anchor,n,o)}if(a===xi)return void S(e,n,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),t(s,n,o),pi(()=>l.enter(s),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>t(s,n,o),c=()=>{e(s,()=>{a(),i&&i()})};r?r(s,a,c):c()}else t(s,n,o)},K=(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&&fi(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!er(e);let m;if(h&&(m=s&&s.onVnodeBeforeUnmount)&&Ui(m,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&Vo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,oe,o):c&&(i!==bi||d>0&&64&d)?Q(c,t,n,!1,!0):(i===bi&&384&d||!r&&16&u)&&Q(l,t,n),o&&G(e)}(h&&(m=s&&s.onVnodeUnmounted)||p)&&pi(()=>{m&&Ui(m,t,e),p&&Vo(e,null,t,"unmounted")},n)},G=e=>{const{type:t,el:o,anchor:r,transition:i}=e;if(t===bi)return void J(o,r);if(t===xi)return void k(e);const s=()=>{n(o),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:n}=i,r=()=>t(o,s);n?n(e.el,s,r):r()}else s()},J=(e,t)=>{let o;for(;e!==t;)o=g(e),n(e),e=o;n(t)},Z=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&R(o),r.stop(),i&&(i.active=!1,K(s,e,t,n)),a&&pi(a,t),pi(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)K(e[s],t,n,o,r)},ee=e=>6&e.shapeFlag?ee(e.component.subTree):128&e.shapeFlag?e.suspense.next():g(e.anchor||e.el);let te=!1;const ne=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),te||(te=!0,ao(),lo(),te=!1),t._vnode=e},oe={p:b,um:K,m:X,r:G,mt:V,mc:A,pc:U,pbc:N,n:ee,o:e};let re;return{render:ne,hydrate:re,createApp:Gr(ne)}}(e)}function mi({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 gi({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function vi(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]=Hi(r[i]),t.el=e.el),n||vi(e,t)),t.type===_i&&(t.el=e.el)}}function yi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:yi(t)}const bi=Symbol.for("v-fgt"),_i=Symbol.for("v-txt"),wi=Symbol.for("v-cmt"),xi=Symbol.for("v-stc"),Ti=[];let Si=null;function Ci(e=!1){Ti.push(Si=e?null:[])}let ki=1;function Ei(e){ki+=e}function Oi(e){return e.dynamicChildren=ki>0?Si||r:null,Ti.pop(),Si=Ti[Ti.length-1]||null,ki>0&&Si&&Si.push(e),e}function Li(e,t,n,o,r,i){return Oi(Ni(e,t,n,o,r,i,!0))}function $i(e,t,n,o,r){return Oi(ji(e,t,n,o,r,!0))}function Pi(e){return!!e&&!0===e.__v_isVNode}function Ai(e,t){return e.type===t.type&&e.key===t.key}const Mi="__vInternal",Ri=({key:e})=>null!=e?e:null,Bi=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||Bn(e)||g(e)?{i:vo,r:e,k:t,f:!!n}:e:null);function Ni(e,t=null,n=null,o=0,r=null,i=(e===bi?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ri(t),ref:t&&Bi(t),scopeId:yo,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:vo};return a?(Wi(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),ki>0&&!s&&Si&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Si.push(l),l}const ji=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Eo||(e=wi);if(Pi(e)){const o=Di(e,t,!0);return n&&Wi(o,n),ki>0&&!i&&Si&&(6&o.shapeFlag?Si[Si.indexOf(e)]=o:Si.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?En(e)||Mi in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=He(e)),b(n)&&(En(n)&&!p(n)&&(n=c({},n)),t.style=Ve(n))}const a=v(e)?1:Po(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:g(e)?2:0;return Ni(e,t,n,o,r,a,i,!0)};function Di(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?qi(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ri(a),ref:t&&t.ref?n&&r?p(r)?r.concat(Bi(t)):[r,Bi(t)]:Bi(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!==bi?-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&&Di(e.ssContent),ssFallback:e.ssFallback&&Di(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ii(e=" ",t=0){return ji(_i,null,e,t)}function Fi(e="",t=!1){return t?(Ci(),$i(wi,null,e)):ji(wi,null,e)}function Vi(e){return null==e||"boolean"==typeof e?ji(wi):p(e)?ji(bi,null,e.slice()):"object"==typeof e?Hi(e):ji(_i,null,String(e))}function Hi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Di(e)}function Wi(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),Wi(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Mi in t?3===o&&vo&&(1===vo.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=vo}}else g(t)?(t={default:t,_ctx:vo},n=32):(t=String(t),64&o?(n=16,t=[Ii(t)]):n=8);e.children=t,e.shapeFlag|=n}function qi(...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=He([t.class,o.class]));else if("style"===e)t.style=Ve([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 Ui(e,t,n,o=null){zn(e,t,7,[n,o])}const zi=Xr();let Yi=0;let Xi=null;const Ki=()=>Xi||vo;let Gi,Ji;{const e=D(),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)}};Gi=t("__VUE_INSTANCE_SETTERS__",e=>Xi=e),Ji=t("__VUE_SSR_SETTERS__",e=>ts=e)}const Zi=e=>{const t=Xi;return Gi(e),e.scope.on(),()=>{e.scope.off(),Gi(t)}},Qi=()=>{Xi&&Xi.scope.off(),Gi(null)};function es(e){return 4&e.vnode.shapeFlag}let ts=!1;function ns(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=Hn(t)),os(e)}function os(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=Zi(e);Tt();try{jr(e)}finally{St(),t()}}}function rs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hn(Ln(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Ar?Ar[n](e):void 0,has:(e,t)=>t in e||t in Ar}))}function is(e,t=!0){return g(e)?e.displayName||e.name:e.name||t&&e.__name}const ss=(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 An(o,r,s||!r,n)}(e,0,ts);return n};function as(e,t,n){const o=arguments.length;return 2===o?b(t)&&!p(t)?Pi(t)?ji(e,null,[t]):ji(e,t):ji(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Pi(n)&&(n=[n]),ji(e,t,n))}const ls="3.4.21",cs="undefined"!=typeof document?document:null,us=cs&&cs.createElement("template"),ds={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?cs.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?cs.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?cs.createElement(e,{is:n}):cs.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>cs.createTextNode(e),createComment:e=>cs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>cs.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{us.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=us.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]}},fs="transition",ps="animation",hs=Symbol("_vtc"),ms=(e,{slots:t})=>as(zo,function(e){const t={};for(const c in e)c in gs||(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(b(e))return[bs(e.enter),bs(e.leave)];{const t=bs(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:T,onBeforeAppear:S=y,onAppear:C=_,onAppearCancelled:k=w}=t,E=(e,t,n)=>{ws(e,t?d:a),ws(e,t?u:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,ws(e,f),ws(e,h),ws(e,p),t&&t()},L=e=>(t,n)=>{const r=e?C:_,s=()=>E(t,e,n);vs(r,[t,s]),xs(()=>{ws(t,e?l:i),_s(t,e?d:a),ys(r)||Ss(t,o,g,s)})};return c(t,{onBeforeEnter(e){vs(y,[e]),_s(e,i),_s(e,s)},onBeforeAppear(e){vs(S,[e]),_s(e,l),_s(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);_s(e,f),document.body.offsetHeight,_s(e,p),xs(()=>{e._isLeaving&&(ws(e,f),_s(e,h),ys(x)||Ss(e,o,v,n))}),vs(x,[e,n])},onEnterCancelled(e){E(e,!1),vs(w,[e])},onAppearCancelled(e){E(e,!0),vs(k,[e])},onLeaveCancelled(e){O(e),vs(T,[e])}})}(e),t);ms.displayName="Transition";const gs={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};ms.props=c({},Uo,gs);const vs=(e,t=[])=>{p(e)?e.forEach(e=>e(...t)):e&&e(...t)},ys=e=>!!e&&(p(e)?e.some(e=>e.length>1):e.length>1);function bs(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function _s(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[hs]||(e[hs]=new Set)).add(t)}function ws(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[hs];n&&(n.delete(t),n.size||(e[hs]=void 0))}function xs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ts=0;function Ss(e,t,n,o){const r=e._endId=++Ts,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(`${fs}Delay`),i=o(`${fs}Duration`),s=Cs(r,i),a=o(`${ps}Delay`),l=o(`${ps}Duration`),c=Cs(a,l);let u=null,d=0,f=0;t===fs?s>0&&(u=fs,d=s,f=i.length):t===ps?c>0&&(u=ps,d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?fs:ps:null,f=u?u===fs?i.length:l.length:0);const p=u===fs&&/\b(transform|all)(,|$)/.test(o(`${fs}Property`).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 Cs(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>ks(t)+ks(e[n])))}function ks(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Es=Symbol("_vod"),Os=Symbol("_vsh"),Ls={beforeMount(e,{value:t},{transition:n}){e[Es]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):$s(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),$s(e,!0),o.enter(e)):o.leave(e,()=>{$s(e,!1)}):$s(e,t))},beforeUnmount(e,{value:t}){$s(e,t)}};function $s(e,t){e.style.display=t?e[Es]:"none",e[Os]=!t}const Ps=Symbol(""),As=/(^|;)\s*display\s*:/;const Ms=/\s*!important$/;function Rs(e,t,n){if(p(n))n.forEach(n=>Rs(e,t,n));else if(null==n&&(n=""),n=qs(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Ns[t];if(n)return n;let o=O(t);if("filter"!==o&&o in e)return Ns[t]=o;o=P(o);for(let r=0;r<Bs.length;r++){const n=Bs[r]+o;if(n in e)return Ns[t]=n}return t}(e,t);Ms.test(n)?e.setProperty($(o),n.replace(Ms,""),"important"):e[o]=n}}const Bs=["Webkit","Moz","ms"],Ns={};const{unit:js,unitRatio:Ds,unitPrecision:Is}={unit:"rem",unitRatio:10/320,unitPrecision:5},Fs=(Vs=js,Hs=Ds,Ws=Is,e=>e.replace(ze,(e,t)=>{if(!t)return e;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)*Hs,Ws);return 0===n?"0":`${n}${Vs}`}));var Vs,Hs,Ws;const qs=e=>v(e)?Fs(e):e,Us="http://www.w3.org/1999/xlink";const zs=Symbol("_vei");function Ys(e,t,n,o,r=null){const i=e[zs]||(e[zs]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(Xs.test(e)){let n;for(t={};n=e.match(Xs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):$(e.slice(2));return[n,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=Zs(e,i);for(let o=0;o<n.length;o++){const i=n[o];zn(i,t,5,i.__wwe?[e]:r(e))}return}zn(Zs(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=Js(),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 Xs=/(?:Once|Passive|Capture)$/;let Ks=0;const Gs=Promise.resolve(),Js=()=>Ks||(Gs.then(()=>Ks=0),Ks=Date.now());function Zs(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 Qs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const ea=["ctrl","shift","alt","meta"],ta={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)=>ea.some(n=>e[`${n}Key`]&&!t.includes(n))},na=(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=ta[t[e]];if(o&&o(n,t))return}return e(n,...o)})},oa=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;ro(()=>{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[hs];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]&&Rs(o,t,"")}else for(const e in t)null==n[e]&&Rs(o,e,"");for(const e in n)"display"===e&&(i=!0),Rs(o,e,n[e])}else if(r){if(t!==n){const e=o[Ps];e&&(n+=";"+e),o.cssText=n,i=As.test(n)}}else t&&e.removeAttribute("style");Es in e&&(e[Es]=i?o.display:"",e[Os]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Rs(o,a,s[a])}(e,n,o):a(t)?l(t)||Ys(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&&Qs(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(Qs(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=z(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){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Us,t.slice(6,t.length)):e.setAttributeNS(Us,t,n);else{const o=U(t);null==n||o&&!z(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))},ds);let ra;const ia=(...e)=>{const t=(ra||(ra=hi(oa))).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.4.4
  * (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 sa="undefined"!=typeof document;function aa(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const la=Object.assign;function ca(e,t){const n={};for(const o in t){const r=t[o];n[o]=da(r)?r.map(e):e(r)}return n}const ua=()=>{},da=Array.isArray,fa=/#/g,pa=/&/g,ha=/\//g,ma=/=/g,ga=/\?/g,va=/\+/g,ya=/%5B/g,ba=/%5D/g,_a=/%5E/g,wa=/%60/g,xa=/%7B/g,Ta=/%7C/g,Sa=/%7D/g,Ca=/%20/g;function ka(e){return encodeURI(""+e).replace(Ta,"|").replace(ya,"[").replace(ba,"]")}function Ea(e){return ka(e).replace(va,"%2B").replace(Ca,"+").replace(fa,"%23").replace(pa,"%26").replace(wa,"`").replace(xa,"{").replace(Sa,"}").replace(_a,"^")}function Oa(e){return Ea(e).replace(ma,"%3D")}function La(e){return null==e?"":function(e){return ka(e).replace(fa,"%23").replace(ga,"%3F")}(e).replace(ha,"%2F")}function $a(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Pa=/\/$/;function Aa(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:$a(s)}}function Ma(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Ra(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ba(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Na(e[n],t[n]))return!1;return!0}function Na(e,t){return da(e)?ja(e,t):da(t)?ja(t,e):e===t}function ja(e,t){return da(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Da={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ia,Fa,Va,Ha;function Wa(e){if(!e)if(sa){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Pa,"")}(Fa=Ia||(Ia={})).pop="pop",Fa.push="push",(Ha=Va||(Va={})).back="back",Ha.forward="forward",Ha.unknown="";const qa=/^[^#]+#/;function Ua(e,t){return e.replace(qa,"#")+t}const za=()=>({left:window.scrollX,top:window.scrollY});function Ya(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 Xa(e,t){return(history.state?history.state.position-t:-1)+e}const Ka=new Map;function Ga(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),Ma(n,"")}return Ma(n,e)+o+r}function Ja(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?za():null}}function Za(e){const{history:t,location:n}=window,o={value:Ga(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=la({},r.value,t.state,{forward:e,scroll:za()});i(s.current,s,!0),i(e,la({},Ja(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,la({},t.state,Ja(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Qa(e){const t=Za(e=Wa(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=Ga(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:Ia.pop,direction:u?u>0?Va.forward:Va.back:Va.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(la({},e.state,{scroll:za()}),"")}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=la({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ua.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 el(e){return"string"==typeof e||"symbol"==typeof e}const tl=Symbol("");var nl,ol;function rl(e,t){return la(new Error,{type:e,[tl]:!0},t)}function il(e,t){return e instanceof Error&&tl in e&&(null==t||!!(e.type&t))}(ol=nl||(nl={}))[ol.aborted=4]="aborted",ol[ol.cancelled=8]="cancelled",ol[ol.duplicated=16]="duplicated";const sl="[^/]+?",al={sensitive:!1,strict:!1,start:!0,end:!0},ll=/[.+*?^${}()[\]/\\]/g;function cl(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 ul(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=cl(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(dl(o))return 1;if(dl(r))return-1}return r.length-o.length}function dl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const fl={type:0,value:""},pl=/[a-zA-Z0-9_]/;function hl(e,t,n){const o=function(e,t){const n=la({},al,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(ll,"\\$&"),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||sl;if(d!==sl){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(da(l)&&!s)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=da(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[[fl]];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:pl.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=la(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ml(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:vl(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=_l(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(la({},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=hl(t,n,c),o?o.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),a&&e.name&&!yl(d)&&i(e.name)),wl(d)&&s(d),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}return f?()=>{i(f)}:ua}function i(e){if(el(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){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;ul(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(wl(t)&&0===ul(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!yl(e)&&o.set(e.record.name,e)}return t=_l({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 rl(1,{location:e});s=r.record.name,a=la(gl(t.params,r.keys.filter(e=>!e.optional).concat(r.parent?r.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&gl(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 rl(1,{location:e,currentLocation:t});s=r.record.name,a=la({},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:bl(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function gl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function vl(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 yl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bl(e){return e.reduce((e,t)=>la(e,t.meta),{})}function _l(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function wl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function xl(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(va," "),r=e.indexOf("="),i=$a(r<0?e:e.slice(0,r)),s=r<0?null:$a(e.slice(r+1));if(i in t){let e=t[i];da(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Tl(e){let t="";for(let n in e){const o=e[n];if(n=Oa(n),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(da(o)?o.map(e=>e&&Ea(e)):[o&&Ea(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function Sl(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=da(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const Cl=Symbol(""),kl=Symbol(""),El=Symbol(""),Ol=Symbol(""),Ll=Symbol("");function $l(){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 Pl(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(rl(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(rl(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 Al(e,t,n,o,r=e=>e()){const i=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(aa(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Pl(l,n,o,s,e,r))}else{let l=a();i.push(()=>l.then(i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&aa(l.default)?i.default:i;var l;s.mods[e]=i,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Pl(c,n,o,s,e,r)()}))}}return i}function Ml(e){const t=Qr(El),n=Qr(Ol),o=ss(()=>{const n=Fn(e.to);return t.resolve(n)}),r=ss(()=>{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(Ra.bind(null,r));if(s>-1)return s;const a=Bl(e[t-2]);return t>1&&Bl(r)===a&&i[i.length-1].path!==a?i.findIndex(Ra.bind(null,e[t-2])):s}),i=ss(()=>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(!da(r)||r.length!==o.length||o.some((e,t)=>e!==r[t]))return!1}return!0}(n.params,o.value.params)),s=ss(()=>r.value>-1&&r.value===n.matched.length-1&&Ba(n.params,o.value.params));return{route:o,href:ss(()=>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[Fn(e.replace)?"replace":"push"](Fn(e.to)).catch(ua):Promise.resolve()}}}const Rl=Qo({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:Ml,setup(e,{slots:t}){const n=_n(Ml(e)),{options:o}=Qr(El),r=ss(()=>({[Nl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Nl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:as("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Bl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Nl=(e,t,n)=>null!=e?e:null!=t?t:n;function jl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Dl=Qo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Qr(Ll),r=ss(()=>e.route||o.value),i=Qr(kl,0),s=ss(()=>{let e=Fn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),a=ss(()=>r.value.matched[s.value]);Zr(kl,ss(()=>s.value+1)),Zr(Cl,a),Zr(Ll,r);const l=Nn();return Bo(()=>[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&&Ra(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 jl(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=as(c,la({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return jl(n.default,{Component:f,route:o})||f}}});function Il(e){const t=ml(e.routes,e),n=e.parseQuery||xl,o=e.stringifyQuery||Tl,r=e.history,i=$l(),s=$l(),a=$l(),l=jn(Da);let c=Da;sa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ca.bind(null,e=>""+e),d=ca.bind(null,La),f=ca.bind(null,$a);function p(e,i){if(i=la({},i||l.value),"string"==typeof e){const o=Aa(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return la(o,s,{params:f(s.params),hash:$a(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=la({},e,{path:Aa(n,e.path,i.path).path});else{const t=la({},e.params);for(const e in t)null==t[e]&&delete t[e];s=la({},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,la({},e,{hash:(h=c,ka(h).replace(xa,"{").replace(Sa,"}").replace(_a,"^")),path:a.path}));var h;const m=r.createHref(p);return la({fullPath:p,hash:c,query:o===Tl?Sl(e.query):e.query||{}},a,{redirectedFrom:void 0,href:m})}function h(e){return"string"==typeof e?Aa(n,e,l.value.path):la({},e)}function m(e,t){if(c!==e)return rl(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={}),la({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(la(h(u),{state:"object"==typeof u?la({},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&&Ra(t.matched[o],n.matched[r])&&Ba(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=rl(16,{to:d,from:r}),P(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch(e=>il(e)?il(e,2)?e:$(e):L(e,d,r)).then(e=>{if(e){if(il(e,2))return y(la({replace:a},h(e.to),{state:"object"==typeof e.to?la({},i,e.to.state):i,force:s}),t||d)}else e=T(d,r,!0,a,i);return x(d,r,e),e})}function b(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=R.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=>Ra(e,i))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find(e=>Ra(e,a))||r.push(a))}return[n,o,r]}(e,t);n=Al(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach(o=>{n.push(Pl(o,e,t))});const l=b.bind(null,e,t);return n.push(l),N(n).then(()=>{n=[];for(const o of i.list())n.push(Pl(o,e,t));return n.push(l),N(n)}).then(()=>{n=Al(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach(o=>{n.push(Pl(o,e,t))});return n.push(l),N(n)}).then(()=>{n=[];for(const o of a)if(o.beforeEnter)if(da(o.beforeEnter))for(const r of o.beforeEnter)n.push(Pl(r,e,t));else n.push(Pl(o.beforeEnter,e,t));return n.push(l),N(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Al(a,"beforeRouteEnter",e,t,_),n.push(l),N(n))).then(()=>{n=[];for(const o of s.list())n.push(Pl(o,e,t));return n.push(l),N(n)}).catch(e=>il(e,8)?e:Promise.reject(e))}function x(e,t,n){a.list().forEach(o=>_(()=>o(e,t,n)))}function T(e,t,n,o,i){const s=m(e,t);if(s)return s;const a=t===Da,c=sa?history.state:{};n&&(o||a?r.replace(e.fullPath,la({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,P(e,t,n,a),$()}let S;function C(){S||(S=r.listen((e,t,n)=>{if(!B.listening)return;const o=p(e),i=v(o);if(i)return void y(la(i,{replace:!0}),o).catch(ua);c=o;const s=l.value;var a,u;sa&&(a=Xa(s.fullPath,n.delta),u=za(),Ka.set(a,u)),w(o,s).catch(e=>il(e,12)?e:il(e,2)?(y(e.to,o).then(e=>{il(e,20)&&!n.delta&&n.type===Ia.pop&&r.go(-1,!1)}).catch(ua),Promise.reject()):(n.delta&&r.go(-n.delta,!1),L(e,o,s))).then(e=>{(e=e||T(o,s,!1))&&(n.delta&&!il(e,8)?r.go(-n.delta,!1):n.type===Ia.pop&&il(e,20)&&r.go(-1,!1)),x(o,s,e)}).catch(ua)}))}let k,E=$l(),O=$l();function L(e,t,n){$(e);const o=O.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function $(e){return k||(k=!e,C(),E.list().forEach(([t,n])=>e?n(e):t()),E.reset()),e}function P(t,n,o,r){const{scrollBehavior:i}=e;if(!sa||!i)return Promise.resolve();const s=!o&&function(e){const t=Ka.get(e);return Ka.delete(e),t}(Xa(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return ro().then(()=>i(t,n,s)).then(e=>e&&Ya(e)).catch(e=>L(e,t,n))}const A=e=>r.go(e);let M;const R=new Set,B={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return el(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)},clearRoutes:t.clearRoutes,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(la(h(e),{replace:!0}))},go:A,back:()=>A(-1),forward:()=>A(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:function(){return k&&l.value!==Da?Promise.resolve():new Promise((e,t)=>{E.add([e,t])})},install(e){e.component("RouterLink",Rl),e.component("RouterView",Dl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Fn(l)}),sa&&!M&&l.value===Da&&(M=!0,g(r.location).catch(e=>{}));const t={};for(const o in Da)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(El,this),e.provide(Ol,wn(t)),e.provide(Ll,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=Da,S&&S(),S=null,l.value=Da,M=!1,k=!1),n()}}};function N(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return B}function Fl(e){return Qr(Ol)}const Vl=["{","}"];const Hl=/^(?:\d)+/,Wl=/^(?:\w)+/;const ql="zh-Hans",Ul="zh-Hant",zl="en",Yl="fr",Xl="es",Kl=Object.prototype.hasOwnProperty,Gl=(e,t)=>Kl.call(e,t),Jl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Vl){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=Hl.test(t)?"list":a&&Wl.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 Zl(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return ql;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?ql:e.indexOf("-hant")>-1?Ul:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Ul:ql);var n;let o=[zl,Yl,Xl];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 Ql{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=zl,this.fallbackLocale=zl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Jl,this.messages=n||{},this.setLocale(e||zl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Zl(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=>{Gl(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=Zl(t,this.messages))&&(o=this.messages[t]):n=t,Gl(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 ec(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&&Jd?Jd():"undefined"!=typeof global&&global.getLocale?global.getLocale():zl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||zl);const r=new Ql({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=pm().$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)}}function tc(e,t){return e.indexOf(t[0])>-1}const nc=Re(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let oc;function rc(e){return tc(e,te)?ac().f(e,function(){const e=Jd(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function ic(e,t){if(1===t.length){if(e){const n=e=>v(e)&&tc(e,te),o=t[0];let r=[];if(p(e)&&(r=e.filter(e=>n(e[o]))).length)return r;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return ic(e&&e[n],t)}function sc(e,t){const n=ic(e,t);if(!n)return!1;const o=t[t.length-1];if(p(n))n.forEach(e=>sc(e,[o]));else{let e=n[o];Object.defineProperty(n,o,{get:()=>rc(e),set(t){e=t}})}return!0}function ac(){if(!oc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,oc=ec(e),nc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>oc.add(e,__uniConfig.locales[e])),oc.setLocale(e)}}return oc}function lc(e,t,n){return t.reduce((t,o,r)=>(t[e+o]=n[r],t),{})}const cc=Re(()=>{const e="uni.async.",t=["error"];ac().add(zl,lc(e,t,["The connection timed out, click the screen to try again."]),!1),ac().add(Xl,lc(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),ac().add(Yl,lc(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),ac().add(ql,lc(e,t,["连接服务器超时，点击屏幕重试"]),!1),ac().add(Ul,lc(e,t,["連接服務器超時，點擊屏幕重試"]),!1)}),uc=Re(()=>{const e="uni.showToast.",t=["unpaired"];ac().add(zl,lc(e,t,["Please note showToast must be paired with hideToast"]),!1),ac().add(Xl,lc(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),ac().add(Yl,lc(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),ac().add(ql,lc(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),ac().add(Ul,lc(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),dc=Re(()=>{const e="uni.showLoading.",t=["unpaired"];ac().add(zl,lc(e,t,["Please note showLoading must be paired with hideLoading"]),!1),ac().add(Xl,lc(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),ac().add(Yl,lc(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),ac().add(ql,lc(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),ac().add(Ul,lc(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),fc=Re(()=>{const e="uni.showModal.",t=["cancel","confirm"];ac().add(zl,lc(e,t,["Cancel","OK"]),!1),ac().add(Xl,lc(e,t,["Cancelar","OK"]),!1),ac().add(Yl,lc(e,t,["Annuler","OK"]),!1),ac().add(ql,lc(e,t,["取消","确定"]),!1),ac().add(Ul,lc(e,t,["取消","確定"]),!1)}),pc=Re(()=>{const e="uni.chooseFile.",t=["notUserActivation"];ac().add(zl,lc(e,t,["File chooser dialog can only be shown with a user activation"]),!1),ac().add(Xl,lc(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),ac().add(Yl,lc(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),ac().add(ql,lc(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),ac().add(Ul,lc(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),hc=Re(()=>{const e="uni.setClipboardData.",t=["success","fail"];ac().add(zl,lc(e,t,["Content copied","Copy failed, please copy manually"]),!1),ac().add(Xl,lc(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),ac().add(Yl,lc(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),ac().add(ql,lc(e,t,["内容已复制","复制失败，请手动复制"]),!1),ac().add(Ul,lc(e,t,["內容已復制","復制失敗，請手動復製"]),!1)}),mc=Re(()=>{const e="uni.getClipboardData.",t=["fail"];ac().add(zl,lc(e,t,["Reading failed, please paste manually"]),!1),ac().add(Xl,lc(e,t,["Error de lectura, pegue manualmente"]),!1),ac().add(Yl,lc(e,t,["Échec de la lecture, veuillez coller manuellement"]),!1),ac().add(ql,lc(e,t,["读取失败，请手动粘贴"]),!1),ac().add(Ul,lc(e,t,["讀取失敗，請手動粘貼"]),!1)}),gc=Re(()=>{const e="uni.picker.",t=["done","cancel"];ac().add(zl,lc(e,t,["Done","Cancel"]),!1),ac().add(Xl,lc(e,t,["OK","Cancelar"]),!1),ac().add(Yl,lc(e,t,["OK","Annuler"]),!1),ac().add(ql,lc(e,t,["完成","取消"]),!1),ac().add(Ul,lc(e,t,["完成","取消"]),!1)}),vc=Re(()=>{const e="uni.video.",t=["danmu","volume"];ac().add(zl,lc(e,t,["Danmu","Volume"]),!1),ac().add(Xl,lc(e,t,["Danmu","Volumen"]),!1),ac().add(Yl,lc(e,t,["Danmu","Le Volume"]),!1),ac().add(ql,lc(e,t,["弹幕","音量"]),!1),ac().add(Ul,lc(e,t,["彈幕","音量"]),!1)});function yc(e){const t=new st;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)}}}const bc="invokeViewApi",_c="invokeServiceApi";let wc=1;const xc=Object.create(null);function Tc(e,t){return e+"."+t}function Sc(e,t,n){t=Tc(e,t),xc[t]||(xc[t]=n)}function Cc({id:e,name:t,args:n},o){t=Tc(o,t);const r=t=>{e&&vv.publishHandler(bc+"."+e,t)},i=xc[t];i?i(n,r):r({})}const kc=c(yc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=vv,i=n?wc++:0;n&&o(_c+"."+i,n,!0),r(_c,{id:i,name:e,args:t})}}),Ec=Ye(!0);let Oc;function Lc(){Oc&&(clearTimeout(Oc),Oc=null)}let $c=0,Pc=0;function Ac(e){if(Lc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];$c=t,Pc=n,Oc=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 Mc(e){if(!Oc)return;if(1!==e.touches.length)return Lc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-$c)>10||Math.abs(n-Pc)>10?Lc():void 0}function Rc(e,t){const n=Number(e);return isNaN(n)?t:n}function Bc(){const e=__uniConfig.globalStyle||{},t=Rc(e.rpxCalcMaxDeviceWidth,960),n=Rc(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 Nc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jc,Dc,Ic=["top","left","right","bottom"],Fc={};function Vc(){return Dc="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 Hc(){if(Dc="string"==typeof Dc?Dc:Vc()){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"}),Ic.forEach(function(e){s(o,e)}),document.body.appendChild(o),i(),jc=!0}else Ic.forEach(function(e){Fc[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:Dc+"(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){qc.length||setTimeout(function(){var e={};qc.forEach(function(t){e[t]=Fc[t]}),qc.length=0,Uc.forEach(function(t){t(e)})},0);qc.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)});var u=getComputedStyle(o);Object.defineProperty(Fc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Wc(e){return jc||Hc(),Fc[e]}var qc=[];var Uc=[];const zc=Nc({get support(){return 0!=("string"==typeof Dc?Dc:Vc()).length},get top(){return Wc("top")},get left(){return Wc("left")},get right(){return Wc("right")},get bottom(){return Wc("bottom")},onChange:function(e){Vc()&&(jc||Hc(),"function"==typeof e&&Uc.push(e))},offChange:function(e){var t=Uc.indexOf(e);t>=0&&Uc.splice(t,1)}}),Yc=na(()=>{},["prevent"]),Xc=na(e=>{},["stop"]);function Kc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Gc(){const e=Kc(document.documentElement.style,"--window-top");return e?e+zc.top:0}function Jc(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Zc(e){return Jc(e)}function Qc(e){return Symbol(e)}function eu(e){return e.$page}function tu(e){return 0===e.tagName.indexOf("UNI-")}const nu="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",ou="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 ru(e,t="#000",n=27){return ji("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ji("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function iu(){{const{$pageInstance:o}=Ki();return o&&(e=o.proxy,(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id))}var e,t,n}function su(){const e=ep(),t=e.length;if(t)return e[t-1]}function au(){var e;const t=null==(e=su())?void 0:e.$page;if(t)return t.meta}function lu(){const e=au();return e?e.id:-1}function cu(){const e=su();if(e)return e.$vm}const uu=["navigationBar","pullToRefresh"];function du(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);uu.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function fu(e,t,n){if(v(e))n=t,t=e,e=cu();else if("number"==typeof e){const t=ep().find(t=>eu(t).id===e);e=t?t.$vm:cu()}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 pu(e){e.preventDefault()}let hu,mu=0;function gu({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-mu)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(mu=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout(function(){i=!0},350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(hu=setTimeout(s,300))),o=!1};return function(){clearTimeout(hu),o||requestAnimationFrame(s),o=!0}}function vu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return vu(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),Me(i.concat(n).join("/"))}function yu(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function bu(){Bc(),qe(tu),window.addEventListener("touchstart",Ac,Ec),window.addEventListener("touchmove",Mc,Ec),window.addEventListener("touchend",Lc,Ec),window.addEventListener("touchcancel",Lc,Ec)}class _u{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Fe(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&&Fe(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=Su(this.$el.querySelector(e));return t?wu(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=Su(n[o]);e&&t.push(wu(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:$(n);(v(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(v(e)&&(e=W(e)),T(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&&vv.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 wu(e,t=!0){if(t&&e&&(e=Ie(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new _u(e)),e.$el.__wxsComponentDescriptor}function xu(e,t){return wu(e,t)}function Tu(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>xu(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=Ie(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,xu(r,!1)]}}function Su(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Cu(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=Xe(t?r:function(e){for(;!tu(e);)e=e.parentElement;return e}(r)),a=Xe(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&T(e.detail)&&(l.detail=e.detail),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 ku(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Eu(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 Ou=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!tu(o);if(r)return Tu(e,t,n,!1)||[e];const i=Cu(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=Gc();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[ku(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Gc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[ku(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=Gc();i.touches=Eu(e.touches,t),i.changedTouches=Eu(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 Tu(i,t,n)||[i]},createNativeEvent:Cu},Symbol.toStringTag,{value:"Module"});function Lu(e){!function(e){const t=e.globalProperties;c(t,Ou),t.$gcd=xu}(e._context.config)}let $u=1;function Pu(e){return(e||lu())+"."+bc}const Au=c(yc("view"),{invokeOnCallback:(e,t)=>yv.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=yv,s=o?$u++:0;o&&r(bc+"."+s,o,!0),i(Pu(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=yv,a=$u++,l=bc+"."+a;return r(l,n),s(Pu(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Mu(e){fu(su(),me,e),yv.invokeOnCallback("onWindowResize",e)}function Ru(e){const t=su();fu(pm(),re,e),fu(t,re)}function Bu(){fu(pm(),ie),fu(su(),ie)}const Nu=[ve,be];function ju(){Nu.forEach(e=>yv.subscribe(e,function(e){return(t,n)=>{fu(parseInt(n),e,t)}}(e)))}function Du(){!function(){const{on:e}=yv;e(me,Mu),e($e,Ru),e(Pe,Bu)}(),ju()}function Iu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new et(this.$page.id)),e.eventChannel}}function Fu(e){e._context.config.globalProperties.getOpenerEventChannel=Iu}function Vu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Hu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${Xd(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Wu(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(Hu)),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)?Hu(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 qu={props:["animation"],watch:{animation:{deep:!0,handler(){Wu(this)}}},mounted(){Wu(this)}},Uu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(qu),zu(e)},zu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Qo(e));function Yu(e){return e.__wwe=!0,e}function Xu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=Xe(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Ku={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Gu(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:Yu(function(e){e.touches.length>1||s(e)}),onMousedown:Yu(function(e){r||(s(e),window.addEventListener("mouseup",l))}),onTouchend:Yu(function(){a()}),onMouseup:Yu(function(){r&&l()}),onTouchcancel:Yu(function(){r=!1,t.value=!1,clearTimeout(n)})}}}function Ju(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const Zu=Qc("uf"),Qu=Qc("ul");function ed(e,t){td(e.id,t),Bo(()=>e.id,(e,n)=>{nd(n,t,!0),td(e,t,!0)}),Tr(()=>{nd(e.id,t)})}function td(e,t,n){const o=iu();n&&!e||T(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&vv.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?vv.on(r,t[r]):e&&vv.on(`uni-${r}-${o}-${e}`,t[r])})}function nd(e,t,n){const o=iu();n&&!e||T(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&vv.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?vv.off(r,t[r]):e&&vv.off(`uni-${r}-${o}-${e}`,t[r])})}const od=Uu({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=Qr(Zu,!1),{hovering:r,binding:i}=Gu(e),s=Yu((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=Qr(Qu,!1);return a&&(a.addHandler(s),xr(()=>{a.removeHandler(s)})),ed(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Ju(e,"disabled"),l=Ju(e,"loading"),c=Ju(e,"plain"),u=o&&"none"!==o;return ji("uni-button",qi({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),rd=Qc("upm");function id(){return Qr(rd)}function sd(e){const t=function(e){return _n(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==ep().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(du(Fl().meta,e)))))}(e);return Zr(rd,t),t}function ad(){return Fl()}function ld(){return history.state&&history.state.__id__||1}const cd=["original","compressed"],ud=["album","camera"],dd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function fd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function pd(e,t){return!p(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function hd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let md=1;const gd={};function vd(e,t,n){if("number"==typeof e){const o=gd[e];if(o)return o.keepAlive||delete gd[e],o.callback(t,n)}return t}const yd="success",bd="fail",_d="complete";function wd(e,t={},{beforeAll:n,beforeSuccess:o}={}){T(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]=hd(o),delete e[n])}return t}(t),a=g(r),l=g(i),c=g(s),u=md++;return function(e,t,n,o=!1){gd[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 xd="success",Td="fail",Sd="complete",Cd={},kd={};function Ed(e,t){return function(n){return e(n,t)||n}}function Od(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(Ed(i,n));else{const e=i(t,n);if(_(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function Ld(e,t={}){return[xd,Td,Sd].forEach(n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Od(o,e,t).then(e=>g(r)&&r(e)||e)}}),t}function $d(e,t){const n=[];p(Cd.returnValue)&&n.push(...Cd.returnValue);const o=kd[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Pd(e){const t=Object.create(null);Object.keys(Cd).forEach(e=>{"returnValue"!==e&&(t[e]=Cd[e].slice())});const n=kd[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function Ad(e,t,n,o){const r=Pd(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Od(r.invoke,n).then(n=>t(Ld(Pd(e),n),...o))}return t(Ld(r,n),...o)}return t(n,...o)}function Md(e,t){return(n={},...o)=>function(e){return!(!T(e)||![yd,bd,_d].find(t=>g(e[t])))}(n)?$d(e,Ad(e,t,c({},n),o)):$d(e,new Promise((r,i)=>{Ad(e,t,c({},n,{success:r,fail:i}),o)}))}function Rd(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,vd(e,c({errMsg:i},o))}function Bd(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||!T(t.formatArgs)&&T(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 Nd(e,t,n,o){return n=>{const r=wd(e,n,o),i=Bd(0,[n],0,o);return i?Rd(r,e,i):t(n,{resolve:t=>function(e,t,n){return vd(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Rd(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function jd(e,t,n,o){return Md(e,Nd(e,t,0,o))}function Dd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Bd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Id(e,t,n,o){return Md(e,function(e,t,n,o){return Nd(e,t,0,o)}(e,t,0,o))}let Fd=!1,Vd=0,Hd=0,Wd=960,qd=375,Ud=750;function zd(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Cp(),t=Op(Ep(e,kp(e)));return{platform:_p?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Vd=e,Hd=t,Fd="ios"===n}function Yd(e,t){const n=Number(e);return isNaN(n)?t:n}const Xd=Dd(0,(e,t)=>{if(0===Vd&&(zd(),function(){const e=__uniConfig.globalStyle||{};Wd=Yd(e.rpxCalcMaxDeviceWidth,960),qd=Yd(e.rpxCalcBaseDeviceWidth,375),Ud=Yd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Vd;n=e===Ud||n<=Wd?n:qd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Hd&&Fd?.5:1),e<0?-o:o}),Kd=["onCanplay","onPlay","onPause","onStop","onEnded","onTimeUpdate","onError","onWaiting","onSeeking","onSeeked"],Gd=["offCanplay","offPlay","offPause","offStop","offEnded","offTimeUpdate","offError","offWaiting","offSeeking","offSeeked"],Jd=Dd(0,()=>{const e=pm();return e&&e.$vm?e.$vm.$locale:ac().getLocale()}),Zd={[ue]:[],[ce]:[],[ae]:[],[re]:[],[ie]:[]};const Qd={formatArgs:{showToast:!0},beforeInvoke(){hc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=ac(),o=n("uni.setClipboardData.success");o&&Fg({title:o,icon:"success",mask:!1})}},ef={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=pd(e,cd)},sourceType(e,t){t.sourceType=pd(e,ud)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},tf=["all","image","video"],nf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=pd(e,ud)},type(e,t){t.type=fd(e,tf)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||("all"!==t.type&&t.type?t.extension=["*"]:t.extension=[""])}}},of="json",rf=["text","arraybuffer"],sf=encodeURIComponent;const af={formatArgs:{method(e,t){t.method=fd((e||"").toUpperCase(),dd)},data(e,t){t.data=e||""},url(e,t){t.method===dd[0]&&T(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="":T(e)&&(e=JSON.stringify(e)),s[sf(a)]=sf(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!==dd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||of).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===rf.indexOf(t.responseType)&&(t.responseType="text")}}},lf={formatArgs:{header(e,t){t.header=e||{}}}},cf={formatArgs:{filePath(e,t){e&&(t.filePath=vp(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const uf={url:{type:String,required:!0}},df="navigateTo",ff="reLaunch",pf="switchTab",hf="preloadPage",mf=(bf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),bf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),xf(df)),gf=xf(ff),vf=xf(pf),yf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(ep().length-1,e)}}};function bf(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 _f;function wf(){_f=""}function xf(e){return{formatArgs:{url:Tf(e)},beforeAll:wf}}function Tf(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=ep();return n.length&&(t=eu(n[n.length-1]).route),vu(t,e)}(t)).split("?")[0],r=yu(o,!0);if(!r)return"page `"+t+"` is not found";if(e===df||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===pf&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==pf&&e!==hf||!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(e!==hf){if(_f===t&&"appLaunch"!==n.openType)return`${_f} locked`;__uniConfig.ready&&(_f=t)}else if(r.meta.isTabBar){const e=ep(),t=r.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Sf={formatArgs:{title:"",mask:!1}},Cf={beforeInvoke(){fc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=ac();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=ac();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},kf=["success","loading","none","error"],Ef={formatArgs:{title:"",icon(e,t){t.icon=fd(e,kf)},image(e,t){t.image=e?vp(e):""},duration:1500,mask:!1}};function Of(){const e=cu();if(!e)return;const t=Qf(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:np(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,fu(e,ie))}function Lf(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function $f(e){const t=Qf().values();for(const n of t){const t=Yf(n);if(Lf(e,t))return n.$.__isActive=!0,t.id}}const Pf=Id(pf,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Xf.handledBeforeEntryPageRoutes)return Of(),Rf({type:pf,url:e,tabBarText:t,isAutomatedTesting:n},$f(e)).then(o).catch(r);Gf.push({args:{type:pf,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})},0,vf);function Af(){const e=Qf().keys();for(const t of e)np(t)}const Mf=Id(ff,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Xf.handledBeforeEntryPageRoutes)return Af(),Rf({type:ff,url:e,isAutomatedTesting:t}).then(n).catch(o);Zf.push({args:{type:ff,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,gf);function Rf({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=pm().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Ze(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++op,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then(i=>{if(il(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 et(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()})})}function Bf(){if(Xf.handledBeforeEntryPageRoutes)return;Xf.handledBeforeEntryPageRoutes=!0;const e=[...Kf];Kf.length=0,e.forEach(({args:e,resolve:t,reject:n})=>Rf(e).then(t).catch(n));const t=[...Gf];Gf.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(Of(),Rf(e,$f(e.url)).then(t).catch(n)));const n=[...Jf];Jf.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(function(){const e=su();if(!e)return;const t=Yf(e);np(sp(t.path,t.id))}(),Rf(e).then(t).catch(n)));const o=[...Zf];Zf.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(Af(),Rf(e).then(t).catch(n)))}let Nf;function jf(){var e;return Nf||(Nf=__uniConfig.tabBar&&_n((e=__uniConfig.tabBar,nc()&&e.list&&e.list.forEach(e=>{sc(e,["text"])}),e))),Nf}function Df(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const If=Df("top:env(a)"),Ff=Df("top:constant(a)"),Vf=Df("backdrop-filter:blur(10px)"),Hf=(()=>If?"env":Ff?"constant":"")();function Wf(e){let t=0;if(e.isTabBar){const e=jf();e.shown&&(t=parseInt(e.height))}var n;Zc({"--window-top":(n=0,Hf?`calc(${n}px + ${Hf}(safe-area-inset-top))`:`${n}px`),"--window-bottom":qf(t)})}function qf(e){return Hf?`calc(${e}px + ${Hf}(safe-area-inset-bottom))`:`${e}px`}const Uf="$$",zf=new Map;function Yf(e){return e.$page}const Xf={handledBeforeEntryPageRoutes:!1},Kf=[],Gf=[],Jf=[],Zf=[];function Qf(){return zf}function ep(){return tp()}function tp(){const e=[],t=zf.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function np(e,t=!0){const n=zf.get(e);n.$.__isUnload=!0,fu(n,fe),zf.delete(e),t&&function(e){const t=ap.get(e);t&&(ap.delete(e),lp.pruneCacheEntry(t))}(e)}let op=ld();function rp(e){const t=id();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:s,route:a}=o,l=ct(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:Me(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function ip(e){const t=rp(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),zf.set(sp(t.path,t.id),e),1===zf.size&&setTimeout(()=>{Bf()},0)}function sp(e,t){return e+Uf+t}const ap=new Map,lp={get:e=>ap.get(e),set(e,t){!function(e){const t=parseInt(e.split(Uf)[1]);if(!t)return;lp.forEach((e,n)=>{const o=parseInt(n.split(Uf)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;lp.delete(n),lp.pruneCacheEntry(e),ro(()=>{zf.forEach((e,t)=>{e.$.isUnmounted&&zf.delete(t)})})}})}(e),ap.set(e,t)},delete(e){ap.get(e)&&ap.delete(e)},forEach(e){ap.forEach(e)}};function cp(e,t){!function(e){const t=dp(e),{body:n}=document;fp&&n.removeAttribute(fp),t&&n.setAttribute(t,""),fp=t}(e),Wf(t),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),mp(e,t)}function up(e){const t=dp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function dp(e){return e.type.__scopeId}let fp;const pp=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(t){}return e})()&&{passive:!1};let hp;function mp(e,t){if(document.removeEventListener("touchmove",pu),hp&&document.removeEventListener("scroll",hp),t.disableScroll)return document.addEventListener("touchmove",pu,pp);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=Yf(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&vv.publishHandler(ve,{scrollTop:o},e),n&&vv.emit(e+"."+ve,{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>vv.publishHandler(be,{},s)),hp=gu(i),requestAnimationFrame(()=>document.addEventListener("scroll",hp))}function gp(e){const{base:t}=__uniConfig.router;return 0===Me(e).indexOf(t)?Me(e):t+e}function vp(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 gp(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=tp();return o.length?gp(vu(Yf(o[o.length-1]).route,e).slice(1)):e}const yp=navigator.userAgent,bp=/android/i.test(yp),_p=/iphone|ipad|ipod/i.test(yp),wp=yp.match(/Windows NT ([\d|\d.\d]*)/i),xp=/Macintosh|Mac/i.test(yp),Tp=/Linux|X11/i.test(yp),Sp=xp&&navigator.maxTouchPoints>0;function Cp(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function kp(e){return e&&90===Math.abs(window.orientation)}function Ep(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Op(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}const Lp={};function $p(e,t){const n=Lp[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 Pp(s,o)}(e)):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 Pp(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 Ap(e){for(const n in Lp)if(f(Lp,n)){if(Lp[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Lp[t]=e,t}const Mp=Vu(),Rp=Vu();const Bp=Uu({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=_n({width:-1,height:-1});return Bo(()=>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){lr(o),br(()=>{t.initial&&ro(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,r,o),()=>ji("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ji("div",{onScroll:r},[ji("div",null,null)],40,["onScroll"]),ji("div",{onScroll:r},[ji("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Np(){}const jp={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 Dp(e,t,n){function o(e){const t=ss(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",Np,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",Np,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}Bo(()=>t.value,e=>e&&o(e))}const Ip={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Fp={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Vp={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"]},Hp=Uu({name:"Image",props:Ip,setup(e,{emit:t}){const n=Nn(null),o=function(e,t){const n=Nn(""),o=ss(()=>{let e="auto",o="";const r=Vp[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=_n({rootEl:e,src:ss(()=>t.src?vp(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return br(()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0}),r}(n,e),r=Xu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=Fp[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){Wp&&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 Bo(()=>t.mode,(e,t)=>{Fp[t]&&r(),Fp[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),ro(()=>{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)};Bo(()=>e.src,e=>l(e)),Bo(()=>e.imgSrc,e=>{!e&&s&&(s.remove(),s=null)}),br(()=>l(e.src)),xr(()=>c())}(o,e,n,i,r),()=>ji("uni-image",{ref:n},[ji("div",{style:o.modeStyle},null,4),Fp[e.mode]?ji(Bp,{onResize:i},null,8,["onResize"]):ji("span",null,null)],512)}});const Wp="Google Inc."===navigator.vendor;const qp=Ye(!0),Up=[];let zp=0,Yp=!1;const Xp=e=>Up.forEach(t=>t.userAction=e);function Kp(e={userAction:!1}){if(!Yp){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!zp&&Xp(!0),zp++,setTimeout(()=>{! --zp&&Xp(!1)},0)},qp)}),Yp=!0}Up.push(e)}const Gp=()=>!!zp;function Jp(){const e=_n({userAction:!1});return br(()=>{Kp(e)}),xr(()=>{!function(e){const t=Up.indexOf(e);t>=0&&Up.splice(t,1)}(e)}),{state:e}}function Zp(){const e=_n({attrs:{}});return br(()=>{let t=Ki();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function Qp(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)}function eh(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const th=["none","text","decimal","numeric","tel","search","email","url"],nh=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=>!!~th.indexOf(e)},cursorColor:{type:String,default:""}},jp),oh=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function rh(e,t,n,o){let r=null;r=Qe(n=>{t.value=eh(n,e.type)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Bo(()=>e.modelValue,r),Bo(()=>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 yr(()=>{r.cancel(),i.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function ih(e,t){Jp();const n=ss(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Bo(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),br(()=>{n.value&&ro(o)})}function sh(e,t,n,o){Sc(lu(),"getSelectedTextRange",Qp);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=Nn(null),r=Xu(t,n),i=ss(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),s=ss(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),a=ss(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=ss(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=eh(e.modelValue,e.type)||eh(e.value,e.type);const u=_n({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Bo(()=>u.focus,e=>n("update:focus",e)),Bo(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=rh(e,i,n,s);ih(e,r),Dp(0,r);const{state:l}=Zp();!function(e,t){const n=Qr(Zu,!1);if(!n)return;const o=Ki(),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),xr(()=>{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}Bo([()=>t.selectionStart,()=>t.selectionEnd],s),Bo(()=>t.cursor,a),Bo(()=>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}}const ah=c({},nh,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),lh=Re(()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}});function ch(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&&lh()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function uh(e){return"insertFromPaste"===e.inputType}const dh=Uu({name:"Input",props:ah,emits:["confirm",...oh],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=ss(()=>{let t="";switch(e.type){case"text":t="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=ss(()=>{const t=r.indexOf(e.textContentType),n=r.indexOf($(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}),a=ss(()=>{if(e.inputmode)return e.inputmode});let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Nn(null!=t?t.toLocaleString():"");return Bo(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),Bo(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return Nn("")}(e,i),c={fn:null};const u=Nn(null),{fieldRef:d,state:f,scopedAttrsState:p,fixDisabledColor:h,trigger:m}=sh(e,u,t,(e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=ch(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=ch(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!uh(e))return n.value=l.value=t.value,!1}});Bo(()=>f.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),Bo(()=>e.maxlength,e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)});const g=["number","digit"],v=ss(()=>g.includes(e.type)?e.step:"");function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),m("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&h?ji("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):ji("input",{key:"input",ref:d,value:f.value,onInput:e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?uh(e)&&(f.value=t.slice(0,f.maxlength)):f.value=t},disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.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:y,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ji("uni-input",{ref:u},[ji("div",{class:"uni-input-wrapper"},[Fo(ji("div",qi(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ls,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?ji("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const fh=["class","style"],ph=/^on[A-Z]+/,hh=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Ki(),r=jn({}),i=jn({}),s=jn({}),a=n.concat(fh);return o.attrs=_n(o.attrs),Mo(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:ph.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude}),{$attrs:r,$listeners:i,$excludeAttrs:s}};function mh(e){const t=[];return p(e)&&e.forEach(e=>{Pi(e)?e.type===bi?t.push(...mh(e.children)):t.push(e):p(e)&&t.push(...mh(e))}),t}const gh=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 vh,yh;function bh(e,t,n){xr(()=>{document.removeEventListener("mousemove",vh),document.removeEventListener("mouseup",yh)});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;gh(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)}),gh(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)}),gh(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=vh=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),gh(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=yh=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),gh(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)}})}const _h=Uu({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=Xu(o,n),s=function(e){const t=_n([...e.value]),n=_n({value:t,height:34});return Bo(()=>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);br(()=>{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!==wi);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Zr("getPickerViewColumn",function(e){return ss({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})}}})}),Zr("pickerViewProps",e),Zr("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=mh(e);l.value=t,ro(()=>{c.value=t})}return ji("uni-picker-view",{ref:o},[ji(Bp,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),ji("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class wh{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 xh(e,t,n){return e>t-n&&e<t+n}function Th(e,t){return xh(e,0,t)}class Sh{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||!Th(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Th(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Th(t,.4)&&(t=0),Th(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Th(o-e,.4)&&Th(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()),xh(this.x(),this._endPosition,.4)&&Th(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 Ch{constructor(e,t,n){this._extent=e,this._friction=t||new wh(.01),this._spring=n||new Sh(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 kh{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 Ch(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 Eh=Uu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Nn(null),r=Nn(null),i=Qr("getPickerViewColumn"),s=Ki(),a=i?i(s):Nn(0),l=Qr("pickerViewProps"),c=Qr("pickerViewState"),u=Nn(34),d=Nn(null);br(()=>{const e=d.value;u.value=e.$el.offsetHeight});const f=ss(()=>(c.height-u.value)/2),{state:p}=Zp();let h;const m=_n({current:a.value,length:0});let g;function v(){h&&!g&&(g=!0,ro(()=>{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)}))}Bo(()=>a.value,e=>{e!==m.current&&(m.current=e,v())}),Bo(()=>m.current,e=>a.value=e),Bo([()=>u.value,()=>m.length,()=>c.height],v);let y=0;function b(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 _({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 kh(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 wh(1e-4),spring:new Sh(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});h=n,bh(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 br(w),()=>{const e=t.default&&t.default();m.length=mh(e).length;const n=`${f.value}px 0`;return ji("uni-picker-view-column",{ref:o},[ji("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[ji("div",qi(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),ji("div",qi(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[ji(Bp,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),ji("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)}}}),Oh=Uu({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=ss(()=>{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=ss(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return ji("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?ji("div",{class:"uni-scroll-view-refresh"},[ji("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?ji("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"},[ji("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),ji("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?ji("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[ji("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?ji("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Lh=Ye(!0),$h=Uu({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=Xu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=ss(()=>Number(e.scrollTop)||0),n=ss(()=>Number(e.scrollLeft)||0),o=_n({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=ss(()=>e.scrollX),h=ss(()=>e.scrollY),m=ss(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),g=ss(()=>{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 b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(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 T(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:C.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:C.y-S.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:C.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},C={y:e.refresherThreshold};return br(()=>{ro(()=>{b(n.value),_(o.value)}),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-S.x)>Math.abs(i-S.y))if(p.value){if(0===l.scrollLeft&&o>S.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<S.x)return void(a=!1);a=!0}else a=!1;else if(h.value)if(0===l.scrollTop&&i>S.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i<S.y)return void(a=!1);a=!0}else a=!1;if(a&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&T("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-S.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&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?T("refreshing"):T("refresherabort"),S={x:0,y:0},C={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,Lh),s.value.addEventListener("touchmove",l,Ye(!1)),s.value.addEventListener("scroll",i,Ye(!1)),s.value.addEventListener("touchend",m,Lh),xr(()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",m)})}),lr(()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)}),Bo(n,e=>{b(e)}),Bo(o,e=>{_(e)}),Bo(()=>e.scrollIntoView,e=>{w(e)}),Bo(()=>e.refresherTriggered,e=>{!0===e?T("refreshing"):!1===e&&T("restore")}),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,a,t),h=ss(()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),m=ss(()=>{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 ji("uni-scroll-view",{ref:r},[ji("div",{ref:s,class:"uni-scroll-view"},[ji("div",{ref:i,style:h.value,class:m.value},[t?ji(Oh,{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,ji("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const Ph=Uu({name:"Slider",props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},emits:["changing","change"],setup(e,{emit:t}){const n=Nn(null),o=Nn(null),r=Nn(null),i=Nn(Number(e.value));Bo(()=>e.value,e=>{i.value=Number(e)});const s=Xu(n,t),a=function(e,t){const n=()=>Ah(t.value,e.min,e.max),o=()=>"#e9e9e9"!==e.backgroundColor?e.backgroundColor:"#007aff"!==e.color?e.color:"#007aff",r=()=>"#007aff"!==e.activeColor?e.activeColor:"#e9e9e9"!==e.selectedColor?e.selectedColor:"#e9e9e9",i={setBgColor:ss(()=>({backgroundColor:o()})),setBlockBg:ss(()=>({left:n()})),setActiveColor:ss(()=>({backgroundColor:r(),width:n()})),setBlockStyle:ss(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n(),backgroundColor:e.blockColor}))};return i}(e,i),{_onClick:l,_onTrack:c}=function(e,t,n,o,r){const i=n=>{e.disabled||(a(n),r("change",n,{value:t.value}))},s=t=>{const n=Number(e.max),o=Number(e.min),r=Number(e.step);return t<o?o:t>n?n:Mh.mul.call(Math.round((t-o)/r),r)+o},a=r=>{const i=Number(e.max),a=Number(e.min),l=o.value,c=getComputedStyle(l,null).marginLeft;let u=l.offsetWidth;u+=parseInt(c);const d=n.value,f=d.offsetWidth-(e.showValue?u:0),p=d.getBoundingClientRect().left,h=(r.x-p)*(i-a)/f+a;t.value=s(h)},l=n=>{if(!e.disabled)return"move"===n.detail.state?(a({x:n.detail.x}),r("changing",n,{value:t.value}),!1):"end"===n.detail.state&&r("change",n,{value:t.value})},c=Qr(Zu,!1);if(c){const n={reset:()=>t.value=Number(e.min),submit:()=>{const n=["",null];return""!==e.name&&(n[0]=e.name,n[1]=t.value),n}};c.addField(n),xr(()=>{c.removeField(n)})}return{_onClick:i,_onTrack:l}}(e,i,n,o,s);return br(()=>{bh(r.value,c)}),()=>{const{setBgColor:t,setBlockBg:s,setActiveColor:c,setBlockStyle:u}=a;return ji("uni-slider",{ref:n,onClick:Yu(l)},[ji("div",{class:"uni-slider-wrapper"},[ji("div",{class:"uni-slider-tap-area"},[ji("div",{style:t.value,class:"uni-slider-handle-wrapper"},[ji("div",{ref:r,style:s.value,class:"uni-slider-handle"},null,4),ji("div",{style:u.value,class:"uni-slider-thumb"},null,4),ji("div",{style:c.value,class:"uni-slider-track"},null,4)],4)]),Fo(ji("span",{ref:o,class:"uni-slider-value"},[i.value],512),[[Ls,e.showValue]])])],8,["onClick"])}}}),Ah=(e,t,n)=>(n=Number(n),100*(e-(t=Number(t)))/(n-t)+"%");var Mh={mul:function(e){let t=0,n=this.toString(),o=e.toString();try{t+=n.split(".")[1].length}catch(r){}try{t+=o.split(".")[1].length}catch(r){}return Number(n.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,t)}};const Rh=Uu({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){const n=Nn(null),o=Nn(e.checked),r=function(e,t){const n=Qr(Zu,!1),o=Qr(Qu,!1),r={submit:()=>{const n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(r),Tr(()=>{n.removeField(r)}));return o}(e,o),i=Xu(n,t);Bo(()=>e.checked,e=>{o.value=e});const s=t=>{e.disabled||(o.value=!o.value,i("change",t,{value:o.value}))};return r&&(r.addHandler(s),xr(()=>{r.removeHandler(s)})),ed(e,{"label-click":s}),()=>{const{color:t,type:r}=e,i=Ju(e,"disabled"),a={};let l;return t&&o.value&&(a.backgroundColor=t,a.borderColor=t),l=o.value,ji("uni-switch",qi({id:e.id,ref:n},i,{onClick:s}),[ji("div",{class:"uni-switch-wrapper"},[Fo(ji("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:a},null,6),[[Ls,"switch"===r]]),Fo(ji("div",{class:"uni-checkbox-input"},[l?ru(nu,e.color,22):""],512),[[Ls,"checkbox"===r]])])],16,["id","onClick"])}}});const Bh={ensp:" ",emsp:" ",nbsp:" "};function Nh(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Bh[t]&&" "===i&&(i=Bh[t]),r?(o+="n"===i?ee:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/&nbsp;/g,Bh.nbsp).replace(/&ensp;/g,Bh.ensp).replace(/&emsp;/g,Bh.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'"):o}(e,t).split(ee)}const jh=Uu({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!==wi){const n=Nh(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Ii(e)),t!==r&&o.push(ji("br"))})}else o.push(t)}),ji("uni-text",{ref:n,selectable:!!e.selectable||null},[ji("span",null,o)],8,["selectable"])}}}),Dh=c({},nh,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Fh.concat("return").includes(e)}});let Ih=!1;const Fh=["done","go","next","search","send"];const Vh=Uu({name:"Textarea",props:Dh,emits:["confirm","change","linechange",...oh],setup(e,{emit:t,expose:n}){const o=Nn(null),r=Nn(null),{fieldRef:i,state:s,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=sh(e,o,t),u=ss(()=>s.value.split(ee)),d=ss(()=>Fh.includes(e.confirmType)),f=Nn(0),p=Nn(null);function h({height:e}){f.value=e}function m(e){}function g(e){"Enter"===e.key&&d.value&&e.preventDefault()}function v(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 Bo(()=>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&&(s.style.height=t+"px")}),function(){const e="(prefers-color-scheme: dark)";Ih=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?ji("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":Ih},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):ji("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":Ih},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:g,onKeyup:v,onChange:m},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return ji("uni-textarea",{ref:o,"auto-height":e.autoHeight},[ji("div",{ref:r,class:"uni-textarea-wrapper"},[Fo(ji("div",qi(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ls,!s.value.length]]),ji("div",{ref:p,class:"uni-textarea-line"},[" "],512),ji("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[u.value.map(e=>ji("div",null,[e.trim()?e:"."])),ji(Bp,{initial:!0,onResize:h},null,8,["initial","onResize"])],2),"search"===e.confirmType?ji("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),Hh=Uu({name:"View",props:c({},Ku),setup(e,{slots:t}){const n=Nn(null),{hovering:o,binding:r}=Gu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ji("uni-view",qi({class:o.value?i:"",ref:n},r),[Lr(t,"default")],16):ji("uni-view",{ref:n},[Lr(t,"default")],512)}}});function Wh(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function qh(e,t,n){e&&Sc(lu(),e,({type:e,data:n},o)=>{t(e,n,o)})}function Uh(e,t){e&&function(e,t){t=Tc(e,t),delete xc[t]}(lu(),e)}let zh=0;function Yh(e,t,n,o){g(t)&&gr(e,t.bind(n),o)}function Xh(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach(o=>{if(function(e,t,n=!0){return!(n&&!g(t))&&(nt.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach(e=>Yh(o,e,n,t)):Yh(o,r,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,fu(n,de,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&fu(n,re)}catch(r){console.error(r.message+ee+r.stack)}}}function Kh(e,t,n){Xh(e,t,n)}function Gh(e,t,n){return e[t]=n}function Jh(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Zh(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i[ae]?fu(i.proxy,ae,n):Xn(n,0,o&&o.$.vnode,!1)}}function Qh(e,t){return e?[...new Set([].concat(e,t))]:t}function em(e){const t=e.config;var n;t.errorHandler=rt(e,Zh),n=t.optionMergeStrategies,nt.forEach(e=>{n[e]=Qh});const o=t.globalProperties;o.$set=Gh,o.$applyOptions=Kh,o.$callMethod=Jh,function(e){ot.forEach(t=>t(e))}(e)}function tm(e){const t=Il({history:rm(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:om});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(nm[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let nm=Object.create(null);const om=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,nm[o]);if(t)return t}return{left:0,top:0};var o};function rm(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Qa(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=tp(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Yf(t[r]);np(sp(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const im={install(e){em(e),Lu(e),Fu(e),e.config.warnHandler||(e.config.warnHandler=sm),tm(e)}};function sm(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 am={class:"uni-async-loading"},lm=ji("i",{class:"uni-loading"},null,-1),cm=zu({name:"AsyncLoading",render:()=>(Ci(),$i("div",am,[lm]))});function um(){window.location.reload()}const dm=zu({name:"AsyncError",props:["error"],setup(){cc();const{t:e}=ac();return()=>ji("div",{class:"uni-async-error",onClick:um},[e("uni.async.error")],8,["onClick"])}});let fm;function pm(){return fm}function hm(e){fm=e,Object.defineProperty(fm.$.ctx,"$children",{get:()=>tp().map(e=>e.$vm)});const t=fm.$.appContext.app;t.component(cm.name)||t.component(cm.name,cm),t.component(dm.name)||t.component(dm.name,dm),function(e){e.$vm=e,e.$mpType="app";const t=Nn(ac().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(fm),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}})}(fm),Du(),bu()}function mm(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=Ki();if(n(r.proxy),o(r),i)return i(e,t)},e}function gm(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?mm(e.default,t):mm(e,t)}function vm(e){return gm(e,{clone:!0,init:ip,setup(e){e.$pageInstance=e;const t=ad(),n=Ge(t.query);e.attrs.__pageQuery=n,Yf(e.proxy).options=n,e.proxy.options=n;const o=id();var r,i;return Wf(o),e.onReachBottom=_n([]),e.onPageScroll=_n([]),Bo([e.onReachBottom,e.onPageScroll],()=>{const t=su();e.proxy===t&&mp(e,o)},{once:!0}),yr(()=>{cp(e,o)}),br(()=>{up(e);const{onReady:n}=e;n&&R(n),wm(t)}),ur(()=>{if(!e.__isVisible){cp(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&R(n),ro(()=>{wm(t)})}},"ba",r),function(e,t){ur(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&R(t)}}}),i=o.id,vv.subscribe(Tc(i,bc),Cc),xr(()=>{!function(e){vv.unsubscribe(Tc(e,bc)),Object.keys(xc).forEach(t=>{0===t.indexOf(e+".")&&delete xc[t]})}(o.id)}),n}})}function ym(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Hm(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";yv.emit(me,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function bm(e){T(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&yv.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function _m(){const{emit:e}=yv;"visible"===document.visibilityState?e($e,c({},Rp)):e(Pe)}function wm(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&fu("onTabItemTap",{index:n,text:t,pagePath:o})}function xm(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function Tm(e,t,n){const o=_n({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let i=null;let s;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(a){function l(){a.stopPropagation(),a.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=a.targetTouches[0],d=u.pageX,f=u.pageY,p=r,h=t.value;if("progress"===c?(!function(e){const n=t.value,r=n.duration;let i=e/600*r+o.currentTimeOld;i<0?i=0:i>r&&(i=r);o.currentTimeNew=i}(d-p.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout(()=>{o.toastThin=!1,s=void 0},1e3)),n.volume=i,o.volumeNew=i)}(f-p.y),"none"===c)if(Math.abs(d-p.x)>Math.abs(f-p.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=h.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=i||(i=setTimeout(()=>{o.toastThin=!0},500)),o.gestureType="volume",o.volumeOld=h.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}function Sm(e,t,n,o,r,i,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:s,exitFullScreen:a};!function(e,t){const n=Ki().proxy;br(()=>{qh(t||Wh(n),e),Bo(()=>n.id,(t,o)=>{qh(Wh(n,t),e),Uh(o&&Wh(n,o))})}),xr(()=>{Uh(t||Wh(n))})}((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)},function(){const e=iu(),t=Ki().proxy,n=t.$options.name.toLowerCase(),o=t.id||"context"+zh++;return br(()=>{t.$el.__uniContextInfo={id:o,type:n,page:e}}),`${n}.${o}`}())}const Cm={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},km=Uu({name:"Video",props:Cm,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=Nn(null),i=Nn(null),s=Xu(r,t),{state:a}=Jp(),{$attrs:l}=hh({excludeListeners:!0});ac(),vc();const{videoRef:c,state:u,play:d,pause:f,stop:h,seek:m,playbackRate:g,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:T,onPause:S,onEnded:C,onTimeUpdate:k}=function(e,t,n){const o=Nn(null),r=ss(()=>vp(e.src)),i=ss(()=>"true"===e.muted||!0===e.muted),s=_n({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function a(e){const t=e.target,n=t.buffered;n.length&&(s.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return Bo(()=>r.value,()=>{s.playing=!1,s.currentTime=0}),Bo(()=>s.buffered,e=>{n("progress",{},{buffered:e})}),Bo(()=>i.value,e=>{o.value.muted=e}),{videoRef:o,state:s,play:function(){const e=o.value;s.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;s.playing?e.pause():e.play()},onDurationChange:function({target:e}){s.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){s.playing=!1,n("error",e,{})},onPlay:function(e){s.start=!0,s.playing=!0,n("play",e,{})},onPause:function(e){s.playing=!1,n("pause",e,{})},onEnded:function(e){s.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;s.pauseUpdatingCurrentTime||(s.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,s),{state:E,danmuRef:O,updateDanmu:L,toggleDanmu:$,sendDanmu:P}=function(e,t){const n=Nn(null),o=_n({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function s(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout(function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout(function(){t.remove()},4e3)},17)}return i.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=r,l={time:n,index:a.index};if(n>a.time)for(let r=a.index+1;r<i.length;r++){const e=i[r];if(!(n>=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n<a.time)for(let t=a.index-1;t>-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:A,onFullscreenChange:M,emitFullscreenChange:R,toggleFullscreen:B,requestFullScreen:N,exitFullScreen:j}=function(e,t,n,o,r){const i=_n({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||s&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&a(e)}function c(){l(!1)}return xr(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,i,c,a,r),{state:D,onTouchstart:I,onTouchend:F,onTouchmove:V}=Tm(e,c,A),{state:H,progressRef:W,ballRef:q,clickProgress:U,toggleControls:z}=function(e,t,n,o){const r=Nn(null),i=Nn(null),s=ss(()=>e.showCenterPlayBtn&&!t.start),a=Nn(!0),l=ss(()=>!s.value&&e.controls&&a.value),c=_n({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:s,controlsShow:l,controlsVisible:a});let u;function d(){u=setTimeout(()=>{c.controlsVisible=!1},3e3)}function f(){u&&(clearTimeout(u),u=null)}return xr(()=>{u&&clearTimeout(u)}),Bo(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?d():f()}),br(()=>{const e=Ye(!1);let s,a,l,u=!0;const d=i.value;function f(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-s)<Math.abs(d-a))return void p(e);u=!1;const f=r.value.offsetWidth;let h=l+(i-s)/f*100;h<0?h=0:h>100&&(h=100),t.progress=h,null==o||o(t.duration*h/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function p(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",f,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",n=>{c.controlsTouching=!0;const o=n.targetTouches[0];s=o.pageX,a=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",f,e)}),d.addEventListener("touchend",p),d.addEventListener("touchcancel",p)}),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,s=e.offsetX;for(;i&&i!==o;)s+=i.offsetLeft,i=i.parentNode;const a=o.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,u,m,e=>{D.currentTimeNew=e});Sm(d,f,h,m,P,g,N,j);const Y=function(e,t,n){const o=ss(()=>"progress"===t.gestureType||n.touching);return Bo(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),Bo([()=>e.currentTime,()=>{Cm.duration}],()=>{e.progress=e.currentTime/e.duration*100}),Bo(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(u,D,H);return()=>ji("uni-video",{ref:r,id:e.id,onClick:z},[ji("div",{ref:i,class:"uni-video-container",onTouchstart:I,onTouchend:F,onTouchmove:V,onFullscreenchange:na(M,["stop"]),onWebkitfullscreenchange:na(e=>M(e,!0),["stop"])},[ji("video",qi({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:T,onPause:S,onEnded:C,onTimeupdate:e=>{k(e),L(e)},onWebkitbeginfullscreen:()=>R(!0),onX5videoenterfullscreen:()=>R(!0),onWebkitendfullscreen:()=>R(!1),onX5videoexitfullscreen:()=>R(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),Fo(ji("div",{class:"uni-video-bar uni-video-bar-full",onClick:na(()=>{},["stop"])},[ji("div",{class:"uni-video-controls"},[Fo(ji("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:na(v,["stop"])},null,10,["onClick"]),[[Ls,e.showPlayBtn]]),Fo(ji("div",{class:"uni-video-current-time"},[xm(u.currentTime)],512),[[Ls,e.showProgress]]),Fo(ji("div",{ref:W,class:"uni-video-progress-container",onClick:na(U,["stop"])},[ji("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[ji("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),ji("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),ji("div",{ref:q,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[ji("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Ls,e.showProgress]]),Fo(ji("div",{class:"uni-video-duration"},[xm(Number(e.duration)||u.duration)],512),[[Ls,e.showProgress]])]),Fo(ji("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:na($,["stop"])},null,10,["onClick"]),[[Ls,e.danmuBtn]]),Fo(ji("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":A.fullscreen},onClick:na(()=>B(!A.fullscreen),["stop"])},null,10,["onClick"]),[[Ls,e.showFullscreenBtn]])],8,["onClick"]),[[Ls,H.controlsShow]]),Fo(ji("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Ls,u.start&&E.enable]]),H.centerPlayBtnShow&&ji("div",{class:"uni-video-cover",onClick:na(()=>{},["stop"])},[ji("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:na(d,["stop"])},null,8,["onClick"])],8,["onClick"]),ji("div",{class:"uni-video-loading"},["volume"===D.gestureType?ji("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":D.toastThin},style:{marginTop:"5px"}},[!D.toastThin&&D.volumeNew>0&&"volume"===D.gestureType?ji("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!D.toastThin&&ji("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),ji("div",{class:"uni-video-toast-draw",style:{width:100*D.volumeNew+"%"}},null)],2):null]),ji("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[ji("div",{class:"uni-video-toast-title"},[ji("span",{class:"uni-video-toast-title-current-time"},[xm(D.currentTimeNew)])," / ",Number(e.duration)||xm(u.duration)])],2),ji("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Em=Re(()=>{Kd.forEach(e=>{Om.prototype[e]=function(t){g(t)&&this._events[e].push(t)}}),Gd.forEach(e=>{Om.prototype[e]=function(t){var n=this._events[e.replace("off","on")],o=n.indexOf(t);o>=0&&n.splice(o,1)}})});class Om{constructor(){this._src="";var e=this._audio=new Audio;this._stoping=!1;["src","autoplay","loop","duration","currentTime","paused","volume"].forEach(t=>{Object.defineProperty(this,t,{set:"src"===t?t=>(e.src=vp(t),this._src=t,t):n=>(e[t]=n,n),get:"src"===t?()=>this._src:()=>e[t]})}),this.startTime=0,Object.defineProperty(this,"obeyMuteSwitch",{set:()=>!1,get:()=>!1}),Object.defineProperty(this,"buffered",{get(){var t=e.buffered;return t.length?t.end(t.length-1):0}}),this._events={},Kd.forEach(e=>{this._events[e]=[]}),e.addEventListener("loadedmetadata",()=>{var t=Number(this.startTime)||0;t>0&&(e.currentTime=t)});var t=["canplay","pause","seeking","seeked","timeUpdate"];t.concat(["play","ended","error","waiting"]).forEach(n=>{e.addEventListener(n.toLowerCase(),()=>{if(this._stoping&&t.indexOf(n)>=0)return;const e=`on${n.slice(0,1).toUpperCase()}${n.slice(1)}`;this._events[e].forEach(e=>{e()})},!1)}),Em()}play(){this._stoping=!1,this._audio.play()}pause(){this._audio.pause()}stop(){this._stoping=!0,this._audio.pause(),this._audio.currentTime=0,this._events.onStop.forEach(e=>{e()})}seek(e){this._stoping=!1,"number"!=typeof(e=Number(e))||isNaN(e)||(this._audio.currentTime=e)}destroy(){this.stop()}}const Lm=Dd(0,()=>new Om),$m="__DC_STAT_UUID",Pm=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Am;function Mm(){if(Am=Am||Pm[$m],!Am){Am=Date.now()+""+Math.floor(1e7*Math.random());try{Pm[$m]=Am}catch(e){}}return Am}function Rm(){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 Bm(){let e,t="0",n="",o="phone";const r=navigator.language;if(_p){e="iOS";const o=yp.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=yp.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(bp){e="Android";const o=yp.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=yp.match(/\((.+?)\)/),i=r?r[1].split(";"):yp.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(Sp){if(n="iPad",e="iOS",o="pad",t=g(window.BigInt)?"14.0":"13.0",14===parseInt(t)){const e=yp.match(/Version\/(\S*)\b/);e&&(t=e[1])}}else if(wp||xp||Tp){n="PC",e="PC",o="pc",t="0";let r=yp.match(/\((.+?)\)/)[1];if(wp){switch(e="Windows",wp[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(xp){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(Tp){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.toLowerCase();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(yp)&&(a=t[n],l=yp.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.toLowerCase(),browserVersion:l,language:r,deviceType:o,ua:yp,osname:e,osversion:t,theme:Rm()}}const Nm=Dd(0,()=>{const e=window.devicePixelRatio,t=Cp(),n=kp(t),o=Ep(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Op(o);let s=window.innerHeight;const a=zc.top,l={left:zc.left,right:i-zc.right,top:zc.top,bottom:s-zc.bottom,width:i-zc.left-zc.right,height:s-zc.top-zc.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=Gc(),n=Kc(e,"--window-bottom"),o=Kc(e,"--window-left"),r=Kc(e,"--window-right"),i=Kc(e,"--top-window-height");return{top:t,bottom:n?n+zc.bottom:0,left:o?o+zc.left:0,right:r?r+zc.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:zc.top,right:zc.right,bottom:zc.bottom,left:zc.left},screenTop:r-s}});let jm,Dm=!0;function Im(){Dm&&(jm=Bm())}const Fm=Dd(0,()=>{Im();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=jm;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Mm(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i,osName:l?l.toLowerCase():void 0,osVersion:u})}),Vm=Dd(0,()=>{Im();const{theme:e,language:t,browserName:n,browserVersion:o}=jm;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Jd?Jd():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:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})}),Hm=Dd(0,()=>{Dm=!0,Im(),Dm=!1;const e=Nm(),t=Fm(),n=Vm();Dm=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=jm,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLowerCase(),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 T(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}(l)});var Wm=(e,t,n)=>new Promise((o,r)=>{var i=e=>{try{a(n.next(e))}catch(t){r(t)}},s=e=>{try{a(n.throw(e))}catch(t){r(t)}},a=e=>e.done?o(e.value):Promise.resolve(e.value).then(i,s);a((n=n.apply(e,t)).next())});const qm=Id("getClipboardData",(e,t)=>Wm(void 0,[e,t],function*(e,{resolve:t,reject:n}){mc();const{t:o}=ac();try{t({data:yield navigator.clipboard.readText()})}catch(r){!function(e,t){const n=document.getElementById("#clipboard"),o=n?n.value:void 0;o?e({data:o}):t()}(t,()=>{n(`${r} ${o("uni.getClipboardData.fail")}`)})}})),Um=Id("setClipboardData",(e,t)=>Wm(void 0,[e,t],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.setAttribute("inputmode","none"),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)}}),0,Qd);const zm=Dd(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function Ym(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 Xm=Dd(0,e=>{try{return Ym(e)}catch(t){return""}}),Km=Dd(0,e=>{localStorage&&localStorage.removeItem(e)}),Gm={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 Jm({count:e,sourceType:t,type:n,extension:o}){Kp();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}/${Gm[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 Zm=null;const Qm=Id("chooseFile",({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:i})=>{pc();const{t:s}=ac();Zm&&(document.body.removeChild(Zm),Zm=null),Zm=Jm({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(Zm),Zm.addEventListener("cancel",()=>{i("chooseFile:fail cancel")}),Zm.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||Ap(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map(({path:e})=>e)},tempFiles:o})}),Zm.click(),Gp()||console.warn(s("uni.chooseFile.notUserActivation"))},0,nf);let eg=null;const tg=Id("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{pc();const{t:i}=ac();eg&&(document.body.removeChild(eg),eg=null),eg=Jm({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(eg),eg.addEventListener("cancel",()=>{r("chooseImage:fail cancel")}),eg.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||Ap(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map(({path:e})=>e)},tempFiles:r})}),eg.click(),Gp()||console.warn(i("uni.chooseFile.notUserActivation"))},0,ef),ng={esc:["Esc","Escape"],enter:["Enter"]},og=Object.keys(ng);function rg(){const e=Nn(""),t=Nn(!1),n=n=>{if(t.value)return;const o=og.find(e=>-1!==ng[e].indexOf(n.key));o&&(e.value=o),ro(()=>e.value="")};return br(()=>{document.addEventListener("keyup",n)}),xr(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const ig=ji("div",{class:"uni-mask"},null,-1);function sg(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ia(Qo({setup:()=>()=>(Ci(),$i(e,t,null,16))}))}function ag(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function lg(e,{onEsc:t,onEnter:n}){const o=Nn(e.visible),{key:r,disable:i}=rg();return Bo(()=>e.visible,e=>o.value=e),Bo(()=>o.value,e=>i.value=!e),Mo(()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}const cg=jd("request",({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const p=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)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(m){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let h;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;h=new dg(t);const f={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},p=setTimeout(function(){h.abort(),u("timeout",{errCode:5})},l);f.signal.addEventListener("abort",function(){clearTimeout(p),u("abort",{errCode:600003})}),window.fetch(e,f).then(e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach((e,t)=>{s[t]=e});const a=ug(s);if(h._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then(({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}(u);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=pg(n,i,r)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),h._emitter.emit("chunkReceived",{data:o}),d()})};d()},e=>{u(e,{errCode:5})})}else{const t=new XMLHttpRequest;h=new dg(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout(function(){t.onload=t.onabort=t.onerror=null,h.abort(),u("timeout",{errCode:5})},l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=pg(n,i,r)),c({data:n,statusCode:e,header:fg(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return h},0,af),ug=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;r<o.length;r++)-1!==o[r].indexOf("Expires=")||-1!==o[r].indexOf("expires=")?n.push(o[r].replace(",","")):n.push(o[r]);return n=n.join(";").split(","),n};class dg{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new st,this._controller=e}abort(){this._controller&&(this._controller.abort(),delete this._controller)}onHeadersReceived(e){return this._emitter.on("headersReceived",e),this._requestOnHeadersReceiveCallbackId++,this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId,e),this._requestOnHeadersReceiveCallbackId}offHeadersReceived(e){if(null==e)return void this._emitter.off("headersReceived");if("function"==typeof e)return void this._requestOnHeadersReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))});const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))});const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function fg(e){const t={};return e.split(ee).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function pg(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class hg{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._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const mg=jd("downloadFile",({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,s=new XMLHttpRequest,a=new hg(s);return s.open("GET",e,!0),Object.keys(t).forEach(e=>{s.setRequestHeader(e,t[e])}),s.responseType="blob",s.onload=function(){clearTimeout(i);const t=s.status,n=this.response;let r;const a=s.getResponseHeader("content-disposition");if(a){const e=a.match(/filename="?(\S+)"?\b/);e&&(r=e[1])}n.name=r||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:Ap(n)})},s.onabort=function(){clearTimeout(i),r("abort",{errCode:600003})},s.onerror=function(){clearTimeout(i),r("",{errCode:602001})},s.onprogress=function(e){a._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})})},s.send(),i=setTimeout(function(){s.onprogress=s.onload=s.onabort=s.onerror=null,a.abort(),r("timeout",{errCode:5})},n),a},0,lf);class gg{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 vg=jd("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 gg;return p(r)&&r.length||(n||c("file error"),r=[{name:o,file:t,uri:n}]),Promise.all(r.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Pp(e)):$p(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,cf),yg=Id("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===fu(ge,{from:e.from||"navigateBack"})&&(o=!1),o?(pm().$router.go(-e.delta),t()):n(ge)},0,yf),bg=Id(df,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Xf.handledBeforeEntryPageRoutes)return Rf({type:df,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Kf.push({args:{type:df,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})},0,mf);function _g(e){__uniConfig.darkmode&&yv.on(le,e)}function wg(e){yv.off(le,e)}function xg(e){let t={};return __uniConfig.darkmode&&(t=ct(e,__uniConfig.themeConfig,Rm())),__uniConfig.darkmode?t:e}const Tg={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Sg=Qo({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=lg(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=Nn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Tg[e].cancelColor})(e,t)};return Mo(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Rm()&&n({theme:"dark"}),_g(n))):wg(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,ji(ms,{name:"uni-fade"},{default:()=>[Fo(ji("uni-modal",{onTouchmove:Yc},[ig,ji("div",{class:"uni-modal"},[t?ji("div",{class:"uni-modal__hd"},[ji("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?ji("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):ji("div",{class:"uni-modal__bd",onTouchmovePassive:Xc,textContent:o},null,40,["onTouchmovePassive","textContent"]),ji("div",{class:"uni-modal__ft"},[l&&ji("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),ji("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Ls,s.value]])]})}}});let Cg;const kg=Re(()=>{yv.on("onHidePopup",()=>Cg.visible=!1)});let Eg;function Og(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Cg.editable&&(o.content=t),Eg&&Eg(o)}const Lg=Id("showModal",(e,{resolve:t})=>{kg(),Eg=t,Cg?(c(Cg,e),Cg.visible=!0):(Cg=_n(e),ro(()=>(sg(Sg,Cg,Og).mount(ag("u-a-m")),ro(()=>Cg.visible=!0))))},0,Cf),$g={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==kf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Pg="uni-toast__icon",Ag={light:"#fff",dark:"rgba(255,255,255,0.9)"},Mg=e=>Ag[e],Rg=Qo({name:"Toast",props:$g,setup(e){uc(),dc();const{Icon:t}=function(e){const t=Nn(Mg(Rm())),n=({theme:e})=>t.value=Mg(e);Mo(()=>{e.visible?_g(n):wg(n)});const o=ss(()=>{switch(e.icon){case"success":return ji(ru(nu,t.value,38),{class:Pg});case"error":return ji(ru(ou,t.value,38),{class:Pg});case"loading":return ji("i",{class:[Pg,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=lg(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return ji(ms,{name:"uni-fade"},{default:()=>[Fo(ji("uni-toast",{"data-duration":r},[o?ji("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Yc},null,40,["onTouchmove"]):"",s||t.value?ji("div",{class:"uni-toast"},[s?ji("img",{src:s,class:Pg},null,10,["src"]):t.value,ji("p",{class:"uni-toast__content"},[i])]):ji("div",{class:"uni-sample-toast"},[ji("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ls,n.value]])]})}}});let Bg,Ng,jg="";const Dg=pt();function Ig(e){Bg?c(Bg,e):(Bg=_n(c(e,{visible:!1})),ro(()=>{Dg.run(()=>{Bo([()=>Bg.visible,()=>Bg.duration],([e,t])=>{if(e){if(Ng&&clearTimeout(Ng),"onShowLoading"===jg)return;Ng=setTimeout(()=>{qg("onHideToast")},t)}else Ng&&clearTimeout(Ng)})}),yv.on("onHidePopup",()=>qg("onHidePopup")),sg(Rg,Bg,()=>{}).mount(ag("u-a-t"))})),setTimeout(()=>{Bg.visible=!0},10)}const Fg=Id("showToast",(e,{resolve:t,reject:n})=>{Ig(e),jg="onShowToast",t()},0,Ef),Vg={icon:"loading",duration:1e8,image:""},Hg=Id("showLoading",(e,{resolve:t,reject:n})=>{c(e,Vg),Ig(e),jg="onShowLoading",t()},0,Sf),Wg=Id("hideLoading",(e,{resolve:t,reject:n})=>{qg("onHideLoading"),t()});function qg(e){const{t:t}=ac();if(!jg)return;let n="";if("onHideToast"===e&&"onShowToast"!==jg?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==jg&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);jg="",setTimeout(()=>{Bg.visible=!1},10)}const Ug=Id("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:r})=>{(function(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then(()=>{o.add&&o.add(r)})}return new Promise(o=>{const r=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:s,featureSettings:a}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),o&&i.push(`font-stretch:${o}`),r&&i.push(`unicode-range:${r}`),s&&i.push(`font-variant:${s}`),a&&i.push(`font-feature-settings:${a}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(r),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${vp(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${vp(t.substring(4,t.length-1))}')`:vp(t),n).then(()=>{o()}).catch(e=>{r(`loadFontFace:fail ${e}`)})});function zg(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,yv.emit("onNavigationBarChange",{titleText:t})}Mo(t),lr(t)}const Yg=zu({name:"TabBar",setup(){const e=Nn([]),t=jf(),n=function(e,t){const n=Sn(e),o=n?_n(xg(e)):xg(e);return __uniConfig.darkmode&&n&&Bo(e,e=>{const t=xg(e);for(const n in t)o[n]=t[n]}),t&&_g(t),o}(t,()=>{const e=xg(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath})});!function(e,t){function n(){let n=[];n=e.list.filter(e=>!1!==e.visible),t.value=n}Nn(c({type:"midButton"},e.midButton)),Mo(n)}(n,e),function(e){Bo(()=>e.shown,t=>{Zc({"--window-bottom":qf(t?parseInt(e.height):0)})})}(n);const o=function(e,t,n){return Mo(()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=r}}),(t,n)=>{const{type:o}=t;return()=>{const{pagePath:o,text:r}=t;let i=Me(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?Pf({from:"tabBar",url:i,tabBarText:r}):fu("onTabItemTap",{index:n,text:r,pagePath:o})}}}(Fl(),n,e),{style:r,borderStyle:i,placeholderStyle:s}=function(e){const t=ss(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||Vf&&n&&"none"!==n&&(t=Jg[n]),{backgroundColor:t||Xg,backdropFilter:"none"!==n?"blur(10px)":n}}),n=ss(()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:Zg[t]||Zg.black}}),o=ss(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return br(()=>{n.iconfontSrc&&Ug({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map((n,s)=>{const a=o===s;return function(e,t,n,o,r,i,s,a){return ji("div",{key:s,class:"uni-tabbar__item",onClick:a(r,s)},[Qg(e,t||"",n,o,r,i)],8,["onClick"])}(a?r:i,a&&n.selectedIconPath||n.iconPath||"",n.iconfont?a&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?a&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,s,t)})}(n,o,e);return ji("uni-tabbar",{class:"uni-tabbar-"+n.position},[ji("div",{class:"uni-tabbar",style:r.value},[ji("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),ji("div",{class:"uni-placeholder",style:s.value},null,4)],2)}}});const Xg="#f7f7fa",Kg="rgb(0, 0, 0, 0.8)",Gg="rgb(250, 250, 250, 0.8)",Jg={dark:Kg,light:Gg,extralight:Gg},Zg={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Qg(e,t,n,o,r,i){const{height:s}=i;return ji("div",{class:"uni-tabbar__bd",style:{height:s}},[n?tv(n,o||Kg,r,i):t&&ev(t,r,i),r.text&&nv(e,r,i),r.redDot&&ov(r.badge)],4)}function ev(e,t,n){const{type:o,text:r}=t,{iconWidth:i}=n;return ji("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==o&&ji("img",{src:vp(e)},null,8,["src"])],6)}function tv(e,t,n,o){var r;const{type:i,text:s}=n,{iconWidth:a}=o,l="uni-tabbar__icon"+(s?" uni-tabbar__icon__diff":""),c={width:a,height:a},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||a,color:t};return ji("div",{class:l,style:c},["midButton"!==i&&ji("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function nv(e,t,n){const{iconPath:o,text:r}=t,{fontSize:i,spacing:s}=n;return ji("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:o?"normal":1.8,marginTop:o?s:"inherit"}},[r],4)}function ov(e){return ji("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const rv="0px",iv=zu({name:"Layout",setup(e,{emit:t}){const n=Nn(null);Jc({"--status-bar-height":rv,"--top-window-height":rv,"--window-left":rv,"--window-right":rv,"--window-margin":rv,"--tab-bar-height":rv});const o=function(){const e=Fl();return{routeKey:ss(()=>sp("/"+e.meta.route,ld())),isTabBar:ss(()=>e.meta.isTabBar),routeCache:lp}}(),{layoutState:r,windowState:i}=function(){ad();{const e=_n({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Bo(()=>e.marginWidth,e=>Jc({"--window-margin":e+"px"})),Bo(()=>e.leftWindowWidth+e.marginWidth,e=>{Jc({"--window-left":e+"px"})}),Bo(()=>e.rightWindowWidth+e.marginWidth,e=>{Jc({"--window-right":e+"px"})}),{layoutState:e,windowState:ss(()=>({}))}}}();!function(e,t){const n=ad();function o(){const o=document.body.clientWidth,r=tp();let i={};if(r.length>0){i=Yf(r[r.length-1]).meta}else{const e=yu(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,ro(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")})):(e.marginWidth=0,ro(()=>{const e=t.value;e&&e.removeAttribute("style")}))}Bo([()=>n.path],o),br(()=>{o(),window.addEventListener("resize",o)})}(r,n);const s=function(){const e=ad(),t=jf(),n=ss(()=>e.meta.isTabBar&&t.shown);return Jc({"--tab-bar-height":t.height}),n}(),a=function(e){const t=Nn(!1);return ss(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}(s);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return ji(Dl,null,{default:_o(({Component:o})=>[(Ci(),$i(sr,{matchBy:"key",cache:n},[(Ci(),$i(Oo(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return Fo(ji(Yg,null,null,512),[[Ls,e.value]])}(s);return ji("uni-app",{ref:n,class:a.value},[e,t],2)}}});function sv(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Pi(e)}function av(e){if(e.mode===uv.TIME)return"00:00";if(e.mode===uv.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case dv.YEAR:return t.toString();case dv.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function lv(e){if(e.mode===uv.TIME)return"23:59";if(e.mode===uv.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case dv.YEAR:return t.toString();case dv.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function cv(e,t,n,o){const r=e.mode===uv.DATE?"-":":",i=e.mode===uv.DATE?t.dateArray:t.timeArray;let s;if(e.mode===uv.TIME)s=2;else switch(e.fields){case dv.YEAR:s=1;break;case dv.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?cv(e,t,o):l.map(()=>0)),l}const uv={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},dv={YEAR:"year",MONTH:"month",DAY:"day"},fv={PICKER:"picker",SELECT:"select"},pv=Uu({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:uv.SELECTOR,validator:e=>Object.values(uv).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>av(e)},end:{type:String,default:e=>lv(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){gc();const{t:o}=ac(),r=Nn(null),i=Nn(null),s=Nn(null),a=Nn(null),l=Nn(!1),{state:u,rangeArray:d}=function(e){const t=_n({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=ss(()=>{let n=e.range;switch(e.mode){case uv.SELECTOR:return[n];case uv.MULTISELECTOR:return n;case uv.TIME:return t.timeArray;case uv.DATE:{const n=t.dateArray;switch(e.fields){case dv.YEAR:return[n[0]];case dv.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]});return{state:t,rangeArray:n}}(e),f=Xu(r,t),{system:h,selectorTypeComputed:m,_show:g,_l10nColumn:v,_l10nItem:y,_input:b,_fixInputPosition:_,_pickerViewChange:w,_cancel:x,_change:T,_resetFormData:S,_getFormData:C,_createTime:k,_createDate:E,_setValueSync:O}=function(e,t,n,o,r,i,s){const a=function(){const e=Nn(!1);return e.value=hv(),e}(),l=function(){const e=Nn("");return e.value=mv(),e}(),c=ss(()=>{const t=e.selectorType;return Object.values(fv).includes(t)?t:a.value?fv.PICKER:fv.SELECT}),u=ss(()=>e.mode===uv.DATE&&!Object.values(dv).includes(e.fields)&&t.isDesktop?l.value:""),d=ss(()=>cv(e,t,e.start,av(e))),f=ss(()=>cv(e,t,e.end,lv(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 uv.SELECTOR:t.valueSync=0;break;case uv.MULTISELECTOR:t.valueSync=e.value.map(e=>0);break;case uv.DATE:case uv.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 b(){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 _(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 T(){let n=e.value;switch(e.mode){case uv.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 uv.TIME:case uv.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function S(){let n,o=t.valueSync;switch(e.mode){case uv.MULTISELECTOR:n=[...o];break;case uv.TIME:n=cv(e,t,o,Ne({mode:uv.TIME}));break;case uv.DATE:n=cv(e,t,o,Ne({mode:uv.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function C(){let n=t.valueArray;switch(e.mode){case uv.SELECTOR:return n[0];case uv.MULTISELECTOR:return n.map(e=>e);case uv.TIME:return t.valueArray.map((e,n)=>t.timeArray[n][e]).join(":");case uv.DATE:return t.valueArray.map((e,n)=>t.dateArray[n][e]).join("-")}}function k(){O(),t.valueChangeSource="click";const e=C();t.valueSync=p(e)?e.map(e=>e):e,n("change",{},{value:e})}function E(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===uv.SELECTOR&&c.value===fv.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function $(e){const n=e.target;t.valueSync=n.value,ro(()=>{k()})}function P(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 A(e){t.valueArray=M(e.detail.value,!0)}function M(t,n){const{getLocale:o}=ac();if(e.mode===uv.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case dv.YEAR:return t;case dv.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 R(t,n){const{getLocale:o}=ac();if(e.mode===uv.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==dv.YEAR&&n===(e.fields===dv.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 Bo(()=>t.visible,e=>{e?(clearTimeout(gv),t.contentVisible=e,L()):gv=setTimeout(()=>{t.contentVisible=e},300)}),Bo([()=>e.mode,()=>e.value,()=>e.range],T,{deep:!0}),Bo(()=>t.valueSync,S,{deep:!0}),Bo(()=>t.valueArray,o=>{if(e.mode===uv.TIME||e.mode===uv.DATE){const n=e.mode===uv.TIME?_:w,o=t.valueArray,r=d.value,i=f.value;if(e.mode===uv.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===uv.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))})}),{selectorTypeComputed:c,system:u,_show:h,_cancel:E,_change:k,_l10nColumn:M,_l10nItem:R,_input:$,_resetFormData:g,_getFormData:m,_createTime:v,_createDate:b,_setValueSync:T,_fixInputPosition:P,_pickerViewChange:A}}(e,u,f,r,i,s,a);!function(e,t,n){const{key:o,disable:r}=rg();Mo(()=>{r.value=!e.visible}),Bo(o,e=>{"esc"===e?t():"enter"===e&&n()})}(u,x,T),function(e,t){const n=Qr(Zu,!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),xr(()=>{n.removeField(o)})}}(S,C),k(),E(),O();const L=function(e){const t=Nn(0),n=Nn(0),o=ss(()=>t.value>=500&&n.value>=500),r=ss(()=>{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?s.width:300),o=a(s.top),l=a(s.height),u=e+t/2;r.transform="none !important";const d=Math.max(0,u-t/2);r.left=`${d}px`,s.width&&(r.width=`${t}px`);let f=Math.max(12,u-d);f=Math.min(t-12,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 br(()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=Hm();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),Tr(()=>{window.removeEventListener("resize",e)})}),{isDesktop:o,popupStyle:r}}(u);return Mo(()=>{u.isDesktop=L.isDesktop.value,u.popupStyle=L.popupStyle.value}),xr(()=>{i.value&&i.value.remove()}),br(()=>{l.value=!0}),()=>{let t;const{visible:c,contentVisible:f,valueArray:p,popupStyle:S,valueSync:C}=u,{rangeKey:k,mode:E,start:O,end:L}=e,$=Ju(e,"disabled");return ji("uni-picker",qi({ref:r},$,{onClick:Yu(g)}),[l.value?ji("div",{ref:i,class:["uni-picker-container",`uni-${E}-${m.value}`],onWheel:Yc,onTouchmove:Yc},[ji(ms,{name:"uni-fade"},{default:()=>[Fo(ji("div",{class:"uni-mask uni-picker-mask",onClick:Yu(x),onMousemove:_},null,40,["onClick","onMousemove"]),[[Ls,c]])]}),h.value?null:ji("div",{class:[{"uni-picker-toggle":c},"uni-picker-custom"],style:S.content},[ji("div",{class:"uni-picker-header",onClick:Xc},[ji("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:Yu(x)},[o("uni.picker.cancel")],8,["onClick"]),ji("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:T},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?ji(_h,{value:v(p),class:"uni-picker-content",onChange:w},sv(t=Or(v(d.value),(e,t)=>{let n;return ji(Eh,{key:t},sv(n=Or(e,(e,n)=>ji("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[k]||"":y(e,t)])))?n:{default:()=>[n],_:1})}))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,ji("div",{ref:s,class:"uni-picker-select",onWheel:Xc,onTouchmove:Xc},[Or(d.value[0],(e,t)=>ji("div",{key:t,class:["uni-picker-item",{selected:p[0]===t}],onClick:()=>{p[0]=t,T()}},["object"==typeof e?e[k]||"":e],10,["onClick"]))],40,["onWheel","onTouchmove"]),ji("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,ji("div",null,[n.default&&n.default()]),h.value?ji("div",{class:"uni-picker-system",onMousemove:Yu(_)},[ji("input",{class:["uni-picker-system_input",h.value],ref:a,value:C,type:E,tabindex:"-1",min:O,max:L,onChange:e=>{b(e),Xc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});const hv=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;const mv=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};let gv;const vv=c(kc,{publishHandler(e,t,n){yv.subscribeHandler(e,t,n)}}),yv=c(Au,{publishHandler(e,t,n){vv.subscribeHandler(e,t,n)}}),bv=zu({name:"PageBody",setup(e,t){const n=!1,o=Nn(null),r=Nn(null);return Bo(()=>n.enablePullDownRefresh,()=>{r.value=null},{immediate:!0}),()=>ji(bi,null,[!1,ji("uni-page-wrapper",qi({ref:o},r.value),[ji("uni-page-body",null,[Lr(t.slots,"default")]),null],16)])}}),_v=zu({name:"Page",setup(e,t){let n=sd(ld());n.navigationBar;const o={};return zg(n),()=>ji("uni-page",{"data-page":n.route,style:o},[wv(t),null])}});function wv(e){return Ci(),$i(bv,{key:0},{default:_o(()=>[Lr(e.slots,"page")]),_:3})}const xv={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Xd;const Tv=Object.assign({}),Sv=Object.assign;window.__uniConfig=Sv({globalStyle:{backgroundColor:"#f9fafb",navigationBar:{backgroundColor:"#ffffff",titleText:"AI有声书",type:"default",titleColor:"#000000"},isNVue:!1},tabBar:{position:"bottom",color:"#9ca3af",selectedColor:"#4F46E5",borderStyle:"white",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index",text:"首页"},{pagePath:"pages/create/index",text:"生成"},{pagePath:"pages/history/index",text:"历史"},{pagePath:"pages/mine/index",text:"我的"}],backgroundColor:"#ffffff",selectedIndex:0,shown:!0},compilerVersion:"4.84"},{appId:"",appName:"",appVersion:"1.0.0",appVersionCode:"100",async:xv,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(Tv).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Sv(e[n]||(e[n]={}),Tv[t].default),e},{}),router:{mode:"hash",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Cv={delay:xv.delay,timeout:xv.timeout,suspensible:xv.suspensible};xv.loading&&(Cv.loadingComponent={name:"SystemAsyncLoading",render:()=>ji(ko(xv.loading))}),xv.error&&(Cv.errorComponent={name:"SystemAsyncError",props:["error"],render(){return ji(ko(xv.error),{error:this.error})}});const kv=()=>t(()=>import("./pages-index-index.F_WhoMrP.js"),__vite__mapDeps([0,1,2])).then(e=>vm(e.default||e)),Ev=tr(Sv({loader:kv},Cv)),Ov=()=>t(()=>import("./pages-create-index.BistVuQq.js"),__vite__mapDeps([3,4,1,5])).then(e=>vm(e.default||e)),Lv=tr(Sv({loader:Ov},Cv)),$v=()=>t(()=>import("./pages-history-index.CEVmSmoU.js"),__vite__mapDeps([6,4,1,7])).then(e=>vm(e.default||e)),Pv=tr(Sv({loader:$v},Cv)),Av=()=>t(()=>import("./pages-mine-index.CxA0PXbk.js"),__vite__mapDeps([8,1,9])).then(e=>vm(e.default||e)),Mv=tr(Sv({loader:Av},Cv)),Rv=()=>t(()=>import("./pages-member-index.D8KNhv6G.js"),__vite__mapDeps([10,1,11])).then(e=>vm(e.default||e)),Bv=tr(Sv({loader:Rv},Cv)),Nv=()=>t(()=>import("./pages-player-index.Duoye2hE.js"),__vite__mapDeps([12,4,1,13])).then(e=>vm(e.default||e)),jv=tr(Sv({loader:Nv},Cv)),Dv=()=>t(()=>import("./pages-login-index.C95zcaI2.js"),__vite__mapDeps([14,1,15])).then(e=>vm(e.default||e)),Iv=tr(Sv({loader:Dv},Cv)),Fv=()=>t(()=>import("./pages-ai-index.EF9hKGQd.js"),__vite__mapDeps([16,1,17])).then(e=>vm(e.default||e)),Vv=tr(Sv({loader:Fv},Cv)),Hv=()=>t(()=>import("./pages-ai-content-index.CUcSCcat.js"),__vite__mapDeps([18,1,19])).then(e=>vm(e.default||e)),Wv=tr(Sv({loader:Hv},Cv)),qv=()=>t(()=>import("./pages-learning-path-index.mDV2q8nR.js"),__vite__mapDeps([20,1,21])).then(e=>vm(e.default||e)),Uv=tr(Sv({loader:qv},Cv)),zv=()=>t(()=>import("./pages-favorites-index.RGVmocpY.js"),__vite__mapDeps([22,1,23])).then(e=>vm(e.default||e)),Yv=tr(Sv({loader:zv},Cv)),Xv=()=>t(()=>import("./pages-search-index.DUjMkWBz.js"),__vite__mapDeps([24,4,1,25])).then(e=>vm(e.default||e)),Kv=tr(Sv({loader:Xv},Cv)),Gv=()=>t(()=>import("./pages-album-index.BwM-rjr3.js"),__vite__mapDeps([26,4,27,1,28])).then(e=>vm(e.default||e)),Jv=tr(Sv({loader:Gv},Cv)),Zv=()=>t(()=>import("./pages-albums-index.BtKMvbpX.js"),__vite__mapDeps([29,1,30])).then(e=>vm(e.default||e)),Qv=tr(Sv({loader:Zv},Cv)),ey=()=>t(()=>import("./pages-book-generator-index.DK-2uG5e.js"),__vite__mapDeps([31,27,1,32])).then(e=>vm(e.default||e)),ty=tr(Sv({loader:ey},Cv)),ny=()=>t(()=>import("./pages-video-generator-index.CNYZ7b_9.js"),__vite__mapDeps([33,34,1,35])).then(e=>vm(e.default||e)),oy=tr(Sv({loader:ny},Cv)),ry=()=>t(()=>import("./pages-video-generator-create.DIeZdTz7.js"),__vite__mapDeps([36,34,1,37])).then(e=>vm(e.default||e)),iy=tr(Sv({loader:ry},Cv)),sy=()=>t(()=>import("./pages-video-generator-preview.CHvEKhoE.js"),__vite__mapDeps([38,34,1,39])).then(e=>vm(e.default||e)),ay=tr(Sv({loader:sy},Cv));function ly(e,t){return Ci(),$i(_v,null,{page:_o(()=>[ji(e,Sv({},t,{ref:"page"}),null,512)]),_:1})}
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */
let cy;window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Ev,t)}},loader:kv,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{titleText:"首页",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/create/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Lv,t)}},loader:Ov,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/history/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Pv,t)}},loader:$v,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Mv,t)}},loader:Av,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/member/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Bv,t)}},loader:Rv,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/player/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(jv,t)}},loader:Nv,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/login/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Iv,t)}},loader:Dv,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ai/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Vv,t)}},loader:Fv,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ai-content/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Wv,t)}},loader:Hv,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/learning-path/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Uv,t)}},loader:qv,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/favorites/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Yv,t)}},loader:zv,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/search/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Kv,t)}},loader:Xv,meta:{navigationBar:{titleText:"搜索",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/album/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Jv,t)}},loader:Gv,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/albums/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(Qv,t)}},loader:Zv,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/book-generator/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(ty,t)}},loader:ey,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/video-generator/index",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(oy,t)}},loader:ny,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/video-generator/create",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(iy,t)}},loader:ry,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/video-generator/preview",component:{setup(){const e=pm(),t=e&&e.$route&&e.$route.query||{};return()=>ly(ay,t)}},loader:sy,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e));const uy=e=>cy=e,dy=Symbol();function fy(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var py,hy;(hy=py||(py={})).direct="direct",hy.patchObject="patch object",hy.patchFunction="patch function";const my=()=>{};function gy(e,t,n,o=my){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};var i;return!n&&ht()&&(i=r,ut&&ut.cleanups.push(i)),r}function vy(e,...t){e.slice().forEach(e=>{e(...t)})}const yy=e=>e();function by(e,t){e instanceof Map&&t instanceof Map&&t.forEach((t,n)=>e.set(n,t)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];fy(r)&&fy(o)&&e.hasOwnProperty(n)&&!Bn(o)&&!Sn(o)?e[n]=by(r,o):e[n]=o}return e}const _y=Symbol();function wy(e){return!fy(e)||!e.hasOwnProperty(_y)}const{assign:xy}=Object;function Ty(e){return!(!Bn(e)||!e.effect)}function Sy(e,t,n,o){const{state:r,actions:i,getters:s}=t,a=n.state.value[e];let l;return l=Cy(e,function(){a||(n.state.value[e]=r?r():{});const t=function(e){const t=p(e)?new Array(e.length):{};for(const n in e)t[n]=qn(e,n);return t}(n.state.value[e]);return xy(t,i,Object.keys(s||{}).reduce((t,o)=>(t[o]=Ln(ss(()=>{uy(n);const t=n._s.get(e);return s[o].call(t,t)})),t),{}))},t,n,o,!0),l}function Cy(e,t,n={},o,r,i){let s;const a=xy({actions:{}},n),l={deep:!0};let c,u,d,f=[],p=[];const h=o.state.value[e];let m;function g(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:py.patchFunction,storeId:e,events:d}):(by(o.state.value[e],t),n={type:py.patchObject,payload:t,storeId:e,events:d});const r=m=Symbol();ro().then(()=>{m===r&&(c=!0)}),u=!0,vy(f,n,o.state.value[e])}i||h||(o.state.value[e]={}),Nn({});const v=i?function(){const{state:e}=n,t=e?e():{};this.$patch(e=>{xy(e,t)})}:my;function y(t,n){return function(){uy(o);const r=Array.from(arguments),i=[],s=[];let a;vy(p,{args:r,name:t,store:b,after:function(e){i.push(e)},onError:function(e){s.push(e)}});try{a=n.apply(this&&this.$id===e?this:b,r)}catch(l){throw vy(s,l),l}return a instanceof Promise?a.then(e=>(vy(i,e),e)).catch(e=>(vy(s,e),Promise.reject(e))):(vy(i,a),a)}}const b=_n({_p:o,$id:e,$onAction:gy.bind(null,p),$patch:g,$reset:v,$subscribe(t,n={}){const r=gy(f,t,n.detached,()=>i()),i=s.run(()=>Bo(()=>o.state.value[e],o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:py.direct,events:d},o)},xy({},l,n)));return r},$dispose:function(){s.stop(),f=[],p=[],o._s.delete(e)}});o._s.set(e,b);const _=(o._a&&o._a.runWithContext||yy)(()=>o._e.run(()=>(s=pt()).run(t)));for(const w in _){const t=_[w];if(Bn(t)&&!Ty(t)||Sn(t))i||(h&&wy(t)&&(Bn(t)?t.value=h[w]:by(t,h[w])),o.state.value[e][w]=t);else if("function"==typeof t){const e=y(w,t);_[w]=e,a.actions[w]=t}}return xy(b,_),xy(On(b),_),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:e=>{g(t=>{xy(t,e)})}}),o._p.forEach(e=>{xy(b,s.run(()=>e({store:b,app:o._a,pinia:o,options:a})))}),h&&i&&n.hydrate&&n.hydrate(b.$state,h),c=!0,u=!0,b}function ky(e,t,n){let o,r;const i="function"==typeof t;function s(e,n){(e=e||(!!(Xi||vo||Jr)?Qr(dy,null):null))&&uy(e),(e=cy)._s.has(o)||(i?Cy(o,t,r,e):Sy(o,r,e));return e._s.get(o)}return"string"==typeof e?(o=e,r=i?n:t):(r=e,o=e.id),s.$id=o,s}const Ey=(e,t=0)=>(t,n=Ki())=>{!ts&&gr(e,t,n)},Oy=Ey(re,3),Ly=Ey(ie,3),$y=Ey(se,1),Py=Ey(de,2),Ay="token",My="userInfo";function Ry(){return Xm(Ay)||null}function By(){const e=Xm(My);return e?JSON.parse(e):null}function Ny(e){zm(My,JSON.stringify(e))}function jy(e){return e.startsWith("http://")||e.startsWith("https://"),e}async function Dy(e,t={}){const{method:n="GET",data:o,header:r={},showLoading:i=!1}=t,s=Xm("token");return s&&(r.Authorization=`Bearer ${s}`),r["Content-Type"]="application/json",i&&Hg({title:"加载中...",mask:!0}),new Promise((t,s)=>{cg({url:"http://localhost:3000/api"+e,method:n,data:o,header:r,success:e=>{i&&Wg();const n=e.data;if(!0===n.success||0===n.code)t(n.data);else if(401===n.code){Km("token"),Km("userInfo");const e=ep(),t=e[e.length-1];t&&!t.route.includes("login")&&Mf({url:"/pages/login/index"}),s(new Error("请先登录"))}else n.code>=500?(Fg({title:n.message||"服务器错误",icon:"none"}),s(new Error(n.message||"服务器错误"))):(Fg({title:n.message||"请求失败",icon:"none"}),s(new Error(n.message||"请求失败")))},fail:e=>{i&&Wg(),Fg({title:"网络请求失败",icon:"none"}),s(e)}})})}function Iy(e,t){return Dy(e+(t?"?"+Object.entries(t).filter(([,e])=>void 0!==e).map(([e,t])=>`${e}=${encodeURIComponent(String(t))}`).join("&"):""))}function Fy(e,t){return Dy(e,{method:"POST",data:t})}function Vy(e,t){return Dy(e,{method:"PUT",data:t})}function Hy(e,t){return Dy(e,{method:"DELETE",data:t})}const Wy=ky("user",()=>{const e=Nn(Ry()),t=Nn(By()),n=Nn(null),o=ss(()=>!!e.value&&!!t.value),r=ss(()=>{var e;return(null==(e=n.value)?void 0:e.isValid)&&n.value.level>0});async function i(){try{const e=await Iy("/member/status");return n.value=e,e}catch{return n.value=null,null}}return{token:e,userInfo:t,memberStatus:n,isLoggedIn:o,isMember:r,initUser:function(){const n=Ry(),o=By();n&&o&&(e.value=n,t.value=o,i())},login:async function(n,o){const r=await Fy("/auth/login",{phone:n,code:o});return e.value=r.token,t.value=r.user,function(e){zm(Ay,e)}(r.token),Ny(r.user),await i(),r},sendCode:async function(e){return Fy("/auth/send-code",{phone:e})},fetchUserInfo:async function(){const e=await Iy("/auth/user-info");return t.value=e,Ny(e),e},fetchMemberStatus:i,logout:function(){e.value=null,t.value=null,n.value=null,Km(Ay),Km(My)},updateUserInfo:function(e){t.value&&(t.value={...t.value,...e},Ny(t.value))}}}),qy=Qo({__name:"App",setup:e=>($y(()=>{console.log("App Launch");Wy().initUser(),function(){try{Xm("dark_mode")&&zm("is_dark_mode",!0)}catch(e){console.error("应用夜间模式失败:",e)}}()}),Oy(()=>{console.log("App Show")}),Ly(()=>{console.log("App Hide")}),(e,t)=>{const n=Hh;return Ci(),$i(n,{id:"app"})})});gm(qy,{init:hm,setup(e){const t=ad(),n=()=>{var n;n=e,Object.keys(Zd).forEach(e=>{Zd[e].forEach(t=>{gr(e,t,n)})});const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(Mp,{path:e,query:t}),c(Rp,Mp),c({},Mp)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Ge(t.query)});if(o&&R(o,s),r&&R(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};Bf(),i&&R(i,e)}};return Qr(El).isReady().then(n),br(()=>{window.addEventListener("resize",Qe(ym,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",bm),document.addEventListener("visibilitychange",_m),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{yv.emit(le,{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=()=>(Ci(),$i(iv));e.setup=(e,o)=>{const r=t&&t(e,o);return g(r)?n:r},e.render=n}}),function(){const e=ia(qy),t=function(){const e=pt(!0),t=e.run(()=>Nn({}));let n=[],o=[];const r=Ln({install(e){uy(r),r._a=e,e.provide(dy,r),e.config.globalProperties.$pinia=r,o.forEach(e=>n.push(e)),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}();return e.use(t),Wy().initUser(),{app:e,pinia:t}}().app.use(im).mount("#app");export{km as $,Vh as A,Fn as B,Ph as C,na as D,qm as E,bi as F,Hp as G,Lg as H,Mf as I,yg as J,Fy as K,Hm as L,Hg as M,Wg as N,Py as O,ep as P,Tr as Q,Bo as R,$h as S,Vy as T,Hy as U,mg as V,jy as W,Um as X,dh as Y,pv as Z,zm as _,Oy as a,ky as a0,Lm as a1,Dy as a2,Fo as a3,Ls as a4,Rh as a5,tg as a6,vg as a7,Qm as a8,Ci as b,$i as c,Qo as d,ji as e,jh as f,Iy as g,Ii as h,Hh as i,Li as j,Or as k,Fi as l,od as m,Ve as n,br as o,bg as p,ss as q,Nn as r,Pf as s,Y as t,Wy as u,Xm as v,_o as w,Km as x,Fg as y,He as z};
