index-72b896ac.js 240 KB

123456
  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,o){if(!n||0===n.length)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map((t=>{if((t=function(e){return"/"+e}(t))in e)return;e[t]=!0;const n=t.endsWith(".css"),i=n?'[rel="stylesheet"]':"";if(!!o)for(let e=r.length-1;e>=0;e--){const o=r[e];if(o.href===t&&(!n||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;const s=document.createElement("link");return s.rel=n?"stylesheet":"modulepreload",n||(s.as="script",s.crossOrigin=""),s.href=t,document.head.appendChild(s),n?new Promise(((e,n)=>{s.addEventListener("load",e),s.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${t}`))))})):void 0}))).then((()=>t()))};function n(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function o(e){if(k(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=P(r)?a(r):o(r);if(i)for(const e in i)t[e]=i[e]}return t}return P(e)||M(e)?e:void 0}const r=/;(?![^(]*\))/g,i=/:([^]+)/,s=/\/\*.*?\*\//gs;function a(e){const t={};return e.replace(s,"").split(r).forEach((e=>{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function l(e){let t="";if(P(e))t=e;else if(k(e))for(let n=0;n<e.length;n++){const o=l(e[n]);o&&(t+=o+" ")}else if(M(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const c=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function u(e){return!!e||""===e}function d(e,t){if(e===t)return!0;let n=L(e),o=L(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=A(e),o=A(t),n||o)return e===t;if(n=k(e),o=k(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=d(e[o],t[o]);return n}(e,t);if(n=M(e),o=M(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!d(e[n],t[n]))return!1}}return String(e)===String(t)}function f(e,t){return e.findIndex((e=>d(e,t)))}const p=e=>P(e)?e:null==e?"":k(e)||M(e)&&(e.toString===N||!$(e.toString))?JSON.stringify(e,h,2):String(e),h=(e,t)=>t&&t.__v_isRef?h(e,t.value):E(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:O(t)?{[`Set(${t.size})`]:[...t.values()]}:!M(t)||k(t)||F(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),w=e=>e.startsWith("onUpdate:"),x=Object.assign,S=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},T=Object.prototype.hasOwnProperty,C=(e,t)=>T.call(e,t),k=Array.isArray,E=e=>"[object Map]"===R(e),O=e=>"[object Set]"===R(e),L=e=>"[object Date]"===R(e),$=e=>"function"==typeof e,P=e=>"string"==typeof e,A=e=>"symbol"==typeof e,M=e=>null!==e&&"object"==typeof e,B=e=>M(e)&&$(e.then)&&$(e.catch),N=Object.prototype.toString,R=e=>N.call(e),F=e=>"[object Object]"===R(e),I=e=>P(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,j=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),D=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},H=/-(\w)/g,V=D((e=>e.replace(H,((e,t)=>t?t.toUpperCase():"")))),q=/\B([A-Z])/g,W=D((e=>e.replace(q,"-$1").toLowerCase())),z=D((e=>e.charAt(0).toUpperCase()+e.slice(1))),X=D((e=>e?`on${z(e)}`:"")),U=(e,t)=>!Object.is(e,t),Y=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},K=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},G=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Z;const J=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view"].map((e=>"uni-"+e));const Q=/^([a-z-]+:)?\/\//i,ee=/^data:.*,.*/,te="onLoad";function ne(e){if(!e)return;let t=e.type.name;for(;t&&(n=W(t),-1!==J.indexOf("uni-"+n.replace("v-uni-","")));)t=(e=e.parent).type.name;var n;return e.proxy}function oe(e){return 1===e.nodeType}function re(e){return 0===e.indexOf("/")}function ie(e){return re(e)?e:"/"+e}function se(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function ae(e){return V(e.substring(5))}const le=se((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[ae(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[ae(e)],n.call(this,e)}}));function ce(e){return x({},e.dataset,e.__uniDataset)}const ue=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function de(e){return{passive:e}}function fe(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:ce(e),offsetTop:n,offsetLeft:o}}function pe(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function he(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=pe(e[n])}catch(o){t[n]=e[n]}})),t}const me=/\+/g;function ge(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(me," ");let r=e.indexOf("="),i=pe(r<0?e:e.slice(0,r)),s=r<0?null:pe(e.slice(r+1));if(i in t){let e=t[i];k(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function ve(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r);const i=()=>e.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class ye{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o<n.length;)n[o].fn===t&&(n.splice(o,1),o--),o++;else delete this.listener[e]}_clearCache(e){for(let t=0;t<this.emitCache.length;t++){const n=this.emitCache[t],o=e?n.eventName===e?e:null:n.eventName;if(!o)continue;"number"!=typeof this.emit.apply(this,[o,...n.args])?(this.emitCache.splice(t,1),t--):this.emitCache.pop()}}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const be=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"],_e=["onLoad","onShow"];const we=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const xe=[];const Se=se(((e,t)=>{if($(e._component.onError))return t(e)})),Te=function(){};Te.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t)for(var i=0,s=o.length;i<s;i++)o[i].fn!==t&&o[i].fn._!==t&&r.push(o[i]);return r.length?n[e]=r:delete n[e],this}};var Ce=Te;const ke={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Ee(e,t={},n="light"){const o=t[n],r={};return o?(Object.keys(e).forEach((i=>{let s=e[i];r[i]=(()=>{if(F(s))return Ee(s,t,n);if(k(s))return s.map((e=>F(e)?Ee(e,t,n):e));if(P(s)&&s.startsWith("@")){const t=s.replace("@","");let n=o[t]||s;switch(i){case"titleColor":n="black"===n?"#000000":"#ffffff";break;case"borderStyle":n=(e=n)&&e in ke?ke[e]:e}return n}var e;return s})()})),r):e}let Oe;class Le{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Oe,!e&&Oe&&(this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Oe;try{return Oe=this,e()}finally{Oe=t}}}on(){Oe=this}off(){Oe=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 $e(e){return new Le(e)}const Pe=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ae=e=>(e.w&Re)>0,Me=e=>(e.n&Re)>0,Be=new WeakMap;let Ne=0,Re=1;let Fe;const Ie=Symbol(""),je=Symbol("");class De{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=Oe){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=Fe,t=Ve;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Fe,Fe=this,Ve=!0,Re=1<<++Ne,Ne<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Re})(this):He(this),this.fn()}finally{Ne<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];Ae(r)&&!Me(r)?r.delete(e):t[n++]=r,r.w&=~Re,r.n&=~Re}t.length=n}})(this),Re=1<<--Ne,Fe=this.parent,Ve=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Fe===this?this.deferStop=!0:this.active&&(He(this),this.onStop&&this.onStop(),this.active=!1)}}function He(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ve=!0;const qe=[];function We(){qe.push(Ve),Ve=!1}function ze(){const e=qe.pop();Ve=void 0===e||e}function Xe(e,t,n){if(Ve&&Fe){let t=Be.get(e);t||Be.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Pe()),Ue(o)}}function Ue(e,t){let n=!1;Ne<=30?Me(e)||(e.n|=Re,n=!Ae(e)):n=!e.has(Fe),n&&(e.add(Fe),Fe.deps.push(e))}function Ye(e,t,n,o,r,i){const s=Be.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&k(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":k(e)?I(n)&&a.push(s.get("length")):(a.push(s.get(Ie)),E(e)&&a.push(s.get(je)));break;case"delete":k(e)||(a.push(s.get(Ie)),E(e)&&a.push(s.get(je)));break;case"set":E(e)&&a.push(s.get(Ie))}if(1===a.length)a[0]&&Ke(a[0]);else{const e=[];for(const t of a)t&&e.push(...t);Ke(Pe(e))}}function Ke(e,t){const n=k(e)?e:[...e];for(const o of n)o.computed&&Ge(o);for(const o of n)o.computed||Ge(o)}function Ge(e,t){(e!==Fe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Ze=n("__proto__,__v_isRef,__isVue"),Je=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(A)),Qe=it(),et=it(!1,!0),tt=it(!0),nt=ot();function ot(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=qt(this);for(let t=0,r=this.length;t<r;t++)Xe(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(qt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){We();const n=qt(this)[t].apply(this,e);return ze(),n}})),e}function rt(e){const t=qt(this);return Xe(t,0,e),t.hasOwnProperty(e)}function it(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&r===(e?t?Bt:Mt:t?At:Pt).get(n))return n;const i=k(n);if(!e){if(i&&C(nt,o))return Reflect.get(nt,o,r);if("hasOwnProperty"===o)return rt}const s=Reflect.get(n,o,r);return(A(o)?Je.has(o):Ze(o))?s:(e||Xe(n,0,o),t?s:Kt(s)?i&&I(o)?s:s.value:M(s)?e?Ft(s):Rt(s):s)}}function st(e=!1){return function(t,n,o,r){let i=t[n];if(Dt(i)&&Kt(i)&&!Kt(o))return!1;if(!e&&(Ht(o)||Dt(o)||(i=qt(i),o=qt(o)),!k(t)&&Kt(i)&&!Kt(o)))return i.value=o,!0;const s=k(t)&&I(n)?Number(n)<t.length:C(t,n),a=Reflect.set(t,n,o,r);return t===qt(r)&&(s?U(o,i)&&Ye(t,"set",n,o):Ye(t,"add",n,o)),a}}const at={get:Qe,set:st(),deleteProperty:function(e,t){const n=C(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Ye(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return A(t)&&Je.has(t)||Xe(e,0,t),n},ownKeys:function(e){return Xe(e,0,k(e)?"length":Ie),Reflect.ownKeys(e)}},lt={get:tt,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},ct=x({},at,{get:et,set:st(!0)}),ut=e=>e,dt=e=>Reflect.getPrototypeOf(e);function ft(e,t,n=!1,o=!1){const r=qt(e=e.__v_raw),i=qt(t);n||(t!==i&&Xe(r,0,t),Xe(r,0,i));const{has:s}=dt(r),a=o?ut:n?Xt:zt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function pt(e,t=!1){const n=this.__v_raw,o=qt(n),r=qt(e);return t||(e!==r&&Xe(o,0,e),Xe(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function ht(e,t=!1){return e=e.__v_raw,!t&&Xe(qt(e),0,Ie),Reflect.get(e,"size",e)}function mt(e){e=qt(e);const t=qt(this);return dt(t).has.call(t,e)||(t.add(e),Ye(t,"add",e,e)),this}function gt(e,t){t=qt(t);const n=qt(this),{has:o,get:r}=dt(n);let i=o.call(n,e);i||(e=qt(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?U(t,s)&&Ye(n,"set",e,t):Ye(n,"add",e,t),this}function vt(e){const t=qt(this),{has:n,get:o}=dt(t);let r=n.call(t,e);r||(e=qt(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Ye(t,"delete",e,void 0),i}function yt(){const e=qt(this),t=0!==e.size,n=e.clear();return t&&Ye(e,"clear",void 0,void 0),n}function bt(e,t){return function(n,o){const r=this,i=r.__v_raw,s=qt(i),a=t?ut:e?Xt:zt;return!e&&Xe(s,0,Ie),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function _t(e,t,n){return function(...o){const r=this.__v_raw,i=qt(r),s=E(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?ut:t?Xt:zt;return!t&&Xe(i,0,l?je:Ie),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function wt(e){return function(...t){return"delete"!==e&&this}}function xt(){const e={get(e){return ft(this,e)},get size(){return ht(this)},has:pt,add:mt,set:gt,delete:vt,clear:yt,forEach:bt(!1,!1)},t={get(e){return ft(this,e,!1,!0)},get size(){return ht(this)},has:pt,add:mt,set:gt,delete:vt,clear:yt,forEach:bt(!1,!0)},n={get(e){return ft(this,e,!0)},get size(){return ht(this,!0)},has(e){return pt.call(this,e,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:bt(!0,!1)},o={get(e){return ft(this,e,!0,!0)},get size(){return ht(this,!0)},has(e){return pt.call(this,e,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:bt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=_t(r,!1,!1),n[r]=_t(r,!0,!1),t[r]=_t(r,!1,!0),o[r]=_t(r,!0,!0)})),[e,n,t,o]}const[St,Tt,Ct,kt]=xt();function Et(e,t){const n=t?e?kt:Ct:e?Tt:St;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(C(n,o)&&o in t?n:t,o,r)}const Ot={get:Et(!1,!1)},Lt={get:Et(!1,!0)},$t={get:Et(!0,!1)},Pt=new WeakMap,At=new WeakMap,Mt=new WeakMap,Bt=new WeakMap;function Nt(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=>R(e).slice(8,-1))(e))}function Rt(e){return Dt(e)?e:It(e,!1,at,Ot,Pt)}function Ft(e){return It(e,!0,lt,$t,Mt)}function It(e,t,n,o,r){if(!M(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=Nt(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function jt(e){return Dt(e)?jt(e.__v_raw):!(!e||!e.__v_isReactive)}function Dt(e){return!(!e||!e.__v_isReadonly)}function Ht(e){return!(!e||!e.__v_isShallow)}function Vt(e){return jt(e)||Dt(e)}function qt(e){const t=e&&e.__v_raw;return t?qt(t):e}function Wt(e){return K(e,"__v_skip",!0),e}const zt=e=>M(e)?Rt(e):e,Xt=e=>M(e)?Ft(e):e;function Ut(e){Ve&&Fe&&Ue((e=qt(e)).dep||(e.dep=Pe()))}function Yt(e,t){const n=(e=qt(e)).dep;n&&Ke(n)}function Kt(e){return!(!e||!0!==e.__v_isRef)}function Gt(e){return Jt(e,!1)}function Zt(e){return Jt(e,!0)}function Jt(e,t){return Kt(e)?e:new Qt(e,t)}class Qt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:qt(e),this._value=t?e:zt(e)}get value(){return Ut(this),this._value}set value(e){const t=this.__v_isShallow||Ht(e)||Dt(e);e=t?e:qt(e),U(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:zt(e),Yt(this))}}function en(e){return Kt(e)?e.value:e}const tn={get:(e,t,n)=>en(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Kt(r)&&!Kt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function nn(e){return jt(e)?e:new Proxy(e,tn)}var on;class rn{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[on]=!1,this._dirty=!0,this.effect=new De(e,(()=>{this._dirty||(this._dirty=!0,Yt(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=qt(this);return Ut(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function sn(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){ln(i,t,n)}return r}function an(e,t,n,o){if($(e)){const r=sn(e,t,n,o);return r&&B(r)&&r.catch((e=>{ln(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(an(e[i],t,n,o));return r}function ln(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void sn(s,null,10,[e,r,i])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}on="__v_isReadonly";let cn=!1,un=!1;const dn=[];let fn=0;const pn=[];let hn=null,mn=0;const gn=Promise.resolve();let vn=null;function yn(e){const t=vn||gn;return e?t.then(this?e.bind(this):e):t}function bn(e){dn.length&&dn.includes(e,cn&&e.allowRecurse?fn+1:fn)||(null==e.id?dn.push(e):dn.splice(function(e){let t=fn+1,n=dn.length;for(;t<n;){const o=t+n>>>1;Sn(dn[o])<e?t=o+1:n=o}return t}(e.id),0,e),_n())}function _n(){cn||un||(un=!0,vn=gn.then(Cn))}function wn(e,t=(cn?fn+1:0)){for(;t<dn.length;t++){const e=dn[t];e&&e.pre&&(dn.splice(t,1),t--,e())}}function xn(e){if(pn.length){const e=[...new Set(pn)];if(pn.length=0,hn)return void hn.push(...e);for(hn=e,hn.sort(((e,t)=>Sn(e)-Sn(t))),mn=0;mn<hn.length;mn++)hn[mn]();hn=null,mn=0}}const Sn=e=>null==e.id?1/0:e.id,Tn=(e,t)=>{const n=Sn(e)-Sn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Cn(e){un=!1,cn=!0,dn.sort(Tn);try{for(fn=0;fn<dn.length;fn++){const e=dn[fn];e&&!1!==e.active&&sn(e,null,14)}}finally{fn=0,dn.length=0,xn(),cn=!1,vn=null,(dn.length||pn.length)&&Cn()}}function kn(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||m;let r=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in o){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:i}=o[e]||m;i&&(r=n.map((e=>P(e)?e.trim():e))),t&&(r=n.map(G))}let a,l=o[a=X(t)]||o[a=X(V(t))];!l&&i&&(l=o[a=X(W(t))]),l&&an(l,e,6,En(e,l,r));const c=o[a+"Once"];if(c){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,an(c,e,6,En(e,c,r))}}function En(e,t,n){if(1!==n.length)return n;if($(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&C(o,"type")&&C(o,"timeStamp")&&C(o,"target")&&C(o,"currentTarget")&&C(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function On(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!$(e)){const o=e=>{const n=On(e,t,!0);n&&(a=!0,x(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(k(i)?i.forEach((e=>s[e]=null)):x(s,i),M(e)&&o.set(e,s),s):(M(e)&&o.set(e,null),null)}function Ln(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),C(e,t[0].toLowerCase()+t.slice(1))||C(e,W(t))||C(e,t))}let $n=null,Pn=null;function An(e){const t=$n;return $n=e,Pn=e&&e.type.__scopeId||null,t}function Mn(e,t=$n,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Br(-1);const r=An(t);let i;try{i=e(...n)}finally{An(r),o._d&&Br(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Bn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:m}=e;let g,v;const y=An(e);try{if(4&n.shapeFlag){const e=r||o;g=Yr(u.call(e,e,d,i,p,f,h)),v=l}else{const e=t;0,g=Yr(e.length>1?e(i,{attrs:l,slots:a,emit:c}):e(i,null)),v=t.props?l:Nn(l)}}catch(_){$r.length=0,ln(_,e,1),g=Wr(Or)}let b=g;if(v&&!1!==m){const e=Object.keys(v),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(w)&&(v=Rn(v,s)),b=zr(b,v))}return n.dirs&&(b=zr(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),g=b,An(y),g}const Nn=e=>{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},Rn=(e,t)=>{const n={};for(const o in e)w(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Fn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!Ln(n,i))return!0}return!1}const In=e=>e.__isSuspense;function jn(e,t){if(ti){let n=ti.provides;const o=ti.parent&&ti.parent.provides;o===n&&(n=ti.provides=Object.create(o)),n[e]=t,"app"===ti.type.mpType&&ti.appContext.app.provide(e,t)}else;}function Dn(e,t,n=!1){const o=ti||$n;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&$(t)?t.call(o.proxy):t}}function Hn(e,t){return Wn(e,null,t)}const Vn={};function qn(e,t,n){return Wn(e,t,n)}function Wn(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:s}=m){const a=Oe===(null==ti?void 0:ti.scope)?ti:null;let l,c,u=!1,d=!1;if(Kt(e)?(l=()=>e.value,u=Ht(e)):jt(e)?(l=()=>e,o=!0):k(e)?(d=!0,u=e.some((e=>jt(e)||Ht(e))),l=()=>e.map((e=>Kt(e)?e.value:jt(e)?Un(e):$(e)?sn(e,a,2):void 0))):l=$(e)?t?()=>sn(e,a,2):()=>{if(!a||!a.isUnmounted)return c&&c(),an(e,a,3,[p])}:v,t&&o){const e=l;l=()=>Un(e())}let f,p=e=>{c=b.onStop=()=>{sn(e,a,4)}};if(si){if(p=v,t?n&&an(t,a,3,[l(),d?[]:void 0,p]):l(),"sync"!==r)return v;{const e=hi();f=e.__watcherHandles||(e.__watcherHandles=[])}}let h=d?new Array(e.length).fill(Vn):Vn;const g=()=>{if(b.active)if(t){const e=b.run();(o||u||(d?e.some(((e,t)=>U(e,h[t]))):U(e,h)))&&(c&&c(),an(t,a,3,[e,h===Vn?void 0:d&&h[0]===Vn?[]:h,p]),h=e)}else b.run()};let y;g.allowRecurse=!!t,"sync"===r?y=g:"post"===r?y=()=>xr(g,a&&a.suspense):(g.pre=!0,a&&(g.id=a.uid),y=()=>bn(g));const b=new De(l,y);t?n?g():h=b.run():"post"===r?xr(b.run.bind(b),a&&a.suspense):b.run();const _=()=>{b.stop(),a&&a.scope&&S(a.scope.effects,b)};return f&&f.push(_),_}function zn(e,t,n){const o=this.proxy,r=P(e)?e.includes(".")?Xn(o,e):()=>o[e]:e.bind(o,o);let i;$(t)?i=t:(i=t.handler,n=t);const s=ti;oi(this);const a=Wn(r,i.bind(o),n);return s?oi(s):ri(),a}function Xn(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 Un(e,t){if(!M(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Kt(e))Un(e.value,t);else if(k(e))for(let n=0;n<e.length;n++)Un(e[n],t);else if(O(e)||E(e))e.forEach((e=>{Un(e,t)}));else if(F(e))for(const n in e)Un(e[n],t);return e}const Yn=[Function,Array],Kn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Yn,onEnter:Yn,onAfterEnter:Yn,onEnterCancelled:Yn,onBeforeLeave:Yn,onLeave:Yn,onAfterLeave:Yn,onLeaveCancelled:Yn,onBeforeAppear:Yn,onAppear:Yn,onAfterAppear:Yn,onAppearCancelled:Yn},Gn={name:"BaseTransition",props:Kn,setup(e,{slots:t}){const n=ni(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Co((()=>{e.isMounted=!0})),Oo((()=>{e.isUnmounting=!0})),e}();let r;return()=>{const i=t.default&&no(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1)for(const e of i)if(e.type!==Or){s=e;break}const a=qt(e),{mode:l}=a;if(o.isLeaving)return Qn(s);const c=eo(s);if(!c)return Qn(s);const u=Jn(c,a,o,n);to(c,u);const d=n.subTree,f=d&&eo(d);let p=!1;const{getTransitionKey:h}=c.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,p=!0)}if(f&&f.type!==Or&&(!jr(c,f)||p)){const e=Jn(f,a,o,n);if(to(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},Qn(s);"in-out"===l&&c.type!==Or&&(e.delayLeave=(e,t,n)=>{Zn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function Zn(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Jn(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Zn(n,e),w=(e,t)=>{e&&an(e,o,9,t)},x=(e,t)=>{const n=t[1];w(e,t),k(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=m||a}t._leaveCb&&t._leaveCb(!0);const i=_[b];i&&jr(e,i)&&i.el._leaveCb&&i.el._leaveCb(),w(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=g||l,o=v||c,i=y||u}let s=!1;const a=e._enterCb=t=>{s||(s=!0,w(t?i:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?x(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();w(d,[t]);let i=!1;const s=t._leaveCb=n=>{i||(i=!0,o(),w(n?h:p,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?x(f,[t,s]):s()},clone:e=>Jn(e,t,n,o)};return S}function Qn(e){if(ao(e))return(e=zr(e)).children=null,e}function eo(e){return ao(e)?e.children?e.children[0]:void 0:e}function to(e,t){6&e.shapeFlag&&e.component?to(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 no(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===kr?(128&s.patchFlag&&r++,o=o.concat(no(s.children,t,a))):(t||s.type!==Or)&&o.push(null!=a?zr(s,{key:a}):s)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}function oo(e){return $(e)?{setup:e,name:e.name}:e}const ro=e=>!!e.type.__asyncLoader;function io(e){$(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return oo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=ti;if(l)return()=>so(l,e);const t=t=>{c=null,ln(t,e,13,!o)};if(s&&e.suspense||si)return d().then((t=>()=>so(t,e))).catch((e=>(t(e),()=>o?Wr(o,{error:e}):null)));const a=Gt(!1),u=Gt(),f=Gt(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&ao(e.parent.vnode)&&bn(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?so(l,e):u.value&&o?Wr(o,{error:u.value}):n&&!f.value?Wr(n):void 0}})}function so(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=Wr(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const ao=e=>e.type.__isKeepAlive;class lo{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const co={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=ni(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new lo(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!jr(t,i)||"key"===e.matchBy&&t.key!==i.key?(vo(o=t),u(o,n,a,!0)):i&&vo(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function p(t){r.forEach(((n,o)=>{const i=bo(n,e.matchBy);!i||t&&t(i)||(r.delete(o),s(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,Y(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),xr((()=>{i.isDeactivated=!1,i.a&&Y(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Jr(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&_o(t.bda),c(e,f,null,1,a),xr((()=>{t.bda&&wo(t.bda),t.da&&Y(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Jr(n,t.parent,e),t.isDeactivated=!0}),a)},qn((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>fo(e,t))),t&&p((e=>!fo(t,e)))}),{flush:"post",deep:!0});let h=null;const m=()=>{null!=h&&r.set(h,yo(n.subTree))};return Co(m),Eo(m),Oo((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=yo(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&Y(l.component.bda),vo(l);const e=l.component.da;e&&xr(e,a)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!Ir(o)||!(4&o.shapeFlag)&&!In(o.type))return i=null,o;let s=yo(o);const a=s.type,l=bo(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!fo(c,l))||u&&l&&fo(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=zr(s),In(o.type)&&(o.ssContent=s)),h=d,f&&(s.el=f.el,s.component=f.component,s.transition&&to(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,In(o.type)?o:s}}},uo=co;function fo(e,t){return k(e)?e.some((e=>fo(e,t))):P(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function po(e,t){mo(e,"a",t)}function ho(e,t){mo(e,"da",t)}function mo(e,t,n=ti){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,xo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)ao(e.parent.vnode)&&go(o,t,n,e),e=e.parent}}function go(e,t,n,o){const r=xo(t,e,o,!0);Lo((()=>{S(o[t],r)}),n)}function vo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function yo(e){return In(e.type)?e.ssContent:e}function bo(e,t){if("name"===t){const t=e.type;return ui(ro(e)?t.__asyncResolved||{}:t)}return String(e.key)}function _o(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function wo(e){e.forEach((e=>e.__called=!1))}function xo(e,t,n=ti,o=!1){if(n){if(r=e,be.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return _e.indexOf(e)>-1}(e))){const o=n.proxy;an(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;We(),oi(n);const r=an(t,n,e,o);return ri(),ze(),r});return o?i.unshift(s):i.push(s),s}var r}const So=e=>(t,n=ti)=>(!si||"sp"===e)&&xo(e,((...e)=>t(...e)),n),To=So("bm"),Co=So("m"),ko=So("bu"),Eo=So("u"),Oo=So("bum"),Lo=So("um"),$o=So("sp"),Po=So("rtg"),Ao=So("rtc");function Mo(e,t=ti){xo("ec",e,t)}function Bo(e,t){const n=$n;if(null===n)return e;const o=ci(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,n,s,a=m]=t[i];e&&($(e)&&(e={mounted:e,updated:e}),e.deep&&Un(n),r.push({dir:e,instance:o,value:n,oldValue:void 0,arg:s,modifiers:a}))}return e}function No(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(We(),an(l,n,8,[e.el,a,e,t]),ze())}}function Ro(e,t){return jo("components",e,!0,t)||e}const Fo=Symbol();function Io(e){return P(e)?jo("components",e,!1)||e:e||Fo}function jo(e,t,n=!0,o=!1){const r=$n||ti;if(r){const n=r.type;if("components"===e){const e=ui(n,!1);if(e&&(e===t||e===V(t)||e===z(V(t))))return n}const i=Do(r[e]||n[e],t)||Do(r.appContext[e],t);return!i&&o?n:i}}function Do(e,t){return e&&(e[t]||e[V(t)]||e[z(V(t))])}function Ho(e,t,n,o){let r;const i=n&&n[o];if(k(e)||P(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(M(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o<s;o++){const s=n[o];r[o]=t(e[s],s,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function Vo(e,t,n={},o,r){if($n.isCE||$n.parent&&ro($n.parent)&&$n.parent.isCE)return"default"!==t&&(n.name=t),Wr("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),Ar();const s=i&&qo(i(n)),a=Fr(kr,{key:n.key||s&&s.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function qo(e){return e.some((e=>!Ir(e)||e.type!==Or&&!(e.type===kr&&!qo(e.children))))?e:null}const Wo=e=>e?ii(e)?ci(e)||e.proxy:Wo(e.parent):null,zo=x(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=>Wo(e.parent),$root:e=>Wo(e.root),$emit:e=>e.emit,$options:e=>Jo(e),$forceUpdate:e=>e.f||(e.f=()=>bn(e.update)),$nextTick:e=>e.n||(e.n=yn.bind(e.proxy)),$watch:e=>zn.bind(e)}),Xo=(e,t)=>e!==m&&!e.__isScriptSetup&&C(e,t),Uo={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:a,appContext:l}=e;let c;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Xo(o,t))return s[t]=1,o[t];if(r!==m&&C(r,t))return s[t]=2,r[t];if((c=e.propsOptions[0])&&C(c,t))return s[t]=3,i[t];if(n!==m&&C(n,t))return s[t]=4,n[t];Yo&&(s[t]=0)}}const u=zo[t];let d,f;return u?("$attrs"===t&&Xe(e,0,t),u(e)):(d=a.__cssModules)&&(d=d[t])?d:n!==m&&C(n,t)?(s[t]=4,n[t]):(f=l.config.globalProperties,C(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return Xo(r,t)?(r[t]=n,!0):o!==m&&C(o,t)?(o[t]=n,!0):!C(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let a;return!!n[s]||e!==m&&C(e,s)||Xo(t,s)||(a=i[0])&&C(a,s)||C(o,s)||C(zo,s)||C(r.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:C(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Yo=!0;function Ko(e){const t=Jo(e),n=e.proxy,o=e.ctx;Yo=!1,t.beforeCreate&&Go(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:m,deactivated:g,beforeDestroy:y,beforeUnmount:b,destroyed:_,unmounted:w,render:x,renderTracked:S,renderTriggered:T,errorCaptured:C,serverPrefetch:E,expose:O,inheritAttrs:L,components:P,directives:A,filters:B}=t;if(c&&function(e,t,n=v,o=!1){k(e)&&(e=nr(e));for(const r in e){const n=e[r];let i;i=M(n)?"default"in n?Dn(n.from||r,n.default,!0):Dn(n.from||r):Dn(n),Kt(i)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[r]=i}}(c,o,null,e.appContext.config.unwrapInjectedRef),s)for(const v in s){const e=s[v];$(e)&&(o[v]=e.bind(n))}if(r){const t=r.call(n,n);M(t)&&(e.data=Rt(t))}if(Yo=!0,i)for(const k in i){const e=i[k],t=$(e)?e.bind(n,n):$(e.get)?e.get.bind(n,n):v,r=!$(e)&&$(e.set)?e.set.bind(n):v,s=di({get:t,set:r});Object.defineProperty(o,k,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(a)for(const v in a)Zo(a[v],o,n,v);if(l){const e=$(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{jn(t,e[t])}))}function N(e,t){k(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&Go(u,e,"c"),N(To,d),N(Co,f),N(ko,p),N(Eo,h),N(po,m),N(ho,g),N(Mo,C),N(Ao,S),N(Po,T),N(Oo,b),N(Lo,w),N($o,E),k(O))if(O.length){const t=e.exposed||(e.exposed={});O.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===v&&(e.render=x),null!=L&&(e.inheritAttrs=L),P&&(e.components=P),A&&(e.directives=A);const R=e.appContext.config.globalProperties.$applyOptions;R&&R(t,e,n)}function Go(e,t,n){an(k(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Zo(e,t,n,o){const r=o.includes(".")?Xn(n,o):()=>n[o];if(P(e)){const n=t[e];$(n)&&qn(r,n)}else if($(e))qn(r,e.bind(n));else if(M(e))if(k(e))e.forEach((e=>Zo(e,t,n,o)));else{const o=$(e.handler)?e.handler.bind(n):t[e.handler];$(o)&&qn(r,o,e)}}function Jo(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>Qo(l,e,s,!0))),Qo(l,t,s)):l=t,M(t)&&i.set(t,l),l}function Qo(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Qo(e,i,n,!0),r&&r.forEach((t=>Qo(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=er[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const er={data:tr,props:rr,emits:rr,methods:rr,computed:rr,beforeCreate:or,created:or,beforeMount:or,mounted:or,beforeUpdate:or,updated:or,beforeDestroy:or,beforeUnmount:or,destroyed:or,unmounted:or,activated:or,deactivated:or,errorCaptured:or,serverPrefetch:or,components:rr,directives:rr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=x(Object.create(null),e);for(const o in t)n[o]=or(e[o],t[o]);return n},provide:tr,inject:function(e,t){return rr(nr(e),nr(t))}};function tr(e,t){return t?e?function(){return x($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function nr(e){if(k(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function or(e,t){return e?[...new Set([].concat(e,t))]:t}function rr(e,t){return e?x(x(Object.create(null),e),t):t}function ir(e,t,n,o=!1){const r={},i={};K(i,Dr,1),e.propsDefaults=Object.create(null),sr(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:It(r,!1,ct,Lt,At):e.type.props?e.props=r:e.props=i,e.attrs=i}function sr(e,t,n,o){const[r,i]=e.propsOptions;let s,a=!1;if(t)for(let l in t){if(j(l))continue;const c=t[l];let u;r&&C(r,u=V(l))?i&&i.includes(u)?(s||(s={}))[u]=c:n[u]=c:Ln(e.emitsOptions,l)||l in o&&c===o[l]||(o[l]=c,a=!0)}if(i){const t=qt(n),o=s||m;for(let s=0;s<i.length;s++){const a=i[s];n[a]=ar(r,t,a,o[a],e,!C(o,a))}}return a}function ar(e,t,n,o,r,i){const s=e[n];if(null!=s){const e=C(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&$(e)){const{propsDefaults:i}=r;n in i?o=i[n]:(oi(r),o=i[n]=e.call(null,t),ri())}else o=e}s[0]&&(i&&!e?o=!1:!s[1]||""!==o&&o!==W(n)||(o=!0))}return o}function lr(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const i=e.props,s={},a=[];let l=!1;if(!$(e)){const o=e=>{l=!0;const[n,o]=lr(e,t,!0);x(s,n),o&&a.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!l)return M(e)&&o.set(e,g),g;if(k(i))for(let u=0;u<i.length;u++){const e=V(i[u]);cr(e)&&(s[e]=m)}else if(i)for(const u in i){const e=V(u);if(cr(e)){const t=i[u],n=s[e]=k(t)||$(t)?{type:t}:Object.assign({},t);if(n){const t=fr(Boolean,n.type),o=fr(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||C(n,"default"))&&a.push(e)}}}const c=[s,a];return M(e)&&o.set(e,c),c}function cr(e){return"$"!==e[0]}function ur(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function dr(e,t){return ur(e)===ur(t)}function fr(e,t){return k(t)?t.findIndex((t=>dr(t,e))):$(t)&&dr(t,e)?0:-1}const pr=e=>"_"===e[0]||"$stable"===e,hr=e=>k(e)?e.map(Yr):[Yr(e)],mr=(e,t,n)=>{if(t._n)return t;const o=Mn(((...e)=>hr(t(...e))),n);return o._c=!1,o},gr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(pr(r))continue;const n=e[r];if($(n))t[r]=mr(0,n,o);else if(null!=n){const e=hr(n);t[r]=()=>e}}},vr=(e,t)=>{const n=hr(t);e.slots.default=()=>n};function yr(){return{app:null,config:{isNativeTag:y,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 br=0;function _r(e,t){return function(n,o=null){$(n)||(n=Object.assign({},n)),null==o||M(o)||(o=null);const r=yr(),i=new Set;let s=!1;const a=r.app={_uid:br++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:mi,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&$(e.install)?(i.add(e),e.install(a,...t)):$(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){const u=Wr(n,o);return u.appContext=r,l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,ci(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a)};return a}}function wr(e,t,n,o,r=!1){if(k(e))return void e.forEach(((e,i)=>wr(e,t&&(k(t)?t[i]:t),n,o,r)));if(ro(o)&&!r)return;const i=4&o.shapeFlag?ci(o.component)||o.component.proxy:o.el,s=r?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===m?a.refs={}:a.refs,d=a.setupState;if(null!=c&&c!==l&&(P(c)?(u[c]=null,C(d,c)&&(d[c]=null)):Kt(c)&&(c.value=null)),$(l))sn(l,a,12,[s,u]);else{const t=P(l),o=Kt(l);if(t||o){const a=()=>{if(e.f){const n=t?C(d,l)?d[l]:u[l]:l.value;r?k(n)&&S(n,i):k(n)?n.includes(i)||n.push(i):t?(u[l]=[i],C(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else t?(u[l]=s,C(d,l)&&(d[l]=s)):o&&(l.value=s,e.k&&(u[e.k]=s))};s?(a.id=-1,xr(a,n)):a()}}}const xr=function(e,t){var n;t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):(k(n=e)?pn.push(...n):hn&&hn.includes(n,n.allowRecurse?mn+1:mn)||pn.push(n),_n())};function Sr(e){return function(e,t){(Z||(Z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})).__VUE__=!0;const{insert:n,remove:o,patchProp:r,forcePatchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=v,insertStaticContent:h}=e,y=(e,t,n,o=null,r=null,i=null,s=!1,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!jr(e,t)&&(o=te(e),U(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Er:b(e,t,n,o);break;case Or:_(e,t,n,o);break;case Lr:null==e&&w(t,n,o,s);break;case kr:M(e,t,n,o,r,i,s,a,l);break;default:1&d?k(e,t,n,o,r,i,s,a,l):6&d?N(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,oe)}null!=u&&r&&wr(u,e&&e.ref,i,t||e,!t)},b=(e,t,o,r)=>{if(null==e)n(t.el=a(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},_=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},w=(e,t,n,o)=>{[e.el,e.anchor]=h(e.children,t,n,o,e.el,e.anchor)},S=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=f(e),n(e,o,r),e=i;n(t,o,r)},T=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)},k=(e,t,n,o,r,i,s,a,l)=>{s=s||"svg"===t.type,null==e?E(t,n,o,r,i,s,a,l):$(e,t,r,i,s,a,l)},E=(e,t,o,i,a,l,c,d)=>{let f,p;const{type:h,props:m,shapeFlag:g,transition:v,dirs:y}=e;if(f=e.el=s(e.type,l,m&&m.is,m),8&g?u(f,e.children):16&g&&L(e.children,f,null,i,a,l&&"foreignObject"!==h,c,d),y&&No(e,null,i,"created"),O(f,e,e.scopeId,c,i),m){for(const t in m)"value"===t||j(t)||r(f,t,null,m[t],l,e.children,i,a,ee);"value"in m&&r(f,"value",null,m.value),(p=m.onVnodeBeforeMount)&&Jr(p,i,e)}Object.defineProperty(f,"__vueParentComponent",{value:i,enumerable:!1}),y&&No(e,null,i,"beforeMount");const b=(!a||a&&!a.pendingBranch)&&v&&!v.persisted;b&&v.beforeEnter(f),n(f,t,o),((p=m&&m.onVnodeMounted)||b||y)&&xr((()=>{p&&Jr(p,i,e),b&&v.enter(f),y&&No(e,null,i,"mounted")}),a)},O=(e,t,n,o,r)=>{if(n&&p(e,n),o)for(let i=0;i<o.length;i++)p(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;O(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},L=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Kr(e[c]):Yr(e[c]);y(null,l,t,n,o,r,i,s,a)}},$=(e,t,n,o,s,a,l)=>{const c=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;n&&Tr(n,!1),(v=g.onVnodeBeforeUpdate)&&Jr(v,n,t,e),p&&No(t,e,n,"beforeUpdate"),n&&Tr(n,!0);const y=s&&"foreignObject"!==t.type;if(f?P(e.dynamicChildren,f,c,n,o,y,a):l||H(e,t,c,null,n,o,y,a,!1),d>0){if(16&d)A(c,t,h,g,n,o,s);else if(2&d&&h.class!==g.class&&r(c,"class",null,g.class,s),4&d&&r(c,"style",h.style,g.style,s),8&d){const a=t.dynamicProps;for(let t=0;t<a.length;t++){const l=a[t],u=h[l],d=g[l];(d!==u||"value"===l||i&&i(c,l))&&r(c,l,u,d,s,e.children,n,o,ee)}}1&d&&e.children!==t.children&&u(c,t.children)}else l||null!=f||A(c,t,h,g,n,o,s);((v=g.onVnodeUpdated)||p)&&xr((()=>{v&&Jr(v,n,t,e),p&&No(t,e,n,"updated")}),o)},P=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===kr||!jr(l,c)||70&l.shapeFlag)?d(l.el):n;y(l,c,u,null,o,r,i,s,!0)}},A=(e,t,n,o,s,a,l)=>{if(n!==o){if(n!==m)for(const i in n)j(i)||i in o||r(e,i,n[i],null,l,t.children,s,a,ee);for(const c in o){if(j(c))continue;const u=o[c],d=n[c];(u!==d&&"value"!==c||i&&i(e,c))&&r(e,c,d,u,l,t.children,s,a,ee)}"value"in o&&r(e,"value",n.value,o.value)}},M=(e,t,o,r,i,s,l,c,u)=>{const d=t.el=e?e.el:a(""),f=t.anchor=e?e.anchor:a("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(n(d,o,r),n(f,o,r),L(t.children,o,f,i,s,l,c,u)):p>0&&64&p&&h&&e.dynamicChildren?(P(e.dynamicChildren,h,o,i,s,l,c),(null!=t.key||i&&t===i.subTree)&&Cr(e,t,!0)):H(e,t,o,f,i,s,l,c,u)},N=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):R(t,n,o,r,i,s,l):F(e,t,l)},R=(e,t,n,o,r,i,s)=>{const a=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Qr,i={uid:ei++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Le(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:lr(o,r),emitsOptions:On(o,r),emit:null,emitted:null,propsDefaults:m,inheritAttrs:o.inheritAttrs,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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};i.ctx={_:i},i.root=t?t.root:i,i.emit=kn.bind(null,i),i.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(i);return i}(e,o,r);if(ao(e)&&(a.ctx.renderer=oe),function(e,t=!1){si=t;const{props:n,children:o}=e.vnode,r=ii(e);ir(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=qt(t),K(t,"_",n)):gr(t,e.slots={})}else e.slots={},t&&vr(e,t);K(e.slots,Dr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Wt(new Proxy(e.ctx,Uo));const{setup:o}=n;if(o){const n=e.setupContext=o.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)=>(Xe(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;oi(e),We();const r=sn(o,e,0,[e.props,n]);if(ze(),ri(),B(r)){if(r.then(ri,ri),t)return r.then((n=>{ai(e,n,t)})).catch((t=>{ln(t,e,0)}));e.asyncDep=r}else ai(e,r,t)}else li(e,t)}(e,t):void 0;si=!1}(a),a.asyncDep){if(r&&r.registerDep(a,I),!e.el){const e=a.subTree=Wr(Or);_(null,e,t,n)}}else I(a,e,t,n,r,i,s)},F=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Fn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Fn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!Ln(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void D(o,t,n);o.next=t,function(e){const t=dn.indexOf(e);t>fn&&dn.splice(t,1)}(o.update),o.update()}else t.el=e.el,o.vnode=t},I=(e,t,n,o,r,i,s)=>{const a=()=>{if(e.isMounted){let t,{next:n,bu:o,u:a,parent:l,vnode:c}=e,u=n;Tr(e,!1),n?(n.el=c.el,D(e,n,s)):n=c,o&&Y(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Jr(t,l,n,c),Tr(e,!0);const f=Bn(e),p=e.subTree;e.subTree=f,y(p,f,d(p.el),te(p),e,r,i),n.el=f.el,null===u&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,f.el),a&&xr(a,r),(t=n.props&&n.props.onVnodeUpdated)&&xr((()=>Jr(t,l,n,c)),r)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=ro(t);if(Tr(e,!1),c&&Y(c),!f&&(s=l&&l.onVnodeBeforeMount)&&Jr(s,d,t),Tr(e,!0),a&&ie){const n=()=>{e.subTree=Bn(e),ie(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const s=e.subTree=Bn(e);y(null,s,n,o,e,r,i),t.el=s.el}if(u&&xr(u,r),!f&&(s=l&&l.onVnodeMounted)){const e=t;xr((()=>Jr(s,d,e)),r)}const{ba:p,a:h}=e;(256&t.shapeFlag||d&&ro(d.vnode)&&256&d.vnode.shapeFlag)&&(p&&_o(p),h&&xr(h,r),p&&xr((()=>wo(p)),r)),e.isMounted=!0,t=n=o=null}},l=e.effect=new De(a,(()=>bn(c)),e.scope),c=e.update=()=>l.run();c.id=e.uid,Tr(e,!0),c()},D=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=qt(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;sr(e,t,r,i)&&(c=!0);for(const i in a)t&&(C(t,i)||(o=W(i))!==i&&C(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=ar(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&C(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(Ln(e.emitsOptions,s))continue;const u=t[s];if(l)if(C(i,s))u!==i[s]&&(i[s]=u,c=!0);else{const t=V(s);r[t]=ar(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=u,c=!0)}}c&&Ye(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,s=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:(x(r,t),n||1!==e||delete r._):(i=!t.$stable,gr(t,r)),s=t}else t&&(vr(e,t),s={default:1});if(i)for(const a in r)pr(a)||a in s||delete r[a]})(e,t.children,n),We(),wn(),ze()},H=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void z(c,f,n,o,r,i,s,a,l);if(256&p)return void q(c,f,n,o,r,i,s,a,l)}8&h?(16&d&&ee(c,r,i),f!==c&&u(n,f)):16&d?16&h?z(c,f,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&d&&u(n,""),16&h&&L(f,n,o,r,i,s,a,l))},q=(e,t,n,o,r,i,s,a,l)=>{t=t||g;const c=(e=e||g).length,u=t.length,d=Math.min(c,u);let f;for(f=0;f<d;f++){const o=t[f]=l?Kr(t[f]):Yr(t[f]);y(e[f],o,n,null,r,i,s,a,l)}c>u?ee(e,r,i,!0,!1,d):L(t,n,o,r,i,s,a,l,d)},z=(e,t,n,o,r,i,s,a,l)=>{let c=0;const u=t.length;let d=e.length-1,f=u-1;for(;c<=d&&c<=f;){const o=e[c],u=t[c]=l?Kr(t[c]):Yr(t[c]);if(!jr(o,u))break;y(o,u,n,null,r,i,s,a,l),c++}for(;c<=d&&c<=f;){const o=e[d],c=t[f]=l?Kr(t[f]):Yr(t[f]);if(!jr(o,c))break;y(o,c,n,null,r,i,s,a,l),d--,f--}if(c>d){if(c<=f){const e=f+1,d=e<u?t[e].el:o;for(;c<=f;)y(null,t[c]=l?Kr(t[c]):Yr(t[c]),n,d,r,i,s,a,l),c++}}else if(c>f)for(;c<=d;)U(e[c],r,i,!0),c++;else{const p=c,h=c,m=new Map;for(c=h;c<=f;c++){const e=t[c]=l?Kr(t[c]):Yr(t[c]);null!=e.key&&m.set(e.key,c)}let v,b=0;const _=f-h+1;let w=!1,x=0;const S=new Array(_);for(c=0;c<_;c++)S[c]=0;for(c=p;c<=d;c++){const o=e[c];if(b>=_){U(o,r,i,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===S[v-h]&&jr(o,t[v])){u=v;break}void 0===u?U(o,r,i,!0):(S[u-h]=c+1,u>=x?x=u:w=!0,y(o,t[u],n,null,r,i,s,a,l),b++)}const T=w?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):g;for(v=T.length-1,c=_-1;c>=0;c--){const e=h+c,d=t[e],f=e+1<u?t[e+1].el:o;0===S[c]?y(null,d,n,f,r,i,s,a,l):w&&(v<0||c!==T[v]?X(d,n,f,2):v--)}}},X=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void X(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,oe);if(a===kr){n(s,t,o);for(let e=0;e<c.length;e++)X(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===Lr)return void S(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),xr((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},U=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&wr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!ro(e);let m;if(h&&(m=s&&s.onVnodeBeforeUnmount)&&Jr(m,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&No(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,oe,o):c&&(i!==kr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===kr&&384&d||!r&&16&u)&&ee(l,t,n),o&&G(e)}(h&&(m=s&&s.onVnodeUnmounted)||p)&&xr((()=>{m&&Jr(m,t,e),p&&No(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===kr)return void J(n,r);if(t===Lr)return void T(e);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,s);o?o(e.el,s,r):r()}else s()},J=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&Y(o),r.stop(),i&&(i.active=!1,U(s,e,t,n)),a&&xr(a,t),xr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)U(e[s],t,n,o,r)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ne=(e,t,n)=>{null==e?t._vnode&&U(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),wn(),xn(),t._vnode=e},oe={p:y,um:U,m:X,r:G,mt:R,mc:L,pc:H,pbc:P,n:te,o:e};let re,ie;t&&([re,ie]=t(oe));return{render:ne,hydrate:re,createApp:_r(ne,re)}}(e)}function Tr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Cr(e,t,n=!1){const o=e.children,r=t.children;if(k(o)&&k(r))for(let i=0;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=Kr(r[i]),t.el=e.el),n||Cr(e,t)),t.type===Er&&(t.el=e.el)}}const kr=Symbol(void 0),Er=Symbol(void 0),Or=Symbol(void 0),Lr=Symbol(void 0),$r=[];let Pr=null;function Ar(e=!1){$r.push(Pr=e?null:[])}let Mr=1;function Br(e){Mr+=e}function Nr(e){return e.dynamicChildren=Mr>0?Pr||g:null,$r.pop(),Pr=$r[$r.length-1]||null,Mr>0&&Pr&&Pr.push(e),e}function Rr(e,t,n,o,r,i){return Nr(qr(e,t,n,o,r,i,!0))}function Fr(e,t,n,o,r){return Nr(Wr(e,t,n,o,r,!0))}function Ir(e){return!!e&&!0===e.__v_isVNode}function jr(e,t){return e.type===t.type&&e.key===t.key}const Dr="__vInternal",Hr=({key:e})=>null!=e?e:null,Vr=({ref:e,ref_key:t,ref_for:n})=>null!=e?P(e)||Kt(e)||$(e)?{i:$n,r:e,k:t,f:!!n}:e:null;function qr(e,t=null,n=null,o=0,r=null,i=(e===kr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hr(t),ref:t&&Vr(t),scopeId:Pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:$n};return a?(Gr(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=P(n)?8:16),Mr>0&&!s&&Pr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Pr.push(l),l}const Wr=function(e,t=null,n=null,r=0,i=null,s=!1){e&&e!==Fo||(e=Or);if(Ir(e)){const o=zr(e,t,!0);return n&&Gr(o,n),Mr>0&&!s&&Pr&&(6&o.shapeFlag?Pr[Pr.indexOf(e)]=o:Pr.push(o)),o.patchFlag|=-2,o}a=e,$(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?Vt(e)||Dr in e?x({},e):e:null}(t);let{class:e,style:n}=t;e&&!P(e)&&(t.class=l(e)),M(n)&&(Vt(n)&&!k(n)&&(n=x({},n)),t.style=o(n))}const c=P(e)?1:In(e)?128:(e=>e.__isTeleport)(e)?64:M(e)?4:$(e)?2:0;return qr(e,t,n,r,i,c,s,!0)};function zr(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?Zr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Hr(a),ref:t&&t.ref?n&&r?k(r)?r.concat(Vr(t)):[r,Vr(t)]:Vr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==kr?-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&&zr(e.ssContent),ssFallback:e.ssFallback&&zr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Xr(e=" ",t=0){return Wr(Er,null,e,t)}function Ur(e="",t=!1){return t?(Ar(),Fr(Or,null,e)):Wr(Or,null,e)}function Yr(e){return null==e||"boolean"==typeof e?Wr(Or):k(e)?Wr(kr,null,e.slice()):"object"==typeof e?Kr(e):Wr(Er,null,String(e))}function Kr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:zr(e)}function Gr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(k(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Gr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Dr in t?3===o&&$n&&(1===$n.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=$n}}else $(t)?(t={default:t,_ctx:$n},n=32):(t=String(t),64&o?(n=16,t=[Xr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Zr(...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=l([t.class,r.class]));else if("style"===e)t.style=o([t.style,r.style]);else if(_(e)){const n=t[e],o=r[e];!o||n===o||k(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function Jr(e,t,n,o=null){an(e,t,7,[n,o])}const Qr=yr();let ei=0;let ti=null;const ni=()=>ti||$n,oi=e=>{ti=e,e.scope.on()},ri=()=>{ti&&ti.scope.off(),ti=null};function ii(e){return 4&e.vnode.shapeFlag}let si=!1;function ai(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:M(t)&&(e.setupState=nn(t)),li(e,n)}function li(e,t,n){const o=e.type;e.render||(e.render=o.render||v),oi(e),We(),Ko(e),ze(),ri()}function ci(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(nn(Wt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in zo?zo[n](e):void 0,has:(e,t)=>t in e||t in zo}))}function ui(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}const di=(e,t)=>function(e,t,n=!1){let o,r;const i=$(e);return i?(o=e,r=v):(o=e.get,r=e.set),new rn(o,r,i||!r,n)}(e,0,si);function fi(e,t,n){const o=arguments.length;return 2===o?M(t)&&!k(t)?Ir(t)?Wr(e,null,[t]):Wr(e,t):Wr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ir(n)&&(n=[n]),Wr(e,t,n))}const pi=Symbol(""),hi=()=>Dn(pi),mi="3.2.47",gi="undefined"!=typeof document?document:null,vi=gi&&gi.createElement("template"),yi={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?gi.createElementNS("http://www.w3.org/2000/svg",e):gi.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>gi.createTextNode(e),createComment:e=>gi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{vi.innerHTML=o?`<svg>${e}</svg>`:e;const r=vi.content;if(o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const bi=/\s*!important$/;function _i(e,t,n){if(k(n))n.forEach((n=>_i(e,t,n)));else if(null==n&&(n=""),n=$i(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=xi[t];if(n)return n;let o=V(t);if("filter"!==o&&o in e)return xi[t]=o;o=z(o);for(let r=0;r<wi.length;r++){const n=wi[r]+o;if(n in e)return xi[t]=n}return t}(e,t);bi.test(n)?e.setProperty(W(o),n.replace(bi,""),"important"):e[o]=n}}const wi=["Webkit","Moz","ms"],xi={};const{unit:Si,unitRatio:Ti,unitPrecision:Ci}={unit:"rem",unitRatio:10/320,unitPrecision:5},ki=(Ei=Si,Oi=Ti,Li=Ci,e=>e.replace(ue,((e,t)=>{if(!t)return e;if(1===Oi)return`${t}${Ei}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*Oi,Li);return 0===n?"0":`${n}${Ei}`})));var Ei,Oi,Li;const $i=e=>P(e)?ki(e):e,Pi="http://www.w3.org/1999/xlink";function Ai(e,t,n,o){e.addEventListener(t,n,o)}function Mi(e,t,n,o,r=null){const i=e._vei||(e._vei={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(Bi.test(e)){let n;for(t={};n=e.match(Bi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):W(e.slice(2)),t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&k(i)){const n=Fi(e,i);for(let o=0;o<n.length;o++){const i=n[o];an(i,t,5,i.__wwe?[e]:r(e))}}else an(Fi(e,i),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=(()=>Ni||(Ri.then((()=>Ni=0)),Ni=Date.now()))(),n}(o,r);Ai(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const Bi=/(?:Once|Passive|Capture)$/;let Ni=0;const Ri=Promise.resolve();function Fi(e,t){if(k(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 Ii=/^on[a-z]/;const ji="transition",Di=(e,{slots:t})=>fi(Gn,function(e){const t={};for(const x in e)x in Hi||(t[x]=e[x]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=function(e){if(null==e)return null;if(M(e))return[Wi(e.enter),Wi(e.leave)];{const t=Wi(e);return[t,t]}}(r),m=h&&h[0],g=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:_,onLeaveCancelled:w,onBeforeAppear:S=v,onAppear:T=y,onAppearCancelled:C=b}=t,k=(e,t,n)=>{Xi(e,t?u:a),Xi(e,t?c:s),n&&n()},E=(e,t)=>{e._isLeaving=!1,Xi(e,d),Xi(e,p),Xi(e,f),t&&t()},O=e=>(t,n)=>{const r=e?T:y,s=()=>k(t,e,n);Vi(r,[t,s]),Ui((()=>{Xi(t,e?l:i),zi(t,e?u:a),qi(r)||Ki(t,o,m,s)}))};return x(t,{onBeforeEnter(e){Vi(v,[e]),zi(e,i),zi(e,s)},onBeforeAppear(e){Vi(S,[e]),zi(e,l),zi(e,c)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>E(e,t);zi(e,d),document.body.offsetHeight,zi(e,f),Ui((()=>{e._isLeaving&&(Xi(e,d),zi(e,p),qi(_)||Ki(e,o,g,n))})),Vi(_,[e,n])},onEnterCancelled(e){k(e,!1),Vi(b,[e])},onAppearCancelled(e){k(e,!0),Vi(C,[e])},onLeaveCancelled(e){E(e),Vi(w,[e])}})}(e),t);Di.displayName="Transition";const Hi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Di.props=x({},Kn,Hi);const Vi=(e,t=[])=>{k(e)?e.forEach((e=>e(...t))):e&&e(...t)},qi=e=>!!e&&(k(e)?e.some((e=>e.length>1)):e.length>1);function Wi(e){const t=(e=>{const t=P(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function zi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function Xi(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 Ui(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Yi=0;function Ki(e,t,n,o){const r=e._endId=++Yi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=Gi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=Gi(a,l);let u=null,d=0,f=0;t===ji?s>0&&(u=ji,d=s,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?ji:"animation":null,f=u?u===ji?i.length:l.length:0);const p=u===ji&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,f)}function Gi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Zi(t)+Zi(e[n]))))}function Zi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}const Ji=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?e=>Y(t,e):t};function Qi(e){e.target.composing=!0}function es(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ts={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ji(r);const i=o||r.props&&"number"===r.props.type;Ai(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),i&&(o=G(o)),e._assign(o)})),n&&Ai(e,"change",(()=>{e.value=e.value.trim()})),t||(Ai(e,"compositionstart",Qi),Ai(e,"compositionend",es),Ai(e,"change",es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e._assign=Ji(i),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===t)return;if((r||"number"===e.type)&&G(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},ns={deep:!0,created(e,t,n){e._assign=Ji(n),Ai(e,"change",(()=>{const t=e._modelValue,n=as(e),o=e.checked,r=e._assign;if(k(t)){const e=f(t,n),i=-1!==e;if(o&&!i)r(t.concat(n));else if(!o&&i){const n=[...t];n.splice(e,1),r(n)}}else if(O(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(ls(e,o))}))},mounted:os,beforeUpdate(e,t,n){e._assign=Ji(n),os(e,t,n)}};function os(e,{value:t,oldValue:n},o){e._modelValue=t,k(t)?e.checked=f(t,o.props.value)>-1:O(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=d(t,ls(e,!0)))}const rs={created(e,{value:t},n){e.checked=d(t,n.props.value),e._assign=Ji(n),Ai(e,"change",(()=>{e._assign(as(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ji(o),t!==n&&(e.checked=d(t,o.props.value))}},is={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=O(t);Ai(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?G(as(e)):as(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ji(o)},mounted(e,{value:t}){ss(e,t)},beforeUpdate(e,t,n){e._assign=Ji(n)},updated(e,{value:t}){ss(e,t)}};function ss(e,t){const n=e.multiple;if(!n||k(t)||O(t)){for(let o=0,r=e.options.length;o<r;o++){const r=e.options[o],i=as(r);if(n)k(t)?r.selected=f(t,i)>-1:r.selected=t.has(i);else if(d(as(r),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function as(e){return"_value"in e?e._value:e.value}function ls(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const cs={created(e,t,n){us(e,t,n,null,"created")},mounted(e,t,n){us(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){us(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){us(e,t,n,o,"updated")}};function us(e,t,n,o,r){const i=function(e,t){switch(e){case"SELECT":return is;case"TEXTAREA":return ts;default:switch(t){case"checkbox":return ns;case"radio":return rs;default:return ts}}}(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,o)}const ds=["ctrl","shift","alt","meta"],fs={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)=>ds.some((n=>e[`${n}Key`]&&!t.includes(n)))},ps=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=fs[t[e]];if(o&&o(n,t))return}return e(n,...o)},hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ms(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),ms(e,!0),o.enter(e)):o.leave(e,(()=>{ms(e,!1)})):ms(e,t))},beforeUnmount(e,{value:t}){ms(e,t)}};function ms(e,t){e.style.display=t?e._vod:"none"}const gs=x({patchProp:(e,t,n,o,r=!1,i,s,a,l)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;yn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,s);"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,r):"style"===t?function(e,t,n){const o=e.style,r=P(n);if(n&&!r){if(t&&!P(t))for(const e in t)null==n[e]&&_i(o,e,"");for(const e in n)_i(o,e,n[e])}else{const i=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}const{__wxsStyle:i}=e;if(i)for(const s in i)_i(o,s,i[s])}(e,n,o):_(t)?w(t)||Mi(e,t,0,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ii.test(t)&&$(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(Ii.test(t)&&P(n))return!1;return t in e}(e,t,o,r))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}let a=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=u(n):null==n&&"string"===o?(n="",a=!0):"number"===o&&(n=0,a=!0)}try{e[t]=n}catch(l){}a&&e.removeAttribute(t)}(e,t,o,i,s,a,l):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Pi,t.slice(6,t.length)):e.setAttributeNS(Pi,t,n);else{const o=c(t);null==n||o&&!u(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,r))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},yi);let vs;const ys=(...e)=>{const t=(vs||(vs=Sr(gs))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(P(e)){return document.querySelector(e)}return e}(e);if(!o)return;const r=t._component;$(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const bs=["{","}"];const _s=/^(?:\d)+/,ws=/^(?:\w)+/;const xs=Object.prototype.hasOwnProperty,Ss=(e,t)=>xs.call(e,t),Ts=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=bs){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let s=e[r++];if(s===t){i&&o.push({type:"text",value:i}),i="";let t="";for(s=e[r++];void 0!==s&&s!==n;)t+=s,s=e[r++];const a=s===n,l=_s.test(t)?"list":a&&ws.test(t)?"named":"unknown";o.push({value:t,type:l})}else i+=s}return i&&o.push({type:"text",value:i}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===r)return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(t[i.value])}o++}return n}(o,t)}};function Cs(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class ks{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Ts,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Cs(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{Ss(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=Cs(t,this.messages))&&(o=this.messages[t]):n=t,Ss(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function Es(e,t={},n,o){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e="undefined"!=typeof uni&&dd?dd():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new ks({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=hh().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}
  2. /*!
  3. * vue-router v4.1.6
  4. * (c) 2022 Eduardo San Martin Morote
  5. * @license MIT
  6. */const Os="undefined"!=typeof window;const Ls=Object.assign;function $s(e,t){const n={};for(const o in t){const r=t[o];n[o]=As(r)?r.map(e):e(r)}return n}const Ps=()=>{},As=Array.isArray,Ms=/\/$/;function Bs(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r,i,s=n.length-1;for(r=0;r<o.length;r++)if(i=o[r],"."!==i){if(".."!==i)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(r-(r===o.length?1:0)).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:s}}function Ns(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Rs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Fs(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Is(e[n],t[n]))return!1;return!0}function Is(e,t){return As(e)?js(e,t):As(t)?js(t,e):e===t}function js(e,t){return As(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Ds,Hs,Vs,qs;function Ws(e){if(!e)if(Os){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Ms,"")}(Hs=Ds||(Ds={})).pop="pop",Hs.push="push",(qs=Vs||(Vs={})).back="back",qs.forward="forward",qs.unknown="";const zs=/^[^#]+#/;function Xs(e,t){return e.replace(zs,"#")+t}const Us=()=>({left:window.pageXOffset,top:window.pageYOffset});function Ys(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function Ks(e,t){return(history.state?history.state.position-t:-1)+e}const Gs=new Map;function Zs(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),Ns(n,"")}return Ns(n,e)+o+r}function Js(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Us():null}}function Qs(e){const{history:t,location:n}=window,o={value:Zs(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=Ls({},r.value,t.state,{forward:e,scroll:Us()});i(s.current,s,!0),i(e,Ls({},Js(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Ls({},t.state,Js(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function ea(e){const t=Qs(e=Ws(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=Zs(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:Ds.pop,direction:u?u>0?Vs.forward:Vs.back:Vs.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Ls({},e.state,{scroll:Us()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Ls({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Xs.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function ta(e){return"string"==typeof e||"symbol"==typeof e}const na={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},oa=Symbol("");var ra,ia;function sa(e,t){return Ls(new Error,{type:e,[oa]:!0},t)}function aa(e,t){return e instanceof Error&&oa in e&&(null==t||!!(e.type&t))}(ia=ra||(ra={}))[ia.aborted=4]="aborted",ia[ia.cancelled=8]="cancelled",ia[ia.duplicated=16]="duplicated";const la={sensitive:!1,strict:!1,start:!0,end:!0},ca=/[.+*?^${}()[\]/\\]/g;function ua(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function da(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=ua(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(fa(o))return 1;if(fa(r))return-1}return r.length-o.length}function fa(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const pa={type:0,value:""},ha=/[a-zA-Z0-9_]/;function ma(e,t,n){const o=function(e,t){const n=Ls({},la,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t<l.length;t++){const o=l[t];let s=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(ca,"\\$&"),s+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;i.push({name:e,repeatable:n,optional:c});const d=u||"[^/]+?";if("[^/]+?"!==d){s+=10;try{new RegExp(`(${d})`)}catch(a){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+a.message)}}let f=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(f=c&&l.length<2?`(?:/${f})`:"/"+f),c&&(f+="?"),r+=f,s+=20,c&&(s+=-8),n&&(s+=-20),".*"===d&&(s+=-50)}e.push(s)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");return{re:s,score:o,keys:i,parse:function(e){const t=e.match(s),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:s,optional:a}=e,l=i in t?t[i]:"";if(As(l)&&!s)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=As(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${i}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[pa]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const r=[];let i;function s(){i&&r.push(i),i=[]}let a,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l<e.length;)if(a=e[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&d(),s()):":"===a?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:"("===a?n=2:ha.test(a)?f():(d(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),s(),r}(e.path),n),r=Ls(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ga(e,t){const n=[],o=new Map;function r(e,n,o){const a=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ya(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=wa(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(Ls({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,f;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=ma(t,n,c),o?o.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),a&&e.name&&!ba(d)&&i(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)r(e[t],d,o&&o.children[t])}o=o||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&s(d)}return f?()=>{i(f)}:Ps}function i(e){if(ta(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){let t=0;for(;t<n.length&&da(e,n[t])>=0&&(e.record.path!==n[t].record.path||!xa(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!ba(e)&&o.set(e.record.name,e)}return t=wa({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw sa(1,{location:e});s=r.record.name,a=Ls(va(t.params,r.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&va(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if("path"in e)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw sa(1,{location:e,currentLocation:t});s=r.record.name,a=Ls({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:_a(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function va(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function ya(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="boolean"==typeof n?n:n[o];return t}function ba(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function _a(e){return e.reduce(((e,t)=>Ls(e,t.meta)),{})}function wa(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function xa(e,t){return t.children.some((t=>t===e||xa(e,t)))}const Sa=/#/g,Ta=/&/g,Ca=/\//g,ka=/=/g,Ea=/\?/g,Oa=/\+/g,La=/%5B/g,$a=/%5D/g,Pa=/%5E/g,Aa=/%60/g,Ma=/%7B/g,Ba=/%7C/g,Na=/%7D/g,Ra=/%20/g;function Fa(e){return encodeURI(""+e).replace(Ba,"|").replace(La,"[").replace($a,"]")}function Ia(e){return Fa(e).replace(Oa,"%2B").replace(Ra,"+").replace(Sa,"%23").replace(Ta,"%26").replace(Aa,"`").replace(Ma,"{").replace(Na,"}").replace(Pa,"^")}function ja(e){return null==e?"":function(e){return Fa(e).replace(Sa,"%23").replace(Ea,"%3F")}(e).replace(Ca,"%2F")}function Da(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ha(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(Oa," "),r=e.indexOf("="),i=Da(r<0?e:e.slice(0,r)),s=r<0?null:Da(e.slice(r+1));if(i in t){let e=t[i];As(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Va(e){let t="";for(let n in e){const o=e[n];if(n=Ia(n).replace(ka,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(As(o)?o.map((e=>e&&Ia(e))):[o&&Ia(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function qa(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=As(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Wa=Symbol(""),za=Symbol(""),Xa=Symbol(""),Ua=Symbol(""),Ya=Symbol("");function Ka(){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 Ga(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((s,a)=>{const l=e=>{var l;!1===e?a(sa(4,{from:n,to:t})):e instanceof Error?a(e):"string"==typeof(l=e)||l&&"object"==typeof l?a(sa(2,{from:t,to:e})):(i&&o.enterCallbacks[r]===i&&"function"==typeof e&&i.push(e),s())},c=e.call(o&&o.instances[r],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch((e=>a(e)))}))}function Za(e,t,n,o){const r=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(i=a)||"displayName"in i||"props"in i||"__vccOpts"in i){const i=(a.__vccOpts||a)[t];i&&r.push(Ga(i,n,o,s,e))}else{let i=a();r.push((()=>i.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const i=(a=r).__esModule||"Module"===a[Symbol.toStringTag]?r.default:r;var a;s.components[e]=i;const l=(i.__vccOpts||i)[t];return l&&Ga(l,n,o,s,e)()}))))}}var i;return r}function Ja(e){const t=Dn(Xa),n=Dn(Ua),o=di((()=>t.resolve(en(e.to)))),r=di((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(Rs.bind(null,r));if(s>-1)return s;const a=el(e[t-2]);return t>1&&el(r)===a&&i[i.length-1].path!==a?i.findIndex(Rs.bind(null,e[t-2])):s})),i=di((()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!As(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=di((()=>r.value>-1&&r.value===n.matched.length-1&&Fs(n.params,o.value.params)));return{route:o,href:di((()=>o.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[en(e.replace)?"replace":"push"](en(e.to)).catch(Ps):Promise.resolve()}}}const Qa=oo({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:Ja,setup(e,{slots:t}){const n=Rt(Ja(e)),{options:o}=Dn(Xa),r=di((()=>({[tl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[tl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:fi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function el(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const tl=(e,t,n)=>null!=e?e:null!=t?t:n;function nl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const ol=oo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Dn(Ya),r=di((()=>e.route||o.value)),i=Dn(za,0),s=di((()=>{let e=en(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=di((()=>r.value.matched[s.value]));jn(za,di((()=>s.value+1))),jn(Wa,a),jn(Ya,r);const l=Gt();return qn((()=>[l.value,a.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&Rs(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return nl(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=fi(c,Ls({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return nl(n.default,{Component:f,route:o})||f}}});function rl(e){const t=ga(e.routes,e),n=e.parseQuery||Ha,o=e.stringifyQuery||Va,r=e.history,i=Ka(),s=Ka(),a=Ka(),l=Zt(na);let c=na;Os&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=$s.bind(null,(e=>""+e)),d=$s.bind(null,ja),f=$s.bind(null,Da);function p(e,i){if(i=Ls({},i||l.value),"string"==typeof e){const o=Bs(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return Ls(o,s,{params:f(s.params),hash:Da(o.hash),redirectedFrom:void 0,href:a})}let s;if("path"in e)s=Ls({},e,{path:Bs(n,e.path,i.path).path});else{const t=Ls({},e.params);for(const e in t)null==t[e]&&delete t[e];s=Ls({},e,{params:d(e.params)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Ls({},e,{hash:(h=c,Fa(h).replace(Ma,"{").replace(Na,"}").replace(Pa,"^")),path:a.path}));var h;const m=r.createHref(p);return Ls({fullPath:p,hash:c,query:o===Va?qa(e.query):e.query||{}},a,{redirectedFrom:void 0,href:m})}function h(e){return"string"==typeof e?Bs(n,e,l.value.path):Ls({},e)}function m(e,t){if(c!==e)return sa(8,{from:t,to:e})}function g(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),Ls({query:e.query,hash:e.hash,params:"path"in o?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(Ls(h(u),{state:"object"==typeof u?Ls({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Rs(t.matched[o],n.matched[r])&&Fs(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=sa(16,{to:d,from:r}),$(r,r,!0,!1)),(f?Promise.resolve(f):_(d,r)).catch((e=>aa(e)?aa(e,2)?e:L(e):O(e,d,r))).then((e=>{if(e){if(aa(e,2))return y(Ls({replace:a},h(e.to),{state:"object"==typeof e.to?Ls({},i,e.to.state):i,force:s}),t||d)}else e=x(d,r,!0,a,i);return w(d,r,e),e}))}function b(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const i=t.matched[s];i&&(e.matched.find((e=>Rs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Rs(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=Za(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Ga(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),il(n).then((()=>{n=[];for(const o of i.list())n.push(Ga(o,e,t));return n.push(l),il(n)})).then((()=>{n=Za(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Ga(o,e,t))}));return n.push(l),il(n)})).then((()=>{n=[];for(const o of e.matched)if(o.beforeEnter&&!t.matched.includes(o))if(As(o.beforeEnter))for(const r of o.beforeEnter)n.push(Ga(r,e,t));else n.push(Ga(o.beforeEnter,e,t));return n.push(l),il(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Za(a,"beforeRouteEnter",e,t),n.push(l),il(n)))).then((()=>{n=[];for(const o of s.list())n.push(Ga(o,e,t));return n.push(l),il(n)})).catch((e=>aa(e,8)?e:Promise.reject(e)))}function w(e,t,n){for(const o of a.list())o(e,t,n)}function x(e,t,n,o,i){const s=m(e,t);if(s)return s;const a=t===na,c=Os?history.state:{};n&&(o||a?r.replace(e.fullPath,Ls({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,$(e,t,n,a),L()}let S;function T(){S||(S=r.listen(((e,t,n)=>{if(!B.listening)return;const o=p(e),i=v(o);if(i)return void y(Ls(i,{replace:!0}),o).catch(Ps);c=o;const s=l.value;var a,u;Os&&(a=Ks(s.fullPath,n.delta),u=Us(),Gs.set(a,u)),_(o,s).catch((e=>aa(e,12)?e:aa(e,2)?(y(e.to,o).then((e=>{aa(e,20)&&!n.delta&&n.type===Ds.pop&&r.go(-1,!1)})).catch(Ps),Promise.reject()):(n.delta&&r.go(-n.delta,!1),O(e,o,s)))).then((e=>{(e=e||x(o,s,!1))&&(n.delta&&!aa(e,8)?r.go(-n.delta,!1):n.type===Ds.pop&&aa(e,20)&&r.go(-1,!1)),w(o,s,e)})).catch(Ps)})))}let C,k=Ka(),E=Ka();function O(e,t,n){L(e);const o=E.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function L(e){return C||(C=!e,T(),k.list().forEach((([t,n])=>e?n(e):t())),k.reset()),e}function $(t,n,o,r){const{scrollBehavior:i}=e;if(!Os||!i)return Promise.resolve();const s=!o&&function(e){const t=Gs.get(e);return Gs.delete(e),t}(Ks(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return yn().then((()=>i(t,n,s))).then((e=>e&&Ys(e))).catch((e=>O(e,t,n)))}const P=e=>r.go(e);let A;const M=new Set,B={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return ta(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:g,replace:function(e){return g(Ls(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:E.add,isReady:function(){return C&&l.value!==na?Promise.resolve():new Promise(((e,t)=>{k.add([e,t])}))},install(e){e.component("RouterLink",Qa),e.component("RouterView",ol),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>en(l)}),Os&&!A&&l.value===na&&(A=!0,g(r.location).catch((e=>{})));const t={};for(const o in na)t[o]=di((()=>l.value[o]));e.provide(Xa,this),e.provide(Ua,Rt(t)),e.provide(Ya,l);const n=e.unmount;M.add(e),e.unmount=function(){M.delete(e),M.size<1&&(c=na,S&&S(),S=null,l.value=na,A=!1,C=!1),n()}}};return B}function il(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function sl(){return Dn(Ua)}const al=se((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let ll;function cl(){if(!ll){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,ll=Es(e),al()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>ll.add(e,__uniConfig.locales[e]))),ll.setLocale(e)}}return ll}function ul(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const dl=se((()=>{const e="uni.async.",t=["error"];cl().add("en",ul(e,t,["The connection timed out, click the screen to try again."]),!1),cl().add("es",ul(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),cl().add("fr",ul(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),cl().add("zh-Hans",ul(e,t,["连接服务器超时,点击屏幕重试"]),!1),cl().add("zh-Hant",ul(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),fl=se((()=>{const e="uni.showToast.",t=["unpaired"];cl().add("en",ul(e,t,["Please note showToast must be paired with hideToast"]),!1),cl().add("es",ul(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),cl().add("fr",ul(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),cl().add("zh-Hans",ul(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),cl().add("zh-Hant",ul(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),pl=se((()=>{const e="uni.showLoading.",t=["unpaired"];cl().add("en",ul(e,t,["Please note showLoading must be paired with hideLoading"]),!1),cl().add("es",ul(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),cl().add("fr",ul(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),cl().add("zh-Hans",ul(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),cl().add("zh-Hant",ul(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),hl=se((()=>{const e="uni.showModal.",t=["cancel","confirm"];cl().add("en",ul(e,t,["Cancel","OK"]),!1),cl().add("es",ul(e,t,["Cancelar","OK"]),!1),cl().add("fr",ul(e,t,["Annuler","OK"]),!1),cl().add("zh-Hans",ul(e,t,["取消","确定"]),!1),cl().add("zh-Hant",ul(e,t,["取消","確定"]),!1)})),ml=se((()=>{const e="uni.chooseFile.",t=["notUserActivation"];cl().add("en",ul(e,t,["File chooser dialog can only be shown with a user activation"]),!1),cl().add("es",ul(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),cl().add("fr",ul(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),cl().add("zh-Hans",ul(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),cl().add("zh-Hant",ul(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),gl=se((()=>{const e="uni.setClipboardData.",t=["success","fail"];cl().add("en",ul(e,t,["Content copied","Copy failed, please copy manually"]),!1),cl().add("es",ul(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),cl().add("fr",ul(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),cl().add("zh-Hans",ul(e,t,["内容已复制","复制失败,请手动复制"]),!1),cl().add("zh-Hant",ul(e,t,["內容已復制","復制失敗,請手動復製"]),!1)})),vl=se((()=>{const e="uni.video.",t=["danmu","volume"];cl().add("en",ul(e,t,["Danmu","Volume"]),!1),cl().add("es",ul(e,t,["Danmu","Volumen"]),!1),cl().add("fr",ul(e,t,["Danmu","Le Volume"]),!1),cl().add("zh-Hans",ul(e,t,["弹幕","音量"]),!1),cl().add("zh-Hant",ul(e,t,["彈幕","音量"]),!1)}));function yl(e){const t=new Ce;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let bl=1;const _l=Object.create(null);function wl(e,t){return e+"."+t}function xl(e,t,n){t=wl(e,t),_l[t]||(_l[t]=n)}function Sl({id:e,name:t,args:n},o){t=wl(o,t);const r=t=>{e&&Jm.publishHandler("invokeViewApi."+e,t)},i=_l[t];i?i(n,r):r({})}const Tl=x(yl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Jm,i=n?bl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Cl=de(!0);let kl;function El(){kl&&(clearTimeout(kl),kl=null)}let Ol=0,Ll=0;function $l(e){if(El(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ol=t,Ll=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 Pl(e){if(!kl)return;if(1!==e.touches.length)return El();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ol)>10||Math.abs(n-Ll)>10?El():void 0}function Al(e,t){const n=Number(e);return isNaN(n)?t:n}function Ml(){const e=__uniConfig.globalStyle||{},t=Al(e.rpxCalcMaxDeviceWidth,960),n=Al(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Bl(){Ml(),le(),window.addEventListener("touchstart",$l,Cl),window.addEventListener("touchmove",Pl,Cl),window.addEventListener("touchend",El,Cl),window.addEventListener("touchcancel",El,Cl)}function Nl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rl,Fl,Il=["top","left","right","bottom"],jl={};function Dl(){return Fl="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 Hl(){if(Fl="string"==typeof Fl?Fl:Dl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Il.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Rl=!0}else Il.forEach((function(e){jl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Fl+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){ql.length||setTimeout((function(){var e={};ql.forEach((function(t){e[t]=jl[t]})),ql.length=0,Wl.forEach((function(t){t(e)}))}),0);ql.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(jl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Vl(e){return Rl||Hl(),jl[e]}var ql=[];var Wl=[];const zl=Nl({get support(){return 0!=("string"==typeof Fl?Fl:Dl()).length},get top(){return Vl("top")},get left(){return Vl("left")},get right(){return Vl("right")},get bottom(){return Vl("bottom")},onChange:function(e){Dl()&&(Rl||Hl(),"function"==typeof e&&Wl.push(e))},offChange:function(e){var t=Wl.indexOf(e);t>=0&&Wl.splice(t,1)}}),Xl=ps((()=>{}),["prevent"]),Ul=ps((()=>{}),["stop"]);function Yl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Kl(){const e=Yl(document.documentElement.style,"--window-top");return e?e+zl.top:0}function Gl(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Zl(e){return Symbol(e)}function Jl(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Ql(e,t=!1){if(t)return function(e){if(!Jl(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>od(parseFloat(t))+"px"))}(e);if(P(e)){const t=parseInt(e)||0;return Jl(e)?od(t):t}return e}const ec="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",tc="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 nc(e,t="#000",n=27){return Wr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Wr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function oc(){{const{$pageInstance:e}=ni();return e&&e.proxy.$page.id}}function rc(){const e=Wp(),t=e.length;if(t)return e[t-1]}function ic(){const e=rc();if(e)return e.$page.meta}function sc(){const e=ic();return e?e.id:-1}function ac(){const e=rc();if(e)return e.$vm}const lc=["navigationBar","pullToRefresh"];function cc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=x({id:t},n,e);lc.forEach((t=>{o[t]=x({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function uc(e,t,n){if(P(e))n=t,t=e,e=ac();else if("number"==typeof e){const t=Wp().find((t=>t.$page.id===e));e=t?t.$vm:ac()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function dc(e){e.preventDefault()}let fc,pc=0;function hc({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const s=()=>{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-pc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(pc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(fc=setTimeout(s,300))),o=!1};return function(){clearTimeout(fc),o||requestAnimationFrame(s),o=!0}}function mc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return mc(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&".."===n[r];r++);n.splice(0,r),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-r-1,r+1),ie(i.concat(n).join("/"))}function gc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class vc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(oe(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&oe(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=wc(this.$el.querySelector(e));return t?yc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o<n.length;o++){const e=wc(n[o]);e&&t.push(yc(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||P(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:W(n);(P(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(P(e)&&(e=a(e)),F(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];$(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Jm.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 yc(e,t=!0){if(t&&e&&(e=ne(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new vc(e)),e.$el.__wxsComponentDescriptor}function bc(e,t){return yc(e,t)}function _c(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>bc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ne(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,bc(r,!1)]}}function wc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function xc(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function Sc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e,s={type:n,timeStamp:o,target:fe(t?r:xc(r)),detail:{},currentTarget:fe(i)};return e._stopped&&(s._stopped=!0),e.type.startsWith("touch")&&(s.touches=e.touches,s.changedTouches=e.changedTouches),function(e,t){x(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(s,e),s}function Tc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Cc(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:s,clientX:a,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:i,pageY:s-t,clientX:a,clientY:l-t,force:c||0})}return n}const kc=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=0!==o.tagName.indexOf("UNI-");if(r)return _c(e,t,n,!1)||[e];const i=Sc(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=Kl();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Tc(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Kl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Tc(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=Kl();i.touches=Cc(e.touches,t),i.changedTouches=Cc(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 _c(i,t,n)||[i]},createNativeEvent:Sc},Symbol.toStringTag,{value:"Module"});function Ec(e){!function(e){const t=e.globalProperties;x(t,kc),t.$gcd=bc}(e._context.config)}let Oc=1;function Lc(e){return(e||sc())+".invokeViewApi"}const $c=x(yl("view"),{invokeOnCallback:(e,t)=>Qm.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Qm,s=o?Oc++:0;o&&r("invokeViewApi."+s,o,!0),i(Lc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=Qm,a=Oc++,l="invokeViewApi."+a;return r(l,n),s(Lc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Pc(e){uc(rc(),"onResize",e),Qm.invokeOnCallback("onWindowResize",e)}function Ac(e){const t=rc();uc(hh(),"onShow",e),uc(t,"onShow")}function Mc(){uc(hh(),"onHide"),uc(rc(),"onHide")}const Bc=["onPageScroll","onReachBottom"];function Nc(){Bc.forEach((e=>Qm.subscribe(e,function(e){return(t,n)=>{uc(parseInt(n),e,t)}}(e))))}function Rc(){!function(){const{on:e}=Qm;e("onResize",Pc),e("onAppEnterForeground",Ac),e("onAppEnterBackground",Mc)}(),Nc()}function Fc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new ye(this.$page.id)),e.eventChannel}}function Ic(e){e._context.config.globalProperties.getOpenerEventChannel=Fc}function jc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Dc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${od(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Hc(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Dc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Dc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n<r&&setTimeout(i,s.duration+s.delay)}setTimeout((()=>{i()}),0)}const Vc={props:["animation"],watch:{animation:{deep:!0,handler(){Hc(this)}}},mounted(){Hc(this)}},qc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Vc),Wc(e)},Wc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},oo(e)),zc={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=Gt(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:function(e){e.touches.length>1||s(e)},onMousedown:function(e){r||(s(e),window.addEventListener("mouseup",l))},onTouchend:function(){a()},onMouseup:function(){r&&l()},onTouchcancel:function(){r=!1,t.value=!1,clearTimeout(n)}}}}function Uc(e,t){return P(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function Yc(e){return e.__wwe=!0,e}function Kc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){const r=fe(n);return{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Gc=Zl("uf"),Zc=qc({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const o=Gt(null);return function(e){const t=[];jn(Gc,{addField(e){t.push(e)},removeField(e){t.splice(t.indexOf(e),1)},submit(n){e("submit",n,{value:t.reduce(((e,t)=>{if(t.submit){const[n,o]=t.submit();n&&(e[n]=o)}return e}),Object.create(null))})},reset(n){t.forEach((e=>e.reset&&e.reset())),e("reset",n)}})}(Kc(o,n)),()=>Wr("uni-form",{ref:o},[Wr("span",null,[t.default&&t.default()])],512)}});const Jc={for:{type:String,default:""}},Qc=Zl("ul");const eu=qc({name:"Label",props:Jc,setup(e,{slots:t}){const n=oc(),o=function(){const e=[];return jn(Qc,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),r=di((()=>e.for||t.default&&t.default.length)),i=Yc((t=>{const r=t.target;let i=/^uni-(checkbox|radio|switch)-/.test(r.className);i||(i=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(r.tagName)),i||(e.for?Jm.emit("uni-label-click-"+n+"-"+e.for,t,!0):o.length&&o[0](t,!0))}));return()=>Wr("uni-label",{class:{"uni-label-pointer":r},onClick:i},[t.default&&t.default()],10,["onClick"])}});function tu(e,t){nu(e.id,t),qn((()=>e.id),((e,n)=>{ou(n,t,!0),nu(e,t,!0)})),Lo((()=>{ou(e.id,t)}))}function nu(e,t,n){const o=oc();n&&!e||F(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Jm.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Jm.on(r,t[r]):e&&Jm.on(`uni-${r}-${o}-${e}`,t[r])}))}function ou(e,t,n){const o=oc();n&&!e||F(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Jm.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Jm.off(r,t[r]):e&&Jm.off(`uni-${r}-${o}-${e}`,t[r])}))}const ru=qc({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=Gt(null),o=Dn(Gc,!1),{hovering:r,binding:i}=Xc(e);cl();const s=Yc(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=Dn(Qc,!1);return a&&(a.addHandler(s),Oo((()=>{a.removeHandler(s)}))),tu(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Uc(e,"disabled"),l=Uc(e,"loading"),c=Uc(e,"plain"),u=o&&"none"!==o;return Wr("uni-button",Zr({ref:n,onClick:s,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick"])}}});function iu(e){const{base:t}=__uniConfig.router;return 0===ie(e).indexOf(t)?ie(e):t+e}function su(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 iu(e.slice(1));e="https:"+e}if(Q.test(e)||ee.test(e)||0===e.indexOf("blob:"))return e;const o=Wp();return o.length?iu(mc(o[o.length-1].$page.route,e).slice(1)):e}const au=navigator.userAgent,lu=/android/i.test(au),cu=/iphone|ipad|ipod/i.test(au),uu=au.match(/Windows NT ([\d|\d.\d]*)/i),du=/Macintosh|Mac/i.test(au),fu=/Linux|X11/i.test(au),pu=du&&navigator.maxTouchPoints>0;function hu(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function mu(e){return e&&90===Math.abs(window.orientation)}function gu(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function vu(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}const yu=["original","compressed"],bu=["album","camera"],_u=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function wu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function xu(e,t){return!k(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function Su(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Tu=1;const Cu={};function ku(e,t,n){if("number"==typeof e){const o=Cu[e];if(o)return o.keepAlive||delete Cu[e],o.callback(t,n)}return t}const Eu="success",Ou="fail",Lu="complete";function $u(e,t={},{beforeAll:n,beforeSuccess:o}={}){F(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];$(o)&&(t[n]=Su(o),delete e[n])}return t}(t),a=$(r),l=$(i),c=$(s),u=Tu++;return function(e,t,n,o=!1){Cu[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),$(n)&&n(u),u.errMsg===e+":ok"?($(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const Pu="success",Au="fail",Mu="complete",Bu={},Nu={};function Ru(e,t){return function(n){return e(n,t)||n}}function Fu(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(Ru(i,n));else{const e=i(t,n);if(B(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function Iu(e,t={}){return[Pu,Au,Mu].forEach((n=>{const o=e[n];if(!k(o))return;const r=t[n];t[n]=function(e){Fu(o,e,t).then((e=>$(r)&&r(e)||e))}})),t}function ju(e,t){const n=[];k(Bu.returnValue)&&n.push(...Bu.returnValue);const o=Nu[e];return o&&k(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Du(e){const t=Object.create(null);Object.keys(Bu).forEach((e=>{"returnValue"!==e&&(t[e]=Bu[e].slice())}));const n=Nu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Hu(e,t,n,o){const r=Du(e);if(r&&Object.keys(r).length){if(k(r.invoke)){return Fu(r.invoke,n).then((n=>t(Iu(Du(e),n),...o)))}return t(Iu(r,n),...o)}return t(n,...o)}function Vu(e,t){return(n={},...o)=>function(e){return!(!F(e)||![Eu,Ou,Lu].find((t=>$(e[t]))))}(n)?ju(e,Hu(e,t,n,o)):ju(e,new Promise(((r,i)=>{Hu(e,t,x(n,{success:r,fail:i}),o)})))}function qu(e,t,n,o){return ku(e,x({errMsg:t+":fail"+(n?" "+n:"")},o))}function Wu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(P(e))return e}const r=function(e,t){const n=e[0];if(!t||!F(t.formatArgs)&&F(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],s=o[t];if($(s)){const o=s(e[0][t],n);if(P(o))return o}else C(n,t)||(n[t]=s)}}(t,o);if(r)return r}function zu(e,t,n,o){return n=>{const r=$u(e,n,o),i=Wu(0,[n],0,o);return i?qu(r,e,i):t(n,{resolve:t=>function(e,t,n){return ku(e,x(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>qu(r,e,function(e){return!e||P(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Xu(e,t,n,o){return Vu(e,zu(e,t,0,o))}function Uu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Wu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Yu(e,t,n,o){return Vu(e,function(e,t,n,o){return zu(e,t,0,o)}(e,t,0,o))}let Ku=!1,Gu=0,Zu=0,Ju=960,Qu=375,ed=750;function td(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=hu(),t=vu(gu(e,mu(e)));return{platform:cu?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();Gu=n,Zu=t,Ku="ios"===e}function nd(e,t){const n=Number(e);return isNaN(n)?t:n}const od=Uu(0,((e,t)=>{if(0===Gu&&(td(),function(){const e=__uniConfig.globalStyle||{};Ju=nd(e.rpxCalcMaxDeviceWidth,960),Qu=nd(e.rpxCalcBaseDeviceWidth,375),ed=nd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Gu;n=e===ed||n<=Ju?n:Qu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Zu&&Ku?.5:1),e<0?-o:o}));function rd(e,t){Object.keys(t).forEach((n=>{$(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):k(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 id=Uu(0,((e,t)=>{P(e)&&F(t)?rd(Nu[e]||(Nu[e]={}),t):F(e)&&rd(Bu,e)})),sd={formatArgs:{}},ad={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class ld{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=x({},ad,e)}_getOption(e){const t={transition:x({},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 cd=se((()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach((n=>{ld.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}}))})),ud=Uu(0,(e=>(cd(),new ld(e))),0,sd),dd=Uu(0,(()=>{const e=hh();return e&&e.$vm?e.$vm.$locale:cl().getLocale()})),fd={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const pd=Uu(0,(()=>x({},Zd)));let hd,md,gd;const vd=[];const yd=Yu("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{var e,o;void 0===gd&&(gd=!1,hd="",md="uniPush is not enabled"),vd.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==hd&&(e=hd,o=md,vd.forEach((t=>{t(e,o)})),vd.length=0)}))})),bd=e=>{},_d=e=>{},wd={formatArgs:{showToast:!0},beforeInvoke(){gl()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=cl(),o=n("uni.setClipboardData.success");o&&zm({title:o,icon:"success",mask:!1})}},xd=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=xu(e,yu)},sourceType(e,t){t.sourceType=xu(e,bu)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),Sd={formatArgs:{sourceType(e,t){t.sourceType=xu(e,bu)},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=["*"])}}},Td=(Boolean,["all","image","video"]),Cd={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=xu(e,bu)},type(e,t){t.type=wu(e,Td)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=[""])}}},kd={formatArgs:{urls(e,t){t.urls=e.map((e=>P(e)&&e?su(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:P(e)&&e&&(t.current=su(e))}}},Ed="json",Od=["text","arraybuffer"],Ld=encodeURIComponent;ArrayBuffer,Boolean;const $d={formatArgs:{method(e,t){t.method=wu((e||"").toUpperCase(),_u)},data(e,t){t.data=e||""},url(e,t){t.method===_u[0]&&F(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(C(t,a)){let e=t[a];null==e?e="":F(e)&&(e=JSON.stringify(e)),s[Ld(a)]=Ld(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==_u[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Ed).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Od.indexOf(t.responseType)&&(t.responseType="text")}}},Pd={formatArgs:{filePath(e,t){e&&(t.filePath=su(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const Ad={url:{type:String,required:!0}},Md=(Fd(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Fd(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Dd("navigateTo")),Bd=Dd("redirectTo"),Nd=Dd("reLaunch"),Rd=Dd("switchTab");function Fd(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 Id;function jd(){Id=""}function Dd(e){return{formatArgs:{url:Hd(e)},beforeAll:jd}}function Hd(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=Wp();return n.length&&(t=n[n.length-1].$page.route),mc(t,e)}(t)).split("?")[0],r=gc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!P(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(Id===t&&"appLaunch"!==n.openType)return`${Id} locked`;__uniConfig.ready&&(Id=t)}else if(r.meta.isTabBar){const e=Wp(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const Vd={formatArgs:{title:"",mask:!1}},qd=(Boolean,{beforeInvoke(){hl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!C(t,"cancelText")){const{t:e}=cl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!C(t,"confirmText")){const{t:e}=cl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Wd=["success","loading","none","error"],zd=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=wu(e,Wd)},image(e,t){t.image=e?su(e):""},duration:1500,mask:!1}}),Xd={};function Ud(e,t){const n=Xd[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return Yd(s,o)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function Yd(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function Kd(e){for(const n in Xd)if(C(Xd,n)){if(Xd[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Xd[t]=e,t}function Gd(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Xd[e]}const Zd=jc(),Jd=jc();const Qd=qc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Gt(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=Rt({width:-1,height:-1});return qn((()=>x({},o)),(e=>t("resize",e))),()=>{const t=e.value;o.width=t.offsetWidth,o.height=t.offsetHeight,n()}}(n,t,o);return function(e,t,n,o){po(o),Co((()=>{t.initial&&yn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>Wr("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[Wr("div",{onScroll:r},[Wr("div",null,null)],40,["onScroll"]),Wr("div",{onScroll:r},[Wr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const ef=Zl("ucg"),tf=qc({name:"CheckboxGroup",props:{name:{type:String,default:""}},emits:["change"],setup(e,{emit:t,slots:n}){const o=Gt(null);return function(e,t){const n=[],o=()=>n.reduce(((e,t)=>(t.value.checkboxChecked&&e.push(t.value.value),e)),new Array);jn(ef,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},checkboxChange(e){t("change",e,{value:o()})}});const r=Dn(Gc,!1);r&&r.addField({submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=o()),t}})}(e,Kc(o,t)),()=>Wr("uni-checkbox-group",{ref:o},[n.default&&n.default()],512)}});const nf=qc({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},setup(e,{slots:t}){const n=Gt(e.checked),o=Gt(e.value);qn([()=>e.checked,()=>e.value],(([e,t])=>{n.value=e,o.value=t}));const{uniCheckGroup:r,uniLabel:i}=function(e,t,n){const o=di((()=>({checkboxChecked:Boolean(e.value),value:t.value}))),r={reset:n},i=Dn(ef,!1);i&&i.addField(o);const s=Dn(Gc,!1);s&&s.addField(r);const a=Dn(Qc,!1);return Oo((()=>{i&&i.removeField(o),s&&s.removeField(r)})),{uniCheckGroup:i,uniForm:s,uniLabel:a}}(n,o,(()=>{n.value=!1})),s=t=>{e.disabled||(n.value=!n.value,r&&r.checkboxChange(t),t.stopPropagation())};return i&&(i.addHandler(s),Oo((()=>{i.removeHandler(s)}))),tu(e,{"label-click":s}),()=>{const o=Uc(e,"disabled");return Wr("uni-checkbox",Zr(o,{onClick:s}),[Wr("div",{class:"uni-checkbox-wrapper"},[Wr("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[n.value?nc(ec,e.color,22):""],2),t.default&&t.default()])],16,["onClick"])}}});function of(){}const rf={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function sf(e,t,n){function o(e){const t=di((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",of,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",of,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}qn((()=>t.value),(e=>e&&o(e)))}const af={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},lf={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},cf={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"]},uf=qc({name:"Image",props:af,setup(e,{emit:t}){const n=Gt(null),o=function(e,t){const n=Gt(""),o=di((()=>{let e="auto",o="";const r=cf[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=Rt({rootEl:e,src:di((()=>t.src?su(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Co((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}(n,e),r=Kc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=lf[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){df&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return qn((()=>t.mode),((e,t)=>{lf[t]&&r(),lf[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),o(),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};qn((()=>e.src),(e=>l(e))),qn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Co((()=>l(e.src))),Oo((()=>c()))}(o,e,n,i,r),()=>Wr("uni-image",{ref:n},[Wr("div",{style:o.modeStyle},null,4),lf[e.mode]?Wr(Qd,{onResize:i},null,8,["onResize"]):Wr("span",null,null)],512)}});const df="Google Inc."===navigator.vendor;const ff=de(!0),pf=[];let hf,mf=0;const gf=e=>pf.forEach((t=>t.userAction=e));function vf(e={userAction:!1}){if(!hf){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!mf&&gf(!0),mf++,setTimeout((()=>{!--mf&&gf(!1)}),0)}),ff)})),hf=!0}pf.push(e)}const yf=()=>!!mf;function bf(){const e=Rt({userAction:!1});return Co((()=>{vf(e)})),Oo((()=>{!function(e){const t=pf.indexOf(e);t>=0&&pf.splice(t,1)}(e)})),{state:e}}function _f(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function wf(e,t){return"number"===t&&isNaN(Number(e))&&(e=""),null===e?"":String(e)}const xf=["none","text","decimal","numeric","tel","search","email","url"],Sf=x({},{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=>!!~xf.indexOf(e)}},rf),Tf=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Cf(e,t,n,o){const r=ve((n=>{t.value=wf(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});qn((()=>e.modelValue),r),qn((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r<t?n=setTimeout(o,t-(s-r)):o()};return i.cancel=function(){clearTimeout(n),o=null},i.flush=function(){clearTimeout(n),o&&o()},i}(((e,t)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return To((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function kf(e,t){bf();const n=di((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}qn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Co((()=>{n.value&&yn(o)}))}function Ef(e,t,n,o){xl(sc(),"getSelectedTextRange",_f);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=Gt(null),r=Kc(t,n),i=di((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=di((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=di((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=di((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),c=wf(e.modelValue,e.type)||wf(e.value,e.type),u=Rt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return qn((()=>u.focus),(e=>n("update:focus",e))),qn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e))),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Cf(e,i,n,s);kf(e,r),sf(0,r);const{state:l}=function(){const e=Rt({attrs:{}});return Co((()=>{let t=ni();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=Dn(Gc,!1);if(!n)return;const o=ni(),r={submit(){const n=o.proxy;return[n[e],P(t)?n[t]:t.value]},reset(){P(t)?o.proxy[t]="":t.value=""}};n.addField(r),Oo((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}qn([()=>t.selectionStart,()=>t.selectionEnd],s),qn((()=>t.cursor),a),qn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),$(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Of=qc({name:"Input",props:x({},Sf,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Tf],setup(e,{emit:t}){const n=["text","number","idcard","digit","password","tel"],o=["off","one-time-code"],r=di((()=>{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=~n.includes(e.type)?e.type:"text"}return e.password?"password":t})),i=di((()=>{const t=o.indexOf(e.textContentType),n=o.indexOf(W(e.textContentType));return o[-1!==t?t:-1!==n?n:0]}));let s,a=Gt("");const l=Gt(null),{fieldRef:c,state:u,scopedAttrsState:d,fixDisabledColor:f,trigger:p}=Ef(e,l,t,((e,t)=>{const n=e.target;if("number"===r.value){if(s&&(n.removeEventListener("blur",s),s=null),n.validity&&!n.validity.valid){if((!a.value||!n.value)&&"-"===e.data||"-"===a.value[0]&&"deleteContentBackward"===e.inputType)return a.value="-",t.value="",s=()=>{a.value=n.value=""},n.addEventListener("blur",s),!1;if(a.value)if(-1!==a.value.indexOf(".")){if("."!==e.data&&"deleteContentBackward"===e.inputType){const e=a.value.indexOf(".");return a.value=n.value=t.value=a.value.slice(0,e),!0}}else if("."===e.data)return a.value+=".",s=()=>{a.value=n.value=a.value.slice(0,-1)},n.addEventListener("blur",s),!1;return a.value=t.value=n.value="-"===a.value?"":a.value,!1}a.value=n.value;const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}}));qn((()=>u.value),(t=>{"number"!==e.type||"-"===a.value&&""===t||(a.value=t)}));const h=["number","digit"],m=di((()=>h.includes(e.type)?e.step:""));function g(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),p("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return()=>{let t=e.disabled&&f?Wr("input",{key:"disabled-input",ref:c,value:u.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:u.maxlength,step:m.value,class:"uni-input-input",onFocus:e=>e.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):Bo(Wr("input",{key:"input",ref:c,"onUpdate:modelValue":e=>u.value=e,disabled:!!e.disabled,type:r.value,maxlength:u.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",autocomplete:i.value,onKeyup:g,inputmode:e.inputmode},null,40,["onUpdate:modelValue","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]),[[cs,u.value]]);return Wr("uni-input",{ref:l},[Wr("div",{class:"uni-input-wrapper"},[Bo(Wr("div",Zr(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[hs,!(u.value.length||"-"===a.value)]]),"search"===e.confirmType?Wr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Lf=["class","style"],$f=/^on[A-Z]+/,Pf=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=ni(),r=Zt({}),i=Zt({}),s=Zt({}),a=n.concat(Lf);return o.attrs=Rt(o.attrs),Hn((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:$f.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:s}};function Af(e){const t=[];return k(e)&&e.forEach((e=>{Ir(e)?e.type===kr?t.push(...Af(e.children)):t.push(e):k(e)&&t.push(...Af(e))})),t}const Mf=qc({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=Gt(null),o=Gt(!1);let{setContexts:r,events:i}=function(e,t){const n=Gt(0),o=Gt(0),r=Rt({x:null,y:null}),i=Gt(null);let s=null,a=[];function l(t){t&&1!==t&&(e.scaleArea?a.forEach((function(e){e._setScale(t)})):s&&s._setScale(t))}function c(e,n=a){let o=t.value;function r(e){for(let t=0;t<n.length;t++){const o=n[t];if(e===o.rootRef.value)return o}return e===o||e===document.body||e===document?null:r(e.parentNode)}return r(e)}const u=Yc((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=Bf(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);s=e&&e===t?e:null}}})),d=Yc((e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==r.x&&i.value&&i.value>0){l(Bf(n)/i.value)}r.x=n.x,r.y=n.y}})),f=Yc((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?a.forEach((function(e){e._endScale()})):s&&s._endScale())}));function p(){h(),a.forEach((function(e,t){e.setParent()}))}function h(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=r.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}return jn("movableAreaWidth",n),jn("movableAreaHeight",o),{setContexts(e){a=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:f,_resize:p}}}(e,n);const{$listeners:s,$attrs:a,$excludeAttrs:l}=Pf(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),Co((()=>{i._resize(),o.value=!0}));let u=[];const d=[];function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find((e=>n===e.rootRef.value));o&&e.push(Wt(o))}r(e)}return jn("_isMounted",o),jn("movableAreaRootRef",n),jn("addMovableViewContext",(e=>{d.push(e),f()})),jn("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())})),()=>{const e=t.default&&t.default();return u=Af(e),Wr("uni-movable-area",Zr({ref:n},a.value,l.value,c),[Wr(Qd,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function Bf(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Nf=function(e,t,n,o){e.addEventListener(t,(e=>{$(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Rf,Ff;function If(e,t,n){Oo((()=>{document.removeEventListener("mousemove",Rf),document.removeEventListener("mouseup",Ff)}));let o=0,r=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Nf(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)})),Nf(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)})),Nf(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}}));const d=Rf=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),Nf(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=Ff=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),Nf(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function jf(e,t,n){return e>t-n&&e<t+n}function Df(e,t){return jf(e,0,t)}function Hf(){}function Vf(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function qf(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Wf(e,t,n){this._springX=new qf(e,t,n),this._springY=new qf(e,t,n),this._springScale=new qf(e,t,n),this._startTime=0}Hf.prototype.x=function(e){return Math.sqrt(e)},Vf.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()},Vf.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Vf.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}},Vf.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}},Vf.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}},Vf.prototype.dt=function(){return-this._x_v/this._x_a},Vf.prototype.done=function(){const e=jf(this.s().x,this._endPositionX)||jf(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Vf.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Vf.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},qf.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,s=t/(r*e);return{x:function(e){return(i+s*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+s*e)*t+s*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}},qf.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},qf.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},qf.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Df(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Df(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Df(t,.1)&&(t=0),Df(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Df(o-e,.1)&&Df(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},qf.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},qf.prototype.done=function(e){return e||(e=(new Date).getTime()),jf(this.x(),this._endPosition,.1)&&Df(this.dx(),.1)},qf.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())},qf.prototype.springConstant=function(){return this._k},qf.prototype.damping=function(){return this._c},qf.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}]},Wf.prototype.setEnd=function(e,t,n,o){const r=(new Date).getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r},Wf.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)}},Wf.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Wf.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 zf(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Xf=qc({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=Gt(null),r=Kc(o,n),{setParent:i}=function(e,t,n){const o=Dn("_isMounted",Gt(!1)),r=Dn("addMovableViewContext",(()=>{})),i=Dn("removeMovableViewContext",(()=>{}));let s,a,l=Gt(1),c=Gt(1),u=Gt(!1),d=Gt(0),f=Gt(0),p=null,h=null,m=!1,g=null,v=null;const y=new Hf,b=new Hf,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=di((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new Vf(1,w.value);qn((()=>e.disabled),(()=>{z()}));const{_updateOldScale:S,_endScale:T,_setScale:C,scaleValueSync:k,_updateBoundary:E,_updateOffset:O,_updateWH:L,_scaleOffset:$,minX:P,minY:A,maxX:M,maxY:B,FAandSFACancel:N,_getLimitXY:R,_setTransform:F,_revise:I,dampingNumber:j,xMove:D,yMove:H,xSync:V,ySync:q,_STD:W}=function(e,t,n,o,r,i,s,a,l,c){const u=di((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=di((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),f=Gt(Number(e.scaleValue)||1);qn(f,(e=>{F(e)})),qn(u,(()=>{R()})),qn(d,(()=>{R()})),qn((()=>e.scaleValue),(e=>{f.value=Number(e)||0}));const{_updateBoundary:p,_updateOffset:h,_updateWH:m,_scaleOffset:g,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=Dn("movableAreaWidth",Gt(0)),r=Dn("movableAreaHeight",Gt(0)),i=Dn("movableAreaRootRef"),s={x:0,y:0},a={x:0,y:0},l=Gt(0),c=Gt(0),u=Gt(0),d=Gt(0),f=Gt(0),p=Gt(0);function h(){let e=0-s.x+a.x,t=o.value-l.value-s.x-a.x;u.value=Math.min(e,t),f.value=Math.max(e,t);let n=0-s.y+a.y,i=r.value-c.value-s.y-a.y;d.value=Math.min(n,i),p.value=Math.max(n,i)}function m(){s.x=Kf(e.value,i.value),s.y=Gf(e.value,i.value)}function g(o){o=o||t.value,o=n(o);let r=e.value.getBoundingClientRect();c.value=r.height/t.value,l.value=r.width/t.value;let i=c.value*o,s=l.value*o;a.x=(s-l.value)/2,a.y=(i-c.value)/2}return{_updateBoundary:h,_updateOffset:m,_updateWH:g,_scaleOffset:a,minX:u,minY:d,maxX:f,maxY:p}}(t,o,N),{FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:T,_revise:C,dampingNumber:k,xMove:E,yMove:O,xSync:L,ySync:$,_STD:P}=function(e,t,n,o,r,i,s,a,l,c,u,d,f,p){const h=di((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),m=di((()=>"all"===t.direction||"horizontal"===t.direction)),g=di((()=>"all"===t.direction||"vertical"===t.direction)),v=Gt(Jf(t.x)),y=Gt(Jf(t.y));qn((()=>t.x),(e=>{v.value=Jf(e)})),qn((()=>t.y),(e=>{y.value=Jf(e)})),qn(v,(e=>{C(e)})),qn(y,(e=>{k(e)}));const b=new Wf(1,9*Math.pow(h.value,2)/40,h.value);function _(e,t){let n=!1;return e>r.value?(e=r.value,n=!0):e<s.value&&(e=s.value,n=!0),t>i.value?(t=i.value,n=!0):t<a.value&&(t=a.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function x(e,n,r,i,s,a){w(),m.value||(e=l.value),g.value||(n=c.value),t.scale||(r=o.value);let d=_(e,n);e=d.x,n=d.y,t.animation?(b._springX._solution=null,b._springY._solution=null,b._springScale._solution=null,b._springX._endPosition=l.value,b._springY._endPosition=c.value,b._springScale._endPosition=o.value,b.setEnd(e,n,r,1),u=Zf(b,(function(){let e=b.x();S(e.x,e.y,e.scale,i,s,a)}),(function(){u.cancel()}))):S(e,n,r,i,s,a)}function S(r,i,s,a="",u,d){null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=l.value||0),null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=c.value||0),r=Number(r.toFixed(1)),i=Number(i.toFixed(1)),s=Number(s.toFixed(1)),l.value===r&&c.value===i||u||p("change",{},{x:zf(r,n.x),y:zf(i,n.y),source:a}),t.scale||(s=o.value),s=+(s=f(s)).toFixed(3),d&&s!==o.value&&p("scale",{},{x:r,y:i,scale:s});let h="translateX("+r+"px) translateY("+i+"px) translateZ(0px) scale("+s+")";e.value&&(e.value.style.transform=h,e.value.style.webkitTransform=h,l.value=r,c.value=i,o.value=s)}function T(e){let t=_(l.value,c.value),n=t.x,r=t.y,i=t.outOfBounds;return i&&x(n,r,o.value,e),i}function C(e){if(m.value){if(e+n.x===l.value)return l;u&&u.cancel(),x(e+n.x,y.value+n.y,o.value)}return e}function k(e){if(g.value){if(e+n.y===c.value)return c;u&&u.cancel(),x(v.value+n.x,e+n.y,o.value)}return e}return{FAandSFACancel:w,_getLimitXY:_,_animationTo:x,_setTransform:S,_revise:T,dampingNumber:h,xMove:m,yMove:g,xSync:v,ySync:y,_STD:b}}(t,e,g,o,b,_,v,y,s,a,l,c,N,n);function A(t,n){if(e.scale){t=N(t),m(t),p();const e=x(s.value,a.value),o=e.x,r=e.y;n?S(o,r,t,"",!0,!0):Yf((function(){T(o,r,t,"",!0,!0)}))}}function M(){i.value=!0}function B(e){r.value=e}function N(e){return e=Math.max(.5,u.value,e),e=Math.min(10,d.value,e)}function R(){if(!e.scale)return!1;A(o.value,!0),B(o.value)}function F(t){return!!e.scale&&(A(t=N(t),!0),B(t),t)}function I(){i.value=!1,B(o.value)}function j(e){e&&(e=r.value*e,M(),A(e))}return{_updateOldScale:B,_endScale:I,_setScale:j,scaleValueSync:f,_updateBoundary:p,_updateOffset:h,_updateWH:m,_scaleOffset:g,minX:v,minY:y,maxX:b,maxY:_,FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:T,_revise:C,dampingNumber:k,xMove:E,yMove:O,xSync:L,ySync:$,_STD:P}}(e,n,t,l,c,u,d,f,p,h);function z(){u.value||e.disabled||(N(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],D.value&&(s=d.value),H.value&&(a=f.value),n.value.style.willChange="transform",g=null,v=null,m=!0)}function X(t){if(!u.value&&!e.disabled&&m){let n=d.value,o=f.value;if(null===v&&(v=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),D.value&&(n=t.detail.dx+s,_.historyX.shift(),_.historyX.push(n),H.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),H.value&&(o=t.detail.dy+a,_.historyY.shift(),_.historyY.push(o),D.value||null!==g||(g=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!g){t.preventDefault();let r="touch";n<P.value?e.outOfBounds?(r="touch-out-of-bounds",n=P.value-y.x(P.value-n)):n=P.value:n>M.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=M.value+y.x(n-M.value)):n=M.value),o<A.value?e.outOfBounds?(r="touch-out-of-bounds",o=A.value-b.x(A.value-o)):o=A.value:o>B.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=B.value+b.x(o-B.value)):o=B.value),Yf((function(){F(n,o,l.value,r)}))}}}function U(){if(!u.value&&!e.disabled&&m&&(n.value.style.willChange="auto",m=!1,!g&&!I("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=f.value;x.setV(e,t),x.setS(n,o);const r=x.delta().x,i=x.delta().y;let s=r+n,a=i+o;s<P.value?(s=P.value,a=o+(P.value-n)*i/r):s>M.value&&(s=M.value,a=o+(M.value-n)*i/r),a<A.value?(a=A.value,s=n+(A.value-o)*r/i):a>B.value&&(a=B.value,s=n+(B.value-o)*r/i),x.setEnd(s,a),h=Zf(x,(function(){let e=x.s(),t=e.x,n=e.y;F(t,n,l.value,"friction")}),(function(){h.cancel()}))}e.outOfBounds||e.inertia||N()}function Y(){if(!o.value)return;N();let t=e.scale?k.value:1;O(),L(t),E();let n=R(V.value+$.x,q.value+$.y),r=n.x,i=n.y;F(r,i,t,"",!0),S(t)}return Co((()=>{If(n.value,(e=>{switch(e.detail.state){case"start":z();break;case"move":X(e);break;case"end":U()}})),Y(),x.reconfigure(1,w.value),W.reconfigure(1,9*Math.pow(j.value,2)/40,j.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:Y,_endScale:T,_setScale:C};r(e),Lo((()=>{i(e)}))})),Lo((()=>{N()})),{setParent:Y}}(e,r,o);return()=>Wr("uni-movable-view",{ref:o},[Wr(Qd,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Uf=!1;function Yf(e){Uf||(Uf=!0,requestAnimationFrame((function(){e(),Uf=!1})))}function Kf(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Kf(e.offsetParent,t):0}function Gf(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Gf(e.offsetParent,t):0}function Zf(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function Jf(e){return/\d+[ur]px$/i.test(e)?od(parseFloat(e)):Number(e)||0}const Qf=["navigate","redirect","switchTab","reLaunch","navigateBack"],ep=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],tp=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],np={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~Qf.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||ep.concat(tp).includes(e)},animationDuration:{type:[String,Number],default:300}};x({},np,{renderLink:{type:Boolean,default:!0}});const op=Zl("ucg"),rp=qc({name:"RadioGroup",props:{name:{type:String,default:""}},setup(e,{emit:t,slots:n}){const o=Gt(null);return function(e,t){const n=[];Co((()=>{a(n.length-1)}));const o=()=>{var e;return null==(e=n.find((e=>e.value.radioChecked)))?void 0:e.value.value};jn(op,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},radioChange(e,r){a(n.indexOf(r),!0),t("change",e,{value:o()})}});const r=Dn(Gc,!1),i={submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=o()),t}};r&&(r.addField(i),Oo((()=>{r.removeField(i)})));function s(e,t){e.value={radioChecked:t,value:e.value.value}}function a(e,t){n.forEach(((o,r)=>{r!==e&&(t?s(n[r],!1):n.forEach(((e,t)=>{r>=t||n[t].value.radioChecked&&s(n[r],!1)})))}))}}(e,Kc(o,t)),()=>Wr("uni-radio-group",{ref:o},[n.default&&n.default()],512)}});const ip=qc({name:"Radio",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},setup(e,{slots:t}){const n=Gt(e.checked),o=Gt(e.value),r=di((()=>e.disabled?"background-color: #E1E1E1;border-color: ##D1D1D1;":`background-color: ${e.color};border-color: ${e.color};`));qn([()=>e.checked,()=>e.value],(([e,t])=>{n.value=e,o.value=t}));const{uniCheckGroup:i,uniLabel:s,field:a}=function(e,t,n){const o=di({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:({radioChecked:t})=>{e.value=t}}),r={reset:n},i=Dn(op,!1);i&&i.addField(o);const s=Dn(Gc,!1);s&&s.addField(r);const a=Dn(Qc,!1);return Oo((()=>{i&&i.removeField(o),s&&s.removeField(r)})),{uniCheckGroup:i,uniForm:s,uniLabel:a,field:o}}(n,o,(()=>{n.value=!1})),l=t=>{e.disabled||n.value||(n.value=!0,i&&i.radioChange(t,a),t.stopPropagation())};return s&&(s.addHandler(l),Oo((()=>{s.removeHandler(l)}))),tu(e,{"label-click":l}),()=>{const o=Uc(e,"disabled");return Wr("uni-radio",Zr(o,{onClick:l}),[Wr("div",{class:"uni-radio-wrapper"},[Wr("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:n.value?r.value:""},[n.value?nc(ec,e.disabled?"#ADADAD":"#fff",18):""],6),t.default&&t.default()])],16,["onClick"])}}});const sp=de(!0),ap=qc({name:"ScrollView",compatConfig:{MODE:3},props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},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 o=Gt(null),r=Gt(null),i=Gt(null),s=Gt(null),a=Gt(null),l=Kc(o,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=di((()=>Number(e.scrollTop)||0)),n=di((()=>Number(e.scrollLeft)||0));return{state:Rt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e);!function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=di((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),h=di((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function m(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>_(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function g(n){const o=n.target;r("scroll",n,{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,scrollHeight:o.scrollHeight,scrollWidth:o.scrollWidth,deltaX:t.lastScrollLeft-o.scrollLeft,deltaY:t.lastScrollTop-o.scrollTop}),e.scrollY&&(o.scrollTop<=p.value&&t.lastScrollTop-o.scrollTop>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"top"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollTop+o.offsetHeight+h.value>=o.scrollHeight&&t.lastScrollTop-o.scrollTop<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",n,{direction:"bottom"}),t.lastScrollToLowerTime=n.timeStamp)),e.scrollX&&(o.scrollLeft<=p.value&&t.lastScrollLeft-o.scrollLeft>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"left"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollLeft+o.offsetWidth+h.value>=o.scrollWidth&&t.lastScrollLeft-o.scrollLeft<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",n,{direction:"right"}),t.lastScrollToLowerTime=n.timeStamp)),t.lastScrollTop=o.scrollTop,t.lastScrollLeft=o.scrollLeft}function v(t){e.scrollY&&(e.scrollWithAnimation?m(t,"y"):s.value.scrollTop=t)}function y(t){e.scrollX&&(e.scrollWithAnimation?m(t,"x"):s.value.scrollLeft=t)}function b(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(e.scrollX){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?m(r,"x"):s.value.scrollLeft=r}if(e.scrollY){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?m(r,"y"):s.value.scrollTop=r}}}}function _(t,n){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let o=s.value;"x"===n?(o.style.overflowX=e.scrollX?"auto":"hidden",o.scrollLeft=t):"y"===n&&(o.style.overflowY=e.scrollY?"auto":"hidden",o.scrollTop=t),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function w(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{}))}t.refreshState=n}}Co((()=>{yn((()=>{v(n.value),y(o.value)})),b(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),g(e)},a={x:0,y:0},l=null,f=function(n){if(null===a)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,f=s.value;if(Math.abs(o-a.x)>Math.abs(i-a.y))if(e.scrollX){if(0===f.scrollLeft&&o>a.x)return void(l=!1);if(f.scrollWidth===f.offsetWidth+f.scrollLeft&&o<a.x)return void(l=!1);l=!0}else l=!1;else if(e.scrollY)if(0===f.scrollTop&&i>a.y)l=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(f.scrollHeight===f.offsetHeight+f.scrollTop&&i<a.y)return void(l=!1);l=!0}else l=!1;if(l&&n.stopPropagation(),0===f.scrollTop&&1===n.touches.length&&w("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-a.y;0===u&&(u=i),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=i-u,t.refresherHeight>0&&(d=!0,r("refresherpulling",n,{deltaY:o})));const s=t.refresherHeight/e.refresherThreshold;t.refreshRotate=360*(s>1?1:s)}},p=function(e){1===e.touches.length&&(a={x:e.touches[0].pageX,y:e.touches[0].pageY})},h=function(n){a=null,t.refresherHeight>=e.refresherThreshold?w("refreshing"):w("refresherabort")};s.value.addEventListener("touchstart",p,sp),s.value.addEventListener("touchmove",f,de(!1)),s.value.addEventListener("scroll",i,de(!1)),s.value.addEventListener("touchend",h,sp),Oo((()=>{s.value.removeEventListener("touchstart",p),s.value.removeEventListener("touchmove",f),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",h)}))})),po((()=>{e.scrollY&&(s.value.scrollTop=t.lastScrollTop),e.scrollX&&(s.value.scrollLeft=t.lastScrollLeft)})),qn(n,(e=>{v(e)})),qn(o,(e=>{y(e)})),qn((()=>e.scrollIntoView),(e=>{b(e)})),qn((()=>e.refresherTriggered),(e=>{!0===e?w("refreshing"):!1===e&&w("restore")}))}(e,c,u,d,l,o,r,s,t);const f=di((()=>{let t="";return e.scrollX?t+="overflow-x:auto;":t+="overflow-x:hidden;",e.scrollY?t+="overflow-y:auto;":t+="overflow-y:hidden;",t}));return()=>{const{refresherEnabled:t,refresherBackground:l,refresherDefaultStyle:u}=e,{refresherHeight:d,refreshState:p,refreshRotate:h}=c;return Wr("uni-scroll-view",{ref:o},[Wr("div",{ref:i,class:"uni-scroll-view"},[Wr("div",{ref:r,style:f.value,class:"uni-scroll-view"},[Wr("div",{ref:s,class:"uni-scroll-view-content"},[t?Wr("div",{ref:a,style:{backgroundColor:l,height:d+"px"},class:"uni-scroll-view-refresher"},["none"!==u?Wr("div",{class:"uni-scroll-view-refresh"},[Wr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==p?Wr("svg",{key:"refresh__icon",style:{transform:"rotate("+h+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Wr("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),Wr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==p?Wr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Wr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"==u?n.refresher&&n.refresher():null],4):null,n.default&&n.default()],512)],4)],512)],512)}}});function lp(e,t,n,o,r,i){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,f=1,p=null,h=!1,m=0,g="";const v=di((()=>n.value.length>t.displayMultipleItems)),y=di((()=>e.circular&&v.value));function b(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,i=r.length,s=o+t.displayMultipleItems,a=0;a<i;a++){const t=r[a],n=Math.floor(o/i)*i+a,l=n+i,c=n-i,u=Math.max(o-(n+1),n-s,0),d=Math.max(o-(l+1),l-s,0),f=Math.max(o-(c+1),c-s,0),p=Math.min(u,d,f),h=[n,l,c][[u,d,f].indexOf(p)];t.updatePosition(h,e.vertical)}}(r);const s="translate("+(e.vertical?"0":100*-r*f+"%")+", "+(e.vertical?100*-r*f+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=s,l.style.transform=s),d=r,!a){if(r%1==0)return;a=r}r-=Math.floor(a);const c=n.value;r<=-(c.length-1)?r+=c.length:r>=c.length&&(r-=c.length),r=a%1>.5||a<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,o=e.toPos,r=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){b(o),p=null,h=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function S(e,o,r){w();const i=t.duration,s=n.value.length;let a=d;if(y.value)if(r<0){for(;a<e;)a+=s;for(;a-s>e;)a-=s}else if(r>0){for(;a>e;)a-=s;for(;a+s<e;)a+=s;a+s-e<e-a&&(a+=s)}else{for(;a+s<e;)a+=s;for(;a-s>e;)a-=s;a+s-e<e-a&&(a+=s)}else"click"===o&&(e=e+t.displayMultipleItems-1<s?e:0);p={toPos:e,acc:2*(a-e)/(i*i),endTime:Date.now()+i,source:o},h||(h=!0,l=requestAnimationFrame(x))}function T(){s();const e=n.value,o=function(){c=null,g="autoplay",y.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,S(t.current,"autoplay",y.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function C(e){e?T():s()}return qn([()=>e.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;t<r.length;t++){if(r[t].getItemId()===e.currentItemId){o=t;break}}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(g="",t.current=o)})),qn([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){s(),p&&(b(p.toPos),p=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);f=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();f=e.width/t.width,f>0&&f<1||(f=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(a+l-m),m=l):(b(l),e.autoplay&&T())):(u=!0,b(-t.displayMultipleItems-1))})),qn((()=>t.interval),(()=>{c&&(s(),T())})),qn((()=>t.current),((e,o)=>{!function(e,o){const r=g;g="";const s=n.value;if(!r){const t=s.length;S(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)})),qn((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),qn((()=>e.autoplay&&!t.userTracking),C),C(e.autoplay&&!t.userTracking),Co((()=>{let r=!1,i=0,a=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?b(m):(g="touch",t.current=r,S(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}If(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,s(),m=d,i=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&T())}return function(r){const s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=m+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),b(n)}const d=a-s||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}}))})),Lo((()=>{s(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){S(t.current=e,g="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const cp=qc({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Gt(null),r=Kc(o,n),i=Gt(null),s=Gt(null),a=function(e){return Rt({interval:di((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:di((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:di((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=di((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Ql(e.previousMargin,!0),bottom:Ql(e.nextMargin,!0)}:{top:0,bottom:0,left:Ql(e.previousMargin,!0),right:Ql(e.nextMargin,!0)}),t})),c=di((()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],f=Gt([]);function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find((e=>n===e.rootRef.value));o&&e.push(Wt(o))}f.value=e}jn("addSwiperContext",(function(e){d.push(e),p()}));jn("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())}));const{onSwiperDotClick:h,circularEnabled:m,swiperEnabled:g}=lp(e,a,f,s,n,r);let v=()=>null;return v=up(o,e,a,h,f,m,g),()=>{const n=t.default&&t.default();return u=Af(n),Wr("uni-swiper",{ref:o},[Wr("div",{ref:i,class:"uni-swiper-wrapper"},[Wr("div",{class:"uni-swiper-slides",style:l.value},[Wr("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Wr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,o)=>Wr("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<a.current+a.displayMultipleItems&&n>=a.current||n<a.current+a.displayMultipleItems-o.length},style:{background:n===a.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2),v()],512)],512)}}}),up=(e,t,n,o,r,i,s)=>{let a=!1,l=!1,c=!1,u=Gt(!1);function d(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Hn((()=>{a="auto"===t.navigation,u.value=!0!==t.navigation||a,y()})),Hn((()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,c=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(l=!0,c=!0,a&&(u.value=!0))}));const f={onMouseover:e=>d(e,"over"),onMouseout:e=>d(e,"out")};function p(e,t,s){if(e.stopPropagation(),s)return;const a=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=a-1);break;case"next":l++,l>=a&&i.value&&(l=0)}o(l)}const h=()=>nc("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 g=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:s,top:a,bottom:l,width:c,height:d}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(r-a<d/3||l-r<d/3):!(o-i<c/3||s-o<c/3),f)return m=setTimeout((()=>{u.value=f}),300);u.value=f},v=()=>{u.value=!0};function y(){e.value&&(e.value.removeEventListener("mousemove",g),e.value.removeEventListener("mouseleave",v),a&&(e.value.addEventListener("mousemove",g),e.value.addEventListener("mouseleave",v)))}return Co(y),function(){const e={"uni-swiper-navigation-hide":u.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Wr(kr,null,[Wr("div",Zr({class:["uni-swiper-navigation uni-swiper-navigation-prev",x({"uni-swiper-navigation-disabled":l},e)],onClick:e=>p(e,"prev",l)},f),[h()],16,["onClick"]),Wr("div",Zr({class:["uni-swiper-navigation uni-swiper-navigation-next",x({"uni-swiper-navigation-disabled":c},e)],onClick:e=>p(e,"next",c)},f),[h()],16,["onClick"])]):null}},dp=qc({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Gt(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,s=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=s,i.style.transform=s)}};return Co((()=>{const e=Dn("addSwiperContext");e&&e(o)})),Lo((()=>{const e=Dn("removeSwiperContext");e&&e(o)})),()=>Wr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),fp={ensp:" ",emsp:" ",nbsp:" "};function pp(e,t){return e.replace(/\\n/g,"\n").split("\n").map((e=>function(e,{space:t,decode:n}){if(!e)return e;t&&fp[t]&&(e=e.replace(/ /g,fp[t]));if(!n)return e;return e.replace(/&nbsp;/g,fp.nbsp).replace(/&ensp;/g,fp.ensp).replace(/&emsp;/g,fp.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'")}(e,t)))}const hp=qc({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=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Or){const o=pp(t.children,{space:e.space,decode:e.decode}),r=o.length-1;o.forEach(((e,t)=>{(0!==t||e)&&n.push(Xr(e)),t!==r&&n.push(Wr("br"))}))}else n.push(t)})),Wr("uni-text",{selectable:!!e.selectable||null},[Wr("span",null,n)],8,["selectable"])}}),mp=x({},Sf,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>vp.concat("return").includes(e)}});let gp=!1;const vp=["done","go","next","search","send"];const yp=qc({name:"Textarea",props:mp,emits:["confirm","linechange",...Tf],setup(e,{emit:t}){const n=Gt(null),o=Gt(null),{fieldRef:r,state:i,scopedAttrsState:s,fixDisabledColor:a,trigger:l}=Ef(e,n,t),c=di((()=>i.value.split("\n"))),u=di((()=>vp.includes(e.confirmType))),d=Gt(0),f=Gt(null);function p({height:e}){d.value=e}function h(e){"Enter"===e.key&&u.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&u.value){!function(e){l("confirm",e,{value:i.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return qn((()=>d.value),(t=>{const r=n.value,i=f.value,s=o.value;let a=parseFloat(getComputedStyle(r).lineHeight);isNaN(a)&&(a=i.offsetHeight);var c=Math.round(t/a);l("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:c}),e.autoHeight&&(r.style.height="auto",s.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";gp=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),()=>{let t=e.disabled&&a?Wr("textarea",{key:"disabled-textarea",ref:r,value:i.value,tabindex:"-1",readonly:!!e.disabled,maxlength:i.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":gp},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Wr("textarea",{key:"textarea",ref:r,value:i.value,disabled:!!e.disabled,maxlength:i.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":gp},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:h,onKeyup:m},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return Wr("uni-textarea",{ref:n},[Wr("div",{ref:o,class:"uni-textarea-wrapper"},[Bo(Wr("div",Zr(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[hs,!i.value.length]]),Wr("div",{ref:f,class:"uni-textarea-line"},[" "],512),Wr("div",{class:"uni-textarea-compute"},[c.value.map((e=>Wr("div",null,[e.trim()?e:"."]))),Wr(Qd,{initial:!0,onResize:p},null,8,["initial","onResize"])]),"search"===e.confirmType?Wr("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),bp=qc({name:"View",props:x({},zc),setup(e,{slots:t}){const{hovering:n,binding:o}=Xc(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?Wr("uni-view",Zr({class:n.value?r:""},o),[t.default&&t.default()],16):Wr("uni-view",null,[t.default&&t.default()])}}});function _p(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function wp(e,t,n){e&&xl(n||sc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function xp(e,t){e&&function(e,t){t=wl(e,t),delete _l[t]}(t||sc(),e)}let Sp=0;function Tp(e,t,n,o){$(t)&&xo(e,t.bind(n),o)}function Cp(e,t,n){var o;const r=e.mpType||n.$mpType;if(r&&"component"!==r&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!$(t))&&(we.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];k(r)?r.forEach((e=>Tp(o,e,n,t))):Tp(o,r,n,t)}})),"page"===r)){t.__isVisible=!0;try{uc(n,"onLoad",t.attrs.__pageQuery),delete t.attrs.__pageQuery,"preloadPage"!==(null==(o=n.$page)?void 0:o.openType)&&uc(n,"onShow")}catch(i){console.error(i.message+"\n"+i.stack)}}}function kp(e,t,n){Cp(e,t,n)}function Ep(e,t,n){return e[t]=n}function Op(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;uc(r.proxy,"onError",t)}}function Lp(e,t){return e?[...new Set([].concat(e,t))]:t}function $p(e){const t=e._context.config;var n;t.errorHandler=Se(e,Op),n=t.optionMergeStrategies,we.forEach((e=>{n[e]=Lp}));const o=t.globalProperties;o.$set=Ep,o.$applyOptions=kp,function(e){xe.forEach((t=>t(e)))}(e)}const Pp=Zl("upm");function Ap(){return Dn(Pp)}function Mp(e){const t=function(e){return Rt(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Wp().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(cc(sl().meta,e)))))}(e);return jn(Pp,t),t}function Bp(){return sl()}function Np(){return history.state&&history.state.__id__||1}const Rp=window.CSS&&window.CSS.supports;function Fp(e){return Rp&&(Rp(e)||Rp.apply(window.CSS,e.split(":")))}const Ip=Fp("top:env(a)"),jp=Fp("top:constant(a)"),Dp=(()=>Ip?"env":jp?"constant":"")();function Hp(e){var t,n;Gl({"--window-top":(n=0,Dp?`calc(${n}px + ${Dp}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,Dp?`calc(${t}px + ${Dp}(safe-area-inset-bottom))`:`${t}px`)})}const Vp=new Map;function qp(){return Vp}function Wp(){const e=[],t=Vp.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function zp(e,t=!0){const n=Vp.get(e);n.$.__isUnload=!0,uc(n,"onUnload"),Vp.delete(e),t&&function(e){const t=Gp.get(e);t&&(Gp.delete(e),Zp.pruneCacheEntry(t))}(e)}let Xp=Np();function Up(e){const t=Ap();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:s,route:a}=o,l=Ee(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:ie(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Yp(e){const t=Up(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),Vp.set(Kp(t.path,t.id),e)}function Kp(e,t){return e+"$$"+t}const Gp=new Map,Zp={get:e=>Gp.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Zp.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(Zp.delete(n),Zp.pruneCacheEntry(e),yn((()=>{Vp.forEach(((e,t)=>{e.$.isUnmounted&&Vp.delete(t)}))})))}))}(e),Gp.set(e,t)},delete(e){Gp.get(e)&&Gp.delete(e)},forEach(e){Gp.forEach(e)}};function Jp(e,t){!function(e){const t=eh(e),{body:n}=document;th&&n.removeAttribute(th),t&&n.setAttribute(t,""),th=t}(e),Hp(),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",dc),nh&&document.removeEventListener("scroll",nh);if(t.disableScroll)return document.addEventListener("touchmove",dc);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!n&&!o&&!r)return;const i={},s=e.proxy.$page.id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Jm.publishHandler("onPageScroll",{scrollTop:o},e),n&&Jm.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r));o&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>Jm.publishHandler("onReachBottom",{},s));nh=hc(i),requestAnimationFrame((()=>document.addEventListener("scroll",nh)))}(e,t)}function Qp(e){const t=eh(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function eh(e){return e.type.__scopeId}let th,nh;function oh(e){const t=rl({history:ih(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:rh});e.router=t,e.use(t)}const rh=(e,t,n)=>{if(n)return n};function ih(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),ea(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Wp(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=t[r].$page;zp(Kp(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const sh={install(e){$p(e),Ec(e),Ic(e),e.config.warnHandler||(e.config.warnHandler=ah),oh(e)}};function ah(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const lh={class:"uni-async-loading"},ch=Wr("i",{class:"uni-loading"},null,-1),uh=Wc({name:"AsyncLoading",render:()=>(Ar(),Fr("div",lh,[ch]))});function dh(){window.location.reload()}const fh=Wc({name:"AsyncError",setup(){dl();const{t:e}=cl();return()=>Wr("div",{class:"uni-async-error",onClick:dh},[e("uni.async.error")],8,["onClick"])}});let ph;function hh(){return ph}function mh(e){ph=e,Object.defineProperty(ph.$.ctx,"$children",{get:()=>Wp().map((e=>e.$vm))});const t=ph.$.appContext.app;t.component(uh.name)||t.component(uh.name,uh),t.component(fh.name)||t.component(fh.name,fh),function(e){e.$vm=e,e.$mpType="app";const t=Gt(cl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(ph),function(e,t){const n=e.$options||{};n.globalData=x(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(ph),Rc(),Bl()}function gh(e,{clone:t,init:n,setup:o,before:r}){t&&(e=x({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=ni();n(r.proxy);const s=o(r);if(i)return i(s||e,t)},e}function vh(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?gh(e.default,t):gh(e,t)}function yh(e){return vh(e,{clone:!0,init:Yp,setup(e){e.$pageInstance=e;const t=Bp(),n=he(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n;const o=Ap();var r,i,s;return To((()=>{Jp(e,o)})),Co((()=>{Qp(e);const{onReady:n}=e;n&&Y(n),xh(t)})),mo((()=>{if(!e.__isVisible){Jp(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&Y(n),yn((()=>{xh(t)}))}}),"ba",r),function(e,t){mo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&Y(t)}})),i=o.id,Jm.subscribe(wl(i,"invokeViewApi"),s?s(Sl):Sl),Oo((()=>{!function(e){Jm.unsubscribe(wl(e,"invokeViewApi")),Object.keys(_l).forEach((t=>{0===t.indexOf(e+".")&&delete _l[t]}))}(o.id)})),n}})}function bh(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Ih(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Qm.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function _h(e){F(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Qm.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function wh(){const{emit:e}=Qm;"visible"===document.visibilityState?e("onAppEnterForeground",x({},Jd)):e("onAppEnterBackground")}function xh(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&uc("onTabItemTap",{index:n,text:t,pagePath:o})}function Sh(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function Th(e,t,n){const o=Rt({gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0}),r={x:0,y:0};return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0,o.currentTimeOld=o.currentTimeNew=0},onTouchmove:function(i){function s(){i.stopPropagation(),i.preventDefault()}n.fullscreen&&s();const a=o.gestureType;if("stop"===a)return;const l=i.targetTouches[0],c=l.pageX,u=l.pageY,d=r,f=t.value;if("progress"===a?function(e){const n=t.value.duration;let r=e/600*n+o.currentTimeOld;r<0?r=0:r>n&&(r=n);o.currentTimeNew=r}(c-d.x):"volume"===a&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),n.volume=i,o.volumeNew=i)}(u-d.y),"none"===a)if(Math.abs(c-d.x)>Math.abs(u-d.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=f.currentTime,n.fullscreen||s()}else{if(!e.pageGesture)return void(o.gestureType="stop");o.gestureType="volume",o.volumeOld=f.volume,n.fullscreen||s()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}function Ch(e,t,n,o,r,i,s){const a={play:e,pause:t,seek:n,sendDanmu:o,playbackRate:r,requestFullScreen:i,exitFullScreen:s};!function(e,t,n,o){const r=ni().proxy;Co((()=>{wp(t||_p(r),e,o),!n&&t||qn((()=>r.id),((t,n)=>{wp(_p(r,t),e,o),xp(n&&_p(r,n))}))})),Oo((()=>{xp(t||_p(r),o)}))}(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in a&&a[e](n)}),function(e){const t=oc(),n=ni().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+Sp++;return Co((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}(),!0)}const kh=qc({name:"Video",props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=Gt(null),i=Gt(null),s=Kc(r,t),{state:a}=bf(),{$attrs:l}=Pf({excludeListeners:!0}),{t:c}=cl();vl();const{videoRef:u,state:d,play:f,pause:p,seek:h,playbackRate:m,toggle:g,onDurationChange:v,onLoadedMetadata:y,onProgress:b,onWaiting:_,onVideoError:w,onPlay:x,onPause:S,onEnded:T,onTimeUpdate:C}=function(e,t,n){const o=Gt(null),r=di((()=>su(e.src))),i=Rt({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0});function s(e){const t=e.target,n=t.buffered;n.length&&(i.buffered=n.end(n.length-1)/t.duration*100)}return qn((()=>r.value),(()=>{i.playing=!1,i.currentTime=0})),qn((()=>i.buffered),(e=>{n("progress",{},{buffered:e})})),{videoRef:o,state:i,play:function(){const e=o.value;i.start=!0,e.play()},pause:function(){o.value.pause()},seek:function(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)},playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;i.playing?e.pause():e.play()},onDurationChange:function({target:e}){i.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){i.playing=!1,n("error",e,{})},onPlay:function(e){i.start=!0,i.playing=!0,n("play",e,{})},onPause:function(e){i.playing=!1,n("pause",e,{})},onEnded:function(e){i.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target,o=i.currentTime=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,s),{state:E,danmuRef:O,updateDanmu:L,toggleDanmu:$,sendDanmu:P}=function(e,t){const n=Gt(null),o=Rt({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=k(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function s(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=r,l={time:n,index:a.index};if(n>a.time)for(let r=a.index+1;r<i.length;r++){const e=i[r];if(!(n>=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n<a.time)for(let t=a.index-1;t>-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,d),{state:A,onFullscreenChange:M,emitFullscreenChange:B,toggleFullscreen:N,requestFullScreen:R,exitFullScreen:F}=function(e,t,n,o,r){const i=Rt({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||s&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&a(e)}function c(){l(!1)}return Oo(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,i,u,a,r),{state:I,onTouchstart:j,onTouchend:D,onTouchmove:H}=Th(e,u,A),{state:V,progressRef:q,ballRef:W,clickProgress:z,toggleControls:X}=function(e,t,n){const o=Gt(null),r=Gt(null),i=di((()=>e.showCenterPlayBtn&&!t.start)),s=Gt(!0),a=di((()=>!i.value&&e.controls&&s.value)),l=Rt({touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:a,controlsVisible:s});let c;function u(){c=setTimeout((()=>{l.controlsVisible=!1}),3e3)}function d(){c&&(clearTimeout(c),c=null)}return Oo((()=>{c&&clearTimeout(c)})),qn((()=>l.controlsShow&&t.playing&&!l.controlsTouching),(e=>{e?u():d()})),qn([()=>t.currentTime,()=>{e.duration}],(function(){l.touching||(t.progress=t.currentTime/t.duration*100)})),Co((()=>{const e=de(!1);let i,s,a,c=!0;const u=r.value;function d(e){const n=e.targetTouches[0],r=n.pageX,l=n.pageY;if(c&&Math.abs(r-i)<Math.abs(l-s))return void f(e);c=!1;const u=o.value.offsetWidth;let d=a+(r-i)/u*100;d<0?d=0:d>100&&(d=100),t.progress=d,e.preventDefault(),e.stopPropagation()}function f(o){l.controlsTouching=!1,l.touching&&(u.removeEventListener("touchmove",d,e),c||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),l.touching=!1)}u.addEventListener("touchstart",(n=>{l.controlsTouching=!0;const o=n.targetTouches[0];i=o.pageX,s=o.pageY,a=t.progress,c=!0,l.touching=!0,u.addEventListener("touchmove",d,e)})),u.addEventListener("touchend",f),u.addEventListener("touchcancel",f)})),{state:l,progressRef:o,ballRef:r,clickProgress:function(e){const r=o.value;let i=e.target,s=e.offsetX;for(;i&&i!==r;)s+=i.offsetLeft,i=i.parentNode;const a=r.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.duration*l))},toggleControls:function(){l.controlsVisible=!l.controlsVisible},autoHideStart:u,autoHideEnd:d}}(e,d,h);return Ch(f,p,h,P,m,R,F),()=>Wr("uni-video",{ref:r,id:e.id},[Wr("div",{ref:i,class:"uni-video-container",onTouchstart:j,onTouchend:D,onTouchmove:H,onFullscreenchange:ps(M,["stop"]),onWebkitfullscreenchange:ps((e=>M(e,!0)),["stop"])},[Wr("video",Zr({ref:u,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:d.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onClick:X,onDurationchange:v,onLoadedmetadata:y,onProgress:b,onWaiting:_,onError:w,onPlay:x,onPause:S,onEnded:T,onTimeupdate:e=>{C(e),L(e)},onWebkitbeginfullscreen:()=>B(!0),onX5videoenterfullscreen:()=>B(!0),onWebkitendfullscreen:()=>B(!1),onX5videoexitfullscreen:()=>B(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onClick","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),Bo(Wr("div",{class:"uni-video-bar uni-video-bar-full",onClick:ps((()=>{}),["stop"])},[Wr("div",{class:"uni-video-controls"},[Bo(Wr("div",{class:{"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing},onClick:ps(g,["stop"])},null,10,["onClick"]),[[hs,e.showPlayBtn]]),Bo(Wr("div",{class:"uni-video-current-time"},[Sh(d.currentTime)],512),[[hs,e.showProgress]]),Bo(Wr("div",{ref:q,class:"uni-video-progress-container",onClick:ps(z,["stop"])},[Wr("div",{class:"uni-video-progress"},[Wr("div",{style:{width:d.buffered+"%"},class:"uni-video-progress-buffered"},null,4),Wr("div",{ref:W,style:{left:d.progress+"%"},class:"uni-video-ball"},[Wr("div",{class:"uni-video-inner"},null)],4)])],8,["onClick"]),[[hs,e.showProgress]]),Bo(Wr("div",{class:"uni-video-duration"},[Sh(Number(e.duration)||d.duration)],512),[[hs,e.showProgress]])]),Bo(Wr("div",{class:{"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:ps($,["stop"])},[c("uni.video.danmu")],10,["onClick"]),[[hs,e.danmuBtn]]),Bo(Wr("div",{class:{"uni-video-fullscreen":!0,"uni-video-type-fullscreen":A.fullscreen},onClick:ps((()=>N(!A.fullscreen)),["stop"])},null,10,["onClick"]),[[hs,e.showFullscreenBtn]])],8,["onClick"]),[[hs,V.controlsShow]]),Bo(Wr("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[hs,d.start&&E.enable]]),V.centerPlayBtnShow&&Wr("div",{class:"uni-video-cover",onClick:ps((()=>{}),["stop"])},[Wr("div",{class:"uni-video-cover-play-button",onClick:ps(f,["stop"])},null,8,["onClick"]),Wr("p",{class:"uni-video-cover-duration"},[Sh(Number(e.duration)||d.duration)])],8,["onClick"]),Wr("div",{class:{"uni-video-toast":!0,"uni-video-toast-volume":"volume"===I.gestureType}},[Wr("div",{class:"uni-video-toast-title"},[c("uni.video.volume")]),Wr("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"},[Wr("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)]),Wr("div",{class:"uni-video-toast-value"},[Wr("div",{style:{width:100*I.volumeNew+"%"},class:"uni-video-toast-value-content"},[Wr("div",{class:"uni-video-toast-volume-grids"},[Ho(10,(()=>Wr("div",{class:"uni-video-toast-volume-grids-item"},null)))])],4)])],2),Wr("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":"progress"===I.gestureType}},[Wr("div",{class:"uni-video-toast-title"},[Sh(I.currentTimeNew)," / ",Sh(d.duration)])],2),Wr("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id"])}}),Eh=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Oh;function Lh(){if(Oh=Oh||Eh.__DC_STAT_UUID,!Oh){Oh=Date.now()+""+Math.floor(1e7*Math.random());try{Eh.__DC_STAT_UUID=Oh}catch(e){}}return Oh}function $h(){if(!0!==__uniConfig.darkmode)return P(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Ph(){let e,t="0",n="",o="phone";const r=navigator.language;if(cu){e="iOS";const o=au.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=au.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(lu){e="Android";const o=au.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=au.match(/\((.+?)\)/),i=r?r[1].split(";"):au.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<i.length;e++){const t=i[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<s.length;e++)if(s[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(pu)n="iPad",e="iOS",o="pad",t=$(window.BigInt)?"14.0":"13.0";else if(uu||du||fu){n="PC",e="PC",o="pc",t="0";let r=au.match(/\((.+?)\)/)[1];if(uu){switch(e="Windows",uu[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=r&&r.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(du){e="macOS";const n=r&&r.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(fu){e="Linux";const n=r&&r.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const i=`${e} ${t}`,s=e.toLocaleLowerCase();let a="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(au)&&(a=t[n],l=au.match(r)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:i,platform:s,browserName:a.toLocaleLowerCase(),browserVersion:l,language:r,deviceType:o,ua:au,osname:e,osversion:t,theme:$h()}}const Ah=Uu(0,(()=>{const e=window.devicePixelRatio,t=hu(),n=mu(t),o=gu(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=vu(o);let s=window.innerHeight;const a=zl.top,l={left:zl.left,right:i-zl.right,top:zl.top,bottom:s-zl.bottom,width:i-zl.left-zl.right,height:s-zl.top-zl.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=Kl(),n=Yl(e,"--window-bottom"),o=Yl(e,"--window-left"),r=Yl(e,"--window-right"),i=Yl(e,"--top-window-height");return{top:t,bottom:n?n+zl.bottom:0,left:o?o+zl.left:0,right:r?r+zl.right:0,topWindowHeight:i||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:zl.top,right:zl.right,bottom:zl.bottom,left:zl.left},screenTop:r-s}}));let Mh,Bh=!0;function Nh(){Bh&&(Mh=Ph())}const Rh=Uu(0,(()=>{Nh();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a}=Mh;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Lh(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i}})),Fh=Uu(0,(()=>{Nh();const{theme:e,language:t,browserName:n,browserVersion:o}=Mh;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:dd?dd():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""}})),Ih=Uu(0,(()=>{Bh=!0,Nh(),Bh=!1;const e=Ah(),t=Rh(),n=Fh();Bh=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Mh,l=x(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return F(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),jh=Yu("getSystemInfo",((e,{resolve:t})=>t(Ih())));const Dh=Yu("setClipboardData",((e,t)=>{return n=void 0,o=[e,t],r=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const i=document.execCommand("Copy",!1);r.blur(),i?t():n()}(e,t,n)}},new Promise(((e,t)=>{var i=e=>{try{a(r.next(e))}catch(n){t(n)}},s=e=>{try{a(r.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(n,o)).next())}));var n,o,r}),0,wd);const Hh=Uu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function Vh(e){const t=localStorage&&localStorage.getItem(e);if(!P(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=P(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const qh=Uu(0,(e=>{try{return Vh(e)}catch(t){return""}})),Wh=Uu(0,(e=>{localStorage&&localStorage.removeItem(e)})),zh=Uu(0,(()=>{localStorage&&localStorage.clear()})),Xh={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 Uh({count:e,sourceType:t,type:n,extension:o}){const r=document.createElement("input");return r.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${Xh[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(r.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}vf();let Yh=null;const Kh=Yu("chooseFile",(({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:i})=>{ml();const{t:s}=cl();Yh&&(document.body.removeChild(Yh),Yh=null),Yh=Uh({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(Yh),Yh.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||Kd(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map((({path:e})=>e))},tempFiles:o})})),Yh.click(),yf()||console.warn(s("uni.chooseFile.notUserActivation"))}),0,Cd);let Gh=null;const Zh=Yu("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{ml();const{t:i}=cl();Gh&&(document.body.removeChild(Gh),Gh=null),Gh=Uh({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Gh),Gh.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||Kd(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),Gh.click(),yf()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,xd),Jh={esc:["Esc","Escape"],enter:["Enter"]},Qh=Object.keys(Jh);const em=Wr("div",{class:"uni-mask"},null,-1);function tm(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ys(oo({setup:()=>()=>(Ar(),Fr(e,t,null,16))}))}function nm(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function om(e,{onEsc:t,onEnter:n}){const o=Gt(e.visible),{key:r,disable:i}=function(){const e=Gt(""),t=Gt(!1),n=n=>{if(t.value)return;const o=Qh.find((e=>-1!==Jh[e].indexOf(n.key)));o&&(e.value=o),yn((()=>e.value=""))};return Co((()=>{document.addEventListener("keyup",n)})),Oo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return qn((()=>e.visible),(e=>o.value=e)),qn((()=>o.value),(e=>i.value=!e)),Hn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let rm=0,im="";function sm(e){let t=rm;rm+=e?1:-1,rm=Math.max(0,rm),rm>0?0===t&&(im=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=im,im="")}const am=Wc({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Rt({direction:"none"});let n=1,o=0,r=0,i=0,s=0;function a({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function c(e){const t=e.target.getBoundingClientRect();i=t.width,s=t.height,d(e)}function u(e){const a=n*o>i,l=n*r>s;t.direction=a&&l?"all":a?"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 Wr(Mf,{style:n,onTouchstart:Yc(c),onTouchmove:Yc(d),onTouchend:Yc(u)},{default:()=>[Wr(Xf,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[Wr("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 lm(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const cm=Wc({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){Co((()=>sm(!0))),Lo((()=>sm(!1)));const n=Gt(null),o=Gt(lm(e));let r;function i(){r||yn((()=>{t("close")}))}function s(e){o.value=e.detail.current}qn((()=>e.current),(()=>o.value=lm(e))),Co((()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",(e=>{r=!1,t=e.clientX,o=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(r=!0)}))}));const a={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 Wr("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},[Wr(cp,{navigation:"auto",current:o.value,onChange:s,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(r=t=e.urls.map((e=>Wr(dp,null,{default:()=>[Wr(am,{src:e},null,8,["src"])]}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!Ir(r)?t:{default:()=>[t],_:1}),8,["current","onChange"]),Wr("div",{style:a},[nc("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var r}}});let um,dm=null;const fm=()=>{dm=null,yn((()=>{null==um||um.unmount(),um=null}))},pm=Yu("previewImage",((e,{resolve:t})=>{dm?x(dm,e):(dm=Rt(e),yn((()=>{um=tm(cm,dm,fm),um.mount(nm("u-a-p"))}))),t()}),0,kd);let hm=null;const mm=Yu("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:o})=>{ml();const{t:r}=cl();hm&&(document.body.removeChild(hm),hm=null),hm=Uh({sourceType:e,extension:t,type:"video"}),document.body.appendChild(hm),hm.addEventListener("change",(function(e){const t=e.target.files[0];let o="";const r={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(r,"tempFilePath",{get(){return o=o||Kd(this.tempFile),o}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=Kd(t);i.onloadedmetadata=function(){Gd(e),n(x(r,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,Gd(e),n(r)}),300),i.src=e}else n(r)})),hm.click(),yf()||console.warn(r("uni.chooseFile.notUserActivation"))}),0,Sd),gm=Xu("request",(({url:e,data:t,header:n,method:o,dataType:r,responseType:i,withCredentials:s,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(P(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)C(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const f=new XMLHttpRequest,p=new vm(f);f.open(o,e);for(const g in n)C(n,g)&&f.setRequestHeader(g,n[g]);const h=setTimeout((function(){f.onload=f.onabort=f.onerror=null,p.abort(),c("timeout")}),a);return f.responseType=i,f.onload=function(){clearTimeout(h);const e=f.status;let t="text"===i?f.responseText:f.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:ym(f.getAllResponseHeaders()),cookies:[]})},f.onabort=function(){clearTimeout(h),c("abort")},f.onerror=function(){clearTimeout(h),c()},f.withCredentials=s,f.send(u),p}),0,$d);class vm{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 ym(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 bm{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){$(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 _m=Xu("uploadFile",(({url:e,file:t,filePath:n,name:o,files:r,header:i,formData:s,timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new bm;return k(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Yd(e)):Ud(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach((e=>{d.append(e,s[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c()},o.onabort=function(){clearTimeout(n),c("abort")},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort"):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout")}),a),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,Pd);function wm({type:e,url:t,tabBarText:n,events:o},r){const i=hh().$router,{path:s,query:a}=function(e){const[t,n]=e.split("?",2);return{path:t,query:ge(n||"")}}(t);return new Promise(((t,l)=>{const c=function(e,t){return{__id__:t||++Xp,__type__:e}}(e,r);i["navigateTo"===e?"push":"replace"]({path:s,query:a,state:c,force:!0}).then((r=>{if(aa(r))return l(r.message);if("switchTab"===e&&(i.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=i.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new ye(c.__id__,o),t({eventChannel:e.eventChannel})}return t()}))}))}const xm=Yu("navigateTo",(({url:e,events:t},{resolve:n,reject:o})=>wm({type:"navigateTo",url:e,events:t}).then(n).catch(o)),0,Md);const Sm=Yu("redirectTo",(({url:e},{resolve:t,reject:n})=>(function(){const e=rc();if(!e)return;const t=e.$page;zp(Kp(t.path,t.id))}(),wm({type:"redirectTo",url:e}).then(t).catch(n))),0,Bd);const Tm=Yu("reLaunch",(({url:e},{resolve:t,reject:n})=>(function(){const e=qp().keys();for(const t of e)zp(t)}(),wm({type:"reLaunch",url:e}).then(t).catch(n))),0,Nd);function Cm(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}const km=Yu("switchTab",(({url:e,tabBarText:t},{resolve:n,reject:o})=>(function(){const e=ac();if(!e)return;const t=qp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:zp(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,uc(e,"onHide"))}(),wm({type:"switchTab",url:e,tabBarText:t},function(e){const t=qp().values();for(const n of t){const t=n.$page;if(Cm(e,t))return n.$.__isActive=!0,t.id}}(e)).then(n).catch(o))),0,Rd);function Em(e){__uniConfig.darkmode&&Qm.on("onThemeChange",e)}function Om(e){Qm.off("onThemeChange",e)}const Lm={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},$m=oo({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=Gt(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=om(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=Gt(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Lm[e].cancelColor})(e,t)};return Hn((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===$h()&&n({theme:"dark"}),Em(n))):Om(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,Wr(Di,{name:"uni-fade"},{default:()=>[Bo(Wr("uni-modal",{onTouchmove:Xl},[em,Wr("div",{class:"uni-modal"},[t&&Wr("div",{class:"uni-modal__hd"},[Wr("strong",{class:"uni-modal__title",textContent:t},null,8,["textContent"])]),d?Wr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Wr("div",{class:"uni-modal__bd",onTouchmovePassive:Ul,textContent:o},null,40,["onTouchmovePassive","textContent"]),Wr("div",{class:"uni-modal__ft"},[l&&Wr("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),Wr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[hs,s.value]])]})}}});let Pm;const Am=se((()=>{Qm.on("onHidePopup",(()=>Pm.visible=!1))}));let Mm;function Bm(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Pm.editable&&(o.content=t),Mm&&Mm(o)}const Nm=Yu("showModal",((e,{resolve:t})=>{Am(),Mm=t,Pm?(x(Pm,e),Pm.visible=!0):(Pm=Rt(e),yn((()=>(tm($m,Pm,Bm).mount(nm("u-a-m")),yn((()=>Pm.visible=!0))))))}),0,qd),Rm={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Wd.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Fm={light:"#fff",dark:"rgba(255,255,255,0.9)"},Im=e=>Fm[e],jm=oo({name:"Toast",props:Rm,setup(e){fl(),pl();const{Icon:t}=function(e){const t=Gt(Im($h())),n=({theme:e})=>t.value=Im(e);Hn((()=>{e.visible?Em(n):Om(n)}));return{Icon:di((()=>{switch(e.icon){case"success":return Wr(nc(ec,t.value,38),{class:"uni-toast__icon"});case"error":return Wr(nc(tc,t.value,38),{class:"uni-toast__icon"});case"loading":return Wr("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=om(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return Wr(Di,{name:"uni-fade"},{default:()=>[Bo(Wr("uni-toast",{"data-duration":r},[o?Wr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Xl},null,40,["onTouchmove"]):"",s||t.value?Wr("div",{class:"uni-toast"},[s?Wr("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,Wr("p",{class:"uni-toast__content"},[i])]):Wr("div",{class:"uni-sample-toast"},[Wr("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[hs,n.value]])]})}}});let Dm,Hm,Vm="";const qm=$e();function Wm(e){Dm?x(Dm,e):(Dm=Rt(x(e,{visible:!1})),yn((()=>{qm.run((()=>{qn([()=>Dm.visible,()=>Dm.duration],(([e,t])=>{if(e){if(Hm&&clearTimeout(Hm),"onShowLoading"===Vm)return;Hm=setTimeout((()=>{Km("onHideToast")}),t)}else Hm&&clearTimeout(Hm)}))})),Qm.on("onHidePopup",(()=>Km("onHidePopup"))),tm(jm,Dm,(()=>{})).mount(nm("u-a-t"))}))),setTimeout((()=>{Dm.visible=!0}),10)}const zm=Yu("showToast",((e,{resolve:t,reject:n})=>{Wm(e),Vm="onShowToast",t()}),0,zd),Xm={icon:"loading",duration:1e8,image:""},Um=Yu("showLoading",((e,{resolve:t,reject:n})=>{x(e,Xm),Wm(e),Vm="onShowLoading",t()}),0,Vd),Ym=Yu("hideLoading",((e,{resolve:t,reject:n})=>{Km("onHideLoading"),t()}));function Km(e){const{t:t}=cl();if(!Vm)return;let n="";if("onHideToast"===e&&"onShowToast"!==Vm?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Vm&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Vm="",setTimeout((()=>{Dm.visible=!1}),10)}function Gm(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Qm.emit("onNavigationBarChange",{titleText:t})}Hn(t),po(t)}const Zm=Wc({name:"Layout",setup(e,{emit:t}){const n=Gt(null);Gl({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=sl();return{routeKey:di((()=>Kp("/"+e.meta.route,Np()))),isTabBar:di((()=>e.meta.isTabBar)),routeCache:Zp}}(),{layoutState:r,windowState:i}=function(){Bp();{const e=Rt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return qn((()=>e.marginWidth),(e=>Gl({"--window-margin":e+"px"}))),qn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Gl({"--window-left":e+"px"})})),qn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Gl({"--window-right":e+"px"})})),{layoutState:e,windowState:di((()=>({})))}}}();!function(e,t){const n=Bp();function o(){const o=document.body.clientWidth,r=Wp();let i={};if(r.length>0){i=r[r.length-1].$page.meta}else{const e=gc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((C(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,yn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,yn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}qn([()=>n.path],o),Co((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=Gt(!1);return di((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return Wr(ol,null,{default:Mn((({Component:o})=>[(Ar(),Fr(uo,{matchBy:"key",cache:n},[(Ar(),Fr(Io(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return Wr("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const Jm=x(Tl,{publishHandler(e,t,n){Qm.subscribeHandler(e,t,n)}}),Qm=x($c,{publishHandler(e,t,n){Jm.subscribeHandler(e,t,n)}}),eg=Wc({name:"PageBody",setup:(e,t)=>()=>Wr(kr,null,[!1,Wr("uni-page-wrapper",null,[Wr("uni-page-body",null,[Vo(t.slots,"default")])],16)])}),tg=Wc({name:"Page",setup(e,t){const n=Mp(Np());return n.navigationBar,Gm(n),()=>Wr("uni-page",{"data-page":n.route},[ng(t)])}});function ng(e){return Ar(),Fr(eg,{key:0},{default:Mn((()=>[Vo(e.slots,"page")])),_:3})}const og={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=od;const rg=Object.assign({}),ig=Object.assign;window.__uniConfig=ig({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",titleText:"德立信",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"3.8.7"},{appId:"__UNI__5D58372",appName:"dlx-app",appVersion:"1.0.0",appVersionCode:"100",async:og,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(rg).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return ig(e[n]||(e[n]={}),rg[t].default),e}),{}),router:{mode:"hash",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const sg={delay:og.delay,timeout:og.timeout,suspensible:og.suspensible};og.loading&&(sg.loadingComponent={name:"SystemAsyncLoading",render:()=>Wr(Ro(og.loading))}),og.error&&(sg.errorComponent={name:"SystemAsyncError",render:()=>Wr(Ro(og.error))});const ag=()=>t((()=>import("./pages-index-index.dfb3c83e.js")),["assets/pages-index-index.dfb3c83e.js","assets/logo.1cbcaa3f.js","assets/uni-app.es.e89653c9.js","assets/logo-faef5f9b.css","assets/h5.1f9437c2.js","assets/index-497d4ded.css"]).then((e=>yh(e.default||e))),lg=io(ig({loader:ag},sg)),cg=()=>t((()=>import("./pages-result-result.c236c548.js")),["assets/pages-result-result.c236c548.js","assets/uni-app.es.e89653c9.js","assets/result-ef0f513d.css"]).then((e=>yh(e.default||e))),ug=io(ig({loader:cg},sg)),dg=()=>t((()=>import("./pages-register-register.0d07b680.js")),["assets/pages-register-register.0d07b680.js","assets/logo.1cbcaa3f.js","assets/uni-app.es.e89653c9.js","assets/logo-faef5f9b.css","assets/h5.1f9437c2.js","assets/register-a794718e.css"]).then((e=>yh(e.default||e))),fg=io(ig({loader:dg},sg)),pg=()=>t((()=>import("./pages-password-password.26a557c1.js")),["assets/pages-password-password.26a557c1.js","assets/logo.1cbcaa3f.js","assets/uni-app.es.e89653c9.js","assets/logo-faef5f9b.css","assets/password-563f07e3.css"]).then((e=>yh(e.default||e))),hg=io(ig({loader:pg},sg));function mg(e,t){return Ar(),Fr(tg,null,{page:Mn((()=>[Wr(e,ig({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=hh(),t=e&&e.$route&&e.$route.query||{};return()=>mg(lg,t)}},loader:ag,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"德立信志愿",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/result/result",component:{setup(){const e=hh(),t=e&&e.$route&&e.$route.query||{};return()=>mg(ug,t)}},loader:cg,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"德立信志愿",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/register/register",component:{setup(){const e=hh(),t=e&&e.$route&&e.$route.query||{};return()=>mg(fg,t)}},loader:dg,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"德立信志愿",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/password/password",component:{setup(){const e=hh(),t=e&&e.$route&&e.$route.query||{};return()=>mg(hg,t)}},loader:pg,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"德立信志愿",style:"custom",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const gg={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};vh(gg,{init:mh,setup(e){const t=Bp(),n=()=>{var n;n=e,Object.keys(fd).forEach((e=>{fd[e].forEach((t=>{xo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i,onError:s}=e,a=function({path:e,query:t}){return x(Zd,{path:e,query:t}),x(Jd,Zd),x({},Zd)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:he(t.query)});if(o&&Y(o,a),r&&Y(r,a),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};i&&Y(i,e)}s&&(e.appContext.config.errorHandler=e=>{Y(s,e)})};return Dn(Xa).isReady().then(n),Co((()=>{window.addEventListener("resize",ve(bh,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",_h),document.addEventListener("visibilitychange",wh),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Qm.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=()=>(Ar(),Fr(Zm));e.setup=(e,o)=>{const r=t&&t(e,o);return $(r)?n:r},e.render=n}}),ys(gg).use(sh).mount("#app");export{km as $,hs as A,o as B,Ro as C,Ih as D,di as E,Rr as F,en as G,kr as H,Of as I,Dh as J,pm as K,kh as L,Zh as M,mm as N,Wp as O,id as P,Kh as Q,Nm as R,bd as S,_d as T,gm as U,_m as V,Hh as W,qh as X,Wh as Y,zh as Z,Sm as _,Rt as a,jh as a0,yd as a1,dd as a2,pd as a3,ps as a4,Ho as a5,ap as a6,qr as a7,nf as a8,eu as a9,tf as aa,ip as ab,rp as ac,yp as ad,hh as ae,Zc as af,P as ag,xo as ah,ni as ai,te as aj,si as ak,Mn as b,Fr as c,oo as d,Wr as e,Xr as f,Um as g,Ym as h,uf as i,bp as j,Io as k,ru as l,xm as m,l as n,Ar as o,Tm as p,Es as q,Gt as r,zm as s,p as t,Vo as u,Ur as v,qn as w,hp as x,ud as y,Bo as z};