index-CCyi7pOT.js 254 KB

12345678910111213141516171819202122232425
  1. function __vite__mapDeps(indexes) {
  2. if (!__vite__mapDeps.viteFileDeps) {
  3. __vite__mapDeps.viteFileDeps = ["assets/pages-home-index.CxOFbso8.js","assets/useResource.arsXXK_d.js","assets/format.CPpNQRuj.js","assets/PackageCard.D8Cs1Iik.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/PackageCard-BbifTqyu.css","assets/PageState.CU1GvOcx.js","assets/PageState-CRHsiTbC.css","assets/BottomNav.HN-6owRr.js","assets/BottomNav-Cegm4_t0.css","assets/index-K6EGw7v6.css","assets/pages-account-login.D9u7y6L9.js","assets/login-OBXHtfXO.css","assets/pages-account-identities.TdadEOkF.js","assets/IdentityGuard.DpjpPzLM.js","assets/IdentityGuard-BfVAXKt5.css","assets/identities-iqtMwTYE.css","assets/pages-account-profile.BxdOrCy9.js","assets/profile-_QrGMlD7.css","assets/pages-packages-index.4HaoHZXm.js","assets/usePaged.D_KxZaJ7.js","assets/cart.Dra6EiGB.js","assets/index-DbQw_unN.css","assets/pages-packages-detail.ZXAav-PZ.js","assets/pages-packages-cart.B7Yn_PK8.js","assets/CommandStatus.vue_vue_type_script_setup_true_lang.BD419QOk.js","assets/QuantityInput.DwZu96Xs.js","assets/QuantityInput-CcMAAR1a.css","assets/pages-orders-checkout.s4J8ULW8.js","assets/pages-orders-index.D0xEA53a.js","assets/pages-orders-tracking.BdR4WuWI.js","assets/PrivatePhotos.BAuXHavC.js","assets/PrivatePhotos-DoYR5nb8.css","assets/tracking-C-s1_RqB.css","assets/pages-addresses-index.CHY9aQCF.js","assets/pages-addresses-edit.Cqy9DmDm.js","assets/pages-rights-index.C_7_k1_9.js","assets/index-W7JEKAp8.css","assets/pages-rights-ledger.DlpPaaXQ.js","assets/pages-devices-index.CsY6aGCQ.js","assets/pages-devices-detail.Br0kQ-Ix.js","assets/BarChart.CwVkA1VK.js","assets/BarChart-5FBbJv_D.css","assets/pages-account-rewards.D4_Mhd4u.js","assets/rewards-1Uppl1d8.css","assets/pages-driver-dashboard.C-th1bNn.js","assets/TaskCard.vue_vue_type_script_setup_true_lang.DqMBKfuw.js","assets/dashboard-CsM7DsiK.css","assets/pages-driver-tasks.DIhnAA1j.js","assets/pages-driver-task.Dfo1mUsc.js","assets/location.g4owBY8y.js","assets/pages-driver-device.GRSG0SPp.js","assets/device-CC9ePvxy.css","assets/pages-driver-fulfill.2VW0Lo_j.js","assets/fulfill-D-paqiJd.css","assets/pages-driver-routes.CKeCJU5E.js","assets/pages-agent-dashboard.BkLM-VWH.js","assets/pages-agent-customers.DfyzCzoP.js","assets/customers-BcV2OQZy.css","assets/pages-agent-orders.AlkmD4HE.js","assets/pages-agent-commissions.Br3x6aYC.js","assets/commissions-Dr29nh2h.css","assets/pages-common-map.QbBxT6WS.js","assets/map-CdonUaFa.css"]
  4. }
  5. return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
  6. }
  7. !function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),o=(null==t?void 0:t.nonce)||(null==t?void 0:t.getAttribute("nonce"));r=Promise.all(n.map(t=>{if((t=function(e){return"/water-mini/"+e}(t))in e)return;e[t]=!0;const n=t.endsWith(".css"),r=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${r}`))return;const i=document.createElement("link");return i.rel=n?"stylesheet":"modulepreload",n||(i.as="script",i.crossOrigin=""),i.href=t,o&&i.setAttribute("nonce",o),document.head.appendChild(i),n?new Promise((e,n)=>{i.addEventListener("load",e),i.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${t}`)))}):void 0}))}return r.then(()=>t()).catch(e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e})};
  8. /**
  9. * @vue/shared v3.4.21
  10. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  11. * @license MIT
  12. **/
  13. function n(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const o={},r=[],i=()=>{},a=()=>!1,s=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,_=e=>null!==e&&"object"==typeof e,b=e=>(_(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,x=e=>w.call(e),C=e=>"[object Object]"===x(e),k=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,S=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,O=T(e=>e.replace(E,(e,t)=>t?t.toUpperCase():"")),$=/\B([A-Z])/g,A=T(e=>e.replace($,"-$1").toLowerCase()),P=T(e=>e.charAt(0).toUpperCase()+e.slice(1)),M=T(e=>e?`on${P(e)}`:""),L=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},I=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},B=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let N;const j=()=>N||(N="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<e.length;n++){const o=e[n],r=v(o)?H(o):V(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||_(e))return e}const D=/;(?![^(]*\))/g,q=/:([^]+)/,F=/\/\*[^]*?\*\//g;function H(e){const t={};return e.replace(F,"").split(D).forEach(e=>{if(e){const n=e.split(q);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function W(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const o=W(e[n]);o&&(t+=o+" ")}else if(_(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const z=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function U(e){return!!e||""===e}const Y=e=>v(e)?e:null==e?"":p(e)||_(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,X,2):String(e),X=(e,t)=>t&&t.__v_isRef?X(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>(e[K(t,o)+" =>"]=n,e),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>K(e))}:y(t)?K(t):!_(t)||p(t)||C(t)?t:String(t),K=(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),Q=["page-container","list-view","list-item","sticky-section","sticky-header","cloud-db-element","loading-element","loading"].map(e=>"uni-"+e),Z=["list-item"].map(e=>"uni-"+e);function ee(e){if(-1!==Z.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!==Q.indexOf(t)}const te="\n",ne=/^([a-z-]+:)?\/\//i,oe=/^data:.*,.*/,re="onShow",ie="onHide",ae="onLaunch",se="onError",le="onThemeChange",ce="onPageNotFound",ue="onUnhandledRejection",de="onLoad",fe="onUnload",pe="onInit",he="onSaveExitState",ge="onUploadDouyinVideo",me="onLiveMount",ve="onTitleClick",ye="onResize",_e="onBackPress",be="onPageScroll",we="onTabItemTap",xe="onReachBottom",Ce="onPullDownRefresh",ke="onShareTimeline",Se="onShareChat",Te="onCopyUrl",Ee="onAddToFavorites",Oe="onShareAppMessage",$e="onNavigationBarButtonTap",Ae="onNavigationBarSearchInputClicked",Pe="onNavigationBarSearchInputChanged",Me="onNavigationBarSearchInputConfirmed",Le="onNavigationBarSearchInputFocusChanged",Re="onAppEnterForeground",Ie="onAppEnterBackground",Be="onWebInvokeAppService";function Ne(e){return void 0===e?null:e}class je{static keys(e){return Object.keys(e)}static assign(e,...t){for(let n=0;n<t.length;n++){const o=t[n];for(let t in o)e[t]=o[t]}return e}constructor(e={}){if(e instanceof Map)e.forEach((e,t)=>{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;o<t.length;o++){const r=t[o];n[r]={enumerable:!1,value:e[r]}}Object.defineProperties(e,n)}(this)}_resolveKeyPath(e){let t="";const n=[];let o=!1;for(let r=0;r<e.length;r++){const i=e[r];switch(i){case".":t.length>0&&(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=Ne(t);if(0===n.length)return o;let r=this;for(let i=0;i<n.length;i++){const e=n[i];if(!(r instanceof Object))return o;if(!(e in r))return o;r=r[e]}return r}get(e){return this._getValue(e)}set(e,t){this[e]=t}getAny(e,t){const n=Ne(t);return this._getValue(e,n)}getString(e,t){const n=Ne(t),o=this._getValue(e,n);return"string"==typeof o?o:n}getNumber(e,t){const n=Ne(t),o=this._getValue(e,n);return"number"==typeof o?o:n}getBoolean(e,t){const n=Ne(t),o=this._getValue(e,n);return"boolean"==typeof o?o:n}getJSON(e,t){const n=Ne(t);let o=this._getValue(e,n);return o instanceof Object?o:n}getArray(e,t){const n=Ne(t);let o=this._getValue(e,n);return o instanceof Array?o:n}toMap(){let e=new Map;for(let t in this)e.set(t,this[t]);return e}forEach(e){for(let t in this)e(this[t],t)}}function Ve(e){if(!e)return;let t=e.type.name;for(;t&&ee(A(t));)t=(e=e.parent).type.name;return e.proxy}function De(e){return 1===e.nodeType}function qe(e){if(e instanceof je){const t={};return je.keys(e).forEach(n=>{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 H(e);if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?H(o):qe(o);if(r)for(const e in r)t[e]=r[e]}return t}return V(e)}function Fe(e){let t="";if(e instanceof je)je.keys(e).forEach(n=>{e[n]&&(t+=n+" ")});else if(e instanceof Map)e.forEach((e,n)=>{e&&(t+=n+" ")});else if(p(e))for(let n=0;n<e.length;n++){const o=Fe(e[n]);o&&(t+=o+" ")}else t=W(e);return t.trim()}function He(e){return 0===e.indexOf("/")}function We(e){return He(e)?e:"/"+e}function ze(e,t){for(const n in t)e.style[n]=t[n]}function Ue(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function Ye(e){return O(e.substring(5))}const Xe=Ue(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={}))[Ye(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[Ye(t)],o.call(this,t)}});function Ke(e){return c({},e.dataset,e.__uniDataset)}const Ge=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Je(e){return{passive:e}}function Qe(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:Ke(e),offsetTop:n,offsetLeft:o}}function Ze(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function et(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=Ze(e[n])}catch(o){t[n]=e[n]}}),t}const tt=/\+/g;function nt(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(tt," ");let r=e.indexOf("="),i=Ze(r<0?e:e.slice(0,r)),a=r<0?null:Ze(e.slice(r+1));if(i in t){let e=t[i];p(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function ot(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r);r=o(()=>e.apply(this,arguments),t)};return i.cancel=function(){n(r)},i}class rt{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach(e=>{this.on(e,t[e])})}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach(e=>{e.fn.apply(e.fn,t)}),this.listener[e]=n.filter(e=>"once"!==e.type)}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o<n.length;)n[o].fn===t&&(n.splice(o,1),o--),o++;else delete this.listener[e]}_clearCache(e){for(let t=0;t<this.emitCache.length;t++){const n=this.emitCache[t],o=e?n.eventName===e?e:null:n.eventName;if(!o)continue;"number"!=typeof this.emit.apply(this,[o,...n.args])?(this.emitCache.splice(t,1),t--):this.emitCache.pop()}}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const it=[pe,de,re,ie,fe,ye,_e,be,we,xe,Ce,ke,Oe,Se,Te,ge,me,ve,Ee,he,$e,Ae,Pe,Me,Le];const at=[re,ie,ae,se,le,ce,ue,"onExit",pe,de,"onReady",fe,ye,_e,be,we,xe,Ce,ke,Ee,Oe,Se,Te,ge,me,ve,he,$e,Ae,Pe,Me,Le,"onLastPageBackPress"];const st=[];const lt=Ue((e,t)=>t(e)),ct=function(){};ct.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var i=o.length-1;i>=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var ut=ct;const dt={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function ft(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 dt?dt[o]:o}return r}var o;return t}function pt(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach(i=>{const a=e[i];r[i]=C(a)?pt(a,t,n):p(a)?a.map(e=>C(e)?pt(e,t,n):ft(o,e)):ft(o,a,i)}),r):e}
  14. /**
  15. * @dcloudio/uni-h5-vue v3.4.21
  16. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  17. * @license MIT
  18. **/let ht,gt;class mt{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ht,!e&&ht&&(this.index=(ht.scopes||(ht.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=ht;try{return ht=this,e()}finally{ht=t}}}on(){ht=this}off(){ht=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function vt(e){return new mt(e)}class yt{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t=ht){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Tt();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(_t(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Et()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ct,t=gt;try{return Ct=!0,gt=this,this._runnings++,bt(this),this.fn()}finally{wt(this),this._runnings--,gt=t,Ct=e}}stop(){var e;this.active&&(bt(this),wt(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function _t(e){return e.value}function bt(e){e._trackId++,e._depsLength=0}function wt(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)xt(e.deps[t],e);e.deps.length=e._depsLength}}function xt(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Ct=!0,kt=0;const St=[];function Tt(){St.push(Ct),Ct=!1}function Et(){const e=St.pop();Ct=void 0===e||e}function Ot(){kt++}function $t(){for(kt--;!kt&&Pt.length;)Pt.shift()()}function At(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&xt(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Pt=[];function Mt(e,t,n){Ot();for(const o of e.keys()){let n;o._dirtyLevel<t&&(null!=n?n:n=e.get(o)===o._trackId)&&(o._shouldSchedule||(o._shouldSchedule=0===o._dirtyLevel),o._dirtyLevel=t),o._shouldSchedule&&(null!=n?n:n=e.get(o)===o._trackId)&&(o.trigger(),o._runnings&&!o.allowRecurse||2===o._dirtyLevel||(o._shouldSchedule=!1,o.scheduler&&Pt.push(o.scheduler)))}$t()}const Lt=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Rt=new WeakMap,It=Symbol(""),Bt=Symbol("");function Nt(e,t,n){if(Ct&&gt){let t=Rt.get(e);t||Rt.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Lt(()=>t.delete(n))),At(gt,o)}}function jt(e,t,n,o,r,i){const a=Rt.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&p(e)){const e=Number(o);a.forEach((t,n)=>{("length"===n||!y(n)&&n>=e)&&s.push(t)})}else switch(void 0!==n&&s.push(a.get(n)),t){case"add":p(e)?k(n)&&s.push(a.get("length")):(s.push(a.get(It)),h(e)&&s.push(a.get(Bt)));break;case"delete":p(e)||(s.push(a.get(It)),h(e)&&s.push(a.get(Bt)));break;case"set":h(e)&&s.push(a.get(It))}Ot();for(const l of s)l&&Mt(l,4);$t()}const Vt=n("__proto__,__v_isRef,__isVue"),Dt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(y)),qt=Ft();function Ft(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=Pn(this);for(let t=0,r=this.length;t<r;t++)Nt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Pn)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...e){Tt(),Ot();const n=Pn(this)[t].apply(this,e);return $t(),Et(),n}}),e}function Ht(e){const t=Pn(this);return Nt(t,0,e),t.hasOwnProperty(e)}class Wt{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?wn:bn:r?_n:yn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&f(qt,t))return Reflect.get(qt,t,n);if("hasOwnProperty"===t)return Ht}const a=Reflect.get(e,t,n);return(y(t)?Dt.has(t):Vt(t))?a:(o||Nt(e,0,t),r?a:jn(a)?i&&k(t)?a:a.value:_(a)?o?Sn(a):Cn(a):a)}}class zt extends Wt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=On(r);if($n(n)||On(n)||(r=Pn(r),n=Pn(n)),!p(e)&&jn(r)&&!jn(n))return!t&&(r.value=n,!0)}const i=p(e)&&k(t)?Number(t)<e.length:f(e,t),a=Reflect.set(e,t,n,o);return e===Pn(o)&&(i?L(n,r)&&jt(e,"set",t,n):jt(e,"add",t,n)),a}deleteProperty(e,t){const n=f(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&jt(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&Dt.has(t)||Nt(e,0,t),n}ownKeys(e){return Nt(e,0,p(e)?"length":It),Reflect.ownKeys(e)}}class Ut extends Wt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Yt=new zt,Xt=new Ut,Kt=new zt(!0),Gt=e=>e,Jt=e=>Reflect.getPrototypeOf(e);function Qt(e,t,n=!1,o=!1){const r=Pn(e=e.__v_raw),i=Pn(t);n||(L(t,i)&&Nt(r,0,t),Nt(r,0,i));const{has:a}=Jt(r),s=o?Gt:n?Rn:Ln;return a.call(r,t)?s(e.get(t)):a.call(r,i)?s(e.get(i)):void(e!==r&&e.get(t))}function Zt(e,t=!1){const n=this.__v_raw,o=Pn(n),r=Pn(e);return t||(L(e,r)&&Nt(o,0,e),Nt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function en(e,t=!1){return e=e.__v_raw,!t&&Nt(Pn(e),0,It),Reflect.get(e,"size",e)}function tn(e){e=Pn(e);const t=Pn(this);return Jt(t).has.call(t,e)||(t.add(e),jt(t,"add",e,e)),this}function nn(e,t){t=Pn(t);const n=Pn(this),{has:o,get:r}=Jt(n);let i=o.call(n,e);i||(e=Pn(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?L(t,a)&&jt(n,"set",e,t):jt(n,"add",e,t),this}function on(e){const t=Pn(this),{has:n,get:o}=Jt(t);let r=n.call(t,e);r||(e=Pn(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&jt(t,"delete",e,void 0),i}function rn(){const e=Pn(this),t=0!==e.size,n=e.clear();return t&&jt(e,"clear",void 0,void 0),n}function an(e,t){return function(n,o){const r=this,i=r.__v_raw,a=Pn(i),s=t?Gt:e?Rn:Ln;return!e&&Nt(a,0,It),i.forEach((e,t)=>n.call(o,s(e),s(t),r))}}function sn(e,t,n){return function(...o){const r=this.__v_raw,i=Pn(r),a=h(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=r[e](...o),u=n?Gt:t?Rn:Ln;return!t&&Nt(i,0,l?Bt:It),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function ln(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function cn(){const e={get(e){return Qt(this,e)},get size(){return en(this)},has:Zt,add:tn,set:nn,delete:on,clear:rn,forEach:an(!1,!1)},t={get(e){return Qt(this,e,!1,!0)},get size(){return en(this)},has:Zt,add:tn,set:nn,delete:on,clear:rn,forEach:an(!1,!0)},n={get(e){return Qt(this,e,!0)},get size(){return en(this,!0)},has(e){return Zt.call(this,e,!0)},add:ln("add"),set:ln("set"),delete:ln("delete"),clear:ln("clear"),forEach:an(!0,!1)},o={get(e){return Qt(this,e,!0,!0)},get size(){return en(this,!0)},has(e){return Zt.call(this,e,!0)},add:ln("add"),set:ln("set"),delete:ln("delete"),clear:ln("clear"),forEach:an(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=sn(r,!1,!1),n[r]=sn(r,!0,!1),t[r]=sn(r,!1,!0),o[r]=sn(r,!0,!0)}),[e,n,t,o]}const[un,dn,fn,pn]=cn();function hn(e,t){const n=t?e?pn:fn:e?dn:un;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 gn={get:hn(!1,!1)},mn={get:hn(!1,!0)},vn={get:hn(!0,!1)},yn=new WeakMap,_n=new WeakMap,bn=new WeakMap,wn=new WeakMap;function xn(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 Cn(e){return On(e)?e:Tn(e,!1,Yt,gn,yn)}function kn(e){return Tn(e,!1,Kt,mn,_n)}function Sn(e){return Tn(e,!0,Xt,vn,bn)}function Tn(e,t,n,o,r){if(!_(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=xn(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return r.set(e,s),s}function En(e){return On(e)?En(e.__v_raw):!(!e||!e.__v_isReactive)}function On(e){return!(!e||!e.__v_isReadonly)}function $n(e){return!(!e||!e.__v_isShallow)}function An(e){return En(e)||On(e)}function Pn(e){const t=e&&e.__v_raw;return t?Pn(t):e}function Mn(e){return Object.isExtensible(e)&&I(e,"__v_skip",!0),e}const Ln=e=>_(e)?Cn(e):e,Rn=e=>_(e)?Sn(e):e;class In{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 yt(()=>e(this._value),()=>Nn(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=Pn(this);return e._cacheable&&!e.effect.dirty||!L(e._value,e._value=e.effect.run())||Nn(e,4),Bn(e),e.effect._dirtyLevel>=2&&Nn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Bn(e){var t;Ct&&gt&&(e=Pn(e),At(gt,null!=(t=e.dep)?t:e.dep=Lt(()=>e.dep=void 0,e instanceof In?e:void 0)))}function Nn(e,t=4,n){const o=(e=Pn(e)).dep;o&&Mt(o,t)}function jn(e){return!(!e||!0!==e.__v_isRef)}function Vn(e){return qn(e,!1)}function Dn(e){return qn(e,!0)}function qn(e,t){return jn(e)?e:new Fn(e,t)}class Fn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Pn(e),this._value=t?e:Ln(e)}get value(){return Bn(this),this._value}set value(e){const t=this.__v_isShallow||$n(e)||On(e);e=t?e:Pn(e),L(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Ln(e),Nn(this,4))}}function Hn(e){return jn(e)?e.value:e}const Wn={get:(e,t,n)=>Hn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return jn(r)&&!jn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function zn(e){return En(e)?e:new Proxy(e,Wn)}function Un(e,t,n,o){try{return o?e(...o):e()}catch(r){Xn(r,t,n)}}function Yn(e,t,n,o){if(m(e)){const r=Un(e,t,n,o);return r&&b(r)&&r.catch(e=>{Xn(e,t,n)}),r}const r=[];for(let i=0;i<e.length;i++)r.push(Yn(e[i],t,n,o));return r}function Xn(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const a=t.appContext.config.errorHandler;if(a)return void Un(a,null,10,[e,r,i])}Kn(e,n,r,o)}function Kn(e,t,n,o=!0){console.error(e)}let Gn=!1,Jn=!1;const Qn=[];let Zn=0;const eo=[];let to=null,no=0;const oo=Promise.resolve();let ro=null;function io(e){const t=ro||oo;return e?t.then(this?e.bind(this):e):t}function ao(e){Qn.length&&Qn.includes(e,Gn&&e.allowRecurse?Zn+1:Zn)||(null==e.id?Qn.push(e):Qn.splice(function(e){let t=Zn+1,n=Qn.length;for(;t<n;){const o=t+n>>>1,r=Qn[o],i=uo(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),so())}function so(){Gn||Jn||(Jn=!0,ro=oo.then(po))}function lo(e,t,n=(Gn?Zn+1:0)){for(;n<Qn.length;n++){const t=Qn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;Qn.splice(n,1),n--,t()}}}function co(e){if(eo.length){const e=[...new Set(eo)].sort((e,t)=>uo(e)-uo(t));if(eo.length=0,to)return void to.push(...e);for(to=e,no=0;no<to.length;no++)to[no]();to=null,no=0}}const uo=e=>null==e.id?1/0:e.id,fo=(e,t)=>{const n=uo(e)-uo(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function po(e){Jn=!1,Gn=!0,Qn.sort(fo);try{for(Zn=0;Zn<Qn.length;Zn++){const e=Qn[Zn];e&&!1!==e.active&&Un(e,null,14)}}finally{Zn=0,Qn.length=0,co(),Gn=!1,ro=null,(Qn.length||eo.length)&&po()}}function ho(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let i=n;const a=t.startsWith("update:"),s=a&&t.slice(7);if(s&&s in r){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:a}=r[e]||o;a&&(i=n.map(e=>v(e)?e.trim():e)),t&&(i=n.map(B))}let l,c=r[l=M(t)]||r[l=M(O(t))];!c&&a&&(c=r[l=M(A(t))]),c&&Yn(c,e,6,go(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,Yn(u,e,6,go(e,u,i))}}function go(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 mo(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let a={},s=!1;if(!m(e)){const o=e=>{const n=mo(e,t,!0);n&&(s=!0,c(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||s?(p(i)?i.forEach(e=>a[e]=null):c(a,i),_(e)&&o.set(e,a),a):(_(e)&&o.set(e,null),null)}function vo(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,A(t))||f(e,t))}let yo=null,_o=null;function bo(e){const t=yo;return yo=e,_o=e&&e.type.__scopeId||null,t}function wo(e,t=yo,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&$i(-1);const r=bo(t);let i;try{i=e(...n)}finally{bo(r),o._d&&$i(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function xo(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:c,emit:u,render:d,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const _=bo(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=Hi(d.call(t,e,f,i,h,p,g)),y=c}else{const e=t;0,v=Hi(e.length>1?e(i,{attrs:c,slots:s,emit:u}):e(i,null)),y=t.props?c:Co(c)}}catch(w){Si.length=0,Xn(w,e,1),v=Vi(Ci)}let b=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(a&&e.some(l)&&(y=ko(y,a)),b=Di(b,y))}return n.dirs&&(b=Di(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,bo(_),v}const Co=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},ko=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function So(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!vo(n,i))return!0}return!1}const To="components";function Eo(e,t){return Ao(To,e,!0,t)||e}const Oo=Symbol.for("v-ndc");function $o(e){return v(e)?Ao(To,e,!1)||e:e||Oo}function Ao(e,t,n=!0,o=!1){const r=yo||Gi;if(r){const n=r.type;{const e=sa(n,!1);if(e&&(e===t||e===O(t)||e===P(O(t))))return n}const i=Po(r[e]||n[e],t)||Po(r.appContext[e],t);return!i&&o?n:i}}function Po(e,t){return e&&(e[t]||e[O(t)]||e[P(O(t))])}const Mo=e=>e.__isSuspense;const Lo=Symbol.for("v-scx");function Ro(e,t){return No(e,null,t)}const Io={};function Bo(e,t,n){return No(e,t,n)}function No(e,t,{immediate:n,deep:r,flush:a,once:s,onTrack:l,onTrigger:c}=o){if(t&&s){const e=t;t=(...t)=>{e(...t),T()}}const d=Gi,f=e=>!0===r?e:Do(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(jn(e)?(h=()=>e.value,v=$n(e)):En(e)?(h=()=>f(e),v=!0):p(e)?(y=!0,v=e.some(e=>En(e)||$n(e)),h=()=>e.map(e=>jn(e)?e.value:En(e)?f(e):m(e)?Un(e,d,2):void 0)):h=m(e)?t?()=>Un(e,d,2):()=>(g&&g(),Yn(e,d,3,[b])):i,t&&r){const e=h;h=()=>Do(e())}let _,b=e=>{g=k.onStop=()=>{Un(e,d,4),g=k.onStop=void 0}};if(oa){if(b=i,t?n&&Yn(t,d,3,[h(),y?[]:void 0,b]):h(),"sync"!==a)return i;{const e=ei(Lo);_=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Io):Io;const x=()=>{if(k.active&&k.dirty)if(t){const e=k.run();(r||v||(y?e.some((e,t)=>L(e,w[t])):L(e,w)))&&(g&&g(),Yn(t,d,3,[e,w===Io?void 0:y&&w[0]===Io?[]:w,b]),w=e)}else k.run()};let C;x.allowRecurse=!!t,"sync"===a?C=x:"post"===a?C=()=>gi(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),C=()=>ao(x));const k=new yt(h,i,C),S=ht,T=()=>{k.stop(),S&&u(S.effects,k)};return t?n?x():w=k.run():"post"===a?gi(k.run.bind(k),d&&d.suspense):k.run(),_&&_.push(T),T}function jo(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?Vo(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const a=ea(this),s=No(r,i.bind(o),n);return a(),s}function Vo(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Do(e,t,n=0,o){if(!_(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),jn(e))Do(e.value,t,n,o);else if(p(e))for(let r=0;r<e.length;r++)Do(e[r],t,n,o);else if(g(e)||h(e))e.forEach(e=>{Do(e,t,n,o)});else if(C(e))for(const r in e)Do(e[r],t,n,o);return e}function qo(e,t){if(null===yo)return e;const n=aa(yo)||yo.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,a,s,l=o]=t[i];e&&(m(e)&&(e={mounted:e,updated:e}),e.deep&&Do(a),r.push({dir:e,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function Fo(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let a=0;a<r.length;a++){const s=r[a];i&&(s.oldValue=i[a].value);let l=s.dir[o];l&&(Tt(),Yn(l,n,8,[e.el,s,e,t]),Et())}}const Ho=Symbol("_leaveCb"),Wo=Symbol("_enterCb");const zo=[Function,Array],Uo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zo,onEnter:zo,onAfterEnter:zo,onEnterCancelled:zo,onBeforeLeave:zo,onLeave:zo,onAfterLeave:zo,onLeaveCancelled:zo,onBeforeAppear:zo,onAppear:zo,onAfterAppear:zo,onAppearCancelled:zo},Yo={name:"BaseTransition",props:Uo,setup(e,{slots:t}){const n=Ji(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return br(()=>{e.isMounted=!0}),Cr(()=>{e.isUnmounting=!0}),e}();return()=>{const r=t.default&&Zo(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Ci){i=e;break}const a=Pn(e),{mode:s}=a;if(o.isLeaving)return Go(i);const l=Jo(i);if(!l)return Go(i);const c=Ko(l,a,o,n);Qo(l,c);const u=n.subTree,d=u&&Jo(u);if(d&&d.type!==Ci&&!Ri(l,d)){const e=Ko(d,a,o,n);if(Qo(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Go(i);"in-out"===s&&l.type!==Ci&&(e.delayLeave=(e,t,n)=>{Xo(o,d)[String(d.key)]=d,e[Ho]=()=>{t(),e[Ho]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function Xo(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 Ko(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:_}=t,b=String(e.key),w=Xo(n,e),x=(e,t)=>{e&&Yn(e,o,9,t)},C=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},k={mode:i,persisted:a,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=m||s}t[Ho]&&t[Ho](!0);const i=w[b];i&&Ri(e,i)&&i.el[Ho]&&i.el[Ho](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=_||u}let a=!1;const s=e[Wo]=t=>{a||(a=!0,x(t?i:o,[e]),k.delayedLeave&&k.delayedLeave(),e[Wo]=void 0)};t?C(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t[Wo]&&t[Wo](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const a=t[Ho]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[Ho]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?C(f,[t,a]):a()},clone:e=>Ko(e,t,n,o)};return k}function Go(e){if(rr(e))return(e=Di(e)).children=null,e}function Jo(e){return rr(e)?e.children?e.children[0]:void 0:e}function Qo(e,t){6&e.shapeFlag&&e.component?Qo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Zo(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let a=e[i];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:i);a.type===wi?(128&a.patchFlag&&r++,o=o.concat(Zo(a.children,t,s))):(t||a.type!==Ci)&&o.push(null!=s?Di(a,{key:s}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}
  19. /*! #__NO_SIDE_EFFECTS__ */function er(e,t){return m(e)?(()=>c({name:e.name},t,{setup:e}))():e}const tr=e=>!!e.type.__asyncLoader;
  20. /*! #__NO_SIDE_EFFECTS__ */function nr(e){m(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:a=!0,onError:s}=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)),s)return new Promise((t,n)=>{s(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 er({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Gi;if(l)return()=>or(l,e);const t=t=>{c=null,Xn(t,e,13,!o)};if(a&&e.suspense||oa)return d().then(t=>()=>or(t,e)).catch(e=>(t(e),()=>o?Vi(o,{error:e}):null));const s=Vn(!1),u=Vn(),f=Vn(!!r);return r&&setTimeout(()=>{f.value=!1},r),null!=i&&setTimeout(()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}},i),d().then(()=>{s.value=!0,e.parent&&rr(e.parent.vnode)&&(e.parent.effect.dirty=!0,ao(e.parent.update))}).catch(e=>{t(e),u.value=e}),()=>s.value&&l?or(l,e):u.value&&o?Vi(o,{error:u.value}):n&&!f.value?Vi(n):void 0}})}function or(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,a=Vi(e,o,r);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const rr=e=>e.type.__isKeepAlive;class ir{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 ar={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=Ji(),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 ir(e.max);r.pruneCacheEntry=a;let i=null;function a(t){var o;!i||!Ri(t,i)||"key"===e.matchBy&&t.key!==i.key?(pr(o=t),u(o,n,s,!0)):i&&pr(i)}const s=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=gr(n,e.matchBy);!i||t&&t(i)||(r.delete(o),a(n))})}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,R(i.ba),i.isDeactivated=e}c(e,t,n,0,s),l(i.vnode,e,t,n,i,s,o,e.slotScopeIds,r),gi(()=>{i.isDeactivated=!1,i.a&&R(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Yi(t,i.parent,e)},s)},o.deactivate=e=>{const t=e.component;t.bda&&mr(t.bda),c(e,f,null,1,s),gi(()=>{t.bda&&t.bda.forEach(e=>e.__called=!1),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Yi(n,t.parent,e),t.isDeactivated=!0},s)},Bo(()=>[e.include,e.exclude,e.matchBy],([e,t])=>{e&&p(t=>lr(e,t)),t&&p(e=>!lr(t,e))},{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,hr(n.subTree))};return br(g),xr(g),Cr(()=>{r.forEach((t,o)=>{r.delete(o),a(t);const{subTree:i,suspense:s}=n,l=hr(i);if(t.type===l.type&&("key"!==e.matchBy||t.key===l.key)){l.component.bda&&R(l.component.bda),pr(l);const e=l.component.da;return void(e&&gi(e,s))}})}),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!Li(o)||!(4&o.shapeFlag)&&!Mo(o.type))return i=null,o;let a=hr(o);const s=a.type,l=gr(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!lr(c,l))||u&&l&&lr(u,l))return i=a,o;const d=null==a.key?s:a.key,f=r.get(d);return a.el&&(a=Di(a),Mo(o.type)&&(o.ssContent=a)),h=d,f&&(a.el=f.el,a.component=f.component,a.transition&&Qo(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,Mo(o.type)?o:a}}},sr=ar;function lr(e,t){return p(e)?e.some(e=>lr(e,t)):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function cr(e,t){dr(e,"a",t)}function ur(e,t){dr(e,"da",t)}function dr(e,t,n=Gi){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,vr(t,o,n),n){let e=n.parent;for(;e&&e.parent;)rr(e.parent.vnode)&&fr(o,t,n,e),e=e.parent}}function fr(e,t,n,o){const r=vr(t,e,o,!0);kr(()=>{u(o[t],r)},n)}function pr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function hr(e){return Mo(e.type)?e.ssContent:e}function gr(e,t){if("name"===t){const t=e.type;return sa(tr(e)?t.__asyncResolved||{}:t)}return String(e.key)}function mr(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function vr(e,t,n=Gi,o=!1){if(n){if(r=e,it.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return[de,re].indexOf(e)>-1}(e))){const o=n.proxy;Yn(t.bind(o),n,e,de===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Tt();const r=ea(n),i=Yn(t,n,e,o);return r(),Et(),i});return o?i.unshift(a):i.push(a),a}var r}const yr=e=>(t,n=Gi)=>(!oa||"sp"===e)&&vr(e,(...e)=>t(...e),n),_r=yr("bm"),br=yr("m"),wr=yr("bu"),xr=yr("u"),Cr=yr("bum"),kr=yr("um"),Sr=yr("sp"),Tr=yr("rtg"),Er=yr("rtc");function Or(e,t=Gi){vr("ec",e,t)}function $r(e,t,n,o){let r;const i=n;if(p(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i)}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i)}else if(_(e))if(e[Symbol.iterator])r=Array.from(e,(e,n)=>t(e,n,void 0,i));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,a=n.length;o<a;o++){const a=n[o];r[o]=t(e[a],a,o,i)}}else r=[];return r}function Ar(e,t,n={},o,r){if(yo.isCE||yo.parent&&tr(yo.parent)&&yo.parent.isCE)return"default"!==t&&(n.name=t),Vi("slot",n,o);let i=e[t];i&&i._c&&(i._d=!1),Ei();const a=i&&Pr(i(n)),s=Mi(wi,{key:n.key||a&&a.key||`_${t}`},a||[],a&&1===e._?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function Pr(e){return e.some(e=>!Li(e)||e.type!==Ci&&!(e.type===wi&&!Pr(e.children)))?e:null}const Mr=e=>{if(!e)return null;if(na(e)){return aa(e)||e.proxy}return Mr(e.parent)},Lr=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=>Mr(e.parent),$root:e=>Mr(e.root),$emit:e=>e.emit,$options:e=>qr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,ao(e.update)})(e)),$nextTick:e=>e.n||(e.n=io.bind(e.proxy)),$watch:e=>jo.bind(e)}),Rr=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Ir={get({_:e},t){const{ctx:n,setupState:r,data:i,props:a,accessCache:s,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=s[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 a[t]}else{if(Rr(r,t))return s[t]=1,r[t];if(i!==o&&f(i,t))return s[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return s[t]=3,a[t];if(n!==o&&f(n,t))return s[t]=4,n[t];Nr&&(s[t]=0)}}const d=Lr[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)?(s[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:a}=e;return Rr(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))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},s){let l;return!!n[s]||e!==o&&f(e,s)||Rr(t,s)||(l=a[0])&&f(l,s)||f(r,s)||f(Lr,s)||f(i.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Br(e){return p(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let Nr=!0;function jr(e){const t=qr(e),n=e.proxy,o=e.ctx;Nr=!1,t.beforeCreate&&Vr(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:b,beforeDestroy:w,beforeUnmount:x,destroyed:C,unmounted:k,render:S,renderTracked:T,renderTriggered:E,errorCaptured:O,serverPrefetch:$,expose:A,inheritAttrs:P,components:M,directives:L,filters:R}=t;if(u&&function(e,t){p(e)&&(e=zr(e));for(const n in e){const o=e[n];let r;r=_(o)?"default"in o?ei(o.from||n,o.default,!0):ei(o.from||n):ei(o),jn(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(u,o,null),s)for(const i in s){const e=s[i];m(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);_(t)&&(e.data=Cn(t))}if(Nr=!0,a)for(const p in a){const e=a[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,s=la({get:t,set:r});Object.defineProperty(o,p,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const i in l)Dr(l[i],o,n,i);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{Zr(t,e[t])})}function I(e,t){p(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&Vr(d,e,"c"),I(_r,f),I(br,h),I(wr,g),I(xr,v),I(cr,y),I(ur,b),I(Or,O),I(Er,T),I(Tr,E),I(Cr,x),I(kr,k),I(Sr,$),p(A))if(A.length){const t=e.exposed||(e.exposed={});A.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});S&&e.render===i&&(e.render=S),null!=P&&(e.inheritAttrs=P),M&&(e.components=M),L&&(e.directives=L);const B=e.appContext.config.globalProperties.$applyOptions;B&&B(t,e,n)}function Vr(e,t,n){Yn(p(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Dr(e,t,n,o){const r=o.includes(".")?Vo(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&Bo(r,n)}else if(m(e))Bo(r,e.bind(n));else if(_(e))if(p(e))e.forEach(e=>Dr(e,t,n,o));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&Bo(r,o,e)}}function qr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:r.length||n||o?(l={},r.length&&r.forEach(e=>Fr(l,e,a,!0)),Fr(l,t,a)):l=t,_(t)&&i.set(t,l),l}function Fr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Fr(e,i,n,!0),r&&r.forEach(t=>Fr(e,t,n,!0));for(const a in t)if(o&&"expose"===a);else{const o=Hr[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Hr={data:Wr,props:Xr,emits:Xr,methods:Yr,computed:Yr,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:Yr,directives:Yr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const o in t)n[o]=Ur(e[o],t[o]);return n},provide:Wr,inject:function(e,t){return Yr(zr(e),zr(t))}};function Wr(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 zr(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ur(e,t){return e?[...new Set([].concat(e,t))]:t}function Yr(e,t){return e?c(Object.create(null),e,t):t}function Xr(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:c(Object.create(null),Br(e),Br(null!=t?t:{})):t}function Kr(){return{app:null,config:{isNativeTag:a,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Gr=0;function Jr(e,t){return function(t,n=null){m(t)||(t=c({},t)),null==n||_(n)||(n=null);const o=Kr(),r=new WeakSet;let i=!1;const a=o.app={_uid:Gr++,_component:t,_props:n,_container:null,_context:o,_instance:null,version:ua,get config(){return o.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&m(e.install)?(r.add(e),e.install(a,...t)):m(e)&&(r.add(e),e(a,...t))),a),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),a),component:(e,t)=>t?(o.components[e]=t,a):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,a):o.directives[e],mount(r,s,l){if(!i){const s=Vi(t,n);return s.appContext=o,!0===l?l="svg":!1===l&&(l=void 0),e(s,r,l),i=!0,a._container=r,r.__vue_app__=a,a._instance=s.component,aa(s.component)||s.component.proxy}},unmount(){i&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,a),runWithContext(e){const t=Qr;Qr=a;try{return e()}finally{Qr=t}}};return a}}let Qr=null;function Zr(e,t){if(Gi){let n=Gi.provides;const o=Gi.parent&&Gi.parent.provides;o===n&&(n=Gi.provides=Object.create(o)),n[e]=t,"app"===Gi.type.mpType&&Gi.appContext.app.provide(e,t)}else;}function ei(e,t,n=!1){const o=Gi||yo;if(o||Qr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Qr._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 ti(e,t,n,r){const[i,a]=e.propsOptions;let s,l=!1;if(t)for(let o in t){if(S(o))continue;const c=t[o];let u;i&&f(i,u=O(o))?a&&a.includes(u)?(s||(s={}))[u]=c:n[u]=c:vo(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=ni(e,o,c),l=!0)}if(a){const t=Pn(n),r=s||o;for(let o=0;o<a.length;o++){const s=a[o];n[s]=oi(i,t,s,r[s],e,!f(r,s))}}return l}function ni(e,t,n){return n}function oi(e,t,n,o,r,i){const a=function(e,t,n,o,r,i){const a=e[n];if(null!=a){const e=f(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&!a.skipFactory&&m(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const a=ea(r);o=i[n]=e.call(null,t),a()}}else o=e}a[0]&&(i&&!e?o=!1:!a[1]||""!==o&&o!==A(n)||(o=!0))}return o}(e,t,n,o,r,i);return a}function ri(e,t,n=!1){const i=t.propsCache,a=i.get(e);if(a)return a;const s=e.props,l={},u=[];let d=!1;if(!m(e)){const o=e=>{d=!0;const[n,o]=ri(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(!s&&!d)return _(e)&&i.set(e,r),r;if(p(s))for(let r=0;r<s.length;r++){const e=O(s[r]);ii(e)&&(l[e]=o)}else if(s)for(const o in s){const e=O(o);if(ii(e)){const t=s[o],n=l[e]=p(t)||m(t)?{type:t}:c({},t);if(n){const t=li(Boolean,n.type),o=li(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||f(n,"default"))&&u.push(e)}}}const h=[l,u];return _(e)&&i.set(e,h),h}function ii(e){return"$"!==e[0]&&!S(e)}function ai(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 si(e,t){return ai(e)===ai(t)}function li(e,t){return p(t)?t.findIndex(t=>si(t,e)):m(t)&&si(t,e)?0:-1}const ci=e=>"_"===e[0]||"$stable"===e,ui=e=>p(e)?e.map(Hi):[Hi(e)],di=(e,t,n)=>{if(t._n)return t;const o=wo((...e)=>ui(t(...e)),n);return o._c=!1,o},fi=(e,t,n)=>{const o=e._ctx;for(const r in e){if(ci(r))continue;const n=e[r];if(m(n))t[r]=di(0,n,o);else if(null!=n){const e=ui(n);t[r]=()=>e}}},pi=(e,t)=>{const n=ui(t);e.slots.default=()=>n};function hi(e,t,n,r,i=!1){if(p(e))return void e.forEach((e,o)=>hi(e,t&&(p(t)?t[o]:t),n,r,i));if(tr(r)&&!i)return;const a=4&r.shapeFlag?aa(r.component)||r.component.proxy:r.el,s=i?null:a,{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)):jn(d)&&(d.value=null)),m(c))Un(c,l,12,[s,h]);else{const t=v(c),o=jn(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,a):p(n)?n.includes(a)||n.push(a):t?(h[c]=[a],f(g,c)&&(g[c]=h[c])):(c.value=[a],e.k&&(h[e.k]=c.value))}else t?(h[c]=s,f(g,c)&&(g[c]=s)):o&&(c.value=s,e.k&&(h[e.k]=s))};s?(r.id=-1,gi(r,n)):r()}}}const gi=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?eo.push(...n):to&&to.includes(n,n.allowRecurse?no+1:no)||eo.push(n),so())};function mi(e){return function(e){j().__VUE__=!0;const{insert:t,remove:n,patchProp:a,forcePatchProp:s,createElement:l,createText:u,createComment:d,setText:p,setElementText:h,parentNode:g,nextSibling:m,setScopeId:v=i,insertStaticContent:y}=e,_=(e,t,n,o=null,r=null,i=null,a=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ri(e,t)&&(o=ee(e),K(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case xi:w(e,t,n,o);break;case Ci:x(e,t,n,o);break;case ki:null==e&&C(t,n,o,a);break;case wi:V(e,t,n,o,r,i,a,s,l);break;default:1&d?E(e,t,n,o,r,i,a,s,l):6&d?D(e,t,n,o,r,i,a,s,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,a,s,l,oe)}null!=u&&r&&hi(u,e&&e.ref,i,t||e,!t)},w=(e,n,o,r)=>{if(null==e)t(n.el=u(n.children),o,r);else{const t=n.el=e.el;n.children!==e.children&&p(t,n.children)}},x=(e,n,o,r)=>{null==e?t(n.el=d(n.children||""),o,r):n.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o,e.el,e.anchor)},k=({el:e,anchor:n},o,r)=>{let i;for(;e&&e!==n;)i=m(e),t(e,o,r),e=i;t(n,o,r)},T=({el:e,anchor:t})=>{let o;for(;e&&e!==t;)o=m(e),n(e),e=o;n(t)},E=(e,t,n,o,r,i,a,s,l)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?$(t,n,o,r,i,a,s,l):L(e,t,r,i,a,s,l)},$=(e,n,o,r,i,s,c,u)=>{let d,f;const{props:p,shapeFlag:g,transition:m,dirs:v}=e;if(d=e.el=l(e.type,s,p&&p.is,p),8&g?h(d,e.children):16&g&&M(e.children,d,null,r,i,vi(e,s),c,u),v&&Fo(e,null,r,"created"),P(d,e,e.scopeId,c,r),p){for(const t in p)"value"===t||S(t)||a(d,t,null,p[t],s,e.children,r,i,Z);"value"in p&&a(d,"value",null,p.value,s),(f=p.onVnodeBeforeMount)&&Yi(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&Fo(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),t(d,n,o),((f=p&&p.onVnodeMounted)||y||v)&&gi(()=>{f&&Yi(f,r,e),y&&m.enter(d),v&&Fo(e,null,r,"mounted")},i)},P=(e,t,n,o,r)=>{if(n&&v(e,n),o)for(let i=0;i<o.length;i++)v(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;P(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},M=(e,t,n,o,r,i,a,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?Wi(e[c]):Hi(e[c]);_(null,l,t,n,o,r,i,a,s)}},L=(e,t,n,r,i,l,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const g=e.props||o,m=t.props||o;let v;if(n&&yi(n,!1),(v=m.onVnodeBeforeUpdate)&&Yi(v,n,t,e),p&&Fo(t,e,n,"beforeUpdate"),n&&yi(n,!0),f?B(e.dynamicChildren,f,u,n,r,vi(t,i),l):c||z(e,t,u,null,n,r,vi(t,i),l,!1),d>0){if(16&d)N(u,t,g,m,n,r,i);else if(2&d&&g.class!==m.class&&a(u,"class",null,m.class,i),4&d&&a(u,"style",g.style,m.style,i),8&d){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const l=o[t],c=g[l],d=m[l];(d!==c||"value"===l||s&&s(u,l))&&a(u,l,c,d,i,e.children,n,r,Z)}}1&d&&e.children!==t.children&&h(u,t.children)}else c||null!=f||N(u,t,g,m,n,r,i);((v=m.onVnodeUpdated)||p)&&gi(()=>{v&&Yi(v,n,t,e),p&&Fo(t,e,n,"updated")},r)},B=(e,t,n,o,r,i,a)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],u=l.el&&(l.type===wi||!Ri(l,c)||70&l.shapeFlag)?g(l.el):n;_(l,c,u,null,o,r,i,a,!0)}},N=(e,t,n,r,i,l,c)=>{if(n!==r){if(n!==o)for(const o in n)S(o)||o in r||a(e,o,n[o],null,c,t.children,i,l,Z);for(const o in r){if(S(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||s&&s(e,o))&&a(e,o,d,u,c,t.children,i,l,Z)}"value"in r&&a(e,"value",n.value,r.value,c)}},V=(e,n,o,r,i,a,s,l,c)=>{const d=n.el=e?e.el:u(""),f=n.anchor=e?e.anchor:u("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=n;g&&(l=l?l.concat(g):g),null==e?(t(d,o,r),t(f,o,r),M(n.children||[],o,f,i,a,s,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(B(e.dynamicChildren,h,o,i,a,s,l),(null!=n.key||i&&n===i.subTree)&&_i(e,n,!0)):z(e,n,o,f,i,a,s,l,c)},D=(e,t,n,o,r,i,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,a,l):q(t,n,o,r,i,a,l):F(e,t,l)},q=(e,t,n,r,i,a,s)=>{const l=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Xi,a={uid:Ki++,vnode:e,type:r,parent:t,appContext:i,get renderer(){return"app"===r.mpType?"app":this.$pageInstance&&this.$pageInstance==a?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new mt(!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:ri(r,i),emitsOptions:mo(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=t?t.root:a,a.emit=ho.bind(null,a),a.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(a);return a}(e,r,i);if(rr(e)&&(l.ctx.renderer=oe),function(e,t=!1){t&&Zi(t);const{props:n,children:o}=e.vnode,r=na(e);(function(e,t,n,o=!1){const r={},i={};I(i,Ii,1),e.propsDefaults=Object.create(null),ti(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:kn(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=Pn(t),I(t,"_",n)):fi(t,e.slots={})}else e.slots={},t&&pi(e,t);I(e.slots,Ii,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Mn(new Proxy(e.ctx,Ir));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=ea(e);Tt();const i=Un(o,e,0,[e.props,n]);if(Et(),r(),b(i)){if(i.then(ta,ta),t)return i.then(t=>{ra(e,t)}).catch(t=>{Xn(t,e,0)});e.asyncDep=i}else ra(e,i)}else ia(e)}(e,t):void 0;t&&Zi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,H),!e.el){const e=l.subTree=Vi(Ci);x(null,e,t,n)}}else H(l,e,t,n,i,a,s)},F=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!s||s&&s.$stable)||o!==a&&(o?!a||So(o,a,c):!!a);if(1024&l)return!0;if(16&l)return o?So(o,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==o[n]&&!vo(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void W(o,t,n);o.next=t,function(e){const t=Qn.indexOf(e);t>Zn&&Qn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},H=(e,t,n,o,r,a,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=bi(e);if(n)return t&&(t.el=c.el,W(e,t,s)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let u,d=t;yi(e,!1),t?(t.el=c.el,W(e,t,s)):t=c,n&&R(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Yi(u,i,t,c),yi(e,!0);const f=xo(e),p=e.subTree;e.subTree=f,_(p,f,g(p.el),ee(p),e,r,a),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&&gi(o,r),(u=t.props&&t.props.onVnodeUpdated)&&gi(()=>Yi(u,i,t,c),r)}else{let i;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,f=tr(t);yi(e,!1),c&&R(c),!f&&(i=l&&l.onVnodeBeforeMount)&&Yi(i,d,t),yi(e,!0);{const i=e.subTree=xo(e);_(null,i,n,o,e,r,a),t.el=i.el}if(u&&gi(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;gi(()=>Yi(i,d,e),r)}(256&t.shapeFlag||d&&tr(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&mr(e.ba),e.a&&gi(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new yt(l,i,()=>ao(u),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,yi(e,!0),u()},W=(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:a}}=e,s=Pn(r),[l]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;ti(e,t,r,i)&&(c=!0);for(const i in s)t&&(f(t,i)||(o=A(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=oi(l,s,i,void 0,e,!0)):delete r[i]);if(i!==s)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];if(vo(e.emitsOptions,a))continue;const u=t[a];if(l)if(f(i,a))u!==i[a]&&(i[a]=ni(0,0,u),c=!0);else{const t=O(a);r[t]=oi(l,s,t,u,e,!1)}else u!==i[a]&&(i[a]=ni(0,0,u),c=!0)}}c&&jt(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,s=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?a=!1:(c(i,t),n||1!==e||delete i._):(a=!t.$stable,fi(t,i)),s=t}else t&&(pi(e,t),s={default:1});if(a)for(const o in i)ci(o)||null!=s[o]||delete i[o]})(e,t.children,n),Tt(),lo(e),Et()},z=(e,t,n,o,r,i,a,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void Y(c,d,n,o,r,i,a,s,l);if(256&f)return void U(c,d,n,o,r,i,a,s,l)}8&p?(16&u&&Z(c,r,i),d!==c&&h(n,d)):16&u?16&p?Y(c,d,n,o,r,i,a,s,l):Z(c,r,i,!0):(8&u&&h(n,""),16&p&&M(d,n,o,r,i,a,s,l))},U=(e,t,n,o,i,a,s,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,f=Math.min(u,d);let p;for(p=0;p<f;p++){const o=t[p]=c?Wi(t[p]):Hi(t[p]);_(e[p],o,n,null,i,a,s,l,c)}u>d?Z(e,i,a,!0,!1,f):M(t,n,o,i,a,s,l,c,f)},Y=(e,t,n,o,i,a,s,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?Wi(t[u]):Hi(t[u]);if(!Ri(o,r))break;_(o,r,n,null,i,a,s,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],r=t[p]=c?Wi(t[p]):Hi(t[p]);if(!Ri(o,r))break;_(o,r,n,null,i,a,s,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,r=e<d?t[e].el:o;for(;u<=p;)_(null,t[u]=c?Wi(t[u]):Hi(t[u]),n,r,i,a,s,l,c),u++}}else if(u>p)for(;u<=f;)K(e[u],i,a,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?Wi(t[u]):Hi(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=p-g+1;let w=!1,x=0;const C=new Array(b);for(u=0;u<b;u++)C[u]=0;for(u=h;u<=f;u++){const o=e[u];if(y>=b){K(o,i,a,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=g;v<=p;v++)if(0===C[v-g]&&Ri(o,t[v])){r=v;break}void 0===r?K(o,i,a,!0):(C[r-g]=u+1,r>=x?x=r:w=!0,_(o,t[r],n,null,i,a,s,l,c),y++)}const k=w?function(e){const t=e.slice(),n=[0];let o,r,i,a,s;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<l?i=s+1:a=s;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,a=n[i-1];for(;i-- >0;)n[i]=a,a=t[a];return n}(C):r;for(v=k.length-1,u=b-1;u>=0;u--){const e=g+u,r=t[e],f=e+1<d?t[e+1].el:o;0===C[u]?_(null,r,n,f,i,a,s,l,c):w&&(v<0||u!==k[v]?X(r,n,f,2):v--)}}},X=(e,n,o,r,i=null)=>{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void X(e.component.subTree,n,o,r);if(128&u)return void e.suspense.move(n,o,r);if(64&u)return void s.move(e,n,o,oe);if(s===wi){t(a,n,o);for(let e=0;e<c.length;e++)X(c[e],n,o,r);return void t(e.anchor,n,o)}if(s===ki)return void k(e,n,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(a),t(a,n,o),gi(()=>l.enter(a),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,s=()=>t(a,n,o),c=()=>{e(a,()=>{s(),i&&i()})};r?r(a,s,c):c()}else t(a,n,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:i,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=s&&hi(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!tr(e);let g;if(h&&(g=a&&a.onVnodeBeforeUnmount)&&Yi(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&Fo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,oe,o):c&&(i!==wi||d>0&&64&d)?Z(c,t,n,!1,!0):(i===wi&&384&d||!r&&16&u)&&Z(l,t,n),o&&G(e)}(h&&(g=a&&a.onVnodeUnmounted)||p)&&gi(()=>{g&&Yi(g,t,e),p&&Fo(e,null,t,"unmounted")},n)},G=e=>{const{type:t,el:o,anchor:r,transition:i}=e;if(t===wi)return void J(o,r);if(t===ki)return void T(e);const a=()=>{n(o),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:n}=i,r=()=>t(o,a);n?n(e.el,a,r):r()}else a()},J=(e,t)=>{let o;for(;e!==t;)o=m(e),n(e),e=o;n(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:a,um:s}=e;o&&R(o),r.stop(),i&&(i.active=!1,K(a,e,t,n)),s&&gi(s,t),gi(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Z=(e,t,n,o=!1,r=!1,i=0)=>{for(let a=i;a<e.length;a++)K(e[a],t,n,o,r)},ee=e=>6&e.shapeFlag?ee(e.component.subTree):128&e.shapeFlag?e.suspense.next():m(e.anchor||e.el);let te=!1;const ne=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),te||(te=!0,lo(),co(),te=!1),t._vnode=e},oe={p:_,um:K,m:X,r:G,mt:q,mc:M,pc:z,pbc:B,n:ee,o:e};let re;return{render:ne,hydrate:re,createApp:Jr(ne)}}(e)}function vi({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 yi({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function _i(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=Wi(r[i]),t.el=e.el),n||_i(e,t)),t.type===xi&&(t.el=e.el)}}function bi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bi(t)}const wi=Symbol.for("v-fgt"),xi=Symbol.for("v-txt"),Ci=Symbol.for("v-cmt"),ki=Symbol.for("v-stc"),Si=[];let Ti=null;function Ei(e=!1){Si.push(Ti=e?null:[])}let Oi=1;function $i(e){Oi+=e}function Ai(e){return e.dynamicChildren=Oi>0?Ti||r:null,Si.pop(),Ti=Si[Si.length-1]||null,Oi>0&&Ti&&Ti.push(e),e}function Pi(e,t,n,o,r,i){return Ai(ji(e,t,n,o,r,i,!0))}function Mi(e,t,n,o,r){return Ai(Vi(e,t,n,o,r,!0))}function Li(e){return!!e&&!0===e.__v_isVNode}function Ri(e,t){return e.type===t.type&&e.key===t.key}const Ii="__vInternal",Bi=({key:e})=>null!=e?e:null,Ni=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||jn(e)||m(e)?{i:yo,r:e,k:t,f:!!n}:e:null);function ji(e,t=null,n=null,o=0,r=null,i=(e===wi?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bi(t),ref:t&&Ni(t),scopeId:_o,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:yo};return s?(zi(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Oi>0&&!a&&Ti&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Ti.push(l),l}const Vi=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Oo||(e=Ci);if(Li(e)){const o=Di(e,t,!0);return n&&zi(o,n),Oi>0&&!i&&Ti&&(6&o.shapeFlag?Ti[Ti.indexOf(e)]=o:Ti.push(o)),o.patchFlag|=-2,o}a=e,m(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?An(e)||Ii in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=Fe(e)),_(n)&&(An(n)&&!p(n)&&(n=c({},n)),t.style=qe(n))}const s=v(e)?1:Mo(e)?128:(e=>e.__isTeleport)(e)?64:_(e)?4:m(e)?2:0;return ji(e,t,n,o,r,s,i,!0)};function Di(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?Ui(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Bi(s),ref:t&&t.ref?n&&r?p(r)?r.concat(Ni(t)):[r,Ni(t)]:Ni(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==wi?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Di(e.ssContent),ssFallback:e.ssFallback&&Di(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function qi(e=" ",t=0){return Vi(xi,null,e,t)}function Fi(e="",t=!1){return t?(Ei(),Mi(Ci,null,e)):Vi(Ci,null,e)}function Hi(e){return null==e||"boolean"==typeof e?Vi(Ci):p(e)?Vi(wi,null,e.slice()):"object"==typeof e?Wi(e):Vi(xi,null,String(e))}function Wi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Di(e)}function zi(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),zi(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Ii in t?3===o&&yo&&(1===yo.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=yo}}else m(t)?(t={default:t,_ctx:yo},n=32):(t=String(t),64&o?(n=16,t=[qi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ui(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=Fe([t.class,o.class]));else if("style"===e)t.style=qe([t.style,o.style]);else if(s(e)){const n=t[e],r=o[e];!r||n===r||p(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function Yi(e,t,n,o=null){Yn(e,t,7,[n,o])}const Xi=Kr();let Ki=0;let Gi=null;const Ji=()=>Gi||yo;let Qi,Zi;{const e=j(),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)}};Qi=t("__VUE_INSTANCE_SETTERS__",e=>Gi=e),Zi=t("__VUE_SSR_SETTERS__",e=>oa=e)}const ea=e=>{const t=Gi;return Qi(e),e.scope.on(),()=>{e.scope.off(),Qi(t)}},ta=()=>{Gi&&Gi.scope.off(),Qi(null)};function na(e){return 4&e.vnode.shapeFlag}let oa=!1;function ra(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_(t)&&(e.setupState=zn(t)),ia(e)}function ia(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=ea(e);Tt();try{jr(e)}finally{Et(),t()}}}function aa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zn(Mn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Lr?Lr[n](e):void 0,has:(e,t)=>t in e||t in Lr}))}function sa(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const la=(e,t)=>{const n=function(e,t,n=!1){let o,r;const a=m(e);return a?(o=e,r=i):(o=e.get,r=e.set),new In(o,r,a||!r,n)}(e,0,oa);return n};function ca(e,t,n){const o=arguments.length;return 2===o?_(t)&&!p(t)?Li(t)?Vi(e,null,[t]):Vi(e,t):Vi(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Li(n)&&(n=[n]),Vi(e,t,n))}const ua="3.4.21",da="undefined"!=typeof document?document:null,fa=da&&da.createElement("template"),pa={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?da.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?da.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?da.createElement(e,{is:n}):da.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>da.createTextNode(e),createComment:e=>da.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>da.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{fa.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=fa.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[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ha="transition",ga="animation",ma=Symbol("_vtc"),va=(e,{slots:t})=>ca(Yo,function(e){const t={};for(const c in e)c in ya||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=a,appearToClass:d=s,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(_(e))return[wa(e.enter),wa(e.leave)];{const t=wa(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:S=b,onAppearCancelled:T=w}=t,E=(e,t,n)=>{Ca(e,t?d:s),Ca(e,t?u:a),n&&n()},O=(e,t)=>{e._isLeaving=!1,Ca(e,f),Ca(e,h),Ca(e,p),t&&t()},$=e=>(t,n)=>{const r=e?S:b,a=()=>E(t,e,n);_a(r,[t,a]),ka(()=>{Ca(t,e?l:i),xa(t,e?d:s),ba(r)||Ta(t,o,m,a)})};return c(t,{onBeforeEnter(e){_a(y,[e]),xa(e,i),xa(e,a)},onBeforeAppear(e){_a(k,[e]),xa(e,l),xa(e,u)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);xa(e,f),document.body.offsetHeight,xa(e,p),ka(()=>{e._isLeaving&&(Ca(e,f),xa(e,h),ba(x)||Ta(e,o,v,n))}),_a(x,[e,n])},onEnterCancelled(e){E(e,!1),_a(w,[e])},onAppearCancelled(e){E(e,!0),_a(T,[e])},onLeaveCancelled(e){O(e),_a(C,[e])}})}(e),t);va.displayName="Transition";const ya={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};va.props=c({},Uo,ya);const _a=(e,t=[])=>{p(e)?e.forEach(e=>e(...t)):e&&e(...t)},ba=e=>!!e&&(p(e)?e.some(e=>e.length>1):e.length>1);function wa(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function xa(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[ma]||(e[ma]=new Set)).add(t)}function Ca(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[ma];n&&(n.delete(t),n.size||(e[ma]=void 0))}function ka(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Sa=0;function Ta(e,t,n,o){const r=e._endId=++Sa,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(`${ha}Delay`),i=o(`${ha}Duration`),a=Ea(r,i),s=o(`${ga}Delay`),l=o(`${ga}Duration`),c=Ea(s,l);let u=null,d=0,f=0;t===ha?a>0&&(u=ha,d=a,f=i.length):t===ga?c>0&&(u=ga,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?ha:ga:null,f=u?u===ha?i.length:l.length:0);const p=u===ha&&/\b(transform|all)(,|$)/.test(o(`${ha}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},s+1),e.addEventListener(c,f)}function Ea(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Oa(t)+Oa(e[n])))}function Oa(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const $a=Symbol("_vod"),Aa=Symbol("_vsh"),Pa={beforeMount(e,{value:t},{transition:n}){e[$a]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ma(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),Ma(e,!0),o.enter(e)):o.leave(e,()=>{Ma(e,!1)}):Ma(e,t))},beforeUnmount(e,{value:t}){Ma(e,t)}};function Ma(e,t){e.style.display=t?e[$a]:"none",e[Aa]=!t}const La=Symbol(""),Ra=/(^|;)\s*display\s*:/;const Ia=/\s*!important$/;function Ba(e,t,n){if(p(n))n.forEach(n=>Ba(e,t,n));else if(null==n&&(n=""),n=Ua(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ja[t];if(n)return n;let o=O(t);if("filter"!==o&&o in e)return ja[t]=o;o=P(o);for(let r=0;r<Na.length;r++){const n=Na[r]+o;if(n in e)return ja[t]=n}return t}(e,t);Ia.test(n)?e.setProperty(A(o),n.replace(Ia,""),"important"):e[o]=n}}const Na=["Webkit","Moz","ms"],ja={};const{unit:Va,unitRatio:Da,unitPrecision:qa}={unit:"rem",unitRatio:10/320,unitPrecision:5},Fa=(Ha=Va,Wa=Da,za=qa,e=>e.replace(Ge,(e,t)=>{if(!t)return e;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*Wa,za);return 0===n?"0":`${n}${Ha}`}));var Ha,Wa,za;const Ua=e=>v(e)?Fa(e):e,Ya="http://www.w3.org/1999/xlink";const Xa=Symbol("_vei");function Ka(e,t,n,o,r=null){const i=e[Xa]||(e[Xa]={}),a=i[t];if(o&&a)a.value=o;else{const[n,s]=function(e){let t;if(Ga.test(e)){let n;for(t={};n=e.match(Ga);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):A(e.slice(2));return[n,t]}(t);if(o){const a=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=es(e,i);for(let o=0;o<n.length;o++){const i=n[o];Yn(i,t,5,i.__wwe?[e]:r(e))}return}Yn(es(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=Za(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,a,s)}else a&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,a,s),i[t]=void 0)}}const Ga=/(?:Once|Passive|Capture)$/;let Ja=0;const Qa=Promise.resolve(),Za=()=>Ja||(Qa.then(()=>Ja=0),Ja=Date.now());function es(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 ts=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const ns=["ctrl","shift","alt","meta"],os={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)=>ns.some(n=>e[`${n}Key`]&&!t.includes(n))},rs=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e<t.length;e++){const o=os[t[e]];if(o&&o(n,t))return}return e(n,...o)})},is=c({patchProp:(e,t,n,o,r,i,a,c,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,a=i[r],s=(e.__wxsProps||(e.__wxsProps={}))[r];if(s===a)return;e.__wxsProps[r]=a;const l=o.proxy;io(()=>{n(a,s,l.$gcd(l,!0),l.$gcd(l,!1))})}(e,t,o,a);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[ma];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]&&Ba(o,t,"")}else for(const e in t)null==n[e]&&Ba(o,e,"");for(const e in n)"display"===e&&(i=!0),Ba(o,e,n[e])}else if(r){if(t!==n){const e=o[La];e&&(n+=";"+e),o.cssText=n,i=Ra.test(n)}}else t&&e.removeAttribute("style");$a in e&&(e[$a]=i?o.display:"",e[Aa]&&(o.display="none"));const{__wxsStyle:a}=e;if(a)for(const s in a)Ba(o,s,a[s])}(e,n,o):s(t)?l(t)||Ka(e,t,0,o,a):("."===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&&ts(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(ts(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,r,i),void(e[t]=null==n?"":n);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const o=null==n?"":n;return("OPTION"===s?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=U(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,a,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ya,t.slice(6,t.length)):e.setAttributeNS(Ya,t,n);else{const o=z(t);null==n||o&&!U(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))},pa);let as;const ss=(...e)=>{const t=(as||(as=mi(is))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}
  21. /*!
  22. * vue-router v4.4.4
  23. * (c) 2024 Eduardo San Martin Morote
  24. * @license MIT
  25. */(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 ls="undefined"!=typeof document;function cs(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const us=Object.assign;function ds(e,t){const n={};for(const o in t){const r=t[o];n[o]=ps(r)?r.map(e):e(r)}return n}const fs=()=>{},ps=Array.isArray,hs=/#/g,gs=/&/g,ms=/\//g,vs=/=/g,ys=/\?/g,_s=/\+/g,bs=/%5B/g,ws=/%5D/g,xs=/%5E/g,Cs=/%60/g,ks=/%7B/g,Ss=/%7C/g,Ts=/%7D/g,Es=/%20/g;function Os(e){return encodeURI(""+e).replace(Ss,"|").replace(bs,"[").replace(ws,"]")}function $s(e){return Os(e).replace(_s,"%2B").replace(Es,"+").replace(hs,"%23").replace(gs,"%26").replace(Cs,"`").replace(ks,"{").replace(Ts,"}").replace(xs,"^")}function As(e){return $s(e).replace(vs,"%3D")}function Ps(e){return null==e?"":function(e){return Os(e).replace(hs,"%23").replace(ys,"%3F")}(e).replace(ms,"%2F")}function Ms(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Ls=/\/$/;function Rs(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,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,a,s=n.length-1;for(i=0;i<o.length;i++)if(a=o[i],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:Ms(a)}}function Is(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Bs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ns(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!js(e[n],t[n]))return!1;return!0}function js(e,t){return ps(e)?Vs(e,t):ps(t)?Vs(t,e):e===t}function Vs(e,t){return ps(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Ds={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var qs,Fs,Hs,Ws;function zs(e){if(!e)if(ls){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Ls,"")}(Fs=qs||(qs={})).pop="pop",Fs.push="push",(Ws=Hs||(Hs={})).back="back",Ws.forward="forward",Ws.unknown="";const Us=/^[^#]+#/;function Ys(e,t){return e.replace(Us,"#")+t}const Xs=()=>({left:window.scrollX,top:window.scrollY});function Ks(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 Gs(e,t){return(history.state?history.state.position-t:-1)+e}const Js=new Map;function Qs(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),Is(n,"")}return Is(n,e)+o+r}function Zs(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Xs():null}}function el(e){const{history:t,location:n}=window,o={value:Qs(e,n)},r={value:t.state};function i(o,i,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:location.protocol+"//"+location.host+e+o;try{t[a?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[a?"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 a=us({},r.value,t.state,{forward:e,scroll:Xs()});i(a.current,a,!0),i(e,us({},Zs(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,us({},t.state,Zs(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function tl(e){const t=el(e=zs(e)),n=function(e,t,n,o){let r=[],i=[],a=null;const s=({state:i})=>{const s=Qs(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=s,t.value=i,a&&a===l)return void(a=null);u=c?i.position-c.position:0}else o(s);r.forEach(e=>{e(n.value,l,{delta:u,type:qs.pop,direction:u?u>0?Hs.forward:Hs.back:Hs.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(us({},e.state,{scroll:Xs()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){a=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",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=us({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ys.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 nl(e){return"string"==typeof e||"symbol"==typeof e}const ol=Symbol("");var rl,il;function al(e,t){return us(new Error,{type:e,[ol]:!0},t)}function sl(e,t){return e instanceof Error&&ol in e&&(null==t||!!(e.type&t))}(il=rl||(rl={}))[il.aborted=4]="aborted",il[il.cancelled=8]="cancelled",il[il.duplicated=16]="duplicated";const ll="[^/]+?",cl={sensitive:!1,strict:!1,start:!0,end:!0},ul=/[.+*?^${}()[\]/\\]/g;function dl(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function fl(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=dl(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(pl(o))return 1;if(pl(r))return-1}return r.length-o.length}function pl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const hl={type:0,value:""},gl=/[a-zA-Z0-9_]/;function ml(e,t,n){const o=function(e,t){const n=us({},cl,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t<l.length;t++){const o=l[t];let a=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(ul,"\\$&"),a+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;i.push({name:e,repeatable:n,optional:c});const d=u||ll;if(d!==ll){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let f=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(f=c&&l.length<2?`(?:/${f})`:"/"+f),c&&(f+="?"),r+=f,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");return{re:a,score:o,keys:i,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:a,optional:s}=e,l=i in t?t[i]:"";if(ps(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=ps(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${i}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[hl]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function f(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),a()):":"===s?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:"("===s?n=2:gl.test(s)?f():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),r}(e.path),n),r=us(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function vl(e,t){const n=[],o=new Map;function r(e,n,o){const s=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:_l(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=xl(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(us({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,f;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=ml(t,n,c),o?o.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),s&&e.name&&!bl(d)&&i(e.name)),Cl(d)&&a(d),l.children){const e=l.children;for(let t=0;t<e.length;t++)r(e[t],d,o&&o.children[t])}o=o||d}return f?()=>{i(f)}:fs}function i(e){if(nl(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 a(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;fl(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(Cl(t)&&0===fl(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&&!bl(e)&&o.set(e.record.name,e)}return t=xl({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>r(e)),{addRoute:r,resolve:function(e,t){let r,i,a,s={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw al(1,{location:e});a=r.record.name,s=us(yl(t.params,r.keys.filter(e=>!e.optional).concat(r.parent?r.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&yl(e.params,r.keys.map(e=>e.name))),i=r.stringify(s)}else if(null!=e.path)i=e.path,r=n.find(e=>e.re.test(i)),r&&(s=r.parse(i),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!r)throw al(1,{location:e,currentLocation:t});a=r.record.name,s=us({},t.params,e.params),i=r.stringify(s)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:i,params:s,matched:l,meta:wl(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function yl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function _l(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 bl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function wl(e){return e.reduce((e,t)=>us(e,t.meta),{})}function xl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Cl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function kl(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(_s," "),r=e.indexOf("="),i=Ms(r<0?e:e.slice(0,r)),a=r<0?null:Ms(e.slice(r+1));if(i in t){let e=t[i];ps(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function Sl(e){let t="";for(let n in e){const o=e[n];if(n=As(n),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(ps(o)?o.map(e=>e&&$s(e)):[o&&$s(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function Tl(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ps(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const El=Symbol(""),Ol=Symbol(""),$l=Symbol(""),Al=Symbol(""),Pl=Symbol("");function Ml(){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 Ll(e,t,n,o,r,i=e=>e()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const c=e=>{var i;!1===e?l(al(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(al(2,{from:t,to:e})):(a&&o.enterCallbacks[r]===a&&"function"==typeof e&&a.push(e),s())},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 Rl(e,t,n,o,r=e=>e()){const i=[];for(const a of e)for(const e in a.components){let s=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if(cs(s)){const l=(s.__vccOpts||s)[t];l&&i.push(Ll(l,n,o,a,e,r))}else{let l=s();i.push(()=>l.then(i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${a.path}"`);const s=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&cs(l.default)?i.default:i;var l;a.mods[e]=i,a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Ll(c,n,o,a,e,r)()}))}}return i}function Il(e){const t=ei($l),n=ei(Al),o=la(()=>{const n=Hn(e.to);return t.resolve(n)}),r=la(()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const a=i.findIndex(Bs.bind(null,r));if(a>-1)return a;const s=Nl(e[t-2]);return t>1&&Nl(r)===s&&i[i.length-1].path!==s?i.findIndex(Bs.bind(null,e[t-2])):a}),i=la(()=>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(!ps(r)||r.length!==o.length||o.some((e,t)=>e!==r[t]))return!1}return!0}(n.params,o.value.params)),a=la(()=>r.value>-1&&r.value===n.matched.length-1&&Ns(n.params,o.value.params));return{route:o,href:la(()=>o.value.href),isActive:i,isExactActive:a,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[Hn(e.replace)?"replace":"push"](Hn(e.to)).catch(fs):Promise.resolve()}}}const Bl=er({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:Il,setup(e,{slots:t}){const n=Cn(Il(e)),{options:o}=ei($l),r=la(()=>({[jl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[jl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ca("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Nl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jl=(e,t,n)=>null!=e?e:null!=t?t:n,Vl=er({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=ei(Pl),r=la(()=>e.route||o.value),i=ei(Ol,0),a=la(()=>{let e=Hn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),s=la(()=>r.value.matched[a.value]);Zr(Ol,la(()=>a.value+1)),Zr(El,s),Zr(Pl,r);const l=Vn();return Bo(()=>[l.value,s.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&&Bs(t,r)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=r.value,i=e.name,a=s.value,c=a&&a.components[i];if(!c)return Dl(n.default,{Component:c,route:o});const u=a.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=ca(c,us({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}));return Dl(n.default,{Component:f,route:o})||f}}});function Dl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const ql=Vl;function Fl(e){const t=vl(e.routes,e),n=e.parseQuery||kl,o=e.stringifyQuery||Sl,r=e.history,i=Ml(),a=Ml(),s=Ml(),l=Dn(Ds);let c=Ds;ls&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ds.bind(null,e=>""+e),d=ds.bind(null,Ps),f=ds.bind(null,Ms);function p(e,i){if(i=us({},i||l.value),"string"==typeof e){const o=Rs(n,e,i.path),a=t.resolve({path:o.path},i),s=r.createHref(o.fullPath);return us(o,a,{params:f(a.params),hash:Ms(o.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=us({},e,{path:Rs(n,e.path,i.path).path});else{const t=us({},e.params);for(const e in t)null==t[e]&&delete t[e];a=us({},e,{params:d(t)}),i.params=d(i.params)}const s=t.resolve(a,i),c=e.hash||"";s.params=u(f(s.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,us({},e,{hash:(h=c,Os(h).replace(ks,"{").replace(Ts,"}").replace(xs,"^")),path:s.path}));var h;const g=r.createHref(p);return us({fullPath:p,hash:c,query:o===Sl?Tl(e.query):e.query||{}},s,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Rs(n,e,l.value.path):us({},e)}function g(e,t){if(c!==e)return al(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={}),us({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,a=e.force,s=!0===e.replace,u=v(n);if(u)return y(us(h(u),{state:"object"==typeof u?us({},i,u.state):i,force:a,replace:s}),t||n);const d=n;let f;return d.redirectedFrom=t,!a&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Bs(t.matched[o],n.matched[r])&&Ns(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=al(16,{to:d,from:r}),P(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch(e=>sl(e)?sl(e,2)?e:A(e):$(e,d,r)).then(e=>{if(e){if(sl(e,2))return y(us({replace:s},h(e.to),{state:"object"==typeof e.to?us({},i,e.to.state):i,force:a}),t||d)}else e=C(d,r,!0,s,i);return x(d,r,e),e})}function _(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e){const t=R.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,s]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const i=t.matched[a];i&&(e.matched.find(e=>Bs(e,i))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find(e=>Bs(e,s))||r.push(s))}return[n,o,r]}(e,t);n=Rl(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach(o=>{n.push(Ll(o,e,t))});const l=_.bind(null,e,t);return n.push(l),B(n).then(()=>{n=[];for(const o of i.list())n.push(Ll(o,e,t));return n.push(l),B(n)}).then(()=>{n=Rl(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach(o=>{n.push(Ll(o,e,t))});return n.push(l),B(n)}).then(()=>{n=[];for(const o of s)if(o.beforeEnter)if(ps(o.beforeEnter))for(const r of o.beforeEnter)n.push(Ll(r,e,t));else n.push(Ll(o.beforeEnter,e,t));return n.push(l),B(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Rl(s,"beforeRouteEnter",e,t,b),n.push(l),B(n))).then(()=>{n=[];for(const o of a.list())n.push(Ll(o,e,t));return n.push(l),B(n)}).catch(e=>sl(e,8)?e:Promise.reject(e))}function x(e,t,n){s.list().forEach(o=>b(()=>o(e,t,n)))}function C(e,t,n,o,i){const a=g(e,t);if(a)return a;const s=t===Ds,c=ls?history.state:{};n&&(o||s?r.replace(e.fullPath,us({scroll:s&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,P(e,t,n,s),A()}let k;function S(){k||(k=r.listen((e,t,n)=>{if(!I.listening)return;const o=p(e),i=v(o);if(i)return void y(us(i,{replace:!0}),o).catch(fs);c=o;const a=l.value;var s,u;ls&&(s=Gs(a.fullPath,n.delta),u=Xs(),Js.set(s,u)),w(o,a).catch(e=>sl(e,12)?e:sl(e,2)?(y(e.to,o).then(e=>{sl(e,20)&&!n.delta&&n.type===qs.pop&&r.go(-1,!1)}).catch(fs),Promise.reject()):(n.delta&&r.go(-n.delta,!1),$(e,o,a))).then(e=>{(e=e||C(o,a,!1))&&(n.delta&&!sl(e,8)?r.go(-n.delta,!1):n.type===qs.pop&&sl(e,20)&&r.go(-1,!1)),x(o,a,e)}).catch(fs)}))}let T,E=Ml(),O=Ml();function $(e,t,n){A(e);const o=O.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function A(e){return T||(T=!e,S(),E.list().forEach(([t,n])=>e?n(e):t()),E.reset()),e}function P(t,n,o,r){const{scrollBehavior:i}=e;if(!ls||!i)return Promise.resolve();const a=!o&&function(e){const t=Js.get(e);return Js.delete(e),t}(Gs(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return io().then(()=>i(t,n,a)).then(e=>e&&Ks(e)).catch(e=>$(e,t,n))}const M=e=>r.go(e);let L;const R=new Set,I={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return nl(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(us(h(e),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:O.add,isReady:function(){return T&&l.value!==Ds?Promise.resolve():new Promise((e,t)=>{E.add([e,t])})},install(e){e.component("RouterLink",Bl),e.component("RouterView",ql),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Hn(l)}),ls&&!L&&l.value===Ds&&(L=!0,m(r.location).catch(e=>{}));const t={};for(const o in Ds)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide($l,this),e.provide(Al,kn(t)),e.provide(Pl,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=Ds,k&&k(),k=null,l.value=Ds,L=!1,T=!1),n()}}};function B(e){return e.reduce((e,t)=>e.then(()=>b(t)),Promise.resolve())}return I}function Hl(e){return ei(Al)}const Wl=["{","}"];const zl=/^(?:\d)+/,Ul=/^(?:\w)+/;const Yl="zh-Hans",Xl="zh-Hant",Kl="en",Gl="fr",Jl="es",Ql=Object.prototype.hasOwnProperty,Zl=(e,t)=>Ql.call(e,t),ec=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Wl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let a=e[r++];if(a===t){i&&o.push({type:"text",value:i}),i="";let t="";for(a=e[r++];void 0!==a&&a!==n;)t+=a,a=e[r++];const s=a===n,l=zl.test(t)?"list":s&&Ul.test(t)?"named":"unknown";o.push({value:t,type:l})}else i+=a}return i&&o.push({type:"text",value:i}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===r)return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(t[i.value])}o++}return n}(o,t)}};function tc(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return Yl;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?Yl:e.indexOf("-hant")>-1?Xl:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Xl:Yl);var n;let o=[Kl,Gl,Jl];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 nc{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Kl,this.fallbackLocale=Kl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||ec,this.messages=n||{},this.setLocale(e||Kl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=tc(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=>{Zl(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=tc(t,this.messages))&&(o=this.messages[t]):n=t,Zl(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 oc(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&&Qd?Qd():"undefined"!=typeof global&&global.getLocale?global.getLocale():Kl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Kl);const r=new nc({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=wg().$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)}}var rc=Object.defineProperty,ic=(e,t,n)=>(((e,t,n)=>{t in e?rc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const ac=Ue(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let sc;function lc(){if(!sc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,sc=oc(e),ac()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>sc.add(e,__uniConfig.locales[e])),sc.setLocale(e)}}return sc}function cc(e,t,n){return t.reduce((t,o,r)=>(t[e+o]=n[r],t),{})}const uc=Ue(()=>{const e="uni.async.",t=["error"];lc().add(Kl,cc(e,t,["The connection timed out, click the screen to try again."]),!1),lc().add(Jl,cc(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),lc().add(Gl,cc(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),lc().add(Yl,cc(e,t,["连接服务器超时,点击屏幕重试"]),!1),lc().add(Xl,cc(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),dc=Ue(()=>{const e="uni.showToast.",t=["unpaired"];lc().add(Kl,cc(e,t,["Please note showToast must be paired with hideToast"]),!1),lc().add(Jl,cc(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),lc().add(Gl,cc(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),lc().add(Yl,cc(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),lc().add(Xl,cc(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),fc=Ue(()=>{const e="uni.showLoading.",t=["unpaired"];lc().add(Kl,cc(e,t,["Please note showLoading must be paired with hideLoading"]),!1),lc().add(Jl,cc(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),lc().add(Gl,cc(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),lc().add(Yl,cc(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),lc().add(Xl,cc(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),pc=Ue(()=>{const e="uni.showModal.",t=["cancel","confirm"];lc().add(Kl,cc(e,t,["Cancel","OK"]),!1),lc().add(Jl,cc(e,t,["Cancelar","OK"]),!1),lc().add(Gl,cc(e,t,["Annuler","OK"]),!1),lc().add(Yl,cc(e,t,["取消","确定"]),!1),lc().add(Xl,cc(e,t,["取消","確定"]),!1)}),hc=Ue(()=>{const e="uni.chooseFile.",t=["notUserActivation"];lc().add(Kl,cc(e,t,["File chooser dialog can only be shown with a user activation"]),!1),lc().add(Jl,cc(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),lc().add(Gl,cc(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),lc().add(Yl,cc(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),lc().add(Xl,cc(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),gc=Ue(()=>{const e="uni.setClipboardData.",t=["success","fail"];lc().add(Kl,cc(e,t,["Content copied","Copy failed, please copy manually"]),!1),lc().add(Jl,cc(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),lc().add(Gl,cc(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),lc().add(Yl,cc(e,t,["内容已复制","复制失败,请手动复制"]),!1),lc().add(Xl,cc(e,t,["內容已復制","復制失敗,請手動復製"]),!1)});function mc(e){const t=new ut;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const vc="invokeViewApi",yc="invokeServiceApi";let _c=1;const bc=Object.create(null);function wc(e,t){return e+"."+t}function xc(e,t,n){t=wc(e,t),bc[t]||(bc[t]=n)}function Cc({id:e,name:t,args:n},o){t=wc(o,t);const r=t=>{e&&_v.publishHandler(vc+"."+e,t)},i=bc[t];i?i(n,r):r({})}const kc=c(mc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=_v,i=n?_c++:0;n&&o(yc+"."+i,n,!0),r(yc,{id:i,name:e,args:t})}}),Sc=Je(!0);let Tc;function Ec(){Tc&&(clearTimeout(Tc),Tc=null)}let Oc=0,$c=0;function Ac(e){if(Ec(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Oc=t,$c=n,Tc=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 Pc(e){if(!Tc)return;if(1!==e.touches.length)return Ec();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Oc)>10||Math.abs(n-$c)>10?Ec():void 0}function Mc(e,t){const n=Number(e);return isNaN(n)?t:n}function Lc(){const e=__uniConfig.globalStyle||{},t=Mc(e.rpxCalcMaxDeviceWidth,960),n=Mc(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor);var t=e&&window.matchMedia("(orientation:landscape)").matches?Math.max(screen.width,screen.height):screen.width;return e?Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t: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),/^Apple/.test(navigator.vendor)&&window.addEventListener("orientationchange",()=>{o(),setTimeout(o,50)})}function Rc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ic,Bc,Nc=["top","left","right","bottom"],jc={};function Vc(){return Bc="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 Dc(){if(Bc="string"==typeof Bc?Bc:Vc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Nc.forEach(function(e){a(o,e)}),document.body.appendChild(o),i(),Ic=!0}else Nc.forEach(function(e){jc[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 a(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Bc+"(safe-area-inset-"+n+")"};r(o,c),r(a,c),r(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(l),e.appendChild(o),e.appendChild(a),i(function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,r=a.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,r=a.scrollTop,function(e){Fc.length||setTimeout(function(){var e={};Fc.forEach(function(t){e[t]=jc[t]}),Fc.length=0,Hc.forEach(function(t){t(e)})},0);Fc.push(e)}(n))}o.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)});var u=getComputedStyle(o);Object.defineProperty(jc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function qc(e){return Ic||Dc(),jc[e]}var Fc=[];var Hc=[];const Wc=Rc({get support(){return 0!=("string"==typeof Bc?Bc:Vc()).length},get top(){return qc("top")},get left(){return qc("left")},get right(){return qc("right")},get bottom(){return qc("bottom")},onChange:function(e){Vc()&&(Ic||Dc(),"function"==typeof e&&Hc.push(e))},offChange:function(e){var t=Hc.indexOf(e);t>=0&&Hc.splice(t,1)}}),zc=rs(()=>{},["prevent"]),Uc=rs(e=>{},["stop"]);function Yc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Xc(){const e=Yc(document.documentElement.style,"--window-top");return e?e+Wc.top:0}function Kc(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Gc(e){return Symbol(e)}function Jc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Qc(e,t=!1){if(t)return function(e){if(!Jc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>Jd(parseFloat(t))+"px")}(e);if(v(e)){const t=parseInt(e)||0;return Jc(e)?Jd(t):t}return e}function Zc(e){return e.$page}function eu(e){return 0===e.tagName.indexOf("UNI-")}const tu="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",nu="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",ou="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z";function ru(e,t="#000",n=27){return Vi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Vi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function iu(){{const{$pageInstance:e}=Ji();return e&&fu(e.proxy)}}function au(){const e=np(),t=e.length;if(t)return e[t-1]}function su(){var e;const t=null==(e=au())?void 0:e.$page;if(t)return t.meta}function lu(){const e=su();return e?e.id:-1}function cu(){const e=au();if(e)return e.$vm}const uu=["navigationBar","pullToRefresh"];function du(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);uu.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function fu(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function pu(e,t,n){if(v(e))n=t,t=e,e=cu();else if("number"==typeof e){const t=np().find(t=>Zc(t).id===e);e=t?t.$vm:cu()}if(!e)return;const o=e.$[t];return t===_e?o&&(r=o,i=n,r.map(e=>e(i))).some(e=>!0===e):o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n);var r,i}function hu(e){e.preventDefault()}let gu,mu=0;function vu({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-mu)>n;return!i||r&&!a?(!i&&r&&(r=!1),!1):(mu=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout(function(){i=!0},350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(gu=setTimeout(a,300))),o=!1};return function(){clearTimeout(gu),o||requestAnimationFrame(a),o=!0}}function yu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return yu(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&".."===n[r];r++);n.splice(0,r),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-r-1,r+1),We(i.concat(n).join("/"))}function _u(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function bu(){Lc(),Xe(eu),window.addEventListener("touchstart",Ac,Sc),window.addEventListener("touchmove",Pc,Sc),window.addEventListener("touchend",Ec,Sc),window.addEventListener("touchcancel",Ec,Sc)}class wu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(De(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&&De(e.el));if(e.length>0)return t?e.map(e=>e.el):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=Su(this.$el.querySelector(e));return t?xu(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o<n.length;o++){const e=Su(n[o]);e&&t.push(xu(e,!1))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){const{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){let t="";if(!e||v(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:A(n);(v(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(v(e)&&(e=H(e)),C(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&_v.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 xu(e,t=!0){if(t&&e&&(e=Ve(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new wu(e)),e.$el.__wxsComponentDescriptor}function Cu(e,t){return xu(e,t)}function ku(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Cu(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=Ve(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Cu(r,!1)]}}function Su(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Tu(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let a,s;a=Qe(t?r:function(e){for(;!eu(e);)e=e.parentElement;return e}(r)),s=Qe(i);const l={type:n,timeStamp:o,target:a,detail:{},currentTarget:s};return"undefined"!=typeof CustomEvent&&e instanceof CustomEvent&&C(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 Eu(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Ou(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:a,clientX:s,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:i,pageY:a-t,clientX:s,clientY:l-t,force:c||0})}return n}const $u=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!eu(o);if(r)return ku(e,t,n,!1)||[e];const i=Tu(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=Xc();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Eu(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Xc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Eu(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=Xc();i.touches=Ou(e.touches,t),i.changedTouches=Ou(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 ku(i,t,n)||[i]},createNativeEvent:Tu},Symbol.toStringTag,{value:"Module"});function Au(e){!function(e){const t=e.globalProperties;c(t,$u),t.$gcd=Cu}(e._context.config)}let Pu=1;function Mu(e){return(e||lu())+"."+vc}const Lu=c(mc("view"),{invokeOnCallback:(e,t)=>bv.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=bv,a=o?Pu++:0;o&&r(vc+"."+a,o,!0),i(Mu(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:a}=bv,s=Pu++,l=vc+"."+s;return r(l,n),a(Mu(o),{id:s,name:e,args:t},o),()=>{i(l)}}});function Ru(e){pu(au(),ye,e),bv.invokeOnCallback("onWindowResize",e)}function Iu(e){const t=au();pu(wg(),re,e),pu(t,re)}function Bu(){pu(wg(),ie),pu(au(),ie)}const Nu=[be,xe];function ju(){Nu.forEach(e=>bv.subscribe(e,function(e){return(t,n)=>{pu(parseInt(n),e,t)}}(e)))}function Vu(){!function(){const{on:e}=bv;e(ye,Ru),e(Re,Iu),e(Ie,Bu)}(),ju()}function Du(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new rt(this.$page.id)),e.eventChannel}}function qu(e){e._context.config.globalProperties.getOpenerEventChannel=Du}function Fu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Hu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${Jd(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Wu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],a=t.option.transition,s=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,a=e.option,s=a.transition,l={},c=[];return i.forEach(e=>{let i=e.type,a=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?a=a.map(e=>parseFloat(e)+"deg"):i.startsWith("translate")&&(a=a.map(Hu)),n.indexOf(i)>=0&&(a.length=1),c.push(`${i}(${a.join(",")})`);else if(o.concat(r).includes(a[0])){i=a[0];const e=a[1];l[i]=r.includes(i)?Hu(e):e}}),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(e=>`${function(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).replace("webkit","-webkit")}(e)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=a.transformOrigin,l}(t);Object.keys(s).forEach(t=>{e.$el.style[t]=s[t]}),n+=1,n<r&&setTimeout(i,a.duration+a.delay)}setTimeout(()=>{i()},0)}const zu={props:["animation"],watch:{animation:{deep:!0,handler(){Wu(this)}}},mounted(){Wu(this)}},Uu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(zu),Yu(e)},Yu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},er(e));function Xu(e){return e.__wwe=!0,e}function Ku(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){const r=Qe(n);return{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Gu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Ju(e){const t=Vn(!1);let n,o,r=!1;function i(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function a(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 s(){r=!1,t.value&&i()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Xu(function(e){e.touches.length>1||a(e)}),onMousedown:Xu(function(e){r||(a(e),window.addEventListener("mouseup",l))}),onTouchend:Xu(function(){s()}),onMouseup:Xu(function(){r&&l()}),onTouchcancel:Xu(function(){r=!1,t.value=!1,clearTimeout(n)})}}}function Qu(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const Zu=Gc("uf"),ed={for:{type:String,default:""}},td=Gc("ul");const nd=Uu({name:"Label",props:ed,setup(e,{slots:t}){const n=Vn(null),o=iu(),r=function(){const e=[];return Zr(td,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),i=la(()=>e.for||t.default&&t.default.length),a=Xu(t=>{const n=t.target;let i=/^uni-(checkbox|radio|switch)-/.test(n.className);i||(i=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),i||(e.for?_v.emit("uni-label-click-"+o+"-"+e.for,t,!0):r.length&&r[0](t,!0))});return()=>Vi("uni-label",{ref:n,class:{"uni-label-pointer":i},onClick:a},[t.default&&t.default()],10,["onClick"])}});function od(e,t){rd(e.id,t),Bo(()=>e.id,(e,n)=>{id(n,t,!0),rd(e,t,!0)}),kr(()=>{id(e.id,t)})}function rd(e,t,n){const o=iu();n&&!e||C(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&_v.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?_v.on(r,t[r]):e&&_v.on(`uni-${r}-${o}-${e}`,t[r])})}function id(e,t,n){const o=iu();n&&!e||C(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&_v.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?_v.off(r,t[r]):e&&_v.off(`uni-${r}-${o}-${e}`,t[r])})}const ad=Uu({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Vn(null),o=ei(Zu,!1),{hovering:r,binding:i}=Ju(e),a=Xu((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;}),s=ei(td,!1);return s&&(s.addHandler(a),Cr(()=>{s.removeHandler(a)})),od(e,{"label-click":a}),()=>{const o=e.hoverClass,s=Qu(e,"disabled"),l=Qu(e,"loading"),c=Qu(e,"plain"),u=o&&"none"!==o;return Vi("uni-button",Ui({ref:n,onClick:a,id:e.id,class:u&&r.value?o:""},u&&i,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),sd=Gc("upm");function ld(){return ei(sd)}function cd(e){const t=function(e){return Cn(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=Qc(e.offset)),e.height&&(e.height=Qc(e.height)),e.range&&(e.range=Qc(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:r}=n;"custom"!==r&&"transparent"!==o&&(t.offset+=44+Wc.top),e.pullToRefresh=t}}{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:r}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=r||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==np().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(du(Hl().meta,e)))))}(e);return Zr(sd,t),t}function ud(){return Hl()}function dd(){return history.state&&history.state.__id__||1}const fd=["original","compressed"],pd=["album","camera"],hd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function gd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function md(e,t){return!p(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function vd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let yd=1;const _d={};function bd(e,t,n){if("number"==typeof e){const o=_d[e];if(o)return o.keepAlive||delete _d[e],o.callback(t,n)}return t}const wd="success",xd="fail",Cd="complete";function kd(e,t={},{beforeAll:n,beforeSuccess:o}={}){C(t)||(t={});const{success:r,fail:i,complete:a}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=vd(o),delete e[n])}return t}(t),s=m(r),l=m(i),c=m(a),u=yd++;return function(e,t,n,o=!1){_d[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),s&&r(u)):l&&i(u),c&&a(u)}),u}const Sd="success",Td="fail",Ed="complete",Od={},$d={};function Ad(e,t){return function(n){return e(n,t)||n}}function Pd(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(Ad(i,n));else{const e=i(t,n);if(b(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function Md(e,t={}){return[Sd,Td,Ed].forEach(n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Pd(o,e,t).then(e=>m(r)&&r(e)||e)}}),t}function Ld(e,t){const n=[];p(Od.returnValue)&&n.push(...Od.returnValue);const o=$d[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Rd(e){const t=Object.create(null);Object.keys(Od).forEach(e=>{"returnValue"!==e&&(t[e]=Od[e].slice())});const n=$d[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function Id(e,t,n,o){const r=Rd(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Pd(r.invoke,n).then(n=>t(Md(Rd(e),n),...o))}return t(Md(r,n),...o)}return t(n,...o)}function Bd(e,t){return(n={},...o)=>function(e){return!(!C(e)||![wd,xd,Cd].find(t=>m(e[t])))}(n)?Ld(e,Id(e,t,c({},n),o)):Ld(e,new Promise((r,i)=>{Id(e,t,c({},n,{success:r,fail:i}),o)}))}function Nd(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,bd(e,c({errMsg:i},o))}function jd(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||!C(t.formatArgs)&&C(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],a=o[t];if(m(a)){const o=a(e[0][t],n);if(v(o))return o}else f(n,t)||(n[t]=a)}}(t,o);if(r)return r}function Vd(e,t,n,o){return n=>{const r=kd(e,n,o),i=jd(0,[n],0,o);return i?Nd(r,e,i):t(n,{resolve:t=>function(e,t,n){return bd(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Nd(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 Dd(e,t,n,o){return Bd(e,Vd(e,t,0,o))}function qd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=jd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Fd(e,t,n,o){return Bd(e,function(e,t,n,o){return Vd(e,t,0,o)}(e,t,0,o))}let Hd=!1,Wd=0,zd=0,Ud=960,Yd=375,Xd=750;function Kd(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Lp();return{platform:xp?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=r,n=i}Wd=e,zd=t,Hd="ios"===n}function Gd(e,t){const n=Number(e);return isNaN(n)?t:n}const Jd=qd(0,(e,t)=>{if(0===Wd&&(Kd(),function(){const e=__uniConfig.globalStyle||{};Ud=Gd(e.rpxCalcMaxDeviceWidth,960),Yd=Gd(e.rpxCalcBaseDeviceWidth,375),Xd=Gd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Wd;n=e===Xd||n<=Ud?n:Yd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==zd&&Hd?.5:1),e<0?-o:o}),Qd=qd(0,()=>{const e=wg();return e&&e.$vm?e.$vm.$locale:lc().getLocale()}),Zd={[ue]:[],[ce]:[],[se]:[],[re]:[],[ie]:[]};const ef={formatArgs:{showToast:!0},beforeInvoke(){gc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=lc(),o=n("uni.setClipboardData.success");o&&lv({title:o,icon:"success",mask:!1})}},tf=["wgs84","gcj02"],nf={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===tf.indexOf(e)?t.type=tf[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},of={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=md(e,fd)},sourceType(e,t){t.sourceType=md(e,pd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},rf={formatArgs:{src(e,t){t.src=_p(e)}}},af={formatArgs:{urls(e,t){t.urls=e.map(e=>v(e)&&e?_p(e):"")},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:v(e)&&e&&(t.current=_p(e))}}},sf="json",lf=["text","arraybuffer"],cf=encodeURIComponent;const uf={formatArgs:{method(e,t){t.method=gd((e||"").toUpperCase(),hd)},data(e,t){t.data=e||""},url(e,t){t.method===hd[0]&&C(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),a={};i.forEach(e=>{const t=e.split("=");a[t[0]]=t[1]});for(const s in t)if(f(t,s)){let e=t[s];null==e?e="":C(e)&&(e=JSON.stringify(e)),a[cf(s)]=cf(e)}return r=Object.keys(a).map(e=>`${e}=${a[e]}`).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==hd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||sf).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===lf.indexOf(t.responseType)&&(t.responseType="text")}}},df={formatArgs:{header(e,t){t.header=e||{}}}};const ff={url:{type:String,required:!0}},pf="navigateTo",hf="redirectTo",gf="reLaunch",mf="switchTab",vf="preloadPage",yf=(Cf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Cf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Tf(pf)),_f=Tf(hf),bf=Tf(gf),wf=Tf(mf),xf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(np().length-1,e)}}};function Cf(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 kf;function Sf(){kf=""}function Tf(e){return{formatArgs:{url:Ef(e)},beforeAll:Sf}}function Ef(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=np();return n.length&&(t=Zc(n[n.length-1]).route),yu(t,e)}(t)).split("?")[0],r=_u(o,!0);if(!r)return"page `"+t+"` is not found";if(e===pf||e===hf){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===mf&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==mf&&e!==vf||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach(e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==vf){if(kf===t&&"appLaunch"!==n.openType)return`${kf} locked`;__uniConfig.ready&&(kf=t)}else if(r.meta.isTabBar){const e=np(),t=r.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Of={beforeInvoke(){pc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=lc();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=lc();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},$f=["success","loading","none","error"],Af={formatArgs:{title:"",icon(e,t){t.icon=gd(e,$f)},image(e,t){t.image=e?_p(e):""},duration:1500,mask:!1}},Pf="stopPullDownRefresh";function Mf(){const e=cu();if(!e)return;const t=tp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:rp(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,pu(e,ie))}function Lf(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Rf(e){const t=tp().values();for(const n of t){const t=Kf(n);if(Lf(e,t))return n.$.__isActive=!0,t.id}}const If=Fd(mf,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Gf.handledBeforeEntryPageRoutes)return Mf(),Df({type:mf,url:e,tabBarText:t,isAutomatedTesting:n},Rf(e)).then(o).catch(r);Qf.push({args:{type:mf,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})},0,wf);function Bf(){const e=au();if(!e)return;const t=Kf(e);rp(lp(t.path,t.id))}const Nf=Fd(hf,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Gf.handledBeforeEntryPageRoutes)return Bf(),Df({type:hf,url:e,isAutomatedTesting:t}).then(n).catch(o);Zf.push({args:{type:hf,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,_f);function jf(){const e=tp().keys();for(const t of e)rp(t)}const Vf=Fd(gf,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Gf.handledBeforeEntryPageRoutes)return jf(),Df({type:gf,url:e,isAutomatedTesting:t}).then(n).catch(o);ep.push({args:{type:gf,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,bf);function Df({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const a=wg().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:nt(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++ip,__type__:e}}(e,i);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then(i=>{if(sl(i))return c(i.message);if("switchTab"===e&&(a.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=a.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 rt(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()})})}function qf(){if(Gf.handledBeforeEntryPageRoutes)return;Gf.handledBeforeEntryPageRoutes=!0;const e=[...Jf];Jf.length=0,e.forEach(({args:e,resolve:t,reject:n})=>Df(e).then(t).catch(n));const t=[...Qf];Qf.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(Mf(),Df(e,Rf(e.url)).then(t).catch(n)));const n=[...Zf];Zf.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(Bf(),Df(e).then(t).catch(n)));const o=[...ep];ep.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(jf(),Df(e).then(t).catch(n)))}function Ff(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Hf=Ff("top:env(a)"),Wf=Ff("top:constant(a)"),zf=(()=>Hf?"env":Wf?"constant":"")();function Uf(e){let t=0;var n,o;"custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),Kc({"--window-top":(o=t,zf?`calc(${o}px + ${zf}(safe-area-inset-top))`:`${o}px`),"--window-bottom":(n=0,zf?`calc(${n}px + ${zf}(safe-area-inset-bottom))`:`${n}px`)})}const Yf="$$",Xf=new Map;function Kf(e){return e.$page}const Gf={handledBeforeEntryPageRoutes:!1},Jf=[],Qf=[],Zf=[],ep=[];function tp(){return Xf}function np(){return op()}function op(){const e=[],t=Xf.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function rp(e,t=!0){const n=Xf.get(e);n.$.__isUnload=!0,pu(n,fe),Xf.delete(e),t&&function(e){const t=cp.get(e);t&&(cp.delete(e),up.pruneCacheEntry(t))}(e)}let ip=dd();function ap(e){const t=ld();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:a,route:s}=o,l=pt(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:a,path:We(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function sp(e){const t=ap(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),Xf.set(lp(t.path,t.id),e),1===Xf.size&&setTimeout(()=>{qf()},0)}function lp(e,t){return e+Yf+t}const cp=new Map,up={get:e=>cp.get(e),set(e,t){!function(e){const t=parseInt(e.split(Yf)[1]);if(!t)return;up.forEach((e,n)=>{const o=parseInt(n.split(Yf)[1]);o&&o>t&&(up.delete(n),up.pruneCacheEntry(e),io(()=>{Xf.forEach((e,t)=>{e.$.isUnmounted&&Xf.delete(t)})}))})}(e),cp.set(e,t)},delete(e){cp.get(e)&&cp.delete(e)},forEach(e){cp.forEach(e)}};function dp(e,t){!function(e){const t=pp(e),{body:n}=document;hp&&n.removeAttribute(hp),t&&n.setAttribute(t,""),hp=t}(e),Uf(t),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),vp(e,t)}function fp(e){const t=pp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function pp(e){return e.type.__scopeId}let hp;const gp=!!(()=>{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 mp;function vp(e,t){if(document.removeEventListener("touchmove",hu),mp&&document.removeEventListener("scroll",mp),t.disableScroll)return document.addEventListener("touchmove",hu,gp);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={},a=Kf(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&_v.publishHandler(be,{scrollTop:o},e),n&&_v.emit(e+"."+be,{scrollTop:o})}}(a,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>_v.publishHandler(xe,{},a)),mp=vu(i),requestAnimationFrame(()=>document.addEventListener("scroll",mp))}function yp(e){const{base:t}=__uniConfig.router;return 0===We(e).indexOf(t)?We(e):t+e}function _p(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 yp(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=op();return o.length?yp(yu(Kf(o[o.length-1]).route,e).slice(1)):e}const bp=navigator.userAgent,wp=/android/i.test(bp),xp=/iphone|ipad|ipod/i.test(bp),Cp=bp.match(/Windows NT ([\d|\d.\d]*)/i),kp=/Macintosh|Mac/i.test(bp),Sp=/Linux|X11/i.test(bp),Tp=kp&&navigator.maxTouchPoints>0,Ep=/OpenHarmony/i.test(bp),Op=Ep&&/PC/i.test(bp),$p=Ep&&/Tablet/i.test(bp);function Ap(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Pp(e){return e&&90===Math.abs(window.orientation)}function Mp(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Lp(){const e=Ap();if(e){const t=Mp(e,Pp(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}const Rp={};function Ip(e){for(const n in Rp)if(f(Rp,n)){if(Rp[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Rp[t]=e,t}const Bp=Fu(),Np=Fu();const jp=Uu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Vn(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=Cn({width:-1,height:-1});return Bo(()=>c({},o),e=>t("resize",e)),()=>{const t=e.value;if(!t)return;const r=t.getBoundingClientRect();o.width=r.width,o.height=r.height,n()}}(n,t,o);return function(e,t,n,o){cr(o),br(()=>{t.initial&&io(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,r,o),()=>Vi("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[Vi("div",{onScroll:r},[Vi("div",null,null)],40,["onScroll"]),Vi("div",{onScroll:r},[Vi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Vp=Gc("ucg"),Dp=Uu({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:""},foreColor:{type:String,default:""}},setup(e,{slots:t}){const n=Vn(null),o=Vn(e.checked),r=la(()=>"true"===o.value||!0===o.value),i=Vn(e.value);const a=la(()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return t?(e.activeBorderColor&&(n.borderColor=e.activeBorderColor),e.activeBackgroundColor&&(n.backgroundColor=e.activeBackgroundColor)):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(r.value));Bo([()=>e.checked,()=>e.value],([e,t])=>{o.value=e,i.value=t});const{uniCheckGroup:s,uniLabel:l}=function(e,t,n){const o=la(()=>({checkboxChecked:Boolean(e.value),value:t.value})),r={reset:n},i=ei(Vp,!1);i&&i.addField(o);const a=ei(Zu,!1);a&&a.addField(r);const s=ei(td,!1);return Cr(()=>{i&&i.removeField(o),a&&a.removeField(r)}),{uniCheckGroup:i,uniForm:a,uniLabel:s}}(o,i,()=>{o.value=!1}),c=t=>{e.disabled||(o.value=!o.value,s&&s.checkboxChange(t),t.stopPropagation())};return l&&(l.addHandler(c),Cr(()=>{l.removeHandler(c)})),od(e,{"label-click":c}),()=>{const r=Qu(e,"disabled");let i;return i=o.value,Vi("uni-checkbox",Ui(r,{id:e.id,onClick:c,ref:n}),[Vi("div",{class:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":e.activeBorderColor}},[Vi("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}],style:a.value},[i?ru(tu,e.disabled?"#ADADAD":e.foreColor||e.iconColor||e.color,22):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});function qp(){}const Fp={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 Hp(e,t,n){function o(e){const t=la(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",qp,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",qp,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}Bo(()=>t.value,e=>e&&o(e))}const Wp={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},zp={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Up={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"]},Yp=Uu({name:"Image",props:Wp,setup(e,{emit:t}){const n=Vn(null),o=function(e,t){const n=Vn(""),o=la(()=>{let e="auto",o="";const r=Up[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=Cn({rootEl:e,src:la(()=>t.src?_p(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return br(()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0}),r}(n,e),r=Ku(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=zp[o];if(!r)return;const{origWidth:i,origHeight:a}=n,s=i&&a?i/a:0;if(!s)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){Xp&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,s))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Bo(()=>t.mode,(e,t)=>{zp[t]&&r(),zp[e]&&o()}),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;s(u,d,l),io(()=>{o()}),i.draggable=t.draggable,a&&a.remove(),a=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{s(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Bo(()=>e.src,e=>l(e)),Bo(()=>e.imgSrc,e=>{!e&&a&&(a.remove(),a=null)}),br(()=>l(e.src)),Cr(()=>c())}(o,e,n,i,r),()=>Vi("uni-image",{ref:n},[Vi("div",{style:o.modeStyle},null,4),zp[e.mode]?Vi(jp,{onResize:i},null,8,["onResize"]):Vi("span",null,null)],512)}});const Xp="Google Inc."===navigator.vendor;const Kp=Je(!0),Gp=[];let Jp=0,Qp=!1;const Zp=e=>Gp.forEach(t=>t.userAction=e);function eh(e={userAction:!1}){if(!Qp){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!Jp&&Zp(!0),Jp++,setTimeout(()=>{! --Jp&&Zp(!1)},0)},Kp)}),Qp=!0}Gp.push(e)}function th(){const e=Cn({userAction:!1});return br(()=>{eh(e)}),Cr(()=>{!function(e){const t=Gp.indexOf(e);t>=0&&Gp.splice(t,1)}(e)}),{state:e}}function nh(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 oh(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const rh=["none","text","decimal","numeric","tel","search","email","url"],ih=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=>!!~rh.indexOf(e)},cursorColor:{type:String,default:""}},Fp),ah=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function sh(e,t,n,o,r){let i=null,a=null;a=ot(n=>{const o=r.value,a=oh(n,e.type);o&&document.activeElement===o&&a===i||(t.value=a)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Bo(()=>e.modelValue,a),Bo(()=>e.value,a);const s=function(e,t){let n,o,r=0;const i=function(...i){const a=Date.now();clearTimeout(n),o=()=>{o=null,r=a,e.apply(this,i)},a-r<t?n=setTimeout(o,t-(a-r)):o()};return i.cancel=function(){clearTimeout(n),o=null},i.flush=function(){clearTimeout(n),o&&o()},i}((e,t)=>{a.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return _r(()=>{a.cancel(),s.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{a.cancel(),i=t.value,s(e,t),n&&s.flush()}}}function lh(e,t){th();const n=la(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Bo(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),br(()=>{n.value&&io(o)})}function ch(e,t,n,o){xc(lu(),"getSelectedTextRange",nh);const{fieldRef:r,state:i,trigger:a}=function(e,t,n){const o=Vn(null),r=Ku(t,n),i=la(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),a=la(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),s=la(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=la(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=oh(e.modelValue,e.type)||oh(e.value,e.type);const u=Cn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return Bo(()=>u.focus,e=>n("update:focus",e)),Bo(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:s}=sh(e,i,n,a,r);lh(e,r),Hp(0,r);const{state:l}=function(){const e=Cn({attrs:{}});return br(()=>{let t=Ji();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=ei(Zu,!1);if(!n)return;const o=Ji(),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),Cr(()=>{n.removeField(r)})}("name",i),function(e,t,n,o,r,i){function a(){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 s(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Bo([()=>t.selectionStart,()=>t.selectionEnd],a),Bo(()=>t.cursor,s),Bo(()=>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}),a(),s()}),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,a,s,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const uh=Ue(()=>{{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 dh(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&&uh()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function fh(e){return"insertFromPaste"===e.inputType}const ph=Uu({name:"Input",props:c({},ih,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...ah],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=la(()=>{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}),a=la(()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(A(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}),s=la(()=>{if(void 0!==e.inputmode)return e.inputmode;if(rh.includes(e.type))return e.type;let t={};return t={idcard:"text"},t[e.type]});let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Vn(null!=t?t.toLocaleString():"");return Bo(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),Bo(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return Vn("")}(e,i),c={fn:null};const u=Vn(null),{fieldRef:d,state:f,scopedAttrsState:p,fixDisabledColor:h,trigger:g}=ch(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=dh(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=dh(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!fh(e))return n.value=l.value=t.value,!1}});Bo(()=>f.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),Bo(()=>e.maxlength,e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)});const m=["number","digit"],v=la(()=>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?Vi("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:s.value,onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","inputmode","onFocus"]):Vi("input",{key:"input",ref:d,value:f.value,onInput:rs(e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?fh(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:a.value,onKeyup:y,inputmode:s.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Vi("uni-input",{ref:u},[Vi("div",{class:"uni-input-wrapper"},[qo(Vi("div",Ui(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Pa,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?Vi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const hh=["class","style"],gh=/^on[A-Z]+/,mh=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Ji(),r=Dn({}),i=Dn({}),a=Dn({}),s=n.concat(hh);return o.attrs=Cn(o.attrs),Ro(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:gh.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,a.value=e.exclude}),{$attrs:r,$listeners:i,$excludeAttrs:a}};function vh(e){const t=[];return p(e)&&e.forEach(e=>{Li(e)?e.type===wi?t.push(...vh(e.children)):t.push(e):p(e)&&t.push(...vh(e))}),t}const yh=Uu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=Vn(null),o=Vn(!1);let{setContexts:r,events:i}=function(e,t){const n=Vn(0),o=Vn(0),r=Cn({x:null,y:null}),i=Vn(null);let a=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach(function(e){e._setScale(t)}):a&&a._setScale(t))}function c(e,n=s){let o=t.value;function r(e){for(let t=0;t<n.length;t++){const o=n[t];if(e===o.rootRef.value)return o}return e===o||e===document.body||e===document?null:r(e.parentNode)}return r(e)}const u=Xu(t=>{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(i.value=_h(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}}),d=Xu(e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==r.x&&i.value&&i.value>0){l(_h(n)/i.value)}r.x=n.x,r.y=n.y}}),f=Xu(t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?s.forEach(function(e){e._endScale()}):a&&a._endScale())});function p(){h(),s.forEach(function(e,t){e.setParent()})}function h(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0),o.value=r.height-["Top","Bottom"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0)}return Zr("movableAreaWidth",n),Zr("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:f,_resize:p}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=mh(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach(e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n}),br(()=>{i._resize(),o.value=!0});let u=[];const d=[];function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find(e=>n===e.rootRef.value);o&&e.push(Mn(o))}r(e)}return Zr("_isMounted",o),Zr("movableAreaRootRef",n),Zr("addMovableViewContext",e=>{d.push(e),f()}),Zr("removeMovableViewContext",e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}),()=>{const e=t.default&&t.default();return u=vh(e),Vi("uni-movable-area",Ui({ref:n},s.value,l.value,c),[Vi(jp,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function _h(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const bh=function(e,t,n,o){e.addEventListener(t,e=>{m(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let wh,xh;function Ch(e,t,n){Cr(()=>{document.removeEventListener("mousemove",wh),document.removeEventListener("mouseup",xh)});let o=0,r=0,i=0,a=0;const s=function(e,n,s,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:l,dx:s-o,dy:l-r,ddx:s-i,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;bh(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=a=e.touches[0].pageY,s(e,"start",o,r)}),bh(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=a=e.pageY,s(e,"start",o,r)}),bh(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,a=e.touches[0].pageY,t}});const d=wh=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return i=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),bh(e,"touchend",function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const f=xh=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),bh(e,"touchcancel",function(e){if(u){l=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}function kh(e,t,n){return e>t-n&&e<t+n}function Sh(e,t){return kh(e,0,t)}function Th(){}function Eh(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Oh(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function $h(e,t,n){this._springX=new Oh(e,t,n),this._springY=new Oh(e,t,n),this._springScale=new Oh(e,t,n),this._startTime=0}Th.prototype.x=function(e){return Math.sqrt(e)},Eh.prototype.setV=function(e,t){const n=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},Eh.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Eh.prototype.s=function(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},Eh.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},Eh.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},Eh.prototype.dt=function(){return-this._x_v/this._x_a},Eh.prototype.done=function(){const e=kh(this.s().x,this._endPositionX)||kh(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Eh.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Eh.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Oh.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,a=t/(r*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+a*e)*t+a*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}},Oh.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Oh.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Oh.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Sh(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Sh(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Sh(t,.1)&&(t=0),Sh(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Sh(o-e,.1)&&Sh(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Oh.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Oh.prototype.done=function(e){return e||(e=(new Date).getTime()),kh(this.x(),this._endPosition,.1)&&Sh(this.dx(),.1)},Oh.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},Oh.prototype.springConstant=function(){return this._k},Oh.prototype.damping=function(){return this._c},Oh.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},$h.prototype.setEnd=function(e,t,n,o){const r=(new Date).getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r},$h.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},$h.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},$h.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function Ah(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Ph=Uu({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.1},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=Vn(null),r=Ku(o,n),{setParent:i}=function(e,t,n){const o=ei("_isMounted",Vn(!1)),r=ei("addMovableViewContext",()=>{}),i=ei("removeMovableViewContext",()=>{});let a,s,l=Vn(1),c=Vn(1),u=Vn(!1),d=Vn(0),f=Vn(0),p=null,h=null,g=!1,m=null,v=null;const y=new Th,_=new Th,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=la(()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t}),x=new Eh(1,w.value);Bo(()=>e.disabled,()=>{z()});const{_updateOldScale:C,_endScale:k,_setScale:S,scaleValueSync:T,_updateBoundary:E,_updateOffset:O,_updateWH:$,_scaleOffset:A,minX:P,minY:M,maxX:L,maxY:R,FAandSFACancel:I,_getLimitXY:B,_setTransform:N,_revise:j,dampingNumber:V,xMove:D,yMove:q,xSync:F,ySync:H,_STD:W}=function(e,t,n,o,r,i,a,s,l,c){const u=la(()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t}),d=la(()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t}),f=Vn(Number(e.scaleValue)||1);Bo(f,e=>{N(e)}),Bo(u,()=>{B()}),Bo(d,()=>{B()}),Bo(()=>e.scaleValue,e=>{f.value=Number(e)||0});const{_updateBoundary:p,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:_,maxY:b}=function(e,t,n){const o=ei("movableAreaWidth",Vn(0)),r=ei("movableAreaHeight",Vn(0)),i=ei("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=Vn(0),c=Vn(0),u=Vn(0),d=Vn(0),f=Vn(0),p=Vn(0);function h(){let e=0-a.x+s.x,t=o.value-l.value-a.x-s.x;u.value=Math.min(e,t),f.value=Math.max(e,t);let n=0-a.y+s.y,i=r.value-c.value-a.y-s.y;d.value=Math.min(n,i),p.value=Math.max(n,i)}function g(){a.x=Rh(e.value,i.value),a.y=Ih(e.value,i.value)}function m(o){o=o||t.value,o=n(o);let r=e.value.getBoundingClientRect();c.value=r.height/t.value,l.value=r.width/t.value;let i=c.value*o,a=l.value*o;s.x=(a-l.value)/2,s.y=(i-c.value)/2}return{_updateBoundary:h,_updateOffset:g,_updateWH:m,_scaleOffset:s,minX:u,minY:d,maxX:f,maxY:p}}(t,o,I),{FAandSFACancel:w,_getLimitXY:x,_animationTo:C,_setTransform:k,_revise:S,dampingNumber:T,xMove:E,yMove:O,xSync:$,ySync:A,_STD:P}=function(e,t,n,o,r,i,a,s,l,c,u,d,f,p){const h=la(()=>{let e=Number(t.damping);return isNaN(e)?20:e}),g=la(()=>"all"===t.direction||"horizontal"===t.direction),m=la(()=>"all"===t.direction||"vertical"===t.direction),v=Vn(Nh(t.x)),y=Vn(Nh(t.y));Bo(()=>t.x,e=>{v.value=Nh(e)}),Bo(()=>t.y,e=>{y.value=Nh(e)}),Bo(v,e=>{S(e)}),Bo(y,e=>{T(e)});const _=new $h(1,9*Math.pow(h.value,2)/40,h.value);function b(e,t){let n=!1;return e>r.value?(e=r.value,n=!0):e<a.value&&(e=a.value,n=!0),t>i.value?(t=i.value,n=!0):t<s.value&&(t=s.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function x(e,n,r,i,a,s){w(),g.value||(e=l.value),m.value||(n=c.value),t.scale||(r=o.value);let d=b(e,n);e=d.x,n=d.y,t.animation?(_._springX._solution=null,_._springY._solution=null,_._springScale._solution=null,_._springX._endPosition=l.value,_._springY._endPosition=c.value,_._springScale._endPosition=o.value,_.setEnd(e,n,r,1),u=Bh(_,function(){let e=_.x();C(e.x,e.y,e.scale,i,a,s)},function(){u.cancel()})):C(e,n,r,i,a,s)}function C(r,i,a,s="",u,d){null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=l.value||0),null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=c.value||0),r=Number(r.toFixed(1)),i=Number(i.toFixed(1)),a=Number(a.toFixed(1)),l.value===r&&c.value===i||u||p("change",{},{x:Ah(r,n.x),y:Ah(i,n.y),source:s}),t.scale||(a=o.value),a=+(a=f(a)).toFixed(3),d&&a!==o.value&&p("scale",{},{x:r,y:i,scale:a});let h="translateX("+r+"px) translateY("+i+"px) translateZ(0px) scale("+a+")";e.value&&(e.value.style.transform=h,e.value.style.webkitTransform=h,l.value=r,c.value=i,o.value=a)}function k(e){let t=b(l.value,c.value),n=t.x,r=t.y,i=t.outOfBounds;return i&&x(n,r,o.value,e),i}function S(e){if(g.value){if(e+n.x===l.value)return l;u&&u.cancel(),x(e+n.x,y.value+n.y,o.value)}return e}function T(e){if(m.value){if(e+n.y===c.value)return c;u&&u.cancel(),x(v.value+n.x,e+n.y,o.value)}return e}return{FAandSFACancel:w,_getLimitXY:b,_animationTo:x,_setTransform:C,_revise:k,dampingNumber:h,xMove:g,yMove:m,xSync:v,ySync:y,_STD:_}}(t,e,m,o,_,b,v,y,a,s,l,c,I,n);function M(t,n){if(e.scale){t=I(t),g(t),p();const e=x(a.value,s.value),o=e.x,r=e.y;n?C(o,r,t,"",!0,!0):Lh(function(){k(o,r,t,"",!0,!0)})}}function L(){i.value=!0}function R(e){r.value=e}function I(e){return e=Math.max(.1,u.value,e),e=Math.min(10,d.value,e)}function B(){if(!e.scale)return!1;M(o.value,!0),R(o.value)}function N(t){return!!e.scale&&(M(t=I(t),!0),R(t),t)}function j(){i.value=!1,R(o.value)}function V(e){e&&(e=r.value*e,L(),M(e))}return{_updateOldScale:R,_endScale:j,_setScale:V,scaleValueSync:f,_updateBoundary:p,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:_,maxY:b,FAandSFACancel:w,_getLimitXY:x,_animationTo:C,_setTransform:k,_revise:S,dampingNumber:T,xMove:E,yMove:O,xSync:$,ySync:A,_STD:P}}(e,n,t,l,c,u,d,f,p,h);function z(){u.value||e.disabled||(I(),b.historyX=[0,0],b.historyY=[0,0],b.historyT=[0,0],D.value&&(a=d.value),q.value&&(s=f.value),n.value.style.willChange="transform",m=null,v=null,g=!0)}function U(t){if(!u.value&&!e.disabled&&g){let n=d.value,o=f.value;if(null===v&&(v=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),D.value&&(n=t.detail.dx+a,b.historyX.shift(),b.historyX.push(n),q.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),q.value&&(o=t.detail.dy+s,b.historyY.shift(),b.historyY.push(o),D.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),b.historyT.shift(),b.historyT.push(t.detail.timeStamp),!m){t.preventDefault();let r="touch";n<P.value?e.outOfBounds?(r="touch-out-of-bounds",n=P.value-y.x(P.value-n)):n=P.value:n>L.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=L.value+y.x(n-L.value)):n=L.value),o<M.value?e.outOfBounds?(r="touch-out-of-bounds",o=M.value-_.x(M.value-o)):o=M.value:o>R.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=R.value+_.x(o-R.value)):o=R.value),Lh(function(){N(n,o,l.value,r)})}}}function Y(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!j("out-of-bounds")&&e.inertia)){const e=1e3*(b.historyX[1]-b.historyX[0])/(b.historyT[1]-b.historyT[0]),t=1e3*(b.historyY[1]-b.historyY[0])/(b.historyT[1]-b.historyT[0]),n=d.value,o=f.value;x.setV(e,t),x.setS(n,o);const r=x.delta().x,i=x.delta().y;let a=r+n,s=i+o;a<P.value?(a=P.value,s=o+(P.value-n)*i/r):a>L.value&&(a=L.value,s=o+(L.value-n)*i/r),s<M.value?(s=M.value,a=n+(M.value-o)*r/i):s>R.value&&(s=R.value,a=n+(R.value-o)*r/i),x.setEnd(a,s),h=Bh(x,function(){let e=x.s(),t=e.x,n=e.y;N(t,n,l.value,"friction")},function(){h.cancel()})}e.outOfBounds||e.inertia||I()}function X(){if(!o.value)return;I();let t=e.scale?T.value:1;O(),$(t),E();let n=B(F.value+A.x,H.value+A.y),r=n.x,i=n.y;N(r,i,t,"",!0),C(t)}return br(()=>{Ch(n.value,e=>{switch(e.detail.state){case"start":z();break;case"move":U(e);break;case"end":Y()}}),X(),x.reconfigure(1,w.value),W.reconfigure(1,9*Math.pow(V.value,2)/40,V.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:X,_endScale:k,_setScale:S};r(e),kr(()=>{i(e)})}),kr(()=>{I()}),{setParent:X}}(e,r,o);return()=>Vi("uni-movable-view",{ref:o},[Vi(jp,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Mh=!1;function Lh(e){Mh||(Mh=!0,requestAnimationFrame(function(){e(),Mh=!1}))}function Rh(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Rh(e.offsetParent,t):0}function Ih(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Ih(e.offsetParent,t):0}function Bh(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function Nh(e){return/\d+[ur]px$/i.test(e)?Jd(parseFloat(e)):Number(e)||0}function jh(e,t,n,o,r,i){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,f=1,p=null,h=!1,g=0,m="";const v=la(()=>n.value.length>t.displayMultipleItems),y=la(()=>e.circular&&v.value);function _(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,i=r.length,a=o+t.displayMultipleItems,s=0;s<i;s++){const t=r[s],n=Math.floor(o/i)*i+s,l=n+i,c=n-i,u=Math.max(o-(n+1),n-a,0),d=Math.max(o-(l+1),l-a,0),f=Math.max(o-(c+1),c-a,0),p=Math.min(u,d,f),h=[n,l,c][[u,d,f].indexOf(p)];t.updatePosition(h,e.vertical)}}(r);const a="translate("+(e.vertical?"0":100*-r*f+"%")+", "+(e.vertical?100*-r*f+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=a,l.style.transform=a),d=r,!s){if(r%1==0)return;s=r}r-=Math.floor(s);const c=n.value;r<=-(c.length-1)?r+=c.length:r>=c.length&&(r-=c.length),r=s%1>.5||s<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function b(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,o=e.toPos,r=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){_(o),p=null,h=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}_(o+r*u*u/2),l=requestAnimationFrame(x)}function C(e,o,r){w();const i=t.duration,a=n.value.length;let s=d;if(y.value)if(r<0){for(;s<e;)s+=a;for(;s-a>e;)s-=a}else if(r>0){for(;s>e;)s-=a;for(;s+a<e;)s+=a;s+a-e<e-s&&(s+=a)}else{for(;s+a<e;)s+=a;for(;s-a>e;)s-=a;s+a-e<e-s&&(s+=a)}else"click"===o&&(e=e+t.displayMultipleItems-1<a?e:0);p={toPos:e,acc:2*(s-e)/(i*i),endTime:Date.now()+i,source:o},h||(h=!0,l=requestAnimationFrame(x))}function k(){a();const e=n.value,o=function(){c=null,m="autoplay",y.value?t.current=b(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,C(t.current,"autoplay",y.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function S(e){e?k():a()}return Bo([()=>e.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;t<r.length;t++){if(r[t].getItemId()===e.currentItemId){o=t;break}}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(m="",t.current=o)}),Bo([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){a(),p&&(_(p.toPos),p=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);f=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();f=e.width/t.width,f>0&&f<1||(f=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(_(s+l-g),g=l):(_(l),e.autoplay&&k())):(u=!0,_(-t.displayMultipleItems-1))}),Bo(()=>t.interval,()=>{c&&(a(),k())}),Bo(()=>t.current,(e,o)=>{!function(e,o){const r=m;m="";const a=n.value;if(!r){const t=a.length;C(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)}),Bo(()=>t.currentItemId,e=>{r("update:currentItemId",e)}),Bo(()=>e.autoplay&&!t.userTracking,S),S(e.autoplay&&!t.userTracking),br(()=>{let r=!1,i=0,s=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=b(d+o);e?C(t.current,"",0):(m="touch",t.current=r,C(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}Ch(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,a(),g=d,i=0,s=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&k())}return function(r){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),_(n)}const d=s-a||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}},!0)}),kr(()=>{a(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){C(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Vh=Uu({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Vn(null),r=Ku(o,n),i=Vn(null),a=Vn(null),s=function(e){return Cn({interval:la(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:la(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:la(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=la(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Qc(e.previousMargin,!0),bottom:Qc(e.nextMargin,!0)}:{top:0,bottom:0,left:Qc(e.previousMargin,!0),right:Qc(e.nextMargin,!0)}),t}),c=la(()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],f=Vn([]);function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find(e=>n===e.rootRef.value);o&&e.push(Mn(o))}f.value=e}Zr("addSwiperContext",function(e){d.push(e),p()});Zr("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())});const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=jh(e,s,f,a,n,r);let v=()=>null;return v=Dh(o,e,s,h,f,g,m),()=>{const n=t.default&&t.default();return u=vh(n),Vi("uni-swiper",{ref:o},[Vi("div",{ref:i,class:"uni-swiper-wrapper"},[Vi("div",{class:"uni-swiper-slides",style:l.value},[Vi("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Vi("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map((t,n,o)=>Vi("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<s.current+s.displayMultipleItems&&n>=s.current||n<s.current+s.displayMultipleItems-o.length},style:{background:n===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"]))],2),v()],512)],512)}}}),Dh=(e,t,n,o,r,i,a)=>{let s=!1,l=!1,u=!1,d=Vn(!1);function f(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Ro(()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,_()}),Ro(()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(l=!0,u=!0,s&&(d.value=!0))});const p={onMouseover:e=>f(e,"over"),onMouseout:e=>f(e,"out")};function h(e,t,a){if(e.stopPropagation(),a)return;const s=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=s-1);break;case"next":l++,l>=s&&i.value&&(l=0)}o(l)}const g=()=>ru(ou,t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:a,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(r-s<u/3||l-r<u/3):!(o-i<c/3||a-o<c/3),f)return m=setTimeout(()=>{d.value=f},300);d.value=f},y=()=>{d.value=!0};function _(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),s&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return br(_),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Vi(wi,null,[Vi("div",Ui({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},p),[g()],16,["onClick"]),Vi("div",Ui({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>h(e,"next",u)},p),[g()],16,["onClick"])]):null}},qh=Uu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Vn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,a=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=a,i.style.transform=a)}};return br(()=>{const e=ei("addSwiperContext");e&&e(o)}),kr(()=>{const e=ei("removeSwiperContext");e&&e(o)}),()=>Vi("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Fh=Uu({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){const n=Vn(null),o=Vn(e.checked),r=function(e,t){const n=ei(Zu,!1),o=ei(td,!1),r={submit:()=>{const n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(r),kr(()=>{n.removeField(r)}));return o}(e,o),i=Ku(n,t);Bo(()=>e.checked,e=>{o.value=e});const a=t=>{e.disabled||(o.value=!o.value,i("change",t,{value:o.value}))};return r&&(r.addHandler(a),Cr(()=>{r.removeHandler(a)})),od(e,{"label-click":a}),()=>{const{color:t,type:r}=e,i=Qu(e,"disabled"),s={};let l;return t&&o.value&&(s.backgroundColor=t,s.borderColor=t),l=o.value,Vi("uni-switch",Ui({id:e.id,ref:n},i,{onClick:a}),[Vi("div",{class:"uni-switch-wrapper"},[qo(Vi("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:s},null,6),[[Pa,"switch"===r]]),qo(Vi("div",{class:"uni-checkbox-input"},[l?ru(tu,e.color,22):""],512),[[Pa,"checkbox"===r]])])],16,["id","onClick"])}}});const Hh={ensp:" ",emsp:" ",nbsp:" "};function Wh(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Hh[t]&&" "===i&&(i=Hh[t]),r?(o+="n"===i?te:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/&nbsp;/g,Hh.nbsp).replace(/&ensp;/g,Hh.ensp).replace(/&emsp;/g,Hh.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'"):o}(e,t).split(te)}const zh=Uu({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Vn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==Ci){let n=[];n=Wh(t.children,{space:e.space,decode:e.decode});const r=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(qi(e)),t!==r&&o.push(Vi("br"))})}else o.push(t)}),Vi("uni-text",{ref:n,selectable:!!e.selectable||null},[Vi("span",null,o)],8,["selectable"])}}}),Uh=c({},ih,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Xh.concat("return").includes(e)}});let Yh=!1;const Xh=["done","go","next","search","send"];const Kh=Uu({name:"Textarea",props:Uh,emits:["confirm","change","linechange",...ah],setup(e,{emit:t,expose:n}){const o=Vn(null),r=Vn(null),{fieldRef:i,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=ch(e,o,t),u=la(()=>a.value.split(te)),d=la(()=>Xh.includes(e.confirmType)),f=Vn(0),p=Vn(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:a.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return Bo(()=>f.value,t=>{const n=o.value,i=p.value,a=r.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=i.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(a.style.height=t+"px")}),function(){const e="(prefers-color-scheme: dark)";Yh=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),a.value=e.value}}),()=>{let t=e.disabled&&l?Vi("textarea",{key:"disabled-textarea",ref:i,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Yh},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Vi("textarea",{key:"textarea",ref:i,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Yh},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 Vi("uni-textarea",{ref:o,"auto-height":e.autoHeight},[Vi("div",{ref:r,class:"uni-textarea-wrapper"},[qo(Vi("div",Ui(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Pa,!a.value.length]]),Vi("div",{ref:p,class:"uni-textarea-line"},[" "],512),Vi("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[u.value.map(e=>Vi("div",null,[e.trim()?e:"."])),Vi(jp,{initial:!0,onResize:h},null,8,["initial","onResize"])],2),"search"===e.confirmType?Vi("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),Gh=Uu({name:"View",props:c({},Gu),setup(e,{slots:t}){const n=Vn(null),{hovering:o,binding:r}=Ju(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?Vi("uni-view",Ui({class:o.value?i:"",ref:n},r),[Ar(t,"default")],16):Vi("uni-view",{ref:n},[Ar(t,"default")],512)}}});function Jh(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Qh(e,t,n){e&&xc(n||lu(),e,({type:e,data:n},o)=>{t(e,n,o)})}function Zh(e,t){e&&function(e,t){t=wc(e,t),delete bc[t]}(t||lu(),e)}function eg(e,t,n,o){const r=Ji().proxy;o=null==o?iu():o,br(()=>{Qh(t||Jh(r),e,o),t||Bo(()=>r.id,(t,n)=>{Qh(Jh(r,t),e,o),Zh(n&&Jh(r,n))})}),Cr(()=>{Zh(t||Jh(r),o)})}function tg(e,t,n,o){m(t)&&vr(e,t.bind(n),o)}function ng(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))&&(at.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach(e=>tg(o,e,n,t)):tg(o,r,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,pu(n,de,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&pu(n,re)}catch(r){console.error(r.message+te+r.stack)}}}function og(e,t,n){ng(e,t,n)}function rg(e,t,n){return e[t]=n}function ig(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function ag(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[se]?pu(i.proxy,se,n):Kn(n,0,o&&o.$.vnode,!1)}}function sg(e,t){return e?[...new Set([].concat(e,t))]:t}function lg(e){const t=e.config;var n;t.errorHandler=lt(e,ag),n=t.optionMergeStrategies,at.forEach(e=>{n[e]=sg});const o=t.globalProperties;o.$set=rg,o.$applyOptions=og,o.$callMethod=ig,function(e){st.forEach(t=>t(e))}(e)}function cg(e){const t=Fl({history:fg(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:dg});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(ug[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let ug=Object.create(null);const dg=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,ug[o]);if(t)return t}return{left:0,top:0};var o};function fg(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),tl(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=op(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Kf(t[r]);rp(lp(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const pg={install(e){lg(e),Au(e),qu(e),e.config.warnHandler||(e.config.warnHandler=hg),cg(e)}};function hg(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 gg={class:"uni-async-loading"},mg=Vi("i",{class:"uni-loading"},null,-1),vg=Yu({name:"AsyncLoading",render:()=>(Ei(),Mi("div",gg,[mg]))});function yg(){window.location.reload()}const _g=Yu({name:"AsyncError",props:["error"],setup(){uc();const{t:e}=lc();return()=>Vi("div",{class:"uni-async-error",onClick:yg},[e("uni.async.error")],8,["onClick"])}});let bg;function wg(){return bg}function xg(e){bg=e,Object.defineProperty(bg.$.ctx,"$children",{get:()=>op().map(e=>e.$vm)});const t=bg.$.appContext.app;t.component(vg.name)||t.component(vg.name,vg),t.component(_g.name)||t.component(_g.name,_g),function(e){e.$vm=e,e.$mpType="app";const t=Vn(lc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(bg),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}})}(bg),Vu(),bu()}function Cg(e,{type:t,clone:n,init:o,setup:r,before:i,options:a}){n&&(e=c({},e)),i&&i(e);const s=e.setup;return e.setup=(e,t)=>{const n=Ji();if(o(n.proxy),r(n),s)return s(e,t)},e}function kg(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Cg(e.default,t):Cg(e,t)}function Sg(e,t){return kg(e,{type:"page",clone:!0,init:sp,setup(e){e.$pageInstance=e;const t=ud(),n=et(t.query);e.attrs.__pageQuery=n,Kf(e.proxy).options=n,e.proxy.options=n;const o=ld();var r;Uf(o),e.onReachBottom=Cn([]),e.onPageScroll=Cn([]),Bo([e.onReachBottom,e.onPageScroll],()=>{const t=au();e.proxy===t&&vp(e,o)},{once:!0}),_r(()=>{dp(e,o)}),br(()=>{fp(e);const{onReady:n}=e;n&&R(n),$g(t)}),dr(()=>{if(!e.__isVisible){dp(e,o),e.__isVisible=!0;{const{onShow:t}=e;t&&R(t)}io(()=>{$g(t)})}},"ba",r),function(e,t){dr(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&R(t)}}});const i=fu(e.proxy);return function(e){_v.subscribe(wc(e,vc),Cc)}(i),Cr(()=>{!function(e){_v.unsubscribe(wc(e,vc)),Object.keys(bc).forEach(t=>{0===t.indexOf(e+".")&&delete bc[t]})}(i)}),n}})}function Tg(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=im(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";bv.emit(ye,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Eg(e){C(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&bv.emit(Be,e.data.data,e.data.pageId)}function Og(){const{emit:e}=bv;"visible"===document.visibilityState?e(Re,c({},Np)):e(Ie)}function $g(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&pu("onTabItemTap",{index:n,text:t,pagePath:o})}const Ag=({name:e,arg:t})=>{if("postMessage"===e);else switch(e){case"navigateTo":qm(t);break;case"navigateBack":Dm(t);break;case"switchTab":If(t);break;case"reLaunch":Vf(t);break;case"redirectTo":Nf(t)}},Pg=Ue(()=>bv.on(Be,Ag)),Mg=Uu({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},emits:["load"],setup(e,{emit:t}){Pg();const n=Vn(null),o=Vn(null),{$attrs:r,$excludeAttrs:i,$listeners:a}=mh({excludeListeners:!0}),s=Ku(n,t);let l;return(()=>{const t=document.createElement("iframe");t.onload=function(t){s("load",t,{src:e.src})},Ro(()=>{for(const e in r.value)if(f(r.value,e)){const n=r.value[e];t[e]=n}}),Ro(()=>{t.src=_p(e.src)}),o.value=t,l=function(e,t,n){const o=()=>{var o,r;if(n){const{top:n,left:o,width:r,height:i}=e.value.getBoundingClientRect();ze(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else ze(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})};return o}(n,o,e.fullscreen),e.fullscreen&&document.body.appendChild(t)})(),br(()=>{var t;l(),!e.fullscreen&&(null==(t=n.value)||t.appendChild(o.value))}),cr(()=>{e.fullscreen&&(o.value.style.display="block")}),ur(()=>{e.fullscreen&&(o.value.style.display="none")}),Cr(()=>{e.fullscreen&&document.body.removeChild(o.value)}),()=>Vi(wi,null,[Vi("uni-web-view",Ui({class:e.fullscreen?"uni-webview--fullscreen":""},a.value,i.value,{ref:n}),[Vi(jp,{onResize:l},null,8,["onResize"])],16)])}});let Lg,Rg=0;function Ig(e,t,n,o){var r,i=document.createElement("script"),a=t.callback||"callback",s="__uni_jsonp_callback_"+Rg++,l=t.timeout||3e4;function c(){clearTimeout(r),delete window[s],i.remove()}window[s]=e=>{m(n)&&n(e),c()},i.onerror=()=>{m(o)&&o(),c()},r=setTimeout(function(){m(o)&&o(),c()},l),i.src=e+(e.indexOf("?")>=0?"&":"?")+a+"="+s,document.body.appendChild(i)}function Bg(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",()=>{this.callback()}),this.Text.setMap(t.map)}function r(){}function i(){this.Text&&this.option.map.remove(this.Text)}function a(){this.Text&&this.option.map.remove(this.Text)}class s{constructor(e={},s){this.createAMapText=o,this.removeAMapText=i,this.createBMapText=r,this.removeBMapText=a,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(Wg())this.callback=s,this.visible&&this.createAMapText();else if(zg())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=l?"block":"none";const r=this.triangle=document.createElement("div");r.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(e),n.appendChild(r),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,Wg()?this.visible&&this.createAMapText():zg()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!Wg()&&!zg()){const t=new(e.OverlayView||e.Overlay);s.prototype.setMap=t.setMap,s.prototype.getMap=t.getMap,s.prototype.getPanes=t.getPanes,s.prototype.getProjection=t.getProjection,s.prototype.map_changed=t.map_changed,s.prototype.set=t.set,s.prototype.get=t.get,s.prototype.setOptions=t.setValues,s.prototype.bindTo=t.bindTo,s.prototype.bindsTo=t.bindsTo,s.prototype.notify=t.notify,s.prototype.setValues=t.setValues,s.prototype.unbind=t.unbind,s.prototype.unbindAll=t.unbindAll,s.prototype.addListener=t.addListener}return s}const Ng={};function jg(e,t){const n=qg();if(!n.key)return void console.error("Map key not configured.");const o=Ng[n.type]=Ng[n.type]||[];if(Lg)t(Lg);else if(window[n.type]&&window[n.type].maps)Lg=Wg()||zg()?window[n.type]:window[n.type].maps,Lg.Callout=Lg.Callout||Bg(Lg),t(Lg);else if(o.length)o.push(t);else{o.push(t);const r=window,i="__map_callback__"+n.type;r[i]=function(){delete r[i],Lg=Wg()||zg()?window[n.type]:window[n.type].maps,Lg.Callout=Bg(Lg),o.forEach(e=>e(Lg)),o.length=0},Wg()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const a=document.createElement("script");let s=Vg(n.type);n.type===Dg.QQ&&e.push("geometry"),e.length&&(s+=`libraries=${e.join("%2C")}&`),n.type===Dg.BMAP?a.src=`${s}ak=${n.key}&callback=${i}`:a.src=`${s}key=${n.key}&callback=${i}`,a.onerror=function(){console.error("Map load failed.")},document.body.appendChild(a)}}const Vg=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);var Dg=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Dg||{});function qg(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let Fg=!1,Hg=!1;const Wg=()=>Hg?Fg:(Hg=!0,Fg="AMap"===qg().type),zg=()=>"BMapGL"===qg().type;const Ug=Fd("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),Yg="__DC_STAT_UUID",Xg=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Kg;function Gg(){if(Kg=Kg||Xg[Yg],!Kg){Kg=Date.now()+""+Math.floor(1e7*Math.random());try{Xg[Yg]=Kg}catch(e){}}return Kg}function Jg(){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 Qg(){let e,t,n,o="0",r="phone",i="";const a=navigator.language;if(xp){n="iPhone",e="iOS";const r=bp.match(/OS\s([\w_]+)\slike/);r&&(o=r[1].replace(/_/g,"."));const i=o.split(".")[0];if(Number(i)>=18){const e=bp.match(/Version\/([\d\.]+)/);e&&(o=e[1])}const a=bp.match(/\(([a-zA-Z]+);/);a&&(t=a[1])}else if(wp){e="Android";const n=bp.match(/Android[\s/]([\w\.]+)[;\s]/);n&&(o=n[1]);const r=bp.match(/\((.+?)\)/),i=r?r[1].split(";"):bp.split(" "),a=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<i.length;e++){const n=i[e];if(n.indexOf("Build")>0){t=n.split("Build")[0].trim();break}let o;for(let e=0;e<a.length;e++)if(a[e].test(n)){o=!0;break}if(!o){t=n.trim();break}}}else if(Tp){if(n="iPad",t="iPad",e="iOS",r="pad",o=m(window.BigInt)?"14.0":"13.0",14===parseInt(o)){const e=bp.match(/Version\/(\S*)\b/);e&&(o=e[1])}}else if(Cp||kp||Sp){t="PC",e="PC",r="pc",o="0";let n=bp.match(/\((.+?)\)/)[1];if(Cp){switch(e="Windows",Cp[1]){case"5.1":o="XP";break;case"6.0":o="Vista";break;case"6.1":o="7";break;case"6.2":o="8";break;case"6.3":o="8.1";break;case"10.0":o="10"}const t=n&&n.match(/[Win|WOW]([\d]+)/);t&&(o+=` x${t[1]}`)}else if(kp){e="macos",i="mac";const t=n&&n.match(/Mac OS X (.+)/)||"";o&&(o=t[1].replace(/_/g,"."),-1!==o.indexOf(";")&&(o=o.split(";")[0]))}else if(Sp){e="Linux";const t=n&&n.match(/Linux (.*)/)||"";t&&(o=t[1],-1!==o.indexOf(";")&&(o=o.split(";")[0]))}}else if(Ep){n="HUAWEI",e="harmonyos",r=Op?"pc":$p?"pad":"phone";const i=bp.match(/OpenHarmony\s([\d\.]+)/);i&&(o=i[1]),t=void 0}else e="Other",o="0",r="unknown";const s=`${e} ${o}`;i||(i=e.toLowerCase());let l="",c=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==c)l="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(bp)&&(l=t[n],c=bp.match(r)[2])}}let u="portrait";if(window.matchMedia)try{window.matchMedia("(orientation:landscape)").matches&&(u="landscape")}catch(d){}return"portrait"===u&&void 0!==window.screen.orientation&&(u=[90,270].includes(window.screen.orientation.angle)?"landscape":"portrait"),"portrait"===u&&null!=window.orientation&&(u=90===Math.abs(window.orientation)?"landscape":"portrait"),{deviceBrand:n,brand:n,deviceModel:t,deviceOrientation:u,model:t,system:s,platform:i,browserName:l.toLocaleLowerCase(),browserVersion:c,language:a,deviceType:r,ua:bp,osname:e,osversion:o,theme:Jg()}}const Zg=qd(0,()=>{const e=window.devicePixelRatio,t=Ap(),n=Pp(t),o=Mp(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Lp();let a=window.innerHeight;const s=Wc.top,l={left:Wc.left,right:i-Wc.right,top:Wc.top,bottom:a-Wc.bottom,width:i-Wc.left-Wc.right,height:a-Wc.top-Wc.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=Xc(),n=Yc(e,"--window-bottom"),o=Yc(e,"--window-left"),r=Yc(e,"--window-right"),i=Yc(e,"--top-window-height");return{top:t,bottom:n?n+Wc.bottom:0,left:o?o+Wc.left:0,right:r?r+Wc.right:0,topWindowHeight:i||0}}();return a-=c,a-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:Wc.top,right:Wc.right,bottom:Wc.bottom,left:Wc.left},screenTop:r-a}});let em,tm=!0;function nm(){tm&&(em=Qg())}const om=qd(0,()=>{nm();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:a,deviceType:s,osname:l,osversion:u}=em;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Gg(),deviceOrientation:a,deviceType:s,model:o,osName:l?l.toLowerCase():void 0,osVersion:u,platform:r,system:i})}),rm=qd(0,()=>{nm();const{theme:e,language:t,browserName:n,browserVersion:o}=em;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Qd?Qd():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:""},{})}),im=qd(0,()=>{tm=!0,nm(),tm=!1;const e=Zg(),t=om(),n=rm();tm=!0;const{ua:o,browserName:r,browserVersion:i,osname:a,osversion:s}=em,l=c(e,t,n,{browserName:r,browserVersion:i,fontSizeSetting:void 0,osName:a.toLowerCase(),osVersion:s,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 am=Fd("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],r=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.setAttribute("inputmode","none"),r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const i=document.execCommand("Copy",!1);r.blur(),i?t():n()}(e,t,n)}},new Promise((e,t)=>{var i=e=>{try{s(r.next(e))}catch(n){t(n)}},a=e=>{try{s(r.throw(e))}catch(n){t(n)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,a);s((r=r.apply(n,o)).next())});var n,o,r},0,ef);const sm=qd(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function lm(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 cm=qd(0,e=>{try{return lm(e)}catch(t){return""}}),um=qd(0,e=>{localStorage&&localStorage.removeItem(e)});const dm=Fd("getImageInfo",({src:e},{resolve:t,reject:n})=>{const o=new Image;o.onload=function(){t({width:o.naturalWidth,height:o.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},o.onerror=function(){n()},o.src=e},0,rf),fm={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};let pm=null;const hm=Fd("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{hc();const{t:i}=lc();pm&&(document.body.removeChild(pm),pm=null),pm=function({count:e,sourceType:t,type:n,extension:o}){eh();const r=document.createElement("input");return r.type="file",ze(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map(e=>{{const t=e.replace(".","");return`${n}/${fm[n][t]||t}`}}).join(","),e&&e>1&&(r.multiple=!0),t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(pm),pm.addEventListener("cancel",()=>{r("chooseImage:fail cancel")}),pm.addEventListener("change",function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o<t;o++){const t=n.files[o];let i;Object.defineProperty(t,"path",{get:()=>(i=i||Ip(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map(({path:e})=>e)},tempFiles:r})}),pm.click(),Jp||console.warn(i("uni.chooseFile.notUserActivation"))},0,of),gm={esc:["Esc","Escape"],enter:["Enter"]},mm=Object.keys(gm);function vm(){const e=Vn(""),t=Vn(!1),n=n=>{if(t.value)return;const o=mm.find(e=>-1!==gm[e].indexOf(n.key));o&&(e.value=o),io(()=>e.value="")};return br(()=>{document.addEventListener("keyup",n)}),Cr(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const ym=Vi("div",{class:"uni-mask"},null,-1);function _m(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ss(er({setup:()=>()=>(Ei(),Mi(e,t,null,16))}))}function bm(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function wm(e,{onEsc:t,onEnter:n}){const o=Vn(e.visible),{key:r,disable:i}=vm();return Bo(()=>e.visible,e=>o.value=e),Bo(()=>o.value,e=>i.value=!e),Ro(()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}let xm=0,Cm="";function km(e){let t=xm;xm+=e?1:-1,xm=Math.max(0,xm),xm>0?0===t&&(Cm=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Cm,Cm="")}const Sm=Yu({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Cn({direction:"none"});let n=1,o=0,r=0,i=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function c(e){const t=e.target.getBoundingClientRect();i=t.width,a=t.height,d(e)}function u(e){const s=n*o>i,l=n*r>a;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return Vi(yh,{style:n,onTouchstart:Xu(c),onTouchmove:Xu(d),onTouchend:Xu(u)},{default:()=>[Vi(Ph,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[Vi("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function Tm(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Em=Yu({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){br(()=>km(!0)),kr(()=>km(!1));const{key:n}=vm(),o=Vn(null),r=Vn(Tm(e));let i;function a(){i||io(()=>{t("close")})}function s(e){r.value=e.detail.current}Bo(()=>e.current,()=>r.value=Tm(e)),Bo(()=>n.value,e=>{"esc"===e&&a()}),br(()=>{const e=o.value;let t=0,n=0;e.addEventListener("mousedown",e=>{i=!1,t=e.clientX,n=e.clientY}),e.addEventListener("mouseup",e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-n)>20)&&(i=!0)})});const l={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return Vi("div",{ref:o,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:a},[Vi(Vh,{navigation:"auto",current:r.value,onChange:s,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(n=t=e.urls.map(e=>Vi(qh,null,{default:()=>[Vi(Sm,{src:e},null,8,["src"])]})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!Li(n)?t:{default:()=>[t],_:1}),8,["current","onChange"]),Vi("div",{style:l},[ru("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var n}}});let Om,$m=null;const Am=()=>{$m=null,io(()=>{null==Om||Om.unmount(),Om=null})},Pm=Fd("previewImage",(e,{resolve:t})=>{$m?c($m,e):($m=Cn(e),io(()=>{Om=_m(Em,$m,Am),Om.mount(bm("u-a-p"))})),t()},0,af),Mm=Dd("request",({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:a,withCredentials:s,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(a){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,a=t.signal;h=new Rm(t);const f={method:o,headers:n,body:d,signal:a,credentials:s?"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,a={};n.forEach((e,t)=>{a[t]=e});const s=Lm(a);if(h._emitter.emit("headersReceived",{header:a,statusCode:t,cookies:s}),!o)return void c({data:"",statusCode:t,header:a,cookies:s});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=Bm(n,i,r)),void c({data:n,statusCode:t,header:a,cookies:s})}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 Rm(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const a=setTimeout(function(){t.onload=t.onabort=t.onerror=null,h.abort(),u("timeout",{errCode:5})},l);t.responseType=i,t.onload=function(){clearTimeout(a);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=Bm(n,i,r)),c({data:n,statusCode:e,header:Im(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(a),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(a),u(void 0,{errCode:5})},t.withCredentials=s,t.send(d)}return h},0,uf),Lm=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;r<o.length;r++)-1!==o[r].indexOf("Expires=")||-1!==o[r].indexOf("expires=")?n.push(o[r].replace(",","")):n.push(o[r]);return n=n.join(";").split(","),n};class Rm{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new ut,this._controller=e}abort(){this._controller&&(this._controller.abort(),delete this._controller)}onHeadersReceived(e){return this._emitter.on("headersReceived",e),this._requestOnHeadersReceiveCallbackId++,this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId,e),this._requestOnHeadersReceiveCallbackId}offHeadersReceived(e){if(null==e)return void this._emitter.off("headersReceived");if("function"==typeof e)return void this._requestOnHeadersReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))});const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))});const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function Im(e){const t={};return e.split(te).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function Bm(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class Nm{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 jm=Dd("downloadFile",({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,a=new XMLHttpRequest,s=new Nm(a);return a.open("GET",e,!0),Object.keys(t).forEach(e=>{a.setRequestHeader(e,t[e])}),a.responseType="blob",a.onload=function(){clearTimeout(i);const t=a.status,n=this.response;let r;const s=a.getResponseHeader("content-disposition");if(s){const e=s.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:Ip(n)})},a.onabort=function(){clearTimeout(i),r("abort",{errCode:600003})},a.onerror=function(){clearTimeout(i),r("",{errCode:602001})},a.onprogress=function(e){s._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})})},a.send(),i=setTimeout(function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),r("timeout",{errCode:5})},n),s},0,df),Vm=Fd("getLocation",({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:i})=>{const a=qg();new Promise((e,r)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>e({coords:t.coords}),r,{enableHighAccuracy:o||t,timeout:n||1e5}):r(new Error("device nonsupport geolocation"))}).catch(e=>new Promise((t,n)=>{a.type===Dg.QQ?Ig(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${a.key}`,{callback:"callback"},e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))},()=>n(new Error("network error"))):a.type===Dg.GOOGLE?Mm({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${a.key}`,success(e){const o=e.data;"location"in o?t({coords:{latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):a.type===Dg.AMAP?jg([],()=>{window.AMap.plugin("AMap.Geolocation",()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition((e,o)=>{"complete"===e?t({coords:{latitude:o.position.lat,longitude:o.position.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.message))})})}):n(e)})).then(({coords:t,skip:n})=>{(function(e,t,n){const o=qg();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise(e=>{Ig(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},n=>{if("locations"in n&&n.locations.length){const{lng:o,lat:r}=n.locations[0];e({longitude:o,latitude:r,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)},()=>e(t))}):"AMap"===o.type?new Promise(e=>{jg([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:r}=o.locations[0];e({longitude:r,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)})})}):Promise.reject(new Error("translate coordinate system faild, map provider not configured or not supported"))})(e,t,n).then(e=>{r({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})}).catch(e=>{i(e.message)})}).catch(e=>{i(e.message||JSON.stringify(e))})},0,nf),Dm=Fd("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===pu(_e,{from:e.from||"navigateBack"})&&(o=!1),o?(wg().$router.go(-e.delta),t()):n(_e)},0,xf),qm=Fd(pf,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Gf.handledBeforeEntryPageRoutes)return Df({type:pf,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Jf.push({args:{type:pf,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})},0,yf);function Fm(e){__uniConfig.darkmode&&bv.on(le,e)}function Hm(e){bv.off(le,e)}function Wm(e){let t={};return __uniConfig.darkmode&&(t=pt(e,__uniConfig.themeConfig,Jg())),__uniConfig.darkmode?t:e}const zm={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Um=er({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=Vn(""),o=()=>a.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),a=wm(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),s=function(e){const t=Vn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=zm[e].cancelColor})(e,t)};return Ro(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Jg()&&n({theme:"dark"}),Fm(n))):Hm(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,Vi(va,{name:"uni-fade"},{default:()=>[qo(Vi("uni-modal",{onTouchmove:zc},[ym,Vi("div",{class:"uni-modal"},[t?Vi("div",{class:"uni-modal__hd"},[Vi("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?Vi("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Vi("div",{class:"uni-modal__bd",onTouchmovePassive:Uc,textContent:o},null,40,["onTouchmovePassive","textContent"]),Vi("div",{class:"uni-modal__ft"},[l&&Vi("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),Vi("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Pa,a.value]])]})}}});let Ym;const Xm=Ue(()=>{bv.on("onHidePopup",()=>Ym.visible=!1)});let Km;function Gm(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Ym.editable&&(o.content=t),Km&&Km(o)}const Jm=Fd("showModal",(e,{resolve:t})=>{Xm(),Km=t,Ym?(c(Ym,e),Ym.visible=!0):(Ym=Cn(e),io(()=>(_m(Um,Ym,Gm).mount(bm("u-a-m")),io(()=>Ym.visible=!0))))},0,Of),Qm={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==$f.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Zm="uni-toast__icon",ev={light:"#fff",dark:"rgba(255,255,255,0.9)"},tv=e=>ev[e],nv=er({name:"Toast",props:Qm,setup(e){dc(),fc();const{Icon:t}=function(e){const t=Vn(tv(Jg())),n=({theme:e})=>t.value=tv(e);Ro(()=>{e.visible?Fm(n):Hm(n)});const o=la(()=>{switch(e.icon){case"success":return Vi(ru(tu,t.value,38),{class:Zm});case"error":return Vi(ru(nu,t.value,38),{class:Zm});case"loading":return Vi("i",{class:[Zm,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=wm(e,{});return()=>{const{mask:o,duration:r,title:i,image:a}=e;return Vi(va,{name:"uni-fade"},{default:()=>[qo(Vi("uni-toast",{"data-duration":r},[o?Vi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:zc},null,40,["onTouchmove"]):"",a||t.value?Vi("div",{class:"uni-toast"},[a?Vi("img",{src:a,class:Zm},null,10,["src"]):t.value,Vi("p",{class:"uni-toast__content"},[i])]):Vi("div",{class:"uni-sample-toast"},[Vi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Pa,n.value]])]})}}});let ov,rv,iv="";const av=vt();function sv(e){ov?c(ov,e):(ov=Cn(c(e,{visible:!1})),io(()=>{av.run(()=>{Bo([()=>ov.visible,()=>ov.duration],([e,t])=>{if(e){if(rv&&clearTimeout(rv),"onShowLoading"===iv)return;rv=setTimeout(()=>{cv("onHideToast")},t)}else rv&&clearTimeout(rv)})}),bv.on("onHidePopup",()=>cv("onHidePopup")),_m(nv,ov,()=>{}).mount(bm("u-a-t"))})),setTimeout(()=>{ov.visible=!0},10)}const lv=Fd("showToast",(e,{resolve:t,reject:n})=>{sv(e),iv="onShowToast",t()},0,Af);function cv(e){const{t:t}=lc();if(!iv)return;let n="";if("onHideToast"===e&&"onShowToast"!==iv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==iv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);iv="",setTimeout(()=>{ov.visible=!1},10)}function uv(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),bv.emit("onNavigationBarChange",{titleText:t})}Ro(t),cr(t)}const dv=Fd(Pf,(e,{resolve:t})=>{bv.invokeViewMethod(Pf,{},lu()),t()}),fv="0px",pv=Yu({name:"Layout",setup(e,{emit:t}){const n=Vn(null);Kc({"--status-bar-height":fv,"--top-window-height":fv,"--window-left":fv,"--window-right":fv,"--window-margin":fv,"--tab-bar-height":fv});const o=function(){const e=Hl();return{routeKey:la(()=>lp("/"+e.meta.route,dd())),isTabBar:la(()=>e.meta.isTabBar),routeCache:up}}(),{layoutState:r,windowState:i}=function(){ud();{const e=Cn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Bo(()=>e.marginWidth,e=>Kc({"--window-margin":e+"px"})),Bo(()=>e.leftWindowWidth+e.marginWidth,e=>{Kc({"--window-left":e+"px"})}),Bo(()=>e.rightWindowWidth+e.marginWidth,e=>{Kc({"--window-right":e+"px"})}),{layoutState:e,windowState:la(()=>({}))}}}();!function(e,t){const n=ud();function o(){const o=document.body.clientWidth,r=op();let i={};if(r.length>0){i=Kf(r[r.length-1]).meta}else{const e=_u(n.path,!0);e&&(i=e.meta)}const a=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>a,s&&a?(e.marginWidth=(o-a)/2,io(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")})):(e.marginWidth=0,io(()=>{const e=t.value;e&&e.removeAttribute("style")}))}Bo([()=>n.path],o),br(()=>{o(),window.addEventListener("resize",o)})}(r,n);const a=function(e){const t=Vn(!1);return la(()=>({"uni-app--showtabbar":e,"uni-app--maxwidth":t.value}))}(!1);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return Vi(ql,null,{default:wo(({Component:o})=>[(Ei(),Mi(sr,{matchBy:"key",cache:n},[(Ei(),Mi($o(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o);return Vi("uni-app",{ref:n,class:a.value},[e,!1],2)}}});const hv="scanCode",gv=Fd(hv,(mv=hv,(e,{reject:t})=>t(function(e){return`method 'uni.${e}' not supported`}(mv))));var mv;const vv=class e{constructor(){ic(this,"_adConfig",null),ic(this,"_isLoading",!1),ic(this,"_callbacks",[]),ic(this,"_configLast",0)}static get instance(){return e._instance||(e._instance=new e,e._instance._init()),e._instance}get adConfig(){return this._adConfig}get isExpired(){return null==this._adConfig||(!this._configLast||Math.abs(Date.now()-this._configLast)>e.CACHE_TIME)}_init(){var t=this._getConfig();null!==t&&t.last&&Math.abs(Date.now()-t.last)<=e.CACHE_TIME&&(this._adConfig=t.data,this._configLast=t.last)}get(t,n,o){if(e.IC++,null!=this._adConfig)return this._doCallback(t,n,o),void(this.isExpired&&this._loadAdConfig(t));this._callbacks.push({adpid:t,success:n,fail:o}),this._loadAdConfig(t)}_doCallback(t,n,o){e.IS++;var{a:r,b:i}=this._adConfig;const a=r[t];a?n(i,Array.isArray(a)?a:[a]):o(e.ERROR_INVALID_ADPID)}_loadAdConfig(t){if(!0===this._isLoading)return;this._isLoading=!0;const n="undefined"!=typeof __uniConfig?__uniConfig.appId??"":"";Mm({url:e.URL,method:"GET",timeout:8e3,data:{d:location.hostname,a:t,appid:n},dataType:"json",success:e=>{const t=e.data;if(0===t.ret){const e=t.data;this._adConfig=e,this._configLast=Date.now(),this._setConfig(e),this._callbacks.forEach(({adpid:e,success:t,fail:n})=>{this._doCallback(e,t,n)})}else this._callbacks.forEach(e=>{e.fail({errCode:t.ret,errMsg:t.msg})});this._callbacks=[]},fail:e=>{this._callbacks.forEach(t=>{t.fail(e)}),this._callbacks=[]},complete:e=>{this._isLoading=!1}})}_getConfig(){if(!navigator.cookieEnabled||!window.localStorage)return null;var t=localStorage.getItem(e.KEY);return t?JSON.parse(t):null}_setConfig(t){if(!navigator.cookieEnabled||!window.localStorage)return null;localStorage.setItem(e.KEY,JSON.stringify({last:Date.now(),data:t}))}};ic(vv,"IC",0),ic(vv,"IS",0),ic(vv,"URL","https://hac1.dcloud.net.cn/ah5v2"),ic(vv,"KEY","uni_app_ad_config"),ic(vv,"CACHE_TIME",6e5),ic(vv,"ERROR_INVALID_ADPID",{"-5002":"invalid adpid"});const yv=class e{static get instance(){return e._instance||(e._instance=new e),e._instance}constructor(){var e=this._getConfig();e&&e.guid?this._guid=e.guid:(this._guid=this._newGUID(),this._setConfig(this._guid))}get(e){this._process(Object.assign(e,{d:location.hostname,i:this._guid}))}_process(t){Mm({url:e.URL,method:"GET",data:t,dataType:"json",success:()=>{}})}_newGUID(){let e="";const t="xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx";for(let n=0;n<36;n++)e+="x"===t[n]?(16*Math.random()|0).toString(16):t[n];return e.toUpperCase()}_getConfig(){if(!navigator.cookieEnabled||!window.localStorage)return null;var t=localStorage.getItem(e.KEY);return t?JSON.parse(t):null}_setConfig(t){if(!navigator.cookieEnabled||!window.localStorage)return null;localStorage.setItem(e.KEY,JSON.stringify({last:Date.now(),guid:t}))}};ic(yv,"URL","https://has1.dcloud.net.cn/ahl"),ic(yv,"KEY","uni_app_ad_guid");const _v=c(kc,{publishHandler(e,t,n){bv.subscribeHandler(e,t,n)}}),bv=c(Lu,{publishHandler(e,t,n){_v.subscribeHandler(e,t,n)}}),wv=Yu({name:"PageHead",setup(){const e=Vn(null),t=ld(),n=function(e,t){const n=En(e),o=n?Cn(Wm(e)):Wm(e);return __uniConfig.darkmode&&n&&Bo(e,e=>{const t=Wm(e);for(const n in t)o[n]=t[n]}),t&&Fm(t),o}(t.navigationBar,()=>{const e=Wm(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor}),{clazz:o,style:r}=function(e){const t=la(()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,r={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(r[`uni-page-head-shadow-${o}`]=!0),r}),n=la(()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc}));return{clazz:t,style:n}}(n);return()=>{const i=function(e,t){if(!t)return Vi("div",{class:"uni-page-head-btn",onClick:Cv},[ru(ou,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),a=n.type||"default",s="transparent"!==a&&"float"!==a&&Vi("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return Vi("uni-page-head",{"uni-page-head-type":a},[Vi("div",{ref:e,class:o.value,style:r.value},[Vi("div",{class:"uni-page-head-hd"},[i]),xv(n),Vi("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function xv(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return Vi("div",{class:"uni-page-head-bd"},[Vi("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?Vi("i",{class:"uni-loading"},null):r?Vi("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function Cv(){1===np().length?Vf({url:"/"}):Dm({from:"backbutton",success(){}})}const kv={name:"PageRefresh",setup(){const{pullToRefresh:e}=ld();return{offset:e.offset,color:e.color}}},Sv=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Tv={class:"uni-page-refresh-inner"},Ev=["fill"],Ov=[ji("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),ji("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],$v={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},Av=["stroke"];const Pv=Sv(kv,[["render",function(e,t,n,o,r,i){return Ei(),Pi("uni-page-refresh",null,[ji("div",{style:qe({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[ji("div",Tv,[(Ei(),Pi("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},Ov,8,Ev)),(Ei(),Pi("svg",$v,[ji("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,Av)]))])],4)])}]]);function Mv(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter(e=>e.identifier===t)[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const Lv="pulling",Rv="reached",Iv="aborting",Bv="refreshing",Nv="restoring";function jv(e){const t=ld(),{id:n,pullToRefresh:o}=t,{range:r,height:i}=o;let a,s,l,c,u,d,f,p;eg(()=>{t.enablePullDownRefresh&&(p||(p=Bv,v(),setTimeout(()=>{x()},50)))},"startPullDownRefresh",0,n),eg(()=>{t.enablePullDownRefresh&&p===Bv&&(y(),p=Nv,v(),function(e){if(!s)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}(()=>{y(),p=h=g=null}))},Pf,0,n),br(()=>{a=e.value.$el,s=a.querySelector(".uni-page-refresh"),l=s.style,c=s.querySelector(".uni-page-refresh-inner").style});let h=null,g=null;function m(e){p&&a&&a.classList[e]("uni-page-refresh--"+p)}function v(){m("add")}function y(){m("remove")}const _=Xu(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,f=!([Iv,Bv,Nv].indexOf(p)>=0)}),b=Xu(e=>{if(!t.enablePullDownRefresh)return;if(!f)return;if(!Mv(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!p)return;e.cancelable&&e.preventDefault(),null===h&&(g=n,p=Lv,v()),n-=g,n<0&&(n=0),h=n;(n>=r&&p!==Rv||n<r&&p!==Lv)&&(y(),p=p===Rv?Lv:Rv,v()),function(e){if(!s)return;let t=e/r;t>1?t=1:t*=t*t;const n=Math.round(e/(r/i))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)}),w=Xu(e=>{t.enablePullDownRefresh&&Mv(e,u,d)&&null!==p&&(p===Lv?(y(),p=Iv,v(),function(e){if(!s)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}(()=>{y(),p=h=g=null})):p===Rv&&(y(),p=Bv,v(),x()))});function x(){s&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+i+"px, 0)",pu(n,Ce))}return{onTouchstartPassive:_,onTouchmove:b,onTouchend:w,onTouchcancel:w}}const Vv=Yu({name:"PageBody",setup(e,t){const n=ld(),o=Vn(null),r=Vn(null),i=n.enablePullDownRefresh?jv(o):null,a=Vn(null);return Bo(()=>n.enablePullDownRefresh,()=>{a.value=n.enablePullDownRefresh?i:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return Vi(Pv,{ref:e},null,512)}(o,n);return Vi(wi,null,[e,Vi("uni-page-wrapper",Ui({ref:r},a.value),[Vi("uni-page-body",null,[Ar(t.slots,"default")]),null],16)])}}});const Dv=Yu({name:"Page",setup(e,t){let n=cd(dd());const o=n.navigationBar,r={};return uv(n),()=>Vi("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[Vi(wv),qv(t),null]:[qv(t),null])}});function qv(e){return Ei(),Mi(Vv,{key:0},{default:wo(()=>[Ar(e.slots,"page")]),_:3})}const Fv={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Jd;const Hv=Object.assign({}),Wv=Object.assign;window.__uniConfig=Wv({globalStyle:{backgroundColor:"#f2f6fb",backgroundTextStyle:"dark",navigationBar:{backgroundColor:"#ffffff",titleText:"云泉智配",type:"default",titleColor:"#000000"},isNVue:!1},compilerVersion:"5.24"},{appId:"",appName:"云泉智配",appVersion:"0.1.0",appVersionCode:"100",async:Fv,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(Hv).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Wv(e[n]||(e[n]={}),Hv[t].default),e},{}),router:{mode:"hash",base:"/water-mini/",assets:"assets",routerBase:"/water-mini/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const zv={delay:Fv.delay,timeout:Fv.timeout,suspensible:Fv.suspensible};Fv.loading&&(zv.loadingComponent={name:"SystemAsyncLoading",render:()=>Vi(Eo(Fv.loading))}),Fv.error&&(zv.errorComponent={name:"SystemAsyncError",props:["error"],render(){return Vi(Eo(Fv.error),{error:this.error})}});const Uv=()=>t(()=>import("./pages-home-index.CxOFbso8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])).then(e=>Sg(e.default||e)),Yv=nr(Wv({loader:Uv},zv)),Xv=()=>t(()=>import("./pages-account-login.D9u7y6L9.js"),__vite__mapDeps([11,2,4,12])).then(e=>Sg(e.default||e)),Kv=nr(Wv({loader:Xv},zv)),Gv=()=>t(()=>import("./pages-account-identities.TdadEOkF.js"),__vite__mapDeps([13,1,2,14,4,15,6,7,16])).then(e=>Sg(e.default||e)),Jv=nr(Wv({loader:Gv},zv)),Qv=()=>t(()=>import("./pages-account-profile.BxdOrCy9.js"),__vite__mapDeps([17,1,2,14,4,15,6,7,8,9,18])).then(e=>Sg(e.default||e)),Zv=nr(Wv({loader:Qv},zv)),ey=()=>t(()=>import("./pages-packages-index.4HaoHZXm.js"),__vite__mapDeps([19,20,21,2,3,4,5,6,7,22])).then(e=>Sg(e.default||e)),ty=nr(Wv({loader:ey},zv)),ny=()=>t(()=>import("./pages-packages-detail.ZXAav-PZ.js"),__vite__mapDeps([23,1,21,2,6,4,7])).then(e=>Sg(e.default||e)),oy=nr(Wv({loader:ny},zv)),ry=()=>t(()=>import("./pages-packages-cart.B7Yn_PK8.js"),__vite__mapDeps([24,21,2,25,14,4,15,26,27])).then(e=>Sg(e.default||e)),iy=nr(Wv({loader:ry},zv)),ay=()=>t(()=>import("./pages-orders-checkout.s4J8ULW8.js"),__vite__mapDeps([28,1,25,2,14,4,15,6,7])).then(e=>Sg(e.default||e)),sy=nr(Wv({loader:ay},zv)),ly=()=>t(()=>import("./pages-orders-index.D0xEA53a.js"),__vite__mapDeps([29,20,14,2,4,15,6,7,8,9])).then(e=>Sg(e.default||e)),cy=nr(Wv({loader:ly},zv)),uy=()=>t(()=>import("./pages-orders-tracking.BdR4WuWI.js"),__vite__mapDeps([30,1,25,2,14,4,15,6,7,31,32,33])).then(e=>Sg(e.default||e)),dy=nr(Wv({loader:uy},zv)),fy=()=>t(()=>import("./pages-addresses-index.CHY9aQCF.js"),__vite__mapDeps([34,1,2,14,4,15,6,7])).then(e=>Sg(e.default||e)),py=nr(Wv({loader:fy},zv)),hy=()=>t(()=>import("./pages-addresses-edit.Cqy9DmDm.js"),__vite__mapDeps([35,1,25,2,14,4,15,6,7])).then(e=>Sg(e.default||e)),gy=nr(Wv({loader:hy},zv)),my=()=>t(()=>import("./pages-rights-index.C_7_k1_9.js"),__vite__mapDeps([36,1,25,2,14,4,15,6,7,8,9,26,27,37])).then(e=>Sg(e.default||e)),vy=nr(Wv({loader:my},zv)),yy=()=>t(()=>import("./pages-rights-ledger.DlpPaaXQ.js"),__vite__mapDeps([38,20,14,2,4,15,6,7])).then(e=>Sg(e.default||e)),_y=nr(Wv({loader:yy},zv)),by=()=>t(()=>import("./pages-devices-index.CsY6aGCQ.js"),__vite__mapDeps([39,20,2,14,4,15,6,7])).then(e=>Sg(e.default||e)),wy=nr(Wv({loader:by},zv)),xy=()=>t(()=>import("./pages-devices-detail.Br0kQ-Ix.js"),__vite__mapDeps([40,1,2,14,4,15,6,7,41,42])).then(e=>Sg(e.default||e)),Cy=nr(Wv({loader:xy},zv)),ky=()=>t(()=>import("./pages-account-rewards.D4_Mhd4u.js"),__vite__mapDeps([43,1,2,14,4,15,6,7,44])).then(e=>Sg(e.default||e)),Sy=nr(Wv({loader:ky},zv)),Ty=()=>t(()=>import("./pages-driver-dashboard.C-th1bNn.js"),__vite__mapDeps([45,1,2,14,4,15,6,7,46,8,9,47])).then(e=>Sg(e.default||e)),Ey=nr(Wv({loader:Ty},zv)),Oy=()=>t(()=>import("./pages-driver-tasks.DIhnAA1j.js"),__vite__mapDeps([48,20,14,2,4,15,6,7,46,8,9])).then(e=>Sg(e.default||e)),$y=nr(Wv({loader:Oy},zv)),Ay=()=>t(()=>import("./pages-driver-task.Dfo1mUsc.js"),__vite__mapDeps([49,1,25,2,50,14,4,15,6,7])).then(e=>Sg(e.default||e)),Py=nr(Wv({loader:Ay},zv)),My=()=>t(()=>import("./pages-driver-device.GRSG0SPp.js"),__vite__mapDeps([51,2,14,4,15,52])).then(e=>Sg(e.default||e)),Ly=nr(Wv({loader:My},zv)),Ry=()=>t(()=>import("./pages-driver-fulfill.2VW0Lo_j.js"),__vite__mapDeps([53,1,25,2,50,14,4,15,6,7,26,27,31,32,54])).then(e=>Sg(e.default||e)),Iy=nr(Wv({loader:Ry},zv)),By=()=>t(()=>import("./pages-driver-routes.CKeCJU5E.js"),__vite__mapDeps([55,1,2,50,14,4,15,6,7,8,9])).then(e=>Sg(e.default||e)),Ny=nr(Wv({loader:By},zv)),jy=()=>t(()=>import("./pages-agent-dashboard.BkLM-VWH.js"),__vite__mapDeps([56,1,2,14,4,15,6,7,8,9,41,42])).then(e=>Sg(e.default||e)),Vy=nr(Wv({loader:jy},zv)),Dy=()=>t(()=>import("./pages-agent-customers.DfyzCzoP.js"),__vite__mapDeps([57,20,2,14,4,15,6,7,58])).then(e=>Sg(e.default||e)),qy=nr(Wv({loader:Dy},zv)),Fy=()=>t(()=>import("./pages-agent-orders.AlkmD4HE.js"),__vite__mapDeps([59,20,2,14,4,15,6,7,8,9])).then(e=>Sg(e.default||e)),Hy=nr(Wv({loader:Fy},zv)),Wy=()=>t(()=>import("./pages-agent-commissions.Br3x6aYC.js"),__vite__mapDeps([60,1,2,14,4,15,6,7,8,9,61])).then(e=>Sg(e.default||e)),zy=nr(Wv({loader:Wy},zv)),Uy=()=>t(()=>import("./pages-common-web.BtbuL4J_.js"),[]).then(e=>Sg(e.default||e)),Yy=nr(Wv({loader:Uy},zv)),Xy=()=>t(()=>import("./pages-common-map.QbBxT6WS.js"),__vite__mapDeps([62,4,63])).then(e=>Sg(e.default||e)),Ky=nr(Wv({loader:Xy},zv));function Gy(e,t){return Ei(),Mi(Dv,null,{page:wo(()=>[Vi(e,Wv({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/home/index",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Yv,t)}},loader:Uv,meta:{isQuit:!0,isEntry:!0,enablePullDownRefresh:!0,navigationBar:{titleText:"云泉智配",type:"default"},isNVue:!1}},{path:"/pages/account/login",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Kv,t)}},loader:Xv,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/account/identities",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Jv,t)}},loader:Gv,meta:{navigationBar:{titleText:"选择服务身份",type:"default"},isNVue:!1}},{path:"/pages/account/profile",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Zv,t)}},loader:Qv,meta:{navigationBar:{titleText:"我的",type:"default"},isNVue:!1}},{path:"/pages/packages/index",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(ty,t)}},loader:ey,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"套餐专区",type:"default"},isNVue:!1}},{path:"/pages/packages/detail",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(oy,t)}},loader:ny,meta:{navigationBar:{titleText:"套餐详情",type:"default"},isNVue:!1}},{path:"/pages/packages/cart",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(iy,t)}},loader:ry,meta:{navigationBar:{titleText:"确认组合订单",type:"default"},isNVue:!1}},{path:"/pages/orders/checkout",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(sy,t)}},loader:ay,meta:{navigationBar:{titleText:"订单详情",type:"default"},isNVue:!1}},{path:"/pages/orders/index",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(cy,t)}},loader:ly,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的订单",type:"default"},isNVue:!1}},{path:"/pages/orders/tracking",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(dy,t)}},loader:uy,meta:{navigationBar:{titleText:"配送跟踪",type:"default"},isNVue:!1}},{path:"/pages/addresses/index",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(py,t)}},loader:fy,meta:{navigationBar:{titleText:"配送地址",type:"default"},isNVue:!1}},{path:"/pages/addresses/edit",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(gy,t)}},loader:hy,meta:{navigationBar:{titleText:"编辑供水地址",type:"default"},isNVue:!1}},{path:"/pages/rights/index",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(vy,t)}},loader:my,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的供水权益",type:"default"},isNVue:!1}},{path:"/pages/rights/ledger",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(_y,t)}},loader:yy,meta:{navigationBar:{titleText:"权益明细",type:"default"},isNVue:!1}},{path:"/pages/devices/index",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(wy,t)}},loader:by,meta:{navigationBar:{titleText:"智能设备",type:"default"},isNVue:!1}},{path:"/pages/devices/detail",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Cy,t)}},loader:xy,meta:{navigationBar:{titleText:"设备与用水",type:"default"},isNVue:!1}},{path:"/pages/account/rewards",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Sy,t)}},loader:ky,meta:{navigationBar:{titleText:"邀请推广",type:"default"},isNVue:!1}},{path:"/pages/driver/dashboard",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Ey,t)}},loader:Ty,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"配送工作台",type:"default"},isNVue:!1}},{path:"/pages/driver/tasks",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy($y,t)}},loader:Oy,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"配送任务",type:"default"},isNVue:!1}},{path:"/pages/driver/task",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Py,t)}},loader:Ay,meta:{navigationBar:{titleText:"任务详情",type:"default"},isNVue:!1}},{path:"/pages/driver/device",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Ly,t)}},loader:My,meta:{navigationBar:{titleText:"设备核对",type:"default"},isNVue:!1}},{path:"/pages/driver/fulfill",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Iy,t)}},loader:Ry,meta:{navigationBar:{titleText:"完成履约",type:"default"},isNVue:!1}},{path:"/pages/driver/routes",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Ny,t)}},loader:By,meta:{navigationBar:{titleText:"配送路线",type:"default"},isNVue:!1}},{path:"/pages/agent/dashboard",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Vy,t)}},loader:jy,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"代理工作台",type:"default"},isNVue:!1}},{path:"/pages/agent/customers",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(qy,t)}},loader:Dy,meta:{navigationBar:{titleText:"下属用户",type:"default"},isNVue:!1}},{path:"/pages/agent/orders",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Hy,t)}},loader:Fy,meta:{navigationBar:{titleText:"客户收款记录",type:"default"},isNVue:!1}},{path:"/pages/agent/commissions",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(zy,t)}},loader:Wy,meta:{navigationBar:{titleText:"佣金中心",type:"default"},isNVue:!1}},{path:"/pages/common/web",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Yy,t)}},loader:Uy,meta:{navigationBar:{titleText:"服务说明",type:"default"},isNVue:!1}},{path:"/pages/common/map",component:{setup(){const e=wg(),t=e&&e.$route&&e.$route.query||{};return()=>Gy(Ky,t)}},loader:Xy,meta:{navigationBar:{titleText:"地图位置",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e));const Jy=(e,t=0)=>(t,n=Ji())=>{oa||vr(e,t,n)},Qy=Jy(re,2),Zy=Jy(ae,1),e_=Jy(de,2),t_=Jy(xe,2),n_=Jy(Ce,2),o_="water.session.v1",r_=Cn({token:"",userId:"",identities:[],active:null,configuration:null,configError:"",epoch:0});function i_(){r_.token="",r_.userId="",r_.identities=[],r_.active=null,r_.epoch++,um(o_)}var a_={};let s_=a_.VITE_API_BASE_URL||"http://192.168.110.245:8787/api/mini/v1";s_=a_.VITE_API_BASE_URL||"/api/mini/v1";const l_=s_.replace(/\/$/,"");class c_ extends Error{constructor(e,t=0,n=0,o=""){super(e),this.status=t,this.code=n,this.requestId=o}}function u_(e,t,n={},o=!0){const r=r_.token,i=r_.epoch;return o&&!r?Promise.reject(new c_("请先登录",401,40101)):new Promise((a,s)=>{Mm({url:`${l_}${e}`,method:t,data:n,timeout:e.endsWith("/photos")?45e3:15e3,header:{"Content-Type":"application/json",...o?{Authorization:`Bearer ${r}`}:{}},success(e){if(o&&i!==r_.epoch)return void s(new c_("登录身份已切换,请重新加载"));const t=e.data;e.statusCode>=200&&e.statusCode<300&&0===(null==t?void 0:t.code)?a(t.data):(401===e.statusCode&&o&&r_.token===r&&i_(),s(new c_((null==t?void 0:t.message)||`请求失败(${e.statusCode})`,e.statusCode,null==t?void 0:t.code,null==t?void 0:t.request_id)))},fail(){s(new c_("网络连接失败,请检查网络后重试"))}})})}const d_=(e,t={},n=!0)=>u_(e,"GET",t,n),f_=(e,t,n=!0)=>u_(e,"POST",t,n);function p_(){sm(o_,{token:r_.token,userId:r_.userId,identities:r_.identities,active:r_.active?h_(r_.active):""})}function h_(e){return`${e.role}:${e.resource_id}`}async function g_(){try{r_.configuration=await d_("/config",{},!1),r_.configError=""}catch(e){r_.configError=e instanceof Error?e.message:"服务连接失败"}}function m_(e){i_(),r_.token=e.access_token,r_.userId=e.user_id,r_.identities=e.identities,1===e.identities.length&&(r_.active=e.identities[0]),p_()}async function v_(){const e=await d_("/me"),t=r_.active?h_(r_.active):"";r_.identities=e.identities,r_.active=e.identities.find(e=>r_.active&&h_(e)===h_(r_.active))||null,r_.active||1!==e.identities.length||(r_.active=e.identities[0]),t!==(r_.active?h_(r_.active):"")&&r_.epoch++,p_()}function y_(e){r_.active=e,r_.epoch++,p_(),Vf({url:__(e)})}function __(e=r_.active){return"driver"===(null==e?void 0:e.role)?"/pages/driver/dashboard":"agent"===(null==e?void 0:e.role)?"/pages/agent/dashboard":"/pages/home/index"}function b_(e){const t=r_.active;if(!r_.token)throw new Error("请先登录");if(!t||("enterprise"===e?!t.role.startsWith("enterprise_"):t.role!==e))throw new Error("请选择对应的业务身份");return`/${"enterprise"===e?"enterprises":`${e}s`}/${t.resource_id}`}function w_(){var e;return"enterprise_admin"===(null==(e=r_.active)?void 0:e.role)}async function x_(){await f_("/auth/logout",{}),i_(),Vf({url:"/pages/home/index"})}const C_=er({__name:"App",setup:e=>(Zy(()=>{!function(){const e=cm(o_);e&&"string"==typeof e.token&&/^[a-f0-9]{64}$/.test(e.token)&&(r_.token=e.token,r_.userId=String(e.userId||""),r_.identities=Array.isArray(e.identities)?e.identities:[],r_.active=r_.identities.find(t=>h_(t)===e.active)||null)}(),g_()}),()=>{})});kg(C_,{init:xg,setup(e){const t=ud(),n=()=>{var n;n=e,Object.keys(Zd).forEach(e=>{Zd[e].forEach(t=>{vr(e,t,n)})});const{onLaunch:o,onShow:r,onPageNotFound:i}=e,a=function({path:e,query:t}){return c(Bp,{path:e,query:t}),c(Np,Bp),c({},Bp)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:et(t.query)});if(o&&R(o,a),r&&R(r,a),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:et(t.query),scene:1001};qf(),i&&R(i,e)}};return ei($l).isReady().then(n),br(()=>{window.addEventListener("resize",ot(Tg,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Eg),document.addEventListener("visibilitychange",Og),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{bv.emit(le,{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()}),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Ei(),Mi(pv));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}}),ss(C_).use(pg).mount("#app");export{hm as $,qe as A,f_ as B,Vn as C,kr as D,g_ as E,wi as F,nd as G,Dp as H,ph as I,rs as J,m_ as K,Nf as L,v_ as M,y_ as N,am as O,Ug as P,x_ as Q,t_ as R,Vh as S,Dm as T,e_ as U,Bo as V,w_ as W,Fh as X,Cn as Y,Kh as Z,gv as _,n_ as a,dm as a0,jm as a1,i_ as a2,l_ as a3,Pm as a4,cm as a5,sm as a6,um as a7,c_ as a8,lv as a9,Vm as aa,Dn as ab,dv as ac,Ar as ad,qm as ae,Jm as af,Mg as ag,Cr as ah,Mi as b,la as c,er as d,b_ as e,Ei as f,d_ as g,Vi as h,Gh as i,qi as j,zh as k,__ as l,Fi as m,Pi as n,Qy as o,$r as p,qh as q,Vf as r,r_ as s,Y as t,Hn as u,Yp as v,wo as w,ji as x,ad as y,Fe as z};