| 123456789101112131415161718192021222324252627282930 |
- function __vite__mapDeps(indexes) {
- if (!__vite__mapDeps.viteFileDeps) {
- __vite__mapDeps.viteFileDeps = ["./pages-index-index.lXKXsyFq.js","./index.tW3q1ZYc.js","./_plugin-vue_export-helper.BCo6x5W8.js","./u-icon.BaXMqVPv.js","./u-icon-BVD2JMie.css","./uni-app.es.BZZrcWfv.js","./index.BmHqzGz2.js","./index.BX0IzlE5.js","./index-DbrqUxsP.css","./cart.mO0MswIt.js","./index.DJMsJV-b.js","./index.SnbxCjdQ.js","./mp-html.CZXQ7L9B.js","./mp-html-D4Yj8P7O.css","./myCoupon.B-WFg2GX.js","./index-DfOS8cNv.css","./index-CrCSrjZc.css","./pages-category-index.DrLUULi-.js","./index.4cn5tZIm.js","./index-DTNSSDrV.css","./index.DmC8DtqI.js","./index-Bq4AMFfm.css","./mescroll-mixins.C_RnujM5.js","./mescroll-mixins-WkwNM_ff.css","./index-DSBZkzRm.css","./pages-cart-index.CaPBQ_RQ.js","./index-phIYX9IY.css","./pages-user-index.BX9J6fOk.js","./index.BSt_TZAn.js","./index-BatsFtxP.css","./user.CmCO5NWM.js","./order.CpPSKiZt.js","./index-BPJqjNXZ.css","./pages-custom-index.31hBOWre.js","./index-D7pGCOzP.css","./pages-search-index.Dtvxe6rA.js","./index-DPuCw0tH.css","./pages-login-index.CHolsLZ6.js","./captcha.uhHD-TGZ.js","./verify.Byy5AkEE.js","./upload.Bai-LYrN.js","./index-BqHt4ckf.css","./pages-user-bind-index.UZ9g-MhV.js","./index-DZIJm0uT.css","./pages-user-personal-index.Bv1jywW0.js","./u-form.z1eBN_45.js","./emitter.DrjJCwnj.js","./u-form-Dh5Ofwc8.css","./index-DzSVOqsT.css","./pages-article-index.BWRQIEb1.js","./u-tabs.Cbiv0mRE.js","./u-tabs-CzWbZir_.css","./index.ChI6gDwC.js","./index-COjqDI6E.css","./pages-article-detail.u6NoIq6f.js","./detail-3cnDOYnx.css","./pages-help-index.Cp-EUQ-G.js","./index-Dt5goJrl.css","./pages-coupon-index.BsV9MGDK.js","./CouponType.CA_WIUZh.js","./index-DRuzuQ3y.css","./pages-goods-list.CVv9laL7.js","./list-BEC5qogH.css","./pages-goods-detail.CS3bw-pY.js","./comment.D8ki3NbU.js","./comment-CdMKZYMo.css","./u-popup.DTY0oIIM.js","./u-popup-C-2Ap_uE.css","./detail-DeN4ipe5.css","./pages-comment-index.C_aD6fTH.js","./index-B6lq4lEM.css","./pages-my-coupon-index.D37CPhKG.js","./index-7NcSCEki.css","./pages-address-index.DZXUDe8n.js","./address.CnxYiA0m.js","./index-DD_-vPHV.css","./pages-address-create.D7u5yVXY.js","./select-region.B0kIVHmk.js","./u-loading.D_Y5Uuw6.js","./u-loading-BOGmPlwX.css","./select-region-CZENxp8H.css","./create-Dc4CA3R4.css","./pages-address-update.DNkwno0u.js","./update-O7rUldcf.css","./pages-points-log.vXv3Smtm.js","./log-DtXkqWpt.css","./pages-wallet-index.DF60pX3b.js","./index-UKd6FiDw.css","./pages-wallet-balance-log.BzRoe1lJ.js","./log-lH1KSp0e.css","./pages-wallet-recharge-index.CuoXTe8X.js","./u-modal.h4EU6GfK.js","./u-modal-BCGVDa4l.css","./Method.D0kqHybD.js","./wechat.B1OcOds5.js","./Client.CyNgyD-u.js","./index-Bqq32Od9.css","./pages-wallet-recharge-order.CRIBatCe.js","./order-BWjexzYc.css","./pages-checkout-index.DV1NNERI.js","./OrderType.BPUKedKt.js","./index-DRUqblSe.css","./pages-checkout-cashier-index.-G7FN2_C.js","./index-D7Am2ZHV.css","./pages-order-center.BpeJYGgp.js","./center-DwRQpX6v.css","./pages-order-index.DZrKA2Yh.js","./index-DFeZhiQk.css","./pages-order-detail.CNZHS48K.js","./detail-cGQ06mQJ.css","./pages-order-express-index.lnp5T58z.js","./index-BTYSrLht.css","./pages-order-comment-index.C2vEV1AE.js","./index-pFHh8HNn.css","./pages-refund-index.CWmu2YCd.js","./refund.BvmcmxCf.js","./index-DSbrdvV4.css","./pages-refund-detail.CisIpX5W.js","./RefundType.YusXB90X.js","./detail-Asd7Y6EM.css","./pages-refund-apply.DqR7aUDI.js","./apply-Cs4I2FT7.css","./pages-web-view-index.cnUooa65.js"]
- }
- return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
- }
- !function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if(n=function(e,t){return new URL(e,t).href}(n,o),n in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const s=document.createElement("link");return s.rel=r?"stylesheet":"modulepreload",r||(s.as="script",s.crossOrigin=""),s.href=n,a&&s.setAttribute("nonce",a),document.head.appendChild(s),r?new Promise(((e,t)=>{s.addEventListener("load",e),s.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))};
- /**
- * @vue/shared v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/
- function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},a=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,p=(e,t)=>d.call(e,t),f=Array.isArray,h=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,x=e=>w.call(e),T=e=>"[object Object]"===x(e),S=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,A=k((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,P=k((e=>e.replace(M,"-$1").toLowerCase())),L=k((e=>e.charAt(0).toUpperCase()+e.slice(1))),O=k((e=>e?`on${L(e)}`:"")),I=(e,t)=>!Object.is(e,t),$=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},R=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},D=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let B;const N=()=>B||(B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function j(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?V(o):j(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||b(e))return e}const q=/;(?![^(]*\))/g,z=/:([^]+)/,F=/\/\*[^]*?\*\//g;function V(e){const t={};return e.replace(F,"").split(q).forEach((e=>{if(e){const n=e.split(z);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function U(e){let t="";if(v(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const o=U(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const W=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function H(e){return!!e||""===e}const Y=e=>v(e)?e:null==e?"":f(e)||b(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,X,2):String(e),X=(e,t)=>t&&t.__v_isRef?X(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[G(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>G(e)))}:y(t)?G(t):!b(t)||f(t)||T(t)?t:String(t),G=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},K=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),Q=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),J=["list-item"].map((e=>"uni-"+e));function Z(e){if(-1!==J.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==K.indexOf(t)||-1!==Q.indexOf(t)}const ee=["%","%"],te=/^([a-z-]+:)?\/\//i,ne=/^data:.*,.*/;function oe(e){return 0===e.indexOf("/")}function re(e){return oe(e)?e:"/"+e}function ie(e){return oe(e)?e.slice(1):e}function ae(e,t){for(const n in t)e.style[n]=t[n]}function se(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}const le=e=>e>9?e:"0"+e;function ce({date:e=new Date,mode:t="date"}){return"time"===t?le(e.getHours())+":"+le(e.getMinutes()):e.getFullYear()+"-"+le(e.getMonth()+1)+"-"+le(e.getDate())}function ue(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?m(e.success)&&e.success(t):m(e.fail)&&e.fail(t),m(e.complete)&&e.complete(t)}let de;function pe(){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 fe(e){return e&&(e.appContext?e.proxy:e)}function he(e){if(!e)return;let t=e.type.name;for(;t&&Z(P(t));)t=(e=e.parent).type.name;return e.proxy}function ge(e){return 1===e.nodeType}function me(e){const t=pe();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach((t=>{n[t]=e[t]})),j(n)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),j(t)}if(v(e))return V(e);if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?V(o):me(o);if(r)for(const e in r)t[e]=r[e]}return t}return j(e)}function ve(e){let t="";const n=pe();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(f(e))for(let o=0;o<e.length;o++){const n=ve(e[o]);n&&(t+=n+" ")}else t=U(e);return t.trim()}function ye(e){return A(e.substring(5))}const be=se((e=>{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[ye(t)]=o}n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[ye(t)],o.call(this,t)}}));function _e(e){return c({},e.dataset,e.__uniDataset)}const we=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function xe(e){return{passive:e}}function Te(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:_e(e),offsetTop:n,offsetLeft:o}}function Se(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ce(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=Se(e[n])}catch(o){t[n]=e[n]}})),t}const ke=/\+/g;function Ee(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(ke," ");let r=e.indexOf("="),i=Se(r<0?e:e.slice(0,r)),a=r<0?null:Se(e.slice(r+1));if(i in t){let e=t[i];f(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function Ae(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r);const i=()=>e.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class Me{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 Pe=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onShareChat","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Le=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onShareChat","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];let Oe;const Ie=[];const $e=se(((e,t)=>t(e))),Re=function(){};Re.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var i=o.length-1;i>=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var De=Re;const Be={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Ne(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 Be?Be[o]:o}return r}var o;return t}function je(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach((i=>{const a=e[i];r[i]=T(a)?je(a,t,n):f(a)?a.map((e=>T(e)?je(e,t,n):Ne(o,e))):Ne(o,a,i)})),r):e}
- /**
- * @dcloudio/uni-h5-vue v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let qe,ze;class Fe{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=qe,!e&&qe&&(this.index=(qe.scopes||(qe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=qe;try{return qe=this,e()}finally{qe=t}}}on(){qe=this}off(){qe=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 Ve(e){return new Fe(e)}class Ue{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=qe){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Qe();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),Je()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Xe,t=ze;try{return Xe=!0,ze=this,this._runnings++,We(this),this.fn()}finally{He(this),this._runnings--,ze=t,Xe=e}}stop(){var e;this.active&&(We(this),He(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function We(e){e._trackId++,e._depsLength=0}function He(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Ye(e.deps[t],e);e.deps.length=e._depsLength}}function Ye(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Xe=!0,Ge=0;const Ke=[];function Qe(){Ke.push(Xe),Xe=!1}function Je(){const e=Ke.pop();Xe=void 0===e||e}function Ze(){Ge++}function et(){for(Ge--;!Ge&&nt.length;)nt.shift()()}function tt(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Ye(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const nt=[];function ot(e,t,n){Ze();for(const o of e.keys()){let n;o._dirtyLevel<t&&(null!=n?n:n=e.get(o)===o._trackId)&&(o._shouldSchedule||(o._shouldSchedule=0===o._dirtyLevel),o._dirtyLevel=t),o._shouldSchedule&&(null!=n?n:n=e.get(o)===o._trackId)&&(o.trigger(),o._runnings&&!o.allowRecurse||2===o._dirtyLevel||(o._shouldSchedule=!1,o.scheduler&&nt.push(o.scheduler)))}et()}const rt=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},it=new WeakMap,at=Symbol(""),st=Symbol("");function lt(e,t,n){if(Xe&&ze){let t=it.get(e);t||it.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=rt((()=>t.delete(n)))),tt(ze,o)}}function ct(e,t,n,o,r,i){const a=it.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&f(e)){const e=Number(o);a.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(a.get(n)),t){case"add":f(e)?S(n)&&s.push(a.get("length")):(s.push(a.get(at)),h(e)&&s.push(a.get(st)));break;case"delete":f(e)||(s.push(a.get(at)),h(e)&&s.push(a.get(st)));break;case"set":h(e)&&s.push(a.get(at))}Ze();for(const l of s)l&&ot(l,4);et()}const ut=n("__proto__,__v_isRef,__isVue"),dt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),pt=ft();function ft(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=tn(this);for(let t=0,r=this.length;t<r;t++)lt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(tn)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Qe(),Ze();const n=tn(this)[t].apply(this,e);return et(),Je(),n}})),e}function ht(e){const t=tn(this);return lt(t,0,e),t.hasOwnProperty(e)}class gt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Wt:Ut:r?Vt:Ft).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=f(e);if(!o){if(i&&p(pt,t))return Reflect.get(pt,t,n);if("hasOwnProperty"===t)return ht}const a=Reflect.get(e,t,n);return(y(t)?dt.has(t):ut(t))?a:(o||lt(e,0,t),r?a:cn(a)?i&&S(t)?a:a.value:b(a)?o?Gt(a):Yt(a):a)}}class mt extends gt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Jt(r);if(Zt(n)||Jt(n)||(r=tn(r),n=tn(n)),!f(e)&&cn(r)&&!cn(n))return!t&&(r.value=n,!0)}const i=f(e)&&S(t)?Number(t)<e.length:p(e,t),a=Reflect.set(e,t,n,o);return e===tn(o)&&(i?I(n,r)&&ct(e,"set",t,n):ct(e,"add",t,n)),a}deleteProperty(e,t){const n=p(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&ct(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&dt.has(t)||lt(e,0,t),n}ownKeys(e){return lt(e,0,f(e)?"length":at),Reflect.ownKeys(e)}}class vt extends gt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const yt=new mt,bt=new vt,_t=new mt(!0),wt=e=>e,xt=e=>Reflect.getPrototypeOf(e);function Tt(e,t,n=!1,o=!1){const r=tn(e=e.__v_raw),i=tn(t);n||(I(t,i)&<(r,0,t),lt(r,0,i));const{has:a}=xt(r),s=o?wt:n?rn:on;return a.call(r,t)?s(e.get(t)):a.call(r,i)?s(e.get(i)):void(e!==r&&e.get(t))}function St(e,t=!1){const n=this.__v_raw,o=tn(n),r=tn(e);return t||(I(e,r)&<(o,0,e),lt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ct(e,t=!1){return e=e.__v_raw,!t&<(tn(e),0,at),Reflect.get(e,"size",e)}function kt(e){e=tn(e);const t=tn(this);return xt(t).has.call(t,e)||(t.add(e),ct(t,"add",e,e)),this}function Et(e,t){t=tn(t);const n=tn(this),{has:o,get:r}=xt(n);let i=o.call(n,e);i||(e=tn(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?I(t,a)&&ct(n,"set",e,t):ct(n,"add",e,t),this}function At(e){const t=tn(this),{has:n,get:o}=xt(t);let r=n.call(t,e);r||(e=tn(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&ct(t,"delete",e,void 0),i}function Mt(){const e=tn(this),t=0!==e.size,n=e.clear();return t&&ct(e,"clear",void 0,void 0),n}function Pt(e,t){return function(n,o){const r=this,i=r.__v_raw,a=tn(i),s=t?wt:e?rn:on;return!e&<(a,0,at),i.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}}function Lt(e,t,n){return function(...o){const r=this.__v_raw,i=tn(r),a=h(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=r[e](...o),u=n?wt:t?rn:on;return!t&<(i,0,l?st:at),{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 Ot(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function It(){const e={get(e){return Tt(this,e)},get size(){return Ct(this)},has:St,add:kt,set:Et,delete:At,clear:Mt,forEach:Pt(!1,!1)},t={get(e){return Tt(this,e,!1,!0)},get size(){return Ct(this)},has:St,add:kt,set:Et,delete:At,clear:Mt,forEach:Pt(!1,!0)},n={get(e){return Tt(this,e,!0)},get size(){return Ct(this,!0)},has(e){return St.call(this,e,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Pt(!0,!1)},o={get(e){return Tt(this,e,!0,!0)},get size(){return Ct(this,!0)},has(e){return St.call(this,e,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Pt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Lt(r,!1,!1),n[r]=Lt(r,!0,!1),t[r]=Lt(r,!1,!0),o[r]=Lt(r,!0,!0)})),[e,n,t,o]}const[$t,Rt,Dt,Bt]=It();function Nt(e,t){const n=t?e?Bt:Dt:e?Rt:$t;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(p(n,o)&&o in t?n:t,o,r)}const jt={get:Nt(!1,!1)},qt={get:Nt(!1,!0)},zt={get:Nt(!0,!1)},Ft=new WeakMap,Vt=new WeakMap,Ut=new WeakMap,Wt=new WeakMap;function Ht(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 Yt(e){return Jt(e)?e:Kt(e,!1,yt,jt,Ft)}function Xt(e){return Kt(e,!1,_t,qt,Vt)}function Gt(e){return Kt(e,!0,bt,zt,Ut)}function Kt(e,t,n,o,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=Ht(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return r.set(e,s),s}function Qt(e){return Jt(e)?Qt(e.__v_raw):!(!e||!e.__v_isReactive)}function Jt(e){return!(!e||!e.__v_isReadonly)}function Zt(e){return!(!e||!e.__v_isShallow)}function en(e){return Qt(e)||Jt(e)}function tn(e){const t=e&&e.__v_raw;return t?tn(t):e}function nn(e){return Object.isExtensible(e)&&R(e,"__v_skip",!0),e}const on=e=>b(e)?Yt(e):e,rn=e=>b(e)?Gt(e):e;class an{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 Ue((()=>e(this._value)),(()=>ln(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=tn(this);return e._cacheable&&!e.effect.dirty||!I(e._value,e._value=e.effect.run())||ln(e,4),sn(e),e.effect._dirtyLevel>=2&&ln(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function sn(e){var t;Xe&&ze&&(e=tn(e),tt(ze,null!=(t=e.dep)?t:e.dep=rt((()=>e.dep=void 0),e instanceof an?e:void 0)))}function ln(e,t=4,n){const o=(e=tn(e)).dep;o&&ot(o,t)}function cn(e){return!(!e||!0!==e.__v_isRef)}function un(e){return pn(e,!1)}function dn(e){return pn(e,!0)}function pn(e,t){return cn(e)?e:new fn(e,t)}class fn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:tn(e),this._value=t?e:on(e)}get value(){return sn(this),this._value}set value(e){const t=this.__v_isShallow||Zt(e)||Jt(e);e=t?e:tn(e),I(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:on(e),ln(this,4))}}function hn(e){return cn(e)?e.value:e}const gn={get:(e,t,n)=>hn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return cn(r)&&!cn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function mn(e){return Qt(e)?e:new Proxy(e,gn)}function vn(e,t,n,o){try{return o?e(...o):e()}catch(r){bn(r,t,n)}}function yn(e,t,n,o){if(m(e)){const r=vn(e,t,n,o);return r&&_(r)&&r.catch((e=>{bn(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(yn(e[i],t,n,o));return r}function bn(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const a=t.appContext.config.errorHandler;if(a)return void vn(a,null,10,[e,r,i])}_n(e,n,r,o)}function _n(e,t,n,o=!0){console.error(e)}let wn=!1,xn=!1;const Tn=[];let Sn=0;const Cn=[];let kn=null,En=0;const An=Promise.resolve();let Mn=null;function Pn(e){const t=Mn||An;return e?t.then(this?e.bind(this):e):t}function Ln(e){Tn.length&&Tn.includes(e,wn&&e.allowRecurse?Sn+1:Sn)||(null==e.id?Tn.push(e):Tn.splice(function(e){let t=Sn+1,n=Tn.length;for(;t<n;){const o=t+n>>>1,r=Tn[o],i=Rn(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),On())}function On(){wn||xn||(xn=!0,Mn=An.then(Bn))}function In(e,t,n=(wn?Sn+1:0)){for(;n<Tn.length;n++){const t=Tn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;Tn.splice(n,1),n--,t()}}}function $n(e){if(Cn.length){const e=[...new Set(Cn)].sort(((e,t)=>Rn(e)-Rn(t)));if(Cn.length=0,kn)return void kn.push(...e);for(kn=e,En=0;En<kn.length;En++)kn[En]();kn=null,En=0}}const Rn=e=>null==e.id?1/0:e.id,Dn=(e,t)=>{const n=Rn(e)-Rn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Bn(e){xn=!1,wn=!0,Tn.sort(Dn);try{for(Sn=0;Sn<Tn.length;Sn++){const e=Tn[Sn];e&&!1!==e.active&&vn(e,null,14)}}finally{Sn=0,Tn.length=0,$n(),wn=!1,Mn=null,(Tn.length||Cn.length)&&Bn()}}function Nn(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let i=n;const a=t.startsWith("update:"),s=a&&t.slice(7);if(s&&s in r){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:a}=r[e]||o;a&&(i=n.map((e=>v(e)?e.trim():e))),t&&(i=n.map(D))}let l,c=r[l=O(t)]||r[l=O(A(t))];!c&&a&&(c=r[l=O(P(t))]),c&&yn(c,e,6,jn(e,c,i));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,yn(u,e,6,jn(e,u,i))}}function jn(e,t,n){if(1!==n.length)return n;if(m(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&p(o,"type")&&p(o,"timeStamp")&&p(o,"target")&&p(o,"currentTarget")&&p(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function qn(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let a={},s=!1;if(!m(e)){const o=e=>{const n=qn(e,t,!0);n&&(s=!0,c(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||s?(f(i)?i.forEach((e=>a[e]=null)):c(a,i),b(e)&&o.set(e,a),a):(b(e)&&o.set(e,null),null)}function zn(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,P(t))||p(e,t))}let Fn=null,Vn=null;function Un(e){const t=Fn;return Fn=e,Vn=e&&e.type.__scopeId||null,t}function Wn(e,t=Fn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Jr(-1);const r=Un(t);let i;try{i=e(...n)}finally{Un(r),o._d&&Jr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Hn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:c,emit:u,render:d,renderCache:p,data:f,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const b=Un(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=pi(d.call(t,e,p,i,h,f,g)),y=c}else{const e=t;0,v=pi(e.length>1?e(i,{attrs:c,slots:s,emit:u}):e(i,null)),y=t.props?c:Yn(c)}}catch(w){Xr.length=0,bn(w,e,1),v=li(Hr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(l)&&(y=Xn(y,a)),_=ci(_,y))}return n.dirs&&(_=ci(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Un(b),v}const Yn=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},Xn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Gn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!zn(n,i))return!0}return!1}function Kn(e,t){return Zn("components",e,!0,t)||e}const Qn=Symbol.for("v-ndc");function Jn(e){return v(e)?Zn("components",e,!1)||e:e||Qn}function Zn(e,t,n=!0,o=!1){const r=Fn||bi;if(r){const n=r.type;if("components"===e){const e=Pi(n,!1);if(e&&(e===t||e===A(t)||e===L(A(t))))return n}const i=eo(r[e]||n[e],t)||eo(r.appContext[e],t);return!i&&o?n:i}}function eo(e,t){return e&&(e[t]||e[A(t)]||e[L(A(t))])}const to=e=>e.__isSuspense;const no=Symbol.for("v-scx");function oo(e,t){return ao(e,null,t)}const ro={};function io(e,t,n){return ao(e,t,n)}function ao(e,t,{immediate:n,deep:r,flush:a,once:s,onTrack:l,onTrigger:c}=o){if(t&&s){const e=t;t=(...t)=>{e(...t),k()}}const d=bi,p=e=>!0===r?e:co(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(cn(e)?(h=()=>e.value,v=Zt(e)):Qt(e)?(h=()=>p(e),v=!0):f(e)?(y=!0,v=e.some((e=>Qt(e)||Zt(e))),h=()=>e.map((e=>cn(e)?e.value:Qt(e)?p(e):m(e)?vn(e,d,2):void 0))):h=m(e)?t?()=>vn(e,d,2):()=>(g&&g(),yn(e,d,3,[_])):i,t&&r){const e=h;h=()=>co(e())}let b,_=e=>{g=S.onStop=()=>{vn(e,d,4),g=S.onStop=void 0}};if(ki){if(_=i,t?n&&yn(t,d,3,[h(),y?[]:void 0,_]):h(),"sync"!==a)return i;{const e=Sr(no);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(ro):ro;const x=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(r||v||(y?e.some(((e,t)=>I(e,w[t]))):I(e,w)))&&(g&&g(),yn(t,d,3,[e,w===ro?void 0:y&&w[0]===ro?[]:w,_]),w=e)}else S.run()};let T;x.allowRecurse=!!t,"sync"===a?T=x:"post"===a?T=()=>Nr(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),T=()=>Ln(x));const S=new Ue(h,i,T),C=qe,k=()=>{S.stop(),C&&u(C.effects,S)};return t?n?x():w=S.run():"post"===a?Nr(S.run.bind(S),d&&d.suspense):S.run(),b&&b.push(k),k}function so(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?lo(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const a=Ti(this),s=ao(r,i.bind(o),n);return a(),s}function lo(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function co(e,t,n=0,o){if(!b(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),cn(e))co(e.value,t,n,o);else if(f(e))for(let r=0;r<e.length;r++)co(e[r],t,n,o);else if(g(e)||h(e))e.forEach((e=>{co(e,t,n,o)}));else if(T(e))for(const r in e)co(e[r],t,n,o);return e}function uo(e,t){if(null===Fn)return e;const n=Mi(Fn)||Fn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,a,s,l=o]=t[i];e&&(m(e)&&(e={mounted:e,updated:e}),e.deep&&co(a),r.push({dir:e,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function po(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let a=0;a<r.length;a++){const s=r[a];i&&(s.oldValue=i[a].value);let l=s.dir[o];l&&(Qe(),yn(l,n,8,[e.el,s,e,t]),Je())}}const fo=Symbol("_leaveCb"),ho=Symbol("_enterCb");const go=[Function,Array],mo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:go,onEnter:go,onAfterEnter:go,onEnterCancelled:go,onBeforeLeave:go,onLeave:go,onAfterLeave:go,onLeaveCancelled:go,onBeforeAppear:go,onAppear:go,onAfterAppear:go,onAppearCancelled:go},vo={name:"BaseTransition",props:mo,setup(e,{slots:t}){const n=_i(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Uo((()=>{e.isMounted=!0})),Yo((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&To(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Hr){i=e;break}const a=tn(e),{mode:s}=a;if(o.isLeaving)return _o(i);const l=wo(i);if(!l)return _o(i);const c=bo(l,a,o,n);xo(l,c);const u=n.subTree,d=u&&wo(u);if(d&&d.type!==Hr&&!oi(l,d)){const e=bo(d,a,o,n);if(xo(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},_o(i);"in-out"===s&&l.type!==Hr&&(e.delayLeave=(e,t,n)=>{yo(o,d)[String(d.key)]=d,e[fo]=()=>{t(),e[fo]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function yo(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function bo(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=yo(n,e),x=(e,t)=>{e&&yn(e,o,9,t)},T=(e,t)=>{const n=t[1];x(e,t),f(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,persisted:a,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=m||s}t[fo]&&t[fo](!0);const i=w[_];i&&oi(e,i)&&i.el[fo]&&i.el[fo](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=b||u}let a=!1;const s=e[ho]=t=>{a||(a=!0,x(t?i:o,[e]),S.delayedLeave&&S.delayedLeave(),e[ho]=void 0)};t?T(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t[ho]&&t[ho](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const a=t[fo]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[fo]=void 0,w[r]===e&&delete w[r])};w[r]=e,p?T(p,[t,a]):a()},clone:e=>bo(e,t,n,o)};return S}function _o(e){if(Ao(e))return(e=ci(e)).children=null,e}function wo(e){return Ao(e)?e.children?e.children[0]:void 0:e}function xo(e,t){6&e.shapeFlag&&e.component?xo(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 To(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let a=e[i];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:i);a.type===Ur?(128&a.patchFlag&&r++,o=o.concat(To(a.children,t,s))):(t||a.type!==Hr)&&o.push(null!=s?ci(a,{key:s}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}
- /*! #__NO_SIDE_EFFECTS__ */function So(e,t){return m(e)?(()=>c({name:e.name},t,{setup:e}))():e}const Co=e=>!!e.type.__asyncLoader
- /*! #__NO_SIDE_EFFECTS__ */;function ko(e){m(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:a=!0,onError:s}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return So({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=bi;if(l)return()=>Eo(l,e);const t=t=>{c=null,bn(t,e,13,!o)};if(a&&e.suspense||ki)return d().then((t=>()=>Eo(t,e))).catch((e=>(t(e),()=>o?li(o,{error:e}):null)));const s=un(!1),u=un(),p=un(!!r);return r&&setTimeout((()=>{p.value=!1}),r),null!=i&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{s.value=!0,e.parent&&Ao(e.parent.vnode)&&(e.parent.effect.dirty=!0,Ln(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>s.value&&l?Eo(l,e):u.value&&o?li(o,{error:u.value}):n&&!p.value?li(n):void 0}})}function Eo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,a=li(e,o,r);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const Ao=e=>e.type.__isKeepAlive;class Mo{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 Po={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=_i(),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 Mo(e.max);r.pruneCacheEntry=a;let i=null;function a(t){var o;!i||!oi(t,i)||"key"===e.matchBy&&t.key!==i.key?(Bo(o=t),u(o,n,s,!0)):i&&Bo(i)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,p=d("div");function f(t){r.forEach(((n,o)=>{const i=jo(n,e.matchBy);!i||t&&t(i)||(r.delete(o),a(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,$(i.ba),i.isDeactivated=e}c(e,t,n,0,s),l(i.vnode,e,t,n,i,s,o,e.slotScopeIds,r),Nr((()=>{i.isDeactivated=!1,i.a&&$(i.a);const t=e.props&&e.props.onVnodeMounted;t&&mi(t,i.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&qo(t.bda),c(e,p,null,1,s),Nr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&$(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&mi(n,t.parent,e),t.isDeactivated=!0}),s)},io((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&f((t=>Oo(e,t))),t&&f((e=>!Oo(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,No(n.subTree))};return Uo(g),Ho(g),Yo((()=>{r.forEach(((t,o)=>{r.delete(o),a(t);const{subTree:i,suspense:s}=n,l=No(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&$(l.component.bda),Bo(l);const e=l.component.da;e&&Nr(e,s)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!ni(o)||!(4&o.shapeFlag)&&!to(o.type))return i=null,o;let a=No(o);const s=a.type,l=jo(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Oo(c,l))||u&&l&&Oo(u,l))return i=a,o;const d=null==a.key?s:a.key,p=r.get(d);return a.el&&(a=ci(a),to(o.type)&&(o.ssContent=a)),h=d,p&&(a.el=p.el,a.component=p.component,a.transition&&xo(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,to(o.type)?o:a}}},Lo=Po;function Oo(e,t){return f(e)?e.some((e=>Oo(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function Io(e,t){Ro(e,"a",t)}function $o(e,t){Ro(e,"da",t)}function Ro(e,t,n=bi){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,zo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Ao(e.parent.vnode)&&Do(o,t,n,e),e=e.parent}}function Do(e,t,n,o){const r=zo(t,e,o,!0);Xo((()=>{u(o[t],r)}),n)}function Bo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function No(e){return to(e.type)?e.ssContent:e}function jo(e,t){if("name"===t){const t=e.type;return Pi(Co(e)?t.__asyncResolved||{}:t)}return String(e.key)}function qo(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function zo(e,t,n=bi,o=!1){if(n){if(r=e,Pe.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;yn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Qe();const r=Ti(n),i=yn(t,n,e,o);return r(),Je(),i});return o?i.unshift(a):i.push(a),a}var r}const Fo=e=>(t,n=bi)=>(!ki||"sp"===e)&&zo(e,((...e)=>t(...e)),n),Vo=Fo("bm"),Uo=Fo("m"),Wo=Fo("bu"),Ho=Fo("u"),Yo=Fo("bum"),Xo=Fo("um"),Go=Fo("sp"),Ko=Fo("rtg"),Qo=Fo("rtc");function Jo(e,t=bi){zo("ec",e,t)}function Zo(e,t,n,o){let r;const i=n&&n[o];if(f(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(b(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,a=n.length;o<a;o++){const a=n[o];r[o]=t(e[a],a,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function er(e,t,n={},o,r){if(Fn.isCE||Fn.parent&&Co(Fn.parent)&&Fn.parent.isCE)return"default"!==t&&(n.name=t),li("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),Kr();const a=i&&tr(i(n)),s=ti(Ur,{key:n.key||a&&a.key||`_${t}`},a||(o?o():[]),a&&1===e._?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function tr(e){return e.some((e=>!ni(e)||e.type!==Hr&&!(e.type===Ur&&!tr(e.children))))?e:null}const nr=e=>{if(!e)return null;if(Ci(e)){return Mi(e)||e.proxy}return nr(e.parent)},or=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>nr(e.parent),$root:e=>nr(e.root),$emit:e=>e.emit,$options:e=>dr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Ln(e.update)})(e)),$nextTick:e=>e.n||(e.n=Pn.bind(e.proxy)),$watch:e=>so.bind(e)}),rr=(e,t)=>e!==o&&!e.__isScriptSetup&&p(e,t),ir={get({_:e},t){const{ctx:n,setupState:r,data:i,props:a,accessCache:s,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=s[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(rr(r,t))return s[t]=1,r[t];if(i!==o&&p(i,t))return s[t]=2,i[t];if((u=e.propsOptions[0])&&p(u,t))return s[t]=3,a[t];if(n!==o&&p(n,t))return s[t]=4,n[t];sr&&(s[t]=0)}}const d=or[t];let f,h;return d?("$attrs"===t&<(e,0,t),d(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==o&&p(n,t)?(s[t]=4,n[t]):(h=c.config.globalProperties,p(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return rr(i,t)?(i[t]=n,!0):r!==o&&p(r,t)?(r[t]=n,!0):!p(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},s){let l;return!!n[s]||e!==o&&p(e,s)||rr(t,s)||(l=a[0])&&p(l,s)||p(r,s)||p(or,s)||p(i.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ar(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let sr=!0;function lr(e){const t=dr(e),n=e.proxy,o=e.ctx;sr=!1,t.beforeCreate&&cr(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:T,unmounted:S,render:C,renderTracked:k,renderTriggered:E,errorCaptured:A,serverPrefetch:M,expose:P,inheritAttrs:L,components:O,directives:I,filters:$}=t;if(u&&function(e,t,n=i){f(e)&&(e=gr(e));for(const o in e){const n=e[o];let r;r=b(n)?"default"in n?Sr(n.from||o,n.default,!0):Sr(n.from||o):Sr(n),cn(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),s)for(const i in s){const e=s[i];m(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);b(t)&&(e.data=Yt(t))}if(sr=!0,a)for(const f in a){const e=a[f],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):i,r=!m(e)&&m(e.set)?e.set.bind(n):i,s=Li({get:t,set:r});Object.defineProperty(o,f,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const i in l)ur(l[i],o,n,i);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Tr(t,e[t])}))}function R(e,t){f(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&cr(d,e,"c"),R(Vo,p),R(Uo,h),R(Wo,g),R(Ho,v),R(Io,y),R($o,_),R(Jo,A),R(Qo,k),R(Ko,E),R(Yo,x),R(Xo,S),R(Go,M),f(P))if(P.length){const t=e.exposed||(e.exposed={});P.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});C&&e.render===i&&(e.render=C),null!=L&&(e.inheritAttrs=L),O&&(e.components=O),I&&(e.directives=I);const D=e.appContext.config.globalProperties.$applyOptions;D&&D(t,e,n)}function cr(e,t,n){yn(f(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ur(e,t,n,o){const r=o.includes(".")?lo(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&io(r,n)}else if(m(e))io(r,e.bind(n));else if(b(e))if(f(e))e.forEach((e=>ur(e,t,n,o)));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&io(r,o,e)}}function dr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:r.length||n||o?(l={},r.length&&r.forEach((e=>pr(l,e,a,!0))),pr(l,t,a)):l=t,b(t)&&i.set(t,l),l}function pr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&pr(e,i,n,!0),r&&r.forEach((t=>pr(e,t,n,!0)));for(const a in t)if(o&&"expose"===a);else{const o=fr[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const fr={data:hr,props:yr,emits:yr,methods:vr,computed:vr,beforeCreate:mr,created:mr,beforeMount:mr,mounted:mr,beforeUpdate:mr,updated:mr,beforeDestroy:mr,beforeUnmount:mr,destroyed:mr,unmounted:mr,activated:mr,deactivated:mr,errorCaptured:mr,serverPrefetch:mr,components:vr,directives:vr,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]=mr(e[o],t[o]);return n},provide:hr,inject:function(e,t){return vr(gr(e),gr(t))}};function hr(e,t){return t?e?function(){return c(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function gr(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mr(e,t){return e?[...new Set([].concat(e,t))]:t}function vr(e,t){return e?c(Object.create(null),e,t):t}function yr(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:c(Object.create(null),ar(e),ar(null!=t?t:{})):t}function br(){return{app:null,config:{isNativeTag:a,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let _r=0;function wr(e,t){return function(n,o=null){m(n)||(n=c({},n)),null==o||b(o)||(o=null);const r=br(),i=new WeakSet;let a=!1;const s=r.app={_uid:_r++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Ii,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&m(e.install)?(i.add(e),e.install(s,...t)):m(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),s),component:(e,t)=>t?(r.components[e]=t,s):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(i,l,c){if(!a){const u=li(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),a=!0,s._container=i,i.__vue_app__=s,s._instance=u.component,Mi(u.component)||u.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,s),runWithContext(e){const t=xr;xr=s;try{return e()}finally{xr=t}}};return s}}let xr=null;function Tr(e,t){if(bi){let n=bi.provides;const o=bi.parent&&bi.parent.provides;o===n&&(n=bi.provides=Object.create(o)),n[e]=t,"app"===bi.type.mpType&&bi.appContext.app.provide(e,t)}else;}function Sr(e,t,n=!1){const o=bi||Fn;if(o||xr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:xr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&m(t)?t.call(o&&o.proxy):t}}function Cr(e,t,n,r){const[i,a]=e.propsOptions;let s,l=!1;if(t)for(let o in t){if(C(o))continue;const c=t[o];let u;i&&p(i,u=A(o))?a&&a.includes(u)?(s||(s={}))[u]=c:n[u]=c:zn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(a){const t=tn(n),r=s||o;for(let o=0;o<a.length;o++){const s=a[o];n[s]=kr(i,t,s,r[s],e,!p(r,s))}}return l}function kr(e,t,n,o,r,i){const a=e[n];if(null!=a){const e=p(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&!a.skipFactory&&m(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const a=Ti(r);o=i[n]=e.call(null,t),a()}}else o=e}a[0]&&(i&&!e?o=!1:!a[1]||""!==o&&o!==P(n)||(o=!0))}return o}function Er(e,t,n=!1){const i=t.propsCache,a=i.get(e);if(a)return a;const s=e.props,l={},u=[];let d=!1;if(!m(e)){const o=e=>{d=!0;const[n,o]=Er(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!d)return b(e)&&i.set(e,r),r;if(f(s))for(let r=0;r<s.length;r++){const e=A(s[r]);Ar(e)&&(l[e]=o)}else if(s)for(const o in s){const e=A(o);if(Ar(e)){const t=s[o],n=l[e]=f(t)||m(t)?{type:t}:c({},t);if(n){const t=Lr(Boolean,n.type),o=Lr(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||p(n,"default"))&&u.push(e)}}}const h=[l,u];return b(e)&&i.set(e,h),h}function Ar(e){return"$"!==e[0]&&!C(e)}function Mr(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 Pr(e,t){return Mr(e)===Mr(t)}function Lr(e,t){return f(t)?t.findIndex((t=>Pr(t,e))):m(t)&&Pr(t,e)?0:-1}const Or=e=>"_"===e[0]||"$stable"===e,Ir=e=>f(e)?e.map(pi):[pi(e)],$r=(e,t,n)=>{if(t._n)return t;const o=Wn(((...e)=>Ir(t(...e))),n);return o._c=!1,o},Rr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Or(r))continue;const n=e[r];if(m(n))t[r]=$r(0,n,o);else if(null!=n){const e=Ir(n);t[r]=()=>e}}},Dr=(e,t)=>{const n=Ir(t);e.slots.default=()=>n};function Br(e,t,n,r,i=!1){if(f(e))return void e.forEach(((e,o)=>Br(e,t&&(f(t)?t[o]:t),n,r,i)));if(Co(r)&&!i)return;const a=4&r.shapeFlag?Mi(r.component)||r.component.proxy:r.el,s=i?null:a,{i:l,r:c}=e,d=t&&t.r,h=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=d&&d!==c&&(v(d)?(h[d]=null,p(g,d)&&(g[d]=null)):cn(d)&&(d.value=null)),m(c))vn(c,l,12,[s,h]);else{const t=v(c),o=cn(c);if(t||o){const r=()=>{if(e.f){const n=t?p(g,c)?g[c]:h[c]:c.value;i?f(n)&&u(n,a):f(n)?n.includes(a)||n.push(a):t?(h[c]=[a],p(g,c)&&(g[c]=h[c])):(c.value=[a],e.k&&(h[e.k]=c.value))}else t?(h[c]=s,p(g,c)&&(g[c]=s)):o&&(c.value=s,e.k&&(h[e.k]=s))};s?(r.id=-1,Nr(r,n)):r()}}}const Nr=function(e,t){var n;t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?Cn.push(...n):kn&&kn.includes(n,n.allowRecurse?En+1:En)||Cn.push(n),On())};function jr(e){return function(e,t){N().__VUE__=!0;const{insert:n,remove:a,patchProp:s,forcePatchProp:l,createElement:u,createText:d,createComment:f,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=i,insertStaticContent:b}=e,w=(e,t,n,o=null,r=null,i=null,a,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!oi(e,t)&&(o=te(e),K(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Wr:x(e,t,n,o);break;case Hr:T(e,t,n,o);break;case Yr:null==e&&S(t,n,o,a);break;case Ur:q(e,t,n,o,r,i,a,s,l);break;default:1&d?M(e,t,n,o,r,i,a,s,l):6&d?z(e,t,n,o,r,i,a,s,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,a,s,l,re)}null!=u&&r&&Br(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},T=(e,t,o,r)=>{null==e?n(t.el=f(t.children||""),o,r):t.el=e.el},S=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},k=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=v(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),a(e),e=n;a(t)},M=(e,t,n,o,r,i,a,s,l)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?L(t,n,o,r,i,a,s,l):D(e,t,r,i,a,s,l)},L=(e,t,o,r,i,a,l,c)=>{let d,p;const{props:f,shapeFlag:h,transition:m,dirs:v}=e;if(d=e.el=u(e.type,a,f&&f.is,f),8&h?g(d,e.children):16&h&&I(e.children,d,null,r,i,qr(e,a),l,c),v&&po(e,null,r,"created"),O(d,e,e.scopeId,l,r),f){for(const t in f)"value"===t||C(t)||s(d,t,null,f[t],a,e.children,r,i,ee);"value"in f&&s(d,"value",null,f.value,a),(p=f.onVnodeBeforeMount)&&mi(p,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&po(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),n(d,t,o),((p=f&&f.onVnodeMounted)||y||v)&&Nr((()=>{p&&mi(p,r,e),y&&m.enter(d),v&&po(e,null,r,"mounted")}),i)},O=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i<o.length;i++)y(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;O(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},I=(e,t,n,o,r,i,a,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?fi(e[c]):pi(e[c]);w(null,l,t,n,o,r,i,a,s)}},D=(e,t,n,r,i,a,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:f}=t;d|=16&e.patchFlag;const h=e.props||o,m=t.props||o;let v;if(n&&zr(n,!1),(v=m.onVnodeBeforeUpdate)&&mi(v,n,t,e),f&&po(t,e,n,"beforeUpdate"),n&&zr(n,!0),p?B(e.dynamicChildren,p,u,n,r,qr(t,i),a):c||H(e,t,u,null,n,r,qr(t,i),a,!1),d>0){if(16&d)j(u,t,h,m,n,r,i);else if(2&d&&h.class!==m.class&&s(u,"class",null,m.class,i),4&d&&s(u,"style",h.style,m.style,i),8&d){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const a=o[t],c=h[a],d=m[a];(d!==c||"value"===a||l&&l(u,a))&&s(u,a,c,d,i,e.children,n,r,ee)}}1&d&&e.children!==t.children&&g(u,t.children)}else c||null!=p||j(u,t,h,m,n,r,i);((v=m.onVnodeUpdated)||f)&&Nr((()=>{v&&mi(v,n,t,e),f&&po(t,e,n,"updated")}),r)},B=(e,t,n,o,r,i,a)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],u=l.el&&(l.type===Ur||!oi(l,c)||70&l.shapeFlag)?m(l.el):n;w(l,c,u,null,o,r,i,a,!0)}},j=(e,t,n,r,i,a,c)=>{if(n!==r){if(n!==o)for(const o in n)C(o)||o in r||s(e,o,n[o],null,c,t.children,i,a,ee);for(const o in r){if(C(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&s(e,o,d,u,c,t.children,i,a,ee)}"value"in r&&s(e,"value",n.value,r.value,c)}},q=(e,t,o,r,i,a,s,l,c)=>{const u=t.el=e?e.el:d(""),p=t.anchor=e?e.anchor:d("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(p,o,r),I(t.children||[],o,p,i,a,s,l,c)):f>0&&64&f&&h&&e.dynamicChildren?(B(e.dynamicChildren,h,o,i,a,s,l),(null!=t.key||i&&t===i.subTree)&&Fr(e,t,!0)):H(e,t,o,p,i,a,s,l,c)},z=(e,t,n,o,r,i,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,a,l):F(t,n,o,r,i,a,l):V(e,t,l)},F=(e,t,n,r,i,a,s)=>{const l=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||vi,a={uid:yi++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Fe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Er(r,i),emitsOptions:qn(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=t?t.root:a,a.emit=Nn.bind(null,a),a.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(a);return a}(e,r,i);if(Ao(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&xi(t);const{props:n,children:o}=e.vnode,r=Ci(e);(function(e,t,n,o=!1){const r={},i={};R(i,ri,1),e.propsDefaults=Object.create(null),Cr(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:Xt(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=tn(t),R(t,"_",n)):Rr(t,e.slots={})}else e.slots={},t&&Dr(e,t);R(e.slots,ri,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nn(new Proxy(e.ctx,ir));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(lt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=Ti(e);Qe();const i=vn(o,e,0,[e.props,n]);if(Je(),r(),_(i)){if(i.then(Si,Si),t)return i.then((n=>{Ei(e,n,t)})).catch((t=>{bn(t,e,0)}));e.asyncDep=i}else Ei(e,i,t)}else Ai(e,t)}(e,t):void 0;t&&xi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,U),!e.el){const e=l.subTree=li(Hr);T(null,e,t,n)}}else U(l,e,t,n,i,a,s)},V=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!s||s&&s.$stable)||o!==a&&(o?!a||Gn(o,a,c):!!a);if(1024&l)return!0;if(16&l)return o?Gn(o,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==o[n]&&!zn(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void W(o,t,n);o.next=t,function(e){const t=Tn.indexOf(e);t>Sn&&Tn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},U=(e,t,n,o,r,a,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=Vr(e);if(n)return t&&(t.el=c.el,W(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;zr(e,!1),t?(t.el=c.el,W(e,t,s)):t=c,n&&$(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&mi(u,i,t,c),zr(e,!0);const p=Hn(e),f=e.subTree;e.subTree=p,w(f,p,m(f.el),te(f),e,r,a),t.el=p.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,p.el),o&&Nr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&Nr((()=>mi(u,i,t,c)),r)}else{let i;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,p=Co(t);if(zr(e,!1),c&&$(c),!p&&(i=l&&l.onVnodeBeforeMount)&&mi(i,d,t),zr(e,!0),s&&ae){const n=()=>{e.subTree=Hn(e),ae(s,e.subTree,e,r,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=Hn(e);w(null,i,n,o,e,r,a),t.el=i.el}if(u&&Nr(u,r),!p&&(i=l&&l.onVnodeMounted)){const e=t;Nr((()=>mi(i,d,e)),r)}(256&t.shapeFlag||d&&Co(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&qo(e.ba),e.a&&Nr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new Ue(l,i,(()=>Ln(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,zr(e,!0),u()},W=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=tn(r),[l]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;Cr(e,t,r,i)&&(c=!0);for(const i in s)t&&(p(t,i)||(o=P(i))!==i&&p(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=kr(l,s,i,void 0,e,!0)):delete r[i]);if(i!==s)for(const e in i)t&&p(t,e)||(delete i[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];if(zn(e.emitsOptions,a))continue;const u=t[a];if(l)if(p(i,a))u!==i[a]&&(i[a]=u,c=!0);else{const t=A(a);r[t]=kr(l,s,t,u,e,!1)}else u!==i[a]&&(i[a]=u,c=!0)}}c&&ct(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,s=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?a=!1:(c(i,t),n||1!==e||delete i._):(a=!t.$stable,Rr(t,i)),s=t}else t&&(Dr(e,t),s={default:1});if(a)for(const o in i)Or(o)||null!=s[o]||delete i[o]})(e,t.children,n),Qe(),In(e),Je()},H=(e,t,n,o,r,i,a,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void X(c,d,n,o,r,i,a,s,l);if(256&p)return void Y(c,d,n,o,r,i,a,s,l)}8&f?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&f?X(c,d,n,o,r,i,a,s,l):ee(c,r,i,!0):(8&u&&g(n,""),16&f&&I(d,n,o,r,i,a,s,l))},Y=(e,t,n,o,i,a,s,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const o=t[f]=c?fi(t[f]):pi(t[f]);w(e[f],o,n,null,i,a,s,l,c)}u>d?ee(e,i,a,!0,!1,p):I(t,n,o,i,a,s,l,c,p)},X=(e,t,n,o,i,a,s,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const o=e[u],r=t[u]=c?fi(t[u]):pi(t[u]);if(!oi(o,r))break;w(o,r,n,null,i,a,s,l,c),u++}for(;u<=p&&u<=f;){const o=e[p],r=t[f]=c?fi(t[f]):pi(t[f]);if(!oi(o,r))break;w(o,r,n,null,i,a,s,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,r=e<d?t[e].el:o;for(;u<=f;)w(null,t[u]=c?fi(t[u]):pi(t[u]),n,r,i,a,s,l,c),u++}}else if(u>f)for(;u<=p;)K(e[u],i,a,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=f;u++){const e=t[u]=c?fi(t[u]):pi(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=f-g+1;let _=!1,x=0;const T=new Array(b);for(u=0;u<b;u++)T[u]=0;for(u=h;u<=p;u++){const o=e[u];if(y>=b){K(o,i,a,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=g;v<=f;v++)if(0===T[v-g]&&oi(o,t[v])){r=v;break}void 0===r?K(o,i,a,!0):(T[r-g]=u+1,r>=x?x=r:_=!0,w(o,t[r],n,null,i,a,s,l,c),y++)}const S=_?function(e){const t=e.slice(),n=[0];let o,r,i,a,s;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<l?i=s+1:a=s;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,a=n[i-1];for(;i-- >0;)n[i]=a,a=t[a];return n}(T):r;for(v=S.length-1,u=b-1;u>=0;u--){const e=g+u,r=t[e],p=e+1<d?t[e+1].el:o;0===T[u]?w(null,r,n,p,i,a,s,l,c):_&&(v<0||u!==S[v]?G(r,n,p,2):v--)}}},G=(e,t,o,r,i=null)=>{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void G(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void s.move(e,t,o,re);if(s===Ur){n(a,t,o);for(let e=0;e<c.length;e++)G(c[e],t,o,r);return void n(e.anchor,t,o)}if(s===Yr)return void k(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(a),n(a,t,o),Nr((()=>l.enter(a)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,s=()=>n(a,t,o),c=()=>{e(a,(()=>{s(),i&&i()}))};r?r(a,s,c):c()}else n(a,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:i,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=s&&Br(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!Co(e);let g;if(h&&(g=a&&a.onVnodeBeforeUnmount)&&mi(g,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&po(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Ur||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Ur&&384&d||!r&&16&u)&&ee(l,t,n),o&&Q(e)}(h&&(g=a&&a.onVnodeUnmounted)||f)&&Nr((()=>{g&&mi(g,t,e),f&&po(e,null,t,"unmounted")}),n)},Q=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Ur)return void J(n,o);if(t===Yr)return void E(e);const i=()=>{a(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,a=()=>t(n,i);o?o(e.el,i,a):a()}else i()},J=(e,t)=>{let n;for(;e!==t;)n=v(e),a(e),e=n;a(t)},Z=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:a,um:s}=e;o&&$(o),r.stop(),i&&(i.active=!1,K(a,e,t,n)),s&&Nr(s,t),Nr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let a=i;a<e.length;a++)K(e[a],t,n,o,r)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,In(),$n(),ne=!1),t._vnode=e},re={p:w,um:K,m:G,r:Q,mt:F,mc:I,pc:H,pbc:B,n:te,o:e};let ie,ae;t&&([ie,ae]=t(re));return{render:oe,hydrate:ie,createApp:wr(oe,ie)}}(e)}function qr({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 zr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Fr(e,t,n=!1){const o=e.children,r=t.children;if(f(o)&&f(r))for(let i=0;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=fi(r[i]),t.el=e.el),n||Fr(e,t)),t.type===Wr&&(t.el=e.el)}}function Vr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Vr(t)}const Ur=Symbol.for("v-fgt"),Wr=Symbol.for("v-txt"),Hr=Symbol.for("v-cmt"),Yr=Symbol.for("v-stc"),Xr=[];let Gr=null;function Kr(e=!1){Xr.push(Gr=e?null:[])}let Qr=1;function Jr(e){Qr+=e}function Zr(e){return e.dynamicChildren=Qr>0?Gr||r:null,Xr.pop(),Gr=Xr[Xr.length-1]||null,Qr>0&&Gr&&Gr.push(e),e}function ei(e,t,n,o,r,i){return Zr(si(e,t,n,o,r,i,!0))}function ti(e,t,n,o,r){return Zr(li(e,t,n,o,r,!0))}function ni(e){return!!e&&!0===e.__v_isVNode}function oi(e,t){return e.type===t.type&&e.key===t.key}const ri="__vInternal",ii=({key:e})=>null!=e?e:null,ai=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||cn(e)||m(e)?{i:Fn,r:e,k:t,f:!!n}:e:null);function si(e,t=null,n=null,o=0,r=null,i=(e===Ur?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ii(t),ref:t&&ai(t),scopeId:Vn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Fn};return s?(hi(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Qr>0&&!a&&Gr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Gr.push(l),l}const li=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Qn||(e=Hr);if(ni(e)){const o=ci(e,t,!0);return n&&hi(o,n),Qr>0&&!i&&Gr&&(6&o.shapeFlag?Gr[Gr.indexOf(e)]=o:Gr.push(o)),o.patchFlag|=-2,o}a=e,m(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?en(e)||ri in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=ve(e)),b(n)&&(en(n)&&!f(n)&&(n=c({},n)),t.style=me(n))}const s=v(e)?1:to(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:m(e)?2:0;return si(e,t,n,o,r,s,i,!0)};function ci(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?gi(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&ii(s),ref:t&&t.ref?n&&r?f(r)?r.concat(ai(t)):[r,ai(t)]:ai(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ur?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ci(e.ssContent),ssFallback:e.ssFallback&&ci(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ui(e=" ",t=0){return li(Wr,null,e,t)}function di(e="",t=!1){return t?(Kr(),ti(Hr,null,e)):li(Hr,null,e)}function pi(e){return null==e||"boolean"==typeof e?li(Hr):f(e)?li(Ur,null,e.slice()):"object"==typeof e?fi(e):li(Wr,null,String(e))}function fi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ci(e)}function hi(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),hi(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||ri in t?3===o&&Fn&&(1===Fn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Fn}}else m(t)?(t={default:t,_ctx:Fn},n=32):(t=String(t),64&o?(n=16,t=[ui(t)]):n=8);e.children=t,e.shapeFlag|=n}function gi(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=ve([t.class,o.class]));else if("style"===e)t.style=me([t.style,o.style]);else if(s(e)){const n=t[e],r=o[e];!r||n===r||f(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function mi(e,t,n,o=null){yn(e,t,7,[n,o])}const vi=br();let yi=0;let bi=null;const _i=()=>bi||Fn;let wi,xi;{const e=N(),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)}};wi=t("__VUE_INSTANCE_SETTERS__",(e=>bi=e)),xi=t("__VUE_SSR_SETTERS__",(e=>ki=e))}const Ti=e=>{const t=bi;return wi(e),e.scope.on(),()=>{e.scope.off(),wi(t)}},Si=()=>{bi&&bi.scope.off(),wi(null)};function Ci(e){return 4&e.vnode.shapeFlag}let ki=!1;function Ei(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=mn(t)),Ai(e,n)}function Ai(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=Ti(e);Qe();try{lr(e)}finally{Je(),t()}}}function Mi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(mn(nn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in or?or[n](e):void 0,has:(e,t)=>t in e||t in or}))}function Pi(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const Li=(e,t)=>{const n=function(e,t,n=!1){let o,r;const a=m(e);return a?(o=e,r=i):(o=e.get,r=e.set),new an(o,r,a||!r,n)}(e,0,ki);return n};function Oi(e,t,n){const o=arguments.length;return 2===o?b(t)&&!f(t)?ni(t)?li(e,null,[t]):li(e,t):li(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&ni(n)&&(n=[n]),li(e,t,n))}const Ii="3.4.21",$i="undefined"!=typeof document?document:null,Ri=$i&&$i.createElement("template"),Di={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?$i.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?$i.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?$i.createElement(e,{is:n}):$i.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>$i.createTextNode(e),createComment:e=>$i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$i.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{Ri.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=Ri.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Bi="transition",Ni=Symbol("_vtc"),ji=(e,{slots:t})=>Oi(vo,function(e){const t={};for(const c in e)c in qi||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=a,appearToClass:d=s,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(b(e))return[Vi(e.enter),Vi(e.leave)];{const t=Vi(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:T,onBeforeAppear:S=y,onAppear:C=_,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Wi(e,t?d:s),Wi(e,t?u:a),n&&n()},A=(e,t)=>{e._isLeaving=!1,Wi(e,p),Wi(e,h),Wi(e,f),t&&t()},M=e=>(t,n)=>{const r=e?C:_,a=()=>E(t,e,n);zi(r,[t,a]),Hi((()=>{Wi(t,e?l:i),Ui(t,e?d:s),Fi(r)||Xi(t,o,m,a)}))};return c(t,{onBeforeEnter(e){zi(y,[e]),Ui(e,i),Ui(e,a)},onBeforeAppear(e){zi(S,[e]),Ui(e,l),Ui(e,u)},onEnter:M(!1),onAppear:M(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);Ui(e,p),document.body.offsetHeight,Ui(e,f),Hi((()=>{e._isLeaving&&(Wi(e,p),Ui(e,h),Fi(x)||Xi(e,o,v,n))})),zi(x,[e,n])},onEnterCancelled(e){E(e,!1),zi(w,[e])},onAppearCancelled(e){E(e,!0),zi(k,[e])},onLeaveCancelled(e){A(e),zi(T,[e])}})}(e),t);ji.displayName="Transition";const qi={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};ji.props=c({},mo,qi);const zi=(e,t=[])=>{f(e)?e.forEach((e=>e(...t))):e&&e(...t)},Fi=e=>!!e&&(f(e)?e.some((e=>e.length>1)):e.length>1);function Vi(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ui(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Ni]||(e[Ni]=new Set)).add(t)}function Wi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Ni];n&&(n.delete(t),n.size||(e[Ni]=void 0))}function Hi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Yi=0;function Xi(e,t,n,o){const r=e._endId=++Yi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),a=Gi(r,i),s=o("animationDelay"),l=o("animationDuration"),c=Gi(s,l);let u=null,d=0,p=0;t===Bi?a>0&&(u=Bi,d=a,p=i.length):"animation"===t?c>0&&(u="animation",d=c,p=l.length):(d=Math.max(a,c),u=d>0?a>c?Bi:"animation":null,p=u?u===Bi?i.length:l.length:0);const f=u===Bi&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:p,hasTransform:f}}(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),s+1),e.addEventListener(c,p)}function Gi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Ki(t)+Ki(e[n]))))}function Ki(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Qi=Symbol("_vod"),Ji=Symbol("_vsh"),Zi={beforeMount(e,{value:t},{transition:n}){e[Qi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ea(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),ea(e,!0),o.enter(e)):o.leave(e,(()=>{ea(e,!1)})):ea(e,t))},beforeUnmount(e,{value:t}){ea(e,t)}};function ea(e,t){e.style.display=t?e[Qi]:"none",e[Ji]=!t}const ta=Symbol(""),na=/(^|;)\s*display\s*:/;const oa=/\s*!important$/;function ra(e,t,n){if(f(n))n.forEach((n=>ra(e,t,n)));else if(null==n&&(n=""),n=ha(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=aa[t];if(n)return n;let o=A(t);if("filter"!==o&&o in e)return aa[t]=o;o=L(o);for(let r=0;r<ia.length;r++){const n=ia[r]+o;if(n in e)return aa[t]=n}return t}(e,t);oa.test(n)?e.setProperty(P(o),n.replace(oa,""),"important"):e[o]=n}}const ia=["Webkit","Moz","ms"],aa={};const{unit:sa,unitRatio:la,unitPrecision:ca}={unit:"rem",unitRatio:10/320,unitPrecision:5},ua=(da=sa,pa=la,fa=ca,e=>e.replace(we,((e,t)=>{if(!t)return e;if(1===pa)return`${t}${da}`;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)*pa,fa);return 0===n?"0":`${n}${da}`})));var da,pa,fa;const ha=e=>v(e)?ua(e):e,ga="http://www.w3.org/1999/xlink";const ma=Symbol("_vei");function va(e,t,n,o,r=null){const i=e[ma]||(e[ma]={}),a=i[t];if(o&&a)a.value=o;else{const[n,s]=function(e){let t;if(ya.test(e)){let n;for(t={};n=e.match(ya);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):P(e.slice(2)),t]}(t);if(o){const a=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&f(i)){const n=wa(e,i);for(let o=0;o<n.length;o++){const i=n[o];yn(i,t,5,i.__wwe?[e]:r(e))}}else yn(wa(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=(()=>ba||(_a.then((()=>ba=0)),ba=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,a,s)}else a&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,a,s),i[t]=void 0)}}const ya=/(?:Once|Passive|Capture)$/;let ba=0;const _a=Promise.resolve();function wa(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const xa=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Ta=["ctrl","shift","alt","meta"],Sa={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)=>Ta.some((n=>e[`${n}Key`]&&!t.includes(n)))},Ca=(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=Sa[t[e]];if(o&&o(n,t))return}return e(n,...o)})},ka=c({patchProp:(e,t,n,o,r,i,a,c,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,a=i[r],s=(e.__wxsProps||(e.__wxsProps={}))[r];if(s===a)return;e.__wxsProps[r]=a;const l=o.proxy;Pn((()=>{n(a,s,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,a);const d="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[Ni];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,r=v(n);let i=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ra(o,t,"")}else for(const e in t)null==n[e]&&ra(o,e,"");for(const e in n)"display"===e&&(i=!0),ra(o,e,n[e])}else if(r){if(t!==n){const e=o[ta];e&&(n+=";"+e),o.cssText=n,i=na.test(n)}}else t&&e.removeAttribute("style");Qi in e&&(e[Qi]=i?o.display:"",e[Ji]&&(o.display="none"));const{__wxsStyle:a}=e;if(a)for(const s in a)ra(o,s,a[s])}(e,n,o):s(t)?l(t)||va(e,t,0,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&xa(t)&&m(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(xa(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,r,i),void(e[t]=null==n?"":n);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const o=null==n?"":n;return("OPTION"===s?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=H(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,i,a,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(ga,t.slice(6,t.length)):e.setAttributeNS(ga,t,n);else{const o=W(t);null==n||o&&!H(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))},Di);let Ea;const Aa=(...e)=>{const t=(Ea||(Ea=jr(ka))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}
- /*!
- * vue-router v4.3.0
- * (c) 2024 Eduardo San Martin Morote
- * @license MIT
- */(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const Ma="undefined"!=typeof document;const Pa=Object.assign;function La(e,t){const n={};for(const o in t){const r=t[o];n[o]=Ia(r)?r.map(e):e(r)}return n}const Oa=()=>{},Ia=Array.isArray,$a=/#/g,Ra=/&/g,Da=/\//g,Ba=/=/g,Na=/\?/g,ja=/\+/g,qa=/%5B/g,za=/%5D/g,Fa=/%5E/g,Va=/%60/g,Ua=/%7B/g,Wa=/%7C/g,Ha=/%7D/g,Ya=/%20/g;function Xa(e){return encodeURI(""+e).replace(Wa,"|").replace(qa,"[").replace(za,"]")}function Ga(e){return Xa(e).replace(ja,"%2B").replace(Ya,"+").replace($a,"%23").replace(Ra,"%26").replace(Va,"`").replace(Ua,"{").replace(Ha,"}").replace(Fa,"^")}function Ka(e){return null==e?"":function(e){return Xa(e).replace($a,"%23").replace(Na,"%3F")}(e).replace(Da,"%2F")}function Qa(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Ja=/\/$/;function Za(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,a,s=n.length-1;for(i=0;i<o.length;i++)if(a=o[i],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:Qa(a)}}function es(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function ts(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ns(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!os(e[n],t[n]))return!1;return!0}function os(e,t){return Ia(e)?rs(e,t):Ia(t)?rs(t,e):e===t}function rs(e,t){return Ia(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var is,as,ss,ls;function cs(e){if(!e)if(Ma){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Ja,"")}(as=is||(is={})).pop="pop",as.push="push",(ls=ss||(ss={})).back="back",ls.forward="forward",ls.unknown="";const us=/^[^#]+#/;function ds(e,t){return e.replace(us,"#")+t}const ps=()=>({left:window.scrollX,top:window.scrollY});function fs(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 hs(e,t){return(history.state?history.state.position-t:-1)+e}const gs=new Map;function ms(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),es(n,"")}return es(n,e)+o+r}function vs(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ps():null}}function ys(e){const{history:t,location:n}=window,o={value:ms(e,n)},r={value:t.state};function i(o,i,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:location.protocol+"//"+location.host+e+o;try{t[a?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[a?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const a=Pa({},r.value,t.state,{forward:e,scroll:ps()});i(a.current,a,!0),i(e,Pa({},vs(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Pa({},t.state,vs(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function bs(e){const t=ys(e=cs(e)),n=function(e,t,n,o){let r=[],i=[],a=null;const s=({state:i})=>{const s=ms(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=s,t.value=i,a&&a===l)return void(a=null);u=c?i.position-c.position:0}else o(s);r.forEach((e=>{e(n.value,l,{delta:u,type:is.pop,direction:u?u>0?ss.forward:ss.back:ss.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Pa({},e.state,{scroll:ps()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){a=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Pa({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ds.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 _s(e){return"string"==typeof e||"symbol"==typeof e}const ws={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xs=Symbol("");var Ts,Ss;function Cs(e,t){return Pa(new Error,{type:e,[xs]:!0},t)}function ks(e,t){return e instanceof Error&&xs in e&&(null==t||!!(e.type&t))}(Ss=Ts||(Ts={}))[Ss.aborted=4]="aborted",Ss[Ss.cancelled=8]="cancelled",Ss[Ss.duplicated=16]="duplicated";const Es={sensitive:!1,strict:!1,start:!0,end:!0},As=/[.+*?^${}()[\]/\\]/g;function Ms(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 Ps(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=Ms(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(Ls(o))return 1;if(Ls(r))return-1}return r.length-o.length}function Ls(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Os={type:0,value:""},Is=/[a-zA-Z0-9_]/;function $s(e,t,n){const o=function(e,t){const n=Pa({},Es,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t<l.length;t++){const o=l[t];let a=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(As,"\\$&"),a+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;i.push({name:e,repeatable:n,optional:c});const d=u||"[^/]+?";if("[^/]+?"!==d){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let p=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(p=c&&l.length<2?`(?:/${p})`:"/"+p),c&&(p+="?"),r+=p,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");return{re:a,score:o,keys:i,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:a,optional:s}=e,l=i in t?t[i]:"";if(Ia(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=Ia(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${i}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Os]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),a()):":"===s?(d(),n=1):p();break;case 4:p(),n=o;break;case 1:"("===s?n=2:Is.test(s)?p():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),r}(e.path),n),r=Pa(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Rs(e,t){const n=[],o=new Map;function r(e,n,o){const s=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Bs(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=qs(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(Pa({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,p;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=$s(t,n,c),o?o.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),s&&e.name&&!Ns(d)&&i(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)r(e[t],d,o&&o.children[t])}o=o||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&a(d)}return p?()=>{i(p)}:Oa}function i(e){if(_s(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function a(e){let t=0;for(;t<n.length&&Ps(e,n[t])>=0&&(e.record.path!==n[t].record.path||!zs(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Ns(e)&&o.set(e.record.name,e)}return t=qs({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,a,s={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw Cs(1,{location:e});a=r.record.name,s=Pa(Ds(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Ds(e.params,r.keys.map((e=>e.name)))),i=r.stringify(s)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(s=r.parse(i),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw Cs(1,{location:e,currentLocation:t});a=r.record.name,s=Pa({},t.params,e.params),i=r.stringify(s)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:i,params:s,matched:l,meta:js(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Ds(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Bs(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 Ns(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function js(e){return e.reduce(((e,t)=>Pa(e,t.meta)),{})}function qs(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function zs(e,t){return t.children.some((t=>t===e||zs(e,t)))}function Fs(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(ja," "),r=e.indexOf("="),i=Qa(r<0?e:e.slice(0,r)),a=r<0?null:Qa(e.slice(r+1));if(i in t){let e=t[i];Ia(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function Vs(e){let t="";for(let n in e){const o=e[n];if(n=Ga(n).replace(Ba,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(Ia(o)?o.map((e=>e&&Ga(e))):[o&&Ga(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Us(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Ia(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Ws=Symbol(""),Hs=Symbol(""),Ys=Symbol(""),Xs=Symbol(""),Gs=Symbol("");function Ks(){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 Qs(e,t,n,o,r,i=(e=>e())){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((s,l)=>{const c=e=>{var i;!1===e?l(Cs(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(Cs(2,{from:t,to:e})):(a&&o.enterCallbacks[r]===a&&"function"==typeof e&&a.push(e),s())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function Js(e,t,n,o,r=(e=>e())){const i=[];for(const s of e)for(const e in s.components){let l=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(a=l)||"displayName"in a||"props"in a||"__vccOpts"in a){const a=(l.__vccOpts||l)[t];a&&i.push(Qs(a,n,o,s,e,r))}else{let a=l();i.push((()=>a.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Qs(c,n,o,s,e,r)()}))))}}var a;return i}function Zs(e){const t=Sr(Ys),n=Sr(Xs),o=Li((()=>t.resolve(hn(e.to)))),r=Li((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const a=i.findIndex(ts.bind(null,r));if(a>-1)return a;const s=nl(e[t-2]);return t>1&&nl(r)===s&&i[i.length-1].path!==s?i.findIndex(ts.bind(null,e[t-2])):a})),i=Li((()=>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(!Ia(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),a=Li((()=>r.value>-1&&r.value===n.matched.length-1&&ns(n.params,o.value.params)));return{route:o,href:Li((()=>o.value.href)),isActive:i,isExactActive:a,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[hn(e.replace)?"replace":"push"](hn(e.to)).catch(Oa):Promise.resolve()}}}const el=So({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Zs,setup(e,{slots:t}){const n=Yt(Zs(e)),{options:o}=Sr(Ys),r=Li((()=>({[ol(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[ol(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Oi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),tl=el;function nl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ol=(e,t,n)=>null!=e?e:null!=t?t:n;function rl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const il=So({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Sr(Gs),r=Li((()=>e.route||o.value)),i=Sr(Hs,0),a=Li((()=>{let e=hn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=Li((()=>r.value.matched[a.value]));Tr(Hs,Li((()=>a.value+1))),Tr(Ws,s),Tr(Gs,r);const l=un();return io((()=>[l.value,s.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&ts(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,a=s.value,c=a&&a.components[i];if(!c)return rl(n.default,{Component:c,route:o});const u=a.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,p=Oi(c,Pa({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}));return rl(n.default,{Component:p,route:o})||p}}});function al(e){const t=Rs(e.routes,e),n=e.parseQuery||Fs,o=e.stringifyQuery||Vs,r=e.history,i=Ks(),a=Ks(),s=Ks(),l=dn(ws);let c=ws;Ma&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=La.bind(null,(e=>""+e)),d=La.bind(null,Ka),p=La.bind(null,Qa);function f(e,i){if(i=Pa({},i||l.value),"string"==typeof e){const o=Za(n,e,i.path),a=t.resolve({path:o.path},i),s=r.createHref(o.fullPath);return Pa(o,a,{params:p(a.params),hash:Qa(o.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=Pa({},e,{path:Za(n,e.path,i.path).path});else{const t=Pa({},e.params);for(const e in t)null==t[e]&&delete t[e];a=Pa({},e,{params:d(t)}),i.params=d(i.params)}const s=t.resolve(a,i),c=e.hash||"";s.params=u(p(s.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Pa({},e,{hash:(h=c,Xa(h).replace(Ua,"{").replace(Ha,"}").replace(Fa,"^")),path:s.path}));var h;const g=r.createHref(f);return Pa({fullPath:f,hash:c,query:o===Vs?Us(e.query):e.query||{}},s,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Za(n,e,l.value.path):Pa({},e)}function g(e,t){if(c!==e)return Cs(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),Pa({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=f(e),r=l.value,i=e.state,a=e.force,s=!0===e.replace,u=v(n);if(u)return y(Pa(h(u),{state:"object"==typeof u?Pa({},i,u.state):i,force:a,replace:s}),t||n);const d=n;let p;return d.redirectedFrom=t,!a&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&ts(t.matched[o],n.matched[r])&&ns(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(p=Cs(16,{to:d,from:r}),L(r,r,!0,!1)),(p?Promise.resolve(p):w(d,r)).catch((e=>ks(e)?ks(e,2)?e:P(e):M(e,d,r))).then((e=>{if(e){if(ks(e,2))return y(Pa({replace:s},h(e.to),{state:"object"==typeof e.to?Pa({},i,e.to.state):i,force:a}),t||d)}else e=T(d,r,!0,s,i);return x(d,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=$.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,s]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const i=t.matched[a];i&&(e.matched.find((e=>ts(e,i)))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>ts(e,s)))||r.push(s))}return[n,o,r]}(e,t);n=Js(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Qs(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),D(n).then((()=>{n=[];for(const o of i.list())n.push(Qs(o,e,t));return n.push(l),D(n)})).then((()=>{n=Js(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Qs(o,e,t))}));return n.push(l),D(n)})).then((()=>{n=[];for(const o of s)if(o.beforeEnter)if(Ia(o.beforeEnter))for(const r of o.beforeEnter)n.push(Qs(r,e,t));else n.push(Qs(o.beforeEnter,e,t));return n.push(l),D(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Js(s,"beforeRouteEnter",e,t,_),n.push(l),D(n)))).then((()=>{n=[];for(const o of a.list())n.push(Qs(o,e,t));return n.push(l),D(n)})).catch((e=>ks(e,8)?e:Promise.reject(e)))}function x(e,t,n){s.list().forEach((o=>_((()=>o(e,t,n)))))}function T(e,t,n,o,i){const a=g(e,t);if(a)return a;const s=t===ws,c=Ma?history.state:{};n&&(o||s?r.replace(e.fullPath,Pa({scroll:s&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,L(e,t,n,s),P()}let S;function C(){S||(S=r.listen(((e,t,n)=>{if(!R.listening)return;const o=f(e),i=v(o);if(i)return void y(Pa(i,{replace:!0}),o).catch(Oa);c=o;const a=l.value;var s,u;Ma&&(s=hs(a.fullPath,n.delta),u=ps(),gs.set(s,u)),w(o,a).catch((e=>ks(e,12)?e:ks(e,2)?(y(e.to,o).then((e=>{ks(e,20)&&!n.delta&&n.type===is.pop&&r.go(-1,!1)})).catch(Oa),Promise.reject()):(n.delta&&r.go(-n.delta,!1),M(e,o,a)))).then((e=>{(e=e||T(o,a,!1))&&(n.delta&&!ks(e,8)?r.go(-n.delta,!1):n.type===is.pop&&ks(e,20)&&r.go(-1,!1)),x(o,a,e)})).catch(Oa)})))}let k,E=Ks(),A=Ks();function M(e,t,n){P(e);const o=A.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function P(e){return k||(k=!e,C(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function L(t,n,o,r){const{scrollBehavior:i}=e;if(!Ma||!i)return Promise.resolve();const a=!o&&function(e){const t=gs.get(e);return gs.delete(e),t}(hs(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Pn().then((()=>i(t,n,a))).then((e=>e&&fs(e))).catch((e=>M(e,t,n)))}const O=e=>r.go(e);let I;const $=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return _s(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:m,replace:function(e){return m(Pa(h(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:A.add,isReady:function(){return k&&l.value!==ws?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",tl),e.component("RouterView",il),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>hn(l)}),Ma&&!I&&l.value===ws&&(I=!0,m(r.location).catch((e=>{})));const t={};for(const o in ws)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Ys,this),e.provide(Xs,Xt(t)),e.provide(Gs,l);const n=e.unmount;$.add(e),e.unmount=function(){$.delete(e),$.size<1&&(c=ws,S&&S(),S=null,l.value=ws,I=!1,k=!1),n()}}};function D(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return R}function sl(){return Sr(Xs)}const ll=["{","}"];const cl=/^(?:\d)+/,ul=/^(?:\w)+/;const dl=Object.prototype.hasOwnProperty,pl=(e,t)=>dl.call(e,t),fl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=ll){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let a=e[r++];if(a===t){i&&o.push({type:"text",value:i}),i="";let t="";for(a=e[r++];void 0!==a&&a!==n;)t+=a,a=e[r++];const s=a===n,l=cl.test(t)?"list":s&&ul.test(t)?"named":"unknown";o.push({value:t,type:l})}else i+=a}return i&&o.push({type:"text",value:i}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===r)return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(t[i.value])}o++}return n}(o,t)}};function hl(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class gl{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||fl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=hl(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=>{pl(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=hl(t,this.messages))&&(o=this.messages[t]):n=t,pl(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function ml(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&uni.getLocale?uni.getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new gl({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Rv().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}function vl(e,t){return e.indexOf(t[0])>-1}const yl=se((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let bl;function _l(e){return vl(e,ee)?Tl().f(e,function(){const e=uni.getLocale(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),ee):e}function wl(e,t){if(1===t.length){if(e){const n=e=>v(e)&&vl(e,ee),o=t[0];let r=[];if(f(e)&&(r=e.filter((e=>n(e[o])))).length)return r;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return wl(e&&e[n],t)}function xl(e,t){const n=wl(e,t);if(!n)return!1;const o=t[t.length-1];if(f(n))n.forEach((e=>xl(e,[o])));else{let e=n[o];Object.defineProperty(n,o,{get:()=>_l(e),set(t){e=t}})}return!0}function Tl(){if(!bl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,bl=ml(e),yl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>bl.add(e,__uniConfig.locales[e]))),bl.setLocale(e)}}return bl}function Sl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const Cl=se((()=>{const e="uni.async.",t=["error"];Tl().add("en",Sl(e,t,["The connection timed out, click the screen to try again."]),!1),Tl().add("es",Sl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Tl().add("fr",Sl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Tl().add("zh-Hans",Sl(e,t,["连接服务器超时,点击屏幕重试"]),!1),Tl().add("zh-Hant",Sl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),kl=se((()=>{const e="uni.showActionSheet.",t=["cancel"];Tl().add("en",Sl(e,t,["Cancel"]),!1),Tl().add("es",Sl(e,t,["Cancelar"]),!1),Tl().add("fr",Sl(e,t,["Annuler"]),!1),Tl().add("zh-Hans",Sl(e,t,["取消"]),!1),Tl().add("zh-Hant",Sl(e,t,["取消"]),!1)})),El=se((()=>{const e="uni.showToast.",t=["unpaired"];Tl().add("en",Sl(e,t,["Please note showToast must be paired with hideToast"]),!1),Tl().add("es",Sl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Tl().add("fr",Sl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Tl().add("zh-Hans",Sl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Tl().add("zh-Hant",Sl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Al=se((()=>{const e="uni.showLoading.",t=["unpaired"];Tl().add("en",Sl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Tl().add("es",Sl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Tl().add("fr",Sl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Tl().add("zh-Hans",Sl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Tl().add("zh-Hant",Sl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Ml=se((()=>{const e="uni.showModal.",t=["cancel","confirm"];Tl().add("en",Sl(e,t,["Cancel","OK"]),!1),Tl().add("es",Sl(e,t,["Cancelar","OK"]),!1),Tl().add("fr",Sl(e,t,["Annuler","OK"]),!1),Tl().add("zh-Hans",Sl(e,t,["取消","确定"]),!1),Tl().add("zh-Hant",Sl(e,t,["取消","確定"]),!1)})),Pl=se((()=>{const e="uni.chooseFile.",t=["notUserActivation"];Tl().add("en",Sl(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Tl().add("es",Sl(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Tl().add("fr",Sl(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),Tl().add("zh-Hans",Sl(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Tl().add("zh-Hant",Sl(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Ll=se((()=>{const e="uni.setClipboardData.",t=["success","fail"];Tl().add("en",Sl(e,t,["Content copied","Copy failed, please copy manually"]),!1),Tl().add("es",Sl(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Tl().add("fr",Sl(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),Tl().add("zh-Hans",Sl(e,t,["内容已复制","复制失败,请手动复制"]),!1),Tl().add("zh-Hant",Sl(e,t,["內容已復制","復制失敗,請手動復製"]),!1)})),Ol=se((()=>{const e="uni.getClipboardData.",t=["fail"];Tl().add("en",Sl(e,t,["Reading failed, please paste manually"]),!1),Tl().add("es",Sl(e,t,["Error de lectura, pegue manualmente"]),!1),Tl().add("fr",Sl(e,t,["Échec de la lecture, veuillez coller manuellement"]),!1),Tl().add("zh-Hans",Sl(e,t,["读取失败,请手动粘贴"]),!1),Tl().add("zh-Hant",Sl(e,t,["讀取失敗,請手動粘貼"]),!1)})),Il=se((()=>{const e="uni.picker.",t=["done","cancel"];Tl().add("en",Sl(e,t,["Done","Cancel"]),!1),Tl().add("es",Sl(e,t,["OK","Cancelar"]),!1),Tl().add("fr",Sl(e,t,["OK","Annuler"]),!1),Tl().add("zh-Hans",Sl(e,t,["完成","取消"]),!1),Tl().add("zh-Hant",Sl(e,t,["完成","取消"]),!1)})),$l=se((()=>{const e="uni.video.",t=["danmu","volume"];Tl().add("en",Sl(e,t,["Danmu","Volume"]),!1),Tl().add("es",Sl(e,t,["Danmu","Volumen"]),!1),Tl().add("fr",Sl(e,t,["Danmu","Le Volume"]),!1),Tl().add("zh-Hans",Sl(e,t,["弹幕","音量"]),!1),Tl().add("zh-Hant",Sl(e,t,["彈幕","音量"]),!1)})),Rl=se((()=>{const e="uni.chooseLocation.",t=["search","cancel"];Tl().add("en",Sl(e,t,["Find Place","Cancel"]),!1),Tl().add("es",Sl(e,t,["Encontrar","Cancelar"]),!1),Tl().add("fr",Sl(e,t,["Trouve","Annuler"]),!1),Tl().add("zh-Hans",Sl(e,t,["搜索地点","取消"]),!1),Tl().add("zh-Hant",Sl(e,t,["搜索地點","取消"]),!1)}));function Dl(e){const t=new De;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let Bl=1;const Nl=Object.create(null);function jl(e,t){return e+"."+t}function ql(e,t,n){t=jl(e,t),Nl[t]||(Nl[t]=n)}function zl({id:e,name:t,args:n},o){t=jl(o,t);const r=t=>{e&&Xx.publishHandler("invokeViewApi."+e,t)},i=Nl[t];i?i(n,r):r({})}const Fl=c(Dl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Xx,i=n?Bl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Vl=xe(!0);let Ul;function Wl(){Ul&&(clearTimeout(Ul),Ul=null)}let Hl=0,Yl=0;function Xl(e){if(Wl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Hl=t,Yl=n,Ul=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 Gl(e){if(!Ul)return;if(1!==e.touches.length)return Wl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Hl)>10||Math.abs(n-Yl)>10?Wl():void 0}function Kl(e,t){const n=Number(e);return isNaN(n)?t:n}function Ql(){const e=__uniConfig.globalStyle||{},t=Kl(e.rpxCalcMaxDeviceWidth,960),n=Kl(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 Jl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zl,ec,tc=["top","left","right","bottom"],nc={};function oc(){return ec="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 rc(){if(ec="string"==typeof ec?ec:oc()){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"}),tc.forEach((function(e){a(o,e)})),document.body.appendChild(o),i(),Zl=!0}else tc.forEach((function(e){nc[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function a(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ec+"(safe-area-inset-"+n+")"};r(o,c),r(a,c),r(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(l),e.appendChild(o),e.appendChild(a),i((function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,r=a.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,r=a.scrollTop,function(e){ac.length||setTimeout((function(){var e={};ac.forEach((function(t){e[t]=nc[t]})),ac.length=0,sc.forEach((function(t){t(e)}))}),0);ac.push(e)}(n))}o.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(nc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function ic(e){return Zl||rc(),nc[e]}var ac=[];var sc=[];const lc=Jl({get support(){return 0!=("string"==typeof ec?ec:oc()).length},get top(){return ic("top")},get left(){return ic("left")},get right(){return ic("right")},get bottom(){return ic("bottom")},onChange:function(e){oc()&&(Zl||rc(),"function"==typeof e&&sc.push(e))},offChange:function(e){var t=sc.indexOf(e);t>=0&&sc.splice(t,1)}}),cc=Ca((()=>{}),["prevent"]),uc=Ca((e=>{}),["stop"]);function dc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function pc(){const e=dc(document.documentElement.style,"--window-top");return e?e+lc.top:0}function fc(){const e=document.documentElement.style,t=pc(),n=dc(e,"--window-bottom"),o=dc(e,"--window-left"),r=dc(e,"--window-right"),i=dc(e,"--top-window-height");return{top:t,bottom:n?n+lc.bottom:0,left:o?o+lc.left:0,right:r?r+lc.right:0,topWindowHeight:i||0}}function hc(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function gc(e){return hc(e)}function mc(e){return Symbol(e)}function vc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function yc(e,t=!1){if(t)return function(e){if(!vc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>uni.upx2px(parseFloat(t))+"px"))}(e);if(v(e)){const t=parseInt(e)||0;return vc(e)?uni.upx2px(t):t}return e}function bc(e){return e.$page}function _c(e){return 0===e.tagName.indexOf("UNI-")}const wc="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",xc="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",Tc="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",Sc="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",Cc="M31.562 4.9966666659375q0.435 0.399 0.435 0.87 0.036 0.58-0.399 0.98l-18.61 19.917q-0.145 0.145-0.327 0.217-0.073 0.037-0.145 0.11-0.254 0.035-0.472 0.035-0.29 0-0.544-0.036l-0.145-0.072q-0.109-0.073-0.217-0.182l-0.11-0.072L0.363 16.2786666659375q-0.327-0.399-0.363-0.907 0-0.544 0.363-1.016 0.435-0.326 0.961-0.362 0.527-0.036 0.962 0.362l9.722 9.542L29.712 5.0326666659375q0.399-0.363 0.943-0.363 0.544-0.036 0.907 0.327z";function kc(e,t="#000",n=27){return li("svg",{width:n,height:n,viewBox:"0 0 32 32"},[li("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Ec(){{const{$pageInstance:e}=_i();return e&&Rc(e.proxy)}}function Ac(e){const t=fe(e);if(t.$page)return Rc(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return Rc(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?Rc(n):void 0}function Mc(){const e=Rh(),t=e.length;if(t)return e[t-1]}function Pc(){var e;const t=null==(e=Mc())?void 0:e.$page;if(t)return t.meta}function Lc(){const e=Pc();return e?e.id:-1}function Oc(){const e=Mc();if(e)return e.$vm}const Ic=["navigationBar","pullToRefresh"];function $c(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);Ic.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function Rc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function Dc(e,t,n){if(v(e))n=t,t=e,e=Oc();else if("number"==typeof e){const t=Rh().find((t=>bc(t).id===e));e=t?t.$vm:Oc()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function Bc(e){e.preventDefault()}let Nc,jc=0;function qc({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-jc)>n;return!i||r&&!a?(!i&&r&&(r=!1),!1):(jc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(Nc=setTimeout(a,300))),o=!1};return function(){clearTimeout(Nc),o||requestAnimationFrame(a),o=!0}}function zc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return zc(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&".."===n[r];r++);n.splice(0,r),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-r-1,r+1),re(i.concat(n).join("/"))}function Fc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function Vc(){Ql(),be(_c),window.addEventListener("touchstart",Xl,Vl),window.addEventListener("touchmove",Gl,Vl),window.addEventListener("touchend",Wl,Vl),window.addEventListener("touchcancel",Wl,Vl)}class Uc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ge(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&&ge(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=Xc(this.$el.querySelector(e));return t?Wc(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=Xc(n[o]);e&&t.push(Wc(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:P(n);(v(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(v(e)&&(e=V(e)),T(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Xx.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 Wc(e,t=!0){if(t&&e&&(e=he(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Uc(e)),e.$el.__wxsComponentDescriptor}function Hc(e,t){return Wc(e,t)}function Yc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Hc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=he(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Hc(r,!1)]}}function Xc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Gc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let a,s;a=Te(t?r:function(e){for(;!_c(e);)e=e.parentElement;return e}(r)),s=Te(i);const l={type:n,timeStamp:o,target:a,detail:{},currentTarget:s};return e instanceof CustomEvent&&T(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 Kc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Qc(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:a,clientX:s,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:i,pageY:a-t,clientX:s,clientY:l-t,force:c||0})}return n}const Jc=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!_c(o);if(r)return Yc(e,t,n,!1)||[e];const i=Gc(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=pc();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Kc(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=pc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Kc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=pc();i.touches=Qc(e.touches,t),i.changedTouches=Qc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return Yc(i,t,n)||[i]},createNativeEvent:Gc},Symbol.toStringTag,{value:"Module"});function Zc(e){!function(e){const t=e.globalProperties;c(t,Jc),t.$gcd=Hc}(e._context.config)}let eu=1;function tu(e){return(e||Lc())+".invokeViewApi"}const nu=c(Dl("view"),{invokeOnCallback:(e,t)=>Kx.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Kx,a=o?eu++:0;o&&r("invokeViewApi."+a,o,!0),i(tu(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:a}=Kx,s=eu++,l="invokeViewApi."+s;return r(l,n),a(tu(o),{id:s,name:e,args:t},o),()=>{i(l)}}});function ou(e){Dc(Mc(),"onResize",e),Kx.invokeOnCallback("onWindowResize",e)}function ru(e){const t=Mc();Dc(Rv(),"onShow",e),Dc(t,"onShow")}function iu(){Dc(Rv(),"onHide"),Dc(Mc(),"onHide")}const au=["onPageScroll","onReachBottom"];function su(){au.forEach((e=>Kx.subscribe(e,function(e){return(t,n)=>{Dc(parseInt(n),e,t)}}(e))))}function lu(){!function(){const{on:e}=Kx;e("onResize",ou),e("onAppEnterForeground",ru),e("onAppEnterBackground",iu)}(),su()}function cu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Me(this.$page.id)),e.eventChannel}}function uu(e){e._context.config.globalProperties.getOpenerEventChannel=cu}function du(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function pu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${uni.upx2px(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function fu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],a=t.option.transition,s=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,a=e.option,s=a.transition,l={},c=[];return i.forEach((e=>{let i=e.type,a=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?a=a.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(a=a.map(pu)),n.indexOf(i)>=0&&(a.length=1),c.push(`${i}(${a.join(",")})`);else if(o.concat(r).includes(a[0])){i=a[0];const e=a[1];l[i]=r.includes(i)?pu(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=a.transformOrigin,l}(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),n+=1,n<r&&setTimeout(i,a.duration+a.delay)}setTimeout((()=>{i()}),0)}const hu={props:["animation"],watch:{animation:{deep:!0,handler(){fu(this)}}},mounted(){fu(this)}},gu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(hu),mu(e)},mu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},So(e));function vu(e){return e.__wwe=!0,e}function yu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=Te(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const bu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function _u(e){const t=un(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function a(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&i()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:vu((function(e){e.touches.length>1||a(e)})),onMousedown:vu((function(e){r||(a(e),window.addEventListener("mouseup",l))})),onTouchend:vu((function(){s()})),onMouseup:vu((function(){r&&l()})),onTouchcancel:vu((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function wu(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const xu=mc("uf"),Tu=gu({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const o=un(null);return function(e){const t=[];Tr(xu,{addField(e){t.push(e)},removeField(e){t.splice(t.indexOf(e),1)},submit(n){e("submit",n,{value:t.reduce(((e,t)=>{if(t.submit){const[n,o]=t.submit();n&&(e[n]=o)}return e}),Object.create(null))})},reset(n){t.forEach((e=>e.reset&&e.reset())),e("reset",n)}})}(yu(o,n)),()=>li("uni-form",{ref:o},[li("span",null,[t.default&&t.default()])],512)}});const Su=mc("ul");function Cu(e,t,n){const o=Ec();n&&!e||T(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Xx.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Xx.on(r,t[r]):e&&Xx.on(`uni-${r}-${o}-${e}`,t[r])}))}function ku(e,t,n){const o=Ec();n&&!e||T(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Xx.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Xx.off(r,t[r]):e&&Xx.off(`uni-${r}-${o}-${e}`,t[r])}))}const Eu=gu({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=un(null),o=Sr(xu,!1),{hovering:r,binding:i}=_u(e),a=vu(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),s=Sr(Su,!1);return s&&(s.addHandler(a),Yo((()=>{s.removeHandler(a)}))),function(e,t){Cu(e.id,t),io((()=>e.id),((e,n)=>{ku(n,t,!0),Cu(e,t,!0)})),Xo((()=>{ku(e.id,t)}))}(e,{"label-click":a}),()=>{const o=e.hoverClass,s=wu(e,"disabled"),l=wu(e,"loading"),c=wu(e,"plain"),u=o&&"none"!==o;return li("uni-button",gi({ref:n,onClick:a,id:e.id,class:u&&r.value?o:""},u&&i,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),Au=mc("upm");function Mu(){return Sr(Au)}function Pu(e){const t=function(e){return Yt(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=yc(e.offset)),e.height&&(e.height=yc(e.height)),e.range&&(e.range=yc(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:r}=n;"custom"!==r&&"transparent"!==o&&(t.offset+=44+lc.top),e.pullToRefresh=t}}{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:r}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=r||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Rh().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify($c(sl().meta,e)))))}(e);return Tr(Au,t),t}function Lu(){return sl()}function Ou(){return history.state&&history.state.__id__||1}var Iu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$u=function(){const e=new Uint8Array(256);for(var t=0;t<Iu.length;t++)e[Iu.charCodeAt(t)]=t;return e}();const Ru=["original","compressed"],Du=["album","camera"],Bu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Nu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function ju(e,t){return!f(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function qu(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let zu=1;const Fu={};function Vu(e,t,n,o=!1){return Fu[e]={name:t,keepAlive:o,callback:n},e}function Uu(e,t,n){if("number"==typeof e){const o=Fu[e];if(o)return o.keepAlive||delete Fu[e],o.callback(t,n)}return t}function Wu(e){for(const t in Fu)if(Fu[t].name===e)return!0;return!1}const Hu="success",Yu="fail",Xu="complete";function Gu(e,t={},{beforeAll:n,beforeSuccess:o}={}){T(t)||(t={});const{success:r,fail:i,complete:a}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=qu(o),delete e[n])}return t}(t),s=m(r),l=m(i),c=m(a),u=zu++;return Vu(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),s&&r(u)):l&&i(u),c&&a(u)})),u}const Ku="success",Qu="fail",Ju="complete",Zu={},ed={};function td(e,t){return function(n){return e(n,t)||n}}function nd(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(td(i,n));else{const e=i(t,n);if(_(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function od(e,t={}){return[Ku,Qu,Ju].forEach((n=>{const o=e[n];if(!f(o))return;const r=t[n];t[n]=function(e){nd(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function rd(e,t){const n=[];f(Zu.returnValue)&&n.push(...Zu.returnValue);const o=ed[e];return o&&f(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function id(e){const t=Object.create(null);Object.keys(Zu).forEach((e=>{"returnValue"!==e&&(t[e]=Zu[e].slice())}));const n=ed[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function ad(e,t,n,o){const r=id(e);if(r&&Object.keys(r).length){if(f(r.invoke)){return nd(r.invoke,n).then((n=>t(od(id(e),n),...o)))}return t(od(r,n),...o)}return t(n,...o)}function sd(e,t){return(n={},...o)=>function(e){return!(!T(e)||![Hu,Yu,Xu].find((t=>m(e[t]))))}(n)?rd(e,ad(e,t,n,o)):rd(e,new Promise(((r,i)=>{ad(e,t,c(n,{success:r,fail:i}),o)})))}function ld(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,Uu(e,c({errMsg:i},o))}function cd(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||!T(t.formatArgs)&&T(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],a=o[t];if(m(a)){const o=a(e[0][t],n);if(v(o))return o}else p(n,t)||(n[t]=a)}}(t,o);if(r)return r}function ud(e){if(!m(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}function dd(e,t,n){return o=>{ud(o);const r=cd(0,[o],0,n);if(r)throw new Error(r);const i=!Wu(e);!function(e,t){Vu(zu++,e,t,!0)}(e,o),i&&(!function(e){Kx.on("api."+e,(t=>{for(const n in Fu){const o=Fu[n];o.name===e&&o.callback(t)}}))}(e),t())}}function pd(e,t,n){return o=>{ud(o);const r=cd(0,[o],0,n);if(r)throw new Error(r);!function(e,t){for(const n in Fu){const o=Fu[n];o.callback===t&&o.name===e&&delete Fu[n]}}(e=e.replace("off","on"),o);Wu(e)||(!function(e){Kx.off("api."+e)}(e),t())}}function fd(e,t,n,o){return n=>{const r=Gu(e,n,o),i=cd(0,[n],0,o);return i?ld(r,e,i):t(n,{resolve:t=>function(e,t,n){return Uu(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>ld(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 hd(e,t,n){return dd(e,t,n)}function gd(e,t,n){return pd(e,t,n)}function md(e,t,n,o){return sd(e,fd(e,t,0,o))}function vd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=cd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function yd(e,t,n,o){return sd(e,function(e,t,n,o){return fd(e,t,0,o)}(e,t,0,o))}function bd(e){return`method 'uni.${e}' not supported`}function _d(e){return()=>{console.error(bd(e))}}const wd=_d;function xd(e){return(t,{reject:n})=>n(bd(e))}const Td=vd(0,(e=>function(e){var t,n,o,r,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c=new ArrayBuffer(a),u=new Uint8Array(c);for(t=0;t<s;t+=4)n=$u[e.charCodeAt(t)],o=$u[e.charCodeAt(t+1)],r=$u[e.charCodeAt(t+2)],i=$u[e.charCodeAt(t+3)],u[l++]=n<<2|o>>4,u[l++]=(15&o)<<4|r>>2,u[l++]=(3&r)<<6|63&i;return c}(e))),Sd=vd(0,(e=>function(e){var t,n=new Uint8Array(e),o=n.length,r="";for(t=0;t<o;t+=3)r+=Iu[n[t]>>2],r+=Iu[(3&n[t])<<4|n[t+1]>>4],r+=Iu[(15&n[t+1])<<2|n[t+2]>>6],r+=Iu[63&n[t+2]];return o%3==2?r=r.substring(0,r.length-1)+"=":o%3==1&&(r=r.substring(0,r.length-2)+"=="),r}(e)));let Cd=!1,kd=0,Ed=0,Ad=960,Md=375,Pd=750;function Ld(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=ag(),t=cg(lg(e,sg(e)));return{platform:tg?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}kd=e,Ed=t,Cd="ios"===n}function Od(e,t){const n=Number(e);return isNaN(n)?t:n}const Id=vd(0,((e,t)=>{if(0===kd&&(Ld(),function(){const e=__uniConfig.globalStyle||{};Ad=Od(e.rpxCalcMaxDeviceWidth,960),Md=Od(e.rpxCalcBaseDeviceWidth,375),Pd=Od(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||kd;n=e===Pd||n<=Ad?n:Md;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Ed&&Cd?.5:1),e<0?-o:o}));function $d(e,t){Object.keys(t).forEach((n=>{m(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):f(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}function Rd(e,t){e&&t&&Object.keys(t).forEach((n=>{const o=e[n],r=t[n];f(o)&&m(r)&&u(o,r)}))}const Dd=vd(0,((e,t)=>{v(e)&&T(t)?$d(ed[e]||(ed[e]={}),t):T(e)&&$d(Zu,e)})),Bd=vd(0,((e,t)=>{v(e)?T(t)?Rd(ed[e],t):delete ed[e]:T(e)&&Rd(Zu,e)}));const Nd=new class{constructor(){this.$emitter=new De}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)}},jd=vd(0,((e,t)=>(Nd.on(e,t),()=>Nd.off(e,t)))),qd=vd(0,((e,t)=>(Nd.once(e,t),()=>Nd.off(e,t)))),zd=vd(0,((e,t)=>{f(e)||(e=e?[e]:[]),e.forEach((e=>{Nd.off(e,t)}))})),Fd=vd(0,((e,...t)=>{Nd.emit(e,...t)}));const Vd=[.5,.8,1,1.25,1.5,2];class Ud{constructor(e,t){this.id=e,this.pageId=t}play(){ug(this.id,this.pageId,"play")}pause(){ug(this.id,this.pageId,"pause")}stop(){ug(this.id,this.pageId,"stop")}seek(e){ug(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){ug(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Vd.indexOf(e)||(e=1),ug(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){ug(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){ug(this.id,this.pageId,"exitFullScreen")}showStatusBar(){ug(this.id,this.pageId,"showStatusBar")}hideStatusBar(){ug(this.id,this.pageId,"hideStatusBar")}}const Wd=vd(0,((e,t)=>new Ud(e,Ac(t||Oc())))),Hd=(e,t,n,o)=>{!function(e,t,n,o,r){Kx.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)}))};class Yd{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Hd(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Hd(this.id,this.pageId,"moveToLocation",e)}getScale(e){Hd(this.id,this.pageId,"getScale",e)}getRegion(e){Hd(this.id,this.pageId,"getRegion",e)}includePoints(e){Hd(this.id,this.pageId,"includePoints",e)}translateMarker(e){Hd(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Hd(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Hd(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Hd(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Hd(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Hd(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Hd(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Hd(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Hd(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Hd(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Hd(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Hd(this.id,this.pageId,"openMapApp",e)}on(e,t){Hd(this.id,this.pageId,"on",{name:e,callback:t})}}const Xd=vd(0,((e,t)=>new Yd(e,Ac(t||Oc()))));function Gd(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const Kd=Gd("width"),Qd=Gd("height"),Jd={formatArgs:{x:Gd("x"),y:Gd("y"),width:Kd,height:Qd}},Zd={canvasId:{type:String,required:!0},x:{type:Number,required:!0},y:{type:Number,required:!0},width:{type:Number,required:!0},height:{type:Number,required:!0}},ep=Jd,tp=(Uint8ClampedArray,{PNG:"png",JPG:"jpg",JPEG:"jpg"}),np={formatArgs:{x:Gd("x",0),y:Gd("y",0),width:Kd,height:Qd,destWidth:Gd("destWidth"),destHeight:Gd("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=tp[e];n||(n=tp.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function op(e,t,n,o,r){Kx.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}var rp=["scale","rotate","translate","setTransform","transform"],ip=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],ap=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const sp={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 lp(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(p(sp,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(sp[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class cp{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,lp(t)])}}class up{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class dp{constructor(e){this.width=e}}class pp{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,i,a,s,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],op(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new cp("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new cp("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 up(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 dp(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],a=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===o.length&&s(),o=a.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const fp=se((()=>{[...rp,...ip].forEach((function(e){pp.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,r){var i=[t.toString(),n,o];"number"==typeof r&&i.push(r),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,o,r,i,a,s,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(a=n,s=o,l=r,c=i,n=void 0,o=void 0,r=void 0,i=void 0),u=d(n)&&d(o)&&d(r)&&d(i)?[t,a,s,l,c,n,o,r,i]:d(l)&&d(c)?[t,a,s,l,c]:[t,a,s],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})),ap.forEach((function(e){pp.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",lp(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,r){r=lp(r),this.actions.push({method:e,data:[t,n,o,r]}),this.state.shadowBlur=o,this.state.shadowColor=r,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}))})),hp=vd(0,((e,t)=>{if(fp(),t)return new pp(e,Ac(t));const n=Ac(Oc());if(n)return new pp(e,n);Kx.emit("onError","createCanvasContext:fail")})),gp=yd("canvasGetImageData",(({canvasId:e,x:t,y:n,width:o,height:r},{resolve:i,reject:a})=>{const s=Ac(Oc());s?op(e,s,"getImageData",{x:t,y:n,width:o,height:r},(function(e){if(e.errMsg&&-1!==e.errMsg.indexOf("fail"))return void a("",e);let t=e.data;t&&t.length&&(e.data=new Uint8ClampedArray(t)),delete e.compressed,i(e)})):a()}),0,Jd),mp=yd("canvasPutImageData",(({canvasId:e,data:t,x:n,y:o,width:r,height:i},{resolve:a,reject:s})=>{var l=Ac(Oc());if(!l)return void s();t=Array.prototype.slice.call(t),op(e,l,"putImageData",{data:t,x:n,y:o,width:r,height:i,compressed:void 0},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?s():a(e)}))}),0,ep),vp=yd("canvasToTempFilePath",(({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,canvasId:a,fileType:s,quality:l},{resolve:c,reject:u})=>{var d=Ac(Oc());if(!d)return void u();op(a,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:l,dirname:"/canvas"},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)}))}),0,np),yp=["onCanplay","onPlay","onPause","onStop","onEnded","onTimeUpdate","onError","onWaiting","onSeeking","onSeeked"],bp=["offCanplay","offPlay","offPause","offStop","offEnded","offTimeUpdate","offError","offWaiting","offSeeking","offSeeked"],_p={thresholds:[0],initialRatio:0,observeAll:!1},wp=["top","right","bottom","left"];let xp=1;function Tp(e={}){return wp.map((t=>`${Number(e[t])||0}px`)).join(" ")}class Sp{constructor(e,t){this._pageId=Ac(e),this._component=e,this._options=c({},_p,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=Tp(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=Tp(e),this}observe(e,t){m(t)&&(this._options.selector=e,this._reqId=xp++,function({reqId:e,component:t,options:n,callback:o},r){const i=Kh(t);(i.__io||(i.__io={}))[e]=function(e,t,n){!function(){if("object"!=typeof window)return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return void("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}));function e(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}var t=function(t){for(var n=window.document,o=e(n);o;)o=e(n=o.ownerDocument);return n}(),n=[],o=null,r=null;function i(e){this.time=e.time,this.target=e.target,this.rootBounds=h(e.rootBounds),this.boundingClientRect=h(e.boundingClientRect),this.intersectionRect=h(e.intersectionRect||f()),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 a(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(){return window.performance&&performance.now&&performance.now()}function l(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}function c(e,t,n,o){"function"==typeof e.addEventListener?e.addEventListener(t,n,o):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,o){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,o):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function d(e,t){var n=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom),r=Math.max(e.left,t.left),i=Math.min(e.right,t.right),a=i-r,s=o-n;return a>=0&&s>=0&&{top:n,bottom:o,left:r,right:i,width:a,height:s}||null}function p(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):f()}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(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 g(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 m(e,t){for(var n=t;n;){if(n==e)return!0;n=v(n)}return!1}function v(n){var o=n.parentNode;return 9==n.nodeType&&n!=t?e(n):(o&&o.assignedSlot&&(o=o.assignedSlot.parentNode),o&&11==o.nodeType&&o.host?o.host:o)}function y(e){return e&&9===e.nodeType}a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return o||(o=function(e,t){r=e&&t?g(e,t):f(),n.forEach((function(e){e._checkForIntersections()}))}),o},a._resetCrossOriginUpdater=function(){o=null,r=null},a.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()}},a.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()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.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]}))},a.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},a.prototype._monitorIntersections=function(n){var o=n.defaultView;if(o&&-1==this._monitoringDocuments.indexOf(n)){var r=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=o.setInterval(r,this.POLL_INTERVAL):(c(o,"resize",r,!0),c(n,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in o&&(a=new o.MutationObserver(r)).observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(n),this._monitoringUnsubscribes.push((function(){var e=n.defaultView;e&&(i&&e.clearInterval(i),u(e,"resize",r,!0)),u(n,"scroll",r,!0),a&&a.disconnect()}));var s=this.root&&(this.root.ownerDocument||this.root)||t;if(n!=s){var l=e(n);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(n){var o=this._monitoringDocuments.indexOf(n);if(-1!=o){var r=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var o=t.element.ownerDocument;if(o==n)return!0;for(;o&&o!=r;){var i=e(o);if((o=i&&i.ownerDocument)==n)return!0}return!1}))){var i=this._monitoringUnsubscribes[o];if(this._monitoringDocuments.splice(o,1),this._monitoringUnsubscribes.splice(o,1),i(),n!=r){var a=e(n);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.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]()},a.prototype._checkForIntersections=function(){if(this.root||!o||r){var e=this._rootIsInDom(),t=e?this._getRootRect():f();this._observationTargets.forEach((function(n){var r=n.element,a=p(r),l=this._rootContainsTarget(r),c=n.entry,u=e&&l&&this._computeTargetAndRootIntersection(r,a,t),d=null;this._rootContainsTarget(r)?o&&!this.root||(d=t):d=f();var h=n.entry=new i({time:s(),target:r,boundingClientRect:a,rootBounds:d,intersectionRect:u});c?e&&l?this._hasCrossedThreshold(c,h)&&this._queuedEntries.push(h):c&&c.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(e,n,i){if("none"!=window.getComputedStyle(e).display){for(var a=n,s=v(e),l=!1;!l&&s;){var c=null,u=1==s.nodeType?window.getComputedStyle(s):{};if("none"==u.display)return null;if(s==this.root||9==s.nodeType)if(l=!0,s==this.root||s==t)o&&!this.root?!r||0==r.width&&0==r.height?(s=null,c=null,a=null):c=r:c=i;else{var f=v(s),h=f&&p(f),m=f&&this._computeTargetAndRootIntersection(f,h,i);h&&m?(s=f,c=g(h,m)):(s=null,a=null)}else{var y=s.ownerDocument;s!=y.body&&s!=y.documentElement&&"visible"!=u.overflow&&(c=p(s))}if(c&&(a=d(c,a)),!a)break;s=s&&v(s)}return a}},a.prototype._getRootRect=function(){var e;if(this.root&&!y(this.root))e=p(this.root);else{var n=y(this.root)?this.root:t,o=n.documentElement,r=n.body;e={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(e)},a.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},a.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 i=this.thresholds[r];if(i==n||i==o||i<n!=i<o)return!0}},a.prototype._rootIsInDom=function(){return!this.root||m(t,this.root)},a.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return m(n,e)&&(!this.root||n==e.ownerDocument)},a.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},a.prototype._unregisterInstance=function(){var e=n.indexOf(this);-1!=e&&n.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=i}();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,r=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:ih(e),intersectionRect:rh(e.intersectionRect),boundingClientRect:rh(e.boundingClientRect),relativeRect:rh(e.rootBounds),time:Date.now(),dataset:_e(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}(i,n,o)}({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t},n){const o=Kh(t),r=o.__io&&o.__io[e];r&&(r.disconnect(),delete o.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const Cp=vd(0,((e,t)=>((e=fe(e))&&!Ac(e)&&(t=e,e=null),new Sp(e||Oc(),t))));let kp=1;class Ep{constructor(e){this._pageId=e.$page&&e.$page.id,this._component=e}observe(e,t){m(t)&&(this._reqId=kp++,function({reqId:e,component:t,options:n,callback:o},r){const i=fg[e]=window.matchMedia(function(e){const t=[],n=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(const o of n)"orientation"!==o&&e[o]&&Number(e[o]>=0)&&t.push(`(${gg(o)}: ${Number(e[o])}px)`),"orientation"===o&&e[o]&&t.push(`(${gg(o)}: ${e[o]})`);return t.join(" and ")}(n)),a=hg[e]=e=>o(e.matches);a(i),i.addListener(a)}({reqId:this._reqId,component:this._component,options:e,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t},n){const o=hg[e],r=fg[e];r&&(r.removeListener(o),delete hg[e],delete fg[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const Ap=vd(0,(e=>((e=fe(e))&&!Ac(e)&&(e=null),new Ep(e||Oc()))));let Mp=0,Pp={};const Lp={canvas:pp,map:Yd,video:Ud,editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){!function(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(Mp++);r.callbackId=e,Pp[e]=o}Kx.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(ue(Pp[e],t),delete Pp[e])}))}(this.id,this.pageId,e,t)}}};function Op(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=Lp[n];e.context=new r(t,o),delete e.contextInfo}}class Ip{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 $p{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:i})=>{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}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){if(!e)return t.$el;return e.$el}(t,e),a=i.parentElement;if(!a)return o?null:[];const{nodeType:s}=i,l=3===s||8===s;if(o){const e=l?a.querySelector(n):pg(i,n)?i:i.querySelector(n);return e?dg(e,r):null}{let e=[];const t=(l?a:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(dg(t,r))})),!l&&pg(i,n)&&e.unshift(dg(i,r)),e}}(e,t,n,r,i))})),n(o)}(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{f(e)?e.forEach(Op):Op(e);const o=n[t];m(o)&&o.call(this,e)})),m(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=fe(e),this}select(e){return this._nodesRef=new Ip(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Ip(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Ip(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 Rp=vd(0,(e=>((e=fe(e))&&!Ac(e)&&(e=null),new $p(e||Oc())))),Dp={formatArgs:{}},Bp={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class Np{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=c({},Bp,e)}_getOption(e){const t={transition:c({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach((e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e})),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const jp=se((()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach((n=>{Np.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}}))})),qp=vd(0,(e=>(jp(),new Np(e))),0,Dp),zp=hd("onTabBarMidButtonTap",(()=>{})),Fp=hd("onWindowResize",(()=>{})),Vp=gd("offWindowResize",(()=>{})),Up=vd(0,(()=>{const e=Rv();return e&&e.$vm?e.$vm.$locale:Tl().getLocale()})),Wp=hd("onLocaleChange",(()=>{})),Hp=vd(0,(e=>{const t=Rv();if(!t)return!1;return t.$vm.$locale!==e&&(t.$vm.$locale=e,navigator.cookieEnabled&&window.localStorage&&(localStorage.UNI_LOCALE=e),Kx.invokeOnCallback("onLocaleChange",{locale:e}),!0)})),Yp=yd("setPageMeta",((e,{resolve:t})=>{t(function(e,{pageStyle:t,rootFontSize:n}){if(t){(document.querySelector("uni-page-body")||document.body).setAttribute("style",t)}n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}(Oc(),e))})),Xp=yd("getSelectedTextRange",((e,{resolve:t,reject:n})=>{Kx.invokeViewMethod("getSelectedTextRange",{},Lc(),(e=>{void 0===e.end&&void 0===e.start?n("no focused"):t(e)}))})),Gp={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};function Kp(e,t){const n=Rv();if(n&&n.$vm)return zo(e,t,n.$vm.$);Gp[e].push(t)}function Qp(e,t){const n=Rv();if(n&&n.$vm)return function(e,t,n){const o=e.$[t];f(o)&&n.__weh&&u(o,n.__weh)}(n.$vm,e,t);u(Gp[e],t)}const Jp=vd(0,(()=>Tg())),Zp=vd(0,(()=>c({},wg)));let ef,tf,nf;function of(e){try{return JSON.parse(e)}catch(t){}return e}const rf=[];function af(e,t){rf.forEach((n=>{n(e,t)})),rf.length=0}const sf=yd("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{void 0===nf&&(nf=!1,ef="",tf="uniPush is not enabled"),rf.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==ef&&af(ef,tf)}))})),lf=[],cf={formatArgs:{showToast:!0},beforeInvoke(){Ll()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Tl(),o=n("uni.setClipboardData.success");o&&uni.showToast({title:o,icon:"success",mask:!1})}},uf=(Boolean,{formatArgs:{filePath(e,t){t.filePath=Jh(e)}}}),df={formatArgs:{filePath(e,t){t.filePath=Jh(e)}}},pf=["wgs84","gcj02"],ff={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===pf.indexOf(e)?t.type=pf[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},hf=(Boolean,(e,t)=>{if(void 0===t)return`${e} should not be empty.`;if("number"!=typeof t){let e=typeof t;return e=e[0].toUpperCase()+e.substring(1),`Expected Number, got ${e} with value ${JSON.stringify(t)}.`}}),gf={formatArgs:{latitude(e,t){const n=hf("latitude",e);if(n)return n;t.latitude=e},longitude(e,t){const n=hf("longitude",e);if(n)return n;t.longitude=e},scale(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18}}},mf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=ju(e,Ru)},sourceType(e,t){t.sourceType=ju(e,Du)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},vf={formatArgs:{sourceType(e,t){t.sourceType=ju(e,Du)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},yf=(Boolean,["all","image","video"]),bf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=ju(e,Du)},type(e,t){t.type=Nu(e,yf)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||("all"!==t.type&&t.type?t.extension=["*"]:t.extension=[""])}}},_f={formatArgs:{src(e,t){t.src=Jh(e)}}},wf={formatArgs:{urls(e,t){t.urls=e.map((e=>v(e)&&e?Jh(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:v(e)&&e&&(t.current=Jh(e))}}},xf={formatArgs:{src(e,t){t.src=Jh(e)}}},Tf="json",Sf=["text","arraybuffer"],Cf=encodeURIComponent;ArrayBuffer,Boolean;const kf={formatArgs:{method(e,t){t.method=Nu((e||"").toUpperCase(),Bu)},data(e,t){t.data=e||""},url(e,t){t.method===Bu[0]&&T(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),a={};i.forEach((e=>{const t=e.split("=");a[t[0]]=t[1]}));for(const s in t)if(p(t,s)){let e=t[s];null==e?e="":T(e)&&(e=JSON.stringify(e)),a[Cf(s)]=Cf(e)}return r=Object.keys(a).map((e=>`${e}=${a[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==Bu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Tf).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Sf.indexOf(t.responseType)&&(t.responseType="text")}}},Ef={formatArgs:{header(e,t){t.header=e||{}}}},Af={formatArgs:{filePath(e,t){e&&(t.filePath=Jh(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},Mf={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=Nu((e||"").toUpperCase(),Bu)},protocols(e,t){v(e)&&(t.protocols=[e])}}},Pf=["wgs84","gcj02"],Lf={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===Pf.indexOf(e)?t.type=Pf[1]:t.type=e}}};const Of={url:{type:String,required:!0}},If=(Nf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Nf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),zf("navigateTo")),$f=zf("redirectTo"),Rf=zf("reLaunch"),Df=zf("switchTab"),Bf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Rh().length-1,e)}}};function Nf(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 jf;function qf(){jf=""}function zf(e){return{formatArgs:{url:Ff(e)},beforeAll:qf}}function Ff(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=Rh();return n.length&&(t=bc(n[n.length-1]).route),zc(t,e)}(t)).split("?")[0],r=Fc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(jf===t&&"appLaunch"!==n.openType)return`${jf} locked`;__uniConfig.ready&&(jf=t)}else if(r.meta.isTabBar){const e=Rh(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const Vf={formatArgs:{animation(e,t){e||(e={duration:0,timingFunc:"linear"}),t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},Uf={formatArgs:{duration:300}},Wf={formatArgs:{itemColor:"#000"}},Hf=(Boolean,{formatArgs:{title:"",mask:!1}}),Yf=(Boolean,{beforeInvoke(){Ml()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!p(t,"cancelText")){const{t:e}=Tl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!p(t,"confirmText")){const{t:e}=Tl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Xf=["success","loading","none","error"],Gf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=Nu(e,Xf)},image(e,t){t.image=e?Jh(e):""},duration:1500,mask:!1}}),Kf={beforeInvoke(){const e=Pc();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}},Qf={beforeInvoke:Kf.beforeInvoke,formatArgs:c({pagePath(e,t){e&&(t.pagePath=ie(e))}},Kf.formatArgs)},Jf=/^(linear|radial)-gradient\(.+?\);?$/,Zf={beforeInvoke:Kf.beforeInvoke,formatArgs:{backgroundImage(e,t){e&&!Jf.test(e)&&(t.backgroundImage=Jh(e))},borderStyle(e,t){e&&(t.borderStyle="white"===e?"white":"black")}}},eh=Kf,th=Kf,nh=Kf,oh={beforeInvoke:Kf.beforeInvoke,formatArgs:c({text(e,t){(function(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length})(e)>=4&&(t.text="...")}},Kf.formatArgs)};function rh(e){const{bottom:t,height:n,left:o,right:r,top:i,width:a}=e||{};return{bottom:t,height:n,left:o,right:r,top:i,width:a}}function ih(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:r,width:i}}=e;return 0!==t?t:r===n?i/o:r/n}function ah(){const e=Oc();if(!e)return;const t=$h(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Bh(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Dc(e,"onHide"))}function sh(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function lh(e){const t=$h().values();for(const n of t){const t=Ah(n);if(sh(e,t))return n.$.__isActive=!0,t.id}}const ch=yd("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Mh.handledBeforeEntryPageRoutes)return ah(),hh({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},lh(e)).then(o).catch(r);Lh.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Df);function uh(){const e=Mc();if(!e)return;const t=Ah(e);Bh(zh(t.path,t.id))}const dh=yd("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Mh.handledBeforeEntryPageRoutes)return uh(),hh({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Oh.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,$f);function ph(){const e=$h().keys();for(const t of e)Bh(t)}const fh=yd("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Mh.handledBeforeEntryPageRoutes)return ph(),hh({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);Ih.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Rf);function hh({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const a=Rv().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Ee(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++Nh,__type__:e}}(e,i);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then((i=>{if(ks(i))return c(i.message);if("switchTab"===e&&(a.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=a.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Me(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function gh(){if(Mh.handledBeforeEntryPageRoutes)return;Mh.handledBeforeEntryPageRoutes=!0;const e=[...Ph];Ph.length=0,e.forEach((({args:e,resolve:t,reject:n})=>hh(e).then(t).catch(n)));const t=[...Lh];Lh.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(ah(),hh(e,lh(e.url)).then(t).catch(n))));const n=[...Oh];Oh.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(uh(),hh(e).then(t).catch(n))));const o=[...Ih];Ih.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(ph(),hh(e).then(t).catch(n))))}let mh;function vh(){var e;return mh||(mh=__uniConfig.tabBar&&Yt((e=__uniConfig.tabBar,yl()&&e.list&&e.list.forEach((e=>{xl(e,["text"])})),e))),mh}function yh(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const bh=yh("--a:0"),_h=yh("top:env(a)"),wh=yh("top:constant(a)"),xh=yh("backdrop-filter:blur(10px)"),Th={"css.var":bh,"css.env":_h,"css.constant":wh,"css.backdrop-filter":xh},Sh=vd(0,(e=>!p(Th,e)||Th[e])),Ch=(()=>_h?"env":wh?"constant":"")();function kh(e){return Ch?`calc(${e}px + ${Ch}(safe-area-inset-bottom))`:`${e}px`}const Eh=new Map;function Ah(e){return e.$page}const Mh={handledBeforeEntryPageRoutes:!1},Ph=[],Lh=[],Oh=[],Ih=[];function $h(){return Eh}function Rh(){return Dh()}function Dh(){const e=[],t=Eh.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Bh(e,t=!0){const n=Eh.get(e);n.$.__isUnload=!0,Dc(n,"onUnload"),Eh.delete(e),t&&function(e){const t=Fh.get(e);t&&(Fh.delete(e),Vh.pruneCacheEntry(t))}(e)}let Nh=Ou();function jh(e){const t=Mu();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:a,route:s}=o,l=je(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:a,path:re(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function qh(e){const t=jh(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),Eh.set(zh(t.path,t.id),e),1===Eh.size&&setTimeout((()=>{gh()}),0)}function zh(e,t){return e+"$$"+t}const Fh=new Map,Vh={get:e=>Fh.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Vh.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;Vh.delete(n),Vh.pruneCacheEntry(e),Pn((()=>{Eh.forEach(((e,t)=>{e.$.isUnmounted&&Eh.delete(t)}))}))}}))}(e),Fh.set(e,t)},delete(e){Fh.get(e)&&Fh.delete(e)},forEach(e){Fh.forEach(e)}};function Uh(e,t){!function(e){const t=Hh(e),{body:n}=document;Yh&&n.removeAttribute(Yh),t&&n.setAttribute(t,""),Yh=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=vh();e.shown&&(n=parseInt(e.height))}var o;gc({"--window-top":(o=t,Ch?`calc(${o}px + ${Ch}(safe-area-inset-top))`:`${o}px`),"--window-bottom":kh(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),Gh(e,t)}function Wh(e){const t=Hh(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Hh(e){return e.type.__scopeId}let Yh,Xh;function Gh(e,t){if(document.removeEventListener("touchmove",Bc),Xh&&document.removeEventListener("scroll",Xh),t.disableScroll)return document.addEventListener("touchmove",Bc);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},a=Ah(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Xx.publishHandler("onPageScroll",{scrollTop:o},e),n&&Xx.emit(e+".onPageScroll",{scrollTop:o})}}(a,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>Xx.publishHandler("onReachBottom",{},a)),Xh=qc(i),requestAnimationFrame((()=>document.addEventListener("scroll",Xh)))}function Kh(e){return e.$el}function Qh(e){const{base:t}=__uniConfig.router;return 0===re(e).indexOf(t)?re(e):t+e}function Jh(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 Qh(e.slice(1));e="https:"+e}if(te.test(e)||ne.test(e)||0===e.indexOf("blob:"))return e;const o=Dh();return o.length?Qh(zc(Ah(o[o.length-1]).route,e).slice(1)):e}const Zh=navigator.userAgent,eg=/android/i.test(Zh),tg=/iphone|ipad|ipod/i.test(Zh),ng=Zh.match(/Windows NT ([\d|\d.\d]*)/i),og=/Macintosh|Mac/i.test(Zh),rg=/Linux|X11/i.test(Zh),ig=og&&navigator.maxTouchPoints>0;function ag(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function sg(e){return e&&90===Math.abs(window.orientation)}function lg(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function cg(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function ug(e,t,n,o){Kx.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function dg(e,t){const n={},{top:o,topWindowHeight:r}=fc();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=_e(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(f(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(f(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 pg(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)}let fg={},hg={};function gg(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}const mg={};function vg(e,t){const n=mg[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const a=new Uint8Array(i);for(;i--;)a[i]=r.charCodeAt(i);return yg(a,o)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function yg(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 bg(e){for(const n in mg)if(p(mg,n)){if(mg[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return mg[t]=e,t}function _g(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete mg[e]}const wg=du(),xg=du();function Tg(){return c({},xg)}const Sg=gu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=un(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=Yt({width:-1,height:-1});return io((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){Io(o),Uo((()=>{t.initial&&Pn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>li("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[li("div",{onScroll:r},[li("div",null,null)],40,["onScroll"]),li("div",{onScroll:r},[li("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Cg(){}const kg={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 Eg(e,t,n){function o(e){const t=Li((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Cg,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Cg,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}io((()=>t.value),(e=>e&&o(e)))}var Ag=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Mg=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Pg=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Lg=Bg("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Og=Bg("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"),Ig=Bg("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"),$g=Bg("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Rg=Bg("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Dg=Bg("script,style");function Bg(e){for(var t={},n=e.split(","),o=0;o<n.length;o++)t[n[o]]=!0;return t}const Ng={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},jg={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},qg={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"]},zg=gu({name:"Image",props:Ng,setup(e,{emit:t}){const n=un(null),o=function(e,t){const n=un(""),o=Li((()=>{let e="auto",o="";const r=qg[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=Yt({rootEl:e,src:Li((()=>t.src?Jh(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Uo((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=yu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=jg[o];if(!r)return;const{origWidth:i,origHeight:a}=n,s=i&&a?i/a:0;if(!s)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){Fg&&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 io((()=>t.mode),((e,t)=>{jg[t]&&r(),jg[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;s(u,d,l),Pn((()=>{o()})),i.draggable=t.draggable,a&&a.remove(),a=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{s(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};io((()=>e.src),(e=>l(e))),io((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),Uo((()=>l(e.src))),Yo((()=>c()))}(o,e,n,i,r),()=>li("uni-image",{ref:n},[li("div",{style:o.modeStyle},null,4),jg[e.mode]?li(Sg,{onResize:i},null,8,["onResize"]):li("span",null,null)],512)}});const Fg="Google Inc."===navigator.vendor;const Vg=xe(!0),Ug=[];let Wg=0,Hg=!1;const Yg=e=>Ug.forEach((t=>t.userAction=e));function Xg(e={userAction:!1}){if(!Hg){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Wg&&Yg(!0),Wg++,setTimeout((()=>{!--Wg&&Yg(!1)}),0)}),Vg)})),Hg=!0}Ug.push(e)}const Gg=()=>!!Wg;function Kg(){const e=Yt({userAction:!1});return Uo((()=>{Xg(e)})),Yo((()=>{!function(e){const t=Ug.indexOf(e);t>=0&&Ug.splice(t,1)}(e)})),{state:e}}function Qg(){const e=Yt({attrs:{}});return Uo((()=>{let t=_i();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function Jg(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 Zg(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const em=["none","text","decimal","numeric","tel","search","email","url"],tm=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=>!!~em.indexOf(e)},cursorColor:{type:String,default:""}},kg),nm=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function om(e,t,n,o){let r=null;r=Ae((n=>{t.value=Zg(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),io((()=>e.modelValue),r),io((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const a=Date.now();clearTimeout(n),o=()=>{o=null,r=a,e.apply(this,i)},a-r<t?n=setTimeout(o,t-(a-r)):o()};return i.cancel=function(){clearTimeout(n),o=null},i.flush=function(){clearTimeout(n),o&&o()},i}(((e,t)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Vo((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function rm(e,t){Kg();const n=Li((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}io((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Uo((()=>{n.value&&Pn(o)}))}function im(e,t,n,o){ql(Lc(),"getSelectedTextRange",Jg);const{fieldRef:r,state:i,trigger:a}=function(e,t,n){const o=un(null),r=yu(t,n),i=Li((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=Li((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=Li((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Li((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=Zg(e.modelValue,e.type)||Zg(e.value,e.type);const u=Yt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return io((()=>u.focus),(e=>n("update:focus",e))),io((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:s}=om(e,i,n,a);rm(e,r),Eg(0,r);const{state:l}=Qg();!function(e,t){const n=Sr(xu,!1);if(!n)return;const o=_i(),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),Yo((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function a(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}io([()=>t.selectionStart,()=>t.selectionEnd],a),io((()=>t.cursor),s),io((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),a(),s()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,i,e,a,s,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const am=c({},tm,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),sm=se((()=>{{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 lm(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&&sm()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const cm=gu({name:"Input",props:am,emits:["confirm",...nm],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Li((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),a=Li((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(P(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=un(null!=t?t.toLocaleString():"");return io((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),io((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return un("")}(e,i),l={fn:null};const c=un(null),{fieldRef:u,state:d,scopedAttrsState:p,fixDisabledColor:f,trigger:h}=im(e,c,t,((t,n)=>{const o=t.target;if("number"===i.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=lm(t,s,n,o,l);return"boolean"==typeof e?e:(s.value=n.value=o.value="-"===s.value?"":s.value,!1)}{const e=lm(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}}}));io((()=>d.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t.toString())}));const g=["number","digit"],m=Li((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&f?li("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):li("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:a.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return li("uni-input",{ref:c},[li("div",{class:"uni-input-wrapper"},[uo(li("div",gi(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Zi,!(d.value.length||"-"===s.value||s.value.includes("."))]]),"search"===e.confirmType?li("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const um=["class","style"],dm=/^on[A-Z]+/,pm=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=_i(),r=dn({}),i=dn({}),a=dn({}),s=n.concat(um);return o.attrs=Yt(o.attrs),oo((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:dm.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,a.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:a}};function fm(e){const t=[];return f(e)&&e.forEach((e=>{ni(e)?e.type===Ur?t.push(...fm(e.children)):t.push(e):f(e)&&t.push(...fm(e))})),t}const hm=gu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=un(null),o=un(!1);let{setContexts:r,events:i}=function(e,t){const n=un(0),o=un(0),r=Yt({x:null,y:null}),i=un(null);let a=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach((function(e){e._setScale(t)})):a&&a._setScale(t))}function c(e,n=s){let o=t.value;function r(e){for(let t=0;t<n.length;t++){const o=n[t];if(e===o.rootRef.value)return o}return e===o||e===document.body||e===document?null:r(e.parentNode)}return r(e)}const u=vu((t=>{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(i.value=gm(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}})),d=vu((e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==r.x&&i.value&&i.value>0){l(gm(n)/i.value)}r.x=n.x,r.y=n.y}})),p=vu((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):a&&a._endScale())}));function f(){h(),s.forEach((function(e,t){e.setParent()}))}function h(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=r.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}return Tr("movableAreaWidth",n),Tr("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:p,_resize:f}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=pm(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),Uo((()=>{i._resize(),o.value=!0}));let u=[];const d=[];function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find((e=>n===e.rootRef.value));o&&e.push(nn(o))}r(e)}return Tr("_isMounted",o),Tr("movableAreaRootRef",n),Tr("addMovableViewContext",(e=>{d.push(e),p()})),Tr("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())})),()=>{const e=t.default&&t.default();return u=fm(e),li("uni-movable-area",gi({ref:n},s.value,l.value,c),[li(Sg,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function gm(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const mm=function(e,t,n,o){e.addEventListener(t,(e=>{m(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let vm,ym;function bm(e,t,n){Yo((()=>{document.removeEventListener("mousemove",vm),document.removeEventListener("mouseup",ym)}));let o=0,r=0,i=0,a=0;const s=function(e,n,s,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:l,dx:s-o,dy:l-r,ddx:s-i,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;mm(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=a=e.touches[0].pageY,s(e,"start",o,r)})),mm(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=a=e.pageY,s(e,"start",o,r)})),mm(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,a=e.touches[0].pageY,t}}));const d=vm=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return i=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),mm(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const p=ym=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",p),mm(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 _m(e,t,n){return e>t-n&&e<t+n}function wm(e,t){return _m(e,0,t)}function xm(){}function Tm(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Sm(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Cm(e,t,n){this._springX=new Sm(e,t,n),this._springY=new Sm(e,t,n),this._springScale=new Sm(e,t,n),this._startTime=0}xm.prototype.x=function(e){return Math.sqrt(e)},Tm.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()},Tm.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Tm.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}},Tm.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}},Tm.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}},Tm.prototype.dt=function(){return-this._x_v/this._x_a},Tm.prototype.done=function(){const e=_m(this.s().x,this._endPositionX)||_m(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Tm.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Tm.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Sm.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,a=t/(r*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+a*e)*t+a*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}},Sm.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Sm.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Sm.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!wm(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(wm(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),wm(t,.1)&&(t=0),wm(o,.1)&&(o=0),o+=this._endPosition),this._solution&&wm(o-e,.1)&&wm(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Sm.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Sm.prototype.done=function(e){return e||(e=(new Date).getTime()),_m(this.x(),this._endPosition,.1)&&wm(this.dx(),.1)},Sm.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())},Sm.prototype.springConstant=function(){return this._k},Sm.prototype.damping=function(){return this._c},Sm.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}]},Cm.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},Cm.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)}},Cm.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Cm.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 km(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Em=gu({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=un(null),r=yu(o,n),{setParent:i}=function(e,t,n){const o=Sr("_isMounted",un(!1)),r=Sr("addMovableViewContext",(()=>{})),i=Sr("removeMovableViewContext",(()=>{}));let a,s,l=un(1),c=un(1),u=un(!1),d=un(0),p=un(0),f=null,h=null,g=!1,m=null,v=null;const y=new xm,b=new xm,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Li((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new Tm(1,w.value);io((()=>e.disabled),(()=>{W()}));const{_updateOldScale:T,_endScale:S,_setScale:C,scaleValueSync:k,_updateBoundary:E,_updateOffset:A,_updateWH:M,_scaleOffset:P,minX:L,minY:O,maxX:I,maxY:$,FAandSFACancel:R,_getLimitXY:D,_setTransform:B,_revise:N,dampingNumber:j,xMove:q,yMove:z,xSync:F,ySync:V,_STD:U}=function(e,t,n,o,r,i,a,s,l,c){const u=Li((()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t})),d=Li((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),p=un(Number(e.scaleValue)||1);io(p,(e=>{B(e)})),io(u,(()=>{D()})),io(d,(()=>{D()})),io((()=>e.scaleValue),(e=>{p.value=Number(e)||0}));const{_updateBoundary:f,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=Sr("movableAreaWidth",un(0)),r=Sr("movableAreaHeight",un(0)),i=Sr("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=un(0),c=un(0),u=un(0),d=un(0),p=un(0),f=un(0);function h(){let e=0-a.x+s.x,t=o.value-l.value-a.x-s.x;u.value=Math.min(e,t),p.value=Math.max(e,t);let n=0-a.y+s.y,i=r.value-c.value-a.y-s.y;d.value=Math.min(n,i),f.value=Math.max(n,i)}function g(){a.x=Pm(e.value,i.value),a.y=Lm(e.value,i.value)}function m(o){o=o||t.value,o=n(o);let r=e.value.getBoundingClientRect();c.value=r.height/t.value,l.value=r.width/t.value;let i=c.value*o,a=l.value*o;s.x=(a-l.value)/2,s.y=(i-c.value)/2}return{_updateBoundary:h,_updateOffset:g,_updateWH:m,_scaleOffset:s,minX:u,minY:d,maxX:p,maxY:f}}(t,o,R),{FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:C,dampingNumber:k,xMove:E,yMove:A,xSync:M,ySync:P,_STD:L}=function(e,t,n,o,r,i,a,s,l,c,u,d,p,f){const h=Li((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=Li((()=>"all"===t.direction||"horizontal"===t.direction)),m=Li((()=>"all"===t.direction||"vertical"===t.direction)),v=un(Im(t.x)),y=un(Im(t.y));io((()=>t.x),(e=>{v.value=Im(e)})),io((()=>t.y),(e=>{y.value=Im(e)})),io(v,(e=>{C(e)})),io(y,(e=>{k(e)}));const b=new Cm(1,9*Math.pow(h.value,2)/40,h.value);function _(e,t){let n=!1;return e>r.value?(e=r.value,n=!0):e<a.value&&(e=a.value,n=!0),t>i.value?(t=i.value,n=!0):t<s.value&&(t=s.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function x(e,n,r,i,a,s){w(),g.value||(e=l.value),m.value||(n=c.value),t.scale||(r=o.value);let d=_(e,n);e=d.x,n=d.y,t.animation?(b._springX._solution=null,b._springY._solution=null,b._springScale._solution=null,b._springX._endPosition=l.value,b._springY._endPosition=c.value,b._springScale._endPosition=o.value,b.setEnd(e,n,r,1),u=Om(b,(function(){let e=b.x();T(e.x,e.y,e.scale,i,a,s)}),(function(){u.cancel()}))):T(e,n,r,i,a,s)}function T(r,i,a,s="",u,d){null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=l.value||0),null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=c.value||0),r=Number(r.toFixed(1)),i=Number(i.toFixed(1)),a=Number(a.toFixed(1)),l.value===r&&c.value===i||u||f("change",{},{x:km(r,n.x),y:km(i,n.y),source:s}),t.scale||(a=o.value),a=+(a=p(a)).toFixed(3),d&&a!==o.value&&f("scale",{},{x:r,y:i,scale:a});let h="translateX("+r+"px) translateY("+i+"px) translateZ(0px) scale("+a+")";e.value&&(e.value.style.transform=h,e.value.style.webkitTransform=h,l.value=r,c.value=i,o.value=a)}function S(e){let t=_(l.value,c.value),n=t.x,r=t.y,i=t.outOfBounds;return i&&x(n,r,o.value,e),i}function C(e){if(g.value){if(e+n.x===l.value)return l;u&&u.cancel(),x(e+n.x,y.value+n.y,o.value)}return e}function k(e){if(m.value){if(e+n.y===c.value)return c;u&&u.cancel(),x(v.value+n.x,e+n.y,o.value)}return e}return{FAandSFACancel:w,_getLimitXY:_,_animationTo:x,_setTransform:T,_revise:S,dampingNumber:h,xMove:g,yMove:m,xSync:v,ySync:y,_STD:b}}(t,e,m,o,b,_,v,y,a,s,l,c,R,n);function O(t,n){if(e.scale){t=R(t),g(t),f();const e=x(a.value,s.value),o=e.x,r=e.y;n?T(o,r,t,"",!0,!0):Mm((function(){S(o,r,t,"",!0,!0)}))}}function I(){i.value=!0}function $(e){r.value=e}function R(e){return e=Math.max(.1,u.value,e),e=Math.min(10,d.value,e)}function D(){if(!e.scale)return!1;O(o.value,!0),$(o.value)}function B(t){return!!e.scale&&(O(t=R(t),!0),$(t),t)}function N(){i.value=!1,$(o.value)}function j(e){e&&(e=r.value*e,I(),O(e))}return{_updateOldScale:$,_endScale:N,_setScale:j,scaleValueSync:p,_updateBoundary:f,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_,FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:C,dampingNumber:k,xMove:E,yMove:A,xSync:M,ySync:P,_STD:L}}(e,n,t,l,c,u,d,p,f,h);function W(){u.value||e.disabled||(R(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],q.value&&(a=d.value),z.value&&(s=p.value),n.value.style.willChange="transform",m=null,v=null,g=!0)}function H(t){if(!u.value&&!e.disabled&&g){let n=d.value,o=p.value;if(null===v&&(v=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),q.value&&(n=t.detail.dx+a,_.historyX.shift(),_.historyX.push(n),z.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),z.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),q.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!m){t.preventDefault();let r="touch";n<L.value?e.outOfBounds?(r="touch-out-of-bounds",n=L.value-y.x(L.value-n)):n=L.value:n>I.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=I.value+y.x(n-I.value)):n=I.value),o<O.value?e.outOfBounds?(r="touch-out-of-bounds",o=O.value-b.x(O.value-o)):o=O.value:o>$.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=$.value+b.x(o-$.value)):o=$.value),Mm((function(){B(n,o,l.value,r)}))}}}function Y(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!N("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=p.value;x.setV(e,t),x.setS(n,o);const r=x.delta().x,i=x.delta().y;let a=r+n,s=i+o;a<L.value?(a=L.value,s=o+(L.value-n)*i/r):a>I.value&&(a=I.value,s=o+(I.value-n)*i/r),s<O.value?(s=O.value,a=n+(O.value-o)*r/i):s>$.value&&(s=$.value,a=n+($.value-o)*r/i),x.setEnd(a,s),h=Om(x,(function(){let e=x.s(),t=e.x,n=e.y;B(t,n,l.value,"friction")}),(function(){h.cancel()}))}e.outOfBounds||e.inertia||R()}function X(){if(!o.value)return;R();let t=e.scale?k.value:1;A(),M(t),E();let n=D(F.value+P.x,V.value+P.y),r=n.x,i=n.y;B(r,i,t,"",!0),T(t)}return Uo((()=>{bm(n.value,(e=>{switch(e.detail.state){case"start":W();break;case"move":H(e);break;case"end":Y()}})),X(),x.reconfigure(1,w.value),U.reconfigure(1,9*Math.pow(j.value,2)/40,j.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:X,_endScale:S,_setScale:C};r(e),Xo((()=>{i(e)}))})),Xo((()=>{R()})),{setParent:X}}(e,r,o);return()=>li("uni-movable-view",{ref:o},[li(Sg,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Am=!1;function Mm(e){Am||(Am=!0,requestAnimationFrame((function(){e(),Am=!1})))}function Pm(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Pm(e.offsetParent,t):0}function Lm(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Lm(e.offsetParent,t):0}function Om(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function Im(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}const $m=gu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return f(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=un(null),r=un(null),i=yu(o,n),a=function(e){const t=Yt([...e.value]),n=Yt({value:t,height:34});return io((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}(e),s=un(null);Uo((()=>{const e=s.value;e&&(a.height=e.$el.offsetHeight)}));let l=un([]),c=un([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Hr));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Tr("getPickerViewColumn",(function(e){return Li({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(a.value[o]!==t){a.value[o]=t;const e=a.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),Tr("pickerViewProps",e),Tr("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=fm(e);l.value=t,Pn((()=>{c.value=t}))}return li("uni-picker-view",{ref:o},[li(Sg,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),li("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Rm{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 Dm(e,t,n){return e>t-n&&e<t+n}function Bm(e,t){return Dm(e,0,t)}class Nm{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,a=t/(r*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+a*e)*t+a*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}}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||!Bm(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Bm(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Bm(t,.4)&&(t=0),Bm(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Bm(o-e,.4)&&Bm(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()),Dm(this.x(),this._endPosition,.4)&&Bm(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 jm{constructor(e,t,n){this._extent=e,this._friction=t||new Rm(.01),this._spring=n||new Nm(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 qm{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 jm(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 i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)}),(()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),m(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),m(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(m(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(),m(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 zm(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new qm(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}const Fm=gu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=un(null),r=un(null),i=Sr("getPickerViewColumn"),a=_i(),s=i?i(a):un(0),l=Sr("pickerViewProps"),c=Sr("pickerViewState"),u=un(34),d=un(null);Uo((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const p=Li((()=>(c.height-u.value)/2)),{state:f}=Qg();let h;const g=Yt({current:s.value,length:0});let m;function v(){h&&!m&&(m=!0,Pn((()=>{m=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),h.update(e*u.value,void 0,u.value)})))}io((()=>s.value),(e=>{e!==g.current&&(g.current=e,v())})),io((()=>g.current),(e=>s.value=e)),io([()=>u.value,()=>g.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(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),h.scrollTo(e*u.value)}else y=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!h.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(g.current+t,g.length-1);g.current=r=Math.max(r,0),h.scrollTo(r*u.value)}}}return Uo((()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:a,handleTouchEnd:s}=zm(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Rm(1e-4),spring:new Nm(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});h=n,bm(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":a(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();g.length=fm(e).length;const n=`${p.value}px 0`;return li("uni-picker-view-column",{ref:o},[li("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[li("div",gi(f.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${p.value}px;${l.maskStyle}`}),null,16),li("div",gi(f.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[li(Sg,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),li("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)}}}),Vm={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:""},Um={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const Wm=(e,t,n)=>!n||f(n)&&!n.length?[]:n.map((n=>{var o;if(T(n)){if(!p(n,"type")||"node"===n.type){let r={[e]:""};const i=null==(o=n.name)?void 0:o.toLowerCase();if(!p(Vm,i))return;return function(e,t){if(T(t))for(const n in t)if(p(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=Jh(o))}}(i,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),Oi(n.name,r,Wm(e,t,n.children))}return"text"===n.type&&v(n.text)&&""!==n.text?ui((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return p(Um,t)&&Um[t]?Um[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 Hm(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(e);const t=[],n={node:"root",children:[]};return function(e,t){var n,o,r,i=[],a=e;for(i.last=function(){return this[this.length-1]};e;){if(o=!0,i.last()&&Dg[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+i.last()+"[^>]*>"),(function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""})),c("",i.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(Mg))&&(e=e.substring(r[0].length),r[0].replace(Mg,c),o=!1):0==e.indexOf("<")&&(r=e.match(Ag))&&(e=e.substring(r[0].length),r[0].replace(Ag,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==a)throw"Parse Error: "+e;a=e}function l(e,n,o,r){if(n=n.toLowerCase(),Og[n])for(;i.last()&&Ig[i.last()];)c("",i.last());if($g[n]&&i.last()==n&&c("",n),(r=Lg[n]||!!r)||i.push(n),t.start){var a=[];o.replace(Pg,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Rg[t]?t:"";a.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,a,r)}}function c(e,n){if(n)for(o=i.length-1;o>=0&&i[o]!=n;o--);else var o=0;if(o>=0){for(var r=i.length-1;r>=o;r--)t.end&&t.end(i[r]);i.length=o}}c()}(e,{start:function(e,o,r){const i={name:e};if(0!==o.length&&(i.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(i)}else t.unshift(i)},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 Ym=gu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=_i(),o=n&&n.vnode.scopeId||"",r=un(null),i=un([]),a=yu(r,t);function s(e,t={}){a("itemclick",e,t)}return io((()=>e.nodes),(function(){let t=e.nodes;v(t)&&(t=Hm(e.nodes)),i.value=Wm(o,s,t)}),{immediate:!0}),()=>Oi("uni-rich-text",{ref:r},Oi("div",{},i.value))}}),Xm=gu({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=un(null),o=Li((()=>{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=Li((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:a,refresherThreshold:s}=e;return li("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==a?li("div",{class:"uni-scroll-view-refresh"},[li("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?li("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"},[li("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),li("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?li("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[li("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===a?li("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),Gm=xe(!0),Km=gu({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=un(null),i=un(null),a=un(null),s=un(null),l=yu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Li((()=>Number(e.scrollTop)||0)),n=Li((()=>Number(e.scrollLeft)||0));return{state:Yt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:p,realScrollY:f,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,r,i,a,s,l){let c=!1,u=0,d=!1,p=()=>{};const f=Li((()=>e.scrollX)),h=Li((()=>e.scrollY)),g=Li((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=Li((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=a.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=s.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",p),i.removeEventListener("webkitTransitionEnd",p),p=()=>x(e,t),i.addEventListener("transitionend",p),i.addEventListener("webkitTransitionEnd",p),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),f.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):a.value.scrollTop=t)}function _(t){f.value&&(e.scrollWithAnimation?v(t,"x"):a.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(f.value){let n=o.left-t.left,r=a.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):a.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=a.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):a.value.scrollTop=r}}}}function x(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=a.value;"x"===t?(n.style.overflowX=f.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}function T(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:C.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:C.y-S.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:C.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},C={x:0,y:e.refresherThreshold};return Uo((()=>{Pn((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},s=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=a.value;if(Math.abs(o-S.x)>Math.abs(i-S.y))if(f.value){if(0===l.scrollLeft&&o>S.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<S.x)return void(s=!1);s=!0}else s=!1;else if(h.value)if(0===l.scrollTop&&i>S.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i<S.y)return void(s=!1);s=!0}else s=!1;if(s&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&T("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-S.y;0===u&&(u=i),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=i-u,t.refresherHeight>0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},p=function(e){1===e.touches.length&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?T("refreshing"):T("refresherabort"),S={x:0,y:0},C={x:0,y:e.refresherThreshold}};a.value.addEventListener("touchstart",p,Gm),a.value.addEventListener("touchmove",l,xe(!1)),a.value.addEventListener("scroll",i,xe(!1)),a.value.addEventListener("touchend",g,Gm),Yo((()=>{a.value.removeEventListener("touchstart",p),a.value.removeEventListener("touchmove",l),a.value.removeEventListener("scroll",i),a.value.removeEventListener("touchend",g)}))})),Io((()=>{h.value&&(a.value.scrollTop=t.lastScrollTop),f.value&&(a.value.scrollLeft=t.lastScrollLeft)})),io(n,(e=>{b(e)})),io(o,(e=>{_(e)})),io((()=>e.scrollIntoView),(e=>{w(e)})),io((()=>e.refresherTriggered),(e=>{!0===e?T("refreshing"):!1===e&&T("restore")})),{realScrollX:f,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,s,t),m=Li((()=>{let e="";return p.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",f.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=Li((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:p}=c;return li("uni-scroll-view",{ref:r},[li("div",{ref:a,class:"uni-scroll-view"},[li("div",{ref:i,style:m.value,class:v.value},[t?li(Xm,{refreshState:p,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,li("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function Qm(e,t,n,o,r,i){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,p=1,f=null,h=!1,g=0,m="";const v=Li((()=>n.value.length>t.displayMultipleItems)),y=Li((()=>e.circular&&v.value));function b(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,i=r.length,a=o+t.displayMultipleItems,s=0;s<i;s++){const t=r[s],n=Math.floor(o/i)*i+s,l=n+i,c=n-i,u=Math.max(o-(n+1),n-a,0),d=Math.max(o-(l+1),l-a,0),p=Math.max(o-(c+1),c-a,0),f=Math.min(u,d,p),h=[n,l,c][[u,d,p].indexOf(f)];t.updatePosition(h,e.vertical)}}(r);const a="translate("+(e.vertical?"0":100*-r*p+"%")+", "+(e.vertical?100*-r*p+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=a,l.style.transform=a),d=r,!s){if(r%1==0)return;s=r}r-=Math.floor(s);const c=n.value;r<=-(c.length-1)?r+=c.length:r>=c.length&&(r-=c.length),r=s%1>.5||s<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){f=null}function x(){if(!f)return void(h=!1);const e=f,o=e.toPos,r=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){b(o),f=null,h=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function T(e,o,r){w();const i=t.duration,a=n.value.length;let s=d;if(y.value)if(r<0){for(;s<e;)s+=a;for(;s-a>e;)s-=a}else if(r>0){for(;s>e;)s-=a;for(;s+a<e;)s+=a;s+a-e<e-s&&(s+=a)}else{for(;s+a<e;)s+=a;for(;s-a>e;)s-=a;s+a-e<e-s&&(s+=a)}else"click"===o&&(e=e+t.displayMultipleItems-1<a?e:0);f={toPos:e,acc:2*(s-e)/(i*i),endTime:Date.now()+i,source:o},h||(h=!0,l=requestAnimationFrame(x))}function S(){a();const e=n.value,o=function(){c=null,m="autoplay",y.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,T(t.current,"autoplay",y.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function C(e){e?S():a()}return io([()=>e.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;t<r.length;t++){if(r[t].getItemId()===e.currentItemId){o=t;break}}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(m="",t.current=o)})),io([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),f&&(b(f.toPos),f=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);p=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();p=e.width/t.width,p>0&&p<1||(p=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(s+l-g),g=l):(b(l),e.autoplay&&S())):(u=!0,b(-t.displayMultipleItems-1))})),io((()=>t.interval),(()=>{c&&(a(),S())})),io((()=>t.current),((e,o)=>{!function(e,o){const r=m;m="";const a=n.value;if(!r){const t=a.length;T(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)})),io((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),io((()=>e.autoplay&&!t.userTracking),C),C(e.autoplay&&!t.userTracking),Uo((()=>{let r=!1,i=0,s=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?b(g):(m="touch",t.current=r,T(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}bm(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,a(),g=d,i=0,s=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&S())}return function(r){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),b(n)}const d=s-a||1,p=o.value;e.vertical?u(-r.dy/p.offsetHeight,-r.ddy/d):u(-r.dx/p.offsetWidth,-r.ddx/d)}(c.detail),!1}}}))})),Xo((()=>{a(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){T(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Jm=gu({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=un(null),r=yu(o,n),i=un(null),a=un(null),s=function(e){return Yt({interval:Li((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Li((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Li((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Li((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:yc(e.previousMargin,!0),bottom:yc(e.nextMargin,!0)}:{top:0,bottom:0,left:yc(e.previousMargin,!0),right:yc(e.nextMargin,!0)}),t})),c=Li((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],p=un([]);function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find((e=>n===e.rootRef.value));o&&e.push(nn(o))}p.value=e}Tr("addSwiperContext",(function(e){d.push(e),f()}));Tr("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}));const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=Qm(e,s,p,a,n,r);let v=()=>null;return v=Zm(o,e,s,h,p,g,m),()=>{const n=t.default&&t.default();return u=fm(n),li("uni-swiper",{ref:o},[li("div",{ref:i,class:"uni-swiper-wrapper"},[li("div",{class:"uni-swiper-slides",style:l.value},[li("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&li("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[p.value.map(((t,n,o)=>li("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<s.current+s.displayMultipleItems&&n>=s.current||n<s.current+s.displayMultipleItems-o.length},style:{background:n===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2),v()],512)],512)}}}),Zm=(e,t,n,o,r,i,a)=>{let s=!1,l=!1,u=!1,d=un(!1);function p(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}oo((()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,b()})),oo((()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(l=!0,u=!0,s&&(d.value=!0))}));const f={onMouseover:e=>p(e,"over"),onMouseout:e=>p(e,"out")};function h(e,t,a){if(e.stopPropagation(),a)return;const s=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=s-1);break;case"next":l++,l>=s&&i.value&&(l=0)}o(l)}const g=()=>kc(Tc,t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:a,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let p=!1;if(p=t.vertical?!(r-s<u/3||l-r<u/3):!(o-i<c/3||a-o<c/3),p)return m=setTimeout((()=>{d.value=p}),300);d.value=p},y=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),s&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return Uo(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?li(Ur,null,[li("div",gi({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},f),[g()],16,["onClick"]),li("div",gi({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>h(e,"next",u)},f),[g()],16,["onClick"])]):null}},ev=gu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=un(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,a=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=a,i.style.transform=a)}};return Uo((()=>{const e=Sr("addSwiperContext");e&&e(o)})),Xo((()=>{const e=Sr("removeSwiperContext");e&&e(o)})),()=>li("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),tv={ensp:" ",emsp:" ",nbsp:" "};function nv(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&tv[t]&&" "===i&&(i=tv[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,tv.nbsp).replace(/ /g,tv.ensp).replace(/ /g,tv.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const ov=gu({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=un(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Hr){const n=nv(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(ui(e)),t!==r&&o.push(li("br"))}))}else o.push(t)})),li("uni-text",{ref:n,selectable:!!e.selectable||null},[li("span",null,o)],8,["selectable"])}}}),rv=c({},tm,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>av.concat("return").includes(e)}});let iv=!1;const av=["done","go","next","search","send"];const sv=gu({name:"Textarea",props:rv,emits:["confirm","linechange",...nm],setup(e,{emit:t,expose:n}){const o=un(null),r=un(null),{fieldRef:i,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=im(e,o,t),u=Li((()=>a.value.split("\n"))),d=Li((()=>av.includes(e.confirmType))),p=un(0),f=un(null);function h({height:e}){p.value=e}function g(e){"Enter"===e.key&&d.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:a.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return io((()=>p.value),(t=>{const n=o.value,i=f.value,a=r.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=i.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",a.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";iv=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),a.value=e.value}}),()=>{let t=e.disabled&&l?li("textarea",{key:"disabled-textarea",ref:i,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":iv},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):li("textarea",{key:"textarea",ref:i,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":iv},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:g,onKeyup:m},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return li("uni-textarea",{ref:o},[li("div",{ref:r,class:"uni-textarea-wrapper"},[uo(li("div",gi(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Zi,!a.value.length]]),li("div",{ref:f,class:"uni-textarea-line"},[" "],512),li("div",{class:"uni-textarea-compute"},[u.value.map((e=>li("div",null,[e.trim()?e:"."]))),li(Sg,{initial:!0,onResize:h},null,8,["initial","onResize"])]),"search"===e.confirmType?li("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),lv=gu({name:"View",props:c({},bu),setup(e,{slots:t}){const n=un(null),{hovering:o,binding:r}=_u(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?li("uni-view",gi({class:o.value?i:"",ref:n},r),[er(t,"default")],16):li("uni-view",{ref:n},[er(t,"default")],512)}}});function cv(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function uv(e,t,n){e&&ql(n||Lc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function dv(e,t){e&&function(e,t){t=jl(e,t),delete Nl[t]}(t||Lc(),e)}function pv(e,t,n,o){const r=_i().proxy;Uo((()=>{uv(t||cv(r),e,o),!n&&t||io((()=>r.id),((t,n)=>{uv(cv(r,t),e,o),dv(n&&cv(r,n))}))})),Yo((()=>{dv(t||cv(r),o)}))}let fv=0;function hv(e){const t=Ec(),n=_i().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+fv++;return Uo((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}function gv(e,t,n,o){m(t)&&zo(e,t.bind(n),o)}function mv(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&&!m(t))&&(Le.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];f(r)?r.forEach((e=>gv(o,e,n,t))):gv(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,Dc(n,"onLoad",e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&Dc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function vv(e,t,n){mv(e,t,n)}function yv(e,t,n){return e[t]=n}function bv(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function _v(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?Dc(i.proxy,"onError",n):_n(n,0,o&&o.$.vnode,!1)}}function wv(e,t){return e?[...new Set([].concat(e,t))]:t}function xv(e){const t=e.config;var n;t.errorHandler=$e(e,_v),n=t.optionMergeStrategies,Le.forEach((e=>{n[e]=wv}));const o=t.globalProperties;o.$set=yv,o.$applyOptions=vv,o.$callMethod=bv,function(e){Oe=e,Ie.forEach((t=>t(e)))}(e)}function Tv(e){const t=al({history:kv(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Cv});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Sv[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let Sv=Object.create(null);const Cv=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Sv[o]);if(t)return t}return{left:0,top:0};var o};function kv(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),bs(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Dh(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Ah(t[r]);Bh(zh(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const Ev={install(e){xv(e),Zc(e),uu(e),e.config.warnHandler||(e.config.warnHandler=Av),Tv(e)}};function Av(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 Mv={class:"uni-async-loading"},Pv=li("i",{class:"uni-loading"},null,-1),Lv=mu({name:"AsyncLoading",render:()=>(Kr(),ti("div",Mv,[Pv]))});function Ov(){window.location.reload()}const Iv=mu({name:"AsyncError",setup(){Cl();const{t:e}=Tl();return()=>li("div",{class:"uni-async-error",onClick:Ov},[e("uni.async.error")],8,["onClick"])}});let $v;function Rv(){return $v}function Dv(e){$v=e,Object.defineProperty($v.$.ctx,"$children",{get:()=>Dh().map((e=>e.$vm))});const t=$v.$.appContext.app;t.component(Lv.name)||t.component(Lv.name,Lv),t.component(Iv.name)||t.component(Iv.name,Iv),function(e){e.$vm=e,e.$mpType="app";const t=un(Tl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}($v),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}})}($v),lu(),Vc()}function Bv(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=_i();if(n(r.proxy),o(r),i)return i(e,t)},e}function Nv(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Bv(e.default,t):Bv(e,t)}function jv(e){return Nv(e,{clone:!0,init:qh,setup(e){e.$pageInstance=e;const t=Lu(),n=Ce(t.query);e.attrs.__pageQuery=n,Ah(e.proxy).options=n,e.proxy.options=n;const o=Mu();var r,i;return e.onReachBottom=Yt([]),e.onPageScroll=Yt([]),io([e.onReachBottom,e.onPageScroll],(()=>{const t=Mc();e.proxy===t&&Gh(e,o)}),{once:!0}),Vo((()=>{Uh(e,o)})),Uo((()=>{Wh(e);const{onReady:n}=e;n&&$(n),Vv(t)})),Ro((()=>{if(!e.__isVisible){Uh(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&$(n),Pn((()=>{Vv(t)}))}}),"ba",r),function(e,t){Ro(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&$(t)}}})),i=o.id,Xx.subscribe(jl(i,"invokeViewApi"),zl),Yo((()=>{!function(e){Xx.unsubscribe(jl(e,"invokeViewApi")),Object.keys(Nl).forEach((t=>{0===t.indexOf(e+".")&&delete Nl[t]}))}(o.id)})),n}})}function qv(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=uni.getSystemInfoSync(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Kx.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function zv(e){T(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Kx.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Fv(){const{emit:e}=Kx;"visible"===document.visibilityState?e("onAppEnterForeground",Tg()):e("onAppEnterBackground")}function Vv(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Dc("onTabItemTap",{index:n,text:t,pagePath:o})}function Uv(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function Wv(e,t,n){const o=Yt({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let i=null;let a;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,p=u.pageY,f=r,h=t.value;if("progress"===c?(!function(e){const n=t.value.duration;let r=e/600*n+o.currentTimeOld;r<0?r=0:r>n&&(r=n);o.currentTimeNew=r}(d-f.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(a),a=void 0,null==a&&(a=setTimeout((()=>{o.toastThin=!1,a=void 0}),1e3)),n.volume=i,o.volumeNew=i)}(p-f.y),"none"===c)if(Math.abs(d-f.x)>Math.abs(p-f.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=h.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=i||(i=setTimeout((()=>{o.toastThin=!0}),500)),o.gestureType="volume",o.volumeOld=h.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"}}}const Hv={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}},Yv=gu({name:"Video",props:Hv,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=un(null),i=un(null),a=yu(r,t),{state:s}=Kg(),{$attrs:l}=pm({excludeListeners:!0});Tl(),$l();const{videoRef:c,state:u,play:d,pause:p,stop:h,seek:g,playbackRate:m,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:T,onPause:S,onEnded:C,onTimeUpdate:k}=function(e,t,n){const o=un(null),r=Li((()=>Jh(e.src))),i=Li((()=>"true"===e.muted||!0===e.muted)),a=Yt({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function s(e){const t=e.target,n=t.buffered;n.length&&(a.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return io((()=>r.value),(()=>{a.playing=!1,a.currentTime=0})),io((()=>a.buffered),(e=>{n("progress",{},{buffered:e})})),io((()=>i.value),(e=>{o.value.muted=e})),{videoRef:o,state:a,play:function(){const e=o.value;a.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;a.playing?e.pause():e.play()},onDurationChange:function({target:e}){a.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){a.playing=!1,n("error",e,{})},onPlay:function(e){a.start=!0,a.playing=!0,n("play",e,{})},onPause:function(e){a.playing=!1,n("pause",e,{})},onEnded:function(e){a.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;a.pauseUpdatingCurrentTime||(a.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,a),{state:E,danmuRef:A,updateDanmu:M,toggleDanmu:P,sendDanmu:L}=function(e,t){const n=un(null),o=Yt({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=f(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=r,l={time:n,index:s.index};if(n>s.time)for(let r=s.index+1;r<i.length;r++){const e=i[r];if(!(n>=(e.time||0)))break;l.index=r,t.playing&&o.enable&&a(e)}else if(n<s.time)for(let t=s.index-1;t>-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:O,onFullscreenChange:I,emitFullscreenChange:$,toggleFullscreen:R,requestFullScreen:D,exitFullScreen:B}=function(e,t,n,o,r){const i=Yt({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&s(e)}function c(){l(!1)}return Yo(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(a,i,c,s,r),{state:N,onTouchstart:j,onTouchend:q,onTouchmove:z}=Wv(e,c,O),{state:F,progressRef:V,ballRef:U,clickProgress:W,toggleControls:H,autoHideEnd:Y,autoHideStart:X}=function(e,t,n,o){const r=un(null),i=un(null),a=Li((()=>e.showCenterPlayBtn&&!t.start)),s=un(!0),l=Li((()=>!a.value&&e.controls&&s.value)),c=Yt({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:a,controlsShow:l,controlsVisible:s});let u;function d(){u=setTimeout((()=>{c.controlsVisible=!1}),3e3)}function p(){u&&(clearTimeout(u),u=null)}return Yo((()=>{u&&clearTimeout(u)})),io((()=>c.controlsShow&&t.playing&&!c.controlsTouching),(e=>{e?d():p()})),Uo((()=>{const e=xe(!1);let a,s,l,u=!0;const d=i.value;function p(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-a)<Math.abs(d-s))return void f(e);u=!1;const p=r.value.offsetWidth;let h=l+(i-a)/p*100;h<0?h=0:h>100&&(h=100),t.progress=h,null==o||o(t.duration*h/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function f(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",p,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];a=o.pageX,s=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",p,e)})),d.addEventListener("touchend",f),d.addEventListener("touchcancel",f)})),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,a=e.offsetX;for(;i&&i!==o;)a+=i.offsetLeft,i=i.parentNode;const s=o.offsetWidth;let l=0;a>=0&&a<=s&&(l=a/s,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:p}}(e,u,g,(e=>{N.currentTimeNew=e}));!function(e,t,n,o,r,i,a,s){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:a,exitFullScreen:s};pv(((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)}),hv(),!0)}(d,p,h,g,L,m,D,B);const G=function(e,t,n,o,r){const i=Li((()=>"progress"===t.gestureType||n.touching));return io(i,(o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)})),io([()=>e.currentTime,()=>{Hv.duration}],(()=>{e.progress=e.currentTime/e.duration*100})),io((()=>t.currentTimeNew),(t=>{e.currentTime=t})),i}(u,N,F);return()=>li("uni-video",{ref:r,id:e.id,onClick:H},[li("div",{ref:i,class:"uni-video-container",onTouchstart:j,onTouchend:q,onTouchmove:z,onFullscreenchange:Ca(I,["stop"]),onWebkitfullscreenchange:Ca((e=>I(e,!0)),["stop"])},[li("video",gi({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:T,onPause:S,onEnded:C,onTimeupdate:e=>{k(e),M(e)},onWebkitbeginfullscreen:()=>$(!0),onX5videoenterfullscreen:()=>$(!0),onWebkitendfullscreen:()=>$(!1),onX5videoexitfullscreen:()=>$(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),uo(li("div",{class:"uni-video-bar uni-video-bar-full",onClick:Ca((()=>{}),["stop"])},[li("div",{class:"uni-video-controls"},[uo(li("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:Ca(v,["stop"])},null,10,["onClick"]),[[Zi,e.showPlayBtn]]),uo(li("div",{class:"uni-video-current-time"},[Uv(u.currentTime)],512),[[Zi,e.showProgress]]),uo(li("div",{ref:V,class:"uni-video-progress-container",onClick:Ca(W,["stop"])},[li("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":G.value}},[li("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),li("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),li("div",{ref:U,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":G.value}},[li("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Zi,e.showProgress]]),uo(li("div",{class:"uni-video-duration"},[Uv(Number(e.duration)||u.duration)],512),[[Zi,e.showProgress]])]),uo(li("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:Ca(P,["stop"])},null,10,["onClick"]),[[Zi,e.danmuBtn]]),uo(li("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":O.fullscreen},onClick:Ca((()=>R(!O.fullscreen)),["stop"])},null,10,["onClick"]),[[Zi,e.showFullscreenBtn]])],8,["onClick"]),[[Zi,F.controlsShow]]),uo(li("div",{ref:A,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Zi,u.start&&E.enable]]),F.centerPlayBtnShow&&li("div",{class:"uni-video-cover",onClick:Ca((()=>{}),["stop"])},[li("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:Ca(d,["stop"])},null,8,["onClick"])],8,["onClick"]),li("div",{class:"uni-video-loading"},["volume"===N.gestureType?li("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":N.toastThin},style:{marginTop:"5px"}},[!N.toastThin&&N.volumeNew>0&&"volume"===N.gestureType?li("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!N.toastThin&&li("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),li("div",{class:"uni-video-toast-draw",style:{width:100*N.volumeNew+"%"}},null)],2):null]),li("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":G.value}},[li("div",{class:"uni-video-toast-title"},[li("span",{class:"uni-video-toast-title-current-time"},[Uv(N.currentTimeNew)])," / ",Number(e.duration)||Uv(u.duration)])],2),li("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Xv=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Gv=se((()=>Kx.on("onWebInvokeAppService",Xv))),Kv=gu({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){Gv();const t=un(null),n=un(null),{$attrs:o,$excludeAttrs:r,$listeners:i}=pm({excludeListeners:!0});let a;return(()=>{const r=document.createElement("iframe");oo((()=>{for(const e in o.value)if(p(o.value,e)){const t=o.value[e];r[e]=t}})),oo((()=>{r.src=Jh(e.src)})),n.value=r,a=function(e,t,n){return()=>{var o,r;if(n){const{top:n,left:o,width:r,height:i}=e.value.getBoundingClientRect();ae(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else ae(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})}}(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(r)})(),Uo((()=>{var o;a(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))})),Io((()=>{e.fullscreen&&(n.value.style.display="block")})),$o((()=>{e.fullscreen&&(n.value.style.display="none")})),Yo((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>li(Ur,null,[li("uni-web-view",gi({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,r.value,{ref:t}),[li(Sg,{onResize:a},null,8,["onResize"])],16)])}});let Qv,Jv=0;function Zv(e,t,n,o){var r,i=document.createElement("script"),a=t.callback||"callback",s="__uni_jsonp_callback_"+Jv++,l=t.timeout||3e4;function c(){clearTimeout(r),delete window[s],i.remove()}window[s]=e=>{m(n)&&n(e),c()},i.onerror=()=>{m(o)&&o(),c()},r=setTimeout((function(){m(o)&&o(),c()}),l),i.src=e+(e.indexOf("?")>=0?"&":"?")+a+"="+s,document.body.appendChild(i)}function ey(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",(()=>{this.callback()})),this.Text.setMap(t.map)}function r(){}function i(){this.Text&&this.option.map.remove(this.Text)}function a(){this.Text&&this.option.map.remove(this.Text)}class s{constructor(e={},s){this.createAMapText=o,this.removeAMapText=i,this.createBMapText=r,this.removeBMapText=a,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(dy())this.callback=s,this.visible&&this.createAMapText();else if(py())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=l?"block":"none";const r=this.triangle=document.createElement("div");r.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(e),n.appendChild(r),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,dy()?this.visible&&this.createAMapText():py()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!dy()&&!py()){const t=new(e.OverlayView||e.Overlay);s.prototype.setMap=t.setMap,s.prototype.getMap=t.getMap,s.prototype.getPanes=t.getPanes,s.prototype.getProjection=t.getProjection,s.prototype.map_changed=t.map_changed,s.prototype.set=t.set,s.prototype.get=t.get,s.prototype.setOptions=t.setValues,s.prototype.bindTo=t.bindTo,s.prototype.bindsTo=t.bindsTo,s.prototype.notify=t.notify,s.prototype.setValues=t.setValues,s.prototype.unbind=t.unbind,s.prototype.unbindAll=t.unbindAll,s.prototype.addListener=t.addListener}return s}const ty={};function ny(e,t){const n=ly();if(!n.key)return void console.error("Map key not configured.");const o=ty[n.type]=ty[n.type]||[];if(Qv)t(Qv);else if(window[n.type]&&window[n.type].maps)Qv=dy()||py()?window[n.type]:window[n.type].maps,Qv.Callout=Qv.Callout||ey(Qv),t(Qv);else if(o.length)o.push(t);else{o.push(t);const r=window,i="__map_callback__"+n.type;r[i]=function(){delete r[i],Qv=dy()||py()?window[n.type]:window[n.type].maps,Qv.Callout=ey(Qv),o.forEach((e=>e(Qv))),o.length=0},dy()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const a=document.createElement("script");let s=oy(n.type);n.type===sy.QQ&&e.push("geometry"),e.length&&(s+=`libraries=${e.join("%2C")}&`),n.type===sy.BMAP?a.src=`${s}ak=${n.key}&callback=${i}`:a.src=`${s}key=${n.key}&callback=${i}`,a.onerror=function(){console.error("Map load failed.")},document.body.appendChild(a)}}const oy=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);const ry="M13.3334375 16 q0.033125 1.1334375 0.783125 1.8834375 q0.75 0.75 1.8834375 0.75 q1.1334375 0 1.8834375 -0.75 q0.75 -0.75 0.75 -1.8834375 q0 -1.1334375 -0.75 -1.8834375 q-0.75 -0.75 -1.8834375 -0.75 q-1.1334375 0 -1.8834375 0.75 q-0.75 0.75 -0.783125 1.8834375 ZM30.9334375 14.9334375 l-1.1334375 0 q-0.5 -5.2 -4.0165625 -8.716875 q-3.516875 -3.5165625 -8.716875 -4.0165625 l0 -1.1334375 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 1.1334375 q-5.2 0.5 -8.716875 4.0165625 q-3.5165625 3.516875 -4.0165625 8.716875 l-1.1334375 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l1.1334375 0 q0.5 5.2 4.0165625 8.716875 q3.516875 3.5165625 8.716875 4.0165625 l0 1.1334375 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -1.1334375 q5.2 -0.5 8.716875 -4.0165625 q3.5165625 -3.516875 4.0165625 -8.716875 l1.1334375 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 ZM17.0665625 27.6665625 l0 -2.0665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 2.0665625 q-4.3 -0.4665625 -7.216875 -3.383125 q-2.916875 -2.916875 -3.3834375 -7.216875 l2.0665625 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 l-2.0665625 0 q0.4665625 -4.3 3.3834375 -7.216875 q2.9165625 -2.916875 7.216875 -3.3834375 l0 2.0665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -2.0665625 q4.3 0.4665625 7.216875 3.3834375 q2.9165625 2.9165625 3.383125 7.216875 l-2.0665625 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l2.0665625 0 q-0.4665625 4.3 -3.383125 7.216875 q-2.916875 2.9165625 -7.216875 3.383125 Z",iy="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/gIePjG559BigpZQOrYB/4jBfRGRUtDkmJjY6KjLCofkpD62lc2gDfMpWPIuLdwyV8XEpHgaddBZ+wBuSFcwJqSN2ovmZ/dfnOvCTxqGtwzq8SEjv4EhISn48eWgnhUP7DvDSvgzxrs6vV6+FLiro2EkCic4QKkzwJsH1KYreCp0eQhfyDl1B/w4P/xa5JVJ4U03QjbRD9x7wXlgH5IE3wmMBHXoSlugFAcI6f/AkkSi8q6HQm6xDn77wEQ8djTwSj3tqAMguRTe4ikeOQyJ4YV+KfkQl+oNW5GbY4gWOWgbwJ+kwAD6Fi90MK2ZsrIeBBCUGwRXbqJ+/iJMQliIEBhOU6AJhtlG/IpHE2bqrYQg5h6HA4yQiRqwEfkGCdTCMmMRw+IbPDCQaHCsCYAQxiZHw3TbmD/ESOHgHwShiEqPhp/gggYkSztIxxCRawy/bmEniJaJtfwiEscQkxkFgRqJESqQwwHhiEuMBp3Vm8RK/cZoHEzKXhCK2QxEPpiJe0YlKCFaKCNv/cYBNUsBRPlkJSc0U+dM7E9H0ThGJbgZT/iR7yj+VqMS06Qr4+OFm2JdCxIa8lugzkJs5K6MfxAaYPUcBpYG5khZJEkUUSb7DPCnKRfPBXj6M8FwuegoLpCgXcQszVjhbJFUJUee2hBhLoYTIcYtB57KY+opSMdVqwatSlZVj05aV//CwJLMX2DluaUcwhXm4ali2XOoLjxUrPV26zFtF4f5p0Gp310+z13BUWNvbehEXona6iAtX/zVZmtfN4WixfsNky4S6gCCVVq3RPLdfSfpv3MRRZfPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII=",ay="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC";var sy=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(sy||{});function ly(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let cy=!1,uy=!1;const dy=()=>uy?cy:(uy=!0,cy="AMap"===ly().type),py=()=>"BMapGL"===ly().type;function fy(e,t,n){const o=ly();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise((e=>{Zv(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},(n=>{if("locations"in n&&n.locations.length){const{lng:o,lat:r}=n.locations[0];e({longitude:o,latitude:r,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)}),(()=>e(t)))})):"AMap"===o.type?new Promise((e=>{ny([],(()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",((n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:r}=o.locations[0];e({longitude:r,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)}))}))})):Promise.reject(new Error("translate coordinate system faild"))}const hy=mu({name:"MapMarker",props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},setup(e){const t=String(isNaN(Number(e.id))?"":e.id),n=Sr("onMapReady"),o=function(e){const t="uni-map-marker-label-"+e,n=document.createElement("style");return n.id=t,document.head.appendChild(n),Xo((()=>{n.remove()})),function(e){const o=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),r=document.createElement("div");return Object.keys(o).forEach((e=>{r.style[e]=o[e]||""})),n.innerText=`.${t}{${r.getAttribute("style")}}`,t}}(t);let r;function i(e){dy()?e.removeAMapText():e.setMap(null)}if(n(((n,a,s)=>{function l(e){const l=e.title;let c;c=dy()?new a.LngLat(e.longitude,e.latitude):py()?new a.Point(e.longitude,e.latitude):new a.LatLng(e.latitude,e.longitude);const u=new Image;let d=0;u.onload=()=>{const p=e.anchor||{};let f,h,g,m,v="number"==typeof p.x?p.x:.5,y="number"==typeof p.y?p.y:1;e.iconPath&&(e.width||e.height)?(h=e.width||u.width/u.height*e.height,g=e.height||u.height/u.width*e.width):(h=u.width/2,g=u.height/2),d=g,m=g-(g-y*g),f="MarkerImage"in a?new a.MarkerImage(u.src,null,null,new a.Point(v*h,y*g),new a.Size(h,g)):"Icon"in a?new a.Icon({image:u.src,size:new a.Size(h,g),imageSize:new a.Size(h,g),imageOffset:new a.Pixel(v*h,y*g)}):{url:u.src,anchor:new a.Point(v,y),size:new a.Size(h,g)},py()?(r=new a.Marker(new a.Point(c.lng,c.lat)),n.addOverlay(r)):(r.setPosition(c),r.setIcon(f)),"setRotation"in r&&r.setRotation(e.rotate||0);const b=e.label||{};let _;if("label"in r&&(r.label.setMap(null),delete r.label),b.content){const e={borderColor:b.borderColor,borderWidth:(Number(b.borderWidth)||0)+"px",padding:(Number(b.padding)||0)+"px",borderRadius:(Number(b.borderRadius)||0)+"px",backgroundColor:b.bgColor,color:b.color,fontSize:(b.fontSize||14)+"px",lineHeight:(b.fontSize||14)+"px",marginLeft:(Number(b.anchorX||b.x)||0)+"px",marginTop:(Number(b.anchorY||b.y)||0)+"px"};if("Label"in a)_=new a.Label({position:c,map:n,clickable:!1,content:b.content,style:e}),r.label=_;else if("setLabel"in r)if(dy()){const t=`<div style="\n margin-left:${e.marginLeft};\n margin-top:${e.marginTop};\n padding:${e.padding};\n background-color:${e.backgroundColor};\n border-radius:${e.borderRadius};\n line-height:${e.lineHeight};\n color:${e.color};\n font-size:${e.fontSize};\n\n ">\n ${b.content}\n <div>`;r.setLabel({content:t,direction:"bottom-right"})}else{const t=o(e);r.setLabel({text:b.content,color:e.color,fontSize:e.fontSize,className:t})}}const w=e.callout||{};let x,T=r.callout;if(w.content||l){dy()&&w.content&&(w.content=w.content.replaceAll("\n","<br/>"));const o="0px 0px 3px 1px rgba(0,0,0,0.5)";let i=-d/2;if((e.width||e.height)&&(i+=14-d/2),x=w.content?{position:c,map:n,top:m,offsetY:i,content:w.content,color:w.color,fontSize:w.fontSize,borderRadius:w.borderRadius,bgColor:w.bgColor,padding:w.padding,boxShadow:w.boxShadow||o,display:w.display}:{position:c,map:n,top:m,offsetY:i,content:l,boxShadow:o},T)T.setOption(x);else if(dy()){const e=()=>{""!==t&&s("callouttap",{},{markerId:Number(t)})};T=r.callout=new a.Callout(x,e)}else T=r.callout=new a.Callout(x),T.div.onclick=function(e){""!==t&&s("callouttap",e,{markerId:Number(t)}),e.stopPropagation(),e.preventDefault()},ly().type===sy.GOOGLE&&(T.div.ontouchstart=function(e){e.stopPropagation()},T.div.onpointerdown=function(e){e.stopPropagation()})}else T&&(i(T),delete r.callout)},e.iconPath?u.src=Jh(e.iconPath):console.error("Marker.iconPath is required.")}!function(e){py()||(r=new a.Marker({map:n,flat:!0,autoRotation:!1})),l(e);const o=a.event||a.Event;py()||o.addListener(r,"click",(()=>{const n=r.callout;if(n&&!n.alwaysVisible)if(dy())n.visible=!n.visible,n.visible?r.callout.createAMapText():r.callout.removeAMapText();else if(n.set("visible",!n.visible),n.visible){const e=n.div,t=e.parentNode;t.removeChild(e),t.appendChild(e)}t&&s("markertap",{},{markerId:Number(t),latitude:e.latitude,longitude:e.longitude})}))}(e),io(e,l)})),t){const e=Sr("addMapChidlContext"),o=Sr("removeMapChidlContext"),i={id:t,translate(e){n(((t,n,o)=>{const i=e.destination,a=e.duration,s=!!e.autoRotate;let l=Number(e.rotate)||0,c=0;"getRotation"in r&&(c=r.getRotation());const u=r.getPosition(),d=new n.LatLng(i.latitude,i.longitude),p=n.geometry.spherical.computeDistanceBetween(u,d)/1e3/(("number"==typeof a?a:1e3)/36e5),f=n.event||n.Event,h=f.addListener(r,"moving",(e=>{const t=e.latLng,n=r.label;n&&n.setPosition(t);const o=r.callout;o&&o.setPosition(t)})),g=f.addListener(r,"moveend",(()=>{g.remove(),h.remove(),r.lastPosition=u,r.setPosition(d);const t=r.label;t&&t.setPosition(d);const n=r.callout;n&&n.setPosition(d);const o=e.animationEnd;m(o)&&o()}));let v=0;s&&(r.lastPosition&&(v=n.geometry.spherical.computeHeading(r.lastPosition,u)),l=n.geometry.spherical.computeHeading(u,d)-v),"setRotation"in r&&r.setRotation(c+l),"moveTo"in r?r.moveTo(d,p):(r.setPosition(d),f.trigger(r,"moveend",{}))}))}};e(i),Xo((()=>o(i)))}return Xo((function(){r&&(r.label&&"setMap"in r.label&&r.label.setMap(null),r.callout&&i(r.callout),r.setMap(null))})),()=>null}});function gy(e){if(!e)return{r:0,g:0,b:0,a:0};let t=e.slice(1);const n=t.length;if(![3,4,6,8].includes(n))return{r:0,g:0,b:0,a:0};3!==n&&4!==n||(t=t.replace(/(\w{1})/g,"$1$1"));let[o,r,i,a]=t.match(/(\w{2})/g);const s=parseInt(o,16),l=parseInt(r,16),c=parseInt(i,16);return a?{r:s,g:l,b:c,a:(`0x100${a}`-65536)/255}:{r:s,g:l,b:c,a:1}}const my={points:{type:Array,require:!0},color:{type:String,default:"#000000"},width:{type:[Number,String],default:""},dottedLine:{type:[Boolean,String],default:!1},arrowLine:{type:[Boolean,String],default:!1},arrowIconPath:{type:String,default:""},borderColor:{type:String,default:"#000000"},borderWidth:{type:[Number,String],default:""},colorList:{type:Array,default:()=>[]},level:{type:String,default:""}},vy=mu({name:"MapPolyline",props:my,setup(e){let t,n;function o(){t&&t.setMap(null),n&&n.setMap(null)}return Sr("onMapReady")(((r,i)=>{function a(e){const o=[];e.points.forEach((e=>{let t;t=dy()?[e.longitude,e.latitude]:py()?new i.Point(e.longitude,e.latitude):new i.LatLng(e.latitude,e.longitude),o.push(t)}));const a=Number(e.width)||1,{r:s,g:l,b:c,a:u}=gy(e.color),{r:d,g:p,b:f,a:h}=gy(e.borderColor),g={map:r,clickable:!1,path:o,strokeWeight:a,strokeColor:e.color||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"},m=Number(e.borderWidth)||0,v={map:r,clickable:!1,path:o,strokeWeight:a+2*m,strokeColor:e.borderColor||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"};"Color"in i?(g.strokeColor=new i.Color(s,l,c,u),v.strokeColor=new i.Color(d,p,f,h)):(g.strokeColor=`rgb(${s}, ${l}, ${c})`,g.strokeOpacity=u,v.strokeColor=`rgb(${d}, ${p}, ${f})`,v.strokeOpacity=h),m&&(n=new i.Polyline(v)),py()?(t=new i.Polyline(g.path,g),r.addOverlay(t)):t=new i.Polyline(g)}a(e),io(e,(function(e){o(),a(e)}))})),Xo(o),()=>null}}),yy=mu({name:"MapCircle",props:{latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},color:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},radius:{type:[Number,String],require:!0},strokeWidth:{type:[Number,String],default:""},level:{type:String,default:""}},setup(e){let t;function n(){t&&t.setMap(null)}return Sr("onMapReady")(((o,r)=>{function i(e){const n=dy()||py()?[e.longitude,e.latitude]:new r.LatLng(e.latitude,e.longitude),i={map:o,center:n,clickable:!1,radius:e.radius,strokeWeight:Number(e.strokeWidth)||1,strokeDashStyle:"solid"};if(py())i.strokeColor=e.color,i.fillColor=e.fillColor||"#000",i.fillOpacity=1;else{const{r:t,g:n,b:o,a:a}=gy(e.fillColor),{r:s,g:l,b:c,a:u}=gy(e.color);"Color"in r?(i.fillColor=new r.Color(t,n,o,a),i.strokeColor=new r.Color(s,l,c,u)):(i.fillColor=`rgb(${t}, ${n}, ${o})`,i.fillOpacity=a,i.strokeColor=`rgb(${s}, ${l}, ${c})`,i.strokeOpacity=u)}if(py()){let e=new r.Point(i.center[0],i.center[1]);t=new r.Circle(e,i.radius,i),o.addOverlay(t)}else t=new r.Circle(i),dy()&&o.add(t)}i(e),io(e,(function(e){n(),i(e)}))})),Xo(n),()=>null}}),by={id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:[Boolean,String],default:""},trigger:{type:Function,required:!0}},_y=mu({name:"MapControl",props:by,setup(e){const t=Li((()=>Jh(e.iconPath))),n=Li((()=>{let t=`top:${e.position.top||0}px;left:${e.position.left||0}px;`;return e.position.width&&(t+=`width:${e.position.width}px;`),e.position.height&&(t+=`height:${e.position.height}px;`),t})),o=t=>{e.clickable&&e.trigger("controltap",t,{controlId:e.id})};return()=>li("div",{class:"uni-map-control"},[li("img",{src:t.value,style:n.value,class:"uni-map-control-icon",onClick:o},null,12,["src","onClick"])])}}),wy=se((()=>{yp.forEach((e=>{xy.prototype[e]=function(t){m(t)&&this._events[e].push(t)}})),bp.forEach((e=>{xy.prototype[e]=function(t){var n=this._events[e.replace("off","on")],o=n.indexOf(t);o>=0&&n.splice(o,1)}}))}));class xy{constructor(){this._src="";var e=this._audio=new Audio;this._stoping=!1;["src","autoplay","loop","duration","currentTime","paused","volume"].forEach((t=>{Object.defineProperty(this,t,{set:"src"===t?t=>(e.src=Jh(t),this._src=t,t):n=>(e[t]=n,n),get:"src"===t?()=>this._src:()=>e[t]})})),this.startTime=0,Object.defineProperty(this,"obeyMuteSwitch",{set:()=>!1,get:()=>!1}),Object.defineProperty(this,"buffered",{get(){var t=e.buffered;return t.length?t.end(t.length-1):0}}),this._events={},yp.forEach((e=>{this._events[e]=[]})),e.addEventListener("loadedmetadata",(()=>{var t=Number(this.startTime)||0;t>0&&(e.currentTime=t)}));var t=["canplay","pause","seeking","seeked","timeUpdate"];t.concat(["play","ended","error","waiting"]).forEach((n=>{e.addEventListener(n.toLowerCase(),(()=>{if(this._stoping&&t.indexOf(n)>=0)return;const e=`on${n.slice(0,1).toUpperCase()}${n.slice(1)}`;this._events[e].forEach((e=>{e()}))}),!1)})),wy()}play(){this._stoping=!1,this._audio.play()}pause(){this._audio.pause()}stop(){this._stoping=!0,this._audio.pause(),this._audio.currentTime=0,this._events.onStop.forEach((e=>{e()}))}seek(e){this._stoping=!1,"number"!=typeof(e=Number(e))||isNaN(e)||(this._audio.currentTime=e)}destroy(){this.stop()}}const Ty=vd(0,(()=>new xy)),Sy=yd("makePhoneCall",(({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t()))),Cy=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let ky;function Ey(){if(ky=ky||Cy.__DC_STAT_UUID,!ky){ky=Date.now()+""+Math.floor(1e7*Math.random());try{Cy.__DC_STAT_UUID=ky}catch(e){}}return ky}function Ay(){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 My(){let e,t="0",n="",o="phone";const r=navigator.language;if(tg){e="iOS";const o=Zh.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Zh.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(eg){e="Android";const o=Zh.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Zh.match(/\((.+?)\)/),i=r?r[1].split(";"):Zh.split(" "),a=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<i.length;e++){const t=i[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<a.length;e++)if(a[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(ig){if(n="iPad",e="iOS",o="pad",t=m(window.BigInt)?"14.0":"13.0",14===parseInt(t)){const e=Zh.match(/Version\/(\S*)\b/);e&&(t=e[1])}}else if(ng||og||rg){n="PC",e="PC",o="pc",t="0";let r=Zh.match(/\((.+?)\)/)[1];if(ng){switch(e="Windows",ng[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(og){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(rg){e="Linux";const n=r&&r.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const i=`${e} ${t}`,a=e.toLocaleLowerCase();let s="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)s="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(Zh)&&(s=t[n],l=Zh.match(r)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:i,platform:a,browserName:s.toLocaleLowerCase(),browserVersion:l,language:r,deviceType:o,ua:Zh,osname:e,osversion:t,theme:Ay()}}const Py=vd(0,(()=>{const e=window.devicePixelRatio,t=ag(),n=sg(t),o=lg(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=cg(o);let a=window.innerHeight;const s=lc.top,l={left:lc.left,right:i-lc.right,top:lc.top,bottom:a-lc.bottom,width:i-lc.left-lc.right,height:a-lc.top-lc.bottom},{top:c,bottom:u}=fc();return a-=c,a-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:lc.top,right:lc.right,bottom:lc.bottom,left:lc.left},screenTop:r-a}}));let Ly,Oy=!0;function Iy(){Oy&&(Ly=My())}const $y=vd(0,(()=>{Iy();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:a,deviceType:s,osname:l,osversion:u}=Ly;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Ey(),deviceOrientation:a,deviceType:s,model:o,platform:r,system:i,osName:l?l.toLocaleLowerCase():void 0,osVersion:u})})),Ry=vd(0,(()=>{Iy();const{theme:e,language:t,browserName:n,browserVersion:o}=Ly;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Up?Up():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},{})})),Dy=vd(0,(()=>{Oy=!0,Iy(),Oy=!1;const e=Py(),t=$y(),n=Ry();Oy=!0;const{ua:o,browserName:r,browserVersion:i,osname:a,osversion:s}=Ly,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLocaleLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return T(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),By=yd("getSystemInfo",((e,{resolve:t})=>t(Dy())));function Ny(){Fy().then((({networkType:e})=>{Kx.invokeOnCallback("onNetworkStatusChange",{isConnected:"none"!==e,networkType:e})}))}function jy(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const qy=hd("onNetworkStatusChange",(()=>{const e=jy();e?e.addEventListener("change",Ny):(window.addEventListener("offline",Ny),window.addEventListener("online",Ny))})),zy=gd("offNetworkStatusChange",(()=>{const e=jy();e?e.removeEventListener("change",Ny):(window.removeEventListener("offline",Ny),window.removeEventListener("online",Ny))})),Fy=yd("getNetworkType",((e,{resolve:t})=>{const n=jy();let o="unknown";return n?(o=n.type,"cellular"===o&&n.effectiveType?o=n.effectiveType.replace("slow-",""):!o&&n.effectiveType?o=n.effectiveType:["none","wifi"].includes(o)||(o="unknown")):!1===navigator.onLine&&(o="none"),t({networkType:o})}));let Vy=null;const Uy=hd("onAccelerometer",(()=>{Hy()})),Wy=gd("offAccelerometer",(()=>{Yy()})),Hy=yd("startAccelerometer",((e,{resolve:t,reject:n})=>{if(window.DeviceMotionEvent){if(!Vy){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((e=>{"granted"===e?(o(),t()):n(`${e}`)})).catch((e=>{n(`${e}`)}));o()}t()}else n();function o(){Vy=function(e){const t=e.acceleration||e.accelerationIncludingGravity;Kx.invokeOnCallback("onAccelerometer",{x:t&&t.x||0,y:t&&t.y||0,z:t&&t.z||0})},window.addEventListener("devicemotion",Vy,!1)}})),Yy=yd("stopAccelerometer",((e,{resolve:t})=>{Vy&&(window.removeEventListener("devicemotion",Vy,!1),Vy=null),t()}));let Xy=null;const Gy=hd("onCompass",(()=>{Qy()})),Ky=gd("offCompass",(()=>{Jy()})),Qy=yd("startCompass",((e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!Xy){if(DeviceOrientationEvent.requestPermission)return void DeviceOrientationEvent.requestPermission().then((e=>{"granted"===e?(o(),t()):n(`${e}`)})).catch((e=>{n(`${e}`)}));o()}t()}else n();function o(){Xy=function(e){const t=360-(null!==e.alpha?e.alpha:360);Kx.invokeOnCallback("onCompass",{direction:t})},window.addEventListener("deviceorientation",Xy,!1)}})),Jy=yd("stopCompass",((e,{resolve:t})=>{Xy&&(window.removeEventListener("deviceorientation",Xy,!1),Xy=null),t()})),Zy=!!window.navigator.vibrate,eb=yd("vibrateShort",((e,{resolve:t,reject:n})=>{Zy&&window.navigator.vibrate(15)?t():n("vibrateLong:fail")})),tb=yd("vibrateLong",((e,{resolve:t,reject:n})=>{Zy&&window.navigator.vibrate(400)?t():n("vibrateLong:fail")}));var nb=(e,t,n)=>new Promise(((o,r)=>{var i=e=>{try{s(n.next(e))}catch(t){r(t)}},a=e=>{try{s(n.throw(e))}catch(t){r(t)}},s=e=>e.done?o(e.value):Promise.resolve(e.value).then(i,a);s((n=n.apply(e,t)).next())}));const ob=yd("getClipboardData",((e,t)=>nb(void 0,[e,t],(function*(e,{resolve:t,reject:n}){Ol();const{t:o}=Tl();try{t({data:yield navigator.clipboard.readText()})}catch(r){!function(e,t){const n=document.getElementById("#clipboard"),o=n?n.value:void 0;o?e({data:o}):t()}(t,(()=>{n(`${r} ${o("uni.getClipboardData.fail")}`)}))}})))),rb=yd("setClipboardData",((e,t)=>nb(void 0,[e,t],(function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.setAttribute("inputmode","none"),r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const i=document.execCommand("Copy",!1);r.blur(),i?t():n()}(e,t,n)}}))),0,cf);const ib=e=>{Kx.invokeOnCallback("onThemeChange",e)},ab=hd("onThemeChange",(()=>{Kx.on("onThemeChange",ib)})),sb=gd("offThemeChange",(()=>{Kx.off("onThemeChange",ib)}));const lb=vd(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),cb=yd("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{lb(e,t),n()}catch(r){o(r.message)}}));function ub(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 db=vd(0,(e=>{try{return ub(e)}catch(t){return""}})),pb=yd("getStorage",(({key:e},{resolve:t,reject:n})=>{try{t({data:ub(e)})}catch(o){n(o.message)}})),fb=vd(0,(e=>{localStorage&&localStorage.removeItem(e)})),hb=yd("removeStorage",(({key:e},{resolve:t})=>{fb(e),t()})),gb=vd(0,(()=>{localStorage&&localStorage.clear()})),mb=yd("clearStorage",((e,{resolve:t})=>{gb(),t()})),vb=vd(0,(()=>{const e=localStorage&&localStorage.length||0,t=[];let n=0;for(let o=0;o<e;o++){const e=localStorage.key(o),r=localStorage.getItem(e)||"";n+=e.length+r.length,"uni-storage-keys"!==e&&t.push(e)}return{keys:t,currentSize:Math.ceil(2*n/1024),limitSize:Number.MAX_VALUE}})),yb=yd("getStorageInfo",((e,{resolve:t})=>{t(vb())})),bb=yd("getFileInfo",(({filePath:e},{resolve:t,reject:n})=>{vg(e).then((e=>{t({size:e.size})})).catch((e=>{n(String(e))}))}),0,uf),_b=yd("openDocument",(({filePath:e},{resolve:t})=>(window.open(e),t())),0,df),wb=yd("hideKeyboard",((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())}));const xb=yd("getImageInfo",(({src:e},{resolve:t,reject:n})=>{const o=new Image;o.onload=function(){t({width:o.naturalWidth,height:o.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},o.onerror=function(){n()},o.src=e}),0,_f),Tb=yd("getVideoInfo",(({src:e},{resolve:t,reject:n})=>{vg(e,!0).then((e=>e)).catch((()=>null)).then((o=>{const r=document.createElement("video");if(void 0!==r.onloadedmetadata){const i=setTimeout((()=>{r.onloadedmetadata=null,r.onerror=null,n()}),e.startsWith("data:")||e.startsWith("blob:")?300:3e3);r.onloadedmetadata=function(){clearTimeout(i),r.onerror=null,t({size:Math.ceil((o?o.size:0)/1024),duration:r.duration||0,width:r.videoWidth||0,height:r.videoHeight||0})},r.onerror=function(){clearTimeout(i),r.onloadedmetadata=null,n()},r.src=e}else n()}))}),0,xf),Sb={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function Cb({count:e,sourceType:t,type:n,extension:o}){Xg();const r=document.createElement("input");return r.type="file",ae(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${Sb[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(r.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}let kb=null;const Eb=yd("chooseFile",(({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:i})=>{Pl();const{t:a}=Tl();kb&&(document.body.removeChild(kb),kb=null),kb=Cb({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(kb),kb.addEventListener("change",(function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let r=0;r<t;r++){const t=n.files[r];let i;Object.defineProperty(t,"path",{get:()=>(i=i||bg(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map((({path:e})=>e))},tempFiles:o})})),kb.click(),Gg()||console.warn(a("uni.chooseFile.notUserActivation"))}),0,bf);let Ab=null;const Mb=yd("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{Pl();const{t:i}=Tl();Ab&&(document.body.removeChild(Ab),Ab=null),Ab=Cb({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Ab),Ab.addEventListener("change",(function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o<t;o++){const t=n.files[o];let i;Object.defineProperty(t,"path",{get:()=>(i=i||bg(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),Ab.click(),Gg()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,mf),Pb={esc:["Esc","Escape"],enter:["Enter"]},Lb=Object.keys(Pb);function Ob(){const e=un(""),t=un(!1),n=n=>{if(t.value)return;const o=Lb.find((e=>-1!==Pb[e].indexOf(n.key)));o&&(e.value=o),Pn((()=>e.value=""))};return Uo((()=>{document.addEventListener("keyup",n)})),Yo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const Ib=li("div",{class:"uni-mask"},null,-1);function $b(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Aa(So({setup:()=>()=>(Kr(),ti(e,t,null,16))}))}function Rb(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Db(e,{onEsc:t,onEnter:n}){const o=un(e.visible),{key:r,disable:i}=Ob();return io((()=>e.visible),(e=>o.value=e)),io((()=>o.value),(e=>i.value=!e)),oo((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let Bb=0,Nb="";function jb(e){let t=Bb;Bb+=e?1:-1,Bb=Math.max(0,Bb),Bb>0?0===t&&(Nb=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Nb,Nb="")}function qb(){Uo((()=>jb(!0))),Xo((()=>jb(!1)))}const zb=mu({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Yt({direction:"none"});let n=1,o=0,r=0,i=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function c(e){const t=e.target.getBoundingClientRect();i=t.width,a=t.height,d(e)}function u(e){const s=n*o>i,l=n*r>a;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return li(hm,{style:n,onTouchstart:vu(c),onTouchmove:vu(d),onTouchend:vu(u)},{default:()=>[li(Em,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[li("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 Fb(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Vb=mu({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){qb();const n=un(null),o=un(Fb(e));let r;function i(){r||Pn((()=>{t("close")}))}function a(e){o.value=e.detail.current}io((()=>e.current),(()=>o.value=Fb(e))),Uo((()=>{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 li("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[li(Jm,{navigation:"auto",current:o.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(r=t=e.urls.map((e=>li(ev,null,{default:()=>[li(zb,{src:e},null,8,["src"])]}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!ni(r)?t:{default:()=>[t],_:1}),8,["current","onChange"]),li("div",{style:s},[kc(Sc,"#ffffff",26)],4)],8,["onClick"]);var r}}});let Ub,Wb=null;const Hb=()=>{Wb=null,Pn((()=>{null==Ub||Ub.unmount(),Ub=null}))},Yb=yd("previewImage",((e,{resolve:t})=>{Wb?c(Wb,e):(Wb=Yt(e),Pn((()=>{Ub=$b(Vb,Wb,Hb),Ub.mount(Rb("u-a-p"))}))),t()}),0,wf),Xb=yd("closePreviewImage",((e,{resolve:t,reject:n})=>{Ub?(Hb(),t()):n()}));let Gb=null;const Kb=yd("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:o})=>{Pl();const{t:r}=Tl();Gb&&(document.body.removeChild(Gb),Gb=null),Gb=Cb({sourceType:e,extension:t,type:"video"}),document.body.appendChild(Gb),Gb.addEventListener("change",(function(e){const t=e.target.files[0];let o="";const r={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(r,"tempFilePath",{get(){return o=o||bg(this.tempFile),o}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=bg(t);i.onloadedmetadata=function(){_g(e),n(c(r,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,_g(e),n(r)}),300),i.src=e}else n(r)})),Gb.click(),Gg()||console.warn(r("uni.chooseFile.notUserActivation"))}),0,vf),Qb=md("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,withCredentials:a,timeout:s=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)p(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const f=new XMLHttpRequest,h=new Jb(f);f.open(o,e);for(const v in n)p(n,v)&&f.setRequestHeader(v,n[v]);const g=setTimeout((function(){f.onload=f.onabort=f.onerror=null,h.abort(),c("timeout",{errCode:5})}),s);return f.responseType=i,f.onload=function(){clearTimeout(g);const e=f.status;let t="text"===i?f.responseText:f.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:Zb(f.getAllResponseHeaders()),cookies:[]})},f.onabort=function(){clearTimeout(g),c("abort",{errCode:600003})},f.onerror=function(){clearTimeout(g),c(void 0,{errCode:5})},f.withCredentials=a,f.send(u),h}),0,kf);class Jb{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 Zb(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class e_{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const t_=md("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,a=new XMLHttpRequest,s=new e_(a);return a.open("GET",e,!0),Object.keys(t).forEach((e=>{a.setRequestHeader(e,t[e])})),a.responseType="blob",a.onload=function(){clearTimeout(i);const t=a.status,n=this.response;let r;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(r=e[1])}n.name=r||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:bg(n)})},a.onabort=function(){clearTimeout(i),r("abort",{errCode:600003})},a.onerror=function(){clearTimeout(i),r("",{errCode:602001})},a.onprogress=function(e){s._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})}))},a.send(),i=setTimeout((function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),r("timeout",{errCode:5})}),n),s}),0,Ef);class n_{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const o_=md("uploadFile",(({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:a={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new n_;return f(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(yg(e)):vg(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach((e=>{d.append(e,a[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})}),s),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,Af),r_=[],i_={open:"",close:"",error:"",message:""};class a_{constructor(e,t,n){let o;this._callbacks={open:[],close:[],error:[],message:[]};try{const n=this._webSocket=new WebSocket(e,t);n.binaryType="arraybuffer";["open","close","error","message"].forEach((e=>{this._callbacks[e]=[],n.addEventListener(e,(t=>{const{data:n,code:o,reason:r}=t,i="message"===e?{data:n}:"close"===e?{code:o,reason:r}:{};if(this._callbacks[e].forEach((t=>{try{t(i)}catch(n){console.error(`thirdScriptError\n${n};at socketTask.on${L(e)} callback function\n`,n)}})),this===r_[0]&&i_[e]&&Kx.invokeOnCallback(i_[e],i),"error"===e||"close"===e){const e=r_.indexOf(this);e>=0&&r_.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 ue(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),ue(e,"sendSocketMessage:ok")}catch(o){ue(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),ue(e,"closeSocket:ok")}catch(n){ue(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 s_=md("connectSocket",(({url:e,protocols:t},{resolve:n,reject:o})=>new a_(e,t,((e,t)=>{e?o(e.toString(),{errCode:600009}):(r_.push(t),n())}))),0,Mf);function l_(e,t,n,o,r){const i=e[t];m(i)&&i.call(e,c({},n,{success(){o()},fail({errMsg:e}){r(e.replace("sendSocketMessage:fail ",""))},complete:void 0}))}const c_=yd("sendSocketMessage",((e,{resolve:t,reject:n})=>{const o=r_[0];o&&o.readyState===o.OPEN?l_(o,"send",e,t,n):n("WebSocket is not connected")})),u_=yd("closeSocket",((e,{resolve:t,reject:n})=>{const o=r_[0];o?l_(o,"close",e,t,n):n("WebSocket is not connected")}));function d_(e){const t=`onSocket${L(e)}`;return hd(t,(()=>{i_[e]=t}))}const p_=d_("open"),f_=d_("error"),h_=d_("message"),g_=d_("close"),m_=yd("getLocation",(({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:i})=>{const a=ly();new Promise(((e,r)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition((t=>e({coords:t.coords})),r,{enableHighAccuracy:o||t,timeout:n||1e5}):r(new Error("device nonsupport geolocation"))})).catch((e=>new Promise(((t,n)=>{a.type===sy.QQ?Zv(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${a.key}`,{callback:"callback"},(e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))}),(()=>n(new Error("network error")))):a.type===sy.GOOGLE?Qb({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${a.key}`,success(e){const o=e.data;"location"in o?t({coords:{latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):a.type===sy.AMAP?ny([],(()=>{window.AMap.plugin("AMap.Geolocation",(()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition(((e,o)=>{"complete"===e?t({coords:{latitude:o.position.lat,longitude:o.position.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.message))}))}))})):n(e)})))).then((({coords:t,skip:n})=>{fy(e,t,n).then((e=>{r({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})})).catch((e=>{i(e.message)}))})).catch((e=>{i(e.message||JSON.stringify(e))}))}),0,ff);const v_=mu({name:"LocationView",props:{latitude:{type:Number},longitude:{type:Number},scale:{type:Number,default:18},name:{type:String,default:""},address:{type:String,default:""}},emits:["close"],setup(e,{emit:t}){const n=function(e){const t=Yt({center:{latitude:0,longitude:0},marker:{id:1,latitude:0,longitude:0,iconPath:ay,width:32,height:52},location:{id:2,latitude:0,longitude:0,iconPath:iy,width:44,height:44}});function n(){e.latitude&&e.longitude&&(t.center.latitude=e.latitude,t.center.longitude=e.longitude,t.marker.latitude=e.latitude,t.marker.longitude=e.longitude)}return io([()=>e.latitude,()=>e.longitude],n),n(),t}(e);function o(e){const t=e.detail.centerLocation;t&&(n.center.latitude=t.latitude,n.center.longitude=t.longitude)}function r(){const t=ly();let o="";if(t.type===sy.GOOGLE){o=`https://www.google.com/maps/dir/?api=1${n.location.latitude?`&origin=${n.location.latitude}%2C${n.location.longitude}`:""}&destination=${e.latitude}%2C${e.longitude}`}else if(t.type===sy.QQ){o=`https://apis.map.qq.com/uri/v1/routeplan?type=drive${n.location.latitude?`&fromcoord=${n.location.latitude}%2C${n.location.longitude}&from=${encodeURIComponent("我的位置")}`:""}&tocoord=${e.latitude}%2C${e.longitude}&to=${encodeURIComponent(e.name||"目的地")}&ref=${t.key}`}else if(t.type===sy.AMAP){o=`https://uri.amap.com/navigation?${n.location.latitude?`from=${n.location.longitude},${n.location.latitude},${encodeURIComponent("我的位置")}&`:""}to=${e.longitude},${e.latitude},${encodeURIComponent(e.name||"目的地")}`}window.open(o)}function i(){t("close")}function a({latitude:e,longitude:t}){n.center.latitude=e,n.center.longitude=t}return qb(),m_({type:"gcj02",success:({latitude:e,longitude:t})=>{n.location.latitude=e,n.location.longitude=t}}),()=>li("div",{class:"uni-system-open-location"},[li(Nx,{latitude:n.center.latitude,longitude:n.center.longitude,class:"map",markers:[n.marker,n.location],onRegionchange:o},{default:()=>[li("div",{class:"map-move",onClick:()=>a(n.location)},[kc(ry,"#000000",24)],8,["onClick"])]},8,["latitude","longitude","markers","onRegionchange"]),li("div",{class:"info"},[li("div",{class:"name",onClick:()=>a(n.marker)},[e.name],8,["onClick"]),li("div",{class:"address",onClick:()=>a(n.marker)},[e.address],8,["onClick"]),li("div",{class:"nav",onClick:r},[kc("M28 17c-6.49396875 0-12.13721875 2.57040625-15 6.34840625V5.4105l6.29859375 6.29859375c0.387875 0.387875 1.02259375 0.387875 1.4105 0 0.387875-0.387875 0.387875-1.02259375 0-1.4105L12.77853125 2.36803125a0.9978125 0.9978125 0 0 0-0.0694375-0.077125c-0.1944375-0.1944375-0.45090625-0.291375-0.70721875-0.290875l-0.00184375-0.0000625-0.00184375 0.0000625c-0.2563125-0.0005-0.51278125 0.09640625-0.70721875 0.290875a0.9978125 0.9978125 0 0 0-0.0694375 0.077125l-7.930625 7.9305625c-0.387875 0.387875-0.387875 1.02259375 0 1.4105 0.387875 0.387875 1.02259375 0.387875 1.4105 0L11 5.4105V29c0 0.55 0.45 1 1 1s1-0.45 1-1c0-5.52284375 6.71571875-10 15-10 0.55228125 0 1-0.44771875 1-1 0-0.55228125-0.44771875-1-1-1z","#ffffff",26)],8,["onClick"])]),li("div",{class:"nav-btn-back",onClick:i},[kc(Tc,"#ffffff",26)],8,["onClick"])])}});let y_=null;const b_=yd("openLocation",((e,{resolve:t})=>{y_?c(y_,e):(y_=Yt(e),Pn((()=>{const e=$b(v_,y_,(()=>{y_=null,Pn((()=>{e.unmount()}))}));e.mount(Rb("u-a-o"))}))),t()}),0,gf);const __=mu({name:"LoctaionPicker",props:{latitude:{type:Number},longitude:{type:Number}},emits:["close"],setup(e,{emit:t}){qb(),Rl();const{t:n}=Tl(),o=function(e){const t=Yt({latitude:0,longitude:0,keyword:"",searching:!1});function n(){e.latitude&&e.longitude&&(t.latitude=e.latitude,t.longitude=e.longitude)}return io([()=>e.latitude,()=>e.longitude],n),n(),t}(e),{list:r,listState:i,loadMore:a,reset:s,getList:l}=function(e){const t=__uniConfig.qqMapKey,n=Yt([]),o=un(-1),r=Li((()=>n[o.value])),i=Yt({loading:!0,pageSize:20,pageIndex:1,hasNextPage:!0,nextPage:null,selectedIndex:o,selected:r}),a=un(""),s=Li((()=>a.value?`region(${a.value},1,${e.latitude},${e.longitude})`:`nearby(${e.latitude},${e.longitude},5000)`));function l(e){e.forEach((e=>{n.push({name:e.title||e.name,address:e.address,distance:e._distance||e.distance,latitude:e.location.lat,longitude:e.location.lng})}))}function c(){i.loading=!0;const o=ly();if(o.type===sy.GOOGLE){if(i.pageIndex>1&&i.nextPage)return void i.nextPage();new google.maps.places.PlacesService(document.createElement("div"))[e.searching?"textSearch":"nearbySearch"]({location:{lat:e.latitude,lng:e.longitude},query:e.keyword,radius:5e3},((e,t,o)=>{i.loading=!1,e&&e.length&&e.forEach((e=>{n.push({name:e.name||"",address:e.vicinity||e.formatted_address||"",distance:0,latitude:e.geometry.location.lat(),longitude:e.geometry.location.lng()})})),o&&(o.hasNextPage?i.nextPage=()=>{o.nextPage()}:i.hasNextPage=!1)}))}else o.type===sy.QQ?Zv(e.searching?`https://apis.map.qq.com/ws/place/v1/search?output=jsonp&key=${t}&boundary=${s.value}&keyword=${e.keyword}&page_size=${i.pageSize}&page_index=${i.pageIndex}`:`https://apis.map.qq.com/ws/geocoder/v1/?output=jsonp&key=${t}&location=${e.latitude},${e.longitude}&get_poi=1&poi_options=page_size=${i.pageSize};page_index=${i.pageIndex}`,{callback:"callback"},(t=>{if(i.loading=!1,e.searching&&"data"in t&&t.data.length)l(t.data);else if("result"in t){const e=t.result;a.value=e.ad_info?e.ad_info.adcode:"",e.pois&&l(e.pois)}n.length===i.pageSize*i.pageIndex&&(i.hasNextPage=!1)}),(()=>{i.loading=!1})):o.type===sy.AMAP&&window.AMap.plugin("AMap.PlaceSearch",(function(){const t=new window.AMap.PlaceSearch({city:"全国",pageSize:10,pageIndex:i.pageIndex}),n=e.searching?e.keyword:"",o=e.searching?5e4:5e3;t.searchNearBy(n,[e.longitude,e.latitude],o,(function(e,t){"error"===e?console.error(t):"no_data"===e?i.hasNextPage=!1:l(t.poiList.pois)})),i.loading=!1}))}return{listState:i,list:n,loadMore:function(){!i.loading&&i.hasNextPage&&(i.pageIndex++,c())},reset:function(){i.selectedIndex=-1,i.pageIndex=1,i.hasNextPage=!0,i.nextPage=null,n.splice(0,n.length)},getList:c}}(o),u=Ae((()=>{s(),o.keyword&&l()}),1e3,{setTimeout:setTimeout,clearTimeout:clearTimeout});function d(e){o.keyword=e.detail.value,u()}function p(){t("close",c({},i.selected))}function f(){t("close")}function h(e){const t=e.detail.centerLocation;t&&m(t)}function g(){m_({type:"gcj02",success:m,fail:()=>{}})}function m({latitude:e,longitude:t}){o.latitude=e,o.longitude=t,o.searching||(s(),l())}return io((()=>o.searching),(e=>{s(),e||l()})),o.latitude&&o.longitude||g(),()=>{const e=r.map(((e,t)=>{return li("div",{key:t,class:{"list-item":!0,selected:i.selectedIndex===t},onClick:()=>{i.selectedIndex=t,o.latitude=e.latitude,o.longitude=e.longitude}},[kc(Cc,"#007aff",24),li("div",{class:"list-item-title"},[e.name]),li("div",{class:"list-item-detail"},[(n=e.distance,n>100?`${n>1e3?(n/1e3).toFixed(1)+"k":n.toFixed(0)}m | `:n>0?"<100m | ":""),e.address])],10,["onClick"]);var n}));return i.loading&&e.unshift(li("div",{class:"list-loading"},[li("i",{class:"uni-loading"},null)])),li("div",{class:"uni-system-choose-location"},[li(Nx,{latitude:o.latitude,longitude:o.longitude,class:"map","show-location":!0,libraries:["places"],onUpdated:l,onRegionchange:h},{default:()=>[li("div",{class:"map-location",style:`background-image: url("${ay}")`},null),li("div",{class:"map-move",onClick:g},[kc(ry,"#000000",24)],8,["onClick"])],_:1},8,["latitude","longitude","show-location","onUpdated","onRegionchange"]),li("div",{class:"nav"},[li("div",{class:"nav-btn back",onClick:f},[kc(Sc,"#ffffff",26)],8,["onClick"]),li("div",{class:{"nav-btn":!0,confirm:!0,disable:!i.selected},onClick:p},[kc(Cc,"#ffffff",26)],10,["onClick"])]),li("div",{class:"menu"},[li("div",{class:"search"},[li(cm,{value:o.keyword,class:"search-input",placeholder:n("uni.chooseLocation.search"),onFocus:()=>o.searching=!0,onInput:d},null,8,["value","placeholder","onFocus","onInput"]),o.searching&&li("div",{class:"search-btn",onClick:()=>{o.searching=!1,o.keyword=""}},[n("uni.chooseLocation.cancel")],8,["onClick"])]),li(Km,{"scroll-y":!0,class:"list",onScrolltolower:a},(t=e,"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!ni(t)?e:{default:()=>[e],_:2}),8,["scroll-y","onScrolltolower"])])]);var t}}});let w_=null;const x_=yd("chooseLocation",((e,{resolve:t,reject:n})=>{w_?n("cancel"):(w_=Yt(e),Pn((()=>{const e=$b(__,w_,(o=>{w_=null,Pn((()=>{e.unmount()})),o?t(o):n("cancel")}));e.mount(Rb("u-a-c"))})))}));let T_=!1,S_=0;const C_=yd("startLocationUpdate",((e,{resolve:t,reject:n})=>{navigator.geolocation?(S_=S_||navigator.geolocation.watchPosition((n=>{T_=!0,fy(null==e?void 0:e.type,n.coords).then((e=>{Kx.invokeOnCallback("onLocationChange",e),t()})).catch((e=>{Kx.invokeOnCallback("onLocationChangeError",{errMsg:`onLocationChange:fail ${e.message}`})}))}),(e=>{T_||(n(e.message),T_=!0),Kx.invokeOnCallback("onLocationChangeError",{errMsg:`onLocationChange:fail ${e.message}`})})),setTimeout(t,100)):n()}),0,Lf),k_=yd("stopLocationUpdate",((e,{resolve:t})=>{S_&&(navigator.geolocation.clearWatch(S_),T_=!1,S_=0),t()})),E_=hd("onLocationChange",(()=>{})),A_=gd("offLocationChange",(()=>{})),M_=hd("onLocationChangeError",(()=>{})),P_=gd("offLocationChangeError",(()=>{})),L_=yd("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===Dc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(Rv().$router.go(-e.delta),t()):n("onBackPress")}),0,Bf),O_=yd("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Mh.handledBeforeEntryPageRoutes)return hh({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Ph.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,If),I_=yd("preloadPage",(({url:e},{resolve:t,reject:n})=>{const o=Fc(e.split("?")[0]);o?o.loader&&o.loader().then((()=>{t({url:e,errMsg:"preloadPage:ok"})})).catch((t=>{n(`${e} ${String(t)}`)})):n(`${e}}`)}));function $_(e){__uniConfig.darkmode&&Kx.on("onThemeChange",e)}function R_(e){Kx.off("onThemeChange",e)}function D_(e){let t={};return __uniConfig.darkmode&&(t=je(e,__uniConfig.themeConfig,Ay())),__uniConfig.darkmode?t:e}function B_(e,t){const n=Qt(e),o=n?Yt(D_(e)):D_(e);return __uniConfig.darkmode&&n&&io(e,(e=>{const t=D_(e);for(const n in t)o[n]=t[n]})),t&&$_(t),o}const N_={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},j_=So({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=un(""),o=()=>a.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),a=Db(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),s=function(e){const t=un(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=N_[e].cancelColor})(e,t)};return oo((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Ay()&&n({theme:"dark"}),$_(n))):R_(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:p}=e;return n.value=o,li(ji,{name:"uni-fade"},{default:()=>[uo(li("uni-modal",{onTouchmove:cc},[Ib,li("div",{class:"uni-modal"},[t?li("div",{class:"uni-modal__hd"},[li("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?li("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:p,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):li("div",{class:"uni-modal__bd",onTouchmovePassive:uc,textContent:o},null,40,["onTouchmovePassive","textContent"]),li("div",{class:"uni-modal__ft"},[l&&li("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),li("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Zi,a.value]])]})}}});let q_;const z_=se((()=>{Kx.on("onHidePopup",(()=>q_.visible=!1))}));let F_;function V_(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&q_.editable&&(o.content=t),F_&&F_(o)}const U_=yd("showModal",((e,{resolve:t})=>{z_(),F_=t,q_?(c(q_,e),q_.visible=!0):(q_=Yt(e),Pn((()=>($b(j_,q_,V_).mount(Rb("u-a-m")),Pn((()=>q_.visible=!0))))))}),0,Yf),W_={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Xf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},H_={light:"#fff",dark:"rgba(255,255,255,0.9)"},Y_=e=>H_[e],X_=So({name:"Toast",props:W_,setup(e){El(),Al();const{Icon:t}=function(e){const t=un(Y_(Ay())),n=({theme:e})=>t.value=Y_(e);oo((()=>{e.visible?$_(n):R_(n)}));return{Icon:Li((()=>{switch(e.icon){case"success":return li(kc(wc,t.value,38),{class:"uni-toast__icon"});case"error":return li(kc(xc,t.value,38),{class:"uni-toast__icon"});case"loading":return li("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Db(e,{});return()=>{const{mask:o,duration:r,title:i,image:a}=e;return li(ji,{name:"uni-fade"},{default:()=>[uo(li("uni-toast",{"data-duration":r},[o?li("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:cc},null,40,["onTouchmove"]):"",a||t.value?li("div",{class:"uni-toast"},[a?li("img",{src:a,class:"uni-toast__icon"},null,10,["src"]):t.value,li("p",{class:"uni-toast__content"},[i])]):li("div",{class:"uni-sample-toast"},[li("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Zi,n.value]])]})}}});let G_,K_,Q_="";const J_=Ve();function Z_(e){G_?c(G_,e):(G_=Yt(c(e,{visible:!1})),Pn((()=>{J_.run((()=>{io([()=>G_.visible,()=>G_.duration],(([e,t])=>{if(e){if(K_&&clearTimeout(K_),"onShowLoading"===Q_)return;K_=setTimeout((()=>{iw("onHideToast")}),t)}else K_&&clearTimeout(K_)}))})),Kx.on("onHidePopup",(()=>iw("onHidePopup"))),$b(X_,G_,(()=>{})).mount(Rb("u-a-t"))}))),setTimeout((()=>{G_.visible=!0}),10)}const ew=yd("showToast",((e,{resolve:t,reject:n})=>{Z_(e),Q_="onShowToast",t()}),0,Gf),tw={icon:"loading",duration:1e8,image:""},nw=yd("showLoading",((e,{resolve:t,reject:n})=>{c(e,tw),Z_(e),Q_="onShowLoading",t()}),0,Hf),ow=yd("hideToast",((e,{resolve:t,reject:n})=>{iw("onHideToast"),t()})),rw=yd("hideLoading",((e,{resolve:t,reject:n})=>{iw("onHideLoading"),t()}));function iw(e){const{t:t}=Tl();if(!Q_)return;let n="";if("onHideToast"===e&&"onShowToast"!==Q_?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Q_&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Q_="",setTimeout((()=>{G_.visible=!1}),10)}function aw(e){const t=un(0),n=un(0),o=Li((()=>t.value>=500&&n.value>=500)),r=Li((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},r=t.content,i=t.triangle,a=e.popover;function s(e){return Number(e)||0}if(o.value&&a){c(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=s(a.left),t=s(a.width),o=s(a.top),l=s(a.height),u=e+t/2;r.transform="none !important";const d=Math.max(0,u-150);r.left=`${d}px`;let p=Math.max(12,u-d);p=Math.min(288,p),i.left=`${p}px`;const f=n.value/2;o+l-f>f-o?(r.top="auto",r.bottom=n.value-o+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(r.top=`${o+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return Uo((()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=uni.getSystemInfoSync();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),Xo((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:o,popupStyle:r}}const sw={light:{listItemColor:"#000000",cancelItemColor:"#000000"},dark:{listItemColor:"rgba(255, 255, 255, 0.8)",cancelItemColor:"rgba(255, 255, 255)"}};const lw=So({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}){kl();const n=un(260),o=un(0),r=un(0),i=un(0),a=un(0),s=un(null),l=un(null),{t:c}=Tl(),{_close:u}=function(e,t){function n(e){t("close",e)}const{key:o,disable:r}=Ob();return io((()=>e.visible),(e=>r.value=!e)),oo((()=>{const{value:e}=o;"esc"===e&&n&&n(-1)})),{_close:n}}(e,t),{popupStyle:d}=aw(e);let p;function f(e){const t=i.value+e.deltaY;Math.abs(t)>10?(a.value+=t/3,a.value=a.value>=o.value?o.value:a.value<=0?0:a.value,p.scrollTo(a.value)):i.value=t,e.preventDefault()}Uo((()=>{const{scroller:e,handleTouchStart:t,handleTouchMove:n,handleTouchEnd:o}=zm(s.value,{enableY:!0,friction:new Rm(1e-4),spring:new Nm(2,90,20),onScroll:e=>{a.value=e.target.scrollTop}});p=e,bm(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)})),io((()=>e.visible),(()=>{Pn((()=>{e.title&&(r.value=document.querySelector(".uni-actionsheet__title").offsetHeight),p.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 h=function(e){const t=Yt({listItemColor:"#000",cancelItemColor:"#000"}),n=({theme:e})=>{!function(e,t){["listItemColor","cancelItemColor"].forEach((n=>{t[n]=sw[e][n]}))}(e,t)};return oo((()=>{e.visible?(t.listItemColor=t.cancelItemColor=e.itemColor,"#000"===e.itemColor&&(n({theme:Ay()}),$_(n))):R_(n)})),t}(e);return()=>li("uni-actionsheet",{onTouchmove:cc},[li(ji,{name:"uni-fade"},{default:()=>[uo(li("div",{class:"uni-mask uni-actionsheet__mask",onClick:()=>u(-1)},null,8,["onClick"]),[[Zi,e.visible]])]}),li("div",{class:["uni-actionsheet",{"uni-actionsheet_toggle":e.visible}],style:d.value.content},[li("div",{ref:l,class:"uni-actionsheet__menu",onWheel:f},[e.title?li(Ur,null,[li("div",{class:"uni-actionsheet__cell",style:{height:`${r.value}px`}},null),li("div",{class:"uni-actionsheet__title"},[e.title])]):"",li("div",{style:{maxHeight:`${n.value}px`,overflow:"hidden"}},[li("div",{ref:s},[e.itemList.map(((e,t)=>li("div",{key:t,style:{color:h.listItemColor},class:"uni-actionsheet__cell",onClick:()=>u(t)},[e],12,["onClick"])))],512)])],40,["onWheel"]),li("div",{class:"uni-actionsheet__action"},[li("div",{style:{color:h.cancelItemColor},class:"uni-actionsheet__cell",onClick:()=>u(-1)},[c("uni.showActionSheet.cancel")],12,["onClick"])]),li("div",{style:d.value.triangle},null,4)],6)],40,["onTouchmove"])}});let cw,uw,dw;const pw=se((()=>{Kx.on("onHidePopup",(()=>dw.visible=!1))}));function fw(e){-1===e?uw&&uw("cancel"):cw&&cw({tapIndex:e})}const hw=yd("showActionSheet",((e,{resolve:t,reject:n})=>{pw(),cw=t,uw=n,dw?(c(dw,e),dw.visible=!0):(dw=Yt(e),Pn((()=>($b(lw,dw,fw).mount(Rb("u-s-a-s")),Pn((()=>dw.visible=!0))))))}),0,Wf),gw=yd("loadFontFace",(({family:e,source:t,desc:n},{resolve:o,reject:r})=>{(function(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then((()=>{o.add&&o.add(r)}))}return new Promise((o=>{const r=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:a,featureSettings:s}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),o&&i.push(`font-stretch:${o}`),r&&i.push(`unicode-range:${r}`),a&&i.push(`font-variant:${a}`),s&&i.push(`font-feature-settings:${s}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(r),o()}))})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Jh(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Jh(t.substring(4,t.length-1))}')`:Jh(t),n).then((()=>{o()})).catch((e=>{r(`loadFontFace:fail ${e}`)}))}));function mw(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Kx.emit("onNavigationBarChange",{titleText:t})}oo(t),Io(t)}function vw(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:a}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=a;break;case"showNavigationBarLoading":i.loading=!0;break;case"hideNavigationBarLoading":i.loading=!1;break;case"setNavigationBarTitle":const{title:s}=n;i.titleText=s}o()}const yw=yd("setNavigationBarColor",((e,{resolve:t,reject:n})=>{vw(Pc(),"setNavigationBarColor",e,t,n)}),0,Vf),bw=yd("showNavigationBarLoading",((e,{resolve:t,reject:n})=>{vw(Pc(),"showNavigationBarLoading",e||{},t,n)})),_w=yd("hideNavigationBarLoading",((e,{resolve:t,reject:n})=>{vw(Pc(),"hideNavigationBarLoading",e||{},t,n)})),ww=yd("setNavigationBarTitle",((e,{resolve:t,reject:n})=>{vw(Pc(),"setNavigationBarTitle",e,t,n)})),xw=yd("pageScrollTo",(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t,n){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 o=document.documentElement,{clientHeight:r,scrollHeight:i}=o;if(e=Math.min(e,i-r),0===t)return void(o.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,Uf),Tw=yd("startPullDownRefresh",((e,{resolve:t})=>{Kx.invokeViewMethod("startPullDownRefresh",{},Lc()),t()})),Sw=yd("stopPullDownRefresh",((e,{resolve:t})=>{Kx.invokeViewMethod("stopPullDownRefresh",{},Lc()),t()})),Cw=["text","iconPath","iconfont","selectedIconPath","visible"],kw=["color","selectedColor","backgroundColor","borderStyle","borderColor","midButton"],Ew=["badge","redDot"];function Aw(e,t,n){t.forEach((function(t){p(n,t)&&(e[t]=n[t])}))}function Mw(e,t,n,o){var r;let i=!1;const a=Dh();if(a.length&&Ah(a[a.length-1]).meta.isTabBar&&(i=!0),!i)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=vh();switch(e){case"showTabBar":l.shown=!0;break;case"hideTabBar":l.shown=!1;break;case"setTabBarItem":const e=l.list[s],n=e.pagePath;Aw(e,Cw,t);const{pagePath:o}=t;if(o){const e=re(o);e!==n&&function(e,t,n){const o=Fc(re(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const r=Fc(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=ie(n))}}(s,n,e)}break;case"setTabBarStyle":Aw(l,kw,t);break;case"showTabBarRedDot":Aw(l.list[s],Ew,{badge:"",redDot:!0});break;case"setTabBarBadge":Aw(l.list[s],Ew,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":Aw(l.list[s],Ew,{badge:"",redDot:!1})}n()}const Pw=yd("setTabBarItem",((e,{resolve:t,reject:n})=>{Mw("setTabBarItem",e,t,n)}),0,Qf),Lw=yd("setTabBarStyle",((e,{resolve:t,reject:n})=>{Mw("setTabBarStyle",e,t,n)}),0,Zf),Ow=yd("hideTabBar",((e,{resolve:t,reject:n})=>{Mw("hideTabBar",e||{},t,n)})),Iw=yd("showTabBar",((e,{resolve:t,reject:n})=>{Mw("showTabBar",e||{},t,n)})),$w=yd("hideTabBarRedDot",((e,{resolve:t,reject:n})=>{Mw("hideTabBarRedDot",e,t,n)}),0,eh),Rw=yd("showTabBarRedDot",((e,{resolve:t,reject:n})=>{Mw("showTabBarRedDot",e,t,n)}),0,th),Dw=yd("removeTabBarBadge",((e,{resolve:t,reject:n})=>{Mw("removeTabBarBadge",e,t,n)}),0,nh),Bw=yd("setTabBarBadge",((e,{resolve:t,reject:n})=>{Mw("setTabBarBadge",e,t,n)}),0,oh),Nw=mu({name:"TabBar",setup(){const e=un([]),t=vh(),n=B_(t,(()=>{const e=D_(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}un(c({type:"midButton"},e.midButton)),oo(n)}(n,e),function(e){io((()=>e.shown),(t=>{gc({"--window-bottom":kh(t?parseInt(e.height):0)})}))}(n);const o=function(e,t,n){return oo((()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex((t=>t.pagePath===e));t.selectedIndex=r}})),(t,n)=>()=>{const{pagePath:o,text:r}=t;let i=re(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?uni.switchTab({from:"tabBar",url:i,tabBarText:r}):Dc("onTabItemTap",{index:n,text:r,pagePath:o})}}(sl(),n,e),{style:r,borderStyle:i,placeholderStyle:a}=function(e){const t=Li((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||xh&&n&&"none"!==n&&(t=jw[n]),{backgroundColor:t||"#f7f7fa",backdropFilter:"none"!==n?"blur(10px)":n}})),n=Li((()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:qw[t]||qw.black}})),o=Li((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return Uo((()=>{n.iconfontSrc&&gw({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map(((n,a)=>{const s=o===a;return function(e,t,n,o,r,i,a,s){return li("div",{key:a,class:"uni-tabbar__item",onClick:s(r,a)},[zw(e,t||"",n,o,r,i)],8,["onClick"])}(s?r:i,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,a,t)}))}(n,o,e);return li("uni-tabbar",{class:"uni-tabbar-"+n.position},[li("div",{class:"uni-tabbar",style:r.value},[li("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),li("div",{class:"uni-placeholder",style:a.value},null,4)],2)}}});const jw={dark:"rgb(0, 0, 0, 0.8)",light:"rgb(250, 250, 250, 0.8)",extralight:"rgb(250, 250, 250, 0.8)"},qw={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function zw(e,t,n,o,r,i){const{height:a}=i;return li("div",{class:"uni-tabbar__bd",style:{height:a}},[n?Vw(n,o||"rgb(0, 0, 0, 0.8)",r,i):t&&Fw(t,r,i),r.text&&Uw(e,r,i),r.redDot&&Ww(r.badge)],4)}function Fw(e,t,n){const{type:o,text:r}=t,{iconWidth:i}=n;return li("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==o&&li("img",{src:Jh(e)},null,8,["src"])],6)}function Vw(e,t,n,o){var r;const{type:i,text:a}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||s,color:t};return li("div",{class:l,style:c},["midButton"!==i&&li("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Uw(e,t,n){const{iconPath:o,text:r}=t,{fontSize:i,spacing:a}=n;return li("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:o?"normal":1.8,marginTop:o?a:"inherit"}},[r],4)}function Ww(e){return li("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}let Hw;function Yw(){return Hw}const Xw=mu({name:"Layout",setup(e,{emit:t}){const n=un(null);hc({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=sl();return{routeKey:Li((()=>zh("/"+e.meta.route,Ou()))),isTabBar:Li((()=>e.meta.isTabBar)),routeCache:Vh}}(),{layoutState:r,windowState:i}=function(){Lu();{const e=Yt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return io((()=>e.marginWidth),(e=>hc({"--window-margin":e+"px"}))),io((()=>e.leftWindowWidth+e.marginWidth),(e=>{hc({"--window-left":e+"px"})})),io((()=>e.rightWindowWidth+e.marginWidth),(e=>{hc({"--window-right":e+"px"})})),{layoutState:e,windowState:Li((()=>({})))}}}();!function(e,t){const n=Lu();function o(){const o=document.body.clientWidth,r=Dh();let i={};if(r.length>0){i=Ah(r[r.length-1]).meta}else{const e=Fc(n.path,!0);e&&(i=e.meta)}const a=parseInt(String((p(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>a,s&&a?(e.marginWidth=(o-a)/2,Pn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")}))):(e.marginWidth=0,Pn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}io([()=>n.path],o),Uo((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const a=function(e){const t=Lu(),n=vh(),o=Li((()=>t.meta.isTabBar&&n.shown));return hc({"--tab-bar-height":n.height}),o}(),s=function(e){const t=un(!1);return Li((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(a);return Hw=r,()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return li(il,null,{default:Wn((({Component:o})=>[(Kr(),ti(Lo,{matchBy:"key",cache:n},[(Kr(),ti(Jn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o),t=function(e){return uo(li(Nw,null,null,512),[[Zi,e.value]])}(a);return li("uni-app",{ref:n,class:s.value},[e,t],2)}}});const Gw=yd("showTopWindow",((e,{resolve:t,reject:n})=>{const o=Yw();o?(o.apiShowTopWindow=!0,Pn(t)):n()})),Kw=yd("hideTopWindow",((e,{resolve:t,reject:n})=>{const o=Yw();o?(o.apiShowTopWindow=!1,Pn(t)):n()})),Qw=yd("showLeftWindow",((e,{resolve:t,reject:n})=>{const o=Yw();o?(o.apiShowLeftWindow=!0,Pn(t)):n()})),Jw=yd("hideLeftWindow",((e,{resolve:t,reject:n})=>{const o=Yw();o?(o.apiShowLeftWindow=!1,Pn(t)):n()})),Zw=yd("showRightWindow",((e,{resolve:t,reject:n})=>{const o=Yw();o?(o.apiShowRightWindow=!0,Pn(t)):n()})),ex=yd("hideRightWindow",((e,{resolve:t,reject:n})=>{const o=Yw();o?(o.apiShowRightWindow=!1,Pn(t)):n()})),tx=vd(0,(()=>{const e=Yw();return c({},e&&e.topWindowStyle)})),nx=vd(0,(e=>{const t=Yw();t&&(t.topWindowStyle=e)})),ox=vd(0,(()=>{const e=Yw();return c({},e&&e.leftWindowStyle)})),rx=vd(0,(e=>{const t=Yw();t&&(t.leftWindowStyle=e)})),ix=vd(0,(()=>{const e=Yw();return c({},e&&e.rightWindowStyle)})),ax=vd(0,(e=>{const t=Yw();t&&(t.rightWindowStyle=e)})),sx=vd(0,(e=>{const t=document.querySelector("uni-page-body");return t?t.querySelector(`#${e}`):null})),lx=yd("saveImageToPhotosAlbum",xd("saveImageToPhotosAlbum")),cx=vd(0,_d("getRecorderManager")),ux=yd("saveVideoToPhotosAlbum",xd("saveVideoToPhotosAlbum")),dx=vd(0,_d("createCameraContext")),px=vd(0,_d("createLivePlayerContext")),fx=yd("saveFile",xd("saveFile")),hx=yd("getSavedFileList",xd("getSavedFileList")),gx=yd("getSavedFileInfo",xd("getSavedFileInfo")),mx=yd("removeSavedFile",xd("removeSavedFile")),vx=hd("onMemoryWarning",wd("onMemoryWarning")),yx=hd("onGyroscopeChange",wd("onGyroscopeChange")),bx=yd("startGyroscope",xd("startGyroscope")),_x=yd("stopGyroscope",xd("stopGyroscope")),xx=yd("scanCode",xd("scanCode")),Tx=yd("setScreenBrightness",xd("setScreenBrightness")),Sx=yd("getScreenBrightness",xd("getScreenBrightness")),Cx=yd("setKeepScreenOn",xd("setKeepScreenOn")),kx=hd("onUserCaptureScreen",wd("onUserCaptureScreen")),Ex=yd("addPhoneContact",xd("addPhoneContact")),Ax=yd("login",xd("login")),Mx=yd("getProvider",xd("getProvider")),Px=Object.defineProperty({__proto__:null,$emit:Fd,$off:zd,$on:jd,$once:qd,__f__:function(e,t,...n){t&&n.push(t),console[e].apply(console,n)},addInterceptor:Dd,addPhoneContact:Ex,arrayBufferToBase64:Sd,base64ToArrayBuffer:Td,canIUse:Sh,canvasGetImageData:gp,canvasPutImageData:mp,canvasToTempFilePath:vp,chooseFile:Eb,chooseImage:Mb,chooseLocation:x_,chooseVideo:Kb,clearStorage:mb,clearStorageSync:gb,closePreviewImage:Xb,closeSocket:u_,connectSocket:s_,createAnimation:qp,createCameraContext:dx,createCanvasContext:hp,createInnerAudioContext:Ty,createIntersectionObserver:Cp,createLivePlayerContext:px,createMapContext:Xd,createMediaQueryObserver:Ap,createSelectorQuery:Rp,createVideoContext:Wd,cssBackdropFilter:xh,cssConstant:wh,cssEnv:_h,cssVar:bh,downloadFile:t_,getAppBaseInfo:Ry,getClipboardData:ob,getDeviceInfo:$y,getElementById:sx,getEnterOptionsSync:Jp,getFileInfo:bb,getImageInfo:xb,getLaunchOptionsSync:Zp,getLeftWindowStyle:ox,getLocale:Up,getLocation:m_,getNetworkType:Fy,getProvider:Mx,getPushClientId:sf,getRecorderManager:cx,getRightWindowStyle:ix,getSavedFileInfo:gx,getSavedFileList:hx,getScreenBrightness:Sx,getSelectedTextRange:Xp,getStorage:pb,getStorageInfo:yb,getStorageInfoSync:vb,getStorageSync:db,getSystemInfo:By,getSystemInfoSync:Dy,getTabBarPageId:lh,getTopWindowStyle:tx,getVideoInfo:Tb,getWindowInfo:Py,hideActionSheet:()=>{dw&&(dw.visible=!1)},hideKeyboard:wb,hideLeftWindow:Jw,hideLoading:rw,hideModal:()=>{q_&&(q_.visible=!1)},hideNavigationBarLoading:_w,hideRightWindow:ex,hideTabBar:Ow,hideTabBarRedDot:$w,hideToast:ow,hideTopWindow:Kw,interceptors:{},invokePushCallback:function(e){if("enabled"===e.type)nf=!0;else if("clientId"===e.type)ef=e.cid,tf=e.errMsg,af(ef,e.errMsg);else if("pushMsg"===e.type){const t={type:"receive",data:of(e.message)};for(let e=0;e<lf.length;e++){if((0,lf[e])(t),t.stopped)break}}else"click"===e.type&&lf.forEach((t=>{t({type:"click",data:of(e.message)})}))},loadFontFace:gw,login:Ax,makePhoneCall:Sy,navigateBack:L_,navigateTo:O_,offAccelerometerChange:Wy,offAppHide:function(e){Qp("onHide",e)},offAppShow:function(e){Qp("onShow",e)},offCompassChange:Ky,offError:function(e){Qp("onError",e)},offLocationChange:A_,offLocationChangeError:P_,offNetworkStatusChange:zy,offPageNotFound:function(e){Qp("onPageNotFound",e)},offPushMessage:e=>{if(e){const t=lf.indexOf(e);t>-1&&lf.splice(t,1)}else lf.length=0},offThemeChange:sb,offUnhandledRejection:function(e){Qp("onUnhandledRejection",e)},offWindowResize:Vp,onAccelerometerChange:Uy,onAppHide:function(e){Kp("onHide",e)},onAppShow:function(e){Kp("onShow",e)},onCompassChange:Gy,onCreateVueApp:function(e){if(Oe)return e(Oe);Ie.push(e)},onError:function(e){Kp("onError",e)},onGyroscopeChange:yx,onLocaleChange:Wp,onLocationChange:E_,onLocationChangeError:M_,onMemoryWarning:vx,onNetworkStatusChange:qy,onPageNotFound:function(e){Kp("onPageNotFound",e)},onPushMessage:e=>{-1===lf.indexOf(e)&&lf.push(e)},onSocketClose:g_,onSocketError:f_,onSocketMessage:h_,onSocketOpen:p_,onTabBarMidButtonTap:zp,onThemeChange:ab,onUnhandledRejection:function(e){Kp("onUnhandledRejection",e)},onUserCaptureScreen:kx,onWindowResize:Fp,openDocument:_b,openLocation:b_,pageScrollTo:xw,preloadPage:I_,previewImage:Yb,reLaunch:fh,redirectTo:dh,removeAllPages:ph,removeInterceptor:Bd,removeLastPage:uh,removeNonTabBarPages:ah,removeSavedFile:mx,removeStorage:hb,removeStorageSync:fb,removeTabBarBadge:Dw,request:Qb,rpx2px:Id,saveFile:fx,saveImageToPhotosAlbum:lx,saveVideoToPhotosAlbum:ux,scanCode:xx,sendSocketMessage:c_,setClipboardData:rb,setKeepScreenOn:Cx,setLeftWindowStyle:rx,setLocale:Hp,setNavigationBarColor:yw,setNavigationBarTitle:ww,setPageMeta:Yp,setRightWindowStyle:ax,setScreenBrightness:Tx,setStorage:cb,setStorageSync:lb,setTabBarBadge:Bw,setTabBarItem:Pw,setTabBarStyle:Lw,setTopWindowStyle:nx,showActionSheet:hw,showLeftWindow:Qw,showLoading:nw,showModal:U_,showNavigationBarLoading:bw,showRightWindow:Zw,showTabBar:Iw,showTabBarRedDot:Rw,showToast:ew,showTopWindow:Gw,startAccelerometer:Hy,startCompass:Qy,startGyroscope:bx,startLocationUpdate:C_,startPullDownRefresh:Tw,stopAccelerometer:Yy,stopCompass:Jy,stopGyroscope:_x,stopLocationUpdate:k_,stopPullDownRefresh:Sw,switchTab:ch,uploadFile:o_,upx2px:Id,vibrateLong:tb,vibrateShort:eb},Symbol.toStringTag,{value:"Module"}),Lx=mu({name:"MapLocation",setup(){const e=Yt({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){m_({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{i=setTimeout(n,3e4)}})},o=function(){i&&clearTimeout(i),Ky(t)};const r=Sr("onMapReady");let i;Gy(t),r(n),Xo(o);const a=Sr("addMapChidlContext"),s=Sr("removeMapChidlContext"),l={id:"MAP_LOCATION",state:e};a(l),Xo((()=>s(l)))}return()=>e.latitude?li(hy,gi({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:iy},e),null,16,["iconPath"]):null}}),Ox=mu({name:"MapPolygon",props:{dashArray:{type:Array,default:()=>[0,0]},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},setup(e){let t;return Sr("onMapReady")(((n,o,r)=>{function i(){const{points:r,strokeWidth:i,strokeColor:a,dashArray:s,fillColor:l,zIndex:c}=e,u=r.map((e=>{const{latitude:t,longitude:n}=e;return dy()?[n,t]:py()?new o.Point(n,t):new o.LatLng(t,n)})),{r:d,g:p,b:f,a:h}=gy(l),{r:g,g:m,b:v,a:y}=gy(a),b={clickable:!0,cursor:"crosshair",editable:!1,map:n,fillColor:"",path:u,strokeColor:"",strokeDashStyle:s.some((e=>e>0))?"dash":"solid",strokeWeight:i,visible:!0,zIndex:c};o.Color?(b.fillColor=new o.Color(d,p,f,h),b.strokeColor=new o.Color(g,m,v,y)):(b.fillColor=`rgb(${d}, ${p}, ${f})`,b.fillOpacity=h,b.strokeColor=`rgb(${g}, ${m}, ${v})`,b.strokeOpacity=y),t?t.setOptions(b):py()?(t=new o.Polygon(b.path,b),n.addOverlay(t)):t=new o.Polygon(b)}i(),io(e,i)})),Xo((()=>{t.setMap(null)})),()=>null}});function Ix(e){const t=[];return f(e)&&e.forEach((e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})})),t}function $x(e,t,n){return py()?function(e,t,n){return new e.Point(n,t)}(e,t,n):dy()?function(e,t,n){return new e.LngLat(n,t)}(e,t,n):function(e,t,n){return new e.LatLng(t,n)}(e,t,n)}function Rx(e){return"getLat"in e?e.getLat():py()?e.lat:e.lat()}function Dx(e){return"getLng"in e?e.getLng():py()?e.lng:e.lng()}function Bx(e,t,n){const o=yu(t,n),r=un(null);let i,a;const s=Yt({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:Ix(e.includePoints)}),l=[];let u,d;function p(e){u?e(a,i,o):l.push(e)}const f=[];function h(e){d?e():l.push(e)}const g={};function m(){const e=a.getCenter();return{scale:a.getZoom(),centerLocation:{latitude:Rx(e),longitude:Dx(e)}}}function v(){if(dy()){const e=[];s.includePoints.forEach((t=>{e.push([t.longitude,t.latitude])}));const t=new i.Bounds(...e);a.setBounds(t)}else if(py());else{const e=new i.LatLngBounds;s.includePoints.forEach((({latitude:t,longitude:n})=>{const o=new i.LatLng(t,n);e.extend(o)})),a.fitBounds(e)}}function y(){const t=r.value,l=$x(i,s.latitude,s.longitude),u=i.event||i.Event,p=new i.Map(t,{center:l,zoom:Number(e.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0});if(py()&&(p.centerAndZoom(l,Number(e.scale)),p.enableScrollWheelZoom(),p._printLog&&p._printLog("uniapp")),io((()=>e.scale),(e=>{p.setZoom(Number(e)||16)})),h((()=>{s.includePoints.length&&(v(),function(){const e=$x(i,s.latitude,s.longitude);a.setCenter(e)}())})),py())p.addEventListener("click",(()=>{o("tap",{},{}),o("click",{},{})})),p.addEventListener("dragstart",(()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})})),p.addEventListener("dragend",(()=>{o("regionchange",{},c({type:"end",causedBy:"drag"},m()))}));else{const e=u.addListener(p,"bounds_changed",(()=>{e.remove(),d=!0,f.forEach((e=>e())),f.length=0}));u.addListener(p,"click",(()=>{o("tap",{},{}),o("click",{},{})})),u.addListener(p,"dragstart",(()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})})),u.addListener(p,"dragend",(()=>{o("regionchange",{},c({type:"end",causedBy:"drag"},m()))}));const t=()=>{n("update:scale",p.getZoom()),o("regionchange",{},c({type:"end",causedBy:"scale"},m()))};u.addListener(p,"zoom_changed",t),u.addListener(p,"zoomend",t),u.addListener(p,"center_changed",(()=>{const e=p.getCenter(),t=Rx(e),o=Dx(e);n("update:latitude",t),n("update:longitude",o)}))}return p}io([()=>e.latitude,()=>e.longitude],(([e,t])=>{const n=Number(e),o=Number(t);if((n!==s.latitude||o!==s.longitude)&&(s.latitude=n,s.longitude=o,a)){const e=$x(i,s.latitude,s.longitude);a.setCenter(e)}})),io((()=>e.includePoints),(e=>{s.includePoints=Ix(e),d&&v()}),{deep:!0});try{pv(((e,t={})=>{switch(e){case"getCenterLocation":p((()=>{const n=a.getCenter();ue(t,{latitude:Rx(n),longitude:Dx(n),errMsg:`${e}:ok`})}));break;case"moveToLocation":{let n=Number(t.latitude),o=Number(t.longitude);if(!n||!o){const e=g.MAP_LOCATION;e&&(n=e.state.latitude,o=e.state.longitude)}if(n&&o){if(s.latitude=n,s.longitude=o,a){const e=$x(i,n,o);a.setCenter(e)}p((()=>{ue(t,`${e}:ok`)}))}else ue(t,`${e}:fail`)}break;case"translateMarker":p((()=>{const n=g[t.markerId];if(n){try{n.translate(t)}catch(o){ue(t,`${e}:fail ${o.message}`)}ue(t,`${e}:ok`)}else ue(t,`${e}:fail not found`)}));break;case"includePoints":s.includePoints=Ix(t.includePoints),(d||dy())&&v(),h((()=>{ue(t,`${e}:ok`)}));break;case"getRegion":h((()=>{const n=a.getBounds(),o=n.getSouthWest(),r=n.getNorthEast();ue(t,{southwest:{latitude:Rx(o),longitude:Dx(o)},northeast:{latitude:Rx(r),longitude:Dx(r)},errMsg:`${e}:ok`})}));break;case"getScale":p((()=>{ue(t,{scale:a.getZoom(),errMsg:`${e}:ok`})}))}}),hv(),!0)}catch(b){}return Uo((()=>{ny(e.libraries,(e=>{i=e,a=y(),u=!0,l.forEach((e=>e(a,i,o))),l.length=0,o("updated",{},{})}))})),Tr("onMapReady",p),Tr("addMapChidlContext",(function(e){g[e.id]=e})),Tr("removeMapChidlContext",(function(e){delete g[e.id]})),{state:s,mapRef:r,trigger:o}}const Nx=gu({name:"Map",props:{id:{type:String,default:""},latitude:{type:[String,Number],default:0},longitude:{type:[String,Number],default:0},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},includePoints:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]}},emits:["markertap","labeltap","callouttap","controltap","regionchange","tap","click","updated","update:scale","update:latitude","update:longitude"],setup(e,{emit:t,slots:n}){const o=un(null),{mapRef:r,trigger:i}=Bx(e,o,t);return()=>li("uni-map",{ref:o,id:e.id},[li("div",{ref:r,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map((e=>li(hy,gi({key:e.id},e),null,16))),e.polyline.map((e=>li(vy,e,null,16))),e.circles.map((e=>li(yy,e,null,16))),e.controls.map((e=>li(_y,gi(e,{trigger:i}),null,16,["trigger"]))),e.showLocation&&li(Lx,null,null),e.polygons.map((e=>li(Ox,e,null,16))),li("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}});function jx(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ni(e)}function qx(e){if(e.mode===Vx.TIME)return"00:00";if(e.mode===Vx.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Ux.YEAR:return t.toString();case Ux.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function zx(e){if(e.mode===Vx.TIME)return"23:59";if(e.mode===Vx.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Ux.YEAR:return t.toString();case Ux.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Fx(e,t,n,o){const r=e.mode===Vx.DATE?"-":":",i=e.mode===Vx.DATE?t.dateArray:t.timeArray;let a;if(e.mode===Vx.TIME)a=2;else switch(e.fields){case Ux.YEAR:a=1;break;case Ux.MONTH:a=2;break;default:a=3}const s=String(n).split(r);let l=[];for(let c=0;c<a;c++){const e=s[c];l.push(i[c].indexOf(e))}return l.indexOf(-1)>=0&&(l=o?Fx(e,t,o):l.map((()=>0))),l}const Vx={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Ux={YEAR:"year",MONTH:"month",DAY:"day"},Wx={PICKER:"picker",SELECT:"select"},Hx=gu({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Vx.SELECTOR,validator:e=>Object.values(Vx).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>qx(e)},end:{type:String,default:e=>zx(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){Il();const{t:o}=Tl(),r=un(null),i=un(null),a=un(null),s=un(null),l=un(!1),{state:c,rangeArray:u}=function(e){const t=Yt({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=Li((()=>{let n=e.range;switch(e.mode){case Vx.SELECTOR:return[n];case Vx.MULTISELECTOR:return n;case Vx.TIME:return t.timeArray;case Vx.DATE:{const n=t.dateArray;switch(e.fields){case Ux.YEAR:return[n[0]];case Ux.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),d=yu(r,t),{system:p,selectorTypeComputed:h,_show:g,_l10nColumn:m,_l10nItem:v,_input:y,_fixInputPosition:b,_pickerViewChange:_,_cancel:w,_change:x,_resetFormData:T,_getFormData:S,_createTime:C,_createDate:k,_setValueSync:E}=function(e,t,n,o,r,i,a){const s=function(){const e=un(!1);return e.value=(()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0)(),e}(),l=function(){const e=un("");return e.value=(()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""})(),e}(),c=Li((()=>{const t=e.selectorType;return Object.values(Wx).includes(t)?t:s.value?Wx.PICKER:Wx.SELECT})),u=Li((()=>e.mode===Vx.DATE&&!Object.values(Ux).includes(e.fields)&&t.isDesktop?l.value:"")),d=Li((()=>Fx(e,t,e.start,qx(e)))),p=Li((()=>Fx(e,t,e.end,zx(e))));function h(n){if(e.disabled)return;t.valueChangeSource="";let o=r.value,i=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const a=i.getBoundingClientRect();t.popover={top:a.top,left:a.left,width:a.width,height:a.height},setTimeout((()=>{t.visible=!0}),20)}function g(){return{value:t.valueSync,key:e.name}}function m(){switch(e.mode){case Vx.SELECTOR:t.valueSync=0;break;case Vx.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case Vx.DATE:case Vx.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&t<n&&(n=t)}if(e.end){const t=new Date(e.end).getFullYear();!isNaN(t)&&t>o&&(o=t)}return{start:n,end:o}}function b(){let e=[];const n=y();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let r=[];for(let t=1;t<=31;t++)r.push((t<10?"0":"")+t);t.dateArray.push(e,o,r)}function _(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;n<e.length&&n<t.length;n++)e[n]=t[n]}function T(){let n=e.value;switch(e.mode){case Vx.MULTISELECTOR:{f(n)||(n=t.valueArray),f(t.valueSync)||(t.valueSync=[]);const o=t.valueSync.length=Math.max(n.length,e.range.length);for(let r=0;r<o;r++){const o=Number(n[r]),i=Number(t.valueSync[r]),a=isNaN(o)?isNaN(i)?0:i:o,s=e.range[r]?e.range[r].length-1:0;t.valueSync.splice(r,1,a<0||a>s?0:a)}}break;case Vx.TIME:case Vx.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function S(){let n,o=t.valueSync;switch(e.mode){case Vx.MULTISELECTOR:n=[...o];break;case Vx.TIME:n=Fx(e,t,o,ce({mode:Vx.TIME}));break;case Vx.DATE:n=Fx(e,t,o,ce({mode:Vx.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function C(){let n=t.valueArray;switch(e.mode){case Vx.SELECTOR:return n[0];case Vx.MULTISELECTOR:return n.map((e=>e));case Vx.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case Vx.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function k(){A(),t.valueChangeSource="click";const e=C();t.valueSync=f(e)?e.map((e=>e)):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width:r,height:i}=t.popover,{pageX:a,pageY:s}=e;if(a>o&&a<o+r&&s>n&&s<n+i)return}A(),n("cancel",{},{})}function A(){t.visible=!1,setTimeout((()=>{let e=r.value;e.remove(),o.value.prepend(e),e.style.display="none"}),260)}function M(){e.mode===Vx.SELECTOR&&c.value===Wx.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function P(e){const n=e.target;t.valueSync=n.value,Pn((()=>{k()}))}function L(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;a.value.style.left=e.clientX-t.left-1.5*n+"px",a.value.style.top=e.clientY-t.top-.5*n+"px"}}function O(e){t.valueArray=I(e.detail.value,!0)}function I(t,n){const{getLocale:o}=Tl();if(e.mode===Vx.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case Ux.YEAR:return t;case Ux.MONTH:return[t[1],t[0]];default:switch(r){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function $(t,n){const{getLocale:o}=Tl();if(e.mode===Vx.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Ux.YEAR&&n===(e.fields===Ux.MONTH||"es"!==r&&"fr"!==r?0:1)){let e;switch(r){case"es":e=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return io((()=>t.visible),(e=>{e?(clearTimeout(Yx),t.contentVisible=e,M()):Yx=setTimeout((()=>{t.contentVisible=e}),300)})),io([()=>e.mode,()=>e.value,()=>e.range],T,{deep:!0}),io((()=>t.valueSync),S,{deep:!0}),io((()=>t.valueArray),(o=>{if(e.mode===Vx.TIME||e.mode===Vx.DATE){const n=e.mode===Vx.TIME?_:w,o=t.valueArray,r=d.value,i=p.value;if(e.mode===Vx.DATE){const e=t.dateArray,n=e[2].length,r=Number(e[2][o[2]])||1,i=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${r}`).getDate();i<r&&(o[2]-=i+n-r)}n(o)<n(r)?x(o,r):n(o)>n(i)&&x(o,i)}o.forEach(((o,r)=>{o!==t.oldValueArray[r]&&(t.oldValueArray[r]=o,e.mode===Vx.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))}))})),{selectorTypeComputed:c,system:u,_show:h,_cancel:E,_change:k,_l10nColumn:I,_l10nItem:$,_input:P,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:b,_setValueSync:T,_fixInputPosition:L,_pickerViewChange:O}}(e,c,d,r,i,a,s);!function(e,t,n){const{key:o,disable:r}=Ob();oo((()=>{r.value=!e.visible})),io(o,(e=>{"esc"===e?t():"enter"===e&&n()}))}(c,w,x),function(e,t){const n=Sr(xu,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),Yo((()=>{n.removeField(o)}))}}(T,S),C(),k(),E();const A=aw(c);return oo((()=>{c.isDesktop=A.isDesktop.value,c.popupStyle=A.popupStyle.value})),Yo((()=>{i.value&&i.value.remove()})),Uo((()=>{l.value=!0})),()=>{let t;const{visible:d,contentVisible:f,valueArray:T,popupStyle:S,valueSync:C}=c,{rangeKey:k,mode:E,start:A,end:M}=e,P=wu(e,"disabled");return li("uni-picker",gi({ref:r},P,{onClick:vu(g)}),[l.value?li("div",{ref:i,class:["uni-picker-container",`uni-${E}-${h.value}`],onWheel:cc,onTouchmove:cc},[li(ji,{name:"uni-fade"},{default:()=>[uo(li("div",{class:"uni-mask uni-picker-mask",onClick:vu(w),onMousemove:b},null,40,["onClick","onMousemove"]),[[Zi,d]])]}),p.value?null:li("div",{class:[{"uni-picker-toggle":d},"uni-picker-custom"],style:S.content},[li("div",{class:"uni-picker-header",onClick:uc},[li("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:vu(w)},[o("uni.picker.cancel")],8,["onClick"]),li("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:x},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?li($m,{value:m(T),class:"uni-picker-content",onChange:_},jx(t=Zo(m(u.value),((e,t)=>{let n;return li(Fm,{key:t},jx(n=Zo(e,((e,n)=>li("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[k]||"":v(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,li("div",{ref:a,class:"uni-picker-select",onWheel:uc,onTouchmove:uc},[Zo(u.value[0],((e,t)=>li("div",{key:t,class:["uni-picker-item",{selected:T[0]===t}],onClick:()=>{T[0]=t,x()}},["object"==typeof e?e[k]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),li("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,li("div",null,[n.default&&n.default()]),p.value?li("div",{class:"uni-picker-system",onMousemove:vu(b)},[li("input",{class:["uni-picker-system_input",p.value],ref:s,value:C,type:E,tabindex:"-1",min:A,max:M,onChange:e=>{y(e),uc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let Yx;const Xx=c(Fl,{publishHandler(e,t,n){Kx.subscribeHandler(e,t,n)}}),Gx=Px,Kx=c(nu,{publishHandler(e,t,n){Xx.subscribeHandler(e,t,n)}}),Qx=mu({name:"PageHead",setup(){const e=un(null),t=Mu(),n=B_(t.navigationBar,(()=>{const e=D_(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:o,style:r}=function(e){const t=Li((()=>{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=Li((()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(n);return()=>{const i=function(e,t){if(!t)return li("div",{class:"uni-page-head-btn",onClick:Zx},[kc(Tc,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),a=n.type||"default",s="transparent"!==a&&"float"!==a&&li("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return li("uni-page-head",{"uni-page-head-type":a},[li("div",{ref:e,class:o.value,style:r.value},[li("div",{class:"uni-page-head-hd"},[i]),Jx(n),li("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function Jx(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return li("div",{class:"uni-page-head-bd"},[li("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?li("i",{class:"uni-loading"},null):r?li("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function Zx(){1===Rh().length?uni.reLaunch({url:"/"}):uni.navigateBack({from:"backbutton",success(){}})}const eT={name:"PageRefresh",setup(){const{pullToRefresh:e}=Mu();return{offset:e.offset,color:e.color}}},tT=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},nT={class:"uni-page-refresh-inner"},oT=["fill"],rT=[si("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),si("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],iT={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},aT=["stroke"];const sT=tT(eT,[["render",function(e,t,n,o,r,i){return Kr(),ei("uni-page-refresh",null,[si("div",{style:me({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[si("div",nT,[(Kr(),ei("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},rT,8,oT)),(Kr(),ei("svg",iT,[si("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,aT)]))])],4)])}]]);function lT(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter((e=>e.identifier===t))[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const cT="aborting",uT="refreshing",dT="restoring";function pT(e){const t=Mu(),{id:n,pullToRefresh:o}=t,{range:r,height:i}=o;let a,s,l,c,u,d,p,f;pv((()=>{t.enablePullDownRefresh&&(f||(f=uT,v(),setTimeout((()=>{x()}),50)))}),"startPullDownRefresh",!1,n),pv((()=>{t.enablePullDownRefresh&&f===uT&&(y(),f=dT,v(),function(e){if(!s)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}((()=>{y(),f=h=g=null})))}),"stopPullDownRefresh",!1,n),Uo((()=>{a=e.value.$el,s=a.querySelector(".uni-page-refresh"),l=s.style,c=s.querySelector(".uni-page-refresh-inner").style}));let h=null,g=null;function m(e){f&&a&&a.classList[e]("uni-page-refresh--"+f)}function v(){m("add")}function y(){m("remove")}const b=vu((e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,p=!([cT,uT,dT].indexOf(f)>=0)})),_=vu((e=>{if(!t.enablePullDownRefresh)return;if(!p)return;if(!lT(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!f)return;e.cancelable&&e.preventDefault(),null===h&&(g=n,f="pulling",v()),n-=g,n<0&&(n=0),h=n;(n>=r&&"reached"!==f||n<r&&"pulling"!==f)&&(y(),f="reached"===f?"pulling":"reached",v()),function(e){if(!s)return;let t=e/r;t>1?t=1:t*=t*t;const n=Math.round(e/(r/i))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)})),w=vu((e=>{t.enablePullDownRefresh&&lT(e,u,d)&&null!==f&&("pulling"===f?(y(),f=cT,v(),function(e){if(!s)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}((()=>{y(),f=h=g=null}))):"reached"===f&&(y(),f=uT,v(),x()))}));function x(){s&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+i+"px, 0)",Dc(n,"onPullDownRefresh"))}return{onTouchstartPassive:b,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const fT=mu({name:"PageBody",setup(e,t){const n=Mu(),o=un(null),r=un(null),i=n.enablePullDownRefresh?pT(o):null,a=un(null);return io((()=>n.enablePullDownRefresh),(()=>{a.value=n.enablePullDownRefresh?i:null}),{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return li(sT,{ref:e},null,512)}(o,n);return li(Ur,null,[e,li("uni-page-wrapper",gi({ref:r},a.value),[li("uni-page-body",null,[er(t.slots,"default")]),null],16)])}}});const hT=mu({name:"Page",setup(e,t){let n=Pu(Ou());const o=n.navigationBar,r={};return mw(n),()=>li("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[li(Qx),gT(t),null]:[gT(t),null])}});function gT(e){return Kr(),ti(fT,{key:0},{default:Wn((()=>[er(e.slots,"page")])),_:3})}const mT={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.getApp=Rv,window.getCurrentPages=Rh,window.wx=Gx,window.uni=Gx,window.UniViewJSBridge=Xx,window.UniServiceJSBridge=Kx,window.rpx2px=Id,window.__setupPage=e=>jv(e);const vT=Object.assign({}),yT=Object.assign;window.__uniConfig=yT({tabBar:{position:"bottom",color:"#000000",selectedColor:"#fa2209",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index",iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/home-active.png",text:"首页"},{pagePath:"pages/category/index",iconPath:"/static/tabbar/cate.png",selectedIconPath:"/static/tabbar/cate-active.png",text:"分类"},{pagePath:"pages/cart/index",iconPath:"/static/tabbar/cart.png",selectedIconPath:"/static/tabbar/cart-active.png",text:"购物车"},{pagePath:"pages/user/index",iconPath:"/static/tabbar/user.png",selectedIconPath:"/static/tabbar/user-active.png",text:"我的"}],backgroundColor:"#ffffff",selectedIndex:0,shown:!0},globalStyle:{maxWidth:450,rpxCalcMaxDeviceWidth:450,rpxCalcBaseDeviceWidth:450,rpxCalcIncludeWidth:9999,backgroundTextStyle:"dark",navigationBar:{backgroundColor:"#ffffff",titleText:"",type:"default",titleColor:"#000000"},isNVue:!1},easycom:{autoscan:!0,custom:{}},compilerVersion:"4.66"},{appId:"__UNI__EBB6AD2",appName:"萤火商城2.0",appVersion:"2.1.2",appVersionCode:212,async:mT,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{qqmap:{key:"ZWEBZ-R7N3U-BJSVH-4TCR3-66MDQ-S3FDJ"}}},qqMapKey:"ZWEBZ-R7N3U-BJSVH-4TCR3-66MDQ-S3FDJ",bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"zh-Hans",fallbackLocale:"",locales:Object.keys(vT).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return yT(e[n]||(e[n]={}),vT[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const bT={delay:mT.delay,timeout:mT.timeout,suspensible:mT.suspensible};mT.loading&&(bT.loadingComponent={name:"SystemAsyncLoading",render:()=>li(Kn(mT.loading))}),mT.error&&(bT.errorComponent={name:"SystemAsyncError",render:()=>li(Kn(mT.error))});const _T=()=>t((()=>import("./pages-index-index.lXKXsyFq.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url).then((e=>jv(e.default||e))),wT=ko(yT({loader:_T},bT)),xT=()=>t((()=>import("./pages-category-index.DrLUULi-.js")),__vite__mapDeps([17,18,2,19,20,21,22,5,23,6,7,8,9,10,24]),import.meta.url).then((e=>jv(e.default||e))),TT=ko(yT({loader:xT},bT)),ST=()=>t((()=>import("./pages-cart-index.CaPBQ_RQ.js")),__vite__mapDeps([25,3,2,4,5,20,21,9,26]),import.meta.url).then((e=>jv(e.default||e))),CT=ko(yT({loader:ST},bT)),kT=()=>t((()=>import("./pages-user-index.BX9J6fOk.js")),__vite__mapDeps([27,28,2,29,11,30,31,32]),import.meta.url).then((e=>jv(e.default||e))),ET=ko(yT({loader:kT},bT)),AT=()=>t((()=>import("./pages-custom-index.31hBOWre.js")),__vite__mapDeps([33,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,34]),import.meta.url).then((e=>jv(e.default||e))),MT=ko(yT({loader:AT},bT)),PT=()=>t((()=>import("./pages-search-index.Dtvxe6rA.js")),__vite__mapDeps([35,2,36]),import.meta.url).then((e=>jv(e.default||e))),LT=ko(yT({loader:PT},bT)),OT=()=>t((()=>import("./pages-login-index.CHolsLZ6.js")),__vite__mapDeps([37,38,39,2,40,28,29,41]),import.meta.url).then((e=>jv(e.default||e))),IT=ko(yT({loader:OT},bT)),$T=()=>t((()=>import("./pages-user-bind-index.UZ9g-MhV.js")),__vite__mapDeps([42,30,38,39,2,43]),import.meta.url).then((e=>jv(e.default||e))),RT=ko(yT({loader:$T},bT)),DT=()=>t((()=>import("./pages-user-personal-index.Bv1jywW0.js")),__vite__mapDeps([44,45,3,2,4,5,46,47,28,29,30,40,48]),import.meta.url).then((e=>jv(e.default||e))),BT=ko(yT({loader:DT},bT)),NT=()=>t((()=>import("./pages-article-index.BWRQIEb1.js")),__vite__mapDeps([49,50,2,5,51,22,23,52,53]),import.meta.url).then((e=>jv(e.default||e))),jT=ko(yT({loader:NT},bT)),qT=()=>t((()=>import("./pages-article-detail.u6NoIq6f.js")),__vite__mapDeps([54,12,2,13,5,52,55]),import.meta.url).then((e=>jv(e.default||e))),zT=ko(yT({loader:qT},bT)),FT=()=>t((()=>import("./pages-help-index.Cp-EUQ-G.js")),__vite__mapDeps([56,22,2,5,23,57]),import.meta.url).then((e=>jv(e.default||e))),VT=ko(yT({loader:FT},bT)),UT=()=>t((()=>import("./pages-coupon-index.BsV9MGDK.js")),__vite__mapDeps([58,14,59,20,2,21,60]),import.meta.url).then((e=>jv(e.default||e))),WT=ko(yT({loader:UT},bT)),HT=()=>t((()=>import("./pages-goods-list.CVv9laL7.js")),__vite__mapDeps([61,22,2,5,23,10,18,19,62]),import.meta.url).then((e=>jv(e.default||e))),YT=ko(yT({loader:HT},bT)),XT=()=>t((()=>import("./pages-goods-detail.CS3bw-pY.js")),__vite__mapDeps([63,12,2,13,5,10,9,7,8,11,64,3,4,65,28,29,66,67,68]),import.meta.url).then((e=>jv(e.default||e))),GT=ko(yT({loader:XT},bT)),KT=()=>t((()=>import("./pages-comment-index.C_aD6fTH.js")),__vite__mapDeps([69,50,2,5,51,64,3,4,65,22,23,28,29,70]),import.meta.url).then((e=>jv(e.default||e))),QT=ko(yT({loader:KT},bT)),JT=()=>t((()=>import("./pages-my-coupon-index.D37CPhKG.js")),__vite__mapDeps([71,50,2,5,51,22,23,14,59,72]),import.meta.url).then((e=>jv(e.default||e))),ZT=ko(yT({loader:JT},bT)),eS=()=>t((()=>import("./pages-address-index.DZXUDe8n.js")),__vite__mapDeps([73,3,2,4,5,46,74,20,21,75]),import.meta.url).then((e=>jv(e.default||e))),tS=ko(yT({loader:eS},bT)),nS=()=>t((()=>import("./pages-address-create.D7u5yVXY.js")),__vite__mapDeps([76,45,3,2,4,5,46,47,77,78,79,66,67,80,39,74,81]),import.meta.url).then((e=>jv(e.default||e))),oS=ko(yT({loader:nS},bT)),rS=()=>t((()=>import("./pages-address-update.DNkwno0u.js")),__vite__mapDeps([82,45,3,2,4,5,46,47,77,78,79,66,67,80,39,74,83]),import.meta.url).then((e=>jv(e.default||e))),iS=ko(yT({loader:rS},bT)),aS=()=>t((()=>import("./pages-points-log.vXv3Smtm.js")),__vite__mapDeps([84,22,2,5,23,85]),import.meta.url).then((e=>jv(e.default||e))),sS=ko(yT({loader:aS},bT)),lS=()=>t((()=>import("./pages-wallet-index.DF60pX3b.js")),__vite__mapDeps([86,30,2,87]),import.meta.url).then((e=>jv(e.default||e))),cS=ko(yT({loader:lS},bT)),uS=()=>t((()=>import("./pages-wallet-balance-log.BzRoe1lJ.js")),__vite__mapDeps([88,22,2,5,23,89]),import.meta.url).then((e=>jv(e.default||e))),dS=ko(yT({loader:uS},bT)),pS=()=>t((()=>import("./pages-wallet-recharge-index.CuoXTe8X.js")),__vite__mapDeps([90,91,78,2,79,5,66,3,4,67,92,93,94,95,96]),import.meta.url).then((e=>jv(e.default||e))),fS=ko(yT({loader:pS},bT)),hS=()=>t((()=>import("./pages-wallet-recharge-order.CRIBatCe.js")),__vite__mapDeps([97,22,2,5,23,98]),import.meta.url).then((e=>jv(e.default||e))),gS=ko(yT({loader:hS},bT)),mS=()=>t((()=>import("./pages-checkout-index.DV1NNERI.js")),__vite__mapDeps([99,78,2,79,5,91,66,3,4,67,92,59,100,101]),import.meta.url).then((e=>jv(e.default||e))),vS=ko(yT({loader:mS},bT)),yS=()=>t((()=>import("./pages-checkout-cashier-index.-G7FN2_C.js")),__vite__mapDeps([102,91,78,2,79,5,66,3,4,67,92,94,95,93,100,103]),import.meta.url).then((e=>jv(e.default||e))),bS=ko(yT({loader:yS},bT)),_S=()=>t((()=>import("./pages-order-center.BpeJYGgp.js")),__vite__mapDeps([104,30,2,105]),import.meta.url).then((e=>jv(e.default||e))),wS=ko(yT({loader:_S},bT)),xS=()=>t((()=>import("./pages-order-index.DZrKA2Yh.js")),__vite__mapDeps([106,50,2,5,51,22,23,100,95,31,107]),import.meta.url).then((e=>jv(e.default||e))),TS=ko(yT({loader:xS},bT)),SS=()=>t((()=>import("./pages-order-detail.CNZHS48K.js")),__vite__mapDeps([108,100,95,93,31,2,109]),import.meta.url).then((e=>jv(e.default||e))),CS=ko(yT({loader:SS},bT)),kS=()=>t((()=>import("./pages-order-express-index.lnp5T58z.js")),__vite__mapDeps([110,50,2,5,51,31,111]),import.meta.url).then((e=>jv(e.default||e))),ES=ko(yT({loader:kS},bT)),AS=()=>t((()=>import("./pages-order-comment-index.C2vEV1AE.js")),__vite__mapDeps([112,40,2,113]),import.meta.url).then((e=>jv(e.default||e))),MS=ko(yT({loader:AS},bT)),PS=()=>t((()=>import("./pages-refund-index.CWmu2YCd.js")),__vite__mapDeps([114,50,2,5,51,22,23,115,116]),import.meta.url).then((e=>jv(e.default||e))),LS=ko(yT({loader:PS},bT)),OS=()=>t((()=>import("./pages-refund-detail.CisIpX5W.js")),__vite__mapDeps([117,118,115,2,119]),import.meta.url).then((e=>jv(e.default||e))),IS=ko(yT({loader:OS},bT)),$S=()=>t((()=>import("./pages-refund-apply.DqR7aUDI.js")),__vite__mapDeps([120,118,40,115,2,121]),import.meta.url).then((e=>jv(e.default||e))),RS=ko(yT({loader:$S},bT)),DS=()=>t((()=>import("./pages-web-view-index.cnUooa65.js")),__vite__mapDeps([122,2]),import.meta.url).then((e=>jv(e.default||e))),BS=ko(yT({loader:DS},bT));function NS(e,t){return Kr(),ti(hT,null,{page:Wn((()=>[li(e,yT({},t,{ref:"page"}),null,512)])),_:1})}function jS(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(wT,t)}},loader:_T,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,enablePullDownRefresh:!0,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/category/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(TT,t)}},loader:xT,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"全部分类",type:"default"},isNVue:!1}},{path:"/pages/cart/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(CT,t)}},loader:ST,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{titleText:"购物车",type:"default"},isNVue:!1}},{path:"/pages/user/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(ET,t)}},loader:kT,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,enablePullDownRefresh:!0,navigationBar:{titleText:"个人中心",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/custom/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(MT,t)}},loader:AT,meta:{enablePullDownRefresh:!0,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/search/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(LT,t)}},loader:PT,meta:{navigationBar:{titleText:"商品搜索",type:"default"},isNVue:!1}},{path:"/pages/login/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(IT,t)}},loader:OT,meta:{navigationBar:{titleText:"会员登录",type:"default"},isNVue:!1}},{path:"/pages/user/bind/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(RT,t)}},loader:$T,meta:{navigationBar:{titleText:"绑定手机",type:"default"},isNVue:!1}},{path:"/pages/user/personal/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(BT,t)}},loader:DT,meta:{navigationBar:{titleText:"个人信息",type:"default"},isNVue:!1}},{path:"/pages/article/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(jT,t)}},loader:NT,meta:{navigationBar:{titleText:"资讯列表",type:"default"},isNVue:!1}},{path:"/pages/article/detail",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(zT,t)}},loader:qT,meta:{navigationBar:{titleText:"资讯详情",type:"default"},isNVue:!1}},{path:"/pages/help/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(VT,t)}},loader:FT,meta:{navigationBar:{titleText:"帮助中心",type:"default"},isNVue:!1}},{path:"/pages/coupon/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(WT,t)}},loader:UT,meta:{navigationBar:{titleText:"领券中心",type:"default"},isNVue:!1}},{path:"/pages/goods/list",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(YT,t)}},loader:HT,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"商品列表",type:"default"},isNVue:!1}},{path:"/pages/goods/detail",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(GT,t)}},loader:XT,meta:{navigationBar:{titleText:"商品详情页",type:"default"},isNVue:!1}},{path:"/pages/comment/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(QT,t)}},loader:KT,meta:{navigationBar:{titleText:"商品评价页",type:"default"},isNVue:!1}},{path:"/pages/my-coupon/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(ZT,t)}},loader:JT,meta:{navigationBar:{titleText:"我的优惠券",type:"default"},isNVue:!1}},{path:"/pages/address/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(tS,t)}},loader:eS,meta:{navigationBar:{titleText:"收货地址",type:"default"},isNVue:!1}},{path:"/pages/address/create",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(oS,t)}},loader:nS,meta:{navigationBar:{titleText:"新增收货地址",type:"default"},isNVue:!1}},{path:"/pages/address/update",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(iS,t)}},loader:rS,meta:{navigationBar:{titleText:"编辑收货地址",type:"default"},isNVue:!1}},{path:"/pages/points/log",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(sS,t)}},loader:aS,meta:{navigationBar:{titleText:"账单明细",type:"default"},isNVue:!1}},{path:"/pages/wallet/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(cS,t)}},loader:lS,meta:{navigationBar:{titleText:"我的钱包",type:"default"},isNVue:!1}},{path:"/pages/wallet/balance/log",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(dS,t)}},loader:uS,meta:{navigationBar:{titleText:"账单详情",type:"default"},isNVue:!1}},{path:"/pages/wallet/recharge/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(fS,t)}},loader:pS,meta:{navigationBar:{titleText:"充值中心",type:"default"},isNVue:!1}},{path:"/pages/wallet/recharge/order",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(gS,t)}},loader:hS,meta:{navigationBar:{titleText:"充值记录",type:"default"},isNVue:!1}},{path:"/pages/checkout/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(vS,t)}},loader:mS,meta:{navigationBar:{titleText:"订单结算台",type:"default"},isNVue:!1}},{path:"/pages/checkout/cashier/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(bS,t)}},loader:yS,meta:{navigationBar:{titleText:"支付订单",type:"default"},isNVue:!1}},{path:"/pages/order/center",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(wS,t)}},loader:_S,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"订单中心",type:"default"},isNVue:!1}},{path:"/pages/order/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(TS,t)}},loader:xS,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的订单",type:"default"},isNVue:!1}},{path:"/pages/order/detail",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(CS,t)}},loader:SS,meta:{navigationBar:{backgroundColor:"#e8c269",titleText:"订单详情",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/pages/order/express/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(ES,t)}},loader:kS,meta:{navigationBar:{titleText:"物流跟踪",type:"default"},isNVue:!1}},{path:"/pages/order/comment/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(MS,t)}},loader:AS,meta:{navigationBar:{titleText:"订单评价",type:"default"},isNVue:!1}},{path:"/pages/refund/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(LS,t)}},loader:PS,meta:{navigationBar:{titleText:"退换/售后",type:"default"},isNVue:!1}},{path:"/pages/refund/detail",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(IS,t)}},loader:OS,meta:{navigationBar:{titleText:"售后详情",type:"default"},isNVue:!1}},{path:"/pages/refund/apply",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(RS,t)}},loader:$S,meta:{navigationBar:{titleText:"申请售后",type:"default"},isNVue:!1}},{path:"/pages/web-view/index",component:{setup(){const e=Rv(),t=e&&e.$route&&e.$route.query||{};return()=>NS(BS,t)}},loader:DS,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const qS="function"==typeof Proxy;class zS{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const a in e.settings){const t=e.settings[a];n[a]=t.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r={...n};try{const e=localStorage.getItem(o),t=JSON.parse(e);Object.assign(r,t)}catch(i){}this.fallbacks={getSettings:()=>r,setSettings(e){try{localStorage.setItem(o,JSON.stringify(e))}catch(i){}r=e}},t.on("plugin:settings:set",((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function FS(e,t){const n=jS(),o=jS().__VUE_DEVTOOLS_GLOBAL_HOOK__,r=qS&&e.enableEarlyProxy;if(!o||!n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&r){const i=r?new zS(e,o):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}else o.emit("devtools-plugin:setup",e,t)}
- /*!
- * vuex v4.1.0
- * (c) 2022 Evan You
- * @license MIT
- */function VS(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function US(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function WS(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;YS(e,n,[],e._modules.root,!0),HS(e,n,t)}function HS(e,t,n){var o=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={},s={},l=Ve(!0);l.run((function(){VS(i,(function(t,n){a[n]=function(e,t){return function(){return e(t)}}(t,e),s[n]=Li((function(){return a[n]()})),Object.defineProperty(e.getters,n,{get:function(){return s[n].value},enumerable:!0})}))})),e._state=Yt({data:t}),e._scope=l,e.strict&&function(e){io((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(e),o&&n&&e._withCommit((function(){o.data=null})),r&&r.stop()}function YS(e,t,n,o,r){var i=!n.length,a=e._modules.getNamespace(n);if(o.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=o),!i&&!r){var s=GS(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){s[l]=o.state}))}var c=o.context=function(e,t,n){var o=""===t,r={dispatch:o?e.dispatch:function(n,o,r){var i=KS(n,o,r),a=i.payload,s=i.options,l=i.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:o?e.commit:function(n,o,r){var i=KS(n,o,r),a=i.payload,s=i.options,l=i.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:o?function(){return e.getters}:function(){return XS(e,t)}},state:{get:function(){return GS(e.state,n)}}}),r}(e,a,n);o.forEachMutation((function(t,n){!function(e,t,n,o){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,o.state,t)}))}(e,a+n,t,c)})),o.forEachAction((function(t,n){var o=t.root?n:a+n,r=t.handler||t;!function(e,t,n,o){(e._actions[t]||(e._actions[t]=[])).push((function(t){var r,i=n.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},t);return(r=i)&&"function"==typeof r.then||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}(e,o,r,c)})),o.forEachGetter((function(t,n){!function(e,t,n,o){if(e._wrappedGetters[t])return;e._wrappedGetters[t]=function(e){return n(o.state,o.getters,e.state,e.getters)}}(e,a+n,t,c)})),o.forEachChild((function(o,i){YS(e,t,n.concat(i),o,r)}))}function XS(e,t){if(!e._makeLocalGettersCache[t]){var n={},o=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,o)===t){var i=r.slice(o);Object.defineProperty(n,i,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function GS(e,t){return t.reduce((function(e,t){return e[t]}),e)}function KS(e,t,n){var o;return null!==(o=e)&&"object"==typeof o&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var QS=0;function JS(e,t){FS({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(n){n.addTimelineLayer({id:"vuex:mutations",label:"Vuex Mutations",color:ZS}),n.addTimelineLayer({id:"vuex:actions",label:"Vuex Actions",color:ZS}),n.addInspector({id:"vuex",label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&"vuex"===n.inspectorId)if(n.filter){var o=[];oC(o,t._modules.root,n.filter,""),n.rootNodes=o}else n.rootNodes=[nC(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var o=n.nodeId;XS(t,o),n.state=function(e,t,n){t="root"===n?t:t[n];var o=Object.keys(t),r={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(o.length){var i=function(e){var t={};return Object.keys(e).forEach((function(n){var o=n.split("/");if(o.length>1){var r=t,i=o.pop();o.forEach((function(e){r[e]||(r[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),r=r[e]._custom.value})),r[i]=rC((function(){return e[n]}))}else t[n]=rC((function(){return e[n]}))})),t}(t);r.getters=Object.keys(i).map((function(e){return{key:e.endsWith("/")?tC(e):e,editable:!1,value:rC((function(){return i[e]}))}}))}return r}((r=t._modules,(a=(i=o).split("/").filter((function(e){return e}))).reduce((function(e,t,n){var o=e[t];if(!o)throw new Error('Missing module "'+t+'" for path "'+i+'".');return n===a.length-1?o:o._children}),"root"===i?r:r.root._children)),"root"===o?t.getters:t._makeLocalGettersCache,o)}var r,i,a})),n.on.editInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var o=n.nodeId,r=n.path;"root"!==o&&(r=o.split("/").filter(Boolean).concat(r)),t._withCommit((function(){n.set(t._state.data,r,n.state.value)}))}})),t.subscribe((function(e,t){var o={};e.payload&&(o.payload=e.payload),o.state=t,n.notifyComponentUpdate(),n.sendInspectorTree("vuex"),n.sendInspectorState("vuex"),n.addTimelineEvent({layerId:"vuex:mutations",event:{time:Date.now(),title:e.type,data:o}})})),t.subscribeAction({before:function(e,t){var o={};e.payload&&(o.payload=e.payload),e._id=QS++,e._time=Date.now(),o.state=t,n.addTimelineEvent({layerId:"vuex:actions",event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:o}})},after:function(e,t){var o={},r=Date.now()-e._time;o.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},e.payload&&(o.payload=e.payload),o.state=t,n.addTimelineEvent({layerId:"vuex:actions",event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:o}})}})}))}var ZS=8702998,eC={label:"namespaced",textColor:16777215,backgroundColor:6710886};function tC(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function nC(e,t){return{id:t||"root",label:tC(t),tags:e.namespaced?[eC]:[],children:Object.keys(e._children).map((function(n){return nC(e._children[n],t+n+"/")}))}}function oC(e,t,n,o){o.includes(n)&&e.push({id:o||"root",label:o.endsWith("/")?o.slice(0,o.length-1):o||"Root",tags:t.namespaced?[eC]:[]}),Object.keys(t._children).forEach((function(r){oC(e,t._children[r],n,o+r+"/")}))}function rC(e){try{return e()}catch(t){return t}}var iC=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},aC={namespaced:{configurable:!0}};aC.namespaced.get=function(){return!!this._rawModule.namespaced},iC.prototype.addChild=function(e,t){this._children[e]=t},iC.prototype.removeChild=function(e){delete this._children[e]},iC.prototype.getChild=function(e){return this._children[e]},iC.prototype.hasChild=function(e){return e in this._children},iC.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},iC.prototype.forEachChild=function(e){VS(this._children,e)},iC.prototype.forEachGetter=function(e){this._rawModule.getters&&VS(this._rawModule.getters,e)},iC.prototype.forEachAction=function(e){this._rawModule.actions&&VS(this._rawModule.actions,e)},iC.prototype.forEachMutation=function(e){this._rawModule.mutations&&VS(this._rawModule.mutations,e)},Object.defineProperties(iC.prototype,aC);var sC=function(e){this.register([],e,!1)};function lC(e,t,n){if(t.update(n),n.modules)for(var o in n.modules){if(!t.getChild(o))return;lC(e.concat(o),t.getChild(o),n.modules[o])}}sC.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},sC.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},sC.prototype.update=function(e){lC([],this.root,e)},sC.prototype.register=function(e,t,n){var o=this;void 0===n&&(n=!0);var r=new iC(t,n);0===e.length?this.root=r:this.get(e.slice(0,-1)).addChild(e[e.length-1],r);t.modules&&VS(t.modules,(function(t,r){o.register(e.concat(r),t,n)}))},sC.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],o=t.getChild(n);o&&o.runtime&&t.removeChild(n)},sC.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var cC=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new sC(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var i=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(i,e,t)},this.commit=function(e,t,n){return s.call(i,e,t,n)},this.strict=o;var l=this._modules.root.state;YS(this,l,[],this._modules.root),HS(this,l),n.forEach((function(e){return e(t)}))},uC={state:{configurable:!0}};cC.prototype.install=function(e,t){e.provide(t||"store",this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&JS(e,this)},uC.state.get=function(){return this._state.data},uC.state.set=function(e){},cC.prototype.commit=function(e,t,n){var o=this,r=KS(e,t,n),i=r.type,a=r.payload,s={type:i,payload:a},l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,o.state)})))},cC.prototype.dispatch=function(e,t){var n=this,o=KS(e,t),r=o.type,i=o.payload,a={type:r,payload:i},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(c){}var l=s.length>1?Promise.all(s.map((function(e){return e(i)}))):s[0](i);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(c){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(c){}t(e)}))}))}},cC.prototype.subscribe=function(e,t){return US(e,this._subscribers,t)},cC.prototype.subscribeAction=function(e,t){return US("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},cC.prototype.watch=function(e,t,n){var o=this;return io((function(){return e(o.state,o.getters)}),t,Object.assign({},n))},cC.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},cC.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),YS(this,this.state,e,this._modules.get(e),n.preserveState),HS(this,this.state)},cC.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete GS(t.state,e.slice(0,-1))[e[e.length-1]]})),WS(this)},cC.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},cC.prototype.hotUpdate=function(e){this._modules.update(e),WS(this,!0)},cC.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(cC.prototype,uC);const dC={set(e,t,n){uni.setStorageSync(e,t);const o=parseInt(n);if(o>0){let t=Date.parse(new Date);t=t/1e3+o,uni.setStorageSync(e+"_expiry",t+"")}else uni.removeStorageSync(e+"_expiry")},get(e,t){const n=parseInt(uni.getStorageSync(e+"_expiry"));if(n&&parseInt(n)<Date.parse(new Date)/1e3)return t||!1;const o=uni.getStorageSync(e);return o||(null!=t&&""!=t||(t=!1),t)},remove(e){uni.removeStorageSync(e),uni.removeStorageSync(e+"_expiry")},clear(){uni.clearStorageSync()}},pC=(e,t)=>{let n=/^(http|https):\/\//.test(t.url),o=Object.assign({timeout:e.timeout},e.config,t);return"FILE"==t.method?o.url=n?t.url:e.fileUrl+t.url:o.url=n?t.url:e.baseUrl+t.url,t.header?o.header=Object.assign({},e.header,t.header):o.header=Object.assign({},e.header),o};var fC={qiniuRegion:"",qiniuImageURLPrefix:"",qiniuUploadToken:"",qiniuUploadTokenURL:"",qiniuUploadTokenFunction:null,qiniuShouldUseQiniuFileName:!1};function hC(e,t,n,o,r,i){var a;if(null!=e)if(o&&function(e){e.region?fC.qiniuRegion=e.region:console.error("qiniu uploader need your bucket region"),e.uptoken?fC.qiniuUploadToken=e.uptoken:e.uptokenURL?fC.qiniuUploadTokenURL=e.uptokenURL:e.uptokenFunc&&(fC.qiniuUploadTokenFunction=e.uptokenFunc),e.domain&&(fC.qiniuImageURLPrefix=e.domain),fC.qiniuShouldUseQiniuFileName=e.shouldUseQiniuFileName}(o),fC.qiniuUploadToken)gC(e,t,n,o,r,i);else if(fC.qiniuUploadTokenURL)a=function(){gC(e,t,n,o,r,i)},wx.request({url:fC.qiniuUploadTokenURL,success:function(e){var t=e.data.uptoken;t&&t.length>0?(fC.qiniuUploadToken=t,a&&a()):console.error("qiniuUploader cannot get your token, please check the uptokenURL or server")},fail:function(e){console.error("qiniu UploadToken is null, please check the init config or networking: "+e)}});else{if(!fC.qiniuUploadTokenFunction)return void console.error("qiniu uploader need one of [uptoken, uptokenURL, uptokenFunc]");if(fC.qiniuUploadToken=fC.qiniuUploadTokenFunction(),null==fC.qiniuUploadToken&&fC.qiniuUploadToken.length>0)return void console.error("qiniu UploadTokenFunction result is null, please check the return value");gC(e,t,n,o,r,i)}else console.error("qiniu uploader need filePath to upload")}function gC(e,t,n,o,r,i){if(null==fC.qiniuUploadToken&&fC.qiniuUploadToken.length>0)console.error("qiniu UploadToken is null, please check the init config or networking");else{var a=function(e){var t=null;switch(e){case"ECN":t="https://up.qbox.me";break;case"NCN":t="https://up-z1.qbox.me";break;case"SCN":t="https://up-z2.qbox.me";break;case"NA":t="https://up-na0.qbox.me";break;case"ASG":t="https://up-as0.qbox.me";break;default:console.error("please make the region is with one of [ECN, SCN, NCN, NA, ASG]")}return t}(fC.qiniuRegion),s=e.split("//")[1];o&&o.key&&(s=o.key);var l={token:fC.qiniuUploadToken};fC.qiniuShouldUseQiniuFileName||(l.key=s);var c=wx.uploadFile({url:a,filePath:e,name:"file",formData:l,success:function(e){var o=e.data;e.data.hasOwnProperty("type")&&"Buffer"===e.data.type&&(o=String.fromCharCode.apply(null,e.data.data));try{var r=JSON.parse(o),i=fC.qiniuImageURLPrefix+"/"+r.key;r.imageURL=i,t&&t(r)}catch(a){console.log("parse JSON failed, origin String is: "+o),n&&n(a)}},fail:function(e){console.error(e),n&&n(e)}});c.onProgressUpdate((e=>{r&&r(e)})),i&&i((()=>{c.abort()}))}}const mC=function(e){return new Promise(((t,n)=>{uni.chooseImage({count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"],success:function(e){t(e.tempFiles)},fail:e=>{n({errMsg:e.errMsg,errCode:e.errCode,statusCode:0})}})}))},vC=function(e){return new Promise(((t,n)=>{uni.chooseVideo({sourceType:e.sourceType||["album","camera"],compressed:e.compressed||!1,maxDuration:e.maxDuration||60,camera:e.camera||"back",success:function(e){let n=[{path:e.tempFilePath}];n[0].duration=e.duration,n[0].size=e.size,n[0].height=e.height,n[0].width=e.width,n[0].name=e.name,t(n)},fail:e=>{n({errMsg:e.errMsg,errCode:e.errCode,statusCode:0})}})}))},yC=function(e,t){return new Promise(((n,o)=>{if(Array.isArray(e.files)){let r=e.files.length,i=new Array;t?t((t=>{let a=t.visitPrefix.length;"/"==t.visitPrefix.charAt(a-1)&&(t.visitPrefix=t.visitPrefix.substring(0,a-1)),function a(s){let l=e.files[s],c=function(e,t=""){const n="0123456789qwertyuioplkjhgfdsazxcvbnm";let o="",r=new Date;for(let i=0;i<e;i++)o+=n.charAt(Math.ceil(1e8*Math.random())%n.length);return"file/"+t+r.getTime()+o}(10,t.folderPath),u={fileIndex:s,files:e.files,...l};if(l.name){u.name=l.name;let e=l.name.split(".");c+="."+e[e.length-1]}hC(l.path||l,(t=>{u.url=t.imageURL,e.onEachUpdate&&e.onEachUpdate({url:t.imageURL,...u}),i.push(t.imageURL),r-1>s?a(s+1):n(i)}),(e=>{o(e)}),{region:t.region||"SCN",domain:t.visitPrefix,key:c,uptoken:t.token,uptokenURL:"UpTokenURL.com/uptoken"},(t=>{console.log(e),e.onProgressUpdate&&e.onProgressUpdate(Object.assign({},u,t))}))}(0)})):o({errMsg:"请添加七牛云回调方法:getQnToken",statusCode:0})}else o({errMsg:"files 必须是数组类型",statusCode:0})}))};const bC=Object.assign({},{name:"萤火商城2.0",apiUrl:"./index.php?s=/api/",enabledSettingCache:!0},{name:"萤火商城2.0",apiUrl:"./index.php?s=/api/",enabledSettingCache:!0}),_C={all:()=>bC,get:(e,t)=>bC.hasOwnProperty(e)?bC[e]:(console.error(`检测到不存在的配置项: ${e}`),t)},wC=_C.get("apiUrl"),xC=new class extends class{constructor(e){this.baseUrl=e.baseUrl||"",this.fileUrl=e.fileUrl||"",this.timeout=e.timeout||6e3,this.defaultUploadUrl=e.defaultUploadUrl||"",this.header=e.header||{},this.config=e.config||{isPrompt:!0,load:!0,isFactory:!0,resend:0}}post(e="",t={},n={}){return this.request({method:"POST",data:t,url:e,...n})}get(e="",t={},n={}){return this.request({method:"GET",data:t,url:e,...n})}put(e="",t={},n={}){return this.request({method:"PUT",data:t,url:e,...n})}delete(e="",t={},n={}){return this.request({method:"DELETE",data:t,url:e,...n})}jsonp(e="",t={},n={}){return this.request({method:"JSONP",data:t,url:e,...n})}async request(e){let t,n=!1;try{if(!e.url)throw{errMsg:"【request】缺失数据url",statusCode:0};if(t=pC(this,e),n=!0,this.requestStart){let e=this.requestStart(t);if("object"!=typeof e)throw{errMsg:"【request】请求开始拦截器未通过",statusCode:0,data:t.data,method:t.method,header:t.header,url:t.url};["data","header","isPrompt","load","isFactory"].forEach((n=>{t[n]=e[n]}))}let o={};if(o="JSONP"==t.method?await(e=>new Promise(((t,n)=>{let o="";Object.keys(e.data).forEach((t=>{o+=t+"="+e.data[t]+"&"})),""!==o&&(o=o.substr(0,o.lastIndexOf("&"))),e.url=e.url+"?"+o;let r="callback"+Math.ceil(1e6*Math.random());window[r]=e=>{t(e)};let i=document.createElement("script");i.src=e.url+"&callback="+r,document.head.appendChild(i),document.head.removeChild(i)})))(t):await(e=>new Promise(((t,n)=>{let o=!0,r={url:e.url,header:e.header,success:e=>{o=!1,t(e)},fail:e=>{o=!1,"request:fail abort"==e.errMsg?n({errMsg:"请求超时,请重新尝试",statusCode:0}):n(e)}};e.method&&(r.method=e.method),e.data&&(r.data=e.data),e.dataType&&(r.dataType=e.dataType),e.responseType&&(r.responseType=e.responseType),e.withCredentials&&(r.withCredentials=e.withCredentials);let i=uni.request(r);setTimeout((()=>{o&&i.abort()}),e.timeout)})))(t),t.isFactory&&this.dataFactory){let e=await this.dataFactory({...t,response:o});return Promise.resolve(e)}return Promise.resolve(o)}catch(o){return this.requestError&&this.requestError(o),Promise.reject(o)}finally{n&&this.requestEnd&&this.requestEnd(t)}}}{constructor(e){super(e)}async qnImgUpload(e={}){let t;try{t=await mC(e),e.onSelectComplete&&e.onSelectComplete(t)}catch(n){return this.requestError&&this.requestError(n),Promise.reject(n)}if(t)return this.qnFileUpload({...e,files:t})}async qnVideoUpload(e={}){let t;try{t=await vC(e),e.onSelectComplete&&e.onSelectComplete(t)}catch(n){return this.requestError&&this.requestError(n),Promise.reject(n)}if(t)return this.qnFileUpload({...e,files:t})}async qnFileUpload(e={}){let t;try{if(t={...this.config,...e,header:{},method:"FILE"},this.requestStart){let e=this.requestStart(t);if("object"!=typeof e)throw{errMsg:"【request】请求开始拦截器未通过",statusCode:0,data:t.data,method:t.method,header:t.header,url:t.url};["load","files"].forEach((n=>{t[n]=e[n]}))}let n=await yC(t,this.getQnToken);return Promise.resolve(n)}catch(n){return this.requestError&&this.requestError(n),Promise.reject(n)}finally{this.requestEnd&&this.requestEnd(t)}}async urlImgUpload(){let e={};arguments[0]&&("string"==typeof arguments[0]?e.url=arguments[0]:"object"==typeof arguments[0]&&(e=Object.assign(e,arguments[0]))),arguments[1]&&"object"==typeof arguments[1]&&(e=Object.assign(e,arguments[1]));try{e.files=await mC(e),e.onSelectComplete&&e.onSelectComplete(e.files)}catch(t){return this.requestError&&this.requestError(t),Promise.reject(t)}if(e.files)return this.urlFileUpload(e)}async urlVideoUpload(){let e={};arguments[0]&&("string"==typeof arguments[0]?e.url=arguments[0]:"object"==typeof arguments[0]&&(e=Object.assign(e,arguments[0]))),arguments[1]&&"object"==typeof arguments[1]&&(e=Object.assign(e,arguments[1]));try{e.files=await vC(e),e.onSelectComplete&&e.onSelectComplete(e.files)}catch(t){return this.requestError&&this.requestError(t),Promise.reject(t)}if(e.files)return this.urlFileUpload(e)}async urlFileUpload(){let e={method:"FILE"};arguments[0]&&("string"==typeof arguments[0]?e.url=arguments[0]:"object"==typeof arguments[0]&&(e=Object.assign(e,arguments[0]))),arguments[1]&&"object"==typeof arguments[1]&&(e=Object.assign(e,arguments[1])),!e.url&&this.defaultUploadUrl&&(e.url=this.defaultUploadUrl);let t=!1;try{if(!e.url)throw{errMsg:"【request】文件上传缺失数据url",statusCode:0,data:e.data,method:e.method,header:e.header,url:e.url};if(e=pC(this,e),t=!0,this.requestStart){let t=this.requestStart(e);if("object"!=typeof t)throw{errMsg:"【request】请求开始拦截器未通过",statusCode:0,data:e.data,method:e.method,header:e.header,url:e.url};["data","header","isPrompt","load","isFactory","files"].forEach((n=>{e[n]=t[n]}))}let n=await function(e,t){return new Promise(((n,o)=>{if(e.header["Content-Type"]&&delete e.header["Content-Type"],e.header["content-type"]&&delete e.header["content-type"],Array.isArray(e.files)){let r=function(s){let l=e.files[s],c={fileIndex:s,files:e.files,...l},u={url:e.url,filePath:l.path,header:e.header,name:e.name||"file",success:l=>{e.isFactory&&t?t({...e,response:l}).then((t=>{a.push(t),e.onEachUpdate&&e.onEachUpdate({data:t,...c}),i<=s?n(a):r(s+1)}),(e=>{o(e)})):(e.onEachUpdate&&e.onEachUpdate({data:l,...c}),a.push(l),i<=s?n(a):r(s+1))},fail:e=>{o(e)}};e.data&&(u.formData=e.data),uni.uploadFile(u).onProgressUpdate((t=>{e.onProgressUpdate&&e.onProgressUpdate(Object.assign({},c,t))}))};const i=e.files.length-1;let a=new Array;r(0)}else o({errMsg:"files 必须是数组类型",statusCode:0})}))}(e,this.dataFactory);return Promise.resolve(n)}catch(n){return this.requestError&&this.requestError(n),Promise.reject(n)}finally{t&&this.requestEnd&&this.requestEnd(e)}}}({baseUrl:wC,fileUrl:wC,defaultUploadUrl:"upload/image",header:{"content-type":"application/json;charset=utf-8"},timeout:15e3,config:{isPrompt:!0,load:!0,isFactory:!0}});let TC=0;xC.requestStart=e=>{if(e.load&&(TC<=0&&uni.showLoading({title:"加载中",mask:!0}),TC+=1),"FILE"==e.method&&e.maxSize){const t=e.maxSize;for(let n of e.files)if(n.size>t)return setTimeout((()=>{uni.showToast({title:"图片过大,请重新上传",icon:"none"})}),10),!1}return e.header.platform=VC.getters.platform,e.header["Access-Token"]=VC.getters.token,e},xC.requestEnd=e=>{e.load&&(TC-=1,TC<=0&&uni.hideLoading())};let SC=!1;xC.dataFactory=async e=>{if(!e.response.statusCode||200!=e.response.statusCode)return Promise.reject({statusCode:e.response.statusCode,errMsg:"http状态码错误"});let t=e.response.data;if("string"==typeof t)try{t=JSON.parse(t)}catch(n){t=!1}return!1===t||"object"!=typeof t?Promise.reject({statusCode:e.response.statusCode,errMsg:"请检查api地址能否访问正常"}):200==t.status?Promise.resolve(t):401==t.status?(VC.dispatch("Logout"),SC||(SC=!0,uni.showModal({title:"温馨提示",content:"此时此刻需要您登录喔~",confirmText:"去登录",cancelText:"再逛会",success:e=>{e.confirm&&uni.navigateTo({url:"/pages/login/index"}),e.cancel&&Rh().length>1&&uni.navigateBack(),SC=!1}})),Promise.reject({statusCode:0,errMsg:t.message,result:t})):500==t.status?(e.isPrompt&&t.data.isPrompt&&setTimeout((()=>{uni.showToast({title:t.message,icon:"none",duration:2500})}),10),Promise.reject({statusCode:0,errMsg:t.message,result:t})):void 0},xC.requestError=e=>{if(0===e.statusCode)throw e;setTimeout((()=>CC(e)),10)};const CC=e=>{let t=`网络请求出错:${e.errMsg}`;"request:fail"===e.errMsg&&(t="网络请求错误:请检查api地址能否访问正常"),uni.showToast({title:t,icon:"none",duration:3500})},kC="passport/login",EC="passport/loginMpWx",AC="passport/loginMpWxMobile",MC="passport/isPersonalMpweixin";function PC(e,t){return xC.post(MC,e,t)}const LC=(e,{token:t,userId:n})=>{const o=2592e3;dC.set("userId",n,o),dC.set("AccessToken",t,o),e("SET_TOKEN",t),e("SET_USER_ID",n)},OC=e=>e.replace(/\-/g,"/"),IC=(e={})=>{const t=[];for(const n in e){const o=e[n];o&&(NC(o)?o.forEach((e=>{t.push(n+"="+e)})):t.push(n+"="+o))}return t.join("&")},$C=(e="")=>{var t=new Object;if(e)for(var n=e.split("&"),o=0;o<n.length;o++)t[n[o].split("=")[0]]=n[o].split("=")[1]||"";return t},RC=(e,t)=>{for(var n in t)if(t[n]==e)return!0;return!1},DC=e=>0===Object.keys(e).length,BC=e=>"[object Object]"===Object.prototype.toString.call(e),NC=e=>"[object Array]"===Object.prototype.toString.call(e),jC=e=>NC(e)?0===e.length:BC(e)?DC(e):!e,qC=e=>{let t=NC(e)?[]:{};if("object"==typeof e){for(let n in e)t[n]="object"==typeof e[n]?qC(e[n]):e[n];return t}};function zC(e,t=100){let n;return function(){const o=this,r=arguments;n&&clearTimeout(n),n=setTimeout((function(){e.apply(o,r)}),t)}}const FC=(e,t)=>e.filter((e=>t.indexOf(e)>-1));const VC=new cC({modules:{app:{state:{platform:""},mutations:{SET_PLATFORM:(e,t)=>{e.platform=t}},actions:{}},user:{state:{token:"",userId:null},mutations:{SET_TOKEN:(e,t)=>{e.token=t},SET_USER_ID:(e,t)=>{e.userId=t}},actions:{Login:({commit:e},t)=>new Promise(((n,o)=>{(function(e){return xC.post(kC,e)})({form:t}).then((t=>{const o=t.data;LC(e,o),n(t)})).catch(o)})),LoginMpWx:({commit:e},t)=>new Promise(((n,o)=>{(function(e,t){return xC.post(EC,e,t)})({form:t},{isPrompt:!0}).then((t=>{const o=t.data;LC(e,o),n(t)})).catch(o)})),LoginMpWxMobile:({commit:e},t)=>new Promise(((n,o)=>{(function(e,t){return xC.post(AC,e,t)})({form:t},{isPrompt:!0}).then((t=>{const o=t.data;LC(e,o),n(t)})).catch(o)})),Logout({commit:e},t){const n=this;return new Promise(((t,o)=>{n.getters.userId>0&&(dC.remove("userId"),dC.remove("AccessToken"),e("SET_TOKEN",""),e("SET_USER_ID",null),t())}))}}},theme:{state:{appTheme:{mainBg:"#fa2209",mainBg2:"#ff6335",mainText:"#ffffff",viceBg:"#ffb100",viceBg2:"#ffb900",viceText:"#ffffff"}},mutations:{SET_APP_THEME:(e,t)=>{jC(t)||(e.appTheme=t)}},actions:{SetAppTheme:({commit:e},t)=>new Promise(((n,o)=>{dC.set("appTheme",t),e("SET_APP_THEME",t),n()}))}},page:{state:{query:null},mutations:{SET_QUERY_PARAM:(e,t)=>{e.query=t}},actions:{SetQueryParam:({commit:e},t)=>(e("SET_QUERY_PARAM",t),"sdadadad"),OnceQueryParam({commit:e},t){const n=null===this.getters.pageQuery?null:qC(this.getters.pageQuery);return e("SET_QUERY_PARAM",null),n}}}},state:{},mutations:{},actions:{},getters:{platform:e=>e.app.platform,token:e=>e.user.token,userId:e=>e.user.userId,pageQuery:e=>e.page.query}}),UC="store/data",WC=()=>xC.get(UC),HC="setting/data";class YC{constructor(e){const t=[],n=[];if(!Array.isArray(e))throw new Error("param is not an array!");e.map((e=>{e.key&&e.name&&(t.push(e.key),n.push(e.value),this[e.key]=e,e.key!==e.value&&(this[e.value]=e))})),this.data=e,this.keyArr=t,this.valueArr=n}keyOf(e){return this.data[this.keyArr.indexOf(e)]}valueOf(e){return this.data[this.valueArr.indexOf(e)]}getNameByKey(e){const t=this.keyOf(e);if(!t)throw new Error("No enum constant"+e);return t.name}getNameByValue(e){const t=this.valueOf(e);if(!t)throw new Error("No enum constant"+e);return t.name}getValueByKey(e){const t=this.keyOf(e);if(!t)throw new Error("No enum constant"+e);return t.key}getData(){return this.data}}const XC=new YC([{key:"REGISTER",name:"账户注册设置",value:"register"},{key:"APP_THEME",name:"店铺页面风格",value:"app_theme"},{key:"PAGE_CATEGORY_TEMPLATE",name:"分类页模板",value:"page_category_template"},{key:"POINTS",name:"积分设置",value:"points"},{key:"RECHARGE",name:"充值设置",value:"recharge"},{key:"CUSTOMER",name:"商城客服设置",value:"customer"}]),GC=(()=>{const e=window.navigator.userAgent.toLowerCase();return"micromessenger"===String(e.match(/MicroMessenger/i))})()?"WXOFFICIAL":"H5",KC=e=>{dC.set("Setting",e,600)},QC=()=>new Promise(((e,t)=>{xC.get(HC).then((t=>{e(t.data.setting)}))})),JC=e=>(null==e&&(e=_C.get("enabledSettingCache")),new Promise(((t,n)=>{const o=dC.get("Setting");e&&o?t(o):QC().then((e=>{KC(e),t(e)}))}))),ZC=(e,t)=>new Promise(((n,o)=>{JC(t).then((t=>n(t[e])))})),ek={setStorage:KC,data:JC,item:ZC,setAppTheme:()=>new Promise(((e,t)=>{ZC(XC.APP_THEME.value).then((t=>{VC.dispatch("SetAppTheme",t),e()}))})),isShowCustomerBtn:async()=>{const e=await ZC(XC.CUSTOMER.value,!0);return!!e.enabled&&("mpwxkf"===e.provider&&"MP-WEIXIN"===GC)}},tk=e=>{(e=>{dC.set("Store",e,600)})(e),ek.setStorage(e.setting),ek.setAppTheme()},nk=(e=!0)=>new Promise(((t,n)=>{const o=dC.get("Store");e&&o?t(o):new Promise(((e,t)=>{WC().then((t=>{tk(t.data),e(t.data)}))})).then((e=>{t(e)}))})),ok={data:nk,storeInfo:()=>new Promise(((e,t)=>{nk().then((t=>e(t.storeInfo)))})),h5Url:()=>new Promise(((e,t)=>{nk().then((t=>{const n=t.clientData.h5.setting.baseUrl;e(n)}))}))},rk={data:[],current_page:1,last_page:1,per_page:15,total:0},ik=(e,t)=>{uni.showToast({title:e,icon:"success",mask:!0,duration:1500,success(){t&&t()}})},ak=(e,t)=>{uni.showModal({title:"友情提示",content:e,showCancel:!1,success(e){t&&t()}})},sk=(e,t=1500,n=!0)=>{uni.showToast({title:e,icon:"none",mask:n,duration:t})},lk=()=>["pages/index/index","pages/category/index","pages/cart/index","pages/user/index"],ck=(e,t,n)=>{let o=e;if(!jC(t)){o+="#/"+t;const e=uk(n);jC(e)||(o+="?"+e)}return o},uk=e=>IC(dk(e)),dk=e=>({refereeId:VC.getters.userId,...e}),pk=(e,t={},n="navigateTo")=>{if(!e||0==e.length)return!1;if(RC(e,["pages/index/index","pages/category/index","pages/cart/index","pages/user/index"]))return VC.dispatch("SetQueryParam",t),uni.switchTab({url:`/${e}`}),!0;const o=jC(t)?"":"?"+IC(t);return"navigateTo"===n&&uni.navigateTo({url:`/${e}${o}`}),"redirectTo"===n&&uni.redirectTo({url:`/${e}${o}`}),!0},fk=()=>{const e=Rh(),t=e[e.length-1].$page.fullPath.split("?");return{path:t[0].slice(1),query:$C(t[1])}},hk=e=>{uni.setStorageSync("cartTotalNum",Number(e))},gk=()=>{const e=(e=>{const t=uni.getStorageSync("cartTotalNum")||0;return mk()?t:0})();e>0?uni.setTabBarBadge({index:2,text:`${e}`}):uni.removeTabBarBadge({index:2})},mk=()=>!!VC.getters.userId,vk=()=>qC(rk),yk=(e,t,n)=>(1==n&&(t.data=[]),t.data.concat(e.data)),bk=e=>{return n="scene",BC(t=e)&&void 0!==t[n]?(e=>{if(void 0===e)return{};const t={},n=decodeURIComponent(e).split(",");for(const o in n){const e=n[o].split(":");e.length>0&&e[0]&&(t[e[0]]=e[1]||null)}return t})(e.scene):{};var t,n},_k=e=>RC(e,VC.getters.modules),wk=e=>e.filter((e=>_k(e))).length>0,xk=e=>e.filter((e=>!e.moduleKey||_k(e.moduleKey))),Tk=e=>!!e&&("PAGE"===e.type&&pk(e.param.path,e.param.query),"CUSTOM"===e.type&&pk(e.param.path,$C(e.param.queryStr)),"URL"===e.type&&window.open(e.param.url),!0),Sk=e=>{let t="";for(const n in e){t+=`--${n.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[n]};`}return t},Ck={globalData:{},onLaunch({path:e,query:t,scene:n}){this.onStartupQuery(BC(t)?t:{}),this.getStoreInfo()},methods:{onStartupQuery(e){},getStoreInfo(){ok.data(!1)},updateManager(){const e=uni.getUpdateManager();e.onCheckForUpdate((e=>{})),e.onUpdateReady((()=>{uni.showModal({title:"更新提示",content:"新版本已经准备好,即将重启应用",showCancel:!1,success(t){t.confirm&&e.applyUpdate()}})})),e.onUpdateFailed((()=>{uni.showModal({title:"更新提示",content:"新版本下载失败",showCancel:!1})}))}}};function kk(){VC.commit("SET_PLATFORM",GC),VC.commit("SET_TOKEN",dC.get("AccessToken")),VC.commit("SET_USER_ID",dC.get("userId")),VC.commit("SET_APP_THEME",dC.get("appTheme"))}Nv(Ck,{init:Dv,setup(e){const t=Lu(),n=()=>{var n;n=e,Object.keys(Gp).forEach((e=>{Gp[e].forEach((t=>{zo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,a=function({path:e,query:t}){return c(wg,{path:e,query:t}),c(xg,wg),c({},wg)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Ce(t.query)});if(o&&$(o,a),r&&$(r,a),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};gh(),i&&$(i,e)}};return Sr(Ys).isReady().then(n),Uo((()=>{window.addEventListener("resize",Ae(qv,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",zv),document.addEventListener("visibilitychange",Fv),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Kx.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Kr(),ti(Xw));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}});const Ek={data:()=>({platform:GC}),computed:{appTheme:()=>VC.getters.appTheme,appThemeStyle:()=>Sk(VC.getters.appTheme)},mounted(){"WXOFFICIAL"===this.platform&&this.hideNavigationBar()},methods:{hideNavigationBar(){this.$nextTick((()=>{const e=document.getElementsByTagName("uni-page-head");e.length&&(e[0].style.display="none",document.body.style.setProperty("--window-top","0px"))}))},customThemeStyle:e=>Sk({...VC.getters.appTheme,...e})}},Ak={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise((n=>{uni.createSelectorQuery().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent=!1),this.parent=this.$u.$parent.call(this,e),this.parent&&(Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]})),this.parentData.value=this.parent.modelValue)},preventEvent(e){e&&e.stopPropagation&&e.stopPropagation()}},onReachBottom(){uni.$emit("uOnReachBottom")},beforeUnmount(){if(this.parent&&uni.$u.test.array(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}};function Mk(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;var t,n=(t=e,"[object Array]"===Object.prototype.toString.call(t)?[]:{});for(let o in e)e.hasOwnProperty(o)&&(n[o]="object"==typeof e[o]?Mk(e[o]):e[o]);return n}function Pk(e={},t={}){if("object"!=typeof(e=Mk(e))||"object"!=typeof t)return!1;for(var n in t)t.hasOwnProperty(n)&&(n in e?"object"!=typeof e[n]||"object"!=typeof t[n]?e[n]=t[n]:e[n].concat&&t[n].concat?e[n]=e[n].concat(t[n]):e[n]=Pk(e[n],t[n]):e[n]=t[n]);return e}function Lk(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function Ok(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 Ik(e){return"[object Object]"===Object.prototype.toString.call(e)}function $k(e){return"function"==typeof e}const Rk={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[23456789]\d{9}$/.test(e)},url:function(e){return/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(e)},date:function(e){return!!e&&(Lk(e)&&(e=+e),!/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:Lk,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:Ok,isEmpty:Ok,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:Ik,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:$k,promise:function(e){return Ik(e)&&$k(e.then)&&$k(e.catch)},video:function(e){const t=e.split("?")[0];return new RegExp(/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8|3gp)$/).test(t)},image:function(e){const t=e.split("?")[0];return new RegExp(/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)$/).test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};const Dk=new class{setConfig(e){this.config=Pk(this.config,e)}request(e={}){if(this.interceptor.request&&"function"==typeof this.interceptor.request){let t=this.interceptor.request(e);if(!1===t)return new Promise((()=>{}));this.options=t}return e.dataType=e.dataType||this.config.dataType,e.responseType=e.responseType||this.config.responseType,e.url=e.url||"",e.params=e.params||{},e.header=Object.assign({},this.config.header,e.header),e.method=e.method||this.config.method,new Promise(((t,n)=>{e.complete=e=>{if(uni.hideLoading(),clearTimeout(this.config.timer),this.config.timer=null,this.config.originalData)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e);!1!==o?t(o):n(e)}else t(e);else if(200==e.statusCode)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e.data);!1!==o?t(o):n(e.data)}else t(e.data);else n(e)},e.url=Rk.url(e.url)?e.url:this.config.baseUrl+(0==e.url.indexOf("/")?e.url:"/"+e.url),this.config.showLoading&&!this.config.timer&&(this.config.timer=setTimeout((()=>{uni.showLoading({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null}),this.config.loadingTime)),uni.request(e)}))}constructor(){this.config={baseUrl:"",header:{},method:"POST",dataType:"json",responseType:"text",showLoading:!0,loadingText:"请求中...",loadingTime:800,timer:null,originalData:!1,loadingMask:!0},this.interceptor={request:null,response:null},this.get=(e,t={},n={})=>this.request({method:"GET",url:e,header:n,data:t}),this.post=(e,t={},n={})=>this.request({url:e,method:"POST",header:n,data:t}),this.put=(e,t={},n={})=>this.request({url:e,method:"PUT",header:n,data:t}),this.delete=(e,t={},n={})=>this.request({url:e,method:"DELETE",header:n,data:t})}};const Bk=(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.deepClone(e,this.config),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),"function"==typeof uni.$u.routeIntercept){await new Promise(((e,t)=>{uni.$u.routeIntercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:o,animationType:r,animationDuration:i}=e;"navigateTo"!=e.type&&"to"!=e.type||uni.navigateTo({url:t,animationType:r,animationDuration:i}),"redirectTo"!=e.type&&"redirect"!=e.type||uni.redirectTo({url:t}),"switchTab"!=e.type&&"tab"!=e.type||uni.switchTab({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||uni.reLaunch({url:t}),"navigateBack"!=e.type&&"back"!=e.type||uni.navigateBack({delta:o})}}).route;function Nk(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n,o=new Date(e),r={"y+":o.getFullYear().toString(),"m+":(o.getMonth()+1).toString(),"d+":o.getDate().toString(),"h+":o.getHours().toString(),"M+":o.getMinutes().toString(),"s+":o.getSeconds().toString()};for(let i in r)n=new RegExp("("+i+")").exec(t),n&&(t=t.replace(n[1],1==n[1].length?r[i]:r[i].padStart(n[1].length,"0")));return t}function jk(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}let n=[];for(let t=1;t<7;t+=2)n.push(parseInt("0x"+e.slice(t,t+2)));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 qk(e){let t=e;if(/^(rgb|RGB)/.test(t)){let e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),n="#";for(let t=0;t<e.length;t++){let o=Number(e[t]).toString(16);o=1==String(o).length?"0"+o:o,"0"===o&&(o+=o),n+=o}return 7!==n.length&&(n=t),n}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))return t;{let e=t.replace(/#/,"").split("");if(6===e.length)return t;if(3===e.length){let t="#";for(let n=0;n<e.length;n+=1)t+=e[n]+e[n];return t}}}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 zk={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let o=jk(e,!1),r=o[0],i=o[1],a=o[2],s=jk(t,!1),l=(s[0]-r)/n,c=(s[1]-i)/n,u=(s[2]-a)/n,d=[];for(let p=0;p<n;p++){let e=qk("rgb("+Math.round(l*p+r)+","+Math.round(c*p+i)+","+Math.round(u*p+a)+")");d.push(e)}return d},hexToRgb:jk,rgbToHex:qk,colorToRgba:function(e,t=.3){let n=(e=qk(e)).toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){var o="#";for(let e=1;e<4;e+=1)o+=n.slice(e,e+1).concat(n.slice(e,e+1));n=o}var r=[];for(let e=1;e<7;e+=2)r.push(parseInt("0x"+n.slice(e,e+2)));return"rgba("+r.join(",")+","+t+")"}return n}};let Fk=null;let Vk=[],Uk=[];function Wk(e,t="both"){return e=String(e),"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}const Hk={v:"1.10.1",version:"1.10.1",type:["primary","success","info","error","warning"]};const Yk={queryParams:function(e={},t=!0,n="brackets"){let o=t?"?":"",r=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(let i in e){let t=e[i];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n<t.length;n++)r.push(i+"["+n+"]="+t[n]);break;case"brackets":default:t.forEach((e=>{r.push(i+"[]="+e)}));break;case"repeat":t.forEach((e=>{r.push(i+"="+e)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),r.push(i+"="+e)}else r.push(i+"="+t)}return r.length?o+r.join("&"):""},route:Bk,timeFormat:Nk,date:Nk,timeFrom:function(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n=+new Date(Number(e)),o=(Number(new Date)-n)/1e3,r="";switch(!0){case o<300:r="刚刚";break;case o>=300&&o<3600:r=parseInt(o/60)+"分钟前";break;case o>=3600&&o<86400:r=parseInt(o/3600)+"小时前";break;case o>=86400&&o<2592e3:r=parseInt(o/86400)+"天前";break;default:r=!1===t?o>=2592e3&&o<31536e3?parseInt(o/2592e3)+"个月前":parseInt(o/31536e3)+"年前":Nk(n,t)}return r},colorGradient:zk.colorGradient,colorToRgba:zk.colorToRgba,guid:function(e=32,t=!0,n=null){let o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(n=n||o.length,e)for(let i=0;i<e;i++)r[i]=o[0|Math.random()*n];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:{primary:"#2979ff",primaryDark:"#2b85e4",primaryDisabled:"#a0cfff",primaryLight:"#ecf5ff",bgColor:"#f3f4f6",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:"#e4e7ed"},sys:function(){return uni.getSystemInfoSync()},os:function(){return uni.getSystemInfoSync().platform},type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(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))},wranning:function(e){},get:Dk.get,post:Dk.post,put:Dk.put,delete:Dk.delete,hexToRgb:zk.hexToRgb,rgbToHex:zk.rgbToHex,test:Rk,random:function(e,t){if(e>=0&&t>0&&t>=e){let n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},deepClone:Mk,deepMerge:Pk,getParent:function(e,t){let n=this.$parent;for(;n;){if(n.$options.name===e){let e={};if(Array.isArray(t))t.map((t=>{e[t]=n[t]?n[t]:""}));else for(let o in t)Array.isArray(t[o])?t[o].length?e[o]=t[o]:e[o]=n[o]:t[o].constructor===Object?Object.keys(t[o]).length?e[o]=t[o]:e[o]=n[o]:e[o]=t[o]||!1===t[o]?t[o]:n[o];return e}n=n.$parent}return{}},$parent:function(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1},addUnit:function(e="auto",t="rpx"){return e=String(e),Rk.number(e)?`${e}${t}`:e},trim:function(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},type:["primary","success","error","warning","info"],http:Dk,toast:function(e,t=1500){uni.showToast({title:e,icon:"none",duration:t})},config:Hk,zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},debounce:function(e,t=500,n=!1){if(null!==Fk&&clearTimeout(Fk),n){var o=!Fk;Fk=setTimeout((function(){Fk=null}),t),o&&"function"==typeof e&&e()}else Fk=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0,o="default"){Vk[o]||(Vk[o]=null),n?Uk[o]||(Uk[o]=!0,"function"==typeof e&&e(),Vk[o]=setTimeout((()=>{Uk[o]=!1}),t)):Uk[o]||(Uk[o]=!0,Vk[o]=setTimeout((()=>{Uk[o]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(Rk.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=Wk(e)).split(";"),n={};for(let e=0;e<t.length;e++)if(t[e]){const o=t[e].split(":");n[Wk(o[0])]=Wk(o[1])}return n}let n="";for(const o in e){n+=`${o.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[o]};`}return Wk(n)}};uni.$u=Yk;const Xk={install:e=>{e.mixin(Ak),e.config.globalProperties.$u=Yk}};(function(){const e=Aa({...Ck,store:VC,created:kk});return e.config.globalProperties.$toast=sk,e.config.globalProperties.$success=ik,e.config.globalProperties.$error=ak,e.config.globalProperties.$navTo=pk,e.config.globalProperties.$getShareUrlParams=uk,e.config.globalProperties.$checkModule=_k,e.config.globalProperties.$checkModules=wk,e.use(Xk),e.mixin(Ek),{app:e}})().app.use(Ev).mount("#app");export{xC as $,er as A,RC as B,hk as C,mk as D,YC as E,Ur as F,FC as G,zC as H,cm as I,xk as J,Tk as K,ev as L,Jm as M,Yv as N,si as O,qC as P,Rh as Q,Eu as R,ok as S,PC as T,lk as U,fk as V,ck as W,bk as X,Ym as Y,Fm as Z,$m as _,li as a,dC as a0,NC as a1,BC as a2,DC as a3,sv as a4,Tu as a5,OC as a6,GC as a7,Hx as a8,Kv as a9,ei as b,ti as c,Zo as d,di as e,ui as f,zg as g,Ca as h,lv as i,Km as j,ve as k,ov as l,vk as m,me as n,Kr as o,yk as p,Jn as q,Kn as r,gk as s,Y as t,uo as u,Zi as v,Wn as w,VC as x,ek as y,XC as z};
|