index-18c47f24.js 535 KB

1234567891011121314151617181920
  1. !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,r){if(!n||0===n.length)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map((t=>{if(t=function(e,t){return new URL(e,t).href}(t,r),t in e)return;e[t]=!0;const n=t.endsWith(".css"),i=n?'[rel="stylesheet"]':"";if(!!r)for(let e=o.length-1;e>=0;e--){const r=o[e];if(r.href===t&&(!n||"stylesheet"===r.rel))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;const a=document.createElement("link");return a.rel=n?"stylesheet":"modulepreload",n||(a.as="script",a.crossOrigin=""),a.href=t,document.head.appendChild(a),n?new Promise(((e,n)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${t}`))))})):void 0}))).then((()=>t()))};function n(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const r={},o=[],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:"),u=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,h=e=>"[object Map]"===T(e),g=e=>"[object Set]"===T(e),m=e=>"[object Date]"===T(e),v=e=>"function"==typeof e,y=e=>"string"==typeof e,_=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,w=e=>(b(e)||v(e))&&v(e.then)&&v(e.catch),x=Object.prototype.toString,T=e=>x.call(e),S=e=>"[object Object]"===T(e),k=e=>y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,E=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$=/-(\w)/g,O=C((e=>e.replace($,((e,t)=>t?t.toUpperCase():"")))),I=/\B([A-Z])/g,M=C((e=>e.replace(I,"-$1").toLowerCase())),A=C((e=>e.charAt(0).toUpperCase()+e.slice(1))),P=C((e=>e?`on${A(e)}`:"")),L=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},D=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},j=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let B;function N(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=y(r)?W(r):N(r);if(o)for(const e in o)t[e]=o[e]}return t}if(y(e)||b(e))return e}const V=/;(?![^(]*\))/g,F=/:([^]+)/,q=/\/\*[^]*?\*\//g;function W(e){const t={};return e.replace(q,"").split(V).forEach((e=>{if(e){const n=e.split(F);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function z(e){let t="";if(y(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const r=z(e[n]);r&&(t+=r+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const H=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function U(e){return!!e||""===e}function Y(e,t){if(e===t)return!0;let n=m(e),r=m(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=_(e),r=_(t),n||r)return e===t;if(n=p(e),r=p(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Y(e[r],t[r]);return n}(e,t);if(n=b(e),r=b(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!Y(e[n],t[n]))return!1}}return String(e)===String(t)}function X(e,t){return e.findIndex((e=>Y(e,t)))}const G=e=>y(e)?e:null==e?"":p(e)||b(e)&&(e.toString===x||!v(e.toString))?JSON.stringify(e,J,2):String(e),J=(e,t)=>t&&t.__v_isRef?J(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[Z(t,r)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Z(e)))}:_(t)?Z(t):!b(t)||p(t)||S(t)?t:String(t),Z=(e,t="")=>{var n;return _(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"].map((e=>"uni-"+e)),Q=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),ee=["list-item"].map((e=>"uni-"+e));function te(e){if(-1!==ee.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==K.indexOf(t)||-1!==Q.indexOf(t)}const ne=["%","%"],re=/^([a-z-]+:)?\/\//i,oe=/^data:.*,.*/;function ie(e){return e&&(e.appContext?e.proxy:e)}function ae(e){if(!e)return;let t=e.type.name;for(;t&&te(M(t));)t=(e=e.parent).type.name;return e.proxy}function se(e){return 1===e.nodeType}function le(e){if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),N(t)}if(p(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=y(r)?W(r):le(r);if(o)for(const e in o)t[e]=o[e]}return t}return N(e)}function ue(e){let t="";if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(p(e))for(let n=0;n<e.length;n++){const r=ue(e[n]);r&&(t+=r+" ")}else t=z(e);return t.trim()}function ce(e){if(!e)return null;let{class:t,style:n}=e;return t&&!y(t)&&(e.class=ue(t)),n&&(e.style=le(n)),e}function de(e){return 0===e.indexOf("/")}function fe(e){return de(e)?e:"/"+e}function pe(e){return de(e)?e.slice(1):e}function he(e,t){for(const n in t)e.style[n]=t[n]}function ge(e,t=null){let n;return(...r)=>(e&&(n=e.apply(t,r),e=null),n)}const me=e=>e>9?e:"0"+e;function ve({date:e=new Date,mode:t="date"}){return"time"===t?me(e.getHours())+":"+me(e.getMinutes()):e.getFullYear()+"-"+me(e.getMonth()+1)+"-"+me(e.getDate())}function ye(e){return O(e.substring(5))}const _e=ge((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[ye(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[ye(e)],n.call(this,e)}}));function be(e){return u({},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:r}=e;return{id:t,dataset:be(e),offsetTop:n,offsetLeft:r}}function Se(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function ke(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=Se(e[n])}catch(Ax){t[n]=e[n]}})),t}const Ee=/\+/g;function Ce(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const e=n[r].replace(Ee," ");let o=e.indexOf("="),i=Se(o<0?e:e.slice(0,o)),a=o<0?null:Se(e.slice(o+1));if(i in t){let e=t[i];p(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function $e(e,t,{clearTimeout:n,setTimeout:r}){let o;const i=function(){n(o);const i=()=>e.apply(this,arguments);o=r(i,t)};return i.cancel=function(){n(o)},i}class Oe{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 r=0;r<n.length;)n[r].fn===t&&(n.splice(r,1),r--),r++;else delete this.listener[e]}_clearCache(e){for(let t=0;t<this.emitCache.length;t++){const n=this.emitCache[t],r=e?n.eventName===e?e:null:n.eventName;if(!r)continue;"number"!=typeof this.emit.apply(this,[r,...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 Ie=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"],Me=["onLoad","onShow"];const Ae=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Pe=[];const Le=ge(((e,t)=>{if(v(e._component.onError))return t(e)})),Re=function(){};Re.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t){for(var i=r.length-1;i>=0;i--)if(r[i].fn===t||r[i].fn._===t){r.splice(i,1);break}o=r}return o.length?n[e]=o:delete n[e],this}};var De=Re;const je={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Be(e,t={},n="light"){const r=t[n],o={};return r?(Object.keys(e).forEach((i=>{let a=e[i];o[i]=(()=>{if(S(a))return Be(a,t,n);if(p(a))return a.map((e=>S(e)?Be(e,t,n):e));if(y(a)&&a.startsWith("@")){const t=a.replace("@","");let n=r[t]||a;switch(i){case"titleColor":n="black"===n?"#000000":"#ffffff";break;case"borderStyle":n=(e=n)&&e in je?je[e]:e}return n}var e;return a})()})),o):e}let Ne;class Ve{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!e&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Ne;try{return Ne=this,e()}finally{Ne=t}}}on(){Ne=this}off(){Ne=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 Fe(e){return new Ve(e)}function qe(){return Ne}const We=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ze=e=>(e.w&Xe)>0,He=e=>(e.n&Xe)>0,Ue=new WeakMap;let Ye=0,Xe=1;let Ge;const Je=Symbol(""),Ze=Symbol("");class Ke{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=Ne){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=Ge,t=et;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Ge,Ge=this,et=!0,Xe=1<<++Ye,Ye<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xe})(this):Qe(this),this.fn()}finally{Ye<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];ze(o)&&!He(o)?o.delete(e):t[n++]=o,o.w&=~Xe,o.n&=~Xe}t.length=n}})(this),Xe=1<<--Ye,Ge=this.parent,et=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ge===this?this.deferStop=!0:this.active&&(Qe(this),this.onStop&&this.onStop(),this.active=!1)}}function Qe(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let et=!0;const tt=[];function nt(){tt.push(et),et=!1}function rt(){const e=tt.pop();et=void 0===e||e}function ot(e,t,n){if(et&&Ge){let t=Ue.get(e);t||Ue.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=We()),it(r)}}function it(e,t){let n=!1;Ye<=30?He(e)||(e.n|=Xe,n=!ze(e)):n=!e.has(Ge),n&&(e.add(Ge),Ge.deps.push(e))}function at(e,t,n,r,o,i){const a=Ue.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&p(e)){const e=Number(r);a.forEach(((t,n)=>{("length"===n||n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(a.get(n)),t){case"add":p(e)?k(n)&&s.push(a.get("length")):(s.push(a.get(Je)),h(e)&&s.push(a.get(Ze)));break;case"delete":p(e)||(s.push(a.get(Je)),h(e)&&s.push(a.get(Ze)));break;case"set":h(e)&&s.push(a.get(Je))}if(1===s.length)s[0]&&st(s[0]);else{const e=[];for(const t of s)t&&e.push(...t);st(We(e))}}function st(e,t){const n=p(e)?e:[...e];for(const r of n)r.computed&&lt(r);for(const r of n)r.computed||lt(r)}function lt(e,t){(e!==Ge||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const ut=n("__proto__,__v_isRef,__isVue"),ct=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(_)),dt=vt(),ft=vt(!1,!0),pt=vt(!0),ht=gt();function gt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=tn(this);for(let t=0,o=this.length;t<o;t++)ot(n,0,t+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(tn)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){nt();const n=tn(this)[t].apply(this,e);return rt(),n}})),e}function mt(e){const t=tn(this);return ot(t,0,e),t.hasOwnProperty(e)}function vt(e=!1,t=!1){return function(n,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return t;if("__v_raw"===r&&o===(e?t?Ut:Ht:t?zt:Wt).get(n))return n;const i=p(n);if(!e){if(i&&f(ht,r))return Reflect.get(ht,r,o);if("hasOwnProperty"===r)return mt}const a=Reflect.get(n,r,o);return(_(r)?ct.has(r):ut(r))?a:(e||ot(n,0,r),t?a:ln(a)?i&&k(r)?a:a.value:b(a)?e?Gt(a):Xt(a):a)}}function yt(e=!1){return function(t,n,r,o){let i=t[n];if(Kt(i)&&ln(i)&&!ln(r))return!1;if(!e&&(Qt(r)||Kt(r)||(i=tn(i),r=tn(r)),!p(t)&&ln(i)&&!ln(r)))return i.value=r,!0;const a=p(t)&&k(n)?Number(n)<t.length:f(t,n),s=Reflect.set(t,n,r,o);return t===tn(o)&&(a?L(r,i)&&at(t,"set",n,r):at(t,"add",n,r)),s}}const _t={get:dt,set:yt(),deleteProperty:function(e,t){const n=f(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&at(e,"delete",t,void 0),r},has:function(e,t){const n=Reflect.has(e,t);return _(t)&&ct.has(t)||ot(e,0,t),n},ownKeys:function(e){return ot(e,0,p(e)?"length":Je),Reflect.ownKeys(e)}},bt={get:pt,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},wt=u({},_t,{get:ft,set:yt(!0)}),xt=e=>e,Tt=e=>Reflect.getPrototypeOf(e);function St(e,t,n=!1,r=!1){const o=tn(e=e.__v_raw),i=tn(t);n||(t!==i&&ot(o,0,t),ot(o,0,i));const{has:a}=Tt(o),s=r?xt:n?on:rn;return a.call(o,t)?s(e.get(t)):a.call(o,i)?s(e.get(i)):void(e!==o&&e.get(t))}function kt(e,t=!1){const n=this.__v_raw,r=tn(n),o=tn(e);return t||(e!==o&&ot(r,0,e),ot(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function Et(e,t=!1){return e=e.__v_raw,!t&&ot(tn(e),0,Je),Reflect.get(e,"size",e)}function Ct(e){e=tn(e);const t=tn(this);return Tt(t).has.call(t,e)||(t.add(e),at(t,"add",e,e)),this}function $t(e,t){t=tn(t);const n=tn(this),{has:r,get:o}=Tt(n);let i=r.call(n,e);i||(e=tn(e),i=r.call(n,e));const a=o.call(n,e);return n.set(e,t),i?L(t,a)&&at(n,"set",e,t):at(n,"add",e,t),this}function Ot(e){const t=tn(this),{has:n,get:r}=Tt(t);let o=n.call(t,e);o||(e=tn(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&at(t,"delete",e,void 0),i}function It(){const e=tn(this),t=0!==e.size,n=e.clear();return t&&at(e,"clear",void 0,void 0),n}function Mt(e,t){return function(n,r){const o=this,i=o.__v_raw,a=tn(i),s=t?xt:e?on:rn;return!e&&ot(a,0,Je),i.forEach(((e,t)=>n.call(r,s(e),s(t),o)))}}function At(e,t,n){return function(...r){const o=this.__v_raw,i=tn(o),a=h(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,u=o[e](...r),c=n?xt:t?on:rn;return!t&&ot(i,0,l?Ze:Je),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:s?[c(e[0]),c(e[1])]:c(e),done:t}},[Symbol.iterator](){return this}}}}function Pt(e){return function(...t){return"delete"!==e&&this}}function Lt(){const e={get(e){return St(this,e)},get size(){return Et(this)},has:kt,add:Ct,set:$t,delete:Ot,clear:It,forEach:Mt(!1,!1)},t={get(e){return St(this,e,!1,!0)},get size(){return Et(this)},has:kt,add:Ct,set:$t,delete:Ot,clear:It,forEach:Mt(!1,!0)},n={get(e){return St(this,e,!0)},get size(){return Et(this,!0)},has(e){return kt.call(this,e,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:Mt(!0,!1)},r={get(e){return St(this,e,!0,!0)},get size(){return Et(this,!0)},has(e){return kt.call(this,e,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:Mt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=At(o,!1,!1),n[o]=At(o,!0,!1),t[o]=At(o,!1,!0),r[o]=At(o,!0,!0)})),[e,n,t,r]}const[Rt,Dt,jt,Bt]=Lt();function Nt(e,t){const n=t?e?Bt:jt:e?Dt:Rt;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(f(n,r)&&r in t?n:t,r,o)}const Vt={get:Nt(!1,!1)},Ft={get:Nt(!1,!0)},qt={get:Nt(!0,!1)},Wt=new WeakMap,zt=new WeakMap,Ht=new WeakMap,Ut=new WeakMap;function Yt(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=>T(e).slice(8,-1))(e))}function Xt(e){return Kt(e)?e:Jt(e,!1,_t,Vt,Wt)}function Gt(e){return Jt(e,!0,bt,qt,Ht)}function Jt(e,t,n,r,o){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=Yt(e);if(0===a)return e;const s=new Proxy(e,2===a?r:n);return o.set(e,s),s}function Zt(e){return Kt(e)?Zt(e.__v_raw):!(!e||!e.__v_isReactive)}function Kt(e){return!(!e||!e.__v_isReadonly)}function Qt(e){return!(!e||!e.__v_isShallow)}function en(e){return Zt(e)||Kt(e)}function tn(e){const t=e&&e.__v_raw;return t?tn(t):e}function nn(e){return D(e,"__v_skip",!0),e}const rn=e=>b(e)?Xt(e):e,on=e=>b(e)?Gt(e):e;function an(e){et&&Ge&&it((e=tn(e)).dep||(e.dep=We()))}function sn(e,t){const n=(e=tn(e)).dep;n&&st(n)}function ln(e){return!(!e||!0!==e.__v_isRef)}function un(e){return dn(e,!1)}function cn(e){return dn(e,!0)}function dn(e,t){return ln(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:rn(e)}get value(){return an(this),this._value}set value(e){const t=this.__v_isShallow||Qt(e)||Kt(e);e=t?e:tn(e),L(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:rn(e),sn(this))}}function pn(e){return ln(e)?e.value:e}const hn={get:(e,t,n)=>pn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ln(o)&&!ln(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function gn(e){return Zt(e)?e:new Proxy(e,hn)}function mn(e){const t=p(e)?new Array(e.length):{};for(const n in e)t[n]=yn(e,n);return t}class vn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=tn(this._object),t=this._key,null===(n=Ue.get(e))||void 0===n?void 0:n.get(t);var e,t,n}}function yn(e,t,n){const r=e[t];return ln(r)?r:new vn(e,t,n)}var _n;class bn{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[_n]=!1,this._dirty=!0,this.effect=new Ke(e,(()=>{this._dirty||(this._dirty=!0,sn(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=tn(this);return an(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function wn(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){Tn(i,t,n)}return o}function xn(e,t,n,r){if(v(e)){const o=wn(e,t,n,r);return o&&w(o)&&o.catch((e=>{Tn(e,t,n)})),o}const o=[];for(let i=0;i<e.length;i++)o.push(xn(e[i],t,n,r));return o}function Tn(e,t,n,r=!0){t&&t.vnode;if(t){let r=t.parent;const o=t.proxy,i=n;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,i))return;r=r.parent}const a=t.appContext.config.errorHandler;if(a)return void wn(a,null,10,[e,o,i])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}_n="__v_isReadonly";let Sn=!1,kn=!1;const En=[];let Cn=0;const $n=[];let On=null,In=0;const Mn=Promise.resolve();let An=null;function Pn(e){const t=An||Mn;return e?t.then(this?e.bind(this):e):t}function Ln(e){En.length&&En.includes(e,Sn&&e.allowRecurse?Cn+1:Cn)||(null==e.id?En.push(e):En.splice(function(e){let t=Cn+1,n=En.length;for(;t<n;){const r=t+n>>>1;Bn(En[r])<e?t=r+1:n=r}return t}(e.id),0,e),Rn())}function Rn(){Sn||kn||(kn=!0,An=Mn.then(Vn))}function Dn(e,t=(Sn?Cn+1:0)){for(;t<En.length;t++){const e=En[t];e&&e.pre&&(En.splice(t,1),t--,e())}}function jn(e){if($n.length){const e=[...new Set($n)];if($n.length=0,On)return void On.push(...e);for(On=e,On.sort(((e,t)=>Bn(e)-Bn(t))),In=0;In<On.length;In++)On[In]();On=null,In=0}}const Bn=e=>null==e.id?1/0:e.id,Nn=(e,t)=>{const n=Bn(e)-Bn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Vn(e){kn=!1,Sn=!0,En.sort(Nn);try{for(Cn=0;Cn<En.length;Cn++){const e=En[Cn];e&&!1!==e.active&&wn(e,null,14)}}finally{Cn=0,En.length=0,jn(),Sn=!1,An=null,(En.length||$n.length)&&Vn()}}function Fn(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||r;let i=n;const a=t.startsWith("update:"),s=a&&t.slice(7);if(s&&s in o){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:a}=o[e]||r;a&&(i=n.map((e=>y(e)?e.trim():e))),t&&(i=n.map(j))}let l,u=o[l=P(t)]||o[l=P(O(t))];!u&&a&&(u=o[l=P(M(t))]),u&&xn(u,e,6,qn(e,u,i));const c=o[l+"Once"];if(c){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,xn(c,e,6,qn(e,c,i))}}function qn(e,t,n){if(1!==n.length)return n;if(v(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const r=n[0];if(r&&f(r,"type")&&f(r,"timeStamp")&&f(r,"target")&&f(r,"currentTarget")&&f(r,"detail")){const t=e.proxy,r=t.$gcd(t,!0);r&&n.push(r)}return n}function Wn(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let a={},s=!1;if(!v(e)){const r=e=>{const n=Wn(e,t,!0);n&&(s=!0,u(a,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||s?(p(i)?i.forEach((e=>a[e]=null)):u(a,i),b(e)&&r.set(e,a),a):(b(e)&&r.set(e,null),null)}function zn(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,M(t))||f(e,t))}let Hn=null,Un=null;function Yn(e){const t=Hn;return Hn=e,Un=e&&e.type.__scopeId||null,t}function Xn(e,t=Hn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Zo(-1);const o=Yn(t);let i;try{i=e(...n)}finally{Yn(o),r._d&&Zo(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Gn(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[a],slots:s,attrs:u,emit:c,render:d,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const _=Yn(e);try{if(4&n.shapeFlag){const e=o||r;v=fi(d.call(e,e,f,i,h,p,g)),y=u}else{const e=t;0,v=fi(e.length>1?e(i,{attrs:u,slots:s,emit:c}):e(i,null)),y=t.props?u:Jn(u)}}catch(w){Yo.length=0,Tn(w,e,1),v=si(Ho)}let b=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(a&&e.some(l)&&(y=Zn(y,a)),b=ui(b,y))}return n.dirs&&(b=ui(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,Yn(_),v}const Jn=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},Zn=(e,t)=>{const n={};for(const r in e)l(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Kn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!zn(n,i))return!0}return!1}const Qn=e=>e.__isSuspense;function er(e,t){if(_i){let n=_i.provides;const r=_i.parent&&_i.parent.provides;r===n&&(n=_i.provides=Object.create(r)),n[e]=t,"app"===_i.type.mpType&&_i.appContext.app.provide(e,t)}else;}function tr(e,t,n=!1){const r=_i||Hn;if(r){const o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&v(t)?t.call(r.proxy):t}}function nr(e,t){return ar(e,null,t)}function rr(e,t){return ar(e,null,{flush:"post"})}const or={};function ir(e,t,n){return ar(e,t,n)}function ar(e,t,{immediate:n,deep:o,flush:a,onTrack:s,onTrigger:l}=r){const u=qe()===(null==_i?void 0:_i.scope)?_i:null;let d,f,h=!1,g=!1;if(ln(e)?(d=()=>e.value,h=Qt(e)):Zt(e)?(d=()=>e,o=!0):p(e)?(g=!0,h=e.some((e=>Zt(e)||Qt(e))),d=()=>e.map((e=>ln(e)?e.value:Zt(e)?ur(e):v(e)?wn(e,u,2):void 0))):d=v(e)?t?()=>wn(e,u,2):()=>{if(!u||!u.isUnmounted)return f&&f(),xn(e,u,3,[y])}:i,t&&o){const e=d;d=()=>ur(e())}let m,y=e=>{f=x.onStop=()=>{wn(e,u,4)}};if(Si){if(y=i,t?n&&xn(t,u,3,[d(),g?[]:void 0,y]):d(),"sync"!==a)return i;{const e=Ai();m=e.__watcherHandles||(e.__watcherHandles=[])}}let _=g?new Array(e.length).fill(or):or;const b=()=>{if(x.active)if(t){const e=x.run();(o||h||(g?e.some(((e,t)=>L(e,_[t]))):L(e,_)))&&(f&&f(),xn(t,u,3,[e,_===or?void 0:g&&_[0]===or?[]:_,y]),_=e)}else x.run()};let w;b.allowRecurse=!!t,"sync"===a?w=b:"post"===a?w=()=>No(b,u&&u.suspense):(b.pre=!0,u&&(b.id=u.uid),w=()=>Ln(b));const x=new Ke(d,w);t?n?b():_=x.run():"post"===a?No(x.run.bind(x),u&&u.suspense):x.run();const T=()=>{x.stop(),u&&u.scope&&c(u.scope.effects,x)};return m&&m.push(T),T}function sr(e,t,n){const r=this.proxy,o=y(e)?e.includes(".")?lr(r,e):()=>r[e]:e.bind(r,r);let i;v(t)?i=t:(i=t.handler,n=t);const a=_i;wi(this);const s=ar(o,i.bind(r),n);return a?wi(a):xi(),s}function lr(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 ur(e,t){if(!b(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),ln(e))ur(e.value,t);else if(p(e))for(let n=0;n<e.length;n++)ur(e[n],t);else if(g(e)||h(e))e.forEach((e=>{ur(e,t)}));else if(S(e))for(const n in e)ur(e[n],t);return e}const cr=[Function,Array],dr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:cr,onEnter:cr,onAfterEnter:cr,onEnterCancelled:cr,onBeforeLeave:cr,onLeave:cr,onAfterLeave:cr,onLeaveCancelled:cr,onBeforeAppear:cr,onAppear:cr,onAfterAppear:cr,onAppearCancelled:cr},fr={name:"BaseTransition",props:dr,setup(e,{slots:t}){const n=bi(),r=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Vr((()=>{e.isMounted=!0})),Wr((()=>{e.isUnmounting=!0})),e}();let o;return()=>{const i=t.default&&yr(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1)for(const e of i)if(e.type!==Ho){a=e;break}const s=tn(e),{mode:l}=s;if(r.isLeaving)return gr(a);const u=mr(a);if(!u)return gr(a);const c=hr(u,s,r,n);vr(u,c);const d=n.subTree,f=d&&mr(d);let p=!1;const{getTransitionKey:h}=u.type;if(h){const e=h();void 0===o?o=e:e!==o&&(o=e,p=!0)}if(f&&f.type!==Ho&&(!ni(u,f)||p)){const e=hr(f,s,r,n);if(vr(f,e),"out-in"===l)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&n.update()},gr(a);"in-out"===l&&u.type!==Ho&&(e.delayLeave=(e,t,n)=>{pr(r,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=n})}return a}}};function pr(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function hr(e,t,n,r){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:_}=t,b=String(e.key),w=pr(n,e),x=(e,t)=>{e&&xn(e,r,9,t)},T=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,persisted:a,beforeEnter(t){let r=s;if(!n.isMounted){if(!o)return;r=m||s}t._leaveCb&&t._leaveCb(!0);const i=w[b];i&&ni(e,i)&&i.el._leaveCb&&i.el._leaveCb(),x(r,[t])},enter(e){let t=l,r=u,i=c;if(!n.isMounted){if(!o)return;t=v||l,r=y||u,i=_||c}let a=!1;const s=e._enterCb=t=>{a||(a=!0,x(t?i:r,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?T(t,[e,s]):s()},leave(t,r){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();x(d,[t]);let i=!1;const a=t._leaveCb=n=>{i||(i=!0,r(),x(n?g:h,[t]),t._leaveCb=void 0,w[o]===e&&delete w[o])};w[o]=e,f?T(f,[t,a]):a()},clone:e=>hr(e,t,n,r)};return S}function gr(e){if(Tr(e))return(e=ui(e)).children=null,e}function mr(e){return Tr(e)?e.children?e.children[0]:void 0:e}function vr(e,t){6&e.shapeFlag&&e.component?vr(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 yr(e,t=!1,n){let r=[],o=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===Wo?(128&a.patchFlag&&o++,r=r.concat(yr(a.children,t,s))):(t||a.type!==Ho)&&r.push(null!=s?ui(a,{key:s}):a)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function _r(e){return v(e)?{setup:e,name:e.name}:e}const br=e=>!!e.type.__asyncLoader;function wr(e){v(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:a=!0,onError:s}=e;let l,u=null,c=0;const d=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((c++,u=null,d()))),(()=>n(e)),c+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return _r({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=_i;if(l)return()=>xr(l,e);const t=t=>{u=null,Tn(t,e,13,!r)};if(a&&e.suspense||Si)return d().then((t=>()=>xr(t,e))).catch((e=>(t(e),()=>r?si(r,{error:e}):null)));const s=un(!1),c=un(),f=un(!!o);return o&&setTimeout((()=>{f.value=!1}),o),null!=i&&setTimeout((()=>{if(!s.value&&!c.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),c.value=e}}),i),d().then((()=>{s.value=!0,e.parent&&Tr(e.parent.vnode)&&Ln(e.parent.update)})).catch((e=>{t(e),c.value=e})),()=>s.value&&l?xr(l,e):c.value&&r?si(r,{error:c.value}):n&&!f.value?si(n):void 0}})}function xr(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,a=si(e,r,o);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const Tr=e=>e.type.__isKeepAlive;class Sr{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:r}=this,o=t.get(e);if(o)n.delete(e),n.add(e);else if(n.add(e),r&&n.size>r){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return o}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 kr={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=bi(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=e.cache||new Sr(e.max);o.pruneCacheEntry=a;let i=null;function a(t){var r;!i||!ni(t,i)||"key"===e.matchBy&&t.key!==i.key?(Ar(r=t),c(r,n,s,!0)):i&&Ar(i)}const s=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:d}}}=r,f=d("div");function p(t){o.forEach(((n,r)=>{const i=Lr(n,e.matchBy);!i||t&&t(i)||(o.delete(r),a(n))}))}r.activate=(e,t,n,r,o)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,R(i.ba),i.isDeactivated=e}u(e,t,n,0,s),l(i.vnode,e,t,n,i,s,r,e.slotScopeIds,o),No((()=>{i.isDeactivated=!1,i.a&&R(i.a);const t=e.props&&e.props.onVnodeMounted;t&&mi(t,i.parent,e)}),s)},r.deactivate=e=>{const t=e.component;t.bda&&Rr(t.bda),u(e,f,null,1,s),No((()=>{t.bda&&Dr(t.bda),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&mi(n,t.parent,e),t.isDeactivated=!0}),s)},ir((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>Cr(e,t))),t&&p((e=>!Cr(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&o.set(h,Pr(n.subTree))};return Vr(g),qr(g),Wr((()=>{o.forEach(((t,r)=>{o.delete(r),a(t);const{subTree:i,suspense:s}=n,l=Pr(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&R(l.component.bda),Ar(l);const e=l.component.da;e&&No(e,s)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return i=null,n;if(!ti(r)||!(4&r.shapeFlag)&&!Qn(r.type))return i=null,r;let a=Pr(r);const s=a.type,l=Lr(a,e.matchBy),{include:u,exclude:c}=e;if(u&&(!l||!Cr(u,l))||c&&l&&Cr(c,l))return i=a,r;const d=null==a.key?s:a.key,f=o.get(d);return a.el&&(a=ui(a),Qn(r.type)&&(r.ssContent=a)),h=d,f&&(a.el=f.el,a.component=f.component,a.transition&&vr(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,Qn(r.type)?r:a}}},Er=kr;function Cr(e,t){return p(e)?e.some((e=>Cr(e,t))):y(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function $r(e,t){Ir(e,"a",t)}function Or(e,t){Ir(e,"da",t)}function Ir(e,t,n=_i){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(r.__called=!1,jr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Tr(e.parent.vnode)&&Mr(r,t,n,e),e=e.parent}}function Mr(e,t,n,r){const o=jr(t,e,r,!0);zr((()=>{c(r[t],o)}),n)}function Ar(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Pr(e){return Qn(e.type)?e.ssContent:e}function Lr(e,t){if("name"===t){const t=e.type;return $i(br(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Rr(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function Dr(e){e.forEach((e=>e.__called=!1))}function jr(e,t,n=_i,r=!1){if(n){if(o=e,Ie.indexOf(o)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return Me.indexOf(e)>-1}(e))){const r=n.proxy;xn(t.bind(r),n,e,"onLoad"===e?[r.$page.options]:[])}}const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;nt(),wi(n);const o=xn(t,n,e,r);return xi(),rt(),o});return r?i.unshift(a):i.push(a),a}var o}const Br=e=>(t,n=_i)=>(!Si||"sp"===e)&&jr(e,((...e)=>t(...e)),n),Nr=Br("bm"),Vr=Br("m"),Fr=Br("bu"),qr=Br("u"),Wr=Br("bum"),zr=Br("um"),Hr=Br("sp"),Ur=Br("rtg"),Yr=Br("rtc");function Xr(e,t=_i){jr("ec",e,t)}function Gr(e,t){const n=Hn;if(null===n)return e;const o=Ci(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[e,n,s,l=r]=t[a];e&&(v(e)&&(e={mounted:e,updated:e}),e.deep&&ur(n),i.push({dir:e,instance:o,value:n,oldValue:void 0,arg:s,modifiers:l}))}return e}function Jr(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value);let l=s.dir[r];l&&(nt(),xn(l,n,8,[e.el,s,e,t]),rt())}}function Zr(e,t){return eo("components",e,!0,t)||e}const Kr=Symbol();function Qr(e){return y(e)?eo("components",e,!1)||e:e||Kr}function eo(e,t,n=!0,r=!1){const o=Hn||_i;if(o){const n=o.type;if("components"===e){const e=$i(n,!1);if(e&&(e===t||e===O(t)||e===A(O(t))))return n}const i=to(o[e]||n[e],t)||to(o.appContext[e],t);return!i&&r?n:i}}function to(e,t){return e&&(e[t]||e[O(t)]||e[A(O(t))])}function no(e,t,n,r){let o;const i=n&&n[r];if(p(e)||y(e)){o=new Array(e.length);for(let n=0,r=e.length;n<r;n++)o[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,i&&i[n])}else if(b(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,a=n.length;r<a;r++){const a=n[r];o[r]=t(e[a],a,r,i&&i[r])}}else o=[];return n&&(n[r]=o),o}function ro(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(p(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function oo(e,t,n={},r,o){if(Hn.isCE||Hn.parent&&br(Hn.parent)&&Hn.parent.isCE)return"default"!==t&&(n.name=t),si("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Go();const a=i&&io(i(n)),s=ei(Wo,{key:n.key||a&&a.key||`_${t}`},a||(r?r():[]),a&&1===e._?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function io(e){return e.some((e=>!ti(e)||e.type!==Ho&&!(e.type===Wo&&!io(e.children))))?e:null}const ao=e=>{if(!e)return null;if(Ti(e)){return Ci(e)||e.proxy}return ao(e.parent)},so=u(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=>ao(e.parent),$root:e=>ao(e.root),$emit:e=>e.emit,$options:e=>go(e),$forceUpdate:e=>e.f||(e.f=()=>{Ln(e.update)}),$nextTick:e=>e.n||(e.n=Pn.bind(e.proxy)),$watch:e=>sr.bind(e)}),lo=(e,t)=>e!==r&&!e.__isScriptSetup&&f(e,t),uo={get({_:e},t){const{ctx:n,setupState:o,data:i,props:a,accessCache:s,type:l,appContext:u}=e;let c;if("$"!==t[0]){const l=s[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(lo(o,t))return s[t]=1,o[t];if(i!==r&&f(i,t))return s[t]=2,i[t];if((c=e.propsOptions[0])&&f(c,t))return s[t]=3,a[t];if(n!==r&&f(n,t))return s[t]=4,n[t];co&&(s[t]=0)}}const d=so[t];let p,h;return d?("$attrs"===t&&ot(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==r&&f(n,t)?(s[t]=4,n[t]):(h=u.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:o,setupState:i,ctx:a}=e;return lo(i,t)?(i[t]=n,!0):o!==r&&f(o,t)?(o[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:a}},s){let l;return!!n[s]||e!==r&&f(e,s)||lo(t,s)||(l=a[0])&&f(l,s)||f(o,s)||f(so,s)||f(i.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let co=!0;function fo(e){const t=go(e),n=e.proxy,r=e.ctx;co=!1,t.beforeCreate&&po(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:s,watch:l,provide:u,inject:c,created:d,beforeMount:f,mounted:h,beforeUpdate:g,updated:m,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:T,unmounted:S,render:k,renderTracked:E,renderTriggered:C,errorCaptured:$,serverPrefetch:O,expose:I,inheritAttrs:M,components:A,directives:P,filters:L}=t;if(c&&function(e,t,n=i,r=!1){p(e)&&(e=_o(e));for(const o in e){const n=e[o];let i;i=b(n)?"default"in n?tr(n.from||o,n.default,!0):tr(n.from||o):tr(n),ln(i)&&r?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[o]=i}}(c,r,null,e.appContext.config.unwrapInjectedRef),s)for(const i in s){const e=s[i];v(e)&&(r[i]=e.bind(n))}if(o){const t=o.call(n,n);b(t)&&(e.data=Xt(t))}if(co=!0,a)for(const p in a){const e=a[p],t=v(e)?e.bind(n,n):v(e.get)?e.get.bind(n,n):i,o=!v(e)&&v(e.set)?e.set.bind(n):i,s=Oi({get:t,set:o});Object.defineProperty(r,p,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const i in l)ho(l[i],r,n,i);if(u){const e=v(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{er(t,e[t])}))}function R(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&po(d,e,"c"),R(Nr,f),R(Vr,h),R(Fr,g),R(qr,m),R($r,y),R(Or,_),R(Xr,$),R(Yr,E),R(Ur,C),R(Wr,x),R(zr,S),R(Hr,O),p(I))if(I.length){const t=e.exposed||(e.exposed={});I.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===i&&(e.render=k),null!=M&&(e.inheritAttrs=M),A&&(e.components=A),P&&(e.directives=P);const D=e.appContext.config.globalProperties.$applyOptions;D&&D(t,e,n)}function po(e,t,n){xn(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ho(e,t,n,r){const o=r.includes(".")?lr(n,r):()=>n[r];if(y(e)){const n=t[e];v(n)&&ir(o,n)}else if(v(e))ir(o,e.bind(n));else if(b(e))if(p(e))e.forEach((e=>ho(e,t,n,r)));else{const r=v(e.handler)?e.handler.bind(n):t[e.handler];v(r)&&ir(o,r,e)}}function go(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:o.length||n||r?(l={},o.length&&o.forEach((e=>mo(l,e,a,!0))),mo(l,t,a)):l=t,b(t)&&i.set(t,l),l}function mo(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&mo(e,i,n,!0),o&&o.forEach((t=>mo(e,t,n,!0)));for(const a in t)if(r&&"expose"===a);else{const r=vo[a]||n&&n[a];e[a]=r?r(e[a],t[a]):t[a]}return e}const vo={data:yo,props:wo,emits:wo,methods:wo,computed:wo,beforeCreate:bo,created:bo,beforeMount:bo,mounted:bo,beforeUpdate:bo,updated:bo,beforeDestroy:bo,beforeUnmount:bo,destroyed:bo,unmounted:bo,activated:bo,deactivated:bo,errorCaptured:bo,serverPrefetch:bo,components:wo,directives:wo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=u(Object.create(null),e);for(const r in t)n[r]=bo(e[r],t[r]);return n},provide:yo,inject:function(e,t){return wo(_o(e),_o(t))}};function yo(e,t){return t?e?function(){return u(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function _o(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bo(e,t){return e?[...new Set([].concat(e,t))]:t}function wo(e,t){return e?u(u(Object.create(null),e),t):t}function xo(e,t,n,r=!1){const o={},i={};D(i,ri,1),e.propsDefaults=Object.create(null),To(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:Jt(o,!1,wt,Ft,zt):e.type.props?e.props=o:e.props=i,e.attrs=i}function To(e,t,n,o){const[i,a]=e.propsOptions;let s,l=!1;if(t)for(let r in t){if(E(r))continue;const u=t[r];let c;i&&f(i,c=O(r))?a&&a.includes(c)?(s||(s={}))[c]=u:n[c]=u:zn(e.emitsOptions,r)||r in o&&u===o[r]||(o[r]=u,l=!0)}if(a){const t=tn(n),o=s||r;for(let r=0;r<a.length;r++){const s=a[r];n[s]=So(i,t,s,o[s],e,!f(o,s))}}return l}function So(e,t,n,r,o,i){const a=e[n];if(null!=a){const e=f(a,"default");if(e&&void 0===r){const e=a.default;if(a.type!==Function&&v(e)){const{propsDefaults:i}=o;n in i?r=i[n]:(wi(o),r=i[n]=e.call(null,t),xi())}else r=e}a[0]&&(i&&!e?r=!1:!a[1]||""!==r&&r!==M(n)||(r=!0))}return r}function ko(e,t,n=!1){const i=t.propsCache,a=i.get(e);if(a)return a;const s=e.props,l={},c=[];let d=!1;if(!v(e)){const r=e=>{d=!0;const[n,r]=ko(e,t,!0);u(l,n),r&&c.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!d)return b(e)&&i.set(e,o),o;if(p(s))for(let o=0;o<s.length;o++){const e=O(s[o]);Eo(e)&&(l[e]=r)}else if(s)for(const r in s){const e=O(r);if(Eo(e)){const t=s[r],n=l[e]=p(t)||v(t)?{type:t}:Object.assign({},t);if(n){const t=Oo(Boolean,n.type),r=Oo(String,n.type);n[0]=t>-1,n[1]=r<0||t<r,(t>-1||f(n,"default"))&&c.push(e)}}}const h=[l,c];return b(e)&&i.set(e,h),h}function Eo(e){return"$"!==e[0]}function Co(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function $o(e,t){return Co(e)===Co(t)}function Oo(e,t){return p(t)?t.findIndex((t=>$o(t,e))):v(t)&&$o(t,e)?0:-1}const Io=e=>"_"===e[0]||"$stable"===e,Mo=e=>p(e)?e.map(fi):[fi(e)],Ao=(e,t,n)=>{if(t._n)return t;const r=Xn(((...e)=>Mo(t(...e))),n);return r._c=!1,r},Po=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Io(o))continue;const n=e[o];if(v(n))t[o]=Ao(0,n,r);else if(null!=n){const e=Mo(n);t[o]=()=>e}}},Lo=(e,t)=>{const n=Mo(t);e.slots.default=()=>n};function Ro(){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 Do=0;function jo(e,t){return function(n,r=null){v(n)||(n=Object.assign({},n)),null==r||b(r)||(r=null);const o=Ro(),i=new Set;let a=!1;const s=o.app={_uid:Do++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:Pi,get config(){return o.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&v(e.install)?(i.add(e),e.install(s,...t)):v(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),s),component:(e,t)=>t?(o.components[e]=t,s):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,s):o.directives[e],mount(i,l,u){if(!a){const c=si(n,r);return c.appContext=o,l&&t?t(c,i):e(c,i,u),a=!0,s._container=i,i.__vue_app__=s,s._instance=c.component,Ci(c.component)||c.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,s)};return s}}function Bo(e,t,n,o,i=!1){if(p(e))return void e.forEach(((e,r)=>Bo(e,t&&(p(t)?t[r]:t),n,o,i)));if(br(o)&&!i)return;const a=4&o.shapeFlag?Ci(o.component)||o.component.proxy:o.el,s=i?null:a,{i:l,r:u}=e,d=t&&t.r,h=l.refs===r?l.refs={}:l.refs,g=l.setupState;if(null!=d&&d!==u&&(y(d)?(h[d]=null,f(g,d)&&(g[d]=null)):ln(d)&&(d.value=null)),v(u))wn(u,l,12,[s,h]);else{const t=y(u),r=ln(u);if(t||r){const o=()=>{if(e.f){const n=t?f(g,u)?g[u]:h[u]:u.value;i?p(n)&&c(n,a):p(n)?n.includes(a)||n.push(a):t?(h[u]=[a],f(g,u)&&(g[u]=h[u])):(u.value=[a],e.k&&(h[e.k]=u.value))}else t?(h[u]=s,f(g,u)&&(g[u]=s)):r&&(u.value=s,e.k&&(h[e.k]=s))};s?(o.id=-1,No(o,n)):o()}}}const No=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?$n.push(...n):On&&On.includes(n,n.allowRecurse?In+1:In)||$n.push(n),Rn())};function Vo(e){return function(e,t){(B||(B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})).__VUE__=!0;const{insert:n,remove:a,patchProp:s,forcePatchProp:l,createElement:c,createText:d,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=i,insertStaticContent:_}=e,b=(e,t,n,r=null,o=null,i=null,a=!1,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!ni(e,t)&&(r=te(e),J(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:u,ref:c,shapeFlag:d}=t;switch(u){case zo:x(e,t,n,r);break;case Ho:T(e,t,n,r);break;case Uo:null==e&&S(t,n,r,a);break;case Wo:V(e,t,n,r,o,i,a,s,l);break;default:1&d?$(e,t,n,r,o,i,a,s,l):6&d?F(e,t,n,r,o,i,a,s,l):(64&d||128&d)&&u.process(e,t,n,r,o,i,a,s,l,re)}null!=c&&o&&Bo(c,e&&e.ref,i,t||e,!t)},x=(e,t,r,o)=>{if(null==e)n(t.el=d(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},T=(e,t,r,o)=>{null==e?n(t.el=p(t.children||""),r,o):t.el=e.el},S=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},k=({el:e,anchor:t},r,o)=>{let i;for(;e&&e!==t;)i=v(e),n(e,r,o),e=i;n(t,r,o)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),a(e),e=n;a(t)},$=(e,t,n,r,o,i,a,s,l)=>{a=a||"svg"===t.type,null==e?I(t,n,r,o,i,a,s,l):L(e,t,o,i,a,s,l)},I=(e,t,r,o,i,a,l,u)=>{let d,f;const{type:p,props:h,shapeFlag:m,transition:v,dirs:y}=e;if(d=e.el=c(e.type,a,h&&h.is,h),8&m?g(d,e.children):16&m&&P(e.children,d,null,o,i,a&&"foreignObject"!==p,l,u),y&&Jr(e,null,o,"created"),A(d,e,e.scopeId,l,o),h){for(const t in h)"value"===t||E(t)||s(d,t,null,h[t],a,e.children,o,i,ee);"value"in h&&s(d,"value",null,h.value),(f=h.onVnodeBeforeMount)&&mi(f,o,e)}Object.defineProperty(d,"__vueParentComponent",{value:o,enumerable:!1}),y&&Jr(e,null,o,"beforeMount");const _=(!i||i&&!i.pendingBranch)&&v&&!v.persisted;_&&v.beforeEnter(d),n(d,t,r),((f=h&&h.onVnodeMounted)||_||y)&&No((()=>{f&&mi(f,o,e),_&&v.enter(d),y&&Jr(e,null,o,"mounted")}),i)},A=(e,t,n,r,o)=>{if(n&&y(e,n),r)for(let i=0;i<r.length;i++)y(e,r[i]);if(o){if(t===o.subTree){const t=o.vnode;A(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},P=(e,t,n,r,o,i,a,s,l=0)=>{for(let u=l;u<e.length;u++){const l=e[u]=s?pi(e[u]):fi(e[u]);b(null,l,t,n,r,o,i,a,s)}},L=(e,t,n,o,i,a,u)=>{const c=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||r,m=t.props||r;let v;n&&Fo(n,!1),(v=m.onVnodeBeforeUpdate)&&mi(v,n,t,e),p&&Jr(t,e,n,"beforeUpdate"),n&&Fo(n,!0);const y=i&&"foreignObject"!==t.type;if(f?j(e.dynamicChildren,f,c,n,o,y,a):u||U(e,t,c,null,n,o,y,a,!1),d>0){if(16&d)N(c,t,h,m,n,o,i);else if(2&d&&h.class!==m.class&&s(c,"class",null,m.class,i),4&d&&s(c,"style",h.style,m.style,i),8&d){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const a=r[t],u=h[a],d=m[a];(d!==u||"value"===a||l&&l(c,a))&&s(c,a,u,d,i,e.children,n,o,ee)}}1&d&&e.children!==t.children&&g(c,t.children)}else u||null!=f||N(c,t,h,m,n,o,i);((v=m.onVnodeUpdated)||p)&&No((()=>{v&&mi(v,n,t,e),p&&Jr(t,e,n,"updated")}),o)},j=(e,t,n,r,o,i,a)=>{for(let s=0;s<t.length;s++){const l=e[s],u=t[s],c=l.el&&(l.type===Wo||!ni(l,u)||70&l.shapeFlag)?m(l.el):n;b(l,u,c,null,r,o,i,a,!0)}},N=(e,t,n,o,i,a,u)=>{if(n!==o){if(n!==r)for(const r in n)E(r)||r in o||s(e,r,n[r],null,u,t.children,i,a,ee);for(const r in o){if(E(r))continue;const c=o[r],d=n[r];(c!==d&&"value"!==r||l&&l(e,r))&&s(e,r,d,c,u,t.children,i,a,ee)}"value"in o&&s(e,"value",n.value,o.value)}},V=(e,t,r,o,i,a,s,l,u)=>{const c=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(c,r,o),n(f,r,o),P(t.children||[],r,f,i,a,s,l,u)):p>0&&64&p&&h&&e.dynamicChildren?(j(e.dynamicChildren,h,r,i,a,s,l),(null!=t.key||i&&t===i.subTree)&&qo(e,t,!0)):U(e,t,r,f,i,a,s,l,u)},F=(e,t,n,r,o,i,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,a,l):q(t,n,r,o,i,a,l):W(e,t,l)},q=(e,t,n,o,i,a,s)=>{const l=e.component=function(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||vi,a={uid:yi++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ve(!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:ko(o,i),emitsOptions:Wn(o,i),emit:null,emitted:null,propsDefaults:r,inheritAttrs:o.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,setupContext: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=Fn.bind(null,a),a.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(a);return a}(e,o,i);if(Tr(e)&&(l.ctx.renderer=re),function(e,t=!1){Si=t;const{props:n,children:r}=e.vnode,o=Ti(e);xo(e,n,o,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=tn(t),D(t,"_",n)):Po(t,e.slots={})}else e.slots={},t&&Lo(e,t);D(e.slots,ri,1)})(e,r);const i=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nn(new Proxy(e.ctx,uo));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(ot(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;wi(e),nt();const o=wn(r,e,0,[e.props,n]);if(rt(),xi(),w(o)){if(o.then(xi,xi),t)return o.then((n=>{ki(e,n,t)})).catch((t=>{Tn(t,e,0)}));e.asyncDep=o}else ki(e,o,t)}else Ei(e,t)}(e,t):void 0;Si=!1}(l),l.asyncDep){if(i&&i.registerDep(l,z),!e.el){const e=l.subTree=si(Ho);T(null,e,t,n)}}else z(l,e,t,n,i,a,s)},W=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||r!==a&&(r?!a||Kn(r,a,u):!!a);if(1024&l)return!0;if(16&l)return r?Kn(r,a,u):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==r[n]&&!zn(u,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void H(r,t,n);r.next=t,function(e){const t=En.indexOf(e);t>Cn&&En.splice(t,1)}(r.update),r.update()}else t.el=e.el,r.vnode=t},z=(e,t,n,r,o,i,a)=>{const s=()=>{if(e.isMounted){let t,{next:n,bu:r,u:s,parent:l,vnode:u}=e,c=n;Fo(e,!1),n?(n.el=u.el,H(e,n,a)):n=u,r&&R(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&mi(t,l,n,u),Fo(e,!0);const d=Gn(e),f=e.subTree;e.subTree=d,b(f,d,m(f.el),te(f),e,o,i),n.el=d.el,null===c&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,d.el),s&&No(s,o),(t=n.props&&n.props.onVnodeUpdated)&&No((()=>mi(t,l,n,u)),o)}else{let a;const{el:s,props:l}=t,{bm:u,m:c,parent:d}=e,f=br(t);if(Fo(e,!1),u&&R(u),!f&&(a=l&&l.onVnodeBeforeMount)&&mi(a,d,t),Fo(e,!0),s&&ie){const n=()=>{e.subTree=Gn(e),ie(s,e.subTree,e,o,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const a=e.subTree=Gn(e);b(null,a,n,r,e,o,i),t.el=a.el}if(c&&No(c,o),!f&&(a=l&&l.onVnodeMounted)){const e=t;No((()=>mi(a,d,e)),o)}const{ba:p,a:h}=e;(256&t.shapeFlag||d&&br(d.vnode)&&256&d.vnode.shapeFlag)&&(p&&Rr(p),h&&No(h,o),p&&No((()=>Dr(p)),o)),e.isMounted=!0,t=n=r=null}},l=e.effect=new Ke(s,(()=>Ln(u)),e.scope),u=e.update=()=>l.run();u.id=e.uid,Fo(e,!0),u()},H=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=tn(o),[l]=e.propsOptions;let u=!1;if(!(r||a>0)||16&a){let r;To(e,t,o,i)&&(u=!0);for(const i in s)t&&(f(t,i)||(r=M(i))!==i&&f(t,r))||(l?!n||void 0===n[i]&&void 0===n[r]||(o[i]=So(l,s,i,void 0,e,!0)):delete o[i]);if(i!==s)for(const e in i)t&&f(t,e)||(delete i[e],u=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let a=n[r];if(zn(e.emitsOptions,a))continue;const c=t[a];if(l)if(f(i,a))c!==i[a]&&(i[a]=c,u=!0);else{const t=O(a);o[t]=So(l,s,t,c,e,!1)}else c!==i[a]&&(i[a]=c,u=!0)}}u&&at(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:i}=e;let a=!0,s=r;if(32&o.shapeFlag){const e=t._;e?n&&1===e?a=!1:(u(i,t),n||1!==e||delete i._):(a=!t.$stable,Po(t,i)),s=t}else t&&(Lo(e,t),s={default:1});if(a)for(const r in i)Io(r)||r in s||delete i[r]})(e,t.children,n),nt(),Dn(),rt()},U=(e,t,n,r,o,i,a,s,l=!1)=>{const u=e&&e.children,c=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void X(u,d,n,r,o,i,a,s,l);if(256&f)return void Y(u,d,n,r,o,i,a,s,l)}8&p?(16&c&&ee(u,o,i),d!==u&&g(n,d)):16&c?16&p?X(u,d,n,r,o,i,a,s,l):ee(u,o,i,!0):(8&c&&g(n,""),16&p&&P(d,n,r,o,i,a,s,l))},Y=(e,t,n,r,i,a,s,l,u)=>{t=t||o;const c=(e=e||o).length,d=t.length,f=Math.min(c,d);let p;for(p=0;p<f;p++){const r=t[p]=u?pi(t[p]):fi(t[p]);b(e[p],r,n,null,i,a,s,l,u)}c>d?ee(e,i,a,!0,!1,f):P(t,n,r,i,a,s,l,u,f)},X=(e,t,n,r,i,a,s,l,u)=>{let c=0;const d=t.length;let f=e.length-1,p=d-1;for(;c<=f&&c<=p;){const r=e[c],o=t[c]=u?pi(t[c]):fi(t[c]);if(!ni(r,o))break;b(r,o,n,null,i,a,s,l,u),c++}for(;c<=f&&c<=p;){const r=e[f],o=t[p]=u?pi(t[p]):fi(t[p]);if(!ni(r,o))break;b(r,o,n,null,i,a,s,l,u),f--,p--}if(c>f){if(c<=p){const e=p+1,o=e<d?t[e].el:r;for(;c<=p;)b(null,t[c]=u?pi(t[c]):fi(t[c]),n,o,i,a,s,l,u),c++}}else if(c>p)for(;c<=f;)J(e[c],i,a,!0),c++;else{const h=c,g=c,m=new Map;for(c=g;c<=p;c++){const e=t[c]=u?pi(t[c]):fi(t[c]);null!=e.key&&m.set(e.key,c)}let v,y=0;const _=p-g+1;let w=!1,x=0;const T=new Array(_);for(c=0;c<_;c++)T[c]=0;for(c=h;c<=f;c++){const r=e[c];if(y>=_){J(r,i,a,!0);continue}let o;if(null!=r.key)o=m.get(r.key);else for(v=g;v<=p;v++)if(0===T[v-g]&&ni(r,t[v])){o=v;break}void 0===o?J(r,i,a,!0):(T[o-g]=c+1,o>=x?x=o:w=!0,b(r,t[o],n,null,i,a,s,l,u),y++)}const S=w?function(e){const t=e.slice(),n=[0];let r,o,i,a,s;const l=e.length;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(o=n[n.length-1],e[o]<l){t[r]=o,n.push(r);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[r]=n[i-1]),n[i]=r)}}i=n.length,a=n[i-1];for(;i-- >0;)n[i]=a,a=t[a];return n}(T):o;for(v=S.length-1,c=_-1;c>=0;c--){const e=g+c,o=t[e],f=e+1<d?t[e+1].el:r;0===T[c]?b(null,o,n,f,i,a,s,l,u):w&&(v<0||c!==S[v]?G(o,n,f,2):v--)}}},G=(e,t,r,o,i=null)=>{const{el:a,type:s,transition:l,children:u,shapeFlag:c}=e;if(6&c)return void G(e.component.subTree,t,r,o);if(128&c)return void e.suspense.move(t,r,o);if(64&c)return void s.move(e,t,r,re);if(s===Wo){n(a,t,r);for(let e=0;e<u.length;e++)G(u[e],t,r,o);return void n(e.anchor,t,r)}if(s===Uo)return void k(e,t,r);if(2!==o&&1&c&&l)if(0===o)l.beforeEnter(a),n(a,t,r),No((()=>l.enter(a)),i);else{const{leave:e,delayLeave:o,afterLeave:i}=l,s=()=>n(a,t,r),u=()=>{e(a,(()=>{s(),i&&i()}))};o?o(a,s,u):u()}else n(a,t,r)},J=(e,t,n,r=!1,o=!1)=>{const{type:i,props:a,ref:s,children:l,dynamicChildren:u,shapeFlag:c,patchFlag:d,dirs:f}=e;if(null!=s&&Bo(s,null,n,e,!0),256&c)return void t.ctx.deactivate(e);const p=1&c&&f,h=!br(e);let g;if(h&&(g=a&&a.onVnodeBeforeUnmount)&&mi(g,t,e),6&c)Q(e.component,n,r);else{if(128&c)return void e.suspense.unmount(n,r);p&&Jr(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,o,re,r):u&&(i!==Wo||d>0&&64&d)?ee(u,t,n,!1,!0):(i===Wo&&384&d||!o&&16&c)&&ee(l,t,n),r&&Z(e)}(h&&(g=a&&a.onVnodeUnmounted)||p)&&No((()=>{g&&mi(g,t,e),p&&Jr(e,null,t,"unmounted")}),n)},Z=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===Wo)return void K(n,r);if(t===Uo)return void C(e);const i=()=>{a(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,a=()=>t(n,i);r?r(e.el,i,a):a()}else i()},K=(e,t)=>{let n;for(;e!==t;)n=v(e),a(e),e=n;a(t)},Q=(e,t,n)=>{const{bum:r,scope:o,update:i,subTree:a,um:s}=e;r&&R(r),o.stop(),i&&(i.active=!1,J(a,e,t,n)),s&&No(s,t),No((()=>{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,r=!1,o=!1,i=0)=>{for(let a=i;a<e.length;a++)J(e[a],t,n,r,o)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el),ne=(e,t,n)=>{null==e?t._vnode&&J(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),Dn(),jn(),t._vnode=e},re={p:b,um:J,m:G,r:Z,mt:q,mc:P,pc:U,pbc:j,n:te,o:e};let oe,ie;t&&([oe,ie]=t(re));return{render:ne,hydrate:oe,createApp:jo(ne,oe)}}(e)}function Fo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function qo(e,t,n=!1){const r=e.children,o=t.children;if(p(r)&&p(o))for(let i=0;i<r.length;i++){const e=r[i];let t=o[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[i]=pi(o[i]),t.el=e.el),n||qo(e,t)),t.type===zo&&(t.el=e.el)}}const Wo=Symbol(void 0),zo=Symbol(void 0),Ho=Symbol(void 0),Uo=Symbol(void 0),Yo=[];let Xo=null;function Go(e=!1){Yo.push(Xo=e?null:[])}let Jo=1;function Zo(e){Jo+=e}function Ko(e){return e.dynamicChildren=Jo>0?Xo||o:null,Yo.pop(),Xo=Yo[Yo.length-1]||null,Jo>0&&Xo&&Xo.push(e),e}function Qo(e,t,n,r,o,i){return Ko(ai(e,t,n,r,o,i,!0))}function ei(e,t,n,r,o){return Ko(si(e,t,n,r,o,!0))}function ti(e){return!!e&&!0===e.__v_isVNode}function ni(e,t){return e.type===t.type&&e.key===t.key}const ri="__vInternal",oi=({key:e})=>null!=e?e:null,ii=({ref:e,ref_key:t,ref_for:n})=>null!=e?y(e)||ln(e)||v(e)?{i:Hn,r:e,k:t,f:!!n}:e:null;function ai(e,t=null,n=null,r=0,o=null,i=(e===Wo?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&oi(t),ref:t&&ii(t),scopeId:Un,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:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Hn};return s?(hi(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=y(n)?8:16),Jo>0&&!a&&Xo&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Xo.push(l),l}const si=function(e,t=null,n=null,r=0,o=null,i=!1){e&&e!==Kr||(e=Ho);if(ti(e)){const r=ui(e,t,!0);return n&&hi(r,n),Jo>0&&!i&&Xo&&(6&r.shapeFlag?Xo[Xo.indexOf(e)]=r:Xo.push(r)),r.patchFlag|=-2,r}a=e,v(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=li(t);let{class:e,style:n}=t;e&&!y(e)&&(t.class=ue(e)),b(n)&&(en(n)&&!p(n)&&(n=u({},n)),t.style=le(n))}const s=y(e)?1:Qn(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:v(e)?2:0;return ai(e,t,n,r,o,s,i,!0)};function li(e){return e?en(e)||ri in e?u({},e):e:null}function ui(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:a}=e,s=t?gi(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&oi(s),ref:t&&t.ref?n&&o?p(o)?o.concat(ii(t)):[o,ii(t)]:ii(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Wo?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ui(e.ssContent),ssFallback:e.ssFallback&&ui(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ci(e=" ",t=0){return si(zo,null,e,t)}function di(e="",t=!1){return t?(Go(),ei(Ho,null,e)):si(Ho,null,e)}function fi(e){return null==e||"boolean"==typeof e?si(Ho):p(e)?si(Wo,null,e.slice()):"object"==typeof e?pi(e):si(zo,null,String(e))}function pi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ui(e)}function hi(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(p(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),hi(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||ri in t?3===r&&Hn&&(1===Hn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Hn}}else v(t)?(t={default:t,_ctx:Hn},n=32):(t=String(t),64&r?(n=16,t=[ci(t)]):n=8);e.children=t,e.shapeFlag|=n}function gi(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=ue([t.class,r.class]));else if("style"===e)t.style=le([t.style,r.style]);else if(s(e)){const n=t[e],o=r[e];!o||n===o||p(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function mi(e,t,n,r=null){xn(e,t,7,[n,r])}const vi=Ro();let yi=0;let _i=null;const bi=()=>_i||Hn,wi=e=>{_i=e,e.scope.on()},xi=()=>{_i&&_i.scope.off(),_i=null};function Ti(e){return 4&e.vnode.shapeFlag}let Si=!1;function ki(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=gn(t)),Ei(e,n)}function Ei(e,t,n){const r=e.type;e.render||(e.render=r.render||i),wi(e),nt(),fo(e),rt(),xi()}function Ci(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gn(nn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in so?so[n](e):void 0,has:(e,t)=>t in e||t in so}))}function $i(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}const Oi=(e,t)=>function(e,t,n=!1){let r,o;const a=v(e);return a?(r=e,o=i):(r=e.get,o=e.set),new bn(r,o,a||!o,n)}(e,0,Si);function Ii(e,t,n){const r=arguments.length;return 2===r?b(t)&&!p(t)?ti(t)?si(e,null,[t]):si(e,t):si(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&ti(n)&&(n=[n]),si(e,t,n))}const Mi=Symbol(""),Ai=()=>tr(Mi),Pi="3.2.47",Li="undefined"!=typeof document?document:null,Ri=Li&&Li.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,r)=>{const o=t?Li.createElementNS("http://www.w3.org/2000/svg",e):n?Li.createElement(e,{is:n}):Li.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>Li.createTextNode(e),createComment:e=>Li.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Li.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{Ri.innerHTML=r?`<svg>${e}</svg>`:e;const o=Ri.content;if(r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const ji=/\s*!important$/;function Bi(e,t,n){if(p(n))n.forEach((n=>Bi(e,t,n)));else if(null==n&&(n=""),n=Xi(n),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=Vi[t];if(n)return n;let r=O(t);if("filter"!==r&&r in e)return Vi[t]=r;r=A(r);for(let o=0;o<Ni.length;o++){const n=Ni[o]+r;if(n in e)return Vi[t]=n}return t}(e,t);ji.test(n)?e.setProperty(M(r),n.replace(ji,""),"important"):e[r]=n}}const Ni=["Webkit","Moz","ms"],Vi={};const{unit:Fi,unitRatio:qi,unitPrecision:Wi}={unit:"rem",unitRatio:10/320,unitPrecision:5},zi=(Hi=Fi,Ui=qi,Yi=Wi,e=>e.replace(we,((e,t)=>{if(!t)return e;if(1===Ui)return`${t}${Hi}`;const n=function(e,t){const n=Math.pow(10,t+1),r=Math.floor(e*n);return 10*Math.round(r/10)/n}(parseFloat(t)*Ui,Yi);return 0===n?"0":`${n}${Hi}`})));var Hi,Ui,Yi;const Xi=e=>y(e)?zi(e):e,Gi="http://www.w3.org/1999/xlink";function Ji(e,t,n,r){e.addEventListener(t,n,r)}function Zi(e,t,n,r,o=null){const i=e._vei||(e._vei={}),a=i[t];if(r&&a)a.value=r;else{const[n,s]=function(e){let t;if(Ki.test(e)){let n;for(t={};n=e.match(Ki);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):M(e.slice(2)),t]}(t);if(r){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 r=t&&t.proxy,o=r&&r.$nne,{value:i}=n;if(o&&p(i)){const n=ta(e,i);for(let r=0;r<n.length;r++){const i=n[r];xn(i,t,5,i.__wwe?[e]:o(e))}}else xn(ta(e,i),t,5,o&&!i.__wwe?o(e,i,t):[e])};return n.value=e,n.attached=(()=>Qi||(ea.then((()=>Qi=0)),Qi=Date.now()))(),n}(r,o);Ji(e,n,a,s)}else a&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,a,s),i[t]=void 0)}}const Ki=/(?:Once|Passive|Capture)$/;let Qi=0;const ea=Promise.resolve();function ta(e,t){if(p(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const na=/^on[a-z]/;function ra(e){const t=bi();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>ia(e,n)))},r=()=>{const r=e(t.proxy);oa(t.subTree,r),n(r)};rr(r),Vr((()=>{const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),zr((()=>e.disconnect()))}))}function oa(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{oa(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)ia(e.el,t);else if(e.type===Wo)e.children.forEach((e=>oa(e,t)));else if(e.type===Uo){let{el:n,anchor:r}=e;for(;n&&(ia(n,t),n!==r);)n=n.nextSibling}}function ia(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,Xi(t[e]))}}const aa="transition",sa=(e,{slots:t})=>Ii(fr,function(e){const t={};for(const u in e)u in la||(t[u]=e[u]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(b(e))return[da(e.enter),da(e.leave)];{const t=da(e);return[t,t]}}(o),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:T,onBeforeAppear:S=y,onAppear:k=_,onAppearCancelled:E=w}=t,C=(e,t,n)=>{pa(e,t?d:s),pa(e,t?c:a),n&&n()},$=(e,t)=>{e._isLeaving=!1,pa(e,f),pa(e,h),pa(e,p),t&&t()},O=e=>(t,n)=>{const o=e?k:_,a=()=>C(t,e,n);ua(o,[t,a]),ha((()=>{pa(t,e?l:i),fa(t,e?d:s),ca(o)||ma(t,r,m,a)}))};return u(t,{onBeforeEnter(e){ua(y,[e]),fa(e,i),fa(e,a)},onBeforeAppear(e){ua(S,[e]),fa(e,l),fa(e,c)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>$(e,t);fa(e,f),document.body.offsetHeight,fa(e,p),ha((()=>{e._isLeaving&&(pa(e,f),fa(e,h),ca(x)||ma(e,r,v,n))})),ua(x,[e,n])},onEnterCancelled(e){C(e,!1),ua(w,[e])},onAppearCancelled(e){C(e,!0),ua(E,[e])},onLeaveCancelled(e){$(e),ua(T,[e])}})}(e),t);sa.displayName="Transition";const la={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};sa.props=u({},dr,la);const ua=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},ca=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function da(e){const t=(e=>{const t=y(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function fa(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function pa(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ha(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let ga=0;function ma(e,t,n,r){const o=e._endId=++ga,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r("transitionDelay"),i=r("transitionDuration"),a=va(o,i),s=r("animationDelay"),l=r("animationDuration"),u=va(s,l);let c=null,d=0,f=0;t===aa?a>0&&(c=aa,d=a,f=i.length):"animation"===t?u>0&&(c="animation",d=u,f=l.length):(d=Math.max(a,u),c=d>0?a>u?aa:"animation":null,f=c?c===aa?i.length:l.length:0);const p=c===aa&&/\b(transform|all)(,|$)/.test(r("transitionProperty").toString());return{type:c,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!a)return r();const u=a+"end";let c=0;const d=()=>{e.removeEventListener(u,f),i()},f=t=>{t.target===e&&++c>=l&&d()};setTimeout((()=>{c<l&&d()}),s+1),e.addEventListener(u,f)}function va(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>ya(t)+ya(e[n]))))}function ya(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}const _a=e=>{const t=e.props["onUpdate:modelValue"]||!1;return p(t)?e=>R(t,e):t};function ba(e){e.target.composing=!0}function wa(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xa={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=_a(o);const i=r||o.props&&"number"===o.props.type;Ji(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),i&&(r=j(r)),e._assign(r)})),n&&Ji(e,"change",(()=>{e.value=e.value.trim()})),t||(Ji(e,"compositionstart",ba),Ji(e,"compositionend",wa),Ji(e,"change",wa))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},i){if(e._assign=_a(i),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(r&&e.value.trim()===t)return;if((o||"number"===e.type)&&j(e.value)===t)return}const a=null==t?"":t;e.value!==a&&(e.value=a)}},Ta={deep:!0,created(e,t,n){e._assign=_a(n),Ji(e,"change",(()=>{const t=e._modelValue,n=$a(e),r=e.checked,o=e._assign;if(p(t)){const e=X(t,n),i=-1!==e;if(r&&!i)o(t.concat(n));else if(!r&&i){const n=[...t];n.splice(e,1),o(n)}}else if(g(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(Oa(e,r))}))},mounted:Sa,beforeUpdate(e,t,n){e._assign=_a(n),Sa(e,t,n)}};function Sa(e,{value:t,oldValue:n},r){e._modelValue=t,p(t)?e.checked=X(t,r.props.value)>-1:g(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Y(t,Oa(e,!0)))}const ka={created(e,{value:t},n){e.checked=Y(t,n.props.value),e._assign=_a(n),Ji(e,"change",(()=>{e._assign($a(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=_a(r),t!==n&&(e.checked=Y(t,r.props.value))}},Ea={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=g(t);Ji(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?j($a(e)):$a(e)));e._assign(e.multiple?o?new Set(t):t:t[0])})),e._assign=_a(r)},mounted(e,{value:t}){Ca(e,t)},beforeUpdate(e,t,n){e._assign=_a(n)},updated(e,{value:t}){Ca(e,t)}};function Ca(e,t){const n=e.multiple;if(!n||p(t)||g(t)){for(let r=0,o=e.options.length;r<o;r++){const o=e.options[r],i=$a(o);if(n)p(t)?o.selected=X(t,i)>-1:o.selected=t.has(i);else if(Y($a(o),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function $a(e){return"_value"in e?e._value:e.value}function Oa(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ia={created(e,t,n){Ma(e,t,n,null,"created")},mounted(e,t,n){Ma(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ma(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ma(e,t,n,r,"updated")}};function Ma(e,t,n,r,o){const i=function(e,t){switch(e){case"SELECT":return Ea;case"TEXTAREA":return xa;default:switch(t){case"checkbox":return Ta;case"radio":return ka;default:return xa}}}(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}const Aa=["ctrl","shift","alt","meta"],Pa={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)=>Aa.some((n=>e[`${n}Key`]&&!t.includes(n)))},La=(e,t)=>(n,...r)=>{for(let e=0;e<t.length;e++){const r=Pa[t[e]];if(r&&r(n,t))return}return e(n,...r)},Ra={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Da(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Da(e,!0),r.enter(e)):r.leave(e,(()=>{Da(e,!1)})):Da(e,t))},beforeUnmount(e,{value:t}){Da(e,t)}};function Da(e,t){e.style.display=t?e._vod:"none"}const ja=u({patchProp:(e,t,n,r,o=!1,i,a,u,c)=>{if(0===t.indexOf("change:"))return function(e,t,n,r=null){if(!n||!r)return;const o=t.replace("change:",""),{attrs:i}=r,a=i[o],s=(e.__wxsProps||(e.__wxsProps={}))[o];if(s===a)return;e.__wxsProps[o]=a;const l=r.proxy;Pn((()=>{n(a,s,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,r,a);"class"===t?function(e,t,n){const{__wxsAddClass:r,__wxsRemoveClass:o}=e;o&&o.length&&(t=(t||"").split(/\s+/).filter((e=>-1===o.indexOf(e))).join(" "),o.length=0),r&&r.length&&(t=(t||"")+" "+r.join(" "));const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,o):"style"===t?function(e,t,n){const r=e.style,o=y(n);if(n&&!o){if(t&&!y(t))for(const e in t)null==n[e]&&Bi(r,e,"");for(const e in n)Bi(r,e,n[e])}else{const i=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}const{__wxsStyle:i}=e;if(i)for(const a in i)Bi(r,a,i[a])}(e,n,r):s(t)?l(t)||Zi(e,t,0,r,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&na.test(t)&&v(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(na.test(t)&&y(n))return!1;return t in e}(e,t,r,o))?function(e,t,n,r,o,i,a){if("innerHTML"===t||"textContent"===t)return r&&a(r,o,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const r=null==n?"":n;return e.value===r&&"OPTION"!==e.tagName||(e.value=r),void(null==n&&e.removeAttribute(t))}let s=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=U(n):null==n&&"string"===r?(n="",s=!0):"number"===r&&(n=0,s=!0)}try{e[t]=n}catch(Ax){}s&&e.removeAttribute(t)}(e,t,r,i,a,u,c):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gi,t.slice(6,t.length)):e.setAttributeNS(Gi,t,n);else{const r=H(t);null==n||r&&!U(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,o))},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 Ba;const Na=(...e)=>{const t=(Ba||(Ba=Vo(ja))).createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){if(y(e)){return document.querySelector(e)}return e}(e);if(!r)return;const o=t._component;v(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};const Va=["{","}"];const Fa=/^(?:\d)+/,qa=/^(?:\w)+/;const Wa=Object.prototype.hasOwnProperty,za=(e,t)=>Wa.call(e,t),Ha=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Va){if(!t)return[e];let r=this._caches[e];return r||(r=function(e,[t,n]){const r=[];let o=0,i="";for(;o<e.length;){let a=e[o++];if(a===t){i&&r.push({type:"text",value:i}),i="";let t="";for(a=e[o++];void 0!==a&&a!==n;)t+=a,a=e[o++];const s=a===n,l=Fa.test(t)?"list":s&&qa.test(t)?"named":"unknown";r.push({value:t,type:l})}else i+=a}return i&&r.push({type:"text",value:i}),r}(e,n),this._caches[e]=r),function(e,t){const n=[];let r=0;const o=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===o)return n;for(;r<e.length;){const i=e[r];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===o&&n.push(t[i.value])}r++}return n}(r,t)}};function Ua(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 r=["en","fr","es"];t&&Object.keys(t).length>0&&(r=Object.keys(t));const o=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,r);return o||void 0}class Ya{constructor({locale:e,fallbackLocale:t,messages:n,watcher:r,formater:o}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=o||Ha,this.messages=n||{},this.setLocale(e||"en"),r&&this.watchLocale(r)}setLocale(e){const t=this.locale;this.locale=Ua(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 r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((e=>{za(r,e)||(r[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let r=this.message;return"string"==typeof t?(t=Ua(t,this.messages))&&(r=this.messages[t]):n=t,za(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function Xa(e,t={},n,r){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e="undefined"!=typeof uni&&If?If():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const o=new Ya({locale:e,fallbackLocale:n,messages:t,watcher:r});let i=(e,t)=>{{let e=!1;i=function(t,n){const r=Am().$vm;return r&&(r.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(r,o))),o.t(t,n)}}return i(e,t)};return{i18n:o,f:(e,t,n)=>o.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>o.add(e,t,n),watch:e=>o.watchLocale(e),getLocale:()=>o.getLocale(),setLocale:e=>o.setLocale(e)}}function Ga(e,t){return e.indexOf(t[0])>-1}
  2. /*!
  3. * vue-router v4.1.6
  4. * (c) 2022 Eduardo San Martin Morote
  5. * @license MIT
  6. */const Ja="undefined"!=typeof window;const Za=Object.assign;function Ka(e,t){const n={};for(const r in t){const o=t[r];n[r]=es(o)?o.map(e):e(o)}return n}const Qa=()=>{},es=Array.isArray,ts=/\/$/;function ns(e,t,n="/"){let r,o={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),o=e(i)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o,i,a=n.length-1;for(o=0;o<r.length;o++)if(i=r[o],"."!==i){if(".."!==i)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}(null!=r?r:t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:a}}function rs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function os(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function is(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!as(e[n],t[n]))return!1;return!0}function as(e,t){return es(e)?ss(e,t):es(t)?ss(t,e):e===t}function ss(e,t){return es(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var ls,us,cs,ds;function fs(e){if(!e)if(Ja){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(ts,"")}(us=ls||(ls={})).pop="pop",us.push="push",(ds=cs||(cs={})).back="back",ds.forward="forward",ds.unknown="";const ps=/^[^#]+#/;function hs(e,t){return e.replace(ps,"#")+t}const gs=()=>({left:window.pageXOffset,top:window.pageYOffset});function ms(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function vs(e,t){return(history.state?history.state.position-t:-1)+e}const ys=new Map;function _s(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),rs(n,"")}return rs(n,e)+r+o}function bs(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?gs():null}}function ws(e){const{history:t,location:n}=window,r={value:_s(e,n)},o={value:t.state};function i(r,i,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+r:location.protocol+"//"+location.host+e+r;try{t[a?"replaceState":"pushState"](i,"",l),o.value=i}catch(u){console.error(u),n[a?"replace":"assign"](l)}}return o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:function(e,n){const a=Za({},o.value,t.state,{forward:e,scroll:gs()});i(a.current,a,!0),i(e,Za({},bs(r.value,e,null),{position:a.position+1},n),!1),r.value=e},replace:function(e,n){i(e,Za({},t.state,bs(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}function xs(e){const t=ws(e=fs(e)),n=function(e,t,n,r){let o=[],i=[],a=null;const s=({state:i})=>{const s=_s(e,location),l=n.value,u=t.value;let c=0;if(i){if(n.value=s,t.value=i,a&&a===l)return void(a=null);c=u?i.position-u.position:0}else r(s);o.forEach((e=>{e(n.value,l,{delta:c,type:ls.pop,direction:c?c>0?cs.forward:cs.back:cs.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Za({},e.state,{scroll:gs()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l),{pauseListeners:function(){a=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.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 r=Za({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:hs.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Ts(e){return"string"==typeof e||"symbol"==typeof e}const Ss={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ks=Symbol("");var Es,Cs;function $s(e,t){return Za(new Error,{type:e,[ks]:!0},t)}function Os(e,t){return e instanceof Error&&ks in e&&(null==t||!!(e.type&t))}(Cs=Es||(Es={}))[Cs.aborted=4]="aborted",Cs[Cs.cancelled=8]="cancelled",Cs[Cs.duplicated=16]="duplicated";const Is={sensitive:!1,strict:!1,start:!0,end:!0},Ms=/[.+*?^${}()[\]/\\]/g;function As(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;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 r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const e=As(r[n],o[n]);if(e)return e;n++}if(1===Math.abs(o.length-r.length)){if(Ls(r))return 1;if(Ls(o))return-1}return o.length-r.length}function Ls(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Rs={type:0,value:""},Ds=/[a-zA-Z0-9_]/;function js(e,t,n){const r=function(e,t){const n=Za({},Is,t),r=[];let o=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let t=0;t<l.length;t++){const r=l[t];let a=40+(n.sensitive?.25:0);if(0===r.type)t||(o+="/"),o+=r.value.replace(Ms,"\\$&"),a+=40;else if(1===r.type){const{value:e,repeatable:n,optional:u,regexp:c}=r;i.push({name:e,repeatable:n,optional:u});const d=c||"[^/]+?";if("[^/]+?"!==d){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let f=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(f=u&&l.length<2?`(?:/${f})`:"/"+f),u&&(f+="?"),o+=f,a+=20,u&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");return{re:a,score:r,keys:i,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let r=1;r<t.length;r++){const e=t[r]||"",o=i[r-1];n[o.name]=e&&o.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",r=!1;for(const o of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const e of o)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(es(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const u=es(l)?l.join("/"):l;if(!u){if(!s)throw new Error(`Missing required param "${i}"`);o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=u}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Rs]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${u}": ${e}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let s,l=0,u="",c="";function d(){u&&(0===n?i.push({type:0,value:u}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),u="")}function f(){u+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(u&&d(),a()):":"===s?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:"("===s?n=2:Ds.test(s)?f():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==c[c.length-1]?c=c.slice(0,-1)+s:n=3:c+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,c="";break;default:t("Unknown state")}else r=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${u}"`),d(),a(),o}(e.path),n),o=Za(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Bs(e,t){const n=[],r=new Map;function o(e,n,r){const s=!r,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Vs(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=r&&r.record;const u=Ws(t,e),c=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)c.push(Za({},l,{components:r?r.record.components:l.components,path:e,aliasOf:r?r.record:l}))}let d,f;for(const t of c){const{path:c}=t;if(n&&"/"!==c[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(c&&r+c)}if(d=js(t,n,u),r?r.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),s&&e.name&&!Fs(d)&&i(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)o(e[t],d,r&&r.children[t])}r=r||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&a(d)}return f?()=>{i(f)}:Qa}function i(e){if(Ts(e)){const t=r.get(e);t&&(r.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&&r.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&&!Fs(e)&&r.set(e.record.name,e)}return t=Ws({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,i,a,s={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw $s(1,{location:e});a=o.record.name,s=Za(Ns(t.params,o.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&Ns(e.params,o.keys.map((e=>e.name)))),i=o.stringify(s)}else if("path"in e)i=e.path,o=n.find((e=>e.re.test(i))),o&&(s=o.parse(i),a=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw $s(1,{location:e,currentLocation:t});a=o.record.name,s=Za({},t.params,e.params),i=o.stringify(s)}const l=[];let u=o;for(;u;)l.unshift(u.record),u=u.parent;return{name:a,path:i,params:s,matched:l,meta:qs(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function Ns(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Vs(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="boolean"==typeof n?n:n[r];return t}function Fs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function qs(e){return e.reduce(((e,t)=>Za(e,t.meta)),{})}function Ws(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function zs(e,t){return t.children.some((t=>t===e||zs(e,t)))}const Hs=/#/g,Us=/&/g,Ys=/\//g,Xs=/=/g,Gs=/\?/g,Js=/\+/g,Zs=/%5B/g,Ks=/%5D/g,Qs=/%5E/g,el=/%60/g,tl=/%7B/g,nl=/%7C/g,rl=/%7D/g,ol=/%20/g;function il(e){return encodeURI(""+e).replace(nl,"|").replace(Zs,"[").replace(Ks,"]")}function al(e){return il(e).replace(Js,"%2B").replace(ol,"+").replace(Hs,"%23").replace(Us,"%26").replace(el,"`").replace(tl,"{").replace(rl,"}").replace(Qs,"^")}function sl(e){return null==e?"":function(e){return il(e).replace(Hs,"%23").replace(Gs,"%3F")}(e).replace(Ys,"%2F")}function ll(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function ul(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const e=n[r].replace(Js," "),o=e.indexOf("="),i=ll(o<0?e:e.slice(0,o)),a=o<0?null:ll(e.slice(o+1));if(i in t){let e=t[i];es(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function cl(e){let t="";for(let n in e){const r=e[n];if(n=al(n).replace(Xs,"%3D"),null==r){void 0!==r&&(t+=(t.length?"&":"")+n);continue}(es(r)?r.map((e=>e&&al(e))):[r&&al(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function dl(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=es(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const fl=Symbol(""),pl=Symbol(""),hl=Symbol(""),gl=Symbol(""),ml=Symbol("");function vl(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function yl(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((a,s)=>{const l=e=>{var l;!1===e?s($s(4,{from:n,to:t})):e instanceof Error?s(e):"string"==typeof(l=e)||l&&"object"==typeof l?s($s(2,{from:t,to:e})):(i&&r.enterCallbacks[o]===i&&"function"==typeof e&&i.push(e),a())},u=e.call(r&&r.instances[o],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch((e=>s(e)))}))}function _l(e,t,n,r){const o=[];for(const a of e)for(const e in a.components){let s=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(i=s)||"displayName"in i||"props"in i||"__vccOpts"in i){const i=(s.__vccOpts||s)[t];i&&o.push(yl(i,n,r,a,e))}else{let i=s();o.push((()=>i.then((o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const i=(s=o).__esModule||"Module"===s[Symbol.toStringTag]?o.default:o;var s;a.components[e]=i;const l=(i.__vccOpts||i)[t];return l&&yl(l,n,r,a,e)()}))))}}var i;return o}function bl(e){const t=tr(hl),n=tr(gl),r=Oi((()=>t.resolve(pn(e.to)))),o=Oi((()=>{const{matched:e}=r.value,{length:t}=e,o=e[t-1],i=n.matched;if(!o||!i.length)return-1;const a=i.findIndex(os.bind(null,o));if(a>-1)return a;const s=xl(e[t-2]);return t>1&&xl(o)===s&&i[i.length-1].path!==s?i.findIndex(os.bind(null,e[t-2])):a})),i=Oi((()=>o.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n];if("string"==typeof r){if(r!==o)return!1}else if(!es(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,r.value.params))),a=Oi((()=>o.value>-1&&o.value===n.matched.length-1&&is(n.params,r.value.params)));return{route:r,href:Oi((()=>r.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[pn(e.replace)?"replace":"push"](pn(e.to)).catch(Qa):Promise.resolve()}}}const wl=_r({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:bl,setup(e,{slots:t}){const n=Xt(bl(e)),{options:r}=tr(hl),o=Oi((()=>({[Tl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Tl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=t.default&&t.default(n);return e.custom?r:Ii("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}});function xl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Tl=(e,t,n)=>null!=e?e:null!=t?t:n,Sl=_r({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=tr(ml),o=Oi((()=>e.route||r.value)),i=tr(pl,0),a=Oi((()=>{let e=pn(i);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=Oi((()=>o.value.matched[a.value]));er(pl,Oi((()=>a.value+1))),er(fl,s),er(ml,o);const l=un();return ir((()=>[l.value,s.value,e.name]),(([e,t,n],[r,o,i])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&os(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const r=o.value,i=e.name,a=s.value,u=a&&a.components[i];if(!u)return kl(n.default,{Component:u,route:r});const c=a.props[i],d=c?!0===c?r.params:"function"==typeof c?c(r):c:null,f=Ii(u,Za({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}));return kl(n.default,{Component:f,route:r})||f}}});function kl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const El=Sl;function Cl(e){const t=Bs(e.routes,e),n=e.parseQuery||ul,r=e.stringifyQuery||cl,o=e.history,i=vl(),a=vl(),s=vl(),l=cn(Ss);let u=Ss;Ja&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ka.bind(null,(e=>""+e)),d=Ka.bind(null,sl),f=Ka.bind(null,ll);function p(e,i){if(i=Za({},i||l.value),"string"==typeof e){const r=ns(n,e,i.path),a=t.resolve({path:r.path},i),s=o.createHref(r.fullPath);return Za(r,a,{params:f(a.params),hash:ll(r.hash),redirectedFrom:void 0,href:s})}let a;if("path"in e)a=Za({},e,{path:ns(n,e.path,i.path).path});else{const t=Za({},e.params);for(const e in t)null==t[e]&&delete t[e];a=Za({},e,{params:d(e.params)}),i.params=d(i.params)}const s=t.resolve(a,i),u=e.hash||"";s.params=c(f(s.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,Za({},e,{hash:(h=u,il(h).replace(tl,"{").replace(rl,"}").replace(Qs,"^")),path:s.path}));var h;const g=o.createHref(p);return Za({fullPath:p,hash:u,query:r===cl?dl(e.query):e.query||{}},s,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?ns(n,e,l.value.path):Za({},e)}function g(e,t){if(u!==e)return $s(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 r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=h(r):{path:r},r.params={}),Za({query:e.query,hash:e.hash,params:"path"in r?{}:e.params},r)}}function y(e,t){const n=u=p(e),o=l.value,i=e.state,a=e.force,s=!0===e.replace,c=v(n);if(c)return y(Za(h(c),{state:"object"==typeof c?Za({},i,c.state):i,force:a,replace:s}),t||n);const d=n;let f;return d.redirectedFrom=t,!a&&function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&os(t.matched[r],n.matched[o])&&is(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(f=$s(16,{to:d,from:o}),I(o,o,!0,!1)),(f?Promise.resolve(f):b(d,o)).catch((e=>Os(e)?Os(e,2)?e:O(e):$(e,d,o))).then((e=>{if(e){if(Os(e,2))return y(Za({replace:s},h(e.to),{state:"object"==typeof e.to?Za({},i,e.to.state):i,force:a}),t||d)}else e=x(d,o,!0,s,i);return w(d,o,e),e}))}function _(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e,t){let n;const[r,o,s]=function(e,t){const n=[],r=[],o=[],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=>os(e,i)))?r.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>os(e,s)))||o.push(s))}return[n,r,o]}(e,t);n=_l(r.reverse(),"beforeRouteLeave",e,t);for(const i of r)i.leaveGuards.forEach((r=>{n.push(yl(r,e,t))}));const l=_.bind(null,e,t);return n.push(l),$l(n).then((()=>{n=[];for(const r of i.list())n.push(yl(r,e,t));return n.push(l),$l(n)})).then((()=>{n=_l(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(yl(r,e,t))}));return n.push(l),$l(n)})).then((()=>{n=[];for(const r of e.matched)if(r.beforeEnter&&!t.matched.includes(r))if(es(r.beforeEnter))for(const o of r.beforeEnter)n.push(yl(o,e,t));else n.push(yl(r.beforeEnter,e,t));return n.push(l),$l(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=_l(s,"beforeRouteEnter",e,t),n.push(l),$l(n)))).then((()=>{n=[];for(const r of a.list())n.push(yl(r,e,t));return n.push(l),$l(n)})).catch((e=>Os(e,8)?e:Promise.reject(e)))}function w(e,t,n){for(const r of s.list())r(e,t,n)}function x(e,t,n,r,i){const a=g(e,t);if(a)return a;const s=t===Ss,u=Ja?history.state:{};n&&(r||s?o.replace(e.fullPath,Za({scroll:s&&u&&u.scroll},i)):o.push(e.fullPath,i)),l.value=e,I(e,t,n,s),O()}let T;function S(){T||(T=o.listen(((e,t,n)=>{if(!L.listening)return;const r=p(e),i=v(r);if(i)return void y(Za(i,{replace:!0}),r).catch(Qa);u=r;const a=l.value;var s,c;Ja&&(s=vs(a.fullPath,n.delta),c=gs(),ys.set(s,c)),b(r,a).catch((e=>Os(e,12)?e:Os(e,2)?(y(e.to,r).then((e=>{Os(e,20)&&!n.delta&&n.type===ls.pop&&o.go(-1,!1)})).catch(Qa),Promise.reject()):(n.delta&&o.go(-n.delta,!1),$(e,r,a)))).then((e=>{(e=e||x(r,a,!1))&&(n.delta&&!Os(e,8)?o.go(-n.delta,!1):n.type===ls.pop&&Os(e,20)&&o.go(-1,!1)),w(r,a,e)})).catch(Qa)})))}let k,E=vl(),C=vl();function $(e,t,n){O(e);const r=C.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function O(e){return k||(k=!e,S(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function I(t,n,r,o){const{scrollBehavior:i}=e;if(!Ja||!i)return Promise.resolve();const a=!r&&function(e){const t=ys.get(e);return ys.delete(e),t}(vs(t.fullPath,0))||(o||!r)&&history.state&&history.state.scroll||null;return Pn().then((()=>i(t,n,a))).then((e=>e&&ms(e))).catch((e=>$(e,t,n)))}const M=e=>o.go(e);let A;const P=new Set,L={currentRoute:l,listening:!0,addRoute:function(e,n){let r,o;return Ts(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:m,replace:function(e){return m(Za(h(e),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:C.add,isReady:function(){return k&&l.value!==Ss?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",wl),e.component("RouterView",El),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>pn(l)}),Ja&&!A&&l.value===Ss&&(A=!0,m(o.location).catch((e=>{})));const t={};for(const r in Ss)t[r]=Oi((()=>l.value[r]));e.provide(hl,this),e.provide(gl,Xt(t)),e.provide(ml,l);const n=e.unmount;P.add(e),e.unmount=function(){P.delete(e),P.size<1&&(u=Ss,T&&T(),T=null,l.value=Ss,A=!1,k=!1),n()}}};return L}function $l(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function Ol(){return tr(gl)}const Il=ge((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Ml;function Al(e){return Ga(e,ne)?Rl().f(e,function(){const e=If(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),ne):e}function Pl(e,t){if(1===t.length){if(e){const n=e=>y(e)&&Ga(e,ne),r=t[0];let o=[];if(p(e)&&(o=e.filter((e=>n(e[r])))).length)return o;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return Pl(e&&e[n],t)}function Ll(e,t){const n=Pl(e,t);if(!n)return!1;const r=t[t.length-1];if(p(n))n.forEach((e=>Ll(e,[r])));else{let e=n[r];Object.defineProperty(n,r,{get:()=>Al(e),set(t){e=t}})}return!0}function Rl(){if(!Ml){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,Ml=Xa(e),Il()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Ml.add(e,__uniConfig.locales[e]))),Ml.setLocale(e)}}return Ml}function Dl(e,t,n){return t.reduce(((t,r,o)=>(t[e+r]=n[o],t)),{})}const jl=ge((()=>{const e="uni.async.",t=["error"];Rl().add("en",Dl(e,t,["The connection timed out, click the screen to try again."]),!1),Rl().add("es",Dl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Rl().add("fr",Dl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Rl().add("zh-Hans",Dl(e,t,["连接服务器超时,点击屏幕重试"]),!1),Rl().add("zh-Hant",Dl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),Bl=ge((()=>{const e="uni.showToast.",t=["unpaired"];Rl().add("en",Dl(e,t,["Please note showToast must be paired with hideToast"]),!1),Rl().add("es",Dl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Rl().add("fr",Dl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Rl().add("zh-Hans",Dl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Rl().add("zh-Hant",Dl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Nl=ge((()=>{const e="uni.showLoading.",t=["unpaired"];Rl().add("en",Dl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Rl().add("es",Dl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Rl().add("fr",Dl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Rl().add("zh-Hans",Dl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Rl().add("zh-Hant",Dl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Vl=ge((()=>{const e="uni.showModal.",t=["cancel","confirm"];Rl().add("en",Dl(e,t,["Cancel","OK"]),!1),Rl().add("es",Dl(e,t,["Cancelar","OK"]),!1),Rl().add("fr",Dl(e,t,["Annuler","OK"]),!1),Rl().add("zh-Hans",Dl(e,t,["取消","确定"]),!1),Rl().add("zh-Hant",Dl(e,t,["取消","確定"]),!1)})),Fl=ge((()=>{const e="uni.chooseFile.",t=["notUserActivation"];Rl().add("en",Dl(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Rl().add("es",Dl(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Rl().add("fr",Dl(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),Rl().add("zh-Hans",Dl(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Rl().add("zh-Hant",Dl(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),ql=ge((()=>{const e="uni.picker.",t=["done","cancel"];Rl().add("en",Dl(e,t,["Done","Cancel"]),!1),Rl().add("es",Dl(e,t,["OK","Cancelar"]),!1),Rl().add("fr",Dl(e,t,["OK","Annuler"]),!1),Rl().add("zh-Hans",Dl(e,t,["完成","取消"]),!1),Rl().add("zh-Hant",Dl(e,t,["完成","取消"]),!1)})),Wl=ge((()=>{const e="uni.video.",t=["danmu","volume"];Rl().add("en",Dl(e,t,["Danmu","Volume"]),!1),Rl().add("es",Dl(e,t,["Danmu","Volumen"]),!1),Rl().add("fr",Dl(e,t,["Danmu","Le Volume"]),!1),Rl().add("zh-Hans",Dl(e,t,["弹幕","音量"]),!1),Rl().add("zh-Hant",Dl(e,t,["彈幕","音量"]),!1)}));function zl(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,r,o=!1){t[o?"once":"on"](`${e}.${n}`,r)},unsubscribe(n,r){t.off(`${e}.${n}`,r)},subscribeHandler(n,r,o){t.emit(`${e}.${n}`,r,o)}}}let Hl=1;const Ul=Object.create(null);function Yl(e,t){return e+"."+t}function Xl(e,t,n){t=Yl(e,t),Ul[t]||(Ul[t]=n)}function Gl({id:e,name:t,args:n},r){t=Yl(r,t);const o=t=>{e&&r_.publishHandler("invokeViewApi."+e,t)},i=Ul[t];i?i(n,o):o({})}const Jl=u(zl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:r,publishHandler:o}=r_,i=n?Hl++:0;n&&r("invokeServiceApi."+i,n,!0),o("invokeServiceApi",{id:i,name:e,args:t})}}),Zl=xe(!0);let Kl;function Ql(){Kl&&(clearTimeout(Kl),Kl=null)}let eu=0,tu=0;function nu(e){if(Ql(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];eu=t,tu=n,Kl=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 ru(e){if(!Kl)return;if(1!==e.touches.length)return Ql();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-eu)>10||Math.abs(n-tu)>10?Ql():void 0}function ou(e,t){const n=Number(e);return isNaN(n)?t:n}function iu(){const e=__uniConfig.globalStyle||{},t=ou(e.rpxCalcMaxDeviceWidth,960),n=ou(e.rpxCalcBaseDeviceWidth,375);function r(){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"}r(),document.addEventListener("DOMContentLoaded",r),window.addEventListener("load",r),window.addEventListener("resize",r)}function au(){iu(),_e(),window.addEventListener("touchstart",nu,Zl),window.addEventListener("touchmove",ru,Zl),window.addEventListener("touchend",Ql,Zl),window.addEventListener("touchcancel",Ql,Zl)}function su(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lu,uu,cu=["top","left","right","bottom"],du={};function fu(){return uu="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 pu(){if(uu="string"==typeof uu?uu:fu()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(Ax){}var r=document.createElement("div");o(r,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),cu.forEach((function(e){a(r,e)})),document.body.appendChild(r),i(),lu=!0}else cu.forEach((function(e){du[e]=0}));function o(e,t){var n=e.style;Object.keys(t).forEach((function(e){var r=t[e];n[e]=r}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function a(e,n){var r=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),u={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:uu+"(safe-area-inset-"+n+")"};o(r,u),o(a,u),o(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),o(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),r.appendChild(s),a.appendChild(l),e.appendChild(r),e.appendChild(a),i((function(){r.scrollTop=a.scrollTop=1e4;var e=r.scrollTop,o=a.scrollTop;function i(){this.scrollTop!==(this===r?e:o)&&(r.scrollTop=a.scrollTop=1e4,e=r.scrollTop,o=a.scrollTop,function(e){gu.length||setTimeout((function(){var e={};gu.forEach((function(t){e[t]=du[t]})),gu.length=0,mu.forEach((function(t){t(e)}))}),0);gu.push(e)}(n))}r.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)}));var c=getComputedStyle(r);Object.defineProperty(du,n,{configurable:!0,get:function(){return parseFloat(c.paddingBottom)}})}}function hu(e){return lu||pu(),du[e]}var gu=[];var mu=[];const vu=su({get support(){return 0!=("string"==typeof uu?uu:fu()).length},get top(){return hu("top")},get left(){return hu("left")},get right(){return hu("right")},get bottom(){return hu("bottom")},onChange:function(e){fu()&&(lu||pu(),"function"==typeof e&&mu.push(e))},offChange:function(e){var t=mu.indexOf(e);t>=0&&mu.splice(t,1)}}),yu=La((()=>{}),["prevent"]),_u=La((e=>{}),["stop"]);function bu(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function wu(){const e=bu(document.documentElement.style,"--window-top");return e?e+vu.top:0}function xu(){const e=document.documentElement.style,t=wu(),n=bu(e,"--window-bottom"),r=bu(e,"--window-left"),o=bu(e,"--window-right"),i=bu(e,"--top-window-height");return{top:t,bottom:n?n+vu.bottom:0,left:r?r+vu.left:0,right:o?o+vu.right:0,topWindowHeight:i||0}}function Tu(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Su(e){return Tu(e)}function ku(e){return Symbol(e)}function Eu(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Cu(e,t=!1){if(t)return function(e){if(!Eu(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>Dd(parseFloat(t))+"px"))}(e);if(y(e)){const t=parseInt(e)||0;return Eu(e)?Dd(t):t}return e}const $u="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",Ou="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function Iu(e,t="#000",n=27){return si("svg",{width:n,height:n,viewBox:"0 0 32 32"},[si("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Mu(){{const{$pageInstance:e}=bi();return e&&e.proxy.$page.id}}function Au(e){const t=ie(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function Pu(){const e=lm(),t=e.length;if(t)return e[t-1]}function Lu(){const e=Pu();if(e)return e.$page.meta}function Ru(){const e=Lu();return e?e.id:-1}function Du(){const e=Pu();if(e)return e.$vm}const ju=["navigationBar","pullToRefresh"];function Bu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),r=u({id:t},n,e);ju.forEach((t=>{r[t]=u({},n[t],e[t])}));const{navigationBar:o}=r;return o.titleText&&o.titleImage&&(o.titleText=""),r}function Nu(e,t,n){if(y(e))n=t,t=e,e=Du();else if("number"==typeof e){const t=lm().find((t=>t.$page.id===e));e=t?t.$vm:Du()}if(!e)return;const r=e.$[t];return r&&((e,t)=>{let n;for(let r=0;r<e.length;r++)n=e[r](t);return n})(r,n)}function Vu(e){e.preventDefault()}let Fu,qu=0;function Wu({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let r=!1,o=!1,i=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,r=window.scrollY,i=r>0&&e>t&&r+t+n>=e,a=Math.abs(e-qu)>n;return!i||o&&!a?(!i&&o&&(o=!1),!1):(qu=e,o=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(Fu=setTimeout(a,300))),r=!1};return function(){clearTimeout(Fu),r||requestAnimationFrame(a),r=!0}}function zu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return zu(e,t.slice(2));const n=t.split("/"),r=n.length;let o=0;for(;o<r&&".."===n[o];o++);n.splice(0,o),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-o-1,o+1),fe(i.concat(n).join("/"))}function Hu(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class Uu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(se(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:r}=e;if(16&r.shapeFlag){const e=r.children.filter((e=>e.el&&se(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=Ju(this.$el.querySelector(e));return t?Yu(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let r=0;r<n.length;r++){const e=Ju(n[r]);e&&t.push(Yu(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||y(e))return t;for(const n in e){const r=e[n],o=n.startsWith("--")?n:M(n);(y(r)||"number"==typeof r)&&(t+=`${o}:${r};`)}return t}(e))}setStyle(e){return this.$el&&e?(y(e)&&(e=W(e)),S(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];v(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&r_.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 Yu(e,t=!0){if(t&&e&&(e=ae(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Uu(e)),e.$el.__wxsComponentDescriptor}function Xu(e,t){return Yu(e,t)}function Gu(e,t,n,r=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Xu(n.proxy,!1)}));const o=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const r=ae(t);if(!r)return!1;const o=r.$.type;return!(!o.$wxs&&!o.$renderjs)&&r}(t,n,r);if(o)return[e,Xu(o,!1)]}}function Ju(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Zu(e,t=!1){const{type:n,timeStamp:r,target:o,currentTarget:i}=e;let a,s;a=Te(t?o:function(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}(o)),s=Te(i);const l={type:n,timeStamp:r,target:a,detail:{},currentTarget:s};return e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){u(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Ku(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Qu(e,t){const n=[];for(let r=0;r<e.length;r++){const{identifier:o,pageX:i,pageY:a,clientX:s,clientY:l,force:u}=e[r];n.push({identifier:o,pageX:i,pageY:a-t,clientX:s,clientY:l-t,force:u||0})}return n}const ec=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:r}=e;if(!(e instanceof Event&&r instanceof HTMLElement))return[e];const o=0!==r.tagName.indexOf("UNI-");if(o)return Gu(e,t,n,!1)||[e];const i=Zu(e,o);if("click"===e.type)!function(e,t){const{x:n,y:r}=t,o=wu();e.detail={x:n,y:r-o},e.touches=e.changedTouches=[Ku(t,o)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=wu();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Ku(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=wu();i.touches=Qu(e.touches,t),i.changedTouches=Qu(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 Gu(i,t,n)||[i]},createNativeEvent:Zu},Symbol.toStringTag,{value:"Module"});function tc(e){!function(e){const t=e.globalProperties;u(t,ec),t.$gcd=Xu}(e._context.config)}let nc=1;function rc(e){return(e||Ru())+".invokeViewApi"}const oc=u(zl("view"),{invokeOnCallback:(e,t)=>o_.emit("api."+e,t),invokeViewMethod:(e,t,n,r)=>{const{subscribe:o,publishHandler:i}=o_,a=r?nc++:0;r&&o("invokeViewApi."+a,r,!0),i(rc(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,r)=>{const{subscribe:o,unsubscribe:i,publishHandler:a}=o_,s=nc++,l="invokeViewApi."+s;return o(l,n),a(rc(r),{id:s,name:e,args:t},r),()=>{i(l)}}});function ic(e){Nu(Pu(),"onResize",e),o_.invokeOnCallback("onWindowResize",e)}function ac(e){const t=Pu();Nu(Am(),"onShow",e),Nu(t,"onShow")}function sc(){Nu(Am(),"onHide"),Nu(Pu(),"onHide")}const lc=["onPageScroll","onReachBottom"];function uc(){lc.forEach((e=>o_.subscribe(e,function(e){return(t,n)=>{Nu(parseInt(n),e,t)}}(e))))}function cc(){!function(){const{on:e}=o_;e("onResize",ic),e("onAppEnterForeground",ac),e("onAppEnterBackground",sc)}(),uc()}function dc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Oe(this.$page.id)),e.eventChannel}}function fc(e){e._context.config.globalProperties.getOpenerEventChannel=dc}function pc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function hc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Dd(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function gc(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const r=t.actions,o=t.actions.length;function i(){const t=r[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"],r=["opacity","background-color"],o=["width","height","left","right","top","bottom"],i=e.animates,a=e.option,s=a.transition,l={},u=[];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(hc)),n.indexOf(i)>=0&&(a.length=1),u.push(`${i}(${a.join(",")})`);else if(r.concat(o).includes(a[0])){i=a[0];const e=a[1];l[i]=o.includes(i)?hc(e):e}})),l.transform=l.webkitTransform=u.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<o&&setTimeout(i,a.duration+a.delay)}setTimeout((()=>{i()}),0)}const mc={props:["animation"],watch:{animation:{deep:!0,handler(){gc(this)}}},mounted(){gc(this)}},vc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(mc),yc(e)},yc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},_r(e));function _c(e){return e.__wwe=!0,e}function bc(e,t){return(n,r,o)=>{e.value&&t(n,function(e,t,n,r){let o;return o=Te(n),{type:r.type||e,timeStamp:t.timeStamp||0,target:o,currentTarget:o,detail:r}}(n,r,e.value,o||{}))}}const wc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function xc(e){const t=un(!1);let n,r,o=!1;function i(){requestAnimationFrame((()=>{clearTimeout(r),r=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function a(r){r._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(r._hoverPropagationStopped=!0),o=!0,n=setTimeout((()=>{t.value=!0,o||i()}),parseInt(e.hoverStartTime)))}function s(){o=!1,t.value&&i()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:_c((function(e){e.touches.length>1||a(e)})),onMousedown:_c((function(e){o||(a(e),window.addEventListener("mouseup",l))})),onTouchend:_c((function(){s()})),onMouseup:_c((function(){o&&l()})),onTouchcancel:_c((function(){o=!1,t.value=!1,clearTimeout(n)}))}}}function Tc(e,t){return y(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Sc=ku("uf"),kc=vc({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const r=un(null);return function(e){const t=[];er(Sc,{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,r]=t.submit();n&&(e[n]=r)}return e}),Object.create(null))})},reset(n){t.forEach((e=>e.reset&&e.reset())),e("reset",n)}})}(bc(r,n)),()=>si("uni-form",{ref:r},[si("span",null,[t.default&&t.default()])],512)}});const Ec={for:{type:String,default:""}},Cc=ku("ul");const $c=vc({name:"Label",props:Ec,setup(e,{slots:t}){const n=un(null),r=Mu(),o=function(){const e=[];return er(Cc,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),i=Oi((()=>e.for||t.default&&t.default.length)),a=_c((t=>{const n=t.target;let i=/^uni-(checkbox|radio|switch)-/.test(n.className);i||(i=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),i||(e.for?r_.emit("uni-label-click-"+r+"-"+e.for,t,!0):o.length&&o[0](t,!0))}));return()=>si("uni-label",{ref:n,class:{"uni-label-pointer":i},onClick:a},[t.default&&t.default()],10,["onClick"])}});function Oc(e,t){Ic(e.id,t),ir((()=>e.id),((e,n)=>{Mc(n,t,!0),Ic(e,t,!0)})),zr((()=>{Mc(e.id,t)}))}function Ic(e,t,n){const r=Mu();n&&!e||S(t)&&Object.keys(t).forEach((o=>{n?0!==o.indexOf("@")&&0!==o.indexOf("uni-")&&r_.on(`uni-${o}-${r}-${e}`,t[o]):0===o.indexOf("uni-")?r_.on(o,t[o]):e&&r_.on(`uni-${o}-${r}-${e}`,t[o])}))}function Mc(e,t,n){const r=Mu();n&&!e||S(t)&&Object.keys(t).forEach((o=>{n?0!==o.indexOf("@")&&0!==o.indexOf("uni-")&&r_.off(`uni-${o}-${r}-${e}`,t[o]):0===o.indexOf("uni-")?r_.off(o,t[o]):e&&r_.off(`uni-${o}-${r}-${e}`,t[o])}))}const Ac=vc({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),r=tr(Sc,!1),{hovering:o,binding:i}=xc(e);Rl();const a=_c(((t,o)=>{if(e.disabled)return t.stopImmediatePropagation();o&&n.value.click();const i=e.formType;if(i){if(!r)return;"submit"===i?r.submit(t):"reset"===i&&r.reset(t)}else;})),s=tr(Cc,!1);return s&&(s.addHandler(a),Wr((()=>{s.removeHandler(a)}))),Oc(e,{"label-click":a}),()=>{const r=e.hoverClass,s=Tc(e,"disabled"),l=Tc(e,"loading"),u=Tc(e,"plain"),c=r&&"none"!==r;return si("uni-button",gi({ref:n,onClick:a,id:e.id,class:c&&o.value?r:""},c&&i,s,l,u),[t.default&&t.default()],16,["onClick","id"])}}});function Pc(e){return e.$el}function Lc(e){const{base:t}=__uniConfig.router;return 0===fe(e).indexOf(t)?fe(e):t+e}function Rc(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0===e.indexOf("./static/")||n&&0===e.indexOf("./"+n+"/"))&&(e=e.slice(1)),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Lc(e.slice(1));e="https:"+e}if(re.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const r=lm();return r.length?Lc(zu(r[r.length-1].$page.route,e).slice(1)):e}const Dc=navigator.userAgent,jc=/android/i.test(Dc),Bc=/iphone|ipad|ipod/i.test(Dc),Nc=Dc.match(/Windows NT ([\d|\d.\d]*)/i),Vc=/Macintosh|Mac/i.test(Dc),Fc=/Linux|X11/i.test(Dc),qc=Vc&&navigator.maxTouchPoints>0;function Wc(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function zc(e){return e&&90===Math.abs(window.orientation)}function Hc(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Uc(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Yc(e,t,n,r){o_.invokeViewMethod("video."+e,{videoId:e,type:n,data:r},t)}function Xc(e,t){const n={},{top:r,topWindowHeight:o}=xu();if(t.node){const t=e.tagName.split("-")[1];t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=be(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-r-o,n.bottom=i.bottom-r-o),t.size&&(n.width=i.width,n.height=i.height)}if(p(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(p(t.computedStyle)){const r=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=r[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Gc(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function Jc(e,t,n){const r=[];t.forEach((({component:t,selector:n,single:o,fields:i})=>{null===t?r.push(function(e){const t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):r.push(function(e,t,n,r,o){const i=function(e,t){return e?e.$el:t.$el}(t,e),a=i.parentElement;if(!a)return r?null:[];const{nodeType:s}=i,l=3===s||8===s;if(r){const e=l?a.querySelector(n):Gc(i,n)?i:i.querySelector(n);return e?Xc(e,o):null}{let e=[];const t=(l?a:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Xc(t,o))})),!l&&Gc(i,n)&&e.unshift(Xc(i,o)),e}}(e,t,n,o,i))})),n(r)}const Zc=["original","compressed"],Kc=["album","camera"],Qc=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function ed(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function td(e,t){return!p(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function nd(e){return function(){try{return e.apply(e,arguments)}catch(Ax){console.error(Ax)}}}let rd=1;const od={};function id(e,t,n){if("number"==typeof e){const r=od[e];if(r)return r.keepAlive||delete od[e],r.callback(t,n)}return t}const ad="success",sd="fail",ld="complete";function ud(e,t={},{beforeAll:n,beforeSuccess:r}={}){S(t)||(t={});const{success:o,fail:i,complete:a}=function(e){const t={};for(const n in e){const r=e[n];v(r)&&(t[n]=nd(r),delete e[n])}return t}(t),s=v(o),l=v(i),u=v(a),c=rd++;return function(e,t,n,r=!1){od[e]={name:t,keepAlive:r,callback:n}}(c,e,(c=>{(c=c||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(c.errMsg,e),v(n)&&n(c),c.errMsg===e+":ok"?(v(r)&&r(c,t),s&&o(c)):l&&i(c),u&&a(c)})),c}const cd="success",dd="fail",fd="complete",pd={},hd={};function gd(e,t){return function(n){return e(n,t)||n}}function md(e,t,n){let r=!1;for(let o=0;o<e.length;o++){const i=e[o];if(r)r=Promise.resolve(gd(i,n));else{const e=i(t,n);if(w(e)&&(r=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return r||{then:e=>e(t),catch(){}}}function vd(e,t={}){return[cd,dd,fd].forEach((n=>{const r=e[n];if(!p(r))return;const o=t[n];t[n]=function(e){md(r,e,t).then((e=>v(o)&&o(e)||e))}})),t}function yd(e,t){const n=[];p(pd.returnValue)&&n.push(...pd.returnValue);const r=hd[e];return r&&p(r.returnValue)&&n.push(...r.returnValue),n.forEach((e=>{t=e(t)||t})),t}function _d(e){const t=Object.create(null);Object.keys(pd).forEach((e=>{"returnValue"!==e&&(t[e]=pd[e].slice())}));const n=hd[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function bd(e,t,n,r){const o=_d(e);if(o&&Object.keys(o).length){if(p(o.invoke)){return md(o.invoke,n).then((n=>t(vd(_d(e),n),...r)))}return t(vd(o,n),...r)}return t(n,...r)}function wd(e,t){return(n={},...r)=>function(e){return!(!S(e)||![ad,sd,ld].find((t=>v(e[t]))))}(n)?yd(e,bd(e,t,n,r)):yd(e,new Promise(((o,i)=>{bd(e,t,u(n,{success:o,fail:i}),r)})))}function xd(e,t,n,r={}){const o=t+":fail"+(n?" "+n:"");return delete r.errCode,id(e,"undefined"!=typeof UniError?void 0!==r.errCode?new UniError(t,r.errCode,o):new UniError(o,r):u({errMsg:o},r))}function Td(e,t,n,r){if(r&&r.beforeInvoke){const e=r.beforeInvoke(t);if(y(e))return e}const o=function(e,t){const n=e[0];if(!t||!S(t.formatArgs)&&S(n))return;const r=t.formatArgs,o=Object.keys(r);for(let i=0;i<o.length;i++){const t=o[i],a=r[t];if(v(a)){const r=a(e[0][t],n);if(y(r))return r}else f(n,t)||(n[t]=a)}}(t,r);if(o)return o}function Sd(e,t,n,r){return n=>{const o=ud(e,n,r),i=Td(0,[n],0,r);return i?xd(o,e,i):t(n,{resolve:t=>function(e,t,n){return id(e,u(n||{},{errMsg:t+":ok"}))}(o,e,t),reject:(t,n)=>xd(o,e,function(e){return!e||y(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function kd(e,t,n,r){return wd(e,Sd(e,t,0,r))}function Ed(e,t,n,r){return function(e,t,n,r){return(...e)=>{const n=Td(0,e,0,r);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,r)}function Cd(e,t,n,r){return wd(e,function(e,t,n,r){return Sd(e,t,0,r)}(e,t,0,r))}let $d=!1,Od=0,Id=0,Md=960,Ad=375,Pd=750;function Ld(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=Wc(),t=Uc(Hc(e,zc(e)));return{platform:Bc?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();Od=n,Id=t,$d="ios"===e}function Rd(e,t){const n=Number(e);return isNaN(n)?t:n}const Dd=Ed(0,((e,t)=>{if(0===Od&&(Ld(),function(){const e=__uniConfig.globalStyle||{};Md=Rd(e.rpxCalcMaxDeviceWidth,960),Ad=Rd(e.rpxCalcBaseDeviceWidth,375),Pd=Rd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Od;n=e===Pd||n<=Md?n:Ad;let r=e/750*n;return r<0&&(r=-r),r=Math.floor(r+1e-4),0===r&&(r=1!==Id&&$d?.5:1),e<0?-r:r}));function jd(e,t){Object.keys(t).forEach((n=>{v(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):p(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}const Bd=Ed(0,((e,t)=>{y(e)&&S(t)?jd(hd[e]||(hd[e]={}),t):S(e)&&jd(pd,e)})),Nd=new De,Vd=Ed(0,((e,t)=>(Nd.once(e,t),()=>Nd.off(e,t)))),Fd=Ed(0,((e,...t)=>{Nd.emit(e,...t)})),qd=[.5,.8,1,1.25,1.5,2];class Wd{constructor(e,t){this.id=e,this.pageId=t}play(){Yc(this.id,this.pageId,"play")}pause(){Yc(this.id,this.pageId,"pause")}stop(){Yc(this.id,this.pageId,"stop")}seek(e){Yc(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Yc(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~qd.indexOf(e)||(e=1),Yc(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Yc(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Yc(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Yc(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Yc(this.id,this.pageId,"hideStatusBar")}}const zd=Ed(0,((e,t)=>new Wd(e,Au(t||Du())))),Hd=(e,t,n,r)=>{!function(e,t,n,r,o){o_.invokeViewMethod("map."+e,{type:n,data:r},t,o)}(e,t,n,r,(e=>{r&&((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)})(r,e)}))};function Ud(e,t){return function(n,r){n?r[e]=Math.round(n):void 0!==t&&(r[e]=t)}}const Yd=Ud("width"),Xd=Ud("height"),Gd={PNG:"png",JPG:"jpg",JPEG:"jpg"},Jd={formatArgs:{x:Ud("x",0),y:Ud("y",0),width:Yd,height:Xd,destWidth:Ud("destWidth"),destHeight:Ud("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=Gd[e];n||(n=Gd.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function Zd(e,t,n,r,o){o_.invokeViewMethod(`canvas.${e}`,{type:n,data:r},t,(e=>{o&&o(e)}))}var Kd=["scale","rotate","translate","setTransform","transform"],Qd=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],ef=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const tf={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 nf(e){var 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),r=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),r=parseInt(r+r,16),[e,n,r,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(f(tf,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(tf[n]);const e=parseInt(t[1].slice(0,2),16),r=parseInt(t[1].slice(2,4),16),o=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,r,o,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class rf{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,nf(t)])}}class of{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class af{constructor(e){this.width=e}}class sf{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"}}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],Zd(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,r){return new rf("linear",[e,t,n,r])}createCircularGradient(e,t,n){return new rf("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 of(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){let t=0;return t=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new af(t)}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,r){this.path.push({method:"quadraticCurveTo",data:[e,t,n,r]}),this.subpath.push([n,r])}bezierCurveTo(e,t,n,r,o,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,r,o,i]}),this.subpath.push([o,i])}arc(e,t,n,r,o,i=!1){this.path.push({method:"arc",data:[e,t,n,r,o,i]}),this.subpath.push([e,t])}rect(e,t,n,r){this.path.push({method:"rect",data:[e,t,n,r]}),this.subpath=[[e,t]]}arcTo(e,t,n,r,o){this.path.push({method:"arcTo",data:[e,t,n,r,o]}),this.subpath.push([n,r])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var r=n[1].trim().split(/\s/),o=parseFloat(n[3]),i=n[7],a=[];r.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===r.length&&s(),r=a.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=o,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${r} ${o}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 lf=ge((()=>{[...Kd,...Qd].forEach((function(e){sf.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,r){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,r]}]})};case"strokeRect":return function(e,t,n,r){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,r]}]})};case"fillText":case"strokeText":return function(t,n,r,o){var i=[t.toString(),n,r];"number"==typeof o&&i.push(o),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,r,o,i,a,s,l,u){var c;function d(e){return"number"==typeof e}void 0===u&&(a=n,s=r,l=o,u=i,n=void 0,r=void 0,o=void 0,i=void 0),c=d(n)&&d(r)&&d(o)&&d(i)?[t,a,s,l,u,n,r,o,i]:d(l)&&d(u)?[t,a,s,l,u]:[t,a,s],this.actions.push({method:e,data:c})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})),ef.forEach((function(e){sf.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",nf(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,r,o){o=nf(o),this.actions.push({method:e,data:[t,n,r,o]}),this.state.shadowBlur=r,this.state.shadowColor=o,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)}))})),uf=Ed(0,((e,t)=>{if(lf(),t)return new sf(e,Au(t));const n=Au(Du());if(n)return new sf(e,n);o_.emit("onError","createCanvasContext:fail")})),cf=Cd("canvasToTempFilePath",(({x:e=0,y:t=0,width:n,height:r,destWidth:o,destHeight:i,canvasId:a,fileType:s,quality:l},{resolve:u,reject:c})=>{var d=Au(Du());if(!d)return void c();Zd(a,d,"toTempFilePath",{x:e,y:t,width:n,height:r,destWidth:o,destHeight:i,fileType:s,quality:l,dirname:`${mp}/canvas`},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?c("",e):u(e)}))}),0,Jd),df={thresholds:[0],initialRatio:0,observeAll:!1},ff=["top","right","bottom","left"];let pf=1;function hf(e={}){return ff.map((t=>`${Number(e[t])||0}px`)).join(" ")}class gf{constructor(e,t){this._pageId=Au(e),this._component=e,this._options=u({},df,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=hf(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=hf(e),this}observe(e,t){v(t)&&(this._options.selector=e,this._reqId=pf++,function({reqId:e,component:t,options:n,callback:r},o){const i=Pc(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(Ax){return null}}var t=function(t){for(var n=window.document,r=e(n);r;)r=e(n=r.ownerDocument);return n}(),n=[],r=null,o=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||p()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/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 u(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function c(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function d(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),o=Math.max(e.left,t.left),i=Math.min(e.right,t.right),a=i-o,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:o,right:i,width:a,height:s}||null}function f(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):p()}function p(){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,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+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 r=n.parentNode;return 9==n.nodeType&&n!=t?e(n):(r&&r.assignedSlot&&(r=r.assignedSlot.parentNode),r&&11==r.nodeType&&r.host?r.host:r)}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 r||(r=function(e,t){o=e&&t?g(e,t):p(),n.forEach((function(e){e._checkForIntersections()}))}),r},a._resetCrossOriginUpdater=function(){r=null,o=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 r=n.defaultView;if(r&&-1==this._monitoringDocuments.indexOf(n)){var o=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=r.setInterval(o,this.POLL_INTERVAL):(u(r,"resize",o,!0),u(n,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in r&&(a=new r.MutationObserver(o)).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),c(e,"resize",o,!0)),c(n,"scroll",o,!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 r=this._monitoringDocuments.indexOf(n);if(-1!=r){var o=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var r=t.element.ownerDocument;if(r==n)return!0;for(;r&&r!=o;){var i=e(r);if((r=i&&i.ownerDocument)==n)return!0}return!1}))){var i=this._monitoringUnsubscribes[r];if(this._monitoringDocuments.splice(r,1),this._monitoringUnsubscribes.splice(r,1),i(),n!=o){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||!r||o){var e=this._rootIsInDom(),t=e?this._getRootRect():p();this._observationTargets.forEach((function(n){var o=n.element,a=f(o),l=this._rootContainsTarget(o),u=n.entry,c=e&&l&&this._computeTargetAndRootIntersection(o,a,t),d=null;this._rootContainsTarget(o)?r&&!this.root||(d=t):d=p();var h=n.entry=new i({time:s(),target:o,boundingClientRect:a,rootBounds:d,intersectionRect:c});u?e&&l?this._hasCrossedThreshold(u,h)&&this._queuedEntries.push(h):u&&u.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 u=null,c=1==s.nodeType?window.getComputedStyle(s):{};if("none"==c.display)return null;if(s==this.root||9==s.nodeType)if(l=!0,s==this.root||s==t)r&&!this.root?!o||0==o.width&&0==o.height?(s=null,u=null,a=null):u=o:u=i;else{var p=v(s),h=p&&f(p),m=p&&this._computeTargetAndRootIntersection(p,h,i);h&&m?(s=p,u=g(h,m)):(s=null,a=null)}else{var y=s.ownerDocument;s!=y.body&&s!=y.documentElement&&"visible"!=c.overflow&&(u=f(s))}if(u&&(a=d(u,a)),!a)break;s=s&&v(s)}return a}},a.prototype._getRootRect=function(){var e;if(this.root&&!y(this.root))e=f(this.root);else{var n=y(this.root)?this.root:t,r=n.documentElement,o=n.body;e={top:0,left:0,right:r.clientWidth||o.clientWidth,width:r.clientWidth||o.clientWidth,bottom:r.clientHeight||o.clientHeight,height:r.clientHeight||o.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,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)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 r=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,o=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:gp(e),intersectionRect:hp(e.intersectionRect),boundingClientRect:hp(e.boundingClientRect),relativeRect:hp(e.rootBounds),time:Date.now(),dataset:be(e.target),id:e.target.id})}))}),{root:r,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){o.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e<n.length;e++)o.observe(n[e])}else{o.USE_MUTATION_OBSERVER=!1;const n=e.querySelector(t.selector);n?o.observe(n):console.warn(`Node ${t.selector} is not found. Intersection observer will not trigger.`)}return o}(i,n,r)}({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t},n){const r=Pc(t),o=r.__io&&r.__io[e];o&&(o.disconnect(),delete r.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const mf=Ed(0,((e,t)=>((e=ie(e))&&!Au(e)&&(t=e,e=null),new gf(e||Du(),t))));let vf=0,yf={};function _f(e,t,n,r){const o={options:r},i=r&&("success"in r||"fail"in r||"complete"in r);if(i){const e=String(vf++);o.callbackId=e,yf[e]=r}o_.invokeViewMethod(`editor.${e}`,{type:n,data:o},t,(({callbackId:e,data:t})=>{i&&(!function(e,t){e=e||{},y(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?v(e.success)&&e.success(t):v(e.fail)&&e.fail(t),v(e.complete)&&e.complete(t)}(yf[e],t),delete yf[e])}))}const bf={canvas:sf,map:class{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})}},video:Wd,editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){_f(this.id,this.pageId,e,t)}}};function wf(e){if(e&&e.contextInfo){const{id:t,type:n,page:r}=e.contextInfo,o=bf[n];e.context=new o(t,r),delete e.contextInfo}}class xf{constructor(e,t,n,r){this._selectorQuery=e,this._component=t,this._selector=n,this._single=r}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 Tf{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return Jc(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{p(e)?e.forEach(wf):wf(e);const r=n[t];v(r)&&r.call(this,e)})),v(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=ie(e),this}select(e){return this._nodesRef=new xf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new xf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new xf(this,null,"",!0)}_push(e,t,n,r,o){this._queue.push({component:t,selector:e,single:n,fields:r}),this._queueCb.push(o)}}const Sf=Ed(0,(e=>((e=ie(e))&&!Au(e)&&(e=null),new Tf(e||Du())))),kf={formatArgs:{}},Ef={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class Cf{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=u({},Ef,e)}_getOption(e){const t={transition:u({},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 $f=ge((()=>{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=>{Cf.prototype[n]=function(...r){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(r[0]):r[0]]):this._pushAnimates(n,r),this}}))})),Of=Ed(0,(e=>($f(),new Cf(e))),0,kf),If=Ed(0,(()=>{const e=Am();return e&&e.$vm?e.$vm.$locale:Rl().getLocale()})),Mf={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const Af=Ed(0,(()=>u({},xp)));let Pf,Lf,Rf;const Df=[];const jf=Cd("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{var e,r;void 0===Rf&&(Rf=!1,Pf="",Lf="uniPush is not enabled"),Df.push(((e,r)=>{e?t({cid:e}):n(r)})),void 0!==Pf&&(e=Pf,r=Lf,Df.forEach((t=>{t(e,r)})),Df.length=0)}))})),Bf=e=>{},Nf=e=>{},Vf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=td(e,Zc)},sourceType(e,t){t.sourceType=td(e,Kc)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},Ff={formatArgs:{sourceType(e,t){t.sourceType=td(e,Kc)},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=["*"])}}},qf=(Boolean,["all","image","video"]),Wf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=td(e,Kc)},type(e,t){t.type=ed(e,qf)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=[""])}}},zf={formatArgs:{src(e,t){t.src=Rc(e)}}},Hf={formatArgs:{urls(e,t){t.urls=e.map((e=>y(e)&&e?Rc(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:y(e)&&e&&(t.current=Rc(e))}}},Uf="json",Yf=["text","arraybuffer"],Xf=encodeURIComponent;ArrayBuffer,Boolean;const Gf={formatArgs:{method(e,t){t.method=ed((e||"").toUpperCase(),Qc)},data(e,t){t.data=e||""},url(e,t){t.method===Qc[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const r=n[1]||"";n=n[0].split("?");let o=n[1]||"";e=n[0];const i=o.split("&").filter((e=>e)),a={};i.forEach((e=>{const t=e.split("=");a[t[0]]=t[1]}));for(const s in t)if(f(t,s)){let e=t[s];null==e?e="":S(e)&&(e=JSON.stringify(e)),a[Xf(s)]=Xf(e)}return o=Object.keys(a).map((e=>`${e}=${a[e]}`)).join("&"),e+(o?"?"+o:"")+(r?"#"+r:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==Qc[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Uf).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Yf.indexOf(t.responseType)&&(t.responseType="text")}}},Jf={formatArgs:{header(e,t){t.header=e||{}}}},Zf={formatArgs:{filePath(e,t){e&&(t.filePath=Rc(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const Kf={url:{type:String,required:!0}},Qf=(op(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),op(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),sp("navigateTo")),ep=sp("redirectTo"),tp=sp("reLaunch"),np=sp("switchTab"),rp={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(lm().length-1,e)}}};function op(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 ip;function ap(){ip=""}function sp(e){return{formatArgs:{url:lp(e)},beforeAll:ap}}function lp(e){return function(t,n){if(!t)return'Missing required args: "url"';const r=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=lm();return n.length&&(t=n[n.length-1].$page.route),zu(t,e)}(t)).split("?")[0],o=Hu(r,!0);if(!o)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(o.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!o.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!o.meta.isTabBar||"appLaunch"===n.openType||(t=r),o.meta.isEntry&&(t=t.replace(o.alias,"/")),n.url=function(e){if(!y(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 r=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),o=t.length>0?t.join("="):"";r.push(n+"="+encodeURIComponent(o))})),r.length?e+"?"+r.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(ip===t&&"appLaunch"!==n.openType)return`${ip} locked`;__uniConfig.ready&&(ip=t)}else if(o.meta.isTabBar){const e=lm(),t=o.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const up={formatArgs:{duration:300}},cp=(Boolean,{formatArgs:{title:"",mask:!1}}),dp=(Boolean,{beforeInvoke(){Vl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=Rl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=Rl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),fp=["success","loading","none","error"],pp=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=ed(e,fp)},image(e,t){t.image=e?Rc(e):""},duration:1500,mask:!1}});function hp(e){const{bottom:t,height:n,left:r,right:o,top:i,width:a}=e||{};return{bottom:t,height:n,left:r,right:o,top:i,width:a}}function gp(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:r},intersectionRect:{height:o,width:i}}=e;return 0!==t?t:o===n?i/r:o/n}const mp="",vp={};function yp(e,t){const n=vp[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(/:(.*?);/),r=n?n[1]:"",o=atob(t[1]);let i=o.length;const a=new Uint8Array(i);for(;i--;)a[i]=o.charCodeAt(i);return _p(a,r)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="blob",r.onload=function(){t(this.response)},r.onerror=n,r.send()}))}function _p(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const o=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],o,{type:t})}catch(r){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||o}}return n}function bp(e){for(const n in vp)if(f(vp,n)){if(vp[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return vp[t]=e,t}function wp(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete vp[e]}const xp=pc(),Tp=pc();const Sp=vc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=un(null),r=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),o=function(e,t,n){const r=Xt({width:-1,height:-1});return ir((()=>u({},r)),(e=>t("resize",e))),()=>{const t=e.value;r.width=t.offsetWidth,r.height=t.offsetHeight,n()}}(n,t,r);return function(e,t,n,r){$r(r),Vr((()=>{t.initial&&Pn(n);const o=e.value;o.offsetParent!==o.parentElement&&(o.parentElement.style.position="relative"),"AnimationEvent"in window||r()}))}(n,e,o,r),()=>si("uni-resize-sensor",{ref:n,onAnimationstartOnce:o},[si("div",{onScroll:o},[si("div",null,null)],40,["onScroll"]),si("div",{onScroll:o},[si("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const kp=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function Ep(e,t=!0){const n=t?kp:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let Cp=!1;function $p(){if(Cp)return;Cp=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;var n;t.drawImageByCanvas=(n=t.drawImage,function(e,t,r,o,i,a,s,l,u,c){if(!this.__hidpi__)return n.apply(this,arguments);t*=kp,r*=kp,o*=kp,i*=kp,a*=kp,s*=kp,l=c?l*kp:l,u=c?u*kp:u,n.call(this,e,t,r,o,i,a,s,l,u)}),1!==kp&&(!function(e,t){for(const n in e)f(e,n)&&t(e[n],n)}(e,(function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*kp}));else if(Array.isArray(e))for(let t=0;t<e.length;t++)n[e[t]]*=kp;return t.apply(this,n)}}(t[n])})),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=kp,e.apply(this,arguments),this.lineWidth/=kp}}(t.stroke),t.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);const t=Array.prototype.slice.call(arguments);t[1]*=kp,t[2]*=kp,t[3]&&"number"==typeof t[3]&&(t[3]*=kp);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*kp+n})),e.apply(this,t),this.font=n}}(t.fillText),t.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=kp,t[2]*=kp,t[3]&&"number"==typeof t[3]&&(t[3]*=kp);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*kp+n})),e.apply(this,t),this.font=n}}(t.strokeText),t.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(kp,kp),e.apply(this,arguments),this.scale(1/kp,1/kp)}}(t.drawImage))}const Op=ge((()=>$p()));function Ip(e){return e?Rc(e):e}function Mp(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function Ap(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let Pp;function Lp(e=0,t=0){return Pp||(Pp=document.createElement("canvas")),Pp.width=e,Pp.height=t,Pp}const Rp=vc({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){Op();const r=un(null),o=un(null),i=un(null),a=un(!1),s=function(e){return(t,n)=>{e(t,Zu(n))}}(t),{$attrs:l,$excludeAttrs:c,$listeners:d}=bh({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const r=Oi((()=>{let r=["onTouchstart","onTouchmove","onTouchend"],o=t.value,i=u({},(()=>{let e={};for(const t in o)if(f(o,t)){const n=o[t];e[t]=n}return e})());return r.forEach((t=>{let r=[];i[t]&&r.push(_c((e=>{const r=e.currentTarget.getBoundingClientRect();Ap(r,e.touches),Ap(r,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&r.push(yu),i[t]=r})),i}));return{_listeners:r}}(e,d,s),{_handleSubscribe:h,_resize:g}=function(e,t,n){let r=[],o={};const i=Oi((()=>e.hidpi?kp:1));function a(n){let r=t.value;if(!n||r.width!==Math.floor(n.width*i.value)||r.height!==Math.floor(n.height*i.value))if(r.width>0&&r.height>0){let t=r.getContext("2d"),n=t.getImageData(0,0,r.width,r.height);Ep(r,e.hidpi),t.putImageData(n,0,0)}else Ep(r,e.hidpi)}function s({actions:e,reserve:i},a){if(!e)return;if(n.value)return void r.push([e,i]);let s=t.value,u=s.getContext("2d");i||(u.fillStyle="#000000",u.strokeStyle="#000000",u.shadowColor="#000000",u.shadowBlur=0,u.shadowOffsetX=0,u.shadowOffsetY=0,u.setTransform(1,0,0,1,0,0),u.clearRect(0,0,s.width,s.height)),l(e);for(let t=0;t<e.length;t++){const n=e[t];let r=n.method;const i=n.data,s=i[0];if(/^set/.test(r)&&"setTransform"!==r){const n=r[3].toLowerCase()+r.slice(4);let o;if("fillStyle"===n||"strokeStyle"===n){if("normal"===s)o=Mp(i[1]);else if("linear"===s){const e=u.createLinearGradient(...i[1]);i[2].forEach((function(t){const n=t[0],r=Mp(t[1]);e.addColorStop(n,r)})),o=e}else if("radial"===s){let e=i[1];const t=e[0],n=e[1],r=e[2],a=u.createRadialGradient(t,n,0,t,n,r);i[2].forEach((function(e){const t=e[0],n=Mp(e[1]);a.addColorStop(t,n)})),o=a}else if("pattern"===s){if(!c(i[1],e.slice(t+1),a,(function(e){e&&(u[n]=u.createPattern(e,i[2]))})))break;continue}u[n]=o}else if("globalAlpha"===n)u[n]=Number(s)/255;else if("shadow"===n){let e=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];i.forEach((function(t,n){u[e[n]]="shadowColor"===e[n]?Mp(t):t}))}else if("fontSize"===n){const e=u.__font__||u.font;u.__font__=u.font=e.replace(/\d+\.?\d*px/,s+"px")}else"lineDash"===n?(u.setLineDash(s),u.lineDashOffset=i[1]||0):"textBaseline"===n?("normal"===s&&(i[0]="alphabetic"),u[n]=s):"font"===n?u.__font__=u.font=s:u[n]=s}else if("fillPath"===r||"strokePath"===r)r=r.replace(/Path/,""),u.beginPath(),i.forEach((function(e){u[e.method].apply(u,e.data)})),u[r]();else if("fillText"===r)u.fillText.apply(u,i);else if("drawImage"===r){if("break"===function(){let n=[...i],r=n[0],s=n.slice(1);if(o=o||{},!c(r,e.slice(t+1),a,(function(e){e&&u.drawImage.apply(u,[e].concat([...s.slice(4,8)],[...s.slice(0,4)]))})))return"break"}())break}else"clip"===r?(i.forEach((function(e){u[e.method].apply(u,e.data)})),u.clip()):u[r].apply(u,i)}n.value||a({errMsg:"drawCanvas:ok"})}function l(e){e.forEach((function(e){let t=e.method,n=e.data,r="";function i(){const e=o[r]=new Image;e.onload=function(){e.ready=!0},function(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):yp(e).then(bp)}(r).then((t=>{e.src=t})).catch((()=>{e.src=r}))}"drawImage"===t?(r=n[0],r=Ip(r),n[0]=r):"setFillStyle"===t&&"pattern"===n[0]&&(r=n[1],r=Ip(r),n[1]=r),r&&!o[r]&&i()}))}function c(e,t,i,a){let l=o[e];return l.ready?(a(l),!0):(r.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,a(l),n.value=!1;let e=r.slice(0);r=[];for(let t=e.shift();t;)s({actions:t[0],reserve:t[1]},i),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:r,height:o,destWidth:a,destHeight:s,hidpi:l=!0,dataType:u,quality:c=1,type:d="png"},f){const p=t.value;let h;const g=p.offsetWidth-e;r=r?Math.min(r,g):g;const m=p.offsetHeight-n;o=o?Math.min(o,m):m,l?(a=r,s=o):a||s?a?s||(s=Math.round(o/r*a)):a=Math.round(r/o*s):(a=Math.round(r*i.value),s=Math.round(o*i.value));const v=Lp(a,s),y=v.getContext("2d");let _;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,a,s)),y.__hidpi__=!0,y.drawImageByCanvas(p,e,n,r,o,0,0,a,s,!1);try{let e;if("base64"===u)h=v.toDataURL(`image/${d}`,c);else{const e=y.getImageData(0,0,a,s);h=Array.prototype.slice.call(e.data)}_={data:h,compressed:e,width:a,height:s}}catch(b){_={errMsg:`canvasGetImageData:fail ${b}`}}if(v.height=v.width=0,y.__hidpi__=!1,!f)return _;f(_)}function f({data:e,x:n,y:r,width:o,height:i,compressed:a},s){try{0,i||(i=Math.round(e.length/4/o));const a=Lp(o,i);a.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),o,i),0,0),t.value.getContext("2d").drawImage(a,n,r,o,i),a.height=a.width=0}catch(l){return void s({errMsg:"canvasPutImageData:fail"})}s({errMsg:"canvasPutImageData:ok"})}function p({x:e=0,y:t=0,width:n,height:r,destWidth:o,destHeight:i,fileType:a,quality:s,dirname:l},u){const c=d({x:e,y:t,width:n,height:r,destWidth:o,destHeight:i,hidpi:!1,dataType:"base64",type:a,quality:s});var f;c.data&&c.data.length?(f=c.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),u({errMsg:n,tempFilePath:t})})(null,f)):u({errMsg:c.errMsg.replace("canvasPutImageData","toTempFilePath")})}const h={actionsChanged:s,getImageData:d,putImageData:f,toTempFilePath:p};function g(e,t,n){let r=h[e];0!==e.indexOf("_")&&v(r)&&r(t,n)}return u(h,{_resize:a,_handleSubscribe:g})}(e,o,a);return Ag(h,Lg(e.canvasId),!0),Vr((()=>{g()})),()=>{const{canvasId:t,disableScroll:a}=e;return si("uni-canvas",gi({ref:r,"canvas-id":t,"disable-scroll":a},l.value,c.value,p.value),[si("canvas",{ref:o,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),si("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),si(Sp,{ref:i,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Dp(){}const jp={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 Bp(e,t,n){function r(e){const t=Oi((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Dp,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Dp,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}ir((()=>t.value),(e=>e&&r(e)))}var Np=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Vp=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Fp=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,qp=Xp("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Wp=Xp("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"),zp=Xp("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"),Hp=Xp("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Up=Xp("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Yp=Xp("script,style");function Xp(e){for(var t={},n=e.split(","),r=0;r<n.length;r++)t[n[r]]=!0;return t}const Gp={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Jp={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Zp={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"]},Kp=vc({name:"Image",props:Gp,setup(e,{emit:t}){const n=un(null),r=function(e,t){const n=un(""),r=Oi((()=>{let e="auto",r="";const o=Zp[t.mode];return o?(o[0]&&(r=o[0]),o[1]&&(e=o[1])):(r="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${r};background-size:${e};`})),o=Xt({rootEl:e,src:Oi((()=>t.src?Rc(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:r,imgSrc:n});return Vr((()=>{const t=e.value.style;o.origWidth=Number(t.width)||0,o.origHeight=Number(t.height)||0})),o}(n,e),o=bc(n,t),{fixSize:i}=function(e,t,n){const r=()=>{const{mode:r}=t,o=Jp[r];if(!o)return;const{origWidth:i,origHeight:a}=n,s=i&&a?i/a:0;if(!s)return;const l=e.value,u=l[o[0]];u&&(l.style[o[1]]=function(e){Qp&&e>10&&(e=2*Math.round(e/2));return e}(o[2](u,s))+"px")},o=()=>{const{style:t}=e.value,{origStyle:{width:r,height:o}}=n;t.width=r,t.height=o};return ir((()=>t.mode),((e,t)=>{Jp[t]&&o(),Jp[e]&&r()})),{fixSize:r,resetSize:o}}(n,e,r);return function(e,t,n,r,o){let i,a;const s=(t=0,n=0,r="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=r},l=l=>{if(!l)return u(),void s();i=i||new Image,i.onload=e=>{const{width:c,height:d}=i;s(c,d,l),r(),i.draggable=t.draggable,a&&a.remove(),a=i,n.value.appendChild(i),u(),o("load",e,{width:c,height:d})},i.onerror=t=>{s(),u(),o("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},u=()=>{i&&(i.onload=null,i.onerror=null,i=null)};ir((()=>e.src),(e=>l(e))),ir((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),Vr((()=>l(e.src))),Wr((()=>u()))}(r,e,n,i,o),()=>si("uni-image",{ref:n},[si("div",{style:r.modeStyle},null,4),Jp[e.mode]?si(Sp,{onResize:i},null,8,["onResize"]):si("span",null,null)],512)}});const Qp="Google Inc."===navigator.vendor;const eh=xe(!0),th=[];let nh,rh=0;const oh=e=>th.forEach((t=>t.userAction=e));function ih(e={userAction:!1}){if(!nh){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!rh&&oh(!0),rh++,setTimeout((()=>{!--rh&&oh(!1)}),0)}),eh)})),nh=!0}th.push(e)}const ah=()=>!!rh;function sh(){const e=Xt({userAction:!1});return Vr((()=>{ih(e)})),Wr((()=>{!function(e){const t=th.indexOf(e);t>=0&&th.splice(t,1)}(e)})),{state:e}}function lh(){const e=Xt({attrs:{}});return Vr((()=>{let t=bi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function uh(e,t){const n=document.activeElement;if(!n)return t({});const r={};["input","textarea"].includes(n.tagName.toLowerCase())&&(r.start=n.selectionStart,r.end=n.selectionEnd),t(r)}function ch(e,t){return"number"===t&&isNaN(Number(e))&&(e=""),null===e?"":String(e)}const dh=["none","text","decimal","numeric","tel","search","email","url"],fh=u({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},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=>!!~dh.indexOf(e)},cursorColor:{type:String,default:""}},jp),ph=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function hh(e,t,n,r){const o=$e((n=>{t.value=ch(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});ir((()=>e.modelValue),o),ir((()=>e.value),o);const i=function(e,t){let n,r,o=0;const i=function(...i){const a=Date.now();clearTimeout(n),r=()=>{r=null,o=a,e.apply(this,i)},a-o<t?n=setTimeout(r,t-(a-o)):r()};return i.cancel=function(){clearTimeout(n),r=null},i.flush=function(){clearTimeout(n),r&&r()},i}(((e,t)=>{o.cancel(),n("update:modelValue",t.value),n("update:value",t.value),r("input",e,t)}),100);return Nr((()=>{o.cancel(),i.cancel()})),{trigger:r,triggerInput:(e,t,n)=>{o.cancel(),i(e,t),n&&i.flush()}}}function gh(e,t){sh();const n=Oi((()=>e.autoFocus||e.focus));function r(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(r,100)}ir((()=>e.focus),(e=>{e?r():function(){const e=t.value;e&&e.blur()}()})),Vr((()=>{n.value&&Pn(r)}))}function mh(e,t,n,r){Xl(Ru(),"getSelectedTextRange",uh);const{fieldRef:o,state:i,trigger:a}=function(e,t,n){const r=un(null),o=bc(t,n),i=Oi((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=Oi((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=Oi((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Oi((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),u=ch(e.modelValue,e.type)||ch(e.value,e.type),c=Xt({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return ir((()=>c.focus),(e=>n("update:focus",e))),ir((()=>c.maxlength),(e=>c.value=c.value.slice(0,e))),{fieldRef:r,state:c,trigger:o}}(e,t,n),{triggerInput:s}=hh(e,i,n,a);gh(e,o),Bp(0,o);const{state:l}=lh();!function(e,t){const n=tr(Sc,!1);if(!n)return;const r=bi(),o={submit(){const n=r.proxy;return[n[e],y(t)?n[t]:t.value]},reset(){y(t)?r.proxy[t]="":t.value=""}};n.addField(o),Wr((()=>{n.removeField(o)}))}("name",i),function(e,t,n,r,o,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}ir([()=>t.selectionStart,()=>t.selectionEnd],a),ir((()=>t.cursor),s),ir((()=>e.value),(function(){const u=e.value;if(!u)return;const c=function(e,r){e.stopPropagation(),v(i)&&!1===i(e,t)||(t.value=u.value,t.composing&&n.ignoreCompositionEvent||o(e,{value:u.value,cursor:l(u)},r))};function d(e){n.ignoreCompositionEvent||r(e.type,e,{value:e.data})}u.addEventListener("change",(e=>e.stopPropagation())),u.addEventListener("focus",(function(e){t.focus=!0,r("focus",e,{value:t.value}),a(),s()})),u.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,c(e,!0)),t.focus=!1,r("blur",e,{value:t.value,cursor:l(e.target)})})),u.addEventListener("input",c),u.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),u.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,c(e)),d(e)})),u.addEventListener("compositionupdate",d)}))}(o,i,e,a,s,r);return{fieldRef:o,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const vh=vc({name:"Input",props:u({},fh,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...ph],setup(e,{emit:t,expose:n}){const r=["text","number","idcard","digit","password","tel"],o=["off","one-time-code"],i=Oi((()=>{let t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~r.includes(e.type)?e.type:"text"}return e.password?"password":t})),a=Oi((()=>{const t=o.indexOf(e.textContentType),n=o.indexOf(M(e.textContentType));return o[-1!==t?t:-1!==n?n:0]}));let s,l=un("");const u=un(null),{fieldRef:c,state:d,scopedAttrsState:f,fixDisabledColor:p,trigger:h}=mh(e,u,t,((e,t)=>{const n=e.target;if("number"===i.value){if(s&&(n.removeEventListener("blur",s),s=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",s=()=>{l.value=n.value=""},n.addEventListener("blur",s),!1;if(l.value)if(-1!==l.value.indexOf(".")){if("."!==e.data&&"deleteContentBackward"===e.inputType){const e=l.value.indexOf(".");return l.value=n.value=t.value=l.value.slice(0,e),!0}}else if("."===e.data)return l.value+=".",s=()=>{l.value=n.value=l.value.slice(0,-1)},n.addEventListener("blur",s),!1;return l.value=t.value=n.value="-"===l.value?"":l.value,!1}l.value=n.value;const r=t.maxlength;if(r>0&&n.value.length>r)return n.value=n.value.slice(0,r),t.value=n.value,!1}}));ir((()=>d.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t)}));const g=["number","digit"],m=Oi((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&p?si("input",{key:"disabled-input",ref:c,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"]):Gr(si("input",{key:"input",ref:c,"onUpdate:modelValue":e=>d.value=e,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,["onUpdate:modelValue","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]),[[Ia,d.value]]);return si("uni-input",{ref:u},[si("div",{class:"uni-input-wrapper"},[Gr(si("div",gi(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ra,!(d.value.length||"-"===l.value)]]),"search"===e.confirmType?si("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const yh=["class","style"],_h=/^on[A-Z]+/,bh=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,r=bi(),o=cn({}),i=cn({}),a=cn({}),s=n.concat(yh);return r.attrs=Xt(r.attrs),nr((()=>{const e=(n=r.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,r])=>(s.includes(n)?e.exclude[n]=r:_h.test(n)?(t||(e.attrs[n]=r),e.listeners[n]=r):e.attrs[n]=r,e)),{exclude:{},attrs:{},listeners:{}});var n;o.value=e.attrs,i.value=e.listeners,a.value=e.exclude})),{$attrs:o,$listeners:i,$excludeAttrs:a}};function wh(e){const t=[];return p(e)&&e.forEach((e=>{ti(e)?e.type===Wo?t.push(...wh(e.children)):t.push(e):p(e)&&t.push(...wh(e))})),t}const xh=vc({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=un(null),r=un(!1);let{setContexts:o,events:i}=function(e,t){const n=un(0),r=un(0),o=Xt({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 u(e,n=s){let r=t.value;function o(e){for(let t=0;t<n.length;t++){const r=n[t];if(e===r.rootRef.value)return r}return e===r||e===document.body||e===document?null:o(e.parentNode)}return o(e)}const c=_c((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=Th(t),o.x=t.x,o.y=t.y,!e.scaleArea){let e=u(n[0].target),t=u(n[1].target);a=e&&e===t?e:null}}})),d=_c((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!==o.x&&i.value&&i.value>0){l(Th(n)/i.value)}o.x=n.x,o.y=n.y}})),f=_c((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(o.x=0,o.y=0,i.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):a&&a._endScale())}));function p(){h(),s.forEach((function(e,t){e.setParent()}))}function h(){let e=window.getComputedStyle(t.value),o=t.value.getBoundingClientRect();n.value=o.width-["Left","Right"].reduce((function(t,n){const r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0),r.value=o.height-["Top","Bottom"].reduce((function(t,n){const r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0)}return er("movableAreaWidth",n),er("movableAreaHeight",r),{setContexts(e){s=e},events:{_onTouchstart:c,_onTouchmove:d,_onTouchend:f,_resize:p}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=bh(),u=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=u[e],n=i[`_${e}`];u[e]=t?[].concat(t,n):n})),Vr((()=>{i._resize(),r.value=!0}));let c=[];const d=[];function f(){const e=[];for(let t=0;t<c.length;t++){let n=c[t];n=n.el;const r=d.find((e=>n===e.rootRef.value));r&&e.push(nn(r))}o(e)}return er("_isMounted",r),er("movableAreaRootRef",n),er("addMovableViewContext",(e=>{d.push(e),f()})),er("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())})),()=>{const e=t.default&&t.default();return c=wh(e),si("uni-movable-area",gi({ref:n},s.value,l.value,u),[si(Sp,{onResize:i._resize},null,8,["onResize"]),c],16)}}});function Th(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Sh=function(e,t,n,r){e.addEventListener(t,(e=>{v(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let kh,Eh;function Ch(e,t,n){Wr((()=>{document.removeEventListener("mousemove",kh),document.removeEventListener("mouseup",Eh)}));let r=0,o=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-r,dy:l-o,ddx:s-i,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,u,c=null;Sh(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!c)return c=e,r=i=e.touches[0].pageX,o=a=e.touches[0].pageY,s(e,"start",r,o)})),Sh(e,"mousedown",(function(e){if(u=!0,!l&&!c)return c=e,r=i=e.pageX,o=a=e.pageY,s(e,"start",r,o)})),Sh(e,"touchmove",(function(e){if(1===e.touches.length&&c){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=kh=function(e){if(!l&&u&&c){const t=s(e,"move",e.pageX,e.pageY);return i=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),Sh(e,"touchend",(function(e){if(0===e.touches.length&&c)return l=!1,c=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=Eh=function(e){if(u=!1,!l&&c)return c=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),Sh(e,"touchcancel",(function(e){if(c){l=!1;const t=c;return c=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function $h(e,t,n){return e>t-n&&e<t+n}function Oh(e,t){return $h(e,0,t)}function Ih(){}function Mh(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Ah(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Ph(e,t,n){this._springX=new Ah(e,t,n),this._springY=new Ah(e,t,n),this._springScale=new Ah(e,t,n),this._startTime=0}Ih.prototype.x=function(e){return Math.sqrt(e)},Mh.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()},Mh.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Mh.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}},Mh.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}},Mh.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}},Mh.prototype.dt=function(){return-this._x_v/this._x_a},Mh.prototype.done=function(){const e=$h(this.s().x,this._endPositionX)||$h(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Mh.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Mh.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Ah.prototype._solve=function(e,t){const n=this._c,r=this._m,o=this._k,i=n*n-4*r*o;if(0===i){const o=-n/(2*r),i=e,a=t/(o*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,o*e)},dx:function(e){const t=Math.pow(Math.E,o*e);return o*(i+a*e)*t+a*t}}}if(i>0){const o=(-n-Math.sqrt(i))/(2*r),a=(-n+Math.sqrt(i))/(2*r),s=(t-o*e)/(a-o),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,o*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,o*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*o*t+s*a*n}}}const a=Math.sqrt(4*r*o-n*n)/(2*r),s=-n/2*r,l=e,u=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+u*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),r=Math.sin(a*e);return t*(u*a*n-l*a*r)+s*t*(u*r+l*n)}}},Ah.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Ah.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Ah.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Oh(t,.1)){t=t||0;let r=this._endPosition;this._solution&&(Oh(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),Oh(t,.1)&&(t=0),Oh(r,.1)&&(r=0),r+=this._endPosition),this._solution&&Oh(r-e,.1)&&Oh(t,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}},Ah.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Ah.prototype.done=function(e){return e||(e=(new Date).getTime()),$h(this.x(),this._endPosition,.1)&&Oh(this.dx(),.1)},Ah.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())},Ah.prototype.springConstant=function(){return this._k},Ah.prototype.damping=function(){return this._c},Ah.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}]},Ph.prototype.setEnd=function(e,t,n,r){const o=(new Date).getTime();this._springX.setEnd(e,r,o),this._springY.setEnd(t,r,o),this._springScale.setEnd(n,r,o),this._startTime=o},Ph.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)}},Ph.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Ph.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 Lh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Rh=vc({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const r=un(null),o=bc(r,n),{setParent:i}=function(e,t,n){const r=tr("_isMounted",un(!1)),o=tr("addMovableViewContext",(()=>{})),i=tr("removeMovableViewContext",(()=>{}));let a,s,l=un(1),u=un(1),c=un(!1),d=un(0),f=un(0),p=null,h=null,g=!1,m=null,v=null;const y=new Ih,_=new Ih,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Oi((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new Mh(1,w.value);ir((()=>e.disabled),(()=>{H()}));const{_updateOldScale:T,_endScale:S,_setScale:k,scaleValueSync:E,_updateBoundary:C,_updateOffset:$,_updateWH:O,_scaleOffset:I,minX:M,minY:A,maxX:P,maxY:L,FAandSFACancel:R,_getLimitXY:D,_setTransform:j,_revise:B,dampingNumber:N,xMove:V,yMove:F,xSync:q,ySync:W,_STD:z}=function(e,t,n,r,o,i,a,s,l,u){const c=Oi((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=Oi((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),f=un(Number(e.scaleValue)||1);ir(f,(e=>{j(e)})),ir(c,(()=>{D()})),ir(d,(()=>{D()})),ir((()=>e.scaleValue),(e=>{f.value=Number(e)||0}));const{_updateBoundary:p,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:_,maxY:b}=function(e,t,n){const r=tr("movableAreaWidth",un(0)),o=tr("movableAreaHeight",un(0)),i=tr("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=un(0),u=un(0),c=un(0),d=un(0),f=un(0),p=un(0);function h(){let e=0-a.x+s.x,t=r.value-l.value-a.x-s.x;c.value=Math.min(e,t),f.value=Math.max(e,t);let n=0-a.y+s.y,i=o.value-u.value-a.y-s.y;d.value=Math.min(n,i),p.value=Math.max(n,i)}function g(){a.x=Bh(e.value,i.value),a.y=Nh(e.value,i.value)}function m(r){r=r||t.value,r=n(r);let o=e.value.getBoundingClientRect();u.value=o.height/t.value,l.value=o.width/t.value;let i=u.value*r,a=l.value*r;s.x=(a-l.value)/2,s.y=(i-u.value)/2}return{_updateBoundary:h,_updateOffset:g,_updateWH:m,_scaleOffset:s,minX:c,minY:d,maxX:f,maxY:p}}(t,r,R),{FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:k,dampingNumber:E,xMove:C,yMove:$,xSync:O,ySync:I,_STD:M}=function(e,t,n,r,o,i,a,s,l,u,c,d,f,p){const h=Oi((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=Oi((()=>"all"===t.direction||"horizontal"===t.direction)),m=Oi((()=>"all"===t.direction||"vertical"===t.direction)),v=un(Fh(t.x)),y=un(Fh(t.y));ir((()=>t.x),(e=>{v.value=Fh(e)})),ir((()=>t.y),(e=>{y.value=Fh(e)})),ir(v,(e=>{k(e)})),ir(y,(e=>{E(e)}));const _=new Ph(1,9*Math.pow(h.value,2)/40,h.value);function b(e,t){let n=!1;return e>o.value?(e=o.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(),c&&c.cancel()}function x(e,n,o,i,a,s){w(),g.value||(e=l.value),m.value||(n=u.value),t.scale||(o=r.value);let d=b(e,n);e=d.x,n=d.y,t.animation?(_._springX._solution=null,_._springY._solution=null,_._springScale._solution=null,_._springX._endPosition=l.value,_._springY._endPosition=u.value,_._springScale._endPosition=r.value,_.setEnd(e,n,o,1),c=Vh(_,(function(){let e=_.x();T(e.x,e.y,e.scale,i,a,s)}),(function(){c.cancel()}))):T(e,n,o,i,a,s)}function T(o,i,a,s="",c,d){null!==o&&"NaN"!==o.toString()&&"number"==typeof o||(o=l.value||0),null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=u.value||0),o=Number(o.toFixed(1)),i=Number(i.toFixed(1)),a=Number(a.toFixed(1)),l.value===o&&u.value===i||c||p("change",{},{x:Lh(o,n.x),y:Lh(i,n.y),source:s}),t.scale||(a=r.value),a=+(a=f(a)).toFixed(3),d&&a!==r.value&&p("scale",{},{x:o,y:i,scale:a});let h="translateX("+o+"px) translateY("+i+"px) translateZ(0px) scale("+a+")";e.value&&(e.value.style.transform=h,e.value.style.webkitTransform=h,l.value=o,u.value=i,r.value=a)}function S(e){let t=b(l.value,u.value),n=t.x,o=t.y,i=t.outOfBounds;return i&&x(n,o,r.value,e),i}function k(e){if(g.value){if(e+n.x===l.value)return l;c&&c.cancel(),x(e+n.x,y.value+n.y,r.value)}return e}function E(e){if(m.value){if(e+n.y===u.value)return u;c&&c.cancel(),x(v.value+n.x,e+n.y,r.value)}return e}return{FAandSFACancel:w,_getLimitXY:b,_animationTo:x,_setTransform:T,_revise:S,dampingNumber:h,xMove:g,yMove:m,xSync:v,ySync:y,_STD:_}}(t,e,m,r,_,b,v,y,a,s,l,u,R,n);function A(t,n){if(e.scale){t=R(t),g(t),p();const e=x(a.value,s.value),r=e.x,o=e.y;n?T(r,o,t,"",!0,!0):jh((function(){S(r,o,t,"",!0,!0)}))}}function P(){i.value=!0}function L(e){o.value=e}function R(e){return e=Math.max(.5,c.value,e),e=Math.min(10,d.value,e)}function D(){if(!e.scale)return!1;A(r.value,!0),L(r.value)}function j(t){return!!e.scale&&(A(t=R(t),!0),L(t),t)}function B(){i.value=!1,L(r.value)}function N(e){e&&(e=o.value*e,P(),A(e))}return{_updateOldScale:L,_endScale:B,_setScale:N,scaleValueSync:f,_updateBoundary:p,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:_,maxY:b,FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:k,dampingNumber:E,xMove:C,yMove:$,xSync:O,ySync:I,_STD:M}}(e,n,t,l,u,c,d,f,p,h);function H(){c.value||e.disabled||(R(),b.historyX=[0,0],b.historyY=[0,0],b.historyT=[0,0],V.value&&(a=d.value),F.value&&(s=f.value),n.value.style.willChange="transform",m=null,v=null,g=!0)}function U(t){if(!c.value&&!e.disabled&&g){let n=d.value,r=f.value;if(null===v&&(v=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),V.value&&(n=t.detail.dx+a,b.historyX.shift(),b.historyX.push(n),F.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),F.value&&(r=t.detail.dy+s,b.historyY.shift(),b.historyY.push(r),V.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),b.historyT.shift(),b.historyT.push(t.detail.timeStamp),!m){t.preventDefault();let o="touch";n<M.value?e.outOfBounds?(o="touch-out-of-bounds",n=M.value-y.x(M.value-n)):n=M.value:n>P.value&&(e.outOfBounds?(o="touch-out-of-bounds",n=P.value+y.x(n-P.value)):n=P.value),r<A.value?e.outOfBounds?(o="touch-out-of-bounds",r=A.value-_.x(A.value-r)):r=A.value:r>L.value&&(e.outOfBounds?(o="touch-out-of-bounds",r=L.value+_.x(r-L.value)):r=L.value),jh((function(){j(n,r,l.value,o)}))}}}function Y(){if(!c.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!B("out-of-bounds")&&e.inertia)){const e=1e3*(b.historyX[1]-b.historyX[0])/(b.historyT[1]-b.historyT[0]),t=1e3*(b.historyY[1]-b.historyY[0])/(b.historyT[1]-b.historyT[0]),n=d.value,r=f.value;x.setV(e,t),x.setS(n,r);const o=x.delta().x,i=x.delta().y;let a=o+n,s=i+r;a<M.value?(a=M.value,s=r+(M.value-n)*i/o):a>P.value&&(a=P.value,s=r+(P.value-n)*i/o),s<A.value?(s=A.value,a=n+(A.value-r)*o/i):s>L.value&&(s=L.value,a=n+(L.value-r)*o/i),x.setEnd(a,s),h=Vh(x,(function(){let e=x.s(),t=e.x,n=e.y;j(t,n,l.value,"friction")}),(function(){h.cancel()}))}e.outOfBounds||e.inertia||R()}function X(){if(!r.value)return;R();let t=e.scale?E.value:1;$(),O(t),C();let n=D(q.value+I.x,W.value+I.y),o=n.x,i=n.y;j(o,i,t,"",!0),T(t)}return Vr((()=>{Ch(n.value,(e=>{switch(e.detail.state){case"start":H();break;case"move":U(e);break;case"end":Y()}})),X(),x.reconfigure(1,w.value),z.reconfigure(1,9*Math.pow(N.value,2)/40,N.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:X,_endScale:S,_setScale:k};o(e),zr((()=>{i(e)}))})),zr((()=>{R()})),{setParent:X}}(e,o,r);return()=>si("uni-movable-view",{ref:r},[si(Sp,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Dh=!1;function jh(e){Dh||(Dh=!0,requestAnimationFrame((function(){e(),Dh=!1})))}function Bh(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Bh(e.offsetParent,t):0}function Nh(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Nh(e.offsetParent,t):0}function Vh(e,t,n){let r={id:0,cancelled:!1};return function e(t,n,r,o){if(!t||!t.cancelled){r(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,o))),i&&o&&o(n)}}(r,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,r),model:e}}function Fh(e){return/\d+[ur]px$/i.test(e)?Dd(parseFloat(e)):Number(e)||0}const qh=["navigate","redirect","switchTab","reLaunch","navigateBack"],Wh=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],zh=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],Hh={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~qh.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||Wh.concat(zh).includes(e)},animationDuration:{type:[String,Number],default:300}};const Uh=vc({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:u({},Hh,{renderLink:{type:Boolean,default:!0}}),setup(e,{slots:t}){const n=un(null),r=bi(),o=r&&r.vnode.scopeId||"",{hovering:i,binding:a}=xc(e),s=function(e){return()=>{if("navigateBack"!==e.openType&&!e.url)return void console.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");const t=parseInt(e.animationDuration);switch(e.openType){case"navigate":Zv({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":Kv({url:e.url,exists:e.exists});break;case"switchTab":ty({url:e.url});break;case"reLaunch":Qv({url:e.url});break;case"navigateBack":Gv({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}}(e);return()=>{const{hoverClass:l,url:u}=e,c=e.hoverClass&&"none"!==e.hoverClass,d=e.renderLink?si("a",{class:"navigator-wrap",href:u,onClick:yu,onMousedown:yu},[t.default&&t.default()],40,["href","onClick","onMousedown"]):t.default&&t.default();return si("uni-navigator",gi({class:c&&i.value?l:"",ref:n},c&&a,r?r.attrs:{},{[o]:""},{onClick:s}),[d],16,["onClick"])}}});const Yh=vc({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return p(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const r=un(null),o=un(null),i=bc(r,n),a=function(e){const t=Xt([...e.value]),n=Xt({value:t,height:34});return ir((()=>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);Vr((()=>{const e=s.value;e&&(a.height=e.$el.offsetHeight)}));let l=un([]),u=un([]);function c(e){let t=u.value;t=t.filter((e=>e.type!==Ho));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return er("getPickerViewColumn",(function(e){return Oi({get(){const t=c(e.vnode);return a.value[t]||0},set(t){const r=c(e.vnode);if(r<0)return;if(a.value[r]!==t){a.value[r]=t;const e=a.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),er("pickerViewProps",e),er("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=wh(e);l.value=t,Pn((()=>{u.value=t}))}return si("uni-picker-view",{ref:r},[si(Sp,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),si("div",{ref:o,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Xh{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 Gh(e,t,n){return e>t-n&&e<t+n}function Jh(e,t){return Gh(e,0,t)}class Zh{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,r=this._m,o=this._k,i=n*n-4*r*o;if(0===i){const o=-n/(2*r),i=e,a=t/(o*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,o*e)},dx:function(e){const t=Math.pow(Math.E,o*e);return o*(i+a*e)*t+a*t}}}if(i>0){const o=(-n-Math.sqrt(i))/(2*r),a=(-n+Math.sqrt(i))/(2*r),s=(t-o*e)/(a-o),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,o*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,o*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*o*t+s*a*n}}}const a=Math.sqrt(4*r*o-n*n)/(2*r),s=-n/2*r,l=e,u=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+u*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),r=Math.sin(a*e);return t*(u*a*n-l*a*r)+s*t*(u*r+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||!Jh(t,.4)){t=t||0;let r=this._endPosition;this._solution&&(Jh(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),Jh(t,.4)&&(t=0),Jh(r,.4)&&(r=0),r+=this._endPosition),this._solution&&Jh(r-e,.4)&&Jh(t,.4)||(this._endPosition=e,this._solution=this._solve(r-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()),Gh(this.x(),this._endPosition,.4)&&Jh(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 Kh{constructor(e,t,n){this._extent=e,this._friction=t||new Xh(.01),this._spring=n||new Zh(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 Qh{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 Kh(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 r;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;r=Math.abs(t)>this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,r<=0&&r>=-this._extent&&this._scroll.setVelocityByEnd(r)}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 r={id:0,cancelled:!1};return function e(t,n,r,o){if(!t||!t.cancelled){r(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,o))),i&&o&&o(n)}}(r,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,r),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 r=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/r),this._lastTime=e)}),(()=>{this._enableSnap&&(r<=0&&r>=-this._extent&&(this._position=r,this.updatePosition()),v(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),v(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(v(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let r=0;const o=this._position;this._enableX?(r=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(r=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-r?this._position=-r:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),o!==this._position&&(this.dispatchScroll(),v(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=r,this._scroll._extent=r}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}}let eg=0;const tg=vc({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const r=un(null),o=un(null),i=tr("getPickerViewColumn"),a=bi(),s=i?i(a):un(0),l=tr("pickerViewProps"),u=tr("pickerViewState"),c=un(34),d=un(null);Vr((()=>{const e=d.value;c.value=e.$el.offsetHeight}));const f=Oi((()=>(u.height-c.value)/2)),{state:p}=lh(),h=function(e){const t="uni-picker-view-content-"+eg++;return ir((()=>e.value),(function(){const n=document.createElement("style");n.innerText=`.uni-picker-view-content.${t}>*{height: ${e.value}px;overflow: hidden;}`,document.head.appendChild(n)})),t}(c);let g;const m=Xt({current:s.value,length:0});let v;function y(){g&&!v&&(v=!0,Pn((()=>{v=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),g.update(e*c.value,void 0,c.value)})))}ir((()=>s.value),(e=>{e!==m.current&&(m.current=e,y())})),ir((()=>m.current),(e=>s.value=e)),ir([()=>c.value,()=>m.length,()=>u.height],y);let _=0;function b(e){const t=_+e.deltaY;if(Math.abs(t)>10){_=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),g.scrollTo(e*c.value)}else _=t;e.preventDefault()}function w({clientY:e}){const t=r.value;if(!g.isScrolling()){const n=e-t.getBoundingClientRect().top-u.height/2,r=c.value/2;if(!(Math.abs(n)<=r)){const e=Math.ceil((Math.abs(n)-r)/c.value),t=n<0?-e:e;let o=Math.min(m.current+t,m.length-1);m.current=o=Math.max(o,0),g.scrollTo(o*c.value)}}}const x=()=>{const e=r.value,t=o.value,{scroller:n,handleTouchStart:i,handleTouchMove:a,handleTouchEnd:s}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},r=new Qh(e,t);function o(e){const t=e,r=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:r.screenX-n.x,y:r.screenY-n.y}}return{scroller:r,handleTouchStart:function(e){const t=e,o=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=o.screenX,n.y=o.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||o.timeStamp],n.listener=r,r.onTouchStart&&r.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,r=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=o(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||r.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=o(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const r={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,o=n.historyTime[t],i=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=o-n.historyTime[t];if(e>30&&e<50){r.x=(i-n.historyX[t])/(e/1e3),r.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,r)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:c.value,friction:new Xh(1e-4),spring:new Zh(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});g=n,Ch(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 r=e.changedTouches[0];t=r.clientX,n=r.clientY})),e.addEventListener("touchend",(e=>{const r=e.changedTouches[0];if(Math.abs(r.clientX-t)<20&&Math.abs(r.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]=r[e]})),e.target.dispatchEvent(n)}}))}(e),y()};return Vr(x),()=>{const e=t.default&&t.default();m.length=wh(e).length;const n=`${f.value}px 0`;return si("uni-picker-view-column",{ref:r},[si("div",{onWheel:b,onClick:w,class:"uni-picker-view-group"},[si("div",gi(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),si("div",gi(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[si(Sp,{ref:d,onResize:({height:e})=>c.value=e},null,8,["onResize"])],16),si("div",{ref:o,class:["uni-picker-view-content",h],style:{padding:n}},[e],6)],40,["onWheel","onClick"])],512)}}}),ng="#007aff",rg="backwards",og=vc({name:"Progress",props:{percent:{type:[Number,String],default:0,validator:e=>!isNaN(parseFloat(e))},fontSize:{type:[String,Number],default:16},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:e=>!isNaN(parseFloat(e))},color:{type:String,default:ng},activeColor:{type:String,default:ng},backgroundColor:{type:String,default:"#EBEBEB"},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:rg},duration:{type:[Number,String],default:30,validator:e=>!isNaN(parseFloat(e))},borderRadius:{type:[Number,String],default:0}},setup(e){const t=un(null),n=function(e){const t=un(0),n=Oi((()=>`background-color: ${e.backgroundColor}; height: ${e.strokeWidth}px;`)),r=Oi((()=>{const n=e.color!==ng&&e.activeColor===ng?e.color:e.activeColor;return`width: ${t.value}%;background-color: ${n}`})),o=Oi((()=>{let t=parseFloat(e.percent);return t<0&&(t=0),t>100&&(t=100),t}));return Xt({outerBarStyle:n,innerBarStyle:r,realPercent:o,currentPercent:t,strokeTimer:0,lastPercent:0})}(e);return ig(n,e),ir((()=>n.realPercent),((t,r)=>{n.strokeTimer&&clearInterval(n.strokeTimer),n.lastPercent=r||0,ig(n,e)})),()=>{const{showInfo:r}=e,{outerBarStyle:o,innerBarStyle:i,currentPercent:a}=n;return si("uni-progress",{class:"uni-progress",ref:t},[si("div",{style:o,class:"uni-progress-bar"},[si("div",{style:i,class:"uni-progress-inner-bar"},null,4)],4),r?si("p",{class:"uni-progress-info"},[a+"%"]):""],512)}}});function ig(e,t){t.active?(e.currentPercent=t.activeMode===rg?0:e.lastPercent,e.strokeTimer=setInterval((()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1}),parseFloat(t.duration))):e.currentPercent=e.realPercent}const ag=ku("ucg"),sg=vc({name:"RadioGroup",props:{name:{type:String,default:""}},setup(e,{emit:t,slots:n}){const r=un(null);return function(e,t){const n=[];Vr((()=>{s(n.length-1)}));const r=()=>{var e;return null==(e=n.find((e=>e.value.radioChecked)))?void 0:e.value.value};er(ag,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},radioChange(e,o){s(n.indexOf(o),!0),t("change",e,{value:r()})}});const o=tr(Sc,!1),i={submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=r()),t}};o&&(o.addField(i),Wr((()=>{o.removeField(i)})));function a(e,t){e.value={radioChecked:t,value:e.value.value}}function s(e,t){n.forEach(((r,o)=>{o!==e&&(t?a(n[o],!1):n.forEach(((e,t)=>{o>=t||n[t].value.radioChecked&&a(n[o],!1)})))}))}}(e,bc(r,t)),()=>si("uni-radio-group",{ref:r},[n.default&&n.default()],512)}});const lg=vc({name:"Radio",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:"#ffffff"}},setup(e,{slots:t}){const n=un(null),r=un(e.checked),o=un(e.value);const i=Oi((()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return r.value?(n.backgroundColor=e.activeBackgroundColor||e.color,n.borderColor=e.activeBorderColor||n.backgroundColor):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(r.value)));ir([()=>e.checked,()=>e.value],(([e,t])=>{r.value=e,o.value=t}));const{uniCheckGroup:a,uniLabel:s,field:l}=function(e,t,n){const r=Oi({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:({radioChecked:t})=>{e.value=t}}),o={reset:n},i=tr(ag,!1);i&&i.addField(r);const a=tr(Sc,!1);a&&a.addField(o);const s=tr(Cc,!1);return Wr((()=>{i&&i.removeField(r),a&&a.removeField(o)})),{uniCheckGroup:i,uniForm:a,uniLabel:s,field:r}}(r,o,(()=>{r.value=!1})),u=t=>{e.disabled||r.value||(r.value=!0,a&&a.radioChange(t,l),t.stopPropagation())};return s&&(s.addHandler(u),Wr((()=>{s.removeHandler(u)}))),Oc(e,{"label-click":u}),()=>{const o=Tc(e,"disabled");let a;return a=r.value,si("uni-radio",gi(o,{id:e.id,onClick:u,ref:n}),[si("div",{class:"uni-radio-wrapper",style:{"--HOVER-BD-COLOR":r.value?i.value.borderColor:e.activeBorderColor}},[si("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value},[a?Iu($u,e.disabled?"#ADADAD":e.iconColor,18):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});const ug={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:""},cg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const dg=(e,t,n)=>!n||p(n)&&!n.length?[]:n.map((n=>{if(S(n)){if(!f(n,"type")||"node"===n.type){let r={[e]:""};const o=n.name.toLowerCase();if(!f(ug,o))return;return function(e,t){if(S(t))for(const n in t)if(f(t,n)){const r=t[n];"img"===e&&"src"===n&&(t[n]=Rc(r))}}(o,n.attrs),r=u(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),Ii(n.name,r,dg(e,t,n.children))}return"text"===n.type&&y(n.text)&&""!==n.text?ci((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return f(cg,t)&&cg[t]?cg[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 fg(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,r,o,i=[],a=e;for(i.last=function(){return this[this.length-1]};e;){if(r=!0,i.last()&&Yp[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),""})),u("",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),r=!1):0==e.indexOf("</")?(o=e.match(Vp))&&(e=e.substring(o[0].length),o[0].replace(Vp,u),r=!1):0==e.indexOf("<")&&(o=e.match(Np))&&(e=e.substring(o[0].length),o[0].replace(Np,l),r=!1),r){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,r,o){if(n=n.toLowerCase(),Wp[n])for(;i.last()&&zp[i.last()];)u("",i.last());if(Hp[n]&&i.last()==n&&u("",n),(o=qp[n]||!!o)||i.push(n),t.start){var a=[];r.replace(Fp,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Up[t]?t:"";a.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,a,o)}}function u(e,n){if(n)for(r=i.length-1;r>=0&&i[r]!=n;r--);else var r=0;if(r>=0){for(var o=i.length-1;o>=r;o--)t.end&&t.end(i[o]);i.length=r}}u()}(e,{start:function(e,r,o){const i={name:e};if(0!==r.length&&(i.attrs=function(e){return e.reduce((function(e,t){let n=t.value;const r=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(r)&&(n=n.split(" ")),e[r]?Array.isArray(e[r])?e[r].push(n):e[r]=[e[r],n]:e[r]=n,e}),{})}(r)),o){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const r=t.shift();if(r.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(r);else{const e=t[0];e.children||(e.children=[]),e.children.push(r)}},chars:function(e){const r={type:"text",text:e};if(0===t.length)n.children.push(r);else{const e=t[0];e.children||(e.children=[]),e.children.push(r)}},comment:function(e){const n={node:"comment",text:e},r=t[0];r.children||(r.children=[]),r.children.push(n)}}),n.children}const pg=vc({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,{emit:t}){const n=bi(),r=n&&n.vnode.scopeId||"",o=un(null),i=un([]),a=bc(o,t);function s(e,t={}){a("itemclick",e,t)}return ir((()=>e.nodes),(function(){let t=e.nodes;y(t)&&(t=fg(e.nodes)),i.value=dg(r,s,t)}),{immediate:!0}),()=>Ii("uni-rich-text",{ref:o},Ii("div",{},i.value))}}),hg=xe(!0),gg=vc({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:"back"},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}){const r=un(null),o=un(null),i=un(null),a=un(null),s=un(null),l=bc(r,t),{state:u,scrollTopNumber:c,scrollLeftNumber:d}=function(e){const t=Oi((()=>Number(e.scrollTop)||0)),n=Oi((()=>Number(e.scrollLeft)||0));return{state:Xt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p}=function(e,t,n,r,o,i,a,s,l){let u=!1,c=0,d=!1,f=()=>{};const p=Oi((()=>e.scrollX)),h=Oi((()=>e.scrollY)),g=Oi((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=Oi((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=a.value;let r=0,o="";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?r=n.scrollLeft-e:"y"===t&&(r=n.scrollTop-e),0===r)return;let i=s.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?o="translateX("+r+"px) translateZ(0)":"y"===t&&(o="translateY("+r+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=o,i.style.webkitTransform=o}function y(e){const n=e.target;o("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&&(o("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&&(o("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(o("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&&(o("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function _(t){h.value&&(e.scrollWithAnimation?v(t,"y"):a.value.scrollTop=t)}function b(t){p.value&&(e.scrollWithAnimation?v(t,"x"):a.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),r=n.getBoundingClientRect();if(p.value){let n=r.left-t.left,o=a.value.scrollLeft+n;e.scrollWithAnimation?v(o,"x"):a.value.scrollLeft=o}if(h.value){let n=r.top-t.top,o=a.value.scrollTop+n;e.scrollWithAnimation?v(o,"y"):a.value.scrollTop=o}}}}function x(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=a.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",f),s.value.removeEventListener("webkitTransitionEnd",f)}function T(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,o("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=c=0,"restore"===n&&(d=!1,o("refresherrestore",{},{})),"refresherabort"===n&&d&&(d=!1,o("refresherabort",{},{}))}t.refreshState=n}}return Vr((()=>{Pn((()=>{_(n.value),b(r.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},s={x:0,y:0},l=null,f=function(n){if(null===s)return;let r=n.touches[0].pageX,i=n.touches[0].pageY,f=a.value;if(Math.abs(r-s.x)>Math.abs(i-s.y))if(p.value){if(0===f.scrollLeft&&r>s.x)return void(l=!1);if(f.scrollWidth===f.offsetWidth+f.scrollLeft&&r<s.x)return void(l=!1);l=!0}else l=!1;else if(h.value)if(0===f.scrollTop&&i>s.y)l=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(f.scrollHeight===f.offsetHeight+f.scrollTop&&i<s.y)return void(l=!1);l=!0}else l=!1;if(l&&n.stopPropagation(),0===f.scrollTop&&1===n.touches.length&&T("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const r=i-s.y;0===c&&(c=i),u?(t.refresherHeight=r+e.refresherThreshold,d=!1):(t.refresherHeight=i-c,t.refresherHeight>0&&(d=!0,o("refresherpulling",n,{deltaY:r})));const a=t.refresherHeight/e.refresherThreshold;t.refreshRotate=360*(a>1?1:a)}},g=function(e){1===e.touches.length&&(s={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){s=null,t.refresherHeight>=e.refresherThreshold?T("refreshing"):T("refresherabort")};a.value.addEventListener("touchstart",g,hg),a.value.addEventListener("touchmove",f,xe(!1)),a.value.addEventListener("scroll",i,xe(!1)),a.value.addEventListener("touchend",m,hg),Wr((()=>{a.value.removeEventListener("touchstart",g),a.value.removeEventListener("touchmove",f),a.value.removeEventListener("scroll",i),a.value.removeEventListener("touchend",m)}))})),$r((()=>{h.value&&(a.value.scrollTop=t.lastScrollTop),p.value&&(a.value.scrollLeft=t.lastScrollLeft)})),ir(n,(e=>{_(e)})),ir(r,(e=>{b(e)})),ir((()=>e.scrollIntoView),(e=>{w(e)})),ir((()=>e.refresherTriggered),(e=>{!0===e?T("refreshing"):!1===e&&T("restore")})),{realScrollX:p,realScrollY:h}}(e,u,c,d,l,r,o,a,t),h=Oi((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),g=Oi((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return()=>{const{refresherEnabled:t,refresherBackground:l,refresherDefaultStyle:c}=e,{refresherHeight:d,refreshState:f,refreshRotate:p}=u;return si("uni-scroll-view",{ref:r},[si("div",{ref:i,class:"uni-scroll-view"},[si("div",{ref:o,style:h.value,class:g.value},[si("div",{ref:a,class:"uni-scroll-view-content"},[t?si("div",{ref:s,style:{backgroundColor:l,height:d+"px"},class:"uni-scroll-view-refresher"},["none"!==c?si("div",{class:"uni-scroll-view-refresh"},[si("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==f?si("svg",{key:"refresh__icon",style:{transform:"rotate("+p+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[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),si("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==f?si("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[si("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"==c?n.refresher&&n.refresher():null],4):null,n.default&&n.default()],512)],6)],512)],512)}}});function mg(e,t,n,r,o,i){function a(){u&&(clearTimeout(u),u=null)}let s,l,u=null,c=!0,d=0,f=1,p=null,h=!1,g=0,m="";const v=Oi((()=>n.value.length>t.displayMultipleItems)),y=Oi((()=>e.circular&&v.value));function _(o){Math.floor(2*d)===Math.floor(2*o)&&Math.ceil(2*d)===Math.ceil(2*o)||y.value&&function(r){if(!c)for(let o=n.value,i=o.length,a=r+t.displayMultipleItems,s=0;s<i;s++){const t=o[s],n=Math.floor(r/i)*i+s,l=n+i,u=n-i,c=Math.max(r-(n+1),n-a,0),d=Math.max(r-(l+1),l-a,0),f=Math.max(r-(u+1),u-a,0),p=Math.min(c,d,f),h=[n,l,u][[c,d,f].indexOf(p)];t.updatePosition(h,e.vertical)}}(o);const a="translate("+(e.vertical?"0":100*-o*f+"%")+", "+(e.vertical?100*-o*f+"%":"0")+") translateZ(0)",l=r.value;if(l&&(l.style.webkitTransform=a,l.style.transform=a),d=o,!s){if(o%1==0)return;s=o}o-=Math.floor(s);const u=n.value;o<=-(u.length-1)?o+=u.length:o>=u.length&&(o-=u.length),o=s%1>.5||s<0?o-1:o,i("transition",{},{dx:e.vertical?0:o*l.offsetWidth,dy:e.vertical?o*l.offsetHeight:0})}function b(e){const r=n.value.length;if(!r)return-1;const o=(Math.round(e)%r+r)%r;if(y.value){if(r<=t.displayMultipleItems)return 0}else if(o>r-t.displayMultipleItems)return r-t.displayMultipleItems;return o}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,r=e.toPos,o=e.acc,a=e.endTime,u=e.source,c=a-Date.now();if(c<=0){_(r),p=null,h=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:u})}return}_(r+o*c*c/2),l=requestAnimationFrame(x)}function T(e,r,o){w();const i=t.duration,a=n.value.length;let s=d;if(y.value)if(o<0){for(;s<e;)s+=a;for(;s-a>e;)s-=a}else if(o>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"===r&&(e=e+t.displayMultipleItems-1<a?e:0);p={toPos:e,acc:2*(s-e)/(i*i),endTime:Date.now()+i,source:r},h||(h=!0,l=requestAnimationFrame(x))}function S(){a();const e=n.value,r=function(){u=null,m="autoplay",y.value?t.current=b(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,T(t.current,"autoplay",y.value?1:0),u=setTimeout(r,t.interval)};c||e.length<=t.displayMultipleItems||(u=setTimeout(r,t.interval))}function k(e){e?S():a()}return ir([()=>e.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let r=-1;if(e.currentItemId)for(let t=0,o=n.value;t<o.length;t++){if(o[t].getItemId()===e.currentItemId){r=t;break}}r<0&&(r=Math.round(e.current)||0),r=r<0?0:r,t.current!==r&&(m="",t.current=r)})),ir([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),p&&(_(p.toPos),p=null);const o=n.value;for(let t=0;t<o.length;t++)o[t].updatePosition(t,e.vertical);f=1;const i=r.value;if(1===t.displayMultipleItems&&o.length){const e=o[0].getBoundingClientRect(),t=i.getBoundingClientRect();f=e.width/t.width,f>0&&f<1||(f=1)}const s=d;d=-2;const l=t.current;l>=0?(c=!1,t.userTracking?(_(s+l-g),g=l):(_(l),e.autoplay&&S())):(c=!0,_(-t.displayMultipleItems-1))})),ir((()=>t.interval),(()=>{u&&(a(),S())})),ir((()=>t.current),((e,r)=>{!function(e,r){const o=m;m="";const a=n.value;if(!o){const t=a.length;T(e,"",y.value&&r+(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:o})}}(e,r),o("update:current",e)})),ir((()=>t.currentItemId),(e=>{o("update:currentItemId",e)})),ir((()=>e.autoplay&&!t.userTracking),k),k(e.autoplay&&!t.userTracking),Vr((()=>{let o=!1,i=0,s=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let r=0;!e&&Math.abs(i)>.2&&(r=.5*n);const o=b(d+r);e?_(g):(m="touch",t.current=o,T(o,"touch",0!==r?r:0===o&&y.value&&d>=1?1:0))}Ch(r.value,(u=>{if(!e.disableTouch&&!c){if("start"===u.detail.state)return t.userTracking=!0,o=!1,a(),g=d,i=0,s=Date.now(),void w();if("end"===u.detail.state)return l(!1);if("cancel"===u.detail.state)return l(!0);if(t.userTracking){if(!o){o=!0;const n=Math.abs(u.detail.dx),r=Math.abs(u.detail.dy);if((n>=r&&e.vertical||n<=r&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&S())}return function(o){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function u(e){return.5-.25/(e+.5)}function c(e,t){let n=g+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-u(-n):n>l&&(n=l+u(n-l)),i=0),_(n)}const d=s-a||1,f=r.value;e.vertical?c(-o.dy/f.offsetHeight,-o.ddy/d):c(-o.dx/f.offsetWidth,-o.ddx/d)}(u.detail),!1}}}))})),zr((()=>{a(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){T(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const vg=vc({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 r=un(null),o=bc(r,n),i=un(null),a=un(null),s=function(e){return Xt({interval:Oi((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Oi((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Oi((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Oi((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Cu(e.previousMargin,!0),bottom:Cu(e.nextMargin,!0)}:{top:0,bottom:0,left:Cu(e.previousMargin,!0),right:Cu(e.nextMargin,!0)}),t})),u=Oi((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let c=[];const d=[],f=un([]);function p(){const e=[];for(let t=0;t<c.length;t++){let n=c[t];n instanceof Element||(n=n.el);const r=d.find((e=>n===e.rootRef.value));r&&e.push(nn(r))}f.value=e}er("addSwiperContext",(function(e){d.push(e),p()}));er("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())}));const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=mg(e,s,f,a,n,o);let v=()=>null;return v=yg(r,e,s,h,f,g,m),()=>{const n=t.default&&t.default();return c=wh(n),si("uni-swiper",{ref:r},[si("div",{ref:i,class:"uni-swiper-wrapper"},[si("div",{class:"uni-swiper-slides",style:l.value},[si("div",{ref:a,class:"uni-swiper-slide-frame",style:u.value},[n],4)],4),e.indicatorDots&&si("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,r)=>si("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-r.length},style:{background:n===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2),v()],512)],512)}}}),yg=(e,t,n,r,o,i,a)=>{let s=!1,l=!1,c=!1,d=un(!1);function f(e,n){const r=e.currentTarget;r&&(r.style.backgroundColor="over"===n?t.navigationActiveColor:"")}nr((()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,_()})),nr((()=>{const e=o.value.length,t=!i.value;l=0===n.current&&t,c=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(l=!0,c=!0,s&&(d.value=!0))}));const p={onMouseover:e=>f(e,"over"),onMouseout:e=>f(e,"out")};function h(e,t,a){if(e.stopPropagation(),a)return;const s=o.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)}r(l)}const g=()=>Iu("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",t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:r,clientY:o}=n,{left:i,right:a,top:s,bottom:l,width:u,height:c}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(o-s<c/3||l-o<c/3):!(r-i<u/3||a-r<u/3),f)return m=setTimeout((()=>{d.value=f}),300);d.value=f},y=()=>{d.value=!0};function _(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),s&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return Vr(_),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?si(Wo,null,[si("div",gi({class:["uni-swiper-navigation uni-swiper-navigation-prev",u({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},p),[g()],16,["onClick"]),si("div",gi({class:["uni-swiper-navigation uni-swiper-navigation-next",u({"uni-swiper-navigation-disabled":c},e)],onClick:e=>h(e,"next",c)},p),[g()],16,["onClick"])]):null}},_g=vc({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=un(null),r={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const r=t?"0":100*e+"%",o=t?100*e+"%":"0",i=n.value,a=`translate(${r},${o}) translateZ(0)`;i&&(i.style.webkitTransform=a,i.style.transform=a)}};return Vr((()=>{const e=tr("addSwiperContext");e&&e(r)})),zr((()=>{const e=tr("removeSwiperContext");e&&e(r)})),()=>si("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),bg=vc({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){const n=un(null),r=un(e.checked),o=function(e,t){const n=tr(Sc,!1),r=tr(Cc,!1),o={submit:()=>{const n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(o),zr((()=>{n.removeField(o)})));return r}(e,r),i=bc(n,t);ir((()=>e.checked),(e=>{r.value=e}));const a=t=>{e.disabled||(r.value=!r.value,i("change",t,{value:r.value}))};return o&&(o.addHandler(a),Wr((()=>{o.removeHandler(a)}))),Oc(e,{"label-click":a}),()=>{const{color:t,type:o}=e,i=Tc(e,"disabled"),s={};let l;return t&&r.value&&(s.backgroundColor=t,s.borderColor=t),l=r.value,si("uni-switch",gi({id:e.id,ref:n},i,{onClick:a}),[si("div",{class:"uni-switch-wrapper"},[Gr(si("div",{class:["uni-switch-input",[r.value?"uni-switch-input-checked":""]],style:s},null,6),[[Ra,"switch"===o]]),Gr(si("div",{class:"uni-checkbox-input"},[l?Iu($u,e.color,22):""],512),[[Ra,"checkbox"===o]])])],16,["id","onClick"])}}});const wg={ensp:" ",emsp:" ",nbsp:" "};function xg(e,t){return function(e,{space:t,decode:n}){let r="",o=!1;for(let i of e)t&&wg[t]&&" "===i&&(i=wg[t]),o?(r+="n"===i?"\n":"\\"===i?"\\":"\\"+i,o=!1):"\\"===i?o=!0:r+=i;return n?r.replace(/&nbsp;/g,wg.nbsp).replace(/&ensp;/g,wg.ensp).replace(/&emsp;/g,wg.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'"):r}(e,t).split("\n")}const Tg=vc({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 r=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Ho){const n=xg(t.children,{space:e.space,decode:e.decode}),o=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&r.push(ci(e)),t!==o&&r.push(si("br"))}))}else r.push(t)})),si("uni-text",{ref:n,selectable:!!e.selectable||null},[si("span",null,r)],8,["selectable"])}}}),Sg=u({},fh,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Eg.concat("return").includes(e)}});let kg=!1;const Eg=["done","go","next","search","send"];const Cg=vc({name:"Textarea",props:Sg,emits:["confirm","linechange",...ph],setup(e,{emit:t,expose:n}){const r=un(null),o=un(null),{fieldRef:i,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:u}=mh(e,r,t),c=Oi((()=>a.value.split("\n"))),d=Oi((()=>Eg.includes(e.confirmType))),f=un(0),p=un(null);function h({height:e}){f.value=e}function g(e){"Enter"===e.key&&d.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&d.value){!function(e){u("confirm",e,{value:a.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return ir((()=>f.value),(t=>{const n=r.value,i=p.value,a=o.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=i.offsetHeight);var l=Math.round(t/s);u("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)";kg=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?si("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":kg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):si("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":kg},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 si("uni-textarea",{ref:r},[si("div",{ref:o,class:"uni-textarea-wrapper"},[Gr(si("div",gi(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ra,!a.value.length]]),si("div",{ref:p,class:"uni-textarea-line"},[" "],512),si("div",{class:"uni-textarea-compute"},[c.value.map((e=>si("div",null,[e.trim()?e:"."]))),si(Sp,{initial:!0,onResize:h},null,8,["initial","onResize"])]),"search"===e.confirmType?si("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),$g=vc({name:"View",props:u({},wc),setup(e,{slots:t}){const n=un(null),{hovering:r,binding:o}=xc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?si("uni-view",gi({class:r.value?i:"",ref:n},o),[t.default&&t.default()],16):si("uni-view",{ref:n},[t.default&&t.default()],512)}}});function Og(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Ig(e,t,n){e&&Xl(n||Ru(),e,(({type:e,data:n},r)=>{t(e,n,r)}))}function Mg(e,t){e&&function(e,t){t=Yl(e,t),delete Ul[t]}(t||Ru(),e)}function Ag(e,t,n,r){const o=bi().proxy;Vr((()=>{Ig(t||Og(o),e,r),!n&&t||ir((()=>o.id),((t,n)=>{Ig(Og(o,t),e,r),Mg(n&&Og(o,n))}))})),Wr((()=>{Mg(t||Og(o),r)}))}let Pg=0;function Lg(e){const t=Mu(),n=bi().proxy,r=n.$options.name.toLowerCase(),o=e||n.id||"context"+Pg++;return Vr((()=>{n.$el.__uniContextInfo={id:o,type:r,page:t}})),`${r}.${o}`}function Rg(e,t,n,r){v(t)&&jr(e,t.bind(n),r)}function Dg(e,t,n){var r;const o=e.mpType||n.$mpType;if(o&&"component"!==o&&(Object.keys(e).forEach((r=>{if(function(e,t,n=!0){return!(n&&!v(t))&&(Ae.indexOf(e)>-1||0===e.indexOf("on"))}(r,e[r],!1)){const o=e[r];p(o)?o.forEach((e=>Rg(r,e,n,t))):Rg(r,o,n,t)}})),"page"===o)){t.__isVisible=!0;try{Nu(n,"onLoad",t.attrs.__pageQuery),delete t.attrs.__pageQuery,"preloadPage"!==(null==(r=n.$page)?void 0:r.openType)&&Nu(n,"onShow")}catch(Ax){console.error(Ax.message+"\n"+Ax.stack)}}}function jg(e,t,n){Dg(e,t,n)}function Bg(e,t,n){return e[t]=n}function Ng(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Vg(e){return function(t,n,r){if(!n)throw t;const o=e._instance;if(!o||!o.proxy)throw t;Nu(o.proxy,"onError",t)}}function Fg(e,t){return e?[...new Set([].concat(e,t))]:t}function qg(e){const t=e._context.config;var n;t.errorHandler=Le(e,Vg),n=t.optionMergeStrategies,Ae.forEach((e=>{n[e]=Fg}));const r=t.globalProperties;r.$set=Bg,r.$applyOptions=jg,r.$callMethod=Ng,function(e){Pe.forEach((t=>t(e)))}(e)}const Wg=ku("upm");function zg(){return tr(Wg)}function Hg(e){const t=function(e){return Xt(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=Cu(e.offset)),e.height&&(e.height=Cu(e.height)),e.range&&(e.range=Cu(e.range)),e}(u({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:r,style:o}=n;"custom"!==o&&"transparent"!==r&&(t.offset+=44+vu.top),e.pullToRefresh=t}}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==lm().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Bu(Ol().meta,e)))))}(e);return er(Wg,t),t}function Ug(){return Ol()}function Yg(){return history.state&&history.state.__id__||1}let Xg;function Gg(){var e;return Xg||(Xg=__uniConfig.tabBar&&Xt((e=__uniConfig.tabBar,Il()&&e.list&&e.list.forEach((e=>{Ll(e,["text"])})),e))),Xg}const Jg=window.CSS&&window.CSS.supports;function Zg(e){return Jg&&(Jg(e)||Jg.apply(window.CSS,e.split(":")))}const Kg=Zg("--a:0"),Qg=Zg("top:env(a)"),em=Zg("top:constant(a)"),tm=Zg("backdrop-filter:blur(10px)"),nm={"css.var":Kg,"css.env":Qg,"css.constant":em,"css.backdrop-filter":tm},rm=Ed(0,(e=>!f(nm,e)||nm[e])),om=(()=>Qg?"env":em?"constant":"")();function im(e){return om?`calc(${e}px + ${om}(safe-area-inset-bottom))`:`${e}px`}const am=new Map;function sm(){return am}function lm(){const e=[],t=am.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function um(e,t=!0){const n=am.get(e);n.$.__isUnload=!0,Nu(n,"onUnload"),am.delete(e),t&&function(e){const t=hm.get(e);t&&(hm.delete(e),gm.pruneCacheEntry(t))}(e)}let cm=Yg();function dm(e){const t=zg();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,r,o,i){const{id:a,route:s}=r,l=Be(r.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:a,path:fe(s),route:s,fullPath:t,options:n,meta:r,openType:e,eventChannel:o,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function fm(e){const t=dm(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),am.set(pm(t.path,t.id),e)}function pm(e,t){return e+"$$"+t}const hm=new Map,gm={get:e=>hm.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;gm.forEach(((e,n)=>{const r=parseInt(n.split("$$")[1]);if(r&&r>t){if(function(e){return"tabBar"===e.props.type}(e))return;gm.delete(n),gm.pruneCacheEntry(e),Pn((()=>{am.forEach(((e,t)=>{e.$.isUnmounted&&am.delete(t)}))}))}}))}(e),hm.set(e,t)},delete(e){hm.get(e)&&hm.delete(e)},forEach(e){hm.forEach(e)}};function mm(e,t){!function(e){const t=ym(e),{body:n}=document;_m&&n.removeAttribute(_m),t&&n.setAttribute(t,""),_m=t}(e),function(e){let t=0;if(e.isTabBar){const e=Gg();e.shown&&(t=parseInt(e.height))}var n;Su({"--window-top":(n=0,om?`calc(${n}px + ${om}(safe-area-inset-top))`:`${n}px`),"--window-bottom":im(t)})}(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),function(e,t){document.removeEventListener("touchmove",Vu),bm&&document.removeEventListener("scroll",bm);if(t.disableScroll)return document.addEventListener("touchmove",Vu);const{onPageScroll:n,onReachBottom:r}=e,o="transparent"===t.navigationBar.type;if(!n&&!r&&!o)return;const i={},a=e.proxy.$page.id;(n||o)&&(i.onPageScroll=function(e,t,n){return r=>{t&&r_.publishHandler("onPageScroll",{scrollTop:r},e),n&&r_.emit(e+".onPageScroll",{scrollTop:r})}}(a,n,o));r&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>r_.publishHandler("onReachBottom",{},a));bm=Wu(i),requestAnimationFrame((()=>document.addEventListener("scroll",bm)))}(e,t)}function vm(e){const t=ym(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function ym(e){return e.type.__scopeId}let _m,bm;function wm(e){const t=Cl({history:Tm(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:xm});e.router=t,e.use(t)}const xm=(e,t,n)=>{if(n)return n};function Tm(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),xs(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=lm(),n=t.length-1,r=n-e;for(let o=n;o>r;o--){const e=t[o].$page;um(pm(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const Sm={install(e){qg(e),tc(e),fc(e),e.config.warnHandler||(e.config.warnHandler=km),wm(e)}};function km(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const r=[`[Vue warn]: ${e}`];n.length&&r.push("\n",n),console.warn(...r)}const Em={class:"uni-async-loading"},Cm=si("i",{class:"uni-loading"},null,-1),$m=yc({name:"AsyncLoading",render:()=>(Go(),ei("div",Em,[Cm]))});function Om(){window.location.reload()}const Im=yc({name:"AsyncError",setup(){jl();const{t:e}=Rl();return()=>si("div",{class:"uni-async-error",onClick:Om},[e("uni.async.error")],8,["onClick"])}});let Mm;function Am(){return Mm}function Pm(e){Mm=e,Object.defineProperty(Mm.$.ctx,"$children",{get:()=>lm().map((e=>e.$vm))});const t=Mm.$.appContext.app;t.component($m.name)||t.component($m.name,$m),t.component(Im.name)||t.component(Im.name,Im),function(e){e.$vm=e,e.$mpType="app";const t=un(Rl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Mm),function(e,t){const n=e.$options||{};n.globalData=u(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Mm),cc(),au()}function Lm(e,{clone:t,init:n,setup:r,before:o}){t&&(e=u({},e)),o&&o(e);const i=e.setup;return e.setup=(e,t)=>{const o=bi();n(o.proxy);const a=r(o);if(i)return i(a||e,t)},e}function Rm(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Lm(e.default,t):Lm(e,t)}function Dm(e){return Rm(e,{clone:!0,init:fm,setup(e){e.$pageInstance=e;const t=Ug(),n=ke(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n,e.proxy.options=n;const r=zg();var o,i,a;return Nr((()=>{mm(e,r)})),Vr((()=>{vm(e);const{onReady:n}=e;n&&R(n),Vm(t)})),Ir((()=>{if(!e.__isVisible){mm(e,r),e.__isVisible=!0;const{onShow:n}=e;n&&R(n),Pn((()=>{Vm(t)}))}}),"ba",o),function(e,t){Ir(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&R(t)}})),i=r.id,r_.subscribe(Yl(i,"invokeViewApi"),a?a(Gl):Gl),Wr((()=>{!function(e){r_.unsubscribe(Yl(e,"invokeViewApi")),Object.keys(Ul).forEach((t=>{0===t.indexOf(e+".")&&delete Ul[t]}))}(r.id)})),n}})}function jm(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:r}=ov(),o=90===Math.abs(Number(window.orientation))?"landscape":"portrait";o_.emit("onResize",{deviceOrientation:o,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:r}})}function Bm(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&o_.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Nm(){const{emit:e}=o_;"visible"===document.visibilityState?e("onAppEnterForeground",u({},Tp)):e("onAppEnterBackground")}function Vm(e){const{tabBarText:t,tabBarIndex:n,route:r}=e.meta;t&&Nu("onTabItemTap",{index:n,text:t,pagePath:r})}function Fm(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%3600%60),o=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((r<10?"0":"")+r);return"00"!==o&&(i=o+":"+i),i}function qm(e,t,n){const r=Xt({gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0}),o={x:0,y:0};return{state:r,onTouchstart:function(e){const t=e.targetTouches[0];o.x=t.pageX,o.y=t.pageY,r.gestureType="none",r.volumeOld=0,r.currentTimeOld=r.currentTimeNew=0},onTouchmove:function(i){function a(){i.stopPropagation(),i.preventDefault()}n.fullscreen&&a();const s=r.gestureType;if("stop"===s)return;const l=i.targetTouches[0],u=l.pageX,c=l.pageY,d=o,f=t.value;if("progress"===s?function(e){const n=t.value.duration;let o=e/600*n+r.currentTimeOld;o<0?o=0:o>n&&(o=n);r.currentTimeNew=o}(u-d.x):"volume"===s&&function(e){const n=t.value,o=r.volumeOld;let i;"number"==typeof o&&(i=o-e/200,i<0?i=0:i>1&&(i=1),n.volume=i,r.volumeNew=i)}(c-d.y),"none"===s)if(Math.abs(u-d.x)>Math.abs(c-d.y)){if(!e.enableProgressGesture)return void(r.gestureType="stop");r.gestureType="progress",r.currentTimeOld=r.currentTimeNew=f.currentTime,n.fullscreen||a()}else{if(!e.pageGesture)return void(r.gestureType="stop");r.gestureType="volume",r.volumeOld=f.volume,n.fullscreen||a()}},onTouchend:function(e){const n=t.value;"none"!==r.gestureType&&"stop"!==r.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===r.gestureType&&r.currentTimeOld!==r.currentTimeNew&&(n.currentTime=r.currentTimeNew),r.gestureType="none"}}}const Wm=vc({name:"Video",props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:r}){const o=un(null),i=un(null),a=bc(o,t),{state:s}=sh(),{$attrs:l}=bh({excludeListeners:!0}),{t:u}=Rl();Wl();const{videoRef:c,state:d,play:f,pause:h,stop:g,seek:m,playbackRate:v,toggle:y,onDurationChange:_,onLoadedMetadata:b,onProgress:w,onWaiting:x,onVideoError:T,onPlay:S,onPause:k,onEnded:E,onTimeUpdate:C}=function(e,t,n){const r=un(null),o=Oi((()=>Rc(e.src))),i=Oi((()=>"true"===e.muted||!0===e.muted)),a=Xt({start:!1,src:o,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i});function s(e){const t=e.target,n=t.buffered;n.length&&(a.buffered=n.end(n.length-1)/t.duration*100)}function l(){r.value.pause()}function u(e){const t=r.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return ir((()=>o.value),(()=>{a.playing=!1,a.currentTime=0})),ir((()=>a.buffered),(e=>{n("progress",{},{buffered:e})})),ir((()=>i.value),(e=>{r.value.muted=e})),{videoRef:r,state:a,play:function(){const e=r.value;a.start=!0,e.play()},pause:l,stop:function(){u(0),l()},seek:u,playbackRate:function(e){r.value.playbackRate=e},toggle:function(){const e=r.value;a.playing?e.pause():e.play()},onDurationChange:function({target:e}){a.duration=e.duration},onLoadedMetadata:function(t){const r=Number(e.initialTime)||0,o=t.target;r>0&&(o.currentTime=r),n("loadedmetadata",t,{width:o.videoWidth,height:o.videoHeight,duration:o.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,r=a.currentTime=t.currentTime;n("timeupdate",e,{currentTime:r,duration:t.duration})}}}(e,0,a),{state:$,danmuRef:O,updateDanmu:I,toggleDanmu:M,sendDanmu:A}=function(e,t){const n=un(null),r=Xt({enable:Boolean(e.enableDanmu)});let o={time:0,index:-1};const i=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let r=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",r),n.value.appendChild(t),setTimeout((function(){r+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",r),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:r,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=o,l={time:n,index:s.index};if(n>s.time)for(let o=s.index+1;o<i.length;o++){const e=i[o];if(!(n>=(e.time||0)))break;l.index=o,t.playing&&r.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;o=l},toggleDanmu:function(){r.enable=!r.enable},sendDanmu:function(e){i.splice(o.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,d),{state:P,onFullscreenChange:L,emitFullscreenChange:R,toggleFullscreen:D,requestFullScreen:j,exitFullScreen:B}=function(e,t,n,r,o){const i=Xt({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=o.value,l=t.value,u=n.value;let c;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!r.userAction?u.webkitEnterFullScreen?u.webkitEnterFullScreen():(c=!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():u.webkitExitFullScreen?u.webkitExitFullScreen():(c=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),c&&s(e)}function u(){l(!1)}return Wr(u),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:u}}(a,i,c,s,o),{state:N,onTouchstart:V,onTouchend:F,onTouchmove:q}=qm(e,c,P),{state:W,progressRef:z,ballRef:H,clickProgress:U,toggleControls:Y}=function(e,t,n){const r=un(null),o=un(null),i=Oi((()=>e.showCenterPlayBtn&&!t.start)),a=un(!0),s=Oi((()=>!i.value&&e.controls&&a.value)),l=Xt({touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:s,controlsVisible:a});let u;function c(){u=setTimeout((()=>{l.controlsVisible=!1}),3e3)}function d(){u&&(clearTimeout(u),u=null)}return Wr((()=>{u&&clearTimeout(u)})),ir((()=>l.controlsShow&&t.playing&&!l.controlsTouching),(e=>{e?c():d()})),ir([()=>t.currentTime,()=>{e.duration}],(function(){l.touching||(t.progress=t.currentTime/t.duration*100)})),Vr((()=>{const e=xe(!1);let i,a,s,u=!0;const c=o.value;function d(e){const n=e.targetTouches[0],o=n.pageX,l=n.pageY;if(u&&Math.abs(o-i)<Math.abs(l-a))return void f(e);u=!1;const c=r.value.offsetWidth;let d=s+(o-i)/c*100;d<0?d=0:d>100&&(d=100),t.progress=d,e.preventDefault(),e.stopPropagation()}function f(r){l.controlsTouching=!1,l.touching&&(c.removeEventListener("touchmove",d,e),u||(r.preventDefault(),r.stopPropagation(),n(t.duration*t.progress/100)),l.touching=!1)}c.addEventListener("touchstart",(n=>{l.controlsTouching=!0;const r=n.targetTouches[0];i=r.pageX,a=r.pageY,s=t.progress,u=!0,l.touching=!0,c.addEventListener("touchmove",d,e)})),c.addEventListener("touchend",f),c.addEventListener("touchcancel",f)})),{state:l,progressRef:r,ballRef:o,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(){l.controlsVisible=!l.controlsVisible},autoHideStart:c,autoHideEnd:d}}(e,d,m);return function(e,t,n,r,o,i,a,s){const l={play:e,stop:n,pause:t,seek:r,sendDanmu:o,playbackRate:i,requestFullScreen:a,exitFullScreen:s};Ag(((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)}),Lg(),!0)}(f,h,g,m,A,v,j,B),()=>si("uni-video",{ref:o,id:e.id,onClick:Y},[si("div",{ref:i,class:"uni-video-container",onTouchstart:V,onTouchend:F,onTouchmove:q,onFullscreenchange:La(L,["stop"]),onWebkitfullscreenchange:La((e=>L(e,!0)),["stop"])},[si("video",gi({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:d.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:_,onLoadedmetadata:b,onProgress:w,onWaiting:x,onError:T,onPlay:S,onPause:k,onEnded:E,onTimeupdate:e=>{C(e),I(e)},onWebkitbeginfullscreen:()=>R(!0),onX5videoenterfullscreen:()=>R(!0),onWebkitendfullscreen:()=>R(!1),onX5videoexitfullscreen:()=>R(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),Gr(si("div",{class:"uni-video-bar uni-video-bar-full",onClick:La((()=>{}),["stop"])},[si("div",{class:"uni-video-controls"},[Gr(si("div",{class:{"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing},onClick:La(y,["stop"])},null,10,["onClick"]),[[Ra,e.showPlayBtn]]),Gr(si("div",{class:"uni-video-current-time"},[Fm(d.currentTime)],512),[[Ra,e.showProgress]]),Gr(si("div",{ref:z,class:"uni-video-progress-container",onClick:La(U,["stop"])},[si("div",{class:"uni-video-progress"},[si("div",{style:{width:d.buffered+"%"},class:"uni-video-progress-buffered"},null,4),si("div",{ref:H,style:{left:d.progress+"%"},class:"uni-video-ball"},[si("div",{class:"uni-video-inner"},null)],4)])],8,["onClick"]),[[Ra,e.showProgress]]),Gr(si("div",{class:"uni-video-duration"},[Fm(Number(e.duration)||d.duration)],512),[[Ra,e.showProgress]])]),Gr(si("div",{class:{"uni-video-danmu-button":!0,"uni-video-danmu-button-active":$.enable},onClick:La(M,["stop"])},[u("uni.video.danmu")],10,["onClick"]),[[Ra,e.danmuBtn]]),Gr(si("div",{class:{"uni-video-fullscreen":!0,"uni-video-type-fullscreen":P.fullscreen},onClick:La((()=>D(!P.fullscreen)),["stop"])},null,10,["onClick"]),[[Ra,e.showFullscreenBtn]])],8,["onClick"]),[[Ra,W.controlsShow]]),Gr(si("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Ra,d.start&&$.enable]]),W.centerPlayBtnShow&&si("div",{class:"uni-video-cover",onClick:La((()=>{}),["stop"])},[si("div",{class:"uni-video-cover-play-button",onClick:La(f,["stop"])},null,8,["onClick"]),si("p",{class:"uni-video-cover-duration"},[Fm(Number(e.duration)||d.duration)])],8,["onClick"]),si("div",{class:{"uni-video-toast":!0,"uni-video-toast-volume":"volume"===N.gestureType}},[si("div",{class:"uni-video-toast-title"},[u("uni.video.volume")]),si("svg",{class:"uni-video-toast-icon",width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[si("path",{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"},null)]),si("div",{class:"uni-video-toast-value"},[si("div",{style:{width:100*N.volumeNew+"%"},class:"uni-video-toast-value-content"},[si("div",{class:"uni-video-toast-volume-grids"},[no(10,(()=>si("div",{class:"uni-video-toast-volume-grids-item"},null)))])],4)])],2),si("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":"progress"===N.gestureType}},[si("div",{class:"uni-video-toast-title"},[Fm(N.currentTimeNew)," / ",Fm(d.duration)])],2),si("div",{class:"uni-video-slots"},[r.default&&r.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),zm=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Hm=ge((()=>o_.on("onWebInvokeAppService",zm))),Um=vc({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){Hm();const t=un(null),n=un(null),{$attrs:r,$excludeAttrs:o,$listeners:i}=bh({excludeListeners:!0});let a;return(()=>{const o=document.createElement("iframe");nr((()=>{for(const e in r.value)if(f(r.value,e)){const t=r.value[e];o[e]=t}})),nr((()=>{o.src=Rc(e.src)})),n.value=o,a=function(e,t,n){return()=>{var r,o;if(n){const{top:n,left:r,width:o,height:i}=e.value.getBoundingClientRect();he(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:r+"px",width:o+"px",height:i+"px"})}else he(t.value,{width:(null==(r=e.value)?void 0:r.style.width)||"300px",height:(null==(o=e.value)?void 0:o.style.height)||"150px"})}}(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(o)})(),Vr((()=>{var r;a(),!e.fullscreen&&(null==(r=t.value)||r.appendChild(n.value))})),$r((()=>{e.fullscreen&&(n.value.style.display="block")})),Or((()=>{e.fullscreen&&(n.value.style.display="none")})),Wr((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>si(Wo,null,[si("uni-web-view",gi({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,o.value,{ref:t}),[si(Sp,{onResize:a},null,8,["onResize"])],16)])}});const Ym=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Xm;function Gm(){if(Xm=Xm||Ym.__DC_STAT_UUID,!Xm){Xm=Date.now()+""+Math.floor(1e7*Math.random());try{Ym.__DC_STAT_UUID=Xm}catch(e){}}return Xm}function Jm(){if(!0!==__uniConfig.darkmode)return y(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Zm(){let e,t="0",n="",r="phone";const o=navigator.language;if(Bc){e="iOS";const r=Dc.match(/OS\s([\w_]+)\slike/);r&&(t=r[1].replace(/_/g,"."));const o=Dc.match(/\(([a-zA-Z]+);/);o&&(n=o[1])}else if(jc){e="Android";const r=Dc.match(/Android[\s/]([\w\.]+)[;\s]/);r&&(t=r[1]);const o=Dc.match(/\((.+?)\)/),i=o?o[1].split(";"):Dc.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 r;for(let e=0;e<a.length;e++)if(a[e].test(t)){r=!0;break}if(!r){n=t.trim();break}}}else if(qc)n="iPad",e="iOS",r="pad",t=v(window.BigInt)?"14.0":"13.0";else if(Nc||Vc||Fc){n="PC",e="PC",r="pc",t="0";let o=Dc.match(/\((.+?)\)/)[1];if(Nc){switch(e="Windows",Nc[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=o&&o.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(Vc){e="macOS";const n=o&&o.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(Fc){e="Linux";const n=o&&o.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",r="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,r=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:r?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 r=e[n],o=new RegExp(`(${r})/(\\S*)\\b`);o.test(Dc)&&(s=t[n],l=Dc.match(o)[2])}}let u="portrait";const c=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return u=90===Math.abs(c)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:u,model:n,system:i,platform:a,browserName:s.toLocaleLowerCase(),browserVersion:l,language:o,deviceType:r,ua:Dc,osname:e,osversion:t,theme:Jm()}}const Km=Ed(0,(()=>{const e=window.devicePixelRatio,t=Wc(),n=zc(t),r=Hc(t,n),o=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Uc(r);let a=window.innerHeight;const s=vu.top,l={left:vu.left,right:i-vu.right,top:vu.top,bottom:a-vu.bottom,width:i-vu.left-vu.right,height:a-vu.top-vu.bottom},{top:u,bottom:c}=xu();return a-=u,a-=c,{windowTop:u,windowBottom:c,windowWidth:i,windowHeight:a,pixelRatio:e,screenWidth:r,screenHeight:o,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:vu.top,right:vu.right,bottom:vu.bottom,left:vu.left},screenTop:o-a}}));let Qm,ev=!0;function tv(){ev&&(Qm=Zm())}const nv=Ed(0,(()=>{tv();const{deviceBrand:e,deviceModel:t,brand:n,model:r,platform:o,system:i,deviceOrientation:a,deviceType:s}=Qm;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Gm(),deviceOrientation:a,deviceType:s,model:r,platform:o,system:i}})),rv=Ed(0,(()=>{tv();const{theme:e,language:t,browserName:n,browserVersion:r}=Qm;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:If?If():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:r,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""}})),ov=Ed(0,(()=>{ev=!0,tv(),ev=!1;const e=Km(),t=nv(),n=rv();ev=!0;const{ua:r,browserName:o,browserVersion:i,osname:a,osversion:s}=Qm,l=u(e,t,n,{ua:r,browserName:o,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLocaleLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return S(e)&&Object.keys(e).sort().forEach((n=>{const r=n;t[r]=e[r]})),Object.keys(t)?t:e}(l)})),iv=Cd("getSystemInfo",((e,{resolve:t})=>t(ov())));const av=Cd("getNetworkType",((e,{resolve:t})=>{const n=navigator.connection||navigator.webkitConnection||navigator.mozConnection;let r="unknown";return n?(r=n.type,"cellular"===r&&n.effectiveType?r=n.effectiveType.replace("slow-",""):!r&&n.effectiveType?r=n.effectiveType:["none","wifi"].includes(r)||(r="unknown")):!1===navigator.onLine&&(r="none"),t({networkType:r})}));const sv=Ed(0,((e,t)=>{const n=typeof t,r="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,r)})),lv=Cd("setStorage",(({key:e,data:t},{resolve:n,reject:r})=>{try{sv(e,t),n()}catch(o){r(o.message)}}));function uv(e){const t=localStorage&&localStorage.getItem(e);if(!y(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=y(e)?JSON.parse(e):e,r=n.type;if(t.indexOf(r)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===r)return n.data;if("object"===r&&/^\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(r){}return n}const cv=Ed(0,(e=>{try{return uv(e)}catch(t){return""}})),dv=Ed(0,(e=>{localStorage&&localStorage.removeItem(e)})),fv=Cd("removeStorage",(({key:e},{resolve:t})=>{dv(e),t()})),pv=Ed(0,(()=>{localStorage&&localStorage.clear()})),hv=Ed(0,(()=>{const e=localStorage&&localStorage.length||0,t=[];let n=0;for(let r=0;r<e;r++){const e=localStorage.key(r),o=localStorage.getItem(e)||"";n+=e.length+o.length,"uni-storage-keys"!==e&&t.push(e)}return{keys:t,currentSize:Math.ceil(2*n/1024),limitSize:Number.MAX_VALUE}})),gv=Cd("hideKeyboard",((e,{resolve:t,reject:n})=>{const r=document.activeElement;!r||"TEXTAREA"!==r.tagName&&"INPUT"!==r.tagName||(r.blur(),t())}));const mv=Cd("getImageInfo",(({src:e},{resolve:t,reject:n})=>{const r=new Image;r.onload=function(){t({width:r.naturalWidth,height:r.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},r.onerror=function(){n()},r.src=e}),0,zf),vv={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 yv({count:e,sourceType:t,type:n,extension:r}){const o=document.createElement("input");return o.type="file",he(o,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),o.accept=r.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${vv[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&&(o.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&o.setAttribute("capture","camera"),o}ih();let _v=null;const bv=Cd("chooseFile",(({count:e,sourceType:t,type:n,extension:r},{resolve:o,reject:i})=>{Fl();const{t:a}=Rl();_v&&(document.body.removeChild(_v),_v=null),_v=yv({count:e,sourceType:t,type:n,extension:r}),document.body.appendChild(_v),_v.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||bp(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),_v.click(),ah()||console.warn(a("uni.chooseFile.notUserActivation"))}),0,Wf);let wv=null;const xv=Cd("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:r,reject:o})=>{Fl();const{t:i}=Rl();wv&&(document.body.removeChild(wv),wv=null),wv=yv({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(wv),wv.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||bp(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map((({path:e})=>e))},tempFiles:o})})),wv.click(),ah()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,Vf),Tv={esc:["Esc","Escape"],enter:["Enter"]},Sv=Object.keys(Tv);function kv(){const e=un(""),t=un(!1),n=n=>{if(t.value)return;const r=Sv.find((e=>-1!==Tv[e].indexOf(n.key)));r&&(e.value=r),Pn((()=>e.value=""))};return Vr((()=>{document.addEventListener("keyup",n)})),Wr((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const Ev=si("div",{class:"uni-mask"},null,-1);function Cv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Na(_r({setup:()=>()=>(Go(),ei(e,t,null,16))}))}function $v(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Ov(e,{onEsc:t,onEnter:n}){const r=un(e.visible),{key:o,disable:i}=kv();return ir((()=>e.visible),(e=>r.value=e)),ir((()=>r.value),(e=>i.value=!e)),nr((()=>{const{value:e}=o;"esc"===e?t&&t():"enter"===e&&n&&n()})),r}let Iv=0,Mv="";function Av(e){let t=Iv;Iv+=e?1:-1,Iv=Math.max(0,Iv),Iv>0?0===t&&(Mv=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Mv,Mv="")}const Pv=yc({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Xt({direction:"none"});let n=1,r=0,o=0,i=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();r=t.width,o=t.height}function u(e){const t=e.target.getBoundingClientRect();i=t.width,a=t.height,d(e)}function c(e){const s=n*r>i,l=n*o>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 si(xh,{style:n,onTouchstart:_c(u),onTouchmove:_c(d),onTouchend:_c(c)},{default:()=>[si(Rh,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[si("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 Lv(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Rv=yc({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){Vr((()=>Av(!0))),zr((()=>Av(!1)));const n=un(null),r=un(Lv(e));let o;function i(){o||Pn((()=>{t("close")}))}function a(e){r.value=e.detail.current}ir((()=>e.current),(()=>r.value=Lv(e))),Vr((()=>{const e=n.value;let t=0,r=0;e.addEventListener("mousedown",(e=>{o=!1,t=e.clientX,r=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-r)>20)&&(o=!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 si("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},[si(vg,{navigation:"auto",current:r.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(o=t=e.urls.map((e=>si(_g,null,{default:()=>[si(Pv,{src:e},null,8,["src"])]}))),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!ti(o)?t:{default:()=>[t],_:1}),8,["current","onChange"]),si("div",{style:s},[Iu("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var o}}});let Dv,jv=null;const Bv=()=>{jv=null,Pn((()=>{null==Dv||Dv.unmount(),Dv=null}))},Nv=Cd("previewImage",((e,{resolve:t})=>{jv?u(jv,e):(jv=Xt(e),Pn((()=>{Dv=Cv(Rv,jv,Bv),Dv.mount($v("u-a-p"))}))),t()}),0,Hf);let Vv=null;const Fv=Cd("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:r})=>{Fl();const{t:o}=Rl();Vv&&(document.body.removeChild(Vv),Vv=null),Vv=yv({sourceType:e,extension:t,type:"video"}),document.body.appendChild(Vv),Vv.addEventListener("change",(function(e){const t=e.target.files[0];let r="";const o={tempFilePath:r,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(o,"tempFilePath",{get(){return r=r||bp(this.tempFile),r}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=bp(t);i.onloadedmetadata=function(){wp(e),n(u(o,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,wp(e),n(o)}),300),i.src=e}else n(o)})),Vv.click(),ah()||console.warn(o("uni.chooseFile.notUserActivation"))}),0,Ff),qv=kd("request",(({url:e,data:t,header:n={},method:r,dataType:o,responseType:i,withCredentials:a,timeout:s=__uniConfig.networkTimeout.request},{resolve:l,reject:u})=>{let c=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"!==r)if(y(t)||t instanceof ArrayBuffer)c=t;else if("json"===d)try{c=JSON.stringify(t)}catch(m){c=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));c=e.join("&")}else c=t.toString();const p=new XMLHttpRequest,h=new Wv(p);p.open(r,e);for(const v in n)f(n,v)&&p.setRequestHeader(v,n[v]);const g=setTimeout((function(){p.onload=p.onabort=p.onerror=null,h.abort(),u("timeout",{errCode:5})}),s);return p.responseType=i,p.onload=function(){clearTimeout(g);const e=p.status;let t="text"===i?p.responseText:p.response;if("text"===i&&"json"===o)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:zv(p.getAllResponseHeaders()),cookies:[]})},p.onabort=function(){clearTimeout(g),u("abort",{errCode:600003})},p.onerror=function(){clearTimeout(g),u(void 0,{errCode:5})},p.withCredentials=a,p.send(c),h}),0,Gf);class Wv{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 zv(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 Hv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){v(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const Uv=kd("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:r,reject:o})=>{var i,a=new XMLHttpRequest,s=new Hv(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 o;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(o=e[1])}n.name=o||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),r({statusCode:t,tempFilePath:bp(n)})},a.onabort=function(){clearTimeout(i),o("abort",{errCode:600003})},a.onerror=function(){clearTimeout(i),o("",{errCode:602001})},a.onprogress=function(e){s._callbacks.forEach((t=>{var n=e.loaded,r=e.total;t({progress:Math.round(n/r*100),totalBytesWritten:n,totalBytesExpectedToWrite:r})}))},a.send(),i=setTimeout((function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),o("timeout",{errCode:5})}),n),s}),0,Jf);class Yv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){v(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 Xv=kd("uploadFile",(({url:e,file:t,filePath:n,name:r,files:o,header:i={},formData:a={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:u})=>{var c=new Yv;return p(o)&&o.length||(o=[{name:r,file:t,uri:n}]),Promise.all(o.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(_p(e)):yp(t)))).then((function(t){var n,r=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach((e=>{d.append(e,a[e])})),Object.values(o).forEach((({name:e},n)=>{const r=t[n];d.append(e||"file",r,r.name||`file-${Date.now()}`)})),r.open("POST",e),Object.keys(i).forEach((e=>{r.setRequestHeader(e,i[e])})),r.upload.onprogress=function(e){c._callbacks.forEach((t=>{var n=e.loaded,r=e.total;t({progress:Math.round(n/r*100),totalBytesSent:n,totalBytesExpectedToSend:r})}))},r.onerror=function(){clearTimeout(n),u("",{errCode:602001})},r.onabort=function(){clearTimeout(n),u("abort",{errCode:600003})},r.onload=function(){clearTimeout(n);const e=r.status;l({statusCode:e,data:r.responseText||r.response})},c._isAbort?u("abort",{errCode:600003}):(n=setTimeout((function(){r.upload.onprogress=r.onload=r.onabort=r.onerror=null,c.abort(),u("timeout",{errCode:5})}),s),r.send(d),c._xhr=r)})).catch((()=>{setTimeout((()=>{u("file error")}),0)})),c}),0,Zf),Gv=Cd("navigateBack",((e,{resolve:t,reject:n})=>{let r=!0;return!0===Nu("onBackPress",{from:e.from||"navigateBack"})&&(r=!1),r?(Am().$router.go(-e.delta),t()):n("onBackPress")}),0,rp);function Jv({type:e,url:t,tabBarText:n,events:r,isAutomatedTesting:o},i){const a=Am().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Ce(n||"")}}(t);return new Promise(((t,u)=>{const c=function(e,t){return{__id__:t||++cm,__type__:e}}(e,i);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:c,force:!0}).then((i=>{if(Os(i))return u(i.message);if("switchTab"===e&&(a.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=a.currentRoute.value.meta;return e.eventChannel?r&&(Object.keys(r).forEach((t=>{e.eventChannel._addListener(t,"on",r[t])})),e.eventChannel._clearCache()):e.eventChannel=new Oe(c.__id__,r),t(o?{__id__:c.__id__}:{eventChannel:e.eventChannel})}return o?t({__id__:c.__id__}):t()}))}))}const Zv=Cd("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:r,reject:o})=>Jv({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(r).catch(o)),0,Qf);const Kv=Cd("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:r})=>(function(){const e=Pu();if(!e)return;const t=e.$page;um(pm(t.path,t.id))}(),Jv({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(r))),0,ep);const Qv=Cd("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:r})=>(function(){const e=sm().keys();for(const t of e)um(t)}(),Jv({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(r))),0,tp);function ey(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}const ty=Cd("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:r,reject:o})=>(function(){const e=Du();if(!e)return;const t=sm(),n=t.keys();for(const r of n){const e=t.get(r);e.$.__isTabBar?e.$.__isActive=!1:um(r)}e.$.__isTabBar&&(e.$.__isVisible=!1,Nu(e,"onHide"))}(),Jv({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},function(e){const t=sm().values();for(const n of t){const t=n.$page;if(ey(e,t))return n.$.__isActive=!0,t.id}}(e)).then(r).catch(o))),0,np);function ny(e){__uniConfig.darkmode&&o_.on("onThemeChange",e)}function ry(e){o_.off("onThemeChange",e)}function oy(e){let t={};return __uniConfig.darkmode&&(t=Be(e,__uniConfig.themeConfig,Jm())),__uniConfig.darkmode?t:e}const iy={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},ay=_r({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(""),r=()=>a.value=!1,o=()=>(r(),t("close","cancel")),i=()=>(r(),t("close","confirm",n.value)),a=Ov(e,{onEsc:o,onEnter:()=>{!e.editable&&i()}}),s=function(e){const t=un(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=iy[e].cancelColor})(e,t)};return nr((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Jm()&&n({theme:"dark"}),ny(n))):ry(n)})),t}(e);return()=>{const{title:t,content:r,showCancel:l,confirmText:u,confirmColor:c,editable:d,placeholderText:f}=e;return n.value=r,si(sa,{name:"uni-fade"},{default:()=>[Gr(si("uni-modal",{onTouchmove:yu},[Ev,si("div",{class:"uni-modal"},[t&&si("div",{class:"uni-modal__hd"},[si("strong",{class:"uni-modal__title",textContent:t},null,8,["textContent"])]),d?si("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:r,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):si("div",{class:"uni-modal__bd",onTouchmovePassive:_u,textContent:r},null,40,["onTouchmovePassive","textContent"]),si("div",{class:"uni-modal__ft"},[l&&si("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:o},[e.cancelText],12,["onClick"]),si("div",{style:{color:c},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[u],12,["onClick"])])])],40,["onTouchmove"]),[[Ra,a.value]])]})}}});let sy;const ly=ge((()=>{o_.on("onHidePopup",(()=>sy.visible=!1))}));let uy;function cy(e,t){const n="confirm"===e,r={confirm:n,cancel:"cancel"===e};n&&sy.editable&&(r.content=t),uy&&uy(r)}const dy=Cd("showModal",((e,{resolve:t})=>{ly(),uy=t,sy?(u(sy,e),sy.visible=!0):(sy=Xt(e),Pn((()=>(Cv(ay,sy,cy).mount($v("u-a-m")),Pn((()=>sy.visible=!0))))))}),0,dp),fy={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==fp.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},py={light:"#fff",dark:"rgba(255,255,255,0.9)"},hy=e=>py[e],gy=_r({name:"Toast",props:fy,setup(e){Bl(),Nl();const{Icon:t}=function(e){const t=un(hy(Jm())),n=({theme:e})=>t.value=hy(e);nr((()=>{e.visible?ny(n):ry(n)}));return{Icon:Oi((()=>{switch(e.icon){case"success":return si(Iu($u,t.value,38),{class:"uni-toast__icon"});case"error":return si(Iu(Ou,t.value,38),{class:"uni-toast__icon"});case"loading":return si("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Ov(e,{});return()=>{const{mask:r,duration:o,title:i,image:a}=e;return si(sa,{name:"uni-fade"},{default:()=>[Gr(si("uni-toast",{"data-duration":o},[r?si("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:yu},null,40,["onTouchmove"]):"",a||t.value?si("div",{class:"uni-toast"},[a?si("img",{src:a,class:"uni-toast__icon"},null,10,["src"]):t.value,si("p",{class:"uni-toast__content"},[i])]):si("div",{class:"uni-sample-toast"},[si("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ra,n.value]])]})}}});let my,vy,yy="";const _y=Fe();function by(e){my?u(my,e):(my=Xt(u(e,{visible:!1})),Pn((()=>{_y.run((()=>{ir([()=>my.visible,()=>my.duration],(([e,t])=>{if(e){if(vy&&clearTimeout(vy),"onShowLoading"===yy)return;vy=setTimeout((()=>{ky("onHideToast")}),t)}else vy&&clearTimeout(vy)}))})),o_.on("onHidePopup",(()=>ky("onHidePopup"))),Cv(gy,my,(()=>{})).mount($v("u-a-t"))}))),setTimeout((()=>{my.visible=!0}),10)}const wy=Cd("showToast",((e,{resolve:t,reject:n})=>{by(e),yy="onShowToast",t()}),0,pp),xy={icon:"loading",duration:1e8,image:""},Ty=Cd("showLoading",((e,{resolve:t,reject:n})=>{u(e,xy),by(e),yy="onShowLoading",t()}),0,cp),Sy=Cd("hideLoading",((e,{resolve:t,reject:n})=>{ky("onHideLoading"),t()}));function ky(e){const{t:t}=Rl();if(!yy)return;let n="";if("onHideToast"===e&&"onShowToast"!==yy?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==yy&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);yy="",setTimeout((()=>{my.visible=!1}),10)}const Ey=Cd("loadFontFace",(({family:e,source:t,desc:n},{resolve:r,reject:o})=>{(function(e,t,n){const r=document.fonts;if(r){const o=new FontFace(e,t,n);return o.load().then((()=>{r.add&&r.add(o)}))}return new Promise((r=>{const o=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:r,unicodeRange:o,variant:a,featureSettings:s}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),r&&i.push(`font-stretch:${r}`),o&&i.push(`unicode-range:${o}`),a&&i.push(`font-variant:${a}`),s&&i.push(`font-feature-settings:${s}`)}o.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(o),r()}))})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Rc(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Rc(t.substring(4,t.length-1))}')`:Rc(t),n).then((()=>{r()})).catch((e=>{o(`loadFontFace:fail ${e}`)}))}));function Cy(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,o_.emit("onNavigationBarChange",{titleText:t})}nr(t),$r(t)}const $y=Cd("setNavigationBarTitle",((e,{resolve:t,reject:n})=>{!function(e,t,n,r,o){if(!e)return o("page not found");const{navigationBar:i}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:r}=n,{duration:o,timingFunc:a}=r;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=o+"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}r()}(Lu(),"setNavigationBarTitle",e,t,n)})),Oy=Cd("pageScrollTo",(({scrollTop:e,selector:t,duration:n},{resolve:r})=>{!function(e,t,n){if(y(e)){const t=document.querySelector(e);if(t){const{top:n}=t.getBoundingClientRect();e=n+window.pageYOffset;const r=document.querySelector("uni-page-head");r&&(e-=r.offsetHeight)}}e<0&&(e=0);const r=document.documentElement,{clientHeight:o,scrollHeight:i}=r;if(e=Math.min(e,i-o),0===t)return void(r.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),r()}),0,up),Iy=Cd("stopPullDownRefresh",((e,{resolve:t})=>{o_.invokeViewMethod("stopPullDownRefresh",{},Ru()),t()})),My=["text","iconPath","iconfont","selectedIconPath","visible"],Ay=["color","selectedColor","backgroundColor","borderStyle","midButton"],Py=["badge","redDot"];function Ly(e,t,n){t.forEach((function(t){f(n,t)&&(e[t]=n[t])}))}function Ry(e,t,n){const r=Gg();switch(e){case"showTabBar":r.shown=!0;break;case"hideTabBar":r.shown=!1;break;case"setTabBarItem":const{index:e}=t,n=r.list[e],o=n.pagePath;Ly(n,My,t);const{pagePath:i}=t;if(i){const t=fe(i);t!==o&&function(e,t,n){const r=Hu(fe(t));if(r){const{meta:e}=r;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const o=Hu(fe(n));if(o){const{meta:t}=o;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const r=__uniConfig.tabBar;r&&r.list&&r.list[e]&&(r.list[e].pagePath=pe(n))}}(e,o,t)}break;case"setTabBarStyle":Ly(r,Ay,t);break;case"showTabBarRedDot":Ly(r.list[t.index],Py,{badge:"",redDot:!0});break;case"setTabBarBadge":Ly(r.list[t.index],Py,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":Ly(r.list[t.index],Py,{badge:"",redDot:!1})}n()}const Dy=Cd("hideTabBar",((e,{resolve:t})=>{Ry("hideTabBar",e||{},t)})),jy=yc({name:"TabBar",setup(){const e=un([]),t=Gg(),n=function(e,t){const n=Zt(e),r=n?Xt(oy(e)):oy(e);return __uniConfig.darkmode&&n&&ir(e,(e=>{const t=oy(e);for(const n in t)r[n]=t[n]})),t&&ny(t),r}(t,(()=>{const e=oy(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,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(u({type:"midButton"},e.midButton)),nr(n)}(n,e),function(e){ir((()=>e.shown),(t=>{Su({"--window-bottom":im(t?parseInt(e.height):0)})}))}(n);const r=function(e,t,n){return nr((()=>{const r=e.meta;if(r.isTabBar){const e=r.route,o=n.value.findIndex((t=>t.pagePath===e));t.selectedIndex=o}})),(t,n)=>()=>{const{pagePath:r,text:o}=t;let i=fe(r);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?ty({from:"tabBar",url:i,tabBarText:o}):Nu("onTabItemTap",{index:n,text:o,pagePath:r})}}(Ol(),n,e),{style:o,borderStyle:i,placeholderStyle:a}=function(e){const t=Oi((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||tm&&n&&"none"!==n&&(t=By[n]),{backgroundColor:t||"#f7f7fa",backdropFilter:"none"!==n?"blur(10px)":n}})),n=Oi((()=>{const{borderStyle:t}=e;return{backgroundColor:Ny[t]||t}})),r=Oi((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:r}}(n);return Vr((()=>{n.iconfontSrc&&Ey({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:r,selectedColor:o,color:i}=e;return n.value.map(((n,a)=>{const s=r===a;return function(e,t,n,r,o,i,a,s){return si("div",{key:a,class:"uni-tabbar__item",onClick:s(o,a)},[Vy(e,t||"",n,r,o,i)],8,["onClick"])}(s?o: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,r,e);return si("uni-tabbar",{class:"uni-tabbar-"+n.position},[si("div",{class:"uni-tabbar",style:o.value},[si("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),si("div",{class:"uni-placeholder",style:a.value},null,4)],2)}}});const By={dark:"rgb(0, 0, 0, 0.8)",light:"rgb(250, 250, 250, 0.8)",extralight:"rgb(250, 250, 250, 0.8)"},Ny={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Vy(e,t,n,r,o,i){const{height:a}=i;return si("div",{class:"uni-tabbar__bd",style:{height:a}},[n?qy(n,r||"rgb(0, 0, 0, 0.8)",o,i):t&&Fy(t,o,i),o.text&&Wy(e,o,i),o.redDot&&zy(o.badge)],4)}function Fy(e,t,n){const{type:r,text:o}=t,{iconWidth:i}=n;return si("div",{class:"uni-tabbar__icon"+(o?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==r&&si("img",{src:Rc(e)},null,8,["src"])],6)}function qy(e,t,n,r){var o;const{type:i,text:a}=n,{iconWidth:s}=r,l="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),u={width:s,height:s},c={fontSize:(null==(o=n.iconfont)?void 0:o.fontSize)||s,color:t};return si("div",{class:l,style:u},["midButton"!==i&&si("div",{class:"uni-tabbar__iconfont",style:c},[e],4)],6)}function Wy(e,t,n){const{iconPath:r,text:o}=t,{fontSize:i,spacing:a}=n;return si("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:r?"normal":1.8,marginTop:r?a:"inherit"}},[o],4)}function zy(e){return si("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const Hy=yc({name:"Layout",setup(e,{emit:t}){const n=un(null);Tu({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const r=function(){const e=Ol();return{routeKey:Oi((()=>pm("/"+e.meta.route,Yg()))),isTabBar:Oi((()=>e.meta.isTabBar)),routeCache:gm}}(),{layoutState:o,windowState:i}=function(){Ug();{const e=Xt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return ir((()=>e.marginWidth),(e=>Tu({"--window-margin":e+"px"}))),ir((()=>e.leftWindowWidth+e.marginWidth),(e=>{Tu({"--window-left":e+"px"})})),ir((()=>e.rightWindowWidth+e.marginWidth),(e=>{Tu({"--window-right":e+"px"})})),{layoutState:e,windowState:Oi((()=>({})))}}}();!function(e,t){const n=Ug();function r(){const r=document.body.clientWidth,o=lm();let i={};if(o.length>0){i=o[o.length-1].$page.meta}else{const e=Hu(n.path,!0);e&&(i=e.meta)}const a=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=r>a,s&&a?(e.marginWidth=(r-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")})))}ir([()=>n.path],r),Vr((()=>{r(),window.addEventListener("resize",r)}))}(o,n);const a=function(e){const t=Ug(),n=Gg(),r=Oi((()=>t.meta.isTabBar&&n.shown));return Tu({"--tab-bar-height":n.height}),r}(),s=function(e){const t=un(!1);return Oi((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(a);return()=>{const e=function(e,t,n,r,o,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return si(El,null,{default:Xn((({Component:r})=>[(Go(),ei(Er,{matchBy:"key",cache:n},[(Go(),ei(Qr(r),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(r),t=function(e){return Gr(si(jy,null,null,512),[[Ra,e.value]])}(a);return si("uni-app",{ref:n,class:s.value},[e,t],2)}}});const Uy=Cd("saveImageToPhotosAlbum",(Yy="saveImageToPhotosAlbum",(e,{reject:t})=>t(function(e){return`method 'uni.${e}' not supported`}(Yy))));var Yy;function Xy(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ti(e)}function Gy(e){if(e.mode===Ky.TIME)return"00:00";if(e.mode===Ky.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Qy.YEAR:return t.toString();case Qy.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function Jy(e){if(e.mode===Ky.TIME)return"23:59";if(e.mode===Ky.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Qy.YEAR:return t.toString();case Qy.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Zy(e,t,n,r){const o=e.mode===Ky.DATE?"-":":",i=e.mode===Ky.DATE?t.dateArray:t.timeArray;let a;if(e.mode===Ky.TIME)a=2;else switch(e.fields){case Qy.YEAR:a=1;break;case Qy.MONTH:a=2;break;default:a=3}const s=String(n).split(o);let l=[];for(let u=0;u<a;u++){const e=s[u];l.push(i[u].indexOf(e))}return l.indexOf(-1)>=0&&(l=r?Zy(e,t,r):l.map((()=>0))),l}const Ky={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Qy={YEAR:"year",MONTH:"month",DAY:"day"},e_={PICKER:"picker",SELECT:"select"},t_=vc({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:Ky.SELECTOR,validator:e=>Object.values(Ky).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>Gy(e)},end:{type:String,default:e=>Jy(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){ql();const{t:r}=Rl(),o=un(null),i=un(null),a=un(null),s=un(null),l=un(!1),{state:c,rangeArray:d}=function(e){const t=Xt({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=Oi((()=>{let n=e.range;switch(e.mode){case Ky.SELECTOR:return[n];case Ky.MULTISELECTOR:return n;case Ky.TIME:return t.timeArray;case Ky.DATE:{const n=t.dateArray;switch(e.fields){case Qy.YEAR:return[n[0]];case Qy.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),f=bc(o,t),{system:h,selectorTypeComputed:g,_show:m,_l10nColumn:v,_l10nItem:y,_input:_,_fixInputPosition:b,_pickerViewChange:w,_cancel:x,_change:T,_resetFormData:S,_getFormData:k,_createTime:E,_createDate:C,_setValueSync:$}=function(e,t,n,r,o,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}(),u=Oi((()=>{const t=e.selectorType;return Object.values(e_).includes(t)?t:s.value?e_.PICKER:e_.SELECT})),c=Oi((()=>e.mode===Ky.DATE&&!Object.values(Qy).includes(e.fields)&&t.isDesktop?l.value:"")),d=Oi((()=>Zy(e,t,e.start,Gy(e)))),f=Oi((()=>Zy(e,t,e.end,Jy(e))));function h(n){if(e.disabled)return;t.valueChangeSource="";let r=o.value,i=n.currentTarget;r.remove(),(document.querySelector("uni-app")||document.body).appendChild(r),r.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 Ky.SELECTOR:t.valueSync=0;break;case Ky.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case Ky.DATE:case Ky.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,r=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>r&&(r=t)}return{start:n,end:r}}function _(){let e=[];const n=y();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let r=[];for(let t=1;t<=12;t++)r.push((t<10?"0":"")+t);let o=[];for(let t=1;t<=31;t++)o.push((t<10?"0":"")+t);t.dateArray.push(e,r,o)}function b(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 Ky.MULTISELECTOR:{p(n)||(n=t.valueArray),p(t.valueSync)||(t.valueSync=[]);const r=t.valueSync.length=Math.max(n.length,e.range.length);for(let o=0;o<r;o++){const r=Number(n[o]),i=Number(t.valueSync[o]),a=isNaN(r)?isNaN(i)?0:i:r,s=e.range[o]?e.range[o].length-1:0;t.valueSync.splice(o,1,a<0||a>s?0:a)}}break;case Ky.TIME:case Ky.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function S(){let n,r=t.valueSync;switch(e.mode){case Ky.MULTISELECTOR:n=[...r];break;case Ky.TIME:n=Zy(e,t,r,ve({mode:Ky.TIME}));break;case Ky.DATE:n=Zy(e,t,r,ve({mode:Ky.DATE}));break;default:n=[r]}t.oldValueArray=[...n],t.valueArray=[...n]}function k(){let n=t.valueArray;switch(e.mode){case Ky.SELECTOR:return n[0];case Ky.MULTISELECTOR:return n.map((e=>e));case Ky.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case Ky.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function E(){$(),t.valueChangeSource="click";const e=k();t.valueSync=p(e)?e.map((e=>e)):e,n("change",{},{value:e})}function C(e){if("firefox"===c.value&&e){const{top:n,left:r,width:o,height:i}=t.popover,{pageX:a,pageY:s}=e;if(a>r&&a<r+o&&s>n&&s<n+i)return}$(),n("cancel",{},{})}function $(){t.visible=!1,setTimeout((()=>{let e=o.value;e.remove(),r.value.prepend(e),e.style.display="none"}),260)}function O(){e.mode===Ky.SELECTOR&&u.value===e_.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function I(e){const n=e.target;t.valueSync=n.value,Pn((()=>{E()}))}function M(e){if("chrome"===c.value){const t=r.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 A(e){t.valueArray=P(e.detail.value,!0)}function P(t,n){const{getLocale:r}=Rl();if(e.mode===Ky.DATE){const o=r();if(!o.startsWith("zh"))switch(e.fields){case Qy.YEAR:return t;case Qy.MONTH:return[t[1],t[0]];default:switch(o){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 L(t,n){const{getLocale:r}=Rl();if(e.mode===Ky.DATE){const o=r();if(o.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Qy.YEAR&&n===(e.fields===Qy.MONTH||"es"!==o&&"fr"!==o?0:1)){let e;switch(o){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 ir((()=>t.visible),(e=>{e?(clearTimeout(n_),t.contentVisible=e,O()):n_=setTimeout((()=>{t.contentVisible=e}),300)})),ir([()=>e.mode,()=>e.value,()=>e.range],T,{deep:!0}),ir((()=>t.valueSync),S,{deep:!0}),ir((()=>t.valueArray),(r=>{if(e.mode===Ky.TIME||e.mode===Ky.DATE){const n=e.mode===Ky.TIME?b:w,r=t.valueArray,o=d.value,i=f.value;if(e.mode===Ky.DATE){const e=t.dateArray,n=e[2].length,o=Number(e[2][r[2]])||1,i=new Date(`${e[0][r[0]]}/${e[1][r[1]]}/${o}`).getDate();i<o&&(r[2]-=i+n-o)}n(r)<n(o)?x(r,o):n(r)>n(i)&&x(r,i)}r.forEach(((r,o)=>{r!==t.oldValueArray[o]&&(t.oldValueArray[o]=r,e.mode===Ky.MULTISELECTOR&&n("columnchange",{},{column:o,value:r}))}))})),{selectorTypeComputed:u,system:c,_show:h,_cancel:C,_change:E,_l10nColumn:P,_l10nItem:L,_input:I,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:_,_setValueSync:T,_fixInputPosition:M,_pickerViewChange:A}}(e,c,f,o,i,a,s);!function(e,t,n){const{key:r,disable:o}=kv();nr((()=>{o.value=!e.visible})),ir(r,(e=>{"esc"===e?t():"enter"===e&&n()}))}(c,x,T),function(e,t){const n=tr(Sc,!1);if(n){const r={reset:e,submit:()=>{const e=["",null],{key:n,value:r}=t();return""!==n&&(e[0]=n,e[1]=r),e}};n.addField(r),Wr((()=>{n.removeField(r)}))}}(S,k),E(),C(),$();const O=function(e){const t=un(0),n=un(0),r=Oi((()=>t.value>=500&&n.value>=500)),o=Oi((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},o=t.content,i=t.triangle,a=e.popover;function s(e){return Number(e)||0}if(r.value&&a){u(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=s(a.left),t=s(a.width),r=s(a.top),l=s(a.height),c=e+t/2;o.transform="none !important";const d=Math.max(0,c-150);o.left=`${d}px`;let f=Math.max(12,c-d);f=Math.min(288,f),i.left=`${f}px`;const p=n.value/2;r+l-p>p-r?(o.top="auto",o.bottom=n.value-r+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(o.top=`${r+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return Vr((()=>{const e=()=>{const{windowWidth:e,windowHeight:r,windowTop:o}=ov();t.value=e,n.value=r+(o||0)};window.addEventListener("resize",e),e(),zr((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:r,popupStyle:o}}(c);return nr((()=>{c.isDesktop=O.isDesktop.value,c.popupStyle=O.popupStyle.value})),Wr((()=>{i.value&&i.value.remove()})),Vr((()=>{l.value=!0})),()=>{let t;const{visible:u,contentVisible:f,valueArray:p,popupStyle:S,valueSync:k}=c,{rangeKey:E,mode:C,start:$,end:O}=e,I=Tc(e,"disabled");return si("uni-picker",gi({ref:o},I,{onClick:_c(m)}),[l.value?si("div",{ref:i,class:["uni-picker-container",`uni-${C}-${g.value}`],onWheel:yu,onTouchmove:yu},[si(sa,{name:"uni-fade"},{default:()=>[Gr(si("div",{class:"uni-mask uni-picker-mask",onClick:_c(x),onMousemove:b},null,40,["onClick","onMousemove"]),[[Ra,u]])]}),h.value?null:si("div",{class:[{"uni-picker-toggle":u},"uni-picker-custom"],style:S.content},[si("div",{class:"uni-picker-header",onClick:_u},[si("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:_c(x)},[r("uni.picker.cancel")],8,["onClick"]),si("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:T},[r("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?si(Yh,{value:v(p),class:"uni-picker-content",onChange:w},Xy(t=no(v(d.value),((e,t)=>{let n;return si(tg,{key:t},Xy(n=no(e,((e,n)=>si("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[E]||"":y(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,si("div",{ref:a,class:"uni-picker-select",onWheel:_u,onTouchmove:_u},[no(d.value[0],((e,t)=>si("div",{key:t,class:["uni-picker-item",{selected:p[0]===t}],onClick:()=>{p[0]=t,T()}},["object"==typeof e?e[E]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),si("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,si("div",null,[n.default&&n.default()]),h.value?si("div",{class:"uni-picker-system",onMousemove:_c(b)},[si("input",{class:["uni-picker-system_input",h.value],ref:s,value:k,type:C,tabindex:"-1",min:$,max:O,onChange:e=>{_(e),_u(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let n_;const r_=u(Jl,{publishHandler(e,t,n){o_.subscribeHandler(e,t,n)}}),o_=u(oc,{publishHandler(e,t,n){r_.subscribeHandler(e,t,n)}}),i_={name:"PageRefresh",setup(){const{pullToRefresh:e}=zg();return{offset:e.offset,color:e.color}}},a_=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},s_={class:"uni-page-refresh-inner"},l_=["fill"],u_=[ai("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),ai("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],c_={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},d_=["stroke"];const f_=a_(i_,[["render",function(e,t,n,r,o,i){return Go(),Qo("uni-page-refresh",null,[ai("div",{style:le({"margin-top":r.offset+"px"}),class:"uni-page-refresh"},[ai("div",s_,[(Go(),Qo("svg",{fill:r.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},u_,8,l_)),(Go(),Qo("svg",c_,[ai("circle",{stroke:r.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,d_)]))])],4)])}]]);function p_(e,t,n){const r=Array.prototype.slice.call(e.changedTouches).filter((e=>e.identifier===t))[0];return!!r&&(e.deltaY=r.pageY-n,!0)}const h_="aborting",g_="refreshing",m_="restoring";function v_(e){const{id:t,pullToRefresh:n}=zg(),{range:r,height:o}=n;let i,a,s,l,u,c,d,f;Ag((()=>{f||(f=g_,m(),setTimeout((()=>{w()}),50))}),"startPullDownRefresh",!1,t),Ag((()=>{f===g_&&(v(),f=m_,m(),function(e){if(!a)return;s.transition="-webkit-transform 0.3s",s.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),s.transition="",s.transform="translate3d(-50%, 0, 0)",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}((()=>{v(),f=p=h=null})))}),"stopPullDownRefresh",!1,t),Vr((()=>{i=e.value.$el,a=i.querySelector(".uni-page-refresh"),s=a.style,l=a.querySelector(".uni-page-refresh-inner").style}));let p=null,h=null;function g(e){f&&i&&i.classList[e]("uni-page-refresh--"+f)}function m(){g("add")}function v(){g("remove")}const y=_c((e=>{const t=e.changedTouches[0];u=t.identifier,c=t.pageY,d=!([h_,g_,m_].indexOf(f)>=0)})),_=_c((e=>{if(!d)return;if(!p_(e,u,c))return;let{deltaY:t}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(t<0&&!f)return;e.preventDefault(),null===p&&(h=t,f="pulling",m()),t-=h,t<0&&(t=0),p=t;(t>=r&&"reached"!==f||t<r&&"pulling"!==f)&&(v(),f="reached"===f?"pulling":"reached",m()),function(e){if(!a)return;let t=e/r;t>1?t=1:t*=t*t;const n=Math.round(e/(r/o))||0;l.transform="rotate("+360*t+"deg)",s.clip="rect("+(45-n)+"px,45px,45px,-5px)",s.transform="translate3d(-50%, "+n+"px, 0)"}(t)})),b=_c((e=>{p_(e,u,c)&&null!==f&&("pulling"===f?(v(),f=h_,m(),function(e){if(!a)return;if(s.transform){s.transition="-webkit-transform 0.3s",s.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),s.transition="",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}((()=>{v(),f=p=h=null}))):"reached"===f&&(v(),f=g_,m(),w()))}));function w(){a&&(s.transition="-webkit-transform 0.2s",s.transform="translate3d(-50%, "+o+"px, 0)",Nu(t,"onPullDownRefresh"))}return{onTouchstartPassive:y,onTouchmove:_,onTouchend:b,onTouchcancel:b}}const y_=yc({name:"PageBody",setup(e,t){const n=zg(),r=un(null),o=n.enablePullDownRefresh?v_(r):null;return()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return si(f_,{ref:e},null,512)}(r,n);return si(Wo,null,[e,si("uni-page-wrapper",o,[si("uni-page-body",null,[oo(t.slots,"default")])],16)])}}});const __=yc({name:"Page",setup(e,t){const n=Hg(Yg());return n.navigationBar,Cy(n),()=>si("uni-page",{"data-page":n.route},[b_(t)])}});function b_(e){return Go(),ei(y_,{key:0},{default:Xn((()=>[oo(e.slots,"page")])),_:3})}const w_={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:2e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Dd;const x_=Object.assign({}),T_=Object.assign;window.__uniConfig=T_({easycom:{autoscan:!0,custom:{"^s-(.*)":"@/sheep/components/s-$1/s-$1.vue","^su-(.*)":"@/sheep/ui/su-$1/su-$1.vue"}},globalStyle:{backgroundColor:"#FFFFFF",navigationBar:{backgroundColor:"#FFFFFF",titleText:"中星",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},tabBar:{position:"bottom",color:"#999",selectedColor:"#007aff",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index"},{pagePath:"pages/index/cart"},{pagePath:"pages/index/user"}],selectedIndex:0,shown:!0},compilerVersion:"4.08"},{appId:"__UNI__7806143",appName:"中星公众",appVersion:"1.8.3",appVersionCode:183,async:w_,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{}},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(x_).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return T_(e[n]||(e[n]={}),x_[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const S_={delay:w_.delay,timeout:w_.timeout,suspensible:w_.suspensible};w_.loading&&(S_.loadingComponent={name:"SystemAsyncLoading",render:()=>si(Zr(w_.loading))}),w_.error&&(S_.errorComponent={name:"SystemAsyncError",render:()=>si(Zr(w_.error))});const k_=()=>t((()=>import("./pages-index-index.77a0a785.js")),["./pages-index-index.77a0a785.js","./s-block.254dac70.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./uni-list.8fdcfafb.js","./uni-badge.efdb7c08.js","./uni-badge-3072756a.css","./uni-list-406dc579.css","./su-image.154b3866.js","./su-image-de000e97.css","./su-swiper.7be7a86c.js","./su-swiper-8d17107c.css","./s-goods-column.67d647d7.js","./useGoods.84c8b87a.js","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-goods-column-51c434a0.css","./s-goods-item-1a818f08.css","./s-empty-bf06ef38.css","./goods-collect-c0ad4ce7.css","./spu.2c746974.js","./combination.dd3be259.js","./const.5cde7387.js","./mp-html.b7ea2ef9.js","./mp-html-f0bee281.css","./richtext.cdcedc5e.js","./richtext-35c44e21.css","./s-block-b213e30a.css"],import.meta.url).then((e=>Dm(e.default||e))),E_=wr(T_({loader:k_},S_)),C_=()=>t((()=>import("./pages-index-user.1aebe76c.js")),["./pages-index-user.1aebe76c.js","./s-block.254dac70.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./uni-list.8fdcfafb.js","./uni-badge.efdb7c08.js","./uni-badge-3072756a.css","./uni-list-406dc579.css","./su-image.154b3866.js","./su-image-de000e97.css","./su-swiper.7be7a86c.js","./su-swiper-8d17107c.css","./s-goods-column.67d647d7.js","./useGoods.84c8b87a.js","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-goods-column-51c434a0.css","./s-goods-item-1a818f08.css","./s-empty-bf06ef38.css","./goods-collect-c0ad4ce7.css","./spu.2c746974.js","./combination.dd3be259.js","./const.5cde7387.js","./mp-html.b7ea2ef9.js","./mp-html-f0bee281.css","./richtext.cdcedc5e.js","./richtext-35c44e21.css","./s-block-b213e30a.css"],import.meta.url).then((e=>Dm(e.default||e))),$_=wr(T_({loader:C_},S_)),O_=()=>t((()=>import("./pages-index-category.e62dde44.js")),["./pages-index-category.e62dde44.js","./uni-load-more.fa4f7aed.js","./_plugin-vue_export-helper.1b428a4d.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./s-goods-column.67d647d7.js","./useGoods.84c8b87a.js","./s-goods-column-51c434a0.css","./s-goods-item-1a818f08.css","./s-empty-bf06ef38.css","./goods-collect-c0ad4ce7.css","./category.5d0146d0.js","./spu.2c746974.js","./category-4030383f.css"],import.meta.url).then((e=>Dm(e.default||e))),I_=wr(T_({loader:O_},S_)),M_=()=>t((()=>import("./pages-index-cart.15736544.js")),["./pages-index-cart.15736544.js","./s-empty.3e7aa9f4.js","./_plugin-vue_export-helper.1b428a4d.js","./s-empty-bf06ef38.css","./su-number-box.46aafcee.js","./su-number-box-81e0eda5.css","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./s-goods-item-1a818f08.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./cart-2c685ad2.css"],import.meta.url).then((e=>Dm(e.default||e))),A_=wr(T_({loader:M_},S_)),P_=()=>t((()=>import("./pages-index-login.fbcdea27.js")),["./pages-index-login.fbcdea27.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./login-05e9d80e.css"],import.meta.url).then((e=>Dm(e.default||e))),L_=wr(T_({loader:P_},S_)),R_=()=>t((()=>import("./pages-index-search.8b4f70c5.js")),["./pages-index-search.8b4f70c5.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./search-75365888.css"],import.meta.url).then((e=>Dm(e.default||e))),D_=wr(T_({loader:R_},S_)),j_=()=>t((()=>import("./pages-index-page.495b4e91.js")),["./pages-index-page.495b4e91.js","./s-block.254dac70.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./uni-list.8fdcfafb.js","./uni-badge.efdb7c08.js","./uni-badge-3072756a.css","./uni-list-406dc579.css","./su-image.154b3866.js","./su-image-de000e97.css","./su-swiper.7be7a86c.js","./su-swiper-8d17107c.css","./s-goods-column.67d647d7.js","./useGoods.84c8b87a.js","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-goods-column-51c434a0.css","./s-goods-item-1a818f08.css","./s-empty-bf06ef38.css","./goods-collect-c0ad4ce7.css","./spu.2c746974.js","./combination.dd3be259.js","./const.5cde7387.js","./mp-html.b7ea2ef9.js","./mp-html-f0bee281.css","./richtext.cdcedc5e.js","./richtext-35c44e21.css","./s-block-b213e30a.css"],import.meta.url).then((e=>Dm(e.default||e))),B_=wr(T_({loader:j_},S_)),N_=()=>t((()=>import("./pages-goods-index.0387e518.js")),["./pages-goods-index.0387e518.js","./s-empty.3e7aa9f4.js","./_plugin-vue_export-helper.1b428a4d.js","./s-empty-bf06ef38.css","./su-swiper.7be7a86c.js","./su-swiper-8d17107c.css","./su-number-box.46aafcee.js","./su-number-box-81e0eda5.css","./form.60b80a1f.js","./form-8c5c4de7.css","./useGoods.84c8b87a.js","./s-coupon-list.e98ba43d.js","./s-coupon-list-49307e79.css","./rewardActivity.6a3dda39.js","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./favorite.538a8154.js","./detail-content-card.1ed3827f.js","./comment-item.cac8c0f6.js","./uni-rate.7f938685.js","./uni-rate-340be432.css","./su-image.154b3866.js","./su-image-de000e97.css","./comment-item-e783cbea.css","./mp-html.b7ea2ef9.js","./mp-html-f0bee281.css","./detail-content-card-3fad18ad.css","./spu.2c746974.js","./index-ff5eaeb6.css"],import.meta.url).then((e=>Dm(e.default||e))),V_=wr(T_({loader:N_},S_)),F_=()=>t((()=>import("./pages-goods-groupon.014f5482.js")),["./pages-goods-groupon.014f5482.js","./s-empty.3e7aa9f4.js","./_plugin-vue_export-helper.1b428a4d.js","./s-empty-bf06ef38.css","./su-swiper.7be7a86c.js","./su-swiper-8d17107c.css","./s-select-groupon-sku.71fbb6c5.js","./su-number-box.46aafcee.js","./su-number-box-81e0eda5.css","./form.60b80a1f.js","./form-8c5c4de7.css","./useGoods.84c8b87a.js","./s-select-groupon-sku-2640521f.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./detail-content-card.1ed3827f.js","./favorite.538a8154.js","./comment-item.cac8c0f6.js","./uni-rate.7f938685.js","./uni-rate-340be432.css","./su-image.154b3866.js","./su-image-de000e97.css","./comment-item-e783cbea.css","./mp-html.b7ea2ef9.js","./mp-html-f0bee281.css","./detail-content-card-3fad18ad.css","./combination.dd3be259.js","./spu.2c746974.js","./groupon-409f4b2c.css"],import.meta.url).then((e=>Dm(e.default||e))),q_=wr(T_({loader:F_},S_)),W_=()=>t((()=>import("./pages-goods-seckill.3657feb3.js")),["./pages-goods-seckill.3657feb3.js","./s-empty.3e7aa9f4.js","./_plugin-vue_export-helper.1b428a4d.js","./s-empty-bf06ef38.css","./su-swiper.7be7a86c.js","./su-swiper-8d17107c.css","./su-number-box.46aafcee.js","./su-number-box-81e0eda5.css","./form.60b80a1f.js","./form-8c5c4de7.css","./useGoods.84c8b87a.js","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./detail-content-card.1ed3827f.js","./favorite.538a8154.js","./comment-item.cac8c0f6.js","./uni-rate.7f938685.js","./uni-rate-340be432.css","./su-image.154b3866.js","./su-image-de000e97.css","./comment-item-e783cbea.css","./mp-html.b7ea2ef9.js","./mp-html-f0bee281.css","./detail-content-card-3fad18ad.css","./const.5cde7387.js","./spu.2c746974.js","./seckill-8ac82c9d.css"],import.meta.url).then((e=>Dm(e.default||e))),z_=wr(T_({loader:W_},S_)),H_=()=>t((()=>import("./pages-goods-list.8a614bc7.js")),["./pages-goods-list.8a614bc7.js","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./_plugin-vue_export-helper.1b428a4d.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./su-sticky.dc07921b.js","./su-sticky-e3b0c442.css","./form.60b80a1f.js","./form-8c5c4de7.css","./s-goods-column.67d647d7.js","./useGoods.84c8b87a.js","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-goods-column-51c434a0.css","./s-goods-item-1a818f08.css","./s-empty-bf06ef38.css","./goods-collect-c0ad4ce7.css","./s-empty.3e7aa9f4.js","./spu.2c746974.js","./list-b6853041.css"],import.meta.url).then((e=>Dm(e.default||e))),U_=wr(T_({loader:H_},S_)),Y_=()=>t((()=>import("./pages-goods-comment-add.79a2d6ca.js")),["./pages-goods-comment-add.79a2d6ca.js","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./_plugin-vue_export-helper.1b428a4d.js","./s-goods-item-1a818f08.css","./uni-rate.7f938685.js","./form.60b80a1f.js","./form-8c5c4de7.css","./uni-rate-340be432.css","./s-uploader.ac878471.js","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./s-uploader-5ec85449.css","./add-dd001c59.css"],import.meta.url).then((e=>Dm(e.default||e))),X_=wr(T_({loader:Y_},S_)),G_=()=>t((()=>import("./pages-goods-comment-list.f44aea3c.js")),["./pages-goods-comment-list.f44aea3c.js","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./_plugin-vue_export-helper.1b428a4d.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./comment-item.cac8c0f6.js","./uni-rate.7f938685.js","./uni-rate-340be432.css","./su-image.154b3866.js","./su-image-de000e97.css","./comment-item-e783cbea.css","./list-9de5e69d.css"],import.meta.url).then((e=>Dm(e.default||e))),J_=wr(T_({loader:G_},S_)),Z_=()=>t((()=>import("./pages-order-detail.6e10b112.js")),["./pages-order-detail.6e10b112.js","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./_plugin-vue_export-helper.1b428a4d.js","./s-goods-item-1a818f08.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./detail-c7c50201.css"],import.meta.url).then((e=>Dm(e.default||e))),K_=wr(T_({loader:Z_},S_)),Q_=()=>t((()=>import("./pages-order-confirm.6ba97b03.js")),["./pages-order-confirm.6ba97b03.js","./s-address-item.a8444729.js","./_plugin-vue_export-helper.1b428a4d.js","./s-address-item-0e711eb7.css","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./s-goods-item-1a818f08.css","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./confirm-6124fff0.css"],import.meta.url).then((e=>Dm(e.default||e))),eb=wr(T_({loader:Q_},S_)),tb=()=>t((()=>import("./pages-order-list.98edccd2.js")),["./pages-order-list.98edccd2.js","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./_plugin-vue_export-helper.1b428a4d.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./su-sticky.dc07921b.js","./su-sticky-e3b0c442.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./s-goods-item-1a818f08.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./list-f491826a.css"],import.meta.url).then((e=>Dm(e.default||e))),nb=wr(T_({loader:tb},S_)),rb=()=>t((()=>import("./pages-order-aftersale-apply.bc68f07e.js")),["./pages-order-aftersale-apply.bc68f07e.js","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./_plugin-vue_export-helper.1b428a4d.js","./s-goods-item-1a818f08.css","./form.60b80a1f.js","./form-8c5c4de7.css","./s-uploader.ac878471.js","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./s-uploader-5ec85449.css","./config.e552bd25.js","./afterSale.fe468d6d.js","./apply-869cbfed.css"],import.meta.url).then((e=>Dm(e.default||e))),ob=wr(T_({loader:rb},S_)),ib=()=>t((()=>import("./pages-order-aftersale-return-delivery.7eed9c9b.js")),["./pages-order-aftersale-return-delivery.7eed9c9b.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./afterSale.fe468d6d.js","./return-delivery-d5641a48.css"],import.meta.url).then((e=>Dm(e.default||e))),ab=wr(T_({loader:ib},S_)),sb=()=>t((()=>import("./pages-order-aftersale-list.ae902554.js")),["./pages-order-aftersale-list.ae902554.js","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./_plugin-vue_export-helper.1b428a4d.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./su-sticky.dc07921b.js","./su-sticky-e3b0c442.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./s-goods-item-1a818f08.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./afterSale.fe468d6d.js","./list-7e5e5c64.css"],import.meta.url).then((e=>Dm(e.default||e))),lb=wr(T_({loader:sb},S_)),ub=()=>t((()=>import("./pages-order-aftersale-detail.30201247.js")),["./pages-order-aftersale-detail.30201247.js","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./_plugin-vue_export-helper.1b428a4d.js","./s-goods-item-1a818f08.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./afterSale.fe468d6d.js","./detail-21c3ce60.css"],import.meta.url).then((e=>Dm(e.default||e))),cb=wr(T_({loader:ub},S_)),db=()=>t((()=>import("./pages-order-aftersale-log.ffd4568d.js")),["./pages-order-aftersale-log.ffd4568d.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./afterSale.fe468d6d.js","./log-417043bd.css"],import.meta.url).then((e=>Dm(e.default||e))),fb=wr(T_({loader:db},S_)),pb=()=>t((()=>import("./pages-order-express-log.2388ee53.js")),["./pages-order-express-log.2388ee53.js","./_plugin-vue_export-helper.1b428a4d.js","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./log-de52007f.css"],import.meta.url).then((e=>Dm(e.default||e))),hb=wr(T_({loader:pb},S_)),gb=()=>t((()=>import("./pages-order-otherlist.a40ef31e.js")),["./pages-order-otherlist.a40ef31e.js","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./_plugin-vue_export-helper.1b428a4d.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./su-sticky.dc07921b.js","./su-sticky-e3b0c442.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./s-goods-item-1a818f08.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./otherlist-da039627.css"],import.meta.url).then((e=>Dm(e.default||e))),mb=wr(T_({loader:gb},S_)),vb=()=>t((()=>import("./pages-user-info.466cff4d.js")),["./pages-user-info.466cff4d.js","./su-image.154b3866.js","./_plugin-vue_export-helper.1b428a4d.js","./su-image-de000e97.css","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./info-24fc7f10.css"],import.meta.url).then((e=>Dm(e.default||e))),yb=wr(T_({loader:vb},S_)),_b=()=>t((()=>import("./pages-user-setting.1f61986f.js")),["./pages-user-setting.1f61986f.js","./_plugin-vue_export-helper.1b428a4d.js","./uni-list.8fdcfafb.js","./form.60b80a1f.js","./form-8c5c4de7.css","./uni-badge.efdb7c08.js","./uni-badge-3072756a.css","./uni-list-406dc579.css","./su-image.154b3866.js","./su-image-de000e97.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./setting-4f113bab.css"],import.meta.url).then((e=>Dm(e.default||e))),bb=wr(T_({loader:_b},S_)),wb=()=>t((()=>import("./pages-user-qrcode-share.c02435bf.js")),["./pages-user-qrcode-share.c02435bf.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./qrcode-share-73eadccd.css"],import.meta.url).then((e=>Dm(e.default||e))),xb=wr(T_({loader:wb},S_)),Tb=()=>t((()=>import("./pages-user-goods-collect.b81301d5.js")),["./pages-user-goods-collect.b81301d5.js","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./_plugin-vue_export-helper.1b428a4d.js","./s-goods-item-1a818f08.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./favorite.538a8154.js","./goods-collect-c0ad4ce7.css"],import.meta.url).then((e=>Dm(e.default||e))),Sb=wr(T_({loader:Tb},S_)),kb=()=>t((()=>import("./pages-user-goods-log.fa690119.js")),["./pages-user-goods-log.fa690119.js","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./_plugin-vue_export-helper.1b428a4d.js","./s-goods-item-1a818f08.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./history.d66b9d91.js","./goods-log-2899eff8.css"],import.meta.url).then((e=>Dm(e.default||e))),Eb=wr(T_({loader:kb},S_)),Cb=()=>t((()=>import("./pages-user-address-list.969632b4.js")),["./pages-user-address-list.969632b4.js","./s-address-item.a8444729.js","./_plugin-vue_export-helper.1b428a4d.js","./s-address-item-0e711eb7.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./area.0e6196a5.js","./address.e656e60d.js","./list-c5129fff.css"],import.meta.url).then((e=>Dm(e.default||e))),$b=wr(T_({loader:Cb},S_)),Ob=()=>t((()=>import("./pages-user-invoice-edit.33f304bf.js")),["./pages-user-invoice-edit.33f304bf.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./address.e656e60d.js","./edit-4ff5a0b1.css"],import.meta.url).then((e=>Dm(e.default||e))),Ib=wr(T_({loader:Ob},S_)),Mb=()=>t((()=>import("./pages-user-invoice-list.6529c89b.js")),["./pages-user-invoice-list.6529c89b.js","./s-address-item.a8444729.js","./_plugin-vue_export-helper.1b428a4d.js","./s-address-item-0e711eb7.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./area.0e6196a5.js","./address.e656e60d.js","./list-541674a6.css"],import.meta.url).then((e=>Dm(e.default||e))),Ab=wr(T_({loader:Mb},S_)),Pb=()=>t((()=>import("./pages-user-address-edit.699b8489.js")),["./pages-user-address-edit.699b8489.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./area.0e6196a5.js","./address.e656e60d.js","./edit-7a60bb3a.css"],import.meta.url).then((e=>Dm(e.default||e))),Lb=wr(T_({loader:Pb},S_)),Rb=()=>t((()=>import("./pages-user-wallet-money.c7819982.js")),["./pages-user-wallet-money.c7819982.js","./uni-datetime-picker.21e3443c.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./uni-datetime-picker-f7d388d4.css","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./su-sticky.dc07921b.js","./su-sticky-e3b0c442.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./useGoods.84c8b87a.js","./money-9e728cdc.css"],import.meta.url).then((e=>Dm(e.default||e))),Db=wr(T_({loader:Rb},S_)),jb=()=>t((()=>import("./pages-user-wallet-score.d89ff3ec.js")),["./pages-user-wallet-score.d89ff3ec.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./useGoods.84c8b87a.js","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./score-28d5c3ba.css"],import.meta.url).then((e=>Dm(e.default||e))),Bb=wr(T_({loader:jb},S_)),Nb=()=>t((()=>import("./pages-user-wallet-scoreToMoney.70cfe014.js")),["./pages-user-wallet-scoreToMoney.70cfe014.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./scoreToMoney-fef8dd9b.css"],import.meta.url).then((e=>Dm(e.default||e))),Vb=wr(T_({loader:Nb},S_)),Fb=()=>t((()=>import("./pages-user-wallet-team.ab692ed3.js")),["./pages-user-wallet-team.ab692ed3.js","./s-empty.3e7aa9f4.js","./_plugin-vue_export-helper.1b428a4d.js","./s-empty-bf06ef38.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./team-bd3d1207.css"],import.meta.url).then((e=>Dm(e.default||e))),qb=wr(T_({loader:Fb},S_)),Wb=()=>t((()=>import("./pages-commission-index.2928a617.js")),["./pages-commission-index.2928a617.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./brokerage.67fa1bf4.js","./useGoods.84c8b87a.js","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./index-5bce301f.css"],import.meta.url).then((e=>Dm(e.default||e))),zb=wr(T_({loader:Wb},S_)),Hb=()=>t((()=>import("./pages-commission-wallet.2c4599ec.js")),["./pages-commission-wallet.2c4599ec.js","./uni-datetime-picker.21e3443c.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./uni-datetime-picker-f7d388d4.css","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./su-sticky.dc07921b.js","./su-sticky-e3b0c442.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./brokerage.67fa1bf4.js","./useGoods.84c8b87a.js","./wallet-c6d48b8b.css"],import.meta.url).then((e=>Dm(e.default||e))),Ub=wr(T_({loader:Hb},S_)),Yb=()=>t((()=>import("./pages-commission-goods.33bc3be9.js")),["./pages-commission-goods.33bc3be9.js","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./_plugin-vue_export-helper.1b428a4d.js","./s-goods-item-1a818f08.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./spu.2c746974.js","./brokerage.67fa1bf4.js","./goods-b5345d4a.css"],import.meta.url).then((e=>Dm(e.default||e))),Xb=wr(T_({loader:Yb},S_)),Gb=()=>t((()=>import("./pages-commission-order.065efc94.js")),["./pages-commission-order.065efc94.js","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./_plugin-vue_export-helper.1b428a4d.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./su-sticky.dc07921b.js","./su-sticky-e3b0c442.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./useGoods.84c8b87a.js","./brokerage.67fa1bf4.js","./order-834b9956.css"],import.meta.url).then((e=>Dm(e.default||e))),Jb=wr(T_({loader:Gb},S_)),Zb=()=>t((()=>import("./pages-commission-team.73db4fdd.js")),["./pages-commission-team.73db4fdd.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./brokerage.67fa1bf4.js","./team-2398664e.css"],import.meta.url).then((e=>Dm(e.default||e))),Kb=wr(T_({loader:Zb},S_)),Qb=()=>t((()=>import("./pages-commission-promoter.53c4d7da.js")),["./pages-commission-promoter.53c4d7da.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./brokerage.67fa1bf4.js","./promoter-aba7e35e.css"],import.meta.url).then((e=>Dm(e.default||e))),ew=wr(T_({loader:Qb},S_)),tw=()=>t((()=>import("./pages-commission-commission-ranking.2bad16f9.js")),["./pages-commission-commission-ranking.2bad16f9.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./brokerage.67fa1bf4.js","./useGoods.84c8b87a.js","./commission-ranking-1b234fa8.css"],import.meta.url).then((e=>Dm(e.default||e))),nw=wr(T_({loader:tw},S_)),rw=()=>t((()=>import("./pages-commission-withdraw.ae614032.js")),["./pages-commission-withdraw.ae614032.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./s-uploader.ac878471.js","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./s-uploader-5ec85449.css","./useGoods.84c8b87a.js","./config.e552bd25.js","./brokerage.67fa1bf4.js","./withdraw-aa625582.css"],import.meta.url).then((e=>Dm(e.default||e))),ow=wr(T_({loader:rw},S_)),iw=()=>t((()=>import("./pages-app-sign.7abc5060.js")),["./pages-app-sign.7abc5060.js","./s-empty.3e7aa9f4.js","./_plugin-vue_export-helper.1b428a4d.js","./s-empty-bf06ef38.css","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./sign-def9bcbe.css"],import.meta.url).then((e=>Dm(e.default||e))),aw=wr(T_({loader:iw},S_)),sw=()=>t((()=>import("./pages-shop-index.637c8281.js")),["./pages-shop-index.637c8281.js","./s-block.254dac70.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./uni-list.8fdcfafb.js","./uni-badge.efdb7c08.js","./uni-badge-3072756a.css","./uni-list-406dc579.css","./su-image.154b3866.js","./su-image-de000e97.css","./su-swiper.7be7a86c.js","./su-swiper-8d17107c.css","./s-goods-column.67d647d7.js","./useGoods.84c8b87a.js","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-goods-column-51c434a0.css","./s-goods-item-1a818f08.css","./s-empty-bf06ef38.css","./goods-collect-c0ad4ce7.css","./spu.2c746974.js","./combination.dd3be259.js","./const.5cde7387.js","./mp-html.b7ea2ef9.js","./mp-html-f0bee281.css","./richtext.cdcedc5e.js","./richtext-35c44e21.css","./s-block-b213e30a.css"],import.meta.url).then((e=>Dm(e.default||e))),lw=wr(T_({loader:sw},S_)),uw=()=>t((()=>import("./pages-public-setting.5e131604.js")),["./pages-public-setting.5e131604.js","./uni-list.8fdcfafb.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./uni-badge.efdb7c08.js","./uni-badge-3072756a.css","./uni-list-406dc579.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./setting-6e5b2849.css"],import.meta.url).then((e=>Dm(e.default||e))),cw=wr(T_({loader:uw},S_)),dw=()=>t((()=>import("./richtext.cdcedc5e.js").then((e=>e.a))),["./richtext.cdcedc5e.js","./mp-html.b7ea2ef9.js","./_plugin-vue_export-helper.1b428a4d.js","./mp-html-f0bee281.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./richtext-35c44e21.css"],import.meta.url).then((e=>Dm(e.default||e))),fw=wr(T_({loader:dw},S_)),pw=()=>t((()=>import("./pages-public-faq.c14c166f.js")),["./pages-public-faq.c14c166f.js","./uni-collapse.52e7c37a.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./uni-collapse-f8c70895.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./faq-9d75eac7.css"],import.meta.url).then((e=>Dm(e.default||e))),hw=wr(T_({loader:pw},S_)),gw=()=>t((()=>import("./pages-public-error.26f53662.js")),["./pages-public-error.26f53662.js","./s-empty.3e7aa9f4.js","./_plugin-vue_export-helper.1b428a4d.js","./s-empty-bf06ef38.css","./error-4b8394c2.css"],import.meta.url).then((e=>Dm(e.default||e))),mw=wr(T_({loader:gw},S_)),vw=()=>t((()=>import("./pages-public-webview.5cf5037b.js")),[],import.meta.url).then((e=>Dm(e.default||e))),yw=wr(T_({loader:vw},S_)),_w=()=>t((()=>import("./pages-coupon-list.cd4296fa.js")),["./pages-coupon-list.cd4296fa.js","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./_plugin-vue_export-helper.1b428a4d.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./su-sticky.dc07921b.js","./su-sticky-e3b0c442.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./s-coupon-list.e98ba43d.js","./useGoods.84c8b87a.js","./s-coupon-list-49307e79.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./list-48edf1bb.css"],import.meta.url).then((e=>Dm(e.default||e))),bw=wr(T_({loader:_w},S_)),ww=()=>t((()=>import("./pages-coupon-detail.7d6e721b.js")),["./pages-coupon-detail.7d6e721b.js","./uni-collapse.52e7c37a.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./uni-collapse-f8c70895.css","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./su-sticky.dc07921b.js","./su-sticky-e3b0c442.css","./s-goods-column.67d647d7.js","./useGoods.84c8b87a.js","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-goods-column-51c434a0.css","./s-goods-item-1a818f08.css","./s-empty-bf06ef38.css","./goods-collect-c0ad4ce7.css","./s-empty.3e7aa9f4.js","./spu.2c746974.js","./category.5d0146d0.js","./detail-e6912af7.css"],import.meta.url).then((e=>Dm(e.default||e))),xw=wr(T_({loader:ww},S_)),Tw=()=>t((()=>import("./pages-chat-index.edd80aa5.js")),["./pages-chat-index.edd80aa5.js","./su-image.154b3866.js","./_plugin-vue_export-helper.1b428a4d.js","./su-image-de000e97.css","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./s-uploader.ac878471.js","./s-uploader-5ec85449.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./history.d66b9d91.js","./index-6a6f977c.css"],import.meta.url).then((e=>Dm(e.default||e))),Sw=wr(T_({loader:Tw},S_)),kw=()=>t((()=>import("./pages-chat-speechtotext.9cf8db11.js")),["./pages-chat-speechtotext.9cf8db11.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./speechtotext-033134b1.css"],import.meta.url).then((e=>Dm(e.default||e))),Ew=wr(T_({loader:kw},S_)),Cw=()=>t((()=>import("./pages-pay-index.eae400e2.js")),["./pages-pay-index.eae400e2.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./useGoods.84c8b87a.js","./index-848be432.css"],import.meta.url).then((e=>Dm(e.default||e))),$w=wr(T_({loader:Cw},S_)),Ow=()=>t((()=>import("./pages-pay-result.a9a25f55.js")),["./pages-pay-result.a9a25f55.js","./s-layout.abf351b1.js","./_plugin-vue_export-helper.1b428a4d.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./useGoods.84c8b87a.js","./result-a3b2026c.css"],import.meta.url).then((e=>Dm(e.default||e))),Iw=wr(T_({loader:Ow},S_)),Mw=()=>t((()=>import("./pages-pay-recharge.8e483aa5.js")),["./pages-pay-recharge.8e483aa5.js","./form.60b80a1f.js","./_plugin-vue_export-helper.1b428a4d.js","./form-8c5c4de7.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./useGoods.84c8b87a.js","./recharge-d4369430.css"],import.meta.url).then((e=>Dm(e.default||e))),Aw=wr(T_({loader:Mw},S_)),Pw=()=>t((()=>import("./pages-pay-recharge-log.1d4dc194.js")),["./pages-pay-recharge-log.1d4dc194.js","./s-empty.3e7aa9f4.js","./_plugin-vue_export-helper.1b428a4d.js","./s-empty-bf06ef38.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./useGoods.84c8b87a.js","./recharge-log-b28daee7.css"],import.meta.url).then((e=>Dm(e.default||e))),Lw=wr(T_({loader:Pw},S_)),Rw=()=>t((()=>import("./pages-activity-groupon-detail.b0dd9d14.js")),["./pages-activity-groupon-detail.b0dd9d14.js","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./_plugin-vue_export-helper.1b428a4d.js","./s-goods-item-1a818f08.css","./s-select-groupon-sku.71fbb6c5.js","./su-number-box.46aafcee.js","./su-number-box-81e0eda5.css","./form.60b80a1f.js","./form-8c5c4de7.css","./s-select-groupon-sku-2640521f.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./s-layout.abf351b1.js","./s-layout-2c48bd3d.css","./combination.dd3be259.js","./detail-0df445c9.css"],import.meta.url).then((e=>Dm(e.default||e))),Dw=wr(T_({loader:Rw},S_)),jw=()=>t((()=>import("./pages-activity-groupon-order.870141d4.js")),["./pages-activity-groupon-order.870141d4.js","./su-tabs.a3b63a8f.js","./uni-badge.efdb7c08.js","./_plugin-vue_export-helper.1b428a4d.js","./uni-badge-3072756a.css","./su-tabs-09fdbf65.css","./su-sticky.dc07921b.js","./su-sticky-e3b0c442.css","./s-empty.3e7aa9f4.js","./s-empty-bf06ef38.css","./s-goods-item.a96bda06.js","./useGoods.84c8b87a.js","./s-goods-item-1a818f08.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./combination.dd3be259.js","./order-e6e52501.css"],import.meta.url).then((e=>Dm(e.default||e))),Bw=wr(T_({loader:jw},S_)),Nw=()=>t((()=>import("./pages-activity-index.7456fc3d.js")),["./pages-activity-index.7456fc3d.js","./su-sticky.dc07921b.js","./_plugin-vue_export-helper.1b428a4d.js","./su-sticky-e3b0c442.css","./s-goods-column.67d647d7.js","./useGoods.84c8b87a.js","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-goods-column-51c434a0.css","./s-goods-item-1a818f08.css","./s-empty-bf06ef38.css","./goods-collect-c0ad4ce7.css","./rewardActivity.6a3dda39.js","./spu.2c746974.js","./index-d3f4e1b6.css"],import.meta.url).then((e=>Dm(e.default||e))),Vw=wr(T_({loader:Nw},S_)),Fw=()=>t((()=>import("./pages-activity-groupon-list.3a92c9cd.js")),["./pages-activity-groupon-list.3a92c9cd.js","./s-goods-column.67d647d7.js","./useGoods.84c8b87a.js","./_plugin-vue_export-helper.1b428a4d.js","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-goods-column-51c434a0.css","./s-goods-item-1a818f08.css","./s-empty-bf06ef38.css","./goods-collect-c0ad4ce7.css","./combination.dd3be259.js","./list-ae96ac90.css"],import.meta.url).then((e=>Dm(e.default||e))),qw=wr(T_({loader:Fw},S_)),Ww=()=>t((()=>import("./pages-activity-seckill-list.35f373e8.js")),["./pages-activity-seckill-list.35f373e8.js","./_plugin-vue_export-helper.1b428a4d.js","./s-goods-column.67d647d7.js","./useGoods.84c8b87a.js","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./uni-load-more.fa4f7aed.js","./uni-load-more-45eaeab2.css","./s-goods-column-51c434a0.css","./s-goods-item-1a818f08.css","./s-empty-bf06ef38.css","./goods-collect-c0ad4ce7.css","./const.5cde7387.js","./list-5767155e.css"],import.meta.url).then((e=>Dm(e.default||e))),zw=wr(T_({loader:Ww},S_)),Hw=()=>t((()=>import("./pages-activity-bargain-list.02774e86.js")),["./pages-activity-bargain-list.02774e86.js","./bargain.f3a144d6.js","./_plugin-vue_export-helper.1b428a4d.js","./bargain-0e007d5e.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./useGoods.84c8b87a.js","./list-bf3acf95.css"],import.meta.url).then((e=>Dm(e.default||e))),Uw=wr(T_({loader:Hw},S_)),Yw=()=>t((()=>import("./pages-activity-bargain-detail.a43ab984.js")),["./pages-activity-bargain-detail.a43ab984.js","./bargain.f3a144d6.js","./_plugin-vue_export-helper.1b428a4d.js","./bargain-0e007d5e.css","./s-layout.abf351b1.js","./form.60b80a1f.js","./form-8c5c4de7.css","./s-layout-2c48bd3d.css","./detail-b473cd7a.css"],import.meta.url).then((e=>Dm(e.default||e))),Xw=wr(T_({loader:Yw},S_));function Gw(e,t){return Go(),ei(__,null,{page:Xn((()=>[si(e,T_({},t,{ref:"page"}),null,512)])),_:1})}function Jw(e,t){return"string"==typeof e?t:e}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(E_,t)}},loader:k_,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,enablePullDownRefresh:!0,navigationBar:{titleText:"首页",type:"default"},isNVue:!1}},{path:"/pages/index/user",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw($_,t)}},loader:C_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,enablePullDownRefresh:!0,navigationBar:{titleText:"个人中心",type:"default"},isNVue:!1}},{path:"/pages/index/category",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(I_,t)}},loader:O_,meta:{navigationBar:{titleText:"商品分类",type:"default"},isNVue:!1}},{path:"/pages/index/cart",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(A_,t)}},loader:M_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"购物车",type:"default"},isNVue:!1}},{path:"/pages/index/login",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(L_,t)}},loader:P_,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/index/search",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(D_,t)}},loader:R_,meta:{navigationBar:{titleText:"搜索",type:"default"},isNVue:!1}},{path:"/pages/index/page",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(B_,t)}},loader:j_,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/goods/index",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(V_,t)}},loader:N_,meta:{navigationBar:{titleText:"商品详情",type:"default"},isNVue:!1}},{path:"/pages/goods/groupon",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(q_,t)}},loader:F_,meta:{navigationBar:{titleText:"拼团商品",type:"default"},isNVue:!1}},{path:"/pages/goods/seckill",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(z_,t)}},loader:W_,meta:{navigationBar:{titleText:"秒杀商品",type:"default"},isNVue:!1}},{path:"/pages/goods/list",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(U_,t)}},loader:H_,meta:{navigationBar:{titleText:"商品列表",type:"default"},isNVue:!1}},{path:"/pages/goods/comment/add",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(X_,t)}},loader:Y_,meta:{navigationBar:{titleText:"评价商品",type:"default"},isNVue:!1}},{path:"/pages/goods/comment/list",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(J_,t)}},loader:G_,meta:{navigationBar:{titleText:"商品评价",type:"default"},isNVue:!1}},{path:"/pages/order/detail",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(K_,t)}},loader:Z_,meta:{navigationBar:{titleText:"订单详情",type:"default"},isNVue:!1}},{path:"/pages/order/confirm",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(eb,t)}},loader:Q_,meta:{navigationBar:{titleText:"确认订单",type:"default"},isNVue:!1}},{path:"/pages/order/list",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(nb,t)}},loader:tb,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的订单",type:"default"},isNVue:!1}},{path:"/pages/order/aftersale/apply",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(ob,t)}},loader:rb,meta:{navigationBar:{titleText:"申请售后",type:"default"},isNVue:!1}},{path:"/pages/order/aftersale/return-delivery",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(ab,t)}},loader:ib,meta:{navigationBar:{titleText:"退货物流",type:"default"},isNVue:!1}},{path:"/pages/order/aftersale/list",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(lb,t)}},loader:sb,meta:{navigationBar:{titleText:"售后列表",type:"default"},isNVue:!1}},{path:"/pages/order/aftersale/detail",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(cb,t)}},loader:ub,meta:{navigationBar:{titleText:"售后详情",type:"default"},isNVue:!1}},{path:"/pages/order/aftersale/log",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(fb,t)}},loader:db,meta:{navigationBar:{titleText:"售后进度",type:"default"},isNVue:!1}},{path:"/pages/order/express/log",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(hb,t)}},loader:pb,meta:{navigationBar:{titleText:"物流轨迹",type:"default"},isNVue:!1}},{path:"/pages/order/otherlist",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(mb,t)}},loader:gb,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/user/info",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(yb,t)}},loader:vb,meta:{navigationBar:{titleText:"我的信息",type:"default"},isNVue:!1}},{path:"/pages/user/setting",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(bb,t)}},loader:_b,meta:{navigationBar:{titleText:"用户设置",type:"default"},isNVue:!1}},{path:"/pages/user/qrcode-share",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(xb,t)}},loader:wb,meta:{navigationBar:{titleText:"我的二维码/分享页",type:"default"},isNVue:!1}},{path:"/pages/user/goods-collect",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Sb,t)}},loader:Tb,meta:{navigationBar:{titleText:"我的收藏",type:"default"},isNVue:!1}},{path:"/pages/user/goods-log",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Eb,t)}},loader:kb,meta:{navigationBar:{titleText:"我的足迹",type:"default"},isNVue:!1}},{path:"/pages/user/address/list",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw($b,t)}},loader:Cb,meta:{navigationBar:{titleText:"收货地址",type:"default"},isNVue:!1}},{path:"/pages/user/invoice/edit",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Ib,t)}},loader:Ob,meta:{navigationBar:{titleText:"发票抬头编辑",type:"default"},isNVue:!1}},{path:"/pages/user/invoice/list",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Ab,t)}},loader:Mb,meta:{navigationBar:{titleText:"发票抬头管理",type:"default"},isNVue:!1}},{path:"/pages/user/address/edit",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Lb,t)}},loader:Pb,meta:{navigationBar:{titleText:"编辑地址",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/money",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Db,t)}},loader:Rb,meta:{navigationBar:{titleText:"我的余额",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/score",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Bb,t)}},loader:jb,meta:{navigationBar:{titleText:"我的积分",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/scoreToMoney",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Vb,t)}},loader:Nb,meta:{navigationBar:{titleText:"积分兑换",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/team",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(qb,t)}},loader:Fb,meta:{navigationBar:{titleText:"团队",type:"default"},isNVue:!1}},{path:"/pages/commission/index",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(zb,t)}},loader:Wb,meta:{navigationBar:{titleText:"分销",type:"default"},isNVue:!1}},{path:"/pages/commission/wallet",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Ub,t)}},loader:Hb,meta:{navigationBar:{titleText:"我的佣金",type:"default"},isNVue:!1}},{path:"/pages/commission/goods",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Xb,t)}},loader:Yb,meta:{navigationBar:{titleText:"推广商品",type:"default"},isNVue:!1}},{path:"/pages/commission/order",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Jb,t)}},loader:Gb,meta:{navigationBar:{titleText:"分销订单",type:"default"},isNVue:!1}},{path:"/pages/commission/team",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Kb,t)}},loader:Zb,meta:{navigationBar:{titleText:"我的团队",type:"default"},isNVue:!1}},{path:"/pages/commission/promoter",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(ew,t)}},loader:Qb,meta:{navigationBar:{titleText:"推广人排行榜",type:"default"},isNVue:!1}},{path:"/pages/commission/commission-ranking",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(nw,t)}},loader:tw,meta:{navigationBar:{titleText:"佣金排行榜",type:"default"},isNVue:!1}},{path:"/pages/commission/withdraw",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(ow,t)}},loader:rw,meta:{navigationBar:{titleText:"申请提现",type:"default"},isNVue:!1}},{path:"/pages/app/sign",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(aw,t)}},loader:iw,meta:{navigationBar:{titleText:"签到中心",type:"default"},isNVue:!1}},{path:"/pages/shop/index",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(lw,t)}},loader:sw,meta:{navigationBar:{titleText:"店铺首页",type:"default"},isNVue:!1}},{path:"/pages/public/setting",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(cw,t)}},loader:uw,meta:{navigationBar:{titleText:"系统设置",type:"default"},isNVue:!1}},{path:"/pages/public/richtext",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(fw,t)}},loader:dw,meta:{navigationBar:{titleText:"富文本",type:"default"},isNVue:!1}},{path:"/pages/public/faq",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(hw,t)}},loader:pw,meta:{navigationBar:{titleText:"常见问题",type:"default"},isNVue:!1}},{path:"/pages/public/error",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(mw,t)}},loader:gw,meta:{navigationBar:{titleText:"错误页面",type:"default"},isNVue:!1}},{path:"/pages/public/webview",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(yw,t)}},loader:vw,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/coupon/list",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(bw,t)}},loader:_w,meta:{navigationBar:{titleText:"领券中心",type:"default"},isNVue:!1}},{path:"/pages/coupon/detail",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(xw,t)}},loader:ww,meta:{navigationBar:{titleText:"优惠券",type:"default"},isNVue:!1}},{path:"/pages/chat/index",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Sw,t)}},loader:Tw,meta:{navigationBar:{titleText:"客服",type:"default"},isNVue:!1}},{path:"/pages/chat/speechtotext",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Ew,t)}},loader:kw,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"语音转文字",type:"default"},isNVue:!1}},{path:"/pages/pay/index",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw($w,t)}},loader:Cw,meta:{navigationBar:{titleText:"收银台",type:"default"},isNVue:!1}},{path:"/pages/pay/result",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Iw,t)}},loader:Ow,meta:{navigationBar:{titleText:"支付结果",type:"default"},isNVue:!1}},{path:"/pages/pay/recharge",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Aw,t)}},loader:Mw,meta:{navigationBar:{titleText:"充值余额",type:"default"},isNVue:!1}},{path:"/pages/pay/recharge-log",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Lw,t)}},loader:Pw,meta:{navigationBar:{titleText:"充值记录",type:"default"},isNVue:!1}},{path:"/pages/activity/groupon/detail",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Dw,t)}},loader:Rw,meta:{navigationBar:{titleText:"拼团详情",type:"default"},isNVue:!1}},{path:"/pages/activity/groupon/order",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Bw,t)}},loader:jw,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的拼团",type:"default"},isNVue:!1}},{path:"/pages/activity/index",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Vw,t)}},loader:Nw,meta:{navigationBar:{titleText:"营销商品",type:"default"},isNVue:!1}},{path:"/pages/activity/groupon/list",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(qw,t)}},loader:Fw,meta:{navigationBar:{titleText:"拼团活动",type:"default"},isNVue:!1}},{path:"/pages/activity/seckill/list",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(zw,t)}},loader:Ww,meta:{navigationBar:{titleText:"秒杀活动",type:"default"},isNVue:!1}},{path:"/pages/activity/bargain/list",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Uw,t)}},loader:Hw,meta:{navigationBar:{titleText:"砍价列表",type:"default"},isNVue:!1}},{path:"/pages/activity/bargain/detail",component:{setup(){const e=Am(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Xw,t)}},loader:Yw,meta:{navigationBar:{titleText:"砍价详情",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Zw=e=>(t,n=bi())=>{!Si&&jr(e,t,n)},Kw=Zw("onShow"),Qw=Zw("onHide"),ex=Zw("onLaunch"),tx=Zw("onError"),nx=Zw("onLoad"),rx=Zw("onReady"),ox=Zw("onBackPress"),ix=Zw("onPageScroll"),ax=Zw("onReachBottom"),sx=Zw("onPullDownRefresh");var lx=Object.prototype.toString;function ux(e){return"[object Array]"===lx.call(e)}function cx(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),ux(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function dx(){let e={};function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=dx(e[n],t):e[n]="object"==typeof t?dx({},t):t}for(let n=0,r=arguments.length;n<r;n++)cx(arguments[n],t);return e}function fx(e){return void 0===e}function px(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function hx(e,t,n){if(!t)return e;var r,o;if(n)r=n(t);else if(o=t,"undefined"!=typeof URLSearchParams&&o instanceof URLSearchParams)r=t.toString();else{var i=[];cx(t,(function(e,t){null!=e&&(ux(e)?t+="[]":e=[e],cx(e,(function(e){!function(e){return"[object Date]"===lx.call(e)}(e)?function(e){return null!==e&&"object"==typeof e}(e)&&(e=JSON.stringify(e)):e=e.toISOString(),i.push(px(t)+"="+px(e))})))})),r=i.join("&")}if(r){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}const gx=(e,t)=>{let n={};return e.forEach((e=>{fx(t[e])||(n[e]=t[e])})),n},mx=e=>(e=>new Promise(((t,n)=>{let r=hx((o=e.baseURL,i=e.url,o&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(o,i):i),e.params,e.paramsSerializer);var o,i;const a={url:r,header:e.header,complete:o=>{e.fullPath=r,o.config=e,o.rawData=o.data;try{let t=!1;const n=typeof e.forcedJSONParsing;"boolean"===n?t=e.forcedJSONParsing:"object"===n&&(t=(e.forcedJSONParsing.include||[]).includes(e.method)),t&&"string"==typeof o.data&&(o.data=JSON.parse(o.data))}catch(Ax){}!function(e,t,n){const r=n.config.validateStatus,o=n.statusCode;!o||r&&!r(o)?t(n):e(n)}(t,n,o)}};let s;if("UPLOAD"===e.method){delete a.header["content-type"],delete a.header["Content-Type"];let t={filePath:e.filePath,name:e.name};const n=["files","file","timeout","formData"];s=Xv({...a,...t,...gx(n,e)})}else if("DOWNLOAD"===e.method){const t=["timeout"];s=Uv({...a,...gx(t,e)})}else{const t=["data","method","timeout","dataType","responseType","withCredentials"];s=qv({...a,...gx(t,e)})}e.getTask&&e.getTask(s,e)})))(e);function vx(){this.handlers=[]}vx.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},vx.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},vx.prototype.forEach=function(e){this.handlers.forEach((t=>{null!==t&&e(t)}))};const yx=(e,t,n)=>{let r={};return e.forEach((e=>{fx(n[e])?fx(t[e])||(r[e]=t[e]):r[e]=n[e]})),r},_x={baseURL:"",header:{},method:"GET",dataType:"json",paramsSerializer:null,responseType:"text",custom:{},timeout:6e4,withCredentials:!1,validateStatus:function(e){return e>=200&&e<300},forcedJSONParsing:!0};var bx=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,r;try{t=Map}catch(s){t=function(){}}try{n=Set}catch(s){n=function(){}}try{r=Promise}catch(s){r=function(){}}function o(i,s,l,u,c){"object"==typeof s&&(l=s.depth,u=s.prototype,c=s.includeNonEnumerable,s=s.circular);var d=[],f=[],p="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function i(l,h){if(null===l)return null;if(0===h)return l;var g,m;if("object"!=typeof l)return l;if(e(l,t))g=new t;else if(e(l,n))g=new n;else if(e(l,r))g=new r((function(e,t){l.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(o.__isArray(l))g=[];else if(o.__isRegExp(l))g=new RegExp(l.source,a(l)),l.lastIndex&&(g.lastIndex=l.lastIndex);else if(o.__isDate(l))g=new Date(l.getTime());else{if(p&&Buffer.isBuffer(l))return Buffer.from?g=Buffer.from(l):(g=new Buffer(l.length),l.copy(g)),g;e(l,Error)?g=Object.create(l):void 0===u?(m=Object.getPrototypeOf(l),g=Object.create(m)):(g=Object.create(u),m=u)}if(s){var v=d.indexOf(l);if(-1!=v)return f[v];d.push(l),f.push(g)}for(var y in e(l,t)&&l.forEach((function(e,t){var n=i(t,h-1),r=i(e,h-1);g.set(n,r)})),e(l,n)&&l.forEach((function(e){var t=i(e,h-1);g.add(t)})),l){Object.getOwnPropertyDescriptor(l,y)&&(g[y]=i(l[y],h-1));try{if("undefined"===Object.getOwnPropertyDescriptor(l,y).set)continue;g[y]=i(l[y],h-1)}catch(Ax){if(Ax instanceof TypeError)continue;if(Ax instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(l);for(y=0;y<_.length;y++){var b=_[y];(!(x=Object.getOwnPropertyDescriptor(l,b))||x.enumerable||c)&&(g[b]=i(l[b],h-1),Object.defineProperty(g,b,x))}}if(c){var w=Object.getOwnPropertyNames(l);for(y=0;y<w.length;y++){var x,T=w[y];(x=Object.getOwnPropertyDescriptor(l,T))&&x.enumerable||(g[T]=i(l[T],h-1),Object.defineProperty(g,T,x))}}return g}(i,l)}function i(e){return Object.prototype.toString.call(e)}function a(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return o.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},o.__objToStr=i,o.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},o.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},o.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},o.__getRegExpFlags=a,o}();let xx;xx="https://letcgo.com";const Tx="/app-api";var Sx="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function kx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ex,Cx,$x={exports:{}};
  7. /**
  8. * @license
  9. * Lodash <https://lodash.com/>
  10. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  11. * Released under MIT license <https://lodash.com/license>
  12. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  13. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  14. */Ex=$x,Cx=$x.exports,function(){var e,t="Expected a function",n="__lodash_hash_undefined__",r="__lodash_placeholder__",o=16,i=32,a=64,s=128,l=256,u=1/0,c=9007199254740991,d=NaN,f=4294967295,p=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",o],["flip",512],["partial",i],["partialRight",a],["rearg",l]],h="[object Arguments]",g="[object Array]",m="[object Boolean]",v="[object Date]",y="[object Error]",_="[object Function]",b="[object GeneratorFunction]",w="[object Map]",x="[object Number]",T="[object Object]",S="[object Promise]",k="[object RegExp]",E="[object Set]",C="[object String]",$="[object Symbol]",O="[object WeakMap]",I="[object ArrayBuffer]",M="[object DataView]",A="[object Float32Array]",P="[object Float64Array]",L="[object Int8Array]",R="[object Int16Array]",D="[object Int32Array]",j="[object Uint8Array]",B="[object Uint8ClampedArray]",N="[object Uint16Array]",V="[object Uint32Array]",F=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,U=RegExp(z.source),Y=RegExp(H.source),X=/<%-([\s\S]+?)%>/g,G=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ee=/[\\^$.*+?()[\]{}|]/g,te=RegExp(ee.source),ne=/^\s+/,re=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ie=/\{\n\/\* \[wrapped with (.+)\] \*/,ae=/,? & /,se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,le=/[()=,{}\[\]\/\s]/,ue=/\\(\\)?/g,ce=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,de=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,pe=/^0b[01]+$/i,he=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,me=/^(?:0|[1-9]\d*)$/,ve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ye=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,be="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="\\u2700-\\u27bf",xe="a-z\\xdf-\\xf6\\xf8-\\xff",Te="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\ufe0e\\ufe0f",ke="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ee="['’]",Ce="[\\ud800-\\udfff]",$e="["+ke+"]",Oe="["+be+"]",Ie="\\d+",Me="[\\u2700-\\u27bf]",Ae="["+xe+"]",Pe="[^\\ud800-\\udfff"+ke+Ie+we+xe+Te+"]",Le="\\ud83c[\\udffb-\\udfff]",Re="[^\\ud800-\\udfff]",De="(?:\\ud83c[\\udde6-\\uddff]){2}",je="[\\ud800-\\udbff][\\udc00-\\udfff]",Be="["+Te+"]",Ne="(?:"+Ae+"|"+Pe+")",Ve="(?:"+Be+"|"+Pe+")",Fe="(?:['’](?:d|ll|m|re|s|t|ve))?",qe="(?:['’](?:D|LL|M|RE|S|T|VE))?",We="(?:"+Oe+"|"+Le+")?",ze="[\\ufe0e\\ufe0f]?",He=ze+We+"(?:\\u200d(?:"+[Re,De,je].join("|")+")"+ze+We+")*",Ue="(?:"+[Me,De,je].join("|")+")"+He,Ye="(?:"+[Re+Oe+"?",Oe,De,je,Ce].join("|")+")",Xe=RegExp(Ee,"g"),Ge=RegExp(Oe,"g"),Je=RegExp(Le+"(?="+Le+")|"+Ye+He,"g"),Ze=RegExp([Be+"?"+Ae+"+"+Fe+"(?="+[$e,Be,"$"].join("|")+")",Ve+"+"+qe+"(?="+[$e,Be+Ne,"$"].join("|")+")",Be+"?"+Ne+"+"+Fe,Be+"+"+qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ie,Ue].join("|"),"g"),Ke=RegExp("[\\u200d\\ud800-\\udfff"+be+Se+"]"),Qe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,et=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tt=-1,nt={};nt[A]=nt[P]=nt[L]=nt[R]=nt[D]=nt[j]=nt[B]=nt[N]=nt[V]=!0,nt[h]=nt[g]=nt[I]=nt[m]=nt[M]=nt[v]=nt[y]=nt[_]=nt[w]=nt[x]=nt[T]=nt[k]=nt[E]=nt[C]=nt[O]=!1;var rt={};rt[h]=rt[g]=rt[I]=rt[M]=rt[m]=rt[v]=rt[A]=rt[P]=rt[L]=rt[R]=rt[D]=rt[w]=rt[x]=rt[T]=rt[k]=rt[E]=rt[C]=rt[$]=rt[j]=rt[B]=rt[N]=rt[V]=!0,rt[y]=rt[_]=rt[O]=!1;var ot={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},it=parseFloat,at=parseInt,st="object"==typeof Sx&&Sx&&Sx.Object===Object&&Sx,lt="object"==typeof self&&self&&self.Object===Object&&self,ut=st||lt||Function("return this")(),ct=Cx&&!Cx.nodeType&&Cx,dt=ct&&Ex&&!Ex.nodeType&&Ex,ft=dt&&dt.exports===ct,pt=ft&&st.process,ht=function(){try{var e=dt&&dt.require&&dt.require("util").types;return e||pt&&pt.binding&&pt.binding("util")}catch(Ax){}}(),gt=ht&&ht.isArrayBuffer,mt=ht&&ht.isDate,vt=ht&&ht.isMap,yt=ht&&ht.isRegExp,_t=ht&&ht.isSet,bt=ht&&ht.isTypedArray;function wt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function xt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Tt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function St(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Et(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Ct(e,t){return!(null==e||!e.length)&&jt(e,t,0)>-1}function $t(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function It(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Mt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function At(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Lt=Ft("length");function Rt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Dt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function jt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Dt(e,Nt,n)}function Bt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Nt(e){return e!=e}function Vt(e,t){var n=null==e?0:e.length;return n?zt(e,t)/n:d}function Ft(t){return function(n){return null==n?e:n[t]}}function qt(t){return function(n){return null==t?e:t[n]}}function Wt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function zt(t,n){for(var r,o=-1,i=t.length;++o<i;){var a=n(t[o]);a!==e&&(r=r===e?a:r+a)}return r}function Ht(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Ut(e){return e?e.slice(0,cn(e)+1).replace(ne,""):e}function Yt(e){return function(t){return e(t)}}function Xt(e,t){return Ot(t,(function(t){return e[t]}))}function Gt(e,t){return e.has(t)}function Jt(e,t){for(var n=-1,r=e.length;++n<r&&jt(t,e[n],0)>-1;);return n}function Zt(e,t){for(var n=e.length;n--&&jt(t,e[n],0)>-1;);return n}function Kt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Qt=qt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),en=qt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function tn(e){return"\\"+ot[e]}function nn(e){return Ke.test(e)}function rn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function on(e,t){return function(n){return e(t(n))}}function an(e,t){for(var n=-1,o=e.length,i=0,a=[];++n<o;){var s=e[n];s!==t&&s!==r||(e[n]=r,a[i++]=n)}return a}function sn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function ln(e){return nn(e)?function(e){for(var t=Je.lastIndex=0;Je.test(e);)++t;return t}(e):Lt(e)}function un(e){return nn(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.split("")}(e)}function cn(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var dn=qt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),fn=function re(be){var we,xe=(be=null==be?ut:fn.defaults(ut.Object(),be,fn.pick(ut,et))).Array,Te=be.Date,Se=be.Error,ke=be.Function,Ee=be.Math,Ce=be.Object,$e=be.RegExp,Oe=be.String,Ie=be.TypeError,Me=xe.prototype,Ae=ke.prototype,Pe=Ce.prototype,Le=be["__core-js_shared__"],Re=Ae.toString,De=Pe.hasOwnProperty,je=0,Be=(we=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||""))?"Symbol(src)_1."+we:"",Ne=Pe.toString,Ve=Re.call(Ce),Fe=ut._,qe=$e("^"+Re.call(De).replace(ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),We=ft?be.Buffer:e,ze=be.Symbol,He=be.Uint8Array,Ue=We?We.allocUnsafe:e,Ye=on(Ce.getPrototypeOf,Ce),Je=Ce.create,Ke=Pe.propertyIsEnumerable,ot=Me.splice,st=ze?ze.isConcatSpreadable:e,lt=ze?ze.iterator:e,ct=ze?ze.toStringTag:e,dt=function(){try{var e=pi(Ce,"defineProperty");return e({},"",{}),e}catch(Ax){}}(),pt=be.clearTimeout!==ut.clearTimeout&&be.clearTimeout,ht=Te&&Te.now!==ut.Date.now&&Te.now,Lt=be.setTimeout!==ut.setTimeout&&be.setTimeout,qt=Ee.ceil,pn=Ee.floor,hn=Ce.getOwnPropertySymbols,gn=We?We.isBuffer:e,mn=be.isFinite,vn=Me.join,yn=on(Ce.keys,Ce),_n=Ee.max,bn=Ee.min,wn=Te.now,xn=be.parseInt,Tn=Ee.random,Sn=Me.reverse,kn=pi(be,"DataView"),En=pi(be,"Map"),Cn=pi(be,"Promise"),$n=pi(be,"Set"),On=pi(be,"WeakMap"),In=pi(Ce,"create"),Mn=On&&new On,An={},Pn=Wi(kn),Ln=Wi(En),Rn=Wi(Cn),Dn=Wi($n),jn=Wi(On),Bn=ze?ze.prototype:e,Nn=Bn?Bn.valueOf:e,Vn=Bn?Bn.toString:e;function Fn(e){if(as(e)&&!Ga(e)&&!(e instanceof Hn)){if(e instanceof zn)return e;if(De.call(e,"__wrapped__"))return zi(e)}return new zn(e)}var qn=function(){function t(){}return function(n){if(!is(n))return{};if(Je)return Je(n);t.prototype=n;var r=new t;return t.prototype=e,r}}();function Wn(){}function zn(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=e}function Hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Xn;++t<n;)this.add(e[t])}function Jn(e){var t=this.__data__=new Yn(e);this.size=t.size}function Zn(e,t){var n=Ga(e),r=!n&&Xa(e),o=!n&&!r&&Qa(e),i=!n&&!r&&!o&&hs(e),a=n||r||o||i,s=a?Ht(e.length,Oe):[],l=s.length;for(var u in e)!t&&!De.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||bi(u,l))||s.push(u);return s}function Kn(t){var n=t.length;return n?t[Gr(0,n-1)]:e}function Qn(e,t){return ji(Mo(e),lr(t,0,e.length))}function er(e){return ji(Mo(e))}function tr(t,n,r){(r!==e&&!Ha(t[n],r)||r===e&&!(n in t))&&ar(t,n,r)}function nr(t,n,r){var o=t[n];De.call(t,n)&&Ha(o,r)&&(r!==e||n in t)||ar(t,n,r)}function rr(e,t){for(var n=e.length;n--;)if(Ha(e[n][0],t))return n;return-1}function or(e,t,n,r){return pr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ir(e,t){return e&&Ao(t,Ds(t),e)}function ar(e,t,n){"__proto__"==t&&dt?dt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function sr(t,n){for(var r=-1,o=n.length,i=xe(o),a=null==t;++r<o;)i[r]=a?e:Ms(t,n[r]);return i}function lr(t,n,r){return t==t&&(r!==e&&(t=t<=r?t:r),n!==e&&(t=t>=n?t:n)),t}function ur(t,n,r,o,i,a){var s,l=1&n,u=2&n,c=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),s!==e)return s;if(!is(t))return t;var d=Ga(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&De.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return Mo(t,s)}else{var f=mi(t),p=f==_||f==b;if(Qa(t))return ko(t,l);if(f==T||f==h||p&&!i){if(s=u||p?{}:yi(t),!l)return u?function(e,t){return Ao(e,gi(e),t)}(t,function(e,t){return e&&Ao(t,js(t),e)}(s,t)):function(e,t){return Ao(e,hi(e),t)}(t,ir(s,t))}else{if(!rt[f])return i?t:{};s=function(e,t,n){var r,o=e.constructor;switch(t){case I:return Eo(e);case m:case v:return new o(+e);case M:return function(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case A:case P:case L:case R:case D:case j:case B:case N:case V:return Co(e,n);case w:return new o;case x:case C:return new o(e);case k:return function(e){var t=new e.constructor(e.source,de.exec(e));return t.lastIndex=e.lastIndex,t}(e);case E:return new o;case $:return r=e,Nn?Ce(Nn.call(r)):{}}}(t,f,l)}}a||(a=new Jn);var g=a.get(t);if(g)return g;a.set(t,s),ds(t)?t.forEach((function(e){s.add(ur(e,n,r,e,t,a))})):ss(t)&&t.forEach((function(e,o){s.set(o,ur(e,n,r,o,t,a))}));var y=d?e:(c?u?ai:ii:u?js:Ds)(t);return Tt(y||t,(function(e,o){y&&(e=t[o=e]),nr(s,o,ur(e,n,r,o,t,a))})),s}function cr(t,n,r){var o=r.length;if(null==t)return!o;for(t=Ce(t);o--;){var i=r[o],a=n[i],s=t[i];if(s===e&&!(i in t)||!a(s))return!1}return!0}function dr(n,r,o){if("function"!=typeof n)throw new Ie(t);return Pi((function(){n.apply(e,o)}),r)}function fr(e,t,n,r){var o=-1,i=Ct,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Ot(t,Yt(n))),r?(i=$t,a=!1):t.length>=200&&(i=Gt,a=!1,t=new Gn(t));e:for(;++o<s;){var c=e[o],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d==d){for(var f=u;f--;)if(t[f]===d)continue e;l.push(c)}else i(t,d,r)||l.push(c)}return l}Fn.templateSettings={escape:X,evaluate:G,interpolate:J,variable:"",imports:{_:Fn}},Fn.prototype=Wn.prototype,Fn.prototype.constructor=Fn,zn.prototype=qn(Wn.prototype),zn.prototype.constructor=zn,Hn.prototype=qn(Wn.prototype),Hn.prototype.constructor=Hn,Un.prototype.clear=function(){this.__data__=In?In(null):{},this.size=0},Un.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Un.prototype.get=function(t){var r=this.__data__;if(In){var o=r[t];return o===n?e:o}return De.call(r,t)?r[t]:e},Un.prototype.has=function(t){var n=this.__data__;return In?n[t]!==e:De.call(n,t)},Un.prototype.set=function(t,r){var o=this.__data__;return this.size+=this.has(t)?0:1,o[t]=In&&r===e?n:r,this},Yn.prototype.clear=function(){this.__data__=[],this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0||(n==t.length-1?t.pop():ot.call(t,n,1),--this.size,0))},Yn.prototype.get=function(t){var n=this.__data__,r=rr(n,t);return r<0?e:n[r][1]},Yn.prototype.has=function(e){return rr(this.__data__,e)>-1},Yn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Xn.prototype.clear=function(){this.size=0,this.__data__={hash:new Un,map:new(En||Yn),string:new Un}},Xn.prototype.delete=function(e){var t=di(this,e).delete(e);return this.size-=t?1:0,t},Xn.prototype.get=function(e){return di(this,e).get(e)},Xn.prototype.has=function(e){return di(this,e).has(e)},Xn.prototype.set=function(e,t){var n=di(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Gn.prototype.add=Gn.prototype.push=function(e){return this.__data__.set(e,n),this},Gn.prototype.has=function(e){return this.__data__.has(e)},Jn.prototype.clear=function(){this.__data__=new Yn,this.size=0},Jn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Jn.prototype.get=function(e){return this.__data__.get(e)},Jn.prototype.has=function(e){return this.__data__.has(e)},Jn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Xn(r)}return n.set(e,t),this.size=n.size,this};var pr=Ro(wr),hr=Ro(xr,!0);function gr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function mr(t,n,r){for(var o=-1,i=t.length;++o<i;){var a=t[o],s=n(a);if(null!=s&&(l===e?s==s&&!ps(s):r(s,l)))var l=s,u=a}return u}function vr(e,t){var n=[];return pr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function yr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=_i),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?yr(s,t-1,n,r,o):It(o,s):r||(o[o.length]=s)}return o}var _r=Do(),br=Do(!0);function wr(e,t){return e&&_r(e,t,Ds)}function xr(e,t){return e&&br(e,t,Ds)}function Tr(e,t){return Et(t,(function(t){return ns(e[t])}))}function Sr(t,n){for(var r=0,o=(n=wo(n,t)).length;null!=t&&r<o;)t=t[qi(n[r++])];return r&&r==o?t:e}function kr(e,t,n){var r=t(e);return Ga(e)?r:It(r,n(e))}function Er(t){return null==t?t===e?"[object Undefined]":"[object Null]":ct&&ct in Ce(t)?function(t){var n=De.call(t,ct),r=t[ct];try{t[ct]=e;var o=!0}catch(Ax){}var i=Ne.call(t);return o&&(n?t[ct]=r:delete t[ct]),i}(t):function(e){return Ne.call(e)}(t)}function Cr(e,t){return e>t}function $r(e,t){return null!=e&&De.call(e,t)}function Or(e,t){return null!=e&&t in Ce(e)}function Ir(t,n,r){for(var o=r?$t:Ct,i=t[0].length,a=t.length,s=a,l=xe(a),u=1/0,c=[];s--;){var d=t[s];s&&n&&(d=Ot(d,Yt(n))),u=bn(d.length,u),l[s]=!r&&(n||i>=120&&d.length>=120)?new Gn(s&&d):e}d=t[0];var f=-1,p=l[0];e:for(;++f<i&&c.length<u;){var h=d[f],g=n?n(h):h;if(h=r||0!==h?h:0,!(p?Gt(p,g):o(c,g,r))){for(s=a;--s;){var m=l[s];if(!(m?Gt(m,g):o(t[s],g,r)))continue e}p&&p.push(g),c.push(h)}}return c}function Mr(t,n,r){var o=null==(t=Oi(t,n=wo(n,t)))?t:t[qi(ta(n))];return null==o?e:wt(o,t,r)}function Ar(e){return as(e)&&Er(e)==h}function Pr(t,n,r,o,i){return t===n||(null==t||null==n||!as(t)&&!as(n)?t!=t&&n!=n:function(t,n,r,o,i,a){var s=Ga(t),l=Ga(n),u=s?g:mi(t),c=l?g:mi(n),d=(u=u==h?T:u)==T,f=(c=c==h?T:c)==T,p=u==c;if(p&&Qa(t)){if(!Qa(n))return!1;s=!0,d=!1}if(p&&!d)return a||(a=new Jn),s||hs(t)?ri(t,n,r,o,i,a):function(e,t,n,r,o,i,a){switch(n){case M:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!i(new He(e),new He(t)));case m:case v:case x:return Ha(+e,+t);case y:return e.name==t.name&&e.message==t.message;case k:case C:return e==t+"";case w:var s=rn;case E:var l=1&r;if(s||(s=sn),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ri(s(e),s(t),r,o,i,a);return a.delete(e),c;case $:if(Nn)return Nn.call(e)==Nn.call(t)}return!1}(t,n,u,r,o,i,a);if(!(1&r)){var _=d&&De.call(t,"__wrapped__"),b=f&&De.call(n,"__wrapped__");if(_||b){var S=_?t.value():t,O=b?n.value():n;return a||(a=new Jn),i(S,O,r,o,a)}}return!!p&&(a||(a=new Jn),function(t,n,r,o,i,a){var s=1&r,l=ii(t),u=l.length,c=ii(n).length;if(u!=c&&!s)return!1;for(var d=u;d--;){var f=l[d];if(!(s?f in n:De.call(n,f)))return!1}var p=a.get(t),h=a.get(n);if(p&&h)return p==n&&h==t;var g=!0;a.set(t,n),a.set(n,t);for(var m=s;++d<u;){var v=t[f=l[d]],y=n[f];if(o)var _=s?o(y,v,f,n,t,a):o(v,y,f,t,n,a);if(!(_===e?v===y||i(v,y,r,o,a):_)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var b=t.constructor,w=n.constructor;b==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(g=!1)}return a.delete(t),a.delete(n),g}(t,n,r,o,i,a))}(t,n,r,o,Pr,i))}function Lr(t,n,r,o){var i=r.length,a=i,s=!o;if(null==t)return!a;for(t=Ce(t);i--;){var l=r[i];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++i<a;){var u=(l=r[i])[0],c=t[u],d=l[1];if(s&&l[2]){if(c===e&&!(u in t))return!1}else{var f=new Jn;if(o)var p=o(c,d,u,t,n,f);if(!(p===e?Pr(d,c,3,o,f):p))return!1}}return!0}function Rr(e){return!(!is(e)||(t=e,Be&&Be in t))&&(ns(e)?qe:he).test(Wi(e));var t}function Dr(e){return"function"==typeof e?e:null==e?ll:"object"==typeof e?Ga(e)?qr(e[0],e[1]):Fr(e):vl(e)}function jr(e){if(!ki(e))return yn(e);var t=[];for(var n in Ce(e))De.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Br(e){if(!is(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=ki(e),n=[];for(var r in e)("constructor"!=r||!t&&De.call(e,r))&&n.push(r);return n}function Nr(e,t){return e<t}function Vr(e,t){var n=-1,r=Za(e)?xe(e.length):[];return pr(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Fr(e){var t=fi(e);return 1==t.length&&t[0][2]?Ci(t[0][0],t[0][1]):function(n){return n===e||Lr(n,e,t)}}function qr(t,n){return xi(t)&&Ei(n)?Ci(qi(t),n):function(r){var o=Ms(r,t);return o===e&&o===n?As(r,t):Pr(n,o,3)}}function Wr(t,n,r,o,i){t!==n&&_r(n,(function(a,s){if(i||(i=new Jn),is(a))!function(t,n,r,o,i,a,s){var l=Mi(t,r),u=Mi(n,r),c=s.get(u);if(c)tr(t,r,c);else{var d=a?a(l,u,r+"",t,n,s):e,f=d===e;if(f){var p=Ga(u),h=!p&&Qa(u),g=!p&&!h&&hs(u);d=u,p||h||g?Ga(l)?d=l:Ka(l)?d=Mo(l):h?(f=!1,d=ko(u,!0)):g?(f=!1,d=Co(u,!0)):d=[]:us(u)||Xa(u)?(d=l,Xa(l)?d=xs(l):is(l)&&!ns(l)||(d=yi(u))):f=!1}f&&(s.set(u,d),i(d,u,o,a,s),s.delete(u)),tr(t,r,d)}}(t,n,s,r,Wr,o,i);else{var l=o?o(Mi(t,s),a,s+"",t,n,i):e;l===e&&(l=a),tr(t,s,l)}}),js)}function zr(t,n){var r=t.length;if(r)return bi(n+=n<0?r:0,r)?t[n]:e}function Hr(e,t,n){t=t.length?Ot(t,(function(e){return Ga(e)?function(t){return Sr(t,1===e.length?e[0]:e)}:e})):[ll];var r=-1;return t=Ot(t,Yt(ci())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Vr(e,(function(e,n,o){return{criteria:Ot(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var l=$o(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Ur(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Sr(e,a);n(s,a)&&eo(i,wo(a,e),s)}return i}function Yr(e,t,n,r){var o=r?Bt:jt,i=-1,a=t.length,s=e;for(e===t&&(t=Mo(t)),n&&(s=Ot(e,Yt(n)));++i<a;)for(var l=0,u=t[i],c=n?n(u):u;(l=o(s,c,l,r))>-1;)s!==e&&ot.call(s,l,1),ot.call(e,l,1);return e}function Xr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;bi(o)?ot.call(e,o,1):po(e,o)}}return e}function Gr(e,t){return e+pn(Tn()*(t-e+1))}function Jr(e,t){var n="";if(!e||t<1||t>c)return n;do{t%2&&(n+=e),(t=pn(t/2))&&(e+=e)}while(t);return n}function Zr(e,t){return Li($i(e,t,ll),e+"")}function Kr(e){return Kn(Hs(e))}function Qr(e,t){var n=Hs(e);return ji(n,lr(t,0,n.length))}function eo(t,n,r,o){if(!is(t))return t;for(var i=-1,a=(n=wo(n,t)).length,s=a-1,l=t;null!=l&&++i<a;){var u=qi(n[i]),c=r;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(i!=s){var d=l[u];(c=o?o(d,u,l):e)===e&&(c=is(d)?d:bi(n[i+1])?[]:{})}nr(l,u,c),l=l[u]}return t}var to=Mn?function(e,t){return Mn.set(e,t),e}:ll,no=dt?function(e,t){return dt(e,"toString",{configurable:!0,enumerable:!1,value:il(t),writable:!0})}:ll;function ro(e){return ji(Hs(e))}function oo(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=xe(o);++r<o;)i[r]=e[r+t];return i}function io(e,t){var n;return pr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function ao(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ps(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return so(e,t,ll,n)}function so(t,n,r,o){var i=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(n=r(n))!=n,l=null===n,u=ps(n),c=n===e;i<a;){var d=pn((i+a)/2),f=r(t[d]),p=f!==e,h=null===f,g=f==f,m=ps(f);if(s)var v=o||g;else v=c?g&&(o||p):l?g&&p&&(o||!h):u?g&&p&&!h&&(o||!m):!h&&!m&&(o?f<=n:f<n);v?i=d+1:a=d}return bn(a,4294967294)}function lo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ha(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function uo(e){return"number"==typeof e?e:ps(e)?d:+e}function co(e){if("string"==typeof e)return e;if(Ga(e))return Ot(e,co)+"";if(ps(e))return Vn?Vn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=Ct,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=$t;else if(i>=200){var u=t?null:Zo(e);if(u)return sn(u);a=!1,o=Gt,l=new Gn}else l=t?[]:s;e:for(;++r<i;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(c)}else o(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}function po(e,t){return null==(e=Oi(e,t=wo(t,e)))||delete e[qi(ta(t))]}function ho(e,t,n,r){return eo(e,t,n(Sr(e,t)),r)}function go(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function mo(e,t){var n=e;return n instanceof Hn&&(n=n.value()),Mt(t,(function(e,t){return t.func.apply(t.thisArg,It([e],t.args))}),n)}function vo(e,t,n){var r=e.length;if(r<2)return r?fo(e[0]):[];for(var o=-1,i=xe(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=fr(i[o]||a,e[s],t,n));return fo(yr(i,1),t,n)}function yo(t,n,r){for(var o=-1,i=t.length,a=n.length,s={};++o<i;){var l=o<a?n[o]:e;r(s,t[o],l)}return s}function _o(e){return Ka(e)?e:[]}function bo(e){return"function"==typeof e?e:ll}function wo(e,t){return Ga(e)?e:xi(e,t)?[e]:Fi(Ts(e))}var xo=Zr;function To(t,n,r){var o=t.length;return r=r===e?o:r,!n&&r>=o?t:oo(t,n,r)}var So=pt||function(e){return ut.clearTimeout(e)};function ko(e,t){if(t)return e.slice();var n=e.length,r=Ue?Ue(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function Co(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $o(t,n){if(t!==n){var r=t!==e,o=null===t,i=t==t,a=ps(t),s=n!==e,l=null===n,u=n==n,c=ps(n);if(!l&&!c&&!a&&t>n||a&&s&&u&&!l&&!c||o&&s&&u||!r&&u||!i)return 1;if(!o&&!a&&!c&&t<n||c&&r&&i&&!o&&!a||l&&r&&i||!s&&i||!u)return-1}return 0}function Oo(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,l=t.length,u=_n(i-a,0),c=xe(l+u),d=!r;++s<l;)c[s]=t[s];for(;++o<a;)(d||o<i)&&(c[n[o]]=e[o]);for(;u--;)c[s++]=e[o++];return c}function Io(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,l=-1,u=t.length,c=_n(i-s,0),d=xe(c+u),f=!r;++o<c;)d[o]=e[o];for(var p=o;++l<u;)d[p+l]=t[l];for(;++a<s;)(f||o<i)&&(d[p+n[a]]=e[o++]);return d}function Mo(e,t){var n=-1,r=e.length;for(t||(t=xe(r));++n<r;)t[n]=e[n];return t}function Ao(t,n,r,o){var i=!r;r||(r={});for(var a=-1,s=n.length;++a<s;){var l=n[a],u=o?o(r[l],t[l],l,r,t):e;u===e&&(u=t[l]),i?ar(r,l,u):nr(r,l,u)}return r}function Po(e,t){return function(n,r){var o=Ga(n)?xt:or,i=t?t():{};return o(n,e,ci(r,2),i)}}function Lo(t){return Zr((function(n,r){var o=-1,i=r.length,a=i>1?r[i-1]:e,s=i>2?r[2]:e;for(a=t.length>3&&"function"==typeof a?(i--,a):e,s&&wi(r[0],r[1],s)&&(a=i<3?e:a,i=1),n=Ce(n);++o<i;){var l=r[o];l&&t(n,l,o,a)}return n}))}function Ro(e,t){return function(n,r){if(null==n)return n;if(!Za(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Ce(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Do(e){return function(t,n,r){for(var o=-1,i=Ce(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function jo(t){return function(n){var r=nn(n=Ts(n))?un(n):e,o=r?r[0]:n.charAt(0),i=r?To(r,1).join(""):n.slice(1);return o[t]()+i}}function Bo(e){return function(t){return Mt(nl(Xs(t).replace(Xe,"")),e,"")}}function No(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=qn(e.prototype),r=e.apply(n,t);return is(r)?r:n}}function Vo(t){return function(n,r,o){var i=Ce(n);if(!Za(n)){var a=ci(r,3);n=Ds(n),r=function(e){return a(i[e],e,i)}}var s=t(n,r,o);return s>-1?i[a?n[s]:s]:e}}function Fo(n){return oi((function(r){var o=r.length,i=o,a=zn.prototype.thru;for(n&&r.reverse();i--;){var s=r[i];if("function"!=typeof s)throw new Ie(t);if(a&&!l&&"wrapper"==li(s))var l=new zn([],!0)}for(i=l?i:o;++i<o;){var u=li(s=r[i]),c="wrapper"==u?si(s):e;l=c&&Ti(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[li(c[0])].apply(l,c[3]):1==s.length&&Ti(s)?l[u]():l.thru(s)}return function(){var e=arguments,t=e[0];if(l&&1==e.length&&Ga(t))return l.plant(t).value();for(var n=0,i=o?r[n].apply(this,e):t;++n<o;)i=r[n].call(this,i);return i}}))}function qo(t,n,r,o,i,a,l,u,c,d){var f=n&s,p=1&n,h=2&n,g=24&n,m=512&n,v=h?e:No(t);return function e(){for(var s=arguments.length,y=xe(s),_=s;_--;)y[_]=arguments[_];if(g)var b=ui(e),w=Kt(y,b);if(o&&(y=Oo(y,o,i,g)),a&&(y=Io(y,a,l,g)),s-=w,g&&s<d){var x=an(y,b);return Go(t,n,qo,e.placeholder,r,y,x,u,c,d-s)}var T=p?r:this,S=h?T[t]:t;return s=y.length,u?y=Ii(y,u):m&&s>1&&y.reverse(),f&&c<s&&(y.length=c),this&&this!==ut&&this instanceof e&&(S=v||No(S)),S.apply(T,y)}}function Wo(e,t){return function(n,r){return function(e,t,n,r){return wr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function zo(t,n){return function(r,o){var i;if(r===e&&o===e)return n;if(r!==e&&(i=r),o!==e){if(i===e)return o;"string"==typeof r||"string"==typeof o?(r=co(r),o=co(o)):(r=uo(r),o=uo(o)),i=t(r,o)}return i}}function Ho(e){return oi((function(t){return t=Ot(t,Yt(ci())),Zr((function(n){var r=this;return e(t,(function(e){return wt(e,r,n)}))}))}))}function Uo(t,n){var r=(n=n===e?" ":co(n)).length;if(r<2)return r?Jr(n,t):n;var o=Jr(n,qt(t/ln(n)));return nn(n)?To(un(o),0,t).join(""):o.slice(0,t)}function Yo(t){return function(n,r,o){return o&&"number"!=typeof o&&wi(n,r,o)&&(r=o=e),n=ys(n),r===e?(r=n,n=0):r=ys(r),function(e,t,n,r){for(var o=-1,i=_n(qt((t-e)/(n||1)),0),a=xe(i);i--;)a[r?i:++o]=e,e+=n;return a}(n,r,o=o===e?n<r?1:-1:ys(o),t)}}function Xo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ws(t),n=ws(n)),e(t,n)}}function Go(t,n,r,o,s,l,u,c,d,f){var p=8&n;n|=p?i:a,4&(n&=~(p?a:i))||(n&=-4);var h=[t,n,s,p?l:e,p?u:e,p?e:l,p?e:u,c,d,f],g=r.apply(e,h);return Ti(t)&&Ai(g,h),g.placeholder=o,Ri(g,t,n)}function Jo(e){var t=Ee[e];return function(e,n){if(e=ws(e),(n=null==n?0:bn(_s(n),292))&&mn(e)){var r=(Ts(e)+"e").split("e");return+((r=(Ts(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Zo=$n&&1/sn(new $n([,-0]))[1]==u?function(e){return new $n(e)}:pl;function Ko(e){return function(t){var n=mi(t);return n==w?rn(t):n==E?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return Ot(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Qo(n,u,c,d,f,p,h,g){var m=2&u;if(!m&&"function"!=typeof n)throw new Ie(t);var v=d?d.length:0;if(v||(u&=-97,d=f=e),h=h===e?h:_n(_s(h),0),g=g===e?g:_s(g),v-=f?f.length:0,u&a){var y=d,_=f;d=f=e}var b=m?e:si(n),w=[n,u,c,d,f,y,_,p,h,g];if(b&&function(e,t){var n=e[1],o=t[1],i=n|o,a=i<131,u=o==s&&8==n||o==s&&n==l&&e[7].length<=t[8]||384==o&&t[7].length<=t[8]&&8==n;if(!a&&!u)return e;1&o&&(e[2]=t[2],i|=1&n?0:4);var c=t[3];if(c){var d=e[3];e[3]=d?Oo(d,c,t[4]):c,e[4]=d?an(e[3],r):t[4]}(c=t[5])&&(d=e[5],e[5]=d?Io(d,c,t[6]):c,e[6]=d?an(e[5],r):t[6]),(c=t[7])&&(e[7]=c),o&s&&(e[8]=null==e[8]?t[8]:bn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(w,b),n=w[0],u=w[1],c=w[2],d=w[3],f=w[4],!(g=w[9]=w[9]===e?m?0:n.length:_n(w[9]-v,0))&&24&u&&(u&=-25),u&&1!=u)x=8==u||u==o?function(t,n,r){var o=No(t);return function i(){for(var a=arguments.length,s=xe(a),l=a,u=ui(i);l--;)s[l]=arguments[l];var c=a<3&&s[0]!==u&&s[a-1]!==u?[]:an(s,u);return(a-=c.length)<r?Go(t,n,qo,i.placeholder,e,s,c,e,e,r-a):wt(this&&this!==ut&&this instanceof i?o:t,this,s)}}(n,u,g):u!=i&&33!=u||f.length?qo.apply(e,w):function(e,t,n,r){var o=1&t,i=No(e);return function t(){for(var a=-1,s=arguments.length,l=-1,u=r.length,c=xe(u+s),d=this&&this!==ut&&this instanceof t?i:e;++l<u;)c[l]=r[l];for(;s--;)c[l++]=arguments[++a];return wt(d,o?n:this,c)}}(n,u,c,d);else var x=function(e,t,n){var r=1&t,o=No(e);return function t(){return(this&&this!==ut&&this instanceof t?o:e).apply(r?n:this,arguments)}}(n,u,c);return Ri((b?to:Ai)(x,w),n,u)}function ei(t,n,r,o){return t===e||Ha(t,Pe[r])&&!De.call(o,r)?n:t}function ti(t,n,r,o,i,a){return is(t)&&is(n)&&(a.set(n,t),Wr(t,n,e,ti,a),a.delete(n)),t}function ni(t){return us(t)?e:t}function ri(t,n,r,o,i,a){var s=1&r,l=t.length,u=n.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(t),d=a.get(n);if(c&&d)return c==n&&d==t;var f=-1,p=!0,h=2&r?new Gn:e;for(a.set(t,n),a.set(n,t);++f<l;){var g=t[f],m=n[f];if(o)var v=s?o(m,g,f,n,t,a):o(g,m,f,t,n,a);if(v!==e){if(v)continue;p=!1;break}if(h){if(!Pt(n,(function(e,t){if(!Gt(h,t)&&(g===e||i(g,e,r,o,a)))return h.push(t)}))){p=!1;break}}else if(g!==m&&!i(g,m,r,o,a)){p=!1;break}}return a.delete(t),a.delete(n),p}function oi(t){return Li($i(t,e,Ji),t+"")}function ii(e){return kr(e,Ds,hi)}function ai(e){return kr(e,js,gi)}var si=Mn?function(e){return Mn.get(e)}:pl;function li(e){for(var t=e.name+"",n=An[t],r=De.call(An,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ui(e){return(De.call(Fn,"placeholder")?Fn:e).placeholder}function ci(){var e=Fn.iteratee||ul;return e=e===ul?Dr:e,arguments.length?e(arguments[0],arguments[1]):e}function di(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function fi(e){for(var t=Ds(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ei(o)]}return t}function pi(t,n){var r=function(t,n){return null==t?e:t[n]}(t,n);return Rr(r)?r:e}var hi=hn?function(e){return null==e?[]:(e=Ce(e),Et(hn(e),(function(t){return Ke.call(e,t)})))}:bl,gi=hn?function(e){for(var t=[];e;)It(t,hi(e)),e=Ye(e);return t}:bl,mi=Er;function vi(e,t,n){for(var r=-1,o=(t=wo(t,e)).length,i=!1;++r<o;){var a=qi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&os(o)&&bi(a,o)&&(Ga(e)||Xa(e))}function yi(e){return"function"!=typeof e.constructor||ki(e)?{}:qn(Ye(e))}function _i(e){return Ga(e)||Xa(e)||!!(st&&e&&e[st])}function bi(e,t){var n=typeof e;return!!(t=null==t?c:t)&&("number"==n||"symbol"!=n&&me.test(e))&&e>-1&&e%1==0&&e<t}function wi(e,t,n){if(!is(n))return!1;var r=typeof t;return!!("number"==r?Za(n)&&bi(t,n.length):"string"==r&&t in n)&&Ha(n[t],e)}function xi(e,t){if(Ga(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ps(e))||K.test(e)||!Z.test(e)||null!=t&&e in Ce(t)}function Ti(e){var t=li(e),n=Fn[t];if("function"!=typeof n||!(t in Hn.prototype))return!1;if(e===n)return!0;var r=si(n);return!!r&&e===r[0]}(kn&&mi(new kn(new ArrayBuffer(1)))!=M||En&&mi(new En)!=w||Cn&&mi(Cn.resolve())!=S||$n&&mi(new $n)!=E||On&&mi(new On)!=O)&&(mi=function(t){var n=Er(t),r=n==T?t.constructor:e,o=r?Wi(r):"";if(o)switch(o){case Pn:return M;case Ln:return w;case Rn:return S;case Dn:return E;case jn:return O}return n});var Si=Le?ns:wl;function ki(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Pe)}function Ei(e){return e==e&&!is(e)}function Ci(t,n){return function(r){return null!=r&&r[t]===n&&(n!==e||t in Ce(r))}}function $i(t,n,r){return n=_n(n===e?t.length-1:n,0),function(){for(var e=arguments,o=-1,i=_n(e.length-n,0),a=xe(i);++o<i;)a[o]=e[n+o];o=-1;for(var s=xe(n+1);++o<n;)s[o]=e[o];return s[n]=r(a),wt(t,this,s)}}function Oi(e,t){return t.length<2?e:Sr(e,oo(t,0,-1))}function Ii(t,n){for(var r=t.length,o=bn(n.length,r),i=Mo(t);o--;){var a=n[o];t[o]=bi(a,r)?i[a]:e}return t}function Mi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ai=Di(to),Pi=Lt||function(e,t){return ut.setTimeout(e,t)},Li=Di(no);function Ri(e,t,n){var r=t+"";return Li(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(oe,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Tt(p,(function(n){var r="_."+n[0];t&n[1]&&!Ct(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ie);return t?t[1].split(ae):[]}(r),n)))}function Di(t){var n=0,r=0;return function(){var o=wn(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(e,arguments)}}function ji(t,n){var r=-1,o=t.length,i=o-1;for(n=n===e?o:n;++r<n;){var a=Gr(r,i),s=t[a];t[a]=t[r],t[r]=s}return t.length=n,t}var Bi,Ni,Vi,Fi=(Bi=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Q,(function(e,n,r,o){t.push(r?o.replace(ue,"$1"):n||e)})),t},Ni=Na(Bi,(function(e){return 500===Vi.size&&Vi.clear(),e})),Vi=Ni.cache,Ni);function qi(e){if("string"==typeof e||ps(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Wi(e){if(null!=e){try{return Re.call(e)}catch(Ax){}try{return e+""}catch(Ax){}}return""}function zi(e){if(e instanceof Hn)return e.clone();var t=new zn(e.__wrapped__,e.__chain__);return t.__actions__=Mo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Hi=Zr((function(e,t){return Ka(e)?fr(e,yr(t,1,Ka,!0)):[]})),Ui=Zr((function(t,n){var r=ta(n);return Ka(r)&&(r=e),Ka(t)?fr(t,yr(n,1,Ka,!0),ci(r,2)):[]})),Yi=Zr((function(t,n){var r=ta(n);return Ka(r)&&(r=e),Ka(t)?fr(t,yr(n,1,Ka,!0),e,r):[]}));function Xi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:_s(n);return o<0&&(o=_n(r+o,0)),Dt(e,ci(t,3),o)}function Gi(t,n,r){var o=null==t?0:t.length;if(!o)return-1;var i=o-1;return r!==e&&(i=_s(r),i=r<0?_n(o+i,0):bn(i,o-1)),Dt(t,ci(n,3),i,!0)}function Ji(e){return null!=e&&e.length?yr(e,1):[]}function Zi(t){return t&&t.length?t[0]:e}var Ki=Zr((function(e){var t=Ot(e,_o);return t.length&&t[0]===e[0]?Ir(t):[]})),Qi=Zr((function(t){var n=ta(t),r=Ot(t,_o);return n===ta(r)?n=e:r.pop(),r.length&&r[0]===t[0]?Ir(r,ci(n,2)):[]})),ea=Zr((function(t){var n=ta(t),r=Ot(t,_o);return(n="function"==typeof n?n:e)&&r.pop(),r.length&&r[0]===t[0]?Ir(r,e,n):[]}));function ta(t){var n=null==t?0:t.length;return n?t[n-1]:e}var na=Zr(ra);function ra(e,t){return e&&e.length&&t&&t.length?Yr(e,t):e}var oa=oi((function(e,t){var n=null==e?0:e.length,r=sr(e,t);return Xr(e,Ot(t,(function(e){return bi(e,n)?+e:e})).sort($o)),r}));function ia(e){return null==e?e:Sn.call(e)}var aa=Zr((function(e){return fo(yr(e,1,Ka,!0))})),sa=Zr((function(t){var n=ta(t);return Ka(n)&&(n=e),fo(yr(t,1,Ka,!0),ci(n,2))})),la=Zr((function(t){var n=ta(t);return n="function"==typeof n?n:e,fo(yr(t,1,Ka,!0),e,n)}));function ua(e){if(!e||!e.length)return[];var t=0;return e=Et(e,(function(e){if(Ka(e))return t=_n(e.length,t),!0})),Ht(t,(function(t){return Ot(e,Ft(t))}))}function ca(t,n){if(!t||!t.length)return[];var r=ua(t);return null==n?r:Ot(r,(function(t){return wt(n,e,t)}))}var da=Zr((function(e,t){return Ka(e)?fr(e,t):[]})),fa=Zr((function(e){return vo(Et(e,Ka))})),pa=Zr((function(t){var n=ta(t);return Ka(n)&&(n=e),vo(Et(t,Ka),ci(n,2))})),ha=Zr((function(t){var n=ta(t);return n="function"==typeof n?n:e,vo(Et(t,Ka),e,n)})),ga=Zr(ua),ma=Zr((function(t){var n=t.length,r=n>1?t[n-1]:e;return r="function"==typeof r?(t.pop(),r):e,ca(t,r)}));function va(e){var t=Fn(e);return t.__chain__=!0,t}function ya(e,t){return t(e)}var _a=oi((function(t){var n=t.length,r=n?t[0]:0,o=this.__wrapped__,i=function(e){return sr(e,t)};return!(n>1||this.__actions__.length)&&o instanceof Hn&&bi(r)?((o=o.slice(r,+r+(n?1:0))).__actions__.push({func:ya,args:[i],thisArg:e}),new zn(o,this.__chain__).thru((function(t){return n&&!t.length&&t.push(e),t}))):this.thru(i)})),ba=Po((function(e,t,n){De.call(e,n)?++e[n]:ar(e,n,1)})),wa=Vo(Xi),xa=Vo(Gi);function Ta(e,t){return(Ga(e)?Tt:pr)(e,ci(t,3))}function Sa(e,t){return(Ga(e)?St:hr)(e,ci(t,3))}var ka=Po((function(e,t,n){De.call(e,n)?e[n].push(t):ar(e,n,[t])})),Ea=Zr((function(e,t,n){var r=-1,o="function"==typeof t,i=Za(e)?xe(e.length):[];return pr(e,(function(e){i[++r]=o?wt(t,e,n):Mr(e,t,n)})),i})),Ca=Po((function(e,t,n){ar(e,n,t)}));function $a(e,t){return(Ga(e)?Ot:Vr)(e,ci(t,3))}var Oa=Po((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ia=Zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wi(e,t[0],t[1])?t=[]:n>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Hr(e,yr(t,1),[])})),Ma=ht||function(){return ut.Date.now()};function Aa(t,n,r){return n=r?e:n,n=t&&null==n?t.length:n,Qo(t,s,e,e,e,e,n)}function Pa(n,r){var o;if("function"!=typeof r)throw new Ie(t);return n=_s(n),function(){return--n>0&&(o=r.apply(this,arguments)),n<=1&&(r=e),o}}var La=Zr((function(e,t,n){var r=1;if(n.length){var o=an(n,ui(La));r|=i}return Qo(e,r,t,n,o)})),Ra=Zr((function(e,t,n){var r=3;if(n.length){var o=an(n,ui(Ra));r|=i}return Qo(t,r,e,n,o)}));function Da(n,r,o){var i,a,s,l,u,c,d=0,f=!1,p=!1,h=!0;if("function"!=typeof n)throw new Ie(t);function g(t){var r=i,o=a;return i=a=e,d=t,l=n.apply(o,r)}function m(e){return d=e,u=Pi(y,r),f?g(e):l}function v(t){var n=t-c;return c===e||n>=r||n<0||p&&t-d>=s}function y(){var e=Ma();if(v(e))return _(e);u=Pi(y,function(e){var t=r-(e-c);return p?bn(t,s-(e-d)):t}(e))}function _(t){return u=e,h&&i?g(t):(i=a=e,l)}function b(){var t=Ma(),n=v(t);if(i=arguments,a=this,c=t,n){if(u===e)return m(c);if(p)return So(u),u=Pi(y,r),g(c)}return u===e&&(u=Pi(y,r)),l}return r=ws(r)||0,is(o)&&(f=!!o.leading,s=(p="maxWait"in o)?_n(ws(o.maxWait)||0,r):s,h="trailing"in o?!!o.trailing:h),b.cancel=function(){u!==e&&So(u),d=0,i=c=a=u=e},b.flush=function(){return u===e?l:_(Ma())},b}var ja=Zr((function(e,t){return dr(e,1,t)})),Ba=Zr((function(e,t,n){return dr(e,ws(t)||0,n)}));function Na(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw new Ie(t);var r=function(){var t=arguments,o=n?n.apply(this,t):t[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,t);return r.cache=i.set(o,a)||i,a};return r.cache=new(Na.Cache||Xn),r}function Va(e){if("function"!=typeof e)throw new Ie(t);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Na.Cache=Xn;var Fa=xo((function(e,t){var n=(t=1==t.length&&Ga(t[0])?Ot(t[0],Yt(ci())):Ot(yr(t,1),Yt(ci()))).length;return Zr((function(r){for(var o=-1,i=bn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return wt(e,this,r)}))})),qa=Zr((function(t,n){var r=an(n,ui(qa));return Qo(t,i,e,n,r)})),Wa=Zr((function(t,n){var r=an(n,ui(Wa));return Qo(t,a,e,n,r)})),za=oi((function(t,n){return Qo(t,l,e,e,e,n)}));function Ha(e,t){return e===t||e!=e&&t!=t}var Ua=Xo(Cr),Ya=Xo((function(e,t){return e>=t})),Xa=Ar(function(){return arguments}())?Ar:function(e){return as(e)&&De.call(e,"callee")&&!Ke.call(e,"callee")},Ga=xe.isArray,Ja=gt?Yt(gt):function(e){return as(e)&&Er(e)==I};function Za(e){return null!=e&&os(e.length)&&!ns(e)}function Ka(e){return as(e)&&Za(e)}var Qa=gn||wl,es=mt?Yt(mt):function(e){return as(e)&&Er(e)==v};function ts(e){if(!as(e))return!1;var t=Er(e);return t==y||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!us(e)}function ns(e){if(!is(e))return!1;var t=Er(e);return t==_||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function rs(e){return"number"==typeof e&&e==_s(e)}function os(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function is(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function as(e){return null!=e&&"object"==typeof e}var ss=vt?Yt(vt):function(e){return as(e)&&mi(e)==w};function ls(e){return"number"==typeof e||as(e)&&Er(e)==x}function us(e){if(!as(e)||Er(e)!=T)return!1;var t=Ye(e);if(null===t)return!0;var n=De.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Re.call(n)==Ve}var cs=yt?Yt(yt):function(e){return as(e)&&Er(e)==k},ds=_t?Yt(_t):function(e){return as(e)&&mi(e)==E};function fs(e){return"string"==typeof e||!Ga(e)&&as(e)&&Er(e)==C}function ps(e){return"symbol"==typeof e||as(e)&&Er(e)==$}var hs=bt?Yt(bt):function(e){return as(e)&&os(e.length)&&!!nt[Er(e)]},gs=Xo(Nr),ms=Xo((function(e,t){return e<=t}));function vs(e){if(!e)return[];if(Za(e))return fs(e)?un(e):Mo(e);if(lt&&e[lt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[lt]());var t=mi(e);return(t==w?rn:t==E?sn:Hs)(e)}function ys(e){return e?(e=ws(e))===u||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function _s(e){var t=ys(e),n=t%1;return t==t?n?t-n:t:0}function bs(e){return e?lr(_s(e),0,f):0}function ws(e){if("number"==typeof e)return e;if(ps(e))return d;if(is(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=is(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ut(e);var n=pe.test(e);return n||ge.test(e)?at(e.slice(2),n?2:8):fe.test(e)?d:+e}function xs(e){return Ao(e,js(e))}function Ts(e){return null==e?"":co(e)}var Ss=Lo((function(e,t){if(ki(t)||Za(t))Ao(t,Ds(t),e);else for(var n in t)De.call(t,n)&&nr(e,n,t[n])})),ks=Lo((function(e,t){Ao(t,js(t),e)})),Es=Lo((function(e,t,n,r){Ao(t,js(t),e,r)})),Cs=Lo((function(e,t,n,r){Ao(t,Ds(t),e,r)})),$s=oi(sr),Os=Zr((function(t,n){t=Ce(t);var r=-1,o=n.length,i=o>2?n[2]:e;for(i&&wi(n[0],n[1],i)&&(o=1);++r<o;)for(var a=n[r],s=js(a),l=-1,u=s.length;++l<u;){var c=s[l],d=t[c];(d===e||Ha(d,Pe[c])&&!De.call(t,c))&&(t[c]=a[c])}return t})),Is=Zr((function(t){return t.push(e,ti),wt(Ns,e,t)}));function Ms(t,n,r){var o=null==t?e:Sr(t,n);return o===e?r:o}function As(e,t){return null!=e&&vi(e,t,Or)}var Ps=Wo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ne.call(t)),e[t]=n}),il(ll)),Ls=Wo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ne.call(t)),De.call(e,t)?e[t].push(n):e[t]=[n]}),ci),Rs=Zr(Mr);function Ds(e){return Za(e)?Zn(e):jr(e)}function js(e){return Za(e)?Zn(e,!0):Br(e)}var Bs=Lo((function(e,t,n){Wr(e,t,n)})),Ns=Lo((function(e,t,n,r){Wr(e,t,n,r)})),Vs=oi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Ot(t,(function(t){return t=wo(t,e),r||(r=t.length>1),t})),Ao(e,ai(e),n),r&&(n=ur(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n})),Fs=oi((function(e,t){return null==e?{}:function(e,t){return Ur(e,t,(function(t,n){return As(e,n)}))}(e,t)}));function qs(e,t){if(null==e)return{};var n=Ot(ai(e),(function(e){return[e]}));return t=ci(t),Ur(e,n,(function(e,n){return t(e,n[0])}))}var Ws=Ko(Ds),zs=Ko(js);function Hs(e){return null==e?[]:Xt(e,Ds(e))}var Us=Bo((function(e,t,n){return t=t.toLowerCase(),e+(n?Ys(t):t)}));function Ys(e){return tl(Ts(e).toLowerCase())}function Xs(e){return(e=Ts(e))&&e.replace(ve,Qt).replace(Ge,"")}var Gs=Bo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Js=Bo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Zs=jo("toLowerCase"),Ks=Bo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Qs=Bo((function(e,t,n){return e+(n?" ":"")+tl(t)})),el=Bo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),tl=jo("toUpperCase");function nl(t,n,r){return t=Ts(t),(n=r?e:n)===e?function(e){return Qe.test(e)}(t)?function(e){return e.match(Ze)||[]}(t):function(e){return e.match(se)||[]}(t):t.match(n)||[]}var rl=Zr((function(t,n){try{return wt(t,e,n)}catch(Ax){return ts(Ax)?Ax:new Se(Ax)}})),ol=oi((function(e,t){return Tt(t,(function(t){t=qi(t),ar(e,t,La(e[t],e))})),e}));function il(e){return function(){return e}}var al=Fo(),sl=Fo(!0);function ll(e){return e}function ul(e){return Dr("function"==typeof e?e:ur(e,1))}var cl=Zr((function(e,t){return function(n){return Mr(n,e,t)}})),dl=Zr((function(e,t){return function(n){return Mr(e,n,t)}}));function fl(e,t,n){var r=Ds(t),o=Tr(t,r);null!=n||is(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Tr(t,Ds(t)));var i=!(is(n)&&"chain"in n&&!n.chain),a=ns(e);return Tt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=Mo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,It([this.value()],arguments))})})),e}function pl(){}var hl=Ho(Ot),gl=Ho(kt),ml=Ho(Pt);function vl(e){return xi(e)?Ft(qi(e)):function(e){return function(t){return Sr(t,e)}}(e)}var yl=Yo(),_l=Yo(!0);function bl(){return[]}function wl(){return!1}var xl,Tl=zo((function(e,t){return e+t}),0),Sl=Jo("ceil"),kl=zo((function(e,t){return e/t}),1),El=Jo("floor"),Cl=zo((function(e,t){return e*t}),1),$l=Jo("round"),Ol=zo((function(e,t){return e-t}),0);return Fn.after=function(e,n){if("function"!=typeof n)throw new Ie(t);return e=_s(e),function(){if(--e<1)return n.apply(this,arguments)}},Fn.ary=Aa,Fn.assign=Ss,Fn.assignIn=ks,Fn.assignInWith=Es,Fn.assignWith=Cs,Fn.at=$s,Fn.before=Pa,Fn.bind=La,Fn.bindAll=ol,Fn.bindKey=Ra,Fn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},Fn.chain=va,Fn.chunk=function(t,n,r){n=(r?wi(t,n,r):n===e)?1:_n(_s(n),0);var o=null==t?0:t.length;if(!o||n<1)return[];for(var i=0,a=0,s=xe(qt(o/n));i<o;)s[a++]=oo(t,i,i+=n);return s},Fn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Fn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=xe(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return It(Ga(n)?Mo(n):[n],yr(t,1))},Fn.cond=function(e){var n=null==e?0:e.length,r=ci();return e=n?Ot(e,(function(e){if("function"!=typeof e[1])throw new Ie(t);return[r(e[0]),e[1]]})):[],Zr((function(t){for(var r=-1;++r<n;){var o=e[r];if(wt(o[0],this,t))return wt(o[1],this,t)}}))},Fn.conforms=function(e){return function(e){var t=Ds(e);return function(n){return cr(n,e,t)}}(ur(e,1))},Fn.constant=il,Fn.countBy=ba,Fn.create=function(e,t){var n=qn(e);return null==t?n:ir(n,t)},Fn.curry=function t(n,r,o){var i=Qo(n,8,e,e,e,e,e,r=o?e:r);return i.placeholder=t.placeholder,i},Fn.curryRight=function t(n,r,i){var a=Qo(n,o,e,e,e,e,e,r=i?e:r);return a.placeholder=t.placeholder,a},Fn.debounce=Da,Fn.defaults=Os,Fn.defaultsDeep=Is,Fn.defer=ja,Fn.delay=Ba,Fn.difference=Hi,Fn.differenceBy=Ui,Fn.differenceWith=Yi,Fn.drop=function(t,n,r){var o=null==t?0:t.length;return o?oo(t,(n=r||n===e?1:_s(n))<0?0:n,o):[]},Fn.dropRight=function(t,n,r){var o=null==t?0:t.length;return o?oo(t,0,(n=o-(n=r||n===e?1:_s(n)))<0?0:n):[]},Fn.dropRightWhile=function(e,t){return e&&e.length?go(e,ci(t,3),!0,!0):[]},Fn.dropWhile=function(e,t){return e&&e.length?go(e,ci(t,3),!0):[]},Fn.fill=function(t,n,r,o){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&wi(t,n,r)&&(r=0,o=i),function(t,n,r,o){var i=t.length;for((r=_s(r))<0&&(r=-r>i?0:i+r),(o=o===e||o>i?i:_s(o))<0&&(o+=i),o=r>o?0:bs(o);r<o;)t[r++]=n;return t}(t,n,r,o)):[]},Fn.filter=function(e,t){return(Ga(e)?Et:vr)(e,ci(t,3))},Fn.flatMap=function(e,t){return yr($a(e,t),1)},Fn.flatMapDeep=function(e,t){return yr($a(e,t),u)},Fn.flatMapDepth=function(t,n,r){return r=r===e?1:_s(r),yr($a(t,n),r)},Fn.flatten=Ji,Fn.flattenDeep=function(e){return null!=e&&e.length?yr(e,u):[]},Fn.flattenDepth=function(t,n){return null!=t&&t.length?yr(t,n=n===e?1:_s(n)):[]},Fn.flip=function(e){return Qo(e,512)},Fn.flow=al,Fn.flowRight=sl,Fn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Fn.functions=function(e){return null==e?[]:Tr(e,Ds(e))},Fn.functionsIn=function(e){return null==e?[]:Tr(e,js(e))},Fn.groupBy=ka,Fn.initial=function(e){return null!=e&&e.length?oo(e,0,-1):[]},Fn.intersection=Ki,Fn.intersectionBy=Qi,Fn.intersectionWith=ea,Fn.invert=Ps,Fn.invertBy=Ls,Fn.invokeMap=Ea,Fn.iteratee=ul,Fn.keyBy=Ca,Fn.keys=Ds,Fn.keysIn=js,Fn.map=$a,Fn.mapKeys=function(e,t){var n={};return t=ci(t,3),wr(e,(function(e,r,o){ar(n,t(e,r,o),e)})),n},Fn.mapValues=function(e,t){var n={};return t=ci(t,3),wr(e,(function(e,r,o){ar(n,r,t(e,r,o))})),n},Fn.matches=function(e){return Fr(ur(e,1))},Fn.matchesProperty=function(e,t){return qr(e,ur(t,1))},Fn.memoize=Na,Fn.merge=Bs,Fn.mergeWith=Ns,Fn.method=cl,Fn.methodOf=dl,Fn.mixin=fl,Fn.negate=Va,Fn.nthArg=function(e){return e=_s(e),Zr((function(t){return zr(t,e)}))},Fn.omit=Vs,Fn.omitBy=function(e,t){return qs(e,Va(ci(t)))},Fn.once=function(e){return Pa(2,e)},Fn.orderBy=function(t,n,r,o){return null==t?[]:(Ga(n)||(n=null==n?[]:[n]),Ga(r=o?e:r)||(r=null==r?[]:[r]),Hr(t,n,r))},Fn.over=hl,Fn.overArgs=Fa,Fn.overEvery=gl,Fn.overSome=ml,Fn.partial=qa,Fn.partialRight=Wa,Fn.partition=Oa,Fn.pick=Fs,Fn.pickBy=qs,Fn.property=vl,Fn.propertyOf=function(t){return function(n){return null==t?e:Sr(t,n)}},Fn.pull=na,Fn.pullAll=ra,Fn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,ci(n,2)):e},Fn.pullAllWith=function(t,n,r){return t&&t.length&&n&&n.length?Yr(t,n,e,r):t},Fn.pullAt=oa,Fn.range=yl,Fn.rangeRight=_l,Fn.rearg=za,Fn.reject=function(e,t){return(Ga(e)?Et:vr)(e,Va(ci(t,3)))},Fn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ci(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Xr(e,o),n},Fn.rest=function(n,r){if("function"!=typeof n)throw new Ie(t);return Zr(n,r=r===e?r:_s(r))},Fn.reverse=ia,Fn.sampleSize=function(t,n,r){return n=(r?wi(t,n,r):n===e)?1:_s(n),(Ga(t)?Qn:Qr)(t,n)},Fn.set=function(e,t,n){return null==e?e:eo(e,t,n)},Fn.setWith=function(t,n,r,o){return o="function"==typeof o?o:e,null==t?t:eo(t,n,r,o)},Fn.shuffle=function(e){return(Ga(e)?er:ro)(e)},Fn.slice=function(t,n,r){var o=null==t?0:t.length;return o?(r&&"number"!=typeof r&&wi(t,n,r)?(n=0,r=o):(n=null==n?0:_s(n),r=r===e?o:_s(r)),oo(t,n,r)):[]},Fn.sortBy=Ia,Fn.sortedUniq=function(e){return e&&e.length?lo(e):[]},Fn.sortedUniqBy=function(e,t){return e&&e.length?lo(e,ci(t,2)):[]},Fn.split=function(t,n,r){return r&&"number"!=typeof r&&wi(t,n,r)&&(n=r=e),(r=r===e?f:r>>>0)?(t=Ts(t))&&("string"==typeof n||null!=n&&!cs(n))&&!(n=co(n))&&nn(t)?To(un(t),0,r):t.split(n,r):[]},Fn.spread=function(e,n){if("function"!=typeof e)throw new Ie(t);return n=null==n?0:_n(_s(n),0),Zr((function(t){var r=t[n],o=To(t,0,n);return r&&It(o,r),wt(e,this,o)}))},Fn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Fn.take=function(t,n,r){return t&&t.length?oo(t,0,(n=r||n===e?1:_s(n))<0?0:n):[]},Fn.takeRight=function(t,n,r){var o=null==t?0:t.length;return o?oo(t,(n=o-(n=r||n===e?1:_s(n)))<0?0:n,o):[]},Fn.takeRightWhile=function(e,t){return e&&e.length?go(e,ci(t,3),!1,!0):[]},Fn.takeWhile=function(e,t){return e&&e.length?go(e,ci(t,3)):[]},Fn.tap=function(e,t){return t(e),e},Fn.throttle=function(e,n,r){var o=!0,i=!0;if("function"!=typeof e)throw new Ie(t);return is(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),Da(e,n,{leading:o,maxWait:n,trailing:i})},Fn.thru=ya,Fn.toArray=vs,Fn.toPairs=Ws,Fn.toPairsIn=zs,Fn.toPath=function(e){return Ga(e)?Ot(e,qi):ps(e)?[e]:Mo(Fi(Ts(e)))},Fn.toPlainObject=xs,Fn.transform=function(e,t,n){var r=Ga(e),o=r||Qa(e)||hs(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:is(e)&&ns(i)?qn(Ye(e)):{}}return(o?Tt:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Fn.unary=function(e){return Aa(e,1)},Fn.union=aa,Fn.unionBy=sa,Fn.unionWith=la,Fn.uniq=function(e){return e&&e.length?fo(e):[]},Fn.uniqBy=function(e,t){return e&&e.length?fo(e,ci(t,2)):[]},Fn.uniqWith=function(t,n){return n="function"==typeof n?n:e,t&&t.length?fo(t,e,n):[]},Fn.unset=function(e,t){return null==e||po(e,t)},Fn.unzip=ua,Fn.unzipWith=ca,Fn.update=function(e,t,n){return null==e?e:ho(e,t,bo(n))},Fn.updateWith=function(t,n,r,o){return o="function"==typeof o?o:e,null==t?t:ho(t,n,bo(r),o)},Fn.values=Hs,Fn.valuesIn=function(e){return null==e?[]:Xt(e,js(e))},Fn.without=da,Fn.words=nl,Fn.wrap=function(e,t){return qa(bo(t),e)},Fn.xor=fa,Fn.xorBy=pa,Fn.xorWith=ha,Fn.zip=ga,Fn.zipObject=function(e,t){return yo(e||[],t||[],nr)},Fn.zipObjectDeep=function(e,t){return yo(e||[],t||[],eo)},Fn.zipWith=ma,Fn.entries=Ws,Fn.entriesIn=zs,Fn.extend=ks,Fn.extendWith=Es,fl(Fn,Fn),Fn.add=Tl,Fn.attempt=rl,Fn.camelCase=Us,Fn.capitalize=Ys,Fn.ceil=Sl,Fn.clamp=function(t,n,r){return r===e&&(r=n,n=e),r!==e&&(r=(r=ws(r))==r?r:0),n!==e&&(n=(n=ws(n))==n?n:0),lr(ws(t),n,r)},Fn.clone=function(e){return ur(e,4)},Fn.cloneDeep=function(e){return ur(e,5)},Fn.cloneDeepWith=function(t,n){return ur(t,5,n="function"==typeof n?n:e)},Fn.cloneWith=function(t,n){return ur(t,4,n="function"==typeof n?n:e)},Fn.conformsTo=function(e,t){return null==t||cr(e,t,Ds(t))},Fn.deburr=Xs,Fn.defaultTo=function(e,t){return null==e||e!=e?t:e},Fn.divide=kl,Fn.endsWith=function(t,n,r){t=Ts(t),n=co(n);var o=t.length,i=r=r===e?o:lr(_s(r),0,o);return(r-=n.length)>=0&&t.slice(r,i)==n},Fn.eq=Ha,Fn.escape=function(e){return(e=Ts(e))&&Y.test(e)?e.replace(H,en):e},Fn.escapeRegExp=function(e){return(e=Ts(e))&&te.test(e)?e.replace(ee,"\\$&"):e},Fn.every=function(t,n,r){var o=Ga(t)?kt:gr;return r&&wi(t,n,r)&&(n=e),o(t,ci(n,3))},Fn.find=wa,Fn.findIndex=Xi,Fn.findKey=function(e,t){return Rt(e,ci(t,3),wr)},Fn.findLast=xa,Fn.findLastIndex=Gi,Fn.findLastKey=function(e,t){return Rt(e,ci(t,3),xr)},Fn.floor=El,Fn.forEach=Ta,Fn.forEachRight=Sa,Fn.forIn=function(e,t){return null==e?e:_r(e,ci(t,3),js)},Fn.forInRight=function(e,t){return null==e?e:br(e,ci(t,3),js)},Fn.forOwn=function(e,t){return e&&wr(e,ci(t,3))},Fn.forOwnRight=function(e,t){return e&&xr(e,ci(t,3))},Fn.get=Ms,Fn.gt=Ua,Fn.gte=Ya,Fn.has=function(e,t){return null!=e&&vi(e,t,$r)},Fn.hasIn=As,Fn.head=Zi,Fn.identity=ll,Fn.includes=function(e,t,n,r){e=Za(e)?e:Hs(e),n=n&&!r?_s(n):0;var o=e.length;return n<0&&(n=_n(o+n,0)),fs(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&jt(e,t,n)>-1},Fn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:_s(n);return o<0&&(o=_n(r+o,0)),jt(e,t,o)},Fn.inRange=function(t,n,r){return n=ys(n),r===e?(r=n,n=0):r=ys(r),function(e,t,n){return e>=bn(t,n)&&e<_n(t,n)}(t=ws(t),n,r)},Fn.invoke=Rs,Fn.isArguments=Xa,Fn.isArray=Ga,Fn.isArrayBuffer=Ja,Fn.isArrayLike=Za,Fn.isArrayLikeObject=Ka,Fn.isBoolean=function(e){return!0===e||!1===e||as(e)&&Er(e)==m},Fn.isBuffer=Qa,Fn.isDate=es,Fn.isElement=function(e){return as(e)&&1===e.nodeType&&!us(e)},Fn.isEmpty=function(e){if(null==e)return!0;if(Za(e)&&(Ga(e)||"string"==typeof e||"function"==typeof e.splice||Qa(e)||hs(e)||Xa(e)))return!e.length;var t=mi(e);if(t==w||t==E)return!e.size;if(ki(e))return!jr(e).length;for(var n in e)if(De.call(e,n))return!1;return!0},Fn.isEqual=function(e,t){return Pr(e,t)},Fn.isEqualWith=function(t,n,r){var o=(r="function"==typeof r?r:e)?r(t,n):e;return o===e?Pr(t,n,e,r):!!o},Fn.isError=ts,Fn.isFinite=function(e){return"number"==typeof e&&mn(e)},Fn.isFunction=ns,Fn.isInteger=rs,Fn.isLength=os,Fn.isMap=ss,Fn.isMatch=function(e,t){return e===t||Lr(e,t,fi(t))},Fn.isMatchWith=function(t,n,r){return r="function"==typeof r?r:e,Lr(t,n,fi(n),r)},Fn.isNaN=function(e){return ls(e)&&e!=+e},Fn.isNative=function(e){if(Si(e))throw new Se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Rr(e)},Fn.isNil=function(e){return null==e},Fn.isNull=function(e){return null===e},Fn.isNumber=ls,Fn.isObject=is,Fn.isObjectLike=as,Fn.isPlainObject=us,Fn.isRegExp=cs,Fn.isSafeInteger=function(e){return rs(e)&&e>=-9007199254740991&&e<=c},Fn.isSet=ds,Fn.isString=fs,Fn.isSymbol=ps,Fn.isTypedArray=hs,Fn.isUndefined=function(t){return t===e},Fn.isWeakMap=function(e){return as(e)&&mi(e)==O},Fn.isWeakSet=function(e){return as(e)&&"[object WeakSet]"==Er(e)},Fn.join=function(e,t){return null==e?"":vn.call(e,t)},Fn.kebabCase=Gs,Fn.last=ta,Fn.lastIndexOf=function(t,n,r){var o=null==t?0:t.length;if(!o)return-1;var i=o;return r!==e&&(i=(i=_s(r))<0?_n(o+i,0):bn(i,o-1)),n==n?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(t,n,i):Dt(t,Nt,i,!0)},Fn.lowerCase=Js,Fn.lowerFirst=Zs,Fn.lt=gs,Fn.lte=ms,Fn.max=function(t){return t&&t.length?mr(t,ll,Cr):e},Fn.maxBy=function(t,n){return t&&t.length?mr(t,ci(n,2),Cr):e},Fn.mean=function(e){return Vt(e,ll)},Fn.meanBy=function(e,t){return Vt(e,ci(t,2))},Fn.min=function(t){return t&&t.length?mr(t,ll,Nr):e},Fn.minBy=function(t,n){return t&&t.length?mr(t,ci(n,2),Nr):e},Fn.stubArray=bl,Fn.stubFalse=wl,Fn.stubObject=function(){return{}},Fn.stubString=function(){return""},Fn.stubTrue=function(){return!0},Fn.multiply=Cl,Fn.nth=function(t,n){return t&&t.length?zr(t,_s(n)):e},Fn.noConflict=function(){return ut._===this&&(ut._=Fe),this},Fn.noop=pl,Fn.now=Ma,Fn.pad=function(e,t,n){e=Ts(e);var r=(t=_s(t))?ln(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Uo(pn(o),n)+e+Uo(qt(o),n)},Fn.padEnd=function(e,t,n){e=Ts(e);var r=(t=_s(t))?ln(e):0;return t&&r<t?e+Uo(t-r,n):e},Fn.padStart=function(e,t,n){e=Ts(e);var r=(t=_s(t))?ln(e):0;return t&&r<t?Uo(t-r,n)+e:e},Fn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),xn(Ts(e).replace(ne,""),t||0)},Fn.random=function(t,n,r){if(r&&"boolean"!=typeof r&&wi(t,n,r)&&(n=r=e),r===e&&("boolean"==typeof n?(r=n,n=e):"boolean"==typeof t&&(r=t,t=e)),t===e&&n===e?(t=0,n=1):(t=ys(t),n===e?(n=t,t=0):n=ys(n)),t>n){var o=t;t=n,n=o}if(r||t%1||n%1){var i=Tn();return bn(t+i*(n-t+it("1e-"+((i+"").length-1))),n)}return Gr(t,n)},Fn.reduce=function(e,t,n){var r=Ga(e)?Mt:Wt,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},Fn.reduceRight=function(e,t,n){var r=Ga(e)?At:Wt,o=arguments.length<3;return r(e,ci(t,4),n,o,hr)},Fn.repeat=function(t,n,r){return n=(r?wi(t,n,r):n===e)?1:_s(n),Jr(Ts(t),n)},Fn.replace=function(){var e=arguments,t=Ts(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fn.result=function(t,n,r){var o=-1,i=(n=wo(n,t)).length;for(i||(i=1,t=e);++o<i;){var a=null==t?e:t[qi(n[o])];a===e&&(o=i,a=r),t=ns(a)?a.call(t):a}return t},Fn.round=$l,Fn.runInContext=re,Fn.sample=function(e){return(Ga(e)?Kn:Kr)(e)},Fn.size=function(e){if(null==e)return 0;if(Za(e))return fs(e)?ln(e):e.length;var t=mi(e);return t==w||t==E?e.size:jr(e).length},Fn.snakeCase=Ks,Fn.some=function(t,n,r){var o=Ga(t)?Pt:io;return r&&wi(t,n,r)&&(n=e),o(t,ci(n,3))},Fn.sortedIndex=function(e,t){return ao(e,t)},Fn.sortedIndexBy=function(e,t,n){return so(e,t,ci(n,2))},Fn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ao(e,t);if(r<n&&Ha(e[r],t))return r}return-1},Fn.sortedLastIndex=function(e,t){return ao(e,t,!0)},Fn.sortedLastIndexBy=function(e,t,n){return so(e,t,ci(n,2),!0)},Fn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ao(e,t,!0)-1;if(Ha(e[n],t))return n}return-1},Fn.startCase=Qs,Fn.startsWith=function(e,t,n){return e=Ts(e),n=null==n?0:lr(_s(n),0,e.length),t=co(t),e.slice(n,n+t.length)==t},Fn.subtract=Ol,Fn.sum=function(e){return e&&e.length?zt(e,ll):0},Fn.sumBy=function(e,t){return e&&e.length?zt(e,ci(t,2)):0},Fn.template=function(t,n,r){var o=Fn.templateSettings;r&&wi(t,n,r)&&(n=e),t=Ts(t),n=Es({},n,o,ei);var i,a,s=Es({},n.imports,o.imports,ei),l=Ds(s),u=Xt(s,l),c=0,d=n.interpolate||ye,f="__p += '",p=$e((n.escape||ye).source+"|"+d.source+"|"+(d===J?ce:ye).source+"|"+(n.evaluate||ye).source+"|$","g"),h="//# sourceURL="+(De.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tt+"]")+"\n";t.replace(p,(function(e,n,r,o,s,l){return r||(r=o),f+=t.slice(c,l).replace(_e,tn),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+e.length,e})),f+="';\n";var g=De.call(n,"variable")&&n.variable;if(g){if(le.test(g))throw new Se("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(F,""):f).replace(q,"$1").replace(W,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=rl((function(){return ke(l,h+"return "+f).apply(e,u)}));if(m.source=f,ts(m))throw m;return m},Fn.times=function(e,t){if((e=_s(e))<1||e>c)return[];var n=f,r=bn(e,f);t=ci(t),e-=f;for(var o=Ht(r,t);++n<e;)t(n);return o},Fn.toFinite=ys,Fn.toInteger=_s,Fn.toLength=bs,Fn.toLower=function(e){return Ts(e).toLowerCase()},Fn.toNumber=ws,Fn.toSafeInteger=function(e){return e?lr(_s(e),-9007199254740991,c):0===e?e:0},Fn.toString=Ts,Fn.toUpper=function(e){return Ts(e).toUpperCase()},Fn.trim=function(t,n,r){if((t=Ts(t))&&(r||n===e))return Ut(t);if(!t||!(n=co(n)))return t;var o=un(t),i=un(n);return To(o,Jt(o,i),Zt(o,i)+1).join("")},Fn.trimEnd=function(t,n,r){if((t=Ts(t))&&(r||n===e))return t.slice(0,cn(t)+1);if(!t||!(n=co(n)))return t;var o=un(t);return To(o,0,Zt(o,un(n))+1).join("")},Fn.trimStart=function(t,n,r){if((t=Ts(t))&&(r||n===e))return t.replace(ne,"");if(!t||!(n=co(n)))return t;var o=un(t);return To(o,Jt(o,un(n))).join("")},Fn.truncate=function(t,n){var r=30,o="...";if(is(n)){var i="separator"in n?n.separator:i;r="length"in n?_s(n.length):r,o="omission"in n?co(n.omission):o}var a=(t=Ts(t)).length;if(nn(t)){var s=un(t);a=s.length}if(r>=a)return t;var l=r-ln(o);if(l<1)return o;var u=s?To(s,0,l).join(""):t.slice(0,l);if(i===e)return u+o;if(s&&(l+=u.length-l),cs(i)){if(t.slice(l).search(i)){var c,d=u;for(i.global||(i=$e(i.source,Ts(de.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var f=c.index;u=u.slice(0,f===e?l:f)}}else if(t.indexOf(co(i),l)!=l){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+o},Fn.unescape=function(e){return(e=Ts(e))&&U.test(e)?e.replace(z,dn):e},Fn.uniqueId=function(e){var t=++je;return Ts(e)+t},Fn.upperCase=el,Fn.upperFirst=tl,Fn.each=Ta,Fn.eachRight=Sa,Fn.first=Zi,fl(Fn,(xl={},wr(Fn,(function(e,t){De.call(Fn.prototype,t)||(xl[t]=e)})),xl),{chain:!1}),Fn.VERSION="4.17.21",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fn[e].placeholder=Fn})),Tt(["drop","take"],(function(t,n){Hn.prototype[t]=function(r){r=r===e?1:_n(_s(r),0);var o=this.__filtered__&&!n?new Hn(this):this.clone();return o.__filtered__?o.__takeCount__=bn(r,o.__takeCount__):o.__views__.push({size:bn(r,f),type:t+(o.__dir__<0?"Right":"")}),o},Hn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Tt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Hn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Tt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Hn.prototype[e]=function(){return this[n](1).value()[0]}})),Tt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Hn.prototype[e]=function(){return this.__filtered__?new Hn(this):this[n](1)}})),Hn.prototype.compact=function(){return this.filter(ll)},Hn.prototype.find=function(e){return this.filter(e).head()},Hn.prototype.findLast=function(e){return this.reverse().find(e)},Hn.prototype.invokeMap=Zr((function(e,t){return"function"==typeof e?new Hn(this):this.map((function(n){return Mr(n,e,t)}))})),Hn.prototype.reject=function(e){return this.filter(Va(ci(e)))},Hn.prototype.slice=function(t,n){t=_s(t);var r=this;return r.__filtered__&&(t>0||n<0)?new Hn(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),n!==e&&(r=(n=_s(n))<0?r.dropRight(-n):r.take(n-t)),r)},Hn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Hn.prototype.toArray=function(){return this.take(f)},wr(Hn.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),o=/^(?:head|last)$/.test(n),i=Fn[o?"take"+("last"==n?"Right":""):n],a=o||/^find/.test(n);i&&(Fn.prototype[n]=function(){var n=this.__wrapped__,s=o?[1]:arguments,l=n instanceof Hn,u=s[0],c=l||Ga(n),d=function(e){var t=i.apply(Fn,It([e],s));return o&&f?t[0]:t};c&&r&&"function"==typeof u&&1!=u.length&&(l=c=!1);var f=this.__chain__,p=!!this.__actions__.length,h=a&&!f,g=l&&!p;if(!a&&c){n=g?n:new Hn(this);var m=t.apply(n,s);return m.__actions__.push({func:ya,args:[d],thisArg:e}),new zn(m,f)}return h&&g?t.apply(this,s):(m=this.thru(d),h?o?m.value()[0]:m.value():m)})})),Tt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Me[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Fn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ga(o)?o:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),wr(Hn.prototype,(function(e,t){var n=Fn[t];if(n){var r=n.name+"";De.call(An,r)||(An[r]=[]),An[r].push({name:t,func:n})}})),An[qo(e,2).name]=[{name:"wrapper",func:e}],Hn.prototype.clone=function(){var e=new Hn(this.__wrapped__);return e.__actions__=Mo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Mo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Mo(this.__views__),e},Hn.prototype.reverse=function(){if(this.__filtered__){var e=new Hn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Hn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=bn(t,e+a);break;case"takeRight":e=_n(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,d=c.length,f=0,p=bn(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return mo(e,this.__actions__);var h=[];e:for(;l--&&f<p;){for(var g=-1,m=e[u+=t];++g<d;){var v=c[g],y=v.iteratee,_=v.type,b=y(m);if(2==_)m=b;else if(!b){if(1==_)continue e;break e}}h[f++]=m}return h},Fn.prototype.at=_a,Fn.prototype.chain=function(){return va(this)},Fn.prototype.commit=function(){return new zn(this.value(),this.__chain__)},Fn.prototype.next=function(){this.__values__===e&&(this.__values__=vs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?e:this.__values__[this.__index__++]}},Fn.prototype.plant=function(t){for(var n,r=this;r instanceof Wn;){var o=zi(r);o.__index__=0,o.__values__=e,n?i.__wrapped__=o:n=o;var i=o;r=r.__wrapped__}return i.__wrapped__=t,n},Fn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Hn){var n=t;return this.__actions__.length&&(n=new Hn(this)),(n=n.reverse()).__actions__.push({func:ya,args:[ia],thisArg:e}),new zn(n,this.__chain__)}return this.thru(ia)},Fn.prototype.toJSON=Fn.prototype.valueOf=Fn.prototype.value=function(){return mo(this.__wrapped__,this.__actions__)},Fn.prototype.first=Fn.prototype.head,lt&&(Fn.prototype[lt]=function(){return this}),Fn}();dt?((dt.exports=fn)._=fn,ct._=fn):ut._=fn}.call(Sx);var Ox=$x.exports;const Ix=kx(Ox);function Mx(e){const t=(n=e,("function"==typeof Array.isArray?Array.isArray(n):"[object Array]"===Object.prototype.toString.call(n))?e:{});var n;if(function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e))for(const r in e)e[r]&&(e[r]&&"object"==typeof e[r]?t[r]=Mx(e[r]):t[r]=e[r]);return t}var Ax,Px={exports:{}};Ax="object"==typeof window&&window,Px.exports=function(e,t){var n,r,o,i,a,s,l,u,c,d,f,p,h,g,m,v,y,_,b,w,x,T;if(e)return e.jWeixin?e.jWeixin:(n={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},r=function(){var e,t={};for(e in n)t[n[e]]=e;return t}(),o=e.document,i=o.title,a=navigator.userAgent.toLowerCase(),p=navigator.platform.toLowerCase(),s=!(!p.match("mac")&&!p.match("win")),l=-1!=a.indexOf("wxdebugger"),u=-1!=a.indexOf("micromessenger"),c=-1!=a.indexOf("android"),d=-1!=a.indexOf("iphone")||-1!=a.indexOf("ipad"),f=(p=a.match(/micromessenger\/(\d+\.\d+\.\d+)/)||a.match(/micromessenger\/(\d+\.\d+)/))?p[1]:"",h={initStartTime:A(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},g={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:d?1:c?2:-1,clientVersion:f,url:encodeURIComponent(location.href)},m={},v={_completes:[]},y={state:0,data:{}},P((function(){h.initEndTime=A()})),_=!1,b=[],w={config:function(t){I("config",m=t);var r=!1!==m.check;P((function(){if(r)S(n.config,{verifyJsApiList:O(m.jsApiList),verifyOpenTagList:O(m.openTagList)},(v._complete=function(e){h.preVerifyEndTime=A(),y.state=1,y.data=e},v.success=function(e){g.isPreVerifyOk=0},v.fail=function(e){v._fail?v._fail(e):y.state=-1},(i=v._completes).push((function(){M()})),v.complete=function(e){for(var t=0,n=i.length;t<n;++t)i[t]();v._completes=[]},v)),h.preVerifyStartTime=A();else{y.state=1;for(var e=v._completes,t=0,o=e.length;t<o;++t)e[t]();v._completes=[]}var i})),w.invoke||(w.invoke=function(t,n,r){e.WeixinJSBridge&&WeixinJSBridge.invoke(t,E(n),r)},w.on=function(t,n){e.WeixinJSBridge&&WeixinJSBridge.on(t,n)})},ready:function(e){(0!=y.state||(v._completes.push(e),!u&&m.debug))&&e()},error:function(e){f<"6.0.2"||(-1==y.state?e(y.data):v._fail=e)},checkJsApi:function(e){S("checkJsApi",{jsApiList:O(e.jsApiList)},(e._complete=function(e){c&&(n=e.checkResult)&&(e.checkResult=JSON.parse(n));var t,n=e,o=n.checkResult;for(t in o){var i=r[t];i&&(o[i]=o[t],delete o[t])}},e))},onMenuShareTimeline:function(e){k(n.onMenuShareTimeline,{complete:function(){S("shareTimeline",{title:e.title||i,desc:e.title||i,img_url:e.imgUrl||"",link:e.link||location.href,type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareAppMessage:function(e){k(n.onMenuShareAppMessage,{complete:function(t){"favorite"===t.scene?S("sendAppMessage",{title:e.title||i,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""}):S("sendAppMessage",{title:e.title||i,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareQQ:function(e){k(n.onMenuShareQQ,{complete:function(){S("shareQQ",{title:e.title||i,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareWeibo:function(e){k(n.onMenuShareWeibo,{complete:function(){S("shareWeiboApp",{title:e.title||i,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareQZone:function(e){k(n.onMenuShareQZone,{complete:function(){S("shareQZone",{title:e.title||i,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},updateTimelineShareData:function(e){S("updateTimelineShareData",{title:e.title,link:e.link,imgUrl:e.imgUrl},e)},updateAppMessageShareData:function(e){S("updateAppMessageShareData",{title:e.title,desc:e.desc,link:e.link,imgUrl:e.imgUrl},e)},startRecord:function(e){S("startRecord",{},e)},stopRecord:function(e){S("stopRecord",{},e)},onVoiceRecordEnd:function(e){k("onVoiceRecordEnd",e)},playVoice:function(e){S("playVoice",{localId:e.localId},e)},pauseVoice:function(e){S("pauseVoice",{localId:e.localId},e)},stopVoice:function(e){S("stopVoice",{localId:e.localId},e)},onVoicePlayEnd:function(e){k("onVoicePlayEnd",e)},uploadVoice:function(e){S("uploadVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadVoice:function(e){S("downloadVoice",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},translateVoice:function(e){S("translateVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},chooseImage:function(e){S("chooseImage",{scene:"1|2",count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"]},(e._complete=function(e){if(c){var t=e.localIds;try{t&&(e.localIds=JSON.parse(t))}catch(n){}}},e))},getLocation:function(e){e=e||{},S(n.getLocation,{type:e.type||"wgs84"},(e._complete=function(e){delete e.type},e))},previewImage:function(e){S(n.previewImage,{current:e.current,urls:e.urls},e)},uploadImage:function(e){S("uploadImage",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadImage:function(e){S("downloadImage",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},getLocalImgData:function(e){!1===_?(_=!0,S("getLocalImgData",{localId:e.localId},(e._complete=function(e){var t;_=!1,0<b.length&&(t=b.shift(),wx.getLocalImgData(t))},e))):b.push(e)},getNetworkType:function(e){S("getNetworkType",{},(e._complete=function(e){var t=e,n=(e=t.errMsg,t.errMsg="getNetworkType:ok",t.subtype);if(delete t.subtype,n)t.networkType=n;else{n=e.indexOf(":");var r=e.substring(n+1);switch(r){case"wifi":case"edge":case"wwan":t.networkType=r;break;default:t.errMsg="getNetworkType:fail"}}},e))},openLocation:function(e){S("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)},hideOptionMenu:function(e){S("hideOptionMenu",{},e)},showOptionMenu:function(e){S("showOptionMenu",{},e)},closeWindow:function(e){S("closeWindow",{},e=e||{})},hideMenuItems:function(e){S("hideMenuItems",{menuList:e.menuList},e)},showMenuItems:function(e){S("showMenuItems",{menuList:e.menuList},e)},hideAllNonBaseMenuItem:function(e){S("hideAllNonBaseMenuItem",{},e)},showAllNonBaseMenuItem:function(e){S("showAllNonBaseMenuItem",{},e)},scanQRCode:function(e){S("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){var t;d&&(t=e.resultStr)&&(t=JSON.parse(t),e.resultStr=t&&t.scan_code&&t.scan_code.scan_result)},e))},openAddress:function(e){S(n.openAddress,{},(e._complete=function(e){e.postalCode=e.addressPostalCode,delete e.addressPostalCode,e.provinceName=e.proviceFirstStageName,delete e.proviceFirstStageName,e.cityName=e.addressCitySecondStageName,delete e.addressCitySecondStageName,e.countryName=e.addressCountiesThirdStageName,delete e.addressCountiesThirdStageName,e.detailInfo=e.addressDetailInfo,delete e.addressDetailInfo},e))},openProductSpecificView:function(e){S(n.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)},addCard:function(e){for(var t=e.cardList,r=[],o=0,i=t.length;o<i;++o){var a={card_id:(a=t[o]).cardId,card_ext:a.cardExt};r.push(a)}S(n.addCard,{card_list:r},(e._complete=function(e){if(t=e.card_list){for(var t,n=0,r=(t=JSON.parse(t)).length;n<r;++n){var o=t[n];o.cardId=o.card_id,o.cardExt=o.card_ext,o.isSuccess=!!o.is_succ,delete o.card_id,delete o.card_ext,delete o.is_succ}e.cardList=t,delete e.card_list}},e))},chooseCard:function(e){S("chooseCard",{app_id:m.appId,location_id:e.shopId||"",sign_type:e.signType||"SHA1",card_id:e.cardId||"",card_type:e.cardType||"",card_sign:e.cardSign,time_stamp:e.timestamp+"",nonce_str:e.nonceStr},(e._complete=function(e){e.cardList=e.choose_card_info,delete e.choose_card_info},e))},openCard:function(e){for(var t=e.cardList,r=[],o=0,i=t.length;o<i;++o){var a={card_id:(a=t[o]).cardId,code:a.code};r.push(a)}S(n.openCard,{card_list:r},e)},consumeAndShareCard:function(e){S(n.consumeAndShareCard,{consumedCardId:e.cardId,consumedCode:e.code},e)},chooseWXPay:function(e){S(n.chooseWXPay,C(e),e),M({jsApiName:"chooseWXPay"})},openEnterpriseRedPacket:function(e){S(n.openEnterpriseRedPacket,C(e),e)},startSearchBeacons:function(e){S(n.startSearchBeacons,{ticket:e.ticket},e)},stopSearchBeacons:function(e){S(n.stopSearchBeacons,{},e)},onSearchBeacons:function(e){k(n.onSearchBeacons,e)},openEnterpriseChat:function(e){S("openEnterpriseChat",{useridlist:e.userIds,chatname:e.groupName},e)},launchMiniProgram:function(e){S("launchMiniProgram",{targetAppId:e.targetAppId,path:function(e){var t;if("string"==typeof e&&0<e.length)return t=e.split("?")[0],t+=".html",void 0!==(e=e.split("?")[1])?t+"?"+e:t}(e.path),envVersion:e.envVersion},e)},openBusinessView:function(e){S("openBusinessView",{businessType:e.businessType,queryString:e.queryString||"",envVersion:e.envVersion},(e._complete=function(e){if(c){var t=e.extraData;if(t)try{e.extraData=JSON.parse(t)}catch(n){e.extraData={}}}},e))},miniProgram:{navigateBack:function(e){e=e||{},P((function(){S("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:e.delta||1}},e)}))},navigateTo:function(e){P((function(){S("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:e.url}},e)}))},redirectTo:function(e){P((function(){S("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:e.url}},e)}))},switchTab:function(e){P((function(){S("invokeMiniProgramAPI",{name:"switchTab",arg:{url:e.url}},e)}))},reLaunch:function(e){P((function(){S("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:e.url}},e)}))},postMessage:function(e){P((function(){S("invokeMiniProgramAPI",{name:"postMessage",arg:e.data||{}},e)}))},getEnv:function(t){P((function(){t({miniprogram:"miniprogram"===e.__wxjs_environment})}))}}},x=1,T={},o.addEventListener("error",(function(e){var t,n,r;c||(r=(t=e.target).tagName,n=t.src,"IMG"!=r&&"VIDEO"!=r&&"AUDIO"!=r&&"SOURCE"!=r)||-1!=n.indexOf("wxlocalresource://")&&(e.preventDefault(),e.stopPropagation(),(r=t["wx-id"])||(r=x++,t["wx-id"]=r),T[r]||(T[r]=!0,wx.ready((function(){wx.getLocalImgData({localId:n,success:function(e){t.src=e.localData}})}))))}),!0),o.addEventListener("load",(function(e){var t;c||(t=(e=e.target).tagName,e.src,"IMG"!=t&&"VIDEO"!=t&&"AUDIO"!=t&&"SOURCE"!=t)||(t=e["wx-id"])&&(T[t]=!1)}),!0),t&&(e.wx=e.jWeixin=w),w);function S(t,n,r){e.WeixinJSBridge?WeixinJSBridge.invoke(t,E(n),(function(e){$(t,e,r)})):I(t,r)}function k(t,n,r){e.WeixinJSBridge?WeixinJSBridge.on(t,(function(e){r&&r.trigger&&r.trigger(e),$(t,e,n)})):I(t,r||n)}function E(e){return(e=e||{}).appId=m.appId,e.verifyAppId=m.appId,e.verifySignType="sha1",e.verifyTimestamp=m.timestamp+"",e.verifyNonceStr=m.nonceStr,e.verifySignature=m.signature,e}function C(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function $(e,t,n){"openEnterpriseChat"!=e&&"openBusinessView"!==e||(t.errCode=t.err_code),delete t.err_code,delete t.err_desc,delete t.err_detail;var o,i,a,s,l=t.errMsg;switch(l||(l=t.err_msg,delete t.err_msg,i=l,(s=r[o=e])&&(o=s),s="ok",i&&(a=i.indexOf(":"),"access denied"!=(s=(s=(s=-1!=(s=-1!=(s="failed"==(s="confirm"==(s=i.substring(a+1))?"ok":s)?"fail":s).indexOf("failed_")?s.substring(7):s).indexOf("fail_")?s.substring(5):s).replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=s||(s="permission denied"),""==(s="config"==o&&"function not exist"==s?"ok":s))&&(s="fail"),l=o+":"+s,t.errMsg=l),(n=n||{})._complete&&(n._complete(t),delete n._complete),l=t.errMsg||"",m.debug&&!n.isInnerInvoke&&alert(JSON.stringify(t)),e=l.indexOf(":"),l.substring(e+1)){case"ok":n.success&&n.success(t);break;case"cancel":n.cancel&&n.cancel(t);break;default:n.fail&&n.fail(t)}n.complete&&n.complete(t)}function O(e){if(e){for(var t=0,r=e.length;t<r;++t){var o=e[t];(o=n[o])&&(e[t]=o)}return e}}function I(e,t){var n;!m.debug||t&&t.isInnerInvoke||((n=r[e])&&(e=n),t&&t._complete&&delete t._complete,console.log('"'+e+'",',t||""))}function M(e){var t;s||l||m.debug||f<"6.0.2"||g.systemType<0||(t=new Image,g.appId=m.appId,g.initTime=h.initEndTime-h.initStartTime,g.preVerifyTime=h.preVerifyEndTime-h.preVerifyStartTime,w.getNetworkType({isInnerInvoke:!0,success:function(n){g.networkType=n.networkType,n="https://open.weixin.qq.com/sdk/report?v="+g.version+"&o="+g.isPreVerifyOk+"&s="+g.systemType+"&c="+g.clientVersion+"&a="+g.appId+"&n="+g.networkType+"&i="+g.initTime+"&p="+g.preVerifyTime+"&u="+g.url+"&jsapi_name="+(e?e.jsApiName:""),t.src=n}}))}function A(){return(new Date).getTime()}function P(t){u&&(e.WeixinJSBridge?t():o.addEventListener&&o.addEventListener("WeixinJSBridgeReady",t,!1))}console.warn("can't use weixin-js-sdk in server side")}(Ax);const Lx=kx(Px.exports);function Rx(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function Dx(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(const t in e)return!1;return!0}return!1}const jx={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/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},date:function(e){return!!e&&(Rx(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:Rx,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:Dx,isEmpty:Dx,isNumber:Rx,jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(Ax){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:function(e){return"[object Object]"===Object.prototype.toString.call(e)},array:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)}};function Bx(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function Nx(e){const t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function Vx(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=Nx(e);return t>0?Bx(Number(e)*Math.pow(10,t)):Number(e)}function Fx(e){(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn(`${e} 超出了精度限制,结果可能不正确`)}function qx(e,t){const[n,r,...o]=e;let i=t(n,r);return o.forEach((e=>{i=t(i,e)})),i}function Wx(...e){if(e.length>2)return qx(e,Wx);const[t,n]=e,r=Vx(t),o=Vx(n),i=Nx(t)+Nx(n),a=r*o;return Fx(a),a/Math.pow(10,i)}function zx(...e){if(e.length>2)return qx(e,zx);const[t,n]=e,r=Vx(t),o=Vx(n);return Fx(r),Fx(o),Wx(r/o,Bx(Math.pow(10,Nx(n)-Nx(t))))}function Hx(e,t=!1){return jx.number(e)?t?`${e}px`:Number(e):/(rpx|upx)$/.test(e)?t?`${Dd(parseInt(e))}px`:Number(Dd(parseInt(e))):t?`${parseInt(e)}px`:parseInt(e)}function Ux(e=30){return new Promise((t=>{setTimeout((()=>{t()}),e)}))}function Yx(){return ov().platform.toLowerCase()}function Xx(){return ov()}function Gx(e=32,t=!0,n=null){const r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),o=[];if(n=n||r.length,e)for(let i=0;i<e;i++)o[i]=r[0|Math.random()*n];else{let e;o[8]=o[13]=o[18]=o[23]="-",o[14]="4";for(let t=0;t<36;t++)o[t]||(e=0|16*Math.random(),o[t]=r[19==t?3&e|8:e])}return t?(o.shift(),`u${o.join("")}`):o.join("")}function Jx(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function Zx(e,t="object"){if(jx.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=nT(e)).split(";"),n={};for(let e=0;e<t.length;e++)if(t[e]){const r=t[e].split(":");n[nT(r[0])]=nT(r[1])}return n}let n="";for(const r in e){n+=`${r.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[r]};`}return nT(n)}function Kx(e="auto",t="px"){return e=String(e),jx.number(e)?`${e}${t}`:e}function Qx(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;const t=jx.array(e)?[]:{};for(const n in e)e.hasOwnProperty(n)&&(t[n]="object"==typeof e[n]?Qx(e[n]):e[n]);return t}function eT(e={},t={}){if("object"!=typeof(e=Qx(e))||"object"!=typeof t)return!1;for(const 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]=eT(e[n],t[n]):e[n]=t[n]);return e}function tT(e=null,t="yyyy-mm-dd"){let n;n=e?/^\d{10}$/.test(null==e?void 0:e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):new Date("string"==typeof e?e.replace(/-/g,"/"):e):new Date;const r={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(const o in r){const[e]=new RegExp(`${o}+`).exec(t)||[];if(e){const n="y"===o&&2===e.length?2:0;t=t.replace(e,r[o].slice(n))}}return t}function nT(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}function rT(e,t=2e3){wy({title:String(e),icon:"none",duration:t})}function oT(){let e="";return e=location.origin+"/",""!==location.hash&&(e+="#/"),e}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const n=this;if(n.length>=e)return String(n);const r=e-n.length;let o=Math.ceil(r/t.length);for(;o>>=1;)t+=t,1===o&&(t+=t);return t.slice(0,r)+n});const iT={range:function(e=0,t=0,n=0){return Math.max(e,Math.min(t,Number(n)))},getPx:Hx,sleep:Ux,os:Yx,sys:Xx,random:function(e,t){if(e>=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},guid:Gx,$parent:Jx,addStyle:Zx,addUnit:Kx,deepClone:Qx,deepMerge:eT,error:function(e){},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},timeFormat:tT,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;n=parseInt(n/1e3);let r="";switch(!0){case n<300:r="刚刚";break;case n>=300&&n<3600:r=`${parseInt(n/60)}分钟前`;break;case n>=3600&&n<86400:r=`${parseInt(n/3600)}小时前`;break;case n>=86400&&n<2592e3:r=`${parseInt(n/86400)}天前`;break;default:r=!1===t?n>=2592e3&&n<31536e3?`${parseInt(n/2592e3)}个月前`:`${parseInt(n/31536e3)}年前`:tT(e,t)}return r},trim:nT,queryParams:function(e={},t=!0,n="brackets"){const r=t?"?":"",o=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(const i in e){const 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++)o.push(`${i}[${n}]=${t[n]}`);break;case"brackets":default:t.forEach((e=>{o.push(`${i}[]=${e}`)}));break;case"repeat":t.forEach((e=>{o.push(`${i}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),o.push(`${i}=${e}`)}else o.push(`${i}=${t}`)}return o.length?r+o.join("&"):""},toast:rT,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},priceFormat:function(e,t=0,n=".",r=","){e=`${e}`.replace(/[^0-9+-Ee.]/g,"");const o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a=void 0===r?",":r,s=void 0===n?".":n;let l="";l=(i?function(e,t){const n=Math.pow(10,t);let r=zx(Math.round(Math.abs(Wx(e,n))),n);return e<0&&0!==r&&(r=Wx(r,-1)),r}(o,i)+"":`${Math.round(o)}`).split(".");const u=/(-?\d+)(\d{3})/;for(;u.test(l[0]);)l[0]=l[0].replace(u,`$1${a}$2`);return(l[1]||"").length<i&&(l[1]=l[1]||"",l[1]+=new Array(i-l[1].length+1).join("0")),l.join(s)},getDuration:function(e,t=!0){const n=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},padZero:function(e){return`00${e}`.slice(-2)},getProperty:function(e,t){if(e){if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const n=t.split(".");let r=e[n[0]]||{};for(let e=1;e<n.length;e++)r&&(r=r[n[e]]);return r}return e[t]}},setProperty:function(e,t,n){if(!e)return;const r=function(e,t,n){if(1!==t.length)for(;t.length>1;){const o=t[0];e[o]&&"object"==typeof e[o]||(e[o]={}),t.shift(),r(e[o],t,n)}else e[t[0]]=n};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const o=t.split(".");r(e,o,n)}else e[t]=n},page:function(){var e;const t=lm();return`/${(null==(e=t[t.length-1])?void 0:e.route)??""}`},pages:function(){return lm()},test:jx,getRootUrl:oT,copyText:function(e){var t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("Copy"),t.className="createInput",t.style.display="none",rT("复制成功")}},aT={login:e=>bS({url:"/member/auth/login",method:"POST",data:e,custom:{showSuccess:!0,loadingMsg:"登录中",successMsg:"登录成功"}}),smsLogin:e=>bS({url:"/member/auth/sms-login",method:"POST",data:e,custom:{showSuccess:!0,loadingMsg:"登录中",successMsg:"登录成功"}}),sendSmsCode:(e,t)=>bS({url:"/member/auth/send-sms-code",method:"POST",data:{mobile:e,scene:t},custom:{loadingMsg:"发送中",showSuccess:!0,successMsg:"发送成功"}}),OfficialEnterLogin:(e,t)=>bS({url:"/member/auth/social-login-validate-sms-code",method:"POST",data:{reqVO:e,loginReqVO:t}}),logout:()=>bS({url:"/member/auth/logout",method:"POST"}),refreshToken:e=>bS({url:"/member/auth/refresh-token",method:"POST",params:{refreshToken:e},custom:{loading:!1,showError:!1}}),socialAuthRedirect:(e,t)=>bS({url:"/member/auth/social-auth-redirect",method:"GET",params:{type:e,redirectUri:t},custom:{showSuccess:!0,loadingMsg:"登陆中"}}),socialLogin:(e,t,n)=>bS({url:"/member/auth/social-login",method:"POST",data:{type:e,code:t,state:n},custom:{showSuccess:!0,loadingMsg:"登陆中"}}),weixinMiniAppLogin:(e,t,n)=>bS({url:"/member/auth/weixin-mini-app-login",method:"POST",data:{phoneCode:e,loginCode:t,state:n},custom:{showSuccess:!0,loadingMsg:"登陆中",successMsg:"登录成功"}}),createWeixinMpJsapiSignature:e=>bS({url:"/member/auth/create-weixin-jsapi-signature",method:"POST",params:{url:e},custom:{showError:!1,showLoading:!1}})};let sT=!1;const lT={isWechat:()=>"micromessenger"==window.navigator.userAgent.toLowerCase().match(/micromessenger/i),isReady(e){Lx.ready(e)},async init(e){if(!this.isWechat())return void iT.toast("请使用微信网页浏览器打开");const t=location.href.split("#")[0],{code:n,data:r}=await aT.createWeixinMpJsapiSignature(t);0===n&&Lx.config({debug:!1,appId:r.appId,timestamp:r.timestamp,nonceStr:r.nonceStr,signature:r.signature,jsApiList:["chooseWXPay","openAddress","checkJsApi","scanQRCode"],openTagList:r.openTagList}),console.log("appdata:",r),sT=!0,Lx.error((e=>{sT=!1,console.error("微信 JSSDK 初始化失败",e)})),Lx.ready((()=>{sT&&console.log("微信 JSSDK 初始化成功")})),Lx.checkJsApi({jsApiList:["openAddress"],success:function(e){console.log(e)}}),e&&e(r)},getLocation(e){this.isReady((()=>{Lx.getLocation({type:"gcj02",success:function(t){e(t)},fail:function(e){console.log("%c微信H5sdk,getLocation失败:","color:green;background:yellow")}})}))},openAddress(e){this.isReady((()=>{console.log("ready? go!"),Lx.openAddress({success:function(t){e.success&&e.success(t)},fail:function(t){e.error&&e.error(t),console.log("微信H5sdk,openAddress失败,原因是:",t)},complete:function(e){}})}))},scanQRCode(e){this.isReady((()=>{Lx.scanQRCode({needResult:1,scanType:["qrCode","barCode"],success:function(t){e(t)},fail:function(e){console.log("%c微信H5sdk,scanQRCode失败:","color:green;background:yellow")}})}))},updateShareInfo(e,t=null){this.isReady((()=>{const n={title:e.title,desc:e.desc,link:e.link,imgUrl:e.image,success:function(e){t&&t(e)},cancel:function(e){}};Lx.updateAppMessageShareData(n),Lx.updateTimelineShareData(n)}))},openLocation(e,t){this.isReady((()=>{Lx.openLocation({latitude:e.latitude,longitude:e.longitude})}))},chooseImage(e){this.isReady((()=>{Lx.chooseImage({count:1,sizeType:["compressed"],sourceType:["album"],success:function(t){e(t)}})}))},wxpay(e,t){this.isReady((()=>{Lx.chooseWXPay({timestamp:e.timeStamp,nonceStr:e.nonceStr,package:e.packageValue,signType:e.signType,paySign:e.paySign,success:function(e){t.success&&t.success(e)},fail:function(e){t.fail&&t.fail(e)},cancel:function(e){t.cancel&&t.cancel(e)}})}))}},uT=e=>bS({url:"/member/social-user/get",method:"GET",params:{type:e},custom:{showLoading:!1}}),cT=(e,t,n)=>bS({url:"/member/social-user/bind",method:"POST",data:{type:e,code:t,state:n},custom:{custom:{showSuccess:!0,loadingMsg:"绑定中",successMsg:"绑定成功"}}}),dT=(e,t)=>bS({url:"/member/social-user/unbind",method:"DELETE",data:{type:e,openid:t},custom:{showLoading:!1,loadingMsg:"解除绑定",successMsg:"解绑成功"}});var fT={exports:{}},pT=fT.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",l="week",u="month",c="quarter",d="year",f="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,u),i=n-o<0,a=t.clone().add(r+(i?-1:1),u);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:d,w:l,d:s,D:f,h:a,m:i,s:o,ms:r,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},_="en",b={};b[_]=m;var w="$isDayjsObject",x=function(e){return e instanceof E||!(!e||!e[w])},T=function e(t,n,r){var o;if(!t)return _;if("string"==typeof t){var i=t.toLowerCase();b[i]&&(o=i),n&&(b[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;b[s]=t,o=s}return!r&&o&&(_=o),o||!r&&_},S=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},k=y;k.l=T,k.i=x,k.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function m(e){this.$L=T(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var v=m.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return!(this.$d.toString()===p)},v.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return S(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<S(e)},v.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!k.u(t)||t,c=k.p(e),p=function(e,t){var o=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(s)},h=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},g=this.$W,m=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(c){case d:return r?p(1,0):p(31,11);case u:return r?p(1,m):p(0,m+1);case l:var _=this.$locale().weekStart||0,b=(g<_?g+7:g)-_;return p(r?v-b:v+(6-b),m);case s:case f:return h(y+"Hours",0);case a:return h(y+"Minutes",1);case i:return h(y+"Seconds",2);case o:return h(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,l=k.p(e),c="set"+(this.$u?"UTC":""),p=(n={},n[s]=c+"Date",n[f]=c+"Date",n[u]=c+"Month",n[d]=c+"FullYear",n[a]=c+"Hours",n[i]=c+"Minutes",n[o]=c+"Seconds",n[r]=c+"Milliseconds",n)[l],h=l===s?this.$D+(t-this.$W):t;if(l===u||l===d){var g=this.clone().set(f,1);g.$d[p](h),g.init(),this.$d=g.set(f,Math.min(this.$D,g.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[k.p(e)]()},v.add=function(r,c){var f,p=this;r=Number(r);var h=k.p(c),g=function(e){var t=S(p);return k.w(t.date(t.date()+Math.round(e*r)),p)};if(h===u)return this.set(u,this.$M+r);if(h===d)return this.set(d,this.$y+r);if(h===s)return g(1);if(h===l)return g(7);var m=(f={},f[i]=t,f[a]=n,f[o]=e,f)[h]||1,v=this.$d.getTime()+r*m;return k.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=k.z(this),i=this.$H,a=this.$m,s=this.$M,l=n.weekdays,u=n.months,c=n.meridiem,d=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},f=function(e){return k.s(i%12||12,e,"0")},h=c||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(g,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return s+1;case"MM":return k.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,u,3);case"MMMM":return d(u,s);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return k.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return k.s(a,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,p){var h,g=this,m=k.p(f),v=S(r),y=(v.utcOffset()-this.utcOffset())*t,_=this-v,b=function(){return k.m(g,v)};switch(m){case d:h=b()/12;break;case u:h=b();break;case c:h=b()/3;break;case l:h=(_-y)/6048e5;break;case s:h=(_-y)/864e5;break;case a:h=_/n;break;case i:h=_/t;break;case o:h=_/e;break;default:h=_}return p?h:k.a(h)},v.daysInMonth=function(){return this.endOf(u).$D},v.$locale=function(){return b[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=T(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},m}(),C=E.prototype;return S.prototype=C,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",s],["$M",u],["$y",d],["$D",f]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,E,S),e.$i=!0),S},S.locale=T,S.isDayjs=x,S.unix=function(e){return S(1e3*e)},S.en=b[_],S.Ls=b,S.p={},S}();const hT=kx(pT),gT={getSignInConfigList:()=>bS({url:"/member/sign-in/config/list",method:"GET"}),getSignInRecordSummary:()=>bS({url:"/member/sign-in/record/get-summary",method:"GET"}),getOwnSignInMoon:e=>bS({url:"/member/sign-in/record/get-own-signInMoon",method:"GET",params:e}),createSignInRecord:()=>bS({url:"/distri/user-sign-in-log/create",method:"POST"}),getSignRecordPage:e=>{console.log(e);const t=Object.keys(e).map((t=>encodeURIComponent(t)+"="+e[t])).join("&");return bS({url:`/member/sign-in/record/page?${t}`,method:"GET"})}};let mT=30,vT=null;async function yT(){console.log("onSign");const{code:e,data:t}=await gT.createSignInRecord();var n;0===e&&(n=t,pk("modal").$patch((e=>{e.signUp=!0,e.signUpInfo=n}))),vT&&clearInterval(vT),sv("isRun",!1),sv("isSign",!0)}function _T(){const e=(new Date).toISOString().slice(0,10);e!==cv("lastCheckDate")&&(sv("isSign",!1),sv("lastCheckDate",e))}function bT(){_T();const e=Oi((()=>wk.$store("user").isLogin));e.value&&(sv("isRun",!0),cv("isRun")&&!cv("isSign")&&(vT=setInterval((()=>{mT--,console.log("time",mT),!cv("isSign")&&e.value||(console.log("已经签到了或者已经登出了 不可以在签到"),wT()),mT<=0&&!cv("isSign")&&(clearInterval(vT),yT())}),1e3)))}function wT(){vT&&clearInterval(vT),mT=30,sv("isRun",!1)}function xT(){pk("modal").$patch((e=>{e.signUp=!1}))}function TT(e="smsLogin",t="smsLogin"){const n=pk("modal");""!==n.auth?(ST(),setTimeout((()=>{n.$patch((n=>{n.auth=e,n.isActive=t}))}),100)):n.$patch((n=>{n.auth=e,n.isActive=t}))}function ST(){pk("modal").$patch((e=>{e.auth=""}))}function kT(e=0){pk("modal").$patch((t=>{t.share=!0,t.shareInfo.spuId=e}))}function ET(){pk("modal").$patch((e=>{e.share=!1}))}function CT(){pk("modal").$patch((e=>{e.menu=!0}))}function $T(){pk("modal").$patch((e=>{e.menu=!1}))}function OT(e,t){const n=pk("modal"),r=n.lastTimer[e];if(void 0===r)return void iT.toast("短信发送事件错误");if(!(hT().unix()-r>=60))return void iT.toast("请稍后再试");if(t&&!jx.mobile(t))return void iT.toast("手机号码格式不正确");let o=-1;switch(e){case"resetPassword":o=4;break;case"changePassword":o=3;break;case"changeMobile":o=2;break;case"smsLogin":o=1}aT.sendSmsCode(t,o).then((t=>{0===t.code&&n.$patch((t=>{t.lastTimer[e]=hT().unix()}))}))}function IT(e,t=""){const n=pk("modal").lastTimer[e];if(void 0===n)return void iT.toast("短信发送事件错误");const r=un(hT().unix()-n-60),o=r.value>=0;return o?"获取验证码":o?void 0:(setTimeout((()=>{r.value++}),1e3),-r.value.toString()+" 秒")}function MT(e){pk("modal").$patch((t=>{t.advHistory.includes(e.imgUrl)||t.advHistory.push(e.imgUrl)}))}async function AT(e="login"){const t=oT()+"pages/index/login?event="+e,{code:n,data:r}=await aT.socialAuthRedirect(31,t);if(0===n)return r}function PT(e){sv("openid",e)}async function LT(){const{code:e,data:t}=await uT(31);if(0===e)return t}const RT={load:async function(){lT.init()},login:async function(e="",t=""){if(e){const n=await aT.socialLogin(31,e,t);if(console.log("loginResult真正的登录结果:",n),0===n.code)return PT(n.data.openid),n}else{const e=await AT();e&&(sv("returnUrl",location.href),window.location=e)}return!1},bind:async function(e="",t=""){if(""===e){const e=await AT("bind");e&&(sv("returnUrl",location.href),window.location=e)}else{const n=await cT(31,e,t);if(0===n.code)return PT(n.data),n}return!1},unbind:async e=>{const{code:t}=await dT(31,e);return 0===t},getInfo:LT,getOpenid:async function(e=!1){let t=cv("openid");if(!t&&e){const e=await LT();console.log(e),e&&e.openid&&(t=e.openid,PT(t))}return t},jssdk:lT};let DT={};"undefined"!=typeof service&&(DT=service);const jT=DT;let BT;function NT(e,t=500,n=!0){n?BT||(BT=!0,"function"==typeof e&&e(),setTimeout((()=>{BT=!1}),t)):BT||(BT=!0,setTimeout((()=>{BT=!1,"function"==typeof e&&e()}),t))}const VT=(e,t={},n={redirect:!1})=>{var r;let o="",i="",a="";if(Ox.isString(e)){if(Ox.startsWith(e,"http"))return void(window.location=e);if(Ox.startsWith(e,"action:"))return void function(e){if("showShareModal"===e.split(":")[1])kT()}(e);if([o,i]=e.split("?"),!Ox.isEmpty(t)){let e=qT(t);Ox.isEmpty(i)?i=e:i+="&"+e}}Ox.isObject(e)&&(o=e.url,Ox.isNil(e.params)||(i=qT(e.params)));const s={"/pages/index/index":{path:"/pages/index/index",aliasPath:"/",meta:{auth:!1,sync:!0,title:"首页",group:"商城"}},"/pages/index/user":{path:"/pages/index/user",meta:{sync:!0,title:"个人中心",group:"商城"}},"/pages/index/category":{path:"/pages/index/category",meta:{sync:!0,title:"商品分类",group:"商城"}},"/pages/index/cart":{path:"/pages/index/cart",meta:{sync:!0,title:"购物车",group:"商城"}},"/pages/index/login":{path:"/pages/index/login"},"/pages/index/search":{path:"/pages/index/search",meta:{sync:!0,title:"搜索",group:"商城"}},"/pages/index/page":{path:"/pages/index/page",meta:{auth:!1,sync:!0,title:"自定义页面",group:"商城"}},"/pages/goods/index":{path:"/pages/goods/index",meta:{sync:!0,title:"普通商品",group:"商品"}},"/pages/goods/groupon":{path:"/pages/goods/groupon",meta:{sync:!0,title:"拼团商品",group:"商品"}},"/pages/goods/seckill":{path:"/pages/goods/seckill",meta:{sync:!0,title:"秒杀商品",group:"商品"}},"/pages/goods/list":{path:"/pages/goods/list",meta:{sync:!0,title:"商品列表",group:"商品"}},"/pages/goods/comment/add":{path:"/pages/goods/comment/add",meta:{auth:!0}},"/pages/goods/comment/list":{path:"/pages/goods/comment/list"},"/pages/order/detail":{path:"/pages/order/detail",meta:{auth:!0,title:"订单详情"}},"/pages/order/confirm":{path:"/pages/order/confirm",meta:{auth:!0,title:"确认订单"}},"/pages/order/list":{path:"/pages/order/list",meta:{auth:!0,sync:!0,title:"用户订单",group:"订单中心"}},"/pages/order/aftersale/apply":{path:"/pages/order/aftersale/apply",meta:{auth:!0,title:"申请售后"}},"/pages/order/aftersale/return-delivery":{path:"/pages/order/aftersale/return-delivery",meta:{auth:!0,title:"退货物流"}},"/pages/order/aftersale/list":{path:"/pages/order/aftersale/list",meta:{auth:!0,sync:!0,title:"售后订单",group:"订单中心"}},"/pages/order/aftersale/detail":{path:"/pages/order/aftersale/detail",meta:{auth:!0,title:"售后详情"}},"/pages/order/aftersale/log":{path:"/pages/order/aftersale/log",meta:{auth:!0,title:"售后进度"}},"/pages/order/express/log":{path:"/pages/order/express/log",meta:{auth:!0,title:"物流轨迹"}},"/pages/order/otherlist":{path:"/pages/order/otherlist"},"/pages/user/info":{path:"/pages/user/info",meta:{auth:!0,sync:!0,title:"用户信息",group:"用户中心"}},"/pages/user/setting":{path:"/pages/user/setting",meta:{auth:!0,sync:!0,title:"用户设置",group:"用户中心"}},"/pages/user/qrcode-share":{path:"/pages/user/qrcode-share",meta:{auth:!0,sync:!0,title:"我的二维码/分享页",group:"用户中心"}},"/pages/user/goods-collect":{path:"/pages/user/goods-collect",meta:{auth:!0,sync:!0,title:"商品收藏",group:"用户中心"}},"/pages/user/goods-log":{path:"/pages/user/goods-log",meta:{auth:!0,sync:!0,title:"浏览记录",group:"用户中心"}},"/pages/user/address/list":{path:"/pages/user/address/list",meta:{auth:!0,sync:!0,title:"地址管理",group:"用户中心"}},"/pages/user/invoice/edit":{path:"/pages/user/invoice/edit",meta:{auth:!0,title:"发票抬头"}},"/pages/user/invoice/list":{path:"/pages/user/invoice/list",meta:{auth:!0,sync:!0,title:"发票抬头管理",group:"用户中心"}},"/pages/user/address/edit":{path:"/pages/user/address/edit",meta:{auth:!0,title:"编辑地址"}},"/pages/user/wallet/money":{path:"/pages/user/wallet/money",meta:{auth:!0,sync:!0,title:"用户余额",group:"用户中心"}},"/pages/user/wallet/score":{path:"/pages/user/wallet/score",meta:{auth:!0,sync:!0,title:"用户积分",group:"用户中心"}},"/pages/user/wallet/scoreToMoney":{path:"/pages/user/wallet/scoreToMoney",meta:{auth:!0,sync:!0,title:"积分兑换",group:"用户中心"}},"/pages/user/wallet/team":{path:"/pages/user/wallet/team",meta:{auth:!0,sync:!0,title:"团队",group:"用户中心"}},"/pages/commission/index":{path:"/pages/commission/index",meta:{auth:!0,sync:!0,title:"分销中心",group:"分销商城"}},"/pages/commission/wallet":{path:"/pages/commission/wallet",meta:{auth:!0,sync:!0,title:"用户佣金",group:"分销中心"}},"/pages/commission/goods":{path:"/pages/commission/goods",meta:{auth:!0,sync:!0,title:"推广商品",group:"分销商城"}},"/pages/commission/order":{path:"/pages/commission/order",meta:{auth:!0,sync:!0,title:"分销订单",group:"分销商城"}},"/pages/commission/team":{path:"/pages/commission/team",meta:{auth:!0,sync:!0,title:"我的团队",group:"分销商城"}},"/pages/commission/promoter":{path:"/pages/commission/promoter",meta:{auth:!0,sync:!0,title:"推广人排行榜",group:"分销商城"}},"/pages/commission/commission-ranking":{path:"/pages/commission/commission-ranking",meta:{auth:!0,sync:!0,title:"佣金排行榜",group:"分销商城"}},"/pages/commission/withdraw":{path:"/pages/commission/withdraw",meta:{auth:!0,sync:!0,title:"申请提现",group:"分销商城"}},"/pages/app/sign":{path:"/pages/app/sign",meta:{auth:!0,sync:!0,title:"签到中心",group:"应用"}},"/pages/shop/index":{path:"/pages/shop/index",meta:{auth:!0,sync:!0,title:"店铺首页",group:"应用"}},"/pages/public/setting":{path:"/pages/public/setting",meta:{sync:!0,title:"系统设置",group:"通用"}},"/pages/public/richtext":{path:"/pages/public/richtext",meta:{sync:!0,title:"富文本",group:"通用"}},"/pages/public/faq":{path:"/pages/public/faq",meta:{sync:!0,title:"常见问题",group:"通用"}},"/pages/public/error":{path:"/pages/public/error"},"/pages/public/webview":{path:"/pages/public/webview"},"/pages/coupon/list":{path:"/pages/coupon/list",meta:{sync:!0,title:"领券中心",group:"优惠券"}},"/pages/coupon/detail":{path:"/pages/coupon/detail",meta:{auth:!1,sync:!0,title:"优惠券详情",group:"优惠券"}},"/pages/chat/index":{path:"/pages/chat/index",meta:{auth:!0,sync:!0,title:"客服",group:"客服"}},"/pages/chat/speechtotext":{path:"/pages/chat/speechtotext",meta:{auth:!0,sync:!0,title:"语音转文字",group:"语音转文字"}},"/pages/pay/index":{path:"/pages/pay/index"},"/pages/pay/result":{path:"/pages/pay/result"},"/pages/pay/recharge":{path:"/pages/pay/recharge",meta:{auth:!0,sync:!0,title:"充值余额",group:"支付"}},"/pages/pay/recharge-log":{path:"/pages/pay/recharge-log",meta:{auth:!0,sync:!0,title:"充值记录",group:"支付"}},"/pages/activity/groupon/detail":{path:"/pages/activity/groupon/detail"},"/pages/activity/groupon/order":{path:"/pages/activity/groupon/order",meta:{auth:!0,sync:!0,title:"拼团订单",group:"营销活动"}},"/pages/activity/index":{path:"/pages/activity/index",meta:{sync:!0,title:"营销商品",group:"营销活动"}},"/pages/activity/groupon/list":{path:"/pages/activity/groupon/list",meta:{sync:!0,title:"拼团活动",group:"营销活动"}},"/pages/activity/seckill/list":{path:"/pages/activity/seckill/list",meta:{sync:!0,title:"秒杀活动",group:"营销活动"}},"/pages/activity/bargain/list":{path:"/pages/activity/bargain/list",meta:{sync:!0,title:"砍价列表",group:"营销活动"}},"/pages/activity/bargain/detail":{path:"/pages/activity/bargain/detail",meta:{sync:!0,title:"砍价详情",group:"营销活动"}}}[o];s?!(null==(r=s.meta)?void 0:r.auth)||pk("user").isLogin?(a=o,Ox.isEmpty(i)||(a+=`?${i}`),["/pages/index/index","/pages/index/cart","/pages/index/user"].includes(o)?ty({url:a}):n.redirect?Kv({url:a}):Zv({url:a})):TT():console.log(`%c跳转路径参数错误<${o||"EMPTY"}>`,"color:red;background:yellow")};function FT(...e){NT((()=>{VT(...e)}))}function qT(e){if(Ox.isEmpty(e))return"";let t=[];for(let n in e)t.push(n+"="+e[n]);return t.join("&")}function WT(e,t={}){FT(e,t,{redirect:!0})}function zT(){let e=lm();return e[e.length-1]}const HT={go:FT,back:function(){history.back()},hasHistory:function(){return!!history.state.back},redirect:WT,getCurrentPage:zT,getCurrentRoute:function(e=""){let t=zT();return""!==e?t.$page[e]:t.$page},error:function(e,t=""){WT("/pages/public/error",{errCode:e,errMsg:t})}},UT=["H5","WechatOfficialAccount","WechatMiniProgram","App"],YT=["forward","poster","link"],XT=e=>{const t=pk("user");let n="0";void 0===e.shareId&&t.isLogin&&(n=t.userInfo.id);let r="1";void 0!==e.page&&(r=e.page);let o="0";void 0!==e.query&&(o=e.query);let i=UT.indexOf(uS.name)+1,a="1";return void 0!==e.from&&(a=UT.indexOf(e.from)+1),`spm=${n}.${r}.${o}.${i}.${a}`},GT=e=>`/pages/index/index?${e}`,JT=(e,t="")=>`${t}?${e}`,ZT={getShareInfo:(e={title:"",desc:"",image:"",params:{}},t={type:"user"})=>{let n={title:"",desc:"",image:"",path:"",link:"",query:"",poster:t};const r=pk("app").platform.share,o=XT(e.params);return n.query=o,n.link=JT(o,r.linkAddress),r.methods.includes("forward")&&(""!==r.forwardInfo.title&&""!==r.forwardInfo.image||console.log("请在平台设置中配置转发信息"),n.title=e.title||r.forwardInfo.title,n.image=gk.cdn(e.image||r.forwardInfo.image),n.desc=e.desc||r.forwardInfo.subtitle,n.path=GT(o)),n},updateShareInfo:e=>{"WechatOfficialAccount"===uS.name&&lT.updateShareInfo(e)},decryptSpm:e=>{const t=pk("user");let n,r=e.split("."),o={spm:e,shareId:0,page:"",query:{},platform:"",from:""};switch(o.shareId=r[0],r[1]){case"1":o.page="/pages/index/index";break;case"2":o.page="/pages/goods/index",o.query={linkId:r[2]},console.log(o.query);break;case"3":o.page="/pages/goods/groupon",n=r[2].split(","),o.query={id:n[0],activity_id:n[1]};break;case"4":o.page="/pages/goods/seckill",n=r[2].split(","),o.query={id:n[1]};break;case"5":o.page="/pages/activity/groupon/detail",o.query={id:r[2]}}return o.platform=UT[r[3]-1],o.from=YT[r[4]-1],0!=o.shareId&&(t.isLogin?t.addShareLog(o):sv("shareLog",o)),"/pages/index/index"!==o.page&&HT.go(o.page,o.query),o}},KT={getOrder:e=>bS({url:"/pay/order/get",method:"GET",params:{id:e}}),getPayOrder:e=>bS({url:"/trade/order/getPayOrder",method:"GET",params:{tradeOrderId:e}}),submitOrder:e=>bS({url:"/pay/order/submit",method:"POST",data:e})};class QT{constructor(e,t,n){this.payment=e,this.id=n,this.orderType=t,this.payAction()}payAction(){return{WechatOfficialAccount:{wechat:()=>{this.wechatOfficialAccountPay()},alipay:()=>{this.redirectPay()},wallet:()=>{this.walletPay()},mock:()=>{this.mockPay()}},WechatMiniProgram:{wechat:()=>{this.wechatMiniProgramPay()},alipay:()=>{this.copyPayLink()},wallet:()=>{this.walletPay()},mock:()=>{this.mockPay()}},App:{wechat:()=>{this.wechatAppPay()},alipay:()=>{this.alipay()},wallet:()=>{this.walletPay()},mock:()=>{this.mockPay()}},H5:{wechat:()=>{this.wechatWapPay()},alipay:()=>{this.redirectPay()},wallet:()=>{this.walletPay()},mock:()=>{this.mockPay()}}}[wk.$platform.name][this.payment]()}prepay(e){return new Promise((async(t,n)=>{let r={id:this.id,channelCode:e,channelExtras:{}};if(["wx_pub","wx_lite"].includes(e)){console.log(wk.$platform.useProvider("wechat").getOpenid);const e=await wk.$platform.useProvider("wechat").getOpenid(!0);if(!e)return void this.bindWeixin();r.channelExtras.openid=e}KT.submitOrder(r).then((e=>{0===e.code&&t(e),0!==e.code&&e.msg.indexOf("无效的openid")>=0&&(e.msg.indexOf("无效的openid")>=0||e.msg.indexOf("下单账号与支付账号不一致")>=0)&&this.bindWeixin()}))}))}async wechatOfficialAccountPay(){let{code:e,data:t}=await this.prepay("wx_pub");if(0!==e)return;const n=JSON.parse(t.displayContent);lT.wxpay(n,{success:()=>{this.payResult("success")},cancel:()=>{wk.$helper.toast("支付已手动取消")},fail:e=>{e.errMsg.indexOf("chooseWXPay:没有此SDK或暂不支持此SDK模拟")>=0?wk.$helper.toast("发起微信支付失败,原因:可能是微信开发者工具不支持,建议使用微信打开网页后支付"):this.payResult("fail")}})}async wechatWapPay(){const{error:e,data:t}=await this.prepay();if(0===e){const e=`${oT()}pages/pay/result?id=${this.id}&payment=${this.payment}&orderType=${this.orderType}`;location.href=`${t.pay_data.h5_url}&redirect_url=${encodeURIComponent(e)}`}}async redirectPay(){let{error:e,data:t}=await this.prepay();if(0===e){const e=`${oT()}pages/pay/result?id=${this.id}&payment=${this.payment}&orderType=${this.orderType}`;location.href=t.pay_data+encodeURIComponent(e)}}async wechatMiniProgramPay(){let{code:e,data:t}=await this.prepay("wx_lite");if(0!==e)return;const n=JSON.parse(t.displayContent);uni.requestPayment({provider:"wxpay",timeStamp:n.timeStamp,nonceStr:n.nonceStr,package:n.packageValue,signType:n.signType,paySign:n.paySign,success:e=>{this.payResult("success")},fail:e=>{"requestPayment:fail cancel"===e.errMsg?wk.$helper.toast("支付已手动取消"):this.payResult("fail")}})}async walletPay(){const{code:e}=await this.prepay("wallet");0===e&&this.payResult("success")}async mockPay(){const{code:e}=await this.prepay("mock");0===e&&this.payResult("success")}async copyPayLink(){let{error:e,data:t}=await this.prepay();0===e&&dy({title:"支付宝支付",content:"复制链接到外部浏览器",confirmText:"复制链接",success:e=>{e.confirm&&wk.$helper.copyText(t.pay_data)}})}async alipay(){let e=this;const{error:t,data:n}=await this.prepay();0===t&&uni.requestPayment({provider:"alipay",orderInfo:n.pay_data,success:t=>{e.payResult("success")},fail:t=>{"requestPayment:fail [paymentAlipay:62001]user cancel"===t.errMsg?wk.$helper.toast("支付已手动取消"):e.payResult("fail")}})}async wechatAppPay(){let e=this,{error:t,data:n}=await this.prepay();0===t&&uni.requestPayment({provider:"wxpay",orderInfo:n.pay_data,success:t=>{e.payResult("success")},fail:t=>{"requestPayment:fail cancel"!==t.errMsg&&e.payResult("fail")}})}payResult(e){wk.$router.redirect("/pages/pay/result",{id:this.id,orderType:this.orderType,payState:e})}bindWeixin(){dy({title:"微信支付",content:"请先绑定微信再使用微信支付",success:function(e){e.confirm&&wk.$platform.useProvider("wechat").bind()}})}}function eS(e){const t=[{icon:"/static/img/shop/pay/wechat.png",title:"微信支付",value:"wechat",disabled:!0},{icon:"/static/img/shop/pay/alipay.png",title:"支付宝支付",value:"alipay",disabled:!0}],n=wk.$platform.name,r=t[0];("WechatOfficialAccount"===n&&e.includes("wx_pub")||"WechatMiniProgram"===n&&e.includes("wx_lite")||"App"===n&&e.includes("wx_app"))&&(r.disabled=!1),r.disabled=!1;const o=t[1];return("WechatOfficialAccount"===n&&e.includes("alipay_wap")||"WechatMiniProgram"===n&&e.includes("alipay_wap")||"App"===n&&e.includes("alipay_app"))&&(o.disabled=!1),t}const tS=ov(),nS=tS.platform;let rS="",oS="",iS="";"micromessenger"==navigator.userAgent.toLowerCase().match(/MicroMessenger/i)?(rS="WechatOfficialAccount",oS="wechat",iS="officialAccount"):(rS="H5",iS="h5"),Ox.isEmpty(rS)&&wy({title:"暂不支持该平台",icon:"none"});const aS={bottom:56,height:32,left:278,right:365,top:24,width:87},sS=tS.statusBarHeight+44;const lS=function(){let e="";return e=location.href.split("?")[0],e}(),uS={name:rS,device:tS,os:nS,provider:oS,platform:iS,useProvider:(e="")=>(""===e&&(e=oS),"wechat"===e?RT:"apple"===e?jT:void 0),checkUpdate:(e=!1)=>{},checkNetwork:async function(){return"none"==(await av()).networkType?Promise.resolve(!1):Promise.resolve(!0)},pay:(e,t,n)=>new QT(e,t,n),share:ZT,load:()=>{"wechat"===oS&&RT.load()},capsule:aS,navbar:sS,landingPage:lS,isWechatInstalled:!0};let cS={target:null,count:0};function dS(){cS.count>0&&cS.count--,0===cS.count&&Sy()}const fS=new class{constructor(e={}){var t;t=e,"[object Object]"!==Object.prototype.toString.call(t)&&(e={},console.warn("设置全局参数必须接收一个Object")),this.config=bx({..._x,...e}),this.interceptors={request:new vx,response:new vx}}setConfig(e){this.config=e(this.config)}middleware(e){e=((e,t={})=>{const n=t.method||e.method||"GET";let r={baseURL:t.baseURL||e.baseURL||"",method:n,url:t.url||"",params:t.params||{},custom:{...e.custom||{},...t.custom||{}},header:dx(e.header||{},t.header||{})};if(r={...r,...yx(["getTask","validateStatus","paramsSerializer","forcedJSONParsing"],e,t)},"DOWNLOAD"===n){const n=["timeout"];r={...r,...yx(n,e,t)}}else if("UPLOAD"===n)delete r.header["content-type"],delete r.header["Content-Type"],["files","file","filePath","name","timeout","formData"].forEach((e=>{fx(t[e])||(r[e]=t[e])})),fx(r.timeout)&&!fx(e.timeout)&&(r.timeout=e.timeout);else{const n=["data","timeout","dataType","responseType","withCredentials"];r={...r,...yx(n,e,t)}}return r})(this.config,e);let t=[mx,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n}request(e={}){return this.middleware(e)}get(e,t={}){return this.middleware({url:e,method:"GET",...t})}post(e,t,n={}){return this.middleware({url:e,data:t,method:"POST",...n})}put(e,t,n={}){return this.middleware({url:e,data:t,method:"PUT",...n})}delete(e,t,n={}){return this.middleware({url:e,data:t,method:"DELETE",...n})}connect(e,t,n={}){return this.middleware({url:e,data:t,method:"CONNECT",...n})}head(e,t,n={}){return this.middleware({url:e,data:t,method:"HEAD",...n})}options(e,t,n={}){return this.middleware({url:e,data:t,method:"OPTIONS",...n})}trace(e,t,n={}){return this.middleware({url:e,data:t,method:"TRACE",...n})}upload(e,t={}){return t.url=e,t.method="UPLOAD",this.middleware(t)}download(e,t={}){return t.url=e,t.method="DOWNLOAD",this.middleware(t)}get version(){return"3.1.0"}}({baseURL:"https://letcgo.com/app-api",timeout:8e3,method:"GET",header:{Accept:"text/json","Content-Type":"application/json;charset=UTF-8",platform:uS.name},withCredentials:!1,custom:{showSuccess:!1,successMsg:"",showError:!0,errorMsg:"",showLoading:!0,loadingMsg:"加载中",auth:!1}});fS.interceptors.request.use((e=>{if(e.custom.auth&&!pk("user").isLogin)return TT(),Promise.reject();e.custom.showLoading&&(cS.count++,1===cS.count&&Ty({title:e.custom.loadingMsg,mask:!0,fail:()=>{Sy()}}));const t=vS();return t&&(e.header.Authorization=t),e.header.Accept="*/*",e.header["tenant-id"]="1",e.header.terminal="20",e}),(e=>Promise.reject(e))),fS.interceptors.response.use((e=>{var t,n;if(e.config.url.indexOf("/member/auth/")>=0&&(null==(n=null==(t=e.data)?void 0:t.data)?void 0:n.accessToken)&&pk("user").setToken(e.data.data.accessToken,e.data.data.refreshToken),e.config.custom.showLoading&&dS(),0!==e.data.code){if(401===e.data.code)return wT(),gS(e.config);e.config.custom.showError&&(wT(),wy({title:e.data.msg||"服务器开小差啦,请稍后再试~",icon:"none",mask:!0}))}return e.config.custom.showSuccess&&""!==e.config.custom.successMsg&&0===e.data.code&&wy({title:e.config.custom.successMsg,icon:"none"}),Promise.resolve(e.data)}),(e=>{var t;console.log("服务器开小差"),wT();const n=pk("user").isLogin;let r="网络请求出错";if(void 0!==e){switch(e.statusCode){case 400:r="请求错误";break;case 401:r=n?"您的登陆已过期":"请登录";break;case 403:r="拒绝访问";break;case 404:r="请求出错";break;case 408:r="请求超时";break;case 429:r="请求频繁, 请稍后再访问";break;case 500:r="服务器开小差啦,请稍后再试~";break;case 501:r="服务未实现";break;case 502:r="网络错误";break;case 503:r="服务不可用";break;case 504:r="网络超时";break;case 505:r="HTTP 版本不受支持"}e.errMsg.includes("timeout")&&(r="请求超时"),e.errMsg.includes("Network")&&(r=window.navigator.onLine?"服务器异常":"请检查您的网络连接")}return e&&e.config&&(!1===e.config.custom.showError&&wy({title:(null==(t=e.data)?void 0:t.msg)||r,icon:"none",mask:!0}),e.config.custom.showLoading&&dS()),!1}));let pS=[],hS=!1;const gS=async e=>{if(e.url.indexOf("/member/auth/refresh-token")>=0)return Promise.reject("error");if(hS)return new Promise((t=>{pS.push((()=>{e.header.Authorization="Bearer "+vS(),t(_S(e))}))}));{hS=!0;const t=yS();if(!t)return mS();try{if(0!==(await aT.refreshToken(t)).code)throw new Error("刷新令牌失败");return e.header.Authorization="Bearer "+vS(),pS.forEach((e=>{e()})),pS=[],_S(e)}catch(Ax){return pS.forEach((e=>{e()})),mS()}finally{pS=[],hS=!1}}},mS=()=>{const e=pk("user");return e.logout(!0),TT(),Promise.reject({code:401,msg:e.isLogin?"您的登陆已过期":"请登录"})},vS=()=>cv("token"),yS=()=>cv("refresh-token"),_S=e=>fS.middleware(e),bS=_S,wS={getUsedDiyTemplate:()=>bS({url:"/promotion/diy-template/used",method:"GET",custom:{showError:!1,showLoading:!1}}),getDiyTemplate:e=>bS({url:"/promotion/diy-template/get",method:"GET",params:{id:e},custom:{showError:!1,showLoading:!1}}),getDiyPage:e=>bS({url:"/promotion/diy-page/get",method:"GET",params:{id:e}})};
  15. /*!
  16. * pinia v2.0.33
  17. * (c) 2023 Eduardo San Martin Morote
  18. * @license MIT
  19. */
  20. let xS;const TS=e=>xS=e,SS=Symbol();function kS(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var ES,CS;(CS=ES||(ES={})).direct="direct",CS.patchObject="patch object",CS.patchFunction="patch function";const $S=()=>{};function OS(e,t,n,r=$S){e.push(t);const o=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r())};var i;return!n&&qe()&&(i=o,Ne&&Ne.cleanups.push(i)),o}function IS(e,...t){e.slice().forEach((e=>{e(...t)}))}function MS(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];kS(o)&&kS(r)&&e.hasOwnProperty(n)&&!ln(r)&&!Zt(r)?e[n]=MS(o,r):e[n]=r}return e}const AS=Symbol();const{assign:PS}=Object;function LS(e,t,n={},r,o,i){let a;const s=PS({actions:{}},n),l={deep:!0};let u,c,d,f=nn([]),p=nn([]);const h=r.state.value[e];let g;function m(t){let n;u=c=!1,"function"==typeof t?(t(r.state.value[e]),n={type:ES.patchFunction,storeId:e,events:d}):(MS(r.state.value[e],t),n={type:ES.patchObject,payload:t,storeId:e,events:d});const o=g=Symbol();Pn().then((()=>{g===o&&(u=!0)})),c=!0,IS(f,n,r.state.value[e])}i||h||(r.state.value[e]={}),un({});const v=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{PS(e,t)}))}:$S;function y(t,n){return function(){TS(r);const o=Array.from(arguments),i=[],a=[];function s(e){i.push(e)}function l(e){a.push(e)}let u;IS(p,{args:o,name:t,store:_,after:s,onError:l});try{u=n.apply(this&&this.$id===e?this:_,o)}catch(c){throw IS(a,c),c}return u instanceof Promise?u.then((e=>(IS(i,e),e))).catch((e=>(IS(a,e),Promise.reject(e)))):(IS(i,u),u)}}const _=Xt({_p:r,$id:e,$onAction:OS.bind(null,p),$patch:m,$reset:v,$subscribe(t,n={}){const o=OS(f,t,n.detached,(()=>i())),i=a.run((()=>ir((()=>r.state.value[e]),(r=>{("sync"===n.flush?c:u)&&t({storeId:e,type:ES.direct,events:d},r)}),PS({},l,n))));return o},$dispose:function(){a.stop(),f=[],p=[],r._s.delete(e)}});r._s.set(e,_);const b=r._e.run((()=>(a=Fe(),a.run((()=>t())))));for(const T in b){const t=b[T];if(ln(t)&&(!ln(x=t)||!x.effect)||Zt(t))i||(!h||kS(w=t)&&w.hasOwnProperty(AS)||(ln(t)?t.value=h[T]:MS(t,h[T])),r.state.value[e][T]=t);else if("function"==typeof t){const e=y(T,t);b[T]=e,s.actions[T]=t}}var w,x;return PS(_,b),PS(tn(_),b),Object.defineProperty(_,"$state",{get:()=>r.state.value[e],set:e=>{m((t=>{PS(t,e)}))}}),r._p.forEach((e=>{PS(_,a.run((()=>e({store:_,app:r._a,pinia:r,options:s}))))})),h&&i&&n.hydrate&&n.hydrate(_.$state,h),u=!0,c=!0,_}function RS(e,t,n){let r,o;const i="function"==typeof t;function a(e,n){const a=bi();(e=e||a&&tr(SS,null))&&TS(e),(e=xS)._s.has(r)||(i?LS(r,t,o,e):function(e,t,n,r){const{state:o,actions:i,getters:a}=t,s=n.state.value[e];let l;l=LS(e,(function(){s||(n.state.value[e]=o?o():{});const t=mn(n.state.value[e]);return PS(t,i,Object.keys(a||{}).reduce(((t,r)=>(t[r]=nn(Oi((()=>{TS(n);const t=n._s.get(e);return a[r].call(t,t)}))),t)),{}))}),t,n,0,!0)}(r,o,e));return e._s.get(r)}return"string"==typeof e?(r=e,o=i?n:t):(o=e,r=e.id),a.$id=r,a}const DS=e=>bS({url:"/trade/cart/add",method:"POST",data:e,custom:{showSuccess:!0,successMsg:"已添加到购物车~"}}),jS=e=>bS({url:"/trade/cart/update-count",method:"PUT",data:e}),BS=e=>bS({url:"/trade/cart/update-selected",method:"PUT",data:e}),NS=e=>bS({url:"/trade/cart/delete",method:"DELETE",params:{ids:e}}),VS=()=>bS({url:"/trade/cart/list",method:"GET",custom:{showLoading:!1,auth:!0}}),FS=RS({id:"cart",state:()=>({shopNameMap:[],shopSkuMap:[],list:[],selectedIds:[],isAllSelected:!1,totalPriceSelected:0}),actions:{async getList(){const{data:e,code:t}=await VS();0===t&&(this.list=e.validList,this.shopSkuMap=e.shopSkuMap,this.shopNameMap=e.shopNameMap,this.selectedIds=[],this.isAllSelected=!0,this.totalPriceSelected=0,this.list.forEach((e=>{e.selected?(this.selectedIds.push(e.id),this.totalPriceSelected+=e.count*e.sku.price):this.isAllSelected=!1})))},async add(e){const{code:t}=await DS({skuId:e.id,count:e.goods_num});0===t&&await this.getList()},async update(e){const{code:t}=await jS({id:e.goods_id,count:e.goods_num});0===t&&await this.getList()},async delete(e){let t;t="number"==typeof e?e:e.join(",");const{code:n}=await NS(t);0===n&&await this.getList()},async selectSingle(e){const{code:t}=await BS({ids:[e],selected:!this.selectedIds.includes(e)});0===t&&await this.getList()},async selectAll(e){const{code:t}=await BS({ids:this.list.map((e=>e.id)),selected:e});0===t&&await this.getList()},emptyList(){this.list=[],this.selectedIds=[],this.isAllSelected=!0,this.totalPriceSelected=0}},persist:{enabled:!0,strategies:[{key:"cart-store"}]}}),qS=Object.freeze(Object.defineProperty({__proto__:null,default:FS},Symbol.toStringTag,{value:"Module"})),WS={getUserInfo:()=>bS({url:"/member/user/get",method:"GET",custom:{showLoading:!1,auth:!0}}),updateUser:e=>bS({url:"/member/user/update",method:"PUT",data:e,custom:{auth:!0,showSuccess:!0,successMsg:"更新成功"}}),updateUserMobile:e=>bS({url:"/member/user/update-mobile",method:"PUT",data:e,custom:{loadingMsg:"验证中",showSuccess:!0,successMsg:"修改成功"}}),updateUserMobileByWeixin:e=>bS({url:"/member/user/update-mobile-by-weixin",method:"PUT",data:{code:e},custom:{showSuccess:!0,loadingMsg:"获取中",successMsg:"修改成功"}}),updateUserPassword:e=>bS({url:"/member/user/update-password",method:"PUT",data:e,custom:{loadingMsg:"验证中",showSuccess:!0,successMsg:"修改成功"}}),resetUserPassword:e=>bS({url:"/member/user/reset-password",method:"PUT",data:e,custom:{loadingMsg:"验证中",showSuccess:!0,successMsg:"修改成功"}})},zS={getPayWallet:()=>bS({url:"/pay/wallet/get",method:"GET",custom:{showLoading:!1,auth:!0}}),getDuserInfo:()=>bS({url:"/distri/duser/getDuserInfo",method:"GET",custom:{showLoading:!1,auth:!0}}),getWalletTransactionPage:e=>{const t=Object.keys(e).map((t=>encodeURIComponent(t)+"="+e[t])).join("&");return bS({url:`/pay/wallet-transaction/page?${t}`,method:"GET"})},getWalletTransactionSummary:e=>{const t=`createTime=${e.createTime[0]}&createTime=${e.createTime[1]}`;return bS({url:`/pay/wallet-transaction/get-summary?${t}`,method:"GET"})},getWalletRechargePackageList:()=>bS({url:"/pay/wallet-recharge-package/list",method:"GET",custom:{showError:!1,showLoading:!1}}),createWalletRecharge:e=>bS({url:"/pay/wallet-recharge/create",method:"POST",data:e}),getWalletRechargePage:e=>bS({url:"/pay/wallet-recharge/page",method:"GET",params:e,custom:{showError:!1,showLoading:!1}})},HS={settlementOrder:e=>{const t={...e};e.couponId>0||delete t.couponId,e.addressId>0||delete t.addressId,!e.combinationActivityId>0&&delete t.combinationActivityId,e.combinationHeadId>0||delete t.combinationHeadId,e.seckillActivityId>0||delete t.seckillActivityId,delete t.items;for(let r=0;r<e.items.length;r++)t[encodeURIComponent("items["+r+"].skuId")]=e.items[r].skuId+"",t[encodeURIComponent("items["+r+"].count")]=e.items[r].count+"",e.items[r].cartId&&(t[encodeURIComponent("items["+r+"].cartId")]=e.items[r].cartId+"");const n=Object.keys(t).map((e=>e+"="+t[e])).join("&");return bS({url:`/trade/order/settlement?${n}`,method:"GET",custom:{showError:!0,showLoading:!0}})},createOrder:e=>bS({url:"/trade/order/create",method:"POST",data:e}),getOrder:e=>bS({url:"/trade/order/get-detail",method:"GET",params:{id:e},custom:{showLoading:!1}}),getOrderPage:e=>bS({url:"/trade/order/page",method:"GET",params:e,custom:{showLoading:!1}}),receiveOrder:e=>bS({url:"/trade/order/receive",method:"PUT",params:{id:e}}),cancelOrder:e=>bS({url:"/trade/order/cancel",method:"DELETE",params:{id:e}}),deleteOrder:e=>bS({url:"/trade/order/delete",method:"DELETE",params:{id:e}}),getOrderExpressTrackList:e=>bS({url:"/trade/order/get-express-track-list",method:"GET",params:{id:e}}),getOrderCount:()=>bS({url:"/trade/order/get-count",method:"GET",custom:{showLoading:!1,auth:!0}}),createOrderItemComment:e=>bS({url:"/trade/order/item/create-comment",method:"POST",data:e})},US={getCouponTemplateListByIds:e=>bS({url:"/promotion/coupon-template/list-by-ids",method:"GET",params:{ids:e},custom:{showLoading:!1,showError:!1}}),getCouponTemplateList:(e,t,n)=>bS({url:"/promotion/coupon-template/list",method:"GET",params:{spuId:e,productScope:t,count:n}}),getCouponTemplatePage:e=>bS({url:"/promotion/coupon-template/page",method:"GET",params:e}),getCouponTemplate:e=>bS({url:"/promotion/coupon-template/get",method:"GET",params:{id:e}}),getCouponPage:e=>bS({url:"/promotion/coupon/page",method:"GET",params:e}),takeCoupon:e=>bS({url:"/promotion/coupon/take",method:"POST",data:{templateId:e},custom:{auth:!0,showLoading:!0,loadingMsg:"领取中",showSuccess:!0,successMsg:"领取成功"}}),getCoupon:e=>bS({url:"/promotion/coupon/get",method:"GET",params:{id:e}}),getUnusedCouponCount:()=>bS({url:"/promotion/coupon/get-unused-count",method:"GET",custom:{showLoading:!1,auth:!0}}),getMatchCouponList:(e,t,n,r)=>bS({url:"/promotion/coupon/match-list",method:"GET",params:{price:e,spuIds:t.join(","),skuIds:n.join(","),categoryIds:r.join(",")},custom:{showError:!1,showLoading:!1}})},YS={avatar:"",nickname:"",gender:0,mobile:"",point:0,socialStatusLevel:"",socialStatusLevelName:"",socialStatusPoint:0,socialUpNeed:0},XS={integralDO:{currentQuota:0,highQuota:0,freezeQuota:0},descNo:0,descPrice:0,descTotalPrice:0},GS={unusedCouponCount:0,orderCount:{allCount:0,unpaidCount:0,undeliveredCount:0,deliveredCount:0,uncommentedCount:0,afterSaleCount:0}},JS=RS({id:"user",state:()=>({userInfo:Ox.clone(YS),userWallet:Ox.clone(XS),isLogin:!!cv("token"),numData:Ox.cloneDeep(GS),lastUpdateTime:0}),actions:{async getInfo(){const{code:e,data:t}=await WS.getUserInfo();if(0===e)return this.userInfo=t,bT(),Promise.resolve(t)},async getWallet(){const{code:e,data:t}=await zS.getDuserInfo();0===e&&(this.userWallet=t,this.userWallet.descNo=t.descNo+1,sv("isSign",t.isSign))},getNumData(){HS.getOrderCount().then((e=>{0===e.code&&(this.numData.orderCount=e.data)})),US.getUnusedCouponCount().then((e=>{0===e.code&&(this.numData.unusedCouponCount=e.data)}))},async addShareLog(e){const{error:t}=await userApi.addShareLog(e);0===t&&dv("shareLog")},setToken(e="",t=""){return""===e?(this.isLogin=!1,dv("token"),dv("refresh-token")):(this.isLogin=!0,sv("token",e),sv("refresh-token",t),this.loginAfter()),this.isLogin},async updateUserData(){if(!this.isLogin)return void this.resetUserData();const e=(new Date).getTime();return this.lastUpdateTime+5e3>e?void 0:(this.lastUpdateTime=e,await this.getInfo(),this.getWallet(),this.getNumData(),this.userInfo)},resetUserData(){this.setToken(),this.userInfo=Ox.clone(YS),this.userWallet=Ox.clone(XS),this.numData=Ox.cloneDeep(GS),FS().emptyList(),wT(),dv("isSign")},async loginAfter(){await this.updateUserData(),FS().getList(),ZT.getShareInfo();const e=cv("shareLog");Ox.isEmpty(e)||this.addShareLog({...e})},async logout(){return this.resetUserData(),!this.isLogin}},persist:{enabled:!0,strategies:[{key:"user-store"}]}}),ZS=Object.freeze(Object.defineProperty({__proto__:null,default:JS},Symbol.toStringTag,{value:"Module"})),KS=RS({id:"sys",state:()=>({theme:"",mode:"light",modeAuto:!1,fontSize:1}),getters:{},actions:{setTheme(e=""){var t;this.theme=""===e?(null==(t=ek().template)?void 0:t.basic.theme)||"orange":e}},persist:{enabled:!0,strategies:[{key:"sys-store"}]}}),QS=Object.freeze(Object.defineProperty({__proto__:null,default:KS},Symbol.toStringTag,{value:"Module"})),ek=RS({id:"app",state:()=>({info:{name:"",logo:"",version:"",copyright:"",copytime:"",cdnurl:"",filesystem:""},platform:{share:{methods:[],forwardInfo:{},posterInfo:{},linkAddress:""},bind_mobile:0},chat:{},template:{basic:{},home:{style:{},data:[]},user:{style:{},data:[]}},shareInfo:{},has_wechat_trade_managed:0}),actions:{async init(e=null){await uS.checkNetwork()||HT.error("NetworkError"),await tk(this.template,e);{this.info={name:"中星商城",logo:"/static/zxlogo.png",version:"1.1.13",copyright:"全部开源,个人与企业可 100% 免费使用",copytime:"Copyright© 2018-2024",cdnurl:"https://file.sheepjs.com",filesystem:"qcloud"},this.platform={share:{methods:["poster","link"],linkAddress:"https://letcgo.com/#/",posterInfo:{user_bg:"/static/user-poster-bg.jpg",goods_bg:"/static/user-poster-bg.jpg",groupon_bg:"/static/img/shop/config/groupon-poster-bg.png"}},bind_mobile:0},this.chat={chat_domain:"https://api.shopro.sheepjs.com/chat",room_id:"admin"},this.has_wechat_trade_managed=0;KS().setTheme();const e=JS();return e.isLogin&&e.loginAfter(),Promise.resolve(!0)}}},persist:{enabled:!0,strategies:[{key:"app-store"}]}}),tk=async(e,t)=>{var n;const{data:r}=t?await wS.getDiyTemplate(t):await wS.getUsedDiyTemplate();if(!r)return void HT.error("TemplateError");const o=null==(n=null==r?void 0:r.property)?void 0:n.tabBar;o&&(e.basic.tabbar=o,(null==o?void 0:o.theme)&&(e.basic.theme=null==o?void 0:o.theme)),e.home=null==r?void 0:r.home,e.user=null==r?void 0:r.user},nk=Object.freeze(Object.defineProperty({__proto__:null,default:ek},Symbol.toStringTag,{value:"Module"})),rk=RS({id:"modal",state:()=>({auth:"",isActive:"",share:!1,shareInfo:{spuId:0},signUp:!1,signUpInfo:{},menu:!1,advHistory:[],lastTimer:{smsLogin:0,changeMobile:0,resetPassword:0,changePassword:0}}),persist:{enabled:!0,strategies:[{key:"modal-store",paths:["lastTimer","advHistory"]}]}}),ok=Object.freeze(Object.defineProperty({__proto__:null,default:rk},Symbol.toStringTag,{value:"Module"}));var ik,ak;const sk="undefined"==typeof uni||["web","h5",void 0].includes(null==(ak=null==(ik=null==uni?void 0:ov())?void 0:ik.uniPlatform)?void 0:ak.toLocaleLowerCase()),lk=(e,t,n)=>{const r=e.storage,o=e.key||t.$id,i=sk||(null==n?void 0:n.enforceCustomStorage);if(e.paths){const n=e.paths.reduce(((e,n)=>(e[n]=t.$state[n],e)),{});i&&r?r.setItem(o,JSON.stringify(n)):lv({key:o,data:JSON.stringify(n)})}else i&&r?r.setItem(o,JSON.stringify(t.$state)):lv({key:o,data:JSON.stringify(t.$state)})};var uk=({options:e,store:t})=>{var n,r,o,i,a,s;if(null==(n=e.persist)?void 0:n.enabled){const n=[{key:t.$id,storage:(null==(r=e.persist)?void 0:r.H5Storage)||(null==window?void 0:window.sessionStorage)}],l=(null==(i=null==(o=e.persist)?void 0:o.strategies)?void 0:i.length)?null==(a=e.persist)?void 0:a.strategies:n;l.forEach((n=>{var r,o;const i=n.storage||(null==(r=e.persist)?void 0:r.H5Storage)||(null==window?void 0:window.sessionStorage),a=n.key||t.$id;let s;s=sk||(null==(o=e.persist)?void 0:o.enforceCustomStorage)?i.getItem(a):cv(a),s&&(t.$patch(JSON.parse(s)),lk(n,t,e.persist))})),t.$subscribe((()=>{l.forEach((n=>{lk(n,t,e.persist)}))}),{detached:!!(null==(s=e.persist)?void 0:s.detached)})}};const ck=Object.assign({"./app.js":nk,"./cart.js":qS,"./modal.js":ok,"./sys.js":QS,"./user.js":ZS}),dk={};Object.keys(ck).forEach((e=>{dk[e.replace(/(.*\/)*([^.]+).*/gi,"$2")]=ck[e].default}));const fk=e=>{const t=function(){const e=Fe(!0),t=e.run((()=>un({})));let n=[],r=[];const o=nn({install(e){TS(o),o._a=e,e.provide(SS,o),e.config.globalProperties.$pinia=o,r.forEach((e=>n.push(e))),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}();t.use(uk),e.use(t)},pk=e=>dk[e](),hk=(e="",t="")=>e?0===e.indexOf("http")?e:(""===t&&(t=pk("app").info.cdnurl),t+e):"",gk={cdn:hk,thumb:(e="",t)=>function(e,t){const n=pk("app").info.filesystem;if("public"===n)return e;let r=t.width||"200",o=t.height||"200",i=t.mode||"lfit",a=t.quality||90,s=t.gravity||"center",l="",u="",c="",d=r+"x"+o;switch(n){case"aliyun":s||"center"==s||(i="mfit",u="/crop,g_"+gravityFormat("aliyun",s)+",w_"+r+",h_"+o),a>0&&a<100&&(c="/quality,q_"+a),l="x-oss-process=image/resize,m_"+i+",w_"+r+",h_"+o,l+=u+c;break;case"qcloud":let e="thumbnail";switch(("fill"==i||!s&&"center"!=s)&&(e="crop",i="fill",u="/gravity/"+gravityFormat("qcloud",s)),a>0&&a<100&&(c="/rquality/"+a),i){case"lfit":d+=">";break;case"mfit":d="!"+d+"r";case"fill":break;case"pad":d+="/pad/1";break;case"fixed":d+="!"}l="imageMogr2/"+e+"/"+d+u+c;break;case"qiniu":switch(("fill"==i||!s&&"center"!=s)&&(i="mfit",u="/gravity/"+gravityFormat("qiniu",s)+"/crop/"+d),a>0&&a<100&&(c="/quality/"+a),i){case"lfit":case"pad":d+=">";break;case"mfit":d="!"+d+"r";break;case"fill":break;case"fixed":d+="!"}l="imageMogr2/thumbnail/"+d+u+c}return e+"?"+l}(e=hk(e),t),static:(e="",t="")=>(""===t&&(t="https://letcgo.com"),"local"!==t&&(e=hk(e,t)),e),css:(e="",t="")=>(""===t&&(t="https://letcgo.com"),"local"!==t&&(e=hk(e,t)),`url(${e})`)};var mk={exports:{}};const vk=kx(mk.exports=function(e,t,n){e=e||{};var r=t.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,t,n,o){return r.fromToBase(e,t,n,o)}n.en.relativeTime=o,r.fromToBase=function(t,r,i,a,s){for(var l,u,c,d=i.$locale().relativeTime||o,f=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],p=f.length,h=0;h<p;h+=1){var g=f[h];g.d&&(l=a?n(t).diff(i,g.d,!0):i.diff(t,g.d,!0));var m=(e.rounding||Math.round)(Math.abs(l));if(c=l>0,m<=g.r||!g.r){m<=1&&h>0&&(g=f[h-1]);var v=d[g.l];s&&(m=s(""+m)),u="string"==typeof v?v.replace("%d",m):v(m,r,g.l,c);break}}if(r)return u;var y=c?d.future:d.past;return"function"==typeof y?y(u):y.replace("%s",u)},r.to=function(e,t){return i(e,t,this,!0)},r.from=function(e,t){return i(e,t,this)};var a=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}});var yk={exports:{}};const _k=kx(yk.exports=function(){var e,t,n=1e3,r=6e4,o=36e5,i=864e5,a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,l=2628e6,u=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,c={years:s,months:l,days:i,hours:o,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof y},f=function(e,t,n){return new y(e,n,t.$l)},p=function(e){return t.p(e)+"s"},h=function(e){return e<0},g=function(e){return h(e)?Math.ceil(e):Math.floor(e)},m=function(e){return Math.abs(e)},v=function(e,t){return e?h(e)?{negative:!0,format:""+m(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},y=function(){function h(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*c[p(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var o=e.match(u);if(o){var i=o.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=i[0],this.$d.months=i[1],this.$d.weeks=i[2],this.$d.days=i[3],this.$d.hours=i[4],this.$d.minutes=i[5],this.$d.seconds=i[6],this.calMilliseconds(),this}}return this}var m=h.prototype;return m.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*c[n]}),0)},m.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=g(e/s),e%=s,this.$d.months=g(e/l),e%=l,this.$d.days=g(e/i),e%=i,this.$d.hours=g(e/o),e%=o,this.$d.minutes=g(e/r),e%=r,this.$d.seconds=g(e/n),e%=n,this.$d.milliseconds=e},m.toISOString=function(){var e=v(this.$d.years,"Y"),t=v(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=v(n,"D"),o=v(this.$d.hours,"H"),i=v(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var s=v(a,"S"),l=e.negative||t.negative||r.negative||o.negative||i.negative||s.negative,u=o.format||i.format||s.format?"T":"",c=(l?"-":"")+"P"+e.format+t.format+r.format+u+o.format+i.format+s.format;return"P"===c||"-P"===c?"P0D":c},m.toJSON=function(){return this.toISOString()},m.format=function(e){var n=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return n.replace(a,(function(e,t){return t||String(r[e])}))},m.as=function(e){return this.$ms/c[p(e)]},m.get=function(e){var t=this.$ms,n=p(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?g(t/c[n]):this.$d[n],t||0},m.add=function(e,t,n){var r;return r=t?e*c[p(t)]:d(e)?e.$ms:f(e,this).$ms,f(this.$ms+r*(n?-1:1),this)},m.subtract=function(e,t){return this.add(e,t,!0)},m.locale=function(e){var t=this.clone();return t.$l=e,t},m.clone=function(){return f(this.$ms,this)},m.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},m.valueOf=function(){return this.asMilliseconds()},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},h}(),_=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,o){e=o,t=o().$utils(),o.duration=function(e,t){var n=o.locale();return f(e,{$l:n},t)},o.isDuration=d;var i=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?_(this,e,1):i.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?_(this,e,-1):a.bind(this)(e,t)}}}());!function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};n.default.locale(r,null,!0)}(pT),hT.locale("zh-cn"),hT.extend(vk),hT.extend(_k);async function bk(){await pk("app").init(),uS.load()}const wk={$store:pk,$url:gk,$router:HT,$platform:uS,$helper:iT,$zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965,popover:960}},xk={__name:"App",setup:e=>(Kw((e=>{bT()})),Qw((()=>{wT()})),ex((()=>{Dy(),bk(),_T()})),tx((e=>{console.log("AppOnError:",e)})),()=>{})};Rm(xk,{init:Pm,setup(e){const t=Ug(),n=()=>{var n;n=e,Object.keys(Mf).forEach((e=>{Mf[e].forEach((t=>{jr(e,t,n)}))}));const{onLaunch:r,onShow:o,onPageNotFound:i,onError:a}=e,s=function({path:e,query:t}){return u(xp,{path:e,query:t}),u(Tp,xp),u({},xp)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:ke(t.query)});if(r&&R(r,s),o&&R(o,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};i&&R(i,e)}a&&(e.appContext.config.errorHandler=e=>{R(a,e)})};return tr(hl).isReady().then(n),Vr((()=>{window.addEventListener("resize",$e(jm,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Bm),document.addEventListener("visibilitychange",Nm),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{o_.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=()=>(Go(),ei(Hy));e.setup=(e,r)=>{const o=t&&t(e,r);return v(o)?n:o},e.render=n}}),function(){const e=Na(xk);return fk(e),{app:e}}().app.use(Sm).mount("#app");export{ZT as $,le as A,ue as B,La as C,ra as D,Tg as E,Wo as F,Ac as G,lg as H,$c as I,ro as J,un as K,Nr as L,cv as M,fv as N,ty as O,OT as P,IT as Q,ST as R,gg as S,aT as T,dy as U,dv as V,wS as W,ir as X,Vr as Y,bS as Z,Ix as _,sx as a,jx as a$,ai as a0,US as a1,wy as a2,Ox as a3,NT as a4,Gr as a5,Ra as a6,kT as a7,CT as a8,Sf as a9,gv as aA,Zx as aB,Jx as aC,eT as aD,Ux as aE,xT as aF,Ty as aG,Xv as aH,xx as aI,Tx as aJ,Sy as aK,cf as aL,mv as aM,Uv as aN,uf as aO,rm as aP,kx as aQ,ET as aR,$T as aS,Zv as aT,Qv as aU,Kv as aV,bg as aW,Of as aX,Zr as aY,Cg as aZ,Am as a_,Oy as aa,oo as ab,HS as ac,nr as ad,Pn as ae,vh as af,Vd as ag,sg as ah,t_ as ai,kc as aj,vg as ak,_g as al,rr as am,xv as an,WS as ao,Uy as ap,Rp as aq,bi as ar,Mx as as,Fd as at,MT as au,ox as av,Gx as aw,ce as ax,li as ay,Xa as az,Iy as b,Nv as b0,zd as b1,Wm as b2,hT as b3,gk as b4,mf as b5,pg as b6,ov as b7,$y as b8,Kx as b9,eS as bA,Qw as bB,Uh as bC,Hx as ba,Xx as bb,Yx as bc,Fv as bd,lm as be,Bd as bf,bv as bg,Bf as bh,Nf as bi,qv as bj,pv as bk,iv as bl,jf as bm,If as bn,Af as bo,og as bp,tg as bq,Yh as br,zS as bs,rx as bt,gT as bu,hv as bv,bk as bw,Um as bx,mn as by,KT as bz,Oi as c,ix as d,Go as e,ei as f,di as g,Dy as h,$g as i,si as j,Qo as k,Jw as l,Qr as m,Kw as n,nx as o,sv as p,TT as q,no as r,wk as s,ci as t,G as u,pn as v,Xn as w,Kp as x,Xt as y,ax as z};