| 12345678910111213141516171819202122232425 |
- function __vite__mapDeps(indexes) {
- if (!__vite__mapDeps.viteFileDeps) {
- __vite__mapDeps.viteFileDeps = ["assets/pages-home-index.CWC3pgnE.js","assets/useResource.DZT8O6wN.js","assets/_plugin-vue_export-helper.CqFHpvVD.js","assets/PackageCard.DiUe4m6p.js","assets/PackageCard-Bd6LiOVR.css","assets/PageState.CZypqT2Z.js","assets/PageState-CRHsiTbC.css","assets/BottomNav.COchRrlE.js","assets/BottomNav-Cegm4_t0.css","assets/index-K6EGw7v6.css","assets/pages-account-login.BbZOW5gd.js","assets/login-ITPJUBEM.css","assets/pages-account-identities.BGLUtshk.js","assets/IdentityGuard.DlaaLg7l.js","assets/IdentityGuard-BfVAXKt5.css","assets/identities-iqtMwTYE.css","assets/pages-account-profile.COSC2UGZ.js","assets/profile-_QrGMlD7.css","assets/pages-packages-index.D_iNIfjC.js","assets/usePaged.N13SLNe8.js","assets/cart.DcEqH7UW.js","assets/index-eGa6mEtm.css","assets/pages-packages-detail.CmCatCL-.js","assets/pages-packages-cart.BieVY7ST.js","assets/CommandStatus.vue_vue_type_script_setup_true_lang.CXSKU8Oc.js","assets/QuantityInput.D-NdzuwF.js","assets/QuantityInput-CcMAAR1a.css","assets/pages-orders-checkout.DF2Df6tY.js","assets/pages-orders-index.BpAYw8lL.js","assets/pages-orders-tracking.C6clK9wz.js","assets/PrivatePhotos.DEiJO-cy.js","assets/PrivatePhotos-DoYR5nb8.css","assets/tracking-C-s1_RqB.css","assets/pages-addresses-index.B7AxZyp0.js","assets/pages-addresses-edit.D8IjztyJ.js","assets/pages-rights-index.CmXw-F4I.js","assets/index-W7JEKAp8.css","assets/pages-rights-ledger.Se5l8cpb.js","assets/pages-devices-index.CVTzbRpA.js","assets/pages-devices-detail.ado17MN7.js","assets/BarChart.BU5tvPV_.js","assets/BarChart-5FBbJv_D.css","assets/pages-account-rewards.BPmPElfC.js","assets/rewards-1Uppl1d8.css","assets/pages-driver-dashboard.BDhnkKyG.js","assets/TaskCard.vue_vue_type_script_setup_true_lang.B-kis58n.js","assets/dashboard-CsM7DsiK.css","assets/pages-driver-tasks.Ctit2J-K.js","assets/pages-driver-task.PW-3FQk5.js","assets/location.Be0cJteV.js","assets/pages-driver-device.CA7xzoNX.js","assets/device-CC9ePvxy.css","assets/pages-driver-fulfill.MigfdaeK.js","assets/fulfill-D-paqiJd.css","assets/pages-driver-routes.Dc1E1smy.js","assets/pages-agent-dashboard.CN-Kdb2H.js","assets/pages-agent-customers.CX7I_bQe.js","assets/pages-agent-orders.C2hKm-UX.js","assets/pages-agent-commissions.BiNhbZCP.js","assets/commissions-Dr29nh2h.css"]
- }
- return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
- }
- !function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),o=(null==t?void 0:t.nonce)||(null==t?void 0:t.getAttribute("nonce"));r=Promise.all(n.map(t=>{if((t=function(e){return"/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})};
- /**
- * @vue/shared v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/
- function n(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const o={},r=[],i=()=>{},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,p=(e,t)=>d.call(e,t),f=Array.isArray,h=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,x=e=>w.call(e),C=e=>"[object Object]"===x(e),A=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,T=S(e=>e.replace(E,(e,t)=>t?t.toUpperCase():"")),M=/\B([A-Z])/g,O=S(e=>e.replace(M,"-$1").toLowerCase()),P=S(e=>e.charAt(0).toUpperCase()+e.slice(1)),L=S(e=>e?`on${P(e)}`:""),$=(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})},D=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let z;const B=()=>z||(z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function N(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?F(o):N(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||b(e))return e}const j=/;(?![^(]*\))/g,q=/:([^]+)/,V=/\/\*[^]*?\*\//g;function F(e){const t={};return e.replace(V,"").split(j).forEach(e=>{if(e){const n=e.split(q);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function H(e){let t="";if(v(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const o=H(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const W=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function U(e){return!!e||""===e}const Y=e=>v(e)?e:null==e?"":f(e)||b(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):!b(t)||f(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",pe="onUnload",fe="onInit",he="onSaveExitState",ge="onUploadDouyinVideo",me="onLiveMount",ve="onTitleClick",ye="onResize",be="onBackPress",_e="onPageScroll",we="onTabItemTap",xe="onReachBottom",Ce="onPullDownRefresh",Ae="onShareTimeline",ke="onShareChat",Se="onCopyUrl",Ee="onAddToFavorites",Te="onShareAppMessage",Me="onNavigationBarButtonTap",Oe="onNavigationBarSearchInputClicked",Pe="onNavigationBarSearchInputChanged",Le="onNavigationBarSearchInputConfirmed",$e="onNavigationBarSearchInputFocusChanged",Re="onAppEnterForeground",Ie="onAppEnterBackground",De="onWebInvokeAppService";function ze(e){return void 0===e?null:e}class Be{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=ze(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=ze(t);return this._getValue(e,n)}getString(e,t){const n=ze(t),o=this._getValue(e,n);return"string"==typeof o?o:n}getNumber(e,t){const n=ze(t),o=this._getValue(e,n);return"number"==typeof o?o:n}getBoolean(e,t){const n=ze(t),o=this._getValue(e,n);return"boolean"==typeof o?o:n}getJSON(e,t){const n=ze(t);let o=this._getValue(e,n);return o instanceof Object?o:n}getArray(e,t){const n=ze(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 Ne(e){if(!e)return;let t=e.type.name;for(;t&&ee(O(t));)t=(e=e.parent).type.name;return e.proxy}function je(e){return 1===e.nodeType}function qe(e){if(e instanceof Be){const t={};return Be.keys(e).forEach(n=>{t[n]=e[n]}),N(t)}if(e instanceof Map){const t={};return e.forEach((e,n)=>{t[n]=e}),N(t)}if(v(e))return F(e);if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?F(o):qe(o);if(r)for(const e in r)t[e]=r[e]}return t}return N(e)}function Ve(e){let t="";if(e instanceof Be)Be.keys(e).forEach(n=>{e[n]&&(t+=n+" ")});else if(e instanceof Map)e.forEach((e,n)=>{e&&(t+=n+" ")});else if(f(e))for(let n=0;n<e.length;n++){const o=Ve(e[n]);o&&(t+=o+" ")}else t=H(e);return t.trim()}function Fe(e){return 0===e.indexOf("/")}function He(e){return Fe(e)?e:"/"+e}function We(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,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?m(e.success)&&e.success(t):m(e.fail)&&e.fail(t),m(e.complete)&&e.complete(t)}function Xe(e){return T(e.substring(5))}const Ke=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={}))[Xe(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[Xe(t)],o.call(this,t)}});function Ge(e){return c({},e.dataset,e.__uniDataset)}const Je=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Qe(e){return{passive:e}}function Ze(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:Ge(e),offsetTop:n,offsetLeft:o}}function et(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function tt(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=et(e[n])}catch(o){t[n]=e[n]}}),t}const nt=/\+/g;function ot(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(nt," ");let r=e.indexOf("="),i=et(r<0?e:e.slice(0,r)),a=r<0?null:et(e.slice(r+1));if(i in t){let e=t[i];f(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function rt(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 it{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 at=[fe,de,re,ie,pe,ye,be,_e,we,xe,Ce,Ae,Te,ke,Se,ge,me,ve,Ee,he,Me,Oe,Pe,Le,$e];const st=[re,ie,ae,se,le,ce,ue,"onExit",fe,de,"onReady",pe,ye,be,_e,we,xe,Ce,Ae,Ee,Te,ke,Se,ge,me,ve,he,Me,Oe,Pe,Le,$e,"onLastPageBackPress"];const lt=[];const ct=Ue((e,t)=>t(e)),ut=function(){};ut.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 dt=ut;const pt={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 pt?pt[o]:o}return r}var o;return t}function ht(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)?ht(a,t,n):f(a)?a.map(e=>C(e)?ht(e,t,n):ft(o,e)):ft(o,a,i)}),r):e}
- /**
- * @dcloudio/uni-h5-vue v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let gt,mt;class vt{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=gt,!e&>&&(this.index=(gt.scopes||(gt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=gt;try{return gt=this,e()}finally{gt=t}}}on(){gt=this}off(){gt=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 yt(e){return new vt(e)}class bt{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=gt){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Et();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),Tt()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=At,t=mt;try{return At=!0,mt=this,this._runnings++,wt(this),this.fn()}finally{xt(this),this._runnings--,mt=t,At=e}}stop(){var e;this.active&&(wt(this),xt(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function _t(e){return e.value}function wt(e){e._trackId++,e._depsLength=0}function xt(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Ct(e.deps[t],e);e.deps.length=e._depsLength}}function Ct(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let At=!0,kt=0;const St=[];function Et(){St.push(At),At=!1}function Tt(){const e=St.pop();At=void 0===e||e}function Mt(){kt++}function Ot(){for(kt--;!kt&&Lt.length;)Lt.shift()()}function Pt(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Ct(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Lt=[];function $t(e,t,n){Mt();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&&Lt.push(o.scheduler)))}Ot()}const Rt=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},It=new WeakMap,Dt=Symbol(""),zt=Symbol("");function Bt(e,t,n){if(At&&mt){let t=It.get(e);t||It.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Rt(()=>t.delete(n))),Pt(mt,o)}}function Nt(e,t,n,o,r,i){const a=It.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&f(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":f(e)?A(n)&&s.push(a.get("length")):(s.push(a.get(Dt)),h(e)&&s.push(a.get(zt)));break;case"delete":f(e)||(s.push(a.get(Dt)),h(e)&&s.push(a.get(zt)));break;case"set":h(e)&&s.push(a.get(Dt))}Mt();for(const l of s)l&&$t(l,4);Ot()}const jt=n("__proto__,__v_isRef,__isVue"),qt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(y)),Vt=Ft();function Ft(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=Ln(this);for(let t=0,r=this.length;t<r;t++)Bt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Ln)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...e){Et(),Mt();const n=Ln(this)[t].apply(this,e);return Ot(),Tt(),n}}),e}function Ht(e){const t=Ln(this);return Bt(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?xn:wn:r?_n:bn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=f(e);if(!o){if(i&&p(Vt,t))return Reflect.get(Vt,t,n);if("hasOwnProperty"===t)return Ht}const a=Reflect.get(e,t,n);return(y(t)?qt.has(t):jt(t))?a:(o||Bt(e,0,t),r?a:Nn(a)?i&&A(t)?a:a.value:b(a)?o?Sn(a):An(a):a)}}class Ut extends Wt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Mn(r);if(On(n)||Mn(n)||(r=Ln(r),n=Ln(n)),!f(e)&&Nn(r)&&!Nn(n))return!t&&(r.value=n,!0)}const i=f(e)&&A(t)?Number(t)<e.length:p(e,t),a=Reflect.set(e,t,n,o);return e===Ln(o)&&(i?$(n,r)&&Nt(e,"set",t,n):Nt(e,"add",t,n)),a}deleteProperty(e,t){const n=p(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Nt(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&qt.has(t)||Bt(e,0,t),n}ownKeys(e){return Bt(e,0,f(e)?"length":Dt),Reflect.ownKeys(e)}}class Yt extends Wt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Xt=new Ut,Kt=new Yt,Gt=new Ut(!0),Jt=e=>e,Qt=e=>Reflect.getPrototypeOf(e);function Zt(e,t,n=!1,o=!1){const r=Ln(e=e.__v_raw),i=Ln(t);n||($(t,i)&&Bt(r,0,t),Bt(r,0,i));const{has:a}=Qt(r),s=o?Jt:n?In:Rn;return a.call(r,t)?s(e.get(t)):a.call(r,i)?s(e.get(i)):void(e!==r&&e.get(t))}function en(e,t=!1){const n=this.__v_raw,o=Ln(n),r=Ln(e);return t||($(e,r)&&Bt(o,0,e),Bt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function tn(e,t=!1){return e=e.__v_raw,!t&&Bt(Ln(e),0,Dt),Reflect.get(e,"size",e)}function nn(e){e=Ln(e);const t=Ln(this);return Qt(t).has.call(t,e)||(t.add(e),Nt(t,"add",e,e)),this}function on(e,t){t=Ln(t);const n=Ln(this),{has:o,get:r}=Qt(n);let i=o.call(n,e);i||(e=Ln(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?$(t,a)&&Nt(n,"set",e,t):Nt(n,"add",e,t),this}function rn(e){const t=Ln(this),{has:n,get:o}=Qt(t);let r=n.call(t,e);r||(e=Ln(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Nt(t,"delete",e,void 0),i}function an(){const e=Ln(this),t=0!==e.size,n=e.clear();return t&&Nt(e,"clear",void 0,void 0),n}function sn(e,t){return function(n,o){const r=this,i=r.__v_raw,a=Ln(i),s=t?Jt:e?In:Rn;return!e&&Bt(a,0,Dt),i.forEach((e,t)=>n.call(o,s(e),s(t),r))}}function ln(e,t,n){return function(...o){const r=this.__v_raw,i=Ln(r),a=h(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=r[e](...o),u=n?Jt:t?In:Rn;return!t&&Bt(i,0,l?zt:Dt),{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 cn(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function un(){const e={get(e){return Zt(this,e)},get size(){return tn(this)},has:en,add:nn,set:on,delete:rn,clear:an,forEach:sn(!1,!1)},t={get(e){return Zt(this,e,!1,!0)},get size(){return tn(this)},has:en,add:nn,set:on,delete:rn,clear:an,forEach:sn(!1,!0)},n={get(e){return Zt(this,e,!0)},get size(){return tn(this,!0)},has(e){return en.call(this,e,!0)},add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear"),forEach:sn(!0,!1)},o={get(e){return Zt(this,e,!0,!0)},get size(){return tn(this,!0)},has(e){return en.call(this,e,!0)},add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear"),forEach:sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=ln(r,!1,!1),n[r]=ln(r,!0,!1),t[r]=ln(r,!1,!0),o[r]=ln(r,!0,!0)}),[e,n,t,o]}const[dn,pn,fn,hn]=un();function gn(e,t){const n=t?e?hn:fn:e?pn:dn;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(p(n,o)&&o in t?n:t,o,r)}const mn={get:gn(!1,!1)},vn={get:gn(!1,!0)},yn={get:gn(!0,!1)},bn=new WeakMap,_n=new WeakMap,wn=new WeakMap,xn=new WeakMap;function Cn(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 An(e){return Mn(e)?e:En(e,!1,Xt,mn,bn)}function kn(e){return En(e,!1,Gt,vn,_n)}function Sn(e){return En(e,!0,Kt,yn,wn)}function En(e,t,n,o,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=Cn(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return r.set(e,s),s}function Tn(e){return Mn(e)?Tn(e.__v_raw):!(!e||!e.__v_isReactive)}function Mn(e){return!(!e||!e.__v_isReadonly)}function On(e){return!(!e||!e.__v_isShallow)}function Pn(e){return Tn(e)||Mn(e)}function Ln(e){const t=e&&e.__v_raw;return t?Ln(t):e}function $n(e){return Object.isExtensible(e)&&I(e,"__v_skip",!0),e}const Rn=e=>b(e)?An(e):e,In=e=>b(e)?Sn(e):e;class Dn{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 bt(()=>e(this._value),()=>Bn(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=Ln(this);return e._cacheable&&!e.effect.dirty||!$(e._value,e._value=e.effect.run())||Bn(e,4),zn(e),e.effect._dirtyLevel>=2&&Bn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function zn(e){var t;At&&mt&&(e=Ln(e),Pt(mt,null!=(t=e.dep)?t:e.dep=Rt(()=>e.dep=void 0,e instanceof Dn?e:void 0)))}function Bn(e,t=4,n){const o=(e=Ln(e)).dep;o&&$t(o,t)}function Nn(e){return!(!e||!0!==e.__v_isRef)}function jn(e){return Vn(e,!1)}function qn(e){return Vn(e,!0)}function Vn(e,t){return Nn(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:Ln(e),this._value=t?e:Rn(e)}get value(){return zn(this),this._value}set value(e){const t=this.__v_isShallow||On(e)||Mn(e);e=t?e:Ln(e),$(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Rn(e),Bn(this,4))}}function Hn(e){return Nn(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 Nn(r)&&!Nn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Un(e){return Tn(e)?e:new Proxy(e,Wn)}function Yn(e,t,n,o){try{return o?e(...o):e()}catch(r){Kn(r,t,n)}}function Xn(e,t,n,o){if(m(e)){const r=Yn(e,t,n,o);return r&&_(r)&&r.catch(e=>{Kn(e,t,n)}),r}const r=[];for(let i=0;i<e.length;i++)r.push(Xn(e[i],t,n,o));return r}function Kn(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 Yn(a,null,10,[e,r,i])}Gn(e,n,r,o)}function Gn(e,t,n,o=!0){console.error(e)}let Jn=!1,Qn=!1;const Zn=[];let eo=0;const to=[];let no=null,oo=0;const ro=Promise.resolve();let io=null;function ao(e){const t=io||ro;return e?t.then(this?e.bind(this):e):t}function so(e){Zn.length&&Zn.includes(e,Jn&&e.allowRecurse?eo+1:eo)||(null==e.id?Zn.push(e):Zn.splice(function(e){let t=eo+1,n=Zn.length;for(;t<n;){const o=t+n>>>1,r=Zn[o],i=po(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),lo())}function lo(){Jn||Qn||(Qn=!0,io=ro.then(ho))}function co(e,t,n=(Jn?eo+1:0)){for(;n<Zn.length;n++){const t=Zn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;Zn.splice(n,1),n--,t()}}}function uo(e){if(to.length){const e=[...new Set(to)].sort((e,t)=>po(e)-po(t));if(to.length=0,no)return void no.push(...e);for(no=e,oo=0;oo<no.length;oo++)no[oo]();no=null,oo=0}}const po=e=>null==e.id?1/0:e.id,fo=(e,t)=>{const n=po(e)-po(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ho(e){Qn=!1,Jn=!0,Zn.sort(fo);try{for(eo=0;eo<Zn.length;eo++){const e=Zn[eo];e&&!1!==e.active&&Yn(e,null,14)}}finally{eo=0,Zn.length=0,uo(),Jn=!1,io=null,(Zn.length||to.length)&&ho()}}function go(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(D))}let l,c=r[l=L(t)]||r[l=L(T(t))];!c&&a&&(c=r[l=L(O(t))]),c&&Xn(c,e,6,mo(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,Xn(u,e,6,mo(e,u,i))}}function mo(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&&p(o,"type")&&p(o,"timeStamp")&&p(o,"target")&&p(o,"currentTarget")&&p(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function vo(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=vo(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?(f(i)?i.forEach(e=>a[e]=null):c(a,i),b(e)&&o.set(e,a),a):(b(e)&&o.set(e,null),null)}function yo(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,O(t))||p(e,t))}let bo=null,_o=null;function wo(e){const t=bo;return bo=e,_o=e&&e.type.__scopeId||null,t}function xo(e,t=bo,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Oi(-1);const r=wo(t);let i;try{i=e(...n)}finally{wo(r),o._d&&Oi(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Co(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:c,emit:u,render:d,renderCache:p,data:f,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const b=wo(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=Hi(d.call(t,e,p,i,h,f,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:Ao(c)}}catch(w){Si.length=0,Kn(w,e,1),v=ji(Ai)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(l)&&(y=ko(y,a)),_=qi(_,y))}return n.dirs&&(_=qi(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,wo(b),v}const Ao=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]&&!yo(n,i))return!0}return!1}const Eo="components";function To(e,t){return Po(Eo,e,!0,t)||e}const Mo=Symbol.for("v-ndc");function Oo(e){return v(e)?Po(Eo,e,!1)||e:e||Mo}function Po(e,t,n=!0,o=!1){const r=bo||Ji;if(r){const n=r.type;{const e=la(n,!1);if(e&&(e===t||e===T(t)||e===P(T(t))))return n}const i=Lo(r[e]||n[e],t)||Lo(r.appContext[e],t);return!i&&o?n:i}}function Lo(e,t){return e&&(e[t]||e[T(t)]||e[P(T(t))])}const $o=e=>e.__isSuspense;const Ro=Symbol.for("v-scx");function Io(e,t){return Bo(e,null,t)}const Do={};function zo(e,t,n){return Bo(e,t,n)}function Bo(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),S()}}const d=Ji,p=e=>!0===r?e:qo(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(Nn(e)?(h=()=>e.value,v=On(e)):Tn(e)?(h=()=>p(e),v=!0):f(e)?(y=!0,v=e.some(e=>Tn(e)||On(e)),h=()=>e.map(e=>Nn(e)?e.value:Tn(e)?p(e):m(e)?Yn(e,d,2):void 0)):h=m(e)?t?()=>Yn(e,d,2):()=>(g&&g(),Xn(e,d,3,[_])):i,t&&r){const e=h;h=()=>qo(e())}let b,_=e=>{g=A.onStop=()=>{Yn(e,d,4),g=A.onStop=void 0}};if(ra){if(_=i,t?n&&Xn(t,d,3,[h(),y?[]:void 0,_]):h(),"sync"!==a)return i;{const e=ti(Ro);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Do):Do;const x=()=>{if(A.active&&A.dirty)if(t){const e=A.run();(r||v||(y?e.some((e,t)=>$(e,w[t])):$(e,w)))&&(g&&g(),Xn(t,d,3,[e,w===Do?void 0:y&&w[0]===Do?[]:w,_]),w=e)}else A.run()};let C;x.allowRecurse=!!t,"sync"===a?C=x:"post"===a?C=()=>mi(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),C=()=>so(x));const A=new bt(h,i,C),k=gt,S=()=>{A.stop(),k&&u(k.effects,A)};return t?n?x():w=A.run():"post"===a?mi(A.run.bind(A),d&&d.suspense):A.run(),b&&b.push(S),S}function No(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?jo(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const a=ta(this),s=Bo(r,i.bind(o),n);return a(),s}function jo(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 qo(e,t,n=0,o){if(!b(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),Nn(e))qo(e.value,t,n,o);else if(f(e))for(let r=0;r<e.length;r++)qo(e[r],t,n,o);else if(g(e)||h(e))e.forEach(e=>{qo(e,t,n,o)});else if(C(e))for(const r in e)qo(e[r],t,n,o);return e}function Vo(e,t){if(null===bo)return e;const n=sa(bo)||bo.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&&qo(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&&(Et(),Xn(l,n,8,[e.el,s,e,t]),Tt())}}const Ho=Symbol("_leaveCb"),Wo=Symbol("_enterCb");const Uo=[Function,Array],Yo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Uo,onEnter:Uo,onAfterEnter:Uo,onEnterCancelled:Uo,onBeforeLeave:Uo,onLeave:Uo,onAfterLeave:Uo,onLeaveCancelled:Uo,onBeforeAppear:Uo,onAppear:Uo,onAfterAppear:Uo,onAppearCancelled:Uo},Xo={name:"BaseTransition",props:Yo,setup(e,{slots:t}){const n=Qi(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wr(()=>{e.isMounted=!0}),Ar(()=>{e.isUnmounting=!0}),e}();return()=>{const r=t.default&&er(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Ai){i=e;break}const a=Ln(e),{mode:s}=a;if(o.isLeaving)return Jo(i);const l=Qo(i);if(!l)return Jo(i);const c=Go(l,a,o,n);Zo(l,c);const u=n.subTree,d=u&&Qo(u);if(d&&d.type!==Ai&&!Ii(l,d)){const e=Go(d,a,o,n);if(Zo(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Jo(i);"in-out"===s&&l.type!==Ai&&(e.delayLeave=(e,t,n)=>{Ko(o,d)[String(d.key)]=d,e[Ho]=()=>{t(),e[Ho]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function Ko(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 Go(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=Ko(n,e),x=(e,t)=>{e&&Xn(e,o,9,t)},C=(e,t)=>{const n=t[1];x(e,t),f(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},A={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[_];i&&Ii(e,i)&&i.el[Ho]&&i.el[Ho](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=b||u}let a=!1;const s=e[Wo]=t=>{a||(a=!0,x(t?i:o,[e]),A.delayedLeave&&A.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,p?C(p,[t,a]):a()},clone:e=>Go(e,t,n,o)};return A}function Jo(e){if(ir(e))return(e=qi(e)).children=null,e}function Qo(e){return ir(e)?e.children?e.children[0]:void 0:e}function Zo(e,t){6&e.shapeFlag&&e.component?Zo(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 er(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===xi?(128&a.patchFlag&&r++,o=o.concat(er(a.children,t,s))):(t||a.type!==Ai)&&o.push(null!=s?qi(a,{key:s}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}
- /*! #__NO_SIDE_EFFECTS__ */function tr(e,t){return m(e)?(()=>c({name:e.name},t,{setup:e}))():e}const nr=e=>!!e.type.__asyncLoader;
- /*! #__NO_SIDE_EFFECTS__ */function or(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 tr({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Ji;if(l)return()=>rr(l,e);const t=t=>{c=null,Kn(t,e,13,!o)};if(a&&e.suspense||ra)return d().then(t=>()=>rr(t,e)).catch(e=>(t(e),()=>o?ji(o,{error:e}):null));const s=jn(!1),u=jn(),p=jn(!!r);return r&&setTimeout(()=>{p.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&&ir(e.parent.vnode)&&(e.parent.effect.dirty=!0,so(e.parent.update))}).catch(e=>{t(e),u.value=e}),()=>s.value&&l?rr(l,e):u.value&&o?ji(o,{error:u.value}):n&&!p.value?ji(n):void 0}})}function rr(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,a=ji(e,o,r);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const ir=e=>e.type.__isKeepAlive;class ar{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 sr={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=Qi(),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 ar(e.max);r.pruneCacheEntry=a;let i=null;function a(t){var o;!i||!Ii(t,i)||"key"===e.matchBy&&t.key!==i.key?(hr(o=t),u(o,n,s,!0)):i&&hr(i)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,p=d("div");function f(t){r.forEach((n,o)=>{const i=mr(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),mi(()=>{i.isDeactivated=!1,i.a&&R(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Xi(t,i.parent,e)},s)},o.deactivate=e=>{const t=e.component;t.bda&&vr(t.bda),c(e,p,null,1,s),mi(()=>{t.bda&&t.bda.forEach(e=>e.__called=!1),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Xi(n,t.parent,e),t.isDeactivated=!0},s)},zo(()=>[e.include,e.exclude,e.matchBy],([e,t])=>{e&&f(t=>cr(e,t)),t&&f(e=>!cr(t,e))},{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,gr(n.subTree))};return wr(g),Cr(g),Ar(()=>{r.forEach((t,o)=>{r.delete(o),a(t);const{subTree:i,suspense:s}=n,l=gr(i);if(t.type===l.type&&("key"!==e.matchBy||t.key===l.key)){l.component.bda&&R(l.component.bda),hr(l);const e=l.component.da;return void(e&&mi(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(!Ri(o)||!(4&o.shapeFlag)&&!$o(o.type))return i=null,o;let a=gr(o);const s=a.type,l=mr(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!cr(c,l))||u&&l&&cr(u,l))return i=a,o;const d=null==a.key?s:a.key,p=r.get(d);return a.el&&(a=qi(a),$o(o.type)&&(o.ssContent=a)),h=d,p&&(a.el=p.el,a.component=p.component,a.transition&&Zo(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,$o(o.type)?o:a}}},lr=sr;function cr(e,t){return f(e)?e.some(e=>cr(e,t)):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function ur(e,t){pr(e,"a",t)}function dr(e,t){pr(e,"da",t)}function pr(e,t,n=Ji){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,yr(t,o,n),n){let e=n.parent;for(;e&&e.parent;)ir(e.parent.vnode)&&fr(o,t,n,e),e=e.parent}}function fr(e,t,n,o){const r=yr(t,e,o,!0);kr(()=>{u(o[t],r)},n)}function hr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function gr(e){return $o(e.type)?e.ssContent:e}function mr(e,t){if("name"===t){const t=e.type;return la(nr(e)?t.__asyncResolved||{}:t)}return String(e.key)}function vr(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function yr(e,t,n=Ji,o=!1){if(n){if(r=e,at.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;Xn(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;Et();const r=ta(n),i=Xn(t,n,e,o);return r(),Tt(),i});return o?i.unshift(a):i.push(a),a}var r}const br=e=>(t,n=Ji)=>(!ra||"sp"===e)&&yr(e,(...e)=>t(...e),n),_r=br("bm"),wr=br("m"),xr=br("bu"),Cr=br("u"),Ar=br("bum"),kr=br("um"),Sr=br("sp"),Er=br("rtg"),Tr=br("rtc");function Mr(e,t=Ji){yr("ec",e,t)}function Or(e,t,n,o){let r;const i=n;if(f(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i)}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i)}else if(b(e))if(e[Symbol.iterator])r=Array.from(e,(e,n)=>t(e,n,void 0,i));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,a=n.length;o<a;o++){const a=n[o];r[o]=t(e[a],a,o,i)}}else r=[];return r}function Pr(e,t,n={},o,r){if(bo.isCE||bo.parent&&nr(bo.parent)&&bo.parent.isCE)return"default"!==t&&(n.name=t),ji("slot",n,o);let i=e[t];i&&i._c&&(i._d=!1),Ti();const a=i&&Lr(i(n)),s=$i(xi,{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 Lr(e){return e.some(e=>!Ri(e)||e.type!==Ai&&!(e.type===xi&&!Lr(e.children)))?e:null}const $r=e=>{if(!e)return null;if(oa(e)){return sa(e)||e.proxy}return $r(e.parent)},Rr=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=>$r(e.parent),$root:e=>$r(e.root),$emit:e=>e.emit,$options:e=>Vr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,so(e.update)})(e)),$nextTick:e=>e.n||(e.n=ao.bind(e.proxy)),$watch:e=>No.bind(e)}),Ir=(e,t)=>e!==o&&!e.__isScriptSetup&&p(e,t),Dr={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(Ir(r,t))return s[t]=1,r[t];if(i!==o&&p(i,t))return s[t]=2,i[t];if((u=e.propsOptions[0])&&p(u,t))return s[t]=3,a[t];if(n!==o&&p(n,t))return s[t]=4,n[t];Br&&(s[t]=0)}}const d=Rr[t];let f,h;return d?("$attrs"===t&&Bt(e,0,t),d(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==o&&p(n,t)?(s[t]=4,n[t]):(h=c.config.globalProperties,p(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return Ir(i,t)?(i[t]=n,!0):r!==o&&p(r,t)?(r[t]=n,!0):!p(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&&p(e,s)||Ir(t,s)||(l=a[0])&&p(l,s)||p(r,s)||p(Rr,s)||p(i.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zr(e){return f(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let Br=!0;function Nr(e){const t=Vr(e),n=e.proxy,o=e.ctx;Br=!1,t.beforeCreate&&jr(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:C,unmounted:A,render:k,renderTracked:S,renderTriggered:E,errorCaptured:T,serverPrefetch:M,expose:O,inheritAttrs:P,components:L,directives:$,filters:R}=t;if(u&&function(e,t){f(e)&&(e=Ur(e));for(const n in e){const o=e[n];let r;r=b(o)?"default"in o?ti(o.from||n,o.default,!0):ti(o.from||n):ti(o),Nn(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);b(t)&&(e.data=An(t))}if(Br=!0,a)for(const f in a){const e=a[f],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=ca({get:t,set:r});Object.defineProperty(o,f,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const i in l)qr(l[i],o,n,i);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{ei(t,e[t])})}function I(e,t){f(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&jr(d,e,"c"),I(_r,p),I(wr,h),I(xr,g),I(Cr,v),I(ur,y),I(dr,_),I(Mr,T),I(Tr,S),I(Er,E),I(Ar,x),I(kr,A),I(Sr,M),f(O))if(O.length){const t=e.exposed||(e.exposed={});O.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});k&&e.render===i&&(e.render=k),null!=P&&(e.inheritAttrs=P),L&&(e.components=L),$&&(e.directives=$);const D=e.appContext.config.globalProperties.$applyOptions;D&&D(t,e,n)}function jr(e,t,n){Xn(f(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function qr(e,t,n,o){const r=o.includes(".")?jo(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&zo(r,n)}else if(m(e))zo(r,e.bind(n));else if(b(e))if(f(e))e.forEach(e=>qr(e,t,n,o));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&zo(r,o,e)}}function Vr(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,b(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:Kr,emits:Kr,methods:Xr,computed:Xr,beforeCreate:Yr,created:Yr,beforeMount:Yr,mounted:Yr,beforeUpdate:Yr,updated:Yr,beforeDestroy:Yr,beforeUnmount:Yr,destroyed:Yr,unmounted:Yr,activated:Yr,deactivated:Yr,errorCaptured:Yr,serverPrefetch:Yr,components:Xr,directives:Xr,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]=Yr(e[o],t[o]);return n},provide:Wr,inject:function(e,t){return Xr(Ur(e),Ur(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 Ur(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Yr(e,t){return e?[...new Set([].concat(e,t))]:t}function Xr(e,t){return e?c(Object.create(null),e,t):t}function Kr(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:c(Object.create(null),zr(e),zr(null!=t?t:{})):t}function Gr(){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 Jr=0;function Qr(e,t){return function(t,n=null){m(t)||(t=c({},t)),null==n||b(n)||(n=null);const o=Gr(),r=new WeakSet;let i=!1;const a=o.app={_uid:Jr++,_component:t,_props:n,_container:null,_context:o,_instance:null,version:da,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=ji(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,sa(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=Zr;Zr=a;try{return e()}finally{Zr=t}}};return a}}let Zr=null;function ei(e,t){if(Ji){let n=Ji.provides;const o=Ji.parent&&Ji.parent.provides;o===n&&(n=Ji.provides=Object.create(o)),n[e]=t,"app"===Ji.type.mpType&&Ji.appContext.app.provide(e,t)}else;}function ti(e,t,n=!1){const o=Ji||bo;if(o||Zr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Zr._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 ni(e,t,n,r){const[i,a]=e.propsOptions;let s,l=!1;if(t)for(let o in t){if(k(o))continue;const c=t[o];let u;i&&p(i,u=T(o))?a&&a.includes(u)?(s||(s={}))[u]=c:n[u]=c:yo(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=oi(e,o,c),l=!0)}if(a){const t=Ln(n),r=s||o;for(let o=0;o<a.length;o++){const s=a[o];n[s]=ri(i,t,s,r[s],e,!p(r,s))}}return l}function oi(e,t,n){return n}function ri(e,t,n,o,r,i){const a=function(e,t,n,o,r,i){const a=e[n];if(null!=a){const e=p(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=ta(r);o=i[n]=e.call(null,t),a()}}else o=e}a[0]&&(i&&!e?o=!1:!a[1]||""!==o&&o!==O(n)||(o=!0))}return o}(e,t,n,o,r,i);return a}function ii(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]=ii(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 b(e)&&i.set(e,r),r;if(f(s))for(let r=0;r<s.length;r++){const e=T(s[r]);ai(e)&&(l[e]=o)}else if(s)for(const o in s){const e=T(o);if(ai(e)){const t=s[o],n=l[e]=f(t)||m(t)?{type:t}:c({},t);if(n){const t=ci(Boolean,n.type),o=ci(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||p(n,"default"))&&u.push(e)}}}const h=[l,u];return b(e)&&i.set(e,h),h}function ai(e){return"$"!==e[0]&&!k(e)}function si(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 li(e,t){return si(e)===si(t)}function ci(e,t){return f(t)?t.findIndex(t=>li(t,e)):m(t)&&li(t,e)?0:-1}const ui=e=>"_"===e[0]||"$stable"===e,di=e=>f(e)?e.map(Hi):[Hi(e)],pi=(e,t,n)=>{if(t._n)return t;const o=xo((...e)=>di(t(...e)),n);return o._c=!1,o},fi=(e,t,n)=>{const o=e._ctx;for(const r in e){if(ui(r))continue;const n=e[r];if(m(n))t[r]=pi(0,n,o);else if(null!=n){const e=di(n);t[r]=()=>e}}},hi=(e,t)=>{const n=di(t);e.slots.default=()=>n};function gi(e,t,n,r,i=!1){if(f(e))return void e.forEach((e,o)=>gi(e,t&&(f(t)?t[o]:t),n,r,i));if(nr(r)&&!i)return;const a=4&r.shapeFlag?sa(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,p(g,d)&&(g[d]=null)):Nn(d)&&(d.value=null)),m(c))Yn(c,l,12,[s,h]);else{const t=v(c),o=Nn(c);if(t||o){const r=()=>{if(e.f){const n=t?p(g,c)?g[c]:h[c]:c.value;i?f(n)&&u(n,a):f(n)?n.includes(a)||n.push(a):t?(h[c]=[a],p(g,c)&&(g[c]=h[c])):(c.value=[a],e.k&&(h[e.k]=c.value))}else t?(h[c]=s,p(g,c)&&(g[c]=s)):o&&(c.value=s,e.k&&(h[e.k]=s))};s?(r.id=-1,mi(r,n)):r()}}}const mi=function(e,t){var n;t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?to.push(...n):no&&no.includes(n,n.allowRecurse?oo+1:oo)||to.push(n),lo())};function vi(e){return function(e){B().__VUE__=!0;const{insert:t,remove:n,patchProp:a,forcePatchProp:s,createElement:l,createText:u,createComment:d,setText:f,setElementText:h,parentNode:g,nextSibling:m,setScopeId:v=i,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,i=null,a=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ii(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 Ci:w(e,t,n,o);break;case Ai:x(e,t,n,o);break;case ki:null==e&&C(t,n,o,a);break;case xi:N(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?j(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&&gi(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&&f(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)},A=({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)},S=({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?M(t,n,o,r,i,a,s,l):$(e,t,r,i,a,s,l)},M=(e,n,o,r,i,s,c,u)=>{let d,p;const{props:f,shapeFlag:g,transition:m,dirs:v}=e;if(d=e.el=l(e.type,s,f&&f.is,f),8&g?h(d,e.children):16&g&&L(e.children,d,null,r,i,yi(e,s),c,u),v&&Fo(e,null,r,"created"),P(d,e,e.scopeId,c,r),f){for(const t in f)"value"===t||k(t)||a(d,t,null,f[t],s,e.children,r,i,Z);"value"in f&&a(d,"value",null,f.value,s),(p=f.onVnodeBeforeMount)&&Xi(p,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),((p=f&&f.onVnodeMounted)||y||v)&&mi(()=>{p&&Xi(p,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)}}},L=(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]);b(null,l,t,n,o,r,i,a,s)}},$=(e,t,n,r,i,l,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:f}=t;d|=16&e.patchFlag;const g=e.props||o,m=t.props||o;let v;if(n&&bi(n,!1),(v=m.onVnodeBeforeUpdate)&&Xi(v,n,t,e),f&&Fo(t,e,n,"beforeUpdate"),n&&bi(n,!0),p?D(e.dynamicChildren,p,u,n,r,yi(t,i),l):c||W(e,t,u,null,n,r,yi(t,i),l,!1),d>0){if(16&d)z(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!=p||z(u,t,g,m,n,r,i);((v=m.onVnodeUpdated)||f)&&mi(()=>{v&&Xi(v,n,t,e),f&&Fo(t,e,n,"updated")},r)},D=(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===xi||!Ii(l,c)||70&l.shapeFlag)?g(l.el):n;b(l,c,u,null,o,r,i,a,!0)}},z=(e,t,n,r,i,l,c)=>{if(n!==r){if(n!==o)for(const o in n)k(o)||o in r||a(e,o,n[o],null,c,t.children,i,l,Z);for(const o in r){if(k(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)}},N=(e,n,o,r,i,a,s,l,c)=>{const d=n.el=e?e.el:u(""),p=n.anchor=e?e.anchor:u("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:g}=n;g&&(l=l?l.concat(g):g),null==e?(t(d,o,r),t(p,o,r),L(n.children||[],o,p,i,a,s,l,c)):f>0&&64&f&&h&&e.dynamicChildren?(D(e.dynamicChildren,h,o,i,a,s,l),(null!=n.key||i&&n===i.subTree)&&_i(e,n,!0)):W(e,n,o,p,i,a,s,l,c)},j=(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):V(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)||Ki,a={uid:Gi++,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 vt(!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:ii(r,i),emitsOptions:vo(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=go.bind(null,a),a.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(a);return a}(e,r,i);if(ir(e)&&(l.ctx.renderer=oe),function(e,t=!1){t&&ea(t);const{props:n,children:o}=e.vnode,r=oa(e);(function(e,t,n,o=!1){const r={},i={};I(i,Di,1),e.propsDefaults=Object.create(null),ni(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=Ln(t),I(t,"_",n)):fi(t,e.slots={})}else e.slots={},t&&hi(e,t);I(e.slots,Di,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=$n(new Proxy(e.ctx,Dr));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)=>(Bt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=ta(e);Et();const i=Yn(o,e,0,[e.props,n]);if(Tt(),r(),_(i)){if(i.then(na,na),t)return i.then(t=>{ia(e,t)}).catch(t=>{Kn(t,e,0)});e.asyncDep=i}else ia(e,i)}else aa(e)}(e,t):void 0;t&&ea(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,F),!e.el){const e=l.subTree=ji(Ai);x(null,e,t,n)}}else F(l,e,t,n,i,a,s)},V=(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]&&!yo(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void H(o,t,n);o.next=t,function(e){const t=Zn.indexOf(e);t>eo&&Zn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},F=(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=wi(e);if(n)return t&&(t.el=c.el,H(e,t,s)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let u,d=t;bi(e,!1),t?(t.el=c.el,H(e,t,s)):t=c,n&&R(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Xi(u,i,t,c),bi(e,!0);const p=Co(e),f=e.subTree;e.subTree=p,b(f,p,g(f.el),ee(f),e,r,a),t.el=p.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,p.el),o&&mi(o,r),(u=t.props&&t.props.onVnodeUpdated)&&mi(()=>Xi(u,i,t,c),r)}else{let i;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,p=nr(t);bi(e,!1),c&&R(c),!p&&(i=l&&l.onVnodeBeforeMount)&&Xi(i,d,t),bi(e,!0);{const i=e.subTree=Co(e);b(null,i,n,o,e,r,a),t.el=i.el}if(u&&mi(u,r),!p&&(i=l&&l.onVnodeMounted)){const e=t;mi(()=>Xi(i,d,e),r)}(256&t.shapeFlag||d&&nr(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&vr(e.ba),e.a&&mi(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new bt(l,i,()=>so(u),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,bi(e,!0),u()},H=(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=Ln(r),[l]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;ni(e,t,r,i)&&(c=!0);for(const i in s)t&&(p(t,i)||(o=O(i))!==i&&p(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=ri(l,s,i,void 0,e,!0)):delete r[i]);if(i!==s)for(const e in i)t&&p(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(yo(e.emitsOptions,a))continue;const u=t[a];if(l)if(p(i,a))u!==i[a]&&(i[a]=oi(0,0,u),c=!0);else{const t=T(a);r[t]=ri(l,s,t,u,e,!1)}else u!==i[a]&&(i[a]=oi(0,0,u),c=!0)}}c&&Nt(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&&(hi(e,t),s={default:1});if(a)for(const o in i)ui(o)||null!=s[o]||delete i[o]})(e,t.children,n),Et(),co(e),Tt()},W=(e,t,n,o,r,i,a,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void Y(c,d,n,o,r,i,a,s,l);if(256&p)return void U(c,d,n,o,r,i,a,s,l)}8&f?(16&u&&Z(c,r,i),d!==c&&h(n,d)):16&u?16&f?Y(c,d,n,o,r,i,a,s,l):Z(c,r,i,!0):(8&u&&h(n,""),16&f&&L(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,p=Math.min(u,d);let f;for(f=0;f<p;f++){const o=t[f]=c?Wi(t[f]):Hi(t[f]);b(e[f],o,n,null,i,a,s,l,c)}u>d?Z(e,i,a,!0,!1,p):L(t,n,o,i,a,s,l,c,p)},Y=(e,t,n,o,i,a,s,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const o=e[u],r=t[u]=c?Wi(t[u]):Hi(t[u]);if(!Ii(o,r))break;b(o,r,n,null,i,a,s,l,c),u++}for(;u<=p&&u<=f;){const o=e[p],r=t[f]=c?Wi(t[f]):Hi(t[f]);if(!Ii(o,r))break;b(o,r,n,null,i,a,s,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,r=e<d?t[e].el:o;for(;u<=f;)b(null,t[u]=c?Wi(t[u]):Hi(t[u]),n,r,i,a,s,l,c),u++}}else if(u>f)for(;u<=p;)K(e[u],i,a,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=f;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 _=f-g+1;let w=!1,x=0;const C=new Array(_);for(u=0;u<_;u++)C[u]=0;for(u=h;u<=p;u++){const o=e[u];if(y>=_){K(o,i,a,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=g;v<=f;v++)if(0===C[v-g]&&Ii(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,b(o,t[r],n,null,i,a,s,l,c),y++)}const A=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=A.length-1,u=_-1;u>=0;u--){const e=g+u,r=t[e],p=e+1<d?t[e+1].el:o;0===C[u]?b(null,r,n,p,i,a,s,l,c):w&&(v<0||u!==A[v]?X(r,n,p,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===xi){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 A(e,n,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(a),t(a,n,o),mi(()=>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:p}=e;if(null!=s&&gi(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!nr(e);let g;if(h&&(g=a&&a.onVnodeBeforeUnmount)&&Xi(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&Fo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,oe,o):c&&(i!==xi||d>0&&64&d)?Z(c,t,n,!1,!0):(i===xi&&384&d||!r&&16&u)&&Z(l,t,n),o&&G(e)}(h&&(g=a&&a.onVnodeUnmounted)||f)&&mi(()=>{g&&Xi(g,t,e),f&&Fo(e,null,t,"unmounted")},n)},G=e=>{const{type:t,el:o,anchor:r,transition:i}=e;if(t===xi)return void J(o,r);if(t===ki)return void S(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&&mi(s,t),mi(()=>{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):b(t._vnode||null,e,t,null,null,null,n),te||(te=!0,co(),uo(),te=!1),t._vnode=e},oe={p:b,um:K,m:X,r:G,mt:q,mc:L,pc:W,pbc:D,n:ee,o:e};let re;return{render:ne,hydrate:re,createApp:Qr(ne)}}(e)}function yi({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 bi({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function _i(e,t,n=!1){const o=e.children,r=t.children;if(f(o)&&f(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===Ci&&(t.el=e.el)}}function wi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:wi(t)}const xi=Symbol.for("v-fgt"),Ci=Symbol.for("v-txt"),Ai=Symbol.for("v-cmt"),ki=Symbol.for("v-stc"),Si=[];let Ei=null;function Ti(e=!1){Si.push(Ei=e?null:[])}let Mi=1;function Oi(e){Mi+=e}function Pi(e){return e.dynamicChildren=Mi>0?Ei||r:null,Si.pop(),Ei=Si[Si.length-1]||null,Mi>0&&Ei&&Ei.push(e),e}function Li(e,t,n,o,r,i){return Pi(Ni(e,t,n,o,r,i,!0))}function $i(e,t,n,o,r){return Pi(ji(e,t,n,o,r,!0))}function Ri(e){return!!e&&!0===e.__v_isVNode}function Ii(e,t){return e.type===t.type&&e.key===t.key}const Di="__vInternal",zi=({key:e})=>null!=e?e:null,Bi=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||Nn(e)||m(e)?{i:bo,r:e,k:t,f:!!n}:e:null);function Ni(e,t=null,n=null,o=0,r=null,i=(e===xi?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zi(t),ref:t&&Bi(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:bo};return s?(Ui(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Mi>0&&!a&&Ei&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Ei.push(l),l}const ji=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Mo||(e=Ai);if(Ri(e)){const o=qi(e,t,!0);return n&&Ui(o,n),Mi>0&&!i&&Ei&&(6&o.shapeFlag?Ei[Ei.indexOf(e)]=o:Ei.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?Pn(e)||Di in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=Ve(e)),b(n)&&(Pn(n)&&!f(n)&&(n=c({},n)),t.style=qe(n))}const s=v(e)?1:$o(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:m(e)?2:0;return Ni(e,t,n,o,r,s,i,!0)};function qi(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?Yi(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&zi(s),ref:t&&t.ref?n&&r?f(r)?r.concat(Bi(t)):[r,Bi(t)]:Bi(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!==xi?-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&&qi(e.ssContent),ssFallback:e.ssFallback&&qi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Vi(e=" ",t=0){return ji(Ci,null,e,t)}function Fi(e="",t=!1){return t?(Ti(),$i(Ai,null,e)):ji(Ai,null,e)}function Hi(e){return null==e||"boolean"==typeof e?ji(Ai):f(e)?ji(xi,null,e.slice()):"object"==typeof e?Wi(e):ji(Ci,null,String(e))}function Wi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:qi(e)}function Ui(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Ui(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Di in t?3===o&&bo&&(1===bo.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=bo}}else m(t)?(t={default:t,_ctx:bo},n=32):(t=String(t),64&o?(n=16,t=[Vi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yi(...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=Ve([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||f(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function Xi(e,t,n,o=null){Xn(e,t,7,[n,o])}const Ki=Gr();let Gi=0;let Ji=null;const Qi=()=>Ji||bo;let Zi,ea;{const e=B(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach(t=>t(e)):o[0](e)}};Zi=t("__VUE_INSTANCE_SETTERS__",e=>Ji=e),ea=t("__VUE_SSR_SETTERS__",e=>ra=e)}const ta=e=>{const t=Ji;return Zi(e),e.scope.on(),()=>{e.scope.off(),Zi(t)}},na=()=>{Ji&&Ji.scope.off(),Zi(null)};function oa(e){return 4&e.vnode.shapeFlag}let ra=!1;function ia(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=Un(t)),aa(e)}function aa(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=ta(e);Et();try{Nr(e)}finally{Tt(),t()}}}function sa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Un($n(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Rr?Rr[n](e):void 0,has:(e,t)=>t in e||t in Rr}))}function la(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const ca=(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 Dn(o,r,a||!r,n)}(e,0,ra);return n};function ua(e,t,n){const o=arguments.length;return 2===o?b(t)&&!f(t)?Ri(t)?ji(e,null,[t]):ji(e,t):ji(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ri(n)&&(n=[n]),ji(e,t,n))}const da="3.4.21",pa="undefined"!=typeof document?document:null,fa=pa&&pa.createElement("template"),ha={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?pa.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?pa.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?pa.createElement(e,{is:n}):pa.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>pa.createTextNode(e),createComment:e=>pa.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pa.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]}},ga="transition",ma="animation",va=Symbol("_vtc"),ya=(e,{slots:t})=>ua(Xo,function(e){const t={};for(const c in e)c in ba||(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:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(b(e))return[xa(e.enter),xa(e.leave)];{const t=xa(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:C,onBeforeAppear:A=y,onAppear:k=_,onAppearCancelled:S=w}=t,E=(e,t,n)=>{Aa(e,t?d:s),Aa(e,t?u:a),n&&n()},T=(e,t)=>{e._isLeaving=!1,Aa(e,p),Aa(e,h),Aa(e,f),t&&t()},M=e=>(t,n)=>{const r=e?k:_,a=()=>E(t,e,n);_a(r,[t,a]),ka(()=>{Aa(t,e?l:i),Ca(t,e?d:s),wa(r)||Ea(t,o,m,a)})};return c(t,{onBeforeEnter(e){_a(y,[e]),Ca(e,i),Ca(e,a)},onBeforeAppear(e){_a(A,[e]),Ca(e,l),Ca(e,u)},onEnter:M(!1),onAppear:M(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>T(e,t);Ca(e,p),document.body.offsetHeight,Ca(e,f),ka(()=>{e._isLeaving&&(Aa(e,p),Ca(e,h),wa(x)||Ea(e,o,v,n))}),_a(x,[e,n])},onEnterCancelled(e){E(e,!1),_a(w,[e])},onAppearCancelled(e){E(e,!0),_a(S,[e])},onLeaveCancelled(e){T(e),_a(C,[e])}})}(e),t);ya.displayName="Transition";const ba={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};ya.props=c({},Yo,ba);const _a=(e,t=[])=>{f(e)?e.forEach(e=>e(...t)):e&&e(...t)},wa=e=>!!e&&(f(e)?e.some(e=>e.length>1):e.length>1);function xa(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ca(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[va]||(e[va]=new Set)).add(t)}function Aa(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[va];n&&(n.delete(t),n.size||(e[va]=void 0))}function ka(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Sa=0;function Ea(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(`${ga}Delay`),i=o(`${ga}Duration`),a=Ta(r,i),s=o(`${ma}Delay`),l=o(`${ma}Duration`),c=Ta(s,l);let u=null,d=0,p=0;t===ga?a>0&&(u=ga,d=a,p=i.length):t===ma?c>0&&(u=ma,d=c,p=l.length):(d=Math.max(a,c),u=d>0?a>c?ga:ma:null,p=u?u===ga?i.length:l.length:0);const f=u===ga&&/\b(transform|all)(,|$)/.test(o(`${ga}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:f}}(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},s+1),e.addEventListener(c,p)}function Ta(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Ma(t)+Ma(e[n])))}function Ma(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Oa=Symbol("_vod"),Pa=Symbol("_vsh"),La={beforeMount(e,{value:t},{transition:n}){e[Oa]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):$a(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),$a(e,!0),o.enter(e)):o.leave(e,()=>{$a(e,!1)}):$a(e,t))},beforeUnmount(e,{value:t}){$a(e,t)}};function $a(e,t){e.style.display=t?e[Oa]:"none",e[Pa]=!t}const Ra=Symbol(""),Ia=/(^|;)\s*display\s*:/;const Da=/\s*!important$/;function za(e,t,n){if(f(n))n.forEach(n=>za(e,t,n));else if(null==n&&(n=""),n=Ya(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Na[t];if(n)return n;let o=T(t);if("filter"!==o&&o in e)return Na[t]=o;o=P(o);for(let r=0;r<Ba.length;r++){const n=Ba[r]+o;if(n in e)return Na[t]=n}return t}(e,t);Da.test(n)?e.setProperty(O(o),n.replace(Da,""),"important"):e[o]=n}}const Ba=["Webkit","Moz","ms"],Na={};const{unit:ja,unitRatio:qa,unitPrecision:Va}={unit:"rem",unitRatio:10/320,unitPrecision:5},Fa=(Ha=ja,Wa=qa,Ua=Va,e=>e.replace(Je,(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,Ua);return 0===n?"0":`${n}${Ha}`}));var Ha,Wa,Ua;const Ya=e=>v(e)?Fa(e):e,Xa="http://www.w3.org/1999/xlink";const Ka=Symbol("_vei");function Ga(e,t,n,o,r=null){const i=e[Ka]||(e[Ka]={}),a=i[t];if(o&&a)a.value=o;else{const[n,s]=function(e){let t;if(Ja.test(e)){let n;for(t={};n=e.match(Ja);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):O(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&&f(i)){const n=ts(e,i);for(let o=0;o<n.length;o++){const i=n[o];Xn(i,t,5,i.__wwe?[e]:r(e))}return}Xn(ts(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=es(),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 Ja=/(?:Once|Passive|Capture)$/;let Qa=0;const Za=Promise.resolve(),es=()=>Qa||(Za.then(()=>Qa=0),Qa=Date.now());function ts(e,t){if(f(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 ns=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const os=["ctrl","shift","alt","meta"],rs={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)=>os.some(n=>e[`${n}Key`]&&!t.includes(n))},is=(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=rs[t[e]];if(o&&o(n,t))return}return e(n,...o)})},as=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;ao(()=>{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[va];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]&&za(o,t,"")}else for(const e in t)null==n[e]&&za(o,e,"");for(const e in n)"display"===e&&(i=!0),za(o,e,n[e])}else if(r){if(t!==n){const e=o[Ra];e&&(n+=";"+e),o.cssText=n,i=Ia.test(n)}}else t&&e.removeAttribute("style");Oa in e&&(e[Oa]=i?o.display:"",e[Pa]&&(o.display="none"));const{__wxsStyle:a}=e;if(a)for(const s in a)za(o,s,a[s])}(e,n,o):s(t)?l(t)||Ga(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&&ns(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(ns(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(Xa,t.slice(6,t.length)):e.setAttributeNS(Xa,t,n);else{const o=W(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))},ha);let ss;const ls=(...e)=>{const t=(ss||(ss=vi(as))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}
- /*!
- * vue-router v4.4.4
- * (c) 2024 Eduardo San Martin Morote
- * @license MIT
- */(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const cs="undefined"!=typeof document;function us(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const ds=Object.assign;function ps(e,t){const n={};for(const o in t){const r=t[o];n[o]=hs(r)?r.map(e):e(r)}return n}const fs=()=>{},hs=Array.isArray,gs=/#/g,ms=/&/g,vs=/\//g,ys=/=/g,bs=/\?/g,_s=/\+/g,ws=/%5B/g,xs=/%5D/g,Cs=/%5E/g,As=/%60/g,ks=/%7B/g,Ss=/%7C/g,Es=/%7D/g,Ts=/%20/g;function Ms(e){return encodeURI(""+e).replace(Ss,"|").replace(ws,"[").replace(xs,"]")}function Os(e){return Ms(e).replace(_s,"%2B").replace(Ts,"+").replace(gs,"%23").replace(ms,"%26").replace(As,"`").replace(ks,"{").replace(Es,"}").replace(Cs,"^")}function Ps(e){return Os(e).replace(ys,"%3D")}function Ls(e){return null==e?"":function(e){return Ms(e).replace(gs,"%23").replace(bs,"%3F")}(e).replace(vs,"%2F")}function $s(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Rs=/\/$/;function Is(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:$s(a)}}function Ds(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function zs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Bs(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ns(e[n],t[n]))return!1;return!0}function Ns(e,t){return hs(e)?js(e,t):hs(t)?js(t,e):e===t}function js(e,t){return hs(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const qs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Vs,Fs,Hs,Ws;function Us(e){if(!e)if(cs){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Rs,"")}(Fs=Vs||(Vs={})).pop="pop",Fs.push="push",(Ws=Hs||(Hs={})).back="back",Ws.forward="forward",Ws.unknown="";const Ys=/^[^#]+#/;function Xs(e,t){return e.replace(Ys,"#")+t}const Ks=()=>({left:window.scrollX,top:window.scrollY});function Gs(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 Js(e,t){return(history.state?history.state.position-t:-1)+e}const Qs=new Map;function Zs(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),Ds(n,"")}return Ds(n,e)+o+r}function el(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Ks():null}}function tl(e){const{history:t,location:n}=window,o={value:Zs(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=ds({},r.value,t.state,{forward:e,scroll:Ks()});i(a.current,a,!0),i(e,ds({},el(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,ds({},t.state,el(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function nl(e){const t=tl(e=Us(e)),n=function(e,t,n,o){let r=[],i=[],a=null;const s=({state:i})=>{const s=Zs(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:Vs.pop,direction:u?u>0?Hs.forward:Hs.back:Hs.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(ds({},e.state,{scroll:Ks()}),"")}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=ds({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Xs.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 ol(e){return"string"==typeof e||"symbol"==typeof e}const rl=Symbol("");var il,al;function sl(e,t){return ds(new Error,{type:e,[rl]:!0},t)}function ll(e,t){return e instanceof Error&&rl in e&&(null==t||!!(e.type&t))}(al=il||(il={}))[al.aborted=4]="aborted",al[al.cancelled=8]="cancelled",al[al.duplicated=16]="duplicated";const cl="[^/]+?",ul={sensitive:!1,strict:!1,start:!0,end:!0},dl=/[.+*?^${}()[\]/\\]/g;function pl(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=pl(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(hl(o))return 1;if(hl(r))return-1}return r.length-o.length}function hl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const gl={type:0,value:""},ml=/[a-zA-Z0-9_]/;function vl(e,t,n){const o=function(e,t){const n=ds({},ul,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(dl,"\\$&"),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||cl;if(d!==cl){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let p=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(p=c&&l.length<2?`(?:/${p})`:"/"+p),c&&(p+="?"),r+=p,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(hs(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=hs(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[[gl]];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 p(){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):p();break;case 4:p(),n=o;break;case 1:"("===s?n=2:ml.test(s)?p():(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=ds(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function yl(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=Cl(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(ds({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,p;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=vl(t,n,c),o?o.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),s&&e.name&&!wl(d)&&i(e.name)),Al(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 p?()=>{i(p)}:fs}function i(e){if(ol(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(Al(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&&!wl(e)&&o.set(e.record.name,e)}return t=Cl({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 sl(1,{location:e});a=r.record.name,s=ds(bl(t.params,r.keys.filter(e=>!e.optional).concat(r.parent?r.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&bl(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 sl(1,{location:e,currentLocation:t});a=r.record.name,s=ds({},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:xl(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function bl(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 wl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xl(e){return e.reduce((e,t)=>ds(e,t.meta),{})}function Cl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Al({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=$s(r<0?e:e.slice(0,r)),a=r<0?null:$s(e.slice(r+1));if(i in t){let e=t[i];hs(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=Ps(n),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(hs(o)?o.map(e=>e&&Os(e)):[o&&Os(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function El(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=hs(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const Tl=Symbol(""),Ml=Symbol(""),Ol=Symbol(""),Pl=Symbol(""),Ll=Symbol("");function $l(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Rl(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(sl(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(sl(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 Il(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(us(s)){const l=(s.__vccOpts||s)[t];l&&i.push(Rl(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&&us(l.default)?i.default:i;var l;a.mods[e]=i,a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Rl(c,n,o,a,e,r)()}))}}return i}function Dl(e){const t=ti(Ol),n=ti(Pl),o=ca(()=>{const n=Hn(e.to);return t.resolve(n)}),r=ca(()=>{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(zs.bind(null,r));if(a>-1)return a;const s=Bl(e[t-2]);return t>1&&Bl(r)===s&&i[i.length-1].path!==s?i.findIndex(zs.bind(null,e[t-2])):a}),i=ca(()=>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(!hs(r)||r.length!==o.length||o.some((e,t)=>e!==r[t]))return!1}return!0}(n.params,o.value.params)),a=ca(()=>r.value>-1&&r.value===n.matched.length-1&&Bs(n.params,o.value.params));return{route:o,href:ca(()=>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 zl=tr({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:Dl,setup(e,{slots:t}){const n=An(Dl(e)),{options:o}=ti(Ol),r=ca(()=>({[Nl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Nl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ua("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Bl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Nl=(e,t,n)=>null!=e?e:null!=t?t:n,jl=tr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=ti(Ll),r=ca(()=>e.route||o.value),i=ti(Ml,0),a=ca(()=>{let e=Hn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),s=ca(()=>r.value.matched[a.value]);ei(Ml,ca(()=>a.value+1)),ei(Tl,s),ei(Ll,r);const l=jn();return zo(()=>[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&&zs(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 ql(n.default,{Component:c,route:o});const u=a.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,p=ua(c,ds({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}));return ql(n.default,{Component:p,route:o})||p}}});function ql(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Vl=jl;function Fl(e){const t=yl(e.routes,e),n=e.parseQuery||kl,o=e.stringifyQuery||Sl,r=e.history,i=$l(),a=$l(),s=$l(),l=qn(qs);let c=qs;cs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ps.bind(null,e=>""+e),d=ps.bind(null,Ls),p=ps.bind(null,$s);function f(e,i){if(i=ds({},i||l.value),"string"==typeof e){const o=Is(n,e,i.path),a=t.resolve({path:o.path},i),s=r.createHref(o.fullPath);return ds(o,a,{params:p(a.params),hash:$s(o.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=ds({},e,{path:Is(n,e.path,i.path).path});else{const t=ds({},e.params);for(const e in t)null==t[e]&&delete t[e];a=ds({},e,{params:d(t)}),i.params=d(i.params)}const s=t.resolve(a,i),c=e.hash||"";s.params=u(p(s.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,ds({},e,{hash:(h=c,Ms(h).replace(ks,"{").replace(Es,"}").replace(Cs,"^")),path:s.path}));var h;const g=r.createHref(f);return ds({fullPath:f,hash:c,query:o===Sl?El(e.query):e.query||{}},s,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Is(n,e,l.value.path):ds({},e)}function g(e,t){if(c!==e)return sl(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={}),ds({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=f(e),r=l.value,i=e.state,a=e.force,s=!0===e.replace,u=v(n);if(u)return y(ds(h(u),{state:"object"==typeof u?ds({},i,u.state):i,force:a,replace:s}),t||n);const d=n;let p;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&&zs(t.matched[o],n.matched[r])&&Bs(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(p=sl(16,{to:d,from:r}),P(r,r,!0,!1)),(p?Promise.resolve(p):w(d,r)).catch(e=>ll(e)?ll(e,2)?e:O(e):M(e,d,r)).then(e=>{if(e){if(ll(e,2))return y(ds({replace:s},h(e.to),{state:"object"==typeof e.to?ds({},i,e.to.state):i,force:a}),t||d)}else e=C(d,r,!0,s,i);return x(d,r,e),e})}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=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=>zs(e,i))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find(e=>zs(e,s))||r.push(s))}return[n,o,r]}(e,t);n=Il(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach(o=>{n.push(Rl(o,e,t))});const l=b.bind(null,e,t);return n.push(l),D(n).then(()=>{n=[];for(const o of i.list())n.push(Rl(o,e,t));return n.push(l),D(n)}).then(()=>{n=Il(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach(o=>{n.push(Rl(o,e,t))});return n.push(l),D(n)}).then(()=>{n=[];for(const o of s)if(o.beforeEnter)if(hs(o.beforeEnter))for(const r of o.beforeEnter)n.push(Rl(r,e,t));else n.push(Rl(o.beforeEnter,e,t));return n.push(l),D(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Il(s,"beforeRouteEnter",e,t,_),n.push(l),D(n))).then(()=>{n=[];for(const o of a.list())n.push(Rl(o,e,t));return n.push(l),D(n)}).catch(e=>ll(e,8)?e:Promise.reject(e))}function x(e,t,n){s.list().forEach(o=>_(()=>o(e,t,n)))}function C(e,t,n,o,i){const a=g(e,t);if(a)return a;const s=t===qs,c=cs?history.state:{};n&&(o||s?r.replace(e.fullPath,ds({scroll:s&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,P(e,t,n,s),O()}let A;function k(){A||(A=r.listen((e,t,n)=>{if(!I.listening)return;const o=f(e),i=v(o);if(i)return void y(ds(i,{replace:!0}),o).catch(fs);c=o;const a=l.value;var s,u;cs&&(s=Js(a.fullPath,n.delta),u=Ks(),Qs.set(s,u)),w(o,a).catch(e=>ll(e,12)?e:ll(e,2)?(y(e.to,o).then(e=>{ll(e,20)&&!n.delta&&n.type===Vs.pop&&r.go(-1,!1)}).catch(fs),Promise.reject()):(n.delta&&r.go(-n.delta,!1),M(e,o,a))).then(e=>{(e=e||C(o,a,!1))&&(n.delta&&!ll(e,8)?r.go(-n.delta,!1):n.type===Vs.pop&&ll(e,20)&&r.go(-1,!1)),x(o,a,e)}).catch(fs)}))}let S,E=$l(),T=$l();function M(e,t,n){O(e);const o=T.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function O(e){return S||(S=!e,k(),E.list().forEach(([t,n])=>e?n(e):t()),E.reset()),e}function P(t,n,o,r){const{scrollBehavior:i}=e;if(!cs||!i)return Promise.resolve();const a=!o&&function(e){const t=Qs.get(e);return Qs.delete(e),t}(Js(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return ao().then(()=>i(t,n,a)).then(e=>e&&Gs(e)).catch(e=>M(e,t,n))}const L=e=>r.go(e);let $;const R=new Set,I={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return ol(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:f,options:e,push:m,replace:function(e){return m(ds(h(e),{replace:!0}))},go:L,back:()=>L(-1),forward:()=>L(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:T.add,isReady:function(){return S&&l.value!==qs?Promise.resolve():new Promise((e,t)=>{E.add([e,t])})},install(e){e.component("RouterLink",zl),e.component("RouterView",Vl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Hn(l)}),cs&&!$&&l.value===qs&&($=!0,m(r.location).catch(e=>{}));const t={};for(const o in qs)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Ol,this),e.provide(Pl,kn(t)),e.provide(Ll,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=qs,A&&A(),A=null,l.value=qs,$=!1,S=!1),n()}}};function D(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return I}function Hl(e){return ti(Pl)}const Wl=["{","}"];const Ul=/^(?:\d)+/,Yl=/^(?:\w)+/;const Xl="zh-Hans",Kl="zh-Hant",Gl="en",Jl="fr",Ql="es",Zl=Object.prototype.hasOwnProperty,ec=(e,t)=>Zl.call(e,t),tc=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=Ul.test(t)?"list":s&&Yl.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 nc(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return Xl;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?Xl:e.indexOf("-hant")>-1?Kl:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Kl:Xl);var n;let o=[Gl,Jl,Ql];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 oc{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Gl,this.fallbackLocale=Gl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||tc,this.messages=n||{},this.setLocale(e||Gl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=nc(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=>{ec(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=nc(t,this.messages))&&(o=this.messages[t]):n=t,ec(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 rc(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&&ap?ap():"undefined"!=typeof global&&global.getLocale?global.getLocale():Gl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Gl);const r=new oc({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=$g().$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 ic=Object.defineProperty,ac=(e,t,n)=>(((e,t,n)=>{t in e?ic(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const sc=Ue(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let lc;function cc(){if(!lc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,lc=rc(e),sc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>lc.add(e,__uniConfig.locales[e])),lc.setLocale(e)}}return lc}function uc(e,t,n){return t.reduce((t,o,r)=>(t[e+o]=n[r],t),{})}const dc=Ue(()=>{const e="uni.async.",t=["error"];cc().add(Gl,uc(e,t,["The connection timed out, click the screen to try again."]),!1),cc().add(Ql,uc(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),cc().add(Jl,uc(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),cc().add(Xl,uc(e,t,["连接服务器超时,点击屏幕重试"]),!1),cc().add(Kl,uc(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),pc=Ue(()=>{const e="uni.showToast.",t=["unpaired"];cc().add(Gl,uc(e,t,["Please note showToast must be paired with hideToast"]),!1),cc().add(Ql,uc(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),cc().add(Jl,uc(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),cc().add(Xl,uc(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),cc().add(Kl,uc(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),fc=Ue(()=>{const e="uni.showLoading.",t=["unpaired"];cc().add(Gl,uc(e,t,["Please note showLoading must be paired with hideLoading"]),!1),cc().add(Ql,uc(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),cc().add(Jl,uc(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),cc().add(Xl,uc(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),cc().add(Kl,uc(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),hc=Ue(()=>{const e="uni.showModal.",t=["cancel","confirm"];cc().add(Gl,uc(e,t,["Cancel","OK"]),!1),cc().add(Ql,uc(e,t,["Cancelar","OK"]),!1),cc().add(Jl,uc(e,t,["Annuler","OK"]),!1),cc().add(Xl,uc(e,t,["取消","确定"]),!1),cc().add(Kl,uc(e,t,["取消","確定"]),!1)}),gc=Ue(()=>{const e="uni.chooseFile.",t=["notUserActivation"];cc().add(Gl,uc(e,t,["File chooser dialog can only be shown with a user activation"]),!1),cc().add(Ql,uc(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),cc().add(Jl,uc(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),cc().add(Xl,uc(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),cc().add(Kl,uc(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),mc=Ue(()=>{const e="uni.setClipboardData.",t=["success","fail"];cc().add(Gl,uc(e,t,["Content copied","Copy failed, please copy manually"]),!1),cc().add(Ql,uc(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),cc().add(Jl,uc(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),cc().add(Xl,uc(e,t,["内容已复制","复制失败,请手动复制"]),!1),cc().add(Kl,uc(e,t,["內容已復制","復制失敗,請手動復製"]),!1)});function vc(e){const t=new dt;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 yc="invokeViewApi",bc="invokeServiceApi";let _c=1;const wc=Object.create(null);function xc(e,t){return e+"."+t}function Cc(e,t,n){t=xc(e,t),wc[t]||(wc[t]=n)}function Ac({id:e,name:t,args:n},o){t=xc(o,t);const r=t=>{e&&oy.publishHandler(yc+"."+e,t)},i=wc[t];i?i(n,r):r({})}const kc=c(vc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=oy,i=n?_c++:0;n&&o(bc+"."+i,n,!0),r(bc,{id:i,name:e,args:t})}}),Sc=Qe(!0);let Ec;function Tc(){Ec&&(clearTimeout(Ec),Ec=null)}let Mc=0,Oc=0;function Pc(e){if(Tc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Mc=t,Oc=n,Ec=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 Lc(e){if(!Ec)return;if(1!==e.touches.length)return Tc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Mc)>10||Math.abs(n-Oc)>10?Tc():void 0}function $c(e,t){const n=Number(e);return isNaN(n)?t:n}function Rc(){const e=__uniConfig.globalStyle||{},t=$c(e.rpxCalcMaxDeviceWidth,960),n=$c(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 Ic(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dc,zc,Bc=["top","left","right","bottom"],Nc={};function jc(){return zc="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 qc(){if(zc="string"==typeof zc?zc:jc()){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"}),Bc.forEach(function(e){a(o,e)}),document.body.appendChild(o),i(),Dc=!0}else Bc.forEach(function(e){Nc[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:zc+"(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]=Nc[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(Nc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Vc(e){return Dc||qc(),Nc[e]}var Fc=[];var Hc=[];const Wc=Ic({get support(){return 0!=("string"==typeof zc?zc:jc()).length},get top(){return Vc("top")},get left(){return Vc("left")},get right(){return Vc("right")},get bottom(){return Vc("bottom")},onChange:function(e){jc()&&(Dc||qc(),"function"==typeof e&&Hc.push(e))},offChange:function(e){var t=Hc.indexOf(e);t>=0&&Hc.splice(t,1)}}),Uc=is(()=>{},["prevent"]),Yc=is(e=>{},["stop"]);function Xc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Kc(){const e=Xc(document.documentElement.style,"--window-top");return e?e+Wc.top:0}function Gc(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Jc(e){return Symbol(e)}function Qc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Zc(e,t=!1){if(t)return function(e){if(!Qc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>ip(parseFloat(t))+"px")}(e);if(v(e)){const t=parseInt(e)||0;return Qc(e)?ip(t):t}return e}function eu(e){return e.$page}function tu(e){return 0===e.tagName.indexOf("UNI-")}const nu="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",ou="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z",ru="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 iu(e,t="#000",n=27){return ji("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ji("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function au(){{const{$pageInstance:e}=Qi();return e&&fu(e.proxy)}}function su(){const e=ff(),t=e.length;if(t)return e[t-1]}function lu(){var e;const t=null==(e=su())?void 0:e.$page;if(t)return t.meta}function cu(){const e=lu();return e?e.id:-1}function uu(){const e=su();if(e)return e.$vm}const du=["navigationBar","pullToRefresh"];function pu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);du.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 hu(e,t,n){if(v(e))n=t,t=e,e=uu();else if("number"==typeof e){const t=ff().find(t=>eu(t).id===e);e=t?t.$vm:uu()}if(!e)return;const o=e.$[t];return t===be?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 gu(e){e.preventDefault()}let mu,vu=0;function yu({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-vu)>n;return!i||r&&!a?(!i&&r&&(r=!1),!1):(vu=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout(function(){i=!0},350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(mu=setTimeout(a,300))),o=!1};return function(){clearTimeout(mu),o||requestAnimationFrame(a),o=!0}}function bu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return bu(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),He(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 wu(){Rc(),Ke(tu),window.addEventListener("touchstart",Pc,Sc),window.addEventListener("touchmove",Lc,Sc),window.addEventListener("touchend",Tc,Sc),window.addEventListener("touchcancel",Tc,Sc)}class xu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(je(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&&je(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?Cu(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(Cu(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:O(n);(v(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(v(e)&&(e=F(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&&oy.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 Cu(e,t=!0){if(t&&e&&(e=Ne(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new xu(e)),e.$el.__wxsComponentDescriptor}function Au(e,t){return Cu(e,t)}function ku(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Au(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=Ne(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Au(r,!1)]}}function Su(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Eu(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let a,s;a=Ze(t?r:function(e){for(;!tu(e);)e=e.parentElement;return e}(r)),s=Ze(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 Tu(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Mu(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 Ou=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!tu(o);if(r)return ku(e,t,n,!1)||[e];const i=Eu(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=Kc();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Tu(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Kc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Tu(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=Kc();i.touches=Mu(e.touches,t),i.changedTouches=Mu(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:Eu},Symbol.toStringTag,{value:"Module"});function Pu(e){!function(e){const t=e.globalProperties;c(t,Ou),t.$gcd=Au}(e._context.config)}let Lu=1;function $u(e){return(e||cu())+"."+yc}const Ru=c(vc("view"),{invokeOnCallback:(e,t)=>ry.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=ry,a=o?Lu++:0;o&&r(yc+"."+a,o,!0),i($u(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:a}=ry,s=Lu++,l=yc+"."+s;return r(l,n),a($u(o),{id:s,name:e,args:t},o),()=>{i(l)}}});function Iu(e){hu(su(),ye,e),ry.invokeOnCallback("onWindowResize",e)}function Du(e){const t=su();hu($g(),re,e),hu(t,re)}function zu(){hu($g(),ie),hu(su(),ie)}const Bu=[_e,xe];function Nu(){Bu.forEach(e=>ry.subscribe(e,function(e){return(t,n)=>{hu(parseInt(n),e,t)}}(e)))}function ju(){!function(){const{on:e}=ry;e(ye,Iu),e(Re,Du),e(Ie,zu)}(),Nu()}function qu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new it(this.$page.id)),e.eventChannel}}function Vu(e){e._context.config.globalProperties.getOpenerEventChannel=qu}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)=>`${ip(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 Uu={props:["animation"],watch:{animation:{deep:!0,handler(){Wu(this)}}},mounted(){Wu(this)}},Yu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Uu),Xu(e)},Xu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},tr(e));function Ku(e){return e.__wwe=!0,e}function Gu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){const r=Ze(n);return{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Ju={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Qu(e){const t=jn(!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:Ku(function(e){e.touches.length>1||a(e)}),onMousedown:Ku(function(e){r||(a(e),window.addEventListener("mouseup",l))}),onTouchend:Ku(function(){s()}),onMouseup:Ku(function(){r&&l()}),onTouchcancel:Ku(function(){r=!1,t.value=!1,clearTimeout(n)})}}}function Zu(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const ed=Jc("uf"),td={for:{type:String,default:""}},nd=Jc("ul");const od=Yu({name:"Label",props:td,setup(e,{slots:t}){const n=jn(null),o=au(),r=function(){const e=[];return ei(nd,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),i=ca(()=>e.for||t.default&&t.default.length),a=Ku(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?oy.emit("uni-label-click-"+o+"-"+e.for,t,!0):r.length&&r[0](t,!0))});return()=>ji("uni-label",{ref:n,class:{"uni-label-pointer":i},onClick:a},[t.default&&t.default()],10,["onClick"])}});function rd(e,t){id(e.id,t),zo(()=>e.id,(e,n)=>{ad(n,t,!0),id(e,t,!0)}),kr(()=>{ad(e.id,t)})}function id(e,t,n){const o=au();n&&!e||C(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&oy.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?oy.on(r,t[r]):e&&oy.on(`uni-${r}-${o}-${e}`,t[r])})}function ad(e,t,n){const o=au();n&&!e||C(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&oy.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?oy.off(r,t[r]):e&&oy.off(`uni-${r}-${o}-${e}`,t[r])})}const sd=Yu({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=jn(null),o=ti(ed,!1),{hovering:r,binding:i}=Qu(e),a=Ku((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=ti(nd,!1);return s&&(s.addHandler(a),Ar(()=>{s.removeHandler(a)})),rd(e,{"label-click":a}),()=>{const o=e.hoverClass,s=Zu(e,"disabled"),l=Zu(e,"loading"),c=Zu(e,"plain"),u=o&&"none"!==o;return ji("uni-button",Yi({ref:n,onClick:a,id:e.id,class:u&&r.value?o:""},u&&i,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),ld=Jc("upm");function cd(){return ti(ld)}function ud(e){const t=function(e){return An(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=Zc(e.offset)),e.height&&(e.height=Zc(e.height)),e.range&&(e.range=Zc(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!==ff().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(pu(Hl().meta,e)))))}(e);return ei(ld,t),t}function dd(){return Hl()}function pd(){return history.state&&history.state.__id__||1}const fd=["original","compressed"],hd=["album","camera"],gd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function md(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function vd(e,t){return!f(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function yd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let bd=1;const _d={};function wd(e,t,n,o=!1){return _d[e]={name:t,keepAlive:o,callback:n},e}function xd(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}function Cd(e){for(const t in _d)if(_d[t].name===e)return!0;return!1}const Ad="success",kd="fail",Sd="complete";function Ed(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]=yd(o),delete e[n])}return t}(t),s=m(r),l=m(i),c=m(a),u=bd++;return wd(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 Td="success",Md="fail",Od="complete",Pd={},Ld={};function $d(e,t){return function(n){return e(n,t)||n}}function Rd(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve($d(i,n));else{const e=i(t,n);if(_(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function Id(e,t={}){return[Td,Md,Od].forEach(n=>{const o=e[n];if(!f(o))return;const r=t[n];t[n]=function(e){Rd(o,e,t).then(e=>m(r)&&r(e)||e)}}),t}function Dd(e,t){const n=[];f(Pd.returnValue)&&n.push(...Pd.returnValue);const o=Ld[e];return o&&f(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function zd(e){const t=Object.create(null);Object.keys(Pd).forEach(e=>{"returnValue"!==e&&(t[e]=Pd[e].slice())});const n=Ld[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function Bd(e,t,n,o){const r=zd(e);if(r&&Object.keys(r).length){if(f(r.invoke)){return Rd(r.invoke,n).then(n=>t(Id(zd(e),n),...o))}return t(Id(r,n),...o)}return t(n,...o)}function Nd(e,t){return(n={},...o)=>function(e){return!(!C(e)||![Ad,kd,Sd].find(t=>m(e[t])))}(n)?Dd(e,Bd(e,t,c({},n),o)):Dd(e,new Promise((r,i)=>{Bd(e,t,c({},n,{success:r,fail:i}),o)}))}function jd(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,xd(e,c({errMsg:i},o))}function qd(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 p(n,t)||(n[t]=a)}}(t,o);if(r)return r}function Vd(e){if(!m(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}function Fd(e,t,n){return o=>{Vd(o);const r=qd(0,[o],0,n);if(r)throw new Error(r);const i=!Cd(e);!function(e,t){wd(bd++,e,t,!0)}(e,o),i&&(!function(e){ry.on("api."+e,t=>{for(const n in _d){const o=_d[n];o.name===e&&o.callback(t)}})}(e),t())}}function Hd(e,t,n){return o=>{Vd(o);const r=qd(0,[o],0,n);if(r)throw new Error(r);!function(e,t){for(const n in _d){const o=_d[n];o.callback===t&&o.name===e&&delete _d[n]}}(e=e.replace("off","on"),o);Cd(e)||(!function(e){ry.off("api."+e)}(e),t())}}function Wd(e,t,n,o){return n=>{const r=Ed(e,n,o),i=qd(0,[n],0,o);return i?jd(r,e,i):t(n,{resolve:t=>function(e,t,n){return xd(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>jd(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 Ud(e,t,n){return Fd(e,t,n)}function Yd(e,t,n){return Hd(e,t,n)}function Xd(e,t,n,o){return Nd(e,Wd(e,t,0,o))}function Kd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=qd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Gd(e,t,n,o){return Nd(e,function(e,t,n,o){return Wd(e,t,0,o)}(e,t,0,o))}let Jd=!1,Qd=0,Zd=0,ep=960,tp=375,np=750;function op(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Hf();return{platform:$f?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=r,n=i}Qd=e,Zd=t,Jd="ios"===n}function rp(e,t){const n=Number(e);return isNaN(n)?t:n}const ip=Kd(0,(e,t)=>{if(0===Qd&&(op(),function(){const e=__uniConfig.globalStyle||{};ep=rp(e.rpxCalcMaxDeviceWidth,960),tp=rp(e.rpxCalcBaseDeviceWidth,375),np=rp(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Qd;n=e===np||n<=ep?n:tp;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Zd&&Jd?.5:1),e<0?-o:o}),ap=Kd(0,()=>{const e=$g();return e&&e.$vm?e.$vm.$locale:cc().getLocale()}),sp={[ue]:[],[ce]:[],[se]:[],[re]:[],[ie]:[]};const lp={formatArgs:{showToast:!0},beforeInvoke(){mc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=cc(),o=n("uni.setClipboardData.success");o&&zv({title:o,icon:"success",mask:!1})}},cp="onCompass",up=["wgs84","gcj02"],dp={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===up.indexOf(e)?t.type=up[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},pp=(e,t)=>{if(void 0===t)return`${e} should not be empty.`;if("number"!=typeof t){let e=typeof t;return e=e[0].toUpperCase()+e.substring(1),`Expected Number, got ${e} with value ${JSON.stringify(t)}.`}},fp={formatArgs:{latitude(e,t){const n=pp("latitude",e);if(n)return n;t.latitude=e},longitude(e,t){const n=pp("longitude",e);if(n)return n;t.longitude=e},scale(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18}}},hp={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=vd(e,fd)},sourceType(e,t){t.sourceType=vd(e,hd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},gp={formatArgs:{src(e,t){t.src=Of(e)}}},mp={formatArgs:{urls(e,t){t.urls=e.map(e=>v(e)&&e?Of(e):"")},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:v(e)&&e&&(t.current=Of(e))}}},vp="json",yp=["text","arraybuffer"],bp=encodeURIComponent;const _p={formatArgs:{method(e,t){t.method=md((e||"").toUpperCase(),gd)},data(e,t){t.data=e||""},url(e,t){t.method===gd[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(p(t,s)){let e=t[s];null==e?e="":C(e)&&(e=JSON.stringify(e)),a[bp(s)]=bp(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!==gd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||vp).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===yp.indexOf(t.responseType)&&(t.responseType="text")}}},wp={formatArgs:{header(e,t){t.header=e||{}}}};const xp={url:{type:String,required:!0}},Cp="navigateTo",Ap="redirectTo",kp="reLaunch",Sp="switchTab",Ep="preloadPage",Tp=($p(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),$p(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Dp(Cp)),Mp=Dp(Ap),Op=Dp(kp),Pp=Dp(Sp),Lp={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(ff().length-1,e)}}};function $p(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 Rp;function Ip(){Rp=""}function Dp(e){return{formatArgs:{url:zp(e)},beforeAll:Ip}}function zp(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=ff();return n.length&&(t=eu(n[n.length-1]).route),bu(t,e)}(t)).split("?")[0],r=_u(o,!0);if(!r)return"page `"+t+"` is not found";if(e===Cp||e===Ap){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Sp&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==Sp&&e!==Ep||!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!==Ep){if(Rp===t&&"appLaunch"!==n.openType)return`${Rp} locked`;__uniConfig.ready&&(Rp=t)}else if(r.meta.isTabBar){const e=ff(),t=r.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Bp={beforeInvoke(){hc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!p(t,"cancelText")){const{t:e}=cc();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!p(t,"confirmText")){const{t:e}=cc();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},Np=["success","loading","none","error"],jp={formatArgs:{title:"",icon(e,t){t.icon=md(e,Np)},image(e,t){t.image=e?Of(e):""},duration:1500,mask:!1}},qp="stopPullDownRefresh";function Vp(){const e=uu();if(!e)return;const t=pf(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:gf(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,hu(e,ie))}function Fp(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Hp(e){const t=pf().values();for(const n of t){const t=af(n);if(Fp(e,t))return n.$.__isActive=!0,t.id}}const Wp=Gd(Sp,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(sf.handledBeforeEntryPageRoutes)return Vp(),Gp({type:Sp,url:e,tabBarText:t,isAutomatedTesting:n},Hp(e)).then(o).catch(r);cf.push({args:{type:Sp,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})},0,Pp);function Up(){const e=su();if(!e)return;const t=af(e);gf(bf(t.path,t.id))}const Yp=Gd(Ap,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(sf.handledBeforeEntryPageRoutes)return Up(),Gp({type:Ap,url:e,isAutomatedTesting:t}).then(n).catch(o);uf.push({args:{type:Ap,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,Mp);function Xp(){const e=pf().keys();for(const t of e)gf(t)}const Kp=Gd(kp,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(sf.handledBeforeEntryPageRoutes)return Xp(),Gp({type:kp,url:e,isAutomatedTesting:t}).then(n).catch(o);df.push({args:{type:kp,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,Op);function Gp({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const a=$g().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:ot(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++mf,__type__:e}}(e,i);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then(i=>{if(ll(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 it(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()})})}function Jp(){if(sf.handledBeforeEntryPageRoutes)return;sf.handledBeforeEntryPageRoutes=!0;const e=[...lf];lf.length=0,e.forEach(({args:e,resolve:t,reject:n})=>Gp(e).then(t).catch(n));const t=[...cf];cf.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(Vp(),Gp(e,Hp(e.url)).then(t).catch(n)));const n=[...uf];uf.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(Up(),Gp(e).then(t).catch(n)));const o=[...df];df.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(Xp(),Gp(e).then(t).catch(n)))}function Qp(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Zp=Qp("top:env(a)"),ef=Qp("top:constant(a)"),tf=(()=>Zp?"env":ef?"constant":"")();function nf(e){let t=0;var n,o;"custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),Gc({"--window-top":(o=t,tf?`calc(${o}px + ${tf}(safe-area-inset-top))`:`${o}px`),"--window-bottom":(n=0,tf?`calc(${n}px + ${tf}(safe-area-inset-bottom))`:`${n}px`)})}const of="$$",rf=new Map;function af(e){return e.$page}const sf={handledBeforeEntryPageRoutes:!1},lf=[],cf=[],uf=[],df=[];function pf(){return rf}function ff(){return hf()}function hf(){const e=[],t=rf.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function gf(e,t=!0){const n=rf.get(e);n.$.__isUnload=!0,hu(n,pe),rf.delete(e),t&&function(e){const t=_f.get(e);t&&(_f.delete(e),wf.pruneCacheEntry(t))}(e)}let mf=pd();function vf(e){const t=cd();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=ht(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:a,path:He(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function yf(e){const t=vf(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),rf.set(bf(t.path,t.id),e),1===rf.size&&setTimeout(()=>{Jp()},0)}function bf(e,t){return e+of+t}const _f=new Map,wf={get:e=>_f.get(e),set(e,t){!function(e){const t=parseInt(e.split(of)[1]);if(!t)return;wf.forEach((e,n)=>{const o=parseInt(n.split(of)[1]);o&&o>t&&(wf.delete(n),wf.pruneCacheEntry(e),ao(()=>{rf.forEach((e,t)=>{e.$.isUnmounted&&rf.delete(t)})}))})}(e),_f.set(e,t)},delete(e){_f.get(e)&&_f.delete(e)},forEach(e){_f.forEach(e)}};function xf(e,t){!function(e){const t=Af(e),{body:n}=document;kf&&n.removeAttribute(kf),t&&n.setAttribute(t,""),kf=t}(e),nf(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),Tf(e,t)}function Cf(e){const t=Af(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Af(e){return e.type.__scopeId}let kf;const Sf=!!(()=>{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 Ef;function Tf(e,t){if(document.removeEventListener("touchmove",gu),Ef&&document.removeEventListener("scroll",Ef),t.disableScroll)return document.addEventListener("touchmove",gu,Sf);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=af(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&oy.publishHandler(_e,{scrollTop:o},e),n&&oy.emit(e+"."+_e,{scrollTop:o})}}(a,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>oy.publishHandler(xe,{},a)),Ef=yu(i),requestAnimationFrame(()=>document.addEventListener("scroll",Ef))}function Mf(e){const{base:t}=__uniConfig.router;return 0===He(e).indexOf(t)?He(e):t+e}function Of(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 Mf(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=hf();return o.length?Mf(bu(af(o[o.length-1]).route,e).slice(1)):e}const Pf=navigator.userAgent,Lf=/android/i.test(Pf),$f=/iphone|ipad|ipod/i.test(Pf),Rf=Pf.match(/Windows NT ([\d|\d.\d]*)/i),If=/Macintosh|Mac/i.test(Pf),Df=/Linux|X11/i.test(Pf),zf=If&&navigator.maxTouchPoints>0,Bf=/OpenHarmony/i.test(Pf),Nf=Bf&&/PC/i.test(Pf),jf=Bf&&/Tablet/i.test(Pf);function qf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Vf(e){return e&&90===Math.abs(window.orientation)}function Ff(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Hf(){const e=qf();if(e){const t=Ff(e,Vf(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}const Wf={};function Uf(e){for(const n in Wf)if(p(Wf,n)){if(Wf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Wf[t]=e,t}const Yf=Fu(),Xf=Fu();const Kf=Yu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=jn(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=An({width:-1,height:-1});return zo(()=>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){ur(o),wr(()=>{t.initial&&ao(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,r,o),()=>ji("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ji("div",{onScroll:r},[ji("div",null,null)],40,["onScroll"]),ji("div",{onScroll:r},[ji("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Gf=Jc("ucg"),Jf=Yu({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=jn(null),o=jn(e.checked),r=ca(()=>"true"===o.value||!0===o.value),i=jn(e.value);const a=ca(()=>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));zo([()=>e.checked,()=>e.value],([e,t])=>{o.value=e,i.value=t});const{uniCheckGroup:s,uniLabel:l}=function(e,t,n){const o=ca(()=>({checkboxChecked:Boolean(e.value),value:t.value})),r={reset:n},i=ti(Gf,!1);i&&i.addField(o);const a=ti(ed,!1);a&&a.addField(r);const s=ti(nd,!1);return Ar(()=>{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),Ar(()=>{l.removeHandler(c)})),rd(e,{"label-click":c}),()=>{const r=Zu(e,"disabled");let i;return i=o.value,ji("uni-checkbox",Yi(r,{id:e.id,onClick:c,ref:n}),[ji("div",{class:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":e.activeBorderColor}},[ji("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}],style:a.value},[i?iu(nu,e.disabled?"#ADADAD":e.foreColor||e.iconColor||e.color,22):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});function Qf(){}const Zf={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 eh(e,t,n){function o(e){const t=ca(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",Qf,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",Qf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}zo(()=>t.value,e=>e&&o(e))}const th={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},nh={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},oh={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"]},rh=Yu({name:"Image",props:th,setup(e,{emit:t}){const n=jn(null),o=function(e,t){const n=jn(""),o=ca(()=>{let e="auto",o="";const r=oh[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=An({rootEl:e,src:ca(()=>t.src?Of(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return wr(()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0}),r}(n,e),r=Gu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=nh[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){ih&&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 zo(()=>t.mode,(e,t)=>{nh[t]&&r(),nh[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),ao(()=>{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)};zo(()=>e.src,e=>l(e)),zo(()=>e.imgSrc,e=>{!e&&a&&(a.remove(),a=null)}),wr(()=>l(e.src)),Ar(()=>c())}(o,e,n,i,r),()=>ji("uni-image",{ref:n},[ji("div",{style:o.modeStyle},null,4),nh[e.mode]?ji(Kf,{onResize:i},null,8,["onResize"]):ji("span",null,null)],512)}});const ih="Google Inc."===navigator.vendor;const ah=Qe(!0),sh=[];let lh=0,ch=!1;const uh=e=>sh.forEach(t=>t.userAction=e);function dh(e={userAction:!1}){if(!ch){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!lh&&uh(!0),lh++,setTimeout(()=>{! --lh&&uh(!1)},0)},ah)}),ch=!0}sh.push(e)}function ph(){const e=An({userAction:!1});return wr(()=>{dh(e)}),Ar(()=>{!function(e){const t=sh.indexOf(e);t>=0&&sh.splice(t,1)}(e)}),{state:e}}function fh(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 hh(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const gh=["none","text","decimal","numeric","tel","search","email","url"],mh=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=>!!~gh.indexOf(e)},cursorColor:{type:String,default:""}},Zf),vh=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function yh(e,t,n,o,r){let i=null,a=null;a=rt(n=>{const o=r.value,a=hh(n,e.type);o&&document.activeElement===o&&a===i||(t.value=a)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),zo(()=>e.modelValue,a),zo(()=>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 bh(e,t){ph();const n=ca(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}zo(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),wr(()=>{n.value&&ao(o)})}function _h(e,t,n,o){Cc(cu(),"getSelectedTextRange",fh);const{fieldRef:r,state:i,trigger:a}=function(e,t,n){const o=jn(null),r=Gu(t,n),i=ca(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),a=ca(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),s=ca(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=ca(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=hh(e.modelValue,e.type)||hh(e.value,e.type);const u=An({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return zo(()=>u.focus,e=>n("update:focus",e)),zo(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:s}=yh(e,i,n,a,r);bh(e,r),eh(0,r);const{state:l}=function(){const e=An({attrs:{}});return wr(()=>{let t=Qi();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=ti(ed,!1);if(!n)return;const o=Qi(),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),Ar(()=>{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}zo([()=>t.selectionStart,()=>t.selectionEnd],a),zo(()=>t.cursor,s),zo(()=>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 wh=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 xh(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&&wh()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function Ch(e){return"insertFromPaste"===e.inputType}const Ah=Yu({name:"Input",props:c({},mh,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...vh],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=ca(()=>{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=ca(()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(O(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}),s=ca(()=>{if(void 0!==e.inputmode)return e.inputmode;if(gh.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=jn(null!=t?t.toLocaleString():"");return zo(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),zo(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return jn("")}(e,i),c={fn:null};const u=jn(null),{fieldRef:d,state:p,scopedAttrsState:f,fixDisabledColor:h,trigger:g}=_h(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=xh(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=xh(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!Ch(e))return n.value=l.value=t.value,!1}});zo(()=>p.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),zo(()=>e.maxlength,e=>{e=parseInt(e,10);const t=p.value.slice(0,e);t!==p.value&&(p.value=t)});const m=["number","digit"],v=ca(()=>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),p.value=e.value}}),()=>{let t=e.disabled&&h?ji("input",{key:"disabled-input",ref:d,value:p.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:p.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"]):ji("input",{key:"input",ref:d,value:p.value,onInput:is(e=>{const t=e.target.value.toString();"number"===i.value&&p.maxlength>0&&t.length>p.maxlength?Ch(e)&&(p.value=t.slice(0,p.maxlength)):0===t.length&&"insertText"===e.inputType&&"."===e.data||(p.value=t)},["stop"]),disabled:!!e.disabled,type:i.value,maxlength:p.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 ji("uni-input",{ref:u},[ji("div",{class:"uni-input-wrapper"},[Vo(ji("div",Yi(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[La,!(p.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?ji("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const kh=["class","style"],Sh=/^on[A-Z]+/,Eh=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Qi(),r=qn({}),i=qn({}),a=qn({}),s=n.concat(kh);return o.attrs=An(o.attrs),Io(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:Sh.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 Th(e){const t=[];return f(e)&&e.forEach(e=>{Ri(e)?e.type===xi?t.push(...Th(e.children)):t.push(e):f(e)&&t.push(...Th(e))}),t}const Mh=Yu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=jn(null),o=jn(!1);let{setContexts:r,events:i}=function(e,t){const n=jn(0),o=jn(0),r=An({x:null,y:null}),i=jn(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=Ku(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=Oh(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=Ku(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(Oh(n)/i.value)}r.x=n.x,r.y=n.y}}),p=Ku(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 f(){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 ei("movableAreaWidth",n),ei("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:p,_resize:f}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=Eh(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach(e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n}),wr(()=>{i._resize(),o.value=!0});let u=[];const d=[];function p(){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($n(o))}r(e)}return ei("_isMounted",o),ei("movableAreaRootRef",n),ei("addMovableViewContext",e=>{d.push(e),p()}),ei("removeMovableViewContext",e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())}),()=>{const e=t.default&&t.default();return u=Th(e),ji("uni-movable-area",Yi({ref:n},s.value,l.value,c),[ji(Kf,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function Oh(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Ph=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 Lh,$h;function Rh(e,t,n){Ar(()=>{document.removeEventListener("mousemove",Lh),document.removeEventListener("mouseup",$h)});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;Ph(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)}),Ph(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)}),Ph(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=Lh=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),Ph(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 p=$h=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",p),Ph(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 Ih(e,t,n){return e>t-n&&e<t+n}function Dh(e,t){return Ih(e,0,t)}function zh(){}function Bh(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Nh(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function jh(e,t,n){this._springX=new Nh(e,t,n),this._springY=new Nh(e,t,n),this._springScale=new Nh(e,t,n),this._startTime=0}zh.prototype.x=function(e){return Math.sqrt(e)},Bh.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()},Bh.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Bh.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}},Bh.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}},Bh.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}},Bh.prototype.dt=function(){return-this._x_v/this._x_a},Bh.prototype.done=function(){const e=Ih(this.s().x,this._endPositionX)||Ih(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Bh.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Bh.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Nh.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)}}},Nh.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Nh.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Nh.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Dh(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Dh(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Dh(t,.1)&&(t=0),Dh(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Dh(o-e,.1)&&Dh(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Nh.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Nh.prototype.done=function(e){return e||(e=(new Date).getTime()),Ih(this.x(),this._endPosition,.1)&&Dh(this.dx(),.1)},Nh.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())},Nh.prototype.springConstant=function(){return this._k},Nh.prototype.damping=function(){return this._c},Nh.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}]},jh.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},jh.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)}},jh.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},jh.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 qh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Vh=Yu({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=jn(null),r=Gu(o,n),{setParent:i}=function(e,t,n){const o=ti("_isMounted",jn(!1)),r=ti("addMovableViewContext",()=>{}),i=ti("removeMovableViewContext",()=>{});let a,s,l=jn(1),c=jn(1),u=jn(!1),d=jn(0),p=jn(0),f=null,h=null,g=!1,m=null,v=null;const y=new zh,b=new zh,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=ca(()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t}),x=new Bh(1,w.value);zo(()=>e.disabled,()=>{W()});const{_updateOldScale:C,_endScale:A,_setScale:k,scaleValueSync:S,_updateBoundary:E,_updateOffset:T,_updateWH:M,_scaleOffset:O,minX:P,minY:L,maxX:$,maxY:R,FAandSFACancel:I,_getLimitXY:D,_setTransform:z,_revise:B,dampingNumber:N,xMove:j,yMove:q,xSync:V,ySync:F,_STD:H}=function(e,t,n,o,r,i,a,s,l,c){const u=ca(()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t}),d=ca(()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t}),p=jn(Number(e.scaleValue)||1);zo(p,e=>{z(e)}),zo(u,()=>{D()}),zo(d,()=>{D()}),zo(()=>e.scaleValue,e=>{p.value=Number(e)||0});const{_updateBoundary:f,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=ti("movableAreaWidth",jn(0)),r=ti("movableAreaHeight",jn(0)),i=ti("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=jn(0),c=jn(0),u=jn(0),d=jn(0),p=jn(0),f=jn(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),p.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),f.value=Math.max(n,i)}function g(){a.x=Wh(e.value,i.value),a.y=Uh(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:p,maxY:f}}(t,o,I),{FAandSFACancel:w,_getLimitXY:x,_animationTo:C,_setTransform:A,_revise:k,dampingNumber:S,xMove:E,yMove:T,xSync:M,ySync:O,_STD:P}=function(e,t,n,o,r,i,a,s,l,c,u,d,p,f){const h=ca(()=>{let e=Number(t.damping);return isNaN(e)?20:e}),g=ca(()=>"all"===t.direction||"horizontal"===t.direction),m=ca(()=>"all"===t.direction||"vertical"===t.direction),v=jn(Xh(t.x)),y=jn(Xh(t.y));zo(()=>t.x,e=>{v.value=Xh(e)}),zo(()=>t.y,e=>{y.value=Xh(e)}),zo(v,e=>{k(e)}),zo(y,e=>{S(e)});const b=new jh(1,9*Math.pow(h.value,2)/40,h.value);function _(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=_(e,n);e=d.x,n=d.y,t.animation?(b._springX._solution=null,b._springY._solution=null,b._springScale._solution=null,b._springX._endPosition=l.value,b._springY._endPosition=c.value,b._springScale._endPosition=o.value,b.setEnd(e,n,r,1),u=Yh(b,function(){let e=b.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||f("change",{},{x:qh(r,n.x),y:qh(i,n.y),source:s}),t.scale||(a=o.value),a=+(a=p(a)).toFixed(3),d&&a!==o.value&&f("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 A(e){let t=_(l.value,c.value),n=t.x,r=t.y,i=t.outOfBounds;return i&&x(n,r,o.value,e),i}function k(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 S(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:_,_animationTo:x,_setTransform:C,_revise:A,dampingNumber:h,xMove:g,yMove:m,xSync:v,ySync:y,_STD:b}}(t,e,m,o,b,_,v,y,a,s,l,c,I,n);function L(t,n){if(e.scale){t=I(t),g(t),f();const e=x(a.value,s.value),o=e.x,r=e.y;n?C(o,r,t,"",!0,!0):Hh(function(){A(o,r,t,"",!0,!0)})}}function $(){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 D(){if(!e.scale)return!1;L(o.value,!0),R(o.value)}function z(t){return!!e.scale&&(L(t=I(t),!0),R(t),t)}function B(){i.value=!1,R(o.value)}function N(e){e&&(e=r.value*e,$(),L(e))}return{_updateOldScale:R,_endScale:B,_setScale:N,scaleValueSync:p,_updateBoundary:f,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_,FAandSFACancel:w,_getLimitXY:x,_animationTo:C,_setTransform:A,_revise:k,dampingNumber:S,xMove:E,yMove:T,xSync:M,ySync:O,_STD:P}}(e,n,t,l,c,u,d,p,f,h);function W(){u.value||e.disabled||(I(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],j.value&&(a=d.value),q.value&&(s=p.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=p.value;if(null===v&&(v=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),j.value&&(n=t.detail.dx+a,_.historyX.shift(),_.historyX.push(n),q.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),q.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),j.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.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>$.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=$.value+y.x(n-$.value)):n=$.value),o<L.value?e.outOfBounds?(r="touch-out-of-bounds",o=L.value-b.x(L.value-o)):o=L.value:o>R.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=R.value+b.x(o-R.value)):o=R.value),Hh(function(){z(n,o,l.value,r)})}}}function Y(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!B("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=p.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>$.value&&(a=$.value,s=o+($.value-n)*i/r),s<L.value?(s=L.value,a=n+(L.value-o)*r/i):s>R.value&&(s=R.value,a=n+(R.value-o)*r/i),x.setEnd(a,s),h=Yh(x,function(){let e=x.s(),t=e.x,n=e.y;z(t,n,l.value,"friction")},function(){h.cancel()})}e.outOfBounds||e.inertia||I()}function X(){if(!o.value)return;I();let t=e.scale?S.value:1;T(),M(t),E();let n=D(V.value+O.x,F.value+O.y),r=n.x,i=n.y;z(r,i,t,"",!0),C(t)}return wr(()=>{Rh(n.value,e=>{switch(e.detail.state){case"start":W();break;case"move":U(e);break;case"end":Y()}}),X(),x.reconfigure(1,w.value),H.reconfigure(1,9*Math.pow(N.value,2)/40,N.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:X,_endScale:A,_setScale:k};r(e),kr(()=>{i(e)})}),kr(()=>{I()}),{setParent:X}}(e,r,o);return()=>ji("uni-movable-view",{ref:o},[ji(Kf,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Fh=!1;function Hh(e){Fh||(Fh=!0,requestAnimationFrame(function(){e(),Fh=!1}))}function Wh(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Wh(e.offsetParent,t):0}function Uh(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Uh(e.offsetParent,t):0}function Yh(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 Xh(e){return/\d+[ur]px$/i.test(e)?ip(parseFloat(e)):Number(e)||0}function Kh(e,t,n,o,r,i){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,p=1,f=null,h=!1,g=0,m="";const v=ca(()=>n.value.length>t.displayMultipleItems),y=ca(()=>e.circular&&v.value);function b(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),p=Math.max(o-(c+1),c-a,0),f=Math.min(u,d,p),h=[n,l,c][[u,d,p].indexOf(f)];t.updatePosition(h,e.vertical)}}(r);const a="translate("+(e.vertical?"0":100*-r*p+"%")+", "+(e.vertical?100*-r*p+"%":"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 _(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(){f=null}function x(){if(!f)return void(h=!1);const e=f,o=e.toPos,r=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){b(o),f=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}b(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);f={toPos:e,acc:2*(s-e)/(i*i),endTime:Date.now()+i,source:o},h||(h=!0,l=requestAnimationFrame(x))}function A(){a();const e=n.value,o=function(){c=null,m="autoplay",y.value?t.current=_(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 k(e){e?A():a()}return zo([()=>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)}),zo([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){a(),f&&(b(f.toPos),f=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);p=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();p=e.width/t.width,p>0&&p<1||(p=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(s+l-g),g=l):(b(l),e.autoplay&&A())):(u=!0,b(-t.displayMultipleItems-1))}),zo(()=>t.interval,()=>{c&&(a(),A())}),zo(()=>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)}),zo(()=>t.currentItemId,e=>{r("update:currentItemId",e)}),zo(()=>e.autoplay&&!t.userTracking,k),k(e.autoplay&&!t.userTracking),wr(()=>{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=_(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))}Rh(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&&A())}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),b(n)}const d=s-a||1,p=o.value;e.vertical?u(-r.dy/p.offsetHeight,-r.ddy/d):u(-r.dx/p.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 Gh=Yu({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=jn(null),r=Gu(o,n),i=jn(null),a=jn(null),s=function(e){return An({interval:ca(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:ca(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:ca(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=ca(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Zc(e.previousMargin,!0),bottom:Zc(e.nextMargin,!0)}:{top:0,bottom:0,left:Zc(e.previousMargin,!0),right:Zc(e.nextMargin,!0)}),t}),c=ca(()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],p=jn([]);function f(){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($n(o))}p.value=e}ei("addSwiperContext",function(e){d.push(e),f()});ei("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())});const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=Kh(e,s,p,a,n,r);let v=()=>null;return v=Jh(o,e,s,h,p,g,m),()=>{const n=t.default&&t.default();return u=Th(n),ji("uni-swiper",{ref:o},[ji("div",{ref:i,class:"uni-swiper-wrapper"},[ji("div",{class:"uni-swiper-slides",style:l.value},[ji("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&ji("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[p.value.map((t,n,o)=>ji("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)}}}),Jh=(e,t,n,o,r,i,a)=>{let s=!1,l=!1,u=!1,d=jn(!1);function p(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Io(()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,b()}),Io(()=>{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 f={onMouseover:e=>p(e,"over"),onMouseout:e=>p(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=()=>iu(ru,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 p=!1;if(p=t.vertical?!(r-s<u/3||l-r<u/3):!(o-i<c/3||a-o<c/3),p)return m=setTimeout(()=>{d.value=p},300);d.value=p},y=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),s&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return wr(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?ji(xi,null,[ji("div",Yi({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},f),[g()],16,["onClick"]),ji("div",Yi({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>h(e,"next",u)},f),[g()],16,["onClick"])]):null}},Qh=Yu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=jn(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 wr(()=>{const e=ti("addSwiperContext");e&&e(o)}),kr(()=>{const e=ti("removeSwiperContext");e&&e(o)}),()=>ji("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Zh=Yu({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=jn(null),o=jn(e.checked),r=function(e,t){const n=ti(ed,!1),o=ti(nd,!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=Gu(n,t);zo(()=>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),Ar(()=>{r.removeHandler(a)})),rd(e,{"label-click":a}),()=>{const{color:t,type:r}=e,i=Zu(e,"disabled"),s={};let l;return t&&o.value&&(s.backgroundColor=t,s.borderColor=t),l=o.value,ji("uni-switch",Yi({id:e.id,ref:n},i,{onClick:a}),[ji("div",{class:"uni-switch-wrapper"},[Vo(ji("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:s},null,6),[[La,"switch"===r]]),Vo(ji("div",{class:"uni-checkbox-input"},[l?iu(nu,e.color,22):""],512),[[La,"checkbox"===r]])])],16,["id","onClick"])}}});const eg={ensp:" ",emsp:" ",nbsp:" "};function tg(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&eg[t]&&" "===i&&(i=eg[t]),r?(o+="n"===i?te:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,eg.nbsp).replace(/ /g,eg.ensp).replace(/ /g,eg.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(te)}const ng=Yu({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=jn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==Ai){let n=[];n=tg(t.children,{space:e.space,decode:e.decode});const r=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Vi(e)),t!==r&&o.push(ji("br"))})}else o.push(t)}),ji("uni-text",{ref:n,selectable:!!e.selectable||null},[ji("span",null,o)],8,["selectable"])}}}),og=c({},mh,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>ig.concat("return").includes(e)}});let rg=!1;const ig=["done","go","next","search","send"];const ag=Yu({name:"Textarea",props:og,emits:["confirm","change","linechange",...vh],setup(e,{emit:t,expose:n}){const o=jn(null),r=jn(null),{fieldRef:i,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=_h(e,o,t),u=ca(()=>a.value.split(te)),d=ca(()=>ig.includes(e.confirmType)),p=jn(0),f=jn(null);function h({height:e}){p.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 zo(()=>p.value,t=>{const n=o.value,i=f.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)";rg=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?ji("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":rg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):ji("textarea",{key:"textarea",ref:i,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":rg},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 ji("uni-textarea",{ref:o,"auto-height":e.autoHeight},[ji("div",{ref:r,class:"uni-textarea-wrapper"},[Vo(ji("div",Yi(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[La,!a.value.length]]),ji("div",{ref:f,class:"uni-textarea-line"},[" "],512),ji("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[u.value.map(e=>ji("div",null,[e.trim()?e:"."])),ji(Kf,{initial:!0,onResize:h},null,8,["initial","onResize"])],2),"search"===e.confirmType?ji("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),sg=Yu({name:"View",props:c({},Ju),setup(e,{slots:t}){const n=jn(null),{hovering:o,binding:r}=Qu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ji("uni-view",Yi({class:o.value?i:"",ref:n},r),[Pr(t,"default")],16):ji("uni-view",{ref:n},[Pr(t,"default")],512)}}});function lg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function cg(e,t,n){e&&Cc(n||cu(),e,({type:e,data:n},o)=>{t(e,n,o)})}function ug(e,t){e&&function(e,t){t=xc(e,t),delete wc[t]}(t||cu(),e)}function dg(e,t,n,o){const r=Qi().proxy;o=null==o?au():o,wr(()=>{cg(t||lg(r),e,o),!n&&t||zo(()=>r.id,(t,n)=>{cg(lg(r,t),e,o),ug(n&&lg(r,n))})}),Ar(()=>{ug(t||lg(r),o)})}let pg=0;function fg(e,t,n,o){m(t)&&yr(e,t.bind(n),o)}function hg(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))&&(st.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];f(r)?r.forEach(e=>fg(o,e,n,t)):fg(o,r,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,hu(n,de,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&hu(n,re)}catch(r){console.error(r.message+te+r.stack)}}}function gg(e,t,n){hg(e,t,n)}function mg(e,t,n){return e[t]=n}function vg(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function yg(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]?hu(i.proxy,se,n):Gn(n,0,o&&o.$.vnode,!1)}}function bg(e,t){return e?[...new Set([].concat(e,t))]:t}function _g(e){const t=e.config;var n;t.errorHandler=ct(e,yg),n=t.optionMergeStrategies,st.forEach(e=>{n[e]=bg});const o=t.globalProperties;o.$set=mg,o.$applyOptions=gg,o.$callMethod=vg,function(e){lt.forEach(t=>t(e))}(e)}function wg(e){const t=Fl({history:Ag(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Cg});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(xg[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let xg=Object.create(null);const Cg=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,xg[o]);if(t)return t}return{left:0,top:0};var o};function Ag(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),nl(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=hf(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=af(t[r]);gf(bf(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const kg={install(e){_g(e),Pu(e),Vu(e),e.config.warnHandler||(e.config.warnHandler=Sg),wg(e)}};function Sg(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 Eg={class:"uni-async-loading"},Tg=ji("i",{class:"uni-loading"},null,-1),Mg=Xu({name:"AsyncLoading",render:()=>(Ti(),$i("div",Eg,[Tg]))});function Og(){window.location.reload()}const Pg=Xu({name:"AsyncError",props:["error"],setup(){dc();const{t:e}=cc();return()=>ji("div",{class:"uni-async-error",onClick:Og},[e("uni.async.error")],8,["onClick"])}});let Lg;function $g(){return Lg}function Rg(e){Lg=e,Object.defineProperty(Lg.$.ctx,"$children",{get:()=>hf().map(e=>e.$vm)});const t=Lg.$.appContext.app;t.component(Mg.name)||t.component(Mg.name,Mg),t.component(Pg.name)||t.component(Pg.name,Pg),function(e){e.$vm=e,e.$mpType="app";const t=jn(cc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Lg),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}})}(Lg),ju(),wu()}function Ig(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=Qi();if(o(n.proxy),r(n),s)return s(e,t)},e}function Dg(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Ig(e.default,t):Ig(e,t)}function zg(e,t){return Dg(e,{type:"page",clone:!0,init:yf,setup(e){e.$pageInstance=e;const t=dd(),n=tt(t.query);e.attrs.__pageQuery=n,af(e.proxy).options=n,e.proxy.options=n;const o=cd();var r;nf(o),e.onReachBottom=An([]),e.onPageScroll=An([]),zo([e.onReachBottom,e.onPageScroll],()=>{const t=su();e.proxy===t&&Tf(e,o)},{once:!0}),_r(()=>{xf(e,o)}),wr(()=>{Cf(e);const{onReady:n}=e;n&&R(n),qg(t)}),pr(()=>{if(!e.__isVisible){xf(e,o),e.__isVisible=!0;{const{onShow:t}=e;t&&R(t)}ao(()=>{qg(t)})}},"ba",r),function(e,t){pr(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){oy.subscribe(xc(e,yc),Ac)}(i),Ar(()=>{!function(e){oy.unsubscribe(xc(e,yc)),Object.keys(wc).forEach(t=>{0===t.indexOf(e+".")&&delete wc[t]})}(i)}),n}})}function Bg(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=km(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";ry.emit(ye,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Ng(e){C(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&ry.emit(De,e.data.data,e.data.pageId)}function jg(){const{emit:e}=ry;"visible"===document.visibilityState?e(Re,c({},Xf)):e(Ie)}function qg(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&hu("onTabItemTap",{index:n,text:t,pagePath:o})}const Vg=({name:e,arg:t})=>{if("postMessage"===e);else switch(e){case"navigateTo":mv(t);break;case"navigateBack":gv(t);break;case"switchTab":Wp(t);break;case"reLaunch":Kp(t);break;case"redirectTo":Yp(t)}},Fg=Ue(()=>ry.on(De,Vg)),Hg=Yu({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},emits:["load"],setup(e,{emit:t}){Fg();const n=jn(null),o=jn(null),{$attrs:r,$excludeAttrs:i,$listeners:a}=Eh({excludeListeners:!0}),s=Gu(n,t);let l;return(()=>{const t=document.createElement("iframe");t.onload=function(t){s("load",t,{src:e.src})},Io(()=>{for(const e in r.value)if(p(r.value,e)){const n=r.value[e];t[e]=n}}),Io(()=>{t.src=Of(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();We(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else We(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)})(),wr(()=>{var t;l(),!e.fullscreen&&(null==(t=n.value)||t.appendChild(o.value))}),ur(()=>{e.fullscreen&&(o.value.style.display="block")}),dr(()=>{e.fullscreen&&(o.value.style.display="none")}),Ar(()=>{e.fullscreen&&document.body.removeChild(o.value)}),()=>ji(xi,null,[ji("uni-web-view",Yi({class:e.fullscreen?"uni-webview--fullscreen":""},a.value,i.value,{ref:n}),[ji(Kf,{onResize:l},null,8,["onResize"])],16)])}});let Wg,Ug=0;function Yg(e,t,n,o){var r,i=document.createElement("script"),a=t.callback||"callback",s="__uni_jsonp_callback_"+Ug++,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 Xg(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(om())this.callback=s,this.visible&&this.createAMapText();else if(rm())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,om()?this.visible&&this.createAMapText():rm()?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(!om()&&!rm()){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 Kg={};function Gg(e,t){const n=em();if(!n.key)return void console.error("Map key not configured.");const o=Kg[n.type]=Kg[n.type]||[];if(Wg)t(Wg);else if(window[n.type]&&window[n.type].maps)Wg=om()||rm()?window[n.type]:window[n.type].maps,Wg.Callout=Wg.Callout||Xg(Wg),t(Wg);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],Wg=om()||rm()?window[n.type]:window[n.type].maps,Wg.Callout=Xg(Wg),o.forEach(e=>e(Wg)),o.length=0},om()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const a=document.createElement("script");let s=Jg(n.type);n.type===Zg.QQ&&e.push("geometry"),e.length&&(s+=`libraries=${e.join("%2C")}&`),n.type===Zg.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 Jg=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]);const Qg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/gIePjG559BigpZQOrYB/4jBfRGRUtDkmJjY6KjLCofkpD62lc2gDfMpWPIuLdwyV8XEpHgaddBZ+wBuSFcwJqSN2ovmZ/dfnOvCTxqGtwzq8SEjv4EhISn48eWgnhUP7DvDSvgzxrs6vV6+FLiro2EkCic4QKkzwJsH1KYreCp0eQhfyDl1B/w4P/xa5JVJ4U03QjbRD9x7wXlgH5IE3wmMBHXoSlugFAcI6f/AkkSi8q6HQm6xDn77wEQ8djTwSj3tqAMguRTe4ikeOQyJ4YV+KfkQl+oNW5GbY4gWOWgbwJ+kwAD6Fi90MK2ZsrIeBBCUGwRXbqJ+/iJMQliIEBhOU6AJhtlG/IpHE2bqrYQg5h6HA4yQiRqwEfkGCdTCMmMRw+IbPDCQaHCsCYAQxiZHw3TbmD/ESOHgHwShiEqPhp/gggYkSztIxxCRawy/bmEniJaJtfwiEscQkxkFgRqJESqQwwHhiEuMBp3Vm8RK/cZoHEzKXhCK2QxEPpiJe0YlKCFaKCNv/cYBNUsBRPlkJSc0U+dM7E9H0ThGJbgZT/iR7yj+VqMS06Qr4+OFm2JdCxIa8lugzkJs5K6MfxAaYPUcBpYG5khZJEkUUSb7DPCnKRfPBXj6M8FwuegoLpCgXcQszVjhbJFUJUee2hBhLoYTIcYtB57KY+opSMdVqwatSlZVj05aV//CwJLMX2DluaUcwhXm4ali2XOoLjxUrPV26zFtF4f5p0Gp310+z13BUWNvbehEXona6iAtX/zVZmtfN4WixfsNky4S6gCCVVq3RPLdfSfpv3MRRZfPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII=";var Zg=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Zg||{});function em(){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 tm=!1,nm=!1;const om=()=>nm?tm:(nm=!0,tm="AMap"===em().type),rm=()=>"BMapGL"===em().type;const im=Xu({name:"MapMarker",props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},setup(e){const t=String(isNaN(Number(e.id))?"":e.id),n=ti("onMapReady"),o=function(e){const t="uni-map-marker-label-"+e,n=document.createElement("style");return n.id=t,document.head.appendChild(n),kr(()=>{n.remove()}),function(e){const o=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),r=document.createElement("div");return Object.keys(o).forEach(e=>{r.style[e]=o[e]||""}),n.innerText=`.${t}{${r.getAttribute("style")}}`,t}}(t);let r;function i(e){om()?e.removeAMapText():e.setMap(null)}if(n((n,a,s)=>{function l(e){const l=e.title;let c;c=om()?new a.LngLat(e.longitude,e.latitude):rm()?new a.Point(e.longitude,e.latitude):new a.LatLng(e.latitude,e.longitude);const u=new Image;let d=0;u.onload=()=>{const p=e.anchor||{};let f,h,g,m,v="number"==typeof p.x?p.x:.5,y="number"==typeof p.y?p.y:1;e.iconPath&&(e.width||e.height)?(h=e.width||u.width/u.height*e.height,g=e.height||u.height/u.width*e.width):(h=u.width/2,g=u.height/2),d=g,m=g-(g-y*g),f="MarkerImage"in a?new a.MarkerImage(u.src,null,null,new a.Point(v*h,y*g),new a.Size(h,g)):"Icon"in a?new a.Icon({image:u.src,size:new a.Size(h,g),imageSize:new a.Size(h,g),imageOffset:new a.Pixel(v*h,y*g)}):{url:u.src,anchor:new a.Point(v,y),size:new a.Size(h,g)},rm()?(r=new a.Marker(new a.Point(c.lng,c.lat)),n.addOverlay(r)):(r.setPosition(c),r.setIcon(f)),"setRotation"in r&&r.setRotation(e.rotate||0);const b=e.label||{};let _;if("label"in r&&(r.label.setMap(null),delete r.label),b.content){const e={borderColor:b.borderColor,borderWidth:(Number(b.borderWidth)||0)+"px",padding:(Number(b.padding)||0)+"px",borderRadius:(Number(b.borderRadius)||0)+"px",backgroundColor:b.bgColor,color:b.color,fontSize:(b.fontSize||14)+"px",lineHeight:(b.fontSize||14)+"px",marginLeft:(Number(b.anchorX||b.x)||0)+"px",marginTop:(Number(b.anchorY||b.y)||0)+"px"};if("Label"in a)_=new a.Label({position:c,map:n,clickable:!1,content:b.content,style:e}),r.label=_;else if("setLabel"in r)if(om()){const t=`<div style="\n margin-left:${e.marginLeft};\n margin-top:${e.marginTop};\n padding:${e.padding};\n background-color:${e.backgroundColor};\n border-radius:${e.borderRadius};\n line-height:${e.lineHeight};\n color:${e.color};\n font-size:${e.fontSize};\n\n ">\n ${b.content}\n <div>`;r.setLabel({content:t,direction:"bottom-right"})}else{const t=o(e);r.setLabel({text:b.content,color:e.color,fontSize:e.fontSize,className:t})}}const w=e.callout||{};let x,C=r.callout;if(w.content||l){om()&&w.content&&(w.content=w.content.replaceAll("\n","<br/>"));const o="0px 0px 3px 1px rgba(0,0,0,0.5)";let i=-d/2;if((e.width||e.height)&&(i+=14-d/2),x=w.content?{position:c,map:n,top:m,offsetY:i,content:w.content,color:w.color,fontSize:w.fontSize,borderRadius:w.borderRadius,bgColor:w.bgColor,padding:w.padding,boxShadow:w.boxShadow||o,display:w.display}:{position:c,map:n,top:m,offsetY:i,content:l,boxShadow:o},C)C.setOption(x);else if(om()){const e=()=>{""!==t&&s("callouttap",{},{markerId:Number(t)})};C=r.callout=new a.Callout(x,e)}else C=r.callout=new a.Callout(x),C.div.onclick=function(e){""!==t&&s("callouttap",e,{markerId:Number(t)}),e.stopPropagation(),e.preventDefault()},em().type===Zg.GOOGLE&&(C.div.ontouchstart=function(e){e.stopPropagation()},C.div.onpointerdown=function(e){e.stopPropagation()})}else C&&(i(C),delete r.callout)},e.iconPath?u.src=Of(e.iconPath):console.error("Marker.iconPath is required.")}!function(e){rm()||(r=new a.Marker({map:n,flat:!0,autoRotation:!1})),l(e);const o=a.event||a.Event;rm()||o.addListener(r,"click",()=>{const n=r.callout;if(n&&!n.alwaysVisible)if(om())n.visible=!n.visible,n.visible?r.callout.createAMapText():r.callout.removeAMapText();else if(n.set("visible",!n.visible),n.visible){const e=n.div,t=e.parentNode;t.removeChild(e),t.appendChild(e)}t&&s("markertap",{},{markerId:Number(t),latitude:e.latitude,longitude:e.longitude})})}(e),zo(e,l)}),t){const e=ti("addMapChidlContext"),o=ti("removeMapChidlContext"),i={id:t,translate(e){n((t,n,o)=>{const i=e.destination,a=e.duration,s=!!e.autoRotate;let l=Number(e.rotate)||0,c=0;"getRotation"in r&&(c=r.getRotation());const u=r.getPosition(),d=new n.LatLng(i.latitude,i.longitude),p=n.geometry.spherical.computeDistanceBetween(u,d)/1e3/(("number"==typeof a?a:1e3)/36e5),f=n.event||n.Event,h=f.addListener(r,"moving",e=>{const t=e.latLng,n=r.label;n&&n.setPosition(t);const o=r.callout;o&&o.setPosition(t)}),g=f.addListener(r,"moveend",()=>{g.remove(),h.remove(),r.lastPosition=u,r.setPosition(d);const t=r.label;t&&t.setPosition(d);const n=r.callout;n&&n.setPosition(d);const o=e.animationEnd;m(o)&&o()});let v=0;s&&(r.lastPosition&&(v=n.geometry.spherical.computeHeading(r.lastPosition,u)),l=n.geometry.spherical.computeHeading(u,d)-v),"setRotation"in r&&r.setRotation(c+l),"moveTo"in r?r.moveTo(d,p):(r.setPosition(d),f.trigger(r,"moveend",{}))})}};e(i),kr(()=>o(i))}return kr(function(){r&&(r.label&&"setMap"in r.label&&r.label.setMap(null),r.callout&&i(r.callout),r.setMap(null))}),()=>null}});function am(e){if(!e)return{r:0,g:0,b:0,a:0};let t=e.slice(1);const n=t.length;if(![3,4,6,8].includes(n))return{r:0,g:0,b:0,a:0};3!==n&&4!==n||(t=t.replace(/(\w{1})/g,"$1$1"));let[o,r,i,a]=t.match(/(\w{2})/g);const s=parseInt(o,16),l=parseInt(r,16),c=parseInt(i,16);return a?{r:s,g:l,b:c,a:(`0x100${a}`-65536)/255}:{r:s,g:l,b:c,a:1}}const sm={points:{type:Array,require:!0},color:{type:String,default:"#000000"},width:{type:[Number,String],default:""},dottedLine:{type:[Boolean,String],default:!1},arrowLine:{type:[Boolean,String],default:!1},arrowIconPath:{type:String,default:""},borderColor:{type:String,default:"#000000"},borderWidth:{type:[Number,String],default:""},colorList:{type:Array,default:()=>[]},level:{type:String,default:""}},lm=Xu({name:"MapPolyline",props:sm,setup(e){let t,n;function o(){t&&t.setMap(null),n&&n.setMap(null)}return ti("onMapReady")((r,i)=>{function a(e){const o=[];e.points.forEach(e=>{let t;t=om()?[e.longitude,e.latitude]:rm()?new i.Point(e.longitude,e.latitude):new i.LatLng(e.latitude,e.longitude),o.push(t)});const a=Number(e.width)||1,{r:s,g:l,b:c,a:u}=am(e.color),{r:d,g:p,b:f,a:h}=am(e.borderColor),g={map:r,clickable:!1,path:o,strokeWeight:a,strokeColor:e.color||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"},m=Number(e.borderWidth)||0,v={map:r,clickable:!1,path:o,strokeWeight:a+2*m,strokeColor:e.borderColor||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"};"Color"in i?(g.strokeColor=new i.Color(s,l,c,u),v.strokeColor=new i.Color(d,p,f,h)):(g.strokeColor=`rgb(${s}, ${l}, ${c})`,g.strokeOpacity=u,v.strokeColor=`rgb(${d}, ${p}, ${f})`,v.strokeOpacity=h),m&&(n=new i.Polyline(v)),rm()?(t=new i.Polyline(g.path,g),r.addOverlay(t)):t=new i.Polyline(g)}a(e),zo(e,function(e){o(),a(e)})}),kr(o),()=>null}}),cm=Xu({name:"MapCircle",props:{latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},color:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},radius:{type:[Number,String],require:!0},strokeWidth:{type:[Number,String],default:""},level:{type:String,default:""}},setup(e){let t;function n(){t&&t.setMap(null)}return ti("onMapReady")((o,r)=>{function i(e){const n=om()||rm()?[e.longitude,e.latitude]:new r.LatLng(e.latitude,e.longitude),i={map:o,center:n,clickable:!1,radius:e.radius,strokeWeight:Number(e.strokeWidth)||1,strokeDashStyle:"solid"};if(rm())i.strokeColor=e.color,i.fillColor=e.fillColor||"#000",i.fillOpacity=1;else{const{r:t,g:n,b:o,a:a}=am(e.fillColor),{r:s,g:l,b:c,a:u}=am(e.color);"Color"in r?(i.fillColor=new r.Color(t,n,o,a),i.strokeColor=new r.Color(s,l,c,u)):(i.fillColor=`rgb(${t}, ${n}, ${o})`,i.fillOpacity=a,i.strokeColor=`rgb(${s}, ${l}, ${c})`,i.strokeOpacity=u)}if(rm()){let e=new r.Point(i.center[0],i.center[1]);t=new r.Circle(e,i.radius,i),o.addOverlay(t)}else t=new r.Circle(i),om()&&o.add(t)}i(e),zo(e,function(e){n(),i(e)})}),kr(n),()=>null}}),um={id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:[Boolean,String],default:""},trigger:{type:Function,required:!0}},dm=Xu({name:"MapControl",props:um,setup(e){const t=ca(()=>Of(e.iconPath)),n=ca(()=>{let t=`top:${e.position.top||0}px;left:${e.position.left||0}px;`;return e.position.width&&(t+=`width:${e.position.width}px;`),e.position.height&&(t+=`height:${e.position.height}px;`),t}),o=t=>{e.clickable&&e.trigger("controltap",t,{controlId:e.id})};return()=>ji("div",{class:"uni-map-control"},[ji("img",{src:t.value,style:n.value,class:"uni-map-control-icon",onClick:o},null,12,["src","onClick"])])}}),pm=Gd("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),fm="__DC_STAT_UUID",hm=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let gm;function mm(){if(gm=gm||hm[fm],!gm){gm=Date.now()+""+Math.floor(1e7*Math.random());try{hm[fm]=gm}catch(e){}}return gm}function vm(){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 ym(){let e,t,n,o="0",r="phone",i="";const a=navigator.language;if($f){n="iPhone",e="iOS";const r=Pf.match(/OS\s([\w_]+)\slike/);r&&(o=r[1].replace(/_/g,"."));const i=o.split(".")[0];if(Number(i)>=18){const e=Pf.match(/Version\/([\d\.]+)/);e&&(o=e[1])}const a=Pf.match(/\(([a-zA-Z]+);/);a&&(t=a[1])}else if(Lf){e="Android";const n=Pf.match(/Android[\s/]([\w\.]+)[;\s]/);n&&(o=n[1]);const r=Pf.match(/\((.+?)\)/),i=r?r[1].split(";"):Pf.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(zf){if(n="iPad",t="iPad",e="iOS",r="pad",o=m(window.BigInt)?"14.0":"13.0",14===parseInt(o)){const e=Pf.match(/Version\/(\S*)\b/);e&&(o=e[1])}}else if(Rf||If||Df){t="PC",e="PC",r="pc",o="0";let n=Pf.match(/\((.+?)\)/)[1];if(Rf){switch(e="Windows",Rf[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(If){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(Df){e="Linux";const t=n&&n.match(/Linux (.*)/)||"";t&&(o=t[1],-1!==o.indexOf(";")&&(o=o.split(";")[0]))}}else if(Bf){n="HUAWEI",e="harmonyos",r=Nf?"pc":jf?"pad":"phone";const i=Pf.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(Pf)&&(l=t[n],c=Pf.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:Pf,osname:e,osversion:o,theme:vm()}}const bm=Kd(0,()=>{const e=window.devicePixelRatio,t=qf(),n=Vf(t),o=Ff(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Hf();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=Kc(),n=Xc(e,"--window-bottom"),o=Xc(e,"--window-left"),r=Xc(e,"--window-right"),i=Xc(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 _m,wm=!0;function xm(){wm&&(_m=ym())}const Cm=Kd(0,()=>{xm();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:a,deviceType:s,osname:l,osversion:u}=_m;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:mm(),deviceOrientation:a,deviceType:s,model:o,osName:l?l.toLowerCase():void 0,osVersion:u,platform:r,system:i})}),Am=Kd(0,()=>{xm();const{theme:e,language:t,browserName:n,browserVersion:o}=_m;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:ap?ap():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:""},{})}),km=Kd(0,()=>{wm=!0,xm(),wm=!1;const e=bm(),t=Cm(),n=Am();wm=!0;const{ua:o,browserName:r,browserVersion:i,osname:a,osversion:s}=_m,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});let Sm=null;const Em=Ud(cp,()=>{Mm()}),Tm=Yd("offCompass",()=>{Om()}),Mm=Gd("startCompass",(e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!Sm){if(DeviceOrientationEvent.requestPermission)return void DeviceOrientationEvent.requestPermission().then(e=>{"granted"===e?(o(),t()):n(`${e}`)}).catch(e=>{n(`${e}`)});o()}t()}else n();function o(){Sm=function(e){const t=360-(null!==e.alpha?e.alpha:360);ry.invokeOnCallback(cp,{direction:t})},window.addEventListener("deviceorientation",Sm,!1)}}),Om=Gd("stopCompass",(e,{resolve:t})=>{Sm&&(window.removeEventListener("deviceorientation",Sm,!1),Sm=null),t()});const Pm=Gd("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,lp);const Lm=Kd(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function $m(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 Rm=Kd(0,e=>{try{return $m(e)}catch(t){return""}}),Im=Kd(0,e=>{localStorage&&localStorage.removeItem(e)});const Dm=Gd("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,gp),zm={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 Bm=null;const Nm=Gd("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{gc();const{t:i}=cc();Bm&&(document.body.removeChild(Bm),Bm=null),Bm=function({count:e,sourceType:t,type:n,extension:o}){dh();const r=document.createElement("input");return r.type="file",We(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}/${zm[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(Bm),Bm.addEventListener("cancel",()=>{r("chooseImage:fail cancel")}),Bm.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||Uf(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map(({path:e})=>e)},tempFiles:r})}),Bm.click(),lh||console.warn(i("uni.chooseFile.notUserActivation"))},0,hp),jm={esc:["Esc","Escape"],enter:["Enter"]},qm=Object.keys(jm);function Vm(){const e=jn(""),t=jn(!1),n=n=>{if(t.value)return;const o=qm.find(e=>-1!==jm[e].indexOf(n.key));o&&(e.value=o),ao(()=>e.value="")};return wr(()=>{document.addEventListener("keyup",n)}),Ar(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const Fm=ji("div",{class:"uni-mask"},null,-1);function Hm(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ls(tr({setup:()=>()=>(Ti(),$i(e,t,null,16))}))}function Wm(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Um(e,{onEsc:t,onEnter:n}){const o=jn(e.visible),{key:r,disable:i}=Vm();return zo(()=>e.visible,e=>o.value=e),zo(()=>o.value,e=>i.value=!e),Io(()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}let Ym=0,Xm="";function Km(e){let t=Ym;Ym+=e?1:-1,Ym=Math.max(0,Ym),Ym>0?0===t&&(Xm=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Xm,Xm="")}function Gm(){wr(()=>Km(!0)),kr(()=>Km(!1))}const Jm=Xu({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=An({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 ji(Mh,{style:n,onTouchstart:Ku(c),onTouchmove:Ku(d),onTouchend:Ku(u)},{default:()=>[ji(Vh,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[ji("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 Qm(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Zm=Xu({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){Gm();const{key:n}=Vm(),o=jn(null),r=jn(Qm(e));let i;function a(){i||ao(()=>{t("close")})}function s(e){r.value=e.detail.current}zo(()=>e.current,()=>r.value=Qm(e)),zo(()=>n.value,e=>{"esc"===e&&a()}),wr(()=>{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 ji("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},[ji(Gh,{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=>ji(Qh,null,{default:()=>[ji(Jm,{src:e},null,8,["src"])]})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!Ri(n)?t:{default:()=>[t],_:1}),8,["current","onChange"]),ji("div",{style:l},[iu("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 ev,tv=null;const nv=()=>{tv=null,ao(()=>{null==ev||ev.unmount(),ev=null})},ov=Gd("previewImage",(e,{resolve:t})=>{tv?c(tv,e):(tv=An(e),ao(()=>{ev=Hm(Zm,tv,nv),ev.mount(Wm("u-a-p"))})),t()},0,mp),rv=Xd("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 f=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"===f)try{d=JSON.stringify(t)}catch(g){d=t.toString()}else if("urlencoded"===f){const e=[];for(const n in t)p(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 av(t);const p={method:o,headers:n,body:d,signal:a,credentials:s?"include":"same-origin"},f=setTimeout(function(){h.abort(),u("timeout",{errCode:5})},l);p.signal.addEventListener("abort",function(){clearTimeout(f),u("abort",{errCode:600003})}),window.fetch(e,p).then(e=>{const t=e.status,n=e.headers,o=e.body,a={};n.forEach((e,t)=>{a[t]=e});const s=iv(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=lv(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 av(t),t.open(o,e);for(const e in n)p(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=lv(n,i,r)),c({data:n,statusCode:e,header:sv(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,_p),iv=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 av{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new dt,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 sv(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 lv(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class cv{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 uv=Xd("downloadFile",({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,a=new XMLHttpRequest,s=new cv(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:Uf(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,wp),dv=Gd("getLocation",({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:i})=>{const a=em();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===Zg.QQ?Yg(`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===Zg.GOOGLE?rv({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===Zg.AMAP?Gg([],()=>{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=em();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise(e=>{Yg(`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=>{Gg([],()=>{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,dp);const pv=Xu({name:"LocationView",props:{latitude:{type:Number},longitude:{type:Number},scale:{type:Number,default:18},name:{type:String,default:""},address:{type:String,default:""}},emits:["close"],setup(e,{emit:t}){const n=function(e){const t=An({center:{latitude:0,longitude:0},marker:{id:1,latitude:0,longitude:0,iconPath:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC",width:32,height:52},location:{id:2,latitude:0,longitude:0,iconPath:Qg,width:44,height:44}});function n(){e.latitude&&e.longitude&&(t.center.latitude=e.latitude,t.center.longitude=e.longitude,t.marker.latitude=e.latitude,t.marker.longitude=e.longitude)}return zo([()=>e.latitude,()=>e.longitude],n),n(),t}(e);function o(e){const t=e.detail.centerLocation;t&&(n.center.latitude=t.latitude,n.center.longitude=t.longitude)}function r(){const t=em();let o="";if(t.type===Zg.GOOGLE){o=`https://www.google.com/maps/dir/?api=1${n.location.latitude?`&origin=${n.location.latitude}%2C${n.location.longitude}`:""}&destination=${e.latitude}%2C${e.longitude}`}else if(t.type===Zg.QQ){o=`https://apis.map.qq.com/uri/v1/routeplan?type=drive${n.location.latitude?`&fromcoord=${n.location.latitude}%2C${n.location.longitude}&from=${encodeURIComponent("我的位置")}`:""}&tocoord=${e.latitude}%2C${e.longitude}&to=${encodeURIComponent(e.name||"目的地")}&ref=${t.key}`}else if(t.type===Zg.AMAP){o=`https://uri.amap.com/navigation?${n.location.latitude?`from=${n.location.longitude},${n.location.latitude},${encodeURIComponent("我的位置")}&`:""}to=${e.longitude},${e.latitude},${encodeURIComponent(e.name||"目的地")}`}window.open(o)}function i(){t("close")}function a({latitude:e,longitude:t}){n.center.latitude=e,n.center.longitude=t}return Gm(),dv({type:"gcj02",success:({latitude:e,longitude:t})=>{n.location.latitude=e,n.location.longitude=t}}),()=>ji("div",{class:"uni-system-open-location"},[ji(ey,{latitude:n.center.latitude,longitude:n.center.longitude,class:"map",markers:[n.marker,n.location],onRegionchange:o},{default:()=>[ji("div",{class:"map-move",onClick:()=>a(n.location)},[iu("M13.3334375 16 q0.033125 1.1334375 0.783125 1.8834375 q0.75 0.75 1.8834375 0.75 q1.1334375 0 1.8834375 -0.75 q0.75 -0.75 0.75 -1.8834375 q0 -1.1334375 -0.75 -1.8834375 q-0.75 -0.75 -1.8834375 -0.75 q-1.1334375 0 -1.8834375 0.75 q-0.75 0.75 -0.783125 1.8834375 ZM30.9334375 14.9334375 l-1.1334375 0 q-0.5 -5.2 -4.0165625 -8.716875 q-3.516875 -3.5165625 -8.716875 -4.0165625 l0 -1.1334375 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 1.1334375 q-5.2 0.5 -8.716875 4.0165625 q-3.5165625 3.516875 -4.0165625 8.716875 l-1.1334375 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l1.1334375 0 q0.5 5.2 4.0165625 8.716875 q3.516875 3.5165625 8.716875 4.0165625 l0 1.1334375 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -1.1334375 q5.2 -0.5 8.716875 -4.0165625 q3.5165625 -3.516875 4.0165625 -8.716875 l1.1334375 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 ZM17.0665625 27.6665625 l0 -2.0665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 2.0665625 q-4.3 -0.4665625 -7.216875 -3.383125 q-2.916875 -2.916875 -3.3834375 -7.216875 l2.0665625 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 l-2.0665625 0 q0.4665625 -4.3 3.3834375 -7.216875 q2.9165625 -2.916875 7.216875 -3.3834375 l0 2.0665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -2.0665625 q4.3 0.4665625 7.216875 3.3834375 q2.9165625 2.9165625 3.383125 7.216875 l-2.0665625 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l2.0665625 0 q-0.4665625 4.3 -3.383125 7.216875 q-2.916875 2.9165625 -7.216875 3.383125 Z","#000000",24)],8,["onClick"])]},8,["latitude","longitude","markers","onRegionchange"]),ji("div",{class:"info"},[ji("div",{class:"name",onClick:()=>a(n.marker)},[e.name],8,["onClick"]),ji("div",{class:"address",onClick:()=>a(n.marker)},[e.address],8,["onClick"]),ji("div",{class:"nav",onClick:r},[iu("M28 17c-6.49396875 0-12.13721875 2.57040625-15 6.34840625V5.4105l6.29859375 6.29859375c0.387875 0.387875 1.02259375 0.387875 1.4105 0 0.387875-0.387875 0.387875-1.02259375 0-1.4105L12.77853125 2.36803125a0.9978125 0.9978125 0 0 0-0.0694375-0.077125c-0.1944375-0.1944375-0.45090625-0.291375-0.70721875-0.290875l-0.00184375-0.0000625-0.00184375 0.0000625c-0.2563125-0.0005-0.51278125 0.09640625-0.70721875 0.290875a0.9978125 0.9978125 0 0 0-0.0694375 0.077125l-7.930625 7.9305625c-0.387875 0.387875-0.387875 1.02259375 0 1.4105 0.387875 0.387875 1.02259375 0.387875 1.4105 0L11 5.4105V29c0 0.55 0.45 1 1 1s1-0.45 1-1c0-5.52284375 6.71571875-10 15-10 0.55228125 0 1-0.44771875 1-1 0-0.55228125-0.44771875-1-1-1z","#ffffff",26)],8,["onClick"])]),ji("div",{class:"nav-btn-back",onClick:i},[iu(ru,"#ffffff",26)],8,["onClick"])])}});let fv=null;const hv=Gd("openLocation",(e,{resolve:t})=>{fv?c(fv,e):(fv=An(e),ao(()=>{const e=Hm(pv,fv,()=>{fv=null,ao(()=>{e.unmount()})});e.mount(Wm("u-a-o"))})),t()},0,fp),gv=Gd("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===hu(be,{from:e.from||"navigateBack"})&&(o=!1),o?($g().$router.go(-e.delta),t()):n(be)},0,Lp),mv=Gd(Cp,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(sf.handledBeforeEntryPageRoutes)return Gp({type:Cp,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);lf.push({args:{type:Cp,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})},0,Tp);function vv(e){__uniConfig.darkmode&&ry.on(le,e)}function yv(e){ry.off(le,e)}function bv(e){let t={};return __uniConfig.darkmode&&(t=ht(e,__uniConfig.themeConfig,vm())),__uniConfig.darkmode?t:e}const _v={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},wv=tr({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=jn(""),o=()=>a.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),a=Um(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),s=function(e){const t=jn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=_v[e].cancelColor})(e,t)};return Io(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===vm()&&n({theme:"dark"}),vv(n))):yv(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:p}=e;return n.value=o,ji(ya,{name:"uni-fade"},{default:()=>[Vo(ji("uni-modal",{onTouchmove:Uc},[Fm,ji("div",{class:"uni-modal"},[t?ji("div",{class:"uni-modal__hd"},[ji("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?ji("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:p,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):ji("div",{class:"uni-modal__bd",onTouchmovePassive:Yc,textContent:o},null,40,["onTouchmovePassive","textContent"]),ji("div",{class:"uni-modal__ft"},[l&&ji("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),ji("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[La,a.value]])]})}}});let xv;const Cv=Ue(()=>{ry.on("onHidePopup",()=>xv.visible=!1)});let Av;function kv(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&xv.editable&&(o.content=t),Av&&Av(o)}const Sv=Gd("showModal",(e,{resolve:t})=>{Cv(),Av=t,xv?(c(xv,e),xv.visible=!0):(xv=An(e),ao(()=>(Hm(wv,xv,kv).mount(Wm("u-a-m")),ao(()=>xv.visible=!0))))},0,Bp),Ev={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Np.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Tv="uni-toast__icon",Mv={light:"#fff",dark:"rgba(255,255,255,0.9)"},Ov=e=>Mv[e],Pv=tr({name:"Toast",props:Ev,setup(e){pc(),fc();const{Icon:t}=function(e){const t=jn(Ov(vm())),n=({theme:e})=>t.value=Ov(e);Io(()=>{e.visible?vv(n):yv(n)});const o=ca(()=>{switch(e.icon){case"success":return ji(iu(nu,t.value,38),{class:Tv});case"error":return ji(iu(ou,t.value,38),{class:Tv});case"loading":return ji("i",{class:[Tv,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=Um(e,{});return()=>{const{mask:o,duration:r,title:i,image:a}=e;return ji(ya,{name:"uni-fade"},{default:()=>[Vo(ji("uni-toast",{"data-duration":r},[o?ji("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Uc},null,40,["onTouchmove"]):"",a||t.value?ji("div",{class:"uni-toast"},[a?ji("img",{src:a,class:Tv},null,10,["src"]):t.value,ji("p",{class:"uni-toast__content"},[i])]):ji("div",{class:"uni-sample-toast"},[ji("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[La,n.value]])]})}}});let Lv,$v,Rv="";const Iv=yt();function Dv(e){Lv?c(Lv,e):(Lv=An(c(e,{visible:!1})),ao(()=>{Iv.run(()=>{zo([()=>Lv.visible,()=>Lv.duration],([e,t])=>{if(e){if($v&&clearTimeout($v),"onShowLoading"===Rv)return;$v=setTimeout(()=>{Bv("onHideToast")},t)}else $v&&clearTimeout($v)})}),ry.on("onHidePopup",()=>Bv("onHidePopup")),Hm(Pv,Lv,()=>{}).mount(Wm("u-a-t"))})),setTimeout(()=>{Lv.visible=!0},10)}const zv=Gd("showToast",(e,{resolve:t,reject:n})=>{Dv(e),Rv="onShowToast",t()},0,jp);function Bv(e){const{t:t}=cc();if(!Rv)return;let n="";if("onHideToast"===e&&"onShowToast"!==Rv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Rv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Rv="",setTimeout(()=>{Lv.visible=!1},10)}function Nv(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),ry.emit("onNavigationBarChange",{titleText:t})}Io(t),ur(t)}const jv=Gd(qp,(e,{resolve:t})=>{ry.invokeViewMethod(qp,{},cu()),t()}),qv="0px",Vv=Xu({name:"Layout",setup(e,{emit:t}){const n=jn(null);Gc({"--status-bar-height":qv,"--top-window-height":qv,"--window-left":qv,"--window-right":qv,"--window-margin":qv,"--tab-bar-height":qv});const o=function(){const e=Hl();return{routeKey:ca(()=>bf("/"+e.meta.route,pd())),isTabBar:ca(()=>e.meta.isTabBar),routeCache:wf}}(),{layoutState:r,windowState:i}=function(){dd();{const e=An({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return zo(()=>e.marginWidth,e=>Gc({"--window-margin":e+"px"})),zo(()=>e.leftWindowWidth+e.marginWidth,e=>{Gc({"--window-left":e+"px"})}),zo(()=>e.rightWindowWidth+e.marginWidth,e=>{Gc({"--window-right":e+"px"})}),{layoutState:e,windowState:ca(()=>({}))}}}();!function(e,t){const n=dd();function o(){const o=document.body.clientWidth,r=hf();let i={};if(r.length>0){i=af(r[r.length-1]).meta}else{const e=_u(n.path,!0);e&&(i=e.meta)}const a=parseInt(String((p(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>a,s&&a?(e.marginWidth=(o-a)/2,ao(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")})):(e.marginWidth=0,ao(()=>{const e=t.value;e&&e.removeAttribute("style")}))}zo([()=>n.path],o),wr(()=>{o(),window.addEventListener("resize",o)})}(r,n);const a=function(e){const t=jn(!1);return ca(()=>({"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 ji(Vl,null,{default:xo(({Component:o})=>[(Ti(),$i(lr,{matchBy:"key",cache:n},[(Ti(),$i(Oo(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o);return ji("uni-app",{ref:n,class:a.value},[e,!1],2)}}});const Fv="scanCode",Hv=Gd(Fv,(Wv=Fv,(e,{reject:t})=>t(function(e){return`method 'uni.${e}' not supported`}(Wv))));var Wv;const Uv="MAP_LOCATION",Yv=Xu({name:"MapLocation",setup(){const e=An({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){dv({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{i=setTimeout(n,3e4)}})},o=function(){i&&clearTimeout(i),Tm(t)};const r=ti("onMapReady");let i;Em(t),r(n),kr(o);const a=ti("addMapChidlContext"),s=ti("removeMapChidlContext"),l={id:Uv,state:e};a(l),kr(()=>s(l))}return()=>e.latitude?ji(im,Yi({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:Qg},e),null,16,["iconPath"]):null}}),Xv=Xu({name:"MapPolygon",props:{dashArray:{type:Array,default:()=>[0,0]},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},setup(e){let t;return ti("onMapReady")((n,o,r)=>{function i(){const{points:r,strokeWidth:i,strokeColor:a,dashArray:s,fillColor:l,zIndex:c}=e,u=r.map(e=>{const{latitude:t,longitude:n}=e;return om()?[n,t]:rm()?new o.Point(n,t):new o.LatLng(t,n)}),{r:d,g:p,b:f,a:h}=am(l),{r:g,g:m,b:v,a:y}=am(a),b={clickable:!0,cursor:"crosshair",editable:!1,map:n,fillColor:"",path:u,strokeColor:"",strokeDashStyle:s.some(e=>e>0)?"dash":"solid",strokeWeight:i,visible:!0,zIndex:c};o.Color?(b.fillColor=new o.Color(d,p,f,h),b.strokeColor=new o.Color(g,m,v,y)):(b.fillColor=`rgb(${d}, ${p}, ${f})`,b.fillOpacity=h,b.strokeColor=`rgb(${g}, ${m}, ${v})`,b.strokeOpacity=y),t?t.setOptions(b):rm()?(t=new o.Polygon(b.path,b),n.addOverlay(t)):t=new o.Polygon(b)}i(),zo(e,i)}),kr(()=>{t.setMap(null)}),()=>null}});function Kv(e){const t=[];return f(e)&&e.forEach(e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})}),t}function Gv(e,t,n){return rm()?function(e,t,n){return new e.Point(n,t)}(e,t,n):om()?function(e,t,n){return new e.LngLat(n,t)}(e,t,n):function(e,t,n){return new e.LatLng(t,n)}(e,t,n)}function Jv(e){return"getLat"in e?e.getLat():rm()?e.lat:e.lat()}function Qv(e){return"getLng"in e?e.getLng():rm()?e.lng:e.lng()}function Zv(e,t,n){const o=Gu(t,n),r=jn(null);let i,a;const s=An({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:Kv(e.includePoints)}),l=[];let u,d;function p(e){u?e(a,i,o):l.push(e)}const f=[];function h(e){d?e():l.push(e)}const g={};function m(){d=!0,f.forEach(e=>e()),f.length=0}function v(){const e=a.getCenter();return{scale:a.getZoom(),centerLocation:{latitude:Jv(e),longitude:Qv(e)}}}function y(){if(om()){const e=[];s.includePoints.forEach(t=>{e.push([t.longitude,t.latitude])});const t=new i.Bounds(...e);a.setBounds(t)}else if(rm());else{const e=new i.LatLngBounds;s.includePoints.forEach(({latitude:t,longitude:n})=>{const o=new i.LatLng(t,n);e.extend(o)}),a.fitBounds(e)}}function b(){const t=r.value,l=Gv(i,s.latitude,s.longitude),u=i.event||i.Event,d=new i.Map(t,{center:l,zoom:Number(e.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0});if(rm()&&(d.centerAndZoom(l,Number(e.scale)),d.enableScrollWheelZoom(),d._printLog&&d._printLog("uniapp")),zo(()=>e.scale,e=>{d.setZoom(Number(e)||16)}),h(()=>{s.includePoints.length&&(y(),function(){const e=Gv(i,s.latitude,s.longitude);a.setCenter(e)}())}),rm())d.addEventListener("click",()=>{o("tap",{},{}),o("click",{},{})}),d.addEventListener("dragstart",()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})}),d.addEventListener("dragend",()=>{o("regionchange",{},c({type:"end",causedBy:"drag"},v()))});else{const e=u.addListener(d,"bounds_changed",()=>{e.remove(),m()});u.addListener(d,"complete",()=>{m()}),u.addListener(d,"click",()=>{o("tap",{},{}),o("click",{},{})}),u.addListener(d,"dragstart",()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})}),u.addListener(d,"dragend",()=>{o("regionchange",{},c({type:"end",causedBy:"drag"},v()))});const t=()=>{n("update:scale",d.getZoom()),o("regionchange",{},c({type:"end",causedBy:"scale"},v()))};u.addListener(d,"zoom_changed",t),u.addListener(d,"zoomend",t),u.addListener(d,"center_changed",()=>{const e=d.getCenter(),t=Jv(e),o=Qv(e);n("update:latitude",t),n("update:longitude",o)})}return d}zo([()=>e.latitude,()=>e.longitude],([e,t])=>{const n=Number(e),o=Number(t);if((n!==s.latitude||o!==s.longitude)&&(s.latitude=n,s.longitude=o,a)){const e=Gv(i,s.latitude,s.longitude);a.setCenter(e)}}),zo(()=>e.includePoints,e=>{s.includePoints=Kv(e),d&&y()},{deep:!0});try{dg((e,t={})=>{switch(e){case"getCenterLocation":p(()=>{const n=a.getCenter();Ye(t,{latitude:Jv(n),longitude:Qv(n),errMsg:`${e}:ok`})});break;case"moveToLocation":{let n=Number(t.latitude),o=Number(t.longitude);if(!n||!o){const e=g[Uv];e&&(n=e.state.latitude,o=e.state.longitude)}if(n&&o){if(s.latitude=n,s.longitude=o,a){const e=Gv(i,n,o);a.setCenter(e)}p(()=>{Ye(t,`${e}:ok`)})}else Ye(t,`${e}:fail`)}break;case"translateMarker":p(()=>{const n=g[t.markerId];if(n){try{n.translate(t)}catch(o){Ye(t,`${e}:fail ${o.message}`)}Ye(t,`${e}:ok`)}else Ye(t,`${e}:fail not found`)});break;case"includePoints":s.includePoints=Kv(t.includePoints),(d||om())&&y(),h(()=>{Ye(t,`${e}:ok`)});break;case"getRegion":h(()=>{const n=a.getBounds(),o=n.getSouthWest(),r=n.getNorthEast();Ye(t,{southwest:{latitude:Jv(o),longitude:Qv(o)},northeast:{latitude:Jv(r),longitude:Qv(r)},errMsg:`${e}:ok`})});break;case"getScale":p(()=>{Ye(t,{scale:a.getZoom(),errMsg:`${e}:ok`})})}},function(){const e=au(),t=Qi().proxy,n=t.$options.name.toLowerCase(),o=t.id||"context"+pg++;return wr(()=>{t.$el.__uniContextInfo={id:o,type:n,page:e}}),`${n}.${o}`}(),!0)}catch(_){}return wr(()=>{Gg(e.libraries,e=>{i=e,a=b(),u=!0,l.forEach(e=>e(a,i,o)),l.length=0,o("updated",{},{})})}),ei("onMapReady",p),ei("addMapChidlContext",function(e){g[e.id]=e}),ei("removeMapChidlContext",function(e){delete g[e.id]}),{state:s,mapRef:r,trigger:o}}const ey=Yu({name:"Map",props:{id:{type:String,default:""},latitude:{type:[String,Number],default:0},longitude:{type:[String,Number],default:0},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},includePoints:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]}},emits:["markertap","labeltap","callouttap","controltap","regionchange","tap","click","updated","update:scale","update:latitude","update:longitude"],setup(e,{emit:t,slots:n}){const o=jn(null),{mapRef:r,trigger:i}=Zv(e,o,t);return()=>ji("uni-map",{ref:o,id:e.id},[ji("div",{ref:r,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map(e=>ji(im,Yi({key:e.id},e),null,16)),e.polyline.map(e=>ji(lm,e,null,16)),e.circles.map(e=>ji(cm,e,null,16)),e.controls.map(e=>ji(dm,Yi(e,{trigger:i}),null,16,["trigger"])),e.showLocation&&ji(Yv,null,null),e.polygons.map(e=>ji(Xv,e,null,16)),ji("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}}),ty=class e{constructor(){ac(this,"_adConfig",null),ac(this,"_isLoading",!1),ac(this,"_callbacks",[]),ac(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??"":"";rv({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}))}};ac(ty,"IC",0),ac(ty,"IS",0),ac(ty,"URL","https://hac1.dcloud.net.cn/ah5v2"),ac(ty,"KEY","uni_app_ad_config"),ac(ty,"CACHE_TIME",6e5),ac(ty,"ERROR_INVALID_ADPID",{"-5002":"invalid adpid"});const ny=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){rv({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}))}};ac(ny,"URL","https://has1.dcloud.net.cn/ahl"),ac(ny,"KEY","uni_app_ad_guid");const oy=c(kc,{publishHandler(e,t,n){ry.subscribeHandler(e,t,n)}}),ry=c(Ru,{publishHandler(e,t,n){oy.subscribeHandler(e,t,n)}}),iy=Xu({name:"PageHead",setup(){const e=jn(null),t=cd(),n=function(e,t){const n=Tn(e),o=n?An(bv(e)):bv(e);return __uniConfig.darkmode&&n&&zo(e,e=>{const t=bv(e);for(const n in t)o[n]=t[n]}),t&&vv(t),o}(t.navigationBar,()=>{const e=bv(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor}),{clazz:o,style:r}=function(e){const t=ca(()=>{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=ca(()=>({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 ji("div",{class:"uni-page-head-btn",onClick:sy},[iu(ru,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),a=n.type||"default",s="transparent"!==a&&"float"!==a&&ji("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return ji("uni-page-head",{"uni-page-head-type":a},[ji("div",{ref:e,class:o.value,style:r.value},[ji("div",{class:"uni-page-head-hd"},[i]),ay(n),ji("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function ay(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return ji("div",{class:"uni-page-head-bd"},[ji("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?ji("i",{class:"uni-loading"},null):r?ji("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function sy(){1===ff().length?Kp({url:"/"}):gv({from:"backbutton",success(){}})}const ly={name:"PageRefresh",setup(){const{pullToRefresh:e}=cd();return{offset:e.offset,color:e.color}}},cy=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},uy={class:"uni-page-refresh-inner"},dy=["fill"],py=[Ni("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),Ni("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],fy={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},hy=["stroke"];const gy=cy(ly,[["render",function(e,t,n,o,r,i){return Ti(),Li("uni-page-refresh",null,[Ni("div",{style:qe({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Ni("div",uy,[(Ti(),Li("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},py,8,dy)),(Ti(),Li("svg",fy,[Ni("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,hy)]))])],4)])}]]);function my(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 vy="pulling",yy="reached",by="aborting",_y="refreshing",wy="restoring";function xy(e){const t=cd(),{id:n,pullToRefresh:o}=t,{range:r,height:i}=o;let a,s,l,c,u,d,p,f;dg(()=>{t.enablePullDownRefresh&&(f||(f=_y,v(),setTimeout(()=>{x()},50)))},"startPullDownRefresh",!1,n),dg(()=>{t.enablePullDownRefresh&&f===_y&&(y(),f=wy,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(),f=h=g=null}))},qp,!1,n),wr(()=>{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){f&&a&&a.classList[e]("uni-page-refresh--"+f)}function v(){m("add")}function y(){m("remove")}const b=Ku(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,p=!([by,_y,wy].indexOf(f)>=0)}),_=Ku(e=>{if(!t.enablePullDownRefresh)return;if(!p)return;if(!my(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!f)return;e.cancelable&&e.preventDefault(),null===h&&(g=n,f=vy,v()),n-=g,n<0&&(n=0),h=n;(n>=r&&f!==yy||n<r&&f!==vy)&&(y(),f=f===yy?vy:yy,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=Ku(e=>{t.enablePullDownRefresh&&my(e,u,d)&&null!==f&&(f===vy?(y(),f=by,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(),f=h=g=null})):f===yy&&(y(),f=_y,v(),x()))});function x(){s&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+i+"px, 0)",hu(n,Ce))}return{onTouchstartPassive:b,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const Cy=Xu({name:"PageBody",setup(e,t){const n=cd(),o=jn(null),r=jn(null),i=n.enablePullDownRefresh?xy(o):null,a=jn(null);return zo(()=>n.enablePullDownRefresh,()=>{a.value=n.enablePullDownRefresh?i:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return ji(gy,{ref:e},null,512)}(o,n);return ji(xi,null,[e,ji("uni-page-wrapper",Yi({ref:r},a.value),[ji("uni-page-body",null,[Pr(t.slots,"default")]),null],16)])}}});const Ay=Xu({name:"Page",setup(e,t){let n=ud(pd());const o=n.navigationBar,r={};return Nv(n),()=>ji("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[ji(iy),ky(t),null]:[ky(t),null])}});function ky(e){return Ti(),$i(Cy,{key:0},{default:xo(()=>[Pr(e.slots,"page")]),_:3})}const Sy={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=ip;const Ey=Object.assign({}),Ty=Object.assign;window.__uniConfig=Ty({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:Sy,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(Ey).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Ty(e[n]||(e[n]={}),Ey[t].default),e},{}),router:{mode:"hash",base:"/water-mini/",assets:"assets",routerBase:"/water-mini/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const My={delay:Sy.delay,timeout:Sy.timeout,suspensible:Sy.suspensible};Sy.loading&&(My.loadingComponent={name:"SystemAsyncLoading",render:()=>ji(To(Sy.loading))}),Sy.error&&(My.errorComponent={name:"SystemAsyncError",props:["error"],render(){return ji(To(Sy.error),{error:this.error})}});const Oy=()=>t(()=>import("./pages-home-index.CWC3pgnE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>zg(e.default||e)),Py=or(Ty({loader:Oy},My)),Ly=()=>t(()=>import("./pages-account-login.BbZOW5gd.js"),__vite__mapDeps([10,2,11])).then(e=>zg(e.default||e)),$y=or(Ty({loader:Ly},My)),Ry=()=>t(()=>import("./pages-account-identities.BGLUtshk.js"),__vite__mapDeps([12,1,2,13,14,5,6,15])).then(e=>zg(e.default||e)),Iy=or(Ty({loader:Ry},My)),Dy=()=>t(()=>import("./pages-account-profile.COSC2UGZ.js"),__vite__mapDeps([16,1,2,13,14,5,6,7,8,17])).then(e=>zg(e.default||e)),zy=or(Ty({loader:Dy},My)),By=()=>t(()=>import("./pages-packages-index.D_iNIfjC.js"),__vite__mapDeps([18,19,20,2,3,4,5,6,21])).then(e=>zg(e.default||e)),Ny=or(Ty({loader:By},My)),jy=()=>t(()=>import("./pages-packages-detail.CmCatCL-.js"),__vite__mapDeps([22,1,20,2,5,6])).then(e=>zg(e.default||e)),qy=or(Ty({loader:jy},My)),Vy=()=>t(()=>import("./pages-packages-cart.BieVY7ST.js"),__vite__mapDeps([23,20,2,24,13,14,25,26])).then(e=>zg(e.default||e)),Fy=or(Ty({loader:Vy},My)),Hy=()=>t(()=>import("./pages-orders-checkout.DF2Df6tY.js"),__vite__mapDeps([27,1,24,2,13,14,5,6])).then(e=>zg(e.default||e)),Wy=or(Ty({loader:Hy},My)),Uy=()=>t(()=>import("./pages-orders-index.BpAYw8lL.js"),__vite__mapDeps([28,19,13,2,14,5,6,7,8])).then(e=>zg(e.default||e)),Yy=or(Ty({loader:Uy},My)),Xy=()=>t(()=>import("./pages-orders-tracking.C6clK9wz.js"),__vite__mapDeps([29,1,24,2,13,14,5,6,30,31,32])).then(e=>zg(e.default||e)),Ky=or(Ty({loader:Xy},My)),Gy=()=>t(()=>import("./pages-addresses-index.B7AxZyp0.js"),__vite__mapDeps([33,1,2,13,14,5,6])).then(e=>zg(e.default||e)),Jy=or(Ty({loader:Gy},My)),Qy=()=>t(()=>import("./pages-addresses-edit.D8IjztyJ.js"),__vite__mapDeps([34,1,24,2,13,14,5,6])).then(e=>zg(e.default||e)),Zy=or(Ty({loader:Qy},My)),eb=()=>t(()=>import("./pages-rights-index.CmXw-F4I.js"),__vite__mapDeps([35,1,24,2,13,14,5,6,7,8,25,26,36])).then(e=>zg(e.default||e)),tb=or(Ty({loader:eb},My)),nb=()=>t(()=>import("./pages-rights-ledger.Se5l8cpb.js"),__vite__mapDeps([37,19,13,2,14,5,6])).then(e=>zg(e.default||e)),ob=or(Ty({loader:nb},My)),rb=()=>t(()=>import("./pages-devices-index.CVTzbRpA.js"),__vite__mapDeps([38,19,2,13,14,5,6])).then(e=>zg(e.default||e)),ib=or(Ty({loader:rb},My)),ab=()=>t(()=>import("./pages-devices-detail.ado17MN7.js"),__vite__mapDeps([39,1,2,13,14,5,6,40,41])).then(e=>zg(e.default||e)),sb=or(Ty({loader:ab},My)),lb=()=>t(()=>import("./pages-account-rewards.BPmPElfC.js"),__vite__mapDeps([42,1,2,13,14,5,6,43])).then(e=>zg(e.default||e)),cb=or(Ty({loader:lb},My)),ub=()=>t(()=>import("./pages-driver-dashboard.BDhnkKyG.js"),__vite__mapDeps([44,1,2,13,14,5,6,45,7,8,46])).then(e=>zg(e.default||e)),db=or(Ty({loader:ub},My)),pb=()=>t(()=>import("./pages-driver-tasks.Ctit2J-K.js"),__vite__mapDeps([47,19,13,2,14,5,6,45,7,8])).then(e=>zg(e.default||e)),fb=or(Ty({loader:pb},My)),hb=()=>t(()=>import("./pages-driver-task.PW-3FQk5.js"),__vite__mapDeps([48,1,24,2,49,13,14,5,6])).then(e=>zg(e.default||e)),gb=or(Ty({loader:hb},My)),mb=()=>t(()=>import("./pages-driver-device.CA7xzoNX.js"),__vite__mapDeps([50,2,13,14,51])).then(e=>zg(e.default||e)),vb=or(Ty({loader:mb},My)),yb=()=>t(()=>import("./pages-driver-fulfill.MigfdaeK.js"),__vite__mapDeps([52,1,24,2,49,13,14,5,6,25,26,30,31,53])).then(e=>zg(e.default||e)),bb=or(Ty({loader:yb},My)),_b=()=>t(()=>import("./pages-driver-routes.Dc1E1smy.js"),__vite__mapDeps([54,1,2,49,13,14,5,6,7,8])).then(e=>zg(e.default||e)),wb=or(Ty({loader:_b},My)),xb=()=>t(()=>import("./pages-agent-dashboard.CN-Kdb2H.js"),__vite__mapDeps([55,1,2,13,14,5,6,7,8,40,41])).then(e=>zg(e.default||e)),Cb=or(Ty({loader:xb},My)),Ab=()=>t(()=>import("./pages-agent-customers.CX7I_bQe.js"),__vite__mapDeps([56,19,2,13,14,5,6,7,8])).then(e=>zg(e.default||e)),kb=or(Ty({loader:Ab},My)),Sb=()=>t(()=>import("./pages-agent-orders.C2hKm-UX.js"),__vite__mapDeps([57,19,2,13,14,5,6,7,8])).then(e=>zg(e.default||e)),Eb=or(Ty({loader:Sb},My)),Tb=()=>t(()=>import("./pages-agent-commissions.BiNhbZCP.js"),__vite__mapDeps([58,1,2,13,14,5,6,7,8,59])).then(e=>zg(e.default||e)),Mb=or(Ty({loader:Tb},My)),Ob=()=>t(()=>import("./pages-common-web.qv0NKFQ_.js"),[]).then(e=>zg(e.default||e)),Pb=or(Ty({loader:Ob},My));function Lb(e,t){return Ti(),$i(Ay,null,{page:xo(()=>[ji(e,Ty({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/home/index",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Py,t)}},loader:Oy,meta:{isQuit:!0,isEntry:!0,enablePullDownRefresh:!0,navigationBar:{titleText:"云泉智配",type:"default"},isNVue:!1}},{path:"/pages/account/login",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb($y,t)}},loader:Ly,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/account/identities",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Iy,t)}},loader:Ry,meta:{navigationBar:{titleText:"选择服务身份",type:"default"},isNVue:!1}},{path:"/pages/account/profile",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(zy,t)}},loader:Dy,meta:{navigationBar:{titleText:"我的",type:"default"},isNVue:!1}},{path:"/pages/packages/index",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Ny,t)}},loader:By,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"套餐专区",type:"default"},isNVue:!1}},{path:"/pages/packages/detail",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(qy,t)}},loader:jy,meta:{navigationBar:{titleText:"套餐详情",type:"default"},isNVue:!1}},{path:"/pages/packages/cart",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Fy,t)}},loader:Vy,meta:{navigationBar:{titleText:"确认组合订单",type:"default"},isNVue:!1}},{path:"/pages/orders/checkout",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Wy,t)}},loader:Hy,meta:{navigationBar:{titleText:"订单详情",type:"default"},isNVue:!1}},{path:"/pages/orders/index",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Yy,t)}},loader:Uy,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的订单",type:"default"},isNVue:!1}},{path:"/pages/orders/tracking",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Ky,t)}},loader:Xy,meta:{navigationBar:{titleText:"配送跟踪",type:"default"},isNVue:!1}},{path:"/pages/addresses/index",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Jy,t)}},loader:Gy,meta:{navigationBar:{titleText:"配送地址",type:"default"},isNVue:!1}},{path:"/pages/addresses/edit",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Zy,t)}},loader:Qy,meta:{navigationBar:{titleText:"编辑供水地址",type:"default"},isNVue:!1}},{path:"/pages/rights/index",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(tb,t)}},loader:eb,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的供水权益",type:"default"},isNVue:!1}},{path:"/pages/rights/ledger",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(ob,t)}},loader:nb,meta:{navigationBar:{titleText:"权益明细",type:"default"},isNVue:!1}},{path:"/pages/devices/index",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(ib,t)}},loader:rb,meta:{navigationBar:{titleText:"智能设备",type:"default"},isNVue:!1}},{path:"/pages/devices/detail",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(sb,t)}},loader:ab,meta:{navigationBar:{titleText:"设备与用水",type:"default"},isNVue:!1}},{path:"/pages/account/rewards",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(cb,t)}},loader:lb,meta:{navigationBar:{titleText:"邀请推广",type:"default"},isNVue:!1}},{path:"/pages/driver/dashboard",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(db,t)}},loader:ub,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"配送工作台",type:"default"},isNVue:!1}},{path:"/pages/driver/tasks",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(fb,t)}},loader:pb,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"配送任务",type:"default"},isNVue:!1}},{path:"/pages/driver/task",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(gb,t)}},loader:hb,meta:{navigationBar:{titleText:"任务详情",type:"default"},isNVue:!1}},{path:"/pages/driver/device",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(vb,t)}},loader:mb,meta:{navigationBar:{titleText:"设备核对",type:"default"},isNVue:!1}},{path:"/pages/driver/fulfill",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(bb,t)}},loader:yb,meta:{navigationBar:{titleText:"完成履约",type:"default"},isNVue:!1}},{path:"/pages/driver/routes",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(wb,t)}},loader:_b,meta:{navigationBar:{titleText:"配送路线",type:"default"},isNVue:!1}},{path:"/pages/agent/dashboard",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Cb,t)}},loader:xb,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"代理工作台",type:"default"},isNVue:!1}},{path:"/pages/agent/customers",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(kb,t)}},loader:Ab,meta:{navigationBar:{titleText:"下属客户",type:"default"},isNVue:!1}},{path:"/pages/agent/orders",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Eb,t)}},loader:Sb,meta:{navigationBar:{titleText:"客户收款记录",type:"default"},isNVue:!1}},{path:"/pages/agent/commissions",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Mb,t)}},loader:Tb,meta:{navigationBar:{titleText:"佣金中心",type:"default"},isNVue:!1}},{path:"/pages/common/web",component:{setup(){const e=$g(),t=e&&e.$route&&e.$route.query||{};return()=>Lb(Pb,t)}},loader:Ob,meta:{navigationBar:{titleText:"服务说明",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e));const $b=(e,t=0)=>(t,n=Qi())=>{ra||yr(e,t,n)},Rb=$b(re,2),Ib=$b(ae,1),Db=$b(de,2),zb=$b(xe,2),Bb=$b(Ce,2),Nb="water.session.v1",jb=An({token:"",userId:"",identities:[],active:null,configuration:null,configError:"",epoch:0});function qb(){jb.token="",jb.userId="",jb.identities=[],jb.active=null,jb.epoch++,Im(Nb)}var Vb={};let Fb=Vb.VITE_API_BASE_URL||"http://127.0.0.1:8787/api/mini/v1";Fb=Vb.VITE_API_BASE_URL||"/api/mini/v1";const Hb=Fb.replace(/\/$/,"");class Wb extends Error{constructor(e,t=0,n=0,o=""){super(e),this.status=t,this.code=n,this.requestId=o}}function Ub(e,t,n={},o=!0){const r=jb.token,i=jb.epoch;return o&&!r?Promise.reject(new Wb("请先登录",401,40101)):new Promise((a,s)=>{rv({url:`${Hb}${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!==jb.epoch)return void s(new Wb("登录身份已切换,请重新加载"));const t=e.data;e.statusCode>=200&&e.statusCode<300&&0===(null==t?void 0:t.code)?a(t.data):(401===e.statusCode&&o&&jb.token===r&&qb(),s(new Wb((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 Wb("网络连接失败,请检查网络后重试"))}})})}const Yb=(e,t={},n=!0)=>Ub(e,"GET",t,n),Xb=(e,t,n=!0)=>Ub(e,"POST",t,n);function Kb(){Lm(Nb,{token:jb.token,userId:jb.userId,identities:jb.identities,active:jb.active?Gb(jb.active):""})}function Gb(e){return`${e.role}:${e.resource_id}`}async function Jb(){try{jb.configuration=await Yb("/config",{},!1),jb.configError=""}catch(e){jb.configError=e instanceof Error?e.message:"服务连接失败"}}async function Qb(){const e=await Yb("/me"),t=jb.active?Gb(jb.active):"";jb.identities=e.identities,jb.active=e.identities.find(e=>jb.active&&Gb(e)===Gb(jb.active))||null,jb.active||1!==e.identities.length||(jb.active=e.identities[0]),t!==(jb.active?Gb(jb.active):"")&&jb.epoch++,Kb()}function Zb(e){jb.active=e,jb.epoch++,Kb(),Kp({url:e_(e)})}function e_(e=jb.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 t_(e){const t=jb.active;if(!jb.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 n_(){var e;return"enterprise_admin"===(null==(e=jb.active)?void 0:e.role)}async function o_(){await Xb("/auth/logout",{}),qb(),Kp({url:"/pages/home/index"})}const r_=tr({__name:"App",setup:e=>(Ib(()=>{!function(){const e=Rm(Nb);e&&"string"==typeof e.token&&/^[a-f0-9]{64}$/.test(e.token)&&(jb.token=e.token,jb.userId=String(e.userId||""),jb.identities=Array.isArray(e.identities)?e.identities:[],jb.active=jb.identities.find(t=>Gb(t)===e.active)||null)}(),Jb()}),()=>{})});Dg(r_,{init:Rg,setup(e){const t=dd(),n=()=>{var n;n=e,Object.keys(sp).forEach(e=>{sp[e].forEach(t=>{yr(e,t,n)})});const{onLaunch:o,onShow:r,onPageNotFound:i}=e,a=function({path:e,query:t}){return c(Yf,{path:e,query:t}),c(Xf,Yf),c({},Yf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:tt(t.query)});if(o&&R(o,a),r&&R(r,a),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:tt(t.query),scene:1001};Jp(),i&&R(i,e)}};return ti(Ol).isReady().then(n),wr(()=>{window.addEventListener("resize",rt(Bg,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Ng),document.addEventListener("visibilitychange",jg),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{ry.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=()=>(Ti(),$i(Vv));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}}),ls(r_).use(kg).mount("#app");export{uv as $,qe as A,jn as B,Jb as C,od as D,Jf as E,xi as F,is as G,Qb as H,Zb as I,Pm as J,pm as K,o_ as L,zb as M,Ah as N,Db as O,zo as P,n_ as Q,Yp as R,Gh as S,Zh as T,Xb as U,An as V,ag as W,Hv as X,Nm as Y,Dm as Z,kr as _,Bb as a,qb as a0,Hb as a1,ov as a2,Rm as a3,Lm as a4,Im as a5,Wb as a6,zv as a7,hv as a8,dv as a9,qn as aa,jv as ab,Pr as ac,mv as ad,Sv as ae,Hg as af,$i as b,ca as c,tr as d,t_ as e,Ti as f,Yb as g,ji as h,sg as i,Vi as j,ng as k,e_ as l,Fi as m,Li as n,Rb as o,Or as p,Qh as q,Kp as r,jb as s,Y as t,Hn as u,rh as v,xo as w,Ni as x,sd as y,Ve as z};
|