| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- function __vite__mapDeps(indexes) {
- if (!__vite__mapDeps.viteFileDeps) {
- __vite__mapDeps.viteFileDeps = ["assets/pages-Tabbar-Home-index.DcJQKbPE.js","assets/u-tag.DqSlpkKa.js","assets/u-tag-iKKZNiqI.css","assets/u-empty.kITdpG9l.js","assets/u-empty-CTwm1Kbl.css","assets/u-image.CPekrRNs.js","assets/u-image-BW9DoCJG.css","assets/z-paging.DuG71o1r.js","assets/z-paging-24P6paaG.css","assets/index-DeefGzdb.css","assets/pages-Tabbar-RollingBall-index.D8w-J5bt.js","assets/u-tabs.C5RPJ8si.js","assets/u-tabs-CBBEsRVK.css","assets/index-C9d_Ps1i.css","assets/pages-Tabbar-SportsBetting-index.390EiB7p.js","assets/index-B9Y5Fbzp.css","assets/pages-Tabbar-Entertainment-index.Cjm0-q5V.js","assets/index-gAGuR7Ey.css","assets/pages-Tabbar-BettingHistory-index.CTFfm_jo.js","assets/u-calendar.BOt6TjT4.js","assets/u-calendar-D-A12PVI.css","assets/index-DdPiS16T.css","assets/pages-Tabbar-My-index.7jbV8x2d.js","assets/u-cell-item.Bdyv4G-m.js","assets/u-cell-item-CFSMeWHP.css","assets/index.C1OxCIeE.js","assets/index-CAJHYyQe.css","assets/index.DQHjAAJ8.js","assets/index-iJxj-2Rt.css","assets/pages-login-index.MpXLDD3L.js","assets/u-select.D1byBxM2.js","assets/u-select-BgND7E56.css","assets/index.DeaRgoWi.js","assets/index.CkbneyEZ.js","assets/index-BOoVasWF.css","assets/index-DElh5uhh.css","assets/pages-register-index.B9eoEwH1.js","assets/index-BSOmg5IX.css","assets/pages-index-user-index.DcsEV6Mm.js","assets/pages-common-rich-view-index.CzY01pg-.js","assets/index-BEgHka20.css","assets/pages-tips-middleware-index.Ch-B4dUk.js","assets/index-B2PmHM1b.css","assets/pages-template-paging-index.B74K9yFx.js","assets/index-CoVbS7TU.css","assets/pages-oldPage-personal-index.DDXLrp0O.js","assets/index-BHchrPDF.css","assets/pages-oldPage-contact-index.CYzcHAt2.js","assets/index-DTNotVkK.css","assets/pages-oldPage-preference-index.BdFnWjmF.js","assets/index-CCsMFn43.css","assets/pages-oldPage-feedback-index.DR3wYfNS.js","assets/index-DfMq1Lsy.css","assets/pages-WorkModule-my-safety-index.BmZYaSsv.js","assets/pages-WorkModule-my-userInfo-index.C23vx7Tw.js","assets/index-PbZRohU0.css","assets/pages-WorkModule-my-topUp-index.D7CiLgvA.js","assets/index-DVW7eW_E.css","assets/pages-WorkModule-my-rechargeRecord-index.94DSJ9xU.js","assets/index-DkpjLEVf.css","assets/pages-WorkModule-my-withdraw-index.6e1p7rYS.js","assets/u-form-item.IKeUm09u.js","assets/u-form-item-CHKpHHBd.css","assets/index-DMiqMTG0.css","assets/pages-WorkModule-my-withdrawalHistory-index.CpdP-LcY.js","assets/index-DM7RUlJq.css","assets/pages-WorkModule-my-changePassword-index.DZk30yY5.js","assets/u-toast.CWK_h4bV.js","assets/u-toast-B43j-2rA.css","assets/index-_cNPdTRK.css","assets/pages-WorkModule-my-changeFundPassword-index.Bb5MvOc7.js","assets/index-aSoNx7GG.css","assets/pages-WorkModule-my-fundRecord-index.BeOcexJm.js","assets/index-DeByrJoN.css","assets/pages-common-betSlip-index.BE3ZM9WO.js","assets/index-CVZe4nL9.css","assets/pages-WorkModule-bettingHistory-bettingDetail-index.C_vS_hgy.js","assets/index-BNji40GC.css","assets/pages-common-sportDetail-index.DvhmkHtX.js","assets/index-DSXWC2qU.css","assets/pages-Tabbar-Entertainment-view-history-index.y7sBV4Ux.js","assets/index-DUdmUzpg.css","assets/pages-Tabbar-Entertainment-view-Pc28BettingHistory-index.kG4YLs21.js","assets/index-BLwBkPAh.css","assets/pages-common-AllHistory-index.D8CjGfxq.js","assets/index-C_8UWU9m.css","assets/pages-WorkModule-Entertainment-Detail-index.WfHTTNkM.js","assets/index-BEZoAQ7k.css"]
- }
- return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
- }
- var e,t;
- /**
- * @vue/shared v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/
- function n(e,t){const n=new Set(e.split(","));return e=>n.has(e)}!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 o={},r=[],a=()=>{},i=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),h=Array.isArray,p=e=>"[object Map]"===x(e),m=e=>"[object Set]"===x(e),g=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||g(e))&&g(e.then)&&g(e.catch),w=Object.prototype.toString,x=e=>w.call(e),k=e=>"[object Object]"===x(e),T=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,S=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,P=C((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,$=C((e=>e.replace(M,"-$1").toLowerCase())),O=C((e=>e.charAt(0).toUpperCase()+e.slice(1))),L=C((e=>e?`on${O(e)}`:"")),I=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},A=(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(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?z(o):D(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||b(e))return e}const F=/;(?![^(]*\))/g,V=/:([^]+)/,W=/\/\*[^]*?\*\//g;function z(e){const t={};return e.replace(W,"").split(F).forEach((e=>{if(e){const n=e.split(V);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function H(e){let t="";if(v(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){const o=H(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const q=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function U(e){return!!e||""===e}const X=e=>v(e)?e:null==e?"":h(e)||b(e)&&(e.toString===w||!g(e.toString))?JSON.stringify(e,Y,2):String(e),Y=(e,t)=>t&&t.__v_isRef?Y(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[G(t,o)+" =>"]=n,e)),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>G(e)))}:y(t)?G(t):!b(t)||h(t)||k(t)?t:String(t),G=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},J=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),K=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),Q=["list-item"].map((e=>"uni-"+e));function Z(e){if(-1!==Q.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==J.indexOf(t)||-1!==K.indexOf(t)}const ee="\n",te=["%","%"],ne=/^([a-z-]+:)?\/\//i,oe=/^data:.*,.*/,re="onShow",ae="onHide",ie="onLaunch",se="onError",le="onThemeChange",ce="onPageNotFound",ue="onUnhandledRejection",de="onLoad",fe="onUnload",he="onInit",pe="onSaveExitState",me="onResize",ge="onBackPress",ve="onPageScroll",ye="onTabItemTap",be="onReachBottom",_e="onPullDownRefresh",we="onShareTimeline",xe="onShareChat",ke="onAddToFavorites",Te="onShareAppMessage",Se="onNavigationBarButtonTap",Ce="onNavigationBarSearchInputClicked",Ee="onNavigationBarSearchInputChanged",Pe="onNavigationBarSearchInputConfirmed",Me="onNavigationBarSearchInputFocusChanged",$e="onAppEnterForeground",Oe="onAppEnterBackground",Le="onWebInvokeAppService";function Ie(e){return 0===e.indexOf("/")}function Re(e){return Ie(e)?e:"/"+e}function Ae(e){return Ie(e)?e.slice(1):e}function Ne(e,t){for(const n in t)e.style[n]=t[n]}function Be(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function je(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?g(e.success)&&e.success(t):g(e.fail)&&e.fail(t),g(e.complete)&&e.complete(t)}let De;function Fe(){return De||(De=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function e(){return this}return void 0!==e()?e():new Function("return this")()}(),De)}function Ve(e){return e&&(e.appContext?e.proxy:e)}function We(e){if(!e)return;let t=e.type.name;for(;t&&Z($(t));)t=(e=e.parent).type.name;return e.proxy}function ze(e){return 1===e.nodeType}function He(e){const t=Fe();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach((t=>{n[t]=e[t]})),D(n)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),D(t)}if(v(e))return z(e);if(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?z(o):He(o);if(r)for(const e in r)t[e]=r[e]}return t}return D(e)}function qe(e){let t="";const n=Fe();if(n&&n.UTSJSONObject&&e instanceof n.UTSJSONObject)n.UTSJSONObject.keys(e).forEach((n=>{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(h(e))for(let o=0;o<e.length;o++){const n=qe(e[o]);n&&(t+=n+" ")}else t=H(e);return t.trim()}function Ue(e){return P(e.substring(5))}const Xe=Be((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={}))[Ue(t)]=o}n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[Ue(t)],o.call(this,t)}}));function Ye(e){return c({},e.dataset,e.__uniDataset)}const Ge=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Je(e){return{passive:e}}function Ke(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:Ye(e),offsetTop:n,offsetLeft:o}}function Qe(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ze(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=Qe(e[n])}catch(o){t[n]=e[n]}})),t}const et=/\+/g;function tt(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(et," ");let r=e.indexOf("="),a=Qe(r<0?e:e.slice(0,r)),i=r<0?null:Qe(e.slice(r+1));if(a in t){let e=t[a];h(e)||(e=t[a]=[e]),e.push(i)}else t[a]=i}return t}function nt(e,t,{clearTimeout:n,setTimeout:o}){let r;const a=function(){n(r);r=o((()=>e.apply(this,arguments)),t)};return a.cancel=function(){n(r)},a}class ot{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 rt=[he,de,re,ae,fe,ge,ve,ye,be,_e,we,Te,xe,ke,pe,Se,Ce,Ee,Pe,Me];const at=[re,ae,ie,se,le,ce,ue,"onExit",he,de,"onReady",fe,me,ge,ve,ye,be,_e,we,ke,Te,xe,pe,Se,Ce,Ee,Pe,Me];const it=[];const st=Be(((e,t)=>t(e))),lt=function(){};lt.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var a=o.length-1;a>=0;a--)if(o[a].fn===t||o[a].fn._===t||o[a]._id===t){o.splice(a,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var ct=lt;const ut={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function dt(e,t,n){if(v(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in ut?ut[o]:o}return r}var o;return t}function ft(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach((a=>{const i=e[a];r[a]=k(i)?ft(i,t,n):h(i)?i.map((e=>k(e)?ft(e,t,n):dt(o,e))):dt(o,i,a)})),r):e}
- /**
- * @dcloudio/uni-h5-vue v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let ht,pt;class mt{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ht,!e&&ht&&(this.index=(ht.scopes||(ht.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=ht;try{return ht=this,e()}finally{ht=t}}}on(){ht=this}off(){ht=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function gt(e){return new mt(e)}function vt(){return ht}class yt{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t=ht){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,St();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),Ct()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=xt,t=pt;try{return xt=!0,pt=this,this._runnings++,bt(this),this.fn()}finally{_t(this),this._runnings--,pt=t,xt=e}}stop(){var e;this.active&&(bt(this),_t(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function bt(e){e._trackId++,e._depsLength=0}function _t(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)wt(e.deps[t],e);e.deps.length=e._depsLength}}function wt(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let xt=!0,kt=0;const Tt=[];function St(){Tt.push(xt),xt=!1}function Ct(){const e=Tt.pop();xt=void 0===e||e}function Et(){kt++}function Pt(){for(kt--;!kt&&$t.length;)$t.shift()()}function Mt(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&wt(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const $t=[];function Ot(e,t,n){Et();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&&$t.push(o.scheduler)))}Pt()}const Lt=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},It=new WeakMap,Rt=Symbol(""),At=Symbol("");function Nt(e,t,n){if(xt&&pt){let t=It.get(e);t||It.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Lt((()=>t.delete(n)))),Mt(pt,o)}}function Bt(e,t,n,o,r,a){const i=It.get(e);if(!i)return;let s=[];if("clear"===t)s=[...i.values()];else if("length"===n&&h(e)){const e=Number(o);i.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(i.get(n)),t){case"add":h(e)?T(n)&&s.push(i.get("length")):(s.push(i.get(Rt)),p(e)&&s.push(i.get(At)));break;case"delete":h(e)||(s.push(i.get(Rt)),p(e)&&s.push(i.get(At)));break;case"set":p(e)&&s.push(i.get(Rt))}Et();for(const l of s)l&&Ot(l,4);Pt()}const jt=n("__proto__,__v_isRef,__isVue"),Dt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),Ft=Vt();function Vt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=$n(this);for(let t=0,r=this.length;t<r;t++)Nt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map($n)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){St(),Et();const n=$n(this)[t].apply(this,e);return Pt(),Ct(),n}})),e}function Wt(e){const t=$n(this);return Nt(t,0,e),t.hasOwnProperty(e)}class zt{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?_n:bn:r?yn:vn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const a=h(e);if(!o){if(a&&f(Ft,t))return Reflect.get(Ft,t,n);if("hasOwnProperty"===t)return Wt}const i=Reflect.get(e,t,n);return(y(t)?Dt.has(t):jt(t))?i:(o||Nt(e,0,t),r?i:Bn(i)?a&&T(t)?i:i.value:b(i)?o?Tn(i):xn(i):i)}}class Ht extends zt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=En(r);if(Pn(n)||En(n)||(r=$n(r),n=$n(n)),!h(e)&&Bn(r)&&!Bn(n))return!t&&(r.value=n,!0)}const a=h(e)&&T(t)?Number(t)<e.length:f(e,t),i=Reflect.set(e,t,n,o);return e===$n(o)&&(a?I(n,r)&&Bt(e,"set",t,n):Bt(e,"add",t,n)),i}deleteProperty(e,t){const n=f(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Bt(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&Dt.has(t)||Nt(e,0,t),n}ownKeys(e){return Nt(e,0,h(e)?"length":Rt),Reflect.ownKeys(e)}}class qt extends zt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Ut=new Ht,Xt=new qt,Yt=new Ht(!0),Gt=e=>e,Jt=e=>Reflect.getPrototypeOf(e);function Kt(e,t,n=!1,o=!1){const r=$n(e=e.__v_raw),a=$n(t);n||(I(t,a)&&Nt(r,0,t),Nt(r,0,a));const{has:i}=Jt(r),s=o?Gt:n?In:Ln;return i.call(r,t)?s(e.get(t)):i.call(r,a)?s(e.get(a)):void(e!==r&&e.get(t))}function Qt(e,t=!1){const n=this.__v_raw,o=$n(n),r=$n(e);return t||(I(e,r)&&Nt(o,0,e),Nt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function Zt(e,t=!1){return e=e.__v_raw,!t&&Nt($n(e),0,Rt),Reflect.get(e,"size",e)}function en(e){e=$n(e);const t=$n(this);return Jt(t).has.call(t,e)||(t.add(e),Bt(t,"add",e,e)),this}function tn(e,t){t=$n(t);const n=$n(this),{has:o,get:r}=Jt(n);let a=o.call(n,e);a||(e=$n(e),a=o.call(n,e));const i=r.call(n,e);return n.set(e,t),a?I(t,i)&&Bt(n,"set",e,t):Bt(n,"add",e,t),this}function nn(e){const t=$n(this),{has:n,get:o}=Jt(t);let r=n.call(t,e);r||(e=$n(e),r=n.call(t,e)),o&&o.call(t,e);const a=t.delete(e);return r&&Bt(t,"delete",e,void 0),a}function on(){const e=$n(this),t=0!==e.size,n=e.clear();return t&&Bt(e,"clear",void 0,void 0),n}function rn(e,t){return function(n,o){const r=this,a=r.__v_raw,i=$n(a),s=t?Gt:e?In:Ln;return!e&&Nt(i,0,Rt),a.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}}function an(e,t,n){return function(...o){const r=this.__v_raw,a=$n(r),i=p(a),s="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,c=r[e](...o),u=n?Gt:t?In:Ln;return!t&&Nt(a,0,l?At:Rt),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function sn(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ln(){const e={get(e){return Kt(this,e)},get size(){return Zt(this)},has:Qt,add:en,set:tn,delete:nn,clear:on,forEach:rn(!1,!1)},t={get(e){return Kt(this,e,!1,!0)},get size(){return Zt(this)},has:Qt,add:en,set:tn,delete:nn,clear:on,forEach:rn(!1,!0)},n={get(e){return Kt(this,e,!0)},get size(){return Zt(this,!0)},has(e){return Qt.call(this,e,!0)},add:sn("add"),set:sn("set"),delete:sn("delete"),clear:sn("clear"),forEach:rn(!0,!1)},o={get(e){return Kt(this,e,!0,!0)},get size(){return Zt(this,!0)},has(e){return Qt.call(this,e,!0)},add:sn("add"),set:sn("set"),delete:sn("delete"),clear:sn("clear"),forEach:rn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=an(r,!1,!1),n[r]=an(r,!0,!1),t[r]=an(r,!1,!0),o[r]=an(r,!0,!0)})),[e,n,t,o]}const[cn,un,dn,fn]=ln();function hn(e,t){const n=t?e?fn:dn:e?un:cn;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 pn={get:hn(!1,!1)},mn={get:hn(!1,!0)},gn={get:hn(!0,!1)},vn=new WeakMap,yn=new WeakMap,bn=new WeakMap,_n=new WeakMap;function wn(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>x(e).slice(8,-1))(e))}function xn(e){return En(e)?e:Sn(e,!1,Ut,pn,vn)}function kn(e){return Sn(e,!1,Yt,mn,yn)}function Tn(e){return Sn(e,!0,Xt,gn,bn)}function Sn(e,t,n,o,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const i=wn(e);if(0===i)return e;const s=new Proxy(e,2===i?o:n);return r.set(e,s),s}function Cn(e){return En(e)?Cn(e.__v_raw):!(!e||!e.__v_isReactive)}function En(e){return!(!e||!e.__v_isReadonly)}function Pn(e){return!(!e||!e.__v_isShallow)}function Mn(e){return Cn(e)||En(e)}function $n(e){const t=e&&e.__v_raw;return t?$n(t):e}function On(e){return Object.isExtensible(e)&&A(e,"__v_skip",!0),e}const Ln=e=>b(e)?xn(e):e,In=e=>b(e)?Tn(e):e;class Rn{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new yt((()=>e(this._value)),(()=>Nn(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=$n(this);return e._cacheable&&!e.effect.dirty||!I(e._value,e._value=e.effect.run())||Nn(e,4),An(e),e.effect._dirtyLevel>=2&&Nn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function An(e){var t;xt&&pt&&(e=$n(e),Mt(pt,null!=(t=e.dep)?t:e.dep=Lt((()=>e.dep=void 0),e instanceof Rn?e:void 0)))}function Nn(e,t=4,n){const o=(e=$n(e)).dep;o&&Ot(o,t)}function Bn(e){return!(!e||!0!==e.__v_isRef)}function jn(e){return Fn(e,!1)}function Dn(e){return Fn(e,!0)}function Fn(e,t){return Bn(e)?e:new Vn(e,t)}class Vn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:$n(e),this._value=t?e:Ln(e)}get value(){return An(this),this._value}set value(e){const t=this.__v_isShallow||Pn(e)||En(e);e=t?e:$n(e),I(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Ln(e),Nn(this,4))}}function Wn(e){return Bn(e)?e.value:e}const zn={get:(e,t,n)=>Wn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Bn(r)&&!Bn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Hn(e){return Cn(e)?e:new Proxy(e,zn)}class qn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=$n(this._object),t=this._key,null==(n=It.get(e))?void 0:n.get(t);var e,t,n}}function Un(e,t,n){const o=e[t];return Bn(o)?o:new qn(e,t,n)}function Xn(e,t,n,o){try{return o?e(...o):e()}catch(r){Gn(r,t,n)}}function Yn(e,t,n,o){if(g(e)){const r=Xn(e,t,n,o);return r&&_(r)&&r.catch((e=>{Gn(e,t,n)})),r}const r=[];for(let a=0;a<e.length;a++)r.push(Yn(e[a],t,n,o));return r}function Gn(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,a=`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,a))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void Xn(i,null,10,[e,r,a])}Jn(e,n,r,o)}function Jn(e,t,n,o=!0){console.error(e)}let Kn=!1,Qn=!1;const Zn=[];let eo=0;const to=[];let no=null,oo=0;const ro=Promise.resolve();let ao=null;function io(e){const t=ao||ro;return e?t.then(this?e.bind(this):e):t}function so(e){Zn.length&&Zn.includes(e,Kn&&e.allowRecurse?eo+1:eo)||(null==e.id?Zn.push(e):Zn.splice(function(e){let t=eo+1,n=Zn.length;for(;t<n;){const o=t+n>>>1,r=Zn[o],a=fo(r);a<e||a===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),lo())}function lo(){Kn||Qn||(Qn=!0,ao=ro.then(po))}function co(e,t,n=(Kn?eo+1:0)){for(;n<Zn.length;n++){const t=Zn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;Zn.splice(n,1),n--,t()}}}function uo(e){if(to.length){const e=[...new Set(to)].sort(((e,t)=>fo(e)-fo(t)));if(to.length=0,no)return void no.push(...e);for(no=e,oo=0;oo<no.length;oo++)no[oo]();no=null,oo=0}}const fo=e=>null==e.id?1/0:e.id,ho=(e,t)=>{const n=fo(e)-fo(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function po(e){Qn=!1,Kn=!0,Zn.sort(ho);try{for(eo=0;eo<Zn.length;eo++){const e=Zn[eo];e&&!1!==e.active&&Xn(e,null,14)}}finally{eo=0,Zn.length=0,uo(),Kn=!1,ao=null,(Zn.length||to.length)&&po()}}function mo(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let a=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:i}=r[e]||o;i&&(a=n.map((e=>v(e)?e.trim():e))),t&&(a=n.map(N))}let l,c=r[l=L(t)]||r[l=L(P(t))];!c&&i&&(c=r[l=L($(t))]),c&&Yn(c,e,6,go(e,c,a));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,Yn(u,e,6,go(e,u,a))}}function go(e,t,n){if(1!==n.length)return n;if(g(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 vo(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const a=e.emits;let i={},s=!1;if(!g(e)){const o=e=>{const n=vo(e,t,!0);n&&(s=!0,c(i,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return a||s?(h(a)?a.forEach((e=>i[e]=null)):c(i,a),b(e)&&o.set(e,i),i):(b(e)&&o.set(e,null),null)}function yo(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,$(t))||f(e,t))}let bo=null,_o=null;function wo(e){const t=bo;return bo=e,_o=e&&e.type.__scopeId||null,t}function xo(e,t=bo,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Oa(-1);const r=wo(t);let a;try{a=e(...n)}finally{wo(r),o._d&&Oa(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ko(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:a,propsOptions:[i],slots:s,attrs:c,emit:u,render:d,renderCache:f,data:h,setupState:p,ctx:m,inheritAttrs:g}=e;let v,y;const b=wo(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=qa(d.call(t,e,f,a,p,h,m)),y=c}else{const e=t;0,v=qa(e.length>1?e(a,{attrs:c,slots:s,emit:u}):e(a,null)),y=t.props?c:To(c)}}catch(w){Ea.length=0,Gn(w,e,1),v=Va(Sa)}let _=v;if(y&&!1!==g){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(i&&e.some(l)&&(y=So(y,i)),_=Wa(_,y))}return n.dirs&&(_=Wa(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,wo(b),v}const To=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},So=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Co(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 a=o[r];if(t[a]!==e[a]&&!yo(n,a))return!0}return!1}const Eo="components";function Po(e,t){return Oo(Eo,e,!0,t)||e}const Mo=Symbol.for("v-ndc");function $o(e){return v(e)?Oo(Eo,e,!1)||e:e||Mo}function Oo(e,t,n=!0,o=!1){const r=bo||Qa;if(r){const n=r.type;{const e=ui(n,!1);if(e&&(e===t||e===P(t)||e===O(P(t))))return n}const a=Lo(r[e]||n[e],t)||Lo(r.appContext[e],t);return!a&&o?n:a}}function Lo(e,t){return e&&(e[t]||e[P(t)]||e[O(P(t))])}const Io=e=>e.__isSuspense;const Ro=Symbol.for("v-scx");function Ao(e,t){return jo(e,null,t)}const No={};function Bo(e,t,n){return jo(e,t,n)}function jo(e,t,{immediate:n,deep:r,flush:i,once:s,onTrack:l,onTrigger:c}=o){if(t&&s){const e=t;t=(...t)=>{e(...t),C()}}const d=Qa,f=e=>!0===r?e:Vo(e,!1===r?1:void 0);let p,m,v=!1,y=!1;if(Bn(e)?(p=()=>e.value,v=Pn(e)):Cn(e)?(p=()=>f(e),v=!0):h(e)?(y=!0,v=e.some((e=>Cn(e)||Pn(e))),p=()=>e.map((e=>Bn(e)?e.value:Cn(e)?f(e):g(e)?Xn(e,d,2):void 0))):p=g(e)?t?()=>Xn(e,d,2):()=>(m&&m(),Yn(e,d,3,[_])):a,t&&r){const e=p;p=()=>Vo(e())}let b,_=e=>{m=T.onStop=()=>{Xn(e,d,4),m=T.onStop=void 0}};if(ai){if(_=a,t?n&&Yn(t,d,3,[p(),y?[]:void 0,_]):p(),"sync"!==i)return a;{const e=oa(Ro);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(No):No;const x=()=>{if(T.active&&T.dirty)if(t){const e=T.run();(r||v||(y?e.some(((e,t)=>I(e,w[t]))):I(e,w)))&&(m&&m(),Yn(t,d,3,[e,w===No?void 0:y&&w[0]===No?[]:w,_]),w=e)}else T.run()};let k;x.allowRecurse=!!t,"sync"===i?k=x:"post"===i?k=()=>va(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),k=()=>so(x));const T=new yt(p,a,k),S=vt(),C=()=>{T.stop(),S&&u(S.effects,T)};return t?n?x():w=T.run():"post"===i?va(T.run.bind(T),d&&d.suspense):T.run(),b&&b.push(C),C}function Do(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?Fo(o,e):()=>o[e]:e.bind(o,o);let a;g(t)?a=t:(a=t.handler,n=t);const i=ni(this),s=jo(r,a.bind(o),n);return i(),s}function Fo(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 Vo(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),Bn(e))Vo(e.value,t,n,o);else if(h(e))for(let r=0;r<e.length;r++)Vo(e[r],t,n,o);else if(m(e)||p(e))e.forEach((e=>{Vo(e,t,n,o)}));else if(k(e))for(const r in e)Vo(e[r],t,n,o);return e}function Wo(e,t){if(null===bo)return e;const n=ci(bo)||bo.proxy,r=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[e,i,s,l=o]=t[a];e&&(g(e)&&(e={mounted:e,updated:e}),e.deep&&Vo(i),r.push({dir:e,instance:n,value:i,oldValue:void 0,arg:s,modifiers:l}))}return e}function zo(e,t,n,o){const r=e.dirs,a=t&&t.dirs;for(let i=0;i<r.length;i++){const s=r[i];a&&(s.oldValue=a[i].value);let l=s.dir[o];l&&(St(),Yn(l,n,8,[e.el,s,e,t]),Ct())}}const Ho=Symbol("_leaveCb"),qo=Symbol("_enterCb");const Uo=[Function,Array],Xo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Uo,onEnter:Uo,onAfterEnter:Uo,onEnterCancelled:Uo,onBeforeLeave:Uo,onLeave:Uo,onAfterLeave:Uo,onLeaveCancelled:Uo,onBeforeAppear:Uo,onAppear:Uo,onAfterAppear:Uo,onAppearCancelled:Uo},Yo={name:"BaseTransition",props:Xo,setup(e,{slots:t}){const n=Za(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wr((()=>{e.isMounted=!0})),Tr((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&er(t.default(),!0);if(!r||!r.length)return;let a=r[0];if(r.length>1)for(const e of r)if(e.type!==Sa){a=e;break}const i=$n(e),{mode:s}=i;if(o.isLeaving)return Ko(a);const l=Qo(a);if(!l)return Ko(a);const c=Jo(l,i,o,n);Zo(l,c);const u=n.subTree,d=u&&Qo(u);if(d&&d.type!==Sa&&!Na(l,d)){const e=Jo(d,i,o,n);if(Zo(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Ko(a);"in-out"===s&&l.type!==Sa&&(e.delayLeave=(e,t,n)=>{Go(o,d)[String(d.key)]=d,e[Ho]=()=>{t(),e[Ho]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return a}}};function Go(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 Jo(e,t,n,o){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=Go(n,e),x=(e,t)=>{e&&Yn(e,o,9,t)},k=(e,t)=>{const n=t[1];x(e,t),h(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},T={mode:a,persisted:i,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=g||s}t[Ho]&&t[Ho](!0);const a=w[_];a&&Na(e,a)&&a.el[Ho]&&a.el[Ho](),x(o,[t])},enter(e){let t=l,o=c,a=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,a=b||u}let i=!1;const s=e[qo]=t=>{i||(i=!0,x(t?a:o,[e]),T.delayedLeave&&T.delayedLeave(),e[qo]=void 0)};t?k(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t[qo]&&t[qo](!0),n.isUnmounting)return o();x(d,[t]);let a=!1;const i=t[Ho]=n=>{a||(a=!0,o(),x(n?m:p,[t]),t[Ho]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?k(f,[t,i]):i()},clone:e=>Jo(e,t,n,o)};return T}function Ko(e){if(ar(e))return(e=Wa(e)).children=null,e}function Qo(e){return ar(e)?e.children?e.children[0]:void 0:e}function Zo(e,t){6&e.shapeFlag&&e.component?Zo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function er(e,t=!1,n){let o=[],r=0;for(let a=0;a<e.length;a++){let i=e[a];const s=null==n?i.key:String(n)+String(null!=i.key?i.key:a);i.type===ka?(128&i.patchFlag&&r++,o=o.concat(er(i.children,t,s))):(t||i.type!==Sa)&&o.push(null!=s?Wa(i,{key:s}):i)}if(r>1)for(let a=0;a<o.length;a++)o[a].patchFlag=-2;return o}
- /*! #__NO_SIDE_EFFECTS__ */function tr(e,t){return g(e)?(()=>c({name:e.name},t,{setup:e}))():e}const nr=e=>!!e.type.__asyncLoader;
- /*! #__NO_SIDE_EFFECTS__ */function or(e){g(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:a,suspensible:i=!0,onError:s}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return tr({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Qa;if(l)return()=>rr(l,e);const t=t=>{c=null,Gn(t,e,13,!o)};if(i&&e.suspense||ai)return d().then((t=>()=>rr(t,e))).catch((e=>(t(e),()=>o?Va(o,{error:e}):null)));const s=jn(!1),u=jn(),f=jn(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=a&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${a}ms.`);t(e),u.value=e}}),a),d().then((()=>{s.value=!0,e.parent&&ar(e.parent.vnode)&&(e.parent.effect.dirty=!0,so(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>s.value&&l?rr(l,e):u.value&&o?Va(o,{error:u.value}):n&&!f.value?Va(n):void 0}})}function rr(e,t){const{ref:n,props:o,children:r,ce:a}=t.vnode,i=Va(e,o,r);return i.ref=n,i.ce=a,delete t.vnode.ce,i}const ar=e=>e.type.__isKeepAlive;class ir{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const sr={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=Za(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new ir(e.max);r.pruneCacheEntry=i;let a=null;function i(t){var o;!a||!Na(t,a)||"key"===e.matchBy&&t.key!==a.key?(pr(o=t),u(o,n,s,!0)):a&&pr(a)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function h(t){r.forEach(((n,o)=>{const a=gr(n,e.matchBy);!a||t&&t(a)||(r.delete(o),i(n))}))}o.activate=(e,t,n,o,r)=>{const a=e.component;if(a.ba){const e=a.isDeactivated;a.isDeactivated=!1,R(a.ba),a.isDeactivated=e}c(e,t,n,0,s),l(a.vnode,e,t,n,a,s,o,e.slotScopeIds,r),va((()=>{a.isDeactivated=!1,a.a&&R(a.a);const t=e.props&&e.props.onVnodeMounted;t&&Ga(t,a.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&vr(t.bda),c(e,f,null,1,s),va((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Ga(n,t.parent,e),t.isDeactivated=!0}),s)},Bo((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&h((t=>cr(e,t))),t&&h((e=>!cr(t,e)))}),{flush:"post",deep:!0});let p=null;const m=()=>{null!=p&&r.set(p,mr(n.subTree))};return wr(m),kr(m),Tr((()=>{r.forEach(((t,o)=>{r.delete(o),i(t);const{subTree:a,suspense:s}=n,l=mr(a);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&R(l.component.bda),pr(l);const e=l.component.da;e&&va(e,s)}}))})),()=>{if(p=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return a=null,n;if(!Aa(o)||!(4&o.shapeFlag)&&!Io(o.type))return a=null,o;let i=mr(o);const s=i.type,l=gr(i,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!cr(c,l))||u&&l&&cr(u,l))return a=i,o;const d=null==i.key?s:i.key,f=r.get(d);return i.el&&(i=Wa(i),Io(o.type)&&(o.ssContent=i)),p=d,f&&(i.el=f.el,i.component=f.component,i.transition&&Zo(i,i.transition),i.shapeFlag|=512),i.shapeFlag|=256,a=i,Io(o.type)?o:i}}},lr=sr;function cr(e,t){return h(e)?e.some((e=>cr(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function ur(e,t){fr(e,"a",t)}function dr(e,t){fr(e,"da",t)}function fr(e,t,n=Qa){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,yr(t,o,n),n){let e=n.parent;for(;e&&e.parent;)ar(e.parent.vnode)&&hr(o,t,n,e),e=e.parent}}function hr(e,t,n,o){const r=yr(t,e,o,!0);Sr((()=>{u(o[t],r)}),n)}function pr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function mr(e){return Io(e.type)?e.ssContent:e}function gr(e,t){if("name"===t){const t=e.type;return ui(nr(e)?t.__asyncResolved||{}:t)}return String(e.key)}function vr(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function yr(e,t,n=Qa,o=!1){if(n){if(r=e,rt.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return[de,re].indexOf(e)>-1}(e))){const o=n.proxy;Yn(t.bind(o),n,e,de===e?[o.$page.options]:[])}}const a=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;St();const r=ni(n),a=Yn(t,n,e,o);return r(),Ct(),a});return o?a.unshift(i):a.push(i),i}var r}const br=e=>(t,n=Qa)=>(!ai||"sp"===e)&&yr(e,((...e)=>t(...e)),n),_r=br("bm"),wr=br("m"),xr=br("bu"),kr=br("u"),Tr=br("bum"),Sr=br("um"),Cr=br("sp"),Er=br("rtg"),Pr=br("rtc");function Mr(e,t=Qa){yr("ec",e,t)}function $r(e,t,n,o){let r;const a=n;if(h(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,a)}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,a)}else if(b(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,a)));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,i=n.length;o<i;o++){const i=n[o];r[o]=t(e[i],i,o,a)}}else r=[];return r}function Or(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(h(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.key?(...e)=>{const t=o.fn(...e);return t&&(t.key=o.key),t}:o.fn)}return e}function Lr(e,t,n={},o,r){if(bo.isCE||bo.parent&&nr(bo.parent)&&bo.parent.isCE)return"default"!==t&&(n.name=t),Va("slot",n,o&&o());let a=e[t];a&&a._c&&(a._d=!1),Ma();const i=a&&Ir(a(n)),s=Ra(ka,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&1===e._?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function Ir(e){return e.some((e=>!Aa(e)||e.type!==Sa&&!(e.type===ka&&!Ir(e.children))))?e:null}const Rr=e=>{if(!e)return null;if(ri(e)){return ci(e)||e.proxy}return Rr(e.parent)},Ar=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=>Rr(e.parent),$root:e=>Rr(e.root),$emit:e=>e.emit,$options:e=>Hr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,so(e.update)})(e)),$nextTick:e=>e.n||(e.n=io.bind(e.proxy)),$watch:e=>Do.bind(e)}),Nr=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Br={get({_:e},t){const{ctx:n,setupState:r,data:a,props:i,accessCache:s,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=s[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(Nr(r,t))return s[t]=1,r[t];if(a!==o&&f(a,t))return s[t]=2,a[t];if((u=e.propsOptions[0])&&f(u,t))return s[t]=3,i[t];if(n!==o&&f(n,t))return s[t]=4,n[t];Fr&&(s[t]=0)}}const d=Ar[t];let h,p;return d?("$attrs"===t&&Nt(e,0,t),d(e)):(h=l.__cssModules)&&(h=h[t])?h:n!==o&&f(n,t)?(s[t]=4,n[t]):(p=c.config.globalProperties,f(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:a,ctx:i}=e;return Nr(a,t)?(a[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:i}},s){let l;return!!n[s]||e!==o&&f(e,s)||Nr(t,s)||(l=i[0])&&f(l,s)||f(r,s)||f(Ar,s)||f(a.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function jr(){return function(){const e=Za();return e.setupContext||(e.setupContext=li(e))}().slots}function Dr(e){return h(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Fr=!0;function Vr(e){const t=Hr(e),n=e.proxy,o=e.ctx;Fr=!1,t.beforeCreate&&Wr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:p,beforeUpdate:m,updated:v,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:k,unmounted:T,render:S,renderTracked:C,renderTriggered:E,errorCaptured:P,serverPrefetch:M,expose:$,inheritAttrs:O,components:L,directives:I,filters:R}=t;if(u&&function(e,t){h(e)&&(e=Yr(e));for(const n in e){const o=e[n];let r;r=b(o)?"default"in o?oa(o.from||n,o.default,!0):oa(o.from||n):oa(o),Bn(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(u,o,null),s)for(const a in s){const e=s[a];g(e)&&(o[a]=e.bind(n))}if(r){const t=r.call(n,n);b(t)&&(e.data=xn(t))}if(Fr=!0,i)for(const h in i){const e=i[h],t=g(e)?e.bind(n,n):g(e.get)?e.get.bind(n,n):a,r=!g(e)&&g(e.set)?e.set.bind(n):a,s=di({get:t,set:r});Object.defineProperty(o,h,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const a in l)zr(l[a],o,n,a);if(c){const e=g(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{na(t,e[t])}))}function A(e,t){h(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Wr(d,e,"c"),A(_r,f),A(wr,p),A(xr,m),A(kr,v),A(ur,y),A(dr,_),A(Mr,P),A(Pr,C),A(Er,E),A(Tr,x),A(Sr,T),A(Cr,M),h($))if($.length){const t=e.exposed||(e.exposed={});$.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===a&&(e.render=S),null!=O&&(e.inheritAttrs=O),L&&(e.components=L),I&&(e.directives=I);const N=e.appContext.config.globalProperties.$applyOptions;N&&N(t,e,n)}function Wr(e,t,n){Yn(h(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function zr(e,t,n,o){const r=o.includes(".")?Fo(n,o):()=>n[o];if(v(e)){const n=t[e];g(n)&&Bo(r,n)}else if(g(e))Bo(r,e.bind(n));else if(b(e))if(h(e))e.forEach((e=>zr(e,t,n,o)));else{const o=g(e.handler)?e.handler.bind(n):t[e.handler];g(o)&&Bo(r,o,e)}}function Hr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t);let l;return s?l=s:r.length||n||o?(l={},r.length&&r.forEach((e=>qr(l,e,i,!0))),qr(l,t,i)):l=t,b(t)&&a.set(t,l),l}function qr(e,t,n,o=!1){const{mixins:r,extends:a}=t;a&&qr(e,a,n,!0),r&&r.forEach((t=>qr(e,t,n,!0)));for(const i in t)if(o&&"expose"===i);else{const o=Ur[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const Ur={data:Xr,props:Kr,emits:Kr,methods:Jr,computed:Jr,beforeCreate:Gr,created:Gr,beforeMount:Gr,mounted:Gr,beforeUpdate:Gr,updated:Gr,beforeDestroy:Gr,beforeUnmount:Gr,destroyed:Gr,unmounted:Gr,activated:Gr,deactivated:Gr,errorCaptured:Gr,serverPrefetch:Gr,components:Jr,directives:Jr,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]=Gr(e[o],t[o]);return n},provide:Xr,inject:function(e,t){return Jr(Yr(e),Yr(t))}};function Xr(e,t){return t?e?function(){return c(g(e)?e.call(this,this):e,g(t)?t.call(this,this):t)}:t:e}function Yr(e){if(h(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Gr(e,t){return e?[...new Set([].concat(e,t))]:t}function Jr(e,t){return e?c(Object.create(null),e,t):t}function Kr(e,t){return e?h(e)&&h(t)?[...new Set([...e,...t])]:c(Object.create(null),Dr(e),Dr(null!=t?t:{})):t}function Qr(){return{app:null,config:{isNativeTag:i,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 Zr=0;function ea(e,t){return function(t,n=null){g(t)||(t=c({},t)),null==n||b(n)||(n=null);const o=Qr(),r=new WeakSet;let a=!1;const i=o.app={_uid:Zr++,_component:t,_props:n,_container:null,_context:o,_instance:null,version:hi,get config(){return o.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&g(e.install)?(r.add(e),e.install(i,...t)):g(e)&&(r.add(e),e(i,...t))),i),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),i),component:(e,t)=>t?(o.components[e]=t,i):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,i):o.directives[e],mount(r,s,l){if(!a){const s=Va(t,n);return s.appContext=o,!0===l?l="svg":!1===l&&(l=void 0),e(s,r,l),a=!0,i._container=r,r.__vue_app__=i,i._instance=s.component,ci(s.component)||s.component.proxy}},unmount(){a&&(e(null,i._container),delete i._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,i),runWithContext(e){const t=ta;ta=i;try{return e()}finally{ta=t}}};return i}}let ta=null;function na(e,t){if(Qa){let n=Qa.provides;const o=Qa.parent&&Qa.parent.provides;o===n&&(n=Qa.provides=Object.create(o)),n[e]=t,"app"===Qa.type.mpType&&Qa.appContext.app.provide(e,t)}else;}function oa(e,t,n=!1){const o=Qa||bo;if(o||ta){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:ta._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&g(t)?t.call(o&&o.proxy):t}}function ra(e,t,n,r){const[a,i]=e.propsOptions;let s,l=!1;if(t)for(let o in t){if(S(o))continue;const c=t[o];let u;a&&f(a,u=P(o))?i&&i.includes(u)?(s||(s={}))[u]=c:n[u]=c:yo(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(i){const t=$n(n),r=s||o;for(let o=0;o<i.length;o++){const s=i[o];n[s]=aa(a,t,s,r[s],e,!f(r,s))}}return l}function aa(e,t,n,o,r,a){const i=e[n];if(null!=i){const e=f(i,"default");if(e&&void 0===o){const e=i.default;if(i.type!==Function&&!i.skipFactory&&g(e)){const{propsDefaults:a}=r;if(n in a)o=a[n];else{const i=ni(r);o=a[n]=e.call(null,t),i()}}else o=e}i[0]&&(a&&!e?o=!1:!i[1]||""!==o&&o!==$(n)||(o=!0))}return o}function ia(e,t,n=!1){const a=t.propsCache,i=a.get(e);if(i)return i;const s=e.props,l={},u=[];let d=!1;if(!g(e)){const o=e=>{d=!0;const[n,o]=ia(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!d)return b(e)&&a.set(e,r),r;if(h(s))for(let r=0;r<s.length;r++){const e=P(s[r]);sa(e)&&(l[e]=o)}else if(s)for(const o in s){const e=P(o);if(sa(e)){const t=s[o],n=l[e]=h(t)||g(t)?{type:t}:c({},t);if(n){const t=ua(Boolean,n.type),o=ua(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||f(n,"default"))&&u.push(e)}}}const p=[l,u];return b(e)&&a.set(e,p),p}function sa(e){return"$"!==e[0]&&!S(e)}function la(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 ca(e,t){return la(e)===la(t)}function ua(e,t){return h(t)?t.findIndex((t=>ca(t,e))):g(t)&&ca(t,e)?0:-1}const da=e=>"_"===e[0]||"$stable"===e,fa=e=>h(e)?e.map(qa):[qa(e)],ha=(e,t,n)=>{if(t._n)return t;const o=xo(((...e)=>fa(t(...e))),n);return o._c=!1,o},pa=(e,t,n)=>{const o=e._ctx;for(const r in e){if(da(r))continue;const n=e[r];if(g(n))t[r]=ha(0,n,o);else if(null!=n){const e=fa(n);t[r]=()=>e}}},ma=(e,t)=>{const n=fa(t);e.slots.default=()=>n};function ga(e,t,n,r,a=!1){if(h(e))return void e.forEach(((e,o)=>ga(e,t&&(h(t)?t[o]:t),n,r,a)));if(nr(r)&&!a)return;const i=4&r.shapeFlag?ci(r.component)||r.component.proxy:r.el,s=a?null:i,{i:l,r:c}=e,d=t&&t.r,p=l.refs===o?l.refs={}:l.refs,m=l.setupState;if(null!=d&&d!==c&&(v(d)?(p[d]=null,f(m,d)&&(m[d]=null)):Bn(d)&&(d.value=null)),g(c))Xn(c,l,12,[s,p]);else{const t=v(c),o=Bn(c);if(t||o){const r=()=>{if(e.f){const n=t?f(m,c)?m[c]:p[c]:c.value;a?h(n)&&u(n,i):h(n)?n.includes(i)||n.push(i):t?(p[c]=[i],f(m,c)&&(m[c]=p[c])):(c.value=[i],e.k&&(p[e.k]=c.value))}else t?(p[c]=s,f(m,c)&&(m[c]=s)):o&&(c.value=s,e.k&&(p[e.k]=s))};s?(r.id=-1,va(r,n)):r()}}}const va=function(e,t){var n;t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):(h(n=e)?to.push(...n):no&&no.includes(n,n.allowRecurse?oo+1:oo)||to.push(n),lo())};function ya(e){return function(e){j().__VUE__=!0;const{insert:t,remove:n,patchProp:i,forcePatchProp:s,createElement:l,createText:u,createComment:d,setText:h,setElementText:p,parentNode:m,nextSibling:g,setScopeId:v=a,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,a=null,i=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Na(e,t)&&(o=ee(e),G(e,r,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Ta:w(e,t,n,o);break;case Sa:x(e,t,n,o);break;case Ca:null==e&&k(t,n,o,i);break;case ka:D(e,t,n,o,r,a,i,s,l);break;default:1&d?E(e,t,n,o,r,a,i,s,l):6&d?F(e,t,n,o,r,a,i,s,l):(64&d||128&d)&&c.process(e,t,n,o,r,a,i,s,l,oe)}null!=u&&r&&ga(u,e&&e.ref,a,t||e,!t)},w=(e,n,o,r)=>{if(null==e)t(n.el=u(n.children),o,r);else{const t=n.el=e.el;n.children!==e.children&&h(t,n.children)}},x=(e,n,o,r)=>{null==e?t(n.el=d(n.children||""),o,r):n.el=e.el},k=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o,e.el,e.anchor)},T=({el:e,anchor:n},o,r)=>{let a;for(;e&&e!==n;)a=g(e),t(e,o,r),e=a;t(n,o,r)},C=({el:e,anchor:t})=>{let o;for(;e&&e!==t;)o=g(e),n(e),e=o;n(t)},E=(e,t,n,o,r,a,i,s,l)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?M(t,n,o,r,a,i,s,l):I(e,t,r,a,i,s,l)},M=(e,n,o,r,a,s,c,u)=>{let d,f;const{props:h,shapeFlag:m,transition:g,dirs:v}=e;if(d=e.el=l(e.type,s,h&&h.is,h),8&m?p(d,e.children):16&m&&L(e.children,d,null,r,a,ba(e,s),c,u),v&&zo(e,null,r,"created"),O(d,e,e.scopeId,c,r),h){for(const t in h)"value"===t||S(t)||i(d,t,null,h[t],s,e.children,r,a,Z);"value"in h&&i(d,"value",null,h.value,s),(f=h.onVnodeBeforeMount)&&Ga(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&zo(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(a,g);y&&g.beforeEnter(d),t(d,n,o),((f=h&&h.onVnodeMounted)||y||v)&&va((()=>{f&&Ga(f,r,e),y&&g.enter(d),v&&zo(e,null,r,"mounted")}),a)},O=(e,t,n,o,r)=>{if(n&&v(e,n),o)for(let a=0;a<o.length;a++)v(e,o[a]);if(r){if(t===r.subTree){const t=r.vnode;O(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},L=(e,t,n,o,r,a,i,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?Ua(e[c]):qa(e[c]);b(null,l,t,n,o,r,a,i,s)}},I=(e,t,n,r,a,l,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:h}=t;d|=16&e.patchFlag;const m=e.props||o,g=t.props||o;let v;if(n&&_a(n,!1),(v=g.onVnodeBeforeUpdate)&&Ga(v,n,t,e),h&&zo(t,e,n,"beforeUpdate"),n&&_a(n,!0),f?N(e.dynamicChildren,f,u,n,r,ba(t,a),l):c||q(e,t,u,null,n,r,ba(t,a),l,!1),d>0){if(16&d)B(u,t,m,g,n,r,a);else if(2&d&&m.class!==g.class&&i(u,"class",null,g.class,a),4&d&&i(u,"style",m.style,g.style,a),8&d){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const l=o[t],c=m[l],d=g[l];(d!==c||"value"===l||s&&s(u,l))&&i(u,l,c,d,a,e.children,n,r,Z)}}1&d&&e.children!==t.children&&p(u,t.children)}else c||null!=f||B(u,t,m,g,n,r,a);((v=g.onVnodeUpdated)||h)&&va((()=>{v&&Ga(v,n,t,e),h&&zo(t,e,n,"updated")}),r)},N=(e,t,n,o,r,a,i)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],u=l.el&&(l.type===ka||!Na(l,c)||70&l.shapeFlag)?m(l.el):n;b(l,c,u,null,o,r,a,i,!0)}},B=(e,t,n,r,a,l,c)=>{if(n!==r){if(n!==o)for(const o in n)S(o)||o in r||i(e,o,n[o],null,c,t.children,a,l,Z);for(const o in r){if(S(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||s&&s(e,o))&&i(e,o,d,u,c,t.children,a,l,Z)}"value"in r&&i(e,"value",n.value,r.value,c)}},D=(e,n,o,r,a,i,s,l,c)=>{const d=n.el=e?e.el:u(""),f=n.anchor=e?e.anchor:u("");let{patchFlag:h,dynamicChildren:p,slotScopeIds:m}=n;m&&(l=l?l.concat(m):m),null==e?(t(d,o,r),t(f,o,r),L(n.children||[],o,f,a,i,s,l,c)):h>0&&64&h&&p&&e.dynamicChildren?(N(e.dynamicChildren,p,o,a,i,s,l),(null!=n.key||a&&n===a.subTree)&&wa(e,n,!0)):q(e,n,o,f,a,i,s,l,c)},F=(e,t,n,o,r,a,i,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,l):V(t,n,o,r,a,i,l):W(e,t,l)},V=(e,t,n,r,a,i,s)=>{const l=e.component=function(e,t,n){const r=e.type,a=(t?t.appContext:e.appContext)||Ja,i={uid:Ka++,vnode:e,type:r,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new mt(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ia(r,a),emitsOptions:vo(r,a),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};i.ctx={_:i},i.root=t?t.root:i,i.emit=mo.bind(null,i),i.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(i);return i}(e,r,a);if(ar(e)&&(l.ctx.renderer=oe),function(e,t=!1){t&&ti(t);const{props:n,children:o}=e.vnode,r=ri(e);(function(e,t,n,o=!1){const r={},a={};A(a,Ba,1),e.propsDefaults=Object.create(null),ra(e,t,r,a);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=o?r:kn(r):e.type.props?e.props=r:e.props=a,e.attrs=a})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=$n(t),A(t,"_",n)):pa(t,e.slots={})}else e.slots={},t&&ma(e,t);A(e.slots,Ba,1)})(e,o);const a=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=On(new Proxy(e.ctx,Br));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?li(e):null,r=ni(e);St();const a=Xn(o,e,0,[e.props,n]);if(Ct(),r(),_(a)){if(a.then(oi,oi),t)return a.then((t=>{ii(e,t)})).catch((t=>{Gn(t,e,0)}));e.asyncDep=a}else ii(e,a)}else si(e)}(e,t):void 0;t&&ti(!1)}(l),l.asyncDep){if(a&&a.registerDep(l,z),!e.el){const e=l.subTree=Va(Sa);x(null,e,t,n)}}else z(l,e,t,n,a,i,s)},W=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:a}=e,{props:i,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!s||s&&s.$stable)||o!==i&&(o?!i||Co(o,i,c):!!i);if(1024&l)return!0;if(16&l)return o?Co(o,i,c):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==o[n]&&!yo(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void H(o,t,n);o.next=t,function(e){const t=Zn.indexOf(e);t>eo&&Zn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},z=(e,t,n,o,r,i,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:a,vnode:c}=e;{const n=xa(e);if(n)return t&&(t.el=c.el,H(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;_a(e,!1),t?(t.el=c.el,H(e,t,s)):t=c,n&&R(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Ga(u,a,t,c),_a(e,!0);const f=ko(e),h=e.subTree;e.subTree=f,b(h,f,m(h.el),ee(h),e,r,i),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&&va(o,r),(u=t.props&&t.props.onVnodeUpdated)&&va((()=>Ga(u,a,t,c)),r)}else{let a;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,f=nr(t);_a(e,!1),c&&R(c),!f&&(a=l&&l.onVnodeBeforeMount)&&Ga(a,d,t),_a(e,!0);{const a=e.subTree=ko(e);b(null,a,n,o,e,r,i),t.el=a.el}if(u&&va(u,r),!f&&(a=l&&l.onVnodeMounted)){const e=t;va((()=>Ga(a,d,e)),r)}(256&t.shapeFlag||d&&nr(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&vr(e.ba),e.a&&va(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new yt(l,a,(()=>so(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,_a(e,!0),u()},H=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:a,vnode:{patchFlag:i}}=e,s=$n(r),[l]=e.propsOptions;let c=!1;if(!(o||i>0)||16&i){let o;ra(e,t,r,a)&&(c=!0);for(const a in s)t&&(f(t,a)||(o=$(a))!==a&&f(t,o))||(l?!n||void 0===n[a]&&void 0===n[o]||(r[a]=aa(l,s,a,void 0,e,!0)):delete r[a]);if(a!==s)for(const e in a)t&&f(t,e)||(delete a[e],c=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let i=n[o];if(yo(e.emitsOptions,i))continue;const u=t[i];if(l)if(f(a,i))u!==a[i]&&(a[i]=u,c=!0);else{const t=P(i);r[t]=aa(l,s,t,u,e,!1)}else u!==a[i]&&(a[i]=u,c=!0)}}c&&Bt(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:a}=e;let i=!0,s=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?i=!1:(c(a,t),n||1!==e||delete a._):(i=!t.$stable,pa(t,a)),s=t}else t&&(ma(e,t),s={default:1});if(i)for(const o in a)da(o)||null!=s[o]||delete a[o]})(e,t.children,n),St(),co(e),Ct()},q=(e,t,n,o,r,a,i,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void X(c,d,n,o,r,a,i,s,l);if(256&f)return void U(c,d,n,o,r,a,i,s,l)}8&h?(16&u&&Z(c,r,a),d!==c&&p(n,d)):16&u?16&h?X(c,d,n,o,r,a,i,s,l):Z(c,r,a,!0):(8&u&&p(n,""),16&h&&L(d,n,o,r,a,i,s,l))},U=(e,t,n,o,a,i,s,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,f=Math.min(u,d);let h;for(h=0;h<f;h++){const o=t[h]=c?Ua(t[h]):qa(t[h]);b(e[h],o,n,null,a,i,s,l,c)}u>d?Z(e,a,i,!0,!1,f):L(t,n,o,a,i,s,l,c,f)},X=(e,t,n,o,a,i,s,l,c)=>{let u=0;const d=t.length;let f=e.length-1,h=d-1;for(;u<=f&&u<=h;){const o=e[u],r=t[u]=c?Ua(t[u]):qa(t[u]);if(!Na(o,r))break;b(o,r,n,null,a,i,s,l,c),u++}for(;u<=f&&u<=h;){const o=e[f],r=t[h]=c?Ua(t[h]):qa(t[h]);if(!Na(o,r))break;b(o,r,n,null,a,i,s,l,c),f--,h--}if(u>f){if(u<=h){const e=h+1,r=e<d?t[e].el:o;for(;u<=h;)b(null,t[u]=c?Ua(t[u]):qa(t[u]),n,r,a,i,s,l,c),u++}}else if(u>h)for(;u<=f;)G(e[u],a,i,!0),u++;else{const p=u,m=u,g=new Map;for(u=m;u<=h;u++){const e=t[u]=c?Ua(t[u]):qa(t[u]);null!=e.key&&g.set(e.key,u)}let v,y=0;const _=h-m+1;let w=!1,x=0;const k=new Array(_);for(u=0;u<_;u++)k[u]=0;for(u=p;u<=f;u++){const o=e[u];if(y>=_){G(o,a,i,!0);continue}let r;if(null!=o.key)r=g.get(o.key);else for(v=m;v<=h;v++)if(0===k[v-m]&&Na(o,t[v])){r=v;break}void 0===r?G(o,a,i,!0):(k[r-m]=u+1,r>=x?x=r:w=!0,b(o,t[r],n,null,a,i,s,l,c),y++)}const T=w?function(e){const t=e.slice(),n=[0];let o,r,a,i,s;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(a=0,i=n.length-1;a<i;)s=a+i>>1,e[n[s]]<l?a=s+1:i=s;l<e[n[a]]&&(a>0&&(t[o]=n[a-1]),n[a]=o)}}a=n.length,i=n[a-1];for(;a-- >0;)n[a]=i,i=t[i];return n}(k):r;for(v=T.length-1,u=_-1;u>=0;u--){const e=m+u,r=t[e],f=e+1<d?t[e+1].el:o;0===k[u]?b(null,r,n,f,a,i,s,l,c):w&&(v<0||u!==T[v]?Y(r,n,f,2):v--)}}},Y=(e,n,o,r,a=null)=>{const{el:i,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void Y(e.component.subTree,n,o,r);if(128&u)return void e.suspense.move(n,o,r);if(64&u)return void s.move(e,n,o,oe);if(s===ka){t(i,n,o);for(let e=0;e<c.length;e++)Y(c[e],n,o,r);return void t(e.anchor,n,o)}if(s===Ca)return void T(e,n,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(i),t(i,n,o),va((()=>l.enter(i)),a);else{const{leave:e,delayLeave:r,afterLeave:a}=l,s=()=>t(i,n,o),c=()=>{e(i,(()=>{s(),a&&a()}))};r?r(i,s,c):c()}else t(i,n,o)},G=(e,t,n,o=!1,r=!1)=>{const{type:a,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=s&&ga(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const h=1&u&&f,p=!nr(e);let m;if(p&&(m=i&&i.onVnodeBeforeUnmount)&&Ga(m,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&zo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,oe,o):c&&(a!==ka||d>0&&64&d)?Z(c,t,n,!1,!0):(a===ka&&384&d||!r&&16&u)&&Z(l,t,n),o&&J(e)}(p&&(m=i&&i.onVnodeUnmounted)||h)&&va((()=>{m&&Ga(m,t,e),h&&zo(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:o,anchor:r,transition:a}=e;if(t===ka)return void K(o,r);if(t===Ca)return void C(e);const i=()=>{n(o),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(1&e.shapeFlag&&a&&!a.persisted){const{leave:t,delayLeave:n}=a,r=()=>t(o,i);n?n(e.el,i,r):r()}else i()},K=(e,t)=>{let o;for(;e!==t;)o=g(e),n(e),e=o;n(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:a,subTree:i,um:s}=e;o&&R(o),r.stop(),a&&(a.active=!1,G(i,e,t,n)),s&&va(s,t),va((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Z=(e,t,n,o=!1,r=!1,a=0)=>{for(let i=a;i<e.length;i++)G(e[i],t,n,o,r)},ee=e=>6&e.shapeFlag?ee(e.component.subTree):128&e.shapeFlag?e.suspense.next():g(e.anchor||e.el);let te=!1;const ne=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),te||(te=!0,co(),uo(),te=!1),t._vnode=e},oe={p:b,um:G,m:Y,r:J,mt:V,mc:L,pc:q,pbc:N,n:ee,o:e};let re;return{render:ne,hydrate:re,createApp:ea(ne)}}(e)}function ba({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 _a({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function wa(e,t,n=!1){const o=e.children,r=t.children;if(h(o)&&h(r))for(let a=0;a<o.length;a++){const e=o[a];let t=r[a];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[a]=Ua(r[a]),t.el=e.el),n||wa(e,t)),t.type===Ta&&(t.el=e.el)}}function xa(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:xa(t)}const ka=Symbol.for("v-fgt"),Ta=Symbol.for("v-txt"),Sa=Symbol.for("v-cmt"),Ca=Symbol.for("v-stc"),Ea=[];let Pa=null;function Ma(e=!1){Ea.push(Pa=e?null:[])}let $a=1;function Oa(e){$a+=e}function La(e){return e.dynamicChildren=$a>0?Pa||r:null,Ea.pop(),Pa=Ea[Ea.length-1]||null,$a>0&&Pa&&Pa.push(e),e}function Ia(e,t,n,o,r,a){return La(Fa(e,t,n,o,r,a,!0))}function Ra(e,t,n,o,r){return La(Va(e,t,n,o,r,!0))}function Aa(e){return!!e&&!0===e.__v_isVNode}function Na(e,t){return e.type===t.type&&e.key===t.key}const Ba="__vInternal",ja=({key:e})=>null!=e?e:null,Da=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||Bn(e)||g(e)?{i:bo,r:e,k:t,f:!!n}:e:null);function Fa(e,t=null,n=null,o=0,r=null,a=(e===ka?0:1),i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ja(t),ref:t&&Da(t),scopeId:_o,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:bo};return s?(Xa(l,n),128&a&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),$a>0&&!i&&Pa&&(l.patchFlag>0||6&a)&&32!==l.patchFlag&&Pa.push(l),l}const Va=function(e,t=null,n=null,o=0,r=null,a=!1){e&&e!==Mo||(e=Sa);if(Aa(e)){const o=Wa(e,t,!0);return n&&Xa(o,n),$a>0&&!a&&Pa&&(6&o.shapeFlag?Pa[Pa.indexOf(e)]=o:Pa.push(o)),o.patchFlag|=-2,o}i=e,g(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(t){t=function(e){return e?Mn(e)||Ba in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=qe(e)),b(n)&&(Mn(n)&&!h(n)&&(n=c({},n)),t.style=He(n))}const s=v(e)?1:Io(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:g(e)?2:0;return Fa(e,t,n,o,r,s,a,!0)};function Wa(e,t,n=!1){const{props:o,ref:r,patchFlag:a,children:i}=e,s=t?Ya(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&ja(s),ref:t&&t.ref?n&&r?h(r)?r.concat(Da(t)):[r,Da(t)]:Da(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ka?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wa(e.ssContent),ssFallback:e.ssFallback&&Wa(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function za(e=" ",t=0){return Va(Ta,null,e,t)}function Ha(e="",t=!1){return t?(Ma(),Ra(Sa,null,e)):Va(Sa,null,e)}function qa(e){return null==e||"boolean"==typeof e?Va(Sa):h(e)?Va(ka,null,e.slice()):"object"==typeof e?Ua(e):Va(Ta,null,String(e))}function Ua(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Wa(e)}function Xa(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(h(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Xa(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Ba in t?3===o&&bo&&(1===bo.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=bo}}else g(t)?(t={default:t,_ctx:bo},n=32):(t=String(t),64&o?(n=16,t=[za(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ya(...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=qe([t.class,o.class]));else if("style"===e)t.style=He([t.style,o.style]);else if(s(e)){const n=t[e],r=o[e];!r||n===r||h(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function Ga(e,t,n,o=null){Yn(e,t,7,[n,o])}const Ja=Qr();let Ka=0;let Qa=null;const Za=()=>Qa||bo;let ei,ti;{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)}};ei=t("__VUE_INSTANCE_SETTERS__",(e=>Qa=e)),ti=t("__VUE_SSR_SETTERS__",(e=>ai=e))}const ni=e=>{const t=Qa;return ei(e),e.scope.on(),()=>{e.scope.off(),ei(t)}},oi=()=>{Qa&&Qa.scope.off(),ei(null)};function ri(e){return 4&e.vnode.shapeFlag}let ai=!1;function ii(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=Hn(t)),si(e)}function si(e,t,n){const o=e.type;e.render||(e.render=o.render||a);{const t=ni(e);St();try{Vr(e)}finally{Ct(),t()}}}function li(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(Nt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}function ci(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hn(On(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Ar?Ar[n](e):void 0,has:(e,t)=>t in e||t in Ar}))}function ui(e,t=!0){return g(e)?e.displayName||e.name:e.name||t&&e.__name}const di=(e,t)=>{const n=function(e,t,n=!1){let o,r;const i=g(e);return i?(o=e,r=a):(o=e.get,r=e.set),new Rn(o,r,i||!r,n)}(e,0,ai);return n};function fi(e,t,n){const o=arguments.length;return 2===o?b(t)&&!h(t)?Aa(t)?Va(e,null,[t]):Va(e,t):Va(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Aa(n)&&(n=[n]),Va(e,t,n))}const hi="3.4.21",pi=a,mi="undefined"!=typeof document?document:null,gi=mi&&mi.createElement("template"),vi={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,a){const i=n?n.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==a&&(r=r.nextSibling););else{gi.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=gi.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[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},yi="transition",bi="animation",_i=Symbol("_vtc"),wi=(e,{slots:t})=>fi(Yo,function(e){const t={};for(const c in e)c in xi||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:u=i,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(b(e))return[Si(e.enter),Si(e.leave)];{const t=Si(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:k,onBeforeAppear:T=y,onAppear:S=_,onAppearCancelled:C=w}=t,E=(e,t,n)=>{Ei(e,t?d:s),Ei(e,t?u:i),n&&n()},P=(e,t)=>{e._isLeaving=!1,Ei(e,f),Ei(e,p),Ei(e,h),t&&t()},M=e=>(t,n)=>{const r=e?S:_,i=()=>E(t,e,n);ki(r,[t,i]),Pi((()=>{Ei(t,e?l:a),Ci(t,e?d:s),Ti(r)||$i(t,o,g,i)}))};return c(t,{onBeforeEnter(e){ki(y,[e]),Ci(e,a),Ci(e,i)},onBeforeAppear(e){ki(T,[e]),Ci(e,l),Ci(e,u)},onEnter:M(!1),onAppear:M(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>P(e,t);Ci(e,f),document.body.offsetHeight,Ci(e,h),Pi((()=>{e._isLeaving&&(Ei(e,f),Ci(e,p),Ti(x)||$i(e,o,v,n))})),ki(x,[e,n])},onEnterCancelled(e){E(e,!1),ki(w,[e])},onAppearCancelled(e){E(e,!0),ki(C,[e])},onLeaveCancelled(e){P(e),ki(k,[e])}})}(e),t);wi.displayName="Transition";const xi={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};wi.props=c({},Xo,xi);const ki=(e,t=[])=>{h(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ti=e=>!!e&&(h(e)?e.some((e=>e.length>1)):e.length>1);function Si(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ci(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[_i]||(e[_i]=new Set)).add(t)}function Ei(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[_i];n&&(n.delete(t),n.size||(e[_i]=void 0))}function Pi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Mi=0;function $i(e,t,n,o){const r=e._endId=++Mi,a=()=>{r===e._endId&&o()};if(n)return setTimeout(a,n);const{type:i,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(`${yi}Delay`),a=o(`${yi}Duration`),i=Oi(r,a),s=o(`${bi}Delay`),l=o(`${bi}Duration`),c=Oi(s,l);let u=null,d=0,f=0;t===yi?i>0&&(u=yi,d=i,f=a.length):t===bi?c>0&&(u=bi,d=c,f=l.length):(d=Math.max(i,c),u=d>0?i>c?yi:bi:null,f=u?u===yi?a.length:l.length:0);const h=u===yi&&/\b(transform|all)(,|$)/.test(o(`${yi}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}(e,t);if(!i)return o();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,f),a()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),s+1),e.addEventListener(c,f)}function Oi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Li(t)+Li(e[n]))))}function Li(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Ii=Symbol("_vod"),Ri=Symbol("_vsh"),Ai={beforeMount(e,{value:t},{transition:n}){e[Ii]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ni(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ni(e,!0),o.enter(e)):o.leave(e,(()=>{Ni(e,!1)})):Ni(e,t))},beforeUnmount(e,{value:t}){Ni(e,t)}};function Ni(e,t){e.style.display=t?e[Ii]:"none",e[Ri]=!t}const Bi=Symbol(""),ji=/(^|;)\s*display\s*:/;const Di=/\s*!important$/;function Fi(e,t,n){if(h(n))n.forEach((n=>Fi(e,t,n)));else if(null==n&&(n=""),n=Ji(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Wi[t];if(n)return n;let o=P(t);if("filter"!==o&&o in e)return Wi[t]=o;o=O(o);for(let r=0;r<Vi.length;r++){const n=Vi[r]+o;if(n in e)return Wi[t]=n}return t}(e,t);Di.test(n)?e.setProperty($(o),n.replace(Di,""),"important"):e[o]=n}}const Vi=["Webkit","Moz","ms"],Wi={};const{unit:zi,unitRatio:Hi,unitPrecision:qi}={unit:"rem",unitRatio:10/320,unitPrecision:5},Ui=(Xi=zi,Yi=Hi,Gi=qi,e=>e.replace(Ge,((e,t)=>{if(!t)return e;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*Yi,Gi);return 0===n?"0":`${n}${Xi}`})));var Xi,Yi,Gi;const Ji=e=>v(e)?Ui(e):e,Ki="http://www.w3.org/1999/xlink";const Qi=Symbol("_vei");function Zi(e,t,n,o,r=null){const a=e[Qi]||(e[Qi]={}),i=a[t];if(o&&i)i.value=o;else{const[n,s]=function(e){let t;if(es.test(e)){let n;for(t={};n=e.match(es);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):$(e.slice(2));return[n,t]}(t);if(o){const i=a[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:a}=n;if(r&&h(a)){const n=rs(e,a);for(let o=0;o<n.length;o++){const a=n[o];Yn(a,t,5,a.__wwe?[e]:r(e))}}else Yn(rs(e,n.value),t,5,r&&!a.__wwe?r(e,a,t):[e])};return n.value=e,n.attached=os(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,i,s)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,s),a[t]=void 0)}}const es=/(?:Once|Passive|Capture)$/;let ts=0;const ns=Promise.resolve(),os=()=>ts||(ns.then((()=>ts=0)),ts=Date.now());function rs(e,t){if(h(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 as=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const is=["ctrl","shift","alt","meta"],ss={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)=>is.some((n=>e[`${n}Key`]&&!t.includes(n)))},ls=(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=ss[t[e]];if(o&&o(n,t))return}return e(n,...o)})},cs=c({patchProp:(e,t,n,o,r,a,i,c,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:a}=o,i=a[r],s=(e.__wxsProps||(e.__wxsProps={}))[r];if(s===i)return;e.__wxsProps[r]=i;const l=o.proxy;io((()=>{n(i,s,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,i);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 a=e[_i];a&&(t=(t?[t,...a]:[...a]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,r=v(n);let a=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Fi(o,t,"")}else for(const e in t)null==n[e]&&Fi(o,e,"");for(const e in n)"display"===e&&(a=!0),Fi(o,e,n[e])}else if(r){if(t!==n){const e=o[Bi];e&&(n+=";"+e),o.cssText=n,a=ji.test(n)}}else t&&e.removeAttribute("style");Ii in e&&(e[Ii]=a?o.display:"",e[Ri]&&(o.display="none"));const{__wxsStyle:i}=e;if(i)for(const s in i)Fi(o,s,i[s])}(e,n,o):s(t)?l(t)||Zi(e,t,0,o,i):("."===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&&as(t)&&g(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(as(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,a,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,a),void(e[t]=null==n?"":n);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const o=null==n?"":n;return("OPTION"===s?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=U(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,a,i,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ki,t.slice(6,t.length)):e.setAttributeNS(Ki,t,n);else{const o=q(t);null==n||o&&!U(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},vi);let us;const ds=(...e)=>{const t=(us||(us=ya(cs))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}
- /*!
- * vue-router v4.5.1
- * (c) 2025 Eduardo San Martin Morote
- * @license MIT
- */(e);if(!o)return;const r=t._component;g(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const a=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","")),a},t};const fs="undefined"!=typeof document;function hs(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const ps=Object.assign;function ms(e,t){const n={};for(const o in t){const r=t[o];n[o]=vs(r)?r.map(e):e(r)}return n}const gs=()=>{},vs=Array.isArray,ys=/#/g,bs=/&/g,_s=/\//g,ws=/=/g,xs=/\?/g,ks=/\+/g,Ts=/%5B/g,Ss=/%5D/g,Cs=/%5E/g,Es=/%60/g,Ps=/%7B/g,Ms=/%7C/g,$s=/%7D/g,Os=/%20/g;function Ls(e){return encodeURI(""+e).replace(Ms,"|").replace(Ts,"[").replace(Ss,"]")}function Is(e){return Ls(e).replace(ks,"%2B").replace(Os,"+").replace(ys,"%23").replace(bs,"%26").replace(Es,"`").replace(Ps,"{").replace($s,"}").replace(Cs,"^")}function Rs(e){return null==e?"":function(e){return Ls(e).replace(ys,"%23").replace(xs,"%3F")}(e).replace(_s,"%2F")}function As(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Ns=/\/$/;function Bs(e,t,n="/"){let o,r={},a="",i="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),r=e(a)),s>-1&&(o=o||t.slice(0,s),i=t.slice(s,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let a,i,s=n.length-1;for(a=0;a<o.length;a++)if(i=o[a],"."!==i){if(".."!==i)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(a).join("/")}(null!=o?o:t,n),{fullPath:o+(a&&"?")+a+i,path:o,query:r,hash:As(i)}}function js(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Ds(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Fs(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Vs(e[n],t[n]))return!1;return!0}function Vs(e,t){return vs(e)?Ws(e,t):vs(t)?Ws(t,e):e===t}function Ws(e,t){return vs(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const zs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Hs,qs,Us,Xs;function Ys(e){if(!e)if(fs){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Ns,"")}(qs=Hs||(Hs={})).pop="pop",qs.push="push",(Xs=Us||(Us={})).back="back",Xs.forward="forward",Xs.unknown="";const Gs=/^[^#]+#/;function Js(e,t){return e.replace(Gs,"#")+t}const Ks=()=>({left:window.scrollX,top:window.scrollY});function Qs(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 Zs(e,t){return(history.state?history.state.position-t:-1)+e}const el=new Map;function tl(e,t){const{pathname:n,search:o,hash:r}=t,a=e.indexOf("#");if(a>-1){let t=r.includes(e.slice(a))?e.slice(a).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),js(n,"")}return js(n,e)+o+r}function nl(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Ks():null}}function ol(e){const{history:t,location:n}=window,o={value:tl(e,n)},r={value:t.state};function a(o,a,i){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:location.protocol+"//"+location.host+e+o;try{t[i?"replaceState":"pushState"](a,"",l),r.value=a}catch(c){console.error(c),n[i?"replace":"assign"](l)}}return r.value||a(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 i=ps({},r.value,t.state,{forward:e,scroll:Ks()});a(i.current,i,!0),a(e,ps({},nl(o.value,e,null),{position:i.position+1},n),!1),o.value=e},replace:function(e,n){a(e,ps({},t.state,nl(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function rl(e){const t=ol(e=Ys(e)),n=function(e,t,n,o){let r=[],a=[],i=null;const s=({state:a})=>{const s=tl(e,location),l=n.value,c=t.value;let u=0;if(a){if(n.value=s,t.value=a,i&&i===l)return void(i=null);u=c?a.position-c.position:0}else o(s);r.forEach((e=>{e(n.value,l,{delta:u,type:Hs.pop,direction:u?u>0?Us.forward:Us.back:Us.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(ps({},e.state,{scroll:Ks()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){i=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return a.push(t),t},destroy:function(){for(const e of a)e();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=ps({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Js.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 al(e){return"string"==typeof e||"symbol"==typeof e}const il=Symbol("");var sl,ll;function cl(e,t){return ps(new Error,{type:e,[il]:!0},t)}function ul(e,t){return e instanceof Error&&il in e&&(null==t||!!(e.type&t))}(ll=sl||(sl={}))[ll.aborted=4]="aborted",ll[ll.cancelled=8]="cancelled",ll[ll.duplicated=16]="duplicated";const dl="[^/]+?",fl={sensitive:!1,strict:!1,start:!0,end:!0},hl=/[.+*?^${}()[\]/\\]/g;function pl(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function ml(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=pl(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(gl(o))return 1;if(gl(r))return-1}return r.length-o.length}function gl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const vl={type:0,value:""},yl=/[a-zA-Z0-9_]/;function bl(e,t,n){const o=function(e,t){const n=ps({},fl,t),o=[];let r=n.start?"^":"";const a=[];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 i=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(hl,"\\$&"),i+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;a.push({name:e,repeatable:n,optional:c});const d=u||dl;if(d!==dl){i+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let f=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(f=c&&l.length<2?`(?:/${f})`:"/"+f),c&&(f+="?"),r+=f,i+=20,c&&(i+=-8),n&&(i+=-20),".*"===d&&(i+=-50)}e.push(i)}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.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");return{re:i,score:o,keys:a,parse:function(e){const t=e.match(i),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=a[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:a,repeatable:i,optional:s}=e,l=a in t?t[a]:"";if(vs(l)&&!i)throw new Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);const c=vs(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${a}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[vl]];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 a;function i(){a&&r.push(a),a=[]}let s,l=0,c="",u="";function d(){c&&(0===n?a.push({type:0,value:c}):1===n||2===n||3===n?(a.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function f(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),i()):":"===s?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:"("===s?n=2:yl.test(s)?f():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),i(),r}(e.path),n),r=ps(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function _l(e,t){const n=[],o=new Map;function r(e,n,o){const s=!o,l=xl(e);l.aliasOf=o&&o.record;const c=Cl(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(xl(ps({},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=bl(t,n,c),o?o.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),s&&e.name&&!Tl(d)&&a(e.name)),El(d)&&i(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?()=>{a(f)}:gs}function a(e){if(al(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function i(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;ml(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(El(t)&&0===ml(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&&!Tl(e)&&o.set(e.record.name,e)}return t=Cl({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,a,i,s={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw cl(1,{location:e});i=r.record.name,s=ps(wl(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&wl(e.params,r.keys.map((e=>e.name)))),a=r.stringify(s)}else if(null!=e.path)a=e.path,r=n.find((e=>e.re.test(a))),r&&(s=r.parse(a),i=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw cl(1,{location:e,currentLocation:t});i=r.record.name,s=ps({},t.params,e.params),a=r.stringify(s)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:i,path:a,params:s,matched:l,meta:Sl(l)}},removeRoute:a,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function wl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function xl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:kl(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function kl(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 Tl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Sl(e){return e.reduce(((e,t)=>ps(e,t.meta)),{})}function Cl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function El({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Pl(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(ks," "),r=e.indexOf("="),a=As(r<0?e:e.slice(0,r)),i=r<0?null:As(e.slice(r+1));if(a in t){let e=t[a];vs(e)||(e=t[a]=[e]),e.push(i)}else t[a]=i}return t}function Ml(e){let t="";for(let n in e){const o=e[n];if(n=Is(n).replace(ws,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(vs(o)?o.map((e=>e&&Is(e))):[o&&Is(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function $l(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=vs(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Ol=Symbol(""),Ll=Symbol(""),Il=Symbol(""),Rl=Symbol(""),Al=Symbol("");function Nl(){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 Bl(e,t,n,o,r,a=e=>e()){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((s,l)=>{const c=e=>{var a;!1===e?l(cl(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(a=e)||a&&"object"==typeof a?l(cl(2,{from:t,to:e})):(i&&o.enterCallbacks[r]===i&&"function"==typeof e&&i.push(e),s())},u=a((()=>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 jl(e,t,n,o,r=e=>e()){const a=[];for(const i of e)for(const e in i.components){let s=i.components[e];if("beforeRouteEnter"===t||i.instances[e])if(hs(s)){const l=(s.__vccOpts||s)[t];l&&a.push(Bl(l,n,o,i,e,r))}else{let l=s();a.push((()=>l.then((a=>{if(!a)throw new Error(`Couldn't resolve component "${e}" at "${i.path}"`);const s=(l=a).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&hs(l.default)?a.default:a;var l;i.mods[e]=a,i.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Bl(c,n,o,i,e,r)()}))))}}return a}function Dl(e){const t=oa(Il),n=oa(Rl),o=di((()=>{const n=Wn(e.to);return t.resolve(n)})),r=di((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],a=n.matched;if(!r||!a.length)return-1;const i=a.findIndex(Ds.bind(null,r));if(i>-1)return i;const s=Vl(e[t-2]);return t>1&&Vl(r)===s&&a[a.length-1].path!==s?a.findIndex(Ds.bind(null,e[t-2])):i})),a=di((()=>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(!vs(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),i=di((()=>r.value>-1&&r.value===n.matched.length-1&&Fs(n.params,o.value.params)));return{route:o,href:di((()=>o.value.href)),isActive:a,isExactActive:i,navigate:function(n={}){if(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)){const n=t[Wn(e.replace)?"replace":"push"](Wn(e.to)).catch(gs);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition((()=>n)),n}return Promise.resolve()}}}const Fl=tr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Dl,setup(e,{slots:t}){const n=xn(Dl(e)),{options:o}=oa(Il),r=di((()=>({[Wl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Wl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&(1===(a=t.default(n)).length?a[0]:a);var a;return e.custom?o:fi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Vl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Wl=(e,t,n)=>null!=e?e:null!=t?t:n,zl=tr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=oa(Al),r=di((()=>e.route||o.value)),a=oa(Ll,0),i=di((()=>{let e=Wn(a);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=di((()=>r.value.matched[i.value]));na(Ll,di((()=>i.value+1))),na(Ol,s),na(Al,r);const l=jn();return Bo((()=>[l.value,s.value,e.name]),(([e,t,n],[o,r,a])=>{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&&Ds(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,a=e.name,i=s.value,c=i&&i.components[a];if(!c)return Hl(n.default,{Component:c,route:o});const u=i.props[a],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=fi(c,ps({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(i.instances[a]=null)},ref:l}));return Hl(n.default,{Component:f,route:o})||f}}});function Hl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const ql=zl;function Ul(e){const t=_l(e.routes,e),n=e.parseQuery||Pl,o=e.stringifyQuery||Ml,r=e.history,a=Nl(),i=Nl(),s=Nl(),l=Dn(zs);let c=zs;fs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ms.bind(null,(e=>""+e)),d=ms.bind(null,Rs),f=ms.bind(null,As);function h(e,a){if(a=ps({},a||l.value),"string"==typeof e){const o=Bs(n,e,a.path),i=t.resolve({path:o.path},a),s=r.createHref(o.fullPath);return ps(o,i,{params:f(i.params),hash:As(o.hash),redirectedFrom:void 0,href:s})}let i;if(null!=e.path)i=ps({},e,{path:Bs(n,e.path,a.path).path});else{const t=ps({},e.params);for(const e in t)null==t[e]&&delete t[e];i=ps({},e,{params:d(t)}),a.params=d(a.params)}const s=t.resolve(i,a),c=e.hash||"";s.params=u(f(s.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,ps({},e,{hash:(p=c,Ls(p).replace(Ps,"{").replace($s,"}").replace(Cs,"^")),path:s.path}));var p;const m=r.createHref(h);return ps({fullPath:h,hash:c,query:o===Ml?$l(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function p(e){return"string"==typeof e?Bs(n,e,l.value.path):ps({},e)}function m(e,t){if(c!==e)return cl(8,{from:t,to:e})}function g(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=p(o):{path:o},o.params={}),ps({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=h(e),r=l.value,a=e.state,i=e.force,s=!0===e.replace,u=v(n);if(u)return y(ps(p(u),{state:"object"==typeof u?ps({},a,u.state):a,force:i,replace:s}),t||n);const d=n;let f;return d.redirectedFrom=t,!i&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Ds(t.matched[o],n.matched[r])&&Fs(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=cl(16,{to:d,from:r}),O(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch((e=>ul(e)?ul(e,2)?e:$(e):M(e,d,r))).then((e=>{if(e){if(ul(e,2))return y(ps({replace:s},p(e.to),{state:"object"==typeof e.to?ps({},a,e.to.state):a,force:i}),t||d)}else e=k(d,r,!0,s,a);return x(d,r,e),e}))}function b(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=R.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,s]=function(e,t){const n=[],o=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;i<a;i++){const a=t.matched[i];a&&(e.matched.find((e=>Ds(e,a)))?o.push(a):n.push(a));const s=e.matched[i];s&&(t.matched.find((e=>Ds(e,s)))||r.push(s))}return[n,o,r]}(e,t);n=jl(o.reverse(),"beforeRouteLeave",e,t);for(const a of o)a.leaveGuards.forEach((o=>{n.push(Bl(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),N(n).then((()=>{n=[];for(const o of a.list())n.push(Bl(o,e,t));return n.push(l),N(n)})).then((()=>{n=jl(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Bl(o,e,t))}));return n.push(l),N(n)})).then((()=>{n=[];for(const o of s)if(o.beforeEnter)if(vs(o.beforeEnter))for(const r of o.beforeEnter)n.push(Bl(r,e,t));else n.push(Bl(o.beforeEnter,e,t));return n.push(l),N(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=jl(s,"beforeRouteEnter",e,t,_),n.push(l),N(n)))).then((()=>{n=[];for(const o of i.list())n.push(Bl(o,e,t));return n.push(l),N(n)})).catch((e=>ul(e,8)?e:Promise.reject(e)))}function x(e,t,n){s.list().forEach((o=>_((()=>o(e,t,n)))))}function k(e,t,n,o,a){const i=m(e,t);if(i)return i;const s=t===zs,c=fs?history.state:{};n&&(o||s?r.replace(e.fullPath,ps({scroll:s&&c&&c.scroll},a)):r.push(e.fullPath,a)),l.value=e,O(e,t,n,s),$()}let T;function S(){T||(T=r.listen(((e,t,n)=>{if(!A.listening)return;const o=h(e),a=v(o);if(a)return void y(ps(a,{replace:!0,force:!0}),o).catch(gs);c=o;const i=l.value;var s,u;fs&&(s=Zs(i.fullPath,n.delta),u=Ks(),el.set(s,u)),w(o,i).catch((e=>ul(e,12)?e:ul(e,2)?(y(ps(p(e.to),{force:!0}),o).then((e=>{ul(e,20)&&!n.delta&&n.type===Hs.pop&&r.go(-1,!1)})).catch(gs),Promise.reject()):(n.delta&&r.go(-n.delta,!1),M(e,o,i)))).then((e=>{(e=e||k(o,i,!1))&&(n.delta&&!ul(e,8)?r.go(-n.delta,!1):n.type===Hs.pop&&ul(e,20)&&r.go(-1,!1)),x(o,i,e)})).catch(gs)})))}let C,E=Nl(),P=Nl();function M(e,t,n){$(e);const o=P.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function $(e){return C||(C=!e,S(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function O(t,n,o,r){const{scrollBehavior:a}=e;if(!fs||!a)return Promise.resolve();const i=!o&&function(e){const t=el.get(e);return el.delete(e),t}(Zs(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return io().then((()=>a(t,n,i))).then((e=>e&&Qs(e))).catch((e=>M(e,t,n)))}const L=e=>r.go(e);let I;const R=new Set,A={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return al(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:h,options:e,push:g,replace:function(e){return g(ps(p(e),{replace:!0}))},go:L,back:()=>L(-1),forward:()=>L(1),beforeEach:a.add,beforeResolve:i.add,afterEach:s.add,onError:P.add,isReady:function(){return C&&l.value!==zs?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Fl),e.component("RouterView",ql),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Wn(l)}),fs&&!I&&l.value===zs&&(I=!0,g(r.location).catch((e=>{})));const t={};for(const o in zs)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Il,this),e.provide(Rl,kn(t)),e.provide(Al,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=zs,T&&T(),T=null,l.value=zs,I=!1,C=!1),n()}}};function N(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return A}function Xl(e){return oa(Rl)}const Yl=["{","}"];const Gl=/^(?:\d)+/,Jl=/^(?:\w)+/;const Kl="zh-Hans",Ql="zh-Hant",Zl="en",ec="fr",tc="es",nc=Object.prototype.hasOwnProperty,oc=(e,t)=>nc.call(e,t),rc=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Yl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,a="";for(;r<e.length;){let i=e[r++];if(i===t){a&&o.push({type:"text",value:a}),a="";let t="";for(i=e[r++];void 0!==i&&i!==n;)t+=i,i=e[r++];const s=i===n,l=Gl.test(t)?"list":s&&Jl.test(t)?"named":"unknown";o.push({value:t,type:l})}else a+=i}return a&&o.push({type:"text",value:a}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":(a=t,null!==a&&"object"==typeof a?"named":"unknown");var a;if("unknown"===r)return n;for(;o<e.length;){const a=e[o];switch(a.type){case"text":n.push(a.value);break;case"list":n.push(t[parseInt(a.value,10)]);break;case"named":"named"===r&&n.push(t[a.value])}o++}return n}(o,t)}};function ac(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return Kl;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?Kl:e.indexOf("-hant")>-1?Ql:(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?Ql:Kl);var n;let o=[Zl,ec,tc];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 ic{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Zl,this.fallbackLocale=Zl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||rc,this.messages=n||{},this.setLocale(e||Zl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=ac(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{oc(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=ac(t,this.messages))&&(o=this.messages[t]):n=t,oc(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 sc(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&&Bf?Bf():"undefined"!=typeof global&&global.getLocale?global.getLocale():Zl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Zl);const r=new ic({locale:e,fallbackLocale:n,messages:t,watcher:o});let a=(e,t)=>{{let e=!1;a=function(t,n){const o=Gg().$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 a(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>a(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}function lc(e,t){return e.indexOf(t[0])>-1}const cc=Be((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let uc;function dc(e){return lc(e,te)?pc().f(e,function(){const e=Bf(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function fc(e,t){if(1===t.length){if(e){const n=e=>v(e)&&lc(e,te),o=t[0];let r=[];if(h(e)&&(r=e.filter((e=>n(e[o])))).length)return r;const a=e[t[0]];if(n(a))return e}return}const n=t.shift();return fc(e&&e[n],t)}function hc(e,t){const n=fc(e,t);if(!n)return!1;const o=t[t.length-1];if(h(n))n.forEach((e=>hc(e,[o])));else{let e=n[o];Object.defineProperty(n,o,{get:()=>dc(e),set(t){e=t}})}return!0}function pc(){if(!uc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,uc=sc(e),cc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>uc.add(e,__uniConfig.locales[e]))),uc.setLocale(e)}}return uc}function mc(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const gc=Be((()=>{const e="uni.async.",t=["error"];pc().add(Zl,mc(e,t,["The connection timed out, click the screen to try again."]),!1),pc().add(tc,mc(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),pc().add(ec,mc(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),pc().add(Kl,mc(e,t,["连接服务器超时,点击屏幕重试"]),!1),pc().add(Ql,mc(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),vc=Be((()=>{const e="uni.showActionSheet.",t=["cancel"];pc().add(Zl,mc(e,t,["Cancel"]),!1),pc().add(tc,mc(e,t,["Cancelar"]),!1),pc().add(ec,mc(e,t,["Annuler"]),!1),pc().add(Kl,mc(e,t,["取消"]),!1),pc().add(Ql,mc(e,t,["取消"]),!1)})),yc=Be((()=>{const e="uni.showToast.",t=["unpaired"];pc().add(Zl,mc(e,t,["Please note showToast must be paired with hideToast"]),!1),pc().add(tc,mc(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),pc().add(ec,mc(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),pc().add(Kl,mc(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),pc().add(Ql,mc(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),bc=Be((()=>{const e="uni.showLoading.",t=["unpaired"];pc().add(Zl,mc(e,t,["Please note showLoading must be paired with hideLoading"]),!1),pc().add(tc,mc(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),pc().add(ec,mc(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),pc().add(Kl,mc(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),pc().add(Ql,mc(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),_c=Be((()=>{const e="uni.showModal.",t=["cancel","confirm"];pc().add(Zl,mc(e,t,["Cancel","OK"]),!1),pc().add(tc,mc(e,t,["Cancelar","OK"]),!1),pc().add(ec,mc(e,t,["Annuler","OK"]),!1),pc().add(Kl,mc(e,t,["取消","确定"]),!1),pc().add(Ql,mc(e,t,["取消","確定"]),!1)})),wc=Be((()=>{const e="uni.chooseFile.",t=["notUserActivation"];pc().add(Zl,mc(e,t,["File chooser dialog can only be shown with a user activation"]),!1),pc().add(tc,mc(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),pc().add(ec,mc(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),pc().add(Kl,mc(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),pc().add(Ql,mc(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),xc=Be((()=>{const e="uni.setClipboardData.",t=["success","fail"];pc().add(Zl,mc(e,t,["Content copied","Copy failed, please copy manually"]),!1),pc().add(tc,mc(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),pc().add(ec,mc(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),pc().add(Kl,mc(e,t,["内容已复制","复制失败,请手动复制"]),!1),pc().add(Ql,mc(e,t,["內容已復制","復制失敗,請手動復製"]),!1)})),kc=Be((()=>{const e="uni.video.",t=["danmu","volume"];pc().add(Zl,mc(e,t,["Danmu","Volume"]),!1),pc().add(tc,mc(e,t,["Danmu","Volumen"]),!1),pc().add(ec,mc(e,t,["Danmu","Le Volume"]),!1),pc().add(Kl,mc(e,t,["弹幕","音量"]),!1),pc().add(Ql,mc(e,t,["彈幕","音量"]),!1)}));function Tc(e){const t=new ct;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const Sc="invokeViewApi",Cc="invokeServiceApi";let Ec=1;const Pc=Object.create(null);function Mc(e,t){return e+"."+t}function $c(e,t,n){t=Mc(e,t),Pc[t]||(Pc[t]=n)}function Oc({id:e,name:t,args:n},o){t=Mc(o,t);const r=t=>{e&&wb.publishHandler(Sc+"."+e,t)},a=Pc[t];a?a(n,r):r({})}const Lc=c(Tc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=wb,a=n?Ec++:0;n&&o(Cc+"."+a,n,!0),r(Cc,{id:a,name:e,args:t})}}),Ic=Je(!0);let Rc;function Ac(){Rc&&(clearTimeout(Rc),Rc=null)}let Nc=0,Bc=0;function jc(e){if(Ac(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Nc=t,Bc=n,Rc=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 Dc(e){if(!Rc)return;if(1!==e.touches.length)return Ac();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Nc)>10||Math.abs(n-Bc)>10?Ac():void 0}function Fc(e,t){const n=Number(e);return isNaN(n)?t:n}function Vc(){const e=__uniConfig.globalStyle||{},t=Fc(e.rpxCalcMaxDeviceWidth,960),n=Fc(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Wc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zc,Hc,qc=["top","left","right","bottom"],Uc={};function Xc(){return Hc="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 Yc(){if(Hc="string"==typeof Hc?Hc:Xc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),qc.forEach((function(e){i(o,e)})),document.body.appendChild(o),a(),zc=!0}else qc.forEach((function(e){Uc[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function a(t){t?e.push(t):e.forEach((function(e){e()}))}function i(e,n){var o=document.createElement("div"),i=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Hc+"(safe-area-inset-"+n+")"};r(o,c),r(i,c),r(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),i.appendChild(l),e.appendChild(o),e.appendChild(i),a((function(){o.scrollTop=i.scrollTop=1e4;var e=o.scrollTop,r=i.scrollTop;function a(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=i.scrollTop=1e4,e=o.scrollTop,r=i.scrollTop,function(e){Jc.length||setTimeout((function(){var e={};Jc.forEach((function(t){e[t]=Uc[t]})),Jc.length=0,Kc.forEach((function(t){t(e)}))}),0);Jc.push(e)}(n))}o.addEventListener("scroll",a,t),i.addEventListener("scroll",a,t)}));var u=getComputedStyle(o);Object.defineProperty(Uc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Gc(e){return zc||Yc(),Uc[e]}var Jc=[];var Kc=[];const Qc=Wc({get support(){return 0!=("string"==typeof Hc?Hc:Xc()).length},get top(){return Gc("top")},get left(){return Gc("left")},get right(){return Gc("right")},get bottom(){return Gc("bottom")},onChange:function(e){Xc()&&(zc||Yc(),"function"==typeof e&&Kc.push(e))},offChange:function(e){var t=Kc.indexOf(e);t>=0&&Kc.splice(t,1)}}),Zc=ls((()=>{}),["prevent"]),eu=ls((e=>{}),["stop"]);function tu(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function nu(){const e=tu(document.documentElement.style,"--window-top");return e?e+Qc.top:0}function ou(){const e=document.documentElement.style,t=nu(),n=tu(e,"--window-bottom"),o=tu(e,"--window-left"),r=tu(e,"--window-right"),a=tu(e,"--top-window-height");return{top:t,bottom:n?n+Qc.bottom:0,left:o?o+Qc.left:0,right:r?r+Qc.right:0,topWindowHeight:a||0}}function ru(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function au(e){return ru(e)}function iu(e){return Symbol(e)}function su(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function lu(e,t=!1){if(t)return function(e){if(!su(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>uf(parseFloat(t))+"px"))}(e);if(v(e)){const t=parseInt(e)||0;return su(e)?uf(t):t}return e}function cu(e){return e.$page}function uu(e){return 0===e.tagName.indexOf("UNI-")}const du="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",fu="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",hu="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z";function pu(e,t="#000",n=27){return Va("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Va("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function mu(){{const{$pageInstance:e}=Za();return e&&ku(e.proxy)}}function gu(e){const t=Ve(e);if(t.$page)return ku(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return ku(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?ku(n):void 0}function vu(){const e=np(),t=e.length;if(t)return e[t-1]}function yu(){var e;const t=null==(e=vu())?void 0:e.$page;if(t)return t.meta}function bu(){const e=yu();return e?e.id:-1}function _u(){const e=vu();if(e)return e.$vm}const wu=["navigationBar","pullToRefresh"];function xu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);wu.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function ku(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function Tu(e,t,n){if(v(e))n=t,t=e,e=_u();else if("number"==typeof e){const t=np().find((t=>cu(t).id===e));e=t?t.$vm:_u()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function Su(e){e.preventDefault()}let Cu,Eu=0;function Pu({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,a=!0;const i=()=>{function i(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,a=o>0&&e>t&&o+t+n>=e,i=Math.abs(e-Eu)>n;return!a||r&&!i?(!a&&r&&(r=!1),!1):(Eu=e,r=!0,!0)})())return t&&t(),a=!1,setTimeout((function(){a=!0}),350),!0}e&&e(window.pageYOffset),t&&a&&(i()||(Cu=setTimeout(i,300))),o=!1};return function(){clearTimeout(Cu),o||requestAnimationFrame(i),o=!0}}function Mu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Mu(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 a=e.length>0?e.split("/"):[];return a.splice(a.length-r-1,r+1),Re(a.concat(n).join("/"))}function $u(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function Ou(){Vc(),Xe(uu),window.addEventListener("touchstart",jc,Ic),window.addEventListener("touchmove",Dc,Ic),window.addEventListener("touchend",Ac,Ic),window.addEventListener("touchcancel",Ac,Ic)}class Lu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ze(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&&ze(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=Nu(this.$el.querySelector(e));return t?Iu(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=Nu(n[o]);e&&t.push(Iu(e,!1))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){const{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){let t="";if(!e||v(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:$(n);(v(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(v(e)&&(e=z(e)),k(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];g(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&wb.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 Iu(e,t=!0){if(t&&e&&(e=We(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Lu(e)),e.$el.__wxsComponentDescriptor}function Ru(e,t){return Iu(e,t)}function Au(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Ru(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=We(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Ru(r,!1)]}}function Nu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Bu(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:a}=e;let i,s;i=Ke(t?r:function(e){for(;!uu(e);)e=e.parentElement;return e}(r)),s=Ke(a);const l={type:n,timeStamp:o,target:i,detail:{},currentTarget:s};return e instanceof CustomEvent&&k(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 ju(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Du(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:a,pageY:i,clientX:s,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:a,pageY:i-t,clientX:s,clientY:l-t,force:c||0})}return n}const Fu=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!uu(o);if(r)return Au(e,t,n,!1)||[e];const a=Bu(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=nu();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[ju(t,r)]}(a,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=nu();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[ju(t,n)]}(a,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=nu();a.touches=Du(e.touches,t),a.changedTouches=Du(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(a,t,{get:()=>e[t]})}))}return Au(a,t,n)||[a]},createNativeEvent:Bu},Symbol.toStringTag,{value:"Module"});function Vu(e){!function(e){const t=e.globalProperties;c(t,Fu),t.$gcd=Ru}(e._context.config)}let Wu=1;function zu(e){return(e||bu())+"."+Sc}const Hu=c(Tc("view"),{invokeOnCallback:(e,t)=>xb.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:a}=xb,i=o?Wu++:0;o&&r(Sc+"."+i,o,!0),a(zu(n),{id:i,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:a,publishHandler:i}=xb,s=Wu++,l=Sc+"."+s;return r(l,n),i(zu(o),{id:s,name:e,args:t},o),()=>{a(l)}}});function qu(e){Tu(vu(),me,e),xb.invokeOnCallback("onWindowResize",e)}function Uu(e){const t=vu();Tu(Gg(),re,e),Tu(t,re)}function Xu(){Tu(Gg(),ae),Tu(vu(),ae)}const Yu=[ve,be];function Gu(){Yu.forEach((e=>xb.subscribe(e,function(e){return(t,n)=>{Tu(parseInt(n),e,t)}}(e))))}function Ju(){!function(){const{on:e}=xb;e(me,qu),e($e,Uu),e(Oe,Xu)}(),Gu()}function Ku(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new ot(this.$page.id)),e.eventChannel}}function Qu(e){e._context.config.globalProperties.getOpenerEventChannel=Ku}function Zu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function ed(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${uf(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function td(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 a(){const t=o[n],i=t.option.transition,s=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],a=e.animates,i=e.option,s=i.transition,l={},c=[];return a.forEach((e=>{let a=e.type,i=[...e.args];if(t.concat(n).includes(a))a.startsWith("rotate")||a.startsWith("skew")?i=i.map((e=>parseFloat(e)+"deg")):a.startsWith("translate")&&(i=i.map(ed)),n.indexOf(a)>=0&&(i.length=1),c.push(`${a}(${i.join(",")})`);else if(o.concat(r).includes(i[0])){a=i[0];const e=i[1];l[a]=r.includes(a)?ed(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=i.transformOrigin,l}(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),n+=1,n<r&&setTimeout(a,i.duration+i.delay)}setTimeout((()=>{a()}),0)}const nd={props:["animation"],watch:{animation:{deep:!0,handler(){td(this)}}},mounted(){td(this)}},od=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(nd),rd(e)},rd=e=>(e.__reserved=!0,e.compatConfig={MODE:3},tr(e));function ad(e){return e.__wwe=!0,e}function id(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=Ke(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const sd={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function ld(e){const t=jn(!1);let n,o,r=!1;function a(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function i(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||a()}),parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&a()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:ad((function(e){e.touches.length>1||i(e)})),onMousedown:ad((function(e){r||(i(e),window.addEventListener("mouseup",l))})),onTouchend:ad((function(){s()})),onMouseup:ad((function(){r&&l()})),onTouchcancel:ad((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function cd(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const ud=iu("uf"),dd=iu("ul");function fd(e,t){hd(e.id,t),Bo((()=>e.id),((e,n)=>{pd(n,t,!0),hd(e,t,!0)})),Sr((()=>{pd(e.id,t)}))}function hd(e,t,n){const o=mu();n&&!e||k(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&wb.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?wb.on(r,t[r]):e&&wb.on(`uni-${r}-${o}-${e}`,t[r])}))}function pd(e,t,n){const o=mu();n&&!e||k(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&wb.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?wb.off(r,t[r]):e&&wb.off(`uni-${r}-${o}-${e}`,t[r])}))}const md=od({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=jn(null),o=oa(ud,!1),{hovering:r,binding:a}=ld(e),i=ad(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const a=e.formType;if(a){if(!o)return;"submit"===a?o.submit(t):"reset"===a&&o.reset(t)}else;})),s=oa(dd,!1);return s&&(s.addHandler(i),Tr((()=>{s.removeHandler(i)}))),fd(e,{"label-click":i}),()=>{const o=e.hoverClass,s=cd(e,"disabled"),l=cd(e,"loading"),c=cd(e,"plain"),u=o&&"none"!==o;return Va("uni-button",Ya({ref:n,onClick:i,id:e.id,class:u&&r.value?o:""},u&&a,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),gd=iu("upm");function vd(){return oa(gd)}function yd(e){const t=function(e){return xn(function(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:r}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=r||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==np().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(xu(Xl().meta,e)))))}(e);return na(gd,t),t}function bd(){return Xl()}function _d(){return history.state&&history.state.__id__||1}const wd=["original","compressed"],xd=["album","camera"],kd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Td(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function Sd(e,t){return!h(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function Cd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Ed=1;const Pd={};function Md(e,t,n,o=!1){return Pd[e]={name:t,keepAlive:o,callback:n},e}function $d(e,t,n){if("number"==typeof e){const o=Pd[e];if(o)return o.keepAlive||delete Pd[e],o.callback(t,n)}return t}const Od="success",Ld="fail",Id="complete";function Rd(e,t={},{beforeAll:n,beforeSuccess:o}={}){k(t)||(t={});const{success:r,fail:a,complete:i}=function(e){const t={};for(const n in e){const o=e[n];g(o)&&(t[n]=Cd(o),delete e[n])}return t}(t),s=g(r),l=g(a),c=g(i),u=Ed++;return Md(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),g(n)&&n(u),u.errMsg===e+":ok"?(g(o)&&o(u,t),s&&r(u)):l&&a(u),c&&i(u)})),u}const Ad="success",Nd="fail",Bd="complete",jd={},Dd={};function Fd(e,t){return function(n){return e(n,t)||n}}function Vd(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const a=e[r];if(o)o=Promise.resolve(Fd(a,n));else{const e=a(t,n);if(_(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function Wd(e,t={}){return[Ad,Nd,Bd].forEach((n=>{const o=e[n];if(!h(o))return;const r=t[n];t[n]=function(e){Vd(o,e,t).then((e=>g(r)&&r(e)||e))}})),t}function zd(e,t){const n=[];h(jd.returnValue)&&n.push(...jd.returnValue);const o=Dd[e];return o&&h(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Hd(e){const t=Object.create(null);Object.keys(jd).forEach((e=>{"returnValue"!==e&&(t[e]=jd[e].slice())}));const n=Dd[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function qd(e,t,n,o){const r=Hd(e);if(r&&Object.keys(r).length){if(h(r.invoke)){return Vd(r.invoke,n).then((n=>t(Wd(Hd(e),n),...o)))}return t(Wd(r,n),...o)}return t(n,...o)}function Ud(e,t){return(n={},...o)=>function(e){return!(!k(e)||![Od,Ld,Id].find((t=>g(e[t]))))}(n)?zd(e,qd(e,t,n,o)):zd(e,new Promise(((r,a)=>{qd(e,t,c(n,{success:r,fail:a}),o)})))}function Xd(e,t,n,o={}){const r=t+":fail";let a="";return a=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,$d(e,c({errMsg:a},o))}function Yd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!k(t.formatArgs)&&k(n))return;const o=t.formatArgs,r=Object.keys(o);for(let a=0;a<r.length;a++){const t=r[a],i=o[t];if(g(i)){const o=i(e[0][t],n);if(v(o))return o}else f(n,t)||(n[t]=i)}}(t,o);if(r)return r}function Gd(e,t,n){return o=>{!function(e){if(!g(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}(o);const r=Yd(0,[o],0,n);if(r)throw new Error(r);const a=!function(e){for(const t in Pd)if(Pd[t].name===e)return!0;return!1}(e);!function(e,t){Md(Ed++,e,t,!0)}(e,o),a&&(!function(e){xb.on("api."+e,(t=>{for(const n in Pd){const o=Pd[n];o.name===e&&o.callback(t)}}))}(e),t())}}function Jd(e,t,n,o){return n=>{const r=Rd(e,n,o),a=Yd(0,[n],0,o);return a?Xd(r,e,a):t(n,{resolve:t=>function(e,t,n){return $d(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Xd(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Kd(e,t,n){return Gd(e,t,n)}function Qd(e,t,n,o){return Ud(e,Jd(e,t,0,o))}function Zd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Yd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function ef(e,t,n,o){return Ud(e,function(e,t,n,o){return Jd(e,t,0,o)}(e,t,0,o))}let tf=!1,nf=0,of=0,rf=960,af=375,sf=750;function lf(){const{windowWidth:e,pixelRatio:t,platform:n}=function(){const e=Ep(),t=$p(Mp(e,Pp(e)));return{platform:xp?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();nf=e,of=t,tf="ios"===n}function cf(e,t){const n=Number(e);return isNaN(n)?t:n}const uf=Zd(0,((e,t)=>{if(0===nf&&(lf(),function(){const e=__uniConfig.globalStyle||{};rf=cf(e.rpxCalcMaxDeviceWidth,960),af=cf(e.rpxCalcBaseDeviceWidth,375),sf=cf(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||nf;n=e===sf||n<=rf?n:af;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==of&&tf?.5:1),e<0?-o:o}));const df=new class{constructor(){this.$emitter=new ct}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)}},ff=Zd(0,((e,t)=>(df.on(e,t),()=>df.off(e,t)))),hf=Zd(0,((e,t)=>{h(e)||(e=e?[e]:[]),e.forEach((e=>{df.off(e,t)}))})),pf=Zd(0,((e,...t)=>{df.emit(e,...t)})),mf=[.5,.8,1,1.25,1.5,2];class gf{constructor(e,t){this.id=e,this.pageId=t}play(){Op(this.id,this.pageId,"play")}pause(){Op(this.id,this.pageId,"pause")}stop(){Op(this.id,this.pageId,"stop")}seek(e){Op(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Op(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~mf.indexOf(e)||(e=1),Op(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Op(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Op(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Op(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Op(this.id,this.pageId,"hideStatusBar")}}const vf=Zd(0,((e,t)=>new gf(e,gu(t||_u())))),yf=(e,t,n,o)=>{!function(e,t,n,o,r){xb.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,(e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)}))};const bf={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function _f(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(f(bf,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(bf[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let a=parseInt(t[1].slice(6,8),16);return a=a>=0?a:255,[e,o,r,a]}return console.error("unsupported color:"+e),[0,0,0,255]}class wf{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,_f(t)])}}class xf{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class kf{constructor(e){this.width=e}}const Tf={thresholds:[0],initialRatio:0,observeAll:!1},Sf=["top","right","bottom","left"];let Cf=1;function Ef(e={}){return Sf.map((t=>`${Number(e[t])||0}px`)).join(" ")}class Pf{constructor(e,t){this._pageId=gu(e),this._component=e,this._options=c({},Tf,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=Ef(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=Ef(e),this}observe(e,t){g(t)&&(this._options.selector=e,this._reqId=Cf++,function({reqId:e,component:t,options:n,callback:o}){const r=vp(t);(r.__io||(r.__io={}))[e]=function(e,t,n){kh();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,r=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:Sh(e),intersectionRect:Th(e.intersectionRect),boundingClientRect:Th(e.boundingClientRect),relativeRect:Th(e.rootBounds),time:Date.now(),dataset:Ye(e.target),id:e.target.id})}))}),{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){r.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e<n.length;e++)r.observe(n[e])}else{r.USE_MUTATION_OBSERVER=!1;const n=e.querySelector(t.selector);n?r.observe(n):console.warn(`Node ${t.selector} is not found. Intersection observer will not trigger.`)}return r}(r,n,o)}({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t}){const n=vp(t),o=n.__io&&n.__io[e];o&&(o.disconnect(),delete n.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const Mf=Zd(0,((e,t)=>((e=Ve(e))&&!gu(e)&&(t=e,e=null),new Pf(e||_u(),t))));let $f=0,Of={};const Lf={canvas:class{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,a,i,s,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,a){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){xb.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new wf("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new wf("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new xf(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new kf(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,a){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,a]}),this.subpath.push([r,a])}arc(e,t,n,o,r,a=!1){this.path.push({method:"arc",data:[e,t,n,o,r,a]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),a=n[7],i=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(i.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(i.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(i.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===o.length&&s(),o=i.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=r,this.state.fontFamily=a,this.actions.push({method:"setFont",data:[`${o} ${r}px ${a}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){i.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}},map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){yf(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){yf(this.id,this.pageId,"moveToLocation",e)}getScale(e){yf(this.id,this.pageId,"getScale",e)}getRegion(e){yf(this.id,this.pageId,"getRegion",e)}includePoints(e){yf(this.id,this.pageId,"includePoints",e)}translateMarker(e){yf(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){yf(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){yf(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){yf(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){yf(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){yf(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){yf(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){yf(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){yf(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){yf(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){yf(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){yf(this.id,this.pageId,"openMapApp",e)}on(e,t){yf(this.id,this.pageId,"on",{name:e,callback:t})}},video:gf,editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){!function(e,t,n,o){const r={options:o},a=o&&("success"in o||"fail"in o||"complete"in o);if(a){const e=String($f++);r.callbackId=e,Of[e]=o}xb.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{a&&(je(Of[e],t),delete Of[e])}))}(this.id,this.pageId,e,t)}}};function If(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=Lf[n];e.context=new r(t,o),delete e.contextInfo}}class Rf{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class Af{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:a})=>{null===t?o.push(function(e){const t={};e.id&&(t.id="");e.dataset&&(t.dataset={});e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0);e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight);if(e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(a)):o.push(function(e,t,n,o,r){const a=function(e,t){if(!e)return t.$el;return e.$el}(t,e),i=a.parentElement;if(!i)return o?null:[];const{nodeType:s}=a,l=3===s||8===s;if(o){const e=l?i.querySelector(n):Ip(a,n)?a:a.querySelector(n);return e?Lp(e,r):null}{let e=[];const t=(l?i:a).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Lp(t,r))})),!l&&Ip(a,n)&&e.unshift(Lp(a,r)),e}}(e,t,n,r,a))})),n(o)}(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{h(e)?e.forEach(If):If(e);const o=n[t];g(o)&&o.call(this,e)})),g(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=Ve(e),this}select(e){return this._nodesRef=new Rf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Rf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Rf(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const Nf=Zd(0,(e=>((e=Ve(e))&&!gu(e)&&(e=null),new Af(e||_u())))),Bf=Zd(0,(()=>{const e=Gg();return e&&e.$vm?e.$vm.$locale:pc().getLocale()})),jf={[ue]:[],[ce]:[],[se]:[],[re]:[],[ae]:[]};const Df=Zd(0,(()=>c({},jp))),Ff={formatArgs:{showToast:!0},beforeInvoke(){xc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=pc(),o=n("uni.setClipboardData.success");o&&Ny({title:o,icon:"success",mask:!1})}},Vf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=Sd(e,wd)},sourceType(e,t){t.sourceType=Sd(e,xd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},Wf={formatArgs:{urls(e,t){t.urls=e.map((e=>v(e)&&e?bp(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:v(e)&&e&&(t.current=bp(e))}}},zf="saveImageToPhotosAlbum",Hf="json",qf=["text","arraybuffer"],Uf=encodeURIComponent;const Xf={formatArgs:{method(e,t){t.method=Td((e||"").toUpperCase(),kd)},data(e,t){t.data=e||""},url(e,t){t.method===kd[0]&&k(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 a=r.split("&").filter((e=>e)),i={};a.forEach((e=>{const t=e.split("=");i[t[0]]=t[1]}));for(const s in t)if(f(t,s)){let e=t[s];null==e?e="":k(e)&&(e=JSON.stringify(e)),i[Uf(s)]=Uf(e)}return r=Object.keys(i).map((e=>`${e}=${i[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==kd[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Hf).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===qf.indexOf(t.responseType)&&(t.responseType="text")}}},Yf={formatArgs:{filePath(e,t){e&&(t.filePath=bp(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},Gf={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=Td((e||"").toUpperCase(),kd)},protocols(e,t){v(e)&&(t.protocols=[e])}}};const Jf={url:{type:String,required:!0}},Kf="navigateTo",Qf="redirectTo",Zf="reLaunch",eh="switchTab",th="preloadPage",nh=(sh(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),sh(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),uh(Kf)),oh=uh(Qf),rh=uh(Zf),ah=uh(eh),ih={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(np().length-1,e)}}};function sh(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 lh;function ch(){lh=""}function uh(e){return{formatArgs:{url:dh(e)},beforeAll:ch}}function dh(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=np();return n.length&&(t=cu(n[n.length-1]).route),Mu(t,e)}(t)).split("?")[0],r=$u(o,!0);if(!r)return"page `"+t+"` is not found";if(e===Kf||e===Qf){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===eh&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==eh&&e!==th||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==th){if(lh===t&&"appLaunch"!==n.openType)return`${lh} locked`;__uniConfig.ready&&(lh=t)}else if(r.meta.isTabBar){const e=np(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const fh="setNavigationBarTitle",hh={formatArgs:{duration:300}},ph={formatArgs:{itemColor:"#000"}},mh={formatArgs:{title:"",mask:!1}},gh={beforeInvoke(){_c()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=pc();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=pc();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},vh=["success","loading","none","error"],yh={formatArgs:{title:"",icon(e,t){t.icon=Td(e,vh)},image(e,t){t.image=e?bp(e):""},duration:1500,mask:!1}},bh="stopPullDownRefresh",_h={beforeInvoke(){const e=yu();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}},wh="setTabBarItem",xh={beforeInvoke:_h.beforeInvoke,formatArgs:c({pagePath(e,t){e&&(t.pagePath=Ae(e))}},_h.formatArgs)},kh=function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(){for(var e=window.document,t=r(e);t;)t=r(e=t.ownerDocument);return e}(),t=[],n=null,o=null;i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i._setupCrossOriginUpdater=function(){return n||(n=function(e,n){o=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},i._resetCrossOriginUpdater=function(){n=null,o=null},i.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},i.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},i.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},i.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},i.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var o=this._checkForIntersections,a=null,i=null;this.POLL_INTERVAL?a=n.setInterval(o,this.POLL_INTERVAL):(s(n,"resize",o,!0),s(t,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(i=new n.MutationObserver(o)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),l(e,"resize",o,!0)),l(t,"scroll",o,!0),i&&i.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var u=r(t);u&&this._monitorIntersections(u.ownerDocument)}}},i.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=o;){var a=r(n);if((n=a&&a.ownerDocument)==t)return!0}return!1}))){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=o){var i=r(t);i&&this._unmonitorIntersections(i.ownerDocument)}}}},i.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},i.prototype._checkForIntersections=function(){if(this.root||!n||o){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var r=o.element,i=c(r),s=this._rootContainsTarget(r),l=o.entry,u=e&&s&&this._computeTargetAndRootIntersection(r,i,t),d=null;this._rootContainsTarget(r)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var f=o.entry=new a({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:i,rootBounds:d,intersectionRect:u});l?e&&s?this._hasCrossedThreshold(l,f)&&this._queuedEntries.push(f):l&&l.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},i.prototype._computeTargetAndRootIntersection=function(t,r,a){if("none"!=window.getComputedStyle(t).display){for(var i,s,l,u,f,p,m,g,v=r,y=h(t),b=!1;!b&&y;){var _=null,w=1==y.nodeType?window.getComputedStyle(y):{};if("none"==w.display)return null;if(y==this.root||9==y.nodeType)if(b=!0,y==this.root||y==e)n&&!this.root?!o||0==o.width&&0==o.height?(y=null,_=null,v=null):_=o:_=a;else{var x=h(y),k=x&&c(x),T=x&&this._computeTargetAndRootIntersection(x,k,a);k&&T?(y=x,_=d(k,T)):(y=null,v=null)}else{var S=y.ownerDocument;y!=S.body&&y!=S.documentElement&&"visible"!=w.overflow&&(_=c(y))}if(_&&(i=_,s=v,l=void 0,u=void 0,f=void 0,p=void 0,m=void 0,g=void 0,l=Math.max(i.top,s.top),u=Math.min(i.bottom,s.bottom),f=Math.max(i.left,s.left),p=Math.min(i.right,s.right),g=u-l,v=(m=p-f)>=0&&g>=0&&{top:l,bottom:u,left:f,right:p,width:m,height:g}||null),!v)break;y=y&&h(y)}return v}},i.prototype._getRootRect=function(){var t;if(this.root&&!p(this.root))t=c(this.root);else{var n=p(this.root)?this.root:e,o=n.documentElement,r=n.body;t={top:0,left:0,right:o.clientWidth||r.clientWidth,width:o.clientWidth||r.clientWidth,bottom:o.clientHeight||r.clientHeight,height:o.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},i.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,o=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==o)for(var r=0;r<this.thresholds.length;r++){var a=this.thresholds[r];if(a==n||a==o||a<n!=a<o)return!0}},i.prototype._rootIsInDom=function(){return!this.root||f(e,this.root)},i.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return f(n,t)&&(!this.root||n==t.ownerDocument)},i.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},i.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=i,window.IntersectionObserverEntry=a}function r(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}function a(e){this.time=e.time,this.target=e.target,this.rootBounds=u(e.rootBounds),this.boundingClientRect=u(e.boundingClientRect),this.intersectionRect=u(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,o=this.intersectionRect,r=o.width*o.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):this.isIntersecting?1:0}function i(e,t){var n,o,r,a=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(a.root&&1!=a.root.nodeType&&9!=a.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout((function(){n(),r=null}),o))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(a.rootMargin),this.thresholds=this._initThresholds(a.threshold),this.root=a.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,o){"function"==typeof e.addEventListener?e.addEventListener(t,n,o):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,o){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,o):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function c(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function d(e,t){var n=t.top-e.top,o=t.left-e.left;return{top:n,left:o,height:t.height,width:t.width,bottom:n+t.height,right:o+t.width}}function f(e,t){for(var n=t;n;){if(n==e)return!0;n=h(n)}return!1}function h(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?r(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function p(e){return e&&9===e.nodeType}};function Th(e){const{bottom:t,height:n,left:o,right:r,top:a,width:i}=e||{};return{bottom:t,height:n,left:o,right:r,top:a,width:i}}function Sh(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:r,width:a}}=e;return 0!==t?t:r===n?a/o:r/n}function Ch(){const e=_u();if(!e)return;const t=tp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:rp(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Tu(e,ae))}function Eh(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Ph(e){const t=tp().values();for(const n of t){const t=Gh(n);if(Eh(e,t))return n.$.__isActive=!0,t.id}}const Mh=ef(eh,(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Jh.handledBeforeEntryPageRoutes)return Ch(),Rh({type:eh,url:e,tabBarText:t,isAutomatedTesting:n},Ph(e)).then(o).catch(r);Qh.push({args:{type:eh,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,ah);function $h(){const e=vu();if(!e)return;const t=Gh(e);rp(lp(t.path,t.id))}const Oh=ef(Qf,(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Jh.handledBeforeEntryPageRoutes)return $h(),Rh({type:Qf,url:e,isAutomatedTesting:t}).then(n).catch(o);Zh.push({args:{type:Qf,url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,oh);function Lh(){const e=tp().keys();for(const t of e)rp(t)}const Ih=ef(Zf,(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Jh.handledBeforeEntryPageRoutes)return Lh(),Rh({type:Zf,url:e,isAutomatedTesting:t}).then(n).catch(o);ep.push({args:{type:Zf,url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,rh);function Rh({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},a){const i=Gg().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:tt(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++ap,__type__:e}}(e,a);i["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then((a=>{if(ul(a))return c(a.message);if("switchTab"===e&&(i.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=i.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 ot(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function Ah(){if(Jh.handledBeforeEntryPageRoutes)return;Jh.handledBeforeEntryPageRoutes=!0;const e=[...Kh];Kh.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Rh(e).then(t).catch(n)));const t=[...Qh];Qh.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(Ch(),Rh(e,Ph(e.url)).then(t).catch(n))));const n=[...Zh];Zh.length=0,n.forEach((({args:e,resolve:t,reject:n})=>($h(),Rh(e).then(t).catch(n))));const o=[...ep];ep.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(Lh(),Rh(e).then(t).catch(n))))}let Nh;function Bh(){var e;return Nh||(Nh=__uniConfig.tabBar&&xn((e=__uniConfig.tabBar,cc()&&e.list&&e.list.forEach((e=>{hc(e,["text"])})),e))),Nh}function jh(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Dh=jh("--a:0"),Fh=jh("top:env(a)"),Vh=jh("top:constant(a)"),Wh=jh("backdrop-filter:blur(10px)"),zh={"css.var":Dh,"css.env":Fh,"css.constant":Vh,"css.backdrop-filter":Wh},Hh=Zd(0,(e=>!f(zh,e)||zh[e])),qh=(()=>Fh?"env":Vh?"constant":"")();function Uh(e){return qh?`calc(${e}px + ${qh}(safe-area-inset-bottom))`:`${e}px`}const Xh="$$",Yh=new Map;function Gh(e){return e.$page}const Jh={handledBeforeEntryPageRoutes:!1},Kh=[],Qh=[],Zh=[],ep=[];function tp(){return Yh}function np(){return op()}function op(){const e=[],t=Yh.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function rp(e,t=!0){const n=Yh.get(e);n.$.__isUnload=!0,Tu(n,fe),Yh.delete(e),t&&function(e){const t=cp.get(e);t&&(cp.delete(e),up.pruneCacheEntry(t))}(e)}let ap=_d();function ip(e){const t=vd();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,a){const{id:i,route:s}=o,l=ft(o.navigationBar,__uniConfig.themeConfig,a).titleColor;return{id:i,path:Re(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function sp(e){const t=ip(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),Yh.set(lp(t.path,t.id),e),1===Yh.size&&setTimeout((()=>{Ah()}),0)}function lp(e,t){return e+Xh+t}const cp=new Map,up={get:e=>cp.get(e),set(e,t){!function(e){const t=parseInt(e.split(Xh)[1]);if(!t)return;up.forEach(((e,n)=>{const o=parseInt(n.split(Xh)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;up.delete(n),up.pruneCacheEntry(e),io((()=>{Yh.forEach(((e,t)=>{e.$.isUnmounted&&Yh.delete(t)}))}))}}))}(e),cp.set(e,t)},delete(e){cp.get(e)&&cp.delete(e)},forEach(e){cp.forEach(e)}};function dp(e,t){!function(e){const t=hp(e),{body:n}=document;pp&&n.removeAttribute(pp),t&&n.setAttribute(t,""),pp=t}(e),function(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=Bh();e.shown&&(n=parseInt(e.height))}var o;au({"--window-top":(o=t,qh?`calc(${o}px + ${qh}(safe-area-inset-top))`:`${o}px`),"--window-bottom":Uh(n)})}(t),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),gp(e,t)}function fp(e){const t=hp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function hp(e){return e.type.__scopeId}let pp,mp;function gp(e,t){if(document.removeEventListener("touchmove",Su),mp&&document.removeEventListener("scroll",mp),t.disableScroll)return document.addEventListener("touchmove",Su);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 a={},i=Gh(e.proxy).id;(n||r)&&(a.onPageScroll=function(e,t,n){return o=>{t&&wb.publishHandler(ve,{scrollTop:o},e),n&&wb.emit(e+"."+ve,{scrollTop:o})}}(i,n,r)),(null==o?void 0:o.length)&&(a.onReachBottomDistance=t.onReachBottomDistance||50,a.onReachBottom=()=>wb.publishHandler(be,{},i)),mp=Pu(a),requestAnimationFrame((()=>document.addEventListener("scroll",mp)))}function vp(e){return e.$el}function yp(e){const{base:t}=__uniConfig.router;return 0===Re(e).indexOf(t)?Re(e):t+e}function bp(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return yp(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=op();return o.length?yp(Mu(Gh(o[o.length-1]).route,e).slice(1)):e}const _p=navigator.userAgent,wp=/android/i.test(_p),xp=/iphone|ipad|ipod/i.test(_p),kp=_p.match(/Windows NT ([\d|\d.\d]*)/i),Tp=/Macintosh|Mac/i.test(_p),Sp=/Linux|X11/i.test(_p),Cp=Tp&&navigator.maxTouchPoints>0;function Ep(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Pp(e){return e&&90===Math.abs(window.orientation)}function Mp(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function $p(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Op(e,t,n,o){xb.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function Lp(e,t){const n={},{top:o,topWindowHeight:r}=ou();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=Ye(e)),t.rect||t.size){const a=e.getBoundingClientRect();t.rect&&(n.left=a.left,n.right=a.right,n.top=a.top-o-r,n.bottom=a.bottom-o-r),t.size&&(n.width=a.width,n.height=a.height)}if(h(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(h(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Ip(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}const Rp={};function Ap(e,t){const n=Rp[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 a=r.length;const i=new Uint8Array(a);for(;a--;)i[a]=r.charCodeAt(a);return Np(i,o)}(e)):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 Np(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function Bp(e){for(const n in Rp)if(f(Rp,n)){if(Rp[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Rp[t]=e,t}const jp=Zu(),Dp=Zu();const Fp=od({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=jn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=xn({width:-1,height:-1});return Bo((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){ur(o),wr((()=>{t.initial&&io(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>Va("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[Va("div",{onScroll:r},[Va("div",null,null)],40,["onScroll"]),Va("div",{onScroll:r},[Va("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Vp(){}const Wp={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 zp(e,t,n){function o(e){const t=di((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Vp,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Vp,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Bo((()=>t.value),(e=>e&&o(e)))}var Hp=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,qp=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Up=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Xp=Zp("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Yp=Zp("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),Gp=Zp("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),Jp=Zp("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Kp=Zp("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Qp=Zp("script,style");function Zp(e){for(var t={},n=e.split(","),o=0;o<n.length;o++)t[n[o]]=!0;return t}const em={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},tm={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},nm={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"]},om=od({name:"Image",props:em,setup(e,{emit:t}){const n=jn(null),o=function(e,t){const n=jn(""),o=di((()=>{let e="auto",o="";const r=nm[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=xn({rootEl:e,src:di((()=>t.src?bp(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return wr((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=id(n,t),{fixSize:a}=function(e,t,n){const o=()=>{const{mode:o}=t,r=tm[o];if(!r)return;const{origWidth:a,origHeight:i}=n,s=a&&i?a/i:0;if(!s)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){rm&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,s))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Bo((()=>t.mode),((e,t)=>{tm[t]&&r(),tm[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let a,i;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();a=a||new Image,a.onload=e=>{const{width:u,height:d}=a;s(u,d,l),io((()=>{o()})),a.draggable=t.draggable,i&&i.remove(),i=a,n.value.appendChild(a),c(),r("load",e,{width:u,height:d})},a.onerror=t=>{s(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},a.src=l},c=()=>{a&&(a.onload=null,a.onerror=null,a=null)};Bo((()=>e.src),(e=>l(e))),Bo((()=>e.imgSrc),(e=>{!e&&i&&(i.remove(),i=null)})),wr((()=>l(e.src))),Tr((()=>c()))}(o,e,n,a,r),()=>Va("uni-image",{ref:n},[Va("div",{style:o.modeStyle},null,4),tm[e.mode]?Va(Fp,{onResize:a},null,8,["onResize"]):Va("span",null,null)],512)}});const rm="Google Inc."===navigator.vendor;const am=Je(!0),im=[];let sm=0,lm=!1;const cm=e=>im.forEach((t=>t.userAction=e));function um(e={userAction:!1}){if(!lm){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!sm&&cm(!0),sm++,setTimeout((()=>{! --sm&&cm(!1)}),0)}),am)})),lm=!0}im.push(e)}function dm(){const e=xn({userAction:!1});return wr((()=>{um(e)})),Tr((()=>{!function(e){const t=im.indexOf(e);t>=0&&im.splice(t,1)}(e)})),{state:e}}function fm(){const e=xn({attrs:{}});return wr((()=>{let t=Za();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function hm(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function pm(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const mm=["none","text","decimal","numeric","tel","search","email","url"],gm=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=>!!~mm.indexOf(e)},cursorColor:{type:String,default:""}},Wp),vm=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function ym(e,t,n,o){let r=null;r=nt((n=>{t.value=pm(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Bo((()=>e.modelValue),r),Bo((()=>e.value),r);const a=function(e,t){let n,o,r=0;const a=function(...a){const i=Date.now();clearTimeout(n),o=()=>{o=null,r=i,e.apply(this,a)},i-r<t?n=setTimeout(o,t-(i-r)):o()};return a.cancel=function(){clearTimeout(n),o=null},a.flush=function(){clearTimeout(n),o&&o()},a}(((e,t)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return _r((()=>{r.cancel(),a.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),a(e,t),n&&a.flush()}}}function bm(e,t){dm();const n=di((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Bo((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),wr((()=>{n.value&&io(o)}))}function _m(e,t,n,o){$c(bu(),"getSelectedTextRange",hm);const{fieldRef:r,state:a,trigger:i}=function(e,t,n){const o=jn(null),r=id(t,n),a=di((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),i=di((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=di((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=di((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=pm(e.modelValue,e.type)||pm(e.value,e.type);const u=xn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:a,selectionEnd:i,cursor:s});return Bo((()=>u.focus),(e=>n("update:focus",e))),Bo((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:s}=ym(e,a,n,i);bm(e,r),zp(0,r);const{state:l}=fm();!function(e,t){const n=oa(ud,!1);if(!n)return;const o=Za(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),Tr((()=>{n.removeField(r)}))}("name",a),function(e,t,n,o,r,a){function i(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Bo([()=>t.selectionStart,()=>t.selectionEnd],i),Bo((()=>t.cursor),s),Bo((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),g(a)&&!1===a(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}),i(),s()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,a,e,i,s,o);return{fieldRef:r,state:a,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:i}}const wm=c({},gm,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),xm=Be((()=>{{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 km(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&xm()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const Tm=od({name:"Input",props:wm,emits:["confirm",...vm],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],a=di((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),i=di((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf($(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let s=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=jn(null!=t?t.toLocaleString():"");return Bo((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Bo((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return jn("")}(e,a),l={fn:null};const c=jn(null),{fieldRef:u,state:d,scopedAttrsState:f,fixDisabledColor:h,trigger:p}=_m(e,c,t,((t,n)=>{const o=t.target;if("number"===a.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!s.value||!o.value)&&"-"===t.data||"-"===s.value[0]&&"deleteContentBackward"===t.inputType)return s.value="-",n.value="",l.fn=()=>{s.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=km(t,s,n,o,l);return"boolean"==typeof e?e:(s.value=n.value=o.value="-"===s.value?"":s.value,!1)}{const e=km(t,s,n,o,l);if("boolean"==typeof e)return e;s.value=o.value}const r=n.maxlength;if(r>0&&o.value.length>r){o.value=o.value.slice(0,r),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}}));Bo((()=>d.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t.toString())}));const m=["number","digit"],g=di((()=>m.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),p("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&h?Va("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:a.value,maxlength:d.maxlength,step:g.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):Va("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:a.value,maxlength:d.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:i.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Va("uni-input",{ref:c},[Va("div",{class:"uni-input-wrapper"},[Wo(Va("div",Ya(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ai,!(d.value.length||"-"===s.value||s.value.includes("."))]]),"search"===e.confirmType?Va("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Sm=["class","style"],Cm=/^on[A-Z]+/,Em=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Za(),r=Dn({}),a=Dn({}),i=Dn({}),s=n.concat(Sm);return o.attrs=xn(o.attrs),Ao((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:Cm.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,a.value=e.listeners,i.value=e.exclude})),{$attrs:r,$listeners:a,$excludeAttrs:i}};function Pm(e){const t=[];return h(e)&&e.forEach((e=>{Aa(e)?e.type===ka?t.push(...Pm(e.children)):t.push(e):h(e)&&t.push(...Pm(e))})),t}const Mm=od({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=jn(null),o=jn(!1);let{setContexts:r,events:a}=function(e,t){const n=jn(0),o=jn(0),r=xn({x:null,y:null}),a=jn(null);let i=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach((function(e){e._setScale(t)})):i&&i._setScale(t))}function c(e,n=s){let o=t.value;function r(e){for(let t=0;t<n.length;t++){const o=n[t];if(e===o.rootRef.value)return o}return e===o||e===document.body||e===document?null:r(e.parentNode)}return r(e)}const u=ad((t=>{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(a.value=$m(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);i=e&&e===t?e:null}}})),d=ad((e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==r.x&&a.value&&a.value>0){l($m(n)/a.value)}r.x=n.x,r.y=n.y}})),f=ad((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,a.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):i&&i._endScale())}));function h(){p(),s.forEach((function(e,t){e.setParent()}))}function p(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=r.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}return na("movableAreaWidth",n),na("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:f,_resize:h}}}(e,n);const{$listeners:i,$attrs:s,$excludeAttrs:l}=Em(),c=i.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=a[`_${e}`];c[e]=t?[].concat(t,n):n})),wr((()=>{a._resize(),o.value=!0}));let u=[];const d=[];function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find((e=>n===e.rootRef.value));o&&e.push(On(o))}r(e)}return na("_isMounted",o),na("movableAreaRootRef",n),na("addMovableViewContext",(e=>{d.push(e),f()})),na("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())})),()=>{const e=t.default&&t.default();return u=Pm(e),Va("uni-movable-area",Ya({ref:n},s.value,l.value,c),[Va(Fp,{onResize:a._resize},null,8,["onResize"]),u],16)}}});function $m(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Om=function(e,t,n,o){e.addEventListener(t,(e=>{g(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Lm,Im;function Rm(e,t,n){Tr((()=>{document.removeEventListener("mousemove",Lm),document.removeEventListener("mouseup",Im)}));let o=0,r=0,a=0,i=0;const s=function(e,n,s,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:l,dx:s-o,dy:l-r,ddx:s-a,ddy:l-i,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Om(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=a=e.touches[0].pageX,r=i=e.touches[0].pageY,s(e,"start",o,r)})),Om(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=a=e.pageX,r=i=e.pageY,s(e,"start",o,r)})),Om(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return a=e.touches[0].pageX,i=e.touches[0].pageY,t}}));const d=Lm=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return a=e.pageX,i=e.pageY,t}};document.addEventListener("mousemove",d),Om(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=Im=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),Om(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function Am(e,t,n){return e>t-n&&e<t+n}function Nm(e,t){return Am(e,0,t)}function Bm(){}function jm(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Dm(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Fm(e,t,n){this._springX=new Dm(e,t,n),this._springY=new Dm(e,t,n),this._springScale=new Dm(e,t,n),this._startTime=0}Bm.prototype.x=function(e){return Math.sqrt(e)},jm.prototype.setV=function(e,t){const n=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},jm.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},jm.prototype.s=function(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},jm.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},jm.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},jm.prototype.dt=function(){return-this._x_v/this._x_a},jm.prototype.done=function(){const e=Am(this.s().x,this._endPositionX)||Am(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},jm.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},jm.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Dm.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,a=n*n-4*o*r;if(0===a){const r=-n/(2*o),a=e,i=t/(r*e);return{x:function(e){return(a+i*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(a+i*e)*t+i*t}}}if(a>0){const r=(-n-Math.sqrt(a))/(2*o),i=(-n+Math.sqrt(a))/(2*o),s=(t-r*e)/(i-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,i*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,i*e)),l*r*t+s*i*n}}}const i=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/i;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(i*e)+c*Math.sin(i*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(i*e),o=Math.sin(i*e);return t*(c*i*n-l*i*o)+s*t*(c*o+l*n)}}},Dm.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Dm.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Dm.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Nm(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Nm(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Nm(t,.1)&&(t=0),Nm(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Nm(o-e,.1)&&Nm(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Dm.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Dm.prototype.done=function(e){return e||(e=(new Date).getTime()),Am(this.x(),this._endPosition,.1)&&Nm(this.dx(),.1)},Dm.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},Dm.prototype.springConstant=function(){return this._k},Dm.prototype.damping=function(){return this._c},Dm.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},Fm.prototype.setEnd=function(e,t,n,o){const r=(new Date).getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r},Fm.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},Fm.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Fm.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function Vm(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Wm=od({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.1},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=jn(null),r=id(o,n),{setParent:a}=function(e,t,n){const o=oa("_isMounted",jn(!1)),r=oa("addMovableViewContext",(()=>{})),a=oa("removeMovableViewContext",(()=>{}));let i,s,l=jn(1),c=jn(1),u=jn(!1),d=jn(0),f=jn(0),h=null,p=null,m=!1,g=null,v=null;const y=new Bm,b=new Bm,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=di((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new jm(1,w.value);Bo((()=>e.disabled),(()=>{q()}));const{_updateOldScale:k,_endScale:T,_setScale:S,scaleValueSync:C,_updateBoundary:E,_updateOffset:P,_updateWH:M,_scaleOffset:$,minX:O,minY:L,maxX:I,maxY:R,FAandSFACancel:A,_getLimitXY:N,_setTransform:B,_revise:j,dampingNumber:D,xMove:F,yMove:V,xSync:W,ySync:z,_STD:H}=function(e,t,n,o,r,a,i,s,l,c){const u=di((()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t})),d=di((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),f=jn(Number(e.scaleValue)||1);Bo(f,(e=>{B(e)})),Bo(u,(()=>{N()})),Bo(d,(()=>{N()})),Bo((()=>e.scaleValue),(e=>{f.value=Number(e)||0}));const{_updateBoundary:h,_updateOffset:p,_updateWH:m,_scaleOffset:g,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=oa("movableAreaWidth",jn(0)),r=oa("movableAreaHeight",jn(0)),a=oa("movableAreaRootRef"),i={x:0,y:0},s={x:0,y:0},l=jn(0),c=jn(0),u=jn(0),d=jn(0),f=jn(0),h=jn(0);function p(){let e=0-i.x+s.x,t=o.value-l.value-i.x-s.x;u.value=Math.min(e,t),f.value=Math.max(e,t);let n=0-i.y+s.y,a=r.value-c.value-i.y-s.y;d.value=Math.min(n,a),h.value=Math.max(n,a)}function m(){i.x=qm(e.value,a.value),i.y=Um(e.value,a.value)}function g(o){o=o||t.value,o=n(o);let r=e.value.getBoundingClientRect();c.value=r.height/t.value,l.value=r.width/t.value;let a=c.value*o,i=l.value*o;s.x=(i-l.value)/2,s.y=(a-c.value)/2}return{_updateBoundary:p,_updateOffset:m,_updateWH:g,_scaleOffset:s,minX:u,minY:d,maxX:f,maxY:h}}(t,o,A),{FAandSFACancel:w,_getLimitXY:x,_animationTo:k,_setTransform:T,_revise:S,dampingNumber:C,xMove:E,yMove:P,xSync:M,ySync:$,_STD:O}=function(e,t,n,o,r,a,i,s,l,c,u,d,f,h){const p=di((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),m=di((()=>"all"===t.direction||"horizontal"===t.direction)),g=di((()=>"all"===t.direction||"vertical"===t.direction)),v=jn(Ym(t.x)),y=jn(Ym(t.y));Bo((()=>t.x),(e=>{v.value=Ym(e)})),Bo((()=>t.y),(e=>{y.value=Ym(e)})),Bo(v,(e=>{S(e)})),Bo(y,(e=>{C(e)}));const b=new Fm(1,9*Math.pow(p.value,2)/40,p.value);function _(e,t){let n=!1;return e>r.value?(e=r.value,n=!0):e<i.value&&(e=i.value,n=!0),t>a.value?(t=a.value,n=!0):t<s.value&&(t=s.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function x(e,n,r,a,i,s){w(),m.value||(e=l.value),g.value||(n=c.value),t.scale||(r=o.value);let d=_(e,n);e=d.x,n=d.y,t.animation?(b._springX._solution=null,b._springY._solution=null,b._springScale._solution=null,b._springX._endPosition=l.value,b._springY._endPosition=c.value,b._springScale._endPosition=o.value,b.setEnd(e,n,r,1),u=Xm(b,(function(){let e=b.x();k(e.x,e.y,e.scale,a,i,s)}),(function(){u.cancel()}))):k(e,n,r,a,i,s)}function k(r,a,i,s="",u,d){null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=l.value||0),null!==a&&"NaN"!==a.toString()&&"number"==typeof a||(a=c.value||0),r=Number(r.toFixed(1)),a=Number(a.toFixed(1)),i=Number(i.toFixed(1)),l.value===r&&c.value===a||u||h("change",{},{x:Vm(r,n.x),y:Vm(a,n.y),source:s}),t.scale||(i=o.value),i=+(i=f(i)).toFixed(3),d&&i!==o.value&&h("scale",{},{x:r,y:a,scale:i});let p="translateX("+r+"px) translateY("+a+"px) translateZ(0px) scale("+i+")";e.value&&(e.value.style.transform=p,e.value.style.webkitTransform=p,l.value=r,c.value=a,o.value=i)}function T(e){let t=_(l.value,c.value),n=t.x,r=t.y,a=t.outOfBounds;return a&&x(n,r,o.value,e),a}function S(e){if(m.value){if(e+n.x===l.value)return l;u&&u.cancel(),x(e+n.x,y.value+n.y,o.value)}return e}function C(e){if(g.value){if(e+n.y===c.value)return c;u&&u.cancel(),x(v.value+n.x,e+n.y,o.value)}return e}return{FAandSFACancel:w,_getLimitXY:_,_animationTo:x,_setTransform:k,_revise:T,dampingNumber:p,xMove:m,yMove:g,xSync:v,ySync:y,_STD:b}}(t,e,g,o,b,_,v,y,i,s,l,c,A,n);function L(t,n){if(e.scale){t=A(t),m(t),h();const e=x(i.value,s.value),o=e.x,r=e.y;n?k(o,r,t,"",!0,!0):Hm((function(){T(o,r,t,"",!0,!0)}))}}function I(){a.value=!0}function R(e){r.value=e}function A(e){return e=Math.max(.1,u.value,e),e=Math.min(10,d.value,e)}function N(){if(!e.scale)return!1;L(o.value,!0),R(o.value)}function B(t){return!!e.scale&&(L(t=A(t),!0),R(t),t)}function j(){a.value=!1,R(o.value)}function D(e){e&&(e=r.value*e,I(),L(e))}return{_updateOldScale:R,_endScale:j,_setScale:D,scaleValueSync:f,_updateBoundary:h,_updateOffset:p,_updateWH:m,_scaleOffset:g,minX:v,minY:y,maxX:b,maxY:_,FAandSFACancel:w,_getLimitXY:x,_animationTo:k,_setTransform:T,_revise:S,dampingNumber:C,xMove:E,yMove:P,xSync:M,ySync:$,_STD:O}}(e,n,t,l,c,u,d,f,h,p);function q(){u.value||e.disabled||(A(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],F.value&&(i=d.value),V.value&&(s=f.value),n.value.style.willChange="transform",g=null,v=null,m=!0)}function U(t){if(!u.value&&!e.disabled&&m){let n=d.value,o=f.value;if(null===v&&(v=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),F.value&&(n=t.detail.dx+i,_.historyX.shift(),_.historyX.push(n),V.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),V.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),F.value||null!==g||(g=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!g){t.preventDefault();let r="touch";n<O.value?e.outOfBounds?(r="touch-out-of-bounds",n=O.value-y.x(O.value-n)):n=O.value:n>I.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=I.value+y.x(n-I.value)):n=I.value),o<L.value?e.outOfBounds?(r="touch-out-of-bounds",o=L.value-b.x(L.value-o)):o=L.value:o>R.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=R.value+b.x(o-R.value)):o=R.value),Hm((function(){B(n,o,l.value,r)}))}}}function X(){if(!u.value&&!e.disabled&&m&&(n.value.style.willChange="auto",m=!1,!g&&!j("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=f.value;x.setV(e,t),x.setS(n,o);const r=x.delta().x,a=x.delta().y;let i=r+n,s=a+o;i<O.value?(i=O.value,s=o+(O.value-n)*a/r):i>I.value&&(i=I.value,s=o+(I.value-n)*a/r),s<L.value?(s=L.value,i=n+(L.value-o)*r/a):s>R.value&&(s=R.value,i=n+(R.value-o)*r/a),x.setEnd(i,s),p=Xm(x,(function(){let e=x.s(),t=e.x,n=e.y;B(t,n,l.value,"friction")}),(function(){p.cancel()}))}e.outOfBounds||e.inertia||A()}function Y(){if(!o.value)return;A();let t=e.scale?C.value:1;P(),M(t),E();let n=N(W.value+$.x,z.value+$.y),r=n.x,a=n.y;B(r,a,t,"",!0),k(t)}return wr((()=>{Rm(n.value,(e=>{switch(e.detail.state){case"start":q();break;case"move":U(e);break;case"end":X()}})),Y(),x.reconfigure(1,w.value),H.reconfigure(1,9*Math.pow(D.value,2)/40,D.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:Y,_endScale:T,_setScale:S};r(e),Sr((()=>{a(e)}))})),Sr((()=>{A()})),{setParent:Y}}(e,r,o);return()=>Va("uni-movable-view",{ref:o},[Va(Fp,{onResize:a},null,8,["onResize"]),t.default&&t.default()],512)}});let zm=!1;function Hm(e){zm||(zm=!0,requestAnimationFrame((function(){e(),zm=!1})))}function qm(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=qm(e.offsetParent,t):0}function Um(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Um(e.offsetParent,t):0}function Xm(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let a=n.done();a||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),a&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function Ym(e){return/\d+[ur]px$/i.test(e)?uf(parseFloat(e)):Number(e)||0}const Gm=od({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return h(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=jn(null),r=jn(null),a=id(o,n),i=function(e){const t=xn([...e.value]),n=xn({value:t,height:34});return Bo((()=>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),s=jn(null);wr((()=>{const e=s.value;e&&(i.height=e.$el.offsetHeight)}));let l=jn([]),c=jn([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Sa));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return na("getPickerViewColumn",(function(e){return di({get(){const t=u(e.vnode);return i.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(i.value[o]!==t){i.value[o]=t;const e=i.value.map((e=>e));n("update:value",e),a("change",{},{value:e})}}})})),na("pickerViewProps",e),na("pickerViewState",i),()=>{const e=t.default&&t.default();{const t=Pm(e);l.value=t,io((()=>{c.value=t}))}return Va("uni-picker-view",{ref:o},[Va(Fp,{ref:s,onResize:({height:e})=>i.height=e},null,8,["onResize"]),Va("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Jm{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 Km(e,t,n){return e>t-n&&e<t+n}function Qm(e,t){return Km(e,0,t)}class Zm{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,a=n*n-4*o*r;if(0===a){const r=-n/(2*o),a=e,i=t/(r*e);return{x:function(e){return(a+i*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(a+i*e)*t+i*t}}}if(a>0){const r=(-n-Math.sqrt(a))/(2*o),i=(-n+Math.sqrt(a))/(2*o),s=(t-r*e)/(i-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,i*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,i*e)),l*r*t+s*i*n}}}const i=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/i;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(i*e)+c*Math.sin(i*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(i*e),o=Math.sin(i*e);return t*(c*i*n-l*i*o)+s*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||!Qm(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Qm(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Qm(t,.4)&&(t=0),Qm(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Qm(o-e,.4)&&Qm(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()),Km(this.x(),this._endPosition,.4)&&Qm(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 eg{constructor(e,t,n){this._extent=e,this._friction=t||new Jm(.01),this._spring=n||new Zm(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}}class tg{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=new eg(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=Math.floor(Math.abs(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 a=n.done();a||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),a&&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()),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(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),g(this._options.onSnap)&&this._options.onSnap(Math.floor(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(g(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(),g(this._options.onSnap)&&this._options.onSnap(Math.floor(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}}function ng(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new tg(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 a=r(e);if(a){for(n.maxDy=Math.max(n.maxDy,Math.abs(a.y)),n.maxDx=Math.max(n.maxDx,Math.abs(a.x)),n.historyX.push(a.x),n.historyY.push(a.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(a.x,a.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],a=n.historyX[t],i=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(a-n.historyX[t])/(e/1e3),o.y=(i-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}const og=od({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=jn(null),r=jn(null),a=oa("getPickerViewColumn"),i=Za(),s=a?a(i):jn(0),l=oa("pickerViewProps"),c=oa("pickerViewState"),u=jn(34),d=jn(null);wr((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const f=di((()=>(c.height-u.value)/2)),{state:h}=fm();let p;const m=xn({current:s.value,length:0});let g;function v(){p&&!g&&(g=!0,io((()=>{g=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),p.update(e*u.value,void 0,u.value)})))}Bo((()=>s.value),(e=>{e!==m.current&&(m.current=e,v())})),Bo((()=>m.current),(e=>s.value=e)),Bo([()=>u.value,()=>m.length,()=>c.height],v);let y=0;function b(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),p.scrollTo(e*u.value)}else y=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!p.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(m.current+t,m.length-1);m.current=r=Math.max(r,0),p.scrollTo(r*u.value)}}}return wr((()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:a,handleTouchMove:i,handleTouchEnd:s}=ng(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Jm(1e-4),spring:new Zm(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});p=n,Rm(e,(e=>{switch(e.detail.state){case"start":a(e);break;case"move":i(e),e.stopPropagation();break;case"end":case"cancel":s(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),v()})),()=>{const e=t.default&&t.default();m.length=Pm(e).length;const n=`${f.value}px 0`;return Va("uni-picker-view-column",{ref:o},[Va("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[Va("div",Ya(h.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),Va("div",Ya(h.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[Va(Fp,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),Va("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)}}}),rg={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},ag={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const ig=(e,t,n)=>!n||h(n)&&!n.length?[]:n.map((n=>{var o;if(k(n)){if(!f(n,"type")||"node"===n.type){let r={[e]:""};const a=null==(o=n.name)?void 0:o.toLowerCase();if(!f(rg,a))return;return function(e,t){if(k(t))for(const n in t)if(f(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=bp(o))}}(a,n.attrs),r=c(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),fi(n.name,r,ig(e,t,n.children))}return"text"===n.type&&v(n.text)&&""!==n.text?za((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return f(ag,t)&&ag[t]?ag[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e}))):void 0}}));function sg(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(e);const t=[],n={children:[]};return function(e,t){var n,o,r,a=[],i=e;for(a.last=function(){return this[this.length-1]};e;){if(o=!0,a.last()&&Qp[a.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+a.last()+"[^>]*>"),(function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""})),c("",a.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("</")?(r=e.match(qp))&&(e=e.substring(r[0].length),r[0].replace(qp,c),o=!1):0==e.indexOf("<")&&(r=e.match(Hp))&&(e=e.substring(r[0].length),r[0].replace(Hp,l),o=!1),o){var s=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(s)}if(e==i)throw"Parse Error: "+e;i=e}function l(e,n,o,r){if(n=n.toLowerCase(),Yp[n])for(;a.last()&&Gp[a.last()];)c("",a.last());if(Jp[n]&&a.last()==n&&c("",n),(r=Xp[n]||!!r)||a.push(n),t.start){var i=[];o.replace(Up,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Kp[t]?t:"";i.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,i,r)}}function c(e,n){if(n)for(o=a.length-1;o>=0&&a[o]!=n;o--);else var o=0;if(o>=0){for(var r=a.length-1;r>=o;r--)t.end&&t.end(a[r]);a.length=o}}c()}(e,{start:function(e,o,r){const a={name:e};if(0!==o.length&&(a.attrs=function(e){return e.reduce((function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e}),{})}(o)),r){const e=t[0]||n;e.children||(e.children=[]),e.children.push(a)}else t.unshift(a)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o&&(o.children||(o.children=[]),o.children.push(n))}}),n.children}const lg=od({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=Za(),o=n&&n.vnode.scopeId||"",r=jn(null),a=jn([]),i=id(r,t);function s(e,t={}){i("itemclick",e,t)}return Bo((()=>e.nodes),(function(){let t=e.nodes;v(t)&&(t=sg(e.nodes)),a.value=ig(o,s,t)}),{immediate:!0}),()=>fi("uni-rich-text",{ref:r},fi("div",{},a.value))}}),cg=od({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=jn(null),o=di((()=>{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=di((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:a,refresherDefaultStyle:i,refresherThreshold:s}=e;return Va("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==i?Va("div",{class:"uni-scroll-view-refresh"},[Va("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==a?Va("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"},[Va("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),Va("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==a?Va("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Va("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===i?Va("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),ug=Je(!0),dg=od({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=jn(null),a=jn(null),i=jn(null),s=jn(null),l=id(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=di((()=>Number(e.scrollTop)||0)),n=di((()=>Number(e.scrollLeft)||0)),o=xn({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:h}=function(e,t,n,o,r,a,i,s,l){let c=!1,u=0,d=!1,f=()=>{};const h=di((()=>e.scrollX)),p=di((()=>e.scrollY)),m=di((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),g=di((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=i.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 a=s.value;a.style.transition="transform .3s ease-out",a.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),a.removeEventListener("transitionend",f),a.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),a.addEventListener("transitionend",f),a.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),a.style.transform=r,a.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}),p.value&&(n.scrollTop<=m.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+g.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),h.value&&(n.scrollLeft<=m.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+g.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){p.value&&(e.scrollWithAnimation?v(t,"y"):i.value.scrollTop=t)}function _(t){h.value&&(e.scrollWithAnimation?v(t,"x"):i.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=a.value.querySelector("#"+t);if(n){let t=i.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(h.value){let n=o.left-t.left,r=i.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):i.value.scrollLeft=r}if(p.value){let n=o.top-t.top,r=i.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):i.value.scrollTop=r}}}}function x(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=i.value;"x"===t?(n.style.overflowX=h.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=p.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",f),s.value.removeEventListener("webkitTransitionEnd",f)}function k(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:S.y-T.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:S.y-T.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:S.y-T.y}))}t.refreshState=n}}let T={x:0,y:0},S={y:e.refresherThreshold};return wr((()=>{io((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let a=function(e){e.preventDefault(),e.stopPropagation(),y(e)},s=null,l=function(n){if(null===T)return;let o=n.touches[0].pageX,a=n.touches[0].pageY,l=i.value;if(Math.abs(o-T.x)>Math.abs(a-T.y))if(h.value){if(0===l.scrollLeft&&o>T.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<T.x)return void(s=!1);s=!0}else s=!1;else if(p.value)if(0===l.scrollTop&&a>T.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&a<T.y)return void(s=!1);s=!0}else s=!1;if(s&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&k("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=a-T.y;0===u&&(u=a),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=a-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})},m=function(n){S={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?k("refreshing"):k("refresherabort"),T={x:0,y:0},S={x:0,y:e.refresherThreshold}};i.value.addEventListener("touchstart",f,ug),i.value.addEventListener("touchmove",l,Je(!1)),i.value.addEventListener("scroll",a,Je(!1)),i.value.addEventListener("touchend",m,ug),Tr((()=>{i.value.removeEventListener("touchstart",f),i.value.removeEventListener("touchmove",l),i.value.removeEventListener("scroll",a),i.value.removeEventListener("touchend",m)}))})),ur((()=>{p.value&&(i.value.scrollTop=t.lastScrollTop),h.value&&(i.value.scrollLeft=t.lastScrollLeft)})),Bo(n,(e=>{b(e)})),Bo(o,(e=>{_(e)})),Bo((()=>e.scrollIntoView),(e=>{w(e)})),Bo((()=>e.refresherTriggered),(e=>{!0===e?k("refreshing"):!1===e&&k("restore")})),{realScrollX:h,realScrollY:p,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,a,s,t),p=di((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",h.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),m=di((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>a.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return Va("uni-scroll-view",{ref:r},[Va("div",{ref:i,class:"uni-scroll-view"},[Va("div",{ref:a,style:p.value,class:m.value},[t?Va(cg,{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,Va("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function fg(e,t,n,o,r,a){function i(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,f=1,h=null,p=!1,m=0,g="";const v=di((()=>n.value.length>t.displayMultipleItems)),y=di((()=>e.circular&&v.value));function b(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,a=r.length,i=o+t.displayMultipleItems,s=0;s<a;s++){const t=r[s],n=Math.floor(o/a)*a+s,l=n+a,c=n-a,u=Math.max(o-(n+1),n-i,0),d=Math.max(o-(l+1),l-i,0),f=Math.max(o-(c+1),c-i,0),h=Math.min(u,d,f),p=[n,l,c][[u,d,f].indexOf(h)];t.updatePosition(p,e.vertical)}}(r);const i="translate("+(e.vertical?"0":100*-r*f+"%")+", "+(e.vertical?100*-r*f+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=i,l.style.transform=i),d=r,!s){if(r%1==0)return;s=r}r-=Math.floor(s);const c=n.value;r<=-(c.length-1)?r+=c.length:r>=c.length&&(r-=c.length),r=s%1>.5||s<0?r-1:r,a("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){h=null}function x(){if(!h)return void(p=!1);const e=h,o=e.toPos,r=e.acc,i=e.endTime,c=e.source,u=i-Date.now();if(u<=0){b(o),h=null,p=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();a("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function k(e,o,r){w();const a=t.duration,i=n.value.length;let s=d;if(y.value)if(r<0){for(;s<e;)s+=i;for(;s-i>e;)s-=i}else if(r>0){for(;s>e;)s-=i;for(;s+i<e;)s+=i;s+i-e<e-s&&(s+=i)}else{for(;s+i<e;)s+=i;for(;s-i>e;)s-=i;s+i-e<e-s&&(s+=i)}else"click"===o&&(e=e+t.displayMultipleItems-1<i?e:0);h={toPos:e,acc:2*(s-e)/(a*a),endTime:Date.now()+a,source:o},p||(p=!0,l=requestAnimationFrame(x))}function T(){i();const e=n.value,o=function(){c=null,g="autoplay",y.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,k(t.current,"autoplay",y.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function S(e){e?T():i()}return Bo([()=>e.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;t<r.length;t++){if(r[t].getItemId()===e.currentItemId){o=t;break}}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(g="",t.current=o)})),Bo([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){i(),h&&(b(h.toPos),h=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);f=1;const a=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=a.getBoundingClientRect();f=e.width/t.width,f>0&&f<1||(f=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(s+l-m),m=l):(b(l),e.autoplay&&T())):(u=!0,b(-t.displayMultipleItems-1))})),Bo((()=>t.interval),(()=>{c&&(i(),T())})),Bo((()=>t.current),((e,o)=>{!function(e,o){const r=g;g="";const i=n.value;if(!r){const t=i.length;k(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const s=i[e];if(s){const e=t.currentItemId=s.getItemId();a("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)})),Bo((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),Bo((()=>e.autoplay&&!t.userTracking),S),S(e.autoplay&&!t.userTracking),wr((()=>{let r=!1,a=0,s=0;function l(e){t.userTracking=!1;const n=a/Math.abs(a);let o=0;!e&&Math.abs(a)>.2&&(o=.5*n);const r=_(d+o);e?b(m):(g="touch",t.current=r,k(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}Rm(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,i(),m=d,a=0,s=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&T())}return function(r){const i=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=m+e;a=.6*a+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),a=0),b(n)}const d=s-i||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}}))})),Sr((()=>{i(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){k(t.current=e,g="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const hg=od({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=jn(null),r=id(o,n),a=jn(null),i=jn(null),s=function(e){return xn({interval:di((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:di((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:di((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=di((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:lu(e.previousMargin,!0),bottom:lu(e.nextMargin,!0)}:{top:0,bottom:0,left:lu(e.previousMargin,!0),right:lu(e.nextMargin,!0)}),t})),c=di((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],f=jn([]);function h(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find((e=>n===e.rootRef.value));o&&e.push(On(o))}f.value=e}na("addSwiperContext",(function(e){d.push(e),h()}));na("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())}));const{onSwiperDotClick:p,circularEnabled:m,swiperEnabled:g}=fg(e,s,f,i,n,r);let v=()=>null;return v=pg(o,e,s,p,f,m,g),()=>{const n=t.default&&t.default();return u=Pm(n),Va("uni-swiper",{ref:o},[Va("div",{ref:a,class:"uni-swiper-wrapper"},[Va("div",{class:"uni-swiper-slides",style:l.value},[Va("div",{ref:i,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Va("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,o)=>Va("div",{onClick:()=>p(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<s.current+s.displayMultipleItems&&n>=s.current||n<s.current+s.displayMultipleItems-o.length},style:{background:n===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2),v()],512)],512)}}}),pg=(e,t,n,o,r,a,i)=>{let s=!1,l=!1,u=!1,d=jn(!1);function f(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Ao((()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,b()})),Ao((()=>{const e=r.value.length,t=!a.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,i.value||(l=!0,u=!0,s&&(d.value=!0))}));const h={onMouseover:e=>f(e,"over"),onMouseout:e=>f(e,"out")};function p(e,t,i){if(e.stopPropagation(),i)return;const s=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&a.value&&(l=s-1);break;case"next":l++,l>=s&&a.value&&(l=0)}o(l)}const m=()=>pu(hu,t.navigationColor,26);let g;const v=n=>{clearTimeout(g);const{clientX:o,clientY:r}=n,{left:a,right:i,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(r-s<u/3||l-r<u/3):!(o-a<c/3||i-o<c/3),f)return g=setTimeout((()=>{d.value=f}),300);d.value=f},y=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),s&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return wr(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Va(ka,null,[Va("div",Ya({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>p(e,"prev",l)},h),[m()],16,["onClick"]),Va("div",Ya({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>p(e,"next",u)},h),[m()],16,["onClick"])]):null}},mg=od({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=jn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",a=n.value,i=`translate(${o},${r}) translateZ(0)`;a&&(a.style.webkitTransform=i,a.style.transform=i)}};return wr((()=>{const e=oa("addSwiperContext");e&&e(o)})),Sr((()=>{const e=oa("removeSwiperContext");e&&e(o)})),()=>Va("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),gg=od({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){const n=jn(null),o=jn(e.checked),r=function(e,t){const n=oa(ud,!1),o=oa(dd,!1),r={submit:()=>{const n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(r),Sr((()=>{n.removeField(r)})));return o}(e,o),a=id(n,t);Bo((()=>e.checked),(e=>{o.value=e}));const i=t=>{e.disabled||(o.value=!o.value,a("change",t,{value:o.value}))};return r&&(r.addHandler(i),Tr((()=>{r.removeHandler(i)}))),fd(e,{"label-click":i}),()=>{const{color:t,type:r}=e,a=cd(e,"disabled"),s={};let l;return t&&o.value&&(s.backgroundColor=t,s.borderColor=t),l=o.value,Va("uni-switch",Ya({id:e.id,ref:n},a,{onClick:i}),[Va("div",{class:"uni-switch-wrapper"},[Wo(Va("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:s},null,6),[[Ai,"switch"===r]]),Wo(Va("div",{class:"uni-checkbox-input"},[l?pu(du,e.color,22):""],512),[[Ai,"checkbox"===r]])])],16,["id","onClick"])}}});const vg={ensp:" ",emsp:" ",nbsp:" "};function yg(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let a of e)t&&vg[t]&&" "===a&&(a=vg[t]),r?(o+="n"===a?ee:"\\"===a?"\\":"\\"+a,r=!1):"\\"===a?r=!0:o+=a;return n?o.replace(/ /g,vg.nbsp).replace(/ /g,vg.ensp).replace(/ /g,vg.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ee)}const bg=od({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=jn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Sa){const n=yg(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(za(e)),t!==r&&o.push(Va("br"))}))}else o.push(t)})),Va("uni-text",{ref:n,selectable:!!e.selectable||null},[Va("span",null,o)],8,["selectable"])}}}),_g=c({},gm,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>xg.concat("return").includes(e)}});let wg=!1;const xg=["done","go","next","search","send"];const kg=od({name:"Textarea",props:_g,emits:["confirm","linechange",...vm],setup(e,{emit:t,expose:n}){const o=jn(null),r=jn(null),{fieldRef:a,state:i,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=_m(e,o,t),u=di((()=>i.value.split(ee))),d=di((()=>xg.includes(e.confirmType))),f=jn(0),h=jn(null);function p({height:e}){f.value=e}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function g(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:i.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return Bo((()=>f.value),(t=>{const n=o.value,a=h.value,i=r.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=a.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",i.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";wg=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),i.value=e.value}}),()=>{let t=e.disabled&&l?Va("textarea",{key:"disabled-textarea",ref:a,value:i.value,tabindex:"-1",readonly:!!e.disabled,maxlength:i.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":wg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Va("textarea",{key:"textarea",ref:a,value:i.value,disabled:!!e.disabled,maxlength:i.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":wg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return Va("uni-textarea",{ref:o},[Va("div",{ref:r,class:"uni-textarea-wrapper"},[Wo(Va("div",Ya(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ai,!i.value.length]]),Va("div",{ref:h,class:"uni-textarea-line"},[" "],512),Va("div",{class:"uni-textarea-compute"},[u.value.map((e=>Va("div",null,[e.trim()?e:"."]))),Va(Fp,{initial:!0,onResize:p},null,8,["initial","onResize"])]),"search"===e.confirmType?Va("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),Tg=od({name:"View",props:c({},sd),setup(e,{slots:t}){const n=jn(null),{hovering:o,binding:r}=ld(e);return()=>{const a=e.hoverClass;return a&&"none"!==a?Va("uni-view",Ya({class:o.value?a:"",ref:n},r),[Lr(t,"default")],16):Va("uni-view",{ref:n},[Lr(t,"default")],512)}}});function Sg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Cg(e,t,n){e&&$c(bu(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function Eg(e,t){e&&function(e,t){t=Mc(e,t),delete Pc[t]}(bu(),e)}let Pg=0;function Mg(e,t,n,o){g(t)&&yr(e,t.bind(n),o)}function $g(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!g(t))&&(at.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];h(r)?r.forEach((e=>Mg(o,e,n,t))):Mg(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,Tu(n,de,e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&Tu(n,re)}catch(r){console.error(r.message+ee+r.stack)}}}function Og(e,t,n){$g(e,t,n)}function Lg(e,t,n){return e[t]=n}function Ig(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Rg(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const a=e._instance;if(!a||!a.proxy)throw n;a[se]?Tu(a.proxy,se,n):Jn(n,0,o&&o.$.vnode,!1)}}function Ag(e,t){return e?[...new Set([].concat(e,t))]:t}function Ng(e){const t=e.config;var n;t.errorHandler=st(e,Rg),n=t.optionMergeStrategies,at.forEach((e=>{n[e]=Ag}));const o=t.globalProperties;o.$set=Lg,o.$applyOptions=Og,o.$callMethod=Ig,function(e){it.forEach((t=>t(e)))}(e)}function Bg(e){const t=Ul({history:Fg(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Dg});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(jg[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let jg=Object.create(null);const Dg=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,jg[o]);if(t)return t}return{left:0,top:0};var o};function Fg(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),rl(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=op(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Gh(t[r]);rp(lp(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const Vg={install(e){Ng(e),Vu(e),Qu(e),e.config.warnHandler||(e.config.warnHandler=Wg),Bg(e)}};function Wg(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 zg={class:"uni-async-loading"},Hg=Va("i",{class:"uni-loading"},null,-1),qg=rd({name:"AsyncLoading",render:()=>(Ma(),Ra("div",zg,[Hg]))});function Ug(){window.location.reload()}const Xg=rd({name:"AsyncError",setup(){gc();const{t:e}=pc();return()=>Va("div",{class:"uni-async-error",onClick:Ug},[e("uni.async.error")],8,["onClick"])}});let Yg;function Gg(){return Yg}function Jg(e){Yg=e,Object.defineProperty(Yg.$.ctx,"$children",{get:()=>op().map((e=>e.$vm))});const t=Yg.$.appContext.app;t.component(qg.name)||t.component(qg.name,qg),t.component(Xg.name)||t.component(Xg.name,Xg),function(e){e.$vm=e,e.$mpType="app";const t=jn(pc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Yg),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}})}(Yg),Ju(),Ou()}function Kg(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const a=e.setup;return e.setup=(e,t)=>{const r=Za();if(n(r.proxy),o(r),a)return a(e,t)},e}function Qg(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Kg(e.default,t):Kg(e,t)}function Zg(e){return Qg(e,{clone:!0,init:sp,setup(e){e.$pageInstance=e;const t=bd(),n=Ze(t.query);e.attrs.__pageQuery=n,Gh(e.proxy).options=n,e.proxy.options=n;const o=vd();var r,a;return e.onReachBottom=xn([]),e.onPageScroll=xn([]),Bo([e.onReachBottom,e.onPageScroll],(()=>{const t=vu();e.proxy===t&&gp(e,o)}),{once:!0}),_r((()=>{dp(e,o)})),wr((()=>{fp(e);const{onReady:n}=e;n&&R(n),ov(t)})),fr((()=>{if(!e.__isVisible){dp(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&R(n),io((()=>{ov(t)}))}}),"ba",r),function(e,t){fr(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&R(t)}}})),a=o.id,wb.subscribe(Mc(a,Sc),Oc),Tr((()=>{!function(e){wb.unsubscribe(Mc(e,Sc)),Object.keys(Pc).forEach((t=>{0===t.indexOf(e+".")&&delete Pc[t]}))}(o.id)})),n}})}function ev(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Sv(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";xb.emit(me,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function tv(e){k(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&xb.emit(Le,e.data.data,e.data.pageId)}function nv(){const{emit:e}=xb;"visible"===document.visibilityState?e($e,c({},Dp)):e(Oe)}function ov(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Tu("onTabItemTap",{index:n,text:t,pagePath:o})}function rv(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let a=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(a=r+":"+a),a}function av(e,t,n){const o=xn({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let a=null;let i;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(s){function l(){s.stopPropagation(),s.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=s.targetTouches[0],d=u.pageX,f=u.pageY,h=r,p=t.value;if("progress"===c?(!function(e){const n=t.value,r=n.duration;let a=e/600*r+o.currentTimeOld;a<0?a=0:a>r&&(a=r);o.currentTimeNew=a}(d-h.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,r=o.volumeOld;let a;"number"==typeof r&&(a=r-e/200,a<0?a=0:a>1&&(a=1),clearTimeout(i),i=void 0,null==i&&(i=setTimeout((()=>{o.toastThin=!1,i=void 0}),1e3)),n.volume=a,o.volumeNew=a)}(f-h.y),"none"===c)if(Math.abs(d-h.x)>Math.abs(f-h.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=p.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=a||(a=setTimeout((()=>{o.toastThin=!0}),500)),o.gestureType="volume",o.volumeOld=p.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}function iv(e,t,n,o,r,a,i,s){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:a,requestFullScreen:i,exitFullScreen:s};!function(e,t){const n=Za().proxy;wr((()=>{Cg(t||Sg(n),e),Bo((()=>n.id),((t,o)=>{Cg(Sg(n,t),e),Eg(o&&Sg(n,o))}))})),Tr((()=>{Eg(t||Sg(n))}))}(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)}),function(){const e=mu(),t=Za().proxy,n=t.$options.name.toLowerCase(),o=t.id||"context"+Pg++;return wr((()=>{t.$el.__uniContextInfo={id:o,type:n,page:e}})),`${n}.${o}`}())}const sv={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},lv=od({name:"Video",props:sv,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=jn(null),a=jn(null),i=id(r,t),{state:s}=dm(),{$attrs:l}=Em({excludeListeners:!0});pc(),kc();const{videoRef:c,state:u,play:d,pause:f,stop:p,seek:m,playbackRate:g,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:k,onPause:T,onEnded:S,onTimeUpdate:C}=function(e,t,n){const o=jn(null),r=di((()=>bp(e.src))),a=di((()=>"true"===e.muted||!0===e.muted)),i=xn({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:a,pauseUpdatingCurrentTime:!1});function s(e){const t=e.target,n=t.buffered;n.length&&(i.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return Bo((()=>r.value),(()=>{i.playing=!1,i.currentTime=0})),Bo((()=>i.buffered),(e=>{n("progress",{},{buffered:e})})),Bo((()=>a.value),(e=>{o.value.muted=e})),{videoRef:o,state:i,play:function(){const e=o.value;i.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;i.playing?e.pause():e.play()},onDurationChange:function({target:e}){i.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){i.playing=!1,n("error",e,{})},onPlay:function(e){i.start=!0,i.playing=!0,n("play",e,{})},onPause:function(e){i.playing=!1,n("pause",e,{})},onEnded:function(e){i.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;i.pauseUpdatingCurrentTime||(i.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,i),{state:E,danmuRef:P,updateDanmu:M,toggleDanmu:$,sendDanmu:O}=function(e,t){const n=jn(null),o=xn({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const a=h(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function i(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return a.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=r,l={time:n,index:s.index};if(n>s.time)for(let r=s.index+1;r<a.length;r++){const e=a[r];if(!(n>=(e.time||0)))break;l.index=r,t.playing&&o.enable&&i(e)}else if(n<s.time)for(let t=s.index-1;t>-1&&n<=(a[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){a.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:L,onFullscreenChange:I,emitFullscreenChange:R,toggleFullscreen:A,requestFullScreen:N,exitFullScreen:B}=function(e,t,n,o,r){const a=xn({fullscreen:!1}),i=/^Apple/.test(navigator.vendor);function s(t){a.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const a=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||i&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),a.appendChild(l)),u&&s(e)}function c(){l(!1)}return Tr(c),{state:a,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(i,a,c,s,r),{state:j,onTouchstart:D,onTouchend:F,onTouchmove:V}=av(e,c,L),{state:W,progressRef:z,ballRef:H,clickProgress:q,toggleControls:U}=function(e,t,n,o){const r=jn(null),a=jn(null),i=di((()=>e.showCenterPlayBtn&&!t.start)),s=jn(!0),l=di((()=>!i.value&&e.controls&&s.value)),c=xn({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:l,controlsVisible:s});let u;function d(){u=setTimeout((()=>{c.controlsVisible=!1}),3e3)}function f(){u&&(clearTimeout(u),u=null)}return Tr((()=>{u&&clearTimeout(u)})),Bo((()=>c.controlsShow&&t.playing&&!c.controlsTouching),(e=>{e?d():f()})),wr((()=>{const e=Je(!1);let i,s,l,u=!0;const d=a.value;function f(e){const n=e.targetTouches[0],a=n.pageX,d=n.pageY;if(u&&Math.abs(a-i)<Math.abs(d-s))return void h(e);u=!1;const f=r.value.offsetWidth;let p=l+(a-i)/f*100;p<0?p=0:p>100&&(p=100),t.progress=p,null==o||o(t.duration*p/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function h(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",f,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",(n=>{c.controlsTouching=!0;const o=n.targetTouches[0];i=o.pageX,s=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",f,e)})),d.addEventListener("touchend",h),d.addEventListener("touchcancel",h)})),{state:c,progressRef:r,ballRef:a,clickProgress:function(e){const o=r.value;let a=e.target,i=e.offsetX;for(;a&&a!==o;)i+=a.offsetLeft,a=a.parentNode;const s=o.offsetWidth;let l=0;i>=0&&i<=s&&(l=i/s,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,u,m,(e=>{j.currentTimeNew=e}));iv(d,f,p,m,O,g,N,B);const X=function(e,t,n){const o=di((()=>"progress"===t.gestureType||n.touching));return Bo(o,(o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)})),Bo([()=>e.currentTime,()=>{sv.duration}],(()=>{e.progress=e.currentTime/e.duration*100})),Bo((()=>t.currentTimeNew),(t=>{e.currentTime=t})),o}(u,j,W);return()=>Va("uni-video",{ref:r,id:e.id,onClick:U},[Va("div",{ref:a,class:"uni-video-container",onTouchstart:D,onTouchend:F,onTouchmove:V,onFullscreenchange:ls(I,["stop"]),onWebkitfullscreenchange:ls((e=>I(e,!0)),["stop"])},[Va("video",Ya({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:k,onPause:T,onEnded:S,onTimeupdate:e=>{C(e),M(e)},onWebkitbeginfullscreen:()=>R(!0),onX5videoenterfullscreen:()=>R(!0),onWebkitendfullscreen:()=>R(!1),onX5videoexitfullscreen:()=>R(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),Wo(Va("div",{class:"uni-video-bar uni-video-bar-full",onClick:ls((()=>{}),["stop"])},[Va("div",{class:"uni-video-controls"},[Wo(Va("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:ls(v,["stop"])},null,10,["onClick"]),[[Ai,e.showPlayBtn]]),Wo(Va("div",{class:"uni-video-current-time"},[rv(u.currentTime)],512),[[Ai,e.showProgress]]),Wo(Va("div",{ref:z,class:"uni-video-progress-container",onClick:ls(q,["stop"])},[Va("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":X.value}},[Va("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),Va("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),Va("div",{ref:H,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":X.value}},[Va("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Ai,e.showProgress]]),Wo(Va("div",{class:"uni-video-duration"},[rv(Number(e.duration)||u.duration)],512),[[Ai,e.showProgress]])]),Wo(Va("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:ls($,["stop"])},null,10,["onClick"]),[[Ai,e.danmuBtn]]),Wo(Va("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":L.fullscreen},onClick:ls((()=>A(!L.fullscreen)),["stop"])},null,10,["onClick"]),[[Ai,e.showFullscreenBtn]])],8,["onClick"]),[[Ai,W.controlsShow]]),Wo(Va("div",{ref:P,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Ai,u.start&&E.enable]]),W.centerPlayBtnShow&&Va("div",{class:"uni-video-cover",onClick:ls((()=>{}),["stop"])},[Va("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ls(d,["stop"])},null,8,["onClick"])],8,["onClick"]),Va("div",{class:"uni-video-loading"},["volume"===j.gestureType?Va("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":j.toastThin},style:{marginTop:"5px"}},[!j.toastThin&&j.volumeNew>0&&"volume"===j.gestureType?Va("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!j.toastThin&&Va("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),Va("div",{class:"uni-video-toast-draw",style:{width:100*j.volumeNew+"%"}},null)],2):null]),Va("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":X.value}},[Va("div",{class:"uni-video-toast-title"},[Va("span",{class:"uni-video-toast-title-current-time"},[rv(j.currentTimeNew)])," / ",Number(e.duration)||rv(u.duration)])],2),Va("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),cv=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},uv=Be((()=>xb.on(Le,cv))),dv=od({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){uv();const t=jn(null),n=jn(null),{$attrs:o,$excludeAttrs:r,$listeners:a}=Em({excludeListeners:!0});let i;return(()=>{const r=document.createElement("iframe");Ao((()=>{for(const e in o.value)if(f(o.value,e)){const t=o.value[e];r[e]=t}})),Ao((()=>{r.src=bp(e.src)})),n.value=r,i=function(e,t,n){const o=()=>{var o,r;if(n){const{top:n,left:o,width:r,height:a}=e.value.getBoundingClientRect();Ne(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:a+"px"})}else Ne(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})};return o}(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(r)})(),wr((()=>{var o;i(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))})),ur((()=>{e.fullscreen&&(n.value.style.display="block")})),dr((()=>{e.fullscreen&&(n.value.style.display="none")})),Tr((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>Va(ka,null,[Va("uni-web-view",Ya({class:e.fullscreen?"uni-webview--fullscreen":""},a.value,r.value,{ref:t}),[Va(Fp,{onResize:i},null,8,["onResize"])],16)])}});function fv(e){if(!e)return{r:0,g:0,b:0,a:0};let t=e.slice(1);const n=t.length;if(![3,4,6,8].includes(n))return{r:0,g:0,b:0,a:0};3!==n&&4!==n||(t=t.replace(/(\w{1})/g,"$1$1"));let[o,r,a,i]=t.match(/(\w{2})/g);const s=parseInt(o,16),l=parseInt(r,16),c=parseInt(a,16);return i?{r:s,g:l,b:c,a:(`0x100${i}`-65536)/255}:{r:s,g:l,b:c,a:1}}const hv="__DC_STAT_UUID",pv=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let mv;function gv(){if(mv=mv||pv[hv],!mv){mv=Date.now()+""+Math.floor(1e7*Math.random());try{pv[hv]=mv}catch(e){}}return mv}function vv(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function yv(){let e,t="0",n="",o="phone";const r=navigator.language;if(xp){e="iOS";const o=_p.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=_p.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(wp){e="Android";const o=_p.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=_p.match(/\((.+?)\)/),a=r?r[1].split(";"):_p.split(" "),i=[/\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<a.length;e++){const t=a[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<i.length;e++)if(i[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(Cp){if(n="iPad",e="iOS",o="pad",t=g(window.BigInt)?"14.0":"13.0",14===parseInt(t)){const e=_p.match(/Version\/(\S*)\b/);e&&(t=e[1])}}else if(kp||Tp||Sp){n="PC",e="PC",o="pc",t="0";let r=_p.match(/\((.+?)\)/)[1];if(kp){switch(e="Windows",kp[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=r&&r.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(Tp){e="macOS";const n=r&&r.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(Sp){e="Linux";const n=r&&r.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const a=`${e} ${t}`,i=e.toLocaleLowerCase();let s="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)s="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(_p)&&(s=t[n],l=_p.match(r)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:a,platform:i,browserName:s.toLocaleLowerCase(),browserVersion:l,language:r,deviceType:o,ua:_p,osname:e,osversion:t,theme:vv()}}const bv=Zd(0,(()=>{const e=window.devicePixelRatio,t=Ep(),n=Pp(t),o=Mp(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),a=$p(o);let i=window.innerHeight;const s=Qc.top,l={left:Qc.left,right:a-Qc.right,top:Qc.top,bottom:i-Qc.bottom,width:a-Qc.left-Qc.right,height:i-Qc.top-Qc.bottom},{top:c,bottom:u}=ou();return i-=c,i-=u,{windowTop:c,windowBottom:u,windowWidth:a,windowHeight:i,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:Qc.top,right:Qc.right,bottom:Qc.bottom,left:Qc.left},screenTop:r-i}}));let _v,wv=!0;function xv(){wv&&(_v=yv())}const kv=Zd(0,(()=>{xv();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:a,deviceOrientation:i,deviceType:s,osname:l,osversion:u}=_v;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:gv(),deviceOrientation:i,deviceType:s,model:o,platform:r,system:a,osName:l?l.toLocaleLowerCase():void 0,osVersion:u})})),Tv=Zd(0,(()=>{xv();const{theme:e,language:t,browserName:n,browserVersion:o}=_v;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Bf?Bf():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})})),Sv=Zd(0,(()=>{wv=!0,xv(),wv=!1;const e=bv(),t=kv(),n=Tv();wv=!0;const{ua:o,browserName:r,browserVersion:a,osname:i,osversion:s}=_v,l=c(e,t,n,{ua:o,browserName:r,browserVersion:a,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:i.toLocaleLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return k(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),Cv=!!window.navigator.vibrate,Ev=ef("vibrateShort",((e,{resolve:t,reject:n})=>{Cv&&window.navigator.vibrate(15)?t():n("vibrateLong:fail")}));const Pv=ef("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 a=document.execCommand("Copy",!1);r.blur(),a?t():n()}(e,t,n)}},new Promise(((e,t)=>{var a=e=>{try{s(r.next(e))}catch(n){t(n)}},i=e=>{try{s(r.throw(e))}catch(n){t(n)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(a,i);s((r=r.apply(n,o)).next())}));var n,o,r}),0,Ff);const Mv=e=>{xb.invokeOnCallback(le,e)},$v=Kd(le,(()=>{xb.on(le,Mv)}));const Ov=Zd(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),Lv=ef("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{Ov(e,t),n()}catch(r){o(r.message)}}));function Iv(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const Rv=Zd(0,(e=>{try{return Iv(e)}catch(t){return""}})),Av=Zd(0,(e=>{localStorage&&localStorage.removeItem(e)})),Nv=Zd(0,(()=>{localStorage&&localStorage.clear()})),Bv=ef("hideKeyboard",((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())})),jv={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};let Dv=null;const Fv=ef("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{wc();const{t:a}=pc();Dv&&(document.body.removeChild(Dv),Dv=null),Dv=function({count:e,sourceType:t,type:n,extension:o}){um();const r=document.createElement("input");return r.type="file",Ne(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{{const t=e.replace(".","");return`${n}/${jv[n][t]||t}`}})).join(","),e&&e>1&&(r.multiple=!0),t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Dv),Dv.addEventListener("change",(function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o<t;o++){const t=n.files[o];let a;Object.defineProperty(t,"path",{get:()=>(a=a||Bp(t),a)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),Dv.click(),sm||console.warn(a("uni.chooseFile.notUserActivation"))}),0,Vf),Vv={esc:["Esc","Escape"],enter:["Enter"]},Wv=Object.keys(Vv);function zv(){const e=jn(""),t=jn(!1),n=n=>{if(t.value)return;const o=Wv.find((e=>-1!==Vv[e].indexOf(n.key)));o&&(e.value=o),io((()=>e.value=""))};return wr((()=>{document.addEventListener("keyup",n)})),Tr((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const Hv=Va("div",{class:"uni-mask"},null,-1);function qv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ds(tr({setup:()=>()=>(Ma(),Ra(e,t,null,16))}))}function Uv(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Xv(e,{onEsc:t,onEnter:n}){const o=jn(e.visible),{key:r,disable:a}=zv();return Bo((()=>e.visible),(e=>o.value=e)),Bo((()=>o.value),(e=>a.value=!e)),Ao((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let Yv=0,Gv="";function Jv(e){let t=Yv;Yv+=e?1:-1,Yv=Math.max(0,Yv),Yv>0?0===t&&(Gv=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Gv,Gv="")}const Kv=rd({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=xn({direction:"none"});let n=1,o=0,r=0,a=0,i=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function c(e){const t=e.target.getBoundingClientRect();a=t.width,i=t.height,d(e)}function u(e){const s=n*o>a,l=n*r>i;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return Va(Mm,{style:n,onTouchstart:ad(c),onTouchmove:ad(d),onTouchend:ad(u)},{default:()=>[Va(Wm,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[Va("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function Qv(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Zv=rd({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){wr((()=>Jv(!0))),Sr((()=>Jv(!1)));const n=jn(null),o=jn(Qv(e));let r;function a(){r||io((()=>{t("close")}))}function i(e){o.value=e.detail.current}Bo((()=>e.current),(()=>o.value=Qv(e))),wr((()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",(e=>{r=!1,t=e.clientX,o=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(r=!0)}))}));const s={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return Va("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:a},[Va(hg,{navigation:"auto",current:o.value,onChange:i,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(r=t=e.urls.map((e=>Va(mg,null,{default:()=>[Va(Kv,{src:e},null,8,["src"])]}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!Aa(r)?t:{default:()=>[t],_:1}),8,["current","onChange"]),Va("div",{style:s},[pu("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var r}}});let ey,ty=null;const ny=()=>{ty=null,io((()=>{null==ey||ey.unmount(),ey=null}))},oy=ef("previewImage",((e,{resolve:t})=>{ty?c(ty,e):(ty=xn(e),io((()=>{ey=qv(Zv,ty,ny),ey.mount(Uv("u-a-p"))}))),t()}),0,Wf),ry=Qd("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:a,withCredentials:i,timeout:s=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(g){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const h=new XMLHttpRequest,p=new ay(h);h.open(o,e);for(const v in n)f(n,v)&&h.setRequestHeader(v,n[v]);const m=setTimeout((function(){h.onload=h.onabort=h.onerror=null,p.abort(),c("timeout",{errCode:5})}),s);return h.responseType=a,h.onload=function(){clearTimeout(m);const e=h.status;let t="text"===a?h.responseText:h.response;if("text"===a&&"json"===r)try{t=JSON.parse(t)}catch(g){}l({data:t,statusCode:e,header:iy(h.getAllResponseHeaders()),cookies:[]})},h.onabort=function(){clearTimeout(m),c("abort",{errCode:600003})},h.onerror=function(){clearTimeout(m),c(void 0,{errCode:5})},h.withCredentials=i,h.send(u),p}),0,Xf);class ay{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function iy(e){const t={};return e.split(ee).forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class sy{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){g(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const ly=Qd("uploadFile",(({url:e,file:t,filePath:n,name:o,files:r,header:a={},formData:i={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new sy;return h(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Np(e)):Ap(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(i).forEach((e=>{d.append(e,i[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(a).forEach((e=>{o.setRequestHeader(e,a[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})}),s),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,Yf),cy=[],uy={open:"",close:"",error:"",message:""};class dy{constructor(e,t,n){let o;this._callbacks={open:[],close:[],error:[],message:[]};try{const n=this._webSocket=new WebSocket(e,t);n.binaryType="arraybuffer";["open","close","error","message"].forEach((e=>{this._callbacks[e]=[],n.addEventListener(e,(t=>{const{data:n,code:o,reason:r}=t,a="message"===e?{data:n}:"close"===e?{code:o,reason:r}:{};if(this._callbacks[e].forEach((t=>{try{t(a)}catch(n){console.error(`thirdScriptError\n${n};at socketTask.on${O(e)} callback function\n`,n)}})),this===cy[0]&&uy[e]&&xb.invokeOnCallback(uy[e],a),"error"===e||"close"===e){const e=cy.indexOf(this);e>=0&&cy.splice(e,1)}}))}));["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach((e=>{Object.defineProperty(this,e,{get:()=>n[e]})}))}catch(r){o=r}n&&n(o,this)}send(e){const t=(e||{}).data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw je(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),je(e,"sendSocketMessage:ok")}catch(o){je(e,{errMsg:`sendSocketMessage:fail ${o}`,errCode:602001})}}close(e={}){const t=this._webSocket;try{const n=e.code||1e3,o=e.reason;v(o)?t.close(n,o):t.close(n),je(e,"closeSocket:ok")}catch(n){je(e,`closeSocket:fail ${n}`)}}onOpen(e){this._callbacks.open.push(e)}onMessage(e){this._callbacks.message.push(e)}onError(e){this._callbacks.error.push(e)}onClose(e){this._callbacks.close.push(e)}}const fy=Qd("connectSocket",(({url:e,protocols:t},{resolve:n,reject:o})=>new dy(e,t,((e,t)=>{e?o(e.toString(),{errCode:600009}):(cy.push(t),n())}))),0,Gf),hy=ef("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===Tu(ge,{from:e.from||"navigateBack"})&&(o=!1),o?(Gg().$router.go(-e.delta),t()):n(ge)}),0,ih),py=ef(Kf,(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Jh.handledBeforeEntryPageRoutes)return Rh({type:Kf,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Kh.push({args:{type:Kf,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,nh);function my(e){__uniConfig.darkmode&&xb.on(le,e)}function gy(e){xb.off(le,e)}function vy(e){let t={};return __uniConfig.darkmode&&(t=ft(e,__uniConfig.themeConfig,vv())),__uniConfig.darkmode?t:e}function yy(e,t){const n=Cn(e),o=n?xn(vy(e)):vy(e);return __uniConfig.darkmode&&n&&Bo(e,(e=>{const t=vy(e);for(const n in t)o[n]=t[n]})),t&&my(t),o}const by={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},_y=tr({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=jn(""),o=()=>i.value=!1,r=()=>(o(),t("close","cancel")),a=()=>(o(),t("close","confirm",n.value)),i=Xv(e,{onEsc:r,onEnter:()=>{!e.editable&&a()}}),s=function(e){const t=jn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=by[e].cancelColor})(e,t)};return Ao((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===vv()&&n({theme:"dark"}),my(n))):gy(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,Va(wi,{name:"uni-fade"},{default:()=>[Wo(Va("uni-modal",{onTouchmove:Zc},[Hv,Va("div",{class:"uni-modal"},[t?Va("div",{class:"uni-modal__hd"},[Va("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?Va("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Va("div",{class:"uni-modal__bd",onTouchmovePassive:eu,textContent:o},null,40,["onTouchmovePassive","textContent"]),Va("div",{class:"uni-modal__ft"},[l&&Va("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),Va("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:a},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Ai,i.value]])]})}}});let wy;const xy=Be((()=>{xb.on("onHidePopup",(()=>wy.visible=!1))}));let ky;function Ty(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&wy.editable&&(o.content=t),ky&&ky(o)}const Sy=ef("showModal",((e,{resolve:t})=>{xy(),ky=t,wy?(c(wy,e),wy.visible=!0):(wy=xn(e),io((()=>(qv(_y,wy,Ty).mount(Uv("u-a-m")),io((()=>wy.visible=!0))))))}),0,gh),Cy={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==vh.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Ey="uni-toast__icon",Py={light:"#fff",dark:"rgba(255,255,255,0.9)"},My=e=>Py[e],$y=tr({name:"Toast",props:Cy,setup(e){yc(),bc();const{Icon:t}=function(e){const t=jn(My(vv())),n=({theme:e})=>t.value=My(e);Ao((()=>{e.visible?my(n):gy(n)}));const o=di((()=>{switch(e.icon){case"success":return Va(pu(du,t.value,38),{class:Ey});case"error":return Va(pu(fu,t.value,38),{class:Ey});case"loading":return Va("i",{class:[Ey,"uni-loading"]},null,2);default:return null}}));return{Icon:o}}(e),n=Xv(e,{});return()=>{const{mask:o,duration:r,title:a,image:i}=e;return Va(wi,{name:"uni-fade"},{default:()=>[Wo(Va("uni-toast",{"data-duration":r},[o?Va("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Zc},null,40,["onTouchmove"]):"",i||t.value?Va("div",{class:"uni-toast"},[i?Va("img",{src:i,class:Ey},null,10,["src"]):t.value,Va("p",{class:"uni-toast__content"},[a])]):Va("div",{class:"uni-sample-toast"},[Va("p",{class:"uni-simple-toast__text"},[a])])],8,["data-duration"]),[[Ai,n.value]])]})}}});let Oy,Ly,Iy="";const Ry=gt();function Ay(e){Oy?c(Oy,e):(Oy=xn(c(e,{visible:!1})),io((()=>{Ry.run((()=>{Bo([()=>Oy.visible,()=>Oy.duration],(([e,t])=>{if(e){if(Ly&&clearTimeout(Ly),"onShowLoading"===Iy)return;Ly=setTimeout((()=>{Fy("onHideToast")}),t)}else Ly&&clearTimeout(Ly)}))})),xb.on("onHidePopup",(()=>Fy("onHidePopup"))),qv($y,Oy,(()=>{})).mount(Uv("u-a-t"))}))),setTimeout((()=>{Oy.visible=!0}),10)}const Ny=ef("showToast",((e,{resolve:t,reject:n})=>{Ay(e),Iy="onShowToast",t()}),0,yh),By={icon:"loading",duration:1e8,image:""},jy=ef("showLoading",((e,{resolve:t,reject:n})=>{c(e,By),Ay(e),Iy="onShowLoading",t()}),0,mh),Dy=ef("hideLoading",((e,{resolve:t,reject:n})=>{Fy("onHideLoading"),t()}));function Fy(e){const{t:t}=pc();if(!Iy)return;let n="";if("onHideToast"===e&&"onShowToast"!==Iy?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Iy&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Iy="",setTimeout((()=>{Oy.visible=!1}),10)}const Vy={light:{listItemColor:"#000000",cancelItemColor:"#000000"},dark:{listItemColor:"rgba(255, 255, 255, 0.8)",cancelItemColor:"rgba(255, 255, 255)"}};const Wy=tr({name:"ActionSheet",props:{title:{type:String,default:""},itemList:{type:Array,default:()=>[]},itemColor:{type:String,default:"#000000"},popover:{type:Object,default:null},visible:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){vc();const n=jn(260),o=jn(0),r=jn(0),a=jn(0),i=jn(0),s=jn(null),l=jn(null),{t:u}=pc(),{_close:d}=function(e,t){function n(e){t("close",e)}const{key:o,disable:r}=zv();return Bo((()=>e.visible),(e=>r.value=!e)),Ao((()=>{const{value:e}=o;"esc"===e&&n&&n(-1)})),{_close:n}}(e,t),{popupStyle:f}=function(e){const t=jn(0),n=jn(0),o=di((()=>t.value>=500&&n.value>=500)),r=di((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},r=t.content,a=t.triangle,i=e.popover;function s(e){return Number(e)||0}if(o.value&&i){c(a,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=s(i.left),t=s(i.width),o=s(i.top),l=s(i.height),u=e+t/2;r.transform="none !important";const d=Math.max(0,u-150);r.left=`${d}px`;let f=Math.max(12,u-d);f=Math.min(288,f),a.left=`${f}px`;const h=n.value/2;o+l-h>h-o?(r.top="auto",r.bottom=n.value-o+6+"px",a.bottom="-6px",a["border-width"]="6px 6px 0 6px",a["border-color"]="#fcfcfd transparent transparent transparent"):(r.top=`${o+l+6}px`,a.top="-6px",a["border-width"]="0 6px 6px 6px",a["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return wr((()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=Sv();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),Sr((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:o,popupStyle:r}}(e);let h;function p(e){const t=a.value+e.deltaY;Math.abs(t)>10?(i.value+=t/3,i.value=i.value>=o.value?o.value:i.value<=0?0:i.value,h.scrollTo(i.value)):a.value=t,e.preventDefault()}wr((()=>{const{scroller:e,handleTouchStart:t,handleTouchMove:n,handleTouchEnd:o}=ng(s.value,{enableY:!0,friction:new Jm(1e-4),spring:new Zm(2,90,20),onScroll:e=>{i.value=e.target.scrollTop}});h=e,Rm(s.value,(r=>{if(e)switch(r.detail.state){case"start":t(r);break;case"move":n(r);break;case"end":case"cancel":o(r)}}),!0)})),Bo((()=>e.visible),(()=>{io((()=>{e.title&&(r.value=document.querySelector(".uni-actionsheet__title").offsetHeight),h.update(),s.value&&(o.value=s.value.clientHeight-n.value),document.querySelectorAll(".uni-actionsheet__cell").forEach((e=>{!function(e){const t=20;let n=0,o=0;e.addEventListener("touchstart",(e=>{const t=e.changedTouches[0];n=t.clientX,o=t.clientY})),e.addEventListener("touchend",(e=>{const r=e.changedTouches[0];if(Math.abs(r.clientX-n)<t&&Math.abs(r.clientY-o)<t){const t=e.target,n=e.currentTarget,o=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:t,currentTarget:n});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{o[e]=r[e]})),e.target.dispatchEvent(o)}}))}(e)}))}))}));const m=function(e){const t=xn({listItemColor:"#000",cancelItemColor:"#000"}),n=({theme:e})=>{!function(e,t){["listItemColor","cancelItemColor"].forEach((n=>{t[n]=Vy[e][n]}))}(e,t)};return Ao((()=>{e.visible?(t.listItemColor=t.cancelItemColor=e.itemColor,"#000"===e.itemColor&&(n({theme:vv()}),my(n))):gy(n)})),t}(e);return()=>Va("uni-actionsheet",{onTouchmove:Zc},[Va(wi,{name:"uni-fade"},{default:()=>[Wo(Va("div",{class:"uni-mask uni-actionsheet__mask",onClick:()=>d(-1)},null,8,["onClick"]),[[Ai,e.visible]])]}),Va("div",{class:["uni-actionsheet",{"uni-actionsheet_toggle":e.visible}],style:f.value.content},[Va("div",{ref:l,class:"uni-actionsheet__menu",onWheel:p},[e.title?Va(ka,null,[Va("div",{class:"uni-actionsheet__cell",style:{height:`${r.value}px`}},null),Va("div",{class:"uni-actionsheet__title"},[e.title])]):"",Va("div",{style:{maxHeight:`${n.value}px`,overflow:"hidden"}},[Va("div",{ref:s},[e.itemList.map(((e,t)=>Va("div",{key:t,style:{color:m.listItemColor},class:"uni-actionsheet__cell",onClick:()=>d(t)},[e],12,["onClick"])))],512)])],40,["onWheel"]),Va("div",{class:"uni-actionsheet__action"},[Va("div",{style:{color:m.cancelItemColor},class:"uni-actionsheet__cell",onClick:()=>d(-1)},[u("uni.showActionSheet.cancel")],12,["onClick"])]),Va("div",{style:f.value.triangle},null,4)],6)],40,["onTouchmove"])}});let zy,Hy,qy;const Uy=Be((()=>{xb.on("onHidePopup",(()=>qy.visible=!1))}));function Xy(e){-1===e?Hy&&Hy("cancel"):zy&&zy({tapIndex:e})}const Yy=ef("showActionSheet",((e,{resolve:t,reject:n})=>{Uy(),zy=t,Hy=n,qy?(c(qy,e),qy.visible=!0):(qy=xn(e),io((()=>(qv(Wy,qy,Xy).mount(Uv("u-s-a-s")),io((()=>qy.visible=!0))))))}),0,ph),Gy=ef("loadFontFace",(({family:e,source:t,desc:n},{resolve:o,reject:r})=>{(function(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then((()=>{o.add&&o.add(r)}))}return new Promise((o=>{const r=document.createElement("style"),a=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:i,featureSettings:s}=n;e&&a.push(`font-style:${e}`),t&&a.push(`font-weight:${t}`),o&&a.push(`font-stretch:${o}`),r&&a.push(`unicode-range:${r}`),i&&a.push(`font-variant:${i}`),s&&a.push(`font-feature-settings:${s}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${a.join(";")}}`,document.head.appendChild(r),o()}))})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${bp(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${bp(t.substring(4,t.length-1))}')`:bp(t),n).then((()=>{o()})).catch((e=>{r(`loadFontFace:fail ${e}`)}))}));function Jy(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,xb.emit("onNavigationBarChange",{titleText:t})}Ao(t),ur(t)}const Ky=ef(fh,((e,{resolve:t,reject:n})=>{!function(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:a}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:i}=o;e&&(a.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(a.backgroundColor=t),a.duration=r+"ms",a.timingFunc=i;break;case"showNavigationBarLoading":a.loading=!0;break;case"hideNavigationBarLoading":a.loading=!1;break;case fh:const{title:s}=n;a.titleText=s}o()}(yu(),fh,e,t,n)})),Qy=ef("pageScrollTo",(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t){if(v(e)){const t=document.querySelector(e);if(t){const{top:n}=t.getBoundingClientRect();e=n+window.pageYOffset;const o=document.querySelector("uni-page-head");o&&(e-=o.offsetHeight)}}e<0&&(e=0);const n=document.documentElement,{clientHeight:o,scrollHeight:r}=n;if(e=Math.min(e,r-o),0===t)return void(n.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const a=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),a(t-10)}))};a(t)}(t||e||0,n),o()}),0,hh),Zy=ef(bh,((e,{resolve:t})=>{xb.invokeViewMethod(bh,{},bu()),t()})),eb=["text","iconPath","iconfont","selectedIconPath","visible"],tb=["color","selectedColor","backgroundColor","borderStyle","borderColor","midButton"],nb=["badge","redDot"];function ob(e,t,n){t.forEach((function(t){f(n,t)&&(e[t]=n[t])}))}function rb(e,t,n,o){var r;let a=!1;const i=op();if(i.length&&Gh(i[i.length-1]).meta.isTabBar&&(a=!0),!a)return o("not TabBar page");const{index:s}=t;if("number"==typeof s){const e=null==(r=null==__uniConfig?void 0:__uniConfig.tabBar)?void 0:r.list.length;if(!e||s>=e)return o("tabbar item not found")}const l=Bh();switch(e){case"showTabBar":l.shown=!0;break;case"hideTabBar":l.shown=!1;break;case wh:const e=l.list[s],n=e.pagePath;ob(e,eb,t);const{pagePath:o}=t;if(o){const e=Re(o);e!==n&&function(e,t,n){const o=$u(Re(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const r=$u(Re(n));if(r){const{meta:t}=r;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const o=__uniConfig.tabBar;o&&o.list&&o.list[e]&&(o.list[e].pagePath=Ae(n))}}(s,n,e)}break;case"setTabBarStyle":ob(l,tb,t);break;case"showTabBarRedDot":ob(l.list[s],nb,{badge:"",redDot:!0});break;case"setTabBarBadge":ob(l.list[s],nb,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":ob(l.list[s],nb,{badge:"",redDot:!1})}n()}const ab=ef(wh,((e,{resolve:t,reject:n})=>{rb(wh,e,t,n)}),0,xh),ib=rd({name:"TabBar",setup(){const e=jn([]),t=Bh(),n=yy(t,(()=>{const e=vy(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach(((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath}))}));!function(e,t){function n(){let n=[];n=e.list.filter((e=>!1!==e.visible)),t.value=n}jn(c({type:"midButton"},e.midButton)),Ao(n)}(n,e),function(e){Bo((()=>e.shown),(t=>{au({"--window-bottom":Uh(t?parseInt(e.height):0)})}))}(n);const o=function(e,t,n){return Ao((()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex((t=>t.pagePath===e));t.selectedIndex=r}})),(t,n)=>{const{type:o}=t;return()=>{const{pagePath:o,text:r}=t;let a=Re(o);a===__uniRoutes[0].alias&&(a="/"),e.path!==a?Mh({from:"tabBar",url:a,tabBarText:r}):Tu("onTabItemTap",{index:n,text:r,pagePath:o})}}}(Xl(),n,e),{style:r,borderStyle:a,placeholderStyle:i}=function(e){const t=di((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||Wh&&n&&"none"!==n&&(t=ub[n]),{backgroundColor:t||sb,backdropFilter:"none"!==n?"blur(10px)":n}})),n=di((()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:db[t]||db.black}})),o=di((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return wr((()=>{n.iconfontSrc&&Gy({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:a}=e;return n.value.map(((n,i)=>{const s=o===i;return function(e,t,n,o,r,a,i,s){return Va("div",{key:i,class:"uni-tabbar__item",onClick:s(r,i)},[fb(e,t||"",n,o,r,a)],8,["onClick"])}(s?r:a,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,i,t)}))}(n,o,e);return Va("uni-tabbar",{class:"uni-tabbar-"+n.position},[Va("div",{class:"uni-tabbar",style:r.value},[Va("div",{class:"uni-tabbar-border",style:a.value},null,4),t],4),Va("div",{class:"uni-placeholder",style:i.value},null,4)],2)}}});const sb="#f7f7fa",lb="rgb(0, 0, 0, 0.8)",cb="rgb(250, 250, 250, 0.8)",ub={dark:lb,light:cb,extralight:cb},db={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function fb(e,t,n,o,r,a){const{height:i}=a;return Va("div",{class:"uni-tabbar__bd",style:{height:i}},[n?pb(n,o||lb,r,a):t&&hb(t,r,a),r.text&&mb(e,r,a),r.redDot&&gb(r.badge)],4)}function hb(e,t,n){const{type:o,text:r}=t,{iconWidth:a}=n;return Va("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:a,height:a}},["midButton"!==o&&Va("img",{src:bp(e)},null,8,["src"])],6)}function pb(e,t,n,o){var r;const{type:a,text:i}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||s,color:t};return Va("div",{class:l,style:c},["midButton"!==a&&Va("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function mb(e,t,n){const{iconPath:o,text:r}=t,{fontSize:a,spacing:i}=n;return Va("div",{class:"uni-tabbar__label",style:{color:e,fontSize:a,lineHeight:o?"normal":1.8,marginTop:o?i:"inherit"}},[r],4)}function gb(e){return Va("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const vb="0px",yb=rd({name:"Layout",setup(e,{emit:t}){const n=jn(null);ru({"--status-bar-height":vb,"--top-window-height":vb,"--window-left":vb,"--window-right":vb,"--window-margin":vb,"--tab-bar-height":vb});const o=function(){const e=Xl();return{routeKey:di((()=>lp("/"+e.meta.route,_d()))),isTabBar:di((()=>e.meta.isTabBar)),routeCache:up}}(),{layoutState:r,windowState:a}=function(){bd();{const e=xn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Bo((()=>e.marginWidth),(e=>ru({"--window-margin":e+"px"}))),Bo((()=>e.leftWindowWidth+e.marginWidth),(e=>{ru({"--window-left":e+"px"})})),Bo((()=>e.rightWindowWidth+e.marginWidth),(e=>{ru({"--window-right":e+"px"})})),{layoutState:e,windowState:di((()=>({})))}}}();!function(e,t){const n=bd();function o(){const o=document.body.clientWidth,r=op();let a={};if(r.length>0){a=Gh(r[r.length-1]).meta}else{const e=$u(n.path,!0);e&&(a=e.meta)}const i=parseInt(String((f(a,"maxWidth")?a.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>i,s&&i?(e.marginWidth=(o-i)/2,io((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+i+"px;margin:0 auto;")}))):(e.marginWidth=0,io((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Bo([()=>n.path],o),wr((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const i=function(){const e=bd(),t=Bh(),n=di((()=>e.meta.isTabBar&&t.shown));return ru({"--tab-bar-height":t.height}),n}(),s=function(e){const t=jn(!1);return di((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(i);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return Va(ql,null,{default:xo((({Component:o})=>[(Ma(),Ra(lr,{matchBy:"key",cache:n},[(Ma(),Ra($o(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e);return t}(o),t=function(e){return Wo(Va(ib,null,null,512),[[Ai,e.value]])}(i);return Va("uni-app",{ref:n,class:s.value},[e,t],2)}}});const bb=ef(zf,(_b=zf,(e,{reject:t})=>t(function(e){return`method 'uni.${e}' not supported`}(_b))));var _b;const wb=c(Lc,{publishHandler(e,t,n){xb.subscribeHandler(e,t,n)}}),xb=c(Hu,{publishHandler(e,t,n){wb.subscribeHandler(e,t,n)}});function kb(e,{id:t,navigationBar:{titleColor:n,coverage:o,backgroundColor:r}}){let a=0;const i=di((()=>fv(r))),s=parseInt(o);let l,c;const u=[],d=[],f=[];wr((()=>{const t=e.value;c=t.style,l=t.querySelector(".uni-page-head__title");const n=t.querySelectorAll(".uni-page-head-btn"),o=t.querySelectorAll("svg path");for(let e=0;e<o.length;e++)u.push(o[e]);for(let e=0;e<n.length;e++){const t=n[e];f.push(getComputedStyle(t).backgroundColor),d.push(t.style)}})),function(e,t){wr((()=>wb.on(e,t))),Tr((()=>wb.off(e)))}(t+".onPageScroll",(({scrollTop:e})=>{const t=Math.min(e/s,1);if(1===t&&1===a)return;t>.5&&a<=.5?u.forEach((function(e){e.setAttribute("fill",n)})):t<=.5&&a>.5&&u.forEach((function(e){e.setAttribute("fill","#fff")})),a=t,l&&(l.style.opacity=t);const o=i.value;c.backgroundColor=`rgba(${o.r},${o.g},${o.b},${t})`,d.forEach((function(e,n){const o=f[n].match(/[\d+\.]+/g);o[3]=(1-t)*(4===o.length?o[3]:1),e.backgroundColor=`rgba(${o})`}))}))}const Tb=rd({name:"PageHead",setup(){const e=jn(null),t=vd(),n=yy(t.navigationBar,(()=>{const e=vy(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:o,style:r}=function(e){const t=di((()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,r={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(r[`uni-page-head-shadow-${o}`]=!0),r})),n=di((()=>({backgroundColor:"transparent"===e.type?function(e){const{r:t,g:n,b:o}=fv(e);return`rgba(${t},${n},${o},0)`}(e.backgroundColor):e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(n);return"transparent"===n.type&&kb(e,t),()=>{const a=function(e,t){if(!t)return Va("div",{class:"uni-page-head-btn",onClick:Cb},[pu(hu,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),i=n.type||"default",s="transparent"!==i&&"float"!==i&&Va("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return Va("uni-page-head",{"uni-page-head-type":i},[Va("div",{ref:e,class:o.value,style:r.value},[Va("div",{class:"uni-page-head-hd"},[a]),Sb(n),Va("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function Sb(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return Va("div",{class:"uni-page-head-bd"},[Va("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?Va("i",{class:"uni-loading"},null):r?Va("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function Cb(){1===np().length?Ih({url:"/"}):hy({from:"backbutton",success(){}})}const Eb=rd({name:"PageBody",setup(e,t){const n=!1,o=jn(null),r=jn(null);return Bo((()=>n.enablePullDownRefresh),(()=>{r.value=null}),{immediate:!0}),()=>Va(ka,null,[!1,Va("uni-page-wrapper",Ya({ref:o},r.value),[Va("uni-page-body",null,[Lr(t.slots,"default")]),null],16)])}}),Pb=rd({name:"Page",setup(e,t){let n=yd(_d());const o=n.navigationBar,r={};return Jy(n),()=>Va("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[Va(Tb),Mb(t),null]:[Mb(t),null])}});function Mb(e){return Ma(),Ra(Eb,{key:0},{default:xo((()=>[Lr(e.slots,"page")])),_:3})}const $b={customStyle:(Ob="",{type:[String,Object],default:Ob}),customClass:(e=>({type:String,default:e}))("")};var Ob;const Lb=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=uni.$u.queryParams(t,!1),e+"&"+n):(n=uni.$u.queryParams(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=uni.$u.deepMerge(this.config,e),n.url=this.mixinParam(e.url||"",e.params||{})),t.intercept&&(this.config.intercept=t.intercept),n.params=t,n=uni.$u.deepMerge(this.config,n),uni.$u.routeIntercept&&"function"==typeof uni.$u.routeIntercept){await new Promise((e=>{uni.$u.routeIntercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t="",type:n="",delta:o=1,animationDuration:r=300}=e;"navigateTo"!=n&&"to"!=n||py({url:t,animationDuration:r}),"redirectTo"!=n&&"redirect"!=n||Oh({url:t}),"switchTab"!=n&&"tab"!=n||Mh({url:t}),"reLaunch"!=n&&"launch"!=n||Ih({url:t}),"navigateBack"!=n&&"back"!=n||hy({delta:o})}}).route;function Ib(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),"number"!=typeof e&&"string"!=typeof e||10==e.toString().length&&(e=1e3*Number(e));const n=new Date(e);let o;const r={"y+":n.getFullYear().toString(),"m+":(n.getMonth()+1).toString(),"d+":n.getDate().toString(),"h+":n.getHours().toString(),"M+":n.getMinutes().toString(),"s+":n.getSeconds().toString()};for(const a in r)o=new RegExp("("+a+")").exec(t),o&&(t=t.replace(o[1],1==o[1].length?r[a]:r[a].padStart(o[1].length,"0")));return t}function Rb(e,t=!0){if((e=e.toLowerCase())&&/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}const n=[parseInt("0x"+e.slice(1,3)),parseInt("0x"+e.slice(3,5)),parseInt("0x"+e.slice(5,7))];return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function Ab(e){if(/^(rgb|RGB)/.test(e)){const t=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let n="#";for(let e=0;e<t.length;e++){let o=Number(t[e]).toString(16);o=1==o.length?"0"+o:o,n+=o}return 7!==n.length&&(n=e),n}if(!/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(e))return e;{const t=e.replace(/#/,"").split("");if(6===t.length)return e;if(3===t.length){let e="#";for(let n=0;n<t.length;n+=1)e+=t[n]+t[n];return e}}return e}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");let n=this;if(n.length>=e)return String(n);let o=e-n.length,r=Math.ceil(o/t.length);for(;r>>=1;)t+=t,1===r&&(t+=t);return t.slice(0,o)+n});const Nb={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){const o=Rb(e,!1),[r,a,i]=o,s=Rb(t,!1),[l,c,u]=s,d=(l-r)/n,f=(c-a)/n,h=(u-i)/n,p=[];for(let m=0;m<n;m++){const e=Ab(`rgb(${Math.round(d*m+r)},${Math.round(f*m+a)},${Math.round(h*m+i)})`);p.push(e)}return p},hexToRgb:Rb,rgbToHex:Ab,colorToRgba:function(e,t=.3){let n=(e=Ab(e)).toLowerCase();if(n&&/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(n)){if(4===n.length){let e="#";for(let t=1;t<4;t+=1)e+=n.slice(t,t+1).concat(n.slice(t,t+1));n=e}return`rgba(${[parseInt("0x"+n.slice(1,3)),parseInt("0x"+n.slice(3,5)),parseInt("0x"+n.slice(5,7))].join(",")},${t})`}return n}};const Bb="0.5.7",jb=xn({v:Bb,version:Bb,type:["primary","success","info","error","warning"],defaultTheme:"uviewpro",defaultDarkMode:"light",defaultLocale:"zh-CN"}),Db={primary:"#2979ff",primaryDark:"#2b85e4",primaryDisabled:"#a0cfff",primaryLight:"#ecf5ff",success:"#19be6b",successDark:"#18b566",successDisabled:"#71d5a1",successLight:"#dbf1e1",warning:"#ff9900",warningDark:"#f29100",warningDisabled:"#fcbd71",warningLight:"#fdf6ec",error:"#fa3534",errorDark:"#dd6161",errorDisabled:"#fab6b6",errorLight:"#fef0f0",info:"#909399",infoDark:"#82848a",infoDisabled:"#c8c9cc",infoLight:"#f4f4f5",whiteColor:"#ffffff",blackColor:"#000000",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#dcdfe6",dividerColor:"#e4e7ed",maskColor:"rgba(0, 0, 0, 0.4)",shadowColor:"rgba(0, 0, 0, 0.1)",bgColor:"#f3f4f6",bgWhite:"#ffffff",bgGrayLight:"#f1f1f1",bgGrayDark:"#2f343c",bgBlack:"#000000"},Fb=[{name:jb.defaultTheme,label:"默认蓝",description:"uView Pro 默认主题,支持亮色与暗黑模式",color:Db,darkColor:{primary:"#8ab4ff",primaryDark:"#5f8dff",primaryDisabled:"#3d4f74",primaryLight:"#1d273f",success:"#4ade80",successDark:"#1f9d57",successDisabled:"#2f4d3d",successLight:"#10291f",warning:"#fbbf24",warningDark:"#c88f00",warningDisabled:"#4a3b17",warningLight:"#2b1f05",error:"#ff6b6b",errorDark:"#d83a3a",errorDisabled:"#4f2323",errorLight:"#2d1414",info:"#a0a7b8",infoDark:"#7c8394",infoDisabled:"#3b3f4c",infoLight:"#1d2029",whiteColor:"#f5f6f7",blackColor:"#f5f6f7",mainColor:"#f5f6f7",contentColor:"#cfd3dc",tipsColor:"#9aa1af",lightColor:"#6b7082",borderColor:"#3a4251",dividerColor:"#3a4251",maskColor:"rgba(0, 0, 0, 0.6)",shadowColor:"rgba(0, 0, 0, 0.3)",bgColor:"#111827",bgWhite:"#000000",bgGrayLight:"#1a1a1a",bgGrayDark:"#f5f7fa",bgBlack:"#ffffff"},css:{"--u-background":"#ffffff","--u-surface":"#f7f8fa","--u-text":"#303133"},darkCss:{"--u-background":"#0f1115","--u-surface":"#1c2233","--u-text":"#f5f6f7"}}],Vb=xn({...Db});const Wb=Object.freeze(Object.defineProperty({__proto__:null,enUS:{name:"en-US",label:"English",locale:"en",uActionSheet:{cancelText:"Cancel"},uUpload:{uploadText:"Select Image",retry:"Retry",overSize:"File size exceeds allowed limit",overMaxCount:"Exceeds maximum allowed number of files",reUpload:"Re-upload",uploadFailed:"Upload failed, please try again",modalTitle:"Notice",deleteConfirm:"Are you sure you want to delete this item?",terminatedRemove:"Removal cancelled",removeSuccess:"Removed successfully",previewFailed:"Failed to preview image",notAllowedExt:"Files with {ext} format are not allowed",noAction:"Please configure upload address"},uVerificationCode:{startText:"Get Code",changeText:"Retry in Xs",endText:"Retry"},uSection:{subTitle:"More"},uSelect:{cancelText:"Cancel",confirmText:"Confirm"},uSearch:{placeholder:"Please enter keywords",actionText:"Search"},uNoNetwork:{tips:"Ooops, network disconnected",checkNetwork:"Please check network or go to",setting:"Settings",retry:"Retry",noConnection:"No network connection",connected:"Network connected"},uReadMore:{closeText:"Read More",openText:"Collapse"},uPagination:{prevText:"Prev",nextText:"Next"},uPicker:{cancelText:"Cancel",confirmText:"Confirm"},uModal:{title:"Notice",content:"Content",confirmText:"Confirm",cancelText:"Cancel"},uLoadmore:{loadmore:"Load more",loading:"Loading...",nomore:"No more"},uLink:{mpTips:"Link copied, please open it in browser"},uKeyboard:{cancelText:"Cancel",confirmText:"Confirm",number:"Number Keyboard",idCard:"ID Card Keyboard",plate:"Plate Keyboard"},uInput:{placeholder:"Please enter"},uCalendar:{startText:"Start",endText:"End",toolTip:"Select date",outOfRange:"Date out of range",year:"",month:"",sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat",confirmText:"Confirm",to:" to "},uEmpty:{car:"Shopping cart is empty",page:"Page not found",search:"No search results",address:"No shipping address",wifi:"No WiFi",order:"No orders",coupon:"No coupons",favor:"No favorites",permission:"No permission",history:"No history",news:"No news",message:"No messages",list:"No list",data:"No data"},uCountDown:{day:"days",hour:"hours",minute:"minutes",second:"Second"},uFullScreen:{title:"New Version Available",upgrade:"Upgrade"}},zhCN:{name:"zh-CN",label:"简体中文",locale:"zh-Hans",uActionSheet:{cancelText:"取消"},uUpload:{uploadText:"选择图片",retry:"点击重试",overSize:"超出允许的文件大小",overMaxCount:"超出最大允许的文件个数",reUpload:"重新上传",uploadFailed:"上传失败,请重试",modalTitle:"提示",deleteConfirm:"您确定要删除此项吗?",terminatedRemove:"已终止移除",removeSuccess:"移除成功",previewFailed:"预览图片失败",notAllowedExt:"不允许选择{ext}格式的文件",noAction:"请配置上传地址"},uVerificationCode:{startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取"},uSection:{subTitle:"更多"},uSelect:{cancelText:"取消",confirmText:"确认"},uSearch:{placeholder:"请输入关键字",actionText:"搜索"},uNoNetwork:{tips:"哎呀,网络信号丢失",checkNetwork:"请检查网络,或前往",setting:"设置",retry:"重试",noConnection:"无网络连接",connected:"网络已连接"},uReadMore:{closeText:"展开阅读全文",openText:"收起"},uPagination:{prevText:"上一页",nextText:"下一页"},uPicker:{cancelText:"取消",confirmText:"确认"},uModal:{title:"提示",content:"内容",confirmText:"确认",cancelText:"取消"},uLoadmore:{loadmore:"加载更多",loading:"正在加载...",nomore:"没有更多了"},uLink:{mpTips:"链接已复制,请在浏览器打开"},uKeyboard:{cancelText:"取消",confirmText:"确认",number:"数字键盘",idCard:"身份证键盘",plate:"车牌号键盘"},uInput:{placeholder:"请输入内容"},uCalendar:{startText:"开始",endText:"结束",toolTip:"选择日期",outOfRange:"日期超出范围啦~",year:"年",month:"月",sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六",confirmText:"确定",to:"至"},uEmpty:{car:"购物车为空",page:"页面不存在",search:"没有搜索结果",address:"没有收货地址",wifi:"没有WiFi",order:"订单为空",coupon:"没有优惠券",favor:"暂无收藏",permission:"无权限",history:"无历史记录",news:"无新闻列表",message:"消息列表为空",list:"列表为空",data:"数据为空"},uCountDown:{day:"天",hour:"时",minute:"分",second:"秒"},uFullScreen:{title:"发现新版本",upgrade:"升级"}}},Symbol.toStringTag,{value:"Module"})),zb="uview-pro-theme",Hb="uview-pro-dark-mode",qb="uview-pro-locale",Ub=(null==(e=Fb[0])?void 0:e.color)||{},Xb=(null==(t=Fb[0])?void 0:t.darkColor)||{},Yb=new Set(["bgColor","bgWhite","bgGrayLight","bgGrayDark","bgBlack","borderColor","lightColor","mainColor","contentColor","tipsColor","whiteColor","blackColor","dividerColor","maskColor","shadowColor"]);const Gb=new class{constructor(){this.themesRef=jn([]),this.currentThemeRef=jn(null),this.darkModeRef=jn(jb.defaultDarkMode),this.cssVarsRef=jn({}),this.localesRef=jn([]),this.currentLocaleRef=jn(null),this.baseColorTokens=Ub,this.baseDarkColorTokens=Xb,this.debug=!1,this.systemDarkModeMediaQuery=null,this.lastAppliedCssKeys=[],this.interval=0,this.initSystemDarkModeListener()}initSystemDarkModeListener(){try{if("undefined"!=typeof window&&window.matchMedia){this.systemDarkModeMediaQuery=window.matchMedia("(prefers-color-scheme: dark)");const e=()=>{"auto"===this.darkModeRef.value&&this.applyTheme(this.currentThemeRef.value)};this.systemDarkModeMediaQuery.addEventListener?this.systemDarkModeMediaQuery.addEventListener("change",e):this.systemDarkModeMediaQuery.addListener&&this.systemDarkModeMediaQuery.addListener(e)}}catch(e){this.debug&&console.warn("[ConfigProvider] H5 system dark mode listener failed",e)}try{"undefined"!=typeof uni&&"function"==typeof $v&&$v((e=>{console.log("[ConfigProvider] system theme changed",e),"auto"===this.darkModeRef.value&&this.applyTheme(this.currentThemeRef.value)}))}catch(e){this.debug&&console.warn("[ConfigProvider] uni-app system dark mode listener failed",e)}this.initAppEvent()}initAppEvent(){}isSystemDarkMode(){try{if(this.systemDarkModeMediaQuery)return this.systemDarkModeMediaQuery.matches}catch(e){this.debug&&console.warn("[ConfigProvider] matchMedia check failed",e)}try{return"dark"===function(){try{if("undefined"!=typeof uni&&"function"==typeof Sv){const e=Sv(),t=e.osTheme||e.theme||"light";if("dark"===t)return"dark";if("light"===t)return"light"}}catch(e){console.warn("[system-theme] getSystemDarkMode failed",e)}return"light"}()}catch(e){return this.debug&&console.warn("[ConfigProvider] native system theme check failed",e),!1}}initTheme(e,t,n){const o=this.normalizeThemes(e);if(!o.length)return void console.warn("[ConfigProvider] init called with empty themes");if(t)if("string"==typeof t)jb.defaultTheme=t||jb.defaultTheme;else if("object"==typeof t){const{defaultTheme:e,defaultDarkMode:n}=t;jb.defaultTheme=e||jb.defaultTheme,jb.defaultDarkMode=n||jb.defaultDarkMode}this.themesRef.value=o.slice();let r=this.readStorage(zb)||jb.defaultTheme||this.themesRef.value[0].name;n&&jb.defaultTheme&&(r=jb.defaultTheme);let a=this.themesRef.value.find((e=>e.name===r));return a||(a=this.themesRef.value.find((e=>e.name===jb.defaultTheme))),a||(a=this.themesRef.value[0]),this.currentThemeRef.value=a,this.initDarkMode(jb.defaultDarkMode,n),this.applyTheme(a),this.debug&&console.log("[ConfigProvider] initialized, theme=",a.name,"darkMode=",this.darkModeRef.value),this}initDarkMode(e,t){let n=this.readStorage(Hb)||e||jb.defaultDarkMode;t&&e&&(n=e),this.darkModeRef.value=n}initLocales(e,t,n){const o=this.normalizeLocales(e);if(!o.length)return void(this.debug&&console.warn("[ConfigProvider] initLocales called with empty locales"));this.localesRef.value=o.slice();let r=this.readStorage(qb)||t||jb.defaultLocale;n&&t&&(r=t);let a=this.localesRef.value.find((e=>e.name===r));return a||(a=this.localesRef.value.find((e=>e.name===jb.defaultLocale))),a||(a=this.localesRef.value[0]),this.currentLocaleRef.value=a,this.debug&&console.log("[ConfigProvider] locales initialized, locale=",null==a?void 0:a.name),this}normalizeLocales(e){let t=[];try{t=Object.values(Wb||{}).filter((e=>e&&"object"==typeof e))}catch(o){this.debug&&console.warn("[ConfigProvider] normalizeLocales read builtin failed",o)}if(!Array.isArray(e)||!e.length)return t.slice();const n=new Map;return t.forEach((e=>{e&&e.name&&n.set(e.name,{...e||{}})})),e.forEach((e=>{if(!e||!e.name)return;const t=n.get(e.name);if(!t)return void n.set(e.name,{...e||{}});const o={...t};Object.keys(e).forEach((t=>{const n=e[t];null==n||"object"!=typeof n||Array.isArray(n)||"object"!=typeof o[t]?o[t]=n:o[t]={...o[t]||{},...n||{}}})),n.set(e.name,o)})),Array.from(n.values())}getLocales(){return this.localesRef.value.slice()}getCurrentLocale(){return this.currentLocaleRef.value}setLocale(e){if(!this.localesRef.value||0===this.localesRef.value.length)return void console.warn("[ConfigProvider] setLocale called but locales list empty");const t=this.localesRef.value.find((t=>t.name===e));t?(this.currentLocaleRef.value=t,this.writeStorage(qb,e),this.debug&&console.log("[ConfigProvider] setLocale ->",e)):console.warn("[ConfigProvider] locale not found:",e)}t(e,t,n){try{Array.isArray(this.localesRef.value)&&0!==this.localesRef.value.length||this.initLocales()}catch(s){this.debug&&console.warn("[ConfigProvider] lazy initLocales failed",s)}const o=n&&this.localesRef.value.find((e=>e.name===n))||this.currentLocaleRef.value;if(!o)return e;const r=e.split(".");let a=o;for(let l=0;l<r.length&&null!=a;l++)a=a[r[l]];let i="string"==typeof a?a:e;return null!=t&&(Array.isArray(t)?t.forEach(((e,t)=>{i=i.split(`{${t}}`).join(String(e))})):"object"==typeof t&&Object.keys(t).forEach((e=>{i=i.split(`{${e}}`).join(String(t[e]))}))),i}getThemes(){return this.themesRef.value.slice()}getCurrentTheme(){return this.currentThemeRef.value}setTheme(e){if(!this.themesRef.value||0===this.themesRef.value.length)return void console.warn("[ConfigProvider] setTheme called but themes list empty");const t=this.themesRef.value.find((t=>t.name===e));t?(this.currentThemeRef.value=t,this.applyTheme(t),this.writeStorage(zb,e),this.debug&&console.log("[ConfigProvider] setTheme ->",e)):console.warn("[ConfigProvider] theme not found:",e)}setThemeColor(e){if(!e||0===Object.keys(e).length)return;if(!this.currentThemeRef.value)return void console.warn("[ConfigProvider] setThemeColor called but no current theme");if("dark"===this.getActiveMode()){const t=this.currentThemeRef.value.darkColor||{};this.currentThemeRef.value.darkColor={...t,...e}}else{const t=this.currentThemeRef.value.color||{};this.currentThemeRef.value.color={...t,...e}}this.applyTheme(this.currentThemeRef.value),this.debug&&console.log("[ConfigProvider] setThemeColor ->",e)}getDarkMode(){return this.darkModeRef.value}setDarkMode(e){this.darkModeRef.value=e,this.writeStorage(Hb,e),this.applyTheme(this.currentThemeRef.value),this.debug&&console.log("[ConfigProvider] setDarkMode ->",e)}isInDarkMode(){const e=this.darkModeRef.value;return"dark"===e||"light"!==e&&this.isSystemDarkMode()}normalizeThemes(e){return Array.isArray(e)&&e.length?this.mergeThemes(Fb,e):Fb.slice()}mergeThemes(...e){const t=new Map;return e.filter((e=>Array.isArray(e)&&e.length>0)).forEach((e=>{e.forEach((e=>{const n=this.ensureDarkVariant({...e,color:this.applyColorFallbacks(e.color),darkColor:e.darkColor?{...e.darkColor}:void 0,css:e.css?{...e.css}:void 0,darkCss:e.darkCss?{...e.darkCss}:void 0});t.set(n.name,n)}))})),Array.from(t.values())}ensureDarkVariant(e){const t=this.buildDarkPalette(e);return{...e,darkColor:this.applyDarkFallbacks(t)}}buildDarkPalette(e){const t=e.darkColor||{};return{...this.generateDarkFromLight(e.color||{},t),...t}}applyColorFallbacks(e){return{...this.baseColorTokens||{},...e||{}}}applyDarkFallbacks(e){return{...this.baseDarkColorTokens||{},...e||{}}}filterNonStructuralTokens(e){const t={};return Object.entries(e||{}).forEach((([e,n])=>{this.isStructuralToken(e)||(t[e]=n)})),t}generateDarkFromLight(e,t){const n={},o=this.filterNonStructuralTokens(e);return Object.entries(o).forEach((([e,o])=>{var r;if("string"!=typeof o)return;if(t&&Object.prototype.hasOwnProperty.call(t,e))return;const a=null==(r=this.baseDarkColorTokens)?void 0:r[e];n[e]=this.createDarkVariantFromLight(o,a)})),n}createDarkVariantFromLight(e,t){const n=this.normalizeHex(e),o=t?this.normalizeHex(t):null;return n&&o?this.mixHex(n,o,.6):o||(n||e)}normalizeHex(e){if(!e)return null;const t=e.trim();return/^#([0-9a-fA-F]{6})$/.test(t)?t.toLowerCase():null}mixHex(e,t,n){const o=this.hexToRgb(e),r=this.hexToRgb(t);if(!o||!r)return t;const a=e=>Math.min(255,Math.max(0,Math.round(e))),i=a(o.r*(1-n)+r.r*n),s=a(o.g*(1-n)+r.g*n),l=a(o.b*(1-n)+r.b*n);return this.rgbToHex(i,s,l)}hexToRgb(e){const t=/^#([0-9a-fA-F]{6})$/.exec(e);return t?{r:parseInt(t[1].slice(0,2),16),g:parseInt(t[1].slice(2,4),16),b:parseInt(t[1].slice(4,6),16)}:null}rgbToHex(e,t,n){const o=e=>e.toString(16).padStart(2,"0");return`#${o(e)}${o(t)}${o(n)}`}isStructuralToken(e){return Yb.has(e)}syncRuntimeTheme(e){var t;try{const n={..."dark"===this.getActiveMode()?this.baseDarkColorTokens:this.baseColorTokens,...e};Object.keys(n).forEach((e=>{const t=n[e];null!=t&&(Vb[e]=t)})),"undefined"!=typeof uni&&(null==(t=null==uni?void 0:uni.$u)?void 0:t.color)&&(uni.$u.color=Vb)}catch(n){this.debug&&console.warn("[ConfigProvider] sync runtime theme failed",n)}}getActiveMode(){return this.isInDarkMode()?"dark":"light"}getPaletteForMode(e,t){return"dark"===t&&e.darkColor&&Object.keys(e.darkColor).length?e.darkColor:e.color||{}}getCssOverrides(e,t){return"dark"===t?(e.darkCss&&Object.keys(e.darkCss).length?e.darkCss:e.css)||{}:e.css||{}}readStorage(e){try{if("undefined"==typeof uni||"function"!=typeof Rv)return null;return Rv(e)??null}catch(t){return this.debug&&console.warn("[ConfigProvider] failed to read storage",t),null}}writeStorage(e,t){try{if("undefined"==typeof uni||"function"!=typeof Ov)return;Ov(e,t)}catch(n){this.debug&&console.warn("[ConfigProvider] failed to write storage",n)}}updateDocumentMode(e){if("undefined"==typeof document||!document.documentElement)return;const t=document.documentElement;t.dataset.uThemeMode=e,t.classList.remove("u-theme-light","u-theme-dark"),t.classList.add(`u-theme-${e}`)}toCssVarName(e,t="--u"){jb.type.some((t=>e.startsWith(t)))&&(t+="-type");return`${t}-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}`}attachRgbVar(e,t,n){if("string"!=typeof n)return;const o=n.startsWith("#")?n.slice(1):"";if(!/^[0-9a-fA-F]{6}$/.test(o))return;const r=parseInt(o.slice(0,2),16),a=parseInt(o.slice(2,4),16),i=parseInt(o.slice(4,6),16);e[`${t}-rgb`]=`${r}, ${a}, ${i}`}buildCssVarMap(e,t){const n={"--u-theme-mode":t},o=this.getPaletteForMode(e,t),r=this.getCssOverrides(e,t),a=(e,t)=>{if(null==t)return;const o=String(t);if(e.startsWith("--"))return n[e]=o,void this.attachRgbVar(n,e,o);const r=this.toCssVarName(e);n[r]=o,this.attachRgbVar(n,r,o)};return Object.entries(o||{}).forEach((([e,t])=>a(e,t))),Object.entries(r||{}).forEach((([e,t])=>a(e,t))),n}flushCssVars(e){if("undefined"==typeof document||!document.documentElement)return;const t=document.documentElement;this.lastAppliedCssKeys.forEach((e=>{t.style.removeProperty(e)})),Object.entries(e).forEach((([e,n])=>{t.style.setProperty(e,n)})),this.lastAppliedCssKeys=Object.keys(e)}applyTheme(e){if(!e)return;const t=this.getActiveMode(),n=this.getPaletteForMode(e,t);this.syncRuntimeTheme(n);const o=this.buildCssVarMap(e,t);this.cssVarsRef.value=o,this.flushCssVars(o),this.updateDocumentMode(t)}};function Jb(e){return Vb[e]?Vb[e]:Db[e]||""}function Kb(e,t=new WeakMap){if(null===e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime());else if(e instanceof RegExp)n=new RegExp(e);else if(e instanceof Map)n=new Map(Array.from(e,(([e,n])=>[e,Kb(n,t)])));else if(e instanceof Set)n=new Set(Array.from(e,(e=>Kb(e,t))));else if(Array.isArray(e))n=e.map((e=>Kb(e,t)));else if("[object Object]"===Object.prototype.toString.call(e)){n=Object.create(Object.getPrototypeOf(e)),t.set(e,n);for(const[o,r]of Object.entries(e))n[o]=Kb(r,t)}else n=Object.assign({},e);return t.set(e,n),n}function Qb(e={},t={}){if("object"!=typeof(e=Kb(e))||null===e||"object"!=typeof t||null===t)return e;const n=Array.isArray(e)?e.slice():Object.assign({},e);for(const o in t){if(!Object.prototype.hasOwnProperty.call(t,o))continue;const e=t[o],r=n[o];e instanceof Date?n[o]=new Date(e):e instanceof RegExp?n[o]=new RegExp(e):e instanceof Map?n[o]=new Map(e):e instanceof Set?n[o]=new Set(e):n[o]="object"==typeof e&&null!==e?Qb(r,e):e}return n}function Zb(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function e_(e){return"[object Object]"===Object.prototype.toString.call(e)}function t_(e){return"function"==typeof e}const n_={email:function(e){return/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/.test(e)},mobile:function(e){return/^1[3-9]\d{9}$/.test(e)},url:function(e){return/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(e)},date:function(e){return!/Invalid|NaN/.test(new Date(e).toString())},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)},digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:Zb,isEmpty:Zb,jsonString:function(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(n){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:e_,array:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:t_,promise:function(e){return e_(e)&&t_(e.then)&&t_(e.catch)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};function o_(e,t="both"){return"both"===t?e.replace(/^\s+|\s+$/g,""):"left"===t?e.replace(/^\s*/,""):"right"===t?e.replace(/(\s*$)/g,""):"all"===t?e.replace(/\s+/g,""):e}let r_,a_=null;function i_(e,t){const n=e=>{var n,o;t.showToast&&Ny({title:"复制失败",icon:"none"}),null==(n=t.fail)||n.call(t,e),null==(o=t.complete)||o.call(t,e)},o=document.createElement("textarea");o.value=e,o.readOnly=!0,o.style.position="absolute",o.style.left="-9999px",document.body.appendChild(o),o.select(),o.setSelectionRange(0,e.length);try{document.execCommand("copy")?(e=>{var n,o;t.showToast&&Ny({title:"复制成功",icon:"none"}),null==(n=t.success)||n.call(t,e),null==(o=t.complete)||o.call(t,e)})("复制成功"):n("复制失败,可能不是用户主动触发点击的方式调用,因browser安全性,不能js直接调用!")}catch(r){n(String(r))}finally{document.body.removeChild(o)}}const s_={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965,tabbar:998};const l_=["baseUrl","meta"];const c_=new class{constructor(){this.config={baseUrl:"",header:{},method:"POST",dataType:"json",responseType:"text",timeout:6e4,meta:{originalData:!0,toast:!1,loading:!1}},this.interceptor={request:null,response:null}}mergeGlobalConfigToOptions(e){const t={...e};for(const o of Object.keys(this.config)){if(l_.includes(o))continue;const n=this.config[o],r=e[o];void 0!==n&&("header"!==o?"string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n?"object"!=typeof n||Array.isArray(n)?void 0===r&&(t[o]=n):t[o]=Qb(n||{},r||{}):t[o]=void 0!==r?r:n:t.header=Qb(n||{},r||{}))}const n=this.config.baseUrl;return n&&t.url&&"string"==typeof t.url&&0!==t.url.indexOf("http")&&(t.url=n+(0===t.url.indexOf("/")?t.url:`/${t.url}`)),t.url||(t.url=""),t}setConfig(e){this.config=Qb(this.config,e)}request(e){const t={...this.config.meta,...e.meta||{}};if(e.meta=t,e.url=e.url||"",e.params=e.params||{},e=this.mergeGlobalConfigToOptions(e),this.interceptor.request&&"function"==typeof this.interceptor.request){const t=this.interceptor.request(e);if(!t)return new Promise((()=>{}));this.options=t}return new Promise(((t,n)=>{e.complete=o=>{const r=(e.meta||this.config.meta||{}).originalData??!1;if(o.config=e,r)if(this.interceptor.response&&"function"==typeof this.interceptor.response){const e=this.interceptor.response(o);!1!==e?t(e):n(o)}else t(o);else if(200===o.statusCode)if(this.interceptor.response&&"function"==typeof this.interceptor.response){const e=this.interceptor.response(o.data);!1!==e?t(e):n(o.data)}else t(o.data);else n(o)},ry(e)}))}get(e,t={},n={}){return this.request({method:"GET",url:e,data:t,header:n.header||{},meta:n.meta})}post(e,t={},n={}){return this.request({url:e,method:"POST",data:t,header:n.header||{},meta:n.meta})}put(e,t={},n={}){return this.request({url:e,method:"PUT",data:t,header:n.header||{},meta:n.meta})}delete(e,t={},n={}){return this.request({url:e,method:"DELETE",data:t,header:n.header||{},meta:n.meta})}},u_={log:console.log,info:console.info,warn:console.warn,error:console.error,debug:console.debug,trace:console.trace,table:console.table,time:console.time,timeEnd:console.timeEnd,group:console.group,groupEnd:console.groupEnd,groupCollapsed:console.groupCollapsed,assert:console.assert,clear:console.clear,count:console.count,countReset:console.countReset};Object.keys(u_).forEach((e=>{const t=e;u_[t]||(u_[t]=()=>{})}));const d_=new class{constructor(){this.debugMode=!1,this.prefix="[uViewPro]",this.showCallerInfo=!0}setDebugMode(e){return this.debugMode=!!e,this.debugMode?console.log("[uViewPro] Debug mode enabled"):console.log("[uViewPro] Debug mode disabled"),this}setShowCallerInfo(e){return this.showCallerInfo=!!e,this}setPrefix(e){return e&&(this.prefix=e),this}getDebugMode(){return this.debugMode}extractFileName(e){if(!e)return"";return e.split("?")[0].split(/[/\\]/).pop()||""}getCallerInfo(){if(!this.showCallerInfo)return"";try{const e=(new Error).stack;if(!e)return"";const t=e.split("\n");for(let n=3;n<t.length;n++){const e=t[n].trim();if(e&&!e.includes("logger.ts")&&!e.includes("Logger.")&&!e.includes("at Object.")){const t=e.match(/\(?(.*):(\d+):(\d+)\)?/);if(t){const e=t[1],n=t[2];return`[${this.extractFileName(e)}:${n}]`}break}}}catch(e){}return""}output(e,...t){if(!this.debugMode||!u_[e])return;const n=u_[e],o=this.getCallerInfo();this.prefix?o?n(`${this.prefix}${o}`,...t):n(this.prefix,...t):o?n(o,...t):n(...t)}log(...e){this.output("log",...e)}info(...e){this.output("info",...e)}warn(...e){this.output("warn",...e)}error(...e){this.output("error",...e)}debug(...e){u_.debug&&this.output("debug",...e)}trace(...e){u_.trace&&this.output("trace",...e)}table(e,t){this.debugMode&&u_.table&&(this.prefix&&u_.log(this.prefix),u_.table(e,t))}time(e){if(!this.debugMode||!u_.time)return;const t=this.prefix?`${this.prefix} ${e}`:e;u_.time(t)}timeEnd(e){if(!this.debugMode||!u_.timeEnd)return;const t=this.prefix?`${this.prefix} ${e}`:e;u_.timeEnd(t)}group(e){if(!this.debugMode||!u_.group)return;const t=this.prefix?`${this.prefix} ${e}`:e;u_.group(t)}groupEnd(){this.debugMode&&u_.groupEnd&&u_.groupEnd()}groupCollapsed(e){if(!this.debugMode||!u_.groupCollapsed)return;const t=this.prefix?`${this.prefix} ${e}`:e;u_.groupCollapsed(t)}assert(e,...t){this.debugMode&&u_.assert&&(this.prefix?u_.assert(e,this.prefix,...t):u_.assert(e,...t))}clear(){this.debugMode&&u_.clear&&u_.clear()}count(e){if(!this.debugMode||!u_.count)return;const t=this.prefix&&e?`${this.prefix} ${e}`:e||this.prefix;u_.count(t)}countReset(e){if(!this.debugMode||!u_.countReset)return;const t=this.prefix&&e?`${this.prefix} ${e}`:e||this.prefix;u_.countReset(t)}styled(e,t){if(!this.debugMode)return;const n=this.getCallerInfo(),o=n?`${t} ${n}`:t;this.prefix?console.log(`%c${this.prefix} ${o}`,e):console.log(`%c${o}`,e)}},f_=Symbol("parent_context");function h_(e,t){var n,o;if(!t)return null;let r=t.parent;for(;r;){if(((null==(n=r.type)?void 0:n.name)||(null==(o=r.type)?void 0:o.__name))===e)return r;r=r.parent}return null}function p_(e){const t=Za();if(!t)throw new Error("useParent must be called within setup function");const n=e||t.type.name||t.type.__name;if(!n)throw new Error("Component name is required for useParent");const o=xn([]),r=new Map,a=(e,t,o)=>{const a=o?(Array.isArray(o)?o:[o]).map((e=>r.get(e))).filter(Boolean):Array.from(r.values());d_.log(`Parent ${n} broadcasting event: ${e} to ${a.length} children`),a.forEach((n=>{const o=n.getExposed();if(o&&"function"==typeof o[e])try{o[e](t)}catch(r){d_.warn(`Error calling child method ${e}:`,r)}}))},i=(e,o,r)=>{d_.log(`Parent ${n} broadcasting event: ${o} to all ${e} components`);const a=function(e,t){const n=[];return function t(o){var r;if(!(null==o?void 0:o.subTree))return;const a=(null==(r=o.subTree)?void 0:r.children)||[];(Array.isArray(a)?a:[a]).forEach((o=>{var r,a;const i=o.component;i&&(((null==(r=i.type)?void 0:r.name)||(null==(a=i.type)?void 0:a.__name))===e&&n.push(i),t(i))}))}(t),d_.log(`Found ${n.length} ${e} components`),n}(e,t);let i=0;a.forEach((t=>{const n=t.exposed||t.proxy;if(n&&"function"==typeof n[o])try{n[o](r),i++}catch(a){d_.warn(`Error calling ${e} method ${o}:`,a)}})),d_.log(`Parent ${n} successfully called ${i} of ${a.length} ${e} components`)},s={name:n,addChild(e){r.has(e.id)||(r.set(e.id,e),o.push(e),d_.log(`Parent ${n} added child: ${e.name}`))},removeChild(e){if(r.has(e)){r.get(e),r.delete(e);const t=o.findIndex((t=>t.id===e));t>-1&&o.splice(t,1),d_.log(`Parent ${n} removed child: ${e}`)}},broadcast:a,broadcastToChildren:i,getChildren:()=>Array.from(r.values()),getExposed:()=>t.exposed||{},getChildExposed(e){var t;const n=r.get(e);return(null==(t=null==n?void 0:n.getExposed)?void 0:t.call(n))||{}},getChildrenExposed:()=>Array.from(r.values()).filter((e=>e.getExposed)).map((e=>({id:e.id,name:e.name,exposed:e.getExposed()}))).filter((e=>Object.keys(e.exposed).length>0)),getInstance:()=>t};return t.proxy&&(t.proxy[f_]=s),Sr((()=>{r.forEach(((e,t)=>s.removeChild(t))),t.proxy&&delete t.proxy[f_],d_.log(`Parent ${n} unmounted and cleaned up`)})),{parentName:n,children:o,broadcast:a,broadcastToChildren:i,getChildren:s.getChildren,getChildExposed:s.getChildExposed,getChildrenExposed:s.getChildrenExposed,getExposed:s.getExposed,getInstance:s.getInstance}}function m_(e,t){const n=Za();if(!n)throw new Error("useChildren must be called within setup function");const o=e||n.type.name||n.type.__name,r=function(e){return`${e}_${Date.now()}_${Math.random().toString(36).substr(2,9)}`}(o||"anonymous"),a=jn(null),i=jn({}),s=e=>{var t,n;return{name:(null==(t=null==e?void 0:e.type)?void 0:t.name)||(null==(n=null==e?void 0:e.type)?void 0:n.__name)||"unknown",addChild:()=>d_.log("Simulated parent added child"),removeChild:()=>d_.log("Simulated parent removed child"),broadcast:()=>d_.log("Simulated parent broadcasting"),broadcastToChildren:()=>d_.log("Simulated parent broadcasting to children"),getChildren:()=>[],getExposed:()=>(null==e?void 0:e.exposed)||{},getChildExposed:()=>({}),getChildrenExposed:()=>[],getInstance:()=>e}},l=()=>{if(a.value){const e=a.value.getExposed();return i.value=e,e}return{}},c=()=>n.exposed||{},u=()=>{var e;if(t){const e=function(e,t){var n;const o=h_(e,t);return(null==(n=null==o?void 0:o.proxy)?void 0:n[f_])||null}(t,n);if(e)return e.getInstance||(e.getInstance=()=>h_(t,n)),e;const o=h_(t,n);if(o)return s(o)}let o=n.parent;for(;o;){const t=null==(e=o.proxy)?void 0:e[f_];if(t)return t.getInstance||(t.getInstance=()=>o),t;o=o.parent}return n.parent?s(n.parent):null},d=()=>{const e=u();return e?(a.value=e,e.addChild&&p&&e.addChild(p),l(),d_.log(`Child ${o||"anonymous"} linked to parent ${e.name}`),!0):(d_.log(`Child ${o||"anonymous"} no parent found, working in standalone mode`),!1)},f=(e,t)=>{if(a.value){const a=l();if(a&&"function"==typeof a[e])try{a[e](t,r,o)}catch(n){d_.warn(`Error calling parent method ${e}:`,n)}}},h=()=>{if(!a.value)return-1;try{return a.value.getChildren().findIndex((e=>e.id===r))}catch(e){return-1}},p={id:r,name:o||"anonymous",getChildIndex:h,emitToParent:f,getParentExposed:l,getInstance:()=>n,getExposed:c};return d_.log(`Child ${o||"anonymous"} registered, looking for parent`),wr((()=>{let e=d();io((()=>{e=d(),e||setTimeout(d,500)}))})),Sr((()=>{var e;(null==(e=a.value)?void 0:e.removeChild)&&a.value.removeChild(r),d_.log(`Child ${o||"anonymous"} unmounted`)})),{childId:r,childName:o||"anonymous",childIndex:di(h),parent:a,emitToParent:f,getParentExposed:l,parentExposed:di((()=>i.value)),getExposed:c}}const g_=Gb.themesRef,v_=Gb.currentThemeRef,y_=Gb.darkModeRef;function b_(e){Gb.setTheme(e),v_.value=Gb.getCurrentTheme(),function(e){try{Ov("uview-pro-theme",e)}catch(t){console.warn("[useTheme] failed to write storage",t)}}(e)}function __(){return v_.value||Gb.getCurrentTheme()}function w_(){return Gb.getThemes()}function x_(e,t,n){Array.isArray(e)&&e.length>0?Gb.initTheme(e,t,n):Gb.initTheme(Fb,t)}function k_(e,t){Gb.initDarkMode(e,t)}function T_(){return Gb.getDarkMode()}function S_(e){Gb.setDarkMode(e),y_.value=e,function(e){try{Ov("uview-pro-dark-mode",e)}catch(t){console.warn("[useTheme] failed to write storage",t)}}(e)}function C_(){return Gb.isInDarkMode()}function E_(){S_("dark"===T_()?"light":"dark")}function P_(e){return{currentLocale:Gb.currentLocaleRef,locales:Gb.localesRef,t:(e,t,n)=>{const o=e;return Gb.t(o,t,n)},setLocale:e=>Gb.setLocale(e),getLocales:()=>Gb.getLocales(),getCurrentLocale:()=>Gb.getCurrentLocale(),initLocales:(e,t,n)=>Gb.initLocales(e,t,n)}}function M_(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e})).toLowerCase()}const $_={queryParams:function(e={},t=!0,n="brackets"){const o=t?"?":"",r=[];["indices","brackets","repeat","comma"].includes(n)||(n="brackets");for(const a in e){const t=e[a];if(!["",void 0,null].includes(t))if(Array.isArray(t))switch(n){case"indices":for(let n=0;n<t.length;n++)r.push(`${a}[${n}]=${t[n]}`);break;case"brackets":default:t.forEach((e=>{r.push(`${a}[]=${e}`)}));break;case"repeat":t.forEach((e=>{r.push(`${a}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),r.push(`${a}=${e}`)}else r.push(`${a}=${t}`)}return r.length?o+r.join("&"):""},route:Lb,timeFormat:Ib,date:Ib,timeFrom:function(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),"number"!=typeof e&&"string"!=typeof e||10==e.toString().length&&(e=1e3*Number(e));const n=+new Date(Number(e)),o=(Number(new Date)-n)/1e3;let r="";switch(!0){case o<300:r="刚刚";break;case o>=300&&o<3600:r=parseInt(String(o/60))+"分钟前";break;case o>=3600&&o<86400:r=parseInt(String(o/3600))+"小时前";break;case o>=86400&&o<2592e3:r=parseInt(String(o/86400))+"天前";break;default:r=!1===t?o>=2592e3&&o<31536e3?parseInt(String(o/2592e3))+"个月前":parseInt(String(o/31536e3))+"年前":Ib(n,t)}return r},colorGradient:Nb.colorGradient,colorToRgba:Nb.colorToRgba,guid:function(e=32,t=!0,n){const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[],a=n||o.length;if(e)for(let i=0;i<e;i++)r[i]=o[0|Math.random()*a];else{let e;r[8]=r[13]=r[18]=r[23]="-",r[14]="4";for(let t=0;t<36;t++)r[t]||(e=0|16*Math.random(),r[t]=o[19==t?3&e|8:e])}return t?(r.shift(),"u"+r.join("")):r.join("")},color:Vb,getColor:Jb,setColor:function(e){e&&Gb.setThemeColor(e)},sys:function(){return Sv()},os:function(){return Sv().platform},type2icon:function(e="success",t=!1){["primary","info","error","warning","success"].includes(e)||(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},hexToRgb:Nb.hexToRgb,rgbToHex:Nb.rgbToHex,test:n_,random:function(e,t){if(e>=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},deepClone:Kb,deepMerge:Qb,getParent:function(e,t){var n;let o=this.$parent;for(;o;){if((null==(n=o.$options)?void 0:n.name)===e){const e={};if(Array.isArray(t))t.forEach((t=>{e[t]=(null==o?void 0:o[t])?o[t]:""}));else for(const n in t)Array.isArray(t[n])?t[n].length?e[n]=t[n]:e[n]=o[n]:t[n]&&t[n].constructor===Object?Object.keys(t[n]).length?e[n]=t[n]:e[n]=o[n]:e[n]=t[n]||!1===t[n]?t[n]:o[n];return e}o=o.$parent}return{}},$parent:function(e,t=null){var n;const o=t||Za();let r=o&&o.parent;if(!e)return r;for(;r;){if((null==(n=r.type)?void 0:n.name)===e)return r;r=r.parent}return null},clipboard:function(e,t){i_(String(e),Object.assign({showToast:!0,success:()=>{},fail:()=>{},complete:()=>{}},t))},addUnit:function(e="auto",t="rpx"){const n=String(e);return n?"auto"===n?n:n.includes(" ")?n.split(" ").map((e=>"auto"===e||/^-?\d*\.?\d+(%|px|rpx|em|rem|vh|vw)$/.test(e)?e:n_.number(e)?`${e}${t}`:e)).join(" "):/^-?\d*\.?\d+(%|px|rpx|em|rem|vh|vw)$/.test(n)?n:n_.number(n)?`${n}${t}`:n:""},trim:o_,type:["primary","success","error","warning","info"],http:c_,toast:function(e,t=1500){Ny({title:e,icon:"string"==typeof t?t:"object"==typeof t&&t.icon||"none",duration:"number"==typeof t?t:"object"==typeof t?t.duration||"1500":1500})},config:jb,zIndex:s_,debounce:function(e,t=500,n=!1){if(null!==a_&&clearTimeout(a_),n){const n=!a_;a_=setTimeout((()=>{a_=null}),t),n&&"function"==typeof e&&e()}else a_=setTimeout((()=>{"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0){n?r_||(r_=!0,"function"==typeof e&&e(),setTimeout((()=>{r_=!1}),t)):r_||(r_=!0,setTimeout((()=>{r_=!1,"function"==typeof e&&e()}),t))},mitt:{all:O_=O_||new Map,on(e,t){const n=O_.get(e);n?n.push(t):O_.set(e,[t])},off(e,t){const n=O_.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):O_.set(e,[]))},emit(e,t){let n=O_.get(e);n&&[...n].forEach((e=>{e(t)})),n=O_.get("*"),n&&[...n].forEach((n=>{n(e,t)}))},clear(){this.all.clear()}},getRect:function(e,t=null,n=!1){const o=t||Za();return new Promise((t=>{Nf().in(null==o?void 0:o.proxy)[n?"selectAll":"select"](e).boundingClientRect((e=>{n&&Array.isArray(e)&&e.length&&t(e),!n&&e&&t(e)})).exec()}))},formatPrice:function(e,t=0,n=".",o=","){let r=String(e).replace(/[^0-9+\-Ee.]/g,"");const a=isFinite(+r)?+r:0,i=isFinite(+t)?Math.abs(t):0,s=o??",",l=n??".";let c=[];c=(i?function(e,t){const n=Math.pow(10,t);return(Math.round(e*n)/n).toFixed(t)}(a,i):Math.round(a).toString()).split(".");const u=/(-?\d+)(\d{3})/;for(;u.test(c[0]);)c[0]=c[0].replace(u,`$1${s}$2`);return(c[1]||"").length<i&&(c[1]=c[1]||"",c[1]+="0".repeat(i-c[1].length)),c.join(l)},formatName:function(e){if(2===e.length)return e.charAt(0)+"*";if(e.length>2){const t="*".repeat(e.length-2);return e.charAt(0)+t+e.charAt(e.length-1)}return e},addStyle:function(e,t="object"){if(n_.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=o_(e).split(";"),n={};for(let e=0;e<t.length;e++)if(t[e]){const o=t[e].split(":");2===o.length&&(n[o_(o[0])]=o_(o[1]))}return n}let n="";for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){n+=`${o.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[o]};`}return o_(n)},toStyle:function(...e){1===e.length&&Array.isArray(e[0])&&(e=e[0].slice());const t=new Map,n=e=>{if(!e)return;const n=e.split(";");for(let o of n){if(o=o.trim(),!o)continue;const e=o.indexOf(":");if(-1===e)continue;const n=o_(o.slice(0,e)),r=o_(o.slice(e+1));if(""===n||""===r)continue;const a=M_(n);t.set(a,r)}},o=e=>{e&&Object.keys(e).forEach((n=>{const o=e[n];if(null==o||""===o)return;const r=M_(n);t.set(r,o)}))};for(const a of e)null!=a&&""!==a&&(n_.string(a)?n(a):n_.array(a)?a.forEach((e=>{n_.string(e)?n(e):n_.object(e)&&o(e)})):n_.object(a)&&o(a));if(0===t.size)return"";const r=Array.from(t.entries()).map((([e,t])=>`${e}:${String(t)}`)).join(";");return r?r.endsWith(";")?r:r+";":""},kebabCase:M_,sleep:function(e=30){return new Promise((t=>{setTimeout((()=>{t(!0)}),e)}))}};var O_;const L_=tr({name:"u-config-provider",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"},props:{...$b,darkMode:{type:String,default:()=>jb.defaultDarkMode},currentTheme:{type:String,default:()=>{var e;return(null==(e=Gb.getCurrentTheme())?void 0:e.name)??jb.defaultTheme}},themes:{type:Array,default:()=>Gb.getThemes()},locales:{type:Array,default:()=>[]},currentLocale:{type:String,default:()=>{var e;return(null==(e=Gb.getCurrentLocale())?void 0:e.name)??""}}},emits:["theme-change","mode-change"],setup(e,{emit:t}){const n=e,o=t,r=di((()=>Gb.isInDarkMode()?"dark":"light")),a=()=>{if(Gb.getThemes().length>0)return n.currentTheme&&Gb.setTheme(n.currentTheme),void(n.darkMode&&Gb.setDarkMode(n.darkMode));if(n.themes&&n.themes.length)Gb.initTheme(n.themes,n.currentTheme);else{const{initTheme:e}={currentTheme:v_,themes:g_,darkMode:y_,cssVars:Gb.cssVarsRef,initTheme:x_,setTheme:b_,getCurrentTheme:__,getAvailableThemes:w_,initDarkMode:k_,getDarkMode:T_,setDarkMode:S_,isInDarkMode:C_,toggleDarkMode:E_};e(void 0,n.currentTheme)}n.currentTheme&&Gb.setTheme(n.currentTheme),n.darkMode&&Gb.setDarkMode(n.darkMode)};wr((()=>{a(),(()=>{try{const{initLocales:e,setLocale:t,getLocales:o}=P_();o().length>0?n.currentLocale&&t(n.currentLocale):n.locales&&n.locales.length?e(n.locales,n.currentLocale):e(void 0,n.currentLocale)}catch(e){console.warn("[u-config-provider] init locales failed",e)}})()})),Bo((()=>n.themes),(e=>{e&&e.length&&e!==Gb.themesRef.value&&Gb.initTheme(e,n.currentTheme)}),{deep:!0}),Bo((()=>n.currentTheme),(e=>{e&&Gb.setTheme(e)})),Bo((()=>n.darkMode),(e=>{e&&e!==Gb.getDarkMode()&&(Gb.setDarkMode(e),o("mode-change",r.value))})),Bo((()=>n.locales),(e=>{if(e&&e.length){const{initLocales:t}=P_();t(e,n.currentLocale)}}),{deep:!0}),Bo((()=>n.currentLocale),(e=>{if(e){const{setLocale:t}=P_();t(e)}})),Bo((()=>Gb.currentThemeRef.value),((e,t)=>{e&&e.name!==(null==t?void 0:t.name)&&o("theme-change",e.name)}),{immediate:!0}),Bo((()=>Gb.darkModeRef.value),(()=>{o("mode-change",r.value)}));const i=di((()=>$_.toStyle(Gb.cssVarsRef.value,n.customStyle)));return(e,t)=>{const n=Tg;return Ma(),Ra(n,{class:qe(["u-config-provider",`u-theme-${r.value}`,e.customClass]),style:He(i.value)},{default:xo((()=>[Lr(e.$slots,"default")])),_:3},8,["class","style"])}}}),I_=[{name:"melbet",label:"橙色",description:"黑橙",color:{primary:"#f8b932",primaryDark:"#c69428",primaryDisabled:"#f5dba3",primaryLight:"#fef2da",bgColor:"#f3f4f6",bgWhite:"#ffffff",bgGrayLight:"#f1f1f1",bgGrayDark:"#2f343c",bgBlack:"#212121",info:"#909399",infoDark:"#82848a",infoDisabled:"#c8c9cc",infoLight:"#f4f4f5",warning:"#ff9900",warningDark:"#f29100",warningDisabled:"#fcbd71",warningLight:"#fdf6ec",error:"#fa3534",errorDark:"#dd6161",errorDisabled:"#fab6b6",errorLight:"#fef0f0",success:"#19be6b",successDark:"#18b566",successDisabled:"#71d5a1",successLight:"#dbf1e1",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#dcdfe6",whiteColor:"#ffffff",blackColor:"#000000",dividerColor:"#ebeef5",maskColor:"rgba(0, 0, 0, 0.4)",shadowColor:"rgba(0, 0, 0, 0.1)"},darkColor:{}}],R_=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},A_=R_({__name:"App.ku",setup:e=>(ab({index:0,text:uni.$t("首页"),success:function(){}}),(e,t)=>{const n=L_;return Ma(),Ra(n,{"current-theme":"melbet",themes:Wn(I_)},{default:xo((()=>[Lr(e.$slots,"default",{},void 0,!0)])),_:3},8,["themes"])})},[["__scopeId","data-v-09d00c18"]]),N_={},B_=function(e,t,n){let o=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const e=document.querySelector("meta[property=csp-nonce]"),n=(null==e?void 0:e.nonce)||(null==e?void 0:e.getAttribute("nonce"));o=Promise.all(t.map((e=>{if((e=function(e){return"/"+e}(e))in N_)return;N_[e]=!0;const t=e.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${o}`))return;const r=document.createElement("link");return r.rel=t?"stylesheet":"modulepreload",t||(r.as="script",r.crossOrigin=""),r.href=e,n&&r.setAttribute("nonce",n),document.head.appendChild(r),t?new Promise(((t,n)=>{r.addEventListener("load",t),r.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0})))}return o.then((()=>e())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))},j_={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=uf;const D_=Object.assign({}),F_=Object.assign;window.__uniConfig=F_({easycom:{autoscan:!0,custom:{"^wd-(.*)":"wot-design-uni/components/wd-$1/wd-$1.vue","^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue"}},tabBar:{position:"bottom",color:"#999999",selectedColor:"#f8b932",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"20px",spacing:"3px",height:"50px",list:[{iconPath:"/static/images/tabbar/g1.png",selectedIconPath:"/static/images/tabbar/g.png",pagePath:"pages/Tabbar/Home/index",text:"首页"},{iconPath:"/static/images/tabbar/b.png",selectedIconPath:"/static/images/tabbar/b1.png",pagePath:"pages/Tabbar/SportsBetting/index",text:"体育博彩"},{iconPath:"/static/images/tabbar/j.png",selectedIconPath:"/static/images/tabbar/j1.png",pagePath:"pages/Tabbar/Entertainment/index",text:"娱乐"},{iconPath:"/static/images/tabbar/h1.png",selectedIconPath:"/static/images/tabbar/h.png",pagePath:"pages/Tabbar/My/index",text:"我的"}],backgroundColor:"#FFFFFF",selectedIndex:0,shown:!0},globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#FFFFFF",titleText:"MelBet",type:"default",titleColor:"#000000"},isNVue:!1},compilerVersion:"4.66"},{appId:"__UNI__11DC28C",appName:"vite-uniapp-template",appVersion:"0.0.1",appVersionCode:"100",async:j_,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(D_).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return F_(e[n]||(e[n]={}),D_[t].default),e}),{}),router:{mode:"hash",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const V_={delay:j_.delay,timeout:j_.timeout,suspensible:j_.suspensible};j_.loading&&(V_.loadingComponent={name:"SystemAsyncLoading",render:()=>Va(Po(j_.loading))}),j_.error&&(V_.errorComponent={name:"SystemAsyncError",render:()=>Va(Po(j_.error))});const W_=()=>B_((()=>import("./pages-Tabbar-Home-index.DcJQKbPE.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then((e=>Zg(e.default||e))),z_=or(F_({loader:W_},V_)),H_=()=>B_((()=>import("./pages-Tabbar-RollingBall-index.D8w-J5bt.js")),__vite__mapDeps([10,3,4,5,6,1,2,11,12,7,8,13])).then((e=>Zg(e.default||e))),q_=or(F_({loader:H_},V_)),U_=()=>B_((()=>import("./pages-Tabbar-SportsBetting-index.390EiB7p.js")),__vite__mapDeps([14,3,4,5,6,1,2,11,12,7,8,15])).then((e=>Zg(e.default||e))),X_=or(F_({loader:U_},V_)),Y_=()=>B_((()=>import("./pages-Tabbar-Entertainment-index.Cjm0-q5V.js")),__vite__mapDeps([16,7,8,3,4,17])).then((e=>Zg(e.default||e))),G_=or(F_({loader:Y_},V_)),J_=()=>B_((()=>import("./pages-Tabbar-BettingHistory-index.CTFfm_jo.js")),__vite__mapDeps([18,19,20,3,4,1,2,7,8,21])).then((e=>Zg(e.default||e))),K_=or(F_({loader:J_},V_)),Q_=()=>B_((()=>import("./pages-Tabbar-My-index.7jbV8x2d.js")),__vite__mapDeps([22,23,24,25,26,27,28])).then((e=>Zg(e.default||e))),Z_=or(F_({loader:Q_},V_)),ew=()=>B_((()=>import("./pages-login-index.MpXLDD3L.js")),__vite__mapDeps([29,30,31,32,33,34,11,12,35])).then((e=>Zg(e.default||e))),tw=or(F_({loader:ew},V_)),nw=()=>B_((()=>import("./pages-register-index.B9eoEwH1.js")),__vite__mapDeps([36,30,31,32,33,34,11,12,37])).then((e=>Zg(e.default||e))),ow=or(F_({loader:nw},V_)),rw=()=>B_((()=>import("./pages-index-example-index.BAd7I8Aw.js")),[]).then((e=>Zg(e.default||e))),aw=or(F_({loader:rw},V_)),iw=()=>B_((()=>import("./pages-index-user-index.DcsEV6Mm.js")),__vite__mapDeps([38,27])).then((e=>Zg(e.default||e))),sw=or(F_({loader:iw},V_)),lw=()=>B_((()=>import("./pages-common-web-view-index.D15EsiKB.js")),[]).then((e=>Zg(e.default||e))),cw=or(F_({loader:lw},V_)),uw=()=>B_((()=>import("./pages-common-rich-view-index.CzY01pg-.js")),__vite__mapDeps([39,33,40])).then((e=>Zg(e.default||e))),dw=or(F_({loader:uw},V_)),fw=()=>B_((()=>import("./pages-tips-middleware-index.Ch-B4dUk.js")),__vite__mapDeps([41,42])).then((e=>Zg(e.default||e))),hw=or(F_({loader:fw},V_)),pw=()=>B_((()=>import("./pages-template-paging-index.B74K9yFx.js")),__vite__mapDeps([43,7,8,27,44])).then((e=>Zg(e.default||e))),mw=or(F_({loader:pw},V_)),gw=()=>B_((()=>import("./pages-oldPage-personal-index.DDXLrp0O.js")),__vite__mapDeps([45,46])).then((e=>Zg(e.default||e))),vw=or(F_({loader:gw},V_)),yw=()=>B_((()=>import("./pages-oldPage-contact-index.CYzcHAt2.js")),__vite__mapDeps([47,48])).then((e=>Zg(e.default||e))),bw=or(F_({loader:yw},V_)),_w=()=>B_((()=>import("./pages-oldPage-preference-index.BdFnWjmF.js")),__vite__mapDeps([49,50])).then((e=>Zg(e.default||e))),ww=or(F_({loader:_w},V_)),xw=()=>B_((()=>import("./pages-oldPage-feedback-index.DR3wYfNS.js")),__vite__mapDeps([51,52])).then((e=>Zg(e.default||e))),kw=or(F_({loader:xw},V_)),Tw=()=>B_((()=>import("./pages-WorkModule-my-safety-index.BmZYaSsv.js")),__vite__mapDeps([53,23,24])).then((e=>Zg(e.default||e))),Sw=or(F_({loader:Tw},V_)),Cw=()=>B_((()=>import("./pages-WorkModule-my-userInfo-index.C23vx7Tw.js")),__vite__mapDeps([54,55])).then((e=>Zg(e.default||e))),Ew=or(F_({loader:Cw},V_)),Pw=()=>B_((()=>import("./pages-WorkModule-my-topUp-index.D7CiLgvA.js")),__vite__mapDeps([56,5,6,25,26,57])).then((e=>Zg(e.default||e))),Mw=or(F_({loader:Pw},V_)),$w=()=>B_((()=>import("./pages-WorkModule-my-rechargeRecord-index.94DSJ9xU.js")),__vite__mapDeps([58,19,20,3,4,7,8,59])).then((e=>Zg(e.default||e))),Ow=or(F_({loader:$w},V_)),Lw=()=>B_((()=>import("./pages-WorkModule-my-withdraw-index.6e1p7rYS.js")),__vite__mapDeps([60,30,31,61,62,63])).then((e=>Zg(e.default||e))),Iw=or(F_({loader:Lw},V_)),Rw=()=>B_((()=>import("./pages-WorkModule-my-withdrawalHistory-index.CpdP-LcY.js")),__vite__mapDeps([64,19,20,30,31,3,4,7,8,65])).then((e=>Zg(e.default||e))),Aw=or(F_({loader:Rw},V_)),Nw=()=>B_((()=>import("./pages-WorkModule-my-changePassword-index.DZk30yY5.js")),__vite__mapDeps([66,67,68,61,62,69])).then((e=>Zg(e.default||e))),Bw=or(F_({loader:Nw},V_)),jw=()=>B_((()=>import("./pages-WorkModule-my-changeFundPassword-index.Bb5MvOc7.js")),__vite__mapDeps([70,67,68,61,62,71])).then((e=>Zg(e.default||e))),Dw=or(F_({loader:jw},V_)),Fw=()=>B_((()=>import("./pages-WorkModule-my-fundRecord-index.BeOcexJm.js")),__vite__mapDeps([72,19,20,30,31,3,4,7,8,73])).then((e=>Zg(e.default||e))),Vw=or(F_({loader:Fw},V_)),Ww=()=>B_((()=>import("./pages-common-betSlip-index.BE3ZM9WO.js")),__vite__mapDeps([74,75])).then((e=>Zg(e.default||e))),zw=or(F_({loader:Ww},V_)),Hw=()=>B_((()=>import("./pages-common-customerService-index.DadkoF5v.js")),[]).then((e=>Zg(e.default||e))),qw=or(F_({loader:Hw},V_)),Uw=()=>B_((()=>import("./pages-WorkModule-bettingHistory-bettingDetail-index.C_vS_hgy.js")),__vite__mapDeps([76,23,24,5,6,1,2,77])).then((e=>Zg(e.default||e))),Xw=or(F_({loader:Uw},V_)),Yw=()=>B_((()=>import("./pages-common-sportDetail-index.DvhmkHtX.js")),__vite__mapDeps([78,3,4,1,2,5,6,7,8,79])).then((e=>Zg(e.default||e))),Gw=or(F_({loader:Yw},V_)),Jw=()=>B_((()=>import("./pages-Tabbar-Entertainment-view-history-index.y7sBV4Ux.js")),__vite__mapDeps([80,19,20,3,4,7,8,81])).then((e=>Zg(e.default||e))),Kw=or(F_({loader:Jw},V_)),Qw=()=>B_((()=>import("./pages-Tabbar-Entertainment-view-Pc28BettingHistory-index.kG4YLs21.js")),__vite__mapDeps([82,19,20,30,31,3,4,7,8,83])).then((e=>Zg(e.default||e))),Zw=or(F_({loader:Qw},V_)),ex=()=>B_((()=>import("./pages-common-AllHistory-index.D8CjGfxq.js")),__vite__mapDeps([84,19,20,30,31,3,4,1,2,7,8,85])).then((e=>Zg(e.default||e))),tx=or(F_({loader:ex},V_)),nx=()=>B_((()=>import("./pages-WorkModule-Entertainment-Detail-index.WfHTTNkM.js")),__vite__mapDeps([86,23,24,5,6,87])).then((e=>Zg(e.default||e))),ox=or(F_({loader:nx},V_));function rx(e,t){return Ma(),Ra(Pb,null,{page:xo((()=>[Va(e,F_({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/Tabbar/Home/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(z_,t)}},loader:W_,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{titleText:"主页",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/Tabbar/RollingBall/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(q_,t)}},loader:H_,meta:{navigationBar:{titleText:"滚球",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/Tabbar/SportsBetting/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(X_,t)}},loader:U_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"体育博彩",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/Tabbar/Entertainment/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(G_,t)}},loader:Y_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{titleText:"娱乐",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/Tabbar/BettingHistory/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(K_,t)}},loader:J_,meta:{navigationBar:{titleText:"投注历史",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/Tabbar/My/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Z_,t)}},loader:Q_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{titleText:"我的",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/login/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(tw,t)}},loader:ew,meta:{navigationBar:{titleText:"登录",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/register/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(ow,t)}},loader:nw,meta:{navigationBar:{titleText:"注册",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/index/example/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(aw,t)}},loader:rw,meta:{navigationBar:{titleText:"-----------示例-----------",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/index/user/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(sw,t)}},loader:iw,meta:{navigationBar:{titleText:"-----------我的-----------",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/common/web-view/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(cw,t)}},loader:lw,meta:{navigationBar:{titleText:"web-view",type:"default"},isNVue:!1}},{path:"/pages/common/rich-view/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(dw,t)}},loader:uw,meta:{navigationBar:{titleText:"-----------rich-view-----------",type:"default"},isNVue:!1}},{path:"/pages/tips/middleware/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(hw,t)}},loader:fw,meta:{navigationBar:{titleText:"-----------中间件-----------",type:"default"},isNVue:!1}},{path:"/pages/template/paging/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(mw,t)}},loader:pw,meta:{navigationBar:{titleText:"-----------通用列表-----------",type:"default"},isNVue:!1}},{path:"/pages/oldPage/personal/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(vw,t)}},loader:gw,meta:{navigationBar:{titleText:"-----------个人资料-----------",type:"transparent",coverage:"132px"},isNVue:!1}},{path:"/pages/oldPage/contact/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(bw,t)}},loader:yw,meta:{navigationBar:{titleText:"-----------联系我们-----------",type:"transparent",coverage:"132px"},isNVue:!1}},{path:"/pages/oldPage/preference/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(ww,t)}},loader:_w,meta:{navigationBar:{titleText:"-----------偏好设置-----------",type:"default"},isNVue:!1}},{path:"/pages/oldPage/feedback/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(kw,t)}},loader:xw,meta:{navigationBar:{titleText:"-----------意见反馈-----------",type:"transparent",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/my/safety/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Sw,t)}},loader:Tw,meta:{titleNView:!1,navigationBar:{titleText:"安全",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/my/userInfo/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Ew,t)}},loader:Cw,meta:{titleNView:!1,navigationBar:{titleText:"用户信息",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/my/topUp/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Mw,t)}},loader:Pw,meta:{titleNView:!1,navigationBar:{titleText:"充值",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/my/rechargeRecord/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Ow,t)}},loader:$w,meta:{titleNView:!1,navigationBar:{titleText:"充值记录",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/my/withdraw/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Iw,t)}},loader:Lw,meta:{titleNView:!1,navigationBar:{titleText:"提现",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/my/withdrawalHistory/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Aw,t)}},loader:Rw,meta:{titleNView:!1,navigationBar:{titleText:"提现记录",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/my/changePassword/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Bw,t)}},loader:Nw,meta:{titleNView:!1,navigationBar:{titleText:"修改密码",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/my/changeFundPassword/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Dw,t)}},loader:jw,meta:{titleNView:!1,navigationBar:{titleText:"修改资金密码",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/my/fundRecord/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Vw,t)}},loader:Fw,meta:{titleNView:!1,navigationBar:{titleText:"资金记录",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/common/betSlip/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(zw,t)}},loader:Ww,meta:{titleNView:!1,navigationBar:{titleText:"投注单",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/common/customerService/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(qw,t)}},loader:Hw,meta:{titleNView:!1,navigationBar:{titleText:"客服",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/bettingHistory/bettingDetail/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Xw,t)}},loader:Uw,meta:{titleNView:!1,navigationBar:{titleText:"投注单详情",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/common/sportDetail/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Gw,t)}},loader:Yw,meta:{titleNView:!1,navigationBar:{titleText:"赛事详情",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/Tabbar/Entertainment/view/history/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Kw,t)}},loader:Jw,meta:{titleNView:!1,navigationBar:{titleText:"往期历史",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/Tabbar/Entertainment/view/Pc28BettingHistory/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(Zw,t)}},loader:Qw,meta:{titleNView:!1,navigationBar:{titleText:"投注历史",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/common/AllHistory/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(tx,t)}},loader:ex,meta:{titleNView:!1,navigationBar:{titleText:"全部投注单",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}},{path:"/pages/WorkModule/Entertainment/Detail/index",component:{setup(){const e=Gg(),t=e&&e.$route&&e.$route.query||{};return()=>rx(ox,t)}},loader:nx,meta:{titleNView:!1,navigationBar:{titleText:"pc28详情",type:"transparent",style:"custom",coverage:"132px"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const ax={install:(e,t)=>{var n,o,r;try{if(t){if(null==t?void 0:t.theme){const e=t.theme;if(Array.isArray(e))x_(e);else if("object"==typeof e&&e.themes)x_(e.themes,{defaultTheme:e.defaultTheme,defaultDarkMode:e.defaultDarkMode},e.isForce);else{const t=Fb[0];if(t){x_([{...t,color:{...t.color,...e}}],t.name)}}}else x_();try{if(null==t?void 0:t.locale){const e=t.locale;"string"==typeof e?Gb.initLocales(void 0,e):Array.isArray(e)?Gb.initLocales(e):e&&"object"==typeof e?Gb.initLocales(e.locales,e.defaultLocale,e.isForce):Gb.initLocales()}else Gb.initLocales()}catch(a){console.error("[install locales] Error:",a)}d_.setDebugMode((null==(n=null==t?void 0:t.log)?void 0:n.debug)??!1).setPrefix((null==(o=null==t?void 0:t.log)?void 0:o.prefix)||"").setShowCallerInfo((null==(r=null==t?void 0:t.log)?void 0:r.showCallerInfo)??!0)}else x_(),Gb.initLocales()}catch(i){console.error("[install options] Error:",i)}uni.$u=$_,e.config.globalProperties.$u=$_}},ix=R_(tr({name:"u-icon",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"},props:{...$b,name:{type:String,default:""},color:{type:String,default:""},size:{type:[Number,String],default:"inherit"},bold:{type:Boolean,default:!1},index:{type:[Number,String],default:""},hoverClass:{type:String,default:""},customPrefix:{type:String,default:"uicon"},label:{type:[String,Number],default:""},labelPos:{type:String,default:"right"},labelSize:{type:[String,Number],default:"28"},labelColor:{type:String,default:"var(--u-content-color)"},marginLeft:{type:[String,Number],default:"6"},marginTop:{type:[String,Number],default:"6"},marginRight:{type:[String,Number],default:"6"},marginBottom:{type:[String,Number],default:"6"},space:{type:[String,Number],default:""},imgMode:{type:String,default:"widthFix"},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},top:{type:[String,Number],default:0},showDecimalIcon:{type:Boolean,default:!1},inactiveColor:{type:String,default:"var(--u-divider-color)"},percent:{type:[Number,String],default:"50"}},emits:["click","touchstart"],setup(e,{emit:t}){const n=t,o=e,r=di((()=>{let e=[];return e.push(o.customPrefix+"-"+o.name),"uicon"===o.customPrefix?e.push("u-iconfont"):e.push(o.customPrefix),o.showDecimalIcon&&o.inactiveColor&&$_.config.type.includes(o.inactiveColor)?e.push("u-icon__icon--"+o.inactiveColor):o.color&&$_.config.type.includes(o.color)&&e.push("u-icon__icon--"+o.color),e})),a=di((()=>{const e={fontSize:"inherit"===o.size?"inherit":$_.addUnit(o.size),fontWeight:o.bold?"bold":"normal",top:$_.addUnit(o.top)};return o.showDecimalIcon&&o.inactiveColor&&!$_.config.type.includes(o.inactiveColor)?e.color=o.inactiveColor:o.color&&!$_.config.type.includes(o.color)&&(e.color=o.color),e})),i=di((()=>-1!==o.name.indexOf("/"))),s=di((()=>({width:o.width?$_.addUnit(o.width):$_.addUnit(o.size),height:o.height?$_.addUnit(o.height):$_.addUnit(o.size)}))),l=di((()=>{const e={fontSize:"inherit"===o.size?"inherit":$_.addUnit(o.size),fontWeight:o.bold?"bold":"normal",top:$_.addUnit(o.top),width:o.percent+"%"};return o.color&&!$_.config.type.includes(o.color)&&(e.color=o.color),e})),c=di((()=>{let e=[];return e.push(o.customPrefix+"-"+o.name),"uicon"===o.customPrefix?e.push("u-iconfont"):e.push(o.customPrefix),o.color&&$_.config.type.includes(o.color)?e.push("u-icon__icon--"+o.color):e.push("u-icon__icon--primary"),e})),u=di((()=>({color:o.labelColor,fontSize:$_.addUnit(o.labelSize),marginLeft:"right"===o.labelPos?$_.addUnit(o.space||o.marginLeft):0,marginTop:"bottom"===o.labelPos?$_.addUnit(o.space||o.marginTop):0,marginRight:"left"===o.labelPos?$_.addUnit(o.space||o.marginRight):0,marginBottom:"top"===o.labelPos?$_.addUnit(o.space||o.marginBottom):0})));function d(e){n("click",o.index||e)}function f(e){n("touchstart",o.index||e)}return(e,t)=>{const n=om,h=bg,p=Tg;return Ma(),Ra(p,{style:He(Wn($_).toStyle(e.customStyle)),class:qe(["u-icon",["u-icon--"+e.labelPos,e.customClass]]),onClick:d},{default:xo((()=>[i.value?(Ma(),Ra(n,{key:0,class:"u-icon__img",src:o.name,mode:e.imgMode,style:He([s.value])},null,8,["src","mode","style"])):(Ma(),Ra(h,{key:1,class:qe(["u-icon__icon",r.value]),style:He(Wn($_).toStyle(a.value)),"hover-class":e.hoverClass,onTouchstart:f},{default:xo((()=>[e.showDecimalIcon?(Ma(),Ra(h,{key:0,style:He(Wn($_).toStyle(l.value)),class:qe([c.value,"u-icon__decimal"]),"hover-class":e.hoverClass},null,8,["style","class","hover-class"])):Ha("",!0)])),_:1},8,["class","style","hover-class"])),""!==e.label?(Ma(),Ra(h,{key:2,class:"u-icon__label",style:He(u.value)},{default:xo((()=>[za(X(e.label),1)])),_:1},8,["style"])):Ha("",!0)])),_:1},8,["style","class"])}}}),[["__scopeId","data-v-32696bb1"]]),sx=R_(tr({name:"u-mask",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"},props:{...$b,show:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:""},zoom:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},maskClickAble:{type:Boolean,default:!0}},emits:["click"],setup(e,{emit:t}){const n=e,o=t,r=jn({transform:""});Bo((()=>n.show),(e=>{e&&n.zoom?r.value.transform="scale(1, 1)":!e&&n.zoom&&(r.value.transform="scale(1.2, 1.2)")}));const a=di((()=>{let e={backgroundColor:"rgba(0, 0, 0, 0.6)"};return n.show?e.zIndex=n.zIndex?n.zIndex:$_.zIndex.mask:e.zIndex=-1,e.transition=`all ${Number(n.duration)/1e3}s ease-in-out`,e}));function i(){n.maskClickAble&&o("click")}return(e,t)=>{const o=Tg;return Ma(),Ra(o,{class:qe(["u-mask",[{"u-mask-zoom":n.zoom,"u-mask-show":n.show},e.customClass]]),"hover-stop-propagation":"",style:He(Wn($_).toStyle(a.value,r.value,e.customStyle)),onClick:i,onTouchmove:ls((()=>{}),["stop","prevent"])},{default:xo((()=>[Lr(e.$slots,"default",{},void 0,!0)])),_:3},8,["style","class"])}}}),[["__scopeId","data-v-9c5f5185"]]),lx=R_(tr({name:"u-popup",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"},props:{...$b,show:{type:Boolean,default:!1},mode:{type:String,default:"left"},mask:{type:Boolean,default:!0},length:{type:[Number,String],default:"auto"},zoom:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},modelValue:{type:Boolean,default:!1},popup:{type:Boolean,default:!0},borderRadius:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:s_.popup},closeable:{type:Boolean,default:!1},closeIcon:{type:String,default:"close"},closeIconPos:{type:String,default:"top-right"},closeIconColor:{type:String,default:"var(--u-tips-color)"},closeIconSize:{type:[String,Number],default:"30"},width:{type:String,default:""},height:{type:String,default:""},negativeTop:{type:[String,Number],default:0},maskCustomStyle:{type:Object,default:()=>({})},duration:{type:[String,Number],default:250}},emits:["update:modelValue","open","close"],setup(e,{emit:t}){const n=e,o=t,r=jn(!1),a=jn(!1),i=jn(null),s=jn(!1),l=di((()=>{let e={};if("left"==n.mode||"right"==n.mode?e={width:n.width?d(n.width):d(n.length),height:"100%",transform:`translate3D(${"left"==n.mode?"-100%":"100%"},0px,0px)`}:"top"!=n.mode&&"bottom"!=n.mode||(e={width:"100%",height:n.height?d(n.height):d(n.length),transform:`translate3D(0px,${"top"==n.mode?"-100%":"100%"},0px)`}),e.zIndex=u.value,n.borderRadius){switch(n.mode){case"left":e.borderRadius=`0 ${n.borderRadius}rpx ${n.borderRadius}rpx 0`;break;case"top":e.borderRadius=`0 0 ${n.borderRadius}rpx ${n.borderRadius}rpx`;break;case"right":e.borderRadius=`${n.borderRadius}rpx 0 0 ${n.borderRadius}rpx`;break;case"bottom":e.borderRadius=`${n.borderRadius}rpx ${n.borderRadius}rpx 0 0`}e.overflow="hidden"}return n.duration&&(e.transition=`all ${Number(n.duration)/1e3}s linear`),e})),c=di((()=>{let e={};return e.width=n.width?d(n.width):d(n.length),e.height=n.height?d(n.height):"auto",e.zIndex=u.value,e.marginTop=`-${$_.addUnit(n.negativeTop)}`,n.borderRadius&&(e.borderRadius=`${n.borderRadius}rpx`,e.overflow="hidden"),e})),u=di((()=>n.zIndex?n.zIndex:$_.zIndex.popup));function d(e){return/(%|px|rpx|auto)$/.test(String(e))?e:e+"rpx"}function f(){h()}function h(){s.value=!0,m("showDrawer","visibleSync",!1)}function p(){m("visibleSync","showDrawer",!0)}function m(e,t,s){!0===n.popup&&o("update:modelValue",s),("showDrawer"===e?a:r).value=s,i.value=s?setTimeout((()=>{("showDrawer"===t?a:r).value=s,o(s?"open":"close")}),50):setTimeout((()=>{("showDrawer"===t?a:r).value=s,o(s?"open":"close")}),Number(n.duration))}return Bo((()=>n.modelValue),(e=>{e?p():s.value||h(),s.value=!1})),wr((()=>{n.modelValue&&p()})),(e,t)=>{const o=sx,i=ix,s=Tg,d=dg;return r.value?(Ma(),Ra(s,{key:0,class:qe(["u-drawer",e.customClass]),style:He(Wn($_).toStyle({zIndex:Number(u.value)-1},e.customStyle)),"hover-stop-propagation":""},{default:xo((()=>[Va(o,{duration:e.duration,"custom-style":e.maskCustomStyle,maskClickAble:e.maskCloseAble,"z-index":Number(u.value)-2,show:a.value&&e.mask,onClick:f},null,8,["duration","custom-style","maskClickAble","z-index","show"]),Va(s,{class:qe(["u-drawer-content",[e.safeAreaInsetBottom?"safe-area-inset-bottom":"","u-drawer-"+e.mode,a.value?"u-drawer-content-visible":"",e.zoom&&"center"==e.mode?"u-animation-zoom":""]]),onClick:t[2]||(t[2]=t=>{"center"==e.mode&&n.maskCloseAble&&h()}),onTouchmove:t[3]||(t[3]=ls((()=>{}),["stop","prevent"])),style:He([l.value])},{default:xo((()=>["center"==e.mode?(Ma(),Ra(s,{key:0,class:"u-mode-center-box",onClick:t[0]||(t[0]=ls((()=>{}),["stop","prevent"])),onTouchmove:t[1]||(t[1]=ls((()=>{}),["stop","prevent"])),style:He([c.value])},{default:xo((()=>[e.closeable?(Ma(),Ra(s,{key:0,onClick:h,class:qe(["u-close",["u-close--"+e.closeIconPos]])},{default:xo((()=>[Va(i,{name:e.closeIcon,color:e.closeIconColor,size:e.closeIconSize},null,8,["name","color","size"])])),_:1},8,["class"])):Ha("",!0),Va(d,{class:"u-drawer__scroll-view","scroll-y":!0},{default:xo((()=>[Lr(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3},8,["style"])):(Ma(),Ra(d,{key:1,class:"u-drawer__scroll-view","scroll-y":!0},{default:xo((()=>[Lr(e.$slots,"default",{},void 0,!0)])),_:3})),"center"!=e.mode&&e.closeable?(Ma(),Ra(s,{key:2,onClick:h,class:qe(["u-close",["u-close--"+e.closeIconPos]])},{default:xo((()=>[Va(i,{name:e.closeIcon,color:e.closeIconColor,size:e.closeIconSize},null,8,["name","color","size"])])),_:1},8,["class"])):Ha("",!0)])),_:3},8,["class","style"])])),_:3},8,["style","class"])):Ha("",!0)}}}),[["__scopeId","data-v-e3d0f80a"]]),cx=R_(tr({name:"u-loading",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"},props:{...$b,mode:{type:String,default:"circle"},color:{type:String,default:"var(--u-light-color)"},size:{type:[String,Number],default:"34"},show:{type:Boolean,default:!0}},setup(e){const t=e,n=di((()=>{let e={};return e.width=t.size+"rpx",e.height=t.size+"rpx","circle"===t.mode&&(e.borderColor=`var(--u-divider-color) var(--u-divider-color) var(--u-divider-color) ${t.color?t.color:"var(--u-light-color)"}`),e}));return(e,t)=>{const o=Tg;return e.show?(Ma(),Ra(o,{key:0,class:qe(["u-loading",["circle"===e.mode?"u-loading-circle":"u-loading-flower",e.customClass]]),style:He(Wn($_).toStyle(n.value,e.customStyle))},null,8,["class","style"])):Ha("",!0)}}}),[["__scopeId","data-v-dab11375"]]),{t:ux}=P_(),dx=R_(tr({name:"u-modal",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"},props:{...$b,modelValue:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:""},title:{type:String,default:()=>ux("uModal.title")},width:{type:[Number,String],default:600},content:{type:String,default:""},showTitle:{type:Boolean,default:!0},showConfirmButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!1},confirmText:{type:String,default:()=>ux("uModal.confirmText")},cancelText:{type:String,default:()=>ux("uModal.cancelText")},confirmColor:{type:String,default:()=>Jb("primary")},cancelColor:{type:String,default:()=>Jb("contentColor")},borderRadius:{type:[Number,String],default:16},titleStyle:{type:Object,default:()=>({})},contentStyle:{type:Object,default:()=>({})},cancelStyle:{type:Object,default:()=>({})},confirmStyle:{type:Object,default:()=>({})},zoom:{type:Boolean,default:!0},asyncClose:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!1},negativeTop:{type:[String,Number],default:0},global:{type:Boolean,default:!1},page:{type:Boolean,default:!1}},emits:["update:modelValue","confirm","cancel"],setup(e,{expose:t,emit:n}){const o=e,r=n,a=jr(),i=jn(!1),s=di((()=>o.global)),l=di((()=>o.page)),c=di((()=>s.value?"uview-pro:u-modal:global:show":l.value?"uview-pro:u-modal:show":"")),u=di((()=>s.value?"uview-pro:u-modal:global:hide":l.value?"uview-pro:u-modal:hide":"")),d=di((()=>s.value?"uview-pro:u-modal:global:clear-loading":l.value?"uview-pro:u-modal:clear-loading":""));let f=null,h=null;const p=["title","content","showTitle","showConfirmButton","showCancelButton","confirmText","cancelText","confirmColor","cancelColor","confirmStyle","cancelStyle","titleStyle","contentStyle","asyncClose","borderRadius","width","zoom","maskCloseAble","negativeTop","zIndex","customStyle","customClass"],m=jn({}),g=jn(!1),v=di((()=>{if(Object.keys(m.value).length>0){const e={};for(const t of p)e[t]=m.value[t]??o[t];return e.zIndex=m.value.zIndex??o.zIndex??$_.zIndex.popup,e}return o})),y=di((()=>Object.assign({color:v.value.cancelColor},v.value.cancelStyle))),b=di((()=>Object.assign({color:v.value.confirmColor},v.value.confirmStyle))),_=di((()=>v.value.zIndex??$_.zIndex.popup)),w=di((()=>s.value||l.value)),x=di((()=>w.value?g.value:o.modelValue)),k=di({get:()=>x.value,set:e=>{w.value?g.value=e:r("update:modelValue",e)}});function T(){const e=f;v.value.asyncClose?i.value=!0:(k.value=!1,setTimeout((()=>$()),300)),r("confirm"),null==e||e()}function S(){const e=h;setTimeout((()=>$()),300),r("cancel"),k.value=!1,null==e||e(),setTimeout((()=>{i.value=!1}),300)}function C(){k.value=!1,$()}function E(){i.value=!1}function P(e){f=e.onConfirm??null,h=e.onCancel??null;const{onConfirm:t,onCancel:n,...o}=e;m.value=o,g.value=!0}function M(){g.value=!1,$()}function $(){m.value={},f=null,h=null}return Bo((()=>k.value),(e=>{!0===e&&(i.value=!1)})),wr((()=>{c.value&&ff&&ff(c.value,P),u.value&&ff&&ff(u.value,M),d.value&&ff&&ff(d.value,E)})),Tr((()=>{c.value&&hf&&hf(c.value,P),u.value&&hf&&hf(u.value,M),d.value&&hf&&hf(d.value,E)})),t({clearLoading:E}),(e,t)=>{const n=Tg,o=cx,r=lx;return Ma(),Ra(n,null,{default:xo((()=>[Va(r,{modelValue:k.value,"onUpdate:modelValue":t[0]||(t[0]=e=>k.value=e),mode:"center",zoom:v.value.zoom,popup:!1,"z-index":_.value,length:v.value.width,"mask-close-able":v.value.maskCloseAble,"border-radius":v.value.borderRadius,"negative-top":v.value.negativeTop,"custom-class":v.value.customClass,onClose:C},{default:xo((()=>[Va(n,{class:"u-model",style:He(Wn($_).toStyle(v.value.customStyle))},{default:xo((()=>[v.value.showTitle?(Ma(),Ra(n,{key:0,class:"u-model__title u-line-1",style:He(Wn($_).toStyle(v.value.titleStyle))},{default:xo((()=>[za(X(v.value.title),1)])),_:1},8,["style"])):Ha("",!0),Va(n,{class:"u-model__content"},{default:xo((()=>[Wn(a).default?(Ma(),Ra(n,{key:0,style:He(Wn($_).toStyle(v.value.contentStyle))},{default:xo((()=>[Lr(e.$slots,"default",{},void 0,!0)])),_:3},8,["style"])):(Ma(),Ra(n,{key:1,class:"u-model__content__message",style:He(Wn($_).toStyle(v.value.contentStyle))},{default:xo((()=>[za(X(v.value.content),1)])),_:1},8,["style"]))])),_:3}),v.value.showCancelButton||v.value.showConfirmButton?(Ma(),Ra(n,{key:1,class:"u-model__footer u-border-top"},{default:xo((()=>[v.value.showCancelButton?(Ma(),Ra(n,{key:0,"hover-stay-time":100,"hover-class":"u-model__btn--hover",class:"u-model__footer__button",style:He(Wn($_).toStyle(y.value)),onClick:S},{default:xo((()=>[za(X(v.value.cancelText),1)])),_:1},8,["style"])):Ha("",!0),v.value.showConfirmButton||Wn(a)["confirm-button"]?(Ma(),Ra(n,{key:1,class:"u-model__footer__button hairline-left","hover-stay-time":100,"hover-class":v.value.asyncClose?"none":"u-model__btn--hover",style:He([b.value]),onClick:T},{default:xo((()=>[Wn(a)["confirm-button"]?Lr(e.$slots,"confirm-button",{key:0},void 0,!0):(Ma(),Ia(ka,{key:1},[i.value?(Ma(),Ra(o,{key:0,mode:"circle",color:v.value.confirmColor},null,8,["color"])):(Ma(),Ia(ka,{key:1},[za(X(v.value.confirmText),1)],64))],64))])),_:3},8,["hover-class","style"])):Ha("",!0)])),_:3})):Ha("",!0)])),_:3},8,["style"])])),_:3},8,["modelValue","zoom","z-index","length","mask-close-able","border-radius","negative-top","custom-class"])])),_:3})}}}),[["__scopeId","data-v-5f3d127c"]]),{t:fx}=P_(),hx=R_(tr({name:"u-input",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"},props:{...$b,modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},inputAlign:{type:String,default:"left"},placeholder:{type:String,default:()=>fx("uInput.placeholder")},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},count:{type:Boolean,default:!1},placeholderStyle:{type:String,default:"color: var(--u-light-color);"},confirmType:{type:String,default:"done"},fixed:{type:Boolean,default:!1},focus:{type:Boolean,default:!1},passwordIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},borderColor:{type:String,default:"var(--u-border-color)"},autoHeight:{type:Boolean,default:!0},selectOpen:{type:Boolean,default:!1},height:{type:[Number,String],default:""},clearable:{type:Boolean,default:!0},cursorSpacing:{type:[Number,String],default:0},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},trim:{type:Boolean,default:!0},showConfirmbar:{type:Boolean,default:!0},adjustPosition:{type:Boolean,default:!0},validateState:{type:Boolean,default:!1}},emits:["update:modelValue","input","blur","focus","confirm","click"],setup(e,{expose:t,emit:n}){const o=e,r=n,{emitToParent:a}=m_("u-input","u-form-item"),i=jn(o.validateState),s=jn(!1),l=jn(!1);jn("");const c=di((()=>void 0===o.modelValue||null===o.modelValue?"":String(o.modelValue)));Bo((()=>c.value),((e,t)=>{e!=t&&"select"==o.type&&m({detail:{value:e}})})),Bo((()=>o.validateState),(e=>{i.value=e}));const u=di((()=>Number(o.maxlength))),d=di((()=>{let e={};return e.minHeight=o.height?o.height+"rpx":"textarea"==o.type?"100rpx":"70rpx",$_.toStyle(e,o.customStyle)})),f=di((()=>Number(o.cursorSpacing))),h=di((()=>String(o.selectionStart))),p=di((()=>String(o.selectionEnd)));function m(e){let t=e.detail.value;o.trim&&(t=$_.trim(t)),r("update:modelValue",t),r("input",t),setTimeout((()=>{a("onFormChange",t)}),40)}function g(e){setTimeout((()=>{s.value=!1}),100),setTimeout((()=>{let e=c.value;r("blur",e),a("onFormBlur",e)}),40)}function v(e){s.value=!0,r("focus",e.detail.value)}function y(e){r("confirm",e.detail.value)}function b(e){try{e.stopPropagation()}catch(t){console.log(t)}m({detail:{value:""}})}function _(){r("click")}return t({onFormItemError:function(e){i.value=e}}),(e,t)=>{const n=kg,r=Tm,a=Tg,s=ix,w=bg;return Ma(),Ra(a,{class:qe(["u-input",[{"u-input--border":e.border,"u-input--error":i.value},e.customClass]]),style:He({padding:"textarea"===e.type?e.border?"20rpx":"0":`0 ${e.border?20:0}rpx`,borderColor:e.borderColor,textAlign:e.inputAlign}),onClick:ls(_,["stop"])},{default:xo((()=>["textarea"==e.type?(Ma(),Ra(n,{key:0,class:"u-input__input u-input__textarea",style:He(d.value),value:c.value,placeholder:e.placeholder,placeholderStyle:e.placeholderStyle,disabled:e.disabled,maxlength:u.value,fixed:e.fixed,focus:e.focus,autoHeight:e.autoHeight,"selection-end":Number(p.value),"selection-start":Number(h.value),"cursor-spacing":f.value,"show-confirm-bar":e.showConfirmbar,"adjust-position":e.adjustPosition,onInput:m,onBlur:g,onFocus:v,onConfirm:y},null,8,["style","value","placeholder","placeholderStyle","disabled","maxlength","fixed","focus","autoHeight","selection-end","selection-start","cursor-spacing","show-confirm-bar","adjust-position"])):(Ma(),Ra(r,{key:1,class:"u-input__input",type:"password"==e.type?"text":e.type,style:He(d.value),value:c.value,password:"password"==e.type&&!l.value,placeholder:e.placeholder,placeholderStyle:e.placeholderStyle,disabled:e.disabled||"select"===e.type,maxlength:u.value,focus:e.focus,confirmType:e.confirmType,"cursor-spacing":f.value,"selection-end":Number(p.value),"selection-start":Number(h.value),"show-confirm-bar":e.showConfirmbar,"adjust-position":e.adjustPosition,onFocus:v,onBlur:g,onInput:m,onConfirm:y},null,8,["type","style","value","password","placeholder","placeholderStyle","disabled","maxlength","focus","confirmType","cursor-spacing","selection-end","selection-start","show-confirm-bar","adjust-position"])),"select"===e.type?(Ma(),Ra(a,{key:2,class:"u-input__select-overlay",onClick:ls(_,["stop"])})):Ha("",!0),Va(a,{class:"u-input__right-icon u-flex"},{default:xo((()=>[e.clearable&&""!==c.value&&!e.disabled?(Ma(),Ra(a,{key:0,class:"u-input__right-icon__clear u-input__right-icon__item",onClick:ls(b,["stop"])},{default:xo((()=>[Va(s,{size:"32",name:"close-circle-fill",color:"var(--u-light-color)"})])),_:1})):Ha("",!0),e.passwordIcon&&"password"==e.type?(Ma(),Ra(a,{key:1,class:"u-input__right-icon__clear u-input__right-icon__item"},{default:xo((()=>[Va(s,{size:"32",name:l.value?"eye-fill":"eye",color:"var(--u-light-color)",onClick:t[0]||(t[0]=e=>l.value=!l.value)},null,8,["name"])])),_:1})):Ha("",!0),"select"==e.type?(Ma(),Ra(a,{key:2,class:qe(["u-input__right-icon--select u-input__right-icon__item",{"u-input__right-icon--select--reverse":e.selectOpen}])},{default:xo((()=>[Va(s,{name:"arrow-down-fill",size:"26",color:"var(--u-light-color)"})])),_:1},8,["class"])):Ha("",!0)])),_:1}),"textarea"===o.type&&o.count?(Ma(),Ra(w,{key:3,class:"u-input__count",style:He({"background-color":o.disabled?"transparent":"var(--u-bg-white)"})},{default:xo((()=>[za(X(c.value.length)+"/"+X(o.maxlength),1)])),_:1},8,["style"])):Ha("",!0)])),_:1},8,["class","style"])}}}),[["__scopeId","data-v-ea081df1"]]),px=R_(tr({name:"u-navbar",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"},props:{height:{type:[String,Number],default:""},backIconColor:{type:String,default:"var(--u-content-color)"},backIconName:{type:String,default:"nav-back"},backIconSize:{type:[String,Number],default:"44"},backText:{type:String,default:""},backTextStyle:{type:Object,default:()=>({color:"var(--u-content-color)"})},title:{type:String,default:""},titleWidth:{type:[String,Number],default:"250"},titleColor:{type:String,default:"var(--u-content-color)"},titleBold:{type:Boolean,default:!1},titleSize:{type:[String,Number],default:32},isBack:{type:[Boolean,String],default:!0},background:{type:Object,default:()=>({background:"var(--u-bg-white)"})},isFixed:{type:Boolean,default:!0},immersive:{type:Boolean,default:!1},borderBottom:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:s_.navbar},customBack:{type:Function,default:null}},setup(e){const t=e,n=Sv(),o=jn(0);o.value=n.statusBarHeight||0;const r=di((()=>t.height?t.height:44)),a=di((()=>Number(r.value)+Number(o.value))),i=di((()=>{let e={};return e.height=String(r.value)+"px",e})),s=di((()=>{let e={};return e.zIndex=t.zIndex?t.zIndex:$_.zIndex.navbar,Object.assign(e,t.background),e})),l=di((()=>{let e={};return e.left=(n.windowWidth-uf(Number(t.titleWidth)))/2+"px",e.right=(n.windowWidth-uf(Number(t.titleWidth)))/2+"px",e.width=uf(Number(t.titleWidth))+"px",e}));function c(){"function"==typeof t.customBack?t.customBack():hy()}return(e,n)=>{const r=Tg,u=ix;return Ma(),Ra(r,null,{default:xo((()=>[Va(r,{class:qe(["u-navbar",{"u-navbar-fixed":t.isFixed,"u-border-bottom":t.borderBottom}]),style:He(s.value)},{default:xo((()=>[Va(r,{class:"u-status-bar",style:He({height:o.value+"px"})},null,8,["style"]),Va(r,{class:"u-navbar-inner",style:He(i.value)},{default:xo((()=>[t.isBack?(Ma(),Ra(r,{key:0,class:"u-back-wrap",onClick:c},{default:xo((()=>[Va(r,{class:"u-icon-wrap"},{default:xo((()=>[Va(u,{name:t.backIconName,color:t.backIconColor,size:t.backIconSize},null,8,["name","color","size"])])),_:1}),t.backText?(Ma(),Ra(r,{key:0,class:"u-icon-wrap u-back-text u-line-1",style:He(t.backTextStyle)},{default:xo((()=>[za(X(t.backText),1)])),_:1},8,["style"])):Ha("",!0)])),_:1})):Ha("",!0),Va(r,{class:"u-slot-left"},{default:xo((()=>[Lr(e.$slots,"left",{},void 0,!0)])),_:3}),t.title?(Ma(),Ra(r,{key:1,class:"u-navbar-content-title",style:He(l.value)},{default:xo((()=>[Va(r,{class:"u-title u-line-1",style:He({color:t.titleColor,fontSize:t.titleSize+"rpx",fontWeight:t.titleBold?"bold":"normal"})},{default:xo((()=>[za(X(t.title),1)])),_:1},8,["style"])])),_:1},8,["style"])):Ha("",!0),Va(r,{class:"u-slot-content"},{default:xo((()=>[Lr(e.$slots,"default",{},void 0,!0)])),_:3}),Va(r,{class:"u-slot-right"},{default:xo((()=>[Lr(e.$slots,"right",{},void 0,!0)])),_:3})])),_:3},8,["style"])])),_:3},8,["style","class"]),t.isFixed&&!t.immersive?(Ma(),Ra(r,{key:0,class:"u-navbar-placeholder",style:He({width:"100%",height:`${Number(a.value)}px`})},null,8,["style"])):Ha("",!0)])),_:3})}}}),[["__scopeId","data-v-38329c19"]]),mx=R_(tr({name:"u-button",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"},props:{...$b,hairLine:{type:Boolean,default:!0},type:{type:String,default:"default"},size:{type:String,default:"default"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},scope:{type:String,default:""},openType:{type:String,default:""},formType:{type:String,default:""},appParameter:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},lang:{type:String,default:"en"},sessionFrom:{type:String,default:""},sendMessageTitle:{type:String,default:""},sendMessagePath:{type:String,default:""},sendMessageImg:{type:String,default:""},showMessageCard:{type:Boolean,default:!1},hoverBgColor:{type:String,default:""},rippleBgColor:{type:String,default:""},ripple:{type:Boolean,default:!1},hoverClass:{type:String,default:""},dataName:{type:String,default:""},throttleTime:{type:[String,Number],default:0},hoverStartTime:{type:[String,Number],default:20},hoverStayTime:{type:[String,Number],default:150}},emits:["click","getuserinfo","contact","getphonenumber","error","launchapp","opensetting","chooseavatar","agreeprivacyauthorization"],setup(e,{emit:t}){const n=t,o=e,r=jn(0),a=jn(0),i=jn({}),s=jn(!1),l=di((()=>{if(o.loading||o.disabled||o.ripple)return"";if(o.hoverClass)return o.hoverClass;let e="";return e=o.plain?"u-"+o.type+"-plain-hover":"u-"+o.type+"-hover",e})),c=di((()=>["primary","success","error","warning"].indexOf(o.type)>=0&&!o.plain?"":"u-hairline-border"));function u(e){!0!==o.loading&&!0!==o.disabled&&(o.ripple&&(s.value=!1,io((()=>{!function(e){new Promise((e=>{let t="";t=Nf().in(null),t.select(".u-btn").boundingClientRect(),t.exec((t=>{e(t)}))})).then((t=>{let n=t[0];if(!n.width||!n.width)return;if(n.targetWidth=n.height>n.width?n.height:n.width,!n.targetWidth)return;i.value=n;let o="",l="";o=e.touches[0].clientX,l=e.touches[0].clientY,r.value=Number(l)-n.top-n.targetWidth/2,a.value=Number(o)-n.left-n.targetWidth/2,io((()=>{s.value=!0}))}))}(e)}))),n("click",e))}function d(e){n("getphonenumber",e)}function f(e){n("getuserinfo",e)}function h(e){n("error",e)}function p(e){n("opensetting",e)}function m(e){n("launchapp",e)}function g(e){"phoneNumber"===o.scope?d(e):"userInfo"===o.scope&&f(e)}function v(e){n("contact",e)}function y(e){n("chooseavatar",e)}function b(e){n("agreeprivacyauthorization",e)}return(e,t)=>{const n=Tg,_=md;return Ma(),Ra(_,{id:"u-wave-btn",class:qe(["u-btn u-line-1 u-fix-ios-appearance",["u-size-"+e.size,e.plain?"u-btn--"+e.type+"--plain":"",e.loading?"u-loading":"","circle"===e.shape?"u-round-circle":"",e.hairLine?c.value:"u-btn--bold-border","u-btn--"+e.type,e.disabled?`u-btn--${e.type}--disabled`:"",e.customClass]]),"hover-start-time":Number(e.hoverStartTime),"hover-stay-time":Number(e.hoverStayTime),disabled:e.disabled,"form-type":e.formType,"open-type":e.disabled||e.loading?void 0:e.openType,"app-parameter":e.appParameter,"hover-stop-propagation":e.hoverStopPropagation,"send-message-title":e.sendMessageTitle,"send-message-path":e.sendMessagePath,lang:e.lang,"data-name":e.dataName,"session-from":e.sessionFrom,"send-message-img":e.sendMessageImg,"show-message-card":e.showMessageCard,onGetAuthorize:g,onGetuserinfo:f,onContact:v,onGetphonenumber:d,onError:h,onLaunchapp:m,onOpensetting:p,onChooseavatar:y,onAgreeprivacyauthorization:b,style:He(Wn($_).toStyle({overflow:e.ripple?"hidden":"visible"},e.customStyle)),onClick:t[0]||(t[0]=ls((e=>{return t=e,void(Number(o.throttleTime)?$_.throttle((()=>{u(t)}),Number(o.throttleTime)):u(t));var t}),["stop"])),"hover-class":l.value,loading:e.loading},{default:xo((()=>[Lr(e.$slots,"default",{},void 0,!0),e.ripple?(Ma(),Ra(n,{key:0,class:qe(["u-wave-ripple",[s.value?"u-wave-active":""]]),style:He({top:r.value+"px",left:a.value+"px",width:i.value.targetWidth+"px",height:i.value.targetWidth+"px","background-color":e.rippleBgColor||"rgba(0, 0, 0, 0.15)"})},null,8,["class","style"])):Ha("",!0)])),_:3},8,["class","hover-start-time","hover-stay-time","disabled","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","send-message-path","lang","data-name","session-from","send-message-img","show-message-card","style","hover-class","loading"])}}}),[["__scopeId","data-v-8e0a645c"]]),gx="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,vx=e=>gx?Symbol(e):e,yx=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),bx=e=>"number"==typeof e&&isFinite(e),_x=e=>"[object RegExp]"===Ix(e),wx=e=>Rx(e)&&0===Object.keys(e).length;function xx(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const kx=Object.assign;function Tx(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Sx=Object.prototype.hasOwnProperty;function Cx(e,t){return Sx.call(e,t)}const Ex=Array.isArray,Px=e=>"function"==typeof e,Mx=e=>"string"==typeof e,$x=e=>"boolean"==typeof e,Ox=e=>null!==e&&"object"==typeof e,Lx=Object.prototype.toString,Ix=e=>Lx.call(e),Rx=e=>"[object Object]"===Ix(e),Ax=Object.prototype.hasOwnProperty;function Nx(e,t){return Ax.call(e,t)}const Bx=e=>null!==e&&"object"==typeof e,jx=[];jx[0]={w:[0],i:[3,0],"[":[4],o:[7]},jx[1]={w:[1],".":[2],"[":[4],o:[7]},jx[2]={w:[2],i:[3,0],0:[3,0]},jx[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},jx[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},jx[5]={"'":[4,0],o:8,l:[5,0]},jx[6]={'"':[4,0],o:8,l:[6,0]};const Dx=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Fx(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Vx(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,Dx.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const Wx=new Map;function zx(e,t){if(!Bx(e))return null;let n=Wx.get(t);if(n||(n=function(e){const t=[];let n,o,r,a,i,s,l,c=-1,u=0,d=0;const f=[];function h(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,r="\\"+t,f[0](),!0}for(f[0]=()=>{void 0===o?o=r:o+=r},f[1]=()=>{void 0!==o&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),d++},f[3]=()=>{if(d>0)d--,u=4,f[0]();else{if(d=0,void 0===o)return!1;if(o=Vx(o),!1===o)return!1;f[1]()}};null!==u;)if(c++,n=e[c],"\\"!==n||!h()){if(a=Fx(n),l=jx[u],i=l[a]||l.l||8,8===i)return;if(u=i[0],void 0!==i[1]&&(s=f[i[1]],s&&(r=n,!1===s())))return;if(7===u)return t}}(t),n&&Wx.set(t,n)),!n)return null;const o=n.length;let r=e,a=0;for(;a<o;){const e=r[n[a]];if(void 0===e)return null;r=e,a++}return r}function Hx(e){if(!Bx(e))return e;for(const t in e)if(Nx(e,t))if(t.includes(".")){const n=t.split("."),o=n.length-1;let r=e;for(let e=0;e<o;e++)n[e]in r||(r[n[e]]={}),r=r[n[e]];r[n[o]]=e[t],delete e[t],Bx(r[n[o]])&&Hx(r[n[o]])}else Bx(e[t])&&Hx(e[t]);return e}
- /*!
- * @intlify/shared v9.1.9
- * (c) 2021 kazuya kawaguchi
- * Released under the MIT License.
- */const qx=e=>"number"==typeof e&&isFinite(e),Ux=Object.assign,Xx=Array.isArray,Yx=e=>"function"==typeof e,Gx=e=>"string"==typeof e,Jx=e=>null!==e&&"object"==typeof e,Kx=Object.prototype.toString,Qx=e=>{return"[object Object]"===(t=e,Kx.call(t));var t},Zx=e=>e,ek=e=>"",tk=e=>0===e.length?"":e.join(""),nk=e=>null==e?"":Xx(e)||Qx(e)&&e.toString===Kx?JSON.stringify(e,null,2):String(e);function ok(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function rk(e={}){const t=e.locale,n=function(e){const t=qx(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(qx(e.named.count)||qx(e.named.n))?qx(e.named.count)?e.named.count:qx(e.named.n)?e.named.n:t:t}(e),o=Jx(e.pluralRules)&&Gx(t)&&Yx(e.pluralRules[t])?e.pluralRules[t]:ok,r=Jx(e.pluralRules)&&Gx(t)&&Yx(e.pluralRules[t])?ok:void 0,a=e.list||[],i=e.named||{};qx(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,i);function s(t){const n=Yx(e.messages)?e.messages(t):!!Jx(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):ek)}const l=Qx(e.processor)&&Yx(e.processor.normalize)?e.processor.normalize:tk,c=Qx(e.processor)&&Yx(e.processor.interpolate)?e.processor.interpolate:nk,u={list:e=>a[e],named:e=>i[e],plural:e=>e[o(n,e.length,r)],linked:(t,n)=>{const o=s(t)(u);return Gx(n)?(t=>e.modifiers?e.modifiers[t]:Zx)(n)(o):o},message:s,type:Qx(e.processor)&&Gx(e.processor.type)?e.processor.type:"text",interpolate:c,normalize:l};return u}
- /*!
- * @intlify/message-compiler v9.1.10
- * (c) 2022 kazuya kawaguchi
- * Released under the MIT License.
- */function ak(e,t,n={}){const{domain:o,messages:r,args:a}=n,i=new SyntaxError(String(e));return i.code=e,t&&(i.location=t),i.domain=o,i}function ik(e){throw e}function sk(e,t,n){return{start:e,end:t}}const lk=" ",ck="\n",uk=String.fromCharCode(8232),dk=String.fromCharCode(8233);function fk(e){const t=e;let n=0,o=1,r=1,a=0;const i=e=>"\r"===t[e]&&t[e+1]===ck,s=e=>t[e]===dk,l=e=>t[e]===uk,c=e=>i(e)||(e=>t[e]===ck)(e)||s(e)||l(e),u=e=>i(e)||s(e)||l(e)?ck:t[e];function d(){return a=0,c(n)&&(o++,r=0),i(n)&&n++,n++,r++,t[n]}return{index:()=>n,line:()=>o,column:()=>r,peekOffset:()=>a,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+a),next:d,peek:function(){return i(n+a)&&a++,a++,t[n+a]},reset:function(){n=0,o=1,r=1,a=0},resetPeek:function(e=0){a=e},skipToPeek:function(){const e=n+a;for(;e!==n;)d();a=0}}}const hk=void 0;function pk(e,t={}){const n=!1!==t.location,o=fk(e),r=()=>o.index(),a=()=>{return e=o.line(),t=o.column(),n=o.index(),{line:e,column:t,offset:n};var e,t,n},i=a(),s=r(),l={currentType:14,offset:s,startLoc:i,endLoc:i,lastType:14,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(e,t,n,...o){const r=c();if(t.column+=n,t.offset+=n,u){const n=ak(e,sk(r.startLoc,t),{domain:"tokenizer",args:o});u(n)}}function f(e,t,o){e.endLoc=a(),e.currentType=t;const r={type:t};return n&&(r.loc=sk(e.startLoc,e.endLoc)),null!=o&&(r.value=o),r}const h=e=>f(e,14);function p(e,t){return e.currentChar()===t?(e.next(),t):(d(0,a(),0,t),"")}function m(e){let t="";for(;e.currentPeek()===lk||e.currentPeek()===ck;)t+=e.currentPeek(),e.peek();return t}function g(e){const t=m(e);return e.skipToPeek(),t}function v(e){if(e===hk)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function y(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o=function(e){if(e===hk)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),o}function b(e){m(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function _(e,t=!0){const n=(t=!1,o="",r=!1)=>{const a=e.currentPeek();return"{"===a?"%"!==o&&t:"@"!==a&&a?"%"===a?(e.peek(),n(t,"%",!0)):"|"===a?!("%"!==o&&!r)||!(o===lk||o===ck):a===lk?(e.peek(),n(!0,lk,r)):a!==ck||(e.peek(),n(!0,ck,r)):"%"===o||t},o=n();return t&&e.resetPeek(),o}function w(e,t){const n=e.currentChar();return n===hk?hk:t(n)?(e.next(),n):null}function x(e){return w(e,(e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}))}function k(e){return w(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}))}function T(e){return w(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}))}function S(e){let t="",n="";for(;t=k(e);)n+=t;return n}function C(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return E(e,t,4);case"U":return E(e,t,6);default:return d(3,a(),0,t),""}}function E(e,t,n){p(e,t);let o="";for(let r=0;r<n;r++){const n=T(e);if(!n){d(4,a(),0,`\\${t}${o}${e.currentChar()}`);break}o+=n}return`\\${t}${o}`}function P(e){g(e);const t=p(e,"|");return g(e),t}function M(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&d(8,a(),0),e.next(),n=f(t,2,"{"),g(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&d(7,a(),0),e.next(),n=f(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&d(6,a(),0),n=$(e,t)||h(t),t.braceNest=0,n;default:let o=!0,r=!0,i=!0;if(b(e))return t.braceNest>0&&d(6,a(),0),n=f(t,1,P(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return d(6,a(),0),t.braceNest=0,O(e,t);if(o=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o=v(e.currentPeek());return e.resetPeek(),o}(e,t))return n=f(t,5,function(e){g(e);let t="",n="";for(;t=x(e);)n+=t;return e.currentChar()===hk&&d(6,a(),0),n}(e)),g(e),n;if(r=y(e,t))return n=f(t,6,function(e){g(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${S(e)}`):t+=S(e),e.currentChar()===hk&&d(6,a(),0),t}(e)),g(e),n;if(i=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o="'"===e.currentPeek();return e.resetPeek(),o}(e,t))return n=f(t,7,function(e){g(e),p(e,"'");let t="",n="";const o=e=>"'"!==e&&e!==ck;for(;t=w(e,o);)n+="\\"===t?C(e):t;const r=e.currentChar();return r===ck||r===hk?(d(2,a(),0),r===ck&&(e.next(),p(e,"'")),n):(p(e,"'"),n)}(e)),g(e),n;if(!o&&!r&&!i)return n=f(t,13,function(e){g(e);let t="",n="";const o=e=>"{"!==e&&"}"!==e&&e!==lk&&e!==ck;for(;t=w(e,o);)n+=t;return n}(e)),d(1,a(),0,n.value),g(e),n}return n}function $(e,t){const{currentType:n}=t;let o=null;const r=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||r!==ck&&r!==lk||d(9,a(),0),r){case"@":return e.next(),o=f(t,8,"@"),t.inLinked=!0,o;case".":return g(e),e.next(),f(t,9,".");case":":return g(e),e.next(),f(t,10,":");default:return b(e)?(o=f(t,1,P(e)),t.braceNest=0,t.inLinked=!1,o):function(e,t){const{currentType:n}=t;if(8!==n)return!1;m(e);const o="."===e.currentPeek();return e.resetPeek(),o}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;m(e);const o=":"===e.currentPeek();return e.resetPeek(),o}(e,t)?(g(e),$(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;m(e);const o=v(e.currentPeek());return e.resetPeek(),o}(e,t)?(g(e),f(t,12,function(e){let t="",n="";for(;t=x(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const o=()=>{const t=e.currentPeek();return"{"===t?v(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===lk||!t)&&(t===ck?(e.peek(),o()):v(t))},r=o();return e.resetPeek(),r}(e,t)?(g(e),"{"===r?M(e,t)||o:f(t,11,function(e){const t=(n=!1,o)=>{const r=e.currentChar();return"{"!==r&&"%"!==r&&"@"!==r&&"|"!==r&&r?r===lk?o:r===ck?(o+=r,e.next(),t(n,o)):(o+=r,e.next(),t(!0,o)):o};return t(!1,"")}(e))):(8===n&&d(9,a(),0),t.braceNest=0,t.inLinked=!1,O(e,t))}}function O(e,t){let n={type:14};if(t.braceNest>0)return M(e,t)||h(t);if(t.inLinked)return $(e,t)||h(t);const o=e.currentChar();switch(o){case"{":return M(e,t)||h(t);case"}":return d(5,a(),0),e.next(),f(t,3,"}");case"@":return $(e,t)||h(t);default:if(b(e))return n=f(t,1,P(e)),t.braceNest=0,t.inLinked=!1,n;if(_(e))return f(t,0,function(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!_(e))break;t+=n,e.next()}else if(n===lk||n===ck)if(_(e))t+=n,e.next();else{if(b(e))break;t+=n,e.next()}else t+=n,e.next()}return t}(e));if("%"===o)return e.next(),f(t,4,"%")}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:i}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=i,l.offset=r(),l.startLoc=a(),o.currentChar()===hk?f(l,14):O(o,l)},currentOffset:r,currentPosition:a,context:c}}const mk=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function gk(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function vk(e={}){const t=!1!==e.location,{onError:n}=e;function o(e,t,o,r,...a){const i=e.currentPosition();if(i.offset+=r,i.column+=r,n){const e=ak(t,sk(o,i),{domain:"parser",args:a});n(e)}}function r(e,n,o){const r={type:e,start:n,end:n};return t&&(r.loc={start:o,end:o}),r}function a(e,n,o,r){e.end=n,t&&e.loc&&(e.loc.end=o)}function i(e,t){const n=e.context(),o=r(3,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}function s(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:i}=n,s=r(5,o,i);return s.index=parseInt(t,10),e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function l(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:i}=n,s=r(4,o,i);return s.key=t,e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:i}=n,s=r(9,o,i);return s.value=t.replace(mk,gk),e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function u(e){const t=e.context(),n=r(6,t.offset,t.startLoc);let i=e.nextToken();if(9===i.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:i,lastStartLoc:s}=n,l=r(8,i,s);return 12!==t.type?(o(e,11,n.lastStartLoc,0),l.value="",a(l,i,s),{nextConsumeToken:t,node:l}):(null==t.value&&o(e,13,n.lastStartLoc,0,yk(t)),l.value=t.value||"",a(l,e.currentOffset(),e.currentPosition()),{node:l})}(e);n.modifier=t.node,i=t.nextConsumeToken||e.nextToken()}switch(10!==i.type&&o(e,13,t.lastStartLoc,0,yk(i)),i=e.nextToken(),2===i.type&&(i=e.nextToken()),i.type){case 11:null==i.value&&o(e,13,t.lastStartLoc,0,yk(i)),n.key=function(e,t){const n=e.context(),o=r(7,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}(e,i.value||"");break;case 5:null==i.value&&o(e,13,t.lastStartLoc,0,yk(i)),n.key=l(e,i.value||"");break;case 6:null==i.value&&o(e,13,t.lastStartLoc,0,yk(i)),n.key=s(e,i.value||"");break;case 7:null==i.value&&o(e,13,t.lastStartLoc,0,yk(i)),n.key=c(e,i.value||"");break;default:o(e,12,t.lastStartLoc,0);const u=e.context(),d=r(7,u.offset,u.startLoc);return d.value="",a(d,u.offset,u.startLoc),n.key=d,a(n,u.offset,u.startLoc),{nextConsumeToken:i,node:n}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function d(e){const t=e.context(),n=r(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let d=null;do{const r=d||e.nextToken();switch(d=null,r.type){case 0:null==r.value&&o(e,13,t.lastStartLoc,0,yk(r)),n.items.push(i(e,r.value||""));break;case 6:null==r.value&&o(e,13,t.lastStartLoc,0,yk(r)),n.items.push(s(e,r.value||""));break;case 5:null==r.value&&o(e,13,t.lastStartLoc,0,yk(r)),n.items.push(l(e,r.value||""));break;case 7:null==r.value&&o(e,13,t.lastStartLoc,0,yk(r)),n.items.push(c(e,r.value||""));break;case 8:const a=u(e);n.items.push(a.node),d=a.nextConsumeToken||null}}while(14!==t.currentType&&1!==t.currentType);return a(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function f(e){const t=e.context(),{offset:n,startLoc:i}=t,s=d(e);return 14===t.currentType?s:function(e,t,n,i){const s=e.context();let l=0===i.items.length;const c=r(1,t,n);c.cases=[],c.cases.push(i);do{const t=d(e);l||(l=0===t.items.length),c.cases.push(t)}while(14!==s.currentType);return l&&o(e,10,n,0),a(c,e.currentOffset(),e.currentPosition()),c}(e,n,i,s)}return{parse:function(n){const i=pk(n,Ux({},e)),s=i.context(),l=r(0,s.offset,s.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=f(i),14!==s.currentType&&o(i,13,s.lastStartLoc,0,n[s.offset]||""),a(l,i.currentOffset(),i.currentPosition()),l}}}function yk(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function bk(e,t){for(let n=0;n<e.length;n++)_k(e[n],t)}function _k(e,t){switch(e.type){case 1:bk(e.cases,t),t.helper("plural");break;case 2:bk(e.items,t);break;case 6:_k(e.key,t),t.helper("linked");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named")}}function wk(e,t={}){const n=function(e){const t={ast:e,helpers:new Set};return{context:()=>t,helper:e=>(t.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&_k(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function xk(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?xk(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let n=0;n<r&&(xk(e,t.cases[n]),n!==r-1);n++)e.push(", ");e.deindent(o()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let a=0;a<r&&(xk(e,t.items[a]),a!==r-1);a++)e.push(", ");e.deindent(o()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),xk(e,t.key),t.modifier&&(e.push(", "),xk(e,t.modifier)),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t)}}function kk(e,t={}){const n=Ux({},t),o=vk(n).parse(e);return wk(o,n),((e,t={})=>{const n=Gx(t.mode)?t.mode:"normal",o=Gx(t.filename)?t.filename:"message.intl";t.sourceMap;const r=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==n,i=e.helpers||[],s=function(e,t){const{filename:n,breakLineCode:o,needIndent:r}=t,a={source:e.loc.source,filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:r,indentLevel:0};function i(e,t){a.code+=e}function s(e,t=!0){const n=t?o:"";i(r?n+" ".repeat(e):n)}return{context:()=>a,push:i,indent:function(e=!0){const t=++a.indentLevel;e&&s(t)},deindent:function(e=!0){const t=--a.indentLevel;e&&s(t)},newline:function(){s(a.indentLevel)},helper:e=>`_${e}`,needIndent:()=>a.needIndent}}(e,{filename:o,breakLineCode:r,needIndent:a});s.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),i.length>0&&(s.push(`const { ${i.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),s.newline()),s.push("return "),xk(s,e),s.deindent(a),s.push("}");const{code:l,map:c}=s.context();return{ast:e,code:l,map:c?c.toJSON():void 0}})(o,n)}
- /*!
- * @intlify/core-base v9.1.10
- * (c) 2022 kazuya kawaguchi
- * Released under the MIT License.
- */let Tk;let Sk=0;function Ck(e={}){const t=Mx(e.version)?e.version:"9.1.10",n=Mx(e.locale)?e.locale:"en-US",o=Ex(e.fallbackLocale)||Rx(e.fallbackLocale)||Mx(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,r=Rx(e.messages)?e.messages:{[n]:{}},a=Rx(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=Rx(e.numberFormats)?e.numberFormats:{[n]:{}},s=kx({},e.modifiers||{},{upper:e=>Mx(e)?e.toUpperCase():e,lower:e=>Mx(e)?e.toLowerCase():e,capitalize:e=>Mx(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}),l=e.pluralRules||{},c=Px(e.missing)?e.missing:null,u=!$x(e.missingWarn)&&!_x(e.missingWarn)||e.missingWarn,d=!$x(e.fallbackWarn)&&!_x(e.fallbackWarn)||e.fallbackWarn,f=!!e.fallbackFormat,h=!!e.unresolving,p=Px(e.postTranslation)?e.postTranslation:null,m=Rx(e.processor)?e.processor:null,g=!$x(e.warnHtmlMessage)||e.warnHtmlMessage,v=!!e.escapeParameter,y=Px(e.messageCompiler)?e.messageCompiler:Tk,b=Px(e.onWarn)?e.onWarn:xx,_=e,w=Ox(_.__datetimeFormatters)?_.__datetimeFormatters:new Map,x=Ox(_.__numberFormatters)?_.__numberFormatters:new Map,k=Ox(_.__meta)?_.__meta:{};Sk++;return{version:t,cid:Sk,locale:n,fallbackLocale:o,messages:r,datetimeFormats:a,numberFormats:i,modifiers:s,pluralRules:l,missing:c,missingWarn:u,fallbackWarn:d,fallbackFormat:f,unresolving:h,postTranslation:p,processor:m,warnHtmlMessage:g,escapeParameter:v,messageCompiler:y,onWarn:b,__datetimeFormatters:w,__numberFormatters:x,__meta:k}}function Ek(e,t,n,o,r){const{missing:a,onWarn:i}=e;if(null!==a){const o=a(e,n,t,r);return Mx(o)?o:t}return t}function Pk(e,t,n){const o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(n);if(!r){r=[];let e=[n];for(;Ex(e);)e=Mk(r,e,t);const a=Ex(t)?t:Rx(t)?t.default?t.default:null:t;e=Mx(a)?[a]:a,Ex(e)&&Mk(r,e,!1),o.__localeChainCache.set(n,r)}return r}function Mk(e,t,n){let o=!0;for(let r=0;r<t.length&&$x(o);r++){const a=t[r];Mx(a)&&(o=$k(e,t[r],n))}return o}function $k(e,t,n){let o;const r=t.split("-");do{o=Ok(e,r.join("-"),n),r.splice(-1,1)}while(r.length&&!0===o);return o}function Ok(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o="!"!==t[t.length-1];const r=t.replace(/!/g,"");e.push(r),(Ex(n)||Rx(n))&&n[r]&&(o=n[r])}return o}function Lk(e,t,n){e.__localeChainCache=new Map,Pk(e,n,t)}const Ik=e=>e;let Rk=Object.create(null);function Ak(e){return ak(e,null,void 0)}const Nk=()=>"",Bk=e=>Px(e);function jk(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,fallbackLocale:a,messages:i}=e,[s,l]=Fk(...t),c=($x(l.missingWarn)?l.missingWarn:e.missingWarn,$x(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,$x(l.escapeParameter)?l.escapeParameter:e.escapeParameter),u=!!l.resolvedMessage,d=Mx(l.default)||$x(l.default)?$x(l.default)?s:l.default:n?s:"",f=n||""!==d,h=Mx(l.locale)?l.locale:e.locale;c&&function(e){Ex(e.list)?e.list=e.list.map((e=>Mx(e)?Tx(e):e)):Ox(e.named)&&Object.keys(e.named).forEach((t=>{Mx(e.named[t])&&(e.named[t]=Tx(e.named[t]))}))}(l);let[p,m,g]=u?[s,h,i[h]||{}]:function(e,t,n,o){const{messages:r,onWarn:a}=e,i=Pk(e,o,n);let s,l={},c=null;const u="translate";for(let d=0;d<i.length&&(s=i[d],l=r[s]||{},null===(c=zx(l,t))&&(c=l[t]),!Mx(c)&&!Px(c));d++){const n=Ek(e,t,s,0,u);n!==t&&(c=n)}return[c,s,l]}(e,s,h,a),v=s;if(u||Mx(p)||Bk(p)||f&&(p=d,v=p),!(u||(Mx(p)||Bk(p))&&Mx(m)))return r?-1:s;let y=!1;const b=Bk(p)?p:Dk(e,s,m,p,v,(()=>{y=!0}));if(y)return p;const _=function(e,t,n,o){const{modifiers:r,pluralRules:a}=e,i=o=>{const r=zx(n,o);if(Mx(r)){let n=!1;const a=Dk(e,o,t,r,o,(()=>{n=!0}));return n?Nk:a}return Bk(r)?r:Nk},s={locale:t,modifiers:r,pluralRules:a,messages:i};e.processor&&(s.processor=e.processor);o.list&&(s.list=o.list);o.named&&(s.named=o.named);bx(o.plural)&&(s.pluralIndex=o.plural);return s}(e,m,g,l),w=function(e,t,n){const o=t(n);return o}(0,b,rk(_));return o?o(w):w}function Dk(e,t,n,o,r,a){const{messageCompiler:i,warnHtmlMessage:s}=e;if(Bk(o)){const e=o;return e.locale=e.locale||n,e.key=e.key||t,e}const l=i(o,function(e,t,n,o,r,a){return{warnHtmlMessage:r,onError:e=>{throw a&&a(e),e},onCacheKey:e=>((e,t,n)=>yx({l:e,k:t,s:n}))(t,n,e)}}(0,n,r,0,s,a));return l.locale=n,l.key=t,l.source=o,l}function Fk(...e){const[t,n,o]=e,r={};if(!Mx(t)&&!bx(t)&&!Bk(t))throw Ak(14);const a=bx(t)?String(t):(Bk(t),t);return bx(n)?r.plural=n:Mx(n)?r.default=n:Rx(n)&&!wx(n)?r.named=n:Ex(n)&&(r.list=n),bx(o)?r.plural=o:Mx(o)?r.default=o:Rx(o)&&kx(r,o),[a,r]}function Vk(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:a}=e,{__datetimeFormatters:i}=e,[s,l,c,u]=Wk(...t);$x(c.missingWarn)?c.missingWarn:e.missingWarn;$x(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,f=Mx(c.locale)?c.locale:e.locale,h=Pk(e,r,f);if(!Mx(s)||""===s)return new Intl.DateTimeFormat(f).format(l);let p,m={},g=null;for(let b=0;b<h.length&&(p=h[b],m=n[p]||{},g=m[s],!Rx(g));b++)Ek(e,s,p,0,"datetime format");if(!Rx(g)||!Mx(p))return o?-1:s;let v=`${p}__${s}`;wx(u)||(v=`${v}__${JSON.stringify(u)}`);let y=i.get(v);return y||(y=new Intl.DateTimeFormat(p,kx({},g,u)),i.set(v,y)),d?y.formatToParts(l):y.format(l)}function Wk(...e){const[t,n,o,r]=e;let a,i={},s={};if(Mx(t)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))throw Ak(16);a=new Date(t);try{a.toISOString()}catch(l){throw Ak(16)}}else if("[object Date]"===Ix(t)){if(isNaN(t.getTime()))throw Ak(15);a=t}else{if(!bx(t))throw Ak(14);a=t}return Mx(n)?i.key=n:Rx(n)&&(i=n),Mx(o)?i.locale=o:Rx(o)&&(s=o),Rx(r)&&(s=r),[i.key||"",a,i,s]}function zk(e,t,n){const o=e;for(const r in n){const e=`${t}__${r}`;o.__datetimeFormatters.has(e)&&o.__datetimeFormatters.delete(e)}}function Hk(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:a}=e,{__numberFormatters:i}=e,[s,l,c,u]=qk(...t);$x(c.missingWarn)?c.missingWarn:e.missingWarn;$x(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,f=Mx(c.locale)?c.locale:e.locale,h=Pk(e,r,f);if(!Mx(s)||""===s)return new Intl.NumberFormat(f).format(l);let p,m={},g=null;for(let b=0;b<h.length&&(p=h[b],m=n[p]||{},g=m[s],!Rx(g));b++)Ek(e,s,p,0,"number format");if(!Rx(g)||!Mx(p))return o?-1:s;let v=`${p}__${s}`;wx(u)||(v=`${v}__${JSON.stringify(u)}`);let y=i.get(v);return y||(y=new Intl.NumberFormat(p,kx({},g,u)),i.set(v,y)),d?y.formatToParts(l):y.format(l)}function qk(...e){const[t,n,o,r]=e;let a={},i={};if(!bx(t))throw Ak(14);const s=t;return Mx(n)?a.key=n:Rx(n)&&(a=n),Mx(o)?a.locale=o:Rx(o)&&(i=o),Rx(r)&&(i=r),[a.key||"",s,a,i]}function Uk(e,t,n){const o=e;for(const r in n){const e=`${t}__${r}`;o.__numberFormatters.has(e)&&o.__numberFormatters.delete(e)}}
- /*!
- * vue-i18n v9.1.11
- * (c) 2025 kazuya kawaguchi
- * Released under the MIT License.
- */function Xk(e,...t){return ak(e,null,void 0)}const Yk=vx("__transrateVNode"),Gk=vx("__datetimeParts"),Jk=vx("__numberParts"),Kk=vx("__setPluralRules"),Qk=vx("__injectWithOption");let Zk=0;function eT(e){return(t,n,o,r)=>e(n,o,Za()||void 0,r)}function tT(e,t){const{messages:n,__i18n:o}=t,r=Rx(n)?n:Ex(o)?{}:{[e]:{}};if(Ex(o)&&o.forEach((({locale:e,resource:t})=>{e?(r[e]=r[e]||{},oT(t,r[e])):oT(t,r)})),t.flatJson)for(const a in r)Cx(r,a)&&Hx(r[a]);return r}const nT=e=>!Ox(e)||Ex(e);function oT(e,t){if(nT(e)||nT(t))throw Xk(20);for(const n in e)Cx(e,n)&&(nT(e[n])||nT(t[n])?t[n]=e[n]:oT(e[n],t[n]))}function rT(e={}){const{__root:t}=e,n=void 0===t;let o=!$x(e.inheritLocale)||e.inheritLocale;const r=jn(t&&o?t.locale.value:Mx(e.locale)?e.locale:"en-US"),a=jn(t&&o?t.fallbackLocale.value:Mx(e.fallbackLocale)||Ex(e.fallbackLocale)||Rx(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:r.value),i=jn(tT(r.value,e)),s=jn(Rx(e.datetimeFormats)?e.datetimeFormats:{[r.value]:{}}),l=jn(Rx(e.numberFormats)?e.numberFormats:{[r.value]:{}});let c=t?t.missingWarn:!$x(e.missingWarn)&&!_x(e.missingWarn)||e.missingWarn,u=t?t.fallbackWarn:!$x(e.fallbackWarn)&&!_x(e.fallbackWarn)||e.fallbackWarn,d=t?t.fallbackRoot:!$x(e.fallbackRoot)||e.fallbackRoot,f=!!e.fallbackFormat,h=Px(e.missing)?e.missing:null,p=Px(e.missing)?eT(e.missing):null,m=Px(e.postTranslation)?e.postTranslation:null,g=!$x(e.warnHtmlMessage)||e.warnHtmlMessage,v=!!e.escapeParameter;const y=t?t.modifiers:Rx(e.modifiers)?e.modifiers:{};let b,_=e.pluralRules||t&&t.pluralRules;b=Ck({version:"9.1.10",locale:r.value,fallbackLocale:a.value,messages:i.value,datetimeFormats:s.value,numberFormats:l.value,modifiers:y,pluralRules:_,missing:null===p?void 0:p,missingWarn:c,fallbackWarn:u,fallbackFormat:f,unresolving:!0,postTranslation:null===m?void 0:m,warnHtmlMessage:g,escapeParameter:v,__datetimeFormatters:Rx(b)?b.__datetimeFormatters:void 0,__numberFormatters:Rx(b)?b.__numberFormatters:void 0,__v_emitter:Rx(b)?b.__v_emitter:void 0,__meta:{framework:"vue"}}),Lk(b,r.value,a.value);const w=di({get:()=>r.value,set:e=>{r.value=e,b.locale=r.value}}),x=di({get:()=>a.value,set:e=>{a.value=e,b.fallbackLocale=a.value,Lk(b,r.value,e)}}),k=di((()=>i.value)),T=di((()=>s.value)),S=di((()=>l.value));function C(e,n,o,c,u,f){let h;if(r.value,a.value,i.value,s.value,l.value,h=e(b),bx(h)&&-1===h){const[e,o]=n();return t&&d?c(t):u(e)}if(f(h))return h;throw Xk(14)}function E(...e){return C((t=>jk(t,...e)),(()=>Fk(...e)),0,(t=>t.t(...e)),(e=>e),(e=>Mx(e)))}const P={normalize:function(e){return e.map((e=>Mx(e)?Va(Ta,null,e,0):e))},interpolate:e=>e,type:"vnode"};function M(e){return i.value[e]||{}}Zk++,t&&(Bo(t.locale,(e=>{o&&(r.value=e,b.locale=e,Lk(b,r.value,a.value))})),Bo(t.fallbackLocale,(e=>{o&&(a.value=e,b.fallbackLocale=e,Lk(b,r.value,a.value))})));return{id:Zk,locale:w,fallbackLocale:x,get inheritLocale(){return o},set inheritLocale(e){o=e,e&&t&&(r.value=t.locale.value,a.value=t.fallbackLocale.value,Lk(b,r.value,a.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:k,datetimeFormats:T,numberFormats:S,get modifiers(){return y},get pluralRules(){return _||{}},get isGlobal(){return n},get missingWarn(){return c},set missingWarn(e){c=e,b.missingWarn=c},get fallbackWarn(){return u},set fallbackWarn(e){u=e,b.fallbackWarn=u},get fallbackRoot(){return d},set fallbackRoot(e){d=e},get fallbackFormat(){return f},set fallbackFormat(e){f=e,b.fallbackFormat=f},get warnHtmlMessage(){return g},set warnHtmlMessage(e){g=e,b.warnHtmlMessage=e},get escapeParameter(){return v},set escapeParameter(e){v=e,b.escapeParameter=e},t:E,rt:function(...e){const[t,n,o]=e;if(o&&!Ox(o))throw Xk(15);return E(t,n,kx({resolvedMessage:!0},o||{}))},d:function(...e){return C((t=>Vk(t,...e)),(()=>Wk(...e)),0,(t=>t.d(...e)),(()=>""),(e=>Mx(e)))},n:function(...e){return C((t=>Hk(t,...e)),(()=>qk(...e)),0,(t=>t.n(...e)),(()=>""),(e=>Mx(e)))},te:function(e,t){return null!==zx(M(Mx(t)?t:r.value),e)},tm:function(e){const n=function(e){let t=null;const n=Pk(b,a.value,r.value);for(let o=0;o<n.length;o++){const r=zx(i.value[n[o]]||{},e);if(null!=r){t=r;break}}return t}(e);return null!=n?n:t&&t.tm(e)||{}},getLocaleMessage:M,setLocaleMessage:function(e,t){i.value[e]=t,b.messages=i.value},mergeLocaleMessage:function(e,t){i.value[e]=i.value[e]||{},oT(t,i.value[e]),b.messages=i.value},getDateTimeFormat:function(e){return s.value[e]||{}},setDateTimeFormat:function(e,t){s.value[e]=t,b.datetimeFormats=s.value,zk(b,e,t)},mergeDateTimeFormat:function(e,t){s.value[e]=kx(s.value[e]||{},t),b.datetimeFormats=s.value,zk(b,e,t)},getNumberFormat:function(e){return l.value[e]||{}},setNumberFormat:function(e,t){l.value[e]=t,b.numberFormats=l.value,Uk(b,e,t)},mergeNumberFormat:function(e,t){l.value[e]=kx(l.value[e]||{},t),b.numberFormats=l.value,Uk(b,e,t)},getPostTranslationHandler:function(){return Px(m)?m:null},setPostTranslationHandler:function(e){m=e,b.postTranslation=e},getMissingHandler:function(){return h},setMissingHandler:function(e){null!==e&&(p=eT(e)),h=e,b.missing=p},[Yk]:function(...e){return C((t=>{let n;const o=t;try{o.processor=P,n=jk(o,...e)}finally{o.processor=null}return n}),(()=>Fk(...e)),0,(t=>t[Yk](...e)),(e=>[Va(Ta,null,e,0)]),(e=>Ex(e)))},[Jk]:function(...e){return C((t=>Hk(t,...e)),(()=>qk(...e)),0,(t=>t[Jk](...e)),(()=>[]),(e=>Mx(e)||Ex(e)))},[Gk]:function(...e){return C((t=>Vk(t,...e)),(()=>Wk(...e)),0,(t=>t[Gk](...e)),(()=>[]),(e=>Mx(e)||Ex(e)))},[Kk]:function(e){_=e,b.pluralRules=_},[Qk]:e.__injectWithOption}}function aT(e={}){const t=rT(function(e){const t=Mx(e.locale)?e.locale:"en-US",n=Mx(e.fallbackLocale)||Ex(e.fallbackLocale)||Rx(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,o=Px(e.missing)?e.missing:void 0,r=!$x(e.silentTranslationWarn)&&!_x(e.silentTranslationWarn)||!e.silentTranslationWarn,a=!$x(e.silentFallbackWarn)&&!_x(e.silentFallbackWarn)||!e.silentFallbackWarn,i=!$x(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,l=Rx(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Px(e.postTranslation)?e.postTranslation:void 0,d=!Mx(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,f=!!e.escapeParameterHtml,h=!$x(e.sync)||e.sync;let p=e.messages;if(Rx(e.sharedMessages)){const t=e.sharedMessages;p=Object.keys(t).reduce(((e,n)=>{const o=e[n]||(e[n]={});return kx(o,t[n]),e}),p||{})}const{__i18n:m,__root:g,__injectWithOption:v}=e,y=e.datetimeFormats,b=e.numberFormats;return{locale:t,fallbackLocale:n,messages:p,flatJson:e.flatJson,datetimeFormats:y,numberFormats:b,missing:o,missingWarn:r,fallbackWarn:a,fallbackRoot:i,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,inheritLocale:h,__i18n:m,__root:g,__injectWithOption:v}}(e)),n={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return $x(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=$x(e)?!e:e},get silentFallbackWarn(){return $x(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=$x(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,o,r]=e,a={};let i=null,s=null;if(!Mx(n))throw Xk(15);const l=n;return Mx(o)?a.locale=o:Ex(o)?i=o:Rx(o)&&(s=o),Ex(r)?i=r:Rx(r)&&(s=r),t.t(l,i||s||{},a)},rt:(...e)=>t.rt(...e),tc(...e){const[n,o,r]=e,a={plural:1};let i=null,s=null;if(!Mx(n))throw Xk(15);const l=n;return Mx(o)?a.locale=o:bx(o)?a.plural=o:Ex(o)?i=o:Rx(o)&&(s=o),Mx(r)?a.locale=r:Ex(r)?i=r:Rx(r)&&(s=r),t.t(l,i||s||{},a)},te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>t.d(...e),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>t.n(...e),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex:(e,t)=>-1,__onComponentInstanceCreated(t){const{componentInstanceCreatedListener:o}=e;o&&o(t,n)}};return n}const iT={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}},sT={name:"i18n-t",props:kx({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>bx(e)||!isNaN(e)}},iT),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||mT({useScope:e.scope,__useComponent:!0}),a=Object.keys(n).filter((e=>"_"!==e));return()=>{const n={};e.locale&&(n.locale=e.locale),void 0!==e.plural&&(n.plural=Mx(e.plural)?+e.plural:e.plural);const i=function({slots:e},t){return 1===t.length&&"default"===t[0]?e.default?e.default():[]:t.reduce(((t,n)=>{const o=e[n];return o&&(t[n]=o()),t}),{})}(t,a),s=r[Yk](e.keypath,i,n),l=kx({},o);return Mx(e.tag)||Ox(e.tag)?fi(e.tag,l,s):fi(ka,l,s)}}};function lT(e,t,n,o){const{slots:r,attrs:a}=t;return()=>{const t={part:!0};let i={};e.locale&&(t.locale=e.locale),Mx(e.format)?t.key=e.format:Ox(e.format)&&(Mx(e.format.key)&&(t.key=e.format.key),i=Object.keys(e.format).reduce(((t,o)=>n.includes(o)?kx({},t,{[o]:e.format[o]}):t),{}));const s=o(e.value,t,i);let l=[t.key];Ex(s)?l=s.map(((e,t)=>{const n=r[e.type];return n?n({[e.type]:e.value,index:t,parts:s}):[e.value]})):Mx(s)&&(l=[s]);const c=kx({},a);return Mx(e.tag)||Ox(e.tag)?fi(e.tag,c,l):fi(ka,c,l)}}const cT=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],uT={name:"i18n-n",props:kx({value:{type:Number,required:!0},format:{type:[String,Object]}},iT),setup(e,t){const n=e.i18n||mT({useScope:"parent",__useComponent:!0});return lT(e,t,cT,((...e)=>n[Jk](...e)))}},dT=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],fT={name:"i18n-d",props:kx({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},iT),setup(e,t){const n=e.i18n||mT({useScope:"parent",__useComponent:!0});return lT(e,t,dT,((...e)=>n[Gk](...e)))}};function hT(e){const t=(t,{instance:n,value:o,modifiers:r})=>{if(!n||!n.$)throw Xk(22);const a=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return null!=o?o.__composer:e.global.__composer}}(e,n.$),i=function(e){if(Mx(e))return{path:e};if(Rx(e)){if(!("path"in e))throw Xk(19);return e}throw Xk(20)}(o);t.textContent=a.t(...function(e){const{path:t,locale:n,args:o,choice:r,plural:a}=e,i={},s=o||{};Mx(n)&&(i.locale=n);bx(r)&&(i.plural=r);bx(a)&&(i.plural=a);return[t,s,i]}(i))};return{beforeMount:t,beforeUpdate:t}}function pT(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Kk](t.pluralizationRules||e.pluralizationRules);const n=tT(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}function mT(e={}){const t=Za();if(null==t)throw Xk(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw Xk(17);const n=oa(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Xk(22);const o="composition"===n.mode?n.global:n.global.__composer,r=wx(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if("global"===r){let n=Ox(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(n=tT(o.locale.value,{messages:n,__i18n:t.type.__i18nGlobal}));const r=Object.keys(n);if(r.length&&r.forEach((e=>{o.mergeLocaleMessage(e,n[e])})),Ox(e.datetimeFormats)){const t=Object.keys(e.datetimeFormats);t.length&&t.forEach((t=>{o.mergeDateTimeFormat(t,e.datetimeFormats[t])}))}if(Ox(e.numberFormats)){const t=Object.keys(e.numberFormats);t.length&&t.forEach((t=>{o.mergeNumberFormat(t,e.numberFormats[t])}))}return o}if("parent"===r){let r=function(e,t,n=!1){let o=null;const r=t.root;let a=t.parent;for(;null!=a;){const t=e;if("composition"===e.mode)o=t.__getInstance(a);else{const e=t.__getInstance(a);null!=e&&(o=e.__composer),n&&o&&!o[Qk]&&(o=null)}if(null!=o)break;if(r===a)break;a=a.parent}return o}(n,t,e.__useComponent);return null==r&&(r=o),r}if("legacy"===n.mode)throw Xk(18);const a=n;let i=a.__getInstance(t);if(null==i){const n=t.type,r=kx({},e);n.__i18n&&(r.__i18n=n.__i18n),o&&(r.__root=o),i=rT(r),function(e,t){wr((()=>{}),t),Sr((()=>{e.__deleteInstance(t)}),t)}(a,t),a.__setInstance(t,i)}return i}const gT=["locale","fallbackLocale","availableLocales"],vT=["t","rt","d","n","tm"];
- /*!
- * pinia v2.0.36
- * (c) 2023 Eduardo San Martin Morote
- * @license MIT
- */
- let yT;Tk=function(e,t={}){{const n=(t.onCacheKey||Ik)(e),o=Rk[n];if(o)return o;let r=!1;const a=t.onError||ik;t.onError=e=>{r=!0,a(e)};const{code:i}=kk(e,t),s=new Function(`return ${i}`)();return r?s:Rk[n]=s}};const bT=e=>yT=e,_T=Symbol();function wT(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var xT,kT;(kT=xT||(xT={})).direct="direct",kT.patchObject="patch object",kT.patchFunction="patch function";const TT=()=>{};function ST(e,t,n,o=TT){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};var a;return!n&&vt()&&(a=r,ht&&ht.cleanups.push(a)),r}function CT(e,...t){e.slice().forEach((e=>{e(...t)}))}function ET(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];wT(r)&&wT(o)&&e.hasOwnProperty(n)&&!Bn(o)&&!Cn(o)?e[n]=ET(r,o):e[n]=o}return e}const PT=Symbol();const{assign:MT}=Object;function $T(e,t,n,o){const{state:r,actions:a,getters:i}=t,s=n.state.value[e];let l;return l=OT(e,(function(){s||(n.state.value[e]=r?r():{});const t=function(e){const t=h(e)?new Array(e.length):{};for(const n in e)t[n]=Un(e,n);return t}(n.state.value[e]);return MT(t,a,Object.keys(i||{}).reduce(((t,o)=>(t[o]=On(di((()=>{bT(n);const t=n._s.get(e);return i[o].call(t,t)}))),t)),{}))}),t,n,o,!0),l}function OT(e,t,n={},o,r,a){let i;const s=MT({actions:{}},n),l={deep:!0};let c,u,d,f=On([]),h=On([]);const p=o.state.value[e];let m;function g(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:xT.patchFunction,storeId:e,events:d}):(ET(o.state.value[e],t),n={type:xT.patchObject,payload:t,storeId:e,events:d});const r=m=Symbol();io().then((()=>{m===r&&(c=!0)})),u=!0,CT(f,n,o.state.value[e])}a||p||(o.state.value[e]={}),jn({});const v=a?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{MT(e,t)}))}:TT;function y(t,n){return function(){bT(o);const r=Array.from(arguments),a=[],i=[];let s;CT(h,{args:r,name:t,store:b,after:function(e){a.push(e)},onError:function(e){i.push(e)}});try{s=n.apply(this&&this.$id===e?this:b,r)}catch(l){throw CT(i,l),l}return s instanceof Promise?s.then((e=>(CT(a,e),e))).catch((e=>(CT(i,e),Promise.reject(e)))):(CT(a,s),s)}}const b=xn({_p:o,$id:e,$onAction:ST.bind(null,h),$patch:g,$reset:v,$subscribe(t,n={}){const r=ST(f,t,n.detached,(()=>a())),a=i.run((()=>Bo((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:xT.direct,events:d},o)}),MT({},l,n))));return r},$dispose:function(){i.stop(),f=[],h=[],o._s.delete(e)}});o._s.set(e,b);const _=o._e.run((()=>(i=gt(),i.run((()=>t())))));for(const k in _){const t=_[k];if(Bn(t)&&(!Bn(x=t)||!x.effect)||Cn(t))a||(!p||wT(w=t)&&w.hasOwnProperty(PT)||(Bn(t)?t.value=p[k]:ET(t,p[k])),o.state.value[e][k]=t);else if("function"==typeof t){const e=y(k,t);_[k]=e,s.actions[k]=t}}var w,x;return MT(b,_),MT($n(b),_),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:e=>{g((t=>{MT(t,e)}))}}),o._p.forEach((e=>{MT(b,i.run((()=>e({store:b,app:o._a,pinia:o,options:s}))))})),p&&a&&n.hydrate&&n.hydrate(b.$state,p),c=!0,u=!0,b}function LT(e,t,n){let o,r;const a="function"==typeof t;function i(e,n){const i=Za();(e=e||i&&oa(_T,null))&&bT(e),(e=yT)._s.has(o)||(a?OT(o,t,r,e):$T(o,r,e));return e._s.get(o)}return"string"==typeof e?(o=e,r=a?n:t):(r=e,o=e.id),i.$id=o,i}const IT="BETTING_CART_LIST",RT=LT("order",{state:()=>({selectOrders:Rv(IT)||[],isOpen:!1}),getters:{selectedCount:e=>e.selectOrders.length,totalStake:e=>e.selectOrders.reduce(((e,t)=>e+(Number(t.stake)||0)),0),totalPotentialWin:e=>e.selectOrders.reduce(((e,t)=>e+(Number(t.stake)||0)*t.odds),0)},actions:{toggleSheet(){this.isOpen=!this.isOpen},setSheetOpen(e){this.isOpen=e},addOrderItem(e){const t=this.selectOrders.findIndex((t=>t.wsi===e.wsi));if(-1===t){const t={...e,stake:20};this.selectOrders.push(t)}else this.selectOrders[t].odds=e.odds;this.saveToStorage()},removeOrderItem(e){const t="object"==typeof e?e.wsi:e;this.selectOrders=this.selectOrders.filter((e=>e.wsi!==t)),0===this.selectOrders.length&&(this.isOpen=!1),this.saveToStorage()},updateStake(e,t){const n=this.selectOrders.find((t=>t.wsi===e));n&&(n.stake=t,this.saveToStorage())},updateMatchStatus(e,t){let n=!1;this.selectOrders.forEach((o=>{o.data_id===e&&(void 0!==t.state&&(o.state=t.state),void 0!==t.status&&(o.status=t.status),void 0!==t.is_locked&&(o.is_locked=t.is_locked),void 0!==t.score&&(o.score=t.score),n=!0)})),n&&this.saveToStorage()},clearAllOrders(){this.selectOrders=[],this.isOpen=!1,this.saveToStorage()},saveToStorage(){Ov(IT,this.selectOrders)}}}),{setLocale:AT}=P_(),NT="zh";Rv("locale");const BT={zh:{"加载中":"加载中","操作失败":"操作失败","请求失败,请稍后重试":"请求失败,请稍后重试","登录已过期,请重新登录":"登录已过期,请重新登录","手机号":"手机号","邮箱":"邮箱","密码":"密码","忘记密码":"忘记密码","注册账号":"注册账号","请输入":"请输入","记住密码":"记住密码","登录":"登录","验证码":"验证码","请输入6位验证码":"请输入6位验证码","请输入密码":"请输入密码","确认密码":"确认密码","请再次输入密码":"请再次输入密码","已有账号":"已有账号","前往登录":"前往登录","获取验证码":"获取验证码","注册":"注册","过滤":"过滤","滚球":"滚球","体育博彩":"体育博彩","投注历史":"投注历史","我的":"我的","首页":"首页","安全":"安全","注册并登录":"注册并登录","请输入有效的充值数量":"请输入有效的充值数量","请上传支付凭证截图":"请上传支付凭证截图","充值":"充值","暂无二维码":"暂无二维码","选择币种":"选择币种","选择区块链网络":"选择区块链网络","充值地址":"充值地址","请确认充值地址正确无误,错误地址将导致资产丢失且无法找回":"请确认充值地址正确无误,错误地址将导致资产丢失且无法找回","充值数量":"充值数量","请输入充值数量":"请输入充值数量","预计到账":"预计到账","当前汇率":"当前汇率","上传支付凭证":"上传支付凭证","点击上传":"点击上传","确认充值":"确认充值","保存头像":"保存头像","退出登录":"退出登录","提现方式":"提现方式","提现币种":"提现币种","提现网络":"提现网络","提现地址":"提现地址","提现金额":"提现金额","手续费":"手续费","请选择提现方式":"请选择提现方式","银行卡":"银行卡","加密货币":"加密货币","请选择提现币种":"请选择提现币种","请选择提现网络":"请选择提现网络","请输入提现地址":"请输入提现地址","提款范围":"提款范围","钱包余额":"钱包余额","手续费比例":"手续费比例","预计到账金额":"预计到账金额","提交":"提交","提现":"提现","收款名字":"收款名字","银行名称":"银行名称","银行账号":"银行账号","银行地址":"银行地址","国际代码":"国际代码","其他":"其他","请输入收款名字":"请输入收款名字","请输入银行名称":"请输入银行名称","请输入银行账号":"请输入银行账号","请输入银行地址":"请输入银行地址","请输入国际代码":"请输入国际代码","其他信息":"其他信息","请先选择币种":"请先选择币种","提现金额不能小于 0":"提现金额不能小于 0","查询":"查询","重置":"重置","暂无资金记录":"暂无资金记录","流水号":"流水号","交易金额":"交易金额","变更后余额":"变更后余额","资金记录":"资金记录","交易类型":"交易类型","日期区间":"日期区间","请选择日期区间":"请选择日期区间","记录":"记录","充值记录":"充值记录","提现记录":"提现记录","更多滚球":"更多滚球","主队赢":"主队赢","平局":"平局","客队赢":"客队赢","进行中":"进行中","已完场":"已完场","投注单":"投注单","还没有账号":"还没有账号","邮箱登录":"邮箱登录","手机号登录":"手机号登录","请输入登录邮箱":"请输入登录邮箱","请输入登录密码":"请输入登录密码","我已阅读并同意":"我已阅读并同意","去注册":"去注册","版本":"版本","产品服务协议":"产品服务协议","请输入手机号":"请输入手机号","取消":"取消","确认":"确认","选择区号":"选择区号","请输入验证码":"请输入验证码","请先同意服务协议!":"请先同意服务协议!","邮箱注册":"邮箱注册","手机注册":"手机注册","请输入注册邮箱":"请输入注册邮箱","请设置登录密码":"请设置登录密码","请确认登录密码":"请确认登录密码","立即注册":"立即注册","去登录":"去登录","上传图片":"上传图片","未设置用户名":"未设置用户名","暂无":"暂无","账户余额":"账户余额","冻结金额":"冻结金额","账户安全":"账户安全","更换头像":"更换头像","保存":"保存","请先选择头像":"请先选择头像","提示":"提示","确定要退出登录吗?":"确定要退出登录吗?","个人资料":"个人资料","账户":"账户","账户号码":"账户号码","您的密码":"您的密码","注册日期":"注册日期","联系方式":"联系方式","电话":"电话","未提供":"未提供","电子邮箱":"电子邮箱","个人信息":"个人信息","姓氏":"姓氏","名字":"名字","出生日期":"出生日期","出生地":"出生地","文件类型":"文件类型","身份证":"身份证","文件号码":"文件号码","证件签发日期":"证件签发日期","国家":"国家","新加坡":"新加坡","地区":"地区","城市":"城市","常住地址":"常住地址","编辑":"编辑","未设置":"未设置","修改联系方式":"修改联系方式","请输入电话号码":"请输入电话号码","请输入电子邮箱":"请输入电子邮箱","未开始":"未开始","延期":"延期","网络类型":"网络类型","订单状态":"订单状态","处理中":"处理中","成功":"成功","失败":"失败","首次充值":"首次充值","是":"是","创建时间":"创建时间","订单号":"订单号","充值金额":"充值金额","实际到账":"实际到账","请选择记录查询区间":"请选择记录查询区间","开始":"开始","结束":"结束","条件筛选":"条件筛选","重置全部":"重置全部","立即查询":"立即查询","更新数据中...":"更新数据中...","银行信息":"银行信息","申请时间":"申请时间","提现成功":"提现成功","已驳回":"已驳回","网络/地址":"网络/地址","投注额超过您的余额":"投注额超过您的余额","潜在赢利":"潜在赢利","存款":"存款","前往投注单":"前往投注单","总赔率":"总赔率","投注":"投注","注单号":"注单号","赔率":"赔率","待结算":"待结算","投注金额":"投注金额","盈亏/派彩":"盈亏/派彩","请选择查询区间":"请选择查询区间","日期筛选":"日期筛选","加载最新记录...":"加载最新记录...","请选择查询日期":"请选择查询日期","全场":"全场","独赢":"独赢","半场独赢":"半场独赢","让球":"让球","半场让球":"半场让球","大小球":"大小球","半场大小球":"半场大小球","半场":"半场","大":"大","小":"小","赛事详情":"赛事详情","主胜":"主胜","客胜":"客胜","正在更新赛事...":"正在更新赛事...","确认提现":"确认提现","安全验证":"安全验证","请输入资金密码":"请输入资金密码","为保障您的资金安全,请输入资金密码":"为保障您的资金安全,请输入资金密码",pc28:"pc28","pc28分分彩":"pc28分分彩","获取最新数据...":"获取最新数据...","最新":"最新","咪牌":"咪牌","下一期":"下一期","pc28开奖详情":"pc28开奖详情","pc28开奖规则":"pc28开奖规则","确定投注":"确定投注","正在更新内容...":"正在更新内容...","有效":"有效","盘口已失效或关闭":"盘口已失效或关闭","全部类型":"全部类型","下注":"下注","资金冻结":"资金冻结","退款":"退款","未知类型":"未知类型","投注内容":"投注内容","投注本金":"投注本金","期号":"期号","待开奖":"待开奖","已中奖":"已中奖","未中奖":"未中奖","已撤单":"已撤单","投注记录":"投注记录","中奖":"中奖","已结算":"已结算","和局":"和局","平手半":"平手半","未结算":"未结算","已取消":"已取消","娱乐":"娱乐","体育":"体育","是否中奖":"是否中奖","结算状态":"结算状态"},en:{"加载中":"Loading...","操作失败":"Operation Failed","请求失败,请稍后重试":"Request failed, please try again later","登录已过期,请重新登录":"Session expired, please log in again","手机号":"Phone Number","邮箱":"Email","密码":"Password","忘记密码":"Forgot Password?","注册账号":"Create Account","请输入":"Please enter","记住密码":"Remember Password","登录":"Log In","验证码":"Verification Code","请输入6位验证码":"Please enter the 6-digit code","请输入密码":"Please enter your password","确认密码":"Confirm Password","请再次输入密码":"Please re-enter your password","已有账号":"Already have an account?","前往登录":"Log In Now","获取验证码":"Get Code","注册":"Sign Up","过滤":"Filter","滚球":"Live Betting","体育博彩":"Sportsbook","投注历史":"Betting History","我的":"Profile","首页":"Home","安全":"Security","注册并登录":"Register & Log In","请输入有效的充值数量":"Please enter a valid deposit amount","请上传支付凭证截图":"Please upload a screenshot of the payment voucher","充值":"Deposit","暂无二维码":"QR Code Unavailable","选择币种":"Select Currency","选择区块链网络":"Select Network","充值地址":"Deposit Address","请确认充值地址正确无误,错误地址将导致资产丢失且无法找回":"Please verify the deposit address. Sending assets to the wrong address will result in permanent loss.","充值数量":"Deposit Amount","请输入充值数量":"Enter deposit amount","预计到账":"Estimated Arrival","当前汇率":"Current Exchange Rate","上传支付凭证":"Upload Payment Voucher","点击上传":"Click to Upload","确认充值":"Confirm Deposit","保存头像":"Save Avatar","退出登录":"Log Out","提现方式":"Withdrawal Method","提现币种":"Withdrawal Currency","提现网络":"Withdrawal Network","提现地址":"Withdrawal Address","提现金额":"Withdrawal Amount","手续费":"Transaction Fee","请选择提现方式":"Select withdrawal method","银行卡":"Bank Card","加密货币":"Cryptocurrency","请选择提现币种":"Select currency to withdraw","请选择提现网络":"Select withdrawal network","请输入提现地址":"Enter withdrawal address","提款范围":"Withdrawal Range","钱包余额":"Wallet Balance","手续费比例":"Fee Rate","预计到账金额":"Estimated Settlement Amount","提交":"Submit","提现":"Withdraw","收款名字":"Account Holder Name","银行名称":"Bank Name","银行账号":"Bank Account Number","银行地址":"Bank Address","国际代码":"SWIFT/BIC Code","其他":"Other","请输入收款名字":"Enter account holder name","请输入银行名称":"Enter bank name","请输入银行账号":"Enter bank account number","请输入银行地址":"Enter bank address","请输入国际代码":"Enter SWIFT/BIC code","其他信息":"Additional Information","请先选择币种":"Please select a currency first","提现金额不能小于 0":"Withdrawal amount must be greater than 0","查询":"Inquiry","重置":"Reset","暂无资金记录":"No transaction records found","流水号":"Transaction ID","交易金额":"Transaction Amount","变更后余额":"Balance After Transaction","资金记录":"Transaction History","交易类型":"Transaction Type","日期区间":"Date Range","请选择日期区间":"Select date range","记录":"Records","充值记录":"Deposit History","提现记录":"Withdrawal History","更多滚球":"More Live Events","主队赢":"Home Win","平局":"Draw","客队赢":"Away Win","进行中":"In-Play","已完场":"Finished","投注单":"Bet Slip","还没有账号":"Don't have an account?","邮箱登录":"Email Login","手机号登录":"Mobile Login","请输入登录邮箱":"Enter login email","请输入登录密码":"Enter login password","我已阅读并同意":"I have read and agree to the","去注册":"Register Now","版本":"Version","产品服务协议":"Terms of Service","请输入手机号":"Please enter phone number","取消":"Cancel","确认":"Confirm","选择区号":"Select Country Code","请输入验证码":"Please enter verification code","请先同意服务协议!":"Please agree to the Terms of Service first!"},vi:{"加载中":"Đang tải...","操作失败":"Thao tác thất bại","请求失败,请稍后重试":"Yêu cầu thất bại, vui lòng thử lại sau","登录已过期,请重新登录":"Phiên đăng nhập đã hết hạn, vui lòng đăng nhập lại","手机号":"Số điện thoại","邮箱":"Email","密码":"Mật khẩu","忘记密码":"Quên mật khẩu?","注册账号":"Đăng ký tài khoản","请输入":"Vui lòng nhập","记住密码":"Ghi nhớ mật khẩu","登录":"Đăng nhập","验证码":"Mã xác minh","请输入6位验证码":"Vui lòng nhập mã xác minh 6 chữ số","请输入密码":"Vui lòng nhập mật khẩu","确认密码":"Xác nhận mật khẩu","请再次输入密码":"Vui lòng nhập lại mật khẩu","已有账号":"Đã có tài khoản?","前往登录":"Đăng nhập ngay","获取验证码":"Lấy mã","注册":"Đăng ký","过滤":"Lọc","滚球":"Rung (Live)","体育博彩":"Cá cược thể thao","投注历史":"Lịch sử cược","我的":"Của tôi","首页":"Trang chủ","安全":"An toàn","注册并登录":"Đăng ký và Đăng nhập","请输入有效的充值数量":"Vui lòng nhập số tiền nạp hợp lệ","请上传支付凭证截图":"Vui lòng tải lên ảnh chụp biên lai thanh toán","充值":"Nạp tiền","暂无二维码":"Chưa có mã QR","选择币种":"Chọn loại tiền","选择区块链网络":"Chọn mạng lưới blockchain","充值地址":"Địa chỉ nạp tiền","请确认充值地址正确无误,错误地址将导致资产丢失且无法找回":"Vui lòng xác nhận địa chỉ nạp tiền chính xác. Địa chỉ sai sẽ dẫn đến mất tài sản và không thể khôi phục.","充值数量":"Số lượng nạp","请输入充值数量":"Vui lòng nhập số lượng nạp","预计到账":"Dự kiến nhận được","当前汇率":"Tỷ giá hiện tại","上传支付凭证":"Tải lên biên lai thanh toán","点击上传":"Nhấn để tải lên","确认充值":"Xác nhận nạp tiền","保存头像":"Lưu ảnh đại diện","退出登录":"Đăng xuất","提现方式":"Phương thức rút tiền","提现币种":"Loại tiền rút","提现网络":"Mạng lưới rút tiền","提现地址":"Địa chỉ rút tiền","提现金额":"Số tiền rút","手续费":"Phí giao dịch","请选择提现方式":"Vui lòng chọn phương thức rút tiền","银行卡":"Thẻ ngân hàng","加密货币":"Tiền điện tử","请选择提现币种":"Vui lòng chọn loại tiền rút","请选择提现网络":"Vui lòng chọn mạng lưới rút tiền","请输入提现地址":"Vui lòng nhập địa chỉ rút tiền","提款范围":"Hạn mức rút tiền","钱包余额":"Số dư ví","手续费比例":"Tỷ lệ phí","预计到账金额":"Số tiền dự kiến nhận","提交":"Gửi","提现":"Rút tiền","收款名字":"Tên người nhận","银行名称":"Tên ngân hàng","银行账号":"Số tài khoản ngân hàng","银行地址":"Địa chỉ ngân hàng","国际代码":"Mã SWIFT/BIC","其他":"Khác","请输入收款名字":"Vui lòng nhập tên người nhận","请输入银行名称":"Vui lòng nhập tên ngân hàng","请输入银行账号":"Vui lòng nhập số tài khoản","请输入银行地址":"Vui lòng nhập địa chỉ ngân hàng","请输入国际代码":"Vui lòng nhập mã SWIFT/BIC","其他信息":"Thông tin khác","请先选择币种":"Vui lòng chọn loại tiền trước","提现金额不能小于 0":"Số tiền rút không được nhỏ hơn 0","查询":"Tra cứu","重置":"Đặt lại","暂无资金记录":"Chưa có lịch sử giao dịch","流水号":"Mã giao dịch","交易金额":"Số tiền giao dịch","变更后余额":"Số dư sau giao dịch","资金记录":"Lịch sử dòng tiền","交易类型":"Loại giao dịch","日期区间":"Khoảng thời gian","请选择日期区间":"Vui lòng chọn khoảng thời gian","记录":"Lịch sử","充值记录":"Lịch sử nạp tiền","提现记录":"Lịch sử rút tiền","更多滚球":"Thêm trận trực tiếp","主队赢":"Chủ nhà thắng","平局":"Hòa","客队赢":"Khách thắng","进行中":"Đang diễn ra","已完场":"Đã kết thúc","投注单":"Phiếu cược","还没有账号":"Chưa có tài khoản?","邮箱登录":"Đăng nhập bằng Email","手机号登录":"Đăng nhập bằng SĐT","请输入登录邮箱":"Vui lòng nhập Email đăng nhập","请输入登录密码":"Vui lòng nhập mật khẩu","我已阅读并同意":"Tôi đã đọc và đồng ý với","去注册":"Đến đăng ký","版本":"Phiên bản","产品服务协议":"Điều khoản dịch vụ","请输入手机号":"Vui lòng nhập số điện thoại","取消":"Hủy","确认":"Xác nhận","选择区号":"Chọn mã vùng","请输入验证码":"Vui lòng nhập mã xác minh","请先同意服务协议!":"Vui lòng đồng ý với điều khoản dịch vụ trước!"}},jT=()=>{const e=Rv("locale")||NT;if(Object.keys(BT).includes(e))return e},DT=function(e={}){const t=!$x(e.legacy)||e.legacy,n=!!e.globalInjection,o=new Map,r=t?aT(e):rT(e),a=vx(""),i={get mode(){return t?"legacy":"composition"},async install(e,...o){e.__VUE_I18N_SYMBOL__=a,e.provide(e.__VUE_I18N_SYMBOL__,i),!t&&n&&function(e,t){const n=Object.create(null);gT.forEach((e=>{const o=Object.getOwnPropertyDescriptor(t,e);if(!o)throw Xk(22);const r=Bn(o.value)?{get:()=>o.value.value,set(e){o.value.value=e}}:{get:()=>o.get&&o.get()};Object.defineProperty(n,e,r)})),e.config.globalProperties.$i18n=n,vT.forEach((n=>{const o=Object.getOwnPropertyDescriptor(t,n);if(!o||!o.value)throw Xk(22);Object.defineProperty(e.config.globalProperties,`$${n}`,o)}))}(e,i.global),function(e,t,...n){const o=Rx(n[0])?n[0]:{},r=!!o.useI18nComponentName;(!$x(o.globalInstall)||o.globalInstall)&&(e.component(r?"i18n":sT.name,sT),e.component(uT.name,uT),e.component(fT.name,fT)),e.directive("t",hT(t))}(e,i,...o),t&&e.mixin(function(e,t,n){return{beforeCreate(){const o=Za();if(!o)throw Xk(22);const r=this.$options;if(r.i18n){const n=r.i18n;r.__i18n&&(n.__i18n=r.__i18n),n.__root=t,this===this.$root?this.$i18n=pT(e,n):(n.__injectWithOption=!0,this.$i18n=aT(n))}else r.__i18n?this===this.$root?this.$i18n=pT(e,r):this.$i18n=aT({__i18n:r.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(o,this.$i18n),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e)},mounted(){},beforeUnmount(){const e=Za();if(!e)throw Xk(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(e),delete this.$i18n}}}(r,r.__composer,i))},get global(){return r},__instances:o,__getInstance:e=>o.get(e)||null,__setInstance(e,t){o.set(e,t)},__deleteInstance(e){o.delete(e)}};return i}({legacy:!1,locale:jT(),fallbackLocale:NT,messages:BT}),FT=e=>{Object.keys(BT).includes(e)||(console.warn(`语言标识 ${e} 不存在,默认使用中文 ${NT}`),e=NT),DT.global.locale.value=e,AT({en:"en-US",zh:"zh-CN",vi:"vi"}[e]),Ov("locale",e)},VT=e=>{const{url:t,method:n="GET",data:o={},params:r={},hideLoading:a=!1,showSuccessTip:i=!0,showFailTip:s=!0,timeout:l=1e4}=e;return new Promise(((e,r)=>{let c=!1;a||jy({title:DT.global.t("加载中")+"...",mask:!0,success:()=>{c=!0}});const u=Rv("token"),d=Rv("locale"),f={"Content-Type":"application/json;charset=utf-8",Lang:d||NT};u&&(f.Authorization=u),ry({url:"http://sportapi.sp2509.cc/api"+t,method:n.toUpperCase(),data:o,header:f,timeout:l,success:t=>{const n=t.data;if(c&&Dy(),1===n.code)i&&n.msg&&Ny({title:n.msg,icon:"success",duration:2e3,position:"middle"}),e(n);else if(0===n.code)s&&n.msg&&Ny({title:n.msg,icon:"none",duration:2e3,position:"middle"}),r(new Error(n.msg||DT.global.t("操作失败")));else if(401===n.code){Ny({title:n.msg||DT.global.t("登录已过期,请重新登录"),icon:"none",duration:2e3,mask:!0}),Av("token");let e=setTimeout((()=>{clearTimeout(e),py({url:"/pages/System/login"})}),1500);r(new Error("登录已过期"))}else s&&Ny({title:n.msg||DT.global.t("请求失败,请稍后重试"),icon:"none",duration:2e3}),r(new Error(n.msg||"请求失败"))},fail:e=>{console.log(e,119),c&&Dy(),Ny({title:e.errMsg||DT.global.t("网络异常,请检查网络后重试"),icon:"none",duration:2e3}),r(e)},complete:()=>{c&&Dy()}})}))};VT.get=(e,t={})=>VT({url:e,method:"GET",data:t.params,hideLoading:t.hideLoading,showSuccessTip:t.showSuccessTip,showFailTip:t.showFailTip}),VT.post=(e,t={},n={})=>VT({url:e,method:"POST",data:t,hideLoading:n.hideLoading,showSuccessTip:n.showSuccessTip,showFailTip:n.showFailTip});const WT=e=>VT.post("/user/register",e),zT=e=>VT.post("/user/login",e),HT=()=>VT.get("/user/logout"),qT=e=>VT.post("/user/sendCode",e),UT=()=>VT.get("/user/info"),XT=e=>VT.post("/user/update",e),YT=()=>VT.get("/user/delete"),GT=e=>VT.post("/user/resetPassword",e),JT=e=>VT.get("/index/banner",{params:e}),KT=e=>VT.get("/index/activity",{params:e}),QT=e=>VT.get("/index/sport",{params:e}),ZT=e=>VT.get("/index/sportInfo",{params:e}),eS=e=>VT.get("/wallet/getBlockChainFee",{params:e}),tS=e=>VT.get("/wallet/rechargeAddress",{params:e}),nS=e=>VT.post("/wallet/withdraw",e),oS=e=>VT.post("/wallet/recharge",e),rS=e=>VT.get("/wallet/rechargeHistory",{params:e}),aS=e=>VT.get("/wallet/withdrawHistory",{params:e}),iS=()=>VT.get("/wallet/getUsdt",{hideLoading:!0,showSuccessTip:!1}),sS=e=>VT.get("/wallet/moneyLog",{params:e}),lS=e=>VT.get("/order/list",{params:e}),cS=e=>VT.get("/order/info",{params:e}),uS=e=>VT.get("/game/betInfo",{params:e}),dS=e=>VT.post("/order/submit",e),fS=e=>VT({url:"/order/refund",method:"post",data:e}),hS=e=>VT({url:"/user/safeWord",method:"post",data:e}),pS=e=>VT({url:"/game/rule",method:"get",data:e}),mS=e=>VT({url:"/game/bet",method:"post",data:e}),gS=e=>VT({url:"/game/betList",method:"get",data:e});function vS(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}const yS=/#/g,bS=/&/g,_S=/\+/g,wS=/%5B/g,xS=/%5D/g,kS=/%5E/g,TS=/%60/g,SS=/%7B/g,CS=/%7C/g,ES=/%7D/g,PS=/%20/g;function MS(e){return function(e){return encodeURI(`${e}`).replace(CS,"|").replace(wS,"[").replace(xS,"]")}(e).replace(_S,"%2B").replace(PS,"+").replace(yS,"%23").replace(bS,"%26").replace(TS,"`").replace(SS,"{").replace(ES,"}").replace(kS,"^")}function $S(e){try{return decodeURIComponent(`${e}`)}catch(t){OS(`Error decoding "${e}". Using original value`)}return`${e}`}function OS(e,t=!1,...n){t&&console.warn(`[uni-router warn]: ${e}`,...n)}const LS=Symbol("navigation failure"),IS={1:({location:e})=>`Navigation ${"string"==typeof e?e:JSON.stringify(e)} is not found`,2:({from:e,to:t})=>`Redirected from "${JSON.stringify(e)}" to "${JSON.stringify(t)}" via a navigation guard.`,4:({from:e,to:t})=>`Navigation aborted from "${JSON.stringify(e)}" to "${JSON.stringify(t)}" via a navigation guard.`,8:({from:e,to:t})=>`Navigation cancelled from "${JSON.stringify(e)}" to "${JSON.stringify(t)}" with a new navigation.`,16:({from:e,to:t})=>`Avoided redundant navigation to current location: "${JSON.stringify(e)}".`};function RS(e,t){return e instanceof Error&&LS in e&&(null==t||!!(e.type&t))}function AS(e,t){return Object.assign(new Error(IS[e](t)),{type:e,[LS]:!0},t)}const NS=Array.isArray,BS=e=>"string"==typeof e,jS=/(^mp-weixin$)|(^mp-baidu$)|(^mp-alipay$)|(^mp-toutiao$)|(^mp-qq$)|(^mp-360$)/g,DS=["navigateTo","redirectTo","reLaunch","switchTab","navigateBack"];var FS,VS;(VS=FS||(FS={})).navigate="navigateTo",VS.redirect="redirectTo",VS.reLaunch="reLaunch",VS.switchTab="switchTab",VS.navigateBack="navigateBack";const WS={path:"/",name:"",query:{},fullPath:"/",meta:{}},zS=Symbol(),HS=Symbol();function qS(){return oa(HS)}const US={navigateTo:py,redirectTo:Oh,reLaunch:Ih,switchTab:Mh,navigateBack:hy};function XS(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("+"," "),r=e.indexOf("="),a=$S(r<0?e:e.slice(0,r)),i=r<0?null:$S(e.slice(r+1));t[a]=i}return t}function YS(e){for(const t in e){const n=e[t];null!=n&&(e[t]=$S(n))}return e}function GS(e){let t="";for(let n in e){const o=e[n];n=MS(n),null!=o?void 0!==o&&(t+=(t.length?"&":"")+n,null!=o&&(t+=`=${MS(o)}`)):void 0!==o&&(t+=(t.length?"&":"")+n)}return t}function JS(e,t,n="/"){if("*"===t)return{path:t,query:{}};let o,r={},a="";const i=t.indexOf("?");return i>-1?(o=t.slice(0,i),a=t.slice(i+1),r=e(a)):o=t,o=function(e,t){if(e.startsWith("/"))return e;if(!t.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let a,i,s=n.length-1;for(a=0;a<o.length;a++)if(i=o[a],"."!==i){if(".."!==i)break;s>1&&s--}return`${n.slice(0,s).join("/")}/${o.slice(a-(a===o.length?1:0)).join("/")}`}(null!=o?o:t,n),{path:o,query:r}}function KS(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n}function QS(e){const t=new Map,n=new Map,o=new Map;return e.routes.forEach((r=>function(r){let{path:a,aliasPath:i,name:s}=r;const l=JSON.stringify(r);null!=a&&void 0!==a||OS(`当前路由对象route:${l}不规范,必须含有\`path\``,e.debug),0!==a.indexOf("/")&&"*"!==a&&OS(`当前路由对象route:${l} \`path\`缺少前缀 ‘/’`,e.debug),i=i||a,n.set(a,r),t.set(i,r),s&&(o.has(s)&&OS(`当前路由对象route:${l} 的\`name\`已存在路由表中,将会覆盖旧值`,e.debug),o.set(s,r))}(r))),{getRouteByAliasPath:function(e){return t.get(e)},getRouteByPath:function(e){return n.get(e)},getRouteByName:function(e){return o.get(e)}}}function ZS(e,t){var n;let{fullPath:o,path:r,name:a,query:i,meta:s}=t;const{getRouteByAliasPath:l,getRouteByPath:c}=e.routeMatcher,u=Object.assign({},WS);if("h5"===e.options.platform){const u="/"===r?l(r):c(r);i=t.query=YS(null===(n=JS(e.parseQuery,o))||void 0===n?void 0:n.query),o=KS(e.stringifyQuery,t),s=Object.assign({},null==u?void 0:u.meta,s),a=null==u?void 0:u.name}return u.fullPath=o,u.meta=s,u.path=r,u.name=a,u.query=i,u}function eC(e){return"string"==typeof e||e&&"object"==typeof e}function tC(e,t){return!(!e.fullPath&&!t.fullPath)&&e.fullPath===t.fullPath}function nC(e,t){const n=e.resolve("*");if(!n||void 0===n.redirect)throw OS("未匹配到*通配符路径,或者*通配符必须配合 redirect 使用。redirect: string | Location",e.options.debug),AS(1,{location:t});let o;o="function"==typeof n.redirect?n.redirect(t):n.redirect;if(void 0===e.resolve(o))throw OS(`无法解析解析出redirect:${JSON.stringify(o)}中的内容,`,e.options.debug),AS(1,{location:t});return AS(2,{to:o,from:t})}function oC(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function rC(e,t,n){return()=>new Promise(((o,r)=>{const a=e=>{!1===e?r(AS(4,{to:t,from:n})):e instanceof Error?r(e):eC(e)?r(AS(2,{to:e,from:t})):o()},i=e(t,n,a);let s=Promise.resolve(i);"object"==typeof i&&"then"in i?s=s.then(a):void 0!==i&&a(i),s.catch((e=>r(e)))}))}function aC(e,t){let n=e.$scope.route;n=n.startsWith("/")?n:`/${n}`;return{path:n,query:e.$scope.options||{}}}function iC(e,t,n,o){return(...r)=>{t.call(n,r,(t=>{e.apply(n,t)}),o)}}const sC={onLoad([e],t,n){t([YS(e)])},onShow(e,t,n){console.log(e);const o=np().length;let r,a;if(n.fromRoute)r=n.currentRoute.value,a=n.fromRoute,n.fromRoute=void 0;else{const o=aC(this);if(r=ZS(n,n.resolve(o)),a=n.currentRoute.value,tC(r,a))return t(e);n.currentRoute.value=r}const i=[];for(const s of n.guards.afterGuards.list())i.push((()=>{return e=this,t=null,n=function*(){s(r,a)},new Promise(((o,r)=>{var a=e=>{try{s(n.next(e))}catch(t){r(t)}},i=e=>{try{s(n.throw(e))}catch(t){r(t)}},s=e=>e.done?o(e.value):Promise.resolve(e.value).then(a,i);s((n=n.apply(e,t)).next())}));var e,t,n}));oC(i),n.level=o,t(e)}};function lC(e,t){return{path:e.$page.path,query:e.$page.options||{}}}const cC={onShow(e){const t=np().length;let n,o;if(e.fromRoute)n=e.currentRoute.value,o=e.fromRoute,e.fromRoute=void 0;else{const t=lC(this);if(n=ZS(e,e.resolve(t)),o=e.currentRoute.value,tC(n,o))return;e.currentRoute.value=n}const r=[];for(const a of e.guards.afterGuards.list())r.push((()=>{return e=this,t=null,r=function*(){a(n,o)},new Promise(((n,o)=>{var a=e=>{try{s(r.next(e))}catch(t){o(t)}},i=e=>{try{s(r.throw(e))}catch(t){o(t)}},s=e=>e.done?n(e.value):Promise.resolve(e.value).then(a,i);s((r=r.apply(e,t)).next())}));var e,t,r}));oC(r),e.level=t}};function uC(e,t){const n=function(e){let t=e.options.platform;jS.test(t)&&(t="applets");const n={app:{beforeCreate(){"page"===this.$mpType&&function(e,t){if(cC&&e.$)for(const n in cC){const o=cC[n],r=e.$[n];NS(r)?r.unshift(o.bind(e,t)):e.$[n]=[o.bind(e,t)]}}(this,e)}},h5:{},applets:{beforeCreate(){"page"===this.$mpType&&function(e,t){if(console.log(e),sC&&e.$scope)for(const n in sC){const o=sC[n],r=e.$scope[n];r&&(e.$scope[n]=iC(r,o,e,t))}}(this,e)}}};return n[t]||{}}(t);e.mixin(n)}function dC(e,t,n){var o;const r={beforeGuards:()=>{var t;null===(t=e.vueRouter)||void 0===t||t.beforeEach(((t,o,r)=>{const a=e.resolve(t),i=ZS(e,t),s=ZS(e,o);let l;void 0===a&&(l=nC(e,i));const c=t=>{if(!eC(t)||t instanceof Error)r(t);else if(BS(t)||!t.navType){const n=e.resolve(t);n&&r({path:n.path,query:n.query})}else{const n=t.navType;e.navigate(t,n)}};if(RS(l,2))return void e.redirectTo(null==l?void 0:l.to);const u=n(i,s,c);"object"==typeof u&&"then"in u?u.then(c).catch((()=>{c(!1)})):void 0!==u&&c(u)}))},afterGuards:()=>{var t;null===(t=e.vueRouter)||void 0===t||t.afterEach(((t,o)=>{const r=ZS(e,t),a=ZS(e,o);n(r,a)}))}};null===(o=r[t])||void 0===o||o.call(r)}var fC=Object.defineProperty,hC=Object.defineProperties,pC=Object.getOwnPropertyDescriptors,mC=Object.getOwnPropertySymbols,gC=Object.prototype.hasOwnProperty,vC=Object.prototype.propertyIsEnumerable,yC=(e,t,n)=>t in e?fC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bC=(e,t)=>{for(var n in t||(t={}))gC.call(t,n)&&yC(e,n,t[n]);if(mC)for(var n of mC(t))vC.call(t,n)&&yC(e,n,t[n]);return e},_C=(e,t)=>hC(e,pC(t));var wC={resolve:function(e,t,n="navigateTo"){const{getRouteByName:o,getRouteByPath:r,getRouteByAliasPath:a}=e.routeMatcher;if(BS(t)&&(t={path:t}),Reflect.has(t,"delta")&&"navigateBack"===n||"backbutton"===t.from)return t;Reflect.has(t,"url")&&(t=_C(bC({},t),{path:t.url}));const i=e.currentRoute.value.path,s="/"===i?a(i):r(i);if(Reflect.has(t,"path")){const n=JS(e.parseQuery,t.path,null==s?void 0:s.path);let o=r(n.path);if(void 0===o&&(o=a(n.path)),void 0===o)return;const i=Object.assign({},n.query,null==t?void 0:t.query),l=KS(e.stringifyQuery,{path:o.path,query:i});return _C(bC({},t),{path:o.path,meta:o.meta||{},name:o.name,redirect:o.redirect,fullPath:l,query:i})}if(Reflect.has(t,"name")){let n=o(t.name);if(void 0===n)return void(n=r("*"));const a=Object.assign({},t.query),i=KS(e.stringifyQuery,{path:n.path,query:a});return _C(bC({},t),{path:n.path,meta:n.meta||{},name:n.name,redirect:n.redirect,fullPath:i,query:a})}},mount:function(e,t){!function(e,t){const{h5:n}=t.options,o=e.config.globalProperties.$router,r=o.options.scrollBehavior;Object.assign(o.options,n),o.options.scrollBehavior=function(e,t,o){return(null==n?void 0:n.scrollBehavior)?null==n?void 0:n.scrollBehavior(e,t,o):r(e,t,o)},t.vueRouter=o;for(const[a,i]of Object.entries(t.guards))i.list().forEach((e=>{dC(t,a,e)}));o.afterEach((e=>{t.currentRoute.value=ZS(t,e)}))}(e,t)},navigate:function(e,t,n="navigateTo",o){let r,a=e.resolve(t,n);void 0===a&&(r=nC(e,t));const i=e.currentRoute.value,s=np();return"navigateBack"===n&&a.delta>=s.length&&(a=e.resolve("/","reLaunch"),n="reLaunch"),(r?Promise.resolve(r):e.jump(a,n)).catch((e=>RS(e,2)?e:Promise.reject(e))).then((t=>{if(t){if(RS(t,2)){const n=e.resolve(null==t?void 0:t.to);return a&&tC(a,n)&&o&&(o._count=o._count?o._count+1:1)>30?(pi(`检测到从“${i.fullPath}”到“${a.fullPath}”时导航守卫中可能存在无限重定向。中止以避免堆栈溢出。\n 是否总是在导航防护中返回新位置?这将导致此错误。仅在重定向或中止时返回,这应该可以解决此问题。如果未修复,这可能会在生产中中断`,e.options.debug),Promise.reject(new Error("Infinite redirect in navigation guard"))):e.navigate(n,n.navType,o||a)}return Promise.resolve(t)}}))},jump:function(e,t,n){return new Promise(((e,o)=>{US[n](_C(bC({},t),{url:t.fullPath,success(n){var o;e(n),null===(o=t.success)||void 0===o||o.call(t,n)},fail(e){var n;o(e),null===(n=t.fail)||void 0===n||n.call(t,e)},complete(e){var n;null===(n=t.complete)||void 0===n||n.call(t,e)}}))}))},forceGuardEach:function(e){return t=this,n=null,o=function*(){throw new Error("在h5端上使用:forceGuardEach 是无意义的,目前 forceGuardEach 仅支持在非h5端上使用")},new Promise(((e,r)=>{var a=e=>{try{s(o.next(e))}catch(t){r(t)}},i=e=>{try{s(o.throw(e))}catch(t){r(t)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(a,i);s((o=o.apply(t,n)).next())}));var t,n,o}},xC=Object.defineProperty,kC=Object.defineProperties,TC=Object.getOwnPropertyDescriptors,SC=Object.getOwnPropertySymbols,CC=Object.prototype.hasOwnProperty,EC=Object.prototype.propertyIsEnumerable,PC=(e,t,n)=>t in e?xC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,MC=(e,t)=>{for(var n in t||(t={}))CC.call(t,n)&&PC(e,n,t[n]);if(SC)for(var n of SC(t))EC.call(t,n)&&PC(e,n,t[n]);return e},$C=(e,t)=>kC(e,TC(t)),OC=(e,t,n)=>new Promise(((o,r)=>{var a=e=>{try{s(n.next(e))}catch(t){r(t)}},i=e=>{try{s(n.throw(e))}catch(t){r(t)}},s=e=>e.done?o(e.value):Promise.resolve(e.value).then(a,i);s((n=n.apply(e,t)).next())}));var LC={resolve:function(e,t,n="navigateTo"){const{getRouteByName:o,getRouteByPath:r,getRouteByAliasPath:a}=e.routeMatcher;if(BS(t)&&(t={path:t}),Reflect.has(t,"delta")&&"navigateBack"===n||"backbutton"===t.from){t.delta=t.delta||1;const n=np();let o,r=0;n.length>t.delta&&(r=n.length-1-t.delta),o="app"===e.options.platform?lC(n[r]):aC(n[r].$vm),t=$C(MC(MC({},o),t),{force:"backbutton"===t.from})}Reflect.has(t,"url")&&(t=$C(MC({},t),{path:t.url}));const i=e.currentRoute.value.path,s="/"===i?a(i):r(i);if(Reflect.has(t,"path")){const n=JS(e.parseQuery,t.path,null==s?void 0:s.path);let o=r(n.path);if(void 0===o&&(o=a(n.path)),void 0===o)return;const i=Object.assign({},n.query,null==t?void 0:t.query),l=KS(e.stringifyQuery,{path:o.path,query:i});return $C(MC({},t),{path:o.path,meta:o.meta||{},name:o.name,redirect:o.redirect,fullPath:l,query:i})}if(Reflect.has(t,"name")){const n=o(t.name);if(void 0===n)return;const r=Object.assign({},t.query),a=KS(e.stringifyQuery,{path:n.path,query:r});return $C(MC({},t),{path:n.path,meta:n.meta||{},name:n.name,redirect:n.redirect,fullPath:a,query:r})}},mount:function(e,t){t.forceGuardEach()},navigate:function(e,t,n="navigateTo",o){try{const r=e.resolve(t,n),a=null==r?void 0:r.force;if(e.lock&&!a)return Promise.resolve();e.lock=!0;const i=e.currentRoute.value;let s;if(void 0===r)s=nC(e,t);else if(!a&&tC(r,i)){s=AS(16,{to:ZS(e,r),from:i})}return(s?Promise.resolve(s):e.jump(r,n)).catch((e=>RS(e,2)?e:Promise.reject(e))).then((t=>{if(t){if(RS(t,2)){const n=e.resolve(null==t?void 0:t.to);return r&&tC(r,n)&&o&&(o._count=o._count?o._count+1:1)>30?(OS(`检测到从“${i.fullPath}”到“${r.fullPath}”时导航守卫中可能存在无限重定向。中止以避免堆栈溢出。\n 是否总是在导航防护中返回新位置?这将导致此错误。仅在重定向或中止时返回,这应该可以解决此问题。如果未修复,这可能会在生产中中断`,e.options.debug),Promise.reject(new Error("Infinite redirect in navigation guard"))):(e.lock=!1,e.navigate(n,n.navType,o||r))}return Promise.resolve(t)}})).finally((()=>{e.lock=!1}))}catch(r){return e.lock=!1,Promise.reject(r)}},jump:function(e,t,n){return new Promise(((o,r)=>{const a=ZS(e,t);Promise.resolve().then((()=>{const t=[];for(const n of e.guards.beforeGuards.list())t.push(rC(n,a,e.currentRoute.value));return oC(t)})).then((()=>{e.fromRoute=e.currentRoute.value,e.currentRoute.value=a,US[n]($C(MC({},t),{url:t.fullPath,success(e){var n;null===(n=t.success)||void 0===n||n.call(t,e),o(e)},fail(e){var n;null===(n=t.fail)||void 0===n||n.call(t,e),r(e)},complete(e){var n;null===(n=t.complete)||void 0===n||n.call(t,e)}}))})).catch(r)}))},forceGuardEach:function(e){return OC(this,null,(function*(){const t=function(){const e=Df();return{path:`/${e.path}`,query:e.query||{}}}(),n=e.resolve(t);let o;if(void 0===n)o=nC(e,t);else{const t=ZS(e,n),a=[];for(const n of e.guards.beforeGuards.list())a.push(rC(n,t,WS));try{yield oC(a),e.currentRoute.value=t;const n=[];for(const o of e.guards.afterGuards.list())n.push((()=>OC(this,null,(function*(){o(t,WS)}))));yield oC(n)}catch(r){o=r}}if(RS(o,2))return e.reLaunch(null==o?void 0:o.to)}))}};function IC(e){const t={beforeGuards:vS(),afterGuards:vS()},n=Dn(WS),o=QS(e),r="h5"===e.platform?wC:LC;function a(e,t="navigateTo",n){return new Promise(((o,a)=>{let s={};var l;null!=(l=e)&&"object"==typeof l&&(s=e),r.navigate(i,e,t,n).then((e=>{o(e)})).catch((e=>{var t,n;null===(t=s.fail)||void 0===t||t.call(s,e),null===(n=s.complete)||void 0===n||n.call(s,e),a(e)}))}))}const i={level:0,lock:!1,currentRoute:n,guards:t,options:e,vueRouter:null,routeMatcher:o,parseQuery:e.parseQuery||XS,stringifyQuery:e.stringifyQuery||GS,jump:function(e,t){return new Promise(((n,o)=>{r.jump(i,e,t).then(n).catch(o)}))},navigateTo:e=>a(e,"navigateTo"),switchTab:e=>a(e,"switchTab"),redirectTo:e=>a(e,"redirectTo"),reLaunch:e=>a(e,"reLaunch"),navigateBack:(e={delta:1})=>a(e,"navigateBack"),navigate:a,resolve:function(e,t="navigateTo"){return r.resolve(i,e,t)},forceGuardEach:function(){return new Promise(((e,t)=>{r.forceGuardEach(i).then(e).catch(t)}))},beforeEach(e){t.beforeGuards.add(e)},afterEach(e){t.afterGuards.add(e)},install(e){const t={};for(const r in WS)t[r]=di((()=>n.value[r]));e.config.globalProperties.$uniRouter=i,Object.defineProperty(e.config.globalProperties,"$uniRoute",{enumerable:!0,get:()=>Wn(n)}),e.provide(zS,i),e.provide(HS,xn(t));const o=e.mount;e.mount=function(...t){return function(e){DS.forEach((t=>{uni[t]=function(n){return e[t](n)}}))}(i),r.mount(e,i),uC(e,i),console.log("%c uni-router %c v1.2.7 ","padding: 2px 1px; border-radius: 3px 0 0 3px; color: #fff; background: #606060; font-weight: bold;","padding: 2px 1px; border-radius: 0 3px 3px 0; color: #fff; background: #42c02e; font-weight: bold;"),o(...t)}}};return i}function RC(e){Object.assign(e,{push:(...t)=>e.navigate(...t),pushTab:(...t)=>e.switchTab(...t),replace:(...t)=>e.redirect(...t),replaceAll:(...t)=>e.reLaunch(...t),back:t=>{e.navigateBack({...t||{},delta:(null==t?void 0:t.delta)||t})}})}function AC(){const e=oa(zS);return RC(e),e}function NC(e,t){return"string"==typeof e?t:e}const BC=e=>(t,n=Za())=>{!ai&&yr(e,t,n)},jC=BC(re),DC=BC(ae),FC=BC(ie),VC=BC(de),WC={__name:"index",props:{navLeftText:{type:String,default:""},navTitle:{type:String,default:""},navLeftArrow:{type:Boolean,default:!0},showNavBar:{type:Boolean,default:!0}},setup(e,{expose:t}){const{t:n}=mT(),o=AC(),r=RT(),a=jn(null),i=jn("94px"),s=jn(0),l=jn(!1),c=jn(null),u=jn(!1),d=jn(""),f=jr(),h=!!f.left,p=!!f.title,m=!!f.right;f.navBarRight;const g=xn({backgroundColor:"#212121"}),v=e=>{if(void 0===e.status||void 0===e.state||void 0===e.is_roll)return 1===e.is_locked;if(1===e.is_locked)return!0;const t=Number(e.status),n=Number(e.state),o=Number(e.is_roll);if(1!==t)return!0;if(1===o){if(![0,1,3].includes(n))return!0}else if(0===o&&1!==n)return!0;return!1},y=di((()=>r.selectOrders.filter((e=>!v(e))))),b=di((()=>0===y.value.length?0:y.value.reduce(((e,t)=>e+(Number(t.odds)||0)),0))),_=di((()=>y.value.reduce(((e,t)=>e+(Number(t.stake)||0)),0))),w=()=>{r.setSheetOpen(!0)},x=()=>{r.setSheetOpen(!1)},k=(e,t)=>{if(v(e))return;let n=Number(e.stake)||0;n+=t,n<0&&(n=0),r.updateStake(e.wsi,n)},T=()=>{o.push({name:"topUp"})},S=()=>0===r.selectOrders.length?uni.$u.toast(n("请选择投注单")):0===y.value.length?uni.$u.toast(n("暂无有效投注项,请移除锁定盘口或重新选择")):_.value>s.value?Ny({title:n("余额不足"),icon:"none"}):(d.value="",void(u.value=!0)),C=()=>{var e;if(!d.value)return Ny({title:n("请输入资金密码"),icon:"none"}),void(null==(e=c.value)||e.clearLoading());const t=y.value.map((e=>({data_id:e.data_id,btn:e.betType,wsi:e.wsi,si:e.si,o:e.odds,amount:e.stake})));dS({data:t,safe_word:d.value}).then((e=>{var t;1===e.code?(Ny({title:n("投注成功"),icon:"success"}),y.value.forEach((e=>r.removeOrderItem(e.wsi))),$(),u.value=!1,0===r.selectOrders.length&&x()):(Ny({title:e.msg||n("投注失败"),icon:"none"}),null==(t=c.value)||t.clearLoading())})).catch((e=>{var t;null==(t=c.value)||t.clearLoading()}))},E=()=>{h||l.value||hy({delta:1})};function P(){o.push({name:"topUp"})}function M(){o.pushTab({name:"index"})}function $(){iS().then((e=>{s.value=e.data.money})).catch((e=>{console.error("获取余额失败:",e)}))}return wr((()=>{const e=np();if(e.length>0){const t=e[e.length-1].route||"",n=["pages/Tabbar/Home/index","pages/Tabbar/RollingBall/index","pages/Tabbar/SportsBetting/index","pages/Tabbar/Entertainment/index","pages/Tabbar/My/index"];l.value=n.some((e=>t.includes(e)))}})),jC((()=>{a.value=Rv("token"),a.value&&$()})),t({getData:$}),(t,f)=>{const y=Tg,$=bg,O=mx,L=ix,I=px,R=Tm,A=lx,N=hx,B=dx;return Ma(),Ra(y,{class:"global-page-container"},{default:xo((()=>[e.showNavBar?(Ma(),Ra(I,{key:0,title:"","back-text":"","back-icon-name":"","custom-back":E,background:g,"border-bottom":!1},Or({left:xo((()=>[Va(y,{class:"logo-container",onClick:ls(M,["stop"])},{default:xo((()=>[(Ma(),Ia("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"40",viewBox:"0 0 533 94",fill:"none"},[Fa("g",{"clip-path":"url(#clip0_128:1078)"},[Fa("path",{d:"M341.752 65.1563C340.206 73.1583 336.063 79.9633 329.323 85.5714C322.584 91.1795 315.231 93.9968 307.264 94.0235H248.848L267.117 0H325.533C333.533 0 339.789 2.82071 344.302 8.46212C348.815 14.1035 350.312 20.9086 348.792 28.8772C347.686 34.6187 343.916 40.6635 337.483 47.0118C341.443 53.38 342.866 59.4282 341.752 65.1563ZM320.264 65.1563C320.485 64.2542 320.499 63.3134 320.303 62.4053C320.107 61.4972 319.707 60.6456 319.134 59.915C318.554 59.2044 317.817 58.6397 316.98 58.2662C316.143 57.8927 315.23 57.7209 314.314 57.7644H289.155L293.645 36.2791H318.484C320.568 36.2695 322.578 35.5056 324.143 34.1285C325.786 32.811 326.909 30.9541 327.313 28.8872C327.535 27.9851 327.548 27.0443 327.353 26.1362C327.157 25.2281 326.757 24.3765 326.183 23.6459C325.603 22.9372 324.865 22.3744 324.028 22.0026C323.191 21.6309 322.278 21.4606 321.364 21.5054H284.426L274.516 72.5181H311.444C313.525 72.5061 315.531 71.7424 317.094 70.3676C318.73 69.0576 319.853 67.2123 320.264 65.1563Z",fill:"#FFBC00"}),Fa("path",{d:"M422.076 94.0235H341.5L359.779 0H440.344L436.175 21.5054H377.088L374.208 36.2791H419.866L415.696 57.7644H370.038L367.169 72.5481H426.255L422.076 94.0235Z",fill:"#FFBC00"}),Fa("path",{d:"M528.832 21.5054H495.974L481.835 94.0235H460.346L474.445 21.4954H441.547L445.717 0H532.972L528.832 21.5054Z",fill:"#FFBC00"}),Fa("path",{d:"M101.335 94.0235H79.8467L88.1262 51.4329L57.6879 94.0235H44.2587L30.3794 51.4529L22.1099 94.0235H0.621094L18.8901 0H40.3989L57.9979 57.7644L98.096 0H119.604L101.335 94.0235Z",fill:"#F9F9F9"}),Fa("path",{d:"M187.279 94.0235H106.703L124.992 0H205.568L201.388 21.4954H142.281L139.411 36.2691H185.069L180.889 57.7644H135.232L132.362 72.5381H191.448L187.279 94.0235Z",fill:"#F9F9F9"}),Fa("path",{d:"M261.275 94.0235H192.648L210.917 0H232.406L218.307 72.5381H265.454L261.275 94.0235Z",fill:"#F9F9F9"})]),Fa("defs",null,[Fa("clipPath",{id:"clip0_128:1078"},[Fa("rect",{width:"533",height:"94",fill:"white"})])])])),Fa("h3",{class:"tc"},"MELBET")])),_:1})])),right:xo((()=>[a.value?(Ma(),Ra(y,{key:0,class:"navbar-right"},{default:xo((()=>[Va(O,{onClick:P,size:"small",type:"primary",customStyle:{height:"32px",padding:"0 10px",marginRight:"10px"}},{default:xo((()=>[Va($,{style:{color:"#000",margin:"0 4px","font-weight":"bold"}},{default:xo((()=>[za(X(s.value)+" "+X(t.$currency),1)])),_:1})])),_:1}),Va(y,{class:"nav-btn",onClick:f[0]||(f[0]=e=>Wn(o).pushTab({name:"My"}))},{default:xo((()=>[Va(L,{name:"account-fill",color:"#fff"})])),_:1}),Va(y,{class:"nav-btn ml-2",onClick:f[1]||(f[1]=e=>Wn(o).push({name:"customerService"}))},{default:xo((()=>[Va(L,{name:"kefu-ermai",color:"#fff"})])),_:1})])),_:1})):(Ma(),Ra(y,{key:1,style:{color:"#ccc","text-decoration":"underline","margin-right":"16px"},onClick:f[2]||(f[2]=e=>Wn(o).push({name:"login"}))},{default:xo((()=>[za(X(Wn(n)("去登录")),1)])),_:1}))])),_:2},[h?{name:"left",fn:xo((()=>[Lr(t.$slots,"left",{},void 0,!0)])),key:"0"}:void 0,p?{name:"center",fn:xo((()=>[Lr(t.$slots,"title",{},void 0,!0)])),key:"1"}:void 0,m?{name:"right",fn:xo((()=>[Lr(t.$slots,"right",{},void 0,!0)])),key:"2"}:void 0]),1032,["background"])):Ha("",!0),e.showNavBar&&!l.value?(Ma(),Ra(y,{key:1,class:"sub-navbar"},{default:xo((()=>[Va(y,{class:"sub-navbar-left"},{default:xo((()=>[Va(y,{class:"sub-navbar-arrow-left nav-btn",onClick:E},{default:xo((()=>[Va(L,{name:"arrow-left",size:"36",color:"#f1f1f1"})])),_:1}),Fa("span",null,X(e.navTitle?t.$t(e.navTitle):""),1)])),_:1}),Va(y,{class:"sub-navbar-right"},{default:xo((()=>[Lr(t.$slots,"navBarRight",{},void 0,!0)])),_:3})])),_:3})):Ha("",!0),l.value?Ha("",!0):(Ma(),Ra(y,{key:2,style:{height:"50px"}})),Va(y,{class:qe(["content-box",[l.value?"tabbar-content-box":""]]),style:He({paddingBottom:l.value?i.value:""})},{default:xo((()=>[Lr(t.$slots,"default",{},void 0,!0)])),_:3},8,["class","style"]),l.value&&"/pages/Tabbar/Entertainment/index"!==t.$route.path&&"/pages/Tabbar/My/index"!==t.$route.path?(Ma(),Ra(y,{key:3},{default:xo((()=>[Wn(r).isOpen?Ha("",!0):(Ma(),Ra(y,{key:0,class:"sticky-header-bar",onClick:w},{default:xo((()=>[Va(y,{class:"betting-sheet-header"},{default:xo((()=>[Va(y,{class:"betting-sheet-header-left"},{default:xo((()=>[Wn(r).selectedCount>0?(Ma(),Ra(y,{key:0,class:"sheet-badge"},{default:xo((()=>[za(X(Wn(r).selectedCount),1)])),_:1})):Ha("",!0),Va($,{class:"header-text"},{default:xo((()=>[za(X(Wn(n)("投注单")),1)])),_:1}),Va(L,{name:"arrow-up",color:"#666"})])),_:1}),Va(y,{class:"betting-sheet-header-right"},{default:xo((()=>[Va(y,{class:"settings-btn"},{default:xo((()=>[Va($,{style:{"font-size":"12px","margin-right":"4px"},class:"tmc",onClick:f[3]||(f[3]=ls((e=>Wn(o).push({name:"betSlip"})),["stop"]))},{default:xo((()=>[za(X(Wn(n)("前往投注单")),1)])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})),Va(A,{modelValue:Wn(r).isOpen,mode:"bottom","border-radius":"24",mask:!0,"mask-close-able":!0,onClose:x,"z-index":990,"safe-area-inset-bottom":!0,height:"70%"},{default:xo((()=>[Va(y,{class:"betting-sheet-header border-bottom popup-betting-sheet-header",onClick:x},{default:xo((()=>[Va(y,{class:"betting-sheet-header-left"},{default:xo((()=>[Wn(r).selectedCount>0?(Ma(),Ra(y,{key:0,class:"sheet-badge"},{default:xo((()=>[za(X(Wn(r).selectedCount),1)])),_:1})):Ha("",!0),Va($,{class:"header-text"},{default:xo((()=>[za(X(Wn(n)("投注单")),1)])),_:1}),Va(L,{name:"arrow-down",color:"#666"})])),_:1}),Va(y,{class:"betting-sheet-header-right"},{default:xo((()=>[Va(y,{class:"settings-btn"},{default:xo((()=>[Va($,{style:{"font-size":"12px","margin-right":"4px"},class:"tmc",onClick:f[4]||(f[4]=ls((e=>Wn(o).push({name:"betSlip"})),["stop"]))},{default:xo((()=>[za(X(Wn(n)("前往投注单")),1)])),_:1})])),_:1})])),_:1})])),_:1}),0===Wn(r).selectedCount?(Ma(),Ra(y,{key:0,class:"empty-sheet"},{default:xo((()=>[Va($,null,{default:xo((()=>[za(X(Wn(n)("暂无投注项")),1)])),_:1})])),_:1})):(Ma(),Ra(y,{key:1,class:"bet-list"},{default:xo((()=>[(Ma(!0),Ia(ka,null,$r(Wn(r).selectOrders,((e,o)=>(Ma(),Ra(y,{class:qe(["bet-item",{"is-locked":v(e)}]),key:o},{default:xo((()=>[v(e)?(Ma(),Ra(y,{key:0,class:"lock-overlay"},{default:xo((()=>[Va(L,{name:"lock-fill",color:"#fff",size:"32"}),Va($,{class:"lock-text"},{default:xo((()=>[za(X(Wn(n)("盘口已失效或关闭")),1)])),_:1})])),_:1})):Ha("",!0),Va(y,{class:"item-header"},{default:xo((()=>[Va($,{class:"team-names"},{default:xo((()=>[za(X(e.homeTeam)+" - "+X(e.guestTeam),1)])),_:2},1024),Va(y,{class:"close-btn",onClick:ls((t=>Wn(r).removeOrderItem(e.wsi)),["stop"])},{default:xo((()=>[Va(L,{name:"close",color:"#666",size:"16"})])),_:2},1032,["onClick"])])),_:2},1024),Va(y,{class:"item-info"},{default:xo((()=>[Va(y,{class:"bet-type"},{default:xo((()=>[Va($,{class:"type-name"},{default:xo((()=>[za("1X2: "+X(e.betTypeName),1)])),_:2},1024)])),_:2},1024),Va(y,{class:"odds-box"},{default:xo((()=>[Va($,{class:"odds-val"},{default:xo((()=>[za(X(e.odds),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),Va(y,{class:"league-info"},{default:xo((()=>[Va($,null,{default:xo((()=>[za(X(e.league),1)])),_:2},1024),e.score?(Ma(),Ra($,{key:0,class:"live-score"},{default:xo((()=>[za("当前比分: "+X(e.score),1)])),_:2},1024)):Ha("",!0)])),_:2},1024),Va(y,{class:qe(["stake-input-box",{"error-border":!v(e)&&Number(e.stake)>Number(s.value)}])},{default:xo((()=>[Va(y,{class:"stepper-btn",onClick:t=>k(e,-10)},{default:xo((()=>[za("-")])),_:2},1032,["onClick"]),Va(R,{type:"number",class:"stake-input",modelValue:e.stake,"onUpdate:modelValue":t=>e.stake=t,onInput:t=>((e,t)=>{v(t)||r.updateStake(t.wsi,e.detail.value)})(t,e),placeholder:"本金",disabled:v(e)},null,8,["modelValue","onUpdate:modelValue","onInput","disabled"]),Va(y,{class:"stepper-btn",onClick:t=>k(e,10)},{default:xo((()=>[za("+")])),_:2},1032,["onClick"])])),_:2},1032,["class"]),Va(y,{class:"item-footer"},{default:xo((()=>[!v(e)&&Number(e.stake)>Number(s.value)?(Ma(),Ra(y,{key:0,class:"err-msg"},{default:xo((()=>[za(X(Wn(n)("投注额超过您的余额")),1)])),_:1})):(Ma(),Ra(y,{key:1,class:"potential-win"},{default:xo((()=>[za(X(Wn(n)("潜在赢利"))+" ",1),Va($,{class:"win-amount"},{default:xo((()=>[za(X((Number(e.stake)*Number(e.odds)).toFixed(2))+" "+X(t.$currency),1)])),_:2},1024)])),_:2},1024))])),_:2},1024)])),_:2},1032,["class"])))),128))])),_:1})),Va(y,{class:"sheet-action-bar"},{default:xo((()=>[Wn(r).selectedCount>0?(Ma(),Ra(y,{key:0,class:"total-odds-row"},{default:xo((()=>[Va($,{class:"label"},{default:xo((()=>[za(X(Wn(n)("总赔率"))+"("+X(Wn(n)("有效"))+")",1)])),_:1}),Va($,{class:"val"},{default:xo((()=>[za(X(b.value.toFixed(2)),1)])),_:1})])),_:1})):Ha("",!0),_.value>s.value?(Ma(),Ra(O,{key:1,type:"primary",onClick:T},{default:xo((()=>[za(X(Wn(n)("存款")),1)])),_:1})):(Ma(),Ra(O,{key:2,type:"primary",onClick:S},{default:xo((()=>[za(X(Wn(n)("投注")),1)])),_:1}))])),_:1}),Va(y,{style:{height:"90px"}}),Va(y,{style:{height:"40px"}})])),_:1},8,["modelValue"]),Va(B,{ref_key:"safeModalRef",ref:c,modelValue:u.value,"onUpdate:modelValue":f[6]||(f[6]=e=>u.value=e),"async-close":!0,title:Wn(n)("安全验证"),"show-cancel-button":!0,"confirm-text":Wn(n)("确定投注"),"cancel-text":Wn(n)("取消"),"confirm-color":"#f8b932",onConfirm:C},{default:xo((()=>[Va(y,{class:"safe-modal-content"},{default:xo((()=>[Va($,{class:"safe-tips"},{default:xo((()=>[za(X(Wn(n)("为保障您的资金安全,请输入资金密码")),1)])),_:1}),Va(N,{modelValue:d.value,"onUpdate:modelValue":f[5]||(f[5]=e=>d.value=e),type:"password",placeholder:Wn(n)("请输入资金密码"),border:!0,"border-color":"#e4e7ed",clearable:!0},null,8,["modelValue","placeholder"])])),_:1})])),_:1},8,["modelValue","title","confirm-text","cancel-text"])])),_:1})):Ha("",!0)])),_:3})}}},zC=R_(WC,[["__scopeId","data-v-b0fbff54"]]),HC={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},qC=Object.create(null);for(const HE in HC)Object.hasOwn(HC,HE)&&(qC[HC[HE]]=HE);const UC={to:{},get:{}};function XC(e,t,n){return Math.min(Math.max(t,e),n)}function YC(e){const t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}UC.get=function(e){let t,n;switch(e.slice(0,3).toLowerCase()){case"hsl":t=UC.get.hsl(e),n="hsl";break;case"hwb":t=UC.get.hwb(e),n="hwb";break;default:t=UC.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},UC.get.rgb=function(e){if(!e)return null;let t,n,o,r=[0,0,0,1];if(t=e.match(/^#([a-f\d]{6})([a-f\d]{2})?$/i)){for(o=t[2],t=t[1],n=0;n<3;n++){const e=2*n;r[n]=Number.parseInt(t.slice(e,e+2),16)}o&&(r[3]=Number.parseInt(o,16)/255)}else if(t=e.match(/^#([a-f\d]{3,4})$/i)){for(t=t[1],o=t[3],n=0;n<3;n++)r[n]=Number.parseInt(t[n]+t[n],16);o&&(r[3]=Number.parseInt(o+o,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)r[n]=Number.parseInt(t[n+1],10);t[4]&&(r[3]=t[5]?.01*Number.parseFloat(t[4]):Number.parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:Object.hasOwn(HC,t[1])?(r=HC[t[1]],r[3]=1,r):null:null;for(n=0;n<3;n++)r[n]=Math.round(2.55*Number.parseFloat(t[n+1]));t[4]&&(r[3]=t[5]?.01*Number.parseFloat(t[4]):Number.parseFloat(t[4]))}for(n=0;n<3;n++)r[n]=XC(r[n],0,255);return r[3]=XC(r[3],0,1),r},UC.get.hsl=function(e){if(!e)return null;const t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){const e=Number.parseFloat(t[4]);return[(Number.parseFloat(t[1])%360+360)%360,XC(Number.parseFloat(t[2]),0,100),XC(Number.parseFloat(t[3]),0,100),XC(Number.isNaN(e)?1:e,0,1)]}return null},UC.get.hwb=function(e){if(!e)return null;const t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){const e=Number.parseFloat(t[4]);return[(Number.parseFloat(t[1])%360+360)%360,XC(Number.parseFloat(t[2]),0,100),XC(Number.parseFloat(t[3]),0,100),XC(Number.isNaN(e)?1:e,0,1)]}return null},UC.to.hex=function(...e){return"#"+YC(e[0])+YC(e[1])+YC(e[2])+(e[3]<1?YC(Math.round(255*e[3])):"")},UC.to.rgb=function(...e){return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},UC.to.rgb.percent=function(...e){const t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),o=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+o+"%)":"rgba("+t+"%, "+n+"%, "+o+"%, "+e[3]+")"},UC.to.hsl=function(...e){return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},UC.to.hwb=function(...e){let t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},UC.to.keyword=function(...e){return qC[e.slice(0,3)]};const GC={};for(const HE of Object.keys(HC))GC[HC[HE]]=HE;const JC={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},KC=(6/29)**3;function QC(e){const t=e>.0031308?1.055*e**(1/2.4)-.055:12.92*e;return Math.min(Math.max(0,t),1)}function ZC(e){return e>.04045?((e+.055)/1.055)**2.4:e/12.92}for(const HE of Object.keys(JC)){if(!("channels"in JC[HE]))throw new Error("missing channels property: "+HE);if(!("labels"in JC[HE]))throw new Error("missing channel labels property: "+HE);if(JC[HE].labels.length!==JC[HE].channels)throw new Error("channel and label counts mismatch: "+HE);const{channels:e,labels:t}=JC[HE];delete JC[HE].channels,delete JC[HE].labels,Object.defineProperty(JC[HE],"channels",{value:e}),Object.defineProperty(JC[HE],"labels",{value:t})}function eE(e){const t=function(){const e={},t=Object.keys(JC);for(let{length:n}=t,o=0;o<n;o++)e[t[o]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length>0;){const e=n.pop(),o=Object.keys(JC[e]);for(let{length:r}=o,a=0;a<r;a++){const r=o[a],i=t[r];-1===i.distance&&(i.distance=t[e].distance+1,i.parent=e,n.unshift(r))}}return t}function tE(e,t){return function(n){return t(e(n))}}function nE(e,t){const n=[t[e].parent,e];let o=JC[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),o=tE(JC[t[r].parent][r],o),r=t[r].parent;return o.conversion=n,o}function oE(e){const t=eE(e),n={},o=Object.keys(t);for(let{length:r}=o,a=0;a<r;a++){const e=o[a];null!==t[e].parent&&(n[e]=nE(e,t))}return n}JC.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,o=e[2]/255,r=Math.min(t,n,o),a=Math.max(t,n,o),i=a-r;let s,l;switch(a){case r:s=0;break;case t:s=(n-o)/i;break;case n:s=2+(o-t)/i;break;case o:s=4+(t-n)/i}s=Math.min(60*s,360),s<0&&(s+=360);const c=(r+a)/2;return l=a===r?0:c<=.5?i/(a+r):i/(2-a-r),[s,100*l,100*c]},JC.rgb.hsv=function(e){let t,n,o,r,a;const i=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(i,s,l),u=c-Math.min(i,s,l),d=function(e){return(c-e)/6/u+.5};if(0===u)r=0,a=0;else{switch(a=u/c,t=d(i),n=d(s),o=d(l),c){case i:r=o-n;break;case s:r=1/3+t-o;break;case l:r=2/3+n-t}r<0?r+=1:r>1&&(r-=1)}return[360*r,100*a,100*c]},JC.rgb.hwb=function(e){const t=e[0],n=e[1];let o=e[2];const r=JC.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,o));return o=1-1/255*Math.max(t,Math.max(n,o)),[r,100*a,100*o]},JC.rgb.oklab=function(e){const t=ZC(e[0]/255),n=ZC(e[1]/255),o=ZC(e[2]/255),r=Math.cbrt(.4122214708*t+.5363325363*n+.0514459929*o),a=Math.cbrt(.2119034982*t+.6806995451*n+.1073969566*o),i=Math.cbrt(.0883024619*t+.2817188376*n+.6299787005*o);return[100*(.2104542553*r+.793617785*a-.0040720468*i),100*(1.9779984951*r-2.428592205*a+.4505937099*i),100*(.0259040371*r+.7827717662*a-.808675766*i)]},JC.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,o=e[2]/255,r=Math.min(1-t,1-n,1-o);return[100*((1-t-r)/(1-r)||0),100*((1-n-r)/(1-r)||0),100*((1-o-r)/(1-r)||0),100*r]},JC.rgb.keyword=function(e){const t=GC[e];if(t)return t;let n,o=Number.POSITIVE_INFINITY;for(const i of Object.keys(HC)){const t=(a=HC[i],((r=e)[0]-a[0])**2+(r[1]-a[1])**2+(r[2]-a[2])**2);t<o&&(o=t,n=i)}var r,a;return n},JC.keyword.rgb=function(e){return HC[e]},JC.rgb.xyz=function(e){const t=ZC(e[0]/255),n=ZC(e[1]/255),o=ZC(e[2]/255);return[100*(.4124564*t+.3575761*n+.1804375*o),100*(.2126729*t+.7151522*n+.072175*o),100*(.0193339*t+.119192*n+.9503041*o)]},JC.rgb.lab=function(e){const t=JC.rgb.xyz(e);let n=t[0],o=t[1],r=t[2];n/=95.047,o/=100,r/=108.883,n=n>KC?n**(1/3):7.787*n+16/116,o=o>KC?o**(1/3):7.787*o+16/116,r=r>KC?r**(1/3):7.787*r+16/116;return[116*o-16,500*(n-o),200*(o-r)]},JC.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,o=e[2]/100;let r,a;if(0===n)return a=255*o,[a,a,a];const i=o<.5?o*(1+n):o+n-o*n,s=2*o-i,l=[0,0,0];for(let c=0;c<3;c++)r=t+1/3*-(c-1),r<0&&r++,r>1&&r--,a=6*r<1?s+6*(i-s)*r:2*r<1?i:3*r<2?s+(i-s)*(2/3-r)*6:s,l[c]=255*a;return l},JC.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,o=e[2]/100,r=n;const a=Math.max(o,.01);o*=2,n*=o<=1?o:2-o,r*=a<=1?a:2-a;return[t,100*(0===o?2*r/(a+r):2*n/(o+n)),100*((o+n)/2)]},JC.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let o=e[2]/100;const r=Math.floor(t)%6,a=t-Math.floor(t),i=255*o*(1-n),s=255*o*(1-n*a),l=255*o*(1-n*(1-a));switch(o*=255,r){case 0:return[o,l,i];case 1:return[s,o,i];case 2:return[i,o,l];case 3:return[i,s,o];case 4:return[l,i,o];case 5:return[o,i,s]}},JC.hsv.hsl=function(e){const t=e[0],n=e[1]/100,o=e[2]/100,r=Math.max(o,.01);let a,i;i=(2-n)*o;const s=(2-n)*r;return a=n*r,a/=s<=1?s:2-s,a=a||0,i/=2,[t,100*a,100*i]},JC.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,o=e[2]/100;const r=n+o;let a;r>1&&(n/=r,o/=r);const i=Math.floor(6*t),s=1-o;a=6*t-i,1&i&&(a=1-a);const l=n+a*(s-n);let c,u,d;switch(i){default:case 6:case 0:c=s,u=l,d=n;break;case 1:c=l,u=s,d=n;break;case 2:c=n,u=s,d=l;break;case 3:c=n,u=l,d=s;break;case 4:c=l,u=n,d=s;break;case 5:c=s,u=n,d=l}return[255*c,255*u,255*d]},JC.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,o=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r)),255*(1-Math.min(1,o*(1-r)+r))]},JC.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,o=e[2]/100;let r,a,i;return r=3.2404542*t+-1.5371385*n+-.4985314*o,a=-.969266*t+1.8760108*n+.041556*o,i=.0556434*t+-.2040259*n+1.0572252*o,r=QC(r),a=QC(a),i=QC(i),[255*r,255*a,255*i]},JC.xyz.lab=function(e){let t=e[0],n=e[1],o=e[2];t/=95.047,n/=100,o/=108.883,t=t>KC?t**(1/3):7.787*t+16/116,n=n>KC?n**(1/3):7.787*n+16/116,o=o>KC?o**(1/3):7.787*o+16/116;return[116*n-16,500*(t-n),200*(n-o)]},JC.xyz.oklab=function(e){const t=e[0]/100,n=e[1]/100,o=e[2]/100,r=Math.cbrt(.8189330101*t+.3618667424*n-.1288597137*o),a=Math.cbrt(.0329845436*t+.9293118715*n+.0361456387*o),i=Math.cbrt(.0482003018*t+.2643662691*n+.633851707*o);return[100*(.2104542553*r+.793617785*a-.0040720468*i),100*(1.9779984951*r-2.428592205*a+.4505937099*i),100*(.0259040371*r+.7827717662*a-.808675766*i)]},JC.oklab.oklch=function(e){return JC.lab.lch(e)},JC.oklab.xyz=function(e){const t=e[0]/100,n=e[1]/100,o=e[2]/100,r=(.999999998*t+.396337792*n+.215803758*o)**3,a=(1.000000008*t-.105561342*n-.063854175*o)**3,i=(1.000000055*t-.089484182*n-1.291485538*o)**3;return[100*(1.227013851*r-.55779998*a+.281256149*i),100*(-.040580178*r+1.11225687*a-.071676679*i),100*(-.076381285*r-.421481978*a+1.58616322*i)]},JC.oklab.rgb=function(e){const t=e[0]/100,n=e[1]/100,o=e[2]/100,r=(t+.3963377774*n+.2158037573*o)**3,a=(t-.1055613458*n-.0638541728*o)**3,i=(t-.0894841775*n-1.291485548*o)**3;return[255*QC(4.0767416621*r-3.3077115913*a+.2309699292*i),255*QC(-1.2684380046*r+2.6097574011*a-.3413193965*i),255*QC(-.0041960863*r-.7034186147*a+1.707614701*i)]},JC.oklch.oklab=function(e){return JC.lch.lab(e)},JC.lab.xyz=function(e){let t,n,o;n=(e[0]+16)/116,t=e[1]/500+n,o=n-e[2]/200;const r=n**3,a=t**3,i=o**3;return n=r>KC?r:(n-16/116)/7.787,t=a>KC?a:(t-16/116)/7.787,o=i>KC?i:(o-16/116)/7.787,t*=95.047,n*=100,o*=108.883,[t,n,o]},JC.lab.lch=function(e){const t=e[0],n=e[1],o=e[2];let r;r=360*Math.atan2(o,n)/2/Math.PI,r<0&&(r+=360);return[t,Math.sqrt(n*n+o*o),r]},JC.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI;return[t,n*Math.cos(o),n*Math.sin(o)]},JC.rgb.ansi16=function(e,t=null){const[n,o,r]=e;let a=null===t?JC.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),0===a)return 30;let i=30+(Math.round(r/255)<<2|Math.round(o/255)<<1|Math.round(n/255));return 2===a&&(i+=60),i},JC.hsv.ansi16=function(e){return JC.rgb.ansi16(JC.hsv.rgb(e),e[2])},JC.rgb.ansi256=function(e){const t=e[0],n=e[1],o=e[2];if(t>>4==n>>4&&n>>4==o>>4)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5)},JC.ansi16.rgb=function(e){let t=(e=e[0])%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(Math.trunc(e>50)+1);return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},JC.ansi256.rgb=function(e){if((e=e[0])>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},JC.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".slice(t.length)+t},JC.hex.rgb=function(e){const t=e.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=[...n].map((e=>e+e)).join(""));const o=Number.parseInt(n,16);return[o>>16&255,o>>8&255,255&o]},JC.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,o=e[2]/255,r=Math.max(Math.max(t,n),o),a=Math.min(Math.min(t,n),o),i=r-a;let s;return s=i<=0?0:r===t?(n-o)/i%6:r===n?2+(o-t)/i:4+(t-n)/i,s/=6,s%=1,[360*s,100*i,100*(i<1?a/(1-i):0)]},JC.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,o=n<.5?2*t*n:2*t*(1-n);let r=0;return o<1&&(r=(n-.5*o)/(1-o)),[e[0],100*o,100*r]},JC.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,o=t*n;let r=0;return o<1&&(r=(n-o)/(1-o)),[e[0],100*o,100*r]},JC.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,o=e[2]/100;if(0===n)return[255*o,255*o,255*o];const r=[0,0,0],a=t%1*6,i=a%1,s=1-i;let l=0;switch(Math.floor(a)){case 0:r[0]=1,r[1]=i,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=i;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=i,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return l=(1-n)*o,[255*(n*r[0]+l),255*(n*r[1]+l),255*(n*r[2]+l)]},JC.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let o=0;return n>0&&(o=t/n),[e[0],100*o,100*n]},JC.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let o=0;return n>0&&n<.5?o=t/(2*n):n>=.5&&n<1&&(o=t/(2*(1-n))),[e[0],100*o,100*n]},JC.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},JC.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,o=n-t;let r=0;return o<1&&(r=(n-o)/(1-o)),[e[0],100*o,100*r]},JC.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},JC.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},JC.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},JC.gray.hsl=function(e){return[0,0,e[0]]},JC.gray.hsv=JC.gray.hsl,JC.gray.hwb=function(e){return[0,100,e[0]]},JC.gray.cmyk=function(e){return[0,0,0,e[0]]},JC.gray.lab=function(e){return[e[0],0,0]},JC.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".slice(n.length)+n},JC.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const rE={},aE=Object.keys(JC);function iE(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function sE(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const o=e(t);if("object"==typeof o)for(let{length:e}=o,r=0;r<e;r++)o[r]=Math.round(o[r]);return o};return"conversion"in e&&(t.conversion=e.conversion),t}for(const HE of aE){rE[HE]={},Object.defineProperty(rE[HE],"channels",{value:JC[HE].channels}),Object.defineProperty(rE[HE],"labels",{value:JC[HE].labels});const e=oE(HE),t=Object.keys(e);for(const n of t){const t=e[n];rE[HE][n]=sE(t),rE[HE][n].raw=iE(t)}}const lE=["keyword","gray","hex"],cE={};for(const HE of Object.keys(rE))cE[[...rE[HE].labels].sort().join("")]=HE;const uE={};function dE(e,t){if(!(this instanceof dE))return new dE(e,t);if(t&&t in lE&&(t=null),t&&!(t in rE))throw new Error("Unknown model: "+t);let n,o;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof dE)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=UC.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,o=rE[this.model].channels,this.color=t.value.slice(0,o),this.valpha="number"==typeof t.value[o]?t.value[o]:1}else if(e.length>0){this.model=t||"rgb",o=rE[this.model].channels;const n=Array.prototype.slice.call(e,0,o);this.color=mE(n,o),this.valpha="number"==typeof e[o]?e[o]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const o=t.sort().join("");if(!(o in cE))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=cE[o];const{labels:r}=rE[this.model],a=[];for(n=0;n<r.length;n++)a.push(e[r[n]]);this.color=mE(a)}if(uE[this.model])for(o=rE[this.model].channels,n=0;n<o;n++){const e=uE[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}dE.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in UC.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const n=1===t.valpha?t.color:[...t.color,this.valpha];return UC.to[t.model](...n)},percentString(e){const t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:[...t.color,this.valpha];return UC.to.rgb.percent(...n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=rE[this.model],{labels:n}=rE[this.model];for(let o=0;o<t;o++)e[n[o]]=this.color[o];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new dE([...this.color.map(fE(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new dE([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:hE("rgb",0,pE(255)),green:hE("rgb",1,pE(255)),blue:hE("rgb",2,pE(255)),hue:hE(["hsl","hsv","hsl","hwb","hcg"],0,(e=>(e%360+360)%360)),saturationl:hE("hsl",1,pE(100)),lightness:hE("hsl",2,pE(100)),saturationv:hE("hsv",1,pE(100)),value:hE("hsv",2,pE(100)),chroma:hE("hcg",1,pE(100)),gray:hE("hcg",2,pE(100)),white:hE("hwb",1,pE(100)),wblack:hE("hwb",2,pE(100)),cyan:hE("cmyk",0,pE(100)),magenta:hE("cmyk",1,pE(100)),yellow:hE("cmyk",2,pE(100)),black:hE("cmyk",3,pE(100)),x:hE("xyz",0,pE(95.047)),y:hE("xyz",1,pE(100)),z:hE("xyz",2,pE(108.833)),l:hE("lab",0,pE(100)),a:hE("lab",1),b:hE("lab",2),keyword(e){return void 0!==e?new dE(e):rE[this.model].keyword(this.color)},hex(e){return void 0!==e?new dE(e):UC.to.hex(...this.rgb().round().color)},hexa(e){if(void 0!==e)return new dE(e);const t=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),UC.to.hex(...t)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[n,o]of e.entries()){const e=o/255;t[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return dE.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),o=this.rgb(),r=void 0===t?.5:t,a=2*r-1,i=n.alpha()-o.alpha(),s=((a*i===-1?a:(a+i)/(1+a*i))+1)/2,l=1-s;return dE.rgb(s*n.red()+l*o.red(),s*n.green()+l*o.green(),s*n.blue()+l*o.blue(),n.alpha()*r+o.alpha()*(1-r))}};for(const HE of Object.keys(rE)){if(lE.includes(HE))continue;const{channels:e}=rE[HE];dE.prototype[HE]=function(...e){return this.model===HE?new dE(this):e.length>0?new dE(e,HE):new dE([...(t=rE[this.model][HE].raw(this.color),Array.isArray(t)?t:[t]),this.valpha],HE);var t},dE[HE]=function(...t){let n=t[0];return"number"==typeof n&&(n=mE(t,e)),new dE(n,HE)}}function fE(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function hE(e,t,n){e=Array.isArray(e)?e:[e];for(const o of e)(uE[o]||(uE[o]=[]))[t]=n;return e=e[0],function(o){let r;return void 0!==o?(n&&(o=n(o)),r=this[e](),r.color[t]=o,r):(r=this[e]().color[t],n&&(r=n(r)),r)}}function pE(e){return function(t){return Math.max(0,Math.min(e,t))}}function mE(e,t){for(let n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}function gE(e=""){const t=function(e="",{shades:t=[50,100,200,300,400,500,600,700,800,900,950],baseShade:n=500,returnRgb:o=!1}={}){const r=dE(e),a=e=>o?e.round().array().join(","):e.hex();return t.reduce(((e,t)=>{if(n===t)e[t]=e.DEFAULT;else if(t<n){const o=1-t/n,i=r.mix(dE("white"),o);e[t]=a(i)}else{const o=(t-n)/(1e3-n),i=r.mix(dE("black"),o);e[t]=a(i)}return e}),{DEFAULT:a(r)})}(e,{returnRgb:!0}),n=(e="",t="")=>document.documentElement.style.setProperty(e,t);Object.entries(t).forEach((([e,t])=>{n("DEFAULT"===e?"--color-primary":`--color-primary-${e}`,t)}))}const vE=new class{constructor(){this.url="ws://sportapi.sp2509.cc:9501",this.socketTask=null,this.isOpen=!1,this.isReconnecting=!1,this.reconnectCount=0,this.maxReconnect=5,this.timer=null,this.pingInterval=3e4}connect(){this.isOpen||(this.socketTask=fy({url:this.url,success:()=>{console.log("WebSocket 开始连接...")}}),this.socketTask.onOpen((()=>{console.log("WebSocket 连接成功"),this.isOpen=!0,this.isReconnecting=!1,this.reconnectCount=0,this.startHeartbeat()})),this.socketTask.onMessage((e=>{console.log("WebSocket 收到服务器消息:",e.data),pf("onSocketMessage",e.data)})),this.socketTask.onClose((()=>{console.log("WebSocket 连接断开"),this.isOpen=!1,this.socketTask=null,this.stopHeartbeat(),this.reconnect()})),this.socketTask.onError((e=>{console.error("WebSocket 连接错误:",e),this.isOpen=!1})))}send(e){if(this.isOpen&&this.socketTask){const t="object"==typeof e?JSON.stringify(e):e;this.socketTask.send({data:t})}else console.error("WebSocket 尚未连接,消息发送失败")}startHeartbeat(){this.stopHeartbeat(),this.timer=setInterval((()=>{this.send({type:"ping"})}),this.pingInterval)}stopHeartbeat(){this.timer&&(clearInterval(this.timer),this.timer=null)}reconnect(){this.isReconnecting||(this.reconnectCount>=this.maxReconnect?console.error("WebSocket 重连次数达到上限,放弃重连"):(this.isReconnecting=!0,this.reconnectCount++,console.log(`WebSocket 正在尝试第 ${this.reconnectCount} 次重连...`),setTimeout((()=>{this.isReconnecting=!1,this.connect()}),3e3)))}close(){this.maxReconnect=0,this.stopHeartbeat(),this.isOpen&&this.socketTask&&this.socketTask.close()}},yE="#028d71",bE="MelBet",_E="1.0.0",wE="",xE={name:"viarotel",email:"viarotel@qq.com",url:"https://viarotel.eu.org/",wechat:"viarotel",address:"河南省郑州市"},kE=LT("app",(()=>{const e={primary:{color:yE,name:"默认"},blue:{color:"#3b82f6",name:"经典蓝"},purple:{color:"#8b5cf6",name:"紫罗兰"},red:{color:"#ef4444",name:"活力红"},orange:{color:"#f59e0b",name:"橙黄色"}},t=jn("primary"),n=di((()=>e[t.value]||e.primary)),o=di((()=>{var e;return(null==(e=n.value)?void 0:e.color)||yE}));return{themeModel:e,currentTheme:t,currentThemeInfo:n,primaryColor:o}}),{persist:!0}),TE={__name:"App",setup(e){FC((()=>{console.log("App Launch"),vE.connect()})),jC((()=>{console.log("App Show")})),DC((()=>{console.log("App Hide")}));const t=kE();return Ao((()=>{gE(t.primaryColor)})),()=>{}}};Qg(TE,{init:Jg,setup(e){const t=bd(),n=()=>{var n;n=e,Object.keys(jf).forEach((e=>{jf[e].forEach((t=>{yr(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:a}=e,i=function({path:e,query:t}){return c(jp,{path:e,query:t}),c(Dp,jp),c({},jp)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Ze(t.query)});if(o&&R(o,i),r&&R(r,i),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};Ah(),a&&R(a,e)}};return oa(Il).isReady().then(n),wr((()=>{window.addEventListener("resize",nt(ev,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",tv),document.addEventListener("visibilitychange",nv),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{xb.emit(le,{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Ma(),Ra(yb));e.setup=(e,o)=>{const r=t&&t(e,o);return g(r)?n:r},e.render=n}});var SE=Object.defineProperty,CE=Object.defineProperties,EE=Object.getOwnPropertyDescriptors,PE=Object.getOwnPropertySymbols,ME=Object.prototype.hasOwnProperty,$E=Object.prototype.propertyIsEnumerable,OE=(e,t,n)=>t in e?SE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function LE(e){return(...t)=>{const n=t[0];return new Promise(((t,o)=>{var r;e((r=((e,t)=>{for(var n in t||(t={}))ME.call(t,n)&&OE(e,n,t[n]);if(PE)for(var n of PE(t))$E.call(t,n)&&OE(e,n,t[n]);return e})({},n),CE(r,EE({success:e=>{var o;null==(o=null==n?void 0:n.success)||o.call(n,e),t(e)},fail:e=>{var t;null==(t=null==n?void 0:n.fail)||t.call(n,e),o(e)}}))))}))}}LE(uni.authorize),LE(uni.checkIsSoterEnrolledInDevice),LE(uni.checkIsSupportSoterAuthentication),LE(uni.checkSession),LE(uni.chooseAddress),LE(uni.chooseInvoice),LE(uni.chooseInvoiceTitle),LE(uni.chooseMedia),LE(uni.chooseMessageFile),LE(uni.closeBLEConnection),LE(uni.closeBluetoothAdapter),LE(uni.compressImage),LE(uni.compressVideo),LE(uni.createBLEConnection),LE(uni.createPushMessage),LE(uni.getBatteryInfo),LE(uni.getBLEDeviceCharacteristics),LE(uni.getBLEDeviceRSSI),LE(uni.getBLEDeviceServices),LE(uni.getBluetoothAdapterState),LE(uni.getBluetoothDevices),LE(uni.getCheckBoxState),LE(uni.getConnectedBluetoothDevices),LE(uni.getExtConfig),LE(uni.getSetting),LE(uni.getUserInfo),LE(uni.getUserProfile),LE(uni.hideHomeButton),LE(uni.hideShareMenu),LE(uni.navigateBackMiniProgram),LE(uni.navigateToMiniProgram),LE(uni.notifyBLECharacteristicValueChange),LE(uni.openAppAuthorizeSetting),LE(uni.openBluetoothAdapter),LE(uni.openVideoEditor),LE(uni.preLogin),LE(uni.readBLECharacteristicValue),LE(uni.requestPayment),LE(uni.requestSubscribeMessage),LE(uni.setBackgroundColor),LE(uni.setBackgroundTextStyle),LE(uni.setBLEMTU),LE(uni.setEnableDebug),LE(uni.share),LE(uni.shareWithSystem);const IE=LE(Sy);LE(uni.showShareMenu);const RE=LE(Ny);LE(uni.startBluetoothDevicesDiscovery),LE(uni.startSoterAuthentication),LE(uni.stopBluetoothDevicesDiscovery),LE(uni.vibrate),LE(uni.writeBLECharacteristicValue);const AE=LT("user",(()=>{const e=jn({}),t=di((()=>e.value.id||"")),n=jn(!1);async function o(){if(!Rv("token"))throw new Error("未登录,无法获取用户信息");try{const t=await UT();(null==t?void 0:t.data)&&(e.value=t.data,Ov("user_info",t.data))}catch(t){throw console.error("获取用户信息失败:",t),new Error("获取用户信息失败")}}return{userInfo:e,userId:t,loginLoading:n,logout:function(){Av("token"),Av("user_info"),e.value={}},getUserData:o,initUserInfo:async function(){Rv("token")&&await o()}}}));var NE={};function BE(e){e.beforeEach(((e,t,n)=>{Sy({title:"提示",content:"触发了路由中间件,是否允许通过?",success:e=>{e.cancel?n(!1):n()}})})),e.afterEach((()=>{}))}const jE=function(e){const t=IC({platform:"h5",...e||{}});RC(t);const n=t.install;return t.install=e=>{n(e),e.config.globalProperties.$Router=t,Object.defineProperty(e.config.globalProperties,"$Route",{enumerable:!0,get:()=>t.currentRoute.value})},t}({routes:[{path:"/pages/Tabbar/Home/index",aliasPath:"/",name:"index"},{path:"/pages/Tabbar/RollingBall/index",aliasPath:"/RollingBall",name:"RollingBall"},{path:"/pages/Tabbar/SportsBetting/index",aliasPath:"/SportsBetting",name:"SportsBetting"},{path:"/pages/Tabbar/Entertainment/index",aliasPath:"/Entertainment",name:"Entertainment"},{path:"/pages/Tabbar/BettingHistory/index",aliasPath:"/BettingHistory",name:"BettingHistory"},{path:"/pages/Tabbar/My/index",aliasPath:"/My",name:"My"},{path:"/pages/login/index",aliasPath:"/login",name:"login"},{path:"/pages/register/index",aliasPath:"/register",name:"register"},{path:"/pages/index/example/index",aliasPath:"/example",name:"example"},{path:"/pages/index/user/index",aliasPath:"/user",name:"user"},{path:"/pages/common/web-view/index",aliasPath:"/web-view",name:"web-view"},{path:"/pages/common/rich-view/index",aliasPath:"/rich-view",name:"rich-view"},{path:"/pages/tips/middleware/index",aliasPath:"/tips-middleware",name:"tips-middleware",meta:{middleware:["test"]}},{path:"/pages/template/paging/index",aliasPath:"/template-paging",name:"template-paging"},{path:"/pages/oldPage/personal/index",aliasPath:"/personal",name:"personal"},{path:"/pages/oldPage/contact/index",aliasPath:"/contact",name:"contact"},{path:"/pages/oldPage/preference/index",aliasPath:"/preference",name:"preference"},{path:"/pages/oldPage/feedback/index",aliasPath:"/feedback",name:"feedback"},{path:"/pages/WorkModule/my/safety/index",aliasPath:"/safety",name:"safety"},{path:"/pages/WorkModule/my/userInfo/index",aliasPath:"/userInfo",name:"userInfo"},{path:"/pages/WorkModule/my/topUp/index",aliasPath:"/topUp",name:"topUp"},{path:"/pages/WorkModule/my/rechargeRecord/index",aliasPath:"/rechargeRecord",name:"rechargeRecord"},{path:"/pages/WorkModule/my/withdraw/index",aliasPath:"/withdraw",name:"withdraw"},{path:"/pages/WorkModule/my/withdrawalHistory/index",aliasPath:"/withdrawalHistory",name:"withdrawalHistory"},{path:"/pages/WorkModule/my/changePassword/index",aliasPath:"/changePassword",name:"changePassword"},{path:"/pages/WorkModule/my/changeFundPassword/index",aliasPath:"/changeFundPassword",name:"changeFundPassword"},{path:"/pages/WorkModule/my/fundRecord/index",aliasPath:"/fundRecord",name:"fundRecord"},{path:"/pages/common/betSlip/index",aliasPath:"/betSlip",name:"betSlip"},{path:"/pages/common/customerService/index",aliasPath:"/customerService",name:"customerService"},{path:"/pages/WorkModule/bettingHistory/bettingDetail/index",aliasPath:"/bettingDetail",name:"bettingDetail"},{path:"/pages/common/sportDetail/index",aliasPath:"/sportDetail",name:"sportDetail"},{path:"/pages/Tabbar/Entertainment/view/history/index",aliasPath:"/history",name:"history"},{path:"/pages/Tabbar/Entertainment/view/Pc28BettingHistory/index",aliasPath:"/Pc28BettingHistory",name:"Pc28BettingHistory"},{path:"/pages/common/AllHistory/index",aliasPath:"/AllHistory",name:"AllHistory"},{path:"/pages/WorkModule/Entertainment/Detail/index",aliasPath:"/EntertainmentDetail",name:"EntertainmentDetail"}]});var DE;function FE(e,t){var n;return e="object"==typeof(n=e)&&null!==n?e:Object.create(null),new Proxy(e,{get:(e,n,o)=>"key"===n?Reflect.get(e,n,o):Reflect.get(e,n,o)||Reflect.get(t,n,o)})}function VE(e,{storage:t,serializer:n,key:o,debug:r}){try{const r=null==t?void 0:t.getItem(o);r&&e.$patch(null==n?void 0:n.deserialize(r))}catch(a){r&&console.error("[pinia-plugin-persistedstate]",a)}}function WE(e,{storage:t,serializer:n,key:o,paths:r,debug:a}){try{const a=Array.isArray(r)?function(e,t){return t.reduce(((t,n)=>{const o=n.split(".");return function(e,t,n){return t.slice(0,-1).reduce(((e,t)=>/^(__proto__)$/.test(t)?{}:e[t]=e[t]||{}),e)[t[t.length-1]]=n,e}(t,o,function(e,t){return t.reduce(((e,t)=>null==e?void 0:e[t]),e)}(e,o))}),{})}(e,r):e;t.setItem(o,n.serialize(a))}catch(i){a&&console.error("[pinia-plugin-persistedstate]",i)}}(function(e){const t="/pages/login/index",n=[t,"/pages/register/index","/","/pages/Tabbar/RollingBall/index","/pages/Tabbar/SportsBetting/index","/pages/Tabbar/Entertainment/index","/pages/common/rich-view/index","/pages/common/web-view/index"];e.beforeEach(((e,o,r)=>{const a=AE();NE.VITE_API_TOKEN&&(a.token=NE.VITE_API_TOKEN);const i=Rv("token"),s=a.userId;i?e.path===t?r("/pages/index/index"):s?r():a.getUserData().then((()=>{r()})).catch((e=>{console.warn(e),a.logout(),r({path:t})})):n.includes(e.path)?r():r({path:t})})),e.afterEach((()=>{}))})(DE=jE),function(e,t,n){const{router:o}=n||{};o.beforeEach(((n,r,a)=>{(n.meta.middleware||[]).includes(e)?t({...o,beforeEach:e=>e(n,r,a)}):a()})),o.afterEach(((n,r)=>{(n.meta.middleware||[]).includes(e)&&t({...o,afterEach:e=>e(n,r)})}))}("test",BE,{router:DE});const zE=function(){const e=gt(!0),t=e.run((()=>jn({})));let n=[],o=[];const r=On({install(e){bT(r),r._a=e,e.provide(_T,r),e.config.globalProperties.$pinia=r,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}();zE.use(function(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:o=n},store:r,pinia:a}=t;if(!o)return;if(!(r.$id in a.state.value)){const e=a._s.get(r.$id.replace("__hot:",""));return void(e&&Promise.resolve().then((()=>e.$persist())))}const i=(Array.isArray(o)?o.map((t=>FE(t,e))):[FE(o,e)]).map(function(e,t){return n=>{var o;try{const{storage:r=localStorage,beforeRestore:a,afterRestore:i,serializer:s={serialize:JSON.stringify,deserialize:JSON.parse},key:l=t.$id,paths:c=null,debug:u=!1}=n;return{storage:r,beforeRestore:a,afterRestore:i,serializer:s,key:(null!=(o=e.key)?o:e=>e)("string"==typeof l?l:l(t.$id)),paths:c,debug:u}}catch(r){return n.debug&&console.error("[pinia-plugin-persistedstate]",r),null}}}(e,r)).filter(Boolean);r.$persist=()=>{i.forEach((e=>{WE(r.$state,e)}))},r.$hydrate=({runHooks:e=!0}={})=>{i.forEach((n=>{const{beforeRestore:o,afterRestore:a}=n;e&&(null==o||o(t)),VE(r,n),e&&(null==a||a(t))}))},i.forEach((e=>{const{beforeRestore:n,afterRestore:o}=e;null==n||n(t),VE(r,e),null==o||o(t),r.$subscribe(((t,n)=>{WE(n,e)}),{detached:!0})}))}}({storage:{getItem:Rv,setItem:Ov}})),function(){const e=ds(TE);return e.use(ax,{theme:I_}),e.config.globalProperties.$t=DT.global.t,e.config.globalProperties.$currency="RMB",uni.$t=DT.global.t,uni.$currency="RMB",e.config.globalProperties.$mainColor="#f8b932",e.config.globalProperties.$mainBgColor="#212121",e.config.globalProperties.$mainTextColor="#9ca3af",e.component("PageContainer",zC),e.use(jE),e.use(zE),e.use(DT),e.component("global-ku-root",A_),{app:e}}().app.use(Vg).mount("#app");export{$_ as $,Sr as A,hf as B,ry as C,KT as D,JT as E,ka as F,QT as G,Po as H,NC as I,$o as J,zC as K,dg as L,bg as M,ix as N,lx as O,Rv as P,wr as Q,pS as R,mg as S,Tm as T,mx as U,dx as V,hx as W,iS as X,Ny as Y,mS as Z,R_ as _,Ra as a,tS as a$,Ov as a0,lS as a1,Pv as a2,Lr as a3,UT as a4,Sy as a5,HT as a6,Av as a7,XT as a8,AE as a9,RE as aA,VC as aB,Ky as aC,qS as aD,dv as aE,lv as aF,lg as aG,py as aH,Mh as aI,oy as aJ,vf as aK,Mf as aL,Sv as aM,Qy as aN,Ao as aO,LT as aP,Ev as aQ,Fv as aR,bb as aS,kE as aT,gg as aU,Yy as aV,kg as aW,hy as aX,jE as aY,YT as aZ,Nv as a_,xn as aa,bE as ab,wE as ac,Bn as ad,jT as ae,Fa as af,_E as ag,qT as ah,zT as ai,jy as aj,Dy as ak,WT as al,m_ as am,P_ as an,Tr as ao,Lv as ap,BT as aq,FT as ar,Jb as as,Za as at,Nf as au,uf as av,io as aw,md as ax,xE as ay,IE as az,$b as b,eS as b0,oS as b1,ly as b2,rS as b3,nS as b4,aS as b5,GT as b6,hS as b7,s_ as b8,sx as b9,cx as ba,p_ as bb,jr as bc,Wo as bd,Ai as be,sS as bf,dS as bg,cS as bh,fS as bi,DC as bj,ZT as bk,Hh as bl,Gg as bm,sc as bn,Bf as bo,Bv as bp,Zy as bq,Gm as br,og as bs,gS as bt,uS as bu,di as c,tr as d,qe as e,xo as f,Va as g,Ia as h,Tg as i,$r as j,ls as k,Ha as l,om as m,He as n,Ma as o,za as p,hg as q,jn as r,mT as s,X as t,Wn as u,AC as v,Bo as w,RT as x,jC as y,ff as z};
|