| 1234567891011121314151617181920212223242526 |
- function __vite__mapDeps(indexes) {
- if (!__vite__mapDeps.viteFileDeps) {
- __vite__mapDeps.viteFileDeps = ["./pages-tabbar-login-login.8LqNS7eX.js","./storage.Bjb8lQU5.js","./logo.B4ZkV_hz.js","./_plugin-vue_export-helper.BCo6x5W8.js","./login-DZFg8pic.css","./pages-tabbar-tabbar-1-tabbar-1.SCaxxzRr.js","./uni-icons.DLqzPOHi.js","./uni-icons-DPKkW3Rh.css","./uni-app.es.Cbyfkuy6.js","./uni-card.C5Hdvv8G.js","./uni-card-C8mrt8b4.css","./tabbar-1-BHrp-UYg.css","./pages-tabbar-tabbar-2-tabbar-2.D80beA2A.js","./uni-section.DzSFTShA.js","./uni-section-CIyu8iyG.css","./tabbar-2-r6zNqdOY.css","./pages-tabbar-tabbar-3-tabbar-3.UpFTFjhh.js","./tabbar-3-Bwry21bS.css","./pages-tabbar-tabbar-4-tabbar-4.C1-4cVkT.js","./uni-search-bar.h3kPee74.js","./uni-search-bar-BYKIHWfi.css","./uni-cloud.es.B4rBlwmw.js","./uni-list.B-iOxwun.js","./uni-list-CLtF7hYv.css","./tabbar-4-CUSd1P_j.css","./pages-tabbar-tabbar-5-tabbar-5.B6es049A.js","./tabbar-5-SyhIjtGi.css","./pages-tabbar-3-detial-tabbar-3-release-tabbar-3-release.CBQ4wio5.js","./uni-file-picker.hffu4e0U.js","./uni-file-picker-UEtr0OF9.css","./tabbar-3-release-B82IVUjx.css","./pages-tabbar-3-detial-tabbar-3-video-tabbar-3-video.BmQkHFz-.js","./tabbar-3-video-RZyd6U43.css","./pages-tabbar-3-detial-tabbar-3-qa-tabbar-3-qa.BooU6b3a.js","./tabbar-3-qa-Gc_RrBVC.css","./pages-tabbar-login-register.CjJkEdpm.js","./register-D3UzmMD1.css","./pages-tabbar-tabbar-5-userInfo.DmLTC191.js","./userInfo-CYocjtqX.css","./pages-tabbar-tabbar-5-uploadMgr.Cpdn6pn8.js","./uni-list-item.BqBzYHuU.js","./uni-list-item-BTQyRv84.css","./uploadMgr-weVKJG1H.css","./pages-tabbar-tabbar-4-chat.DdWDaqdP.js","./chat-Debw_Zo2.css","./pages-tabbar-tabbar-2-lottoryDetail0.BSskkEzZ.js","./lottoryDetail0-Cn8Jinr1.css","./pages-tabbar-tabbar-2-lottoryDetail1.CL4cajpF.js"]
- }
- return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
- }
- !function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if(n=function(e,t){return new URL(e,t).href}(n,o),n in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const s=document.createElement("link");return s.rel=r?"stylesheet":"modulepreload",r||(s.as="script",s.crossOrigin=""),s.href=n,a&&s.setAttribute("nonce",a),document.head.appendChild(s),r?new Promise(((e,t)=>{s.addEventListener("load",e),s.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))};
- /**
- * @vue/shared v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/
- function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},a=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,h=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,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),S=e=>"[object Object]"===x(e),C=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,P=k((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),O=/\B([A-Z])/g,L=k((e=>e.replace(O,"-$1").toLowerCase())),$=k((e=>e.charAt(0).toUpperCase()+e.slice(1))),B=k((e=>e?`on${$(e)}`:"")),A=(e,t)=>!Object.is(e,t),M=(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})},N=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let R;const F=()=>R||(R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function j(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?H(o):j(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||b(e))return e}const D=/;(?![^(]*\))/g,V=/:([^]+)/,q=/\/\*[^]*?\*\//g;function H(e){const t={};return e.replace(q,"").split(D).forEach((e=>{if(e){const n=e.split(V);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function W(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const o=W(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const z=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function X(e){return!!e||""===e}const U=e=>v(e)?e:null==e?"":p(e)||b(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,Y,2):String(e),Y=(e,t)=>t&&t.__v_isRef?Y(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[G(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>G(e)))}:y(t)?G(t):!b(t)||p(t)||S(t)?t:String(t),G=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},K=["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=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),Z=["list-item"].map((e=>"uni-"+e));function J(e){if(-1!==Z.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==K.indexOf(t)||-1!==Q.indexOf(t)}const ee=["%","%"],te=/^([a-z-]+:)?\/\//i,ne=/^data:.*,.*/;function oe(e){return e&&(e.appContext?e.proxy:e)}function re(e){if(!e)return;let t=e.type.name;for(;t&&J(L(t));)t=(e=e.parent).type.name;return e.proxy}function ie(e){return 1===e.nodeType}function ae(e){if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),j(t)}if(v(e))return H(e);if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?H(o):ae(o);if(r)for(const e in r)t[e]=r[e]}return t}return j(e)}function se(e){let t="";if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(p(e))for(let n=0;n<e.length;n++){const o=se(e[n]);o&&(t+=o+" ")}else t=W(e);return t.trim()}function le(e){return 0===e.indexOf("/")}function ce(e){return le(e)?e:"/"+e}function ue(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function de(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 fe(e){return P(e.substring(5))}const pe=ue((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[fe(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[fe(e)],n.call(this,e)}}));function he(e){return c({},e.dataset,e.__uniDataset)}const ge=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function me(e){return{passive:e}}function ve(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:he(e),offsetTop:n,offsetLeft:o}}function ye(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function be(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=ye(e[n])}catch(o){t[n]=e[n]}})),t}const _e=/\+/g;function we(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(_e," ");let r=e.indexOf("="),i=ye(r<0?e:e.slice(0,r)),a=r<0?null:ye(e.slice(r+1));if(i in t){let e=t[i];p(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function xe(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r);const i=()=>e.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class Se{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o<n.length;)n[o].fn===t&&(n.splice(o,1),o--),o++;else delete this.listener[e]}_clearCache(e){for(let t=0;t<this.emitCache.length;t++){const n=this.emitCache[t],o=e?n.eventName===e?e:null:n.eventName;if(!o)continue;"number"!=typeof this.emit.apply(this,[o,...n.args])?(this.emitCache.splice(t,1),t--):this.emitCache.pop()}}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const Ce=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Te=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const ke=[];const Ee=ue(((e,t)=>{if(m(e._component.onError))return t(e)})),Pe=function(){};Pe.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var i=o.length-1;i>=0;i--)if(o[i].fn===t||o[i].fn._===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var Oe=Pe;const Le={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function $e(e,t,n){if(v(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in Le?Le[o]:o}return r}var o;return t}function Be(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]=S(a)?Be(a,t,n):p(a)?a.map((e=>"object"==typeof e?Be(e,t,n):$e(o,e))):$e(o,a,i)})),r):e}
- /**
- * @dcloudio/uni-h5-vue v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let Ae,Me;class Ie{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ae,!e&&Ae&&(this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Ae;try{return Ae=this,e()}finally{Ae=t}}}on(){Ae=this}off(){Ae=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function Ne(e){return new Ie(e)}class Re{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=Ae){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,We();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),ze()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ve,t=Me;try{return Ve=!0,Me=this,this._runnings++,Fe(this),this.fn()}finally{je(this),this._runnings--,Me=t,Ve=e}}stop(){var e;this.active&&(Fe(this),je(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Fe(e){e._trackId++,e._depsLength=0}function je(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)De(e.deps[t],e);e.deps.length=e._depsLength}}function De(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Ve=!0,qe=0;const He=[];function We(){He.push(Ve),Ve=!1}function ze(){const e=He.pop();Ve=void 0===e||e}function Xe(){qe++}function Ue(){for(qe--;!qe&&Ge.length;)Ge.shift()()}function Ye(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&De(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ge=[];function Ke(e,t,n){Xe();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&&Ge.push(o.scheduler)))}Ue()}const Qe=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ze=new WeakMap,Je=Symbol(""),et=Symbol("");function tt(e,t,n){if(Ve&&Me){let t=Ze.get(e);t||Ze.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Qe((()=>t.delete(n)))),Ye(Me,o)}}function nt(e,t,n,o,r,i){const a=Ze.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&p(e)){const e=Number(o);a.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(a.get(n)),t){case"add":p(e)?C(n)&&s.push(a.get("length")):(s.push(a.get(Je)),h(e)&&s.push(a.get(et)));break;case"delete":p(e)||(s.push(a.get(Je)),h(e)&&s.push(a.get(et)));break;case"set":h(e)&&s.push(a.get(Je))}Xe();for(const l of s)l&&Ke(l,4);Ue()}const ot=n("__proto__,__v_isRef,__isVue"),rt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),it=at();function at(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Yt(this);for(let t=0,r=this.length;t<r;t++)tt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Yt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){We(),Xe();const n=Yt(this)[t].apply(this,e);return Ue(),ze(),n}})),e}function st(e){const t=Yt(this);return tt(t,0,e),t.hasOwnProperty(e)}class lt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Ft:Rt:r?Nt:It).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&f(it,t))return Reflect.get(it,t,n);if("hasOwnProperty"===t)return st}const a=Reflect.get(e,t,n);return(y(t)?rt.has(t):ot(t))?a:(o||tt(e,0,t),r?a:tn(a)?i&&C(t)?a:a.value:b(a)?o?qt(a):Dt(a):a)}}class ct extends lt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=zt(r);if(Xt(n)||zt(n)||(r=Yt(r),n=Yt(n)),!p(e)&&tn(r)&&!tn(n))return!t&&(r.value=n,!0)}const i=p(e)&&C(t)?Number(t)<e.length:f(e,t),a=Reflect.set(e,t,n,o);return e===Yt(o)&&(i?A(n,r)&&nt(e,"set",t,n):nt(e,"add",t,n)),a}deleteProperty(e,t){const n=f(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&nt(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&rt.has(t)||tt(e,0,t),n}ownKeys(e){return tt(e,0,p(e)?"length":Je),Reflect.ownKeys(e)}}class ut extends lt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const dt=new ct,ft=new ut,pt=new ct(!0),ht=e=>e,gt=e=>Reflect.getPrototypeOf(e);function mt(e,t,n=!1,o=!1){const r=Yt(e=e.__v_raw),i=Yt(t);n||(A(t,i)&&tt(r,0,t),tt(r,0,i));const{has:a}=gt(r),s=o?ht:n?Qt:Kt;return a.call(r,t)?s(e.get(t)):a.call(r,i)?s(e.get(i)):void(e!==r&&e.get(t))}function vt(e,t=!1){const n=this.__v_raw,o=Yt(n),r=Yt(e);return t||(A(e,r)&&tt(o,0,e),tt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function yt(e,t=!1){return e=e.__v_raw,!t&&tt(Yt(e),0,Je),Reflect.get(e,"size",e)}function bt(e){e=Yt(e);const t=Yt(this);return gt(t).has.call(t,e)||(t.add(e),nt(t,"add",e,e)),this}function _t(e,t){t=Yt(t);const n=Yt(this),{has:o,get:r}=gt(n);let i=o.call(n,e);i||(e=Yt(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?A(t,a)&&nt(n,"set",e,t):nt(n,"add",e,t),this}function wt(e){const t=Yt(this),{has:n,get:o}=gt(t);let r=n.call(t,e);r||(e=Yt(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&nt(t,"delete",e,void 0),i}function xt(){const e=Yt(this),t=0!==e.size,n=e.clear();return t&&nt(e,"clear",void 0,void 0),n}function St(e,t){return function(n,o){const r=this,i=r.__v_raw,a=Yt(i),s=t?ht:e?Qt:Kt;return!e&&tt(a,0,Je),i.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}}function Ct(e,t,n){return function(...o){const r=this.__v_raw,i=Yt(r),a=h(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=r[e](...o),u=n?ht:t?Qt:Kt;return!t&&tt(i,0,l?et:Je),{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 Tt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function kt(){const e={get(e){return mt(this,e)},get size(){return yt(this)},has:vt,add:bt,set:_t,delete:wt,clear:xt,forEach:St(!1,!1)},t={get(e){return mt(this,e,!1,!0)},get size(){return yt(this)},has:vt,add:bt,set:_t,delete:wt,clear:xt,forEach:St(!1,!0)},n={get(e){return mt(this,e,!0)},get size(){return yt(this,!0)},has(e){return vt.call(this,e,!0)},add:Tt("add"),set:Tt("set"),delete:Tt("delete"),clear:Tt("clear"),forEach:St(!0,!1)},o={get(e){return mt(this,e,!0,!0)},get size(){return yt(this,!0)},has(e){return vt.call(this,e,!0)},add:Tt("add"),set:Tt("set"),delete:Tt("delete"),clear:Tt("clear"),forEach:St(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Ct(r,!1,!1),n[r]=Ct(r,!0,!1),t[r]=Ct(r,!1,!0),o[r]=Ct(r,!0,!0)})),[e,n,t,o]}const[Et,Pt,Ot,Lt]=kt();function $t(e,t){const n=t?e?Lt:Ot:e?Pt:Et;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(f(n,o)&&o in t?n:t,o,r)}const Bt={get:$t(!1,!1)},At={get:$t(!1,!0)},Mt={get:$t(!0,!1)},It=new WeakMap,Nt=new WeakMap,Rt=new WeakMap,Ft=new WeakMap;function jt(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 Dt(e){return zt(e)?e:Ht(e,!1,dt,Bt,It)}function Vt(e){return Ht(e,!1,pt,At,Nt)}function qt(e){return Ht(e,!0,ft,Mt,Rt)}function Ht(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=jt(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return r.set(e,s),s}function Wt(e){return zt(e)?Wt(e.__v_raw):!(!e||!e.__v_isReactive)}function zt(e){return!(!e||!e.__v_isReadonly)}function Xt(e){return!(!e||!e.__v_isShallow)}function Ut(e){return Wt(e)||zt(e)}function Yt(e){const t=e&&e.__v_raw;return t?Yt(t):e}function Gt(e){return Object.isExtensible(e)&&I(e,"__v_skip",!0),e}const Kt=e=>b(e)?Dt(e):e,Qt=e=>b(e)?qt(e):e;class Zt{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Re((()=>e(this._value)),(()=>en(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Yt(this);return e._cacheable&&!e.effect.dirty||!A(e._value,e._value=e.effect.run())||en(e,4),Jt(e),e.effect._dirtyLevel>=2&&en(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Jt(e){var t;Ve&&Me&&(e=Yt(e),Ye(Me,null!=(t=e.dep)?t:e.dep=Qe((()=>e.dep=void 0),e instanceof Zt?e:void 0)))}function en(e,t=4,n){const o=(e=Yt(e)).dep;o&&Ke(o,t)}function tn(e){return!(!e||!0!==e.__v_isRef)}function nn(e){return rn(e,!1)}function on(e){return rn(e,!0)}function rn(e,t){return tn(e)?e:new an(e,t)}class an{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Yt(e),this._value=t?e:Kt(e)}get value(){return Jt(this),this._value}set value(e){const t=this.__v_isShallow||Xt(e)||zt(e);e=t?e:Yt(e),A(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Kt(e),en(this,4))}}function sn(e){return tn(e)?e.value:e}const ln={get:(e,t,n)=>sn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return tn(r)&&!tn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function cn(e){return Wt(e)?e:new Proxy(e,ln)}function un(e,t,n,o){try{return o?e(...o):e()}catch(r){fn(r,t,n)}}function dn(e,t,n,o){if(m(e)){const r=un(e,t,n,o);return r&&_(r)&&r.catch((e=>{fn(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(dn(e[i],t,n,o));return r}function fn(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const a=t.appContext.config.errorHandler;if(a)return void un(a,null,10,[e,r,i])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let pn=!1,hn=!1;const gn=[];let mn=0;const vn=[];let yn=null,bn=0;const _n=Promise.resolve();let wn=null;function xn(e){const t=wn||_n;return e?t.then(this?e.bind(this):e):t}function Sn(e){gn.length&&gn.includes(e,pn&&e.allowRecurse?mn+1:mn)||(null==e.id?gn.push(e):gn.splice(function(e){let t=mn+1,n=gn.length;for(;t<n;){const o=t+n>>>1,r=gn[o],i=En(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),Cn())}function Cn(){pn||hn||(hn=!0,wn=_n.then(On))}function Tn(e,t,n=(pn?mn+1:0)){for(;n<gn.length;n++){const t=gn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;gn.splice(n,1),n--,t()}}}function kn(e){if(vn.length){const e=[...new Set(vn)].sort(((e,t)=>En(e)-En(t)));if(vn.length=0,yn)return void yn.push(...e);for(yn=e,bn=0;bn<yn.length;bn++)yn[bn]();yn=null,bn=0}}const En=e=>null==e.id?1/0:e.id,Pn=(e,t)=>{const n=En(e)-En(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function On(e){hn=!1,pn=!0,gn.sort(Pn);try{for(mn=0;mn<gn.length;mn++){const e=gn[mn];e&&!1!==e.active&&un(e,null,14)}}finally{mn=0,gn.length=0,kn(),pn=!1,wn=null,(gn.length||vn.length)&&On()}}function Ln(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(N))}let l,c=r[l=B(t)]||r[l=B(P(t))];!c&&a&&(c=r[l=B(L(t))]),c&&dn(c,e,6,$n(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,dn(u,e,6,$n(e,u,i))}}function $n(e,t,n){if(1!==n.length)return n;if(m(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&f(o,"type")&&f(o,"timeStamp")&&f(o,"target")&&f(o,"currentTarget")&&f(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function Bn(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let a={},s=!1;if(!m(e)){const o=e=>{const n=Bn(e,t,!0);n&&(s=!0,c(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||s?(p(i)?i.forEach((e=>a[e]=null)):c(a,i),b(e)&&o.set(e,a),a):(b(e)&&o.set(e,null),null)}function An(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,L(t))||f(e,t))}let Mn=null,In=null;function Nn(e){const t=Mn;return Mn=e,In=e&&e.type.__scopeId||null,t}function Rn(e,t=Mn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Wr(-1);const r=Nn(t);let i;try{i=e(...n)}finally{Nn(r),o._d&&Wr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Fn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:c,emit:u,render:d,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const b=Nn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=ri(d.call(t,e,f,i,h,p,g)),y=c}else{const e=t;0,v=ri(e.length>1?e(i,{attrs:c,slots:s,emit:u}):e(i,null)),y=t.props?c:jn(c)}}catch(w){Dr.length=0,fn(w,e,1),v=ei(Fr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(l)&&(y=Dn(y,a)),_=ti(_,y))}return n.dirs&&(_=ti(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Nn(b),v}const jn=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},Dn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Vn(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]&&!An(n,i))return!0}return!1}function qn(e,t){return zn("components",e,!0,t)||e}const Hn=Symbol.for("v-ndc");function Wn(e){return v(e)?zn("components",e,!1)||e:e||Hn}function zn(e,t,n=!0,o=!1){const r=Mn||di;if(r){const n=r.type;if("components"===e){const e=xi(n,!1);if(e&&(e===t||e===P(t)||e===$(P(t))))return n}const i=Xn(r[e]||n[e],t)||Xn(r.appContext[e],t);return!i&&o?n:i}}function Xn(e,t){return e&&(e[t]||e[P(t)]||e[$(P(t))])}const Un=e=>e.__isSuspense;const Yn=Symbol.for("v-scx");function Gn(e,t){return Zn(e,null,t)}const Kn={};function Qn(e,t,n){return Zn(e,t,n)}function Zn(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),k()}}const d=di,f=e=>!0===r?e:to(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(tn(e)?(h=()=>e.value,v=Xt(e)):Wt(e)?(h=()=>f(e),v=!0):p(e)?(y=!0,v=e.some((e=>Wt(e)||Xt(e))),h=()=>e.map((e=>tn(e)?e.value:Wt(e)?f(e):m(e)?un(e,d,2):void 0))):h=m(e)?t?()=>un(e,d,2):()=>(g&&g(),dn(e,d,3,[_])):i,t&&r){const e=h;h=()=>to(e())}let b,_=e=>{g=C.onStop=()=>{un(e,d,4),g=C.onStop=void 0}};if(yi){if(_=i,t?n&&dn(t,d,3,[h(),y?[]:void 0,_]):h(),"sync"!==a)return i;{const e=mr(Yn);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Kn):Kn;const x=()=>{if(C.active&&C.dirty)if(t){const e=C.run();(r||v||(y?e.some(((e,t)=>A(e,w[t]))):A(e,w)))&&(g&&g(),dn(t,d,3,[e,w===Kn?void 0:y&&w[0]===Kn?[]:w,_]),w=e)}else C.run()};let S;x.allowRecurse=!!t,"sync"===a?S=x:"post"===a?S=()=>Lr(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),S=()=>Sn(x));const C=new Re(h,i,S),T=Ae,k=()=>{C.stop(),T&&u(T.effects,C)};return t?n?x():w=C.run():"post"===a?Lr(C.run.bind(C),d&&d.suspense):C.run(),b&&b.push(k),k}function Jn(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?eo(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const a=gi(this),s=Zn(r,i.bind(o),n);return a(),s}function eo(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 to(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),tn(e))to(e.value,t,n,o);else if(p(e))for(let r=0;r<e.length;r++)to(e[r],t,n,o);else if(g(e)||h(e))e.forEach((e=>{to(e,t,n,o)}));else if(S(e))for(const r in e)to(e[r],t,n,o);return e}function no(e,t){if(null===Mn)return e;const n=wi(Mn)||Mn.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&&to(a),r.push({dir:e,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function oo(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&&(We(),dn(l,n,8,[e.el,s,e,t]),ze())}}const ro=Symbol("_leaveCb"),io=Symbol("_enterCb");const ao=[Function,Array],so={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ao,onEnter:ao,onAfterEnter:ao,onEnterCancelled:ao,onBeforeLeave:ao,onLeave:ao,onAfterLeave:ao,onLeaveCancelled:ao,onBeforeAppear:ao,onAppear:ao,onAfterAppear:ao,onAppearCancelled:ao},lo={name:"BaseTransition",props:so,setup(e,{slots:t}){const n=fi(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return No((()=>{e.isMounted=!0})),jo((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&go(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Fr){i=e;break}const a=Yt(e),{mode:s}=a;if(o.isLeaving)return fo(i);const l=po(i);if(!l)return fo(i);const c=uo(l,a,o,n);ho(l,c);const u=n.subTree,d=u&&po(u);if(d&&d.type!==Fr&&!Gr(l,d)){const e=uo(d,a,o,n);if(ho(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},fo(i);"in-out"===s&&l.type!==Fr&&(e.delayLeave=(e,t,n)=>{co(o,d)[String(d.key)]=d,e[ro]=()=>{t(),e[ro]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function co(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 uo(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=co(n,e),x=(e,t)=>{e&&dn(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:i,persisted:a,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=m||s}t[ro]&&t[ro](!0);const i=w[_];i&&Gr(e,i)&&i.el[ro]&&i.el[ro](),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[io]=t=>{a||(a=!0,x(t?i:o,[e]),C.delayedLeave&&C.delayedLeave(),e[io]=void 0)};t?S(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t[io]&&t[io](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const a=t[ro]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[ro]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?S(f,[t,a]):a()},clone:e=>uo(e,t,n,o)};return C}function fo(e){if(_o(e))return(e=ti(e)).children=null,e}function po(e){return _o(e)?e.children?e.children[0]:void 0:e}function ho(e,t){6&e.shapeFlag&&e.component?ho(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 go(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===Nr?(128&a.patchFlag&&r++,o=o.concat(go(a.children,t,s))):(t||a.type!==Fr)&&o.push(null!=s?ti(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 mo(e,t){return m(e)?(()=>c({name:e.name},t,{setup:e}))():e}const vo=e=>!!e.type.__asyncLoader
- /*! #__NO_SIDE_EFFECTS__ */;function yo(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 mo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=di;if(l)return()=>bo(l,e);const t=t=>{c=null,fn(t,e,13,!o)};if(a&&e.suspense||yi)return d().then((t=>()=>bo(t,e))).catch((e=>(t(e),()=>o?ei(o,{error:e}):null)));const s=nn(!1),u=nn(),f=nn(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{s.value=!0,e.parent&&_o(e.parent.vnode)&&(e.parent.effect.dirty=!0,Sn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>s.value&&l?bo(l,e):u.value&&o?ei(o,{error:u.value}):n&&!f.value?ei(n):void 0}})}function bo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,a=ei(e,o,r);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const _o=e=>e.type.__isKeepAlive;class wo{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 xo={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=fi(),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 wo(e.max);r.pruneCacheEntry=a;let i=null;function a(t){var o;!i||!Gr(t,i)||"key"===e.matchBy&&t.key!==i.key?(Oo(o=t),u(o,n,s,!0)):i&&Oo(i)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function p(t){r.forEach(((n,o)=>{const i=$o(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,M(i.ba),i.isDeactivated=e}c(e,t,n,0,s),l(i.vnode,e,t,n,i,s,o,e.slotScopeIds,r),Lr((()=>{i.isDeactivated=!1,i.a&&M(i.a);const t=e.props&&e.props.onVnodeMounted;t&&li(t,i.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&Bo(t.bda),c(e,f,null,1,s),Lr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&M(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&li(n,t.parent,e),t.isDeactivated=!0}),s)},Qn((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>Co(e,t))),t&&p((e=>!Co(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,Lo(n.subTree))};return No(g),Fo(g),jo((()=>{r.forEach(((t,o)=>{r.delete(o),a(t);const{subTree:i,suspense:s}=n,l=Lo(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&M(l.component.bda),Oo(l);const e=l.component.da;e&&Lr(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(!Yr(o)||!(4&o.shapeFlag)&&!Un(o.type))return i=null,o;let a=Lo(o);const s=a.type,l=$o(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Co(c,l))||u&&l&&Co(u,l))return i=a,o;const d=null==a.key?s:a.key,f=r.get(d);return a.el&&(a=ti(a),Un(o.type)&&(o.ssContent=a)),h=d,f&&(a.el=f.el,a.component=f.component,a.transition&&ho(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,Un(o.type)?o:a}}},So=xo;function Co(e,t){return p(e)?e.some((e=>Co(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function To(e,t){Eo(e,"a",t)}function ko(e,t){Eo(e,"da",t)}function Eo(e,t,n=di){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Ao(t,o,n),n){let e=n.parent;for(;e&&e.parent;)_o(e.parent.vnode)&&Po(o,t,n,e),e=e.parent}}function Po(e,t,n,o){const r=Ao(t,e,o,!0);Do((()=>{u(o[t],r)}),n)}function Oo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Lo(e){return Un(e.type)?e.ssContent:e}function $o(e,t){if("name"===t){const t=e.type;return xi(vo(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Bo(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function Ao(e,t,n=di,o=!1){if(n){if(r=e,Ce.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;dn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;We();const r=gi(n),i=dn(t,n,e,o);return r(),ze(),i});return o?i.unshift(a):i.push(a),a}var r}const Mo=e=>(t,n=di)=>(!yi||"sp"===e)&&Ao(e,((...e)=>t(...e)),n),Io=Mo("bm"),No=Mo("m"),Ro=Mo("bu"),Fo=Mo("u"),jo=Mo("bum"),Do=Mo("um"),Vo=Mo("sp"),qo=Mo("rtg"),Ho=Mo("rtc");function Wo(e,t=di){Ao("ec",e,t)}function zo(e,t,n,o){let r;const i=n&&n[o];if(p(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(b(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,a=n.length;o<a;o++){const a=n[o];r[o]=t(e[a],a,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function Xo(e,t,n={},o,r){if(Mn.isCE||Mn.parent&&vo(Mn.parent)&&Mn.parent.isCE)return"default"!==t&&(n.name=t),ei("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),qr();const a=i&&Uo(i(n)),s=Ur(Nr,{key:n.key||a&&a.key||`_${t}`},a||(o?o():[]),a&&1===e._?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function Uo(e){return e.some((e=>!Yr(e)||e.type!==Fr&&!(e.type===Nr&&!Uo(e.children))))?e:null}const Yo=e=>{if(!e)return null;if(vi(e)){return wi(e)||e.proxy}return Yo(e.parent)},Go=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=>Yo(e.parent),$root:e=>Yo(e.root),$emit:e=>e.emit,$options:e=>or(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Sn(e.update)})(e)),$nextTick:e=>e.n||(e.n=xn.bind(e.proxy)),$watch:e=>Jn.bind(e)}),Ko=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Qo={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(Ko(r,t))return s[t]=1,r[t];if(i!==o&&f(i,t))return s[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return s[t]=3,a[t];if(n!==o&&f(n,t))return s[t]=4,n[t];Jo&&(s[t]=0)}}const d=Go[t];let p,h;return d?("$attrs"===t&&tt(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&f(n,t)?(s[t]=4,n[t]):(h=c.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return Ko(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},s){let l;return!!n[s]||e!==o&&f(e,s)||Ko(t,s)||(l=a[0])&&f(l,s)||f(r,s)||f(Go,s)||f(i.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Zo(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Jo=!0;function er(e){const t=or(e),n=e.proxy,o=e.ctx;Jo=!1,t.beforeCreate&&tr(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:S,unmounted:C,render:T,renderTracked:k,renderTriggered:E,errorCaptured:P,serverPrefetch:O,expose:L,inheritAttrs:$,components:B,directives:A,filters:M}=t;if(u&&function(e,t,n=i){p(e)&&(e=sr(e));for(const o in e){const n=e[o];let r;r=b(n)?"default"in n?mr(n.from||o,n.default,!0):mr(n.from||o):mr(n),tn(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),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=Dt(t))}if(Jo=!0,a)for(const p in a){const e=a[p],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):i,r=!m(e)&&m(e.set)?e.set.bind(n):i,s=Si({get:t,set:r});Object.defineProperty(o,p,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const i in l)nr(l[i],o,n,i);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{gr(t,e[t])}))}function I(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&tr(d,e,"c"),I(Io,f),I(No,h),I(Ro,g),I(Fo,v),I(To,y),I(ko,_),I(Wo,P),I(Ho,k),I(qo,E),I(jo,x),I(Do,C),I(Vo,O),p(L))if(L.length){const t=e.exposed||(e.exposed={});L.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});T&&e.render===i&&(e.render=T),null!=$&&(e.inheritAttrs=$),B&&(e.components=B),A&&(e.directives=A);const N=e.appContext.config.globalProperties.$applyOptions;N&&N(t,e,n)}function tr(e,t,n){dn(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function nr(e,t,n,o){const r=o.includes(".")?eo(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&Qn(r,n)}else if(m(e))Qn(r,e.bind(n));else if(b(e))if(p(e))e.forEach((e=>nr(e,t,n,o)));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&Qn(r,o,e)}}function or(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=>rr(l,e,a,!0))),rr(l,t,a)):l=t,b(t)&&i.set(t,l),l}function rr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&rr(e,i,n,!0),r&&r.forEach((t=>rr(e,t,n,!0)));for(const a in t)if(o&&"expose"===a);else{const o=ir[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const ir={data:ar,props:ur,emits:ur,methods:cr,computed:cr,beforeCreate:lr,created:lr,beforeMount:lr,mounted:lr,beforeUpdate:lr,updated:lr,beforeDestroy:lr,beforeUnmount:lr,destroyed:lr,unmounted:lr,activated:lr,deactivated:lr,errorCaptured:lr,serverPrefetch:lr,components:cr,directives:cr,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]=lr(e[o],t[o]);return n},provide:ar,inject:function(e,t){return cr(sr(e),sr(t))}};function ar(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 sr(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function lr(e,t){return e?[...new Set([].concat(e,t))]:t}function cr(e,t){return e?c(Object.create(null),e,t):t}function ur(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:c(Object.create(null),Zo(e),Zo(null!=t?t:{})):t}function dr(){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 fr=0;function pr(e,t){return function(n,o=null){m(n)||(n=c({},n)),null==o||b(o)||(o=null);const r=dr(),i=new WeakSet;let a=!1;const s=r.app={_uid:fr++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Ti,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&m(e.install)?(i.add(e),e.install(s,...t)):m(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),s),component:(e,t)=>t?(r.components[e]=t,s):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(i,l,c){if(!a){const u=ei(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),a=!0,s._container=i,i.__vue_app__=s,s._instance=u.component,wi(u.component)||u.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,s),runWithContext(e){const t=hr;hr=s;try{return e()}finally{hr=t}}};return s}}let hr=null;function gr(e,t){if(di){let n=di.provides;const o=di.parent&&di.parent.provides;o===n&&(n=di.provides=Object.create(o)),n[e]=t,"app"===di.type.mpType&&di.appContext.app.provide(e,t)}else;}function mr(e,t,n=!1){const o=di||Mn;if(o||hr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:hr._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 vr(e,t,n,r){const[i,a]=e.propsOptions;let s,l=!1;if(t)for(let o in t){if(T(o))continue;const c=t[o];let u;i&&f(i,u=P(o))?a&&a.includes(u)?(s||(s={}))[u]=c:n[u]=c:An(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(a){const t=Yt(n),r=s||o;for(let o=0;o<a.length;o++){const s=a[o];n[s]=yr(i,t,s,r[s],e,!f(r,s))}}return l}function yr(e,t,n,o,r,i){const a=e[n];if(null!=a){const e=f(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&!a.skipFactory&&m(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const a=gi(r);o=i[n]=e.call(null,t),a()}}else o=e}a[0]&&(i&&!e?o=!1:!a[1]||""!==o&&o!==L(n)||(o=!0))}return o}function br(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]=br(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(p(s))for(let r=0;r<s.length;r++){const e=P(s[r]);_r(e)&&(l[e]=o)}else if(s)for(const o in s){const e=P(o);if(_r(e)){const t=s[o],n=l[e]=p(t)||m(t)?{type:t}:c({},t);if(n){const t=Sr(Boolean,n.type),o=Sr(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||f(n,"default"))&&u.push(e)}}}const h=[l,u];return b(e)&&i.set(e,h),h}function _r(e){return"$"!==e[0]&&!T(e)}function wr(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 xr(e,t){return wr(e)===wr(t)}function Sr(e,t){return p(t)?t.findIndex((t=>xr(t,e))):m(t)&&xr(t,e)?0:-1}const Cr=e=>"_"===e[0]||"$stable"===e,Tr=e=>p(e)?e.map(ri):[ri(e)],kr=(e,t,n)=>{if(t._n)return t;const o=Rn(((...e)=>Tr(t(...e))),n);return o._c=!1,o},Er=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Cr(r))continue;const n=e[r];if(m(n))t[r]=kr(0,n,o);else if(null!=n){const e=Tr(n);t[r]=()=>e}}},Pr=(e,t)=>{const n=Tr(t);e.slots.default=()=>n};function Or(e,t,n,r,i=!1){if(p(e))return void e.forEach(((e,o)=>Or(e,t&&(p(t)?t[o]:t),n,r,i)));if(vo(r)&&!i)return;const a=4&r.shapeFlag?wi(r.component)||r.component.proxy:r.el,s=i?null:a,{i:l,r:c}=e,d=t&&t.r,h=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=d&&d!==c&&(v(d)?(h[d]=null,f(g,d)&&(g[d]=null)):tn(d)&&(d.value=null)),m(c))un(c,l,12,[s,h]);else{const t=v(c),o=tn(c);if(t||o){const r=()=>{if(e.f){const n=t?f(g,c)?g[c]:h[c]:c.value;i?p(n)&&u(n,a):p(n)?n.includes(a)||n.push(a):t?(h[c]=[a],f(g,c)&&(g[c]=h[c])):(c.value=[a],e.k&&(h[e.k]=c.value))}else t?(h[c]=s,f(g,c)&&(g[c]=s)):o&&(c.value=s,e.k&&(h[e.k]=s))};s?(r.id=-1,Lr(r,n)):r()}}}const Lr=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?vn.push(...n):yn&&yn.includes(n,n.allowRecurse?bn+1:bn)||vn.push(n),Cn())};function $r(e){return function(e,t){F().__VUE__=!0;const{insert:n,remove:a,patchProp:s,forcePatchProp:l,createElement:u,createText:d,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=i,insertStaticContent:b}=e,w=(e,t,n,o=null,r=null,i=null,a,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Gr(e,t)&&(o=te(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 Rr:x(e,t,n,o);break;case Fr:S(e,t,n,o);break;case jr:null==e&&C(t,n,o,a);break;case Nr:D(e,t,n,o,r,i,a,s,l);break;default:1&d?O(e,t,n,o,r,i,a,s,l):6&d?V(e,t,n,o,r,i,a,s,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,a,s,l,re)}null!=u&&r&&Or(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},S=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},k=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=v(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),a(e),e=n;a(t)},O=(e,t,n,o,r,i,a,s,l)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?$(t,n,o,r,i,a,s,l):N(e,t,r,i,a,s,l)},$=(e,t,o,r,i,a,l,c)=>{let d,f;const{props:p,shapeFlag:h,transition:m,dirs:v}=e;if(d=e.el=u(e.type,a,p&&p.is,p),8&h?g(d,e.children):16&h&&A(e.children,d,null,r,i,Br(e,a),l,c),v&&oo(e,null,r,"created"),B(d,e,e.scopeId,l,r),p){for(const t in p)"value"===t||T(t)||s(d,t,null,p[t],a,e.children,r,i,ee);"value"in p&&s(d,"value",null,p.value,a),(f=p.onVnodeBeforeMount)&&li(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&oo(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),n(d,t,o),((f=p&&p.onVnodeMounted)||y||v)&&Lr((()=>{f&&li(f,r,e),y&&m.enter(d),v&&oo(e,null,r,"mounted")}),i)},B=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i<o.length;i++)y(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;B(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},A=(e,t,n,o,r,i,a,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?ii(e[c]):ri(e[c]);w(null,l,t,n,o,r,i,a,s)}},N=(e,t,n,r,i,a,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||o,m=t.props||o;let v;if(n&&Ar(n,!1),(v=m.onVnodeBeforeUpdate)&&li(v,n,t,e),p&&oo(t,e,n,"beforeUpdate"),n&&Ar(n,!0),f?R(e.dynamicChildren,f,u,n,r,Br(t,i),a):c||X(e,t,u,null,n,r,Br(t,i),a,!1),d>0){if(16&d)j(u,t,h,m,n,r,i);else if(2&d&&h.class!==m.class&&s(u,"class",null,m.class,i),4&d&&s(u,"style",h.style,m.style,i),8&d){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const a=o[t],c=h[a],d=m[a];(d!==c||"value"===a||l&&l(u,a))&&s(u,a,c,d,i,e.children,n,r,ee)}}1&d&&e.children!==t.children&&g(u,t.children)}else c||null!=f||j(u,t,h,m,n,r,i);((v=m.onVnodeUpdated)||p)&&Lr((()=>{v&&li(v,n,t,e),p&&oo(t,e,n,"updated")}),r)},R=(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===Nr||!Gr(l,c)||70&l.shapeFlag)?m(l.el):n;w(l,c,u,null,o,r,i,a,!0)}},j=(e,t,n,r,i,a,c)=>{if(n!==r){if(n!==o)for(const o in n)T(o)||o in r||s(e,o,n[o],null,c,t.children,i,a,ee);for(const o in r){if(T(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&s(e,o,d,u,c,t.children,i,a,ee)}"value"in r&&s(e,"value",n.value,r.value,c)}},D=(e,t,o,r,i,a,s,l,c)=>{const u=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(f,o,r),A(t.children||[],o,f,i,a,s,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(R(e.dynamicChildren,h,o,i,a,s,l),(null!=t.key||i&&t===i.subTree)&&Mr(e,t,!0)):X(e,t,o,f,i,a,s,l,c)},V=(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):H(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)||ci,a={uid:ui++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ie(!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:br(r,i),emitsOptions:Bn(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=t?t.root:a,a.emit=Ln.bind(null,a),a.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(a);return a}(e,r,i);if(_o(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&hi(t);const{props:n,children:o}=e.vnode,r=vi(e);(function(e,t,n,o=!1){const r={},i={};I(i,Kr,1),e.propsDefaults=Object.create(null),vr(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:Vt(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Yt(t),I(t,"_",n)):Er(t,e.slots={})}else e.slots={},t&&Pr(e,t);I(e.slots,Kr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Gt(new Proxy(e.ctx,Qo));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(tt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=gi(e);We();const i=un(o,e,0,[e.props,n]);if(ze(),r(),_(i)){if(i.then(mi,mi),t)return i.then((n=>{bi(e,n,t)})).catch((t=>{fn(t,e,0)}));e.asyncDep=i}else bi(e,i,t)}else _i(e,t)}(e,t):void 0;t&&hi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,W),!e.el){const e=l.subTree=ei(Fr);S(null,e,t,n)}}else W(l,e,t,n,i,a,s)},H=(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||Vn(o,a,c):!!a);if(1024&l)return!0;if(16&l)return o?Vn(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]&&!An(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void z(o,t,n);o.next=t,function(e){const t=gn.indexOf(e);t>mn&&gn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},W=(e,t,n,o,r,a,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=Ir(e);if(n)return t&&(t.el=c.el,z(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Ar(e,!1),t?(t.el=c.el,z(e,t,s)):t=c,n&&M(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&li(u,i,t,c),Ar(e,!0);const f=Fn(e),p=e.subTree;e.subTree=f,w(p,f,m(p.el),te(p),e,r,a),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),o&&Lr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&Lr((()=>li(u,i,t,c)),r)}else{let i;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,f=vo(t);if(Ar(e,!1),c&&M(c),!f&&(i=l&&l.onVnodeBeforeMount)&&li(i,d,t),Ar(e,!0),s&&ae){const n=()=>{e.subTree=Fn(e),ae(s,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=Fn(e);w(null,i,n,o,e,r,a),t.el=i.el}if(u&&Lr(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;Lr((()=>li(i,d,e)),r)}(256&t.shapeFlag||d&&vo(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Bo(e.ba),e.a&&Lr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new Re(l,i,(()=>Sn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Ar(e,!0),u()},z=(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=Yt(r),[l]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;vr(e,t,r,i)&&(c=!0);for(const i in s)t&&(f(t,i)||(o=L(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=yr(l,s,i,void 0,e,!0)):delete r[i]);if(i!==s)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];if(An(e.emitsOptions,a))continue;const u=t[a];if(l)if(f(i,a))u!==i[a]&&(i[a]=u,c=!0);else{const t=P(a);r[t]=yr(l,s,t,u,e,!1)}else u!==i[a]&&(i[a]=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,Er(t,i)),s=t}else t&&(Pr(e,t),s={default:1});if(a)for(const o in i)Cr(o)||null!=s[o]||delete i[o]})(e,t.children,n),We(),Tn(e),ze()},X=(e,t,n,o,r,i,a,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void Y(c,d,n,o,r,i,a,s,l);if(256&f)return void U(c,d,n,o,r,i,a,s,l)}8&p?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&p?Y(c,d,n,o,r,i,a,s,l):ee(c,r,i,!0):(8&u&&g(n,""),16&p&&A(d,n,o,r,i,a,s,l))},U=(e,t,n,o,i,a,s,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,f=Math.min(u,d);let p;for(p=0;p<f;p++){const o=t[p]=c?ii(t[p]):ri(t[p]);w(e[p],o,n,null,i,a,s,l,c)}u>d?ee(e,i,a,!0,!1,f):A(t,n,o,i,a,s,l,c,f)},Y=(e,t,n,o,i,a,s,l,c)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const o=e[u],r=t[u]=c?ii(t[u]):ri(t[u]);if(!Gr(o,r))break;w(o,r,n,null,i,a,s,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],r=t[p]=c?ii(t[p]):ri(t[p]);if(!Gr(o,r))break;w(o,r,n,null,i,a,s,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,r=e<d?t[e].el:o;for(;u<=p;)w(null,t[u]=c?ii(t[u]):ri(t[u]),n,r,i,a,s,l,c),u++}}else if(u>p)for(;u<=f;)K(e[u],i,a,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?ii(t[u]):ri(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=p-g+1;let _=!1,x=0;const S=new Array(b);for(u=0;u<b;u++)S[u]=0;for(u=h;u<=f;u++){const o=e[u];if(y>=b){K(o,i,a,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=g;v<=p;v++)if(0===S[v-g]&&Gr(o,t[v])){r=v;break}void 0===r?K(o,i,a,!0):(S[r-g]=u+1,r>=x?x=r:_=!0,w(o,t[r],n,null,i,a,s,l,c),y++)}const C=_?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}(S):r;for(v=C.length-1,u=b-1;u>=0;u--){const e=g+u,r=t[e],f=e+1<d?t[e+1].el:o;0===S[u]?w(null,r,n,f,i,a,s,l,c):_&&(v<0||u!==C[v]?G(r,n,f,2):v--)}}},G=(e,t,o,r,i=null)=>{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void G(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void s.move(e,t,o,re);if(s===Nr){n(a,t,o);for(let e=0;e<c.length;e++)G(c[e],t,o,r);return void n(e.anchor,t,o)}if(s===jr)return void k(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(a),n(a,t,o),Lr((()=>l.enter(a)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,s=()=>n(a,t,o),c=()=>{e(a,(()=>{s(),i&&i()}))};r?r(a,s,c):c()}else n(a,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:i,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=s&&Or(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!vo(e);let g;if(h&&(g=a&&a.onVnodeBeforeUnmount)&&li(g,t,e),6&u)J(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&oo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Nr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Nr&&384&d||!r&&16&u)&&ee(l,t,n),o&&Q(e)}(h&&(g=a&&a.onVnodeUnmounted)||p)&&Lr((()=>{g&&li(g,t,e),p&&oo(e,null,t,"unmounted")}),n)},Q=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Nr)return void Z(n,o);if(t===jr)return void E(e);const i=()=>{a(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,a=()=>t(n,i);o?o(e.el,i,a):a()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=v(e),a(e),e=n;a(t)},J=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:a,um:s}=e;o&&M(o),r.stop(),i&&(i.active=!1,K(a,e,t,n)),s&&Lr(s,t),Lr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let a=i;a<e.length;a++)K(e[a],t,n,o,r)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,Tn(),kn(),ne=!1),t._vnode=e},re={p:w,um:K,m:G,r:Q,mt:q,mc:A,pc:X,pbc:R,n:te,o:e};let ie,ae;t&&([ie,ae]=t(re));return{render:oe,hydrate:ie,createApp:pr(oe,ie)}}(e)}function Br({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 Ar({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Mr(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;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]=ii(r[i]),t.el=e.el),n||Mr(e,t)),t.type===Rr&&(t.el=e.el)}}function Ir(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ir(t)}const Nr=Symbol.for("v-fgt"),Rr=Symbol.for("v-txt"),Fr=Symbol.for("v-cmt"),jr=Symbol.for("v-stc"),Dr=[];let Vr=null;function qr(e=!1){Dr.push(Vr=e?null:[])}let Hr=1;function Wr(e){Hr+=e}function zr(e){return e.dynamicChildren=Hr>0?Vr||r:null,Dr.pop(),Vr=Dr[Dr.length-1]||null,Hr>0&&Vr&&Vr.push(e),e}function Xr(e,t,n,o,r,i){return zr(Jr(e,t,n,o,r,i,!0))}function Ur(e,t,n,o,r){return zr(ei(e,t,n,o,r,!0))}function Yr(e){return!!e&&!0===e.__v_isVNode}function Gr(e,t){return e.type===t.type&&e.key===t.key}const Kr="__vInternal",Qr=({key:e})=>null!=e?e:null,Zr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||tn(e)||m(e)?{i:Mn,r:e,k:t,f:!!n}:e:null);function Jr(e,t=null,n=null,o=0,r=null,i=(e===Nr?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qr(t),ref:t&&Zr(t),scopeId:In,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:Mn};return s?(ai(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Hr>0&&!a&&Vr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Vr.push(l),l}const ei=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Hn||(e=Fr);if(Yr(e)){const o=ti(e,t,!0);return n&&ai(o,n),Hr>0&&!i&&Vr&&(6&o.shapeFlag?Vr[Vr.indexOf(e)]=o:Vr.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?Ut(e)||Kr in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=se(e)),b(n)&&(Ut(n)&&!p(n)&&(n=c({},n)),t.style=ae(n))}const s=v(e)?1:Un(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:m(e)?2:0;return Jr(e,t,n,o,r,s,i,!0)};function ti(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?si(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Qr(s),ref:t&&t.ref?n&&r?p(r)?r.concat(Zr(t)):[r,Zr(t)]:Zr(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!==Nr?-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&&ti(e.ssContent),ssFallback:e.ssFallback&&ti(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ni(e=" ",t=0){return ei(Rr,null,e,t)}function oi(e="",t=!1){return t?(qr(),Ur(Fr,null,e)):ei(Fr,null,e)}function ri(e){return null==e||"boolean"==typeof e?ei(Fr):p(e)?ei(Nr,null,e.slice()):"object"==typeof e?ii(e):ei(Rr,null,String(e))}function ii(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ti(e)}function ai(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(p(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),ai(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Kr in t?3===o&&Mn&&(1===Mn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Mn}}else m(t)?(t={default:t,_ctx:Mn},n=32):(t=String(t),64&o?(n=16,t=[ni(t)]):n=8);e.children=t,e.shapeFlag|=n}function si(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=se([t.class,o.class]));else if("style"===e)t.style=ae([t.style,o.style]);else if(s(e)){const n=t[e],r=o[e];!r||n===r||p(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function li(e,t,n,o=null){dn(e,t,7,[n,o])}const ci=dr();let ui=0;let di=null;const fi=()=>di||Mn;let pi,hi;{const e=F(),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)}};pi=t("__VUE_INSTANCE_SETTERS__",(e=>di=e)),hi=t("__VUE_SSR_SETTERS__",(e=>yi=e))}const gi=e=>{const t=di;return pi(e),e.scope.on(),()=>{e.scope.off(),pi(t)}},mi=()=>{di&&di.scope.off(),pi(null)};function vi(e){return 4&e.vnode.shapeFlag}let yi=!1;function bi(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=cn(t)),_i(e,n)}function _i(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=gi(e);We();try{er(e)}finally{ze(),t()}}}function wi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(cn(Gt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Go?Go[n](e):void 0,has:(e,t)=>t in e||t in Go}))}function xi(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const Si=(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 Zt(o,r,a||!r,n)}(e,0,yi);return n};function Ci(e,t,n){const o=arguments.length;return 2===o?b(t)&&!p(t)?Yr(t)?ei(e,null,[t]):ei(e,t):ei(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Yr(n)&&(n=[n]),ei(e,t,n))}const Ti="3.4.21",ki="undefined"!=typeof document?document:null,Ei=ki&&ki.createElement("template"),Pi={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?ki.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?ki.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?ki.createElement(e,{is:n}):ki.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>ki.createTextNode(e),createComment:e=>ki.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ki.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{Ei.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=Ei.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]}},Oi="transition",Li=Symbol("_vtc"),$i=(e,{slots:t})=>Ci(lo,function(e){const t={};for(const c in e)c in Bi||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=a,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(b(e))return[Ii(e.enter),Ii(e.leave)];{const t=Ii(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=y,onAppear:T=_,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Ri(e,t?d:s),Ri(e,t?u:a),n&&n()},P=(e,t)=>{e._isLeaving=!1,Ri(e,f),Ri(e,h),Ri(e,p),t&&t()},O=e=>(t,n)=>{const r=e?T:_,a=()=>E(t,e,n);Ai(r,[t,a]),Fi((()=>{Ri(t,e?l:i),Ni(t,e?d:s),Mi(r)||Di(t,o,m,a)}))};return c(t,{onBeforeEnter(e){Ai(y,[e]),Ni(e,i),Ni(e,a)},onBeforeAppear(e){Ai(C,[e]),Ni(e,l),Ni(e,u)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>P(e,t);Ni(e,f),document.body.offsetHeight,Ni(e,p),Fi((()=>{e._isLeaving&&(Ri(e,f),Ni(e,h),Mi(x)||Di(e,o,v,n))})),Ai(x,[e,n])},onEnterCancelled(e){E(e,!1),Ai(w,[e])},onAppearCancelled(e){E(e,!0),Ai(k,[e])},onLeaveCancelled(e){P(e),Ai(S,[e])}})}(e),t);$i.displayName="Transition";const Bi={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};$i.props=c({},so,Bi);const Ai=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},Mi=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function Ii(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ni(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Li]||(e[Li]=new Set)).add(t)}function Ri(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Li];n&&(n.delete(t),n.size||(e[Li]=void 0))}function Fi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let ji=0;function Di(e,t,n,o){const r=e._endId=++ji,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("transitionDelay"),i=o("transitionDuration"),a=Vi(r,i),s=o("animationDelay"),l=o("animationDuration"),c=Vi(s,l);let u=null,d=0,f=0;t===Oi?a>0&&(u=Oi,d=a,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?Oi:"animation":null,f=u?u===Oi?i.length:l.length:0);const p=u===Oi&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),s+1),e.addEventListener(c,f)}function Vi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>qi(t)+qi(e[n]))))}function qi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Hi=Symbol("_vod"),Wi=Symbol("_vsh"),zi={beforeMount(e,{value:t},{transition:n}){e[Hi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Xi(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),Xi(e,!0),o.enter(e)):o.leave(e,(()=>{Xi(e,!1)})):Xi(e,t))},beforeUnmount(e,{value:t}){Xi(e,t)}};function Xi(e,t){e.style.display=t?e[Hi]:"none",e[Wi]=!t}const Ui=Symbol(""),Yi=/(^|;)\s*display\s*:/;const Gi=/\s*!important$/;function Ki(e,t,n){if(p(n))n.forEach((n=>Ki(e,t,n)));else if(null==n&&(n=""),n=aa(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Zi[t];if(n)return n;let o=P(t);if("filter"!==o&&o in e)return Zi[t]=o;o=$(o);for(let r=0;r<Qi.length;r++){const n=Qi[r]+o;if(n in e)return Zi[t]=n}return t}(e,t);Gi.test(n)?e.setProperty(L(o),n.replace(Gi,""),"important"):e[o]=n}}const Qi=["Webkit","Moz","ms"],Zi={};const{unit:Ji,unitRatio:ea,unitPrecision:ta}={unit:"rem",unitRatio:10/320,unitPrecision:5},na=(oa=Ji,ra=ea,ia=ta,e=>e.replace(ge,((e,t)=>{if(!t)return e;if(1===ra)return`${t}${oa}`;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)*ra,ia);return 0===n?"0":`${n}${oa}`})));var oa,ra,ia;const aa=e=>v(e)?na(e):e,sa="http://www.w3.org/1999/xlink";const la=Symbol("_vei");function ca(e,t,n,o,r=null){const i=e[la]||(e[la]={}),a=i[t];if(o&&a)a.value=o;else{const[n,s]=function(e){let t;if(ua.test(e)){let n;for(t={};n=e.match(ua);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):L(e.slice(2)),t]}(t);if(o){const a=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&p(i)){const n=pa(e,i);for(let o=0;o<n.length;o++){const i=n[o];dn(i,t,5,i.__wwe?[e]:r(e))}}else dn(pa(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=(()=>da||(fa.then((()=>da=0)),da=Date.now()))(),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 ua=/(?:Once|Passive|Capture)$/;let da=0;const fa=Promise.resolve();function pa(e,t){if(p(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const ha=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const ga=["ctrl","shift","alt","meta"],ma={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)=>ga.some((n=>e[`${n}Key`]&&!t.includes(n)))},va=(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=ma[t[e]];if(o&&o(n,t))return}return e(n,...o)})},ya=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;xn((()=>{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[Li];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,r=v(n);let i=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Ki(o,t,"")}else for(const e in t)null==n[e]&&Ki(o,e,"");for(const e in n)"display"===e&&(i=!0),Ki(o,e,n[e])}else if(r){if(t!==n){const e=o[Ui];e&&(n+=";"+e),o.cssText=n,i=Yi.test(n)}}else t&&e.removeAttribute("style");Hi in e&&(e[Hi]=i?o.display:"",e[Wi]&&(o.display="none"));const{__wxsStyle:a}=e;if(a)for(const s in a)Ki(o,s,a[s])}(e,n,o):s(t)?l(t)||ca(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&&ha(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(ha(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=X(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,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(sa,t.slice(6,t.length)):e.setAttributeNS(sa,t,n);else{const o=z(t);null==n||o&&!X(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))},Pi);let ba;const _a=(...e)=>{const t=(ba||(ba=$r(ya))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}
- /*!
- * vue-router v4.3.0
- * (c) 2024 Eduardo San Martin Morote
- * @license MIT
- */(e);if(!o)return;const r=t._component;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 wa="undefined"!=typeof document;const xa=Object.assign;function Sa(e,t){const n={};for(const o in t){const r=t[o];n[o]=Ta(r)?r.map(e):e(r)}return n}const Ca=()=>{},Ta=Array.isArray,ka=/#/g,Ea=/&/g,Pa=/\//g,Oa=/=/g,La=/\?/g,$a=/\+/g,Ba=/%5B/g,Aa=/%5D/g,Ma=/%5E/g,Ia=/%60/g,Na=/%7B/g,Ra=/%7C/g,Fa=/%7D/g,ja=/%20/g;function Da(e){return encodeURI(""+e).replace(Ra,"|").replace(Ba,"[").replace(Aa,"]")}function Va(e){return Da(e).replace($a,"%2B").replace(ja,"+").replace(ka,"%23").replace(Ea,"%26").replace(Ia,"`").replace(Na,"{").replace(Fa,"}").replace(Ma,"^")}function qa(e){return null==e?"":function(e){return Da(e).replace(ka,"%23").replace(La,"%3F")}(e).replace(Pa,"%2F")}function Ha(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Wa=/\/$/;function za(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:Ha(a)}}function Xa(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Ua(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ya(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ga(e[n],t[n]))return!1;return!0}function Ga(e,t){return Ta(e)?Ka(e,t):Ta(t)?Ka(t,e):e===t}function Ka(e,t){return Ta(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Qa,Za,Ja,es;function ts(e){if(!e)if(wa){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Wa,"")}(Za=Qa||(Qa={})).pop="pop",Za.push="push",(es=Ja||(Ja={})).back="back",es.forward="forward",es.unknown="";const ns=/^[^#]+#/;function os(e,t){return e.replace(ns,"#")+t}const rs=()=>({left:window.scrollX,top:window.scrollY});function is(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 as(e,t){return(history.state?history.state.position-t:-1)+e}const ss=new Map;function ls(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),Xa(n,"")}return Xa(n,e)+o+r}function cs(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?rs():null}}function us(e){const{history:t,location:n}=window,o={value:ls(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=xa({},r.value,t.state,{forward:e,scroll:rs()});i(a.current,a,!0),i(e,xa({},cs(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,xa({},t.state,cs(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function ds(e){const t=us(e=ts(e)),n=function(e,t,n,o){let r=[],i=[],a=null;const s=({state:i})=>{const s=ls(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:Qa.pop,direction:u?u>0?Ja.forward:Ja.back:Ja.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(xa({},e.state,{scroll:rs()}),"")}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=xa({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:os.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 fs(e){return"string"==typeof e||"symbol"==typeof e}const ps={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},hs=Symbol("");var gs,ms;function vs(e,t){return xa(new Error,{type:e,[hs]:!0},t)}function ys(e,t){return e instanceof Error&&hs in e&&(null==t||!!(e.type&t))}(ms=gs||(gs={}))[ms.aborted=4]="aborted",ms[ms.cancelled=8]="cancelled",ms[ms.duplicated=16]="duplicated";const bs={sensitive:!1,strict:!1,start:!0,end:!0},_s=/[.+*?^${}()[\]/\\]/g;function ws(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 xs(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=ws(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(Ss(o))return 1;if(Ss(r))return-1}return r.length-o.length}function Ss(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Cs={type:0,value:""},Ts=/[a-zA-Z0-9_]/;function ks(e,t,n){const o=function(e,t){const n=xa({},bs,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(_s,"\\$&"),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||"[^/]+?";if("[^/]+?"!==d){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let f=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(f=c&&l.length<2?`(?:/${f})`:"/"+f),c&&(f+="?"),r+=f,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");return{re:a,score:o,keys:i,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:a,optional:s}=e,l=i in t?t[i]:"";if(Ta(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=Ta(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[[Cs]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function f(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),a()):":"===s?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:"("===s?n=2:Ts.test(s)?f():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),r}(e.path),n),r=xa(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Es(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:Os(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=Bs(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(xa({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,f;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=ks(t,n,c),o?o.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),s&&e.name&&!Ls(d)&&i(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)r(e[t],d,o&&o.children[t])}o=o||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&a(d)}return f?()=>{i(f)}:Ca}function i(e){if(fs(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){let t=0;for(;t<n.length&&xs(e,n[t])>=0&&(e.record.path!==n[t].record.path||!As(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Ls(e)&&o.set(e.record.name,e)}return t=Bs({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 vs(1,{location:e});a=r.record.name,s=xa(Ps(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Ps(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 vs(1,{location:e,currentLocation:t});a=r.record.name,s=xa({},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:$s(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Ps(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Os(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 Ls(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $s(e){return e.reduce(((e,t)=>xa(e,t.meta)),{})}function Bs(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function As(e,t){return t.children.some((t=>t===e||As(e,t)))}function Ms(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($a," "),r=e.indexOf("="),i=Ha(r<0?e:e.slice(0,r)),a=r<0?null:Ha(e.slice(r+1));if(i in t){let e=t[i];Ta(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function Is(e){let t="";for(let n in e){const o=e[n];if(n=Va(n).replace(Oa,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(Ta(o)?o.map((e=>e&&Va(e))):[o&&Va(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Ns(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Ta(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Rs=Symbol(""),Fs=Symbol(""),js=Symbol(""),Ds=Symbol(""),Vs=Symbol("");function qs(){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 Hs(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(vs(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(vs(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 Ws(e,t,n,o,r=(e=>e())){const i=[];for(const s of e)for(const e in s.components){let l=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(a=l)||"displayName"in a||"props"in a||"__vccOpts"in a){const a=(l.__vccOpts||l)[t];a&&i.push(Hs(a,n,o,s,e,r))}else{let a=l();i.push((()=>a.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Hs(c,n,o,s,e,r)()}))))}}var a;return i}function zs(e){const t=mr(js),n=mr(Ds),o=Si((()=>t.resolve(sn(e.to)))),r=Si((()=>{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(Ua.bind(null,r));if(a>-1)return a;const s=Us(e[t-2]);return t>1&&Us(r)===s&&i[i.length-1].path!==s?i.findIndex(Ua.bind(null,e[t-2])):a})),i=Si((()=>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(!Ta(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),a=Si((()=>r.value>-1&&r.value===n.matched.length-1&&Ya(n.params,o.value.params)));return{route:o,href:Si((()=>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[sn(e.replace)?"replace":"push"](sn(e.to)).catch(Ca):Promise.resolve()}}}const Xs=mo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:zs,setup(e,{slots:t}){const n=Dt(zs(e)),{options:o}=mr(js),r=Si((()=>({[Ys(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ys(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ci("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Us(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ys=(e,t,n)=>null!=e?e:null!=t?t:n;function Gs(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Ks=mo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=mr(Vs),r=Si((()=>e.route||o.value)),i=mr(Fs,0),a=Si((()=>{let e=sn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=Si((()=>r.value.matched[a.value]));gr(Fs,Si((()=>a.value+1))),gr(Rs,s),gr(Vs,r);const l=nn();return Qn((()=>[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&&Ua(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 Gs(n.default,{Component:c,route:o});const u=a.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=Ci(c,xa({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}));return Gs(n.default,{Component:f,route:o})||f}}});function Qs(e){const t=Es(e.routes,e),n=e.parseQuery||Ms,o=e.stringifyQuery||Is,r=e.history,i=qs(),a=qs(),s=qs(),l=on(ps);let c=ps;wa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Sa.bind(null,(e=>""+e)),d=Sa.bind(null,qa),f=Sa.bind(null,Ha);function p(e,i){if(i=xa({},i||l.value),"string"==typeof e){const o=za(n,e,i.path),a=t.resolve({path:o.path},i),s=r.createHref(o.fullPath);return xa(o,a,{params:f(a.params),hash:Ha(o.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=xa({},e,{path:za(n,e.path,i.path).path});else{const t=xa({},e.params);for(const e in t)null==t[e]&&delete t[e];a=xa({},e,{params:d(t)}),i.params=d(i.params)}const s=t.resolve(a,i),c=e.hash||"";s.params=u(f(s.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,xa({},e,{hash:(h=c,Da(h).replace(Na,"{").replace(Fa,"}").replace(Ma,"^")),path:s.path}));var h;const g=r.createHref(p);return xa({fullPath:p,hash:c,query:o===Is?Ns(e.query):e.query||{}},s,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?za(n,e,l.value.path):xa({},e)}function g(e,t){if(c!==e)return vs(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={}),xa({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,a=e.force,s=!0===e.replace,u=v(n);if(u)return y(xa(h(u),{state:"object"==typeof u?xa({},i,u.state):i,force:a,replace:s}),t||n);const d=n;let f;return d.redirectedFrom=t,!a&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Ua(t.matched[o],n.matched[r])&&Ya(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=vs(16,{to:d,from:r}),$(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch((e=>ys(e)?ys(e,2)?e:L(e):O(e,d,r))).then((e=>{if(e){if(ys(e,2))return y(xa({replace:s},h(e.to),{state:"object"==typeof e.to?xa({},i,e.to.state):i,force:a}),t||d)}else e=S(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=M.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=>Ua(e,i)))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>Ua(e,s)))||r.push(s))}return[n,o,r]}(e,t);n=Ws(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Hs(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),N(n).then((()=>{n=[];for(const o of i.list())n.push(Hs(o,e,t));return n.push(l),N(n)})).then((()=>{n=Ws(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Hs(o,e,t))}));return n.push(l),N(n)})).then((()=>{n=[];for(const o of s)if(o.beforeEnter)if(Ta(o.beforeEnter))for(const r of o.beforeEnter)n.push(Hs(r,e,t));else n.push(Hs(o.beforeEnter,e,t));return n.push(l),N(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ws(s,"beforeRouteEnter",e,t,_),n.push(l),N(n)))).then((()=>{n=[];for(const o of a.list())n.push(Hs(o,e,t));return n.push(l),N(n)})).catch((e=>ys(e,8)?e:Promise.reject(e)))}function x(e,t,n){s.list().forEach((o=>_((()=>o(e,t,n)))))}function S(e,t,n,o,i){const a=g(e,t);if(a)return a;const s=t===ps,c=wa?history.state:{};n&&(o||s?r.replace(e.fullPath,xa({scroll:s&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,$(e,t,n,s),L()}let C;function T(){C||(C=r.listen(((e,t,n)=>{if(!I.listening)return;const o=p(e),i=v(o);if(i)return void y(xa(i,{replace:!0}),o).catch(Ca);c=o;const a=l.value;var s,u;wa&&(s=as(a.fullPath,n.delta),u=rs(),ss.set(s,u)),w(o,a).catch((e=>ys(e,12)?e:ys(e,2)?(y(e.to,o).then((e=>{ys(e,20)&&!n.delta&&n.type===Qa.pop&&r.go(-1,!1)})).catch(Ca),Promise.reject()):(n.delta&&r.go(-n.delta,!1),O(e,o,a)))).then((e=>{(e=e||S(o,a,!1))&&(n.delta&&!ys(e,8)?r.go(-n.delta,!1):n.type===Qa.pop&&ys(e,20)&&r.go(-1,!1)),x(o,a,e)})).catch(Ca)})))}let k,E=qs(),P=qs();function O(e,t,n){L(e);const o=P.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function L(e){return k||(k=!e,T(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function $(t,n,o,r){const{scrollBehavior:i}=e;if(!wa||!i)return Promise.resolve();const a=!o&&function(e){const t=ss.get(e);return ss.delete(e),t}(as(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return xn().then((()=>i(t,n,a))).then((e=>e&&is(e))).catch((e=>O(e,t,n)))}const B=e=>r.go(e);let A;const M=new Set,I={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return fs(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:m,replace:function(e){return m(xa(h(e),{replace:!0}))},go:B,back:()=>B(-1),forward:()=>B(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:P.add,isReady:function(){return k&&l.value!==ps?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Xs),e.component("RouterView",Ks),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>sn(l)}),wa&&!A&&l.value===ps&&(A=!0,m(r.location).catch((e=>{})));const t={};for(const o in ps)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(js,this),e.provide(Ds,Vt(t)),e.provide(Vs,l);const n=e.unmount;M.add(e),e.unmount=function(){M.delete(e),M.size<1&&(c=ps,C&&C(),C=null,l.value=ps,A=!1,k=!1),n()}}};function N(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return I}function Zs(){return mr(Ds)}const Js=["{","}"];const el=/^(?:\d)+/,tl=/^(?:\w)+/;const nl=Object.prototype.hasOwnProperty,ol=(e,t)=>nl.call(e,t),rl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Js){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=el.test(t)?"list":s&&tl.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 il(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class al{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||rl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=il(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=>{ol(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=il(t,this.messages))&&(o=this.messages[t]):n=t,ol(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 sl(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&&Vd?Vd():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new al({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=fg().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}function ll(e,t){return e.indexOf(t[0])>-1}const cl=ue((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let ul;function dl(e){return ll(e,ee)?hl().f(e,function(){const e=Vd(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),ee):e}function fl(e,t){if(1===t.length){if(e){const n=e=>v(e)&&ll(e,ee),o=t[0];let r=[];if(p(e)&&(r=e.filter((e=>n(e[o])))).length)return r;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return fl(e&&e[n],t)}function pl(e,t){const n=fl(e,t);if(!n)return!1;const o=t[t.length-1];if(p(n))n.forEach((e=>pl(e,[o])));else{let e=n[o];Object.defineProperty(n,o,{get:()=>dl(e),set(t){e=t}})}return!0}function hl(){if(!ul){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,ul=sl(e),cl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>ul.add(e,__uniConfig.locales[e]))),ul.setLocale(e)}}return ul}function gl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const ml=ue((()=>{const e="uni.async.",t=["error"];hl().add("en",gl(e,t,["The connection timed out, click the screen to try again."]),!1),hl().add("es",gl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),hl().add("fr",gl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),hl().add("zh-Hans",gl(e,t,["连接服务器超时,点击屏幕重试"]),!1),hl().add("zh-Hant",gl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),vl=ue((()=>{const e="uni.showToast.",t=["unpaired"];hl().add("en",gl(e,t,["Please note showToast must be paired with hideToast"]),!1),hl().add("es",gl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),hl().add("fr",gl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),hl().add("zh-Hans",gl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),hl().add("zh-Hant",gl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),yl=ue((()=>{const e="uni.showLoading.",t=["unpaired"];hl().add("en",gl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),hl().add("es",gl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),hl().add("fr",gl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),hl().add("zh-Hans",gl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),hl().add("zh-Hant",gl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),bl=ue((()=>{const e="uni.showModal.",t=["cancel","confirm"];hl().add("en",gl(e,t,["Cancel","OK"]),!1),hl().add("es",gl(e,t,["Cancelar","OK"]),!1),hl().add("fr",gl(e,t,["Annuler","OK"]),!1),hl().add("zh-Hans",gl(e,t,["取消","确定"]),!1),hl().add("zh-Hant",gl(e,t,["取消","確定"]),!1)})),_l=ue((()=>{const e="uni.chooseFile.",t=["notUserActivation"];hl().add("en",gl(e,t,["File chooser dialog can only be shown with a user activation"]),!1),hl().add("es",gl(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),hl().add("fr",gl(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),hl().add("zh-Hans",gl(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),hl().add("zh-Hant",gl(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),wl=ue((()=>{const e="uni.video.",t=["danmu","volume"];hl().add("en",gl(e,t,["Danmu","Volume"]),!1),hl().add("es",gl(e,t,["Danmu","Volumen"]),!1),hl().add("fr",gl(e,t,["Danmu","Le Volume"]),!1),hl().add("zh-Hans",gl(e,t,["弹幕","音量"]),!1),hl().add("zh-Hant",gl(e,t,["彈幕","音量"]),!1)}));function xl(e){const t=new Oe;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let Sl=1;const Cl=Object.create(null);function Tl(e,t){return e+"."+t}function kl(e,t,n){t=Tl(e,t),Cl[t]||(Cl[t]=n)}function El({id:e,name:t,args:n},o){t=Tl(o,t);const r=t=>{e&&lv.publishHandler("invokeViewApi."+e,t)},i=Cl[t];i?i(n,r):r({})}const Pl=c(xl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=lv,i=n?Sl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Ol=me(!0);let Ll;function $l(){Ll&&(clearTimeout(Ll),Ll=null)}let Bl=0,Al=0;function Ml(e){if($l(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Bl=t,Al=n,Ll=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),350)}function Il(e){if(!Ll)return;if(1!==e.touches.length)return $l();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Bl)>10||Math.abs(n-Al)>10?$l():void 0}function Nl(e,t){const n=Number(e);return isNaN(n)?t:n}function Rl(){const e=__uniConfig.globalStyle||{},t=Nl(e.rpxCalcMaxDeviceWidth,960),n=Nl(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Fl(){Rl(),pe(),window.addEventListener("touchstart",Ml,Ol),window.addEventListener("touchmove",Il,Ol),window.addEventListener("touchend",$l,Ol),window.addEventListener("touchcancel",$l,Ol)}function jl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dl,Vl,ql=["top","left","right","bottom"],Hl={};function Wl(){return Vl="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 zl(){if(Vl="string"==typeof Vl?Vl:Wl()){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"}),ql.forEach((function(e){a(o,e)})),document.body.appendChild(o),i(),Dl=!0}else ql.forEach((function(e){Hl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function 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:Vl+"(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){Ul.length||setTimeout((function(){var e={};Ul.forEach((function(t){e[t]=Hl[t]})),Ul.length=0,Yl.forEach((function(t){t(e)}))}),0);Ul.push(e)}(n))}o.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Hl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Xl(e){return Dl||zl(),Hl[e]}var Ul=[];var Yl=[];const Gl=jl({get support(){return 0!=("string"==typeof Vl?Vl:Wl()).length},get top(){return Xl("top")},get left(){return Xl("left")},get right(){return Xl("right")},get bottom(){return Xl("bottom")},onChange:function(e){Wl()&&(Dl||zl(),"function"==typeof e&&Yl.push(e))},offChange:function(e){var t=Yl.indexOf(e);t>=0&&Yl.splice(t,1)}}),Kl=va((()=>{}),["prevent"]),Ql=va((e=>{}),["stop"]);function Zl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Jl(){const e=Zl(document.documentElement.style,"--window-top");return e?e+Gl.top:0}function ec(){const e=document.documentElement.style,t=Jl(),n=Zl(e,"--window-bottom"),o=Zl(e,"--window-left"),r=Zl(e,"--window-right"),i=Zl(e,"--top-window-height");return{top:t,bottom:n?n+Gl.bottom:0,left:o?o+Gl.left:0,right:r?r+Gl.right:0,topWindowHeight:i||0}}function tc(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function nc(e){return tc(e)}function oc(e){return Symbol(e)}function rc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function ic(e,t=!1){if(t)return function(e){if(!rc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>pd(parseFloat(t))+"px"))}(e);if(v(e)){const t=parseInt(e)||0;return rc(e)?pd(t):t}return e}const ac="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",sc="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",lc="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 cc(e,t="#000",n=27){return ei("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ei("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function uc(){{const{$pageInstance:e}=fi();return e&&e.proxy.$page.id}}function dc(e){const t=oe(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function fc(){const e=Dh(),t=e.length;if(t)return e[t-1]}function pc(){const e=fc();if(e)return e.$page.meta}function hc(){const e=pc();return e?e.id:-1}function gc(){const e=fc();if(e)return e.$vm}const mc=["navigationBar","pullToRefresh"];function vc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);mc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function yc(e,t,n){if(v(e))n=t,t=e,e=gc();else if("number"==typeof e){const t=Dh().find((t=>t.$page.id===e));e=t?t.$vm:gc()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function bc(e){e.preventDefault()}let _c,wc=0;function xc({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-wc)>n;return!i||r&&!a?(!i&&r&&(r=!1),!1):(wc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(_c=setTimeout(a,300))),o=!1};return function(){clearTimeout(_c),o||requestAnimationFrame(a),o=!0}}function Sc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Sc(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),ce(i.concat(n).join("/"))}function Cc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class Tc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ie(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&&ie(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=Oc(this.$el.querySelector(e));return t?kc(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=Oc(n[o]);e&&t.push(kc(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:L(n);(v(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(v(e)&&(e=H(e)),S(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&lv.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 kc(e,t=!0){if(t&&e&&(e=re(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Tc(e)),e.$el.__wxsComponentDescriptor}function Ec(e,t){return kc(e,t)}function Pc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Ec(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=re(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Ec(r,!1)]}}function Oc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Lc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let a,s;a=ve(t?r:function(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}(r)),s=ve(i);const l={type:n,timeStamp:o,target:a,detail:{},currentTarget:s};return e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function $c(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Bc(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 Ac=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=0!==o.tagName.indexOf("UNI-");if(r)return Pc(e,t,n,!1)||[e];const i=Lc(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=Jl();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[$c(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Jl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[$c(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Jl();i.touches=Bc(e.touches,t),i.changedTouches=Bc(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 Pc(i,t,n)||[i]},createNativeEvent:Lc},Symbol.toStringTag,{value:"Module"});function Mc(e){!function(e){const t=e.globalProperties;c(t,Ac),t.$gcd=Ec}(e._context.config)}let Ic=1;function Nc(e){return(e||hc())+".invokeViewApi"}const Rc=c(xl("view"),{invokeOnCallback:(e,t)=>cv.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=cv,a=o?Ic++:0;o&&r("invokeViewApi."+a,o,!0),i(Nc(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:a}=cv,s=Ic++,l="invokeViewApi."+s;return r(l,n),a(Nc(o),{id:s,name:e,args:t},o),()=>{i(l)}}});function Fc(e){yc(fc(),"onResize",e),cv.invokeOnCallback("onWindowResize",e)}function jc(e){const t=fc();yc(fg(),"onShow",e),yc(t,"onShow")}function Dc(){yc(fg(),"onHide"),yc(fc(),"onHide")}const Vc=["onPageScroll","onReachBottom"];function qc(){Vc.forEach((e=>cv.subscribe(e,function(e){return(t,n)=>{yc(parseInt(n),e,t)}}(e))))}function Hc(){!function(){const{on:e}=cv;e("onResize",Fc),e("onAppEnterForeground",jc),e("onAppEnterBackground",Dc)}(),qc()}function Wc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Se(this.$page.id)),e.eventChannel}}function zc(e){e._context.config.globalProperties.getOpenerEventChannel=Wc}function Xc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Uc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${pd(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Yc(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(Uc)),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)?Uc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${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 Gc={props:["animation"],watch:{animation:{deep:!0,handler(){Yc(this)}}},mounted(){Yc(this)}},Kc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Gc),Qc(e)},Qc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},mo(e));function Zc(e){return e.__wwe=!0,e}function Jc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=ve(n),{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const eu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function tu(e){const t=nn(!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:Zc((function(e){e.touches.length>1||a(e)})),onMousedown:Zc((function(e){r||(a(e),window.addEventListener("mouseup",l))})),onTouchend:Zc((function(){s()})),onMouseup:Zc((function(){r&&l()})),onTouchcancel:Zc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function nu(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const ou=oc("uf"),ru={for:{type:String,default:""}},iu=oc("ul");const au=Kc({name:"Label",props:ru,setup(e,{slots:t}){const n=nn(null),o=uc(),r=function(){const e=[];return gr(iu,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),i=Si((()=>e.for||t.default&&t.default.length)),a=Zc((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?lv.emit("uni-label-click-"+o+"-"+e.for,t,!0):r.length&&r[0](t,!0))}));return()=>ei("uni-label",{ref:n,class:{"uni-label-pointer":i},onClick:a},[t.default&&t.default()],10,["onClick"])}});function su(e,t){lu(e.id,t),Qn((()=>e.id),((e,n)=>{cu(n,t,!0),lu(e,t,!0)})),Do((()=>{cu(e.id,t)}))}function lu(e,t,n){const o=uc();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&lv.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?lv.on(r,t[r]):e&&lv.on(`uni-${r}-${o}-${e}`,t[r])}))}function cu(e,t,n){const o=uc();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&lv.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?lv.off(r,t[r]):e&&lv.off(`uni-${r}-${o}-${e}`,t[r])}))}const uu=Kc({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=nn(null),o=mr(ou,!1),{hovering:r,binding:i}=tu(e),a=Zc(((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=mr(iu,!1);return s&&(s.addHandler(a),jo((()=>{s.removeHandler(a)}))),su(e,{"label-click":a}),()=>{const o=e.hoverClass,s=nu(e,"disabled"),l=nu(e,"loading"),c=nu(e,"plain"),u=o&&"none"!==o;return ei("uni-button",si({ref:n,onClick:a,id:e.id,class:u&&r.value?o:""},u&&i,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}});function du(e){const{base:t}=__uniConfig.router;return 0===ce(e).indexOf(t)?ce(e):t+e}function fu(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 du(e.slice(1));e="https:"+e}if(te.test(e)||ne.test(e)||0===e.indexOf("blob:"))return e;const o=Dh();return o.length?du(Sc(o[o.length-1].$page.route,e).slice(1)):e}const pu=navigator.userAgent,hu=/android/i.test(pu),gu=/iphone|ipad|ipod/i.test(pu),mu=pu.match(/Windows NT ([\d|\d.\d]*)/i),vu=/Macintosh|Mac/i.test(pu),yu=/Linux|X11/i.test(pu),bu=vu&&navigator.maxTouchPoints>0;function _u(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function wu(e){return e&&90===Math.abs(window.orientation)}function xu(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Su(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Cu(e,t,n,o){cv.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function Tu(e,t){const n={},{top:o,topWindowHeight:r}=ec();if(t.node){const t=e.tagName.replace("uni-","");t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=he(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(p(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(p(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function ku(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function Eu(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){return e?e.$el:t.$el}(t,e),a=i.parentElement;if(!a)return o?null:[];const{nodeType:s}=i,l=3===s||8===s;if(o){const e=l?a.querySelector(n):ku(i,n)?i:i.querySelector(n);return e?Tu(e,r):null}{let e=[];const t=(l?a:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Tu(t,r))})),!l&&ku(i,n)&&e.unshift(Tu(i,r)),e}}(e,t,n,r,i))})),n(o)}const Pu=["original","compressed"],Ou=["album","camera"],Lu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function $u(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function Bu(e,t){return!p(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function Au(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Mu=1;const Iu={};function Nu(e,t,n){if("number"==typeof e){const o=Iu[e];if(o)return o.keepAlive||delete Iu[e],o.callback(t,n)}return t}const Ru="success",Fu="fail",ju="complete";function Du(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(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]=Au(o),delete e[n])}return t}(t),s=m(r),l=m(i),c=m(a),u=Mu++;return function(e,t,n,o=!1){Iu[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),s&&r(u)):l&&i(u),c&&a(u)})),u}const Vu="success",qu="fail",Hu="complete",Wu={},zu={};function Xu(e,t){return function(n){return e(n,t)||n}}function Uu(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(Xu(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 Yu(e,t={}){return[Vu,qu,Hu].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Uu(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function Gu(e,t){const n=[];p(Wu.returnValue)&&n.push(...Wu.returnValue);const o=zu[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Ku(e){const t=Object.create(null);Object.keys(Wu).forEach((e=>{"returnValue"!==e&&(t[e]=Wu[e].slice())}));const n=zu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Qu(e,t,n,o){const r=Ku(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Uu(r.invoke,n).then((n=>t(Yu(Ku(e),n),...o)))}return t(Yu(r,n),...o)}return t(n,...o)}function Zu(e,t){return(n={},...o)=>function(e){return!(!S(e)||![Ru,Fu,ju].find((t=>m(e[t]))))}(n)?Gu(e,Qu(e,t,n,o)):Gu(e,new Promise(((r,i)=>{Qu(e,t,c(n,{success:r,fail:i}),o)})))}function Ju(e,t,n,o={}){const r=t+":fail"+(n?" "+n:"");return delete o.errCode,Nu(e,c({errMsg:r},o))}function ed(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],a=o[t];if(m(a)){const o=a(e[0][t],n);if(v(o))return o}else f(n,t)||(n[t]=a)}}(t,o);if(r)return r}function td(e,t,n,o){return n=>{const r=Du(e,n,o),i=ed(0,[n],0,o);return i?Ju(r,e,i):t(n,{resolve:t=>function(e,t,n){return Nu(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Ju(r,e,function(e){return!e||v(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function nd(e,t,n,o){return Zu(e,td(e,t,0,o))}function od(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=ed(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function rd(e,t,n,o){return Zu(e,function(e,t,n,o){return td(e,t,0,o)}(e,t,0,o))}let id=!1,ad=0,sd=0,ld=960,cd=375,ud=750;function dd(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=_u(),t=Su(xu(e,wu(e)));return{platform:gu?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();ad=n,sd=t,id="ios"===e}function fd(e,t){const n=Number(e);return isNaN(n)?t:n}const pd=od(0,((e,t)=>{if(0===ad&&(dd(),function(){const e=__uniConfig.globalStyle||{};ld=fd(e.rpxCalcMaxDeviceWidth,960),cd=fd(e.rpxCalcBaseDeviceWidth,375),ud=fd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||ad;n=e===ud||n<=ld?n:cd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==sd&&id?.5:1),e<0?-o:o}));function hd(e,t){Object.keys(t).forEach((n=>{m(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):p(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}const gd=od(0,((e,t)=>{v(e)&&S(t)?hd(zu[e]||(zu[e]={}),t):S(e)&&hd(Wu,e)})),md=new Oe,vd=od(0,((e,t)=>(md.on(e,t),()=>md.off(e,t)))),yd=od(0,((e,t)=>{e?(p(e)||(e=[e]),e.forEach((e=>md.off(e,t)))):md.e={}})),bd=od(0,((e,...t)=>{md.emit(e,...t)})),_d=[.5,.8,1,1.25,1.5,2];class wd{constructor(e,t){this.id=e,this.pageId=t}play(){Cu(this.id,this.pageId,"play")}pause(){Cu(this.id,this.pageId,"pause")}stop(){Cu(this.id,this.pageId,"stop")}seek(e){Cu(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Cu(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~_d.indexOf(e)||(e=1),Cu(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Cu(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Cu(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Cu(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Cu(this.id,this.pageId,"hideStatusBar")}}const xd=od(0,((e,t)=>new wd(e,dc(t||gc())))),Sd=(e,t,n,o)=>{!function(e,t,n,o,r){cv.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,(e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)}))};const Cd={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function Td(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(f(Cd,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Cd[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class kd{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Td(t)])}}class Ed{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Pd{constructor(e){this.width=e}}let Od=0,Ld={};const $d={canvas:class{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,i,a,s,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){cv.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new kd("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new kd("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new Ed(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new Pd(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],a=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===o.length&&s(),o=a.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}},map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Sd(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Sd(this.id,this.pageId,"moveToLocation",e)}getScale(e){Sd(this.id,this.pageId,"getScale",e)}getRegion(e){Sd(this.id,this.pageId,"getRegion",e)}includePoints(e){Sd(this.id,this.pageId,"includePoints",e)}translateMarker(e){Sd(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Sd(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Sd(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Sd(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Sd(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Sd(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Sd(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Sd(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Sd(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Sd(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Sd(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Sd(this.id,this.pageId,"openMapApp",e)}on(e,t){Sd(this.id,this.pageId,"on",{name:e,callback:t})}},video:wd,editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){!function(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(Od++);r.callbackId=e,Ld[e]=o}cv.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(de(Ld[e],t),delete Ld[e])}))}(this.id,this.pageId,e,t)}}};function Bd(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=$d[n];e.context=new r(t,o),delete e.contextInfo}}class Ad{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class Md{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return Eu(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{p(e)?e.forEach(Bd):Bd(e);const o=n[t];m(o)&&o.call(this,e)})),m(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=oe(e),this}select(e){return this._nodesRef=new Ad(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Ad(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Ad(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const Id=od(0,(e=>((e=oe(e))&&!dc(e)&&(e=null),new Md(e||gc())))),Nd={formatArgs:{}},Rd={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class Fd{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=c({},Rd,e)}_getOption(e){const t={transition:c({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach((e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e})),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const jd=ue((()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach((n=>{Fd.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}}))})),Dd=od(0,(e=>(jd(),new Fd(e))),0,Nd),Vd=od(0,(()=>{const e=fg();return e&&e.$vm?e.$vm.$locale:hl().getLocale()})),qd={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const Hd=od(0,(()=>c({},Lf)));let Wd,zd,Xd;const Ud=[];const Yd=rd("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{var e,o;void 0===Xd&&(Xd=!1,Wd="",zd="uniPush is not enabled"),Ud.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==Wd&&(e=Wd,o=zd,Ud.forEach((t=>{t(e,o)})),Ud.length=0)}))})),Gd=e=>{},Kd=e=>{},Qd={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=Bu(e,Pu)},sourceType(e,t){t.sourceType=Bu(e,Ou)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},Zd={formatArgs:{sourceType(e,t){t.sourceType=Bu(e,Ou)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},Jd=(Boolean,["all","image","video"]),ef={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=Bu(e,Ou)},type(e,t){t.type=$u(e,Jd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=[""])}}},tf={formatArgs:{src(e,t){t.src=fu(e)}}},nf={formatArgs:{urls(e,t){t.urls=e.map((e=>v(e)&&e?fu(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:v(e)&&e&&(t.current=fu(e))}}},of="json",rf=["text","arraybuffer"],af=encodeURIComponent;ArrayBuffer,Boolean;const sf={formatArgs:{method(e,t){t.method=$u((e||"").toUpperCase(),Lu)},data(e,t){t.data=e||""},url(e,t){t.method===Lu[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),a={};i.forEach((e=>{const t=e.split("=");a[t[0]]=t[1]}));for(const s in t)if(f(t,s)){let e=t[s];null==e?e="":S(e)&&(e=JSON.stringify(e)),a[af(s)]=af(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!==Lu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||of).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===rf.indexOf(t.responseType)&&(t.responseType="text")}}},lf={formatArgs:{filePath(e,t){e&&(t.filePath=fu(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},cf={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=$u((e||"").toUpperCase(),Lu)},protocols(e,t){v(e)&&(t.protocols=[e])}}};const uf={url:{type:String,required:!0}},df=(mf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),mf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),bf("navigateTo")),ff=bf("redirectTo"),pf=bf("reLaunch"),hf=bf("switchTab"),gf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Dh().length-1,e)}}};function mf(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 vf;function yf(){vf=""}function bf(e){return{formatArgs:{url:_f(e)},beforeAll:yf}}function _f(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=Dh();return n.length&&(t=n[n.length-1].$page.route),Sc(t,e)}(t)).split("?")[0],r=Cc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(vf===t&&"appLaunch"!==n.openType)return`${vf} locked`;__uniConfig.ready&&(vf=t)}else if(r.meta.isTabBar){const e=Dh(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const wf={formatArgs:{title:"",mask:!1}},xf=(Boolean,{beforeInvoke(){bl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=hl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=hl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Sf=["success","loading","none","error"],Cf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=$u(e,Sf)},image(e,t){t.image=e?fu(e):""},duration:1500,mask:!1}}),Tf={};function kf(e,t){const n=Tf[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const a=new Uint8Array(i);for(;i--;)a[i]=r.charCodeAt(i);return Ef(a,o)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function Ef(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function Pf(e){for(const n in Tf)if(f(Tf,n)){if(Tf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Tf[t]=e,t}function Of(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Tf[e]}const Lf=Xc(),$f=Xc();const Bf=Kc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=nn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=Dt({width:-1,height:-1});return Qn((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){To(o),No((()=>{t.initial&&xn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>ei("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ei("div",{onScroll:r},[ei("div",null,null)],40,["onScroll"]),ei("div",{onScroll:r},[ei("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Af=oc("ucg"),Mf=Kc({name:"CheckboxGroup",props:{name:{type:String,default:""}},emits:["change"],setup(e,{emit:t,slots:n}){const o=nn(null);return function(e,t){const n=[],o=()=>n.reduce(((e,t)=>(t.value.checkboxChecked&&e.push(t.value.value),e)),new Array);gr(Af,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},checkboxChange(e){t("change",e,{value:o()})}});const r=mr(ou,!1);r&&r.addField({submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=o()),t}})}(e,Jc(o,t)),()=>ei("uni-checkbox-group",{ref:o},[n.default&&n.default()],512)}});const If=Kc({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=nn(null),o=nn(e.checked),r=Si((()=>"true"===o.value||!0===o.value)),i=nn(e.value);const a=Si((()=>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)));Qn([()=>e.checked,()=>e.value],(([e,t])=>{o.value=e,i.value=t}));const{uniCheckGroup:s,uniLabel:l}=function(e,t,n){const o=Si((()=>({checkboxChecked:Boolean(e.value),value:t.value}))),r={reset:n},i=mr(Af,!1);i&&i.addField(o);const a=mr(ou,!1);a&&a.addField(r);const s=mr(iu,!1);return jo((()=>{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),jo((()=>{l.removeHandler(c)}))),su(e,{"label-click":c}),()=>{const r=nu(e,"disabled");let i;return i=o.value,ei("uni-checkbox",si(r,{id:e.id,onClick:c,ref:n}),[ei("div",{class:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":e.activeBorderColor}},[ei("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}],style:a.value},[i?cc(ac,e.disabled?"#ADADAD":e.foreColor||e.iconColor||e.color,22):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});function Nf(){}const Rf={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 Ff(e,t,n){function o(e){const t=Si((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Nf,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Nf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Qn((()=>t.value),(e=>e&&o(e)))}const jf={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Df={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Vf={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"]},qf=Kc({name:"Image",props:jf,setup(e,{emit:t}){const n=nn(null),o=function(e,t){const n=nn(""),o=Si((()=>{let e="auto",o="";const r=Vf[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=Dt({rootEl:e,src:Si((()=>t.src?fu(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return No((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=Jc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=Df[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){Hf&&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 Qn((()=>t.mode),((e,t)=>{Df[t]&&r(),Df[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),xn((()=>{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)};Qn((()=>e.src),(e=>l(e))),Qn((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),No((()=>l(e.src))),jo((()=>c()))}(o,e,n,i,r),()=>ei("uni-image",{ref:n},[ei("div",{style:o.modeStyle},null,4),Df[e.mode]?ei(Bf,{onResize:i},null,8,["onResize"]):ei("span",null,null)],512)}});const Hf="Google Inc."===navigator.vendor;const Wf=me(!0),zf=[];let Xf=0,Uf=!1;const Yf=e=>zf.forEach((t=>t.userAction=e));function Gf(e={userAction:!1}){if(!Uf){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Xf&&Yf(!0),Xf++,setTimeout((()=>{!--Xf&&Yf(!1)}),0)}),Wf)})),Uf=!0}zf.push(e)}const Kf=()=>!!Xf;function Qf(){const e=Dt({userAction:!1});return No((()=>{Gf(e)})),jo((()=>{!function(e){const t=zf.indexOf(e);t>=0&&zf.splice(t,1)}(e)})),{state:e}}function Zf(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 Jf(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");const o=null==e?"":String(e);return null==n?o:o.slice(0,n)}const ep=["none","text","decimal","numeric","tel","search","email","url"],tp=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=>!!~ep.indexOf(e)},cursorColor:{type:String,default:""}},Rf),np=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function op(e,t,n,o){let r=null;r=xe((n=>{t.value=Jf(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Qn((()=>e.modelValue),r),Qn((()=>e.value),r);const i=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)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Io((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function rp(e,t){Qf();const n=Si((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Qn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),No((()=>{n.value&&xn(o)}))}function ip(e,t,n,o){kl(hc(),"getSelectedTextRange",Zf);const{fieldRef:r,state:i,trigger:a}=function(e,t,n){const o=nn(null),r=Jc(t,n),i=Si((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=Si((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=Si((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Si((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=Jf(e.modelValue,e.type)||Jf(e.value,e.type);const u=Dt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return Qn((()=>u.focus),(e=>n("update:focus",e))),Qn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:s}=op(e,i,n,a);rp(e,r),Ff(0,r);const{state:l}=function(){const e=Dt({attrs:{}});return No((()=>{let t=fi();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=mr(ou,!1);if(!n)return;const o=fi(),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),jo((()=>{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}Qn([()=>t.selectionStart,()=>t.selectionEnd],a),Qn((()=>t.cursor),s),Qn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),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}}function ap(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&navigator.userAgent.includes("iPhone OS 16")&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const sp=Kc({name:"Input",props:c({},tp,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...np],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Si((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~o.includes(e.type)?e.type:"text"}return e.password?"password":t})),a=Si((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(L(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let s=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=nn(null!=t?t.toLocaleString():"");return Qn((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Qn((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return nn("")}(e,i),l={fn:null};const c=nn(null),{fieldRef:u,state:d,scopedAttrsState:f,fixDisabledColor:p,trigger:h}=ip(e,c,t,((e,t)=>{const n=e.target;if("number"===i.value){if(l.fn&&(n.removeEventListener("blur",l.fn),l.fn=null),n.validity&&!n.validity.valid){if((!s.value||!n.value)&&"-"===e.data||"-"===s.value[0]&&"deleteContentBackward"===e.inputType)return s.value="-",t.value="",l.fn=()=>{s.value=n.value=""},n.addEventListener("blur",l.fn),!1;const o=ap(e,s,t,n,l);return"boolean"==typeof o?o:(s.value=t.value=n.value="-"===s.value?"":s.value,!1)}{const o=ap(e,s,t,n,l);if("boolean"==typeof o)return o;s.value=n.value}const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}}));Qn((()=>d.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t.toString())}));const g=["number","digit"],m=Si((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&p?ei("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):ei("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.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:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ei("uni-input",{ref:c},[ei("div",{class:"uni-input-wrapper"},[no(ei("div",si(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[zi,!(d.value.length||"-"===s.value||s.value.includes("."))]]),"search"===e.confirmType?ei("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const lp=["class","style"],cp=/^on[A-Z]+/,up=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=fi(),r=on({}),i=on({}),a=on({}),s=n.concat(lp);return o.attrs=Dt(o.attrs),Gn((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:cp.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 dp(e){const t=[];return p(e)&&e.forEach((e=>{Yr(e)?e.type===Nr?t.push(...dp(e.children)):t.push(e):p(e)&&t.push(...dp(e))})),t}const fp=Kc({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=nn(null),o=nn(!1);let{setContexts:r,events:i}=function(e,t){const n=nn(0),o=nn(0),r=Dt({x:null,y:null}),i=nn(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=Zc((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=pp(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=Zc((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(pp(n)/i.value)}r.x=n.x,r.y=n.y}})),f=Zc((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):a&&a._endScale())}));function p(){h(),s.forEach((function(e,t){e.setParent()}))}function h(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=r.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}return gr("movableAreaWidth",n),gr("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:f,_resize:p}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=up(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),No((()=>{i._resize(),o.value=!0}));let u=[];const d=[];function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find((e=>n===e.rootRef.value));o&&e.push(Gt(o))}r(e)}return gr("_isMounted",o),gr("movableAreaRootRef",n),gr("addMovableViewContext",(e=>{d.push(e),f()})),gr("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())})),()=>{const e=t.default&&t.default();return u=dp(e),ei("uni-movable-area",si({ref:n},s.value,l.value,c),[ei(Bf,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function pp(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const hp=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 gp,mp;function vp(e,t,n){jo((()=>{document.removeEventListener("mousemove",gp),document.removeEventListener("mouseup",mp)}));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;hp(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)})),hp(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)})),hp(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=gp=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),hp(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=mp=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),hp(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 yp(e,t,n){return e>t-n&&e<t+n}function bp(e,t){return yp(e,0,t)}function _p(){}function wp(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function xp(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Sp(e,t,n){this._springX=new xp(e,t,n),this._springY=new xp(e,t,n),this._springScale=new xp(e,t,n),this._startTime=0}_p.prototype.x=function(e){return Math.sqrt(e)},wp.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()},wp.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},wp.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}},wp.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}},wp.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}},wp.prototype.dt=function(){return-this._x_v/this._x_a},wp.prototype.done=function(){const e=yp(this.s().x,this._endPositionX)||yp(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},wp.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},wp.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},xp.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)}}},xp.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},xp.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},xp.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!bp(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(bp(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),bp(t,.1)&&(t=0),bp(o,.1)&&(o=0),o+=this._endPosition),this._solution&&bp(o-e,.1)&&bp(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},xp.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},xp.prototype.done=function(e){return e||(e=(new Date).getTime()),yp(this.x(),this._endPosition,.1)&&bp(this.dx(),.1)},xp.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())},xp.prototype.springConstant=function(){return this._k},xp.prototype.damping=function(){return this._c},xp.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}]},Sp.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},Sp.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)}},Sp.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Sp.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 Cp(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Tp=Kc({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:.5},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=nn(null),r=Jc(o,n),{setParent:i}=function(e,t,n){const o=mr("_isMounted",nn(!1)),r=mr("addMovableViewContext",(()=>{})),i=mr("removeMovableViewContext",(()=>{}));let a,s,l=nn(1),c=nn(1),u=nn(!1),d=nn(0),f=nn(0),p=null,h=null,g=!1,m=null,v=null;const y=new _p,b=new _p,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Si((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new wp(1,w.value);Qn((()=>e.disabled),(()=>{z()}));const{_updateOldScale:S,_endScale:C,_setScale:T,scaleValueSync:k,_updateBoundary:E,_updateOffset:P,_updateWH:O,_scaleOffset:L,minX:$,minY:B,maxX:A,maxY:M,FAandSFACancel:I,_getLimitXY:N,_setTransform:R,_revise:F,dampingNumber:j,xMove:D,yMove:V,xSync:q,ySync:H,_STD:W}=function(e,t,n,o,r,i,a,s,l,c){const u=Si((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=Si((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),f=nn(Number(e.scaleValue)||1);Qn(f,(e=>{R(e)})),Qn(u,(()=>{N()})),Qn(d,(()=>{N()})),Qn((()=>e.scaleValue),(e=>{f.value=Number(e)||0}));const{_updateBoundary:p,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=mr("movableAreaWidth",nn(0)),r=mr("movableAreaHeight",nn(0)),i=mr("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=nn(0),c=nn(0),u=nn(0),d=nn(0),f=nn(0),p=nn(0);function h(){let e=0-a.x+s.x,t=o.value-l.value-a.x-s.x;u.value=Math.min(e,t),f.value=Math.max(e,t);let n=0-a.y+s.y,i=r.value-c.value-a.y-s.y;d.value=Math.min(n,i),p.value=Math.max(n,i)}function g(){a.x=Pp(e.value,i.value),a.y=Op(e.value,i.value)}function m(o){o=o||t.value,o=n(o);let r=e.value.getBoundingClientRect();c.value=r.height/t.value,l.value=r.width/t.value;let i=c.value*o,a=l.value*o;s.x=(a-l.value)/2,s.y=(i-c.value)/2}return{_updateBoundary:h,_updateOffset:g,_updateWH:m,_scaleOffset:s,minX:u,minY:d,maxX:f,maxY:p}}(t,o,I),{FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:C,_revise:T,dampingNumber:k,xMove:E,yMove:P,xSync:O,ySync:L,_STD:$}=function(e,t,n,o,r,i,a,s,l,c,u,d,f,p){const h=Si((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=Si((()=>"all"===t.direction||"horizontal"===t.direction)),m=Si((()=>"all"===t.direction||"vertical"===t.direction)),v=nn($p(t.x)),y=nn($p(t.y));Qn((()=>t.x),(e=>{v.value=$p(e)})),Qn((()=>t.y),(e=>{y.value=$p(e)})),Qn(v,(e=>{T(e)})),Qn(y,(e=>{k(e)}));const b=new Sp(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=Lp(b,(function(){let e=b.x();S(e.x,e.y,e.scale,i,a,s)}),(function(){u.cancel()}))):S(e,n,r,i,a,s)}function S(r,i,a,s="",u,d){null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=l.value||0),null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=c.value||0),r=Number(r.toFixed(1)),i=Number(i.toFixed(1)),a=Number(a.toFixed(1)),l.value===r&&c.value===i||u||p("change",{},{x:Cp(r,n.x),y:Cp(i,n.y),source:s}),t.scale||(a=o.value),a=+(a=f(a)).toFixed(3),d&&a!==o.value&&p("scale",{},{x:r,y:i,scale:a});let h="translateX("+r+"px) translateY("+i+"px) translateZ(0px) scale("+a+")";e.value&&(e.value.style.transform=h,e.value.style.webkitTransform=h,l.value=r,c.value=i,o.value=a)}function C(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 T(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 k(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:S,_revise:C,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 B(t,n){if(e.scale){t=I(t),g(t),p();const e=x(a.value,s.value),o=e.x,r=e.y;n?S(o,r,t,"",!0,!0):Ep((function(){C(o,r,t,"",!0,!0)}))}}function A(){i.value=!0}function M(e){r.value=e}function I(e){return e=Math.max(.5,u.value,e),e=Math.min(10,d.value,e)}function N(){if(!e.scale)return!1;B(o.value,!0),M(o.value)}function R(t){return!!e.scale&&(B(t=I(t),!0),M(t),t)}function F(){i.value=!1,M(o.value)}function j(e){e&&(e=r.value*e,A(),B(e))}return{_updateOldScale:M,_endScale:F,_setScale:j,scaleValueSync:f,_updateBoundary:p,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_,FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:C,_revise:T,dampingNumber:k,xMove:E,yMove:P,xSync:O,ySync:L,_STD:$}}(e,n,t,l,c,u,d,f,p,h);function z(){u.value||e.disabled||(I(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],D.value&&(a=d.value),V.value&&(s=f.value),n.value.style.willChange="transform",m=null,v=null,g=!0)}function X(t){if(!u.value&&!e.disabled&&g){let n=d.value,o=f.value;if(null===v&&(v=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),D.value&&(n=t.detail.dx+a,_.historyX.shift(),_.historyX.push(n),V.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),V.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),D.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<$.value?e.outOfBounds?(r="touch-out-of-bounds",n=$.value-y.x($.value-n)):n=$.value:n>A.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=A.value+y.x(n-A.value)):n=A.value),o<B.value?e.outOfBounds?(r="touch-out-of-bounds",o=B.value-b.x(B.value-o)):o=B.value:o>M.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=M.value+b.x(o-M.value)):o=M.value),Ep((function(){R(n,o,l.value,r)}))}}}function U(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!F("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=f.value;x.setV(e,t),x.setS(n,o);const r=x.delta().x,i=x.delta().y;let a=r+n,s=i+o;a<$.value?(a=$.value,s=o+($.value-n)*i/r):a>A.value&&(a=A.value,s=o+(A.value-n)*i/r),s<B.value?(s=B.value,a=n+(B.value-o)*r/i):s>M.value&&(s=M.value,a=n+(M.value-o)*r/i),x.setEnd(a,s),h=Lp(x,(function(){let e=x.s(),t=e.x,n=e.y;R(t,n,l.value,"friction")}),(function(){h.cancel()}))}e.outOfBounds||e.inertia||I()}function Y(){if(!o.value)return;I();let t=e.scale?k.value:1;P(),O(t),E();let n=N(q.value+L.x,H.value+L.y),r=n.x,i=n.y;R(r,i,t,"",!0),S(t)}return No((()=>{vp(n.value,(e=>{switch(e.detail.state){case"start":z();break;case"move":X(e);break;case"end":U()}})),Y(),x.reconfigure(1,w.value),W.reconfigure(1,9*Math.pow(j.value,2)/40,j.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:Y,_endScale:C,_setScale:T};r(e),Do((()=>{i(e)}))})),Do((()=>{I()})),{setParent:Y}}(e,r,o);return()=>ei("uni-movable-view",{ref:o},[ei(Bf,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let kp=!1;function Ep(e){kp||(kp=!0,requestAnimationFrame((function(){e(),kp=!1})))}function Pp(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Pp(e.offsetParent,t):0}function Op(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Op(e.offsetParent,t):0}function Lp(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 $p(e){return/\d+[ur]px$/i.test(e)?pd(parseFloat(e)):Number(e)||0}const Bp="#007aff",Ap="backwards",Mp=Kc({name:"Progress",props:{percent:{type:[Number,String],default:0,validator:e=>!isNaN(parseFloat(e))},fontSize:{type:[String,Number],default:16},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:e=>!isNaN(parseFloat(e))},color:{type:String,default:Bp},activeColor:{type:String,default:Bp},backgroundColor:{type:String,default:"#EBEBEB"},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Ap},duration:{type:[Number,String],default:30,validator:e=>!isNaN(parseFloat(e))},borderRadius:{type:[Number,String],default:0}},setup(e){const t=nn(null),n=function(e){const t=nn(0),n=Si((()=>`background-color: ${e.backgroundColor}; height: ${e.strokeWidth}px;`)),o=Si((()=>{const n=e.color!==Bp&&e.activeColor===Bp?e.color:e.activeColor;return`width: ${t.value}%;background-color: ${n}`})),r=Si((()=>{if("string"==typeof e.percent&&!/^-?\d*\.?\d*$/.test(e.percent))return 0;let t=parseFloat(e.percent);return Number.isNaN(t)||t<0?t=0:t>100&&(t=100),t}));return Dt({outerBarStyle:n,innerBarStyle:o,realPercent:r,currentPercent:t,strokeTimer:0,lastPercent:0})}(e);return Ip(n,e),Qn((()=>n.realPercent),((t,o)=>{n.strokeTimer&&clearInterval(n.strokeTimer),n.lastPercent=o||0,Ip(n,e)})),()=>{const{showInfo:o}=e,{outerBarStyle:r,innerBarStyle:i,currentPercent:a}=n;return ei("uni-progress",{class:"uni-progress",ref:t},[ei("div",{style:r,class:"uni-progress-bar"},[ei("div",{style:i,class:"uni-progress-inner-bar"},null,4)],4),o?ei("p",{class:"uni-progress-info"},[a+"%"]):""],512)}}});function Ip(e,t){t.active?(e.currentPercent=t.activeMode===Ap?0:e.lastPercent,e.strokeTimer=setInterval((()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1}),parseFloat(t.duration))):e.currentPercent=e.realPercent}const Np=Kc({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=nn(null),o=Si((()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t})),r=Si((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:a,refresherThreshold:s}=e;return ei("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==a?ei("div",{class:"uni-scroll-view-refresh"},[ei("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?ei("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[ei("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),ei("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?ei("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[ei("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===a?ei("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),Rp=me(!0),Fp=Kc({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=nn(null),i=nn(null),a=nn(null),s=nn(null),l=Jc(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Si((()=>Number(e.scrollTop)||0)),n=Si((()=>Number(e.scrollLeft)||0));return{state:Dt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,r,i,a,s,l){let c=!1,u=0,d=!1,f=()=>{};const p=Si((()=>e.scrollX)),h=Si((()=>e.scrollY)),g=Si((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=Si((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=a.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=s.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):a.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?v(t,"x"):a.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,r=a.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):a.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=a.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):a.value.scrollTop=r}}}}function x(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=a.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",f),s.value.removeEventListener("webkitTransitionEnd",f)}function S(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:T.y-C.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:T.y-C.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:T.y-C.y}))}t.refreshState=n}}let C={x:0,y:0},T={x:0,y:e.refresherThreshold};return No((()=>{xn((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},s=null,l=function(n){if(null===C)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=a.value;if(Math.abs(o-C.x)>Math.abs(i-C.y))if(p.value){if(0===l.scrollLeft&&o>C.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<C.x)return void(s=!1);s=!0}else s=!1;else if(h.value)if(0===l.scrollTop&&i>C.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i<C.y)return void(s=!1);s=!0}else s=!1;if(s&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&S("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-C.y;0===u&&(u=i),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=i-u,t.refresherHeight>0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(C={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){T={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),C={x:0,y:0},T={x:0,y:e.refresherThreshold}};a.value.addEventListener("touchstart",f,Rp),a.value.addEventListener("touchmove",l,me(!1)),a.value.addEventListener("scroll",i,me(!1)),a.value.addEventListener("touchend",g,Rp),jo((()=>{a.value.removeEventListener("touchstart",f),a.value.removeEventListener("touchmove",l),a.value.removeEventListener("scroll",i),a.value.removeEventListener("touchend",g)}))})),To((()=>{h.value&&(a.value.scrollTop=t.lastScrollTop),p.value&&(a.value.scrollLeft=t.lastScrollLeft)})),Qn(n,(e=>{b(e)})),Qn(o,(e=>{_(e)})),Qn((()=>e.scrollIntoView),(e=>{w(e)})),Qn((()=>e.refresherTriggered),(e=>{!0===e?S("refreshing"):!1===e&&S("restore")})),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,s,t),m=Si((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=Si((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return ei("uni-scroll-view",{ref:r},[ei("div",{ref:a,class:"uni-scroll-view"},[ei("div",{ref:i,style:m.value,class:v.value},[t?ei(Np,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,ei("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function jp(e,t,n,o,r,i){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,f=1,p=null,h=!1,g=0,m="";const v=Si((()=>n.value.length>t.displayMultipleItems)),y=Si((()=>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),f=Math.max(o-(c+1),c-a,0),p=Math.min(u,d,f),h=[n,l,c][[u,d,f].indexOf(p)];t.updatePosition(h,e.vertical)}}(r);const a="translate("+(e.vertical?"0":100*-r*f+"%")+", "+(e.vertical?100*-r*f+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=a,l.style.transform=a),d=r,!s){if(r%1==0)return;s=r}r-=Math.floor(s);const c=n.value;r<=-(c.length-1)?r+=c.length:r>=c.length&&(r-=c.length),r=s%1>.5||s<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,o=e.toPos,r=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){b(o),p=null,h=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function S(e,o,r){w();const i=t.duration,a=n.value.length;let s=d;if(y.value)if(r<0){for(;s<e;)s+=a;for(;s-a>e;)s-=a}else if(r>0){for(;s>e;)s-=a;for(;s+a<e;)s+=a;s+a-e<e-s&&(s+=a)}else{for(;s+a<e;)s+=a;for(;s-a>e;)s-=a;s+a-e<e-s&&(s+=a)}else"click"===o&&(e=e+t.displayMultipleItems-1<a?e:0);p={toPos:e,acc:2*(s-e)/(i*i),endTime:Date.now()+i,source:o},h||(h=!0,l=requestAnimationFrame(x))}function C(){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,S(t.current,"autoplay",y.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function T(e){e?C():a()}return Qn([()=>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)})),Qn([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),p&&(b(p.toPos),p=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);f=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();f=e.width/t.width,f>0&&f<1||(f=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(s+l-g),g=l):(b(l),e.autoplay&&C())):(u=!0,b(-t.displayMultipleItems-1))})),Qn((()=>t.interval),(()=>{c&&(a(),C())})),Qn((()=>t.current),((e,o)=>{!function(e,o){const r=m;m="";const a=n.value;if(!r){const t=a.length;S(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)})),Qn((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),Qn((()=>e.autoplay&&!t.userTracking),T),T(e.autoplay&&!t.userTracking),No((()=>{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?b(g):(m="touch",t.current=r,S(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}vp(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&&C())}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,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}}))})),Do((()=>{a(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){S(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Dp=Kc({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=nn(null),r=Jc(o,n),i=nn(null),a=nn(null),s=function(e){return Dt({interval:Si((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Si((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Si((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Si((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:ic(e.previousMargin,!0),bottom:ic(e.nextMargin,!0)}:{top:0,bottom:0,left:ic(e.previousMargin,!0),right:ic(e.nextMargin,!0)}),t})),c=Si((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],f=nn([]);function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find((e=>n===e.rootRef.value));o&&e.push(Gt(o))}f.value=e}gr("addSwiperContext",(function(e){d.push(e),p()}));gr("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())}));const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=jp(e,s,f,a,n,r);let v=()=>null;return v=Vp(o,e,s,h,f,g,m),()=>{const n=t.default&&t.default();return u=dp(n),ei("uni-swiper",{ref:o},[ei("div",{ref:i,class:"uni-swiper-wrapper"},[ei("div",{class:"uni-swiper-slides",style:l.value},[ei("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&ei("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,o)=>ei("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)}}}),Vp=(e,t,n,o,r,i,a)=>{let s=!1,l=!1,u=!1,d=nn(!1);function f(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Gn((()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,b()})),Gn((()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(l=!0,u=!0,s&&(d.value=!0))}));const p={onMouseover:e=>f(e,"over"),onMouseout:e=>f(e,"out")};function h(e,t,a){if(e.stopPropagation(),a)return;const s=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=s-1);break;case"next":l++,l>=s&&i.value&&(l=0)}o(l)}const g=()=>cc(lc,t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:a,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(r-s<u/3||l-r<u/3):!(o-i<c/3||a-o<c/3),f)return m=setTimeout((()=>{d.value=f}),300);d.value=f},y=()=>{d.value=!0};function 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 No(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?ei(Nr,null,[ei("div",si({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},p),[g()],16,["onClick"]),ei("div",si({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>h(e,"next",u)},p),[g()],16,["onClick"])]):null}},qp=Kc({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=nn(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 No((()=>{const e=mr("addSwiperContext");e&&e(o)})),Do((()=>{const e=mr("removeSwiperContext");e&&e(o)})),()=>ei("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Hp=Kc({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){const n=nn(null),o=nn(e.checked),r=function(e,t){const n=mr(ou,!1),o=mr(iu,!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),Do((()=>{n.removeField(r)})));return o}(e,o),i=Jc(n,t);Qn((()=>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),jo((()=>{r.removeHandler(a)}))),su(e,{"label-click":a}),()=>{const{color:t,type:r}=e,i=nu(e,"disabled"),s={};let l;return t&&o.value&&(s.backgroundColor=t,s.borderColor=t),l=o.value,ei("uni-switch",si({id:e.id,ref:n},i,{onClick:a}),[ei("div",{class:"uni-switch-wrapper"},[no(ei("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:s},null,6),[[zi,"switch"===r]]),no(ei("div",{class:"uni-checkbox-input"},[l?cc(ac,e.color,22):""],512),[[zi,"checkbox"===r]])])],16,["id","onClick"])}}});const Wp={ensp:" ",emsp:" ",nbsp:" "};function zp(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Wp[t]&&" "===i&&(i=Wp[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Wp.nbsp).replace(/ /g,Wp.ensp).replace(/ /g,Wp.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const Xp=Kc({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=nn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Fr){const n=zp(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(ni(e)),t!==r&&o.push(ei("br"))}))}else o.push(t)})),ei("uni-text",{ref:n,selectable:!!e.selectable||null},[ei("span",null,o)],8,["selectable"])}}}),Up=c({},tp,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Gp.concat("return").includes(e)}});let Yp=!1;const Gp=["done","go","next","search","send"];const Kp=Kc({name:"Textarea",props:Up,emits:["confirm","linechange",...np],setup(e,{emit:t,expose:n}){const o=nn(null),r=nn(null),{fieldRef:i,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=ip(e,o,t),u=Si((()=>a.value.split("\n"))),d=Si((()=>Gp.includes(e.confirmType))),f=nn(0),p=nn(null);function h({height:e}){f.value=e}function g(e){"Enter"===e.key&&d.value&&e.preventDefault()}function m(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 Qn((()=>f.value),(t=>{const n=o.value,i=p.value,a=r.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=i.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",a.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";Yp=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?ei("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":Yp},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):ei("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":Yp},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:g,onKeyup:m},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return ei("uni-textarea",{ref:o},[ei("div",{ref:r,class:"uni-textarea-wrapper"},[no(ei("div",si(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[zi,!a.value.length]]),ei("div",{ref:p,class:"uni-textarea-line"},[" "],512),ei("div",{class:"uni-textarea-compute"},[u.value.map((e=>ei("div",null,[e.trim()?e:"."]))),ei(Bf,{initial:!0,onResize:h},null,8,["initial","onResize"])]),"search"===e.confirmType?ei("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),Qp=Kc({name:"View",props:c({},eu),setup(e,{slots:t}){const n=nn(null),{hovering:o,binding:r}=tu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ei("uni-view",si({class:o.value?i:"",ref:n},r),[t.default&&t.default()],16):ei("uni-view",{ref:n},[t.default&&t.default()],512)}}});function Zp(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Jp(e,t,n){e&&kl(n||hc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function eh(e,t){e&&function(e,t){t=Tl(e,t),delete Cl[t]}(t||hc(),e)}let th=0;function nh(e,t,n,o){m(t)&&Ao(e,t.bind(n),o)}function oh(e,t,n){var o;const r=e.mpType||n.$mpType;if(r&&"component"!==r&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(Te.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>nh(o,e,n,t))):nh(o,r,n,t)}})),"page"===r)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,yc(n,"onLoad",e),delete t.attrs.__pageQuery,"preloadPage"!==(null==(o=n.$page)?void 0:o.openType)&&yc(n,"onShow")}catch(i){console.error(i.message+"\n"+i.stack)}}}function rh(e,t,n){oh(e,t,n)}function ih(e,t,n){return e[t]=n}function ah(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function sh(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;yc(r.proxy,"onError",t)}}function lh(e,t){return e?[...new Set([].concat(e,t))]:t}function ch(e){const t=e._context.config;var n;t.errorHandler=Ee(e,sh),n=t.optionMergeStrategies,Te.forEach((e=>{n[e]=lh}));const o=t.globalProperties;o.$set=ih,o.$applyOptions=rh,o.$callMethod=ah,function(e){ke.forEach((t=>t(e)))}(e)}const uh=oc("upm");function dh(){return mr(uh)}function fh(e){const t=function(e){return Dt(function(e){{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!==Dh().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(vc(Zs().meta,e)))))}(e);return gr(uh,t),t}function ph(){return Zs()}function hh(){return history.state&&history.state.__id__||1}function gh(){const e=gc();if(!e)return;const t=jh(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Vh(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,yc(e,"onHide"))}function mh(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function vh(e){const t=jh().values();for(const n of t){const t=n.$page;if(mh(e,t))return n.$.__isActive=!0,t.id}}const yh=rd("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Mh.handledBeforeEntryPageRoutes)return gh(),Sh({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},vh(e)).then(o).catch(r);Nh.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,hf);function bh(){const e=fc();if(!e)return;const t=e.$page;Vh(zh(t.path,t.id))}const _h=rd("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Mh.handledBeforeEntryPageRoutes)return bh(),Sh({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Rh.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,ff);function wh(){const e=jh().keys();for(const t of e)Vh(t)}const xh=rd("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Mh.handledBeforeEntryPageRoutes)return wh(),Sh({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);Fh.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,pf);function Sh({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const a=fg().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:we(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++qh,__type__:e}}(e,i);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then((i=>{if(ys(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 Se(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}let Ch;function Th(){var e;return Ch||(Ch=__uniConfig.tabBar&&Dt((e=__uniConfig.tabBar,cl()&&e.list&&e.list.forEach((e=>{pl(e,["text"])})),e))),Ch}const kh=window.CSS&&window.CSS.supports;function Eh(e){return kh&&(kh(e)||kh.apply(window.CSS,e.split(":")))}const Ph=Eh("top:env(a)"),Oh=Eh("top:constant(a)"),Lh=Eh("backdrop-filter:blur(10px)"),$h=(()=>Ph?"env":Oh?"constant":"")();function Bh(e){return $h?`calc(${e}px + ${$h}(safe-area-inset-bottom))`:`${e}px`}const Ah=new Map,Mh={handledBeforeEntryPageRoutes:!1},Ih=[],Nh=[],Rh=[],Fh=[];function jh(){return Ah}function Dh(){const e=[],t=Ah.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Vh(e,t=!0){const n=Ah.get(e);n.$.__isUnload=!0,yc(n,"onUnload"),Ah.delete(e),t&&function(e){const t=Xh.get(e);t&&(Xh.delete(e),Uh.pruneCacheEntry(t))}(e)}let qh=hh();function Hh(e){const t=dh();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=Be(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:a,path:ce(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Wh(e){const t=Hh(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),Ah.set(zh(t.path,t.id),e),1===Ah.size&&setTimeout((()=>{!function(){if(Mh.handledBeforeEntryPageRoutes)return;Mh.handledBeforeEntryPageRoutes=!0;const e=[...Ih];Ih.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Sh(e).then(t).catch(n)));const t=[...Nh];Nh.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(gh(),Sh(e,vh(e.url)).then(t).catch(n))));const n=[...Rh];Rh.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(bh(),Sh(e).then(t).catch(n))));const o=[...Fh];Fh.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(wh(),Sh(e).then(t).catch(n))))}()}),0)}function zh(e,t){return e+"$$"+t}const Xh=new Map,Uh={get:e=>Xh.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Uh.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;Uh.delete(n),Uh.pruneCacheEntry(e),xn((()=>{Ah.forEach(((e,t)=>{e.$.isUnmounted&&Ah.delete(t)}))}))}}))}(e),Xh.set(e,t)},delete(e){Xh.get(e)&&Xh.delete(e)},forEach(e){Xh.forEach(e)}};function Yh(e,t){!function(e){const t=Kh(e),{body:n}=document;Qh&&n.removeAttribute(Qh),t&&n.setAttribute(t,""),Qh=t}(e),function(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=Th();e.shown&&(n=parseInt(e.height))}var o;nc({"--window-top":(o=t,$h?`calc(${o}px + ${$h}(safe-area-inset-top))`:`${o}px`),"--window-bottom":Bh(n)})}(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),Jh(e,t)}function Gh(e){const t=Kh(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Kh(e){return e.type.__scopeId}let Qh,Zh;function Jh(e,t){if(document.removeEventListener("touchmove",bc),Zh&&document.removeEventListener("scroll",Zh),t.disableScroll)return document.addEventListener("touchmove",bc);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=e.proxy.$page.id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&lv.publishHandler("onPageScroll",{scrollTop:o},e),n&&lv.emit(e+".onPageScroll",{scrollTop:o})}}(a,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>lv.publishHandler("onReachBottom",{},a)),Zh=xc(i),requestAnimationFrame((()=>document.addEventListener("scroll",Zh)))}function eg(e){const t=Qs({history:og(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:ng});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(tg[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let tg=Object.create(null);const ng=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,tg[o]);if(t)return t}return{left:0,top:0};var o};function og(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),ds(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Dh(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=t[r].$page;Vh(zh(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const rg={install(e){ch(e),Mc(e),zc(e),e.config.warnHandler||(e.config.warnHandler=ig),eg(e)}};function ig(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 ag={class:"uni-async-loading"},sg=ei("i",{class:"uni-loading"},null,-1),lg=Qc({name:"AsyncLoading",render:()=>(qr(),Ur("div",ag,[sg]))});function cg(){window.location.reload()}const ug=Qc({name:"AsyncError",setup(){ml();const{t:e}=hl();return()=>ei("div",{class:"uni-async-error",onClick:cg},[e("uni.async.error")],8,["onClick"])}});let dg;function fg(){return dg}function pg(e){dg=e,Object.defineProperty(dg.$.ctx,"$children",{get:()=>Dh().map((e=>e.$vm))});const t=dg.$.appContext.app;t.component(lg.name)||t.component(lg.name,lg),t.component(ug.name)||t.component(ug.name,ug),function(e){e.$vm=e,e.$mpType="app";const t=nn(hl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(dg),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}})}(dg),Hc(),Fl()}function hg(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=fi();n(r.proxy);const a=o(r);if(i)return i(a||e,t)},e}function gg(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?hg(e.default,t):hg(e,t)}function mg(e){return gg(e,{clone:!0,init:Wh,setup(e){e.$pageInstance=e;const t=ph(),n=be(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n,e.proxy.options=n;const o=dh();var r,i,a;return e.onReachBottom=Dt([]),e.onPageScroll=Dt([]),Qn([e.onReachBottom,e.onPageScroll],(()=>{e.proxy===fc()&&Jh(e,o)}),{once:!0}),Io((()=>{Yh(e,o)})),No((()=>{Gh(e);const{onReady:n}=e;n&&M(n),_g(t)})),Eo((()=>{if(!e.__isVisible){Yh(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&M(n),xn((()=>{_g(t)}))}}),"ba",r),function(e,t){Eo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&M(t)}})),i=o.id,lv.subscribe(Tl(i,"invokeViewApi"),a?a(El):El),jo((()=>{!function(e){lv.unsubscribe(Tl(e,"invokeViewApi")),Object.keys(Cl).forEach((t=>{0===t.indexOf(e+".")&&delete Cl[t]}))}(o.id)})),n}})}function vg(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Ng(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";cv.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function yg(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&cv.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function bg(){const{emit:e}=cv;"visible"===document.visibilityState?e("onAppEnterForeground",c({},$f)):e("onAppEnterBackground")}function _g(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&yc("onTabItemTap",{index:n,text:t,pagePath:o})}function wg(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function xg(e,t,n){const o=Dt({gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0}),r={x:0,y:0};return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0,o.currentTimeOld=o.currentTimeNew=0},onTouchmove:function(i){function a(){i.stopPropagation(),i.preventDefault()}n.fullscreen&&a();const s=o.gestureType;if("stop"===s)return;const l=i.targetTouches[0],c=l.pageX,u=l.pageY,d=r,f=t.value;if("progress"===s?function(e){const n=t.value.duration;let r=e/600*n+o.currentTimeOld;r<0?r=0:r>n&&(r=n);o.currentTimeNew=r}(c-d.x):"volume"===s&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),n.volume=i,o.volumeNew=i)}(u-d.y),"none"===s)if(Math.abs(c-d.x)>Math.abs(u-d.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=f.currentTime,n.fullscreen||a()}else{if(!e.pageGesture)return void(o.gestureType="stop");o.gestureType="volume",o.volumeOld=f.volume,n.fullscreen||a()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}function Sg(e,t,n,o,r,i,a,s){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:a,exitFullScreen:s};!function(e,t,n,o){const r=fi().proxy;No((()=>{Jp(t||Zp(r),e,o),!n&&t||Qn((()=>r.id),((t,n)=>{Jp(Zp(r,t),e,o),eh(n&&Zp(r,n))}))})),jo((()=>{eh(t||Zp(r),o)}))}(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)}),function(e){const t=uc(),n=fi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+th++;return No((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}(),!0)}const Cg=Kc({name:"Video",props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=nn(null),i=nn(null),a=Jc(r,t),{state:s}=Qf(),{$attrs:l}=up({excludeListeners:!0}),{t:c}=hl();wl();const{videoRef:u,state:d,play:f,pause:h,stop:g,seek:m,playbackRate:v,toggle:y,onDurationChange:b,onLoadedMetadata:_,onProgress:w,onWaiting:x,onVideoError:S,onPlay:C,onPause:T,onEnded:k,onTimeUpdate:E}=function(e,t,n){const o=nn(null),r=Si((()=>fu(e.src))),i=Si((()=>"true"===e.muted||!0===e.muted)),a=Dt({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i});function s(e){const t=e.target,n=t.buffered;n.length&&(a.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return Qn((()=>r.value),(()=>{a.playing=!1,a.currentTime=0})),Qn((()=>a.buffered),(e=>{n("progress",{},{buffered:e})})),Qn((()=>i.value),(e=>{o.value.muted=e})),{videoRef:o,state:a,play:function(){const e=o.value;a.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;a.playing?e.pause():e.play()},onDurationChange:function({target:e}){a.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){a.playing=!1,n("error",e,{})},onPlay:function(e){a.start=!0,a.playing=!0,n("play",e,{})},onPause:function(e){a.playing=!1,n("pause",e,{})},onEnded:function(e){a.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target,o=a.currentTime=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,a),{state:P,danmuRef:O,updateDanmu:L,toggleDanmu:$,sendDanmu:B}=function(e,t){const n=nn(null),o=Dt({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=r,l={time:n,index:s.index};if(n>s.time)for(let r=s.index+1;r<i.length;r++){const e=i[r];if(!(n>=(e.time||0)))break;l.index=r,t.playing&&o.enable&&a(e)}else if(n<s.time)for(let t=s.index-1;t>-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,d),{state:A,onFullscreenChange:M,emitFullscreenChange:I,toggleFullscreen:N,requestFullScreen:R,exitFullScreen:F}=function(e,t,n,o,r){const i=Dt({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&s(e)}function c(){l(!1)}return jo(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(a,i,u,s,r),{state:j,onTouchstart:D,onTouchend:V,onTouchmove:q}=xg(e,u,A),{state:H,progressRef:W,ballRef:z,clickProgress:X,toggleControls:U}=function(e,t,n){const o=nn(null),r=nn(null),i=Si((()=>e.showCenterPlayBtn&&!t.start)),a=nn(!0),s=Si((()=>!i.value&&e.controls&&a.value)),l=Dt({touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:s,controlsVisible:a});let c;function u(){c=setTimeout((()=>{l.controlsVisible=!1}),3e3)}function d(){c&&(clearTimeout(c),c=null)}return jo((()=>{c&&clearTimeout(c)})),Qn((()=>l.controlsShow&&t.playing&&!l.controlsTouching),(e=>{e?u():d()})),Qn([()=>t.currentTime,()=>{e.duration}],(function(){l.touching||(t.progress=t.currentTime/t.duration*100)})),No((()=>{const e=me(!1);let i,a,s,c=!0;const u=r.value;function d(e){const n=e.targetTouches[0],r=n.pageX,l=n.pageY;if(c&&Math.abs(r-i)<Math.abs(l-a))return void f(e);c=!1;const u=o.value.offsetWidth;let d=s+(r-i)/u*100;d<0?d=0:d>100&&(d=100),t.progress=d,e.preventDefault(),e.stopPropagation()}function f(o){l.controlsTouching=!1,l.touching&&(u.removeEventListener("touchmove",d,e),c||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),l.touching=!1)}u.addEventListener("touchstart",(n=>{l.controlsTouching=!0;const o=n.targetTouches[0];i=o.pageX,a=o.pageY,s=t.progress,c=!0,l.touching=!0,u.addEventListener("touchmove",d,e)})),u.addEventListener("touchend",f),u.addEventListener("touchcancel",f)})),{state:l,progressRef:o,ballRef:r,clickProgress:function(e){const r=o.value;let i=e.target,a=e.offsetX;for(;i&&i!==r;)a+=i.offsetLeft,i=i.parentNode;const s=r.offsetWidth;let l=0;a>=0&&a<=s&&(l=a/s,n(t.duration*l))},toggleControls:function(){l.controlsVisible=!l.controlsVisible},autoHideStart:u,autoHideEnd:d}}(e,d,m);return Sg(f,h,g,m,B,v,R,F),()=>ei("uni-video",{ref:r,id:e.id,onClick:U},[ei("div",{ref:i,class:"uni-video-container",onTouchstart:D,onTouchend:V,onTouchmove:q,onFullscreenchange:va(M,["stop"]),onWebkitfullscreenchange:va((e=>M(e,!0)),["stop"])},[ei("video",si({ref:u,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:d.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:b,onLoadedmetadata:_,onProgress:w,onWaiting:x,onError:S,onPlay:C,onPause:T,onEnded:k,onTimeupdate:e=>{E(e),L(e)},onWebkitbeginfullscreen:()=>I(!0),onX5videoenterfullscreen:()=>I(!0),onWebkitendfullscreen:()=>I(!1),onX5videoexitfullscreen:()=>I(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),no(ei("div",{class:"uni-video-bar uni-video-bar-full",onClick:va((()=>{}),["stop"])},[ei("div",{class:"uni-video-controls"},[no(ei("div",{class:{"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing},onClick:va(y,["stop"])},null,10,["onClick"]),[[zi,e.showPlayBtn]]),no(ei("div",{class:"uni-video-current-time"},[wg(d.currentTime)],512),[[zi,e.showProgress]]),no(ei("div",{ref:W,class:"uni-video-progress-container",onClick:va(X,["stop"])},[ei("div",{class:"uni-video-progress"},[ei("div",{style:{width:d.buffered+"%"},class:"uni-video-progress-buffered"},null,4),ei("div",{ref:z,style:{left:d.progress+"%"},class:"uni-video-ball"},[ei("div",{class:"uni-video-inner"},null)],4)])],8,["onClick"]),[[zi,e.showProgress]]),no(ei("div",{class:"uni-video-duration"},[wg(Number(e.duration)||d.duration)],512),[[zi,e.showProgress]])]),no(ei("div",{class:{"uni-video-danmu-button":!0,"uni-video-danmu-button-active":P.enable},onClick:va($,["stop"])},[c("uni.video.danmu")],10,["onClick"]),[[zi,e.danmuBtn]]),no(ei("div",{class:{"uni-video-fullscreen":!0,"uni-video-type-fullscreen":A.fullscreen},onClick:va((()=>N(!A.fullscreen)),["stop"])},null,10,["onClick"]),[[zi,e.showFullscreenBtn]])],8,["onClick"]),[[zi,H.controlsShow]]),no(ei("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[zi,d.start&&P.enable]]),H.centerPlayBtnShow&&ei("div",{class:"uni-video-cover",onClick:va((()=>{}),["stop"])},[ei("div",{class:"uni-video-cover-play-button",onClick:va(f,["stop"])},null,8,["onClick"]),ei("p",{class:"uni-video-cover-duration"},[wg(Number(e.duration)||d.duration)])],8,["onClick"]),ei("div",{class:{"uni-video-toast":!0,"uni-video-toast-volume":"volume"===j.gestureType}},[ei("div",{class:"uni-video-toast-title"},[c("uni.video.volume")]),ei("svg",{class:"uni-video-toast-icon",width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[ei("path",{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"},null)]),ei("div",{class:"uni-video-toast-value"},[ei("div",{style:{width:100*j.volumeNew+"%"},class:"uni-video-toast-value-content"},[ei("div",{class:"uni-video-toast-volume-grids"},[zo(10,(()=>ei("div",{class:"uni-video-toast-volume-grids-item"},null)))])],4)])],2),ei("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":"progress"===j.gestureType}},[ei("div",{class:"uni-video-toast-title"},[wg(j.currentTimeNew)," / ",wg(d.duration)])],2),ei("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Tg=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let kg;function Eg(){if(kg=kg||Tg.__DC_STAT_UUID,!kg){kg=Date.now()+""+Math.floor(1e7*Math.random());try{Tg.__DC_STAT_UUID=kg}catch(e){}}return kg}function Pg(){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 Og(){let e,t="0",n="",o="phone";const r=navigator.language;if(gu){e="iOS";const o=pu.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=pu.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(hu){e="Android";const o=pu.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=pu.match(/\((.+?)\)/),i=r?r[1].split(";"):pu.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 t=i[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<a.length;e++)if(a[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(bu)n="iPad",e="iOS",o="pad",t=m(window.BigInt)?"14.0":"13.0";else if(mu||vu||yu){n="PC",e="PC",o="pc",t="0";let r=pu.match(/\((.+?)\)/)[1];if(mu){switch(e="Windows",mu[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=r&&r.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(vu){e="macOS";const n=r&&r.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(yu){e="Linux";const n=r&&r.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const i=`${e} ${t}`,a=e.toLocaleLowerCase();let s="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)s="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(pu)&&(s=t[n],l=pu.match(r)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:i,platform:a,browserName:s.toLocaleLowerCase(),browserVersion:l,language:r,deviceType:o,ua:pu,osname:e,osversion:t,theme:Pg()}}const Lg=od(0,(()=>{const e=window.devicePixelRatio,t=_u(),n=wu(t),o=xu(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Su(o);let a=window.innerHeight;const s=Gl.top,l={left:Gl.left,right:i-Gl.right,top:Gl.top,bottom:a-Gl.bottom,width:i-Gl.left-Gl.right,height:a-Gl.top-Gl.bottom},{top:c,bottom:u}=ec();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:Gl.top,right:Gl.right,bottom:Gl.bottom,left:Gl.left},screenTop:r-a}}));let $g,Bg=!0;function Ag(){Bg&&($g=Og())}const Mg=od(0,(()=>{Ag();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:a,deviceType:s,osname:l,osversion:u}=$g;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Eg(),deviceOrientation:a,deviceType:s,model:o,platform:r,system:i},{})})),Ig=od(0,(()=>{Ag();const{theme:e,language:t,browserName:n,browserVersion:o}=$g;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Vd?Vd():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""},{})})),Ng=od(0,(()=>{Bg=!0,Ag(),Bg=!1;const e=Lg(),t=Mg(),n=Ig();Bg=!0;const{ua:o,browserName:r,browserVersion:i,osname:a,osversion:s}=$g,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLocaleLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return S(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),Rg=rd("getSystemInfo",((e,{resolve:t})=>t(Ng())));const Fg=od(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function jg(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 Dg=od(0,(e=>{try{return jg(e)}catch(t){return""}})),Vg=od(0,(e=>{localStorage&&localStorage.removeItem(e)})),qg=od(0,(()=>{localStorage&&localStorage.clear()})),Hg=rd("hideKeyboard",((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())}));const Wg=rd("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,tf),zg={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function Xg({count:e,sourceType:t,type:n,extension:o}){Gf();const r=document.createElement("input");return r.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${zg[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(r.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}let Ug=null;const Yg=rd("chooseFile",(({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:i})=>{_l();const{t:a}=hl();Ug&&(document.body.removeChild(Ug),Ug=null),Ug=Xg({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(Ug),Ug.addEventListener("change",(function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let r=0;r<t;r++){const t=n.files[r];let i;Object.defineProperty(t,"path",{get:()=>(i=i||Pf(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map((({path:e})=>e))},tempFiles:o})})),Ug.click(),Kf()||console.warn(a("uni.chooseFile.notUserActivation"))}),0,ef);let Gg=null;const Kg=rd("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{_l();const{t:i}=hl();Gg&&(document.body.removeChild(Gg),Gg=null),Gg=Xg({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Gg),Gg.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||Pf(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),Gg.click(),Kf()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,Qd),Qg={esc:["Esc","Escape"],enter:["Enter"]},Zg=Object.keys(Qg);const Jg=ei("div",{class:"uni-mask"},null,-1);function em(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),_a(mo({setup:()=>()=>(qr(),Ur(e,t,null,16))}))}function tm(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function nm(e,{onEsc:t,onEnter:n}){const o=nn(e.visible),{key:r,disable:i}=function(){const e=nn(""),t=nn(!1),n=n=>{if(t.value)return;const o=Zg.find((e=>-1!==Qg[e].indexOf(n.key)));o&&(e.value=o),xn((()=>e.value=""))};return No((()=>{document.addEventListener("keyup",n)})),jo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Qn((()=>e.visible),(e=>o.value=e)),Qn((()=>o.value),(e=>i.value=!e)),Gn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let om=0,rm="";function im(e){let t=om;om+=e?1:-1,om=Math.max(0,om),om>0?0===t&&(rm=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=rm,rm="")}const am=Qc({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Dt({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 ei(fp,{style:n,onTouchstart:Zc(c),onTouchmove:Zc(d),onTouchend:Zc(u)},{default:()=>[ei(Tp,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[ei("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 sm(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const lm=Qc({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){No((()=>im(!0))),Do((()=>im(!1)));const n=nn(null),o=nn(sm(e));let r;function i(){r||xn((()=>{t("close")}))}function a(e){o.value=e.detail.current}Qn((()=>e.current),(()=>o.value=sm(e))),No((()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",(e=>{r=!1,t=e.clientX,o=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(r=!0)}))}));const s={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 ei("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[ei(Dp,{navigation:"auto",current:o.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(r=t=e.urls.map((e=>ei(qp,null,{default:()=>[ei(am,{src:e},null,8,["src"])]}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!Yr(r)?t:{default:()=>[t],_:1}),8,["current","onChange"]),ei("div",{style:s},[cc("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 r}}});let cm,um=null;const dm=()=>{um=null,xn((()=>{null==cm||cm.unmount(),cm=null}))},fm=rd("previewImage",((e,{resolve:t})=>{um?c(um,e):(um=Dt(e),xn((()=>{cm=em(lm,um,dm),cm.mount(tm("u-a-p"))}))),t()}),0,nf);let pm=null;const hm=rd("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:o})=>{_l();const{t:r}=hl();pm&&(document.body.removeChild(pm),pm=null),pm=Xg({sourceType:e,extension:t,type:"video"}),document.body.appendChild(pm),pm.addEventListener("change",(function(e){const t=e.target.files[0];let o="";const r={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(r,"tempFilePath",{get(){return o=o||Pf(this.tempFile),o}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=Pf(t);i.onloadedmetadata=function(){Of(e),n(c(r,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,Of(e),n(r)}),300),i.src=e}else n(r)})),pm.click(),Kf()||console.warn(r("uni.chooseFile.notUserActivation"))}),0,Zd),gm=nd("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,withCredentials:a,timeout:s=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const p=new XMLHttpRequest,h=new mm(p);p.open(o,e);for(const v in n)f(n,v)&&p.setRequestHeader(v,n[v]);const g=setTimeout((function(){p.onload=p.onabort=p.onerror=null,h.abort(),c("timeout",{errCode:5})}),s);return p.responseType=i,p.onload=function(){clearTimeout(g);const e=p.status;let t="text"===i?p.responseText:p.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:vm(p.getAllResponseHeaders()),cookies:[]})},p.onabort=function(){clearTimeout(g),c("abort",{errCode:600003})},p.onerror=function(){clearTimeout(g),c(void 0,{errCode:5})},p.withCredentials=a,p.send(u),h}),0,sf);class mm{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function vm(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class ym{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._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const bm=nd("uploadFile",(({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:a={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new ym;return p(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Ef(e)):kf(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach((e=>{d.append(e,a[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})}),s),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,lf),_m=[],wm={open:"",close:"",error:"",message:""};class xm{constructor(e,t,n){let o;this._callbacks={open:[],close:[],error:[],message:[]};try{const n=this._webSocket=new WebSocket(e,t);n.binaryType="arraybuffer";["open","close","error","message"].forEach((e=>{this._callbacks[e]=[],n.addEventListener(e,(t=>{const{data:n,code:o,reason:r}=t,i="message"===e?{data:n}:"close"===e?{code:o,reason:r}:{};if(this._callbacks[e].forEach((t=>{try{t(i)}catch(n){console.error(`thirdScriptError\n${n};at socketTask.on${$(e)} callback function\n`,n)}})),this===_m[0]&&wm[e]&&cv.invokeOnCallback(wm[e],i),"error"===e||"close"===e){const e=_m.indexOf(this);e>=0&&_m.splice(e,1)}}))}));["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach((e=>{Object.defineProperty(this,e,{get:()=>n[e]})}))}catch(r){o=r}n&&n(o,this)}send(e){const t=(e||{}).data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw de(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),de(e,"sendSocketMessage:ok")}catch(o){de(e,{errMsg:`sendSocketMessage:fail ${o}`,errCode:602001})}}close(e={}){const t=this._webSocket;try{const n=e.code||1e3,o=e.reason;v(o)?t.close(n,o):t.close(n),de(e,"closeSocket:ok")}catch(n){de(e,`closeSocket:fail ${n}`)}}onOpen(e){this._callbacks.open.push(e)}onMessage(e){this._callbacks.message.push(e)}onError(e){this._callbacks.error.push(e)}onClose(e){this._callbacks.close.push(e)}}const Sm=nd("connectSocket",(({url:e,protocols:t},{resolve:n,reject:o})=>new xm(e,t,((e,t)=>{e?o(e.toString(),{errCode:600009}):(_m.push(t),n())}))),0,cf),Cm=rd("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===yc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(fg().$router.go(-e.delta),t()):n("onBackPress")}),0,gf),Tm=rd("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Mh.handledBeforeEntryPageRoutes)return Sh({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Ih.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,df);function km(e){__uniConfig.darkmode&&cv.on("onThemeChange",e)}function Em(e){cv.off("onThemeChange",e)}function Pm(e){let t={};return __uniConfig.darkmode&&(t=Be(e,__uniConfig.themeConfig,Pg())),__uniConfig.darkmode?t:e}function Om(e,t){const n=Wt(e),o=n?Dt(Pm(e)):Pm(e);return __uniConfig.darkmode&&n&&Qn(e,(e=>{const t=Pm(e);for(const n in t)o[n]=t[n]})),t&&km(t),o}const Lm={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},$m=mo({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=nn(""),o=()=>a.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),a=nm(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),s=function(e){const t=nn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Lm[e].cancelColor})(e,t)};return Gn((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Pg()&&n({theme:"dark"}),km(n))):Em(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,ei($i,{name:"uni-fade"},{default:()=>[no(ei("uni-modal",{onTouchmove:Kl},[Jg,ei("div",{class:"uni-modal"},[t?ei("div",{class:"uni-modal__hd"},[ei("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?ei("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):ei("div",{class:"uni-modal__bd",onTouchmovePassive:Ql,textContent:o},null,40,["onTouchmovePassive","textContent"]),ei("div",{class:"uni-modal__ft"},[l&&ei("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),ei("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[zi,a.value]])]})}}});let Bm;const Am=ue((()=>{cv.on("onHidePopup",(()=>Bm.visible=!1))}));let Mm;function Im(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Bm.editable&&(o.content=t),Mm&&Mm(o)}const Nm=rd("showModal",((e,{resolve:t})=>{Am(),Mm=t,Bm?(c(Bm,e),Bm.visible=!0):(Bm=Dt(e),xn((()=>(em($m,Bm,Im).mount(tm("u-a-m")),xn((()=>Bm.visible=!0))))))}),0,xf),Rm={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Sf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Fm={light:"#fff",dark:"rgba(255,255,255,0.9)"},jm=e=>Fm[e],Dm=mo({name:"Toast",props:Rm,setup(e){vl(),yl();const{Icon:t}=function(e){const t=nn(jm(Pg())),n=({theme:e})=>t.value=jm(e);Gn((()=>{e.visible?km(n):Em(n)}));return{Icon:Si((()=>{switch(e.icon){case"success":return ei(cc(ac,t.value,38),{class:"uni-toast__icon"});case"error":return ei(cc(sc,t.value,38),{class:"uni-toast__icon"});case"loading":return ei("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=nm(e,{});return()=>{const{mask:o,duration:r,title:i,image:a}=e;return ei($i,{name:"uni-fade"},{default:()=>[no(ei("uni-toast",{"data-duration":r},[o?ei("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Kl},null,40,["onTouchmove"]):"",a||t.value?ei("div",{class:"uni-toast"},[a?ei("img",{src:a,class:"uni-toast__icon"},null,10,["src"]):t.value,ei("p",{class:"uni-toast__content"},[i])]):ei("div",{class:"uni-sample-toast"},[ei("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[zi,n.value]])]})}}});let Vm,qm,Hm="";const Wm=Ne();function zm(e){Vm?c(Vm,e):(Vm=Dt(c(e,{visible:!1})),xn((()=>{Wm.run((()=>{Qn([()=>Vm.visible,()=>Vm.duration],(([e,t])=>{if(e){if(qm&&clearTimeout(qm),"onShowLoading"===Hm)return;qm=setTimeout((()=>{Km("onHideToast")}),t)}else qm&&clearTimeout(qm)}))})),cv.on("onHidePopup",(()=>Km("onHidePopup"))),em(Dm,Vm,(()=>{})).mount(tm("u-a-t"))}))),setTimeout((()=>{Vm.visible=!0}),10)}const Xm=rd("showToast",((e,{resolve:t,reject:n})=>{zm(e),Hm="onShowToast",t()}),0,Cf),Um={icon:"loading",duration:1e8,image:""},Ym=rd("showLoading",((e,{resolve:t,reject:n})=>{c(e,Um),zm(e),Hm="onShowLoading",t()}),0,wf),Gm=rd("hideLoading",((e,{resolve:t,reject:n})=>{Km("onHideLoading"),t()}));function Km(e){const{t:t}=hl();if(!Hm)return;let n="";if("onHideToast"===e&&"onShowToast"!==Hm?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Hm&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Hm="",setTimeout((()=>{Vm.visible=!1}),10)}const Qm=rd("loadFontFace",(({family:e,source:t,desc:n},{resolve:o,reject:r})=>{(function(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then((()=>{o.add&&o.add(r)}))}return new Promise((o=>{const r=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:a,featureSettings:s}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),o&&i.push(`font-stretch:${o}`),r&&i.push(`unicode-range:${r}`),a&&i.push(`font-variant:${a}`),s&&i.push(`font-feature-settings:${s}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(r),o()}))})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${fu(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${fu(t.substring(4,t.length-1))}')`:fu(t),n).then((()=>{o()})).catch((e=>{r(`loadFontFace:fail ${e}`)}))}));function Zm(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,cv.emit("onNavigationBarChange",{titleText:t})}Gn(t),To(t)}const Jm=Qc({name:"TabBar",setup(){const e=nn([]),t=Th(),n=Om(t,(()=>{const e=Pm(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach(((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath}))}));!function(e,t){function n(){let n=[];n=e.list.filter((e=>!1!==e.visible)),t.value=n}nn(c({type:"midButton"},e.midButton)),Gn(n)}(n,e),function(e){Qn((()=>e.shown),(t=>{nc({"--window-bottom":Bh(t?parseInt(e.height):0)})}))}(n);const o=function(e,t,n){return Gn((()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex((t=>t.pagePath===e));t.selectedIndex=r}})),(t,n)=>()=>{const{pagePath:o,text:r}=t;let i=ce(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?yh({from:"tabBar",url:i,tabBarText:r}):yc("onTabItemTap",{index:n,text:r,pagePath:o})}}(Zs(),n,e),{style:r,borderStyle:i,placeholderStyle:a}=function(e){const t=Si((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||Lh&&n&&"none"!==n&&(t=ev[n]),{backgroundColor:t||"#f7f7fa",backdropFilter:"none"!==n?"blur(10px)":n}})),n=Si((()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:tv[t]||tv.black}})),o=Si((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return No((()=>{n.iconfontSrc&&Qm({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map(((n,a)=>{const s=o===a;return function(e,t,n,o,r,i,a,s){return ei("div",{key:a,class:"uni-tabbar__item",onClick:s(r,a)},[nv(e,t||"",n,o,r,i)],8,["onClick"])}(s?r:i,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,a,t)}))}(n,o,e);return ei("uni-tabbar",{class:"uni-tabbar-"+n.position},[ei("div",{class:"uni-tabbar",style:r.value},[ei("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),ei("div",{class:"uni-placeholder",style:a.value},null,4)],2)}}});const ev={dark:"rgb(0, 0, 0, 0.8)",light:"rgb(250, 250, 250, 0.8)",extralight:"rgb(250, 250, 250, 0.8)"},tv={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function nv(e,t,n,o,r,i){const{height:a}=i;return ei("div",{class:"uni-tabbar__bd",style:{height:a}},[n?rv(n,o||"rgb(0, 0, 0, 0.8)",r,i):t&&ov(t,r,i),r.text&&iv(e,r,i),r.redDot&&av(r.badge)],4)}function ov(e,t,n){const{type:o,text:r}=t,{iconWidth:i}=n;return ei("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==o&&ei("img",{src:fu(e)},null,8,["src"])],6)}function rv(e,t,n,o){var r;const{type:i,text:a}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||s,color:t};return ei("div",{class:l,style:c},["midButton"!==i&&ei("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function iv(e,t,n){const{iconPath:o,text:r}=t,{fontSize:i,spacing:a}=n;return ei("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:o?"normal":1.8,marginTop:o?a:"inherit"}},[r],4)}function av(e){return ei("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const sv=Qc({name:"Layout",setup(e,{emit:t}){const n=nn(null);tc({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=Zs();return{routeKey:Si((()=>zh("/"+e.meta.route,hh()))),isTabBar:Si((()=>e.meta.isTabBar)),routeCache:Uh}}(),{layoutState:r,windowState:i}=function(){ph();{const e=Dt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Qn((()=>e.marginWidth),(e=>tc({"--window-margin":e+"px"}))),Qn((()=>e.leftWindowWidth+e.marginWidth),(e=>{tc({"--window-left":e+"px"})})),Qn((()=>e.rightWindowWidth+e.marginWidth),(e=>{tc({"--window-right":e+"px"})})),{layoutState:e,windowState:Si((()=>({})))}}}();!function(e,t){const n=ph();function o(){const o=document.body.clientWidth,r=Dh();let i={};if(r.length>0){i=r[r.length-1].$page.meta}else{const e=Cc(n.path,!0);e&&(i=e.meta)}const a=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>a,s&&a?(e.marginWidth=(o-a)/2,xn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")}))):(e.marginWidth=0,xn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Qn([()=>n.path],o),No((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const a=function(e){const t=ph(),n=Th(),o=Si((()=>t.meta.isTabBar&&n.shown));return tc({"--tab-bar-height":n.height}),o}(),s=function(e){const t=nn(!1);return Si((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(a);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return ei(Ks,null,{default:Rn((({Component:o})=>[(qr(),Ur(So,{matchBy:"key",cache:n},[(qr(),Ur(Wn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o),t=function(e){return no(ei(Jm,null,null,512),[[zi,e.value]])}(a);return ei("uni-app",{ref:n,class:s.value},[e,t],2)}}});const lv=c(Pl,{publishHandler(e,t,n){cv.subscribeHandler(e,t,n)}}),cv=c(Rc,{publishHandler(e,t,n){lv.subscribeHandler(e,t,n)}}),uv=Qc({name:"PageHead",setup(){const e=nn(null),t=dh(),n=Om(t.navigationBar,(()=>{const e=Pm(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:o,style:r}=function(e){const t=Si((()=>{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=Si((()=>({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 ei("div",{class:"uni-page-head-btn",onClick:fv},[cc(lc,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),a=n.type||"default",s="transparent"!==a&&"float"!==a&&ei("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return ei("uni-page-head",{"uni-page-head-type":a},[ei("div",{ref:e,class:o.value,style:r.value},[ei("div",{class:"uni-page-head-hd"},[i]),dv(n),ei("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function dv(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return ei("div",{class:"uni-page-head-bd"},[ei("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?ei("i",{class:"uni-loading"},null):r?ei("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function fv(){1===Dh().length?xh({url:"/"}):Cm({from:"backbutton",success(){}})}const pv=Qc({name:"PageBody",setup(e,t){const n=nn(null);return Qn((()=>false.enablePullDownRefresh),(()=>{n.value=null}),{immediate:!0}),()=>ei(Nr,null,[!1,ei("uni-page-wrapper",n.value,[ei("uni-page-body",null,[Xo(t.slots,"default")])],16)])}}),hv=Qc({name:"Page",setup(e,t){const n=fh(hh()),o=n.navigationBar,r={};return Zm(n),()=>ei("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[ei(uv),gv(t)]:[gv(t)])}});function gv(e){return qr(),Ur(pv,{key:0},{default:Rn((()=>[Xo(e.slots,"page")])),_:3})}const mv={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=pd;const vv=Object.assign({}),yv=Object.assign;window.__uniConfig=yv({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{type:"default"},isNVue:!1},tabBar:{position:"bottom",color:"#d6d5cf",selectedColor:"#f34b80",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/tabbar/tabbar-1/tabbar-1",iconPath:"/static/img/tabbar/home.png",selectedIconPath:"/static/img/tabbar/homeactive.png",text:"首页"},{pagePath:"pages/tabbar/tabbar-2/tabbar-2",iconPath:"/static/img/tabbar/guanzhu.png",selectedIconPath:"/static/img/tabbar/guanzhuactive.png",text:"关注"},{pagePath:"pages/tabbar/tabbar-3/tabbar-3",iconPath:"/static/img/tabbar/add.png",selectedIconPath:"/static/img/tabbar/addactive.png"},{pagePath:"pages/tabbar/tabbar-4/tabbar-4",iconPath:"/static/img/tabbar/news.png",selectedIconPath:"/static/img/tabbar/newsactive.png",text:"消息"},{pagePath:"pages/tabbar/tabbar-5/tabbar-5",iconPath:"/static/img/tabbar/me.png",selectedIconPath:"/static/img/tabbar/meactive.png",text:"我的"}],backgroundColor:"#5b6162",selectedIndex:0,shown:!0},compilerVersion:"4.28"},{appId:"__UNI__A2B4B67",appName:"Q导岛",appVersion:"1.0.0",appVersionCode:"100",async:mv,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:"zh-Hans",fallbackLocale:"",locales:Object.keys(vv).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return yv(e[n]||(e[n]={}),vv[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const bv={delay:mv.delay,timeout:mv.timeout,suspensible:mv.suspensible};mv.loading&&(bv.loadingComponent={name:"SystemAsyncLoading",render:()=>ei(qn(mv.loading))}),mv.error&&(bv.errorComponent={name:"SystemAsyncError",render:()=>ei(qn(mv.error))});const _v=()=>t((()=>import("./pages-tabbar-login-login.8LqNS7eX.js")),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then((e=>mg(e.default||e))),wv=yo(yv({loader:_v},bv)),xv=()=>t((()=>import("./pages-tabbar-tabbar-1-tabbar-1.SCaxxzRr.js")),__vite__mapDeps([5,6,3,7,8,9,10,11]),import.meta.url).then((e=>mg(e.default||e))),Sv=yo(yv({loader:xv},bv)),Cv=()=>t((()=>import("./pages-tabbar-tabbar-2-tabbar-2.D80beA2A.js")),__vite__mapDeps([12,3,8,13,14,9,10,15]),import.meta.url).then((e=>mg(e.default||e))),Tv=yo(yv({loader:Cv},bv)),kv=()=>t((()=>import("./pages-tabbar-tabbar-3-tabbar-3.UpFTFjhh.js")),__vite__mapDeps([16,2,3,17]),import.meta.url).then((e=>mg(e.default||e))),Ev=yo(yv({loader:kv},bv)),Pv=()=>t((()=>import("./pages-tabbar-tabbar-4-tabbar-4.C1-4cVkT.js")),__vite__mapDeps([18,19,6,3,7,8,20,21,22,23,24]),import.meta.url).then((e=>mg(e.default||e))),Ov=yo(yv({loader:Pv},bv)),Lv=()=>t((()=>import("./pages-tabbar-tabbar-5-tabbar-5.B6es049A.js")),__vite__mapDeps([25,3,26]),import.meta.url).then((e=>mg(e.default||e))),$v=yo(yv({loader:Lv},bv)),Bv=()=>t((()=>import("./pages-tabbar-3-detial-tabbar-3-release-tabbar-3-release.CBQ4wio5.js")),__vite__mapDeps([27,28,21,3,29,8,13,14,30]),import.meta.url).then((e=>mg(e.default||e))),Av=yo(yv({loader:Bv},bv)),Mv=()=>t((()=>import("./pages-tabbar-3-detial-tabbar-3-video-tabbar-3-video.BmQkHFz-.js")),__vite__mapDeps([31,28,21,3,29,8,13,14,32]),import.meta.url).then((e=>mg(e.default||e))),Iv=yo(yv({loader:Mv},bv)),Nv=()=>t((()=>import("./pages-tabbar-3-detial-tabbar-3-qa-tabbar-3-qa.BooU6b3a.js")),__vite__mapDeps([33,3,34]),import.meta.url).then((e=>mg(e.default||e))),Rv=yo(yv({loader:Nv},bv)),Fv=()=>t((()=>import("./pages-tabbar-login-register.CjJkEdpm.js")),__vite__mapDeps([35,2,3,36]),import.meta.url).then((e=>mg(e.default||e))),jv=yo(yv({loader:Fv},bv)),Dv=()=>t((()=>import("./pages-tabbar-tabbar-5-userInfo.DmLTC191.js")),__vite__mapDeps([37,3,8,1,38]),import.meta.url).then((e=>mg(e.default||e))),Vv=yo(yv({loader:Dv},bv)),qv=()=>t((()=>import("./pages-tabbar-tabbar-5-uploadMgr.Cpdn6pn8.js")),__vite__mapDeps([39,40,6,3,7,8,41,22,23,13,14,42]),import.meta.url).then((e=>mg(e.default||e))),Hv=yo(yv({loader:qv},bv)),Wv=()=>t((()=>import("./pages-tabbar-tabbar-4-chat.DdWDaqdP.js")),__vite__mapDeps([43,3,44]),import.meta.url).then((e=>mg(e.default||e))),zv=yo(yv({loader:Wv},bv)),Xv=()=>t((()=>import("./pages-tabbar-tabbar-2-lottoryDetail0.BSskkEzZ.js")),__vite__mapDeps([45,19,6,3,7,8,20,40,41,22,23,13,14,46]),import.meta.url).then((e=>mg(e.default||e))),Uv=yo(yv({loader:Xv},bv)),Yv=()=>t((()=>import("./pages-tabbar-tabbar-2-lottoryDetail1.CL4cajpF.js")),__vite__mapDeps([47,3]),import.meta.url).then((e=>mg(e.default||e))),Gv=yo(yv({loader:Yv},bv));function Kv(e,t){return qr(),Ur(hv,null,{page:Rn((()=>[ei(e,yv({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/tabbar/login/login",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(wv,t)}},loader:_v,meta:{isQuit:!0,isEntry:!0,enablePullDownRefresh:!1,navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/tabbar/tabbar-1/tabbar-1",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Sv,t)}},loader:xv,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar/tabbar-2/tabbar-2",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Tv,t)}},loader:Cv,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar/tabbar-3/tabbar-3",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Ev,t)}},loader:kv,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar/tabbar-4/tabbar-4",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Ov,t)}},loader:Pv,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar/tabbar-5/tabbar-5",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv($v,t)}},loader:Lv,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:4,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar-3-detial/tabbar-3-release/tabbar-3-release",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Av,t)}},loader:Bv,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar-3-detial/tabbar-3-video/tabbar-3-video",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Iv,t)}},loader:Mv,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar-3-detial/tabbar-3-qa/tabbar-3-qa",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Rv,t)}},loader:Nv,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar/login/register",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(jv,t)}},loader:Fv,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar/tabbar-5/userInfo",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Vv,t)}},loader:Dv,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar/tabbar-5/uploadMgr",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Hv,t)}},loader:qv,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar/tabbar-4/chat",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(zv,t)}},loader:Wv,meta:{enablePullDownRefresh:!1,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar/tabbar-2/lottoryDetail0",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Uv,t)}},loader:Xv,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/tabbar/tabbar-2/lottoryDetail1",component:{setup(){const e=fg(),t=e&&e.$route&&e.$route.query||{};return()=>Kv(Gv,t)}},loader:Yv,meta:{navigationBar:{type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Qv={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};gg(Qv,{init:pg,setup(e){const t=ph(),n=()=>{var n;n=e,Object.keys(qd).forEach((e=>{qd[e].forEach((t=>{Ao(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i,onError:a}=e,s=function({path:e,query:t}){return c(Lf,{path:e,query:t}),c($f,Lf),c({},Lf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:be(t.query)});if(o&&M(o,s),r&&M(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};i&&M(i,e)}a&&(e.appContext.config.errorHandler=e=>{M(a,e)})};return mr(js).isReady().then(n),No((()=>{window.addEventListener("resize",xe(vg,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",yg),document.addEventListener("visibilitychange",bg),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{cv.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(qr(),Ur(sv));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}}),_a(Qv).use(rg).mount("#app");export{vd as $,Xo as A,yh as B,_h as C,zo as D,va as E,Nr as F,Dg as G,yd as H,sp as I,Kg as J,hm as K,Yg as L,Wg as M,fm as N,Mp as O,qn as P,Cg as Q,Dh as R,gd as S,Nm as T,Gd as U,Kd as V,bm as W,Vg as X,qg as Y,Sm as Z,Ng as _,Ym as a,Rg as a0,Yd as a1,Vd as a2,Hd as a3,Dd as a4,no as a5,zi as a6,bd as a7,Cm as a8,Jr as a9,au as aa,Kp as ab,Fp as ac,xd as ad,Hg as ae,Hp as af,Fg as b,xh as c,Ur as d,ei as e,Xr as f,oi as g,Gm as h,Qp as i,ni as j,qf as k,Xp as l,uu as m,Tm as n,qr as o,If as p,Mf as q,gm as r,Xm as s,U as t,Id as u,Wn as v,Rn as w,se as x,ae as y,sl as z};
|