function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["./pages-index-index.D4jpUrPc.js","./config.C781xSGj.js","./config-doctor.TgARj_nM.js","./navigation.DVfJwOxJ.js","./_plugin-vue_export-helper.BCo6x5W8.js","./config-D9FAvKg-.css","./pages-profile-profile.B-XBbnFl.js","./profile-DoOaR7U7.css","./index-ar3bjli4.css","./pages-home-home.DrPjlTPP.js","./home-BQ1tn9_7.css","./pages-matching-matching.tTf9St20.js","./matching-CpbVZD0l.css","./pages-cases-cases.DT82vyu5.js","./cases.4_d-snq4.js","./cases-C6NCSirR.css","./pages-scenario-scenario.qHtGjID7.js","./session.CQodznPl.js","./scenario-CftOfMRB.css","./pages-chat-chat.AlWPGbhC.js","./chat-CkFGeMvf.css","./pages-profile-profile-analysis.CRJ4sJsP.js","./profile-analysis-D7uHL0Kv.css","./pages-profile-profile-records.BNZ8jFJk.js","./profile-records-EOjOQpWD.css","./pages-learning-assistant-learning-assistant.C5b4ppY1.js","./learning-assistant-DLqyMC21.css","./pages-teaching-teaching.DR-9Lpuq.js","./teaching-D5UxL3cd.css","./pages-diagnosis-diagnosis.peFitBk1.js","./diagnosis-BxzDEbGJ.css","./pages-treatment-treatment.CY1LQTC2.js","./treatment-C2Wi3XDZ.css","./pages-assessment-assessment.CwWm86GC.js","./assessment-Br9Rtmwh.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } !function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if(n=function(e,t){return new URL(e,t).href}(n,o),n in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),r?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}; /** * @vue/shared v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},s=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,h=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||m(e))&&m(e.then)&&m(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())),A=k((e=>e.charAt(0).toUpperCase()+e.slice(1))),P=k((e=>e?`on${A(e)}`:"")),R=(e,t)=>!Object.is(e,t),B=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},j=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let M;const I=()=>M||(M="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function V(e){if(p(e)){const t={};for(let n=0;n{if(e){const n=e.split(H);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;nv(e)?e:null==e?"":p(e)||b(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,K,2):String(e),K=(e,t)=>t&&t.__v_isRef?K(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[Y(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Y(e)))}:y(t)?Y(t):!b(t)||p(t)||T(t)?t:String(t),Y=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};var G={};const J=["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)),Z=["page-container","list-view","list-item","sticky-section","sticky-header","cloud-db-element","loading-element","loading"].map((e=>"uni-"+e)),Q=["list-item"].map((e=>"uni-"+e));function ee(e){if(-1!==Q.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return"true"!==G.UNI_APP_X?-1!==J.indexOf(t):-1!==J.indexOf(t)||-1!==Z.indexOf(t)}const te=/^([a-z-]+:)?\/\//i,ne=/^data:.*,.*/,oe="onLoad";function re(e){return void 0===e?null:e}class ie{static keys(e){return Object.keys(e)}static assign(e,...t){for(let n=0;n{this[t]=e}));else for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this[t]=e[t]);!function(e){const t=["_resolveKeyPath","_getValue","toJSON","get","set","getAny","getString","getNumber","getBoolean","getJSON","getArray","toMap","forEach"],n={};for(let o=0;o0&&(n.push(t),t="");break;case"[":o=!0,t.length>0&&(n.push(t),t="");break;case"]":if(!o)return[];if(!(t.length>0))return[];{const e=t[0],o=t[t.length-1];if('"'===e&&'"'===o||"'"===e&&"'"===o||"`"===e&&"`"===o){if(!(t.length>2))return[];t=t.slice(1,-1)}else if(!/^\d+$/.test(t))return[];n.push(t),t=""}o=!1;break;default:t+=i}r===e.length-1&&t.length>0&&(n.push(t),t="")}return n}_getValue(e,t){const n=this._resolveKeyPath(e),o=re(t);if(0===n.length)return o;let r=this;for(let i=0;i{t[n]=e[n]})),V(t)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),V(t)}if(v(e))return W(e);if(p(e)){const t={};for(let n=0;n{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(p(e))for(let n=0;n(e&&(n=e.apply(t,o),e=null),n)}function pe(e){return O(e.substring(5))}const he=fe((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={}))[pe(t)]=o}/^\d/.test(t)||n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[pe(t)],o.call(this,t)}}));function ge(e){return c({},e.dataset,e.__uniDataset)}const me=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function ve(e){return{passive:e}}function ye(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:ge(e),offsetTop:n,offsetLeft:o}}function be(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function _e(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=be(e[n])}catch(o){t[n]=e[n]}})),t}const we=/\+/g;function xe(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class Se{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;ot(e))),Le=function(){};Le.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=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 $e=Le;const Ae={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Pe(e,t,n){if(v(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in Ae?Ae[o]:o}return r}var o;return t}function Re(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)?Re(s,t,n):p(s)?s.map((e=>T(e)?Re(e,t,n):Pe(o,e))):Pe(o,s,i)})),r):e} /** * @dcloudio/uni-h5-vue v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Be,Ne;class je{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Be,!e&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Be;try{return Be=this,e()}finally{Be=t}}}on(){Be=this}off(){Be=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),ze()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=De,t=Ne;try{return De=!0,Ne=this,this._runnings++,Ve(this),this.fn()}finally{Fe(this),this._runnings--,Ne=t,De=e}}stop(){var e;this.active&&(Ve(this),Fe(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Ve(e){e._trackId++,e._depsLength=0}function Fe(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Qe=new WeakMap,et=Symbol(""),tt=Symbol("");function nt(e,t,n){if(De&&Ne){let t=Qe.get(e);t||Qe.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Ze((()=>t.delete(n)))),Ye(Ne,o)}}function ot(e,t,n,o,r,i){const s=Qe.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(et)),h(e)&&a.push(s.get(tt)));break;case"delete":p(e)||(a.push(s.get(et)),h(e)&&a.push(s.get(tt)));break;case"set":h(e)&&a.push(s.get(et))}Xe();for(const l of a)l&&Je(l,4);Ke()}const rt=n("__proto__,__v_isRef,__isVue"),it=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),st=at();function at(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Yt(this);for(let t=0,r=this.length;t{e[t]=function(...e){Ue(),Xe();const n=Yt(this)[t].apply(this,e);return Ke(),ze(),n}})),e}function lt(e){const t=Yt(this);return nt(t,0,e),t.hasOwnProperty(e)}class ct{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?Vt:It:r?Mt:jt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&f(st,t))return Reflect.get(st,t,n);if("hasOwnProperty"===t)return lt}const s=Reflect.get(e,t,n);return(y(t)?it.has(t):rt(t))?s:(o||nt(e,0,t),r?s:nn(s)?i&&S(t)?s:s.value:b(s)?o?Wt(s):Ht(s):s)}}class ut extends ct{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=zt(r);if(Xt(n)||zt(n)||(r=Yt(r),n=Yt(n)),!p(e)&&nn(r)&&!nn(n))return!t&&(r.value=n,!0)}const i=p(e)&&S(t)?Number(t)e,mt=e=>Reflect.getPrototypeOf(e);function vt(e,t,n=!1,o=!1){const r=Yt(e=e.__v_raw),i=Yt(t);n||(R(t,i)&&nt(r,0,t),nt(r,0,i));const{has:s}=mt(r),a=o?gt:n?Zt:Jt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function yt(e,t=!1){const n=this.__v_raw,o=Yt(n),r=Yt(e);return t||(R(e,r)&&nt(o,0,e),nt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function bt(e,t=!1){return e=e.__v_raw,!t&&nt(Yt(e),0,et),Reflect.get(e,"size",e)}function _t(e){e=Yt(e);const t=Yt(this);return mt(t).has.call(t,e)||(t.add(e),ot(t,"add",e,e)),this}function wt(e,t){t=Yt(t);const n=Yt(this),{has:o,get:r}=mt(n);let i=o.call(n,e);i||(e=Yt(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?R(t,s)&&ot(n,"set",e,t):ot(n,"add",e,t),this}function xt(e){const t=Yt(this),{has:n,get:o}=mt(t);let r=n.call(t,e);r||(e=Yt(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&ot(t,"delete",e,void 0),i}function Tt(){const e=Yt(this),t=0!==e.size,n=e.clear();return t&&ot(e,"clear",void 0,void 0),n}function St(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Yt(i),a=t?gt:e?Zt:Jt;return!e&&nt(s,0,et),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function Ct(e,t,n){return function(...o){const r=this.__v_raw,i=Yt(r),s=h(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?gt:t?Zt:Jt;return!t&&nt(i,0,l?tt:et),{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 kt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Et(){const e={get(e){return vt(this,e)},get size(){return bt(this)},has:yt,add:_t,set:wt,delete:xt,clear:Tt,forEach:St(!1,!1)},t={get(e){return vt(this,e,!1,!0)},get size(){return bt(this)},has:yt,add:_t,set:wt,delete:xt,clear:Tt,forEach:St(!1,!0)},n={get(e){return vt(this,e,!0)},get size(){return bt(this,!0)},has(e){return yt.call(this,e,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:St(!0,!1)},o={get(e){return vt(this,e,!0,!0)},get size(){return bt(this,!0)},has(e){return yt.call(this,e,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:St(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Ct(r,!1,!1),n[r]=Ct(r,!0,!1),t[r]=Ct(r,!1,!0),o[r]=Ct(r,!0,!0)})),[e,n,t,o]}const[Ot,Lt,$t,At]=Et();function Pt(e,t){const n=t?e?At:$t:e?Lt:Ot;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 Rt={get:Pt(!1,!1)},Bt={get:Pt(!1,!0)},Nt={get:Pt(!0,!1)},jt=new WeakMap,Mt=new WeakMap,It=new WeakMap,Vt=new WeakMap;function Ft(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 Ht(e){return zt(e)?e:qt(e,!1,ft,Rt,jt)}function Dt(e){return qt(e,!1,ht,Bt,Mt)}function Wt(e){return qt(e,!0,pt,Nt,It)}function qt(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=Ft(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Ut(e){return zt(e)?Ut(e.__v_raw):!(!e||!e.__v_isReactive)}function zt(e){return!(!e||!e.__v_isReadonly)}function Xt(e){return!(!e||!e.__v_isShallow)}function Kt(e){return Ut(e)||zt(e)}function Yt(e){const t=e&&e.__v_raw;return t?Yt(t):e}function Gt(e){return Object.isExtensible(e)&&N(e,"__v_skip",!0),e}const Jt=e=>b(e)?Ht(e):e,Zt=e=>b(e)?Wt(e):e;class Qt{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ie((()=>e(this._value)),(()=>tn(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=Yt(this);return e._cacheable&&!e.effect.dirty||!R(e._value,e._value=e.effect.run())||tn(e,4),en(e),e.effect._dirtyLevel>=2&&tn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function en(e){var t;De&&Ne&&(e=Yt(e),Ye(Ne,null!=(t=e.dep)?t:e.dep=Ze((()=>e.dep=void 0),e instanceof Qt?e:void 0)))}function tn(e,t=4,n){const o=(e=Yt(e)).dep;o&&Je(o,t)}function nn(e){return!(!e||!0!==e.__v_isRef)}function on(e){return sn(e,!1)}function rn(e){return sn(e,!0)}function sn(e,t){return nn(e)?e:new an(e,t)}class an{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Yt(e),this._value=t?e:Jt(e)}get value(){return en(this),this._value}set value(e){const t=this.__v_isShallow||Xt(e)||zt(e);e=t?e:Yt(e),R(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Jt(e),tn(this,4))}}function ln(e){return nn(e)?e.value:e}const cn={get:(e,t,n)=>ln(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return nn(r)&&!nn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function un(e){return Ut(e)?e:new Proxy(e,cn)}function dn(e,t,n,o){try{return o?e(...o):e()}catch(r){pn(r,t,n)}}function fn(e,t,n,o){if(m(e)){const r=dn(e,t,n,o);return r&&_(r)&&r.catch((e=>{pn(e,t,n)})),r}const r=[];for(let i=0;i>>1,r=vn[o],i=Ln(r);iLn(e)-Ln(t)));if(bn.length=0,_n)return void _n.push(...e);for(_n=e,wn=0;wn<_n.length;wn++)_n[wn]();_n=null,wn=0}}const Ln=e=>null==e.id?1/0:e.id,$n=(e,t)=>{const n=Ln(e)-Ln(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function An(e){mn=!1,gn=!0,vn.sort($n);try{for(yn=0;ynv(e)?e.trim():e))),t&&(i=n.map(j))}let l,c=r[l=P(t)]||r[l=P(O(t))];!c&&s&&(c=r[l=P($(t))]),c&&fn(c,e,6,Rn(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,fn(u,e,6,Rn(e,u,i))}}function Rn(e,t,n){if(1!==n.length)return n;if(m(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 Bn(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(!m(e)){const o=e=>{const n=Bn(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 Nn(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 jn=null,Mn=null;function In(e){const t=jn;return jn=e,Mn=e&&e.type.__scopeId||null,t}function Vn(e,t=jn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Xr(-1);const r=In(t);let i;try{i=e(...n)}finally{In(r),o._d&&Xr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Fn(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:g,inheritAttrs:m}=e;let v,y;const b=In(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=ai(d.call(t,e,f,i,h,p,g)),y=c}else{const e=t;0,v=ai(e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)),y=t.props?c:Hn(c)}}catch(w){Wr.length=0,pn(w,e,1),v=oi(Hr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(l)&&(y=Dn(y,s)),_=ri(_,y))}return n.dirs&&(_=ri(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,In(b),v}const Hn=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},Dn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Wn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;const Gn=Symbol.for("v-scx");function Jn(e,t){return eo(e,null,t)}const Zn={};function Qn(e,t,n){return eo(e,t,n)}function eo(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=hi,f=e=>!0===r?e:oo(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(nn(e)?(h=()=>e.value,v=Xt(e)):Ut(e)?(h=()=>f(e),v=!0):p(e)?(y=!0,v=e.some((e=>Ut(e)||Xt(e))),h=()=>e.map((e=>nn(e)?e.value:Ut(e)?f(e):m(e)?dn(e,d,2):void 0))):h=m(e)?t?()=>dn(e,d,2):()=>(g&&g(),fn(e,d,3,[_])):i,t&&r){const e=h;h=()=>oo(e())}let b,_=e=>{g=S.onStop=()=>{dn(e,d,4),g=S.onStop=void 0}};if(wi){if(_=i,t?n&&fn(t,d,3,[h(),y?[]:void 0,_]):h(),"sync"!==s)return i;{const e=yr(Gn);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Zn):Zn;const x=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(r||v||(y?e.some(((e,t)=>R(e,w[t]))):R(e,w)))&&(g&&g(),fn(t,d,3,[e,w===Zn?void 0:y&&w[0]===Zn?[]:w,_]),w=e)}else S.run()};let T;x.allowRecurse=!!t,"sync"===s?T=x:"post"===s?T=()=>Rr(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),T=()=>Cn(x));const S=new Ie(h,i,T),C=Be,k=()=>{S.stop(),C&&u(C.effects,S)};return t?n?x():w=S.run():"post"===s?Rr(S.run.bind(S),d&&d.suspense):S.run(),b&&b.push(k),k}function to(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?no(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const s=yi(this),a=eo(r,i.bind(o),n);return s(),a}function no(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),nn(e))oo(e.value,t,n,o);else if(p(e))for(let r=0;r{oo(e,t,n,o)}));else if(T(e))for(const r in e)oo(e[r],t,n,o);return e}function ro(e,t){if(null===jn)return e;const n=Si(jn)||jn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),Ho((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&vo(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Hr){i=e;break}const s=Yt(e),{mode:a}=s;if(o.isLeaving)return ho(i);const l=go(i);if(!l)return ho(i);const c=po(l,s,o,n);mo(l,c);const u=n.subTree,d=u&&go(u);if(d&&d.type!==Hr&&!Zr(l,d)){const e=po(d,s,o,n);if(mo(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},ho(i);"in-out"===a&&l.type!==Hr&&(e.delayLeave=(e,t,n)=>{fo(o,d)[String(d.key)]=d,e[so]=()=>{t(),e[so]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function fo(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 po(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:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=fo(n,e),x=(e,t)=>{e&&fn(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=m||a}t[so]&&t[so](!0);const i=w[_];i&&Zr(e,i)&&i.el[so]&&i.el[so](),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[ao]=t=>{s||(s=!0,x(t?i:o,[e]),S.delayedLeave&&S.delayedLeave(),e[ao]=void 0)};t?T(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[ao]&&t[ao](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t[so]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[so]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?T(f,[t,s]):s()},clone:e=>po(e,t,n,o)};return S}function ho(e){if(xo(e))return(e=ri(e)).children=null,e}function go(e){return xo(e)?e.children?e.children[0]:void 0:e}function mo(e,t){6&e.shapeFlag&&e.component?mo(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 vo(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ic({name:e.name},t,{setup:e}))():e}const bo=e=>!!e.type.__asyncLoader /*! #__NO_SIDE_EFFECTS__ */;function _o(e){m(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 yo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=hi;if(l)return()=>wo(l,e);const t=t=>{c=null,pn(t,e,13,!o)};if(s&&e.suspense||wi)return d().then((t=>()=>wo(t,e))).catch((e=>(t(e),()=>o?oi(o,{error:e}):null)));const a=on(!1),u=on(),f=on(!!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&&xo(e.parent.vnode)&&(e.parent.effect.dirty=!0,Cn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?wo(l,e):u.value&&o?oi(o,{error:u.value}):n&&!f.value?oi(n):void 0}})}function wo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=oi(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const xo=e=>e.type.__isKeepAlive;class To{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 So={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=gi(),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 To(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Zr(t,i)||"key"===e.matchBy&&t.key!==i.key?(Ao(o=t),u(o,n,a,!0)):i&&Ao(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=Ro(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,B(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),Rr((()=>{i.isDeactivated=!1,i.a&&B(i.a);const t=e.props&&e.props.onVnodeMounted;t&&di(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&Bo(t.bda),c(e,f,null,1,a),Rr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&B(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&di(n,t.parent,e),t.isDeactivated=!0}),a)},Qn((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>ko(e,t))),t&&p((e=>!ko(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,Po(n.subTree))};return Io(g),Fo(g),Ho((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=Po(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&B(l.component.bda),Ao(l);const e=l.component.da;e&&Rr(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(!Jr(o)||!(4&o.shapeFlag)&&!Yn(o.type))return i=null,o;let s=Po(o);const a=s.type,l=Ro(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!ko(c,l))||u&&l&&ko(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=ri(s),Yn(o.type)&&(o.ssContent=s)),h=d,f&&(s.el=f.el,s.component=f.component,s.transition&&mo(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Yn(o.type)?o:s}}},Co=So;function ko(e,t){return p(e)?e.some((e=>ko(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function Eo(e,t){Lo(e,"a",t)}function Oo(e,t){Lo(e,"da",t)}function Lo(e,t,n=hi){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,No(t,o,n),n){let e=n.parent;for(;e&&e.parent;)xo(e.parent.vnode)&&$o(o,t,n,e),e=e.parent}}function $o(e,t,n,o){const r=No(t,e,o,!0);Do((()=>{u(o[t],r)}),n)}function Ao(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Po(e){return Yn(e.type)?e.ssContent:e}function Ro(e,t){if("name"===t){const t=e.type;return Ci(bo(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Bo(e){for(let t=0;t-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;fn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ue();const r=yi(n),i=fn(t,n,e,o);return r(),ze(),i});return o?i.unshift(s):i.push(s),s}var r}const jo=e=>(t,n=hi)=>(!wi||"sp"===e)&&No(e,((...e)=>t(...e)),n),Mo=jo("bm"),Io=jo("m"),Vo=jo("bu"),Fo=jo("u"),Ho=jo("bum"),Do=jo("um"),Wo=jo("sp"),qo=jo("rtg"),Uo=jo("rtc");function zo(e,t=hi){No("ec",e,t)}function Xo(e,t,n,o){let r;const i=n&&n[o];if(p(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o!Jr(e)||e.type!==Hr&&!(e.type===Vr&&!Yo(e.children))))?e:null}const Go=e=>{if(!e)return null;if(_i(e)){return Si(e)||e.proxy}return Go(e.parent)},Jo=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=>Go(e.parent),$root:e=>Go(e.root),$emit:e=>e.emit,$options:e=>ir(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Cn(e.update)})(e)),$nextTick:e=>e.n||(e.n=Sn.bind(e.proxy)),$watch:e=>to.bind(e)}),Zo=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Qo={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(Zo(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];tr&&(a[t]=0)}}const d=Jo[t];let p,h;return d?("$attrs"===t&&nt(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 Zo(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)||Zo(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(Jo,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 er(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let tr=!0;function nr(e){const t=ir(e),n=e.proxy,o=e.ctx;tr=!1,t.beforeCreate&&or(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:g,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:A,components:P,directives:R,filters:B}=t;if(u&&function(e,t,n=i){p(e)&&(e=cr(e));for(const o in e){const n=e[o];let r;r=b(n)?"default"in n?yr(n.from||o,n.default,!0):yr(n.from||o):yr(n),nn(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),a)for(const i in a){const e=a[i];m(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);b(t)&&(e.data=Ht(t))}if(tr=!0,s)for(const p in s){const e=s[p],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):i,r=!m(e)&&m(e.set)?e.set.bind(n):i,a=ki({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)rr(l[i],o,n,i);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{vr(t,e[t])}))}function N(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&or(d,e,"c"),N(Mo,f),N(Io,h),N(Vo,g),N(Fo,v),N(Eo,y),N(Oo,_),N(zo,O),N(Uo,k),N(qo,E),N(Ho,x),N(Do,S),N(Wo,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!=A&&(e.inheritAttrs=A),P&&(e.components=P),R&&(e.directives=R);const j=e.appContext.config.globalProperties.$applyOptions;j&&j(t,e,n)}function or(e,t,n){fn(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function rr(e,t,n,o){const r=o.includes(".")?no(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&Qn(r,n)}else if(m(e))Qn(r,e.bind(n));else if(b(e))if(p(e))e.forEach((e=>rr(e,t,n,o)));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&Qn(r,o,e)}}function ir(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=>sr(l,e,s,!0))),sr(l,t,s)):l=t,b(t)&&i.set(t,l),l}function sr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&sr(e,i,n,!0),r&&r.forEach((t=>sr(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=ar[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const ar={data:lr,props:fr,emits:fr,methods:dr,computed:dr,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:dr,directives:dr,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:lr,inject:function(e,t){return dr(cr(e),cr(t))}};function lr(e,t){return t?e?function(){return c(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function cr(e){if(p(e)){const t={};for(let n=0;n(i.has(e)||(e&&m(e.install)?(i.add(e),e.install(a,...t)):m(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){const u=oi(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,Si(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a),runWithContext(e){const t=mr;mr=a;try{return e()}finally{mr=t}}};return a}}let mr=null;function vr(e,t){if(hi){let n=hi.provides;const o=hi.parent&&hi.parent.provides;o===n&&(n=hi.provides=Object.create(o)),n[e]=t,"app"===hi.type.mpType&&hi.appContext.app.provide(e,t)}else;}function yr(e,t,n=!1){const o=hi||jn;if(o||mr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:mr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&m(t)?t.call(o&&o.proxy):t}}function br(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:Nn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=_r(e,o,c),l=!0)}if(s){const t=Yt(n),r=a||o;for(let o=0;o{d=!0;const[n,o]=xr(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-1,n[1]=o<0||t-1||f(n,"default"))&&u.push(e)}}}const h=[l,u];return b(e)&&i.set(e,h),h}function Tr(e){return"$"!==e[0]&&!C(e)}function Sr(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 Cr(e,t){return Sr(e)===Sr(t)}function kr(e,t){return p(t)?t.findIndex((t=>Cr(t,e))):m(t)&&Cr(t,e)?0:-1}const Er=e=>"_"===e[0]||"$stable"===e,Or=e=>p(e)?e.map(ai):[ai(e)],Lr=(e,t,n)=>{if(t._n)return t;const o=Vn(((...e)=>Or(t(...e))),n);return o._c=!1,o},$r=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Er(r))continue;const n=e[r];if(m(n))t[r]=Lr(0,n,o);else if(null!=n){const e=Or(n);t[r]=()=>e}}},Ar=(e,t)=>{const n=Or(t);e.slots.default=()=>n};function Pr(e,t,n,r,i=!1){if(p(e))return void e.forEach(((e,o)=>Pr(e,t&&(p(t)?t[o]:t),n,r,i)));if(bo(r)&&!i)return;const s=4&r.shapeFlag?Si(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,g=l.setupState;if(null!=d&&d!==c&&(v(d)?(h[d]=null,f(g,d)&&(g[d]=null)):nn(d)&&(d.value=null)),m(c))dn(c,l,12,[a,h]);else{const t=v(c),o=nn(c);if(t||o){const r=()=>{if(e.f){const n=t?f(g,c)?g[c]:h[c]:c.value;i?p(n)&&u(n,s):p(n)?n.includes(s)||n.push(s):t?(h[c]=[s],f(g,c)&&(g[c]=h[c])):(c.value=[s],e.k&&(h[e.k]=c.value))}else t?(h[c]=a,f(g,c)&&(g[c]=a)):o&&(c.value=a,e.k&&(h[e.k]=a))};a?(r.id=-1,Rr(r,n)):r()}}}const Rr=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?bn.push(...n):_n&&_n.includes(n,n.allowRecurse?wn+1:wn)||bn.push(n),kn())};function Br(e){return function(e,t){I().__VUE__=!0;const{insert:n,remove:s,patchProp:a,forcePatchProp:l,createElement:u,createText:d,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=i,insertStaticContent:b}=e,w=(e,t,n,o=null,r=null,i=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Zr(e,t)&&(o=te(e),G(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Fr:x(e,t,n,o);break;case Hr:T(e,t,n,o);break;case Dr:null==e&&S(t,n,o,s);break;case Vr:F(e,t,n,o,r,i,s,a,l);break;default:1&d?L(e,t,n,o,r,i,s,a,l):6&d?H(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&Pr(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},T=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},S=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},k=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=v(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),s(e),e=n;s(t)},L=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?A(t,n,o,r,i,s,a,l):j(e,t,r,i,s,a,l)},A=(e,t,o,r,i,s,l,c)=>{let d,f;const{props:p,shapeFlag:h,transition:m,dirs:v}=e;if(d=e.el=u(e.type,s,p&&p.is,p),8&h?g(d,e.children):16&h&&R(e.children,d,null,r,i,Nr(e,s),l,c),v&&io(e,null,r,"created"),P(d,e,e.scopeId,l,r),p){for(const t in p)"value"===t||C(t)||a(d,t,null,p[t],s,e.children,r,i,ee);"value"in p&&a(d,"value",null,p.value,s),(f=p.onVnodeBeforeMount)&&di(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&io(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),n(d,t,o),((f=p&&p.onVnodeMounted)||y||v)&&Rr((()=>{f&&di(f,r,e),y&&m.enter(d),v&&io(e,null,r,"mounted")}),i)},P=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i{for(let c=l;c{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||o,m=t.props||o;let v;if(n&&jr(n,!1),(v=m.onVnodeBeforeUpdate)&&di(v,n,t,e),p&&io(t,e,n,"beforeUpdate"),n&&jr(n,!0),f?M(e.dynamicChildren,f,u,n,r,Nr(t,i),s):c||z(e,t,u,null,n,r,Nr(t,i),s,!1),d>0){if(16&d)V(u,t,h,m,n,r,i);else if(2&d&&h.class!==m.class&&a(u,"class",null,m.class,i),4&d&&a(u,"style",h.style,m.style,i),8&d){const o=t.dynamicProps;for(let t=0;t{v&&di(v,n,t,e),p&&io(t,e,n,"updated")}),r)},M=(e,t,n,o,r,i,s)=>{for(let a=0;a{if(n!==r){if(n!==o)for(const o in n)C(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(C(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&a(e,o,d,u,c,t.children,i,s,ee)}"value"in r&&a(e,"value",n.value,r.value,c)}},F=(e,t,o,r,i,s,a,l,c)=>{const u=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(f,o,r),R(t.children||[],o,f,i,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(M(e.dynamicChildren,h,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&Mr(e,t,!0)):z(e,t,o,f,i,s,a,l,c)},H=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):D(t,n,o,r,i,s,l):W(e,t,l)},D=(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)||fi,s={uid:pi++,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 je(!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:xr(r,i),emitsOptions:Bn(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=Pn.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(xo(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&vi(t);const{props:n,children:o}=e.vnode,r=_i(e);(function(e,t,n,o=!1){const r={},i={};N(i,Qr,1),e.propsDefaults=Object.create(null),br(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Dt(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=Yt(t),N(t,"_",n)):$r(t,e.slots={})}else e.slots={},t&&Ar(e,t);N(e.slots,Qr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Gt(new Proxy(e.ctx,Qo));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)=>(nt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=yi(e);Ue();const i=dn(o,e,0,[e.props,n]);if(ze(),r(),_(i)){if(i.then(bi,bi),t)return i.then((n=>{xi(e,n,t)})).catch((t=>{pn(t,e,0)}));e.asyncDep=i}else xi(e,i,t)}else Ti(e,t)}(e,t):void 0;t&&vi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,q),!e.el){const e=l.subTree=oi(Hr);T(null,e,t,n)}}else q(l,e,t,n,i,s,a)},W=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Wn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Wn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tyn&&vn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},q=(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=Ir(e);if(n)return t&&(t.el=c.el,U(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;jr(e,!1),t?(t.el=c.el,U(e,t,a)):t=c,n&&B(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&di(u,i,t,c),jr(e,!0);const f=Fn(e),p=e.subTree;e.subTree=f,w(p,f,m(p.el),te(p),e,r,s),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),o&&Rr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&Rr((()=>di(u,i,t,c)),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=bo(t);if(jr(e,!1),c&&B(c),!f&&(i=l&&l.onVnodeBeforeMount)&&di(i,d,t),jr(e,!0),a&&se){const n=()=>{e.subTree=Fn(e),se(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=Fn(e);w(null,i,n,o,e,r,s),t.el=i.el}if(u&&Rr(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;Rr((()=>di(i,d,e)),r)}(256&t.shapeFlag||d&&bo(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Bo(e.ba),e.a&&Rr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new Ie(l,i,(()=>Cn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,jr(e,!0),u()},U=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Yt(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;br(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]=wr(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{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,$r(t,i)),a=t}else t&&(Ar(e,t),a={default:1});if(s)for(const o in i)Er(o)||null!=a[o]||delete i[o]})(e,t.children,n),Ue(),En(e),ze()},z=(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 K(c,d,n,o,r,i,s,a,l);if(256&f)return void X(c,d,n,o,r,i,s,a,l)}8&p?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&p?K(c,d,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&g(n,""),16&p&&R(d,n,o,r,i,s,a,l))},X=(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;pd?ee(e,i,s,!0,!1,f):R(t,n,o,i,s,a,l,c,f)},K=(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?li(t[u]):ai(t[u]);if(!Zr(o,r))break;w(o,r,n,null,i,s,a,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],r=t[p]=c?li(t[p]):ai(t[p]);if(!Zr(o,r))break;w(o,r,n,null,i,s,a,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,r=ep)for(;u<=f;)G(e[u],i,s,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?li(t[u]):ai(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=p-g+1;let _=!1,x=0;const T=new Array(b);for(u=0;u=b){G(o,i,s,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=g;v<=p;v++)if(0===T[v-g]&&Zr(o,t[v])){r=v;break}void 0===r?G(o,i,s,!0):(T[r-g]=u+1,r>=x?x=r:_=!0,w(o,t[r],n,null,i,s,a,l,c),y++)}const S=_?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o>1,e[n[a]]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=b-1;u>=0;u--){const e=g+u,r=t[e],f=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void Y(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,re);if(a===Vr){n(s,t,o);for(let e=0;el.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},G=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&Pr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!bo(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&di(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&io(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Vr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Vr&&384&d||!r&&16&u)&&ee(l,t,n),o&&J(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&Rr((()=>{g&&di(g,t,e),p&&io(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Vr)return void Z(n,o);if(t===Dr)return void E(e);const i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,i);o?o(e.el,i,s):s()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=v(e),s(e),e=n;s(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&B(o),r.stop(),i&&(i.active=!1,G(s,e,t,n)),a&&Rr(a,t),Rr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,En(),On(),ne=!1),t._vnode=e},re={p:w,um:G,m:Y,r:J,mt:D,mc:R,pc:z,pbc:M,n:te,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:gr(oe,ie)}}(e)}function Nr({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 jr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Mr(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;i0?qr||r:null,Wr.pop(),qr=Wr[Wr.length-1]||null,zr>0&&qr&&qr.push(e),e}function Yr(e,t,n,o,r,i){return Kr(ni(e,t,n,o,r,i,!0))}function Gr(e,t,n,o,r){return Kr(oi(e,t,n,o,r,!0))}function Jr(e){return!!e&&!0===e.__v_isVNode}function Zr(e,t){return e.type===t.type&&e.key===t.key}const Qr="__vInternal",ei=({key:e})=>null!=e?e:null,ti=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||nn(e)||m(e)?{i:jn,r:e,k:t,f:!!n}:e:null);function ni(e,t=null,n=null,o=0,r=null,i=(e===Vr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ei(t),ref:t&&ti(t),scopeId:Mn,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:jn};return a?(ci(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),zr>0&&!s&&qr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&qr.push(l),l}const oi=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Un||(e=Hr);if(Jr(e)){const o=ri(e,t,!0);return n&&ci(o,n),zr>0&&!i&&qr&&(6&o.shapeFlag?qr[qr.indexOf(e)]=o:qr.push(o)),o.patchFlag|=-2,o}s=e,m(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?Kt(e)||Qr in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=ce(e)),b(n)&&(Kt(n)&&!p(n)&&(n=c({},n)),t.style=le(n))}const a=v(e)?1:Yn(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:m(e)?2:0;return ni(e,t,n,o,r,a,i,!0)};function ri(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?ui(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ei(a),ref:t&&t.ref?n&&r?p(r)?r.concat(ti(t)):[r,ti(t)]:ti(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!==Vr?-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&&ri(e.ssContent),ssFallback:e.ssFallback&&ri(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ii(e=" ",t=0){return oi(Fr,null,e,t)}function si(e="",t=!1){return t?(Ur(),Gr(Hr,null,e)):oi(Hr,null,e)}function ai(e){return null==e||"boolean"==typeof e?oi(Hr):p(e)?oi(Vr,null,e.slice()):"object"==typeof e?li(e):oi(Fr,null,String(e))}function li(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ri(e)}function ci(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),ci(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Qr in t?3===o&&jn&&(1===jn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=jn}}else m(t)?(t={default:t,_ctx:jn},n=32):(t=String(t),64&o?(n=16,t=[ii(t)]):n=8);e.children=t,e.shapeFlag|=n}function ui(...e){const t={};for(let n=0;nhi||jn;let mi,vi;{const e=I(),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)}};mi=t("__VUE_INSTANCE_SETTERS__",(e=>hi=e)),vi=t("__VUE_SSR_SETTERS__",(e=>wi=e))}const yi=e=>{const t=hi;return mi(e),e.scope.on(),()=>{e.scope.off(),mi(t)}},bi=()=>{hi&&hi.scope.off(),mi(null)};function _i(e){return 4&e.vnode.shapeFlag}let wi=!1;function xi(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=un(t)),Ti(e,n)}function Ti(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=yi(e);Ue();try{nr(e)}finally{ze(),t()}}}function Si(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(un(Gt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Jo?Jo[n](e):void 0,has:(e,t)=>t in e||t in Jo}))}function Ci(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const ki=(e,t)=>{const n=function(e,t,n=!1){let o,r;const s=m(e);return s?(o=e,r=i):(o=e.get,r=e.set),new Qt(o,r,s||!r,n)}(e,0,wi);return n};function Ei(e,t,n){const o=arguments.length;return 2===o?b(t)&&!p(t)?Jr(t)?oi(e,null,[t]):oi(e,t):oi(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Jr(n)&&(n=[n]),oi(e,t,n))}const Oi="3.4.21",Li="undefined"!=typeof document?document:null,$i=Li&&Li.createElement("template"),Ai={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?Li.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Li.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Li.createElement(e,{is:n}):Li.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Li.createTextNode(e),createComment:e=>Li.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Li.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{$i.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const r=$i.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]}},Pi="transition",Ri=Symbol("_vtc"),Bi=(e,{slots:t})=>Ei(uo,function(e){const t={};for(const c in e)c in Ni||(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,g=function(e){if(null==e)return null;if(b(e))return[Ii(e.enter),Ii(e.leave)];{const t=Ii(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:T,onBeforeAppear:S=y,onAppear:C=_,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Fi(e,t?d:a),Fi(e,t?u:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,Fi(e,f),Fi(e,h),Fi(e,p),t&&t()},L=e=>(t,n)=>{const r=e?C:_,s=()=>E(t,e,n);ji(r,[t,s]),Hi((()=>{Fi(t,e?l:i),Vi(t,e?d:a),Mi(r)||Wi(t,o,m,s)}))};return c(t,{onBeforeEnter(e){ji(y,[e]),Vi(e,i),Vi(e,s)},onBeforeAppear(e){ji(S,[e]),Vi(e,l),Vi(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);Vi(e,f),document.body.offsetHeight,Vi(e,p),Hi((()=>{e._isLeaving&&(Fi(e,f),Vi(e,h),Mi(x)||Wi(e,o,v,n))})),ji(x,[e,n])},onEnterCancelled(e){E(e,!1),ji(w,[e])},onAppearCancelled(e){E(e,!0),ji(k,[e])},onLeaveCancelled(e){O(e),ji(T,[e])}})}(e),t);Bi.displayName="Transition";const Ni={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};Bi.props=c({},co,Ni);const ji=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},Mi=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function Ii(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Vi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Ri]||(e[Ri]=new Set)).add(t)}function Fi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Ri];n&&(n.delete(t),n.size||(e[Ri]=void 0))}function Hi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Di=0;function Wi(e,t,n,o){const r=e._endId=++Di,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=qi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=qi(a,l);let u=null,d=0,f=0;t===Pi?s>0&&(u=Pi,d=s,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?Pi:"animation":null,f=u?u===Pi?i.length:l.length:0);const p=u===Pi&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uUi(t)+Ui(e[n]))))}function Ui(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const zi=Symbol("_vod"),Xi=Symbol("_vsh"),Ki={beforeMount(e,{value:t},{transition:n}){e[zi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Yi(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),Yi(e,!0),o.enter(e)):o.leave(e,(()=>{Yi(e,!1)})):Yi(e,t))},beforeUnmount(e,{value:t}){Yi(e,t)}};function Yi(e,t){e.style.display=t?e[zi]:"none",e[Xi]=!t}const Gi=Symbol(""),Ji=/(^|;)\s*display\s*:/;const Zi=/\s*!important$/;function Qi(e,t,n){if(p(n))n.forEach((n=>Qi(e,t,n)));else if(null==n&&(n=""),n=cs(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ts[t];if(n)return n;let o=O(t);if("filter"!==o&&o in e)return ts[t]=o;o=A(o);for(let r=0;re.replace(me,((e,t)=>{if(!t)return e;if(1===as)return`${t}${ss}`;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)*as,ls);return 0===n?"0":`${n}${ss}`})));var ss,as,ls;const cs=e=>v(e)?is(e):e,us="http://www.w3.org/1999/xlink";const ds=Symbol("_vei");function fs(e,t,n,o,r=null){const i=e[ds]||(e[ds]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(ps.test(e)){let n;for(t={};n=e.match(ps);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):$(e.slice(2)),t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&p(i)){const n=ms(e,i);for(let o=0;ohs||(gs.then((()=>hs=0)),hs=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const ps=/(?:Once|Passive|Capture)$/;let hs=0;const gs=Promise.resolve();function ms(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 vs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const ys=["ctrl","shift","alt","meta"],bs={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)=>ys.some((n=>e[`${n}Key`]&&!t.includes(n)))},_s=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{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;Sn((()=>{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[Ri];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]&&Qi(o,t,"")}else for(const e in t)null==n[e]&&Qi(o,e,"");for(const e in n)"display"===e&&(i=!0),Qi(o,e,n[e])}else if(r){if(t!==n){const e=o[Gi];e&&(n+=";"+e),o.cssText=n,i=Ji.test(n)}}else t&&e.removeAttribute("style");zi in e&&(e[zi]=i?o.display:"",e[Xi]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Qi(o,a,s[a])}(e,n,o):a(t)?l(t)||fs(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&&vs(t)&&m(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(vs(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,r){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))},Ai);let xs;const Ts=(...e)=>{const t=(xs||(xs=Br(ws))).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;m(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 Ss="undefined"!=typeof document;function Cs(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const ks=Object.assign;function Es(e,t){const n={};for(const o in t){const r=t[o];n[o]=Ls(r)?r.map(e):e(r)}return n}const Os=()=>{},Ls=Array.isArray,$s=/#/g,As=/&/g,Ps=/\//g,Rs=/=/g,Bs=/\?/g,Ns=/\+/g,js=/%5B/g,Ms=/%5D/g,Is=/%5E/g,Vs=/%60/g,Fs=/%7B/g,Hs=/%7C/g,Ds=/%7D/g,Ws=/%20/g;function qs(e){return encodeURI(""+e).replace(Hs,"|").replace(js,"[").replace(Ms,"]")}function Us(e){return qs(e).replace(Ns,"%2B").replace(Ws,"+").replace($s,"%23").replace(As,"%26").replace(Vs,"`").replace(Fs,"{").replace(Ds,"}").replace(Is,"^")}function zs(e){return null==e?"":function(e){return qs(e).replace($s,"%23").replace(Bs,"%3F")}(e).replace(Ps,"%2F")}function Xs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Ks=/\/$/;function Ys(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return 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;i1&&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:Xs(s)}}function Gs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Js(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Zs(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Qs(e[n],t[n]))return!1;return!0}function Qs(e,t){return Ls(e)?ea(e,t):Ls(t)?ea(t,e):e===t}function ea(e,t){return Ls(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const ta={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var na,oa,ra,ia;function sa(e){if(!e)if(Ss){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Ks,"")}(oa=na||(na={})).pop="pop",oa.push="push",(ia=ra||(ra={})).back="back",ia.forward="forward",ia.unknown="";const aa=/^[^#]+#/;function la(e,t){return e.replace(aa,"#")+t}const ca=()=>({left:window.scrollX,top:window.scrollY});function ua(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 da(e,t){return(history.state?history.state.position-t:-1)+e}const fa=new Map;function pa(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),Gs(n,"")}return Gs(n,e)+o+r}function ha(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ca():null}}function ga(e){const{history:t,location:n}=window,o={value:pa(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=ks({},r.value,t.state,{forward:e,scroll:ca()});i(s.current,s,!0),i(e,ks({},ha(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,ks({},t.state,ha(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function ma(e){const t=ga(e=sa(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=pa(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:na.pop,direction:u?u>0?ra.forward:ra.back:ra.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(ks({},e.state,{scroll:ca()}),"")}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=ks({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:la.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 va(e){return"string"==typeof e||"symbol"==typeof e}const ya=Symbol("");var ba,_a;function wa(e,t){return ks(new Error,{type:e,[ya]:!0},t)}function xa(e,t){return e instanceof Error&&ya in e&&(null==t||!!(e.type&t))}(_a=ba||(ba={}))[_a.aborted=4]="aborted",_a[_a.cancelled=8]="cancelled",_a[_a.duplicated=16]="duplicated";const Ta={sensitive:!1,strict:!1,start:!0,end:!0},Sa=/[.+*?^${}()[\]/\\]/g;function Ca(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function ka(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Oa={type:0,value:""},La=/[a-zA-Z0-9_]/;function $a(e,t,n){const o=function(e,t){const n=ks({},Ta,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;t1&&("*"===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{i(f)}:Os}function i(e){if(va(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;ka(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(Ma(t)&&0===ka(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&&!Ba(e)&&o.set(e.record.name,e)}return t=ja({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 wa(1,{location:e});s=r.record.name,a=ks(Pa(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Pa(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 wa(1,{location:e,currentLocation:t});s=r.record.name,a=ks({},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:Na(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Pa(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Ra(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 Ba(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Na(e){return e.reduce(((e,t)=>ks(e,t.meta)),{})}function ja(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Ma({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ia(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Us(e))):[o&&Us(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Fa(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Ls(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Ha=Symbol(""),Da=Symbol(""),Wa=Symbol(""),qa=Symbol(""),Ua=Symbol("");function za(){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 Xa(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(wa(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(wa(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 Ka(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(Cs(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Xa(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&&Cs(l.default)?i.default:i;var l;s.mods[e]=i,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Xa(c,n,o,s,e,r)()}))))}}return i}function Ya(e){const t=yr(Wa),n=yr(qa),o=ki((()=>{const n=ln(e.to);return t.resolve(n)})),r=ki((()=>{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(Js.bind(null,r));if(s>-1)return s;const a=Ja(e[t-2]);return t>1&&Ja(r)===a&&i[i.length-1].path!==a?i.findIndex(Js.bind(null,e[t-2])):s})),i=ki((()=>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(!Ls(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=ki((()=>r.value>-1&&r.value===n.matched.length-1&&Zs(n.params,o.value.params)));return{route:o,href:ki((()=>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[ln(e.replace)?"replace":"push"](ln(e.to)).catch(Os):Promise.resolve()}}}const Ga=yo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ya,setup(e,{slots:t}){const n=Ht(Ya(e)),{options:o}=yr(Wa),r=ki((()=>({[Za(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Za(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ei("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Ja(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Za=(e,t,n)=>null!=e?e:null!=t?t:n;function Qa(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const el=yo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=yr(Ua),r=ki((()=>e.route||o.value)),i=yr(Da,0),s=ki((()=>{let e=ln(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=ki((()=>r.value.matched[s.value]));vr(Da,ki((()=>s.value+1))),vr(Ha,a),vr(Ua,r);const l=on();return Qn((()=>[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&&Js(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 Qa(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=Ei(c,ks({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Qa(n.default,{Component:f,route:o})||f}}});function tl(e){const t=Aa(e.routes,e),n=e.parseQuery||Ia,o=e.stringifyQuery||Va,r=e.history,i=za(),s=za(),a=za(),l=rn(ta);let c=ta;Ss&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Es.bind(null,(e=>""+e)),d=Es.bind(null,zs),f=Es.bind(null,Xs);function p(e,i){if(i=ks({},i||l.value),"string"==typeof e){const o=Ys(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return ks(o,s,{params:f(s.params),hash:Xs(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=ks({},e,{path:Ys(n,e.path,i.path).path});else{const t=ks({},e.params);for(const e in t)null==t[e]&&delete t[e];s=ks({},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,ks({},e,{hash:(h=c,qs(h).replace(Fs,"{").replace(Ds,"}").replace(Is,"^")),path:a.path}));var h;const g=r.createHref(p);return ks({fullPath:p,hash:c,query:o===Va?Fa(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Ys(n,e,l.value.path):ks({},e)}function g(e,t){if(c!==e)return wa(8,{from:t,to:e})}function m(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={}),ks({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(ks(h(u),{state:"object"==typeof u?ks({},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&&Js(t.matched[o],n.matched[r])&&Zs(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=wa(16,{to:d,from:r}),A(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch((e=>xa(e)?xa(e,2)?e:$(e):L(e,d,r))).then((e=>{if(e){if(xa(e,2))return y(ks({replace:a},h(e.to),{state:"object"==typeof e.to?ks({},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=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=B.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;sJs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Js(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=Ka(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Xa(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),j(n).then((()=>{n=[];for(const o of i.list())n.push(Xa(o,e,t));return n.push(l),j(n)})).then((()=>{n=Ka(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Xa(o,e,t))}));return n.push(l),j(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(Ls(o.beforeEnter))for(const r of o.beforeEnter)n.push(Xa(r,e,t));else n.push(Xa(o.beforeEnter,e,t));return n.push(l),j(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ka(a,"beforeRouteEnter",e,t,_),n.push(l),j(n)))).then((()=>{n=[];for(const o of s.list())n.push(Xa(o,e,t));return n.push(l),j(n)})).catch((e=>xa(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=g(e,t);if(s)return s;const a=t===ta,c=Ss?history.state:{};n&&(o||a?r.replace(e.fullPath,ks({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,A(e,t,n,a),$()}let S;function C(){S||(S=r.listen(((e,t,n)=>{if(!N.listening)return;const o=p(e),i=v(o);if(i)return void y(ks(i,{replace:!0}),o).catch(Os);c=o;const s=l.value;var a,u;Ss&&(a=da(s.fullPath,n.delta),u=ca(),fa.set(a,u)),w(o,s).catch((e=>xa(e,12)?e:xa(e,2)?(y(e.to,o).then((e=>{xa(e,20)&&!n.delta&&n.type===na.pop&&r.go(-1,!1)})).catch(Os),Promise.reject()):(n.delta&&r.go(-n.delta,!1),L(e,o,s)))).then((e=>{(e=e||T(o,s,!1))&&(n.delta&&!xa(e,8)?r.go(-n.delta,!1):n.type===na.pop&&xa(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(Os)})))}let k,E=za(),O=za();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 A(t,n,o,r){const{scrollBehavior:i}=e;if(!Ss||!i)return Promise.resolve();const s=!o&&function(e){const t=fa.get(e);return fa.delete(e),t}(da(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Sn().then((()=>i(t,n,s))).then((e=>e&&ua(e))).catch((e=>L(e,t,n)))}const P=e=>r.go(e);let R;const B=new Set,N={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return va(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:m,replace:function(e){return m(ks(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:function(){return k&&l.value!==ta?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Ga),e.component("RouterView",el),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>ln(l)}),Ss&&!R&&l.value===ta&&(R=!0,m(r.location).catch((e=>{})));const t={};for(const o in ta)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Wa,this),e.provide(qa,Dt(t)),e.provide(Ua,l);const n=e.unmount;B.add(e),e.unmount=function(){B.delete(e),B.size<1&&(c=ta,S&&S(),S=null,l.value=ta,R=!1,k=!1),n()}}};function j(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return N}function nl(e){return yr(qa)}const ol=["{","}"];const rl=/^(?:\d)+/,il=/^(?:\w)+/;const sl=Object.prototype.hasOwnProperty,al=(e,t)=>sl.call(e,t),ll=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=ol){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class ul{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||ll,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=cl(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=>{al(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=cl(t,this.messages))&&(o=this.messages[t]):n=t,al(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 dl(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&&Ku?Ku():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new ul({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Cp().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}const fl=fe((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let pl;function hl(){if(!pl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,pl=dl(e),fl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>pl.add(e,__uniConfig.locales[e]))),pl.setLocale(e)}}return pl}function gl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const ml=fe((()=>{const e="uni.async.",t=["error"];hl().add("en",gl(e,t,["The connection timed out, click the screen to try again."]),!1),hl().add("es",gl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),hl().add("fr",gl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),hl().add("zh-Hans",gl(e,t,["连接服务器超时,点击屏幕重试"]),!1),hl().add("zh-Hant",gl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),vl=fe((()=>{const e="uni.showToast.",t=["unpaired"];hl().add("en",gl(e,t,["Please note showToast must be paired with hideToast"]),!1),hl().add("es",gl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),hl().add("fr",gl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),hl().add("zh-Hans",gl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),hl().add("zh-Hant",gl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),yl=fe((()=>{const e="uni.showLoading.",t=["unpaired"];hl().add("en",gl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),hl().add("es",gl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),hl().add("fr",gl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),hl().add("zh-Hans",gl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),hl().add("zh-Hant",gl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),bl=fe((()=>{const e="uni.showModal.",t=["cancel","confirm"];hl().add("en",gl(e,t,["Cancel","OK"]),!1),hl().add("es",gl(e,t,["Cancelar","OK"]),!1),hl().add("fr",gl(e,t,["Annuler","OK"]),!1),hl().add("zh-Hans",gl(e,t,["取消","确定"]),!1),hl().add("zh-Hant",gl(e,t,["取消","確定"]),!1)})),_l=fe((()=>{const e="uni.video.",t=["danmu","volume"];hl().add("en",gl(e,t,["Danmu","Volume"]),!1),hl().add("es",gl(e,t,["Danmu","Volumen"]),!1),hl().add("fr",gl(e,t,["Danmu","Le Volume"]),!1),hl().add("zh-Hans",gl(e,t,["弹幕","音量"]),!1),hl().add("zh-Hant",gl(e,t,["彈幕","音量"]),!1)}));function wl(e){const t=new $e;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let xl=1;const Tl=Object.create(null);function Sl(e,t){return e+"."+t}function Cl(e,t,n){t=Sl(e,t),Tl[t]||(Tl[t]=n)}function kl({id:e,name:t,args:n},o){t=Sl(o,t);const r=t=>{e&&jh.publishHandler("invokeViewApi."+e,t)},i=Tl[t];i?i(n,r):r({})}const El=c(wl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=jh,i=n?xl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Ol=ve(!0);let Ll;function $l(){Ll&&(clearTimeout(Ll),Ll=null)}let Al=0,Pl=0;function Rl(e){if($l(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Al=t,Pl=n,Ll=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 Bl(e){if(!Ll)return;if(1!==e.touches.length)return $l();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Al)>10||Math.abs(n-Pl)>10?$l():void 0}function Nl(e,t){const n=Number(e);return isNaN(n)?t:n}const jl=()=>/^Apple/.test(navigator.vendor);function Ml(){const e=__uniConfig.globalStyle||{},t=Nl(e.rpxCalcMaxDeviceWidth,960),n=Nl(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=jl()&&"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 e?Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n:Math.min(window.innerWidth,document.documentElement.clientWidth)}();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),jl()&&window.addEventListener("orientationchange",(()=>{o(),setTimeout(o,50)}))}function Il(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vl,Fl,Hl=["top","left","right","bottom"],Dl={};function Wl(){return Fl="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 ql(){if(Fl="string"==typeof Fl?Fl:Wl()){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"}),Hl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Vl=!0}else Hl.forEach((function(e){Dl[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:Fl+"(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){zl.length||setTimeout((function(){var e={};zl.forEach((function(t){e[t]=Dl[t]})),zl.length=0,Xl.forEach((function(t){t(e)}))}),0);zl.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Dl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Ul(e){return Vl||ql(),Dl[e]}var zl=[];var Xl=[];const Kl=Il({get support(){return 0!=("string"==typeof Fl?Fl:Wl()).length},get top(){return Ul("top")},get left(){return Ul("left")},get right(){return Ul("right")},get bottom(){return Ul("bottom")},onChange:function(e){Wl()&&(Vl||ql(),"function"==typeof e&&Xl.push(e))},offChange:function(e){var t=Xl.indexOf(e);t>=0&&Xl.splice(t,1)}}),Yl=_s((()=>{}),["prevent"]),Gl=_s((e=>{}),["stop"]);function Jl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Zl(){const e=Jl(document.documentElement.style,"--window-top");return e?e+Kl.top:0}function Ql(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function ec(e){return Symbol(e)}function tc(e){return e.$page}function nc(e){return 0===e.tagName.indexOf("UNI-")}const oc="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",rc="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 ic(e,t="#000",n=27){return oi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[oi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function sc(){{const{$pageInstance:e}=gi();return e&&hc(e.proxy)}}function ac(){const e=Bd(),t=e.length;if(t)return e[t-1]}function lc(){var e;const t=null==(e=ac())?void 0:e.$page;if(t)return t.meta}function cc(){const e=lc();return e?e.id:-1}function uc(){const e=ac();if(e)return e.$vm}const dc=["navigationBar","pullToRefresh"];function fc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);dc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function pc(e,t,n,o,r,i){const{id:s,route:a}=o,l=Re(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:de(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}function hc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function gc(e,t,n){if(v(e))n=t,t=e,e=uc();else if("number"==typeof e){const t=Bd().find((t=>tc(t).id===e));e=t?t.$vm:uc()}if(!e)return;const o=e.$[t];return"onBackPress"===t?o&&(r=o,i=n,r.map((e=>e(i)))).some((e=>!0===e)):o&&((e,t)=>{let n;for(let o=0;o{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-yc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(yc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(vc=setTimeout(s,300))),o=!1};return function(){clearTimeout(vc),o||requestAnimationFrame(s),o=!0}}function _c(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return _c(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),de(i.concat(n).join("/"))}function wc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function xc(){Ml(),he(nc),window.addEventListener("touchstart",Rl,Ol),window.addEventListener("touchmove",Bl,Ol),window.addEventListener("touchend",$l,Ol),window.addEventListener("touchcancel",$l,Ol)}class Tc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ae(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&&ae(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=Ec(this.$el.querySelector(e));return t?Sc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-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];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&jh.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 Sc(e,t=!0){if(t&&e&&(e=se(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Tc(e)),e.$el.__wxsComponentDescriptor}function Cc(e,t){return Sc(e,t)}function kc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Cc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=se(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Cc(r,!1)]}}function Ec(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Oc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=ye(t?r:function(e){for(;!nc(e);)e=e.parentElement;return e}(r)),a=ye(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 Lc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function $c(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Zl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Lc(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=Zl();i.touches=$c(e.touches,t),i.changedTouches=$c(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 kc(i,t,n)||[i]},createNativeEvent:Oc},Symbol.toStringTag,{value:"Module"});function Pc(e){!function(e){const t=e.globalProperties;c(t,Ac),t.$gcd=Cc}(e._context.config)}let Rc=1;function Bc(e){return(e||cc())+".invokeViewApi"}const Nc=c(wl("view"),{invokeOnCallback:(e,t)=>Mh.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Mh,s=o?Rc++:0;o&&r("invokeViewApi."+s,o,!0),i(Bc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=Mh,a=Rc++,l="invokeViewApi."+a;return r(l,n),s(Bc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function jc(e){gc(ac(),"onResize",e),Mh.invokeOnCallback("onWindowResize",e)}function Mc(e){const t=ac();gc(Cp(),"onShow",e),gc(t,"onShow")}function Ic(){gc(Cp(),"onHide"),gc(ac(),"onHide")}const Vc=["onPageScroll","onReachBottom"];function Fc(){Vc.forEach((e=>Mh.subscribe(e,function(e){return(t,n)=>{gc(parseInt(n),e,t)}}(e))))}function Hc(){!function(){const{on:e}=Mh;e("onResize",jc),e("onAppEnterForeground",Mc),e("onAppEnterBackground",Ic)}(),Fc()}function Dc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Se(this.$page.id)),e.eventChannel}}function Wc(e){e._context.config.globalProperties.getOpenerEventChannel=Dc}function qc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Uc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Xu(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function zc(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(Uc)),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)?Uc(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{i()}),0)}const Xc={props:["animation"],watch:{animation:{deep:!0,handler(){zc(this)}}},mounted(){zc(this)}},Kc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Xc),Yc(e)},Yc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},yo(e));function Gc(e){return e.__wwe=!0,e}function Jc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=ye(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Zc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Qc(e){const t=on(!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:Gc((function(e){e.touches.length>1||s(e)})),onMousedown:Gc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Gc((function(){a()})),onMouseup:Gc((function(){r&&l()})),onTouchcancel:Gc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function eu(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const tu=ec("uf"),nu=ec("ul");function ou(e,t,n){const o=sc();n&&!e||T(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&jh.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?jh.on(r,t[r]):e&&jh.on(`uni-${r}-${o}-${e}`,t[r])}))}function ru(e,t,n){const o=sc();n&&!e||T(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&jh.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?jh.off(r,t[r]):e&&jh.off(`uni-${r}-${o}-${e}`,t[r])}))}const iu=Kc({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=on(null),o=yr(tu,!1),{hovering:r,binding:i}=Qc(e),s=Gc(((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=yr(nu,!1);return a&&(a.addHandler(s),Ho((()=>{a.removeHandler(s)}))),function(e,t){ou(e.id,t),Qn((()=>e.id),((e,n)=>{ru(n,t,!0),ou(e,t,!0)})),Do((()=>{ru(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=eu(e,"disabled"),l=eu(e,"loading"),c=eu(e,"plain"),u=o&&"none"!==o;return oi("uni-button",ui({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),su=ec("upm");function au(){return yr(su)}function lu(e){const t=function(e){return Ht(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Bd().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(fc(nl().meta,e)))))}(e);return vr(su,t),t}function cu(){return nl()}function uu(){return history.state&&history.state.__id__||1}const du=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function fu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function pu(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let hu=1;const gu={};function mu(e,t,n){if("number"==typeof e){const o=gu[e];if(o)return o.keepAlive||delete gu[e],o.callback(t,n)}return t}const vu="success",yu="fail",bu="complete";function _u(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];m(o)&&(t[n]=pu(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=hu++;return function(e,t,n,o=!1){gu[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),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const wu="success",xu="fail",Tu="complete",Su={},Cu={};function ku(e,t){return function(n){return e(n,t)||n}}function Eu(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function Ou(e,t={}){return[wu,xu,Tu].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Eu(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function Lu(e,t){const n=[];p(Su.returnValue)&&n.push(...Su.returnValue);const o=Cu[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function $u(e){const t=Object.create(null);Object.keys(Su).forEach((e=>{"returnValue"!==e&&(t[e]=Su[e].slice())}));const n=Cu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Au(e,t,n,o){const r=$u(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Eu(r.invoke,n).then((n=>t(Ou($u(e),n),...o)))}return t(Ou(r,n),...o)}return t(n,...o)}function Pu(e,t){return(n={},...o)=>function(e){return!(!T(e)||![vu,yu,bu].find((t=>m(e[t]))))}(n)?Lu(e,Au(e,t,c({},n),o)):Lu(e,new Promise(((r,i)=>{Au(e,t,c({},n,{success:r,fail:i}),o)})))}function Ru(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,mu(e,c({errMsg:i},o))}function Bu(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{const r=_u(e,n,o),i=Bu(0,[n],0,o);return i?Ru(r,e,i):t(n,{resolve:t=>function(e,t,n){return mu(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Ru(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 ju(e,t,n,o){return Pu(e,Nu(e,t,0,o))}function Mu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Bu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Iu(e,t,n,o){return Pu(e,function(e,t,n,o){return Nu(e,t,0,o)}(e,t,0,o))}let Vu=!1,Fu=0,Hu=0,Du=960,Wu=375,qu=750;function Uu(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=cf();return{platform:Qd?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=r,n=i}Fu=e,Hu=t,Vu="ios"===n}function zu(e,t){const n=Number(e);return isNaN(n)?t:n}const Xu=Mu(0,((e,t)=>{if(0===Fu&&(Uu(),function(){const e=__uniConfig.globalStyle||{};Du=zu(e.rpxCalcMaxDeviceWidth,960),Wu=zu(e.rpxCalcBaseDeviceWidth,375),qu=zu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Fu;n=e===qu||n<=Du?n:Wu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Hu&&Vu?.5:1),e<0?-o:o})),Ku=Mu(0,(()=>{const e=Cp();return e&&e.$vm?e.$vm.$locale:hl().getLocale()})),Yu={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const Gu="json",Ju=["text","arraybuffer"],Zu=encodeURIComponent;ArrayBuffer,Boolean;const Qu={formatArgs:{method(e,t){t.method=fu((e||"").toUpperCase(),du)},data(e,t){t.data=e||""},url(e,t){t.method===du[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[Zu(a)]=Zu(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!==du[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Gu).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Ju.indexOf(t.responseType)&&(t.responseType="text")}}},ed={formatArgs:{header(e,t){t.header=e||{}}}};const td={url:{type:String,required:!0}},nd=(sd(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),sd(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),cd("navigateTo")),od=cd("redirectTo"),rd=cd("reLaunch"),id={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Bd().length-1,e)}}};function sd(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 ad;function ld(){ad=""}function cd(e){return{formatArgs:{url:ud(e)},beforeAll:ld}}function ud(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=Bd();return n.length&&(t=tc(n[n.length-1]).route),_c(t,e)}(t)).split("?")[0],r=wc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(ad===t&&"appLaunch"!==n.openType)return`${ad} locked`;__uniConfig.ready&&(ad=t)}else if(r.meta.isTabBar){const e=Bd(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const dd={beforeInvoke(){bl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=hl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=hl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},fd=["success","loading","none","error"],pd=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=fu(e,fd)},image(e,t){t.image=e?Gd(e):""},duration:1500,mask:!1}});function hd(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function gd(){const e=ac();if(!e)return;const t=Ed(e);jd(Vd(t.path,t.id))}const md=Iu("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Od.handledBeforeEntryPageRoutes)return gd(),bd({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Ad.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,od);function vd(){const e=Rd().keys();for(const t of e)jd(t)}const yd=Iu("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Od.handledBeforeEntryPageRoutes)return vd(),bd({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);Pd.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,rd);function bd({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=Cp().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:xe(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++Md,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(xa(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Se(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function _d(){if(Od.handledBeforeEntryPageRoutes)return;Od.handledBeforeEntryPageRoutes=!0;const e=[...Ld];Ld.length=0,e.forEach((({args:e,resolve:t,reject:n})=>bd(e).then(t).catch(n)));const t=[...$d];$d.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(function(){const e=uc();if(!e)return;const t=Rd(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:jd(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,gc(e,"onHide"))}(),bd(e,function(e){const t=Rd().values();for(const n of t){const t=Ed(n);if(hd(e,t))return n.$.__isActive=!0,t.id}}(e.url)).then(t).catch(n))));const n=[...Ad];Ad.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(gd(),bd(e).then(t).catch(n))));const o=[...Pd];Pd.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(vd(),bd(e).then(t).catch(n))))}function wd(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const xd=wd("top:env(a)"),Td=wd("top:constant(a)"),Sd=(()=>xd?"env":Td?"constant":"")();function Cd(e){var t,n;Ql({"--window-top":(n=0,Sd?`calc(${n}px + ${Sd}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,Sd?`calc(${t}px + ${Sd}(safe-area-inset-bottom))`:`${t}px`)})}const kd=new Map;function Ed(e){return e.$page}const Od={handledBeforeEntryPageRoutes:!1},Ld=[],$d=[],Ad=[],Pd=[];function Rd(){return kd}function Bd(){return Nd()}function Nd(){const e=[],t=kd.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function jd(e,t=!0){const n=kd.get(e);n.$.__isUnload=!0,gc(n,"onUnload"),kd.delete(e),t&&function(e){const t=Fd.get(e);t&&(Fd.delete(e),Hd.pruneCacheEntry(t))}(e)}let Md=uu();function Id(e){const t=function(e){const t=au();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),pc("navigateTo",n,{},t)}(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),kd.set(Vd(t.path,t.id),e),1===kd.size&&setTimeout((()=>{_d()}),0)}function Vd(e,t){return e+"$$"+t}const Fd=new Map,Hd={get:e=>Fd.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Hd.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(Hd.delete(n),Hd.pruneCacheEntry(e),Sn((()=>{kd.forEach(((e,t)=>{e.$.isUnmounted&&kd.delete(t)}))})))}))}(e),Fd.set(e,t)},delete(e){Fd.get(e)&&Fd.delete(e)},forEach(e){Fd.forEach(e)}};function Dd(e,t){!function(e){const t=qd(e),{body:n}=document;Ud&&n.removeAttribute(Ud),t&&n.setAttribute(t,""),Ud=t}(e),Cd(),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),Kd(e,t)}function Wd(e){const t=qd(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function qd(e){return e.type.__scopeId}let Ud;const zd=!!(()=>{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 Xd;function Kd(e,t){if(document.removeEventListener("touchmove",mc),Xd&&document.removeEventListener("scroll",Xd),t.disableScroll)return document.addEventListener("touchmove",mc,zd);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=Ed(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&jh.publishHandler("onPageScroll",{scrollTop:o},e),n&&jh.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>jh.publishHandler("onReachBottom",{},s)),Xd=bc(i),requestAnimationFrame((()=>document.addEventListener("scroll",Xd)))}function Yd(e){const{base:t}=__uniConfig.router;return 0===de(e).indexOf(t)?de(e):t+e}function Gd(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 Yd(e.slice(1));e="https:"+e}if(te.test(e)||ne.test(e)||0===e.indexOf("blob:"))return e;const o=Nd();return o.length?Yd(_c(Ed(o[o.length-1]).route,e).slice(1)):e}const Jd=navigator.userAgent,Zd=/android/i.test(Jd),Qd=/iphone|ipad|ipod/i.test(Jd),ef=Jd.match(/Windows NT ([\d|\d.\d]*)/i),tf=/Macintosh|Mac/i.test(Jd),nf=/Linux|X11/i.test(Jd),of=tf&&navigator.maxTouchPoints>0,rf=/OpenHarmony/i.test(Jd);function sf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function af(e){return e&&90===Math.abs(window.orientation)}function lf(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function cf(){const e=sf();if(e){const t=lf(e,af(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}const uf={};function df(e){for(const n in uf)if(f(uf,n)){if(uf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return uf[t]=e,t}const ff=qc(),pf=qc();const hf=Kc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=on(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=Ht({width:-1,height:-1});return Qn((()=>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){Eo(o),Io((()=>{t.initial&&Sn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>oi("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[oi("div",{onScroll:r},[oi("div",null,null)],40,["onScroll"]),oi("div",{onScroll:r},[oi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function gf(){}const mf={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 vf(e,t,n){function o(e){const t=ki((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",gf,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",gf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Qn((()=>t.value),(e=>e&&o(e)))}const yf={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},bf={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},_f={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"]},wf=Kc({name:"Image",props:yf,setup(e,{emit:t}){const n=on(null),o=function(e,t){const n=on(""),o=ki((()=>{let e="auto",o="";const r=_f[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=Ht({rootEl:e,src:ki((()=>t.src?Gd(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Io((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=Jc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=bf[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){xf&&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 Qn((()=>t.mode),((e,t)=>{bf[t]&&r(),bf[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),Sn((()=>{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)};Qn((()=>e.src),(e=>l(e))),Qn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Io((()=>l(e.src))),Ho((()=>c()))}(o,e,n,i,r),()=>oi("uni-image",{ref:n},[oi("div",{style:o.modeStyle},null,4),bf[e.mode]?oi(hf,{onResize:i},null,8,["onResize"]):oi("span",null,null)],512)}});const xf="Google Inc."===navigator.vendor;const Tf=ve(!0),Sf=[];let Cf=0,kf=!1;const Ef=e=>Sf.forEach((t=>t.userAction=e));function Of(){const e=Ht({userAction:!1});return Io((()=>{!function(e={userAction:!1}){kf||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Cf&&Ef(!0),Cf++,setTimeout((()=>{!--Cf&&Ef(!1)}),0)}),Tf)})),kf=!0);Sf.push(e)}(e)})),Ho((()=>{!function(e){const t=Sf.indexOf(e);t>=0&&Sf.splice(t,1)}(e)})),{state:e}}function Lf(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 $f(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Af=["none","text","decimal","numeric","tel","search","email","url"],Pf=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=>!!~Af.indexOf(e)},cursorColor:{type:String,default:""}},mf),Rf=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Bf(e,t,n,o,r){let i=null,s=null;s=Te((n=>{const o=r.value,s=$f(n,e.type);o&&document.activeElement===o&&s===i||(t.value=s)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Qn((()=>e.modelValue),s),Qn((()=>e.value),s);const a=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{s.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Mo((()=>{s.cancel(),a.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{s.cancel(),i=t.value,a(e,t),n&&a.flush()}}}function Nf(e,t){Of();const n=ki((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Qn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Io((()=>{n.value&&Sn(o)}))}function jf(e,t,n,o){Cl(cc(),"getSelectedTextRange",Lf);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=on(null),r=Jc(t,n),i=ki((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=ki((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=ki((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=ki((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=$f(e.modelValue,e.type)||$f(e.value,e.type);const u=Ht({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Qn((()=>u.focus),(e=>n("update:focus",e))),Qn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Bf(e,i,n,s,r);Nf(e,r),vf(0,r);const{state:l}=function(){const e=Ht({attrs:{}});return Io((()=>{let t=gi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=yr(tu,!1);if(!n)return;const o=gi(),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),Ho((()=>{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}Qn([()=>t.selectionStart,()=>t.selectionEnd],s),Qn((()=>t.cursor),a),Qn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(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 Mf=fe((()=>{{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 If(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(".")&&t.value===o.value)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&&Mf()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function Vf(e){return"insertFromPaste"===e.inputType}const Ff=Kc({name:"Input",props:c({},Pf,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Rf],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=ki((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":case"none":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=ki((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf($(e.textContentType));return r[-1!==t?t:-1!==n?n:0]})),a=ki((()=>{if(void 0!==e.inputmode)return e.inputmode;if(Af.includes(e.type))return e.type;return{number:"numeric",digit:"decimal",idcard:"text"}[e.type]}));let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=on(null!=t?t.toLocaleString():"");return Qn((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Qn((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return on("")}(e,i),c={fn:null};const u=on(null),{fieldRef:d,state:f,scopedAttrsState:p,fixDisabledColor:h,trigger:g}=jf(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=If(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=If(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!Vf(e))return n.value=l.value=t.value,!1}}));Qn((()=>f.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())})),Qn((()=>e.maxlength),(e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)}));const m=["number","digit"],v=ki((()=>m.includes(e.type)?e.step:""));function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),g("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?oi("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}:{},inputmode:a.value,onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","inputmode","onFocus"]):oi("input",{key:"input",ref:d,value:f.value,onInput:_s((e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?Vf(e)&&(f.value=t.slice(0,f.maxlength)):0===t.length&&"insertText"===e.inputType&&"."===e.data||(f.value=t)}),["stop"]),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 oi("uni-input",{ref:u},[oi("div",{class:"uni-input-wrapper"},[ro(oi("div",ui(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ki,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?oi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Hf=["class","style"],Df=/^on[A-Z]+/,Wf=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=gi(),r=rn({}),i=rn({}),s=rn({}),a=n.concat(Hf);return o.attrs=Ht(o.attrs),Jn((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Df.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}},qf=Kc({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=on(null),o=ki((()=>{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=ki((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return oi("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?oi("div",{class:"uni-scroll-view-refresh"},[oi("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?oi("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"},[oi("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),oi("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?oi("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[oi("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?oi("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Uf=ve(!0),zf=Kc({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=on(null),i=on(null),s=on(null),a=on(null),l=Jc(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=ki((()=>Number(e.scrollTop)||0)),n=ki((()=>Number(e.scrollLeft)||0));return{state:Ht({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=ki((()=>e.scrollX)),h=ki((()=>e.scrollY)),g=ki((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=ki((()=>{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<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.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<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.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={x:0,y:e.refresherThreshold};return Io((()=>{Sn((()=>{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&&oS.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(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})},g=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,Uf),s.value.addEventListener("touchmove",l,ve(!1)),s.value.addEventListener("scroll",i,ve(!1)),s.value.addEventListener("touchend",g,Uf),Ho((()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)}))})),Eo((()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)})),Qn(n,(e=>{b(e)})),Qn(o,(e=>{_(e)})),Qn((()=>e.scrollIntoView),(e=>{w(e)})),Qn((()=>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),m=ki((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=ki((()=>{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 oi("uni-scroll-view",{ref:r},[oi("div",{ref:s,class:"uni-scroll-view"},[oi("div",{ref:i,style:m.value,class:v.value},[t?oi(qf,{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,oi("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const Xf={ensp:" ",emsp:" ",nbsp:" "};function Kf(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Xf[t]&&" "===i&&(i=Xf[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Xf.nbsp).replace(/ /g,Xf.ensp).replace(/ /g,Xf.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const Yf=Kc({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=on(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Hr){let n=[];n=Kf(t.children,{space:e.space,decode:e.decode});const r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(ii(e)),t!==r&&o.push(oi("br"))}))}else o.push(t)})),oi("uni-text",{ref:n,selectable:!!e.selectable||null},[oi("span",null,o)],8,["selectable"])}}}),Gf=c({},Pf,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Zf.concat("return").includes(e)}});let Jf=!1;const Zf=["done","go","next","search","send"];const Qf=Kc({name:"Textarea",props:Gf,emits:["confirm","change","linechange",...Rf],setup(e,{emit:t,expose:n}){const o=on(null),r=on(null),{fieldRef:i,state:s,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=jf(e,o,t),u=ki((()=>s.value.split("\n"))),d=ki((()=>Zf.includes(e.confirmType))),f=on(0),p=on(null);function h({height:e}){f.value=e}function g(e){}function m(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 Qn((()=>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)";Jf=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?oi("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":Jf},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):oi("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":Jf},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:v,onChange:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return oi("uni-textarea",{ref:o,"auto-height":e.autoHeight},[oi("div",{ref:r,class:"uni-textarea-wrapper"},[ro(oi("div",ui(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ki,!s.value.length]]),oi("div",{ref:p,class:"uni-textarea-line"},[" "],512),oi("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[u.value.map((e=>oi("div",null,[e.trim()?e:"."]))),oi(hf,{initial:!0,onResize:h},null,8,["initial","onResize"])],2),"search"===e.confirmType?oi("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),ep=Kc({name:"View",props:c({},Zc),setup(e,{slots:t}){const n=on(null),{hovering:o,binding:r}=Qc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?oi("uni-view",ui({class:o.value?i:"",ref:n},r),[Ko(t,"default")],16):oi("uni-view",{ref:n},[Ko(t,"default")],512)}}});function tp(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function np(e,t,n){e&&Cl(n||cc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function op(e,t){e&&function(e,t){t=Sl(e,t),delete Tl[t]}(t||cc(),e)}let rp=0;function ip(e,t,n,o){m(t)&&No(e,t.bind(n),o)}function sp(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&&!m(t))&&(ke.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>ip(o,e,n,t))):ip(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,gc(n,"onLoad",e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&gc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function ap(e,t,n){sp(e,t,n)}function lp(e,t,n){return e[t]=n}function cp(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function up(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.onError?gc(i.proxy,"onError",n):hn(n,0,o&&o.$.vnode,!1)}}function dp(e,t){return e?[...new Set([].concat(e,t))]:t}function fp(e){const t=e.config;var n;t.errorHandler=Oe(e,up),n=t.optionMergeStrategies,ke.forEach((e=>{n[e]=dp}));const o=t.globalProperties;o.$set=lp,o.$applyOptions=ap,o.$callMethod=cp,function(e){Ee.forEach((t=>t(e)))}(e)}function pp(e){const t=tl({history:mp(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:gp});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(hp[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let hp=Object.create(null);const gp=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,hp[o]);if(t)return t}return{left:0,top:0};var o};function mp(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),ma(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Nd(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Ed(t[r]);jd(Vd(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const vp={install(e){fp(e),Pc(e),Wc(e),e.config.warnHandler||(e.config.warnHandler=yp),pp(e)}};function yp(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 bp={class:"uni-async-loading"},_p=oi("i",{class:"uni-loading"},null,-1),wp=Yc({name:"AsyncLoading",render:()=>(Ur(),Gr("div",bp,[_p]))});function xp(){window.location.reload()}const Tp=Yc({name:"AsyncError",props:["error"],setup(){ml();const{t:e}=hl();return()=>oi("div",{class:"uni-async-error",onClick:xp},[e("uni.async.error")],8,["onClick"])}});let Sp;function Cp(){return Sp}function kp(e){Sp=e,Object.defineProperty(Sp.$.ctx,"$children",{get:()=>Nd().map((e=>e.$vm))});const t=Sp.$.appContext.app;t.component(wp.name)||t.component(wp.name,wp),t.component(Tp.name)||t.component(Tp.name,Tp),function(e){e.$vm=e,e.$mpType="app";const t=on(hl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Sp),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}})}(Sp),Hc(),xc()}function Ep(e,{type:t,clone:n,init:o,setup:r,before:i,options:s}){n&&(e=c({},e)),i&&i(e);const a=e.setup;return e.setup=(e,t)=>{const n=gi();if(o(n.proxy),r(n),a)return a(e,t)},e}function Op(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Ep(e.default,t):Ep(e,t)}function Lp(e,t){return Op(e,{type:"page",clone:!0,init:Id,setup(e){e.$pageInstance=e;const t=cu(),n=_e(t.query);e.attrs.__pageQuery=n,Ed(e.proxy).options=n,e.proxy.options=n;const o=au();var r;Cd(),e.onReachBottom=Ht([]),e.onPageScroll=Ht([]),Qn([e.onReachBottom,e.onPageScroll],(()=>{const t=ac();e.proxy===t&&Kd(e,o)}),{once:!0}),Mo((()=>{Dd(e,o)})),Io((()=>{Wd(e);const{onReady:n}=e;n&&B(n),Rp(t)})),Lo((()=>{if(!e.__isVisible){Dd(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&B(n),Sn((()=>{Rp(t)}))}}),"ba",r),function(e,t){Lo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&B(t)}}}));const i=hc(e.proxy);return function(e,t){jh.subscribe(Sl(e,"invokeViewApi"),kl)}(i),Ho((()=>{!function(e){jh.unsubscribe(Sl(e,"invokeViewApi")),Object.keys(Tl).forEach((t=>{0===t.indexOf(e+".")&&delete Tl[t]}))}(i)})),n}})}function $p(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Yp(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Mh.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Ap(e){T(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Mh.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Pp(){const{emit:e}=Mh;"visible"===document.visibilityState?e("onAppEnterForeground",c({},pf)):e("onAppEnterBackground")}function Rp(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&gc("onTabItemTap",{index:n,text:t,pagePath:o})}function Bp(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 Np(e,t,n,o){const r=Ht({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),i={x:0,y:0};let s=null;let a;return{state:r,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.y=t.pageY,r.gestureType="none",r.volumeOld=0},onTouchmove:function(l){function c(){l.stopPropagation(),l.preventDefault()}o.fullscreen&&c();const u=r.gestureType;if("stop"===u)return;const d=l.targetTouches[0],f=d.pageX,p=d.pageY,h=i,g=n.value;if("progress"===u?(!function(e){const n=t.currentDuration;let o=e/600*n+r.currentTimeOld;o<0?o=0:o>n&&(o=n);r.currentTimeNew=o}(f-h.x),r.seeking=!0):"volume"===u&&function(e){const t=n.value,o=r.volumeOld;let i;"number"==typeof o&&(i=o-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(a),a=void 0,null==a&&(a=setTimeout((()=>{r.toastThin=!1,a=void 0}),1e3)),t.volume=i,r.volumeNew=i)}(p-h.y),"none"===u)if(Math.abs(f-h.x)>Math.abs(p-h.y)){if(!e.enableProgressGesture)return void(r.gestureType="stop");r.gestureType="progress",r.currentTimeOld=r.currentTimeNew=g.currentTime,o.fullscreen||c()}else{if(!e.pageGesture&&!e.vslideGesture)return void(r.gestureType="stop");"none"!==r.gestureType&&null!=s||(s=setTimeout((()=>{r.toastThin=!0}),500)),r.gestureType="volume",r.volumeOld=g.volume,o.fullscreen||c()}},onTouchend:function(e){const t=n.value;"none"!==r.gestureType&&"stop"!==r.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===r.gestureType&&r.currentTimeOld!==r.currentTimeNew&&(t.currentTime=r.currentTimeNew),r.gestureType="none"}}}function jp(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,n,o){const r=gi().proxy;o=null==o?sc():o,Io((()=>{np(t||tp(r),e,o),!n&&t||Qn((()=>r.id),((t,n)=>{np(tp(r,t),e,o),op(n&&tp(r,n))}))})),Ho((()=>{op(t||tp(r),o)}))}(((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(e){const t=sc(),n=gi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+rp++;return Io((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}(),!0)}const Mp=Kc({name:"Video",props:{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}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=on(null),i=on(null),s=Jc(r,t),{state:a}=Of(),{$attrs:l}=Wf({excludeListeners:!0});_l();const{videoRef:c,state:u,play:d,pause:f,stop:h,seek:g,playbackRate:m,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=on(null),r=ki((()=>Gd(e.src))),i=ki((()=>"true"===e.muted||!0===e.muted)),s=Ht({start:!1,src:r,playing:!1,currentTime:0,duration:0,currentDuration: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 Qn((()=>r.value),(()=>{s.playing=!1,s.currentTime=0})),Qn((()=>s.buffered),(e=>{n("progress",{},{buffered:e})})),Qn((()=>i.value),(e=>{o.value.muted=e})),Qn([()=>s.duration,()=>e.duration],(()=>{let t=Number(e.duration);isNaN(t)&&(t=0),s.currentDuration=t>0?t:s.duration})),{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:A}=function(e,t){const n=on(null),o=Ht({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=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n-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:P,onFullscreenChange:R,emitFullscreenChange:B,toggleFullscreen:N,requestFullScreen:j,exitFullScreen:M}=function(e,t,n,o,r){const i=Ht({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 Ho(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:I,onTouchstart:V,onTouchend:F,onTouchmove:H}=Np(e,u,c,P),{state:D,progressRef:W,ballRef:q,clickProgress:U,toggleControls:z,autoHideEnd:X,autoHideStart:K}=function(e,t,n,o){const r=on(null),i=on(null),s=ki((()=>e.showCenterPlayBtn&&!t.start)),a=on(!0),l=ki((()=>!s.value&&e.controls&&a.value)),c=Ht({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 Ho((()=>{u&&clearTimeout(u)})),Qn((()=>c.controlsShow&&t.playing&&!c.controlsTouching),(e=>{e?d():f()})),Io((()=>{const e=ve(!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)100&&(h=100),t.progress=h,null==o||o(t.currentDuration*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.currentDuration*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.currentDuration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,u,g,(e=>{I.currentTimeNew=e}));jp(d,f,h,g,A,m,j,M);const Y=function(e,t,n,o,r){const i=ki((()=>"progress"===t.gestureType||n.touching));return Qn(i,(o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)})),Qn([()=>e.currentTime,()=>e.currentDuration],(()=>{e.currentDuration>0?e.progress=e.currentTime/e.currentDuration*100:e.progress=0,e.progress>100&&(e.progress=100)}),{immediate:!0}),Qn((()=>t.currentTimeNew),(t=>{e.currentTime=t})),i}(u,I,D);return()=>oi("uni-video",{ref:r,id:e.id,onClick:z},[oi("div",{ref:i,class:"uni-video-container",onTouchstart:V,onTouchend:F,onTouchmove:H,onFullscreenchange:_s(R,["stop"]),onWebkitfullscreenchange:_s((e=>R(e,!0)),["stop"])},[oi("video",ui({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":!0,"uni-video-video-fullscreen":P.fullscreen},"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:()=>B(!0),onX5videoenterfullscreen:()=>B(!0),onWebkitendfullscreen:()=>B(!1),onX5videoexitfullscreen:()=>B(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),ro(oi("div",{class:"uni-video-bar uni-video-bar-full",onClick:_s((()=>{}),["stop"])},[oi("div",{class:"uni-video-controls"},[ro(oi("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:_s(v,["stop"])},null,10,["onClick"]),[[Ki,e.showPlayBtn]]),ro(oi("div",{class:"uni-video-current-time"},[Bp(u.currentTime)],512),[[Ki,e.showProgress]]),ro(oi("div",{ref:W,class:"uni-video-progress-container",onClick:_s(U,["stop"])},[oi("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[oi("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),oi("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),oi("div",{ref:q,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[oi("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Ki,e.showProgress]]),ro(oi("div",{class:"uni-video-duration"},[Bp(u.currentDuration)],512),[[Ki,e.showProgress]])]),ro(oi("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:_s($,["stop"])},null,10,["onClick"]),[[Ki,e.danmuBtn]]),ro(oi("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":P.fullscreen},onClick:_s((()=>N(!P.fullscreen)),["stop"])},null,10,["onClick"]),[[Ki,e.showFullscreenBtn]])],8,["onClick"]),[[Ki,D.controlsShow]]),ro(oi("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Ki,u.start&&E.enable]]),D.centerPlayBtnShow&&oi("div",{class:"uni-video-cover",onClick:_s((()=>{}),["stop"])},[oi("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:_s(d,["stop"])},null,8,["onClick"])],8,["onClick"]),oi("div",{class:"uni-video-loading"},["volume"===I.gestureType?oi("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":I.toastThin},style:{marginTop:"5px"}},[!I.toastThin&&I.volumeNew>0&&"volume"===I.gestureType?oi("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!I.toastThin&&oi("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),oi("div",{class:"uni-video-toast-draw",style:{width:100*I.volumeNew+"%"}},null)],2):null]),oi("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[oi("div",{class:"uni-video-toast-title"},[oi("span",{class:"uni-video-toast-title-current-time"},[Bp(I.currentTimeNew)])," / ",Bp(u.currentDuration)])],2),oi("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Ip=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Vp;function Fp(){if(Vp=Vp||Ip.__DC_STAT_UUID,!Vp){Vp=Date.now()+""+Math.floor(1e7*Math.random());try{Ip.__DC_STAT_UUID=Vp}catch(e){}}return Vp}function Hp(){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 Dp(){let e,t="0",n="",o="phone";const r=navigator.language;if(Qd){e="iOS";const o=Jd.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=t.split(".")[0];if(Number(r)>=18){const e=Jd.match(/Version\/([\d\.]+)/);e&&(t=e[1])}const i=Jd.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(Zd){e="Android";const o=Jd.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Jd.match(/\((.+?)\)/),i=r?r[1].split(";"):Jd.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;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-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{const e=window.devicePixelRatio,t=sf(),n=af(t),o=lf(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=cf();let s=window.innerHeight;const a=Kl.top,l={left:Kl.left,right:i-Kl.right,top:Kl.top,bottom:s-Kl.bottom,width:i-Kl.left-Kl.right,height:s-Kl.top-Kl.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=Zl(),n=Jl(e,"--window-bottom"),o=Jl(e,"--window-left"),r=Jl(e,"--window-right"),i=Jl(e,"--top-window-height");return{top:t,bottom:n?n+Kl.bottom:0,left:o?o+Kl.left:0,right:r?r+Kl.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:Kl.top,right:Kl.right,bottom:Kl.bottom,left:Kl.left},screenTop:r-s}}));let qp,Up=!0;function zp(){Up&&(qp=Dp())}const Xp=Mu(0,(()=>{zp();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=qp;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Fp(),deviceOrientation:s,deviceType:a,model:o,osName:l?l.toLowerCase():void 0,osVersion:u,platform:r,system:i})})),Kp=Mu(0,(()=>{zp();const{theme:e,language:t,browserName:n,browserVersion:o}=qp;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Ku?Ku():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,isUniAppX:!1,language:t,SDKVersion:"",theme:e,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,version:""},{})})),Yp=Mu(0,(()=>{Up=!0,zp(),Up=!1;const e=Wp(),t=Xp(),n=Kp();Up=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=qp,l=c(e,t,n,{browserName:r,browserVersion:i,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0,ua:o,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,l}));const Gp=Mu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function Jp(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 Zp=Mu(0,(e=>{try{return Jp(e)}catch(t){return""}})),Qp={esc:["Esc","Escape"],enter:["Enter"]},eh=Object.keys(Qp);const th=oi("div",{class:"uni-mask"},null,-1);function nh(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Ts(yo({setup:()=>()=>(Ur(),Gr(e,t,null,16))}))}function oh(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function rh(e,{onEsc:t,onEnter:n}){const o=on(e.visible),{key:r,disable:i}=function(){const e=on(""),t=on(!1),n=n=>{if(t.value)return;const o=eh.find((e=>-1!==Qp[e].indexOf(n.key)));o&&(e.value=o),Sn((()=>e.value=""))};return Io((()=>{document.addEventListener("keyup",n)})),Ho((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Qn((()=>e.visible),(e=>o.value=e)),Qn((()=>o.value),(e=>i.value=!e)),Jn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const ih=ju("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(!n)return"string";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(g){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 ah(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=sh(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=ch(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 ah(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=ch(n,i,r)),c({data:n,statusCode:e,header:lh(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,Qu),sh=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{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 lh(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}function ch(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class uh{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(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 dh=ju("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,s=new XMLHttpRequest,a=new uh(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:df(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,ed),fh=Iu("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===gc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(Cp().$router.go(-e.delta),t()):n("onBackPress")}),0,id),ph=Iu("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Od.handledBeforeEntryPageRoutes)return bd({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Ld.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,nd);function hh(e){__uniConfig.darkmode&&Mh.on("onThemeChange",e)}function gh(e){Mh.off("onThemeChange",e)}const mh={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},vh=yo({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=on(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=rh(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=on(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=mh[e].cancelColor})(e,t)};return Jn((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Hp()&&n({theme:"dark"}),hh(n))):gh(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,oi(Bi,{name:"uni-fade"},{default:()=>[ro(oi("uni-modal",{onTouchmove:Yl},[th,oi("div",{class:"uni-modal"},[t?oi("div",{class:"uni-modal__hd"},[oi("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?oi("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):oi("div",{class:"uni-modal__bd",onTouchmovePassive:Gl,textContent:o},null,40,["onTouchmovePassive","textContent"]),oi("div",{class:"uni-modal__ft"},[l&&oi("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),oi("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Ki,s.value]])]})}}});let yh;const bh=fe((()=>{Mh.on("onHidePopup",(()=>yh.visible=!1))}));let _h;function wh(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&yh.editable&&(o.content=t),_h&&_h(o)}const xh=Iu("showModal",((e,{resolve:t})=>{bh(),_h=t,yh?(c(yh,e),yh.visible=!0):(yh=Ht(e),Sn((()=>(nh(vh,yh,wh).mount(oh("u-a-m")),Sn((()=>yh.visible=!0))))))}),0,dd),Th={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==fd.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Sh={light:"#fff",dark:"rgba(255,255,255,0.9)"},Ch=e=>Sh[e],kh=yo({name:"Toast",props:Th,setup(e){vl(),yl();const{Icon:t}=function(e){const t=on(Ch(Hp())),n=({theme:e})=>t.value=Ch(e);Jn((()=>{e.visible?hh(n):gh(n)}));return{Icon:ki((()=>{switch(e.icon){case"success":return oi(ic(oc,t.value,38),{class:"uni-toast__icon"});case"error":return oi(ic(rc,t.value,38),{class:"uni-toast__icon"});case"loading":return oi("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=rh(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return oi(Bi,{name:"uni-fade"},{default:()=>[ro(oi("uni-toast",{"data-duration":r},[o?oi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Yl},null,40,["onTouchmove"]):"",s||t.value?oi("div",{class:"uni-toast"},[s?oi("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,oi("p",{class:"uni-toast__content"},[i])]):oi("div",{class:"uni-sample-toast"},[oi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ki,n.value]])]})}}});let Eh,Oh,Lh="";const $h=Me();function Ah(e){Eh?c(Eh,e):(Eh=Ht(c(e,{visible:!1})),Sn((()=>{$h.run((()=>{Qn([()=>Eh.visible,()=>Eh.duration],(([e,t])=>{if(e){if(Oh&&clearTimeout(Oh),"onShowLoading"===Lh)return;Oh=setTimeout((()=>{Rh("onHideToast")}),t)}else Oh&&clearTimeout(Oh)}))})),Mh.on("onHidePopup",(()=>Rh("onHidePopup"))),nh(kh,Eh,(()=>{})).mount(oh("u-a-t"))}))),setTimeout((()=>{Eh.visible=!0}),10)}const Ph=Iu("showToast",((e,{resolve:t,reject:n})=>{Ah(e),Lh="onShowToast",t()}),0,pd);function Rh(e){const{t:t}=hl();if(!Lh)return;let n="";if("onHideToast"===e&&"onShowToast"!==Lh?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Lh&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Lh="",setTimeout((()=>{Eh.visible=!1}),10)}function Bh(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),Mh.emit("onNavigationBarChange",{titleText:t})}Jn(t),Eo(t)}const Nh=Yc({name:"Layout",setup(e,{emit:t}){const n=on(null);Ql({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=nl();return{routeKey:ki((()=>Vd("/"+e.meta.route,uu()))),isTabBar:ki((()=>e.meta.isTabBar)),routeCache:Hd}}(),{layoutState:r,windowState:i}=function(){cu();{const e=Ht({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Qn((()=>e.marginWidth),(e=>Ql({"--window-margin":e+"px"}))),Qn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Ql({"--window-left":e+"px"})})),Qn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Ql({"--window-right":e+"px"})})),{layoutState:e,windowState:ki((()=>({})))}}}();!function(e,t){const n=cu();function o(){const o=document.body.clientWidth,r=Nd();let i={};if(r.length>0){i=Ed(r[r.length-1]).meta}else{const e=wc(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,Sn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,Sn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Qn([()=>n.path],o),Io((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=on(!1);return ki((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return oi(el,null,{default:Vn((({Component:o})=>[(Ur(),Gr(Co,{matchBy:"key",cache:n},[(Ur(),Gr(zn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return oi("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const jh=c(El,{publishHandler(e,t,n){Mh.subscribeHandler(e,t,n)}}),Mh=c(Nc,{publishHandler(e,t,n){jh.subscribeHandler(e,t,n)}}),Ih=Yc({name:"PageBody",setup(e,t){const n=on(null),o=on(null);return Qn((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>oi(Vr,null,[!1,oi("uni-page-wrapper",ui({ref:n},o.value),[oi("uni-page-body",null,[Ko(t.slots,"default")]),null],16)])}}),Vh=Yc({name:"Page",setup(e,t){let n=lu(uu());n.navigationBar;const o={};return Bh(n),()=>oi("uni-page",{"data-page":n.route,style:o},[Fh(t),null])}});function Fh(e){return Ur(),Gr(Ih,{key:0},{default:Vn((()=>[Ko(e.slots,"page")])),_:3})}const Hh={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Xu;const Dh=Object.assign({}),Wh=Object.assign;window.__uniConfig=Wh({globalStyle:{backgroundColor:"#F7F8FF",navigationBar:{backgroundColor:"#F7F8FF",titleText:"临床思维训练",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"5.07"},{appId:"",appName:"AI思维临床训练",appVersion:"1.0.0",appVersionCode:"100",async:Hh,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(Dh).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Wh(e[n]||(e[n]={}),Dh[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const qh={delay:Hh.delay,timeout:Hh.timeout,suspensible:Hh.suspensible};Hh.loading&&(qh.loadingComponent={name:"SystemAsyncLoading",render:()=>oi(qn(Hh.loading))}),Hh.error&&(qh.errorComponent={name:"SystemAsyncError",props:["error"],render(){return oi(qn(Hh.error),{error:this.error})}});const Uh=()=>t((()=>import("./pages-index-index.D4jpUrPc.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url).then((e=>Lp(e.default||e))),zh=_o(Wh({loader:Uh},qh)),Xh=()=>t((()=>import("./config.C781xSGj.js").then((e=>e.c))),__vite__mapDeps([1,2,3,4,5]),import.meta.url).then((e=>Lp(e.default||e))),Kh=_o(Wh({loader:Xh},qh)),Yh=()=>t((()=>import("./pages-home-home.DrPjlTPP.js")),__vite__mapDeps([9,2,3,4,10]),import.meta.url).then((e=>Lp(e.default||e))),Gh=_o(Wh({loader:Yh},qh)),Jh=()=>t((()=>import("./pages-matching-matching.tTf9St20.js")),__vite__mapDeps([11,2,4,12]),import.meta.url).then((e=>Lp(e.default||e))),Zh=_o(Wh({loader:Jh},qh)),Qh=()=>t((()=>import("./pages-cases-cases.DT82vyu5.js")),__vite__mapDeps([13,14,3,4,15]),import.meta.url).then((e=>Lp(e.default||e))),eg=_o(Wh({loader:Qh},qh)),tg=()=>t((()=>import("./pages-scenario-scenario.qHtGjID7.js")),__vite__mapDeps([16,2,14,17,4,18]),import.meta.url).then((e=>Lp(e.default||e))),ng=_o(Wh({loader:tg},qh)),og=()=>t((()=>import("./pages-chat-chat.AlWPGbhC.js")),__vite__mapDeps([19,2,14,17,3,4,20]),import.meta.url).then((e=>Lp(e.default||e))),rg=_o(Wh({loader:og},qh)),ig=()=>t((()=>import("./pages-profile-profile-analysis.CRJ4sJsP.js")),__vite__mapDeps([21,2,4,22]),import.meta.url).then((e=>Lp(e.default||e))),sg=_o(Wh({loader:ig},qh)),ag=()=>t((()=>import("./pages-profile-profile-records.BNZ8jFJk.js")),__vite__mapDeps([23,4,24]),import.meta.url).then((e=>Lp(e.default||e))),lg=_o(Wh({loader:ag},qh)),cg=()=>t((()=>import("./pages-learning-assistant-learning-assistant.C5b4ppY1.js")),__vite__mapDeps([25,2,17,3,4,26]),import.meta.url).then((e=>Lp(e.default||e))),ug=_o(Wh({loader:cg},qh)),dg=()=>t((()=>import("./pages-teaching-teaching.DR-9Lpuq.js")),__vite__mapDeps([27,2,14,3,17,4,28]),import.meta.url).then((e=>Lp(e.default||e))),fg=_o(Wh({loader:dg},qh)),pg=()=>t((()=>import("./pages-diagnosis-diagnosis.peFitBk1.js")),__vite__mapDeps([29,2,14,17,3,4,30]),import.meta.url).then((e=>Lp(e.default||e))),hg=_o(Wh({loader:pg},qh)),gg=()=>t((()=>import("./pages-treatment-treatment.CY1LQTC2.js")),__vite__mapDeps([31,2,14,3,17,4,32]),import.meta.url).then((e=>Lp(e.default||e))),mg=_o(Wh({loader:gg},qh)),vg=()=>t((()=>import("./pages-assessment-assessment.CwWm86GC.js")),__vite__mapDeps([33,2,17,4,34]),import.meta.url).then((e=>Lp(e.default||e))),yg=_o(Wh({loader:vg},qh)),bg=()=>t((()=>import("./pages-profile-profile.B-XBbnFl.js")),__vite__mapDeps([6,2,4,7]),import.meta.url).then((e=>Lp(e.default||e))),_g=_o(Wh({loader:bg},qh));function wg(e,t){return Ur(),Gr(Vh,null,{page:Vn((()=>[oi(e,Wh({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(zh,t)}},loader:Uh,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"临床思维训练",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/config/config",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(Kh,t)}},loader:Xh,meta:{navigationBar:{titleText:"信息配置",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/home/home",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(Gh,t)}},loader:Yh,meta:{navigationBar:{titleText:"临床思维训练",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/matching/matching",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(Zh,t)}},loader:Jh,meta:{navigationBar:{titleText:"智能匹配",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/cases/cases",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(eg,t)}},loader:Qh,meta:{navigationBar:{titleText:"病例列表",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/scenario/scenario",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(ng,t)}},loader:tg,meta:{navigationBar:{titleText:"场景配置",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/chat/chat",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(rg,t)}},loader:og,meta:{navigationBar:{titleText:"临床对话",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/profile/profile-analysis",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(sg,t)}},loader:ig,meta:{navigationBar:{titleText:"智能分析",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/profile/profile-records",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(lg,t)}},loader:ag,meta:{navigationBar:{titleText:"学习记录",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/learning-assistant/learning-assistant",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(ug,t)}},loader:cg,meta:{navigationBar:{titleText:"AI 学习助手",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/teaching/teaching",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(fg,t)}},loader:dg,meta:{navigationBar:{titleText:"教学模式",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/diagnosis/diagnosis",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(hg,t)}},loader:pg,meta:{navigationBar:{titleText:"临床诊断",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/treatment/treatment",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(mg,t)}},loader:gg,meta:{navigationBar:{titleText:"治疗计划",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/assessment/assessment",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(yg,t)}},loader:vg,meta:{navigationBar:{titleText:"考核评价",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/profile/profile",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(_g,t)}},loader:bg,meta:{navigationBar:{titleText:"个人中心",style:"custom",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const xg={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};Op(xg,{init:kp,setup(e){const t=cu(),n=()=>{var n;n=e,Object.keys(Yu).forEach((e=>{Yu[e].forEach((t=>{No(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(ff,{path:e,query:t}),c(pf,ff),c({},ff)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:_e(t.query)});if(o&&B(o,s),r&&B(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:_e(t.query),scene:1001};_d(),i&&B(i,e)}};return yr(Wa).isReady().then(n),Io((()=>{window.addEventListener("resize",Te($p,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Ap),document.addEventListener("visibilitychange",Pp),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Mh.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Ur(),Gr(Nh));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}}),Ts(xg).use(vp).mount("#app");export{xh as A,ih as B,Zp as C,yd as D,ln as E,Vr as F,ph as G,le as H,Ff as I,wi as J,No as K,gi as L,ni as M,Bd as N,oe as O,fh as P,Ph as Q,Qf as R,zf as S,Mp as T,dh as U,Ht as a,Do as b,ki as c,yo as d,Ur as e,Gr as f,si as g,ro as h,oi as i,ii as j,_s as k,Yr as l,Xo as m,ce as n,Io as o,md as p,Sn as q,on as r,Gp as s,X as t,wf as u,Ki as v,Vn as w,Yf as x,ep as y,iu as z};