1function __vite__mapDeps(indexes) { 2 if (!__vite__mapDeps.viteFileDeps) { 3 __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.CEFm-3oU.js","assets/index.BaPRuLPX.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/index-3x9qLBFq.css","assets/pages-webview-index.D3NQskIq.js","assets/index-Cd6DtRzl.css","assets/pages-webview-url-edit.BigWhRyx.js","assets/url-edit-BgVAfPpp.css","assets/pages-login-index.DVIb9q-H.js","assets/index-CEtjtTCD.css","assets/pages-search-index.JMcy8TdW.js","assets/index-lm9sVSQG.css","assets/pages-news-index.BWl-3lZ7.js","assets/index-Br3ojyVO.css","assets/pages-member-index.D_bW6Ia-.js","assets/index-DDPnr-9A.css"] 4 } 5 return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) 6} 7!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if((n=function(e){return"/"+e}(n))in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),r?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}; 8/** 9* @vue/shared v3.4.21 10* (c) 2018-present Yuxi (Evan) You and Vue contributors 11* @license MIT
12**/ 13function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},s=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,h=e=>"[object Map]"===S(e),g=e=>"[object Set]"===S(e),v=e=>"function"==typeof e,m=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||v(e))&&v(e.then)&&v(e.catch),w=Object.prototype.toString,S=e=>w.call(e),x=e=>"[object Object]"===S(e),T=e=>m(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,A=C((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),O=/\B([A-Z])/g,L=C((e=>e.replace(O,"-$1").toLowerCase())),$=C((e=>e.charAt(0).toUpperCase()+e.slice(1))),R=C((e=>e?`on${$(e)}`:"")),I=(e,t)=>!Object.is(e,t),P=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},M=(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 B;const j=()=>B||(B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function D(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=m(o)?W(o):D(o);if(r)for(const e in r)t[e]=r[e]}return t}if(m(e)||b(e))return e}const V=/;(?![^(]*\))/g,H=/:([^]+)/,F=/\/\*[^]*?\*\//g;function W(e){const t={};return e.replace(F,"").split(V).forEach((e=>{if(e){const n=e.split(H);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function q(e){let t="";if(m(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const o=q(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const U=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function z(e){return!!e||""===e}const Y=e=>m(e)?e:null==e?"":p(e)||b(e)&&(e.toString===w||!v(e.toString))?JSON.stringify(e,X,2):String(e),X=(e,t)=>t&&t.__v_isRef?X(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[K(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>K(e)))}:y(t)?K(t):!b(t)||p(t)||x(t)?t:String(t),K=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};var J={};const G=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),Z=["page-container","list-view","list-item","sticky-section","sticky-header","cloud-db-element","loading-element","loading"].map((e=>"uni-"+e)),Q=["list-item"].map((e=>"uni-"+e));function ee(e){if(-1!==Q.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return"true"!==J.UNI_APP_X?-1!==G.indexOf(t):-1!==G.indexOf(t)||-1!==Z.indexOf(t)}const te=/^([a-z-]+:)?\/\//i,ne=/^data:.*,.*/,oe="onLoad",re="onNavigationBarButtonTap";function ie(e){return void 0===e?null:e}class se{static keys(e){return Object.keys(e)}static assign(e,...t){for(let n=0;n<t.length;n++){const o=t[n];for(let t in o)e[t]=o[t]}return e}constructor(e={}){if(e instanceof Map)e.forEach(((e,t)=>{this[t]=e}));else for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this[t]=e[t]);!function(e){const t=["_resolveKeyPath","_getValue","toJSON","get","set","getAny","getString","getNumber","getBoolean","getJSON","getArray","toMap","forEach"],n={};for(let o=0;o<t.length;o++){const r=t[o];n[r]={enumerable:!1,value:e[r]}}Object.defineProperties(e,n)}(this)}_resolveKeyPath(e){let t="";const n=[];let o=!1;for(let r=0;r<e.length;r++){const i=e[r];switch(i){case".":t.length>0&&(n.push(t),t="");break;case"[":o=!0,t.length>0&&(n.push(t),t="");break;case"]":if(!o)return[];if(!(t.length>0))return[];{const e=t[0],o=t[t.length-1];if('"'===e&&'"'===o||"'"===e&&"'"===o||"`"===e&&"`"===o){if(!(t.length>2))return[];t=t.slice(1,-1)}else if(!/^\d+$/.test(t))return[];n.push(t),t=""}o=!1;break;default:t+=i}r===e.length-1&&t.length>0&&(n.push(t),t="")}return n}_getValue(e,t){const n=this._resolveKeyPath(e),o=ie(t);if(0===n.length)return o;let r=this;for(let i=0;i<n.length;i++){const e=n[i];if(!(r instanceof Object))return o;if(!(e in r))return o;r=r[e]}return r}get(e){return this._getValue(e)}set(e,t){this[e]=t}getAny(e,t){const n=ie(t);return this._getValue(e,n)}getString(e,t){const n=ie(t),o=this._getValue(e,n);return"string"==typeof o?o:n}getNumber(e,t){const n=ie(t),o=this._getValue(e,n);return"number"==typeof o?o:n}getBoolean(e,t){const n=ie(t),o=this._getValue(e,n);return"boolean"==typeof o?o:n}getJSON(e,t){const n=ie(t);let o=this._getValue(e,n);return o instanceof Object?o:n}getArray(e,t){const n=ie(t);let o=this._getValue(e,n);return o instanceof Array?o:n}toMap(){let e=new Map;for(let t in this)e.set(t,this[t]);return e}forEach(e){for(let t in this)e(this[t],t)}}function ae(e){if(!e)return;
13let t=e.type.name;for(;t&&ee(L(t));)t=(e=e.parent).type.name;return e.proxy}function le(e){return 1===e.nodeType}function ce(e){if(e instanceof se){const t={};return se.keys(e).forEach((n=>{t[n]=e[n]})),D(t)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),D(t)}if(m(e))return W(e);if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=m(o)?W(o):ce(o);if(r)for(const e in r)t[e]=r[e]}return t}return D(e)}function ue(e){let t="";if(e instanceof se)se.keys(e).forEach((n=>{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(p(e))for(let n=0;n<e.length;n++){const o=ue(e[n]);o&&(t+=o+" ")}else t=q(e);return t.trim()}function de(e){return 0===e.indexOf("/")}function fe(e){return de(e)?e:"/"+e}function pe(e,t){for(const n in t)e.style[n]=t[n]}function he(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}const ge=e=>e>9?e:"0"+e;function ve({date:e=new Date,mode:t="date"}){return"time"===t?ge(e.getHours())+":"+ge(e.getMinutes()):e.getFullYear()+"-"+ge(e.getMonth()+1)+"-"+ge(e.getDate())}function me(e){return A(e.substring(5))}const ye=he((e=>{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[me(t)]=o}/^\d/.test(t)||n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[me(t)],o.call(this,t)}}));function be(e){return c({},e.dataset,e.__uniDataset)}const _e=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function we(e){return{passive:e}}function Se(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:be(e),offsetTop:n,offsetLeft:o}}function xe(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Te(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=xe(e[n])}catch(o){t[n]=e[n]}})),t}const ke=/\+/g;function Ce(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(ke," ");let r=e.indexOf("="),i=xe(r<0?e:e.slice(0,r)),s=r<0?null:xe(e.slice(r+1));if(i in t){let e=t[i];p(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Ee(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 Ae{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 Oe=["onInit","onLoad","onShow","onHide","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onShareChat","onCopyUrl","onUploadDouyinVideo","onLiveMount","onTitleClick","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Le=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onShareChat","onCopyUrl","onUploadDouyinVideo","onLiveMount","onTitleClick","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged","onLastPageBackPress"];let $e;const Re=[];function Ie(e){if($e)return e($e);Re.push(e)}const Pe=he(((e,t)=>t(e))),Me=function(){};Me.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)}
vendor: 13,774 bytes, lines 13-18
13,emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var i=o.length-1;i>=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var Ne=Me;const Be={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function je(e,t,n){if(m(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 Be?Be[o]:o}return r}var o;return t}function De(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach((i=>{const s=e[i];r[i]=x(s)?De(s,t,n):p(s)?s.map((e=>x(e)?De(e,t,n):je(o,e))):je(o,s,i)})),r):e} 14/** 15* @dcloudio/uni-h5-vue v3.4.21 16* (c) 2018-present Yuxi (Evan) You and Vue contributors 17* @license MIT 18**/let Ve,He;class Fe{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ve,!e&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Ve;try{return Ve=this,e()}finally{Ve=t}}}on(){Ve=this}off(){Ve=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 We(e){return new Fe(e)}class qe{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=Ve){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Ge();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=Xe,t=He;try{return Xe=!0,He=this,this._runnings++,Ue(this),this.fn()}finally{ze(this),this._runnings--,He=t,Xe=e}}stop(){var e;this.active&&(Ue(this),ze(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Ue(e){e._trackId++,e._depsLength=0}function ze(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Ye(e.deps[t],e);e.deps.length=e._depsLength}}function Ye(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Xe=!0,Ke=0;const Je=[];function Ge(){Je.push(Xe),Xe=!1}function Ze(){const e=Je.pop();Xe=void 0===e||e}function Qe(){Ke++}function et(){for(Ke--;!Ke&&nt.length;)nt.shift()()}function tt(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Ye(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const nt=[];function ot(e,t,n){Qe();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&&nt.push(o.scheduler)))}et()}const rt=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},it=new WeakMap,st=Symbol(""),at=Symbol("");function lt(e,t,n){if(Xe&&He){let t=it.get(e);t||it.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=rt((()=>t.delete(n)))),tt(He,o)}}function ct(e,t,n,o,r,i){const s=it.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&p(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":p(e)?T(n)&&a.push(s.get("length")):(a.push(s.get(st)),h(e)&&a.push(s.get(at)));break;case"delete":p(e)||(a.push(s.get(st)),h(e)&&a.push(s.get(at)));break;case"set":h(e)&&a.push(s.get(st))}Qe();for(const l of a)l&&ot(l,4);et()}const ut=n("__proto__,__v_isRef,__isVue"),dt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),ft=pt();function pt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=tn(this);for(let t=0,r=this.length;t<r;t++)lt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(tn)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Ge(),Qe();const n=tn(this)[t].apply(this,e);return et(),Ze(),n}})),e}function ht(e){const t=tn(this);return lt(t,0,e),t.hasOwnProperty(e)}class gt{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?Ut:qt:r?Wt:Ft).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&f(ft,t))return Reflect.get(ft,t,n);if("hasOwnProperty"===t)return ht}const s=Reflect.get(e,t,n);return(y(t)?dt.has(t):ut(t))?s:(o||lt(e,0,t),r?s:cn(s)?i&&T(t)?s:s.value:b(s)?o?Kt(s):Yt(s):s)}}class vt extends gt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Zt(r);if(Qt(n)||Zt(n)||(r=tn(r),n=tn(n)),!p(e)&&cn(r)&&!cn(n))return!t&&(r.value=n,!0)}const i=p(e)&&T(t)?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,o);return e===tn(o)&&(i?I(n,r)&&ct(e,"set",t,n):ct(e,"add",t,n)),s}deleteProperty(e,t){const n=f(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&ct(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&dt.has(t)||lt(e,0,t),n}ownKeys(e){return lt(e,0,p(e)?"length":st),Reflect.ownKeys(e)}}class mt extends gt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const yt=new vt,bt=new mt,_t=new vt(!0),wt=e=>e,St=e=>Reflect.getPrototypeOf(e);function xt(e,t,n=!1,o=!1){const r=tn(e=e.__v_raw),i=tn(t);n||(I(t,i)&<(r,0,t),lt(r,0,i));const{has:s}=St(r),a=o?wt:n?rn:on;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function Tt(e,t=!1){const n=this.__v_raw,o=tn(n),r=tn(e);return t||(I(e,r)&<(o,0,e),lt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function kt(e,t=!1){return e=e.__v_raw,!t&<(tn(e),0,st),Reflect.get(e,"size",e)}function Ct(e){e=tn(e);const t=tn(this);return St(t).has.call(t,e)||(t.add(e),ct(t,"add",e,e)),this}function Et(e,t){t=tn(t);const n=tn(this),{has:o,get:r}=St(n);let i=o.call(n,e);i||(e=tn(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?I(t,s)&&ct(n,"set",e,t):ct(n,"add",e,t),this}function At(e){const t=tn(this),{has:n,get:o}=St(t);let r=n.call(t,e);r||(e=tn(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&ct(t,"delete",e,void 0),i}function Ot(){const e=tn(this),t=0!==e.size,n=e.clear();return t&&ct(e,"clear",void 0,void 0),n}function Lt(e,t){return function(n,o){const r=this,i=r.__v_raw,s=tn(i),a=t?wt:e?rn:on;return!e&<(s,0,st),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function $t(e,t,n){return function(...o){const r=this.__v_raw,i=tn(r),s=h(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?wt:t?rn:on;return!t&<(i,0,l?at:st),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Rt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function It(){const e={get(e){return xt(this,e)},get size(){return kt(this)},has:Tt,add:Ct,set:Et,delete:At,clear:Ot,forEach:Lt(!1,!1)},t={get(e){return xt(this,e,!1,!0)},get size(){return kt(this)},has:Tt,add:Ct,set:Et,delete:At,clear:Ot,forEach:Lt(!1,!0)},n={get(e){return xt(this,e,!0)},get size(){return kt(this,!0)},has(e){return Tt.call(this,e,!0)},add:Rt("add"),set:Rt("set"),delete:Rt("delete"),clear:Rt("clear"),forEach:Lt(!0,!1)},o={get(e){return xt(this,e,!0,!0)},get size(){return kt(this,!0)},has(e){return Tt.call(this,e,!0)},add:Rt("add"),set:Rt("set"),delete:Rt("delete"),clear:Rt("clear"),forEach:Lt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=$t(r,!1,!1),n[r]=$t(r,!0,!1),t[r]=$t(r,!1,!0),o[r]=$t(r,!0,!0)})),[e,n,t,o]}const[Pt,Mt,Nt,Bt]=It();function jt(e,t){const n=t?e?Bt:Nt:e?Mt:Pt;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 Dt={get:jt(!1,!1)},Vt={get:jt(!1,!0)},Ht={get:jt(!0,!1)},Ft=new WeakMap,Wt=new WeakMap,qt=new WeakMap,Ut=new WeakMap;function zt(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=>S(e).slice(8,-1))(e))}function Yt(e){return Zt(e)?e:Jt(e,!1,yt,Dt,Ft)}function Xt(e){return Jt(e,!1,_t,Vt,Wt)}function Kt(e){return Jt(e,!0,bt,Ht,qt)}function Jt(e,t,n,o,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=zt(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Gt(e){return Zt(e)?Gt(e.__v_raw):!(!e||!e.__v_isReactive)}function Zt(e){return!(!e||!e.__v_isReadonly)}function Qt(e){return!(!e||!e.__v_isShallow)}function en(e){return Gt(e)||Zt(e)}function tn(e){const t=e&&e.__v_raw;return t?tn(t):e}function nn(e){return Object.isExtensible(e)&&M(e,"__v_skip",!0),e}const on=e=>b(e)?Yt(e):e,rn=e=>b(e)?Kt(e):e;class sn{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 qe((()=>e(this._value)),(()=>ln(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=tn(this);return e._cacheable&&!e.effect.dirty||!I(e._value,e._value=e.effect.run())||ln(e,4),an(e),e.effect._dirtyLevel>=2&&ln(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function an(e){var t;Xe&&He&&(e=tn(e),tt(He,null!=(t=e.dep)?t:e.dep=rt((()=>e.dep=void 0),e instanceof sn?e:void 0)))}function ln(e,t=4,n){const o=(e=tn(e)).dep;o&&ot(o,t)}function cn(e){return!(!e||!0!==e.__v_isRef)}function un(e){return fn(e,!1)}function dn(e){return fn(e,!0)}function fn(e,t){return cn(e)?e:new pn(e,t)}class pn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:tn(e),this._value=t?e:on(e)}get value(){return an(this),this._value}set value(e){const t=this.__v_isShallow||Qt(e)||Zt(e);e=t?e:tn(e),I(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:on(e),ln(this,4))}}function hn(e){return cn(e)?e.value:e}const gn={get:(e,t,n)=>hn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return cn(r)&&!cn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function vn(e){return Gt(e)?e:new Proxy(e,gn)}function mn(e,t,n,o){try{return o?e(...o):e()}catch(r){bn(r,t,n)}}function yn(e,t,n,o){if(v(e)){const r=mn(e,t,n,o);return r&&_(r)&&r.catch((e=>{bn(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(yn(e[i],t,n,o));return r}function bn(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void mn(s,null,10,[e,r,i])}_n(e,n,r,o)}function _n(e,t,n,o=!0){console.error(e)}let wn=!1,Sn=!1;const xn=[];let Tn=0;const kn=[];let Cn=null,En=0;const An=Promise.resolve();let On=null;function Ln(e){const t=On||An;return e?t.then(this?e.bind(this):e):t}function $n(e){xn.length&&xn.includes(e,wn&&e.allowRecurse?Tn+1:Tn)||(null==e.id?xn.push(e):xn.splice(function(e){let t=Tn+1,n=xn.length;for(;t<n;){const o=t+n>>>1,r=xn[o],i=Mn(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),Rn())}function Rn(){wn||Sn||(Sn=!0,On=An.then(Bn))}function In(e,t,n=(wn?Tn+1:0)){for(;n<xn.length;n++){const t=xn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;xn.splice(n,1),n--,t()}}}function Pn(e){if(kn.length){const e=[...new Set(kn)].sort(((e,t)=>Mn(e)-Mn(t)));if(kn.length=0,Cn)return void Cn.push(...e);for(Cn=e,En=0;En<Cn.length;En++)Cn[En]();Cn=null,En=0}}const Mn=e=>null==e.id?1/0:e.id,Nn=(e,t)=>{const n=Mn(e)-Mn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Bn(e){Sn=!1,wn=!0,xn.sort(Nn);try{for(Tn=0;Tn<xn.length;Tn++){const e=xn[Tn];e&&!1!==e.active&&mn(e,null,14)}}finally{Tn=0,xn.length=0,Pn(),wn=!1,On=null,(xn.length||kn.length)&&Bn()}}function jn(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let i=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in r){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:s}=r[e]||o;s&&(i=n.map((e=>m(e)?e.trim():e))),t&&(i=n.map(N))}let l,c=r[l=R(t)]||r[l=R(A(t))];!c&&s&&(c=r[l=R(L(t))]),c&&yn(c,e,6,Dn(e,c,i));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,yn(u,e,6,Dn(e,u,i))}}function Dn(e,t,n){if(1!==n.length)return n;if(v(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 Vn(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!v(e)){const o=e=>{const n=Vn(e,t,!0);n&&(a=!0,c(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}
18return i||a?(p(i)?i.forEach((e=>s[e]=null)):c(s,i),b(e)&&o.set(e,s),s):(b(e)&&o.set(e,null),null)}function Hn(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,L(t))||f(e,t))}let Fn=null,Wn=null;function qn(e){const t=Fn;return Fn=e,Wn=e&&e.type.__scopeId||null,t}function Un(e,t=Fn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Qr(-1);const r=qn(t);let i;try{i=e(...n)}finally{qn(r),o._d&&Qr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function zn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:c,emit:u,render:d,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:v}=e;let m,y;const b=qn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;m=pi(d.call(t,e,f,i,h,p,g)),y=c}else{const e=t;0,m=pi(e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)),y=t.props?c:Yn(c)}}catch(w){Kr.length=0,bn(w,e,1),m=ci(Yr)}let _=m;if(y&&!1!==v){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(l)&&(y=Xn(y,s)),_=ui(_,y))}return n.dirs&&(_=ui(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),m=_,qn(b),m}const Yn=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},Xn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Kn(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]&&!Hn(n,i))return!0}return!1}function Jn(e,t){return Qn("components",e,!0,t)||e}const Gn=Symbol.for("v-ndc");function Zn(e){return m(e)?Qn("components",e,!1)||e:e||Gn}function Qn(e,t,n=!0,o=!1){const r=Fn||_i;if(r){const n=r.type;if("components"===e){const e=$i(n,!1);if(e&&(e===t||e===A(t)||e===$(A(t))))return n}const i=eo(r[e]||n[e],t)||eo(r.appContext[e],t);return!i&&o?n:i}}function eo(e,t){return e&&(e[t]||e[A(t)]||e[$(A(t))])}const to=e=>e.__isSuspense;const no=Symbol.for("v-scx");function oo(e,t){return so(e,null,t)}const ro={};function io(e,t,n){return so(e,t,n)}function so(e,t,{immediate:n,deep:r,flush:s,once:a,onTrack:l,onTrigger:c}
18=o){if(t&&a){const e=t;t=(...t)=>{e(...t),C()}}const d=_i,f=e=>!0===r?e:co(e,!1===r?1:void 0);let h,g,m=!1,y=!1;if(cn(e)?(h=()=>e.value,m=Qt(e)):Gt(e)?(h=()=>f(e),m=!0):p(e)?(y=!0,m=e.some((e=>Gt(e)||Qt(e))),h=()=>e.map((e=>cn(e)?e.value:Gt(e)?f(e):v(e)?mn(e,d,2):void 0))):h=v(e)?t?()=>mn(e,d,2):()=>(g&&g(),yn(e,d,3,[_])):i,t&&r){const e=h;h=()=>co(e())}let b,_=e=>{g=T.onStop=()=>{mn(e,d,4),g=T.onStop=void 0}};if(Ei){if(_=i,t?n&&yn(t,d,3,[h(),y?[]:void 0,_]):h(),"sync"!==s)return i;{const e=Tr(no);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(ro):ro;const S=()=>{if(T.active&&T.dirty)if(t){const e=T.run();(r||m||(y?e.some(((e,t)=>I(e,w[t]))):I(e,w)))&&(g&&g(),yn(t,d,3,[e,w===ro?void 0:y&&w[0]===ro?[]:w,_]),w=e)}else T.run()};let x;S.allowRecurse=!!t,"sync"===s?x=S:"post"===s?x=()=>Dr(S,d&&d.suspense):(S.pre=!0,d&&(S.id=d.uid),x=()=>$n(S));const T=new qe(h,i,x),k=Ve,C=()=>{T.stop(),k&&u(k.effects,T)};return t?n?S():w=T.run():"post"===s?Dr(T.run.bind(T),d&&d.suspense):T.run(),b&&b.push(C),C}function ao(e,t,n){const o=this.proxy,r=m(e)?e.includes(".")?lo(o,e):()=>o[e]:e.bind(o,o);let i;v(t)?i=t:(i=t.handler,n=t);const s=Ti(this),a=so(r,i.bind(o),n);return s(),a}function lo(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 co(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),cn(e))co(e.value,t,n,o);else if(p(e))for(let r=0;r<e.length;r++)co(e[r],t,n,o);else if(g(e)||h(e))e.forEach((e=>{co(e,t,n,o)}));else if(x(e))for(const r in e)co(e[r],t,n,o);return e}function uo(e,t){if(null===Fn)return e;const n=Li(Fn)||Fn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,s,a,l=o]=t[i];e&&(v(e)&&(e={mounted:e,updated:e}),e.deep&&co(s),r.push({dir:e,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function fo(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(Ge(),yn(l,n,8,[e.el,a,e,t]),Ze())}}const po=Symbol("_leaveCb"),ho=Symbol("_enterCb");const go=[Function,Array],vo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:go,onEnter:go,onAfterEnter:go,onEnterCancelled:go,onBeforeLeave:go,onLeave:go,onAfterLeave:go,onLeaveCancelled:go,onBeforeAppear:go,onAppear:go,onAfterAppear:go,onAppearCancelled:go},mo={name:"BaseTransition",props:vo,setup(e,{slots:t}){const n=wi(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qo((()=>{e.isMounted=!0})),Yo((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&xo(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Yr){i=e;break}const s=tn(e),{mode:a}=s;if(o.isLeaving)return _o(i);const l=wo(i);if(!l)return _o(i);const c=bo(l,s,o,n);So(l,c);const u=n.subTree,d=u&&wo(u);if(d&&d.type!==Yr&&!ri(l,d)){const e=bo(d,s,o,n);if(So(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},_o(i);"in-out"===a&&l.type!==Yr&&(e.delayLeave=(e,t,n)=>{yo(o,d)[String(d.key)]=d,e[po]=()=>{t(),e[po]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function yo(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function bo(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:v,onAppear:m,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=yo(n,e),S=(e,t)=>{e&&yn(e,o,9,t)},x=(e,t)=>{const n=t[1];S(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},T={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=v||a}t[po]&&t[po](!0);const i=w[_];i&&ri(e,i)&&i.el[po]&&i.el[po](),S(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=m||l,o=y||c,i=b||u}let s=!1;const a=e[ho]=t=>{s||(s=!0,S(t?i:o,[e]),T.delayedLeave&&T.delayedLeave(),e[ho]=void 0)};t?x(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[ho]&&t[ho](!0),n.isUnmounting)return o();S(d,[t]);let i=!1;const s=t[po]=n=>{i||(i=!0,o(),S(n?g:h,[t]),t[po]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?x(f,[t,s]):s()},clone:e=>bo(e,t,n,o)};return T}function _o(e){if(Ao(e))return(e=ui(e)).children=null,e}function wo(e){return Ao(e)?e.children?e.children[0]:void 0:e}function So(e,t){6&e.shapeFlag&&e.component?So(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 xo(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===Ur?(128&s.patchFlag&&r++,o=o.concat(xo(s.children,t,a))):(t||s.type!==Yr)&&o.push(null!=a?ui(s,{key:a}):s)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o} 19/*! #__NO_SIDE_EFFECTS__ */function To(e,t){return v(e)?(()=>c({name:e.name},t,{setup:e}))():e}const ko=e=>!!e.type.__asyncLoader 20/*! #__NO_SIDE_EFFECTS__ */;function Co(e){v(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>
20e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return To({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=_i;if(l)return()=>Eo(l,e);const t=t=>{c=null,bn(t,e,13,!o)};if(s&&e.suspense||Ei)return d().then((t=>()=>Eo(t,e))).catch((e=>(t(e),()=>o?ci(o,{error:e}):null)));const a=un(!1),u=un(),f=un(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&Ao(e.parent.vnode)&&(e.parent.effect.dirty=!0,$n(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?Eo(l,e):u.value&&o?ci(o,{error:u.value}):n&&!f.value?ci(n):void 0}})}function Eo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=ci(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Ao=e=>e.type.__isKeepAlive;class Oo{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 Lo={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=wi(),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 Oo(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!ri(t,i)||"key"===e.matchBy&&t.key!==i.key?(Bo(o=t),u(o,n,a,!0)):i&&Bo(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function p(t){r.forEach(((n,o)=>{const i=Do(n,e.matchBy);!i||t&&t(i)||(r.delete(o),s(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,P(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),Dr((()=>{i.isDeactivated=!1,i.a&&P(i.a);const t=e.props&&e.props.onVnodeMounted;t&&mi(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&Vo(t.bda),c(e,f,null,1,a),Dr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&P(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&mi(n,t.parent,e),t.isDeactivated=!0}),a)},io((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>Ro(e,t))),t&&p((e=>!Ro(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,jo(n.subTree))};return qo(g),zo(g),Yo((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=jo(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&P(l.component.bda),Bo(l);const e=l.component.da;e&&Dr(e,a)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!oi(o)||!(4&o.shapeFlag)&&!to(o.type))return i=null,o;let s=jo(o);const a=s.type,l=Do(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Ro(c,l))||u&&l&&Ro(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=ui(s),to(o.type)&&(o.ssContent=s)),h=d,f&&(s.el=f.el,s.component=f.component,s.transition&&So(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,to(o.type)?o:s}}},$o=Lo;function Ro(e,t){return p(e)?e.some((e=>Ro(e,t))):m(e)?e.split(",").includes(t):"[object RegExp]"===S(e)&&e.test(t)}function Io(e,t){Mo(e,"a",t)}function Po(e,t){Mo(e,"da",t)}function Mo(e,t,n=_i){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Ho(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Ao(e.parent.vnode)&&No(o,t,n,e),e=e.parent}}function No(e,t,n,o){const r=Ho(t,e,o,!0);Xo((()=>{u(o[t],r)}),n)}function Bo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function jo(e){return to(e.type)?e.ssContent:e}function Do(e,t){if("name"===t){const t=e.type;return $i(ko(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Vo(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function Ho(e,t,n=_i,o=!1){if(n){if(r=e,Oe.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;yn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ge();const r=Ti(n),i=yn(t,n,e,o);return r(),Ze(),i});return o?i.unshift(s):i.push(s),s}var r}const Fo=e=>(t,n=_i)=>(!Ei||"sp"===e)&&Ho(e,((...e)=>t(...e)),n),Wo=Fo("bm"),qo=Fo("m"),Uo=Fo("bu"),zo=Fo("u"),Yo=Fo("bum"),Xo=Fo("um"),Ko=Fo("sp"),Jo=Fo("rtg"),Go=Fo("rtc");function Zo(e,t=_i){Ho("ec",e,t)}function Qo(e,t,n,o){let r;const i=n&&n[o];if(p(e)||m(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,s=n.length;o<s;o++){const s=n[o];r[o]=t(e[s],s,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function er(e,t,n={},o,r){if(Fn.isCE||Fn.parent&&ko(Fn.parent)&&Fn.parent.isCE)return"default"!==t&&(n.name=t),ci("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),Gr();const s=i&&tr(i(n)),a=ni(Ur,{key:n.key||s&&s.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function tr(e){return e.some((e=>!oi(e)||e.type!==Yr&&!(e.type===Ur&&!tr(e.children))))?e:null}const nr=e=>{if(!e)return null;if(Ci(e)){return Li(e)||e.proxy}
vendor: 11,015 bytes, line 20
20return nr(e.parent)},or=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=>nr(e.parent),$root:e=>nr(e.root),$emit:e=>e.emit,$options:e=>dr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,$n(e.update)})(e)),$nextTick:e=>e.n||(e.n=Ln.bind(e.proxy)),$watch:e=>ao.bind(e)}),rr=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),ir={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(rr(r,t))return a[t]=1,r[t];if(i!==o&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==o&&f(n,t))return a[t]=4,n[t];ar&&(a[t]=0)}}const d=or[t];let p,h;return d?("$attrs"===t&<(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&f(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return rr(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o&&f(e,a)||rr(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(or,a)||f(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function sr(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let ar=!0;function lr(e){const t=dr(e),n=e.proxy,o=e.ctx;ar=!1,t.beforeCreate&&cr(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:g,updated:m,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:S,destroyed:x,unmounted:T,render:k,renderTracked:C,renderTriggered:E,errorCaptured:A,serverPrefetch:O,expose:L,inheritAttrs:$,components:R,directives:I,filters:P}=t;if(u&&function(e,t,n=i){p(e)&&(e=gr(e));for(const o in e){const n=e[o];let r;r=b(n)?"default"in n?Tr(n.from||o,n.default,!0):Tr(n.from||o):Tr(n),cn(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),a)for(const i in a){const e=a[i];v(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);b(t)&&(e.data=Yt(t))}if(ar=!0,s)for(const p in s){const e=s[p],t=v(e)?e.bind(n,n):v(e.get)?e.get.bind(n,n):i,r=!v(e)&&v(e.set)?e.set.bind(n):i,a=Ri({get:t,set:r});Object.defineProperty(o,p,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const i in l)ur(l[i],o,n,i);if(c){const e=v(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{xr(t,e[t])}))}function M(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&cr(d,e,"c"),M(Wo,f),M(qo,h),M(Uo,g),M(zo,m),M(Io,y),M(Po,_),M(Zo,A),M(Go,C),M(Jo,E),M(Yo,S),M(Xo,T),M(Ko,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={});k&&e.render===i&&(e.render=k),null!=$&&(e.inheritAttrs=$),R&&(e.components=R),I&&(e.directives=I);const N=e.appContext.config.globalProperties.$applyOptions;N&&N(t,e,n)}function cr(e,t,n){yn(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ur(e,t,n,o){const r=o.includes(".")?lo(n,o):()=>n[o];if(m(e)){const n=t[e];v(n)&&io(r,n)}else if(v(e))io(r,e.bind(n));else if(b(e))if(p(e))e.forEach((e=>ur(e,t,n,o)));else{const o=v(e.handler)?e.handler.bind(n):t[e.handler];v(o)&&io(r,o,e)}}function dr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>fr(l,e,s,!0))),fr(l,t,s)):l=t,b(t)&&i.set(t,l),l}function fr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&fr(e,i,n,!0),r&&r.forEach((t=>fr(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=pr[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const pr={data:hr,props:yr,emits:yr,methods:mr,computed:mr,beforeCreate:vr,created:vr,beforeMount:vr,mounted:vr,beforeUpdate:vr,updated:vr,beforeDestroy:vr,beforeUnmount:vr,destroyed:vr,unmounted:vr,activated:vr,deactivated:vr,errorCaptured:vr,serverPrefetch:vr,components:mr,directives:mr,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]=vr(e[o],t[o]);return n},provide:hr,inject:function(e,t){return mr(gr(e),gr(t))}};function hr(e,t){return t?e?function(){return c(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function gr(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function vr(e,t){return e?[...new Set([].concat(e,t))]:t}function mr(e,t){return e?c(Object.create(null),e,t):t}function yr(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:c(Object.create(null),sr(e),sr(null!=t?t:{})):t}function br(){return{app:null,config:{isNativeTag:s,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let _r=0;function wr(e,t){return function(n,o=null){v(n)||(n=c({},n)),null==o||b(o)||(o=null);const r=br(),i=new WeakSet;let s=!1;const a=r.app={_uid:_r++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Pi,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&v(e.install)?(i.add(e),e.install(a,...t)):v(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){const u=ci(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,Li(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a),runWithContext(e){const t=Sr;Sr=a;try{return e()}finally{Sr=t}}};return a}}let Sr=null;function xr(e,t){if(_i){let n=_i.provides;const o=_i.parent&&_i.parent.provides;o===n&&(n=_i.provides=Object.create(o)),n[e]=t,"app"===_i.type.mpType&&_i.appContext.app.provide(e,t)}else;}function Tr(e,t,n=!1){const o=_i||Fn;if(o||Sr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Sr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&v(t)?t.call(o&&o.proxy):t}}function kr(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(k(o))continue;const c=t[o];let u;i&&f(i,u=A(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Hn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=Cr(e,o,c),l=!0)}if(s){const t=tn(n),r=a||o;for(let o=0;o<s.length;o++){const a=s[o];n[a]=Er(i,t,a,r[a],e,!f(r,a))}}return l}function Cr(e,t,n){return n}function Er(e,t,n,o,r,i){const s=function(e,t,n,o,r,i){const s=e[n];if(null!=s){const e=f(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&v(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const s=Ti(r);o=i[n]=e.call(null,t),s()}}else o=e}s[0]&&(i&&!e?o=!1:!s[1]||""!==o&&o!==L(n)||(o=!0))}return o}(e,t,n,o,r,i);return s}function Ar(e,t,n=!1){const i=t.propsCache,s=i.get(e);if(s)return s;const a=e.props,l={},u=[];let d=!1;if(!v(e)){const o=e=>{d=!0;const[n,o]=Ar(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!d)return b(e)&&i.set(e,r),r;if(p(a))for(let r=0;r<a.length;r++){const e=A(a[r]);Or(e)&&(l[e]=o)}else if(a)for(const o in a){const e=A(o);if(Or(e)){const t=a[o],n=l[e]=p(t)||v(t)?{type:t}:c({},t);if(n){const t=Rr(Boolean,n.type),o=Rr(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 Or(e){return"$"!==e[0]&&!k(e)}function Lr(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 $r(e,t){return Lr(e)===Lr(t)}function Rr(e,t){return p(t)?t.findIndex((t=>$r(t,e))):v(t)&&$r(t,e)?0:-1}const Ir=e=>"_"===e[0]||"$stable"===e,Pr=e=>p(e)?e.map(pi):[pi(e)],Mr=(e,t,n)=>{if(t._n)return t;const o=Un(((...e)=>Pr(t(...e))),n);return o._c=!1,o},Nr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Ir(r))continue;const n=e[r];if(v(n))t[r]=Mr(0,n,o);else if(null!=n){const e=Pr(n);t[r]=()=>e}}},Br=(e,t)=>{const n=Pr(t);e.slots.default=()=>n};function jr(e,t,n,r,i=!1){if(p(e))return void e.forEach(((e,o)=>jr(e,t&&(p(t)?t[o]:t),n,r,i)));if(ko(r)&&!i)return;const s=4&r.shapeFlag?Li(r.component)||r.component.proxy:r.el,a=i?null:s,{i:l,r:c}=e,d=t&&t.r,h=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=d&&d!==c&&(m(d)?(h[d]=null,f(g,d)&&(g[d]=null)):cn(d)&&(d.value=null)),v(c))mn(c,l,12,[a,h]);else{const t=m(c),o=cn(c);if(t||o){const r=()=>{if(e.f){const n=t?f(g,c)?g[c]:h[c]:c.value;i?p(n)&&u(n,s):p(n)?n.includes(s)||n.push(s):t?(h[c]=[s],f(g,c)&&(g[c]=h[c])):(c.value=[s],e.k&&(h[e.k]=c.value))}else t?(h[c]=a,f(g,c)&&(g[c]=a)):o&&(c.value=a,e.k&&(h[e.k]=a))};a?(r.id=-1,Dr(r,n)):r()}}}const Dr=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?kn.push(...n):Cn&&Cn.includes(n,n.allowRecurse?En+1:En)||kn.push(n),Rn())};function Vr(e){return function(e,t){j().__VUE__=!0;const{insert:n,remove:s,patchProp:a,forcePatchProp:l,createElement:u,createText:d,createComment:p,setText:h,setElementText:g,parentNode:v,nextSibling:m,setScopeId:y=i,insertStaticContent:b}=e,w=(e,t,n,o=null,r=null,i=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!ri(e,t)&&(o=te(e),J(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 zr:S(e,t,n,o);break;case Yr:x(e,t,n,o);break;case Xr:null==e&&T(t,n,o,s);break;case Ur:V(e,t,n,o,r,i,s,a,l);break;default:1&d?O(e,t,n,o,r,i,s,a,l):6&d?H(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&jr(u,e&&e.ref,i,t||e,!t)},S=(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)}},x=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},T=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},C=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=m(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),s(e),e=n;s(t)},O=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?$(t,n,o,r,i,s,a,l):N(e,t,r,i,s,a,l)},$=(e,t,o,r,i,s,l,c)=>{let d,f;const{props:p,shapeFlag:h,transition:v,dirs:m}=e;if(d=e.el=u(e.type,s,p&&p.is,p),8&h?g(d,e.children):16&h&&I(e.children,d,null,r,i,Hr(e,s),l,c),m&&fo(e,null,r,"created"),R(d,e,e.scopeId,l,r),p){for(const t in p)"value"===t||k(t)||a(d,t,null,p[t],s,e.children,r,i,ee);"value"in p&&a(d,"value",null,p.value,s),(f=p.onVnodeBeforeMount)&&mi(f,r,e)}
20Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),m&&fo(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,v);y&&v.beforeEnter(d),n(d,t,o),((f=p&&p.onVnodeMounted)||y||m)&&Dr((()=>{f&&mi(f,r,e),y&&v.enter(d),m&&fo(e,null,r,"mounted")}),i)},R=(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;R(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},I=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?hi(e[c]):pi(e[c]);w(null,l,t,n,o,r,i,s,a)}},N=(e,t,n,r,i,s,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||o,v=t.props||o;let m;if(n&&Fr(n,!1),(m=v.onVnodeBeforeUpdate)&&mi(m,n,t,e),p&&fo(t,e,n,"beforeUpdate"),n&&Fr(n,!0),f?B(e.dynamicChildren,f,u,n,r,Hr(t,i),s):c||z(e,t,u,null,n,r,Hr(t,i),s,!1),d>0){if(16&d)D(u,t,h,v,n,r,i);else if(2&d&&h.class!==v.class&&a(u,"class",null,v.class,i),4&d&&a(u,"style",h.style,v.style,i),8&d){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const s=o[t],c=h[s],d=v[s];(d!==c||"value"===s||l&&l(u,s))&&a(u,s,c,d,i,e.children,n,r,ee)}}1&d&&e.children!==t.children&&g(u,t.children)}else c||null!=f||D(u,t,h,v,n,r,i);((m=v.onVnodeUpdated)||p)&&Dr((()=>{m&&mi(m,n,t,e),p&&fo(t,e,n,"updated")}),r)},B=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===Ur||!ri(l,c)||70&l.shapeFlag)?v(l.el):n;w(l,c,u,null,o,r,i,s,!0)}},D=(e,t,n,r,i,s,c)=>{if(n!==r){if(n!==o)for(const o in n)k(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(k(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&a(e,o,d,u,c,t.children,i,s,ee)}"value"in r&&a(e,"value",n.value,r.value,c)}},V=(e,t,o,r,i,s,a,l,c)=>{const u=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(f,o,r),I(t.children||[],o,f,i,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(B(e.dynamicChildren,h,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&Wr(e,t,!0)):z(e,t,o,f,i,s,a,l,c)},H=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):F(t,n,o,r,i,s,l):W(e,t,l)},F=(e,t,n,r,i,s,a)=>{const l=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||yi,s={uid:bi++,vnode:e,type:r,parent:t,appContext:i,get renderer(){return"app"===r.mpType?"app":this.$pageInstance&&this.$pageInstance==s?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new Fe(!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:Ar(r,i),emitsOptions:Vn(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=jn.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(Ao(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&xi(t);const{props:n,children:o}=e.vnode,r=Ci(e);(function(e,t,n,o=!1){const r={},i={};M(i,ii,1),e.propsDefaults=Object.create(null),kr(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Xt(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=tn(t),M(t,"_",n)):Nr(t,e.slots={})}else e.slots={},t&&Br(e,t);M(e.slots,ii,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nn(new Proxy(e.ctx,ir));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(lt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=Ti(e);Ge();const i=mn(o,e,0,[e.props,n]);
vendor: 12,484 bytes, line 20
20if(Ze(),r(),_(i)){if(i.then(ki,ki),t)return i.then((n=>{Ai(e,n,t)})).catch((t=>{bn(t,e,0)}));e.asyncDep=i}else Ai(e,i,t)}else Oi(e,t)}(e,t):void 0;t&&xi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,q),!e.el){const e=l.subTree=ci(Yr);x(null,e,t,n)}}else q(l,e,t,n,i,s,a)},W=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Kn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Kn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!Hn(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void U(o,t,n);o.next=t,function(e){const t=xn.indexOf(e);t>Tn&&xn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},q=(e,t,n,o,r,s,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=qr(e);if(n)return t&&(t.el=c.el,U(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Fr(e,!1),t?(t.el=c.el,U(e,t,a)):t=c,n&&P(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&mi(u,i,t,c),Fr(e,!0);const f=zn(e),p=e.subTree;e.subTree=f,w(p,f,v(p.el),te(p),e,r,s),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),o&&Dr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&Dr((()=>mi(u,i,t,c)),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=ko(t);if(Fr(e,!1),c&&P(c),!f&&(i=l&&l.onVnodeBeforeMount)&&mi(i,d,t),Fr(e,!0),a&&se){const n=()=>{e.subTree=zn(e),se(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=zn(e);w(null,i,n,o,e,r,s),t.el=i.el}if(u&&Dr(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;Dr((()=>mi(i,d,e)),r)}(256&t.shapeFlag||d&&ko(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Vo(e.ba),e.a&&Dr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new qe(l,i,(()=>$n(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Fr(e,!0),u()},U=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=tn(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;kr(e,t,r,i)&&(c=!0);for(const i in a)t&&(f(t,i)||(o=L(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=Er(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(Hn(e.emitsOptions,s))continue;const u=t[s];if(l)if(f(i,s))u!==i[s]&&(i[s]=Cr(0,0,u),c=!0);else{const t=A(s);r[t]=Er(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=Cr(0,0,u),c=!0)}}c&&ct(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,a=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(c(i,t),n||1!==e||delete i._):(s=!t.$stable,Nr(t,i)),a=t}else t&&(Br(e,t),a={default:1});if(s)for(const o in i)Ir(o)||null!=a[o]||delete i[o]})(e,t.children,n),Ge(),In(e),Ze()},z=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void X(c,d,n,o,r,i,s,a,l);if(256&f)return void Y(c,d,n,o,r,i,s,a,l)}8&p?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&p?X(c,d,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&g(n,""),16&p&&I(d,n,o,r,i,s,a,l))},Y=(e,t,n,o,i,s,a,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,f=Math.min(u,d);let p;for(p=0;p<f;p++){const o=t[p]=c?hi(t[p]):pi(t[p]);w(e[p],o,n,null,i,s,a,l,c)}u>d?ee(e,i,s,!0,!1,f):I(t,n,o,i,s,a,l,c,f)},X=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const o=e[u],r=t[u]=c?hi(t[u]):pi(t[u]);if(!ri(o,r))break;w(o,r,n,null,i,s,a,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],r=t[p]=c?hi(t[p]):pi(t[p]);if(!ri(o,r))break;w(o,r,n,null,i,s,a,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,r=e<d?t[e].el:o;for(;u<=p;)w(null,t[u]=c?hi(t[u]):pi(t[u]),n,r,i,s,a,l,c),u++}}else if(u>p)for(;u<=f;)J(e[u],i,s,!0),u++;else{const h=u,g=u,v=new Map;for(u=g;u<=p;u++){const e=t[u]=c?hi(t[u]):pi(t[u]);null!=e.key&&v.set(e.key,u)}let m,y=0;const b=p-g+1;let _=!1,S=0;const x=new Array(b);for(u=0;u<b;u++)x[u]=0;for(u=h;u<=f;u++){const o=e[u];if(y>=b){J(o,i,s,!0);continue}let r;if(null!=o.key)r=v.get(o.key);else for(m=g;m<=p;m++)if(0===x[m-g]&&ri(o,t[m])){r=m;break}void 0===r?J(o,i,s,!0):(x[r-g]=u+1,r>=S?S=r:_=!0,w(o,t[r],n,null,i,s,a,l,c),y++)}const T=_?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(x):r;for(m=T.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===x[u]?w(null,r,n,f,i,s,a,l,c):_&&(m<0||u!==T[m]?K(r,n,f,2):m--)}}},K=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void K(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,re);if(a===Ur){n(s,t,o);for(let e=0;e<c.length;e++)K(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===Xr)return void C(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),Dr((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},J=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&jr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!ko(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&mi(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&fo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Ur||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Ur&&384&d||!r&&16&u)&&ee(l,t,n),o&&G(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&Dr((()=>{g&&mi(g,t,e),p&&fo(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Ur)return void Z(n,o);if(t===Xr)return void E(e);const i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,i);o?o(e.el,i,s):s()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=m(e),s(e),e=n;s(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&P(o),r.stop(),i&&(i.active=!1,J(s,e,t,n)),a&&Dr(a,t),Dr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)J(e[s],t,n,o,r)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():m(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&J(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,In(),Pn(),ne=!1),t._vnode=e},re={p:w,um:J,m:K,r:G,mt:F,mc:I,pc:z,pbc:B,n:te,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:wr(oe,ie)}}(e)}function Hr({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 Fr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Wr(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=hi(r[i]),t.el=e.el),n||Wr(e,t)),t.type===zr&&(t.el=e.el)}}function qr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qr(t)}const Ur=Symbol.for("v-fgt"),zr=Symbol.for("v-txt"),Yr=Symbol.for("v-cmt"),Xr=Symbol.for("v-stc"),Kr=[];let Jr=null;function Gr(e=!1){Kr.push(Jr=e?null:[])}let Zr=1;function Qr(e){Zr+=e}function ei(e){return e.dynamicChildren=Zr>0?Jr||r:null,Kr.pop(),Jr=Kr[Kr.length-1]||null,Zr>0&&Jr&&Jr.push(e),e}function ti(e,t,n,o,r,i){return ei(li(e,t,n,o,r,i,!0))}function ni(e,t,n,o,r){return ei(ci(e,t,n,o,r,!0))}function oi(e){return!!e&&!0===e.__v_isVNode}function ri(e,t){return e.type===t.type&&e.key===t.key}const ii="__vInternal",si=({key:e})=>null!=e?e:null,ai=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?m(e)||cn(e)||v(e)?{i:Fn,r:e,k:t,f:!!n}:e:null);function li(e,t=null,n=null,o=0,r=null,i=(e===Ur?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&si(t),ref:t&&ai(t),scopeId:Wn,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:Fn};return a?(gi(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=m(n)?8:16),Zr>0&&!s&&Jr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Jr.push(l),l}const ci=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Gn||(e=Yr);if(oi(e)){const o=ui(e,t,!0);return n&&gi(o,n),Zr>0&&!i&&Jr&&(6&o.shapeFlag?Jr[Jr.indexOf(e)]=o:Jr.push(o)),o.patchFlag|=-2,o}s=e,v(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?en(e)||ii in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!m(e)&&(t.class=ue(e)),b(n)&&(en(n)&&!p(n)&&(n=c({},n)),t.style=ce(n))}const a=m(e)?1:to(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:v(e)?2:0;return li(e,t,n,o,r,a,i,!0)};function ui(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?vi(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&si(a),ref:t&&t.ref?n&&r?p(r)?r.concat(ai(t)):[r,ai(t)]:ai(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ur?-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&&ui(e.ssContent),ssFallback:e.ssFallback&&ui(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function di(e=" ",t=0){return ci(zr,null,e,t)}function fi(e="",t=!1){return t?(Gr(),ni(Yr,null,e)):ci(Yr,null,e)}function pi(e){return null==e||"boolean"==typeof e?ci(Yr):p(e)?ci(Ur,null,e.slice()):"object"==typeof e?hi(e):ci(zr,null,String(e))}function hi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ui(e)}function gi(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),gi(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||ii in t?3===o&&Fn&&(1===Fn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Fn}}else v(t)?(t={default:t,_ctx:Fn},n=32):(t=String(t),64&o?(n=16,t=[di(t)]):n=8);e.children=t,e.shapeFlag|=n}function vi(...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=ue([t.class,o.class]));else if("style"===e)t.style=ce([t.style,o.style]);else if(a(e)){const n=t[e],r=o[e];!r||n===r||p(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function mi(e,t,n,o=null){yn(e,t,7,[n,o])}const yi=br();let bi=0;let _i=null;const wi=()=>_i||Fn;let Si,xi;{const e=j(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};Si=t("__VUE_INSTANCE_SETTERS__",(e=>_i=e)),xi=t("__VUE_SSR_SETTERS__",(e=>Ei=e))}const Ti=e=>{const t=_i;return Si(e),e.scope.on(),()=>{e.scope.off(),Si(t)}},ki=()=>{_i&&_i.scope.off(),Si(null)};function Ci(e){return 4&e.vnode.shapeFlag}let Ei=!1;function Ai(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=vn(t)),Oi(e,n)}function Oi(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=Ti(e);Ge();try{lr(e)}finally{Ze(),t()}}}function Li(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(vn(nn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in or?or[n](e):void 0,has:(e,t)=>t in e||t in or}))}function $i(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}const Ri=(e,t)=>{const n=function(e,t,n=!1){let o,r;const s=v(e);return s?(o=e,r=i):(o=e.get,r=e.set),new sn(o,r,s||!r,n)}(e,0,Ei);return n};function Ii(e,t,n){const o=arguments.length;return 2===o?b(t)&&!p(t)?oi(t)?ci(e,null,[t]):ci(e,t):ci(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&oi(n)&&(n=[n]),ci(e,t,n))}const Pi="3.4.21",Mi="undefined"!=typeof document?document:null,Ni=Mi&&Mi.
20createElement("template"),Bi={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?Mi.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Mi.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Mi.createElement(e,{is:n}):Mi.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Mi.createTextNode(e),createComment:e=>Mi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{Ni.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=Ni.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ji="transition",Di=Symbol("_vtc"),Vi=(e,{slots:t})=>Ii(mo,function(e){const t={};for(const c in e)c in Hi||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(b(e))return[qi(e.enter),qi(e.leave)];{const t=qi(e);return[t,t]}}(r),v=g&&g[0],m=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:S,onLeaveCancelled:x,onBeforeAppear:T=y,onAppear:k=_,onAppearCancelled:C=w}=t,E=(e,t,n)=>{zi(e,t?d:a),zi(e,t?u:s),n&&n()},A=(e,t)=>{e._isLeaving=!1,zi(e,f),zi(e,h),zi(e,p),t&&t()},O=e=>(t,n)=>{const r=e?k:_,s=()=>E(t,e,n);Fi(r,[t,s]),Yi((()=>{zi(t,e?l:i),Ui(t,e?d:a),Wi(r)||Ki(t,o,v,s)}))};return c(t,{onBeforeEnter(e){Fi(y,[e]),Ui(e,i),Ui(e,s)},onBeforeAppear(e){Fi(T,[e]),Ui(e,l),Ui(e,u)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);Ui(e,f),document.body.offsetHeight,Ui(e,p),Yi((()=>{e._isLeaving&&(zi(e,f),Ui(e,h),Wi(S)||Ki(e,o,m,n))})),Fi(S,[e,n])},onEnterCancelled(e){E(e,!1),Fi(w,[e])},onAppearCancelled(e){E(e,!0),Fi(C,[e])},onLeaveCancelled(e){A(e),Fi(x,[e])}})}(e),t);Vi.displayName="Transition";const Hi={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};Vi.props=c({},vo,Hi);const Fi=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},Wi=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function qi(e){const t=(e=>{const t=m(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ui(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Di]||(e[Di]=new Set)).add(t)}function zi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Di];n&&(n.delete(t),n.size||(e[Di]=void 0))}function Yi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Xi=0;function Ki(e,t,n,o){const r=e._endId=++Xi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=Ji(r,i),a=o("animationDelay"),l=o("animationDuration"),c=Ji(a,l);let u=null,d=0,f=0;t===ji?s>0&&(u=ji,d=s,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?ji:"animation":null,f=u?u===ji?i.length:l.length:0);const p=u===ji&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,f)}function Ji(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Gi(t)+Gi(e[n]))))}function Gi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Zi=Symbol("_vod"),Qi=Symbol("_vsh"),es={beforeMount(e,{value:t},{transition:n}){e[Zi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ts(e,t)}
20,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),ts(e,!0),o.enter(e)):o.leave(e,(()=>{ts(e,!1)})):ts(e,t))},beforeUnmount(e,{value:t}){ts(e,t)}};function ts(e,t){e.style.display=t?e[Zi]:"none",e[Qi]=!t}const ns=Symbol(""),os=/(^|;)\s*display\s*:/;const rs=/\s*!important$/;function is(e,t,n){if(p(n))n.forEach((n=>is(e,t,n)));else if(null==n&&(n=""),n=gs(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=as[t];if(n)return n;let o=A(t);if("filter"!==o&&o in e)return as[t]=o;o=$(o);for(let r=0;r<ss.length;r++){const n=ss[r]+o;if(n in e)return as[t]=n}return t}(e,t);rs.test(n)?e.setProperty(L(o),n.replace(rs,""),"important"):e[o]=n}}const ss=["Webkit","Moz","ms"],as={};const{unit:ls,unitRatio:cs,unitPrecision:us}={unit:"rem",unitRatio:10/320,unitPrecision:5},ds=(fs=ls,ps=cs,hs=us,e=>e.replace(_e,((e,t)=>{if(!t)return e;if(1===ps)return`${t}${fs}`;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)*ps,hs);return 0===n?"0":`${n}${fs}`})));var fs,ps,hs;const gs=e=>m(e)?ds(e):e,vs="http://www.w3.org/1999/xlink";const ms=Symbol("_vei");function ys(e,t,n,o,r=null){const i=e[ms]||(e[ms]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(bs.test(e)){let n;for(t={};n=e.match(bs);)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 s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&p(i)){const n=Ss(e,i);for(let o=0;o<n.length;o++){const i=n[o];yn(i,t,5,i.__wwe?[e]:r(e))}}else yn(Ss(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=(()=>_s||(ws.then((()=>_s=0)),_s=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const bs=/(?:Once|Passive|Capture)$/;let _s=0;const ws=Promise.resolve();function Ss(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 xs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Ts=["ctrl","shift","alt","meta"],ks={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)=>Ts.some((n=>e[`${n}Key`]&&!t.includes(n)))},Cs=(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=ks[t[e]];if(o&&o(n,t))return}return e(n,...o)})},Es=c({patchProp:(e,t,n,o,r,i,s,c,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;Ln((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,s);const d="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[Di];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=m(n);let i=!1;if(n&&!r){if(t)if(m(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&is(o,t,"")}else for(const e in t)null==n[e]&&is(o,e,"");for(const e in n)"display"===e&&(i=!0),is(o,e,n[e])}else if(r){if(t!==n){const e=o[ns];e&&(n+=";"+e),o.cssText=n,i=os.test(n)}}else t&&e.removeAttribute("style");Zi in e&&(e[Zi]=i?o.display:"",e[Qi]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)is(o,a,s[a])}(e,n,o):a(t)?l(t)||ys(e,t,0,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&xs(t)&&v(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(xs(t)&&m(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=z(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,i,s,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(vs,t.slice(6,t.length)):e.setAttributeNS(vs,t,n);else{const o=U(t);null==n||o&&!z(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__w
20xsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},Bi);let As;const Os=(...e)=>{const t=(As||(As=Vr(Es))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(m(e)){return document.querySelector(e)}return e} 21/*! 22 * vue-router v4.4.4 23 * (c) 2024 Eduardo San Martin Morote 24 * @license MIT 25 */(e);if(!o)return;const r=t._component;v(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const Ls="undefined"!=typeof document;function $s(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const Rs=Object.assign;function Is(e,t){const n={};for(const o in t){const r=t[o];n[o]=Ms(r)?r.map(e):e(r)}return n}const Ps=()=>{},Ms=Array.isArray,Ns=/#/g,Bs=/&/g,js=/\//g,Ds=/=/g,Vs=/\?/g,Hs=/\+/g,Fs=/%5B/g,Ws=/%5D/g,qs=/%5E/g,Us=/%60/g,zs=/%7B/g,Ys=/%7C/g,Xs=/%7D/g,Ks=/%20/g;function Js(e){return encodeURI(""+e).replace(Ys,"|").replace(Fs,"[").replace(Ws,"]")}function Gs(e){return Js(e).replace(Hs,"%2B").replace(Ks,"+").replace(Ns,"%23").replace(Bs,"%26").replace(Us,"`").replace(zs,"{").replace(Xs,"}").replace(qs,"^")}function Zs(e){return null==e?"":function(e){return Js(e).replace(Ns,"%23").replace(Vs,"%3F")}(e).replace(js,"%2F")}function Qs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const ea=/\/$/;function ta(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i<o.length;i++)if(s=o[i],"."!==s){if(".."!==s)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Qs(s)}}function na(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function oa(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ra(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ia(e[n],t[n]))return!1;return!0}function ia(e,t){return Ms(e)?sa(e,t):Ms(t)?sa(t,e):e===t}function sa(e,t){return Ms(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const aa={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var la,ca,ua,da;function fa(e){if(!e)if(Ls){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(ea,"")}(ca=la||(la={})).pop="pop",ca.push="push",(da=ua||(ua={})).back="back",da.forward="forward",da.unknown="";const pa=/^[^#]+#/;function ha(e,t){return e.replace(pa,"#")+t}const ga=()=>({left:window.scrollX,top:window.scrollY});function va(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 ma(e,t){return(history.state?history.state.position-t:-1)+e}const ya=new Map;function ba(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),na(n,"")}return na(n,e)+o+r}function _a(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ga():null}}function wa(e){const{history:t,location:n}=window,o={value:ba(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=Rs({},r.value,t.state,{forward:e,scroll:ga()});i(s.current,s,!0),i(e,Rs({},_a(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Rs({},t.state,_a(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Sa(e){const t=wa(e=fa(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=ba(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:la.pop,direction:u?u>0?ua.forward:ua.back:ua.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Rs({},e.state,{scroll:ga()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Rs({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ha.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 xa(e){return"string"==typeof e||"symbol"==typeof e}const Ta=Symbol("");var ka,Ca;function Ea(e,t){return Rs(new Error,{type:e,[Ta]:!0},t)}function Aa(e,t){return e instanceof Error&&Ta in e&&(null==t||!!(e.type&t))}(Ca=ka||(ka={}))[Ca.aborted=4]="aborted",Ca[Ca.cancelled=8]="cancelled",Ca[Ca.duplicated=16]="duplicated";const Oa={sensitive:!1,strict:!1,start:!0,end:!0},La=/[.+*?^${}()[\]/\\]/g;function $a(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 Ra(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=$a(o[n],r[n]);if(e)return e;n++}
25if(1===Math.abs(r.length-o.length)){if(Ia(o))return 1;if(Ia(r))return-1}return r.length-o.length}function Ia(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Pa={type:0,value:""},Ma=/[a-zA-Z0-9_]/;function Na(e,t,n){const o=function(e,t){const n=Rs({},Oa,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t<l.length;t++){const o=l[t];let s=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(La,"\\$&"),s+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;i.push({name:e,repeatable:n,optional:c});const d=u||"[^/]+?";if("[^/]+?"!==d){s+=10;try{new RegExp(`(${d})`)}catch(a){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+a.message)}}let f=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(f=c&&l.length<2?`(?:/${f})`:"/"+f),c&&(f+="?"),r+=f,s+=20,c&&(s+=-8),n&&(s+=-20),".*"===d&&(s+=-50)}e.push(s)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");return{re:s,score:o,keys:i,parse:function(e){const t=e.match(s),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:s,optional:a}=e,l=i in t?t[i]:"";if(Ms(l)&&!s)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=Ms(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${i}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Pa]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const r=[];let i;function s(){i&&r.push(i),i=[]}let a,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l<e.length;)if(a=e[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&d(),s()):":"===a?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:"("===a?n=2:Ma.test(a)?f():(d(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),s(),r}(e.path),n),r=Rs(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Ba(e,t){const n=[],o=new Map;function r(e,n,o){const a=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Da(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=Fa(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(Rs({},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=Na(t,n,c),o?o.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),a&&e.name&&!Va(d)&&i(e.name)),Wa(d)&&s(d),l.children){const e=l.children;for(let t=0;t<e.length;t++)r(e[t],d,o&&o.children[t])}o=o||d}return f?()=>{i(f)}:Ps}function i(e){if(xa(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.forEac
25h(i),e.alias.forEach(i))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;Ra(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(Wa(t)&&0===Ra(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!Va(e)&&o.set(e.record.name,e)}return t=Fa({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw Ea(1,{location:e});s=r.record.name,a=Rs(ja(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&ja(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw Ea(1,{location:e,currentLocation:t});s=r.record.name,a=Rs({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:Ha(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function ja(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Da(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 Va(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ha(e){return e.reduce(((e,t)=>Rs(e,t.meta)),{})}function Fa(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Wa({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function qa(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(Hs," "),r=e.indexOf("="),i=Qs(r<0?e:e.slice(0,r)),s=r<0?null:Qs(e.slice(r+1));if(i in t){let e=t[i];Ms(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Ua(e){let t="";for(let n in e){const o=e[n];if(n=Gs(n).replace(Ds,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(Ms(o)?o.map((e=>e&&Gs(e))):[o&&Gs(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function za(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Ms(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Ya=Symbol(""),Xa=Symbol(""),Ka=Symbol(""),Ja=Symbol(""),Ga=Symbol("");function Za(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Qa(e,t,n,o,r,i=(e=>e())){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(Ea(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(Ea(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function el(e,t,n,o,r=(e=>e())){const i=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if($s(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Qa(l,n,o,s,e,r))}else{let l=a();i.push((()=>l.then((i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&$s(l.default)?i.default:i;var l;s.mods[e]=i,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Qa(c,n,o,s,e,r)()}))))}}return i}function tl(e){const t=Tr(Ka),n=Tr(Ja),o=Ri((()=>{const n=hn(e.to);return t.resolve(n)})),r=Ri((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(oa.bind(null,r));if(s>-1)return s;const a=ol(e[t-2]);return t>1&&ol(r)===a&&i[i.length-1].path!==a?i.findIndex(oa.bind(null,e[t-2])):s})),i=Ri((()=>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(!Ms(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=Ri((()=>r.value>-1&&r.value===n.matched.length-1&&ra(n.params,o.value.params)));return{route:o,href:Ri((()=>o.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[hn(e.replace)?"replace":"push"](hn(e.to)).catch(Ps):Promise.resolve()}}}const nl=To({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:tl,setup(e,{slots:t}){const n=Yt(tl(e)),{options:o}=Tr(Ka),r=Ri((()=>({[rl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[rl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ii("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function ol(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}
25const rl=(e,t,n)=>null!=e?e:null!=t?t:n;function il(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const sl=To({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Tr(Ga),r=Ri((()=>e.route||o.value)),i=Tr(Xa,0),s=Ri((()=>{let e=hn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Ri((()=>r.value.matched[s.value]));xr(Xa,Ri((()=>s.value+1))),xr(Ya,a),xr(Ga,r);const l=un();return io((()=>[l.value,a.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&oa(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return il(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=Ii(c,Rs({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return il(n.default,{Component:f,route:o})||f}}});function al(e){const t=Ba(e.routes,e),n=e.parseQuery||qa,o=e.stringifyQuery||Ua,r=e.history,i=Za(),s=Za(),a=Za(),l=dn(aa);let c=aa;Ls&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Is.bind(null,(e=>""+e)),d=Is.bind(null,Zs),f=Is.bind(null,Qs);function p(e,i){if(i=Rs({},i||l.value),"string"==typeof e){const o=ta(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return Rs(o,s,{params:f(s.params),hash:Qs(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=Rs({},e,{path:ta(n,e.path,i.path).path});else{const t=Rs({},e.params);for(const e in t)null==t[e]&&delete t[e];s=Rs({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Rs({},e,{hash:(h=c,Js(h).replace(zs,"{").replace(Xs,"}").replace(qs,"^")),path:a.path}));var h;const g=r.createHref(p);return Rs({fullPath:p,hash:c,query:o===Ua?za(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?ta(n,e,l.value.path):Rs({},e)}function g(e,t){if(c!==e)return Ea(8,{from:t,to:e})}function v(e){return y(e)}function m(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={}),Rs({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=m(n);if(u)return y(Rs(h(u),{state:"object"==typeof u?Rs({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&oa(t.matched[o],n.matched[r])&&ra(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=Ea(16,{to:d,from:r}),$(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch((e=>Aa(e)?Aa(e,2)?e:L(e):O(e,d,r))).then((e=>{if(e){if(Aa(e,2))return y(Rs({replace:a},h(e.to),{state:"object"==typeof e.to?Rs({},i,e.to.state):i,force:s}),t||d)}else e=x(d,r,!0,a,i);return S(d,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=P.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const i=t.matched[s];i&&(e.matched.find((e=>oa(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>oa(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=el(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Qa(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(Qa(o,e,t));return n.push(l),N(n)})).then((()=>{n=el(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Qa(o,e,t))}));return n.push(l),N(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(Ms(o.beforeEnter))for(const r of o.beforeEnter)n.push(Qa(r,e,t));else n.push(Qa(o.beforeEnter,e,t));return n.push(l),N(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=el(a,"beforeRouteEnter",e,t,_),n.push(l),N(n)))).then((()=>{n=[];for(const o of s.list())n.push(Qa(o,e,t));return n.push(l),N(n)})).catch((e=>Aa(e,8)?e:Promise.reject(e)))}
25function S(e,t,n){a.list().forEach((o=>_((()=>o(e,t,n)))))}function x(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===aa,c=Ls?history.state:{};n&&(o||a?r.replace(e.fullPath,Rs({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,$(e,t,n,a),L()}let T;function k(){T||(T=r.listen(((e,t,n)=>{if(!M.listening)return;const o=p(e),i=m(o);if(i)return void y(Rs(i,{replace:!0}),o).catch(Ps);c=o;const s=l.value;var a,u;Ls&&(a=ma(s.fullPath,n.delta),u=ga(),ya.set(a,u)),w(o,s).catch((e=>Aa(e,12)?e:Aa(e,2)?(y(e.to,o).then((e=>{Aa(e,20)&&!n.delta&&n.type===la.pop&&r.go(-1,!1)})).catch(Ps),Promise.reject()):(n.delta&&r.go(-n.delta,!1),O(e,o,s)))).then((e=>{(e=e||x(o,s,!1))&&(n.delta&&!Aa(e,8)?r.go(-n.delta,!1):n.type===la.pop&&Aa(e,20)&&r.go(-1,!1)),S(o,s,e)})).catch(Ps)})))}let C,E=Za(),A=Za();function O(e,t,n){L(e);const o=A.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function L(e){return C||(C=!e,k(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function $(t,n,o,r){const{scrollBehavior:i}=e;if(!Ls||!i)return Promise.resolve();const s=!o&&function(e){const t=ya.get(e);return ya.delete(e),t}(ma(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Ln().then((()=>i(t,n,s))).then((e=>e&&va(e))).catch((e=>O(e,t,n)))}const R=e=>r.go(e);let I;const P=new Set,M={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return xa(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:v,replace:function(e){return v(Rs(h(e),{replace:!0}))},go:R,back:()=>R(-1),forward:()=>R(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:A.add,isReady:function(){return C&&l.value!==aa?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",nl),e.component("RouterView",sl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>hn(l)}),Ls&&!I&&l.value===aa&&(I=!0,v(r.location).catch((e=>{})));const t={};for(const o in aa)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Ka,this),e.provide(Ja,Xt(t)),e.provide(Ga,l);const n=e.unmount;P.add(e),e.unmount=function(){P.delete(e),P.size<1&&(c=aa,T&&T(),T=null,l.value=aa,I=!1,C=!1),n()}}};function N(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return M}function ll(e){return Tr(Ja)}const cl=["{","}"];const ul=/^(?:\d)+/,dl=/^(?:\w)+/;const fl=Object.prototype.hasOwnProperty,pl=(e,t)=>fl.call(e,t),hl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=cl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let s=e[r++];if(s===t){i&&o.push({type:"text",value:i}),i="";let t="";for(s=e[r++];void 0!==s&&s!==n;)t+=s,s=e[r++];const a=s===n,l=ul.test(t)?"list":a&&dl.test(t)?"named":"unknown";o.push({value:t,type:l})}else i+=s}return i&&o.push({type:"text",value:i}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===r)return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(t[i.value])}o++}return n}(o,t)}};function gl(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 vl{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||hl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=gl(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEac
25h((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=>{pl(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=gl(t,this.messages))&&(o=this.messages[t]):n=t,pl(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 ml(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&&ud?ud():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new vl({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=jh().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}var yl=Object.defineProperty,bl=(e,t,n)=>(((e,t,n)=>{t in e?yl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const _l=he((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let wl;function Sl(){if(!wl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,wl=ml(e),_l()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>wl.add(e,__uniConfig.locales[e]))),wl.setLocale(e)}}return wl}function xl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const Tl=he((()=>{const e="uni.async.",t=["error"];Sl().add("en",xl(e,t,["The connection timed out, click the screen to try again."]),!1),Sl().add("es",xl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Sl().add("fr",xl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Sl().add("zh-Hans",xl(e,t,["è¿æ¥æå¡å¨è¶
æ¶ï¼ç¹å»å±å¹éè¯"]),!1),Sl().add("zh-Hant",xl(e,t,["飿¥æåå¨è¶
æï¼é»æå±å¹é試"]),!1)})),kl=he((()=>{const e="uni.showToast.",t=["unpaired"];Sl().add("en",xl(e,t,["Please note showToast must be paired with hideToast"]),!1),Sl().add("es",xl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Sl().add("fr",xl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Sl().add("zh-Hans",xl(e,t,["请注æ showToast ä¸ hideToast å¿
é¡»é
对使ç¨"]),!1),Sl().add("zh-Hant",xl(e,t,["è«æ³¨æ showToast è hideToast å¿
é é
å°ä½¿ç¨"]),!1)})),Cl=he((()=>{const e="uni.showLoading.",t=["unpaired"];Sl().add("en",xl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Sl().add("es",xl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Sl().add("fr",xl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Sl().add("zh-Hans",xl(e,t,["请注æ showLoading ä¸ hideLoading å¿
é¡»é
对使ç¨"]),!1),Sl().add("zh-Hant",xl(e,t,["è«æ³¨æ showLoading è hideLoading å¿
é é
å°ä½¿ç¨"]),!1)})),El=he((()=>{const e="uni.showModal.",t=["cancel","confirm"];Sl().add("en",xl(e,t,["Cancel","OK"]),!1),Sl().add("es",xl(e,t,["Cancelar","OK"]),!1),Sl().add("fr",xl(e,t,["Annuler","OK"]),!1),Sl().add("zh-Hans",xl(e,t,["åæ¶","ç¡®å®"]),!1),Sl().add("zh-Hant",xl(e,t,["åæ¶","確å®"]),!1)})),Al=he((()=>{const e="uni.setClipboardData.",t=["success","fail"];Sl().add("en",xl(e,t,["Content copied","Copy failed, please copy manually"]),!1),Sl().add("es",xl(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Sl().add("fr",xl(e,t,["Contenu copié","Ãchec de la copie, copiez manuellement"]),!1),Sl().add("zh-Hans",xl(e,t,["å
容已å¤å¶","å¤å¶å¤±è´¥ï¼è¯·æå¨å¤å¶"]),!1),Sl().add("zh-Hant",xl(e,t,["å
§å®¹å·²å¾©å¶","復å¶å¤±æï¼è«æå復製"]),!1)})),Ol=he((()=>{const e="uni.picker.",t=["done","cancel"];Sl().add("en",xl(e,t,["Done","Cancel"]),!1),Sl().add("es",xl(e,t,["OK","Cancelar"]),!1),Sl().add("fr",xl(e,t,["OK","Annuler"]),!1),Sl().add("zh-Hans",xl(e,t,["宿","åæ¶"]),!1),Sl().add("zh-Hant",xl(e,t,["宿","åæ¶"]),!1)}));function Ll(e){const t=new Ne;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 $l=1;const Rl=Object.create(null);function Il(e,t){return e+"."+t}function Pl(e,t,n){t=Il(e,t),Rl[t]||(Rl[t]=n)}function Ml({id:e,name:t,args:n},o){t=Il(o,t);const r=t=>{e&&iv.publishHandler("invokeViewApi."+e,t)},i=Rl[t];i?i(n,r):r({})}const Nl=c(Ll("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=iv,i=n?$l++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Bl=we(!0);let jl;function Dl(){jl&&(clearTimeout(jl),jl=null)}let Vl=0,Hl=0;function Fl(e){if(Dl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Vl=t,Hl=n,jl=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 Wl(e){if(!jl)return;if(1!==e.touches.length)return Dl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Vl)>10||Math.abs(n-Hl)>10?Dl():void 0}function ql(e,t){const n=Number(e);return isNaN(n)?t:n}function Ul(){const e=__uniConfig.globalStyle||{},t=ql(e.rpxCalcMaxDeviceWidth,960),n=ql(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor);var t=e&&window.matchMedia("(orientation:landscape)").matches?Math.max(screen.width,screen.height):screen.width;return e?Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t:Math.min(window.innerWidth,document.documentElement.clientWidth)}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o),/^Apple/.test(navigator.vendor)&&window.addEventListener("orientationchange",(()=>{o(),setTimeout(o,50)}))}
25function zl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yl,Xl,Kl=["top","left","right","bottom"],Jl={};function Gl(){return Xl="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(Xl="string"==typeof Xl?Xl:Gl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Kl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Yl=!0}else Kl.forEach((function(e){Jl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Xl+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){ec.length||setTimeout((function(){var e={};ec.forEach((function(t){e[t]=Jl[t]})),ec.length=0,tc.forEach((function(t){t(e)}))}),0);ec.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Jl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Ql(e){return Yl||Zl(),Jl[e]}var ec=[];var tc=[];const nc=zl({get support(){return 0!=("string"==typeof Xl?Xl:Gl()).length},get top(){return Ql("top")},get left(){return Ql("left")},get right(){return Ql("right")},get bottom(){return Ql("bottom")},onChange:function(e){Gl()&&(Yl||Zl(),"function"==typeof e&&tc.push(e))},offChange:function(e){var t=tc.indexOf(e);t>=0&&tc.splice(t,1)}}),oc=Cs((()=>{}),["prevent"]),rc=Cs((e=>{}),["stop"]);function ic(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function sc(){const e=ic(document.documentElement.style,"--window-top");return e?e+nc.top:0}function ac(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function lc(e){return Symbol(e)}function cc(e){return e.$page}function uc(e){return 0===e.tagName.indexOf("UNI-")}const dc="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",fc="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function pc(e,t="#000",n=27){return ci("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ci("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function hc(){{const{$pageInstance:e}=wi();return e&&Sc(e.proxy)}}function gc(){const e=$f(),t=e.length;if(t)return e[t-1]}function vc(){var e;const t=null==(e=gc())?void 0:e.$page;if(t)return t.meta}function mc(){const e=vc();return e?e.id:-1}function yc(){const e=gc();if(e)return e.$vm}const bc=["navigationBar","pullToRefresh"];function _c(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);
25bc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function wc(e,t,n,o,r,i){const{id:s,route:a}=o,l=De(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:fe(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}function Sc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function xc(e,t,n){if(m(e))n=t,t=e,e=yc();else if("number"==typeof e){const t=$f().find((t=>cc(t).id===e));e=t?t.$vm:yc()}if(!e)return;const o=e.$[t];return"onBackPress"===t?o&&(r=o,i=n,r.map((e=>e(i)))).some((e=>!0===e)):o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n);var r,i}function Tc(e){e.preventDefault()}let kc,Cc=0;function Ec({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const s=()=>{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-Cc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(Cc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(kc=setTimeout(s,300))),o=!1};return function(){clearTimeout(kc),o||requestAnimationFrame(s),o=!0}}function Ac(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Ac(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),fe(i.concat(n).join("/"))}function Oc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function Lc(){Ul(),ye(uc),window.addEventListener("touchstart",Fl,Bl),window.addEventListener("touchmove",Wl,Bl),window.addEventListener("touchend",Dl,Bl),window.addEventListener("touchcancel",Dl,Bl)}class $c{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(le(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&&le(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=Mc(this.$el.querySelector(e));return t?Rc(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=Mc(n[o]);e&&t.push(Rc(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||m(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:L(n);(m(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}
25return t}(e))}setStyle(e){return this.$el&&e?(m(e)&&(e=W(e)),x(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];v(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&iv.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 Rc(e,t=!0){if(t&&e&&(e=ae(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new $c(e)),e.$el.__wxsComponentDescriptor}function Ic(e,t){return Rc(e,t)}function Pc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Ic(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ae(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Ic(r,!1)]}}function Mc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Nc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=Se(t?r:function(e){for(;!uc(e);)e=e.parentElement;return e}(r)),a=Se(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return"undefined"!=typeof CustomEvent&&e instanceof CustomEvent&&x(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Bc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function jc(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:s,clientX:a,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:i,pageY:s-t,clientX:a,clientY:l-t,force:c||0})}return n}const Dc=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!uc(o);if(r)return Pc(e,t,n,!1)||[e];const i=Nc(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=sc();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Bc(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=sc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Bc(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=sc();i.touches=jc(e.touches,t),i.changedTouches=jc(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:Nc},Symbol.toStringTag,{value:"Module"});function Vc(e){!function(e){const t=e.globalProperties;c(t,Dc),t.$gcd=Ic}(e._context.config)}let Hc=1;function Fc(e){return(e||mc())+".invokeViewApi"}const Wc=c(Ll("view"),{invokeOnCallback:(e,t)=>sv.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=sv,s=o?Hc++:0;o&&r("invokeViewApi."+s,o,!0),i(Fc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}
25=sv,a=Hc++,l="invokeViewApi."+a;return r(l,n),s(Fc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function qc(e){xc(gc(),"onResize",e),sv.invokeOnCallback("onWindowResize",e)}function Uc(e){const t=gc();xc(jh(),"onShow",e),xc(t,"onShow")}function zc(){xc(jh(),"onHide"),xc(gc(),"onHide")}const Yc=["onPageScroll","onReachBottom"];function Xc(){Yc.forEach((e=>sv.subscribe(e,function(e){return(t,n)=>{xc(parseInt(n),e,t)}}(e))))}function Kc(){!function(){const{on:e}=sv;e("onResize",qc),e("onAppEnterForeground",Uc),e("onAppEnterBackground",zc)}(),Xc()}function Jc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Ae(this.$page.id)),e.eventChannel}}function Gc(e){e._context.config.globalProperties.getOpenerEventChannel=Jc}function Zc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Qc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${nd(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function eu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Qc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Qc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n<r&&setTimeout(i,s.duration+s.delay)}setTimeout((()=>{i()}),0)}const tu={props:["animation"],watch:{animation:{deep:!0,handler(){eu(this)}}},mounted(){eu(this)}},nu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(tu),ou(e)},ou=e=>(e.__reserved=!0,e.compatConfig={MODE:3},To(e));function ru(e){return e.__wwe=!0,e}function iu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){const r=Se(n);return{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const su={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function au(e){const t=un(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:ru((function(e){e.touches.length>1||s(e)})),onMousedown:ru((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:ru((function(){a()})),onMouseup:ru((function(){r&&l()})),onTouchcancel:ru((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function lu(e,t){return m(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const cu=lc("uf"),uu=lc("ul");function du(e,t,n){const o=hc();n&&!e||x(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&iv.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?iv.on(r,t[r]):e&&iv.on(`uni-${r}-${o}-${e}`,t[r])}))}function fu(e,t,n){const o=hc();n&&!e||x(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&iv.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?iv.off(r,t[r]):e&&iv.off(`uni-${r}-${o}-${e}`,t[r])}))}const pu=nu({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=un(null),o=Tr(cu,!1),{hovering:r,binding:i}=au(e),s=ru(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=Tr(uu,!1);return a&&(a.addHandler(s),Yo((()=>{a.removeHandler(s)}))),function(e,t){du(e.id,t),io((()=>e.id),((e,n)=>{fu(n,t,!0),du(e,t,!0)})),Xo((()=>{fu(e.id,t)}
25))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=lu(e,"disabled"),l=lu(e,"loading"),c=lu(e,"plain"),u=o&&"none"!==o;return ci("uni-button",vi({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),hu=lc("upm");function gu(){return Tr(hu)}function vu(e){const t=function(e){return Yt(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==$f().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(_c(ll().meta,e)))))}(e);return xr(hu,t),t}function mu(){return ll()}function yu(){return history.state&&history.state.__id__||1}const bu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function _u(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function wu(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Su=1;const xu={};function Tu(e,t,n){if("number"==typeof e){const o=xu[e];if(o)return o.keepAlive||delete xu[e],o.callback(t,n)}return t}const ku="success",Cu="fail",Eu="complete";function Au(e,t={},{beforeAll:n,beforeSuccess:o}={}){x(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];v(o)&&(t[n]=wu(o),delete e[n])}return t}(t),a=v(r),l=v(i),c=v(s),u=Su++;return function(e,t,n,o=!1){xu[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),v(n)&&n(u),u.errMsg===e+":ok"?(v(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const Ou="success",Lu="fail",$u="complete",Ru={},Iu={};function Pu(e,t){return function(n){return e(n,t)||n}}function Mu(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(Pu(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 Nu(e,t={}){return[Ou,Lu,$u].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Mu(o,e,t).then((e=>v(r)&&r(e)||e))}})),t}function Bu(e,t){const n=[];p(Ru.returnValue)&&n.push(...Ru.returnValue);const o=Iu[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function ju(e){const t=Object.create(null);Object.keys(Ru).forEach((e=>{"returnValue"!==e&&(t[e]=Ru[e].slice())}));const n=Iu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Du(e,t,n,o){const r=ju(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Mu(r.invoke,n).then((n=>t(Nu(ju(e),n),...o)))}return t(Nu(r,n),...o)}return t(n,...o)}function Vu(e,t){return(n={},...o)=>function(e){return!(!x(e)||![ku,Cu,Eu].find((t=>v(e[t]))))}(n)?Bu(e,Du(e,t,c({},n),o)):Bu(e,new Promise(((r,i)=>{Du(e,t,c({},n,{success:r,fail:i}),o)})))}function Hu(e,t){const n=e[0];if(!t||!t.formatArgs||!x(t.formatArgs)&&x(n))return;const o=function(e){const t=e[0];if(x(t))return t;const n={};return e[0]=n,n}(e),r=t.formatArgs,i=Object.keys(r);for(let s=0;s<i.length;s++){const e=i[s],t=r[e];if(v(t)){const n=t(o[e],o);if(m(n))return n}else f(o,e)||(o[e]=t)}}function Fu(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,Tu(e,c({errMsg:i},o))}function Wu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(m(e))return e}const r=Hu(t,o);if(r)return r}function qu(e,t,n,o){return n=>{const r=Au(e,n,o),i=Wu(0,[n],0,o);return i?Fu(r,e,i):t(n,{resolve:t=>function(e,t,n){return Tu(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Fu(r,e,function(e){return!e||m(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Uu(e,t,n,o){return Vu(e,qu(e,t,0,o))}function zu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Wu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Yu(e,t,n,o){return Vu(e,function(e,t,n,o){return qu(e,t,0,o)}(e,t,0,o))}let Xu=!1,Ku=0,Ju=0,Gu=960,Zu=375,Qu=750;function ed(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=pf();return{platform:tf?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=r,n=i}Ku=e,Ju=t,Xu="ios"===n}function td(e,t){const n=Number(e);return isNaN(n)?t:n}const nd=zu(0,((e,t)=>{if(0===Ku&&(ed(),function(){const e=__uniConfig.globalStyle||{};Gu=td(e.rpxCalcMaxDeviceWidth,960),Zu=td(e.rpxCalcBaseDeviceWidth,375),Qu=td(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Ku;n=e===Qu||n<=Gu?n:Zu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Ju&&Xu?.5:1),e<0?-o:o}));function od(e,t){Object.keys(t).forEach((n=>{v(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;
25n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}function rd(e,t){e&&t&&Object.keys(t).forEach((n=>{const o=e[n],r=t[n];p(o)&&v(r)&&u(o,r)}))}const id=zu(0,((e,t)=>{m(e)&&x(t)?od(Iu[e]||(Iu[e]={}),t):x(e)&&od(Ru,e)})),sd=zu(0,((e,t)=>{m(e)?x(t)?rd(Iu[e],t):delete Iu[e]:x(e)&&rd(Ru,e)}));const ad=new class{constructor(){this.$emitter=new Ne}on(e,t){return this.$emitter.on(e,t)}once(e,t){return this.$emitter.once(e,t)}off(e,t){e?this.$emitter.off(e,t):this.$emitter.e={}}emit(e,...t){this.$emitter.emit(e,...t)}},ld=zu(0,((e,t)=>(ad.on(e,t),()=>ad.off(e,t)))),cd=zu(0,((e,...t)=>{ad.emit(e,...t)})),ud=zu(0,(()=>{const e=jh();return e&&e.$vm?e.$vm.$locale:Sl().getLocale()})),dd={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};function fd(e,t){const n=jh();if(n&&n.$vm)return Ho(e,t,n.$vm.$);dd[e].push(t)}function pd(e,t){const n=jh();if(n&&n.$vm)return function(e,t,n){const o=e.$[t];p(o)&&n.__weh&&u(o,n.__weh)}(n.$vm,e,t);u(dd[e],t)}function hd(e){fd("onShow",e)}function gd(e){pd("onShow",e)}function vd(e){fd("onHide",e)}function md(e){pd("onHide",e)}const yd=zu(0,(()=>c({},Gf)));let bd,_d,wd;const Sd=[];const xd=Yu("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{var e,o;void 0===wd&&(wd=!1,bd="",_d="uniPush is not enabled"),Sd.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==bd&&(e=bd,o=_d,Sd.forEach((t=>{t(e,o)})),Sd.length=0)}))})),Td={formatArgs:{showToast:!0},beforeInvoke(){Al()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Sl(),o=n("uni.setClipboardData.success");o&&Wg({title:o,icon:"success",mask:!1})}},kd=(Boolean,"json"),Cd=["text","arraybuffer"],Ed=encodeURIComponent;ArrayBuffer,Boolean;const Ad={formatArgs:{method(e,t){t.method=_u((e||"").toUpperCase(),bu)},data(e,t){t.data=e||""},url(e,t){t.method===bu[0]&&x(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":x(e)&&(e=JSON.stringify(e)),s[Ed(a)]=Ed(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==bu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||kd).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Cd.indexOf(t.responseType)&&(t.responseType="text")}}};const Od={url:{type:String,required:!0}},Ld=(Pd(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Pd(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Bd("navigateTo")),$d=Bd("redirectTo"),Rd=Bd("reLaunch"),Id={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min($f().length-1,e)}}};function Pd(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 Md;function Nd(){Md=""}function Bd(e){return{formatArgs:{url:jd(e)},beforeAll:Nd}}function jd(e,t={}){return function(n,o){if(!n)return'Missing required args: "url"';const r=(n=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=$f();return n.length&&(t=cc(n[n.length-1]).route),Ac(t,e)}(n)).split("?")[0],i=Oc(r,!0);if(!i)return"page `"+n+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(i.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!i.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!i.meta.isTabBar||"appLaunch"===o.openType||(n=r),i.meta.isEntry&&(n=n.replace(i.alias,"/")),o.url=function(e){if(!m(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}(n),"unPreloadPage"!==e)if("preloadPage"!==e){if(!t.skipNavigatorLock&&Md===n&&"appLaunch"!==o.openType)return`${Md} locked`;!t.skipNavigatorLock&&__uniConfig.ready&&(Md=n)}else if(i.meta.isTabBar){const e=$f(),t=i.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const Dd={formatArgs:{animation(e,t){e||(e={duration:0,timingFunc:"linear"}),t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},Vd=(Boolean,{beforeInvoke(){El()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,
25cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=Sl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=Sl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Hd=["success","loading","none","error"],Fd=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=_u(e,Hd)},image(e,t){t.image=e?Yf(e):""},duration:1500,mask:!1}});function Wd(e){const t=yc();if(!t)return;const n=Lf(),o=n.keys();for(const r of o){const t=n.get(r);t.$.__isTabBar?t.$.__isActive=void 0!==e&&Tf(t).id===e:If(r)}!t.$.__isTabBar||void 0!==e&&Tf(t).id===e||(t.$.__isVisible=!1,xc(t,"onHide"))}function qd(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Ud(e){const t=Lf().values();for(const n of t){const t=Tf(n);if(qd(e,t))return n.$.__isActive=!0,t.id}}const zd=Yu("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(kf.handledBeforeEntryPageRoutes)return Wd(),Gd({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},Ud(e)).then(o).catch(r);Ef.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Bd("switchTab"));function Yd(){const e=gc();if(!e)return;const t=Tf(e);If(Nf(t.path,t.id))}const Xd=Yu("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(kf.handledBeforeEntryPageRoutes)return Yd(),Gd({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Af.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,$d);function Kd(){const e=Lf().keys();for(const t of e)If(t)}const Jd=Yu("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(kf.handledBeforeEntryPageRoutes)return Kd(),Gd({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);Of.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Rd);function Gd({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=jh().$router;return new Promise(((a,l)=>{let c=t;const{path:u,query:d}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Ce(n||"")}}(c),f=function(e,t){return{__id__:t||++Pf,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:u,query:d,state:f,force:!0}).then((i=>{if(Aa(i))return l(i.message);if("switchTab"===e){const e=c===t?n:s.resolve({path:u,query:d}).meta.tabBarText;s.currentRoute.value.meta.tabBarText=e}if("navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Ae(f.__id__,o),a(r?{__id__:f.__id__}:{eventChannel:e.eventChannel})}return r?a({__id__:f.__id__}):a()}))}))}function Zd(){if(kf.handledBeforeEntryPageRoutes)return;kf.handledBeforeEntryPageRoutes=!0;const e=[...Cf];Cf.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Gd(e).then(t).catch(n)));const t=[...Ef];Ef.length=0,t.forEach((({args:e,resolve:t,reject:n})=>{Wd(),Gd(e,Ud(e.url)).then(t).catch(n)}));const n=[...Af];Af.length=0,n.forEach((({args:e,resolve:t,reject:n})=>{Yd(),Gd(e).then(t).catch(n)}));const o=[...Of];Of.length=0,o.forEach((({args:e,resolve:t,reject:n})=>{Kd(),Gd(e).then(t).catch(n)}))}const Qd=navigator.userAgent,ef=/android/i.test(Qd),tf=/iphone|ipad|ipod/i.test(Qd),nf=Qd.match(/Windows NT ([\d|\d.\d]*)/i),of=/Macintosh|Mac/i.test(Qd),rf=/Linux|X11/i.test(Qd),sf=of&&navigator.maxTouchPoints>0,af=/OpenHarmony/i.test(Qd),lf=af&&/PC/i.test(Qd),cf=af&&/Tablet/i.test(Qd);function uf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function df(e){return e&&90===Math.abs(window.orientation)}function ff(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function pf(){const e=uf();if(e){const t=ff(e,df(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}function hf(){if(null!=__uniConfig.darkmode&&!1!==__uniConfig.darkmode){if(!0!==__uniConfig.darkmode)return m(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}}function gf(){let e,t,n,o="0",r="phone",i="";const s=navigator.language;if(tf){n="iPhone",e="iOS";const r=Qd.match(/OS\s([\w_]+)\slike/);r&&(o=r[1].replace(/_/g,"."));const i=o.split(".")[0];if(Number(i)>=18){const e=Qd.match(/Version\/([\d\.]+)/);e&&(o=e[1])}const s=Qd.match(/\(([a-zA-Z]+);/);s&&(t=s[1])}else if(ef){e="Android";
25const n=Qd.match(/Android[\s/]([\w\.]+)[;\s]/);n&&(o=n[1]);const r=Qd.match(/\((.+?)\)/),i=r?r[1].split(";"):Qd.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<i.length;e++){const n=i[e];if(n.indexOf("Build")>0){t=n.split("Build")[0].trim();break}let o;for(let e=0;e<s.length;e++)if(s[e].test(n)){o=!0;break}if(!o){t=n.trim();break}}}else if(sf){if(n="iPad",t="iPad",e="iOS",r="pad",o=v(window.BigInt)?"14.0":"13.0",14===parseInt(o)){const e=Qd.match(/Version\/(\S*)\b/);e&&(o=e[1])}}else if(nf||of||rf){t="PC",e="PC",r="pc",o="0";let n=Qd.match(/\((.+?)\)/)[1];if(nf){switch(e="Windows",nf[1]){case"5.1":o="XP";break;case"6.0":o="Vista";break;case"6.1":o="7";break;case"6.2":o="8";break;case"6.3":o="8.1";break;case"10.0":o="10"}const t=n&&n.match(/[Win|WOW]([\d]+)/);t&&(o+=` x${t[1]}`)}else if(of){e="macos",i="mac";const t=n&&n.match(/Mac OS X (.+)/)||"";o&&(o=t[1].replace(/_/g,"."),-1!==o.indexOf(";")&&(o=o.split(";")[0]))}else if(rf){e="Linux";const t=n&&n.match(/Linux (.*)/)||"";t&&(o=t[1],-1!==o.indexOf(";")&&(o=o.split(";")[0]))}}else if(af){n="HUAWEI",e="harmonyos",r=lf?"pc":cf?"pad":"phone";const i=Qd.match(/OpenHarmony\s([\d\.]+)/);i&&(o=i[1]),t=void 0}else e="Other",o="0",r="unknown";const a=`${e} ${o}`;i||(i=e.toLowerCase());let l="",c=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==c)l="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(Qd)&&(l=t[n],c=Qd.match(r)[2])}}let u="portrait";if(window.matchMedia)try{window.matchMedia("(orientation:landscape)").matches&&(u="landscape")}catch(d){}return"portrait"===u&&void 0!==window.screen.orientation&&(u=[90,270].includes(window.screen.orientation.angle)?"landscape":"portrait"),"portrait"===u&&null!=window.orientation&&(u=90===Math.abs(window.orientation)?"landscape":"portrait"),{deviceBrand:n,brand:n,deviceModel:t,deviceOrientation:u,model:t,system:a,platform:i,browserName:l.toLocaleLowerCase(),browserVersion:c,language:s,deviceType:r,ua:Qd,osname:e,osversion:o,theme:hf()}}function vf(e){__uniConfig.darkmode&&sv.on("onThemeChange",e)}function mf(e){sv.off("onThemeChange",e)}function yf(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const bf=yf("top:env(a)"),_f=yf("top:constant(a)"),wf=(()=>bf?"env":_f?"constant":"")();function Sf(e){var t,n;ac({"--window-top":(n=0,wf?`calc(${n}px + ${wf}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,wf?`calc(${t}px + ${wf}(safe-area-inset-bottom))`:`${t}px`)})}const xf=new Map;function Tf(e){return e.$page}const kf={handledBeforeEntryPageRoutes:!1},Cf=[],Ef=[],Af=[],Of=[];function Lf(){return xf}function $f(){return Rf()}function Rf(){const e=[],t=xf.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function If(e,t=!0){const n=xf.get(e);n.$.__isUnload=!0,xc(n,"onUnload"),xf.delete(e),t&&function(e){const t=Bf.get(e);t&&(Bf.delete(e),jf.pruneCacheEntry(t))}(e)}let Pf=yu();function Mf(e){const t=function(e){const t=gu();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),wc("navigateTo",n,{},t)}(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),xf.set(Nf(t.path,t.id),e),1===xf.size&&setTimeout((()=>{Zd()}),0)}function Nf(e,t){return e+"$$"+t}const Bf=new Map,jf={get:e=>Bf.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;jf.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(jf.delete(n),jf.pruneCacheEntry(e),Ln((()=>{xf.forEach(((e,t)=>{e.$.isUnmounted&&xf.delete(t)}))}
25)))}))}(e),Bf.set(e,t)},delete(e){Bf.get(e)&&Bf.delete(e)},forEach(e){Bf.forEach(e)}};function Df(e,t){Vf(e),function(e){const t=Hf(e),{body:n}=document;Ff&&n.removeAttribute(Ff),t&&n.setAttribute(t,""),Ff=t}(e),Sf(),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),Uf(e,t)}function Vf(e){var t,n,o;const r=null==(n=null==(t=function(e){var t;let n=e;for(;n&&"Page"!==(null==(t=n.type)?void 0:t.name);)n=n.parent;return n}(e))?void 0:t.subTree)?void 0:n.el,i=null==(o=null==r?void 0:r.querySelector)?void 0:o.call(r,"uni-page-body");if(!i)return!1;e.type;const s=Hf(e);return s&&i.setAttribute(s,""),!0}function Hf(e){return e.type.__scopeId}let Ff;const Wf=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",(()=>{}),t)}catch(t){}return e})()&&{passive:!1};let qf;function Uf(e,t){if(document.removeEventListener("touchmove",Tc),qf&&document.removeEventListener("scroll",qf),t.disableScroll)return document.addEventListener("touchmove",Tc,Wf);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=Tf(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&iv.publishHandler("onPageScroll",{scrollTop:o},e),n&&iv.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>iv.publishHandler("onReachBottom",{},s)),qf=Ec(i),requestAnimationFrame((()=>document.addEventListener("scroll",qf)))}function zf(e){const{base:t}=__uniConfig.router;return 0===fe(e).indexOf(t)?fe(e):t+e}function Yf(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 zf(e.slice(1));e="https:"+e}if(te.test(e)||ne.test(e)||0===e.indexOf("blob:"))return e;const o=Rf();return o.length?zf(Ac(Tf(o[o.length-1]).route,e).slice(1)):e}const Xf={};function Kf(e,t){const n=Xf[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return function(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}(s,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 Jf(e){for(const n in Xf)if(f(Xf,n)){if(Xf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Xf[t]=e,t}const Gf=Zc(),Zf=Zc();const Qf=nu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=un(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=Yt({width:-1,height:-1});return io((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;if(!t)return;const r=t.getBoundingClientRect();o.width=r.width,o.height=r.height,n()}}(n,t,o);return function(e,t,n,o){Io(o),qo((()=>{t.initial&&Ln(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>
25ci("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ci("div",{onScroll:r},[ci("div",null,null)],40,["onScroll"]),ci("div",{onScroll:r},[ci("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const ep=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function tp(e,t=!0){const n=t?ep:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let np=!1;function op(){if(np)return;np=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,r,i,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=ep,o*=ep,r*=ep,i*=ep,s*=ep,a*=ep,l=u?l*ep:l,c=u?c*ep:c,e.call(this,t,n,o,r,i,s,a,l,c)}}(t.drawImage),1!==ep&&(!function(e,t){for(const n in e)f(e,n)&&t(e[n],n)}(e,(function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*ep}));else if(Array.isArray(e))for(let t=0;t<e.length;t++)n[e[t]]*=ep;return t.apply(this,n)}}(t[n])})),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=ep,e.apply(this,arguments),this.lineWidth/=ep}}(t.stroke),t.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);const t=Array.prototype.slice.call(arguments);t[1]*=ep,t[2]*=ep,t[3]&&"number"==typeof t[3]&&(t[3]*=ep);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*ep+n})),e.apply(this,t),this.font=n}}(t.fillText),t.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=ep,t[2]*=ep,t[3]&&"number"==typeof t[3]&&(t[3]*=ep);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*ep+n})),e.apply(this,t),this.font=n}}(t.strokeText),t.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(ep,ep),e.apply(this,arguments),this.scale(1/ep,1/ep)}}(t.drawImage))}const rp=he((()=>op()));function ip(e){return e?Yf(e):e}function sp(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function ap(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let lp;function cp(e=0,t=0){return lp||(lp=document.createElement("canvas")),lp.width=e,lp.height=t,lp}const up=nu({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){rp();const o=un(null),r=un(null),i=un(null),s=un(!1),a=function(e){return(t,n)=>{e(t,Nc(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=Vp({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const o=Ri((()=>{let o=["onTouchstart","onTouchmove","onTouchend"],r=t.value,i=c({},(()=>{let e={};for(const t in r)if(f(r,t)){const n=r[t];e[t]=n}return e})());return o.forEach((t=>{let o=[];i[t]&&o.push(ru((e=>{const o=e.currentTarget.getBoundingClientRect();ap(o,e.touches),ap(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&o.push(oc),i[t]=o})),i}));return{_listeners:o}}(e,d,a),{_handleSubscribe:h,_resize:g}=function(e,t,n){let o=[],r={};const i=Ri((()=>e.hidpi?ep:1));function s(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>
250){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);tp(o,e.hidpi),t.putImageData(n,0,0)}else tp(o,e.hidpi)}function a({actions:e,reserve:i},s){if(!e)return;if(n.value)return void o.push([e,i]);let a=t.value,c=a.getContext("2d");i||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,a.width,a.height)),l(e);for(let t=0;t<e.length;t++){const n=e[t];let o=n.method;const i=n.data,a=i[0];if(/^set/.test(o)&&"setTransform"!==o){const n=o[3].toLowerCase()+o.slice(4);let r;if("fillStyle"===n||"strokeStyle"===n){if("normal"===a)r=sp(i[1]);else if("linear"===a){const e=c.createLinearGradient(...i[1]);i[2].forEach((function(t){const n=t[0],o=sp(t[1]);e.addColorStop(n,o)})),r=e}else if("radial"===a){let e=i[1];const t=e[0],n=e[1],o=e[2],s=c.createRadialGradient(t,n,0,t,n,o);i[2].forEach((function(e){const t=e[0],n=sp(e[1]);s.addColorStop(t,n)})),r=s}else if("pattern"===a){if(!u(i[1],e.slice(t+1),s,(function(e){e&&(c[n]=c.createPattern(e,i[2]))})))break;continue}c[n]=r}else if("globalAlpha"===n)c[n]=Number(a)/255;else if("shadow"===n){let e=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];i.forEach((function(t,n){c[e[n]]="shadowColor"===e[n]?sp(t):t}))}else if("fontSize"===n){const e=c.__font__||c.font;c.__font__=c.font=e.replace(/\d+\.?\d*px/,a+"px")}else"lineDash"===n?(c.setLineDash(a),c.lineDashOffset=i[1]||0):"textBaseline"===n?("normal"===a&&(i[0]="alphabetic"),c[n]=a):"font"===n?c.__font__=c.font=a:c[n]=a}else if("fillPath"===o||"strokePath"===o)o=o.replace(/Path/,""),c.beginPath(),i.forEach((function(e){c[e.method].apply(c,e.data)})),c[o]();else if("fillText"===o)c.fillText.apply(c,i);else if("drawImage"===o){if("break"===function(){let n=[...i],o=n[0],a=n.slice(1);if(r=r||{},!u(o,e.slice(t+1),s,(function(e){e&&c.drawImage.apply(c,[e].concat([...a.slice(4,8)],[...a.slice(0,4)]))})))return"break"}())break}else"clip"===o?(i.forEach((function(e){c[e.method].apply(c,e.data)})),c.clip()):c[o].apply(c,i)}n.value||s({errMsg:"drawCanvas:ok"})}function l(e){e.forEach((function(e){let t=e.method,n=e.data,o="";function i(){const e=r[o]=new Image;e.onload=function(){e.ready=!0},function(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):Kf(e).then(Jf)}(o).then((t=>{e.src=t})).catch((()=>{e.src=o}))}"drawImage"===t?(o=n[0],o=ip(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=ip(o),n[1]=o),o&&!r[o]&&i()}))}function u(e,t,i,s){let l=r[e];return l.ready?(s(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,s(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)a({actions:t[0],reserve:t[1]},i),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:r,destWidth:s,destHeight:a,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},f){const p=t.value;let h;const g=p.offsetWidth-e;o=o?Math.min(o,g):g;const v=p.offsetHeight-n;r=r?Math.min(r,v):v,l?(s=o,a=r):s||a?s?a||(a=Math.round(r/o*s)):(a||(a=Math.round(r*i.value)),s=Math.round(o/r*a)):(s=Math.round(o*i.value),a=Math.round(r*i.value));const m=cp(s,a),y=m.getContext("2d");let b;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,s,a)),y.__hidpi__=!0,y.drawImageByCanvas(p,e,n,o,r,0,0,s,a,!1);try{let e;if("base64"===c)h=m.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,s,a);h=Array.prototype.slice.call(e.data)}b={data:h,compressed:e,width:s,height:a}}catch(_){b={errMsg:`canvasGetImageData:fail ${_}`}}if(m.height=m.width=0,y.__hidpi__=!1,!f)return b;f(b)}function f({data:e,x:n,y:o,width:r,height:i,compressed:s},a){try{0,i||(i=Math.round(e.length/4/r));const s=cp(r,i);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),r,i),0,0),t.value.getContext("2d").drawImage(s,n,o,r,i),s.height=s.width=0}catch(l){return void a({errMsg:"canvasPutImageData:fail"})}a({errMsg:"canvasPutImageData:ok"})}function p({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:a,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,hidpi:!1,dataType:"base64",type:s,qual
25ity:a});var f;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(f=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,f))}const h={actionsChanged:a,getImageData:d,putImageData:f,toTempFilePath:p};function g(e,t,n){let o=h[e];0!==e.indexOf("_")&&v(o)&&o(t,n)}return c(h,{_resize:s,_handleSubscribe:g})}(e,r,s);return function(e,t,n,o){const r=wi().proxy;o=null==o?hc():o,qo((()=>{gh(t||hh(r),e,o),!n&&t||io((()=>r.id),((t,n)=>{gh(hh(r,t),e,o),vh(n&&hh(r,n))}))})),Yo((()=>{vh(t||hh(r),o)}))}(h,function(e){const t=hc(),n=wi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+mh++;return qo((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}(e.canvasId),!0),qo((()=>{g()})),()=>{const{canvasId:t,disableScroll:s}=e;return ci("uni-canvas",vi({ref:o,"canvas-id":t,"disable-scroll":s},l.value,u.value,p.value),[ci("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),ci("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),ci(Qf,{ref:i,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function dp(){}const fp={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function pp(e,t,n){function o(e){const t=Ri((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",dp,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",dp,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}io((()=>t.value),(e=>e&&o(e)))}const hp={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},gp={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},vp={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},mp=nu({name:"Image",props:hp,setup(e,{emit:t}){const n=un(null),o=function(e,t){const n=un(""),o=Ri((()=>{let e="auto",o="";const r=vp[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=Yt({rootEl:e,src:Ri((()=>t.src?Yf(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return qo((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=iu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=gp[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){yp&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return io((()=>t.mode),((e,t)=>{gp[t]&&r(),gp[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),Ln((()=>{o()})),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};io((()=>e.src),(e=>l(e))),io((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),qo((()=>l(e.src))),Yo((()=>c()))}(o,e,n,i,r),()=>ci("uni-image",{ref:n},[ci("div",{style:o.modeStyle},null,4),gp[e.mode]?ci(Qf,{onResize:i},null,8,["onResize"]):ci("span",null,null)],512)}});const yp="Google Inc."===navigator.vendor;const bp=we(!0),_p=[];let wp=0,Sp=!1;const xp=e=>_p.forEach((t=>t.userAction=e));function Tp(){const e=Yt({userAction:!1});return qo((()=>{!function(e={userAction:!1}){Sp||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!wp&&xp(!0),wp++,setTimeout((()=>{!--wp&&xp(!1)}),0)}),bp)})),Sp=!0);_p.push(e)}(e)})),Yo((()=>{!function(e){const t=_p.indexOf(e);t>=0&&_p.splice(t,1)}(e)})),{state:e}}function kp(){const e=Yt({attrs:{}});return qo((()=>{let t=wi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function Cp(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)}
25function Ep(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Ap=["none","text","decimal","numeric","tel","search","email","url"],Op=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=>!!~Ap.indexOf(e)},cursorColor:{type:String,default:""}},fp),Lp=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function $p(e,t,n,o,r){let i=null,s=null;s=Ee((n=>{const o=r.value,s=Ep(n,e.type);o&&document.activeElement===o&&s===i||(t.value=s)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),io((()=>e.modelValue),s),io((()=>e.value),s);const a=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r<t?n=setTimeout(o,t-(s-r)):o()};return i.cancel=function(){clearTimeout(n),o=null},i.flush=function(){clearTimeout(n),o&&o()},i}(((e,t)=>{s.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Wo((()=>{s.cancel(),a.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{s.cancel(),i=t.value,a(e,t),n&&a.flush()}}}function Rp(e,t){Tp();const n=Ri((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}io((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),qo((()=>{n.value&&Ln(o)}))}function Ip(e,t,n,o){Pl(mc(),"getSelectedTextRange",Cp);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=un(null),r=iu(t,n),i=Ri((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=Ri((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=Ri((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Ri((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=Ep(e.modelValue,e.type)||Ep(e.value,e.type);const u=Yt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return io((()=>u.focus),(e=>n("update:focus",e))),io((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=$p(e,i,n,s,r);Rp(e,r),pp(0,r);const{state:l}=kp();!function(e,t){const n=Tr(cu,!1);if(!n)return;const o=wi(),r={submit(){const n=o.proxy;return[n[e],m(t)?n[t]:t.value]},reset(){m(t)?o.proxy[t]="":t.value=""}};n.addField(r),Yo((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}io([()=>t.selectionStart,()=>t.selectionEnd],s),io((()=>t.cursor),a),io((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),v(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Pp=he((()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}}));function Mp(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes(".")&&t.value===o.value)return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&Pp()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function Np(e){return"insertFromPaste"===e.inputType}const Bp=nu({name:"Input",props:c({},Op,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Lp],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Ri((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":case"none":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=Ri((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(L(e.textContentType));return r[-1!==t?t:-1!==n?n:0]})),a=Ri((()=>
25{if(void 0!==e.inputmode)return e.inputmode;if(Ap.includes(e.type))return e.type;let t={};return t={idcard:"text"},t[e.type]}));let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=un(null!=t?t.toLocaleString():"");return io((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),io((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return un("")}(e,i),c={fn:null};const u=un(null),{fieldRef:d,state:f,scopedAttrsState:p,fixDisabledColor:h,trigger:g}=Ip(e,u,t,((e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=Mp(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=Mp(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!Np(e))return n.value=l.value=t.value,!1}}));io((()=>f.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())})),io((()=>e.maxlength),(e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)}));const v=["number","digit"],m=Ri((()=>v.includes(e.type)?e.step:""));function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),g("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&h?ci("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},inputmode:a.value,onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","inputmode","onFocus"]):ci("input",{key:"input",ref:d,value:f.value,onInput:Cs((e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?Np(e)&&(f.value=t.slice(0,f.maxlength)):0===t.length&&"insertText"===e.inputType&&"."===e.data||(f.value=t)}),["stop"]),disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:y,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ci("uni-input",{ref:u},[ci("div",{class:"uni-input-wrapper"},[uo(ci("div",vi(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[es,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?ci("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const jp=["class","style"],Dp=/^on[A-Z]+/,Vp=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=wi(),r=dn({}),i=dn({}),s=dn({}),a=n.concat(jp);return o.attrs=Yt(o.attrs),oo((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Dp.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:s}};function Hp(e){const t=[];return p(e)&&e.forEach((e=>{oi(e)?e.type===Ur?t.push(...Hp(e.children)):t.push(e):p(e)&&t.push(...Hp(e))})),t}const Fp=function(e,t,n,o){e.addEventListener(t,(e=>{v(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Wp,qp;function Up(e,t,n){Yo((()=>{document.removeEventListener("mousemove",Wp),document.removeEventListener("mouseup",qp)}));let o=0,r=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Fp(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)})),Fp(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)})),Fp(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}}));const d=Wp=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),Fp(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=qp=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),Fp(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}const zp=nu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return p(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=un(null),r=un(null),i=iu(o,n),s=function(e){const t=Yt([...e.value]),n=Yt({value:t,height:34});return io((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}(e),a=un(null);qo((()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)}));let l=un([]),c=un([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Yr));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return xr("getPickerViewColumn",(function(e){return Ri({get(){const t=u(e.vnode);return s.value[t]||0},set(t){const o=u(e.vnode);
25if(o<0)return;if(s.value[o]!==t){s.value[o]=t;const e=s.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),xr("pickerViewProps",e),xr("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=Hp(e);l.value=t,Ln((()=>{c.value=t}))}return ci("uni-picker-view",{ref:o},[ci(Qf,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),ci("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Yp{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function Xp(e,t,n){return e>t-n&&e<t+n}function Kp(e,t){return Xp(e,0,t)}class Jp{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,s=t/(r*e);return{x:function(e){return(i+s*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+s*e)*t+s*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Kp(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Kp(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Kp(t,.4)&&(t=0),Kp(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Kp(o-e,.4)&&Kp(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),Xp(this.x(),this._endPosition,.4)&&Kp(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Gp{constructor(e,t,n){this._extent=e,this._friction=t||new Yp(.01),this._spring=n||new Jp(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}function Zp(e,t){return Math.round(Math.abs(e)/t)}class Qp{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=ne
25w Gp(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}let o;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){const e=this._scroll._friction.x(100),t=e%this._itemSize;o=Math.abs(t)>this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Zp(this._position,this._itemSize),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)}),(()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),v(this._options.onSnap)&&this._options.onSnap(Zp(this._position,this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1}))}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),v(this._options.onSnap)&&this._options.onSnap(Math.round(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(v(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const r=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),v(this._options.onSnap)&&this._options.onSnap(Math.round(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}const eh=nu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=un(null),r=un(null),i=Tr("getPickerViewColumn"),s=wi(),a=i?i(s):un(0),l=Tr("pickerViewProps"),c=Tr("pickerViewState"),u=un(34),d=un(null);qo((()=>{const e=d.value;u.value=e.$el.getBoundingClientRect().height}));const f=Ri((()=>(c.height-u.value)/2)),{state:p}=kp();let h;const g=Yt({current:a.value,length:0});let v;function m(){h&&!v&&(v=!0,Ln((()=>{v=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),h.update(e*u.value,void 0,u.value)})))}io((()=>a.value),(e=>{e!==g.current&&(g.current=e,m())}
25)),io((()=>g.current),(e=>a.value=e)),io([()=>u.value,()=>g.length,()=>c.height],m);let y=0;function b(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),h.scrollTo(e*u.value)}else y=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!h.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(g.current+t,g.length-1);g.current=r=Math.max(r,0),h.scrollTo(r*u.value)}}}const w=()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new Qp(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(s-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Yp(1e-4),spring:new Jp(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});h=n,Up(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":s(e),e.stopPropagation();break;case"end":case"cancel":a(e)}}),!0),function(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY})),e.addEventListener("touchend",(e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{n[e]=o[e]})),e.target.dispatchEvent(n)}}))}(e),m()};return qo(w),()=>{const e=t.default&&t.default();g.length=Hp(e).length;const n=`${f.value}px 0`;return ci("uni-picker-view-column",{ref:o},[ci("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[ci("div",vi(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),ci("div",vi(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[ci(Qf,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),ci("div",{ref:r,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),th=nu({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=un(null),o=Ri((()=>{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=Ri((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return ci("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?ci("div",{class:"uni-scroll-view-refresh"},[ci("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?ci("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"},[ci("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"}
25,null),ci("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?ci("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[ci("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?ci("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),nh=we(!0),oh=nu({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=un(null),i=un(null),s=un(null),a=un(null),l=iu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Ri((()=>Number(e.scrollTop)||0)),n=Ri((()=>Number(e.scrollLeft)||0));return{state:Yt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=Ri((()=>e.scrollX)),h=Ri((()=>e.scrollY)),g=Ri((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),v=Ri((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function m(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>S(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+v.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+v.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?m(t,"y"):s.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?m(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?m(r,"x"):s.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?m(r,"y"):s.value.scrollTop=r}}}}function S(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function x(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:k.y-T.y}
25),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:k.y-T.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:k.y-T.y}))}t.refreshState=n}}let T={x:0,y:0},k={x:0,y:e.refresherThreshold};return qo((()=>{Ln((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===T)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-T.x)>Math.abs(i-T.y))if(p.value){if(0===l.scrollLeft&&o>T.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<T.x)return void(a=!1);a=!0}else a=!1;else if(h.value)if(0===l.scrollTop&&i>T.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i<T.y)return void(a=!1);a=!0}else a=!1;if(a&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&x("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-T.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&&(T={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){k={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?x("refreshing"):x("refresherabort"),T={x:0,y:0},k={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,nh),s.value.addEventListener("touchmove",l,we(!1)),s.value.addEventListener("scroll",i,we(!1)),s.value.addEventListener("touchend",g,nh),Yo((()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)}))})),Io((()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)})),io(n,(e=>{b(e)})),io(o,(e=>{_(e)})),io((()=>e.scrollIntoView),(e=>{w(e)})),io((()=>
25e.refresherTriggered),(e=>{!0===e?x("refreshing"):!1===e&&x("restore")})),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,a,t),v=Ri((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),m=Ri((()=>{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 ci("uni-scroll-view",{ref:r},[ci("div",{ref:s,class:"uni-scroll-view"},[ci("div",{ref:i,style:v.value,class:m.value},[t?ci(th,{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,ci("div",{ref:a,class:"uni-scroll-view-content"}
25,[n.default&&n.default()],512)],6)],512)],512)}}});function rh(e,t){return t?Object.assign(e,{backgroundColor:t}):e}const ih=nu({name:"Slider",props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String},backgroundColor:{type:String},activeColor:{type:String},selectedColor:{type:String},blockColor:{type:String},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},emits:["changing","change"],setup(e,{emit:t}){const n=un(null),o=un(null),r=un(null),i=un(Number(e.value));i.value<Number(e.min)&&(i.value=Number(e.min)),i.value>Number(e.max)&&(i.value=Number(e.max)),io((()=>e.value),(e=>{i.value=Number(e)}));const s=iu(n,t),a=function(e,t){const n=()=>{return n=t.value,o=e.min,r=e.max,r=Number(r),o=Number(o),100*(n-o)/(r-o)+"%";var n,o,r},o=()=>{const t=e.backgroundColor,n=e.color;return t&&"#e9e9e9"!==t?t:n&&"#007aff"!==n?n:t||n},r=()=>{const t=e.activeColor,n=e.selectedColor;return t&&"#007aff"!==t?t:n&&"#e9e9e9"!==n?n:t||n};return{setBgColor:()=>{return(e=o())?{backgroundColor:e}:void 0;var e},setBlockBg:()=>({left:n()}),setActiveColor:()=>rh({width:n()},r()),setBlockStyle:()=>rh({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n()},e.blockColor)}}(e,i),{_onClick:l,_onTrack:c}=function(e,t,n,o,r){const i=Ri((()=>{const t=Number(e.step);return isNaN(t)?1:t})),s=n=>{e.disabled||(l(n),r("change",n,{value:t.value}))},a=(e,t,n)=>Math.round((n-e)/t)*t+e,l=r=>{const s=Number(e.max),l=Number(e.min),c=o.value,u=getComputedStyle(c,null).marginLeft;let d=c.offsetWidth;d+=parseInt(u);const f=n.value,p=f.offsetWidth-(e.showValue?d:0),h=f.getBoundingClientRect().left,g=(r.x-h)/p,v=(i.value+"").split(".")[1];t.value=parseFloat(a(l,i.value,function(e,t,n){return n=Math.min(1,Math.max(0,n)),e*(1-n)+t*n}(l,s,g)).toFixed(v?v.length:0))},c=n=>{if(!e.disabled)return"move"===n.detail.state?(l({x:n.detail.x}),r("changing",n,{value:t.value}),!1):"end"===n.detail.state&&r("change",n,{value:t.value})},u=Tr(cu,!1);if(u){const n={reset:()=>t.value=Number(e.min),submit:()=>{const n=["",null];return""!==e.name&&(n[0]=e.name,n[1]=t.value),n}};u.addField(n),Yo((()=>{u.removeField(n)}))}return{_onClick:s,_onTrack:c}}(e,i,n,o,s);return qo((()=>{Up(r.value,c)})),()=>{const{setBgColor:t,setBlockBg:s,setActiveColor:c,setBlockStyle:u}=a;return ci("uni-slider",{ref:n,onClick:ru(l)},[ci("div",{class:"uni-slider-wrapper"},[ci("div",{class:"uni-slider-tap-area"},[ci("div",{style:t(),class:"uni-slider-handle-wrapper"},[ci("div",{ref:r,style:s(),class:"uni-slider-handle"},null,4),ci("div",{style:u(),class:"uni-slider-thumb"},null,4),ci("div",{style:c(),class:"uni-slider-track"},null,4)],4)]),uo(ci("span",{ref:o,class:"uni-slider-value"},[i.value],512),[[es,e.showValue]])])],8,["onClick"])}}});const sh={ensp:"â",emsp:"â",nbsp:"Â "};function ah(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&sh[t]&&" "===i&&(i=sh[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,sh.nbsp).replace(/ /g,sh.ensp).replace(/ /g,sh.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const lh=nu({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=un(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Yr){let n=[];n=ah(t.children,{space:e.space,decode:e.decode});const r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(di(e)),t!==r&&o.push(ci("br"))}))}else o.push(t)})),ci("uni-text",{ref:n,selectable:!!e.selectable||null},[ci("span",null,o)],8,["selectable"])}}}),ch=c({},Op,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>
25dh.concat("return").includes(e)}});let uh=!1;const dh=["done","go","next","search","send"];const fh=nu({name:"Textarea",props:ch,emits:["confirm","change","linechange",...Lp],setup(e,{emit:t,expose:n}){const o=un(null),r=un(null),{fieldRef:i,state:s,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=Ip(e,o,t),u=Ri((()=>s.value.split("\n"))),d=Ri((()=>dh.includes(e.confirmType))),f=un(0),p=un(null);function h({height:e}){f.value=e}function g(e){}function v(e){"Enter"===e.key&&d.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:s.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return io((()=>f.value),(t=>{const n=o.value,i=p.value,s=r.value;let a=parseFloat(getComputedStyle(n).lineHeight);isNaN(a)&&(a=i.offsetHeight);var l=Math.round(t/a);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(s.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";uh=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),s.value=e.value}}),()=>{let t=e.disabled&&l?ci("textarea",{key:"disabled-textarea",ref:i,value:s.value,tabindex:"-1",readonly:!!e.disabled,maxlength:s.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":uh},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):ci("textarea",{key:"textarea",ref:i,value:s.value,disabled:!!e.disabled,maxlength:s.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":uh},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:v,onKeyup:m,onChange:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return ci("uni-textarea",{ref:o,"auto-height":e.autoHeight},[ci("div",{ref:r,class:"uni-textarea-wrapper"},[uo(ci("div",vi(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[es,!s.value.length]]),ci("div",{ref:p,class:"uni-textarea-line"},[" "],512),ci("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[u.value.map((e=>ci("div",null,[e.trim()?e:"."]))),ci(Qf,{initial:!0,onResize:h},null,8,["initial","onResize"])],2),"search"===e.confirmType?ci("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),ph=nu({name:"View",props:c({},su),setup(e,{slots:t}){const n=un(null),{hovering:o,binding:r}=au(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ci("uni-view",vi({class:o.value?i:"",ref:n},r),[er(t,"default")],16):ci("uni-view",{ref:n},[er(t,"default")],512)}}});function hh(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function gh(e,t,n){e&&Pl(n||mc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function vh(e,t){e&&function(e,t){t=Il(e,t),delete Rl[t]}(t||mc(),e)}let mh=0;function yh(e,t,n,o){v(t)&&Ho(e,t.bind(n),o)}function bh(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!v(t))&&(Le.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>yh(o,e,n,t))):yh(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,xc(n,"onLoad",e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&xc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function _h(e,t,n){bh(e,t,n)}function wh(e,t,n){return e[t]=n}function Sh(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function xh(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?xc(i.proxy,"onError",n):_n(n,0,o&&o.$.vnode,!1)}}function Th(e,t){return e?[...new Set([].concat(e,t))]:t}function kh(e){const t=e.config;var n;t.errorHandler=Pe(e,xh),n=t.optionMergeStrategies,Le.forEach((e=>{n[e]=Th}));const o=t.globalProperties;o.$set=wh,o.$applyOptions=_h,o.$callMethod=Sh,function(e){$e=e,Re.forEach((t=>t(e)))}(e)}function Ch(e){const t=al({history:Oh(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Ah});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Eh[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let Eh=Object.create(null);const Ah=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Eh[o]);if(t)return t}return{left:0,top:0};var o};function Oh(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Sa(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Rf(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Tf(t[r]);If(Nf(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const Lh={install(e){kh(e),Vc(e),Gc(e),e.config.warnHandler||(e.config.warnHandler=$h),Ch(e)}};
25function $h(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 Rh={class:"uni-async-loading"},Ih=ci("i",{class:"uni-loading"},null,-1),Ph=ou({name:"AsyncLoading",render:()=>(Gr(),ni("div",Rh,[Ih]))});function Mh(){window.location.reload()}const Nh=ou({name:"AsyncError",props:["error"],setup(){Tl();const{t:e}=Sl();return()=>ci("div",{class:"uni-async-error",onClick:Mh},[e("uni.async.error")],8,["onClick"])}});let Bh;function jh(){return Bh}function Dh(e){Bh=e,Object.defineProperty(Bh.$.ctx,"$children",{get:()=>Rf().map((e=>e.$vm))});const t=Bh.$.appContext.app;t.component(Ph.name)||t.component(Ph.name,Ph),t.component(Nh.name)||t.component(Nh.name,Nh),function(e){e.$vm=e,e.$mpType="app";const t=un(Sl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Bh),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}})}(Bh),Kc(),Lc()}function Vh(e,{type:t,clone:n,init:o,setup:r,before:i,options:s}){n&&(e=c({},e)),i&&i(e);const a=e.setup;return e.setup=(e,t)=>{const n=wi();if(o(n.proxy),r(n),a)return a(e,t)},e}function Hh(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Vh(e.default,t):Vh(e,t)}function Fh(e,t){return Hh(e,{type:"page",clone:!0,init:Mf,setup(e){e.$pageInstance=e;const t=mu(),n=Te(t.query);e.attrs.__pageQuery=n,Tf(e.proxy).options=n,e.proxy.options=n;const o=gu();var r;Sf(),e.onReachBottom=Yt([]),e.onPageScroll=Yt([]),io([e.onReachBottom,e.onPageScroll],(()=>{const t=gc();e.proxy===t&&Uf(e,o)}),{once:!0}),Wo((()=>{Df(e,o)})),qo((()=>{!function(e){Vf(e)}(e);const{onReady:n}=e;n&&P(n),zh(t)})),Mo((()=>{if(!e.__isVisible){Df(e,o),e.__isVisible=!0;{const{onShow:t}=e;t&&P(t)}Ln((()=>{zh(t)}))}}),"ba",r),function(e,t){Mo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&P(t)}}}));const i=Sc(e.proxy);return function(e,t){iv.subscribe(Il(e,"invokeViewApi"),Ml)}(i),Yo((()=>{!function(e){iv.unsubscribe(Il(e,"invokeViewApi")),Object.keys(Rl).forEach((t=>{0===t.indexOf(e+".")&&delete Rl[t]}))}(i)})),n}})}function Wh(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=ig(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";sv.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function qh(e){x(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&sv.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Uh(){const{emit:e}=sv;"visible"===document.visibilityState?e("onAppEnterForeground",c({},Zf)):e("onAppEnterBackground")}function zh(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&xc("onTabItemTap",{index:n,text:t,pagePath:o})}const Yh=({name:e,arg:t})=>{if("postMessage"===e);else switch(e){case"navigateTo":Cg(t);break;case"navigateBack":kg(t);break;case"switchTab":zd(t);break;case"reLaunch":Jd(t);break;case"redirectTo":Xd(t)}},Xh=he((()=>sv.on("onWebInvokeAppService",Yh))),Kh=nu({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},emits:["load"],setup(e,{emit:t}){Xh();const n=un(null),o=un(null),{$attrs:r,$excludeAttrs:i,$listeners:s}=Vp({excludeListeners:!0}),a=iu(n,t);let l;return(()=>{const t=document.createElement("iframe");t.onload=function(t){a("load",t,{src:e.src})},oo((()=>{for(const e in r.value)if(f(r.value,e)){const n=r.value[e];t[e]=n}})),oo((()=>{t.src=Yf(e.src)})),o.value=t,l=function(e,t,n){return()=>{var o,r;if(n){const{top:n,left:o,width:r,height:i}=e.value.getBoundingClientRect();pe(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else pe(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})}}(n,o,e.fullscreen),e.fullscreen&&document.body.appendChild(t)})(),qo((()=>{var t;l(),!e.fullscreen&&(null==(t=n.value)||t.appendChild(o.value))})),Io((()=>{e.fullscreen&&(o.value.style.display="block")})),Po((()=>{e.fullscreen&&(o.value.style.display="none")})),Yo((()=>{e.fullscreen&&document.body.removeChild(o.value)})),()=>ci(Ur,null,[ci("uni-web-view",vi({class:e.fullscreen?"uni-webview--fullscreen":""},s.value,i.value,{ref:n}),[ci(Qf,{onResize:l},null,8,["onResize"])],16)])}});const Jh=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Gh;function Zh(){if(Gh=Gh||Jh.__DC_STAT_UUID,!Gh){Gh=Date.now()+""+Math.floor(1e7*Math.random());try{Jh.__DC_STAT_UUID=Gh}catch(e){}}return Gh}const Qh=zu(0,(()=>{const e=window.devicePixelRatio,t=uf(),n=df(t),o=ff(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=pf();let s=window.innerHeight;const a=nc.top,l={left:nc.left,right:i-nc.right,top:nc.top,bottom:s-nc.bottom,width:i-nc.left-nc.right,height:s-nc.top-nc.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=sc(),n=ic(e,"--window-bottom"),o=ic(e,"--window-left"),r=ic(e,"--window-right"),i=ic(e,"--top-window-height");return{top:t,bottom:n?n+nc.bottom:0,left:o?o+nc.left:0,right:r?r+nc.right:0,topWindowHeight:i||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:nc.top,right:nc.right,bottom:nc.bottom,left:nc.left},screenTop:r-s}}));let eg,tg=!0;function ng(){tg&&(eg=gf())}const og=zu(0,(()=>{ng();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=eg;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Zh(),deviceOrientation:s,deviceType:a,model:o,osName:l?l.toLowerCase():void 0,osVersion:u,platform:r,system:i})})),rg=zu(0,(()=>{ng();const{theme:e,language:t,browserName:n,browserVersion:o}=eg;
25return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:ud?ud():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,isUniAppX:!1,language:t,SDKVersion:"",theme:e,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,version:""},{})})),ig=zu(0,(()=>{tg=!0,ng(),tg=!1;const e=Qh(),t=og(),n=rg();tg=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=eg,l=c(e,t,n,{browserName:r,browserVersion:i,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0,ua:o,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion});return delete l.screenTop,delete l.enableDebug,l})),sg="none";const ag=Yu("getNetworkType",((e,{resolve:t})=>{const n=navigator.connection||navigator.webkitConnection||navigator.mozConnection;let o="unknown";if(n){const e=n.effectiveType;o=n.type,"cellular"===o&&e?o=e.replace("slow-",""):o&&o!==sg||!e?[sg,"wifi"].includes(o)||(o="unknown"):o=e}else!1===navigator.onLine&&(o=sg);return t({networkType:o})}));const lg=Yu("setClipboardData",((e,t)=>{return n=void 0,o=[e,t],r=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.setAttribute("inputmode","none"),r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const i=document.execCommand("Copy",!1);r.blur(),i?t():n()}(e,t,n)}},new Promise(((e,t)=>{var i=e=>{try{a(r.next(e))}catch(n){t(n)}},s=e=>{try{a(r.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(n,o)).next())}));var n,o,r}),0,Td);const cg=zu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function ug(e){const t=localStorage&&localStorage.getItem(e);if(!m(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=m(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=zu(0,(e=>{try{return ug(e)}catch(t){return""}})),fg=zu(0,(e=>{localStorage&&localStorage.removeItem(e)})),pg={esc:["Esc","Escape"],enter:["Enter"]},hg=Object.keys(pg);function gg(){const e=un(""),t=un(!1),n=n=>{if(t.value)return;const o=hg.find((e=>-1!==pg[e].indexOf(n.key)));o&&(e.value=o),Ln((()=>e.value=""))};return qo((()=>{document.addEventListener("keyup",n)})),Yo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const vg=ci("div",{class:"uni-mask"},null,-1);function mg(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Os(To({setup:()=>()=>(Gr(),ni(e,t,null,16))}))}function yg(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function bg(e,{onEsc:t,onEnter:n}){const o=un(e.visible),{key:r,disable:i}=gg();return io((()=>e.visible),(e=>o.value=e)),io((()=>o.value),(e=>i.value=!e)),oo((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const _g=Uu("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const p=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(!n)return"string";if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(m(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(g){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let h;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;h=new Sg(t);const f={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},p=setTimeout((function(){h.abort(),u("timeout",{errCode:5})}),l);f.signal.addEventListener("abort",(function(){clearTimeout(p),u("abort",{errCode:600003})})),window.fetch(e,f).then((e=>{const t=e.status,n=e.headers,o=e.body,s={};
25n.forEach(((e,t)=>{s[t]=e}));const a=wg(s);if(h._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then((({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce(((e,t)=>e+t.byteLength),0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}(u);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=Tg(n,i,r)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),h._emitter.emit("chunkReceived",{data:o}),d()}))};d()}),(e=>{u(e,{errCode:5})}))}else{const t=new XMLHttpRequest;h=new Sg(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout((function(){t.onload=t.onabort=t.onerror=null,h.abort(),u("timeout",{errCode:5})}),l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=Tg(n,i,r)),c({data:n,statusCode:e,header:xg(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return h}),0,Ad),wg=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;r<o.length;r++)-1!==o[r].indexOf("Expires=")||-1!==o[r].indexOf("expires=")?n.push(o[r].replace(",","")):n.push(o[r]);return n=n.join(";").split(","),n};class Sg{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new Ne,this._controller=e}abort(){this._controller&&(this._controller.abort(),delete this._controller)}onHeadersReceived(e){return this._emitter.on("headersReceived",e),this._requestOnHeadersReceiveCallbackId++,this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId,e),this._requestOnHeadersReceiveCallbackId}offHeadersReceived(e){if(null==e)return void this._emitter.off("headersReceived");if("function"==typeof e)return void this._requestOnHeadersReceiveCallbacks.forEach(((t,n)=>{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))}));const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach(((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))}));const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function xg(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}function Tg(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}const kg=Yu("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===xc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(jh().$router.go(-e.delta),t()):n("onBackPress")}),0,Id),Cg=Yu("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(kf.handledBeforeEntryPageRoutes)return Gd({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Cf.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Ld),Eg={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Ag=To({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=un(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=bg(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=un(e.cancelColor),n=({theme:e})=>{((e,t)=>
25{t.value=Eg[e].cancelColor})(e,t)};return oo((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===hf()&&n({theme:"dark"}),vf(n))):mf(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,ci(Vi,{name:"uni-fade"},{default:()=>[uo(ci("uni-modal",{onTouchmove:oc},[vg,ci("div",{class:"uni-modal"},[t?ci("div",{class:"uni-modal__hd"},[ci("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?ci("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):ci("div",{class:"uni-modal__bd",onTouchmovePassive:rc,textContent:o},null,40,["onTouchmovePassive","textContent"]),ci("div",{class:"uni-modal__ft"},[l&&ci("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),ci("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[es,s.value]])]})}}});let Og;const Lg=he((()=>{sv.on("onHidePopup",(()=>Og.visible=!1))}));let $g;function Rg(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Og.editable&&(o.content=t),$g&&$g(o)}const Ig=Yu("showModal",((e,{resolve:t})=>{Lg(),$g=t,Og?(c(Og,e),Og.visible=!0):(Og=Yt(e),Ln((()=>(mg(Ag,Og,Rg).mount(yg("u-a-m")),Ln((()=>Og.visible=!0))))))}),0,Vd),Pg={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Hd.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Mg={light:"#fff",dark:"rgba(255,255,255,0.9)"},Ng=e=>Mg[e],Bg=To({name:"Toast",props:Pg,setup(e){kl(),Cl();const{Icon:t}=function(e){const t=un(Ng(hf()??"light")),n=({theme:e})=>t.value=Ng(e);oo((()=>{e.visible?vf(n):mf(n)}));return{Icon:Ri((()=>{switch(e.icon){case"success":return ci(pc(dc,t.value,38),{class:"uni-toast__icon"});case"error":return ci(pc(fc,t.value,38),{class:"uni-toast__icon"});case"loading":return ci("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=bg(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return ci(Vi,{name:"uni-fade"},{default:()=>[uo(ci("uni-toast",{"data-duration":r},[o?ci("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:oc},null,40,["onTouchmove"]):"",s||t.value?ci("div",{class:"uni-toast"},[s?ci("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,ci("p",{class:"uni-toast__content"},[i])]):ci("div",{class:"uni-sample-toast"},[ci("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[es,n.value]])]})}}});let jg,Dg,Vg="";const Hg=We();function Fg(e){jg?c(jg,e):(jg=Yt(c(e,{visible:!1})),Ln((()=>{Hg.run((()=>{io([()=>jg.visible,()=>jg.duration],(([e,t])=>{if(e){if(Dg&&clearTimeout(Dg),"onShowLoading"===Vg)return;Dg=setTimeout((()=>{qg("onHideToast")}),t)}else Dg&&clearTimeout(Dg)}))})),sv.on("onHidePopup",(()=>qg("onHidePopup"))),mg(Bg,jg,(()=>{})).mount(yg("u-a-t"))}))),setTimeout((()=>{jg.visible=!0}),10)}const Wg=Yu("showToast",((e,{resolve:t,reject:n})=>{Fg(e),Vg="onShowToast",t()}),0,Fd);function qg(e){const{t:t}=Sl();if(!Vg)return;let n="";if("onHideToast"===e&&"onShowToast"!==Vg?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Vg&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Vg="",setTimeout((()=>{jg.visible=!1}),10)}function Ug(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),sv.emit("onNavigationBarChange",{titleText:t})}oo(t),Io(t)}const zg=Yu("setNavigationBarColor",((e,{resolve:t,reject:n})=>{!function(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:s}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=s;break;case"showNavigationBarLoading":i.loading=!0;break;case"hideNavigationBarLoading":i.loading=!1;break;case"setNavigationBarTitle":const{title:a}=n;i.titleText=a}o()}(vc(),"setNavigationBarColor",e,t,n)}),0,Dd),Yg=ou({name:"Layout",setup(e,{emit:t}){const n=un(null);ac({"--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=ll();return{routeKey:Ri((()=>Nf("/"+e.meta.route,yu()))),isTabBar:Ri((()=>e.meta.isTabBar)),routeCache:jf}}(),{layoutState:r,windowState:i}=function(){mu();{const e=Yt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return io((()=>e.marginWidth),(e=>ac({"--window-margin":e+"px"}))),io((()=>e.leftWindowWidth+e.marginWidth),(e=>{ac({"--window-left":e+"px"})})),io((()=>e.rightWindowWidth+e.marginWidth),(e=>{ac({"--window-right":e+"px"})})),{layoutState:e,windowState:Ri((()=>({})))}}}();!function(e,t){const n=mu();function o(){const o=document.body.clientWidth,r=Rf();let i={};if(r.length>0){i=Tf(r[r.length-1]).meta}else{const e=Oc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,Ln((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,Ln((()=>{const e=t.value;e&&e.removeAttribute("style")})))}io([()=>n.path],o),qo((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=un(!1);return Ri((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return ci(sl,null,{default:Un((({Component:o})=>[(Gr(),ni($o,{matchBy:"key",cache:n},[(Gr(),ni(Zn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return ci("uni-app",{ref:n,class:s.value},[e,!1],2)}}});function Xg(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!oi(e)}function Kg(e){if(e.mode===Zg.TIME)return"00:00";if(e.mode===Zg.DATE){const t=(new Date).getFullYear()-150;
25switch(e.fields){case Qg.YEAR:return t.toString();case Qg.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function Jg(e){if(e.mode===Zg.TIME)return"23:59";if(e.mode===Zg.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Qg.YEAR:return t.toString();case Qg.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Gg(e,t,n,o){const r=e.mode===Zg.DATE?"-":":",i=e.mode===Zg.DATE?t.dateArray:t.timeArray;let s;if(e.mode===Zg.TIME)s=2;else switch(e.fields){case Qg.YEAR:s=1;break;case Qg.MONTH:s=2;break;default:s=3}const a=String(n).split(r);let l=[];for(let c=0;c<s;c++){const e=a[c];l.push(i[c].indexOf(e))}return l.indexOf(-1)>=0&&(l=o?Gg(e,t,o):l.map((()=>0))),l}const Zg={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Qg={YEAR:"year",MONTH:"month",DAY:"day"},ev={PICKER:"picker",SELECT:"select"},tv=nu({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Zg.SELECTOR,validator:e=>Object.values(Zg).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>Kg(e)},end:{type:String,default:e=>Jg(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){Ol();const{t:o}=Sl(),r=un(null),i=un(null),s=un(null),a=un(null),l=un(!1),{state:u,rangeArray:d}=function(e){const t=Yt({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=Ri((()=>{let n=e.range;switch(e.mode){case Zg.SELECTOR:return[n];case Zg.MULTISELECTOR:return n;case Zg.TIME:return t.timeArray;case Zg.DATE:{const n=t.dateArray;switch(e.fields){case Qg.YEAR:return[n[0]];case Qg.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),f=iu(r,t),{system:h,selectorTypeComputed:g,_show:v,_l10nColumn:m,_l10nItem:y,_input:b,_fixInputPosition:_,_pickerViewChange:w,_cancel:S,_change:x,_resetFormData:T,_getFormData:k,_createTime:C,_createDate:E,_setValueSync:A}=function(e,t,n,o,r,i,s){const a=function(){const e=un(!1);return e.value=(()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0)(),e}(),l=function(){const e=un("");return e.value=(()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""})(),e}(),c=Ri((()=>{const t=e.selectorType;return Object.values(ev).includes(t)?t:a.value?ev.PICKER:ev.SELECT})),u=Ri((()=>e.mode===Zg.DATE&&!Object.values(Qg).includes(e.fields)&&t.isDesktop?l.value:"")),d=Ri((()=>Gg(e,t,e.start,Kg(e)))),f=Ri((()=>Gg(e,t,e.end,Jg(e))));function h(n){if(e.disabled)return;t.valueChangeSource="";let o=r.value,i=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=i.getBoundingClientRect();t.popover={top:s.top,left:s.left,width:s.width,height:s.height},setTimeout((()=>{t.visible=!0}),20)}function g(){return{value:t.valueSync,key:e.name}}function v(){switch(e.mode){case Zg.SELECTOR:t.valueSync=0;break;case Zg.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case Zg.DATE:case Zg.TIME:t.valueSync=""}}function m(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&t<n&&(n=t)}if(e.end){const t=new Date(e.end).getFullYear();!isNaN(t)&&t>o&&(o=t)}return{start:n,end:o}}function b(){let e=[];const n=y();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let r=[];for(let t=1;t<=31;t++)r.push((t<10?"0":"")+t);t.dateArray.push(e,o,r)}function _(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function S(e,t){for(let n=0;n<e.length&&n<t.length;n++)e[n]=t[n]}function x(){let n=e.value;switch(e.mode){case Zg.MULTISELECTOR:{p(n)||(n=t.valueArray),p(t.valueSync)||(t.valueSync=[]);const o=t.valueSync.length=Math.max(n.length,e.range.length);for(let r=0;r<o;r++){const o=Number(n[r]),i=Number(t.valueSync[r]),s=isNaN(o)?isNaN(i)?0:i:o,a=e.range[r]?e.range[r].length-1:0;t.valueSync.splice(r,1,s<0||s>a?0:s)}}break;case Zg.TIME:case Zg.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function T(){let n,o=t.valueSync;switch(e.mode){case Zg.MULTISELECTOR:n=[...o];break;case Zg.TIME:n=Gg(e,t,o,ve({mode:Zg.TIME}));break;case Zg.DATE:n=Gg(e,t,o,ve({mode:Zg.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function k(){let n=t.valueArray;switch(e.mode){case Zg.SELECTOR:return n[0];case Zg.MULTISELECTOR:return n.map((e=>e));case Zg.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case Zg.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function C(){A(),t.valueChangeSource="click";const e=k();t.valueSync=p(e)?e.map((e=>e)):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width:r,height:i}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&s<o+r&&a>n&&a<n+i)return}A(),n("cancel",{},{})}function A(){t.visible=!1,setTimeout((()=>{let e=r.value;e.remove(),o.value.prepend(e),e.style.display="none"}),260)}function O(){e.mode===Zg.SELECTOR&&c.value===ev.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function L(e){const n=e.target;t.valueSync=n.value,Ln((()=>{C()}))}function $(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;s.value.style.left=e.clientX-t.left-1.5*n+"px",s.value.style.top=e.clientY-t.top-.5*n+"px"}}function R(e){t.valueArray=I(e.detail.value,!0)}function I(t,n){const{getLocale:o}=Sl();if(e.mode===Zg.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case Qg.YEAR:return t;case Qg.MONTH:return[t[1],t[0]];default:switch(r){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function P(t,n){const{getLocale:o}=Sl();if(e.mode===Zg.DATE){const r=o();if(r.startsWith("zh")){return t+["å¹´","æ","æ¥"][n]}if(e.fields!==Qg.YEAR&&n===(e.fields===Qg.MONTH||"es"!==r&&"fr"!==r?0:1)){let e;switch(r){case"es":e=["enero","febrero","marzo","abril","mayo","junio","ââjulio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return io((()=>t.visible),(e=>{e?(clearTimeout(nv),t.contentVisible=e,O()):nv=setTimeout((()=>{t.contentVisible=e}),300)})),io([()=>e.mode,()=>e.value,()=>e.range],x,{deep:!0}),io((()=>t.valueSync),T,{deep:!0}),io((()=>t.valueArray),(o=>{if(e.mode===Zg.TIME||e.mode===Zg.DATE){const n=e.mode===Zg.TIME?_:w,o=t.valueArray,r=d.value,i=f.value;if(e.mode===Zg.DATE){const e=t.dateArray,n=e[2].length,r=Number(e[2][o[2]])||1,i=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${r}`).getDate();i<r&&(o[2]-=i+n-r)}n(o)<n(r)?S(o,r):n(o)>n(i)&&S(o,i)}
25o.forEach(((o,r)=>{o!==t.oldValueArray[r]&&(t.oldValueArray[r]=o,e.mode===Zg.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))}))})),{selectorTypeComputed:c,system:u,_show:h,_cancel:E,_change:C,_l10nColumn:I,_l10nItem:P,_input:L,_resetFormData:v,_getFormData:g,_createTime:m,_createDate:b,_setValueSync:x,_fixInputPosition:$,_pickerViewChange:R}}(e,u,f,r,i,s,a);!function(e,t,n){const{key:o,disable:r}=gg();oo((()=>{r.value=!e.visible})),io(o,(e=>{"esc"===e?t():"enter"===e&&n()}))}(u,S,x),function(e,t){const n=Tr(cu,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),Yo((()=>{n.removeField(o)}))}}(T,k),C(),E(),A();const O=function(e,t="#fcfcfd"){const n=un(0),o=un(0),r=Ri((()=>n.value>=500&&o.value>=500)),i=Ri((()=>{const i={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},s=i.content,a=i.triangle,l=e.popover;function u(e){try{const t=Number(e);return Number.isFinite(t)?t:0}catch(t){return 0}}if(r.value&&l){const e=Math.max(0,u(l.left)),r=u(l.width),i=r>0?r:300,d=Math.max(0,u(l.top)),f=Math.max(0,u(l.height)),p=e+i/2,h=Math.max(6,Math.min(n.value-i-6,p-i/2));c(a,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"}),s.transform="none !important",s.left=`${h}px`,r>0&&(s.width=`${i}px`);const g=Math.max(12,Math.min(i-12,p-h));a.left=`${g}px`;const v=o.value/2;d+f-v>v-d?(s.top="auto",s.bottom=`${Math.max(6,o.value-d+6)}px`,a.bottom="-6px",a["border-width"]="6px 6px 0 6px",a["border-color"]=`${t} transparent transparent transparent`):(s.top=`${Math.max(6,d+f+6)}px`,a.top="-6px",a["border-width"]="0 6px 6px 6px",a["border-color"]=`transparent transparent ${t} transparent`)}return i}));return qo((()=>{const e=()=>{try{const{windowWidth:e,windowHeight:t,windowTop:r}=ig();n.value=e,o.value=t+(r||0)}catch(e){}};window.addEventListener("resize",e),e(),Xo((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:r,popupStyle:i}}(u,"var(--uni-picker-arrow-color, #fcfcfd)");return oo((()=>{u.isDesktop=O.isDesktop.value,u.popupStyle=O.popupStyle.value})),Yo((()=>{i.value&&i.value.remove()})),qo((()=>{l.value=!0})),()=>{let t;const{visible:c,contentVisible:f,valueArray:p,popupStyle:T,valueSync:k}=u,{rangeKey:C,mode:E,start:A,end:O}=e,L=lu(e,"disabled");return ci("uni-picker",vi({ref:r},L,{onClick:ru(v)}),[l.value?ci("div",{ref:i,class:["uni-picker-container",`uni-${E}-${g.value}`],onWheel:oc,onTouchmove:oc},[ci(Vi,{name:"uni-fade"},{default:()=>[uo(ci("div",{class:"uni-mask uni-picker-mask",onClick:ru(S),onMousemove:_},null,40,["onClick","onMousemove"]),[[es,c]])]}),h.value?null:ci("div",{class:[{"uni-picker-toggle":c},"uni-picker-custom"],style:T.content},[ci("div",{class:"uni-picker-header",onClick:rc},[ci("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:ru(S)},[o("uni.picker.cancel")],8,["onClick"]),ci("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:x},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?ci(zp,{value:m(p),class:"uni-picker-content",onChange:w},Xg(t=Qo(m(d.value),((e,t)=>{let n;return ci(eh,{key:t},Xg(n=Qo(e,((e,n)=>ci("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[C]||"":y(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,ci("div",{ref:s,class:"uni-picker-select",onWheel:rc,onTouchmove:rc},[Qo(d.value[0],((e,t)=>ci("div",{key:t,class:["uni-picker-item",{selected:p[0]===t}],onClick:()=>{p[0]=t,x()}},["object"==typeof e?e[C]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),ci("div",{style:T.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,ci("div",null,[n.default&&n.default()]),h.value?ci("div",{class:"uni-picker-system",onMousemove:ru(_)},[ci("input",{class:["uni-picker-system_input",h.value],ref:a,value:k,type:E,tabindex:"-1",min:A,max:O,onChange:e=>{b(e),rc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let nv;const ov=class e{constructor(){bl(this,"_adConfig",null),bl(this,"_isLoading",!1),bl(this,"_callbacks",[]),bl(this,"_configLast",0)}static get instance(){return e._instance||(e._instance=new e,e._instance._init()),e._instance}get adConfig(){return this._adConfig}get isExpired(){return null==this._adConfig||(!this._configLast||Math.abs(Date.now()-this._configLast)>e.CACHE_TIME)}_init(){var t=this._getConfig();null!==t&&t.last&&Math.abs(Date.now()-t.last)<=e.CACHE_TIME&&(this._adConfig=t.data,this._configLast=t.last)}get(t,n,o){if(e.IC++,null!=this._adConfig)return this._doCallback(t,n,o),void(this.isExpired&&this._loadAdConfig(t));this._callbacks.push({adpid:t,success:n,fail:o}),this._loadAdConfig(t)}_doCallback(t,n,o){e.IS++;var{a:r,b:i}=this._adConfig;const s=r[t];s?n(i,Array.isArray(s)?s:[s]):o(e.ERROR_INVALID_ADPID)}_loadAdConfig(t){if(!0===this._isLoading)return;this._isLoading=!0;const n="undefined"!=typeof __uniConfig?__uniConfig.appId??"":"";_g({url:e.URL,method:"GET",timeout:8e3,data:{d:location.hostname,a:t,appid:n},dataType:"json",success:e=>{const t=e.data;if(0===t.ret){const e=t.data;this._adConfig=e,this._configLast=Date.now(),this._setConfig(e),this._callbacks.forEach((({adpid:e,success:t,fail:n})=>{this._doCallback(e,t,n)}))}else this._callbacks.forEach((e=>{e.fail({errCode:t.ret,errMsg:t.msg})}));this._callbacks=[]},fail:e=>{this._callbacks.forEach((t=>{t.fail(e)})),this._callbacks=[]},complete:e=>{this._isLoading=!1}})}_getConfig(){if(!navigator.cookieEnabled||!window.localStorage)return null;var t=localStorage.getItem(e.KEY);return t?JSON.parse(t):null}_setConfig(t){if(!navigator.cookieEnabled||!window.localStorage)return null;localStorage.setItem(e.KEY,JSON.stringify({last:Date.now(),data:t}))}};bl(ov,"IC",0),bl(ov,"IS",0),bl(ov,"URL","https://hac1.dcloud.net.cn/ah5v2"),bl(ov,"KEY","uni_app_ad_config"),bl(ov,"CACHE_TIME",6e5),bl(ov,"ERROR_INVALID_ADPID",{"-5002":"invalid adpid"});const rv=class e{static get instance(){return e._instance||(e._instance=new e),e._instance}constructor(){var e=this._getConfig();e&&e.guid?this._guid=e.guid:(this._guid=this._newGUID(),this._setConfig(this._guid))}get(e){this._process(Object.assign(e,{d:location.hostname,i:this._guid}))}_process(t){_g({url:e.URL,method:"GET",data:t,dataType:"json",success:()=>{}})}_newGUID(){let e="";const t="xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx";for(let n=0;n<t.length;n++)e+="x"===t[n]?(16*Math.random()|0).toString(16):t[n];return e.toUpperCase()}_getConfig(){if(!navigator.cookieEnabled||!window.localStorage)return null;var t=localStorage.getItem(e.KEY);return t?JSON.parse(t):null}_setConfig(t){if(!navigator.cookieEnabled||!window.localStorage)return null;localStorage.setItem(e.KEY,JSON.stringify({last:Date.now(),guid:t}))}};bl(rv,"URL","https://has1.dcloud.net.cn/ahl"),bl(rv,"KEY","uni_app_ad_guid");const iv=c(Nl,{publishHandler(e,t,n){sv.subscribeHandler(e,t,n)}}),sv=c(Wc,{publishHandler(e,t,n){iv.subscribeHandler(e,t,n)}}),av=ou({name:"PageBody",setup(e,t){const n=un(null),o=un(null);return io((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>ci(Ur,null,[!1,ci("uni-page-wrapper",vi({ref:n},o.value),[ci("uni-page-body",null,[er(t.slots,"default")]),null],16)])}}),lv=ou({name:"Page",setup(e,t){let n=vu(yu());n.navigationBar;const o={};
25return Ug(n),()=>ci("uni-page",{"data-page":n.route,style:o},[cv(t),null])}});function cv(e){return Gr(),ni(av,{key:0},{default:Un((()=>[er(e.slots,"page")])),_:3})}const uv={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=nd;const dv=Object.assign({}),fv=Object.assign;window.__uniConfig=fv({globalStyle:{backgroundColor:"#1a1a2e",navigationBar:{backgroundColor:"#1a1a2e",titleText:"SOOUA",type:"default",titleColor:"#ffffff"},isNVue:!1},compilerVersion:"5.26"},{appId:"__UNI__03BCD3D",appName:"SOOUA",appVersion:"1.0.0",appVersionCode:"100",async:uv,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(dv).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return fv(e[n]||(e[n]={}),dv[t].default),e}),{}),router:{mode:"hash",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const pv={delay:uv.delay,timeout:uv.timeout,suspensible:uv.suspensible};uv.loading&&(pv.loadingComponent={name:"SystemAsyncLoading",render:()=>ci(Jn(uv.loading))}),uv.error&&(pv.errorComponent={name:"SystemAsyncError",props:["error"],render(){return ci(Jn(uv.error),{error:this.error})}});const hv=()=>t((()=>import("./pages-index-index.CEFm-3oU.js")),__vite__mapDeps([0,1,2,3])).then((e=>Fh(e.default||e))),gv=Co(fv({loader:hv},pv)),vv=()=>t((()=>import("./pages-webview-index.D3NQskIq.js")),__vite__mapDeps([4,2,5])).then((e=>Fh(e.default||e))),mv=Co(fv({loader:vv},pv)),yv=()=>t((()=>import("./pages-webview-url-edit.BigWhRyx.js")),__vite__mapDeps([6,2,7])).then((e=>Fh(e.default||e))),bv=Co(fv({loader:yv},pv)),_v=()=>t((()=>import("./pages-login-index.DVIb9q-H.js")),__vite__mapDeps([8,2,9])).then((e=>Fh(e.default||e))),wv=Co(fv({loader:_v},pv)),Sv=()=>t((()=>import("./pages-search-index.JMcy8TdW.js")),__vite__mapDeps([10,1,2,11])).then((e=>Fh(e.default||e))),xv=Co(fv({loader:Sv},pv)),Tv=()=>t((()=>import("./pages-news-index.BWl-3lZ7.js")),__vite__mapDeps([12,1,2,13])).then((e=>Fh(e.default||e))),kv=Co(fv({loader:Tv},pv)),Cv=()=>t((()=>import("./pages-member-index.D_bW6Ia-.js")),__vite__mapDeps([14,2,15])).then((e=>Fh(e.default||e))),Ev=Co(fv({loader:Cv},pv));function Av(e,t){return Gr(),ni(lv,null,{page:Un((()=>[ci(e,fv({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=jh(),t=e&&e.$route&&e.$route.query||{};return()=>Av(gv,t)}},loader:hv,meta:{isQuit:!0,isEntry:!0,bounce:"none",titleNView:!1,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/webview/index",component:{setup(){const e=jh(),t=e&&e.$route&&e.$route.query||{};return()=>Av(mv,t)}},loader:vv,meta:{bounce:"none",background:"#0a0e27",titleNView:!1,navigationBar:{backgroundColor:"#0a0e27",titleText:"",type:"default",style:"custom",titleColor:"#ffffff"},isNVue:!1}},{path:"/pages/webview/url-edit",component:{setup(){const e=jh(),t=e&&e.$route&&e.$route.query||{};return()=>Av(bv,t)}},loader:yv,meta:{bounce:"none",background:"#0a0e27",titleNView:!1,navigationBar:{backgroundColor:"#0a0e27",titleText:"æ¶èç½å",type:"default",style:"custom",titleColor:"#ffffff"},isNVue:!1}},{path:"/pages/login/index",component:{setup(){const e=jh(),t=e&&e.$route&&e.$route.query||{};return()=>Av(wv,t)}},loader:_v,meta:{bounce:"none",background:"#0a0e27",titleNView:!1,navigationBar:{backgroundColor:"#0a0e27",titleText:"ç»å½",type:"default",style:"custom",titleColor:"#ffffff"},isNVue:!1}},{path:"/pages/search/index",component:{setup(){const e=jh(),t=e&&e.$route&&e.$route.query||{};return()=>Av(xv,t)}},loader:Sv,meta:{titleNView:!1,navigationBar:{backgroundColor:"#1a1a2e",titleText:"æç´¢",style:"custom",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/pages/news/index",component:{setup(){const e=jh(),t=e&&e.$route&&e.$route.query||{};return()=>Av(kv,t)}},loader:Tv,meta:{titleNView:!1,navigationBar:{backgroundColor:"#1a1a2e",titleText:"èµè®¯",style:"custom",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/pages/member/index",component:{setup(){const e=jh(),t=e&&e.$route&&e.$route.query||{};return()=>Av(Ev,t)}},loader:Cv,meta:{titleNView:!1,navigationBar:{backgroundColor:"#1a1a2e",titleText:"æç",style:"custom",type:"default",titleColor:"#ffffff"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));
25const Ov={onLaunch(){console.log("App Launch")},onShow(){console.log("App Show")},onHide(){console.log("App Hide")}};Hh(Ov,{init:Dh,setup(e){const t=mu(),n=(n=t)=>{var o;o=e,Object.keys(dd).forEach((e=>{dd[e].forEach((t=>{Ho(e,t,o)}))}));const{onLaunch:r,onShow:i,onPageNotFound:s}=e,a=function({path:e,query:t}){return c(Gf,{path:e,query:t}),c(Zf,Gf),c({},Gf)}({path:n.path.slice(1)||__uniRoutes[0].meta.route,query:Te(n.query)});if(r&&P(r,a),i&&P(i,a),!n.matched.length){const e={notFound:!0,openType:"appLaunch",path:n.path,query:Te(n.query),scene:1001};Zd(),s&&P(s,e)}};return Tr(Ka).isReady().then(n),qo((()=>{window.addEventListener("resize",Ee(Wh,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",qh),document.addEventListener("visibilitychange",Uh),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{sv.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=()=>(Gr(),ni(Yg));e.setup=(e,o)=>{const r=t&&t(e,o);return v(r)?n:r},e.render=n}});const Lv="1",$v="3",Rv="11",Iv="21",Pv="31",Mv="101",Nv=1,Bv=2,jv=3,Dv=0,Vv=1;function Hv(e){return!0===e||1===e||"1"===e?Vv:Dv}function Fv(e,t,n,o){return new(n||(n=Promise))((function(r,i){function s(e){try{l(o.next(e))}catch(t){i(t)}}function a(e){try{l(o.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;function Wv(e,t=4096){var n;if(void 0===e)return"";let o;if("string"==typeof e)o=e;else{const t=new WeakSet;try{o=null!==(n=JSON.stringify(e,((e,n)=>{if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return"bigint"==typeof n?n.toString():"function"==typeof n?`[Function ${n.name||"anonymous"}]`:n})))&&void 0!==n?n:""}catch(r){o=`[Unserializable: ${r.message}]`}}return o.length>t?o.slice(0,Math.max(0,t-"â¦[truncated]".length))+"â¦[truncated]":o}function qv(e,t){try{return e()}catch(n){return t}}function Uv(e,t){return Fv(this,void 0,void 0,(function*(){var n;const o=Math.max(1,Math.floor(t.times)),r=null!==(n=t.sleep)&&void 0!==n?n:zv;let i;for(let a=1;a<=o;a++)try{return yield e()}catch(s){if(i=s,a>=o)break;yield r(t.baseDelayMs*Math.pow(2,a-1))}throw i}))}function zv(e){return new Promise((t=>setTimeout(t,e)))}function Yv(e){if(null==e||"object"!=typeof e)return!1;const t=e;return"function"==typeof t.getStorageSync||"function"==typeof t.onCreateVueApp||"function"==typeof t.request||"function"==typeof t.onAppShow||"function"==typeof t.onAppRoute}function Xv(){if("undefined"!=typeof globalThis&&null!=globalThis)return globalThis;if("undefined"!=typeof global&&null!=global)return global;if("undefined"!=typeof self&&null!=self)return self;const e=function(){try{const e=Function('return typeof window !== "undefined" ? window : undefined')();return null!=e?e:void 0}catch(e){return}}();return e||{}}function Kv(){const e="undefined"!=typeof globalThis,t=Xv().uni,n=null!=t&&"object"==typeof t,o=n&&!Yv(t),r=function(){if("undefined"!=typeof uni&&null!=uni&&"object"==typeof uni)return uni}(),i=null!=r;if(Yv(t))return{resolved:!0,source:"globalThis",globalThisHasUni:!0,globalThisUniStub:!1,moduleUniDefined:i,globalThisAvailable:e,uni:t};if(Yv(r))return{resolved:!0,source:"module",globalThisHasUni:n,globalThisUniStub:o,moduleUniDefined:!0,globalThisAvailable:e,uni:r};const s=function(){try{const e={},t=(t,n)=>{"function"==typeof n&&(e[t]=n)};
25return t("getStorageSync",dg),t("setStorageSync",cg),t("removeStorageSync",fg),t("getSystemInfoSync",ig),t("getDeviceInfo",og),t("getAppBaseInfo",rg),t("getWindowInfo",Qh),t("getNetworkType",ag),t("request",_g),t("onAppShow",hd),t("offAppShow",gd),t("onAppHide",vd),t("offAppHide",md),t("onAppLaunch",uni.onAppLaunch),t("offAppLaunch",uni.offAppLaunch),t("onAppRoute",uni.onAppRoute),t("offAppRoute",uni.offAppRoute),t("onBeforeAppRoute",uni.onBeforeAppRoute),t("offBeforeAppRoute",uni.offBeforeAppRoute),t("getLaunchOptionsSync",yd),t("addInterceptor",id),t("removeInterceptor",sd),t("getPushClientId",xd),t("getAccountInfoSync",uni.getAccountInfoSync),t("onCreateVueApp",Ie),Object.keys(e).length>0?e:void 0}catch(e){return}}();return Yv(s)?{resolved:!0,source:"injected",globalThisHasUni:n,globalThisUniStub:o,moduleUniDefined:i,globalThisAvailable:e,uni:s}:{resolved:!1,source:"none",globalThisHasUni:n,globalThisUniStub:o,moduleUniDefined:i,globalThisAvailable:e,uni:void 0}}function Jv(){const e=Kv();return e.resolved?e.uni:void 0}const Gv="[uniç»è®¡ 2.0]";let Zv,Qv;function em(){var e,t,n,o,r,i,s;const a=null!=="h5"?"h5":"",l=Xv();if("app"===a||"app-plus"===a||"app-harmony"===a){const o=null===(n=null===(t=null===(e=l.plus)||void 0===e?void 0:e.os)||void 0===t?void 0:t.name)||void 0===n?void 0:n.toLowerCase();return!!o&&(!!o.includes("android")||!("ios"!==o&&!o.includes("iphone")))}if(a.startsWith("mp-"))try{const e=null===(s=null===(i=null===(r=null===(o=l.uni)||void 0===o?void 0:o.getSystemInfoSync)||void 0===r?void 0:r.call(o))||void 0===i?void 0:i.platform)||void 0===s?void 0:s.toLowerCase();return"android"===e||"ios"===e}catch(c){return!1}return!1}function tm(e){return null==e||"object"!=typeof e?e:e instanceof Error?`${e.name}: ${e.message}`:Wv(e)}function nm(e){if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return String(e);if("bigint"==typeof e)return String(e);if("symbol"==typeof e)try{return e.toString()}catch(t){return"?"}if("function"==typeof e){return`[Function ${e.name||"anonymous"}]`}return"object"==typeof e?e instanceof Error?`${e.name}: ${e.message}`:Wv(e):String(e)}function om(e,t){if("log"!==e&&void 0!==Qv&&Qv)return;const n=console[e];if(!em())return void n.call(console,Gv,...t);const o=em()?t.map(tm):t;if(0===o.length)return void n.call(console,Gv);const r=o.map(nm).join(" ");n.call(console,`${Gv} ${r}`)}function rm(){if(void 0!==Zv)return Zv;return!1}const im={debug(...e){rm()&&om("log",e)},info(...e){om("info",e)},warn(...e){om("warn",e)},error(...e){om("error",e)},setDebug:function(e){Zv=e},isDebug:rm,setMuteNonDebug:function(e){Qv=e}},sm=new Map,am=new Set;function lm(e){return`UNI_STAT_DATA:__UNI__03BCD3D:${e}`}function cm(){const e=Jv(),t=null!=e&&"object"==typeof e?e:void 0;if(!t||"function"!=typeof t.getStorageSync)throw new Error("[uniç»è®¡ 2.0] uni storage API is not available");return t}function um(e){const t=lm(e);if(sm.has(t))return sm.get(t);try{const e=cm().getStorageSync(t);return""===e||null==e?void sm.set(t,void 0):(sm.set(t,e),am.add(t),e)}catch(n){return}}function dm(e,t){const n=lm(e);if(void 0!==t){sm.set(n,t),am.add(n);try{cm().setStorageSync(n,t)}catch(o){}}else fm(e)}function fm(e){const t=lm(e);sm.set(t,void 0);try{cm().removeStorageSync(t)}catch(n){}}const pm={get:um,set:dm,remove:fm,safeRead:function(e){const t=lm(e);if(sm.has(t))return{ok:!0,value:sm.get(t)};try{const e=cm().getStorageSync(t);return""===e||null==e?(sm.set(t,void 0),{ok:!0,value:void 0}):(sm.set(t,e),am.add(t),{ok:!0,value:e})}catch(n){return{ok:!1,value:void 0}}},batchGet:function(e){const t={};for(const n of e)t[n]=um(n);return t},batchSet:function(e){for(const t of Object.keys(e))dm(t,e[t])},clearNamespace:function(){let e;try{e=cm()}catch(t){}for(const o of Array.from(am)){try{null==e||e.removeStorageSync(o)}catch(n){}sm.set(o,void 0)}am.clear()},__resetCache:function(){sm.clear(),am.clear()}},hm={fvts:0,lvts:0,tvc:0,isNewUser:!0,degraded:!1};let gm=null,vm=null,mm=null,ym=null,bm=null,_m=!1;function wm(e){if("number"==typeof e&&Number.isFinite(e)&&e>=0)return e;if("string"==typeof e&&e.length>0){const t=Number(e);if(Number.isFinite(t)&&t>=0)return t}return 0}function Sm(e){return!!e.isNewUser&&(!e.degraded||function(e){return 0===e.fvts&&0===e.lvts&&0===e.tvc}(e))}function xm(){return gm||(gm=hm),gm}function Tm(e){pm.set("visit:fvts",e),pm.set("visit:lvts",e),pm.set("visit:tvc",1);const t={fvts:e,lvts:e,tvc:1,isNewUser:!1,degraded:!1};gm=t,ym=t}function km(e){if(vm){const t=xm(),n=0===t.fvts?e:t.fvts,o=e,r=vm.tvc;return pm.set("visit:fvts",n),pm.set("visit:lvts",o),pm.set("visit:tvc",r),ym={fvts:n,lvts:o,tvc:r,isNewUser:!1,degraded:!1},gm=ym,void(vm=null)}if(!mm)return;const t=mm.fvts,n=e,o=mm.tvc;pm.set("visit:fvts",t),pm.set("visit:lvts",n),pm.set("visit:tvc",o),ym={fvts:t,lvts:n,tvc:o,isNewUser:!1,degraded:!1},gm=ym,mm=null}function Cm(){vm=null,mm=null}const Em="session:entryRoute";let Am,Om,Lm=!1;function $m(e){if(!e)return;Rm()||(pm.set(Em,e),Am=e)}function Rm(){if(void 0!==Am)return Am||void 0;const e=pm.safeRead(Em);return e.ok?"string"==typeof e.value&&e.value.length>0?(Am=e.value,e.value):void(Am=""):void 0}function Im(e){return!Lm&&function(e){return!!e&&Rm()===e}(e)}function Pm(){Lm=!0}function Mm(){Am="",Lm=!1,pm.remove(Em)}function Nm(){let e={};return e=function(){if(Om)return Om;Om={};try{const e='{"pages/webview/url-edit":"æ¶èç½å","pages/login/index":"ç»å½","pages/search/index":"æç´¢","pages/news/index":"èµè®¯","pages/member/index":"æç"}',t=JSON.parse(e);t&&"object"==typeof t&&!Array.isArray(t)&&(Om=t)}catch(e){Om={}}return Om}(),e}const Bm={page:"",config:"",report:""};function jm(e){Bm.report="string"==typeof e?e:""}function Dm(){return{ttn:Bm.page,ttpj:Bm.config,ttc:Bm.report}}function Vm(){return Date.now()}function Hm(){return Math.floor(Date.now()/1e3)}function Fm(e){const t=e>0?e:0;return t<1?1:t}function Wm(e){var t,n,o,r,i;const s=e=>{const t=e.toLowerCase().trim();return t?"devtools"===t?"":"android"===t?"android":"ios"===t||"iphone"===t?"ios":t.includes("android")?"android":t.includes("iphone")||"iphone os"===t||/\bios\b/.test(t)?"ios":t.includes("harmony")||"ohos"===t||"openharmony"===t?"harmonyos":t.includes("windows")||"windows_nt"===t?"windows":"mac"===t||"darwin"===t||t.includes("mac os")||"macos"===t?"macos":t.includes("linux")&&!t.includes("android")?"linux":"":""},a=s(null!==(t=e.platform)&&void 0!==t?t:"");
25if(a)return a;const l=s(null!==(n=e.osName)&&void 0!==n?n:"");if(l)return l;const c=(null!==(o=e.system)&&void 0!==o?o:"").toLowerCase();if(c.includes("android"))return"android";if(c.includes("iphone")||/\bios\b/.test(c))return"ios";if(c.includes("harmony")||c.includes("ohos"))return"harmonyos";if(c.includes("windows"))return"windows";if(c.includes("mac os")||c.includes("darwin"))return"macos";if(c.includes("linux"))return"linux";const u=Xv().plus,d=s(null!==(i=null===(r=null==u?void 0:u.os)||void 0===r?void 0:r.name)&&void 0!==i?i:"");return d||""}const qm={app:"n","app-plus":"n","app-harmony":"n","mp-harmony":"mhm",h5:"h5","mp-weixin":"wx",[["y","a","p","mp-ali"].reverse().join("")]:"ali","mp-baidu":"bd","mp-toutiao":"tt","mp-qq":"qq","mp-kuaishou":"ks","mp-lark":"lark","mp-xhs":"xhs","mp-jd":"jd","quickapp-native":"qn","quickapp-webview":"qw"};function Um(){return null!=="h5"?"h5":""}function zm(){var e;const t=Um(),n=qm[t];if(!n)return"unknown";if("ali"===n){const t=Xv().my;return"dingtalk"===(null===(e=null==t?void 0:t.env)||void 0===e?void 0:e.clientName)?"dt":"ali"}return n}function Ym(){const e=Um();return"app"===e||"app-plus"===e||"app-harmony"===e}function Xm(){return Um().startsWith("mp-")}function Km(){return"h5"===Um()}function Jm(){return Boolean(Xv().__NVUE__)}let Gm=null;function Zm(){return`${Vm()}${Math.floor(1e6*Math.random()).toString().padStart(6,"0")}`}function Qm(e){qv((()=>pm.set("device:uuid",e)),void 0)}function ey(){return qv((()=>{const e=Xv();if(e.navigator&&!1===e.navigator.cookieEnabled)return;const t=e.localStorage;return t&&"function"==typeof t.getItem&&"function"==typeof t.setItem?t:void 0}),void 0)}function ty(e){const t=ey();t&&qv((()=>t.setItem("__DC_STAT_UUID",e)),void 0)}function ny(){if(Ym()||Km()||"mp-weixin"===Um()){const e=function(){const e=Jv(),t=null!=e&&"object"==typeof e?e:void 0;return t&&"function"==typeof t.getDeviceInfo?qv((()=>{var e;return null!==(e=t.getDeviceInfo().deviceId)&&void 0!==e?e:""}),""):""}();if(e)return e}return function(){const e=Jv(),t=null!=e&&"object"==typeof e?e:void 0;return t&&"function"==typeof t.getSystemInfoSync?qv((()=>{var e;return null!==(e=t.getSystemInfoSync().deviceId)&&void 0!==e?e:""}),""):""}()}function oy(){if(Gm)return Gm;if(Km()){const e=function(){const e=ey();return e?qv((()=>{const t=e.getItem("__DC_STAT_UUID");return"string"==typeof t?t:""}),""):""}();if(e)return Gm=e,Gm}const e=ny();if(e)return Qm(e),Km()&&ty(e),Gm=e,Gm;const t=pm.safeRead("device:uuid");if(t.ok){const e=t.value;if("string"==typeof e&&e.length>0){if(e.startsWith("device-anon-")){const e=Zm();return Qm(e),Km()&&ty(e),Gm=e,Gm}return Gm=e,Gm}const n=Zm();return Qm(n),Km()&&ty(n),Gm=n,Gm}const n=Zm();return Km()?(ty(n),Gm=n,Gm):n}function ry(e){const t=Math.random().toString(36).slice(2,2+e);return t.length>=e?t:t.padEnd(e,"0")}function iy(){return`${ry(8)}-${ry(4)}`}function sy(e){return e&&e.length>0?`${e}-${iy()}`:`${Vm()}${Math.floor(1e6*Math.random()).toString().padStart(6,"0")}-${iy()}`}const ay={backgroundTimeoutSec:300,pageInactiveTimeoutSec:1800};let ly=Object.assign({},ay),cy=null;function uy(e){const t=pm.safeRead(e);if(!t.ok)return 0;const n=t.value;if("number"==typeof n&&Number.isFinite(n)&&n>=0)return n;if("string"==typeof n&&n.length>0){const e=Number(n);if(Number.isFinite(e)&&e>=0)return e}return 0}function dy(e){const t=pm.safeRead(e);return t.ok&&"string"==typeof t.value?t.value:""}function fy(e,t){const n=e-t;return n>0?n:0}function py(){const e=dy("session:id");return e?{sid:e,sst:uy("session:start"),sct:uy("session:sct")||Nv,seq:uy("session:seq"),lastActive:uy("session:lastActive"),bgTs:uy("session:bgTs"),lastScene:dy("session:lastScene")}:null}function hy(){return null!==cy||(cy=py()),cy}function gy(e,t,n){const o=sy(oy()),r={sid:o,sst:e,sct:t,seq:0,lastActive:e,bgTs:0,lastScene:n};return pm.set("session:id",o),pm.set("session:start",e),pm.set("session:sct",t),pm.set("session:seq",0),pm.set("session:lastActive",e),pm.set("session:bgTs",0),pm.set("session:lastScene",n),cy=r,r}function vy(e,t){const{now:n,scene:o=""}=t,r=hy();if("cold_launch"===e){return{snapshot:gy(n,Nv,o),isNew:!0,cst:Nv}}if(!r){return{snapshot:gy(n,Nv,o),isNew:!0,cst:Nv}}if("app_show"===e){const e=[];t.backgroundEnteredAt&&t.backgroundEnteredAt>0&&e.push(t.backgroundEnteredAt),r.bgTs>0&&e.push(r.bgTs);const i=e.length>0?Math.min(...e):0,s=fy(n,i>0?i:r.lastActive),a=i>
250;if(!!o&&!!r.lastScene&&o!==r.lastScene||a&&s>=ly.backgroundTimeoutSec){return{snapshot:gy(n,Bv,o),isNew:!0,cst:Bv}}return my(n),pm.set("session:bgTs",0),cy&&(cy.bgTs=0),{snapshot:cy,isNew:!1,cst:0}}if("wx_scene_changed"===e){if(o&&o!==r.lastScene){return{snapshot:gy(n,Bv,o),isNew:!0,cst:Bv}}return{snapshot:r,isNew:!1,cst:0}}if(fy(n,r.lastActive)>=ly.pageInactiveTimeoutSec){return{snapshot:gy(n,jv,o||r.lastScene),isNew:!0,cst:jv}}return my(n),{snapshot:cy,isNew:!1,cst:0}}function my(e){cy||(cy=py()),cy&&(pm.set("session:lastActive",e),cy.lastActive=e)}function yy(){if(cy||(cy=py()),!cy)return 0;const e=cy.seq+1;return cy.seq=e,pm.set("session:seq",e),e}function by(){return hy()}function _y(e){var t,n,o,r,i,s,a,l;if(!e)return null;const c=null!==(o=null===(n=null===(t=e.$)||void 0===t?void 0:t.type)||void 0===n?void 0:n.mpType)&&void 0!==o?o:null===(r=e.type)||void 0===r?void 0:r.mpType;return"page"===e.mpType||"page"===e.$mpType||"page"===(null===(i=e.$mp)||void 0===i?void 0:i.mpType)||"page"===(null===(s=e.$options)||void 0===s?void 0:s.mpType)||"page"===c?"page":"app"===e.mpType||"app"===e.$mpType||"app"===(null===(a=e.$mp)||void 0===a?void 0:a.mpType)||"app"===(null===(l=e.$options)||void 0===l?void 0:l.mpType)||"app"===c?"app":null}function wy(){var e;const t=Xv().getCurrentPages;if("function"!=typeof t)return;const n=qv((()=>t()),[])||[];if(!Array.isArray(n)||0===n.length)return;const o=n[n.length-1];return null!==(e=null==o?void 0:o.$vm)&&void 0!==e?e:o}function Sy(e){var t,n,o,r,i,s,a,l,c,u,d;const f=null!=e?e:wy();if(!f)return"";if("bd"===zm()){const e=null!==(i=null!==(o=null===(n=null===(t=f.$mp)||void 0===t?void 0:t.page)||void 0===n?void 0:n.is)&&void 0!==o?o:null===(r=f.$scope)||void 0===r?void 0:r.is)&&void 0!==i?i:"";if(e)return e}return null!==(d=null!==(l=null!==(s=f.route)&&void 0!==s?s:null===(a=f.$scope)||void 0===a?void 0:a.route)&&void 0!==l?l:null===(u=null===(c=f.$mp)||void 0===c?void 0:c.page)||void 0===u?void 0:u.route)&&void 0!==d?d:""}function xy(e){if(null!=e&&""!==e)return String(e);const t=function(){const e=Jv();return null!=e&&"object"==typeof e?e:void 0}();return"function"!=typeof(null==t?void 0:t.getLaunchOptionsSync)?"":Xm()?qv((()=>{const e=t.getLaunchOptionsSync(),n=null==e?void 0:e.scene;return null==n?"":String(n)}),""):""}function Ty(e={}){const{enabled:t=!1,timeoutMs:n=3e3}=e;return new Promise((e=>{if(!t)return void e({ok:!1,cid:"",reason:"disabled"});const o=function(){const e=Jv();return null!=e&&"object"==typeof e?e:void 0}();if(!o||"function"!=typeof o.getPushClientId)return void e({ok:!1,cid:"",reason:"unsupported"});let r=!1;const i=t=>{r||(r=!0,e(t))},s=setTimeout((()=>i({ok:!1,cid:"",reason:"timeout"})),n);qv((()=>o.getPushClientId({success:e=>{clearTimeout(s);const t="string"==typeof(null==e?void 0:e.cid)?e.cid:"";i(t?{ok:!0,cid:t}:{ok:!1,cid:"",reason:"fail"})},fail:()=>{clearTimeout(s),i({ok:!1,cid:"",reason:"fail"})}})),void 0)}))}function ky(e){return"number"==typeof e&&Number.isFinite(e)?Math.floor(e):Hm()}const Cy={lastRoute:"",lastRouteFull:"",beforeLastRoute:"",beforeLastRouteFull:"",lastRouteEnterTime:0,lastPageTitleSnap:Object.assign({},{ttn:"",ttpj:"",ttc:""}),lastIey:!1,prevIey:!1,isHide:!1,wasBackgrounded:!1,pendingBackgroundResume:!1,backgroundEnteredAt:0,suppressNextPageLogAfterResume:!1,backgroundResumeLt1At:0};let Ey;function Ay(){return!Uy()}function Oy(e){Cy.backgroundResumeLt1At=e}function Ly(){void 0!==Ey&&(clearTimeout(Ey),Ey=void 0)}function $y(e,t){Cy.pendingBackgroundResume||(Km()?function(e,t){var n;if(!Km())return;if(Cy.pendingBackgroundResume)return;"hidden"===(null===(n=globalThis.document)||void 0===n?void 0:n.visibilityState)&&Dy(e,t)}(e,t):function(e,t){Km()||Cy.pendingBackgroundResume||(Ly(),Ey=setTimeout((()=>{Ey=void 0,Cy.pendingBackgroundResume||Dy(e,t)}),120))}(e,t))}function Ry(e){return e.getCollector()}function Iy(e){var t;if(!e||"string"!=typeof e)return"";const n=null!==(t=e.split("?")[0])&&void 0!==t?t:"";return n.startsWith("/")?n.slice(1):n}function Py(e,t,n,o,r,i=""){let s;r&&!My?(My=!0,s=qv((()=>function(e){const t=xm();if(_m&&bm)return im.warn("[uniç»è®¡ 2.0] buildVisitFields() called twice in same process;
25 returning cached fields"),Object.assign({},bm);if(_m=!0,Sm(t))vm={fvts:e,lvts:0,tvc:1,now:e},Tm(e);else if(t.isNewUser){im.warn("[uniç»è®¡ 2.0] visit degraded: lvts 读åå¤±è´¥ä½æ£æµå°å岿°æ®ï¼æèç¨æ·å¤ç以é¿å
æ°å¢èé«");const n=t.fvts>0?t.fvts:e;vm={fvts:n,lvts:n,tvc:t.tvc+1,now:e}}else vm={fvts:t.fvts,lvts:t.lvts,tvc:t.tvc+1,now:e};return bm={fvts:vm.fvts,lvts:vm.lvts,tvc:vm.tvc},Object.assign({},bm)}(o)),void 0)):s=qv((()=>function(e){let t,n,o;if(ym)t=ym.fvts,n=ym.lvts,o=ym.tvc+1;else if(bm)t=bm.fvts,n=0!==bm.lvts?bm.lvts:bm.fvts,o=bm.tvc;else{const r=xm();Sm(r)?(t=e,n=0,o=1,Tm(e)):r.isNewUser?(t=r.fvts>0?r.fvts:e,n=t,o=r.tvc+1):(t=r.fvts,n=r.lvts,o=r.tvc+1)}return mm={fvts:t,lvts:n,tvc:o,now:e},{fvts:t,lvts:n,tvc:o}}(o)),void 0);const a={lt:Lv,t:o,sc:n,visit:s};i&&(a.url=i),e.report(a)}let My=!1,Ny=0;function By(e,t={},n={},o="unknown",r,i=!1){if(!Cy.pendingBackgroundResume)return!1;const s=Cy.backgroundEnteredAt;if(s<=0)return!1;const a=Ry(e);if(!a)return!1;const l=ky(r);if(l-s<1&&!i)return Cy.suppressNextPageLogAfterResume=!0,!0;Cy.wasBackgrounded=!1,Cy.suppressNextPageLogAfterResume=!0,Cy.lastRouteEnterTime=l;const c=qv((()=>xy(t.scene)),""),u=qv((()=>vy("app_show",{now:l,scene:c,backgroundEnteredAt:s})),null);if(Cy.pendingBackgroundResume=!1,Cy.backgroundEnteredAt=0,!u||!u.isNew)return!0;qv((()=>Mm()),void 0);const d=t.path||Cy.lastRoute||"",f=Iy(d);return f&&qv((()=>$m(f)),void 0),Py(a,u.cst,c,l,!1,d),Oy(l),a.flush(!0).catch((e=>im.warn("[uniç»è®¡ 2.0] flush after new session (app_show) failed",e))),!0}function jy(e,t={},n={},o,r=!1){if(By(e,t,n,"handleAppShow",o,r))return;const i=Ry(e);if(!i)return;const s=ky(o),a=qv((()=>xy(t.scene)),"");if(function(e){return Cy.backgroundResumeLt1At>0&&e-Cy.backgroundResumeLt1At<=3}(s))return void qv((()=>function(e){e&&(cy||(cy=py()),cy&&(pm.set("session:lastScene",e),cy.lastScene=e))}(a)),void 0);const l=qv((()=>vy("app_show",{now:s,scene:a})),null);if(!l||!l.isNew)return;qv((()=>Mm()),void 0);const c=t.path||Cy.lastRoute||"",u=Iy(c);u&&qv((()=>$m(u)),void 0),Py(i,l.cst,a,s,!1,c),Oy(s),i.flush(!0).catch((e=>im.warn("[uniç»è®¡ 2.0] flush after new session (app_show) failed",e)))}function Dy(e,t={},n){if(Cy.pendingBackgroundResume)return;const o=Ry(e);if(!o)return;const r=ky(n);Cy.wasBackgrounded=!0,Cy.pendingBackgroundResume=!0,Cy.backgroundEnteredAt=r,qv((()=>function(e){cy||(cy=py()),cy&&(pm.set("session:bgTs",e),cy.bgTs=e)}(r)),void 0);const i=Fm(Cy.lastRouteEnterTime>0?r-Cy.lastRouteEnterTime:0);if(Cy.lastRoute&&!1!==t.enablePageLog){const e=Cy.lastRouteFull||Cy.lastRoute,t=Cy.beforeLastRouteFull||Cy.beforeLastRoute||"",n=Cy.lastPageTitleSnap,s={lt:Rv,t:r,url:e,urlref_ts:i,iey:Cy.lastIey,ppiey:Cy.prevIey,ttn:n.ttn,ttpj:n.ttpj,ttc:n.ttc};t&&(s.urlref=t),o.report(s),Cy.lastIey&&(qv((()=>Pm()),void 0),Cy.lastIey=!1)}o.report({lt:$v,t:r,urlref:Cy.lastRoute,urlref_ts:i}),o.flush(!0).catch((e=>im.warn("[uniç»è®¡ 2.0] flush on hide failed",e)))}function Vy(e,t,n={},o){const r=Ry(e);if(!r)return;Cy.pendingBackgroundResume&&Ay()&&By(e,{},n,"handlePageShow",o);const i=ky(o),s=qv((()=>Sy(t)),""),a=qv((()=>function(e){var t,n;const o=null!=e?e:wy();if(!o)return"";const r=null!==(t=o.$page)&&void 0!==t?t:null===(n=o.$scope)||void 0===n?void 0:n.$page;if(r){if(r.fullPath&&"/"!==r.fullPath)return r.fullPath;if(r.route)return r.route}return Sy(o)}(t)),"")||s;if(!s&&!a)return;const l=qv((()=>vy("page_show",{now:i})),null);if(!l)return;qv((()=>{return e=function(e){if(!e||"string"!=typeof e)return"";const t=e.split("?")[0].trim();if(!t)return"";const n=Nm();let o="";const r=[t];t.startsWith("/")?r.push(t.slice(1)):r.push(`/${t}`);for(const i of r){const e=n[i];if("string"==typeof e&&e.length>0){o=e;break}}return o}(s),void(Bm.config="string"==typeof e?e:"");var e}),void 0),l.isNew&&qv((()=>Mm()),void 0),s&&qv((()=>$m(s)),void 0),l.isNew&&Py(r,l.cst,"",i,!1,a);const c=Cy.suppressNextPageLogAfterResume;if(Cy.lastRoute&&!1!==n.enablePageLog&&!c){const e=Fm(Cy.lastRouteEnterTime>0?i-Cy.lastRouteEnterTime:0),t=Cy.lastRouteFull||Cy.lastRoute,n=Cy.beforeLastRouteFull||Cy.beforeLastRoute||"",o=Cy.lastPageTitleSnap,s={lt:Rv,t:i,url:t,urlref_ts:e,iey:Cy.lastIey,ppiey:Cy.prevIey};n&&(s.urlref=n),s.ttn=o.ttn,s.ttpj=o.ttpj,s.ttc=o.ttc,r.report(s),Cy.lastIey&&qv((()=>Pm()),void 0)}Cy.beforeLastRoute=Cy.lastRoute,Cy.beforeLastRouteFull=Cy.lastRouteFull,Cy.prevIey=Cy.lastIey,Cy.lastIey=!!s&&qv((()=>Im(s)),!1),Cy.lastRoute=s,Cy.lastRouteFull=a,Cy.lastRouteEnterTime=i,Cy.suppressNextPageLogAfterResume=!1,function(){const e=Ny;("function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)})((()=>{qv((()=>{e===Ny&&(Cy.lastPageTitleSnap=Object.assign({}
25,Dm()))}),void 0)}))}(),Cy.isHide=!1,l.isNew&&r.flush(!0).catch((e=>im.warn("[uniç»è®¡ 2.0] flush after new session (page_show) failed",e)))}function Hy(e,t){Ry(e)&&(Cy.isHide=!0,Ny++,Cy.lastPageTitleSnap=Object.assign({},Dm()),qv((()=>{Bm.page=""}),void 0),qv((()=>jm("")),void 0))}const Fy="function"==typeof WeakSet?new WeakSet:{has:()=>!1,add:()=>Fy};function Wy(){const e=Jv();return null!=e&&"object"==typeof e?e:void 0}function qy(){let e=Km()||"n"===zm()||Jm();return e=Km()||"n"===zm()||Jm(),e}function Uy(){let e=!Km()&&"n"!==zm()&&!Jm();return e=!Km()&&"n"!==zm()&&!Jm(),e}const zy={showBound:!1,hideBound:!1,appShowCb:void 0,appHideCb:void 0};function Yy(e,t={}){if(!Uy())return!1;const n=Wy();return!!n&&(zy.showBound||"function"!=typeof n.onAppShow||(zy.appShowCb=n=>jy(e,null!=n?n:{},t),qv((()=>n.onAppShow(zy.appShowCb)),void 0),zy.showBound=!0),zy.hideBound||"function"!=typeof n.onAppHide||(zy.appHideCb=()=>Dy(e,t),qv((()=>n.onAppHide(zy.appHideCb)),void 0),zy.hideBound=!0),zy.showBound&&zy.hideBound)}function Xy(e,t={}){let n=!0;const o={onLaunch(n={}){!function(e,t={},n={},o){const r=Ry(e);if(!r)return;const i=ky(o),s=qv((()=>xy(t.scene)),""),a=qv((()=>vy("cold_launch",{now:i,scene:s})),null);if(!a)return;qv((()=>Mm()),void 0);const l=t.path||"",c=Iy(l);c&&qv((()=>$m(c)),void 0),Py(r,a.cst,s,i,!0,l),n.enablePush&&Ty({enabled:!0,timeoutMs:n.pushTimeoutMs}).then((t=>{if(!t.ok||!t.cid)return;const n=Ry(e);n&&n.report({lt:Mv,cid:t.cid,t:Hm()})})).catch((e=>im.warn("[uniç»è®¡ 2.0] push cid fetch failed",e)))}(e,n,t)},onLoad(){},onShow(){const n=_y(this);Ly(),Cy.pendingBackgroundResume&&Ay()&&By(e,{},t,"mixin.onShow"),Cy.isHide=!1,"page"===n&&Vy(e,this,t),qy()&&"app"===n&&jy(e,{},t)},onHide(){Cy.isHide=!0,"page"===_y(this)&&(Hy(e),$y(e,t)),qy()&&"app"===_y(this)&&!Cy.pendingBackgroundResume&&Dy(e,t)},onUnload(){Cy.isHide?Cy.isHide=!1:Hy(e)},onError(t){!function(e,t,n,o=!0){const r="object"==typeof t&&null!==t;if(!r||!Fy.has(t)){r&&Fy.add(t);try{e.reportError(t,n)}catch(i){im.warn("[uniç»è®¡ 2.0] handleError failed",i)}o&&!Xm()&&qv((()=>{setTimeout((()=>{throw t}),0)}),void 0)}}(e,t)}};return Uy()&&Yy(e,t),{mixin:o,tryBindUniAppHooks:()=>Uy()&&Yy(e,t),unbind(){n&&(n=!1,function(){if(!zy.showBound&&!zy.hideBound)return;const e=Wy();zy.showBound&&zy.appShowCb&&(null==e?void 0:e.offAppShow)&&qv((()=>e.offAppShow(zy.appShowCb)),void 0),zy.hideBound&&zy.appHideCb&&(null==e?void 0:e.offAppHide)&&qv((()=>e.offAppHide(zy.appHideCb)),void 0),zy.showBound=!1,zy.hideBound=!1,zy.appShowCb=void 0,zy.appHideCb=void 0}())}}}const Ky="https://tongji.dcloud.io/uni/stat.gif",Jy="https://tongji-collector.dcloud.net.cn",Gy="964f0397-af5d-45bf-99d6-8fb3500d7849",Zy="8563e231-f4cd-4ab0-8870-917e4b04e810";function Qy(){var e;return null!==(e="__UNI__03BCD3D")?e:""}function eb(e){if(e)return e;const t=Jv(),n=null!=t&&"object"==typeof t?t:void 0;return null==n?void 0:n.__stat_uniCloud_space}function tb(e={}){var t,n;const o=null!==(t=e.receiverName)&&void 0!==t?t:"uni-stat-receiver",r=null!==(n=e.maxRetries)&&void 0!==n?n:2;function i(t){const n=function(){const t=eb(e.uniCloudSpace);if(t&&"function"==typeof t.importObject)try{return t.importObject(o,{customUI:!0})}catch(n){return void im.warn("[uniç»è®¡ 2.0] cloud importObject threw",n)}}();return n&&"function"==typeof n.report?Promise.resolve(n.report(t)).then((e=>{!function(e){if(!e||"object"!=typeof e)return;const t=e;if(!1===t.success)throw new Error("cloud receiver reported success=false");if("number"==typeof t.errCode&&0!==t.errCode)throw new Error("cloud receiver reported errCode="+String(t.errCode))}(e)})):Promise.reject(new Error("uniCloud space unavailable"))}return{name:"2.0",available(){const t=eb(e.uniCloudSpace);return!(!t||"function"!=typeof t.importObject)},send(t){return Fv(this,void 0,void 0,(function*(){try{yield Uv((()=>i(t)),{times:r,baseDelayMs:1e3,sleep:e.sleep})}catch(n){throw im.warn("[uniç»è®¡ 2.0] ç»è®¡ä¸æ¥å¤±è´¥ï¼äºå½æ°å·²éè¯ï¼",n),n}}))}}}function nb(e){let t=0;for(const n of Object.keys(e)){const o=e[n];Array.isArray(o)&&(t+=o.length)}return t}function ob(e){if(!im.isDebug())return;const t=e.lt,n=function(e){switch(e){case Lv:return"åºç¨å¯å¨";case $v:return"åºç¨è¿å
¥åå°";case Rv:return"页é¢åæ¢";case Iv:return"äºä»¶è§¦å";case Pv:return"åºç¨é误";case Mv:return"PUSH è®¾å¤æ è¯";
25default:return`æªç¥äºä»¶ (lt=${String(null!=e?e:"?")})`}}(t);im.debug(`=== ç»è®¡æ°æ®ééï¼${n} (lt=${String(null!=t?t:"?")}) ===`),im.debug(e),im.debug("=== ééç»æ ===")}function rb(e){if(!im.isDebug())return;const t=nb(e.bucket),n=function(e){const t=[];for(const n of Object.keys(e)){const o=e[n];Array.isArray(o)&&o.length>0&&t.push(`lt=${n}Ã${o.length}`)}return t.join(", ")||"<空>"}(e.bucket);im.debug(`=== åå¤ä¸æ¥ï¼å
± ${t} æ¡äºä»¶ (${n}) ===`)}function ib(e){im.isDebug()&&(im.debug(`åå : ${cb(e.error)}`),e.persistedId?im.debug(`å·²æåéè¯éå [retryId=${e.persistedId}]ï¼ä¸æ¬¡å¯å¨èªå¨ç»ä¼ `):im.debug("æªè½åå
¥éè¯éåï¼æ¬æ¹æ°æ®å·²ä¸¢å¼"))}function sb(e){im.isDebug()&&(0===e.failedCount?im.debug(`=== 䏿¥æåï¼ ${e.okCount} æ¡äºä»¶å·²éè¾¾, ç¨æ¶ ${e.elapsedMs}ms ===`):0===e.okCount?im.debug(`=== 䏿¥å¤±è´¥ï¼ ${e.failedCount} æ¡äºä»¶æªéè¾¾, ç¨æ¶ ${e.elapsedMs}ms ===`):im.debug(`=== 䏿¥å®æï¼æå ${e.okCount} æ¡ï¼å¤±è´¥ ${e.failedCount} æ¡ï¼ç¨æ¶ ${e.elapsedMs}ms ===`))}function ab(e){im.isDebug()&&im.debug(`=== 䏿¥è·³è¿ï¼å½åæ å¯ç¨ééï¼å·²åæ» ${nb(e.bucket)} æ¡äºä»¶å
¥é ===`)}function lb(e){im.isDebug()&&(e.ok?im.debug(`ç»ä¼ æå (${e.index}/${e.total})`):im.debug(`ç»ä¼ 失败 (${e.index}/${e.total})ï¼${cb(e.error)}`))}function cb(e){return e?e instanceof Error?`${e.name}: ${e.message}`:"string"==typeof e?e:Wv(e)||String(e):"<æ é误对象>"}const ub={1:1,11:2,21:3,31:4,101:5,3:100};function db(e){return JSON.stringify(fb(e))}function fb(e){const t=Object.keys(e);t.sort(((e,t)=>pb(e)-pb(t)));const n=[];for(let o=0;o<t.length;o++){const r=e[t[o]];if(r&&0!==r.length)for(let e=0;e<r.length;e++)n.push(r[e])}return n}function pb(e){const t=ub[e];return"number"==typeof t?t:50}function hb(e,t={}){const n=fb(e);if(0===n.length)return[];const o=function(e,t={}){var n,o;const r=null!==(n=t.maxEvents)&&void 0!==n?n:1/0,i=null!==(o=t.maxBytes)&&void 0!==o?o:1/0,s=[];if(!Array.isArray(e)||0===e.length)return s;const a=r>0?r:1/0,l=i>0?i:1/0;let c=[],u=2;for(let f=0;f<e.length;f++){const t=e[f];let n="";try{n=JSON.stringify(t)}catch(d){continue}const o=0===c.length?n.length:n.length+1;(c.length>=a||c.length>0&&u+o>l)&&(s.push(c),c=[],u=2),c.push(t),u+=1===c.length?n.length:n.length+1}return c.length>0&&s.push(c),s}(n,t),r=[];for(let i=0;i<o.length;i++)r.push(JSON.stringify(o[i]));return r}class gb extends Error{constructor(e){super(e),this.permanent=!0,this.name="PermanentChannelError",Object.setPrototypeOf(this,gb.prototype)}}function vb(e){if(!e||"object"!=typeof e)return!1;if(e instanceof gb)return!0;const t=e;return"PermanentChannelError"===t.name||!0===t.permanent}function mb(e){return"p-"+e.toString(36)+"-"+Math.random().toString(36).slice(2,6)}function yb(e){let t,n=!1,o=null;function r(){null!=o&&(clearTimeout(o),o=null)}function i(t){const n=e.resolveUploadFields?e.resolveUploadFields():{},o=Object.keys(n).filter((e=>{const t=n[e];return""!==t&&null!=t}));if(0!==o.length)for(const e of Object.keys(t)){const r=t[e];if(Array.isArray(r))for(let e=0;e<r.length;e++){const t=r[e];for(let e=0;e<o.length;e++){const r=o[e];t[r]=n[r]}}}}function s(t){const n=function(t){const n=e.resolveUploadFields?e.resolveUploadFields():{},o=Object.keys(n).filter((e=>{const t=n[e];return""!==t&&null!=t}));if(0===o.length)return t;try{const e=JSON.parse(t);if(!Array.isArray(e))return t;for(let t=0;t<e.length;t++){const r=e[t];if(r&&"object"==typeof r)for(let e=0;e<o.length;e++){const t=o[e];r[t]=n[t]}}return JSON.stringify(e)}catch(r){return t}}(t.requests);return n===t.requests?t:Object.assign({},t,{requests:n})}function a(){return Fv(this,arguments,void 0,(function*(t=!1){var n,o,r,s,a;if(!e.queue.shouldFlush(t))return;if(e.isNetworkOffline){let t=!1;try{t=yield e.isNetworkOffline()}catch(w){t=!1}if(t)return void im.warn("[uniç»è®¡ 2.0] å½åæ ç½ç»ï¼å»¶å flush")}const c=e.queue.flush();if(!c)return;i(c);const u=e.selectChannel();if(!u)return im.warn("[uniç»è®¡ 2.0] æ å¯ç¨ä¸æ¥çº¿è·¯ï¼æ¬æ¹å·²åæ»éå"),ab({bucket:c}),void e.queue.rollback(c);const d=null!==(o=null===(n=e.batchLimits)||void 0===n?void 0:n.maxBytes)&&void 0!==o?o:4096,f="function"==typeof u.maxRequestBytes?u.maxRequestBytes():Number.POSITIVE_INFINITY,p=hb(c,{maxEvents:null!==(s=null===(r=e.batchLimits)||void 0===r?void 0:r.maxEvents)&&void 0!==s?s:30,maxBytes:Math.min(d,f)});if(0===p.length)return im.warn("[uniç»è®¡ 2.0] flush åçç»æä¸ºç©ºï¼å·²åæ»éå",c),void e.queue.rollback(c);const h=e.nowMs();let g=0;for(const e of Object.keys(c)){const t=c[e];Array.isArray(t)&&(g+=t.length)}rb({channel:u.name,bucket:c});const v=Array.isArray(c[1])&&c[1].length>0;let m=0,y=0,b=!0,_=!0;for(let i=0;i<p.length;i++){const t=p[i],n={usv:e.config.usv,t:e.nowSec(),requests:t,_id:(null!==(a=e.genPayloadId)&&void 0!==a?a:()=>mb(e.nowMs()))()},o=l(t);try{yield u.send(n),m+=o}catch(S){if(b=!1,0===i&&(_=!1),y+=o,vb(S)){im.warn("[uniç»è®¡ 2.0] ç»è®¡ä¸æ¥å¤±è´¥ï¼æ¬æ¹å·²ä¸¢å¼ï¼ä¸å¯éè¯ï¼",S,"sliceBytes="+t.length),ib({error:S,persistedId:void 0});continue}im.warn("[uniç»è®¡ 2.0] ç»è®¡ä¸æ¥å¤±è´¥ï¼å·²æåï¼ä¸æ¬¡å¯å¨èªå¨éè¯ï¼",S);const r=e.retry.persist(n);r||im.warn("[uniç»è®¡ 2.0] ç»è®¡æåéè¯å¤±è´¥ï¼æ retryIdï¼ï¼æ¬æ¹å·²ä¸¢å¼"),ib({error:S,persistedId:r})}}qv((v?_:b)?()=>e.visit.commitVisitOnAck(e.nowSec()):()=>e.visit.rollbackPendingVisit(),void 0),sb({channel:u.name,okCount:m,failedCount:y,elapsedMs:e.nowMs()-h})}))}function l(e){try{const t=JSON.parse(e);return Array.isArray(t)?t.length:0}catch(t){return 0}}function c(){return Fv(this,void 0,void 0,(function*(){if(e.isNetworkOffline){let t=!1;try{t=yield e.isNetworkOffline()}catch(i){t=!1}if(t)return void im.warn("[uniç»è®¡ 2.0] å½åæ ç½ç»ï¼å»¶åç»ä¼ éè¯")}const t=e.retry.loadAll();if(0===t.length)return;const n=e.selectChannel();if(!n)return void im.warn("[uniç»è®¡ 2.0] ç»ä¼ éè¯è·³è¿ï¼å½åæ å¯ç¨ä¸æ¥çº¿è·¯");var o;o=t.length,im.isDebug()&&im.debug(`=== å·å¯ç»ä¼ ï¼åç° ${o} æ¡åå² payloadï¼å¼å§éæ¡éå ===`);let r=0;for(const l of t){r++;const o=s(l);
25try{yield n.send(o),l._id&&e.retry.ack(l._id),lb({index:r,total:t.length,payloadId:l._id,ok:!0})}catch(a){if(vb(a)){l._id&&e.retry.ack(l._id),im.warn("[uniç»è®¡ 2.0] ç»ä¼ éè¯å¤±è´¥ï¼ä¸å¯éè¯ï¼å·²ä»éåç§»é¤ï¼",a,"id="+l._id),lb({index:r,total:t.length,payloadId:l._id,ok:!1,error:a});continue}l._id&&e.retry.markAttempt&&e.retry.markAttempt(l._id),im.warn("[uniç»è®¡ 2.0] ç»ä¼ éè¯å¤±è´¥ï¼ä¿çéåï¼ä¸æ¬¡å¯å¨åè¯ï¼",a),lb({index:r,total:t.length,payloadId:l._id,ok:!1,error:a})}}}))}return{report:function(t){qv((()=>{const r="number"==typeof t.t?t.t:e.nowSec(),i=e.session.getSnapshot();let s;if(i){const t=e.session.nextSeq();s=Object.assign({},i,{seq:t})}i&&t.lt===Iv&&e.session.touch&&e.session.touch(r);const l=Object.assign({},t,{t:r,session:s}),c=e.builder.build(l);ob(c),e.queue.enqueue(function(e){const t={};for(const n of Object.keys(e)){const o=e[n];""!==o&&(t[n]=o)}return t}(c)),e.queue.shouldFlush()&&function(){var t;const r=Math.max(0,Math.floor(null!==(t=e.firstFlushDeferMs)&&void 0!==t?t:0));if(!n&&r>0){if(null!=o)return;o=setTimeout((()=>{o=null,n=!0,a(!1).catch((e=>im.warn("[uniç»è®¡ 2.0] auto-flush failed",e)))}),r)}else n=!0,a(!1).catch((e=>im.warn("[uniç»è®¡ 2.0] auto-flush failed",e)))}()}),void 0)},flush:function(){return Fv(this,arguments,void 0,(function*(e=!1){return r(),n=!0,a(e)}))},recoverRetry:function(){if(t)return t;const e=c();t=e;const n=()=>{t===e&&(t=void 0)};return e.then(n,n),e},destroy:function(){r(),n=!0}}}function bb(){const e=Jv();return null!=e&&"object"==typeof e?e:void 0}function _b(e,t=Ky){const n=Xv().Image;return"function"==typeof n&&qv((()=>((new n).src=t+"?"+function(e){const t=[];return t.push("usv="+encodeURIComponent(String(e.usv))),t.push("t="+encodeURIComponent(String(e.t))),t.push("requests="+encodeURIComponent(e.requests)),t.join("&")}(e),!0)),!1)}function wb(e={}){var t,n,o,r,i;const s=null!==(t=e.url)&&void 0!==t?t:"https://tongji.dcloud.io/uni/stat",a=null!==(n=e.h5Url)&&void 0!==n?n:Ky,l=null!==(o=e.ut)&&void 0!==o?o:"",c=null!==(r=e.timeoutMs)&&void 0!==r?r:1e4,u=null!==(i=e.maxRetries)&&void 0!==i?i:3;return{name:"1.0",available(){const e=bb();return!(!e||"function"!=typeof e.request)},send(t){return Fv(this,void 0,void 0,(function*(){try{yield Uv((()=>function(t){if("h5"===l&&!1!==e.preferImageOnH5&&_b(t,a))return Promise.resolve();const n=bb();return n&&"function"==typeof n.request?new Promise(((e,o)=>{let r=!1;const i=setTimeout((()=>{r||(r=!0,o(new Error("http timeout")))}),c);n.request({url:s,method:"POST",data:t,timeout:c,success:t=>{var n;if(r)return;r=!0,clearTimeout(i);const s=null!==(n=null==t?void 0:t.statusCode)&&void 0!==n?n:0;s>=200&&s<300?e():o(new Error("http status "+s))},fail:e=>{r||(r=!0,clearTimeout(i),o(e instanceof Error?e:new Error(String(e))))}})})):Promise.reject(new Error("uni.request unavailable"))}(t)),{times:u,baseDelayMs:1e3,sleep:e.sleep})}catch(n){throw im.warn("[uniç»è®¡ 2.0] ç»è®¡ä¸æ¥å¤±è´¥ï¼HTTP å·²éè¯ï¼",n),n}}))}}}function Sb(){const e=Jv();return null!=e&&"object"==typeof e?e:void 0}function xb(e,t=320){if(null==e)return"";if("string"==typeof e)return e.length<=t?e:e.slice(0,t)+"â¦";try{const n=JSON.stringify(e);return n.length<=t?n:n.slice(0,t)+"â¦"}catch(n){return String(e).slice(0,t)}}function Tb(e,t,n){return new Promise(((o,r)=>{let i=!1;const s=setTimeout((()=>{i||(i=!0,r(new Error("ç»è®¡ä¸æ¥è¶
æ¶(preloadAssets)")))}),t);try{n({data:[{type:"image",src:e}],success:()=>{i||(i=!0,clearTimeout(s),o())},fail:e=>{i||(i=!0,clearTimeout(s),r(function(e){if(e instanceof Error)return e;if(null!=e&&"object"==typeof e&&"errMsg"in e){const t=e.errMsg;if("string"==typeof t&&t.length>0)return new Error(t)}return null==e?new Error("preloadAssets fail (empty err)"):new Error(String(e))}(e)))}})}catch(a){if(i)return;i=!0,clearTimeout(s),r(a instanceof Error?a:new Error(String(a)))}}))}function kb(e={}){var t,n,o,r,i,s,a;const l=null!==(t=e.host)&&void 0!==t?t:Jy,c=null!==(n=e.projectId)&&void 0!==n?n:Gy,u=null!==(o=e.topicId)&&void 0!==o?o:Zy,d=null!==(r=e.timeoutMs)&&void 0!==r?r:1e4,f=null!==(i=e.maxRetries)&&void 0!==i?i:2,p=null!==(s=e.maxUrlLength)&&void 0!==s?s:6144,h=!1!==e.preferImageBeacon,g=e.nowMs,v="h5"===(null!==(a=e.ut)&&void 0!==a?a:""),m=function(e){var t,n;return!(null!==(t=e.mpWeixinPreloadReport)&&void 0!==t&&!t)&&"mp-weixin"===(null!==(n=e.rawPlatform)&&void 0!==n?n:Um())}(e);function y(){return!!(l&&c&&u)}const b={host:l,projectId:c,topicId:u,nowMs:g};function _(e,t){if(!y())throw new gb("ç»è®¡ä¸æ¥æªé
ç½®ï¼è¯·è®¾ç½® TLS hostãprojectIdãtopicId");const n=function(e,t){var n;const o=(null!==(n=t.nowMs)&&void 0!==n?n:()=>Date.now())(),r=encodeURIComponent(e.requests);return t.host.replace(/\/+$/,"")+t.path+"?ProjectId="+encodeURIComponent(t.projectId)+"&TopicId="+encodeURIComponent(t.topicId)+"&Logs="+r+"&Source=webImg&Time="+o}(e,{host:b.host,projectId:b.projectId,topicId:b.topicId,nowMs:b.nowMs,path:t});if(n.length>p)throw new gb("ç»è®¡ä¸æ¥ URL è¿é¿: "+n.length+" > "+p);return n}function w(e){const t=Sb();return t&&"function"==typeof t.request?new Promise(((n,o)=>{let r=!1;const i=setTimeout((()=>{r||(r=!0,o(new Error("ç»è®¡ä¸æ¥è¶
æ¶")))}),d);t.request({url:e,method:"GET",dataType:"text",timeout:d,success:e=>{var t;if(r)return;r=!0,clearTimeout(i);const s=null!==(t=null==e?void 0:e.statusCode)&&void 0!==t?t:0;if(s>=200&&s<300)return void n();const a=xb(null==e?void 0:e.data);o(new Error(a?`ç»è®¡ä¸æ¥ HTTP ${s}: ${a}`:`ç»è®¡ä¸æ¥ HTTP ${s}`))},fail:e=>{r||(r=!0,clearTimeout(i),o(e instanceof Error?e:new Error(xb(e)||Str
25ing(e))))}})})):Promise.reject(new gb("å½åç¯å¢æ æ³å®æç»è®¡ä¸æ¥"))}function S(e){const t=Xv(),n=Sb(),o=!(!n||"function"!=typeof n.request);return h&&"function"==typeof t.fetch?function(e,t){const n=Xv(),o=n.fetch;if("function"!=typeof o)return Promise.reject(new Error("fetch unavailable"));const r="function"==typeof n.AbortController?new n.AbortController:void 0;return new Promise(((n,i)=>{let s=!1;const a=setTimeout((()=>{s||(s=!0,r&&qv((()=>r.abort()),void 0),i(new Error("ç»è®¡ä¸æ¥è¶
æ¶")))}),t);o(e,{method:"GET",keepalive:!0,credentials:"omit",signal:r?r.signal:void 0}).then((e=>{s||(s=!0,clearTimeout(a),e&&e.ok?n():i(new Error("ç»è®¡ä¸æ¥ HTTP "+(e?e.status:0))))}),(e=>{s||(s=!0,clearTimeout(a),i(e instanceof Error?e:new Error(String(e))))}))}))}(_(e,"/WebTrack.gif"),d):o?w(_(e,"/WebTrack")):h&&"function"==typeof t.Image?function(e,t){const n=Xv().Image;return"function"!=typeof n?Promise.reject(new gb("å½åç¯å¢æ æ³å®æç»è®¡ä¸æ¥")):new Promise(((o,r)=>{let i=!1;const s=setTimeout((()=>{i||(i=!0,r(new Error("ç»è®¡ä¸æ¥è¶
æ¶")))}),t),a=new n;a.onload=()=>{i||(i=!0,clearTimeout(s),o())},a.onerror=()=>{i||(i=!0,clearTimeout(s),o())},a.src=e}))}(_(e,"/WebTrack.gif"),d):Promise.reject(new gb("å½åç¯å¢æ æ³å®æç»è®¡ä¸æ¥"))}function x(e){const t=function(){const e=Xv().wx;return"function"==typeof(null==e?void 0:e.preloadAssets)?e.preloadAssets:void 0}();return t?Tb(_(e,"/WebTrack.gif"),3e4,t):(im.warn("[uniç»è®¡ 2.0] wx.preloadAssets ä¸å¯ç¨ï¼åé uni.request GET /WebTrack"),w(_(e,"/WebTrack")))}return{name:"image",available:()=>y(),maxRequestBytes(){const e=(p-256)/3;return Math.max(512,Math.floor(e))},send(t){return Fv(this,void 0,void 0,(function*(){try{yield Uv((()=>function(e){return v?S(e):m?x(e):w(_(e,"/WebTrack"))}(t)),{times:f,baseDelayMs:1e3,sleep:e.sleep})}catch(n){throw vb(n)?im.warn("[uniç»è®¡ 2.0] ç»è®¡ä¸æ¥å¤±è´¥ï¼ä¸å¯éè¯ï¼",n):im.warn("[uniç»è®¡ 2.0] ç»è®¡ä¸æ¥å¤±è´¥ï¼å·²éè¯ï¼",n),n}}))}}}function Cb(e,t=""){return"string"==typeof e?e:"number"==typeof e&&Number.isFinite(e)?String(e):t}
25function Eb(e,t=0){if("number"==typeof e&&Number.isFinite(e))return e;if("string"==typeof e&&e.length>0){const t=Number(e);if(Number.isFinite(t))return t}return t}function Ab(e){return{build:function(t){const n={};if(t.custom){const e=new Set(["lt","t","sid","cst","did","p","on","mpv","domain","fvts","lvts","tvc","sc"]);for(const o of Object.keys(t.custom))e.has(o)||(n[o]=t.custom[o])}const o={lt:t.lt,t:Eb(t.t)};return Object.assign(o,function(){var t,n,o;const{config:r,platform:i,system:s,device:a,net:l,location:c,pkg:u,legacy:d,web:f}=e,p=e.resolveLocale?e.resolveLocale():e.locale;return{ak:Cb(r.ak),usv:Cb(r.usv),v:Cb(null!==(t=r.v)&&void 0!==t?t:s.appVersion),ch:Cb(r.ch),ut:Cb(i.ut),p:Cb(null!==(n=i.p)&&void 0!==n?n:s.osP),on:Cb(s.on),did:Cb(a.uuid),brand:Cb(s.brand),md:Cb(s.md),sv:Cb(s.sv),mpsdk:Cb(s.sdkVersion),mpv:Cb(s.mpvHostVersion),pr:Eb(p.pr,1),ww:Eb(p.ww),wh:Eb(p.wh),sw:Eb(p.sw),sh:Eb(p.sh),lang:Cb(p.lang),net:Cb(l.net,"unknown"),lat:Cb(c.lat),lng:Cb(c.lng),mpn:Cb(null!==(o=null==d?void 0:d.mpn)&&void 0!==o?o:u.mpn),tdaid:Cb(u.tdaid),pkn:Cb(u.pkn),an:Cb(u.an),domain:Cb(f.domain)}}(),function(e){return e.session?{sid:e.session.sid,cst:e.session.sct}:{}}(t),function(e){const t={};return void 0!==e.url&&(t.url=Cb(e.url)),void 0!==e.urlref&&(t.urlref=Cb(e.urlref)),void 0!==e.urlref_ts&&(t.urlref_ts=Eb(e.urlref_ts)),void 0!==e.ttn&&(t.ttn=Cb(e.ttn)),void 0!==e.ttpj&&(t.ttpj=Cb(e.ttpj)),void 0!==e.ttc&&(t.ttc=Cb(e.ttc)),t}(t),function(e){return"11"===e.lt?{iey:Hv(void 0!==e.iey&&e.iey),ppiey:Hv(void 0!==e.ppiey&&e.ppiey)}:"21"===e.lt&&void 0!==e.iey?{iey:Hv(e.iey)}:{}}(t),function(e){return"1"!==e.lt?{}:e.visit?{fvts:e.visit.fvts,lvts:e.visit.lvts,tvc:e.visit.tvc}:{}}(t),function(e){return"1"!==e.lt||void 0===e.sc?{}:{sc:Cb(e.sc)}}(t),function(e){if("31"!==e.lt||!e.errMsg)return{};const t="â¦[truncated]";let n=Cb(e.errMsg);return n.length>3072&&(n=n.slice(0,3072-t.length)+t),{em:n}}(t),function(e){return"101"===e.lt&&e.cid?{cid:Cb(e.cid)}:{}}(t),n),o}}}function Ob(){const e=Xv().plus;if(!Ym()&&!(null==e?void 0:e.runtime))return"";const t=qv((()=>{var t;return null===(t=null==e?void 0:e.runtime)||void 0===t?void 0:t.channel}),void 0);return"string"==typeof(n=t)?n:"number"==typeof n&&Number.isFinite(n)?String(n):"";var n}let Lb=null;function $b(...e){const t={};for(const n of e)if(n)for(const e of Object.keys(n)){const o=n[e];null!=o&&(t[e]=o)}return t}function Rb(){const e=function(){const e=Jv();return null!=e&&"object"==typeof e?e:void 0}(),t=$b(e&&"function"==typeof e.getSystemInfoSync?qv((()=>e.getSystemInfoSync()),null):null,e&&"function"==typeof e.getDeviceInfo?qv((()=>e.getDeviceInfo()),null):null,e&&"function"==typeof e.getAppBaseInfo?qv((()=>e.getAppBaseInfo()),null):null,e&&"function"==typeof e.getWindowInfo?qv((()=>e.getWindowInfo()),null):null),n=function(){const e=Um();if("mp-weixin"!==e&&"mp-qq"!==e)return null;const t=Xv().wx;return t?$b("function"==typeof t.getSystemInfoSync?qv((()=>t.getSystemInfoSync()),null):null,"function"==typeof t.getDeviceInfo?qv((()=>t.getDeviceInfo()),null):null,"function"==typeof t.getAppBaseInfo?qv((()=>t.getAppBaseInfo()),null):null,"function"==typeof t.getWindowInfo?qv((()=>t.getWindowInfo()),null):null):null}();return n?$b(t,n):t}function Ib(e,t){var n;const o=null===(n=null==e?void 0:e.runtime)||void 0===n?void 0:n.version;if("string"==typeof o&&o)return o;const r=t.appVersion;if("string"==typeof r&&r)return r;const i=qv((()=>{const e=Xv().__uniConfig;return"string"==typeof(null==e?void 0:e.appVersion)?e.appVersion:""}),"");return i||"1.0.0"}function Pb(e){const t="string"==typeof e.romName?e.romName.trim():"";if(t){const n="string"==typeof e.romVersion?e.romVersion.trim():"";return n?`${t} ${n}`.trim():t}return"string"==typeof e.osName?e.osName.trim():""}let Mb=null;function Nb(){const e=Jv();return null!=e&&"object"==typeof e?e:void 0}function Bb(){return Xv().plus}function jb(){var e;return null!==(e="SOOUA")?e:""}function Db(){if(Mb)return Mb;const e=zm();let t="",n="",o="",r="";if(Ym()){const e=qv((()=>{var e,t,n;return null!==(n=null===(t=null===(e=Nb())||void 0===e?void 0:e.getAppBaseInfo)||void 0===t?void 0:t.call(e))&&void 0!==n?n:{}}),{});n=qv((()=>{var e,t,n;return null!==(n=null===(t=null===(e=Bb())||void 0===e?void 0:e.runtime)||void 0===t?void 0:t.appid)&&void 0!==n?n:""}),"")||e.appId||"",o=function(){var e,t,n;const o=Bb();if(!o)return"";const r=null!==(n=null===(t=null===(e=o.os)||void 0===e?void 0:e.name)||void 0===t?void 0:t.toLowerCase())&&void 0!==n?n:"";if(r.includes("android"))return qv((()=>{var e,t,n,r,i;return null!==(i=null===(r=null===(n=null===(t=null===(e=o.android)||void 0===e?void 0:e.runtimeMainActivity)||void 0===t?void 0:t.call(e))||void 0===n?void 0:n.getPackageName)||void 0===r?void 0:r.call(n))&&void 0!==i?i:""}),"");if("ios"===r||"iphone os"===r)return qv((()=>{var e,t;return null!==(t=null===(e=o.ios)||void 0===e?void 0:e.bundleId)&&void 0!==t?t:""}),"")||qv((()=>{var e,t;return null!==(t=null===(e=o.runtime)||void 0===e?void 0:e.appid)&&void 0!==t?t:""}),"");return qv((()=>{var e,t;return null!==(t=null===(e=o.runtime)||void 0===e?void 0:e.appid)&&void 0!==t?t:""}),"")}()||e.hostPackageName||n,r=function(){const e=Bb();return e?qv((()=>{var t,n;return null!==(n=null===(t=e.runtime)||void 0===t?void 0:t.appname)&&void 0!==n?n:""}),"")||qv((()=>{var t,n;return null!==(n=null===(t=e.runtime)||void 0===t?void 0:t.name)&&void 0!==n?n:""}),""):""}()||e.appName||jb(),t=o||n}else Xm()?(n=function(e){const t=Nb();switch(e){case"wx":case"qq":{if("function"==typeof(null==t?void 0:t.getAccountInfoSync)){const e=qv((()=>{var e,n;return null!==(n=null===(e=t.getAccountInfoSync().miniProgram)||void 0===e?void 0:e.appId)&&void 0!==n?n:""}),"");if(e)return e}const e=Xv().wx;if("function"==typeof(null==e?void 0:e.getAccountInfoSync)){const t=qv((()=>{var t,n;return null!==(n=null===(t=e.getAccountInfoSync().miniProgram)||void 0===t?void 0:t.appId)&&void 0!==n?n:""}),"");if(t)return t}const n="__UNI__03BCD3D";return"string"==typeof n?n:""}case"ali":case"dt":{const e=Xv().my;if(!e)return"";return qv((()=>{var t,n;return null!==(n=null===(t=e.getAppIdSync)||void 0===t?void 0:t.call(e))&&void 0!==n?n:""}),"")||qv((()=>{var t,n,o;return null!==(o=null===(n=null===(t=e.getAccountInfoSync)||void 0===t?void 0:t.call(e).miniProgram)||void 0===n?void 0:n.appId)&&void 0!==o?o:""}),"")}case"tt":case"lark":{const e=Xv().tt;return qv((()=>{var t,n,o;return null!==(o=null===(n=null===(t=null==e?void 0:e.getEnvInfoSync)||void 0===t?void 0:t.call(e).microapp)||void 0===n?void 0:n.appId)&&void 0!==o?o:""}),"")}case"bd":{const e=Xv().swan;return qv((()=>{var t,n,o;return null!==(o=null===(n=null===(t=null==e?void 0:e.getEnvInfoSync)||void 0===t?void 0:t.call(e).common)||void 0===n?void 0:n.appKey)&&void 0!==o?o:""}),"")}default:return""}}(e),o="",r=jb(),t=n||"__UNI__03BCD3D"):Km()?(n="",o="",r=jb()||qv((()=>{var e,t;return null!==(t=null===(e=Xv().document)||void 0===e?void 0:e.title)&&void 0!==t?t:""}),""),t=""):(n="",o="",r=jb(),t="");return Mb={mpn:t,tdaid:n,pkn:o,an:r},Mb}const Vb={domain:""};let Hb=null;function Fb(e){const t="string"==typeof e.protocol?e.protocol.toLowerCase():"";if("http:"!==t&&"https:"!==t)return"";if("string"==typeof e.origin&&e.origin.trim())return e.origin.trim();const n="string"==typeof e.host&&e.host.trim()?e.host.trim():"string"==typeof e.hostname?e.hostname.trim():"";return n?`${t}//${n}`:""}const Wb=new Map,qb=new Map;function Ub(e){const t=Wb.get(e);if(!t||0===t.size)return;const n=function(e){return{invoke(t){let n=!1;for(const o of e)o.invoke&&!1===o.invoke(t)&&(n=!0);return!n&&void 0},success(t){var n;for(const o of e)null===(n=o.success)||void 0===n||n.call(o,t)},fail(t){var n;for(const o of e)null===(n=o.fail)||void 0===n||n.call(o,t)}
25,complete(t){var n;for(const o of e)null===(n=o.complete)||void 0===n||n.call(o,t)},returnValue(t){let n=t;for(const o of e)o.returnValue&&(n=o.returnValue(n));return n}}}(t);try{const t=zb(),r=qb.get(e);if(r)try{t.removeInterceptor(e,r)}catch(o){}t.addInterceptor(e,n),qb.set(e,n)}catch(r){}}function zb(){const e=Jv(),t=null!=e&&"object"==typeof e?e:void 0;if(!t)throw new Error("[uniç»è®¡ 2.0] uni interceptor API is not available");return t}const Yb={add:function(e,t){var n;const o=null!==(n=Wb.get(e))&&void 0!==n?n:new Set;return o.add(t),Wb.set(e,o),Ub(e),()=>{const n=Wb.get(e);if(n)if(n.delete(t),0===n.size){Wb.delete(e);const t=qb.get(e);if(qb.delete(e),t)try{zb().removeInterceptor(e,t)}catch(o){}}else Ub(e)}},__reset:function(){Wb.clear(),qb.clear()}};function Xb(e){return Yb.add("login",{complete(){e.report({lt:Iv,custom:{e_n:"login"}})}})}function Kb(){return Yb.add("setNavigationBarTitle",{invoke(e){var t;e&&"title"in e&&(t=e.title,Bm.page="string"==typeof t?t:"")}})}function Jb(e){return Yb.add("requestPayment",{success(){e.report({lt:Iv,custom:{e_n:"pay_success"}})},fail(){e.report({lt:Iv,custom:{e_n:"pay_fail"}})}})}function Gb(e){const t=()=>e.report({lt:Iv,custom:{e_n:"share"}});return Yb.add("share",{success(){t()},fail(){t()}})}const Zb=[["__first__visit__time","visit:fvts"],["__last__visit__time","visit:lvts"],["__total__visit__count","visit:tvc"]];let Qb=!1;function e_(){if(Qb)return!1;Qb=!0;const e=pm.safeRead("migration:done");if(e.ok&&e.value)return!1;const t=function(){const e=Jv();if(!e||"function"!=typeof e.getStorageSync)return null;const t=`$$STAT__DBDATA:${function(){const e="__UNI__03BCD3D";return e.length>0?e:"default"}()}`,n=qv((()=>e.getStorageSync(t)),null);return n&&"object"==typeof n?n:null}();if(!t)return pm.set("migration:done",1),!1;let n=0;for(let o=0;o<Zb.length;o++){const[e,r]=Zb[o];if(!(e in t))continue;const i=t[e],s=pm.safeRead(r);s.ok&&void 0!==s.value||(pm.set(r,i),n++)}return pm.set("migration:done",1),n>0&&im.info("[uniç»è®¡ 2.0] migrated legacy keys",n),n>0}const t_={net:"unknown",raw:""},n_={wifi:"wifi","2g":"2g","3g":"3g","4g":"4g","5g":"5g",ethernet:"ethernet",none:"none",unknown:"unknown"};function o_(){const e=Jv();return null!=e&&"object"==typeof e?e:void 0}function r_(e){var t;return"string"!=typeof e||0===e.length?"unknown":null!==(t=n_[e.toLowerCase()])&&void 0!==t?t:"unknown"}function i_(e){return"none"===e.net}function s_(){return Fv(this,void 0,void 0,(function*(){return i_(yield function(e=1500){return new Promise((t=>{const n=o_();if(!n||"function"!=typeof n.getNetworkType)return void t(t_);let o=!1;const r=e=>{o||(o=!0,t(e))},i=setTimeout((()=>r(t_)),e);qv((()=>n.getNetworkType({success:e=>{var t;clearTimeout(i);const n=null!==(t=null==e?void 0:e.networkType)&&void 0!==t?t:"";r({net:r_(n),raw:n})},fail:()=>{clearTimeout(i),r(t_)}})),void 0)}))}())}))}function a_(e){return function(e){const t=o_();if(!t||"function"!=typeof t.onNetworkStatusChange)return()=>{};const n=t=>{var n;const o=null!==(n=null==t?void 0:t.networkType)&&void 0!==n?n:"",r=!1===(null==t?void 0:t.isConnected)?"none":r_(o);qv((()=>e({net:r,raw:o})),void 0)};return qv((()=>t.onNetworkStatusChange(n)),void 0),()=>{"function"==typeof t.offNetworkStatusChange&&qv((()=>t.offNetworkStatusChange(n)),void 0)}}((t=>{i_(t)||e()}))}const l_={bucket:{},lastFlushAt:0};let c_=10,u_=4096,d_=1e3,f_=!1,p_=!1;function h_(){let e=function(){let e=0;for(const t of Object.keys(l_.bucket))e+=l_.bucket[t].length;return e}();if(e<=d_)return void(p_=!1);const t=e-d_;for(;e>d_;){let t="",n=0;for(const e of Object.keys(l_.bucket)){const o=l_.bucket[e].length;o>n&&(n=o,t=e)}if(!t||0===n)break;l_.bucket[t].shift(),0===l_.bucket[t].length&&delete l_.bucket[t],e--}p_||(p_=!0,im.warn("[uniç»è®¡ 2.0] 䏿¥éåè¶
è¿å®¹éä¸éï¼å·²ä¸¢å¼ææ§äºä»¶","dropped="+t,"limit="+d_))}function g_(){if(0!==Object.keys(l_.bucket).length)try{pm.set("queue",l_.bucket)}catch(e){im.warn("[uniç»è®¡ 2.0] queue persist failed",e)}else pm.remove("queue")}function v_(){if(f_)return;f_=!0;const e=pm.safeRead("queue");if(!e.ok||!e.value||"object"!=typeof e.value)return;const t=e.value;for(const n of Object.keys(t)){const e=t[n];Array.isArray(e)&&0!==e.length&&(l_.bucket[n]||(l_.bucket[n]=[]),l_.bucket[n].push(...e))}}function m_(e){var t;if(!e||"object"!=typeof e)return;const n=String(null!==(t=e.lt)&&void 0!==t?t:"");
25if(!n)return void im.warn("[uniç»è®¡ 2.0] enqueue dropped: missing lt",e);let o="";try{o=JSON.stringify(e)}catch(r){return void im.warn("[uniç»è®¡ 2.0] enqueue dropped: stringify failed",r)}o.length>u_?im.warn("[uniç»è®¡ 2.0] enqueue dropped: single event too large","lt="+n,"bytes="+o.length,"limit="+u_):(v_(),l_.bucket[n]||(l_.bucket[n]=[]),l_.bucket[n].push(e),h_(),g_())}function y_(e=!1){if(e)return!0;if(c_<=0)return!0;return(Vm()-l_.lastFlushAt)/1e3>=c_}function b_(){v_();if(0===Object.keys(l_.bucket).length)return;const e=l_.bucket;return l_.bucket={},l_.lastFlushAt=Vm(),pm.remove("queue"),e}function __(e){if(e){for(const t of Object.keys(e)){const n=e[t];Array.isArray(n)&&0!==n.length&&(l_.bucket[t]||(l_.bucket[t]=[]),l_.bucket[t]=n.concat(l_.bucket[t]))}h_(),g_()}}const w_=50,S_=6048e5,x_=5;function T_(){const e=pm.safeRead("retry:queue");return e.ok&&Array.isArray(e.value)?e.value.filter((e=>e&&"string"==typeof e.id&&e.payload&&"object"==typeof e.payload)):[]}function k_(e){0!==e.length?pm.set("retry:queue",e):pm.remove("retry:queue")}function C_(e){if(!e)return;const t=function(e){return e._id?e._id:"r-"+Vm().toString(36)+"-"+Math.random().toString(36).slice(2,6)}(e),n=T_();if(n.some((e=>e.id===t)))return t;const o={id:t,payload:Object.assign({},e,{_id:t}),createdAt:Vm(),attempts:0};for(n.push(o);n.length>w_;){const e=n.shift();im.warn("[uniç»è®¡ 2.0] retry queue overflow, drop oldest",null==e?void 0:e.id)}return k_(n),t}function E_(){const e=T_();if(0===e.length)return[];const t=Vm()-S_,n=[];for(const o of e)o.createdAt<t?im.warn("[uniç»è®¡ 2.0] retry item expired, drop",o.id):n.push(o);return n.length!==e.length&&k_(n),n.map((e=>e.payload))}function A_(e){if(!e)return;const t=T_(),n=t.filter((t=>t.id!==e));n.length!==t.length&&k_(n)}function O_(e){if(!e)return;const t=T_();let n=null;for(let o=0;o<t.length;o++){const r=t[o];if(r.id===e){r.attempts++,r.attempts>=x_?(im.warn("[uniç»è®¡ 2.0] retry item exceeded maxAttempts, drop as dead letter",e,"attempts="+r.attempts),n=t.slice(0,o).concat(t.slice(o+1))):n=t;break}}n&&k_(n)}let L_=null;class $_{constructor(){this.installed=!1,this.statVersion="image",this.deferredReports=[],this.deferReportsUntilSession=!1,this.deferredReportsWarningShown=!1}static getInstance(){return L_||(L_=new $_),L_}install(e={},t={}){var n,o,r,i,s;if(this.installed)return;const a=this.normalizeConfig(e);this.config=a,this.statVersion=a.version,this.deferReportsUntilSession=!0===t.deferReportsUntilSession,qv((()=>{return e={backgroundTimeoutSec:a.backgroundTimeoutSec,pageInactiveTimeoutSec:a.pageInactiveTimeoutSec},void(ly=Object.assign({},ay,e));var e}),void 0),qv((()=>{return"number"==typeof(e={intervalSec:a.reportIntervalSec}).intervalSec&&e.intervalSec>=0&&(c_=Math.floor(e.intervalSec)),"number"==typeof e.singleEventMaxBytes&&e.singleEventMaxBytes>0&&(u_=Math.floor(e.singleEventMaxBytes)),void("number"==typeof e.maxEvents&&e.maxEvents>0&&(d_=Math.floor(e.maxEvents)));var e}),void 0),t.skipMigration||qv((()=>e_()),!1),qv((()=>function(){const e=pm.safeRead("visit:fvts"),t=pm.safeRead("visit:lvts"),n=pm.safeRead("visit:tvc"),o=!e.ok||!t.ok||!n.ok,r=wm(e.value),i=wm(t.value),s=wm(n.value),a={fvts:r,lvts:i,tvc:s,isNewUser:0===i,degraded:o};o&&(0===r&&0===i&&0===s&&a.isNewUser||im.warn("[uniç»è®¡ 2.0] visit snapshot degraded; some storage keys read failed"));return gm=a,a}()),void 0),this.httpChannel=null!==(o=null===(n=t.channels)||void 0===n?void 0:n.http)&&void 0!==o?o:wb({ut:zm(),maxRetries:3}),t.channels&&"cloud"in t.channels?this.cloudChannel=null!==(r=t.channels.cloud)&&void 0!==r?r:void 0:"2"===this.statVersion?this.cloudChannel=tb({maxRetries:2}):this.cloudChannel=void 0,t.channels&&"image"in t.channels?this.imageChannel=null!==(i=t.channels.image)&&void 0!==i?i:void 0:"image"===this.statVersion?this.imageChannel=kb({host:Jy,projectId:Gy,topicId:Zy,maxRetries:2,ut:zm(),rawPlatform:Um()}):this.imageChannel=void 0,this.collectorDeps=this.buildCollectorDeps(a,null!==(s=t.collectorDepsPatch)&&void 0!==s?s:{}),this.collector=yb(this.collectorDeps),t.skipInterceptors||(this.uninstallInterceptors=qv((()=>function(e){const t=[Xb(e),Gb(e),Jb(e),Kb()];return()=>{for(const e of t)try{e()}catch(n){}}}({report:e=>this.reportInput(e)})),void 0)),t.skipRecoverRetry||this.collector.recoverRetry().catch((e=>im.warn("[uniç»è®¡ 2.0] recoverRetry failed",e))),this.uninstallNetworkWatch=qv((()=>a_((()=>{const e=this.collector;e&&(e.recoverRetry().catch((e=>im.warn("[uniç»è®¡ 2.0] recoverRetry on online failed",e))),e.flush(!0).catch((e=>im.warn("[uniç»è®¡ 2.0] flush on online failed",e))))}))),void 0),this.installed=!0}report(e,t){if(!this.installed||!this.collector)return;if("title"===e)return void jm(t);const n="object"==typeof t&&null!==t?qv((()=>JSON.stringify(t)),""):void 0===t?"":String(t);this.reportInput({lt:Iv,custom:{e_n:e,e_v:n}})}reportError(e,t){var n;if(!this.installed||!this.collector)return;const o=e instanceof Error?`${e.name}: ${e.message}\n${null!==(n=e.stack)&&void 0!==n?n:""}`:"string"==typeof e?e:qv((()=>JSON.stringify(e)),"");this.reportInput({lt:Pv,errMsg:o,t:t})}reportInput(e){if(!this.collector)return;const t=e.lt===Iv||e.lt===Pv?function(){const e=Cy.lastRouteFull||Cy.lastRoute;return e?Object.assign({url:e,iey:Cy.lastIey},Dm()):{}}():void 0,n=Object.assign({},t,e,void 0===e.t?{t:Hm()}:void 0);if(this.deferReportsUntilSession)return this.deferredReports.length>=100?void(this.deferredReportsWarningShown||(this.deferredReportsWarningShown=!0,im.warn("[vapor] å¯å¨åäºä»¶æåè¶
è¿ä¸éï¼åç»äºä»¶å·²ä¸¢å¼ï¼è¯·æ£æ¥ uni.onBeforeAppRoute æ¯å¦å¯ç¨","limit=100"))):void this.deferredReports.push(n);this.collector.report(n)}releaseDeferredReports(){if(!this.collector||!by())return;this.deferReportsUntilSession=!1;const e=this.deferredReports.splice(0);for(const t of e)this.collector.report(t)}getCollector(){return this.collector}getDeps(){return this.collectorDeps}isInstalled(){return this.installed}getStatVersion(){return this.statVersion}getConfig(){return this.config}uninstall(){this.uninstallInterceptors&&qv((()=>this.uninstallInterceptors()),void 0),this.uninstallInterceptors=void 0,this.uninstallNetworkWatch&&qv((()=>this.uninstallNetworkWatch()),void 0),this.uninstallNetworkWatch=void 0,this.collector&&qv((()=>this.collector.destroy()),void 0),this.collector=void 0,this.collectorDeps=void 0,this.httpChannel=void 0,this.cloudCh
25annel=void 0,this.imageChannel=void 0,this.config=void 0,this.deferredReports=[],this.deferReportsUntilSession=!1,this.deferredReportsWarningShown=!1,this.installed=!1}resolveChannel(e){return Ym()?Ob():"string"==typeof e&&e.length>0?e:""}resolveFirstFlushDeferMs(){return"mp-weixin"===Um()?2e3:Ym()&&!Ob()?300:0}normalizeConfig(e){var t,n,o,r;return{ak:null!==(t=e.ak)&&void 0!==t?t:Qy(),v:e.v,ch:this.resolveChannel(e.ch),version:null!==(n=e.version)&&void 0!==n?n:"image",backgroundTimeoutSec:null!==(o=e.backgroundTimeoutSec)&&void 0!==o?o:300,pageInactiveTimeoutSec:null!==(r=e.pageInactiveTimeoutSec)&&void 0!==r?r:1800,reportIntervalSec:"number"==typeof e.reportIntervalSec?e.reportIntervalSec:10,enablePush:!0===e.enablePush,enablePageLog:!1!==e.enablePageLog}}buildCollectorDeps(e,t){const n=zm(),o=qv((()=>function(){var e,t;const n=Rb(),o="number"==typeof n.pixelRatio?n.pixelRatio:"number"==typeof n.devicePixelRatio?n.devicePixelRatio:1;return{lang:(null!==(t=null!==(e=n.hostLanguage)&&void 0!==e?e:n.language)&&void 0!==t?t:"").replace(/_/g,"-"),ww:"number"==typeof n.windowWidth?n.windowWidth:0,wh:"number"==typeof n.windowHeight?n.windowHeight:0,sw:"number"==typeof n.screenWidth?n.screenWidth:0,sh:"number"==typeof n.screenHeight?n.screenHeight:0,pr:o>0?o:1}}()),{lang:"",ww:0,wh:0,sw:0,sh:0,pr:1}),r={builder:Ab({config:{ak:e.ak,usv:"5.26",v:e.v,get ch(){return Ym()?Ob():e.ch}},platform:{ut:n},system:qv((()=>function(){var e,t,n,o,r,i,s,a,l,c,u,d,f,p,h,g,v,m;if(Lb)return Lb;const y=Rb(),b=Xv().plus,_=Ib(b,y);return Lb={brand:null!==(t=null!==(e=y.deviceBrand)&&void 0!==e?e:y.brand)&&void 0!==t?t:"",md:null!==(o=null!==(n=y.deviceModel)&&void 0!==n?n:y.model)&&void 0!==o?o:"",sv:null!==(i=null!==(r=y.osVersion)&&void 0!==r?r:y.system)&&void 0!==i?i:"",v:null!==(a=null!==(s=y.hostVersion)&&void 0!==s?s:y.version)&&void 0!==a?a:"",ut:null!==(l=y.deviceType)&&void 0!==l?l:"unknown",appVersion:_,appWgtVersion:null!==(p=null!==(f=null!==(u=null===(c=null==b?void 0:b.runtime)||void 0===c?void 0:c.appWgtVersion)&&void 0!==u?u:null===(d=null==b?void 0:b.runtime)||void 0===d?void 0:d.appWgtRevision)&&void 0!==f?f:y.appWgtVersion)&&void 0!==p?p:"",mpvHostVersion:(null!==(g=null!==(h=y.hostVersion)&&void 0!==h?h:y.version)&&void 0!==g?g:"").trim(),on:Pb(y),sdkVersion:null!==(m=null!==(v=y.hostSDKVersion)&&void 0!==v?v:y.SDKVersion)&&void 0!==m?m:"",statusBarHeight:"number"==typeof y.statusBarHeight?y.statusBarHeight:0,osP:Wm({platform:y.platform,osName:y.osName,system:y.system})},Lb}()),{brand:"",md:"",sv:"",v:"",ut:"unknown",appVersion:"",appWgtVersion:"",mpvHostVersion:"",on:"",sdkVersion:"",statusBarHeight:0,osP:""}),locale:o,resolveLocale:void 0,device:{get uuid(){return qv((()=>oy()),"")}},net:{net:"unknown",raw:""},location:{lat:"",lng:"",ok:!1},pkg:qv((()=>Db()),{mpn:"",tdaid:"",pkn:"",an:""}),web:qv((()=>Km()?(null!==Hb||(Hb=qv((()=>{const e=Xv().location;return e?{domain:Fb(e)}:Vb}),Vb)),Hb):Vb),{domain:""})}),queue:{enqueue:m_,flush:b_,rollback:__,shouldFlush:y_},serializer:{handleData:db},selectChannel:()=>function(e){var t;const n=null!==(t=e.version)&&void 0!==t?t:"image",o=!1!==e.fallbackToHttp;return"1"===n?e.http&&e.http.available()?e.http:void 0:"2"===n?e.cloud&&e.cloud.available()?e.cloud:o?e.http&&e.http.available()?(im.warn("[uniç»è®¡ 2.0] äºå½æ°ä¸æ¥ä¸å¯ç¨ï¼å·²é级为 HTTP 䏿¥"),e.http):void im.warn("[uniç»è®¡ 2.0] æ å¯ç¨ä¸æ¥çº¿è·¯"):void im.warn("[uniç»è®¡ 2.0] äºå½æ°ä¸æ¥ä¸å¯ç¨ä¸å·²å
³é HTTP å
åºï¼æ¬æ¹å·²ä¸¢å¼"):e.image&&e.image.available()?e.image:o?e.http&&e.http.available()?(e.image&&im.warn("[uniç»è®¡ 2.0] ç»è®¡ä¸æ¥çº¿è·¯ä¸å¯ç¨ï¼å·²é级为 HTTP 䏿¥"),e.http):void im.warn("[uniç»è®¡ 2.0] æ å¯ç¨ä¸æ¥çº¿è·¯"):void(e.image&&im.warn("[uniç»è®¡ 2.0] ç»è®¡ä¸æ¥çº¿è·¯ä¸å¯ç¨ä¸å·²å
³é HTTP å
åºï¼æ¬æ¹å·²ä¸¢å¼"))}({version:this.statVersion,http:this.httpChannel,cloud:this.cloudChannel,image:this.imageChannel}),retry:{persist:C_,loadAll:E_,ack:A_,markAttempt:O_},visit:{commitVisitOnAck:km,rollbackPendingVisit:Cm},session:{getSnapshot:by,nextSeq:yy,touch:my},config:{usv:"5.26"},resolveUploadFields:()=>{const e=Ob();return e?{ch:e}:{}},nowMs:Vm,nowSec:Hm,firstFlushDeferMs:this.resolveFirstFlushDeferMs(),isNetworkOffline:s_};return Object.assign(r,t)}}function R_(){const e="{}".trim();if(e&&"undefined"!==e)try{const t=JSON.parse(e);if(!t||"object"!=typeof t||Array.isArray(t))return;return t}catch(t){return}}function I_(){try{const e=R_();if(!e)return;const t={};if(null!=e.channelVersion){const n=String(e.channelVersion);"1"!==n&&"2"!==n&&"image"!==n||(t.version=n)}const n=N_(e.backgroundTimeout,e.backgroundTimeoutSec);void 0!==n&&(t.backgroundTimeoutSec=n);const o=N_(e.pageInactiveTimeout,e.pageInactiveTimeoutSec);void 0!==o&&(t.pageInactiveTimeoutSec=o);const r=function(...e){for(const t of e){const e=M_(t);if(void 0!==e)return e}return}(e.reportInterval,e.reportIntervalSec);if(void 0!==r&&(t.reportIntervalSec=r),e.collectItems&&"object"==typeof e.collectItems){const n=e.collectItems;"boolean"==typeof n.uniPushClientID&&(t.enablePush=n.uniPushClientID),"boolean"==typeof n.uniStatPageLog&&(t.enablePageLog=n.uniStatPageLog)}return Object.keys(t).length>0?t:void 0}catch(e){return void im.warn("[uniç»è®¡ 2.0] readManifestStatConfig failed",e)}}function P_(e){if("number"==typeof e)return e>0?e:void 0;if("string"==typeof e){const t=e.trim();if(""===t)return;const n=Number(t);if(Number.isFinite(n)&&n>0)return n}}function M_(e){if("number"==typeof e)return e>=0?e:void 0;if("string"==typeof e){const t=e.trim();if(""===t)return;const n=Number(t);if(Number.isFinite(n)&&n>=0)return n}}function N_(...e){for(const t of e){const e=P_(t);if(void 0!==e)return e}}function B_(){const e=Jv();return null!=e&&"object"==typeof e?e:void 0}let j_,D_,V_=!1,H_=!1;function F_(e){try{return Ie((t=>{qv((()=>t.mixin(e)),void 0)})),!0}catch(n){}const t=B_();
25return!(!t||"function"!=typeof t.onCreateVueApp)&&(t.onCreateVueApp((t=>{qv((()=>t.mixin(e)),void 0)})),!0)}function W_(e){var t;const n=(t,n)=>{e.report(t,n)};qv((()=>{"object"==typeof uni&&uni&&(uni.report=n)}),void 0);const o=Xv(),r=null!==(t=B_())&&void 0!==t?t:o.uni;r&&"object"==typeof r&&(r.report=n)}!function(e={}){if(H_)return;H_=!0;const t=I_(),n=Object.assign({},t,e.config),o=$_.getInstance();qv((()=>o.install(n,Object.assign({},e.overrides,{deferReportsUntilSession:!0===e.vapor}))),void 0),qv((()=>{var t,n,r;const i=o.getConfig(),s=R_(),a={channel:null!==(t=null==i?void 0:i.version)&&void 0!==t?t:"image",reportIntervalSec:null!==(n=null==i?void 0:i.reportIntervalSec)&&void 0!==n?n:0,ak:null!==(r=null==i?void 0:i.ak)&&void 0!==r?r:"",appName:"SOOUA",debugFromManifest:!1};null!=s&&(null==s.backgroundTimeout&&null==s.backgroundTimeoutSec||(a.backgroundTimeoutSec=null==i?void 0:i.backgroundTimeoutSec),null==s.pageInactiveTimeout&&null==s.pageInactiveTimeoutSec||(a.pageInactiveTimeoutSec=null==i?void 0:i.pageInactiveTimeoutSec)),function(e){if(!im.isDebug())return;const t=[];null!=e.backgroundTimeoutSec&&t.push(`åå°è¶
æ¶(æ°ä¼è¯): ${e.backgroundTimeoutSec}s`),null!=e.pageInactiveTimeoutSec&&t.push(`åå°æ æä½è¶
æ¶: ${e.pageInactiveTimeoutSec}s`);const n=t.length>0?` | ${t.join(" | ")}`:"",o=["=== uniç»è®¡ 2.0 å·²å¯ç¨ ===",`䏿¥é´é: ${e.reportIntervalSec}s${n} | åºç¨APPID: ${e.ak||"<æªæ³¨å
¥>"}${e.appName?` | åºç¨å: ${e.appName}`:""}${e.vueMode?` | ${e.vueMode}`:""}`];e.debugFromManifest&&o.push("è°è¯æ¨¡å¼ï¼å·²ä» manifest.uniStatistics.debug èªå¨å¼å¯"),o.push("=== åç»å°å¨æ¯æ¬¡éé / 䏿¥æ¶è¾åºè¿ç¨æ¥å¿ ==="),im.debug(o.join("\n"))}(Object.assign({},a,{vueMode:e.vapor?"Vapor":"Vue3"}))}),void 0);const r=()=>{var t,n;const r=o.getConfig(),i=Object.assign({},{enablePush:null!==(t=null==r?void 0:r.enablePush)&&void 0!==t&&t,enablePageLog:null===(n=null==r?void 0:r.enablePageLog)||void 0===n||n},e.lifecycle),{mixin:s,unbind:a}=Xy(o,i);e.skipVueMixin||qv((()=>function(e){V_||(F_(e)?V_=!0:function(e){if(V_)return;if(j_)return;let t=0;const n=()=>{j_=void 0,V_||(F_(e)?V_=!0:++t>=20?V_||im.warn("[uniç»è®¡ 2.0] Vue3: onCreateVueApp å¨éè¯åä»ä¸å¯ç¨ï¼é¡µé¢çº§ mixin æªæ³¨å
¥"):j_=setTimeout(n,50))};j_=setTimeout(n,50)}(e))}(s)),void 0),e.skipUniReport||qv((()=>
25W_(o)),void 0),Uy()&&!Yy(o,i)&&function(e){D_&&(clearTimeout(D_),D_=void 0);let t=0;const n=()=>{e()||(++t>=20?im.warn("[uniç»è®¡ 2.0] Vue3 å°ç¨åºï¼uni.onAppShow æä¸å¯ç¨ï¼åºç¨ååå°ç»è®¡å¯è½ç¼ºå¤±"):D_=setTimeout(n,50))};D_=setTimeout(n,50)}((()=>Yy(o,i)))};e.vapor?e.skipUniReport||qv((()=>W_(o)),void 0):r()}({vapor:!1});Os(Ov).use(Lh).mount("#app");export{ld as $,Cs as A,hn as B,Ig as C,Cg as D,lh as E,Ur as F,pu as G,mp as H,Bp as I,ih as J,tv as K,up as L,fh as M,lg as N,Ei as O,Ho as P,wi as Q,oe as R,oh as S,re as T,Kh as U,zg as V,$f as W,cd as X,kg as Y,Jd as Z,_g as a,fg as b,Ri as c,Wg as d,Xo as e,ni as f,dg as g,Un as h,ce as i,ph as j,Gr as k,fi as l,uo as m,Ln as n,qo as o,ci as p,ti as q,un as r,cg as s,Qo as t,li as u,es as v,io as w,di as x,Y as y,ue as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.