From fbd8c553a09322cf3f62b8ec9f0447309542d102 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Fri, 22 Oct 2021 18:04:58 +0800 Subject: [PATCH] wip(mp): css vars --- .../uni-app-plus/dist/uni-app-view.umd.js | 6 ++-- .../uni-mp-vite/src/plugin/configResolved.ts | 11 ++++-- packages/uni-mp-vite/src/plugin/index.ts | 36 +++++++++---------- packages/uni-mp-weixin/dist/uni.compiler.js | 7 ---- packages/uni-mp-weixin/src/plugin/index.ts | 7 ---- 5 files changed, 28 insertions(+), 39 deletions(-) diff --git a/packages/uni-app-plus/dist/uni-app-view.umd.js b/packages/uni-app-plus/dist/uni-app-view.umd.js index cba445fa3..b1b4f2f45 100644 --- a/packages/uni-app-plus/dist/uni-app-view.umd.js +++ b/packages/uni-app-plus/dist/uni-app-view.umd.js @@ -1,3 +1,3 @@ -(function(wn){typeof define=="function"&&define.amd?define(wn):wn()})(function(){"use strict";var wn="",oy="",sy="",Gt={exports:{}},Zr={exports:{}},Jr={exports:{}},rc=Jr.exports={version:"2.6.12"};typeof __e=="number"&&(__e=rc);var gt={exports:{}},Qr=gt.exports=typeof Qr!="undefined"&&Qr.Math==Math?Qr:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=Qr);var ic=Jr.exports,ko=gt.exports,Do="__core-js_shared__",Bo=ko[Do]||(ko[Do]={});(Zr.exports=function(e,t){return Bo[e]||(Bo[e]=t!==void 0?t:{})})("versions",[]).push({version:ic.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var nc=0,ac=Math.random(),yn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++nc+ac).toString(36))},Sn=Zr.exports("wks"),oc=yn,xn=gt.exports.Symbol,Fo=typeof xn=="function",sc=Gt.exports=function(e){return Sn[e]||(Sn[e]=Fo&&xn[e]||(Fo?xn:oc)("Symbol."+e))};sc.store=Sn;var ei={},Tn=function(e){return typeof e=="object"?e!==null:typeof e=="function"},lc=Tn,En=function(e){if(!lc(e))throw TypeError(e+" is not an object!");return e},ti=function(e){try{return!!e()}catch(t){return!0}},hr=!ti(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),$o=Tn,Cn=gt.exports.document,uc=$o(Cn)&&$o(Cn.createElement),Wo=function(e){return uc?Cn.createElement(e):{}},fc=!hr&&!ti(function(){return Object.defineProperty(Wo("div"),"a",{get:function(){return 7}}).a!=7}),ri=Tn,cc=function(e,t){if(!ri(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ri(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ri(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ri(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Uo=En,vc=fc,dc=cc,hc=Object.defineProperty;ei.f=hr?Object.defineProperty:function(t,r,i){if(Uo(t),r=dc(r,!0),Uo(i),vc)try{return hc(t,r,i)}catch(n){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var Vo=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},pc=ei,gc=Vo,Zt=hr?function(e,t,r){return pc.f(e,t,gc(1,r))}:function(e,t,r){return e[t]=r,e},On=Gt.exports("unscopables"),Mn=Array.prototype;Mn[On]==null&&Zt(Mn,On,{});var mc=function(e){Mn[On][e]=!0},_c=function(e,t){return{value:t,done:!!e}},In={},bc={}.toString,wc=function(e){return bc.call(e).slice(8,-1)},yc=wc,Sc=Object("z").propertyIsEnumerable(0)?Object:function(e){return yc(e)=="String"?e.split(""):Object(e)},jo=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},xc=Sc,Tc=jo,ii=function(e){return xc(Tc(e))},ni={exports:{}},Ec={}.hasOwnProperty,ai=function(e,t){return Ec.call(e,t)},Cc=Zr.exports("native-function-to-string",Function.toString),Oc=gt.exports,oi=Zt,Ho=ai,An=yn("src"),Pn=Cc,Yo="toString",Mc=(""+Pn).split(Yo);Jr.exports.inspectSource=function(e){return Pn.call(e)},(ni.exports=function(e,t,r,i){var n=typeof r=="function";n&&(Ho(r,"name")||oi(r,"name",t)),e[t]!==r&&(n&&(Ho(r,An)||oi(r,An,e[t]?""+e[t]:Mc.join(String(t)))),e===Oc?e[t]=r:i?e[t]?e[t]=r:oi(e,t,r):(delete e[t],oi(e,t,r)))})(Function.prototype,Yo,function(){return typeof this=="function"&&this[An]||Pn.call(this)});var zo=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},Ic=zo,Ac=function(e,t,r){if(Ic(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,a){return e.call(t,i,n,a)}}return function(){return e.apply(t,arguments)}},Jt=gt.exports,si=Jr.exports,Pc=Zt,Rc=ni.exports,qo=Ac,Rn="prototype",Be=function(e,t,r){var i=e&Be.F,n=e&Be.G,a=e&Be.S,o=e&Be.P,s=e&Be.B,l=n?Jt:a?Jt[t]||(Jt[t]={}):(Jt[t]||{})[Rn],u=n?si:si[t]||(si[t]={}),v=u[Rn]||(u[Rn]={}),h,_,d,y;n&&(r=t);for(h in r)_=!i&&l&&l[h]!==void 0,d=(_?l:r)[h],y=s&&_?qo(d,Jt):o&&typeof d=="function"?qo(Function.call,d):d,l&&Rc(l,h,d,e&Be.U),u[h]!=d&&Pc(u,h,y),o&&v[h]!=d&&(v[h]=d)};Jt.core=si,Be.F=1,Be.G=2,Be.S=4,Be.P=8,Be.B=16,Be.W=32,Be.U=64,Be.R=128;var Ln=Be,Lc=Math.ceil,Nc=Math.floor,Xo=function(e){return isNaN(e=+e)?0:(e>0?Nc:Lc)(e)},kc=Xo,Dc=Math.min,Bc=function(e){return e>0?Dc(kc(e),9007199254740991):0},Fc=Xo,$c=Math.max,Wc=Math.min,Uc=function(e,t){return e=Fc(e),e<0?$c(e+t,0):Wc(e,t)},Vc=ii,jc=Bc,Hc=Uc,Yc=function(e){return function(t,r,i){var n=Vc(t),a=jc(n.length),o=Hc(i,a),s;if(e&&r!=r){for(;a>o;)if(s=n[o++],s!=s)return!0}else for(;a>o;o++)if((e||o in n)&&n[o]===r)return e||o||0;return!e&&-1}},Ko=Zr.exports("keys"),zc=yn,Nn=function(e){return Ko[e]||(Ko[e]=zc(e))},Go=ai,qc=ii,Xc=Yc(!1),Kc=Nn("IE_PROTO"),Gc=function(e,t){var r=qc(e),i=0,n=[],a;for(a in r)a!=Kc&&Go(r,a)&&n.push(a);for(;t.length>i;)Go(r,a=t[i++])&&(~Xc(n,a)||n.push(a));return n},Zo="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Zc=Gc,Jc=Zo,kn=Object.keys||function(t){return Zc(t,Jc)},Qc=ei,ev=En,tv=kn,rv=hr?Object.defineProperties:function(t,r){ev(t);for(var i=tv(r),n=i.length,a=0,o;n>a;)Qc.f(t,o=i[a++],r[o]);return t},Jo=gt.exports.document,iv=Jo&&Jo.documentElement,nv=En,av=rv,Qo=Zo,ov=Nn("IE_PROTO"),Dn=function(){},Bn="prototype",li=function(){var e=Wo("iframe"),t=Qo.length,r="<",i=">",n;for(e.style.display="none",iv.appendChild(e),e.src="javascript:",n=e.contentWindow.document,n.open(),n.write(r+"script"+i+"document.F=Object"+r+"/script"+i),n.close(),li=n.F;t--;)delete li[Bn][Qo[t]];return li()},sv=Object.create||function(t,r){var i;return t!==null?(Dn[Bn]=nv(t),i=new Dn,Dn[Bn]=null,i[ov]=t):i=li(),r===void 0?i:av(i,r)},lv=ei.f,uv=ai,es=Gt.exports("toStringTag"),ts=function(e,t,r){e&&!uv(e=r?e:e.prototype,es)&&lv(e,es,{configurable:!0,value:t})},fv=sv,cv=Vo,vv=ts,rs={};Zt(rs,Gt.exports("iterator"),function(){return this});var dv=function(e,t,r){e.prototype=fv(rs,{next:cv(1,r)}),vv(e,t+" Iterator")},hv=jo,is=function(e){return Object(hv(e))},pv=ai,gv=is,ns=Nn("IE_PROTO"),mv=Object.prototype,_v=Object.getPrototypeOf||function(e){return e=gv(e),pv(e,ns)?e[ns]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?mv:null},Fn=Ln,bv=ni.exports,as=Zt,os=In,wv=dv,yv=ts,Sv=_v,pr=Gt.exports("iterator"),$n=!([].keys&&"next"in[].keys()),xv="@@iterator",ss="keys",ui="values",ls=function(){return this},Tv=function(e,t,r,i,n,a,o){wv(r,t,i);var s=function(f){if(!$n&&f in h)return h[f];switch(f){case ss:return function(){return new r(this,f)};case ui:return function(){return new r(this,f)}}return function(){return new r(this,f)}},l=t+" Iterator",u=n==ui,v=!1,h=e.prototype,_=h[pr]||h[xv]||n&&h[n],d=_||s(n),y=n?u?s("entries"):d:void 0,g=t=="Array"&&h.entries||_,p,c,b;if(g&&(b=Sv(g.call(new e)),b!==Object.prototype&&b.next&&(yv(b,l,!0),typeof b[pr]!="function"&&as(b,pr,ls))),u&&_&&_.name!==ui&&(v=!0,d=function(){return _.call(this)}),($n||v||!h[pr])&&as(h,pr,d),os[t]=d,os[l]=ls,n)if(p={values:u?d:s(ui),keys:a?d:s(ss),entries:y},o)for(c in p)c in h||bv(h,c,p[c]);else Fn(Fn.P+Fn.F*($n||v),t,p);return p},Wn=mc,fi=_c,us=In,Ev=ii,Cv=Tv(Array,"Array",function(e,t){this._t=Ev(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,fi(1)):t=="keys"?fi(0,r):t=="values"?fi(0,e[r]):fi(0,[r,e[r]])},"values");us.Arguments=us.Array,Wn("keys"),Wn("values"),Wn("entries");for(var fs=Cv,Ov=kn,Mv=ni.exports,Iv=gt.exports,cs=Zt,vs=In,ds=Gt.exports,hs=ds("iterator"),ps=ds("toStringTag"),gs=vs.Array,ms={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},_s=Ov(ms),Un=0;Un<_s.length;Un++){var ci=_s[Un],Av=ms[ci],bs=Iv[ci],Rt=bs&&bs.prototype,vi;if(Rt&&(Rt[hs]||cs(Rt,hs,gs),Rt[ps]||cs(Rt,ps,ci),vs[ci]=gs,Av))for(vi in fs)Rt[vi]||Mv(Rt,vi,fs[vi],!0)}function di(e,t){for(var r=Object.create(null),i=e.split(","),n=0;n!!r[a.toLowerCase()]:a=>!!r[a]}var Pv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Rv=di(Pv);function ws(e){return!!e||e===""}var Lv=di("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function Vn(e){if(oe(e)){for(var t={},r=0;r{if(r){var i=r.split(kv);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Dv(e){var t="";if(!e||ye(e))return t;for(var r in e){var i=e[r],n=r.startsWith("--")?r:Ve(r);(ye(i)||typeof i=="number"&&Lv(n))&&(t+="".concat(n,":").concat(i,";"))}return t}function jn(e){var t="";if(ye(e))t=e;else if(oe(e))for(var r=0;r{},Bv=()=>!1,Fv=/^on[^a-z]/,hi=e=>Fv.test(e),Hn=e=>e.startsWith("onUpdate:"),fe=Object.assign,Ss=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},$v=Object.prototype.hasOwnProperty,te=(e,t)=>$v.call(e,t),oe=Array.isArray,mr=e=>_r(e)==="[object Map]",Wv=e=>_r(e)==="[object Set]",ae=e=>typeof e=="function",ye=e=>typeof e=="string",Yn=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",xs=e=>De(e)&&ae(e.then)&&ae(e.catch),Uv=Object.prototype.toString,_r=e=>Uv.call(e),zn=e=>_r(e).slice(8,-1),rt=e=>_r(e)==="[object Object]",qn=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pi=di(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gi=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},Vv=/-(\w)/g,mt=gi(e=>e.replace(Vv,(t,r)=>r?r.toUpperCase():"")),jv=/\B([A-Z])/g,Ve=gi(e=>e.replace(jv,"-$1").toLowerCase()),mi=gi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Xn=gi(e=>e?"on".concat(mi(e)):""),br=(e,t)=>!Object.is(e,t),Kn=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Hv=e=>{var t=parseFloat(e);return isNaN(t)?e:t},Ts,Yv=()=>Ts||(Ts=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),Gn=0;function Zn(e,...t){var r=Date.now(),i=Gn?r-Gn:0;return Gn=r,"[".concat(r,"][").concat(i,"ms][").concat(e,"]\uFF1A").concat(t.map(n=>JSON.stringify(n)).join(" "))}function Jn(e){return fe({},e.dataset,e.__uniDataset)}function Qn(e){return{passive:e}}function ea(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:Jn(e),offsetTop:r,offsetLeft:i}}function zv(e,t,r){var i=document.fonts;if(i){var n=new FontFace(e,t,r);return n.load().then(()=>{i.add&&i.add(n)})}return new Promise(a=>{var o=document.createElement("style"),s=[];if(r){var{style:l,weight:u,stretch:v,unicodeRange:h,variant:_,featureSettings:d}=r;l&&s.push("font-style:".concat(l)),u&&s.push("font-weight:".concat(u)),v&&s.push("font-stretch:".concat(v)),h&&s.push("unicode-range:".concat(h)),_&&s.push("font-variant:".concat(_)),d&&s.push("font-feature-settings:".concat(d))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),a()})}function qv(e,t){if(ye(e)){var r=document.querySelector(e);r&&(e=r.getBoundingClientRect().top+window.pageYOffset)}e<0&&(e=0);var i=document.documentElement,{clientHeight:n,scrollHeight:a}=i;if(e=Math.min(e,a-n),t===0){i.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var o=s=>{if(s<=0){window.scrollTo(0,e);return}var l=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+l/s*10),o(s-10)})};o(t)}}function Xv(){return typeof __channelId__=="string"&&__channelId__}function Kv(e,t){switch(zn(t)){case"Function":return"function() { [native code] }";default:return t}}function Gv(e,t,r){if(Xv())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(n){var a=_r(n).toLowerCase();if(a==="[object object]"||a==="[object array]")try{n="---BEGIN:JSON---"+JSON.stringify(n,Kv)+"---END:JSON---"}catch(s){n=a}else if(n===null)n="---NULL---";else if(n===void 0)n="---UNDEFINED---";else{var o=zn(n).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?n="---BEGIN:"+o+"---"+n+"---END:"+o+"---":n=String(n)}return n});return i.join("---COMMA---")+" "+t}function Zv(e,t,...r){var i=Gv(e,t,r);i&&console[e](i)}function Qt(e){if(typeof e=="function"){if(window.plus)return e();document.addEventListener("plusready",e)}}function Jv(e,t){return t&&(t.capture&&(e+="Capture"),t.once&&(e+="Once"),t.passive&&(e+="Passive")),"on".concat(mi(mt(e)))}var Es=/(?:Once|Passive|Capture)$/;function ta(e){var t;if(Es.test(e)){t={};for(var r;r=e.match(Es);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ve(e.slice(2)),t]}var ra={stop:1,prevent:1<<1,self:1<<2},Cs="class",ia="style",Qv="innerHTML",ed="textContent",bi=".vShow",Os=".vOwnerId",Ms=".vRenderjs",na="change:",Is=1,td=2,rd=3,id=5,nd=6,ad=7,od=8,sd=9,ld=10,ud=12,fd=15,cd=20;function vd(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function dd(e){return vd(e)}function aa(e,t=null){var r;return(...i)=>(e&&(r=e.apply(t,i),e=null),r)}function As(e,t){var r=t.split("."),i=r[0];return e||(e={}),r.length===1?e[i]:As(e[i],r.slice(1).join("."))}function hd(e,t){var r,i=function(){clearTimeout(r);var n=()=>e.apply(this,arguments);r=setTimeout(n,t)};return i.cancel=function(){clearTimeout(r)},i}var wr=` -`,Ps=44,wi="#007aff",pd=/^([a-z-]+:)?\/\//i,gd=/^data:.*,.*/,Rs="wxs://",Ls="json://",md="wxsModules",_d="renderjsModules",bd="onPageScroll",wd="onReachBottom",yd="onWxsInvokeCallMethod",Sd=Array.isArray,xd=e=>e!==null&&typeof e=="object",Td=["{","}"];class Ed{constructor(){this._caches=Object.create(null)}interpolate(t,r,i=Td){if(!r)return[t];var n=this._caches[t];return n||(n=Md(t,i),this._caches[t]=n),Id(n,r)}}var Cd=/^(?:\d)+/,Od=/^(?:\w)+/;function Md(e,[t,r]){for(var i=[],n=0,a="";nAd.call(e,t),Pd=new Ed;function Rd(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function Ld(e,t){return t.find(r=>e.indexOf(r)===0)}function ks(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e.indexOf("zh")===0)return e.indexOf("-hans")>-1?yi:e.indexOf("-hant")>-1||Rd(e,["-tw","-hk","-mo","-cht"])?Si:yi;var r=Ld(e,[_t,oa,sa]);if(r)return r}}class Nd{constructor({locale:t,fallbackLocale:r,messages:i,watcher:n,formater:a}){this.locale=_t,this.fallbackLocale=_t,this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=a||Pd,this.messages=i||{},this.setLocale(t||_t),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=ks(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach(i=>{i(this.locale,r)})}getLocale(){return this.locale}watchLocale(t){var r=this.watchers.push(t)-1;return()=>{this.watchers.splice(r,1)}}add(t,r,i=!0){var n=this.messages[t];n?i?Object.assign(n,r):Object.keys(r).forEach(a=>{Ns(n,a)||(n[a]=r[a])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var n=this.message;return typeof r=="string"?(r=ks(r,this.messages),r&&(n=this.messages[r])):i=r,Ns(n,t)?this.formater.interpolate(n[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function kd(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function Dd(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():_t}function Bd(e,t={},r,i){typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=Dd()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||_t);var n=new Nd({locale:e,fallbackLocale:r,messages:t,watcher:i}),a=(o,s)=>{if(typeof getApp!="function")a=function(u,v){return n.t(u,v)};else{var l=!1;a=function(u,v){var h=getApp().$vm;return h&&(h.$locale,l||(l=!0,kd(h,n))),n.t(u,v)}}return a(o,s)};return{i18n:n,f(o,s,l){return n.f(o,s,l)},t(o,s){return a(o,s)},add(o,s,l=!0){return n.add(o,s,l)},watch(o){return n.watchLocale(o)},getLocale(){return n.getLocale()},setLocale(o){return n.setLocale(o)}}}var la;function je(){if(!la){var e;typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,la=Bd(e)}return la}function it(e,t,r){return t.reduce((i,n,a)=>(i[e+n]=r[a],i),{})}var Fd=aa(()=>{var e="uni.picker.",t=["done","cancel"];je().add(_t,it(e,t,["Done","Cancel"]),!1),je().add(sa,it(e,t,["OK","Cancelar"]),!1),je().add(oa,it(e,t,["OK","Annuler"]),!1),je().add(yi,it(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),je().add(Si,it(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),$d=aa(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];je().add(_t,it(e,t,["feedback","send"]),!1),je().add(sa,it(e,t,["realimentaci\xF3n","enviar"]),!1),je().add(oa,it(e,t,["retour d'information","envoyer"]),!1),je().add(yi,it(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),je().add(Si,it(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)}),Ds=function(){};Ds.prototype={on:function(e,t,r){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var i=this;function n(){i.off(e,n),t.apply(r,arguments)}return n._=t,this.on(e,n,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,n=r.length;for(i;i{var{subscribe:i,publishHandler:n}=UniViewJSBridge,a=r?Ud++:0;r&&i(Fs+"."+a,r,!0),n(Fs,{id:a,name:e,args:t})},xi=Object.create(null);function Ti(e,t){return e+"."+t}function jd(e,t){UniViewJSBridge.subscribe(Ti(e,Bs),t?t($s):$s)}function ft(e,t,r){t=Ti(e,t),xi[t]||(xi[t]=r)}function Hd(e,t){t=Ti(e,t),delete xi[t]}function $s({id:e,name:t,args:r},i){t=Ti(i,t);var n=o=>{e&&UniViewJSBridge.publishHandler(Bs+"."+e,o)},a=xi[t];a?a(r,n):n({})}var Yd=fe(Wd("service"),{invokeServiceMethod:Vd}),zd=350,Ws=10,Ei=Qn(!0),yr;function Sr(){yr&&(clearTimeout(yr),yr=null)}var Us=0,Vs=0;function qd(e){if(Sr(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];Us=t,Vs=r,yr=setTimeout(function(){var i=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});i.touches=e.touches,i.changedTouches=e.changedTouches,e.target.dispatchEvent(i)},zd)}}function Xd(e){if(!!yr){if(e.touches.length!==1)return Sr();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-Us)>Ws||Math.abs(r-Vs)>Ws)return Sr()}}function Kd(){window.addEventListener("touchstart",qd,Ei),window.addEventListener("touchmove",Xd,Ei),window.addEventListener("touchend",Sr,Ei),window.addEventListener("touchcancel",Sr,Ei)}function js(e,t){var r=Number(e);return isNaN(r)?t:r}function Gd(){var e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90,r=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,i=Math.min(window.innerWidth,document.documentElement.clientWidth,r)||r;return i}function Zd(){function e(){var t=__uniConfig.globalStyle||{},r=js(t.rpxCalcMaxDeviceWidth,960),i=js(t.rpxCalcBaseDeviceWidth,375),n=Gd();n=n<=r?n:i,document.documentElement.style.fontSize=n/23.4375+"px"}e(),document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e),window.addEventListener("resize",e)}function Jd(){Zd(),Kd()}var Qd=ti,eh=function(e,t){return!!e&&Qd(function(){t?e.call(null,function(){},1):e.call(null)})},ua=Ln,th=zo,Hs=is,Ys=ti,fa=[].sort,zs=[1,2,3];ua(ua.P+ua.F*(Ys(function(){zs.sort(void 0)})||!Ys(function(){zs.sort(null)})||!eh(fa)),"Array",{sort:function(t){return t===void 0?fa.call(Hs(this)):fa.call(Hs(this),th(t))}});var Lt,Ci=[];class rh{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Lt&&(this.parent=Lt,this.index=(Lt.scopes||(Lt.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}}on(){this.active&&(Ci.push(this),Lt=this)}off(){this.active&&(Ci.pop(),Lt=Ci[Ci.length-1])}stop(t){if(this.active){if(this.effects.forEach(i=>i.stop()),this.cleanups.forEach(i=>i()),this.scopes&&this.scopes.forEach(i=>i.stop(!0)),this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function ih(e,t){t=t||Lt,t&&t.active&&t.effects.push(e)}var ca=e=>{var t=new Set(e);return t.w=0,t.n=0,t},qs=e=>(e.w&bt)>0,Xs=e=>(e.n&bt)>0,nh=({deps:e})=>{if(e.length)for(var t=0;t{var{deps:t}=e;if(t.length){for(var r=0,i=0;i0?Tr[t-1]:void 0}}stop(){this.active&&(Ks(this),this.onStop&&this.onStop(),this.active=!1)}}function Ks(e){var{deps:t}=e;if(t.length){for(var r=0;r{(h==="length"||h>=i)&&s.push(v)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":oe(e)?qn(r)&&s.push(o.get("length")):(s.push(o.get(kt)),mr(e)&&s.push(o.get(ha)));break;case"delete":oe(e)||(s.push(o.get(kt)),mr(e)&&s.push(o.get(ha)));break;case"set":mr(e)&&s.push(o.get(kt));break}if(s.length===1)s[0]&&ma(s[0]);else{var l=[];for(var u of s)u&&l.push(...u);ma(ca(l))}}}function ma(e,t){for(var r of oe(e)?e:[...e])(r!==Nt||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var sh=di("__proto__,__v_isRef,__isVue"),Js=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Yn)),lh=_a(),uh=_a(!1,!0),fh=_a(!0),Qs=ch();function ch(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){for(var i=pe(this),n=0,a=this.length;n{e[t]=function(...r){tr();var i=pe(this)[t].apply(this,r);return Dt(),i}}),e}function _a(e=!1,t=!1){return function(i,n,a){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_raw"&&a===(e?t?Oh:ll:t?sl:ol).get(i))return i;var o=oe(i);if(!e&&o&&te(Qs,n))return Reflect.get(Qs,n,a);var s=Reflect.get(i,n,a);if((Yn(n)?Js.has(n):sh(n))||(e||He(i,"get",n),t))return s;if(We(s)){var l=!o||!qn(n);return l?s.value:s}return De(s)?e?ul(s):Ee(s):s}}var vh=el(),dh=el(!0);function el(e=!1){return function(r,i,n,a){var o=r[i];if(!e&&(n=pe(n),o=pe(o),!oe(r)&&We(o)&&!We(n)))return o.value=n,!0;var s=oe(r)&&qn(i)?Number(i)e,Oi=e=>Reflect.getPrototypeOf(e);function Mi(e,t,r=!1,i=!1){e=e.__v_raw;var n=pe(e),a=pe(t);t!==a&&!r&&He(n,"get",t),!r&&He(n,"get",a);var{has:o}=Oi(n),s=i?ba:r?Sa:Er;if(o.call(n,t))return s(e.get(t));if(o.call(n,a))return s(e.get(a));e!==n&&e.get(t)}function Ii(e,t=!1){var r=this.__v_raw,i=pe(r),n=pe(e);return e!==n&&!t&&He(i,"has",e),!t&&He(i,"has",n),e===n?r.has(e):r.has(e)||r.has(n)}function Ai(e,t=!1){return e=e.__v_raw,!t&&He(pe(e),"iterate",kt),Reflect.get(e,"size",e)}function rl(e){e=pe(e);var t=pe(this),r=Oi(t),i=r.has.call(t,e);return i||(t.add(e),ct(t,"add",e,e)),this}function il(e,t){t=pe(t);var r=pe(this),{has:i,get:n}=Oi(r),a=i.call(r,e);a||(e=pe(e),a=i.call(r,e));var o=n.call(r,e);return r.set(e,t),a?br(t,o)&&ct(r,"set",e,t):ct(r,"add",e,t),this}function nl(e){var t=pe(this),{has:r,get:i}=Oi(t),n=r.call(t,e);n||(e=pe(e),n=r.call(t,e)),i&&i.call(t,e);var a=t.delete(e);return n&&ct(t,"delete",e,void 0),a}function al(){var e=pe(this),t=e.size!==0,r=e.clear();return t&&ct(e,"clear",void 0,void 0),r}function Pi(e,t){return function(i,n){var a=this,o=a.__v_raw,s=pe(o),l=t?ba:e?Sa:Er;return!e&&He(s,"iterate",kt),o.forEach((u,v)=>i.call(n,l(u),l(v),a))}}function Ri(e,t,r){return function(...i){var n=this.__v_raw,a=pe(n),o=mr(a),s=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=n[e](...i),v=r?ba:t?Sa:Er;return!t&&He(a,"iterate",l?ha:kt),{next(){var{value:h,done:_}=u.next();return _?{value:h,done:_}:{value:s?[v(h[0]),v(h[1])]:v(h),done:_}},[Symbol.iterator](){return this}}}}function wt(e){return function(...t){return e==="delete"?!1:this}}function bh(){var e={get(a){return Mi(this,a)},get size(){return Ai(this)},has:Ii,add:rl,set:il,delete:nl,clear:al,forEach:Pi(!1,!1)},t={get(a){return Mi(this,a,!1,!0)},get size(){return Ai(this)},has:Ii,add:rl,set:il,delete:nl,clear:al,forEach:Pi(!1,!0)},r={get(a){return Mi(this,a,!0)},get size(){return Ai(this,!0)},has(a){return Ii.call(this,a,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Pi(!0,!1)},i={get(a){return Mi(this,a,!0,!0)},get size(){return Ai(this,!0)},has(a){return Ii.call(this,a,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Pi(!0,!0)},n=["keys","values","entries",Symbol.iterator];return n.forEach(a=>{e[a]=Ri(a,!1,!1),r[a]=Ri(a,!0,!1),t[a]=Ri(a,!1,!0),i[a]=Ri(a,!0,!0)}),[e,r,t,i]}var[wh,yh,Sh,xh]=bh();function wa(e,t){var r=t?e?xh:Sh:e?yh:wh;return(i,n,a)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?i:Reflect.get(te(r,n)&&n in i?r:i,n,a)}var Th={get:wa(!1,!1)},Eh={get:wa(!1,!0)},Ch={get:wa(!0,!1)},ol=new WeakMap,sl=new WeakMap,ll=new WeakMap,Oh=new WeakMap;function Mh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ih(e){return e.__v_skip||!Object.isExtensible(e)?0:Mh(zn(e))}function Ee(e){return e&&e.__v_isReadonly?e:ya(e,!1,tl,Th,ol)}function Ah(e){return ya(e,!1,_h,Eh,sl)}function ul(e){return ya(e,!0,mh,Ch,ll)}function ya(e,t,r,i,n){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var a=n.get(e);if(a)return a;var o=Ih(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return n.set(e,s),s}function rr(e){return fl(e)?rr(e.__v_raw):!!(e&&e.__v_isReactive)}function fl(e){return!!(e&&e.__v_isReadonly)}function cl(e){return rr(e)||fl(e)}function pe(e){var t=e&&e.__v_raw;return t?pe(t):e}function Li(e){return _i(e,"__v_skip",!0),e}var Er=e=>De(e)?Ee(e):e,Sa=e=>De(e)?ul(e):e;function vl(e){Gs()&&(e=pe(e),e.dep||(e.dep=ca()),Zs(e.dep))}function dl(e,t){e=pe(e),e.dep&&ma(e.dep)}function We(e){return Boolean(e&&e.__v_isRef===!0)}function B(e){return hl(e,!1)}function xa(e){return hl(e,!0)}function hl(e,t){return We(e)?e:new Ph(e,t)}class Ph{constructor(t,r){this._shallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:pe(t),this._value=r?t:Er(t)}get value(){return vl(this),this._value}set value(t){t=this._shallow?t:pe(t),br(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:Er(t),dl(this))}}function Rh(e){return We(e)?e.value:e}var Lh={get:(e,t,r)=>Rh(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var n=e[t];return We(n)&&!We(r)?(n.value=r,!0):Reflect.set(e,t,r,i)}};function pl(e){return rr(e)?e:new Proxy(e,Lh)}class Nh{constructor(t,r,i){this._setter=r,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new pa(t,()=>{this._dirty||(this._dirty=!0,dl(this))}),this.__v_isReadonly=i}get value(){var t=pe(this);return vl(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Q(e,t){var r,i,n=ae(e);n?(r=e,i=Je):(r=e.get,i=e.set);var a=new Nh(r,i,n||!i);return a}function kh(e,t,...r){var i=e.vnode.props||be,n=r,a=t.startsWith("update:"),o=a&&t.slice(7);if(o&&o in i){var s="".concat(o==="modelValue"?"model":o,"Modifiers"),{number:l,trim:u}=i[s]||be;u?n=r.map(d=>d.trim()):l&&(n=r.map(Hv))}var v,h=i[v=Xn(t)]||i[v=Xn(mt(t))];!h&&a&&(h=i[v=Xn(Ve(t))]),h&&et(h,e,6,n);var _=i[v+"Once"];if(_){if(!e.emitted)e.emitted={};else if(e.emitted[v])return;e.emitted[v]=!0,et(_,e,6,n)}}function gl(e,t,r=!1){var i=t.emitsCache,n=i.get(e);if(n!==void 0)return n;var a=e.emits,o={},s=!1;if(!ae(e)){var l=u=>{var v=gl(u,t,!0);v&&(s=!0,fe(o,v))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(i.set(e,null),null):(oe(a)?a.forEach(u=>o[u]=null):fe(o,a),i.set(e,o),o)}function Ta(e,t){return!e||!hi(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,Ve(t))||te(e,t))}var Qe=null,ml=null;function Ni(e){var t=Qe;return Qe=e,ml=e&&e.type.__scopeId||null,t}function Dh(e,t=Qe,r){if(!t||e._n)return e;var i=(...n)=>{i._d&&$l(-1);var a=Ni(t),o=e(...n);return Ni(a),i._d&&$l(1),o};return i._n=!0,i._c=!0,i._d=!0,i}function ly(){}function Ea(e){var{type:t,vnode:r,proxy:i,withProxy:n,props:a,propsOptions:[o],slots:s,attrs:l,emit:u,render:v,renderCache:h,data:_,setupState:d,ctx:y,inheritAttrs:g}=e,p,c,b=Ni(e);try{if(r.shapeFlag&4){var f=n||i;p=ot(v.call(f,f,h,a,d,_,y)),c=l}else{var m=t;p=ot(m.length>1?m(a,{attrs:l,slots:s,emit:u}):m(a,null)),c=t.props?l:Bh(l)}}catch(C){Vi(C,e,1),p=M(Or)}var S=p;if(c&&g!==!1){var x=Object.keys(c),{shapeFlag:E}=S;x.length&&E&(1|6)&&(o&&x.some(Hn)&&(c=Fh(c,o)),S=Ir(S,c))}return r.dirs&&(S.dirs=S.dirs?S.dirs.concat(r.dirs):r.dirs),r.transition&&(S.transition=r.transition),p=S,Ni(b),p}var Bh=e=>{var t;for(var r in e)(r==="class"||r==="style"||hi(r))&&((t||(t={}))[r]=e[r]);return t},Fh=(e,t)=>{var r={};for(var i in e)(!Hn(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function $h(e,t,r){var{props:i,children:n,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?_l(i,o,u):!!o;if(l&8)for(var v=t.dynamicProps,h=0;he.__isSuspense;function Vh(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):Rp(e)}function Ne(e,t){if(ke){var r=ke.provides,i=ke.parent&&ke.parent.provides;i===r&&(r=ke.provides=Object.create(i)),r[e]=t}}function ge(e,t,r=!1){var i=ke||Qe;if(i){var n=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(n&&e in n)return n[e];if(arguments.length>1)return r&&ae(t)?t.call(i.proxy):t}}function jh(e){return ae(e)?{setup:e,name:e.name}:e}var Ca=e=>!!e.type.__asyncLoader,bl=e=>e.type.__isKeepAlive;function Oa(e,t){wl(e,"a",t)}function Hh(e,t){wl(e,"da",t)}function wl(e,t,r=ke){var i=e.__wdc||(e.__wdc=()=>{for(var a=r;a;){if(a.isDeactivated)return;a=a.parent}e()});if(ki(t,i,r),r)for(var n=r.parent;n&&n.parent;)bl(n.parent.vnode)&&Yh(i,t,r,n),n=n.parent}function Yh(e,t,r,i){var n=ki(t,e,i,!0);yt(()=>{Ss(i[t],n)},r)}function ki(e,t,r=ke,i=!1){if(r){var n=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(!r.isUnmounted){tr(),ir(r);var s=et(t,r,e,o);return $t(),Dt(),s}});return i?n.unshift(a):n.push(a),a}}var vt=e=>(t,r=ke)=>(!Ui||e==="sp")&&ki(e,t,r),yl=vt("bm"),Oe=vt("m"),zh=vt("bu"),qh=vt("u"),xe=vt("bum"),yt=vt("um"),Xh=vt("sp"),Kh=vt("rtg"),Gh=vt("rtc");function Zh(e,t=ke){ki("ec",e,t)}var Ma=!0;function Jh(e){var t=Tl(e),r=e.proxy,i=e.ctx;Ma=!1,t.beforeCreate&&Sl(t.beforeCreate,e,"bc");var{data:n,computed:a,methods:o,watch:s,provide:l,inject:u,created:v,beforeMount:h,mounted:_,beforeUpdate:d,updated:y,activated:g,deactivated:p,beforeDestroy:c,beforeUnmount:b,destroyed:f,unmounted:m,render:S,renderTracked:x,renderTriggered:E,errorCaptured:C,serverPrefetch:L,expose:W,inheritAttrs:q,components:X,directives:ce,filters:A}=t,$=null;if(u&&Qh(u,i,$,e.appContext.config.unwrapInjectedRef),o)for(var ee in o){var ne=o[ee];ae(ne)&&(i[ee]=ne.bind(r))}if(n&&function(){var le=n.call(r,r);De(le)&&(e.data=Ee(le))}(),Ma=!0,a){var H=function(le){var ve=a[le],Me=ae(ve)?ve.bind(r,r):ae(ve.get)?ve.get.bind(r,r):Je,Ce=!ae(ve)&&ae(ve.set)?ve.set.bind(r):Je,Ge=Q({get:Me,set:Ce});Object.defineProperty(i,le,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:At=>Ge.value=At})};for(var J in a)H(J)}if(s)for(var ie in s)xl(s[ie],i,r,ie);if(l){var we=ae(l)?l.call(r):l;Reflect.ownKeys(we).forEach(le=>{Ne(le,we[le])})}v&&Sl(v,e,"c");function Y(le,ve){oe(ve)?ve.forEach(Me=>le(Me.bind(r))):ve&&le(ve.bind(r))}if(Y(yl,h),Y(Oe,_),Y(zh,d),Y(qh,y),Y(Oa,g),Y(Hh,p),Y(Zh,C),Y(Gh,x),Y(Kh,E),Y(xe,b),Y(yt,m),Y(Xh,L),oe(W))if(W.length){var re=e.exposed||(e.exposed={});W.forEach(le=>{Object.defineProperty(re,le,{get:()=>r[le],set:ve=>r[le]=ve})})}else e.exposed||(e.exposed={});S&&e.render===Je&&(e.render=S),q!=null&&(e.inheritAttrs=q),X&&(e.components=X),ce&&(e.directives=ce)}function Qh(e,t,r=Je,i=!1){oe(e)&&(e=Ia(e));var n=function(o){var s=e[o],l=void 0;De(s)?"default"in s?l=ge(s.from||o,s.default,!0):l=ge(s.from||o):l=ge(s),We(l)&&i?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>l.value,set:u=>l.value=u}):t[o]=l};for(var a in e)n(a)}function Sl(e,t,r){et(oe(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function xl(e,t,r,i){var n=i.includes(".")?Jl(r,i):()=>r[i];if(ye(e)){var a=t[e];ae(a)&&U(n,a)}else if(ae(e))U(n,e.bind(r));else if(De(e))if(oe(e))e.forEach(s=>xl(s,t,r,i));else{var o=ae(e.handler)?e.handler.bind(r):t[e.handler];ae(o)&&U(n,o,e)}}function Tl(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:n,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),l;return s?l=s:!n.length&&!r&&!i?l=t:(l={},n.length&&n.forEach(u=>Di(l,u,o,!0)),Di(l,t,o)),a.set(t,l),l}function Di(e,t,r,i=!1){var{mixins:n,extends:a}=t;a&&Di(e,a,r,!0),n&&n.forEach(l=>Di(e,l,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=ep[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var ep={data:El,props:Bt,emits:Bt,methods:Bt,computed:Bt,beforeCreate:Fe,created:Fe,beforeMount:Fe,mounted:Fe,beforeUpdate:Fe,updated:Fe,beforeDestroy:Fe,beforeUnmount:Fe,destroyed:Fe,unmounted:Fe,activated:Fe,deactivated:Fe,errorCaptured:Fe,serverPrefetch:Fe,components:Bt,directives:Bt,watch:rp,provide:El,inject:tp};function El(e,t){return t?e?function(){return fe(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function tp(e,t){return Bt(Ia(e),Ia(t))}function Ia(e){if(oe(e)){for(var t={},r=0;r0)&&!(o&16)){if(o&8)for(var v=e.vnode.dynamicProps,h=0;h{l=!0;var[m,S]=Ol(f,t,!0);fe(o,m),S&&s.push(...S)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return i.set(e,gr),gr;if(oe(a))for(var v=0;v-1,g[1]=c<0||p-1||te(g,"default"))&&s.push(d)}}}var b=[o,s];return i.set(e,b),b}function Ml(e){return e[0]!=="$"}function Il(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Al(e,t){return Il(e)===Il(t)}function Pl(e,t){return oe(t)?t.findIndex(r=>Al(r,e)):ae(t)&&Al(t,e)?0:-1}var Rl=e=>e[0]==="_"||e==="$stable",Pa=e=>oe(e)?e.map(ot):[ot(e)],ap=(e,t,r)=>{var i=Dh((...n)=>Pa(t(...n)),r);return i._c=!1,i},Ll=(e,t,r)=>{var i=e._ctx;for(var n in e)if(!Rl(n)){var a=e[n];ae(a)?t[n]=ap(n,a,i):a!=null&&function(){var o=Pa(a);t[n]=()=>o}()}},Nl=(e,t)=>{var r=Pa(t);e.slots.default=()=>r},op=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=pe(t),_i(t,"_",r)):Ll(t,e.slots={})}else e.slots={},t&&Nl(e,t);_i(e.slots,Fi,1)},sp=(e,t,r)=>{var{vnode:i,slots:n}=e,a=!0,o=be;if(i.shapeFlag&32){var s=t._;s?r&&s===1?a=!1:(fe(n,t),!r&&s===1&&delete n._):(a=!t.$stable,Ll(t,n)),o=t}else t&&(Nl(e,t),o={default:1});if(a)for(var l in n)!Rl(l)&&!(l in o)&&delete n[l]};function Cr(e,t){var r=Qe;if(r===null)return e;for(var i=r.proxy,n=e.dirs||(e.dirs=[]),a=0;a{if(w!==T){w&&!Mr(w,T)&&(P=Ge(w),re(w,R,F,!0),w=null),T.patchFlag===-2&&(k=!1,T.dynamicChildren=null);var{type:N,ref:Z,shapeFlag:G}=T;switch(N){case La:c(w,T,I,P);break;case Or:b(w,T,I,P);break;case Na:w==null&&f(T,I,P,V);break;case at:ce(w,T,I,P,R,F,V,D,k);break;default:G&1?x(w,T,I,P,R,F,V,D,k):G&6?A(w,T,I,P,R,F,V,D,k):(G&64||G&128)&&N.process(w,T,I,P,R,F,V,D,k,Ie)}Z!=null&&R&&Ra(Z,w&&w.ref,F,T||w,!T)}},c=(w,T,I,P)=>{if(w==null)i(T.el=s(T.children),I,P);else{var R=T.el=w.el;T.children!==w.children&&u(R,T.children)}},b=(w,T,I,P)=>{w==null?i(T.el=l(T.children||""),I,P):T.el=w.el},f=(w,T,I,P)=>{[w.el,w.anchor]=g(w.children,T,I,P)},m=({el:w,anchor:T},I,P)=>{for(var R;w&&w!==T;)R=_(w),i(w,I,P),w=R;i(T,I,P)},S=({el:w,anchor:T})=>{for(var I;w&&w!==T;)I=_(w),n(w),w=I;n(T)},x=(w,T,I,P,R,F,V,D,k)=>{V=V||T.type==="svg",w==null?E(T,I,P,R,F,V,D,k):W(w,T,R,F,V,D,k)},E=(w,T,I,P,R,F,V,D)=>{var k,N,{type:Z,props:G,shapeFlag:K,transition:ue,patchFlag:Re,dirs:Se}=w;if(w.el&&y!==void 0&&Re===-1)k=w.el=y(w.el);else{if(k=w.el=o(w.type,F,G&&G.is,G),K&8?v(k,w.children):K&16&&L(w.children,k,null,P,R,F&&Z!=="foreignObject",V,D),Se&&Ft(w,null,P,"created"),G){for(var O in G)O!=="value"&&!pi(O)&&a(k,O,null,G[O],F,w.children,P,R,Ce);"value"in G&&a(k,"value",null,G.value),(N=G.onVnodeBeforeMount)&&nt(N,P,w)}C(k,w,w.scopeId,V,P)}Object.defineProperty(k,"__vueParentComponent",{value:P,enumerable:!1}),Se&&Ft(w,null,P,"beforeMount");var j=(!R||R&&!R.pendingBranch)&&ue&&!ue.persisted;j&&ue.beforeEnter(k),i(k,T,I),((N=G&&G.onVnodeMounted)||j||Se)&&$e(()=>{N&&nt(N,P,w),j&&ue.enter(k),Se&&Ft(w,null,P,"mounted")},R)},C=(w,T,I,P,R)=>{if(I&&d(w,I),P)for(var F=0;F{for(var N=k;N{var D=T.el=w.el,{patchFlag:k,dynamicChildren:N,dirs:Z}=T;k|=w.patchFlag&16;var G=w.props||be,K=T.props||be,ue;(ue=K.onVnodeBeforeUpdate)&&nt(ue,I,T,w),Z&&Ft(T,w,I,"beforeUpdate");var Re=R&&T.type!=="foreignObject";if(N?q(w.dynamicChildren,N,D,I,P,Re,F):V||J(w,T,D,null,I,P,Re,F,!1),k>0){if(k&16)X(D,T,G,K,I,P,R);else if(k&2&&G.class!==K.class&&a(D,"class",null,K.class,R),k&4&&a(D,"style",G.style,K.style,R),k&8)for(var Se=T.dynamicProps,O=0;O{ue&&nt(ue,I,T,w),Z&&Ft(T,w,I,"updated")},P)},q=(w,T,I,P,R,F,V)=>{for(var D=0;D{if(I!==P){for(var D in P)if(!pi(D)){var k=P[D],N=I[D];k!==N&&D!=="value"&&a(w,D,N,k,V,T.children,R,F,Ce)}if(I!==be)for(var Z in I)!pi(Z)&&!(Z in P)&&a(w,Z,I[Z],null,V,T.children,R,F,Ce);"value"in P&&a(w,"value",I.value,P.value)}},ce=(w,T,I,P,R,F,V,D,k)=>{var N=T.el=w?w.el:s(""),Z=T.anchor=w?w.anchor:s(""),{patchFlag:G,dynamicChildren:K,slotScopeIds:ue}=T;ue&&(D=D?D.concat(ue):ue),w==null?(i(N,I,P),i(Z,I,P),L(T.children,I,Z,R,F,V,D,k)):G>0&&G&64&&K&&w.dynamicChildren?(q(w.dynamicChildren,K,I,R,F,V,D),(T.key!=null||R&&T===R.subTree)&&Dl(w,T,!0)):J(w,T,I,Z,R,F,V,D,k)},A=(w,T,I,P,R,F,V,D,k)=>{T.slotScopeIds=D,w==null?T.shapeFlag&512?R.ctx.activate(T,I,P,V,k):$(T,I,P,R,F,V,k):ee(w,T,k)},$=(w,T,I,P,R,F,V)=>{var D=w.component=Sp(w,P,R);if(bl(w)&&(D.ctx.renderer=Ie),xp(D),D.asyncDep){if(R&&R.registerDep(D,ne),!w.el){var k=D.subTree=M(Or);b(null,k,T,I)}return}ne(D,w,T,I,R,F,V)},ee=(w,T,I)=>{var P=T.component=w.component;if($h(w,T,I))if(P.asyncDep&&!P.asyncResolved){H(P,T,I);return}else P.next=T,Ap(P.update),P.update();else T.component=w.component,T.el=w.el,P.vnode=T},ne=(w,T,I,P,R,F,V)=>{var D=()=>{if(w.isMounted){var{next:se,bu:Le,u:Ue,parent:Ae,vnode:tt}=w,Pt=se,ut;k.allowRecurse=!1,se?(se.el=tt.el,H(w,se,V)):se=tt,Le&&Kn(Le),(ut=se.props&&se.props.onVnodeBeforeUpdate)&&nt(ut,Ae,se,tt),k.allowRecurse=!0;var Xt=Ea(w),pt=w.subTree;w.subTree=Xt,p(pt,Xt,h(pt.el),Ge(pt),w,R,F),se.el=Xt.el,Pt===null&&Wh(w,Xt.el),Ue&&$e(Ue,R),(ut=se.props&&se.props.onVnodeUpdated)&&$e(()=>nt(ut,Ae,se,tt),R)}else{var Z,{el:G,props:K}=T,{bm:ue,m:Re,parent:Se}=w,O=Ca(T);if(k.allowRecurse=!1,ue&&Kn(ue),!O&&(Z=K&&K.onVnodeBeforeMount)&&nt(Z,Se,T),k.allowRecurse=!0,G&&Gr){var j=()=>{w.subTree=Ea(w),Gr(G,w.subTree,w,R,null)};O?T.type.__asyncLoader().then(()=>!w.isUnmounted&&j()):j()}else{var z=w.subTree=Ea(w);p(null,z,I,P,w,R,F),T.el=z.el}if(Re&&$e(Re,R),!O&&(Z=K&&K.onVnodeMounted)){var de=T;$e(()=>nt(Z,Se,de),R)}T.shapeFlag&256&&w.a&&$e(w.a,R),w.isMounted=!0,T=I=P=null}},k=new pa(D,()=>zl(w.update),w.scope),N=w.update=k.run.bind(k);N.id=w.uid,k.allowRecurse=N.allowRecurse=!0,N()},H=(w,T,I)=>{T.component=w;var P=w.vnode.props;w.vnode=T,w.next=null,np(w,T.props,P,I),sp(w,T.children,I),tr(),Ua(void 0,w.update),Dt()},J=(w,T,I,P,R,F,V,D,k=!1)=>{var N=w&&w.children,Z=w?w.shapeFlag:0,G=T.children,{patchFlag:K,shapeFlag:ue}=T;if(K>0){if(K&128){we(N,G,I,P,R,F,V,D,k);return}else if(K&256){ie(N,G,I,P,R,F,V,D,k);return}}ue&8?(Z&16&&Ce(N,R,F),G!==N&&v(I,G)):Z&16?ue&16?we(N,G,I,P,R,F,V,D,k):Ce(N,R,F,!0):(Z&8&&v(I,""),ue&16&&L(G,I,P,R,F,V,D,k))},ie=(w,T,I,P,R,F,V,D,k)=>{w=w||gr,T=T||gr;var N=w.length,Z=T.length,G=Math.min(N,Z),K;for(K=0;KZ?Ce(w,R,F,!0,!1,G):L(T,I,P,R,F,V,D,k,G)},we=(w,T,I,P,R,F,V,D,k)=>{for(var N=0,Z=T.length,G=w.length-1,K=Z-1;N<=G&&N<=K;){var ue=w[N],Re=T[N]=k?St(T[N]):ot(T[N]);if(Mr(ue,Re))p(ue,Re,I,null,R,F,V,D,k);else break;N++}for(;N<=G&&N<=K;){var Se=w[G],O=T[K]=k?St(T[K]):ot(T[K]);if(Mr(Se,O))p(Se,O,I,null,R,F,V,D,k);else break;G--,K--}if(N>G){if(N<=K)for(var j=K+1,z=jK)for(;N<=G;)re(w[N],R,F,!0),N++;else{var de=N,se=N,Le=new Map;for(N=se;N<=K;N++){var Ue=T[N]=k?St(T[N]):ot(T[N]);Ue.key!=null&&Le.set(Ue.key,N)}var Ae,tt=0,Pt=K-se+1,ut=!1,Xt=0,pt=new Array(Pt);for(N=0;N=Pt){re(dr,R,F,!0);continue}var Kt=void 0;if(dr.key!=null)Kt=Le.get(dr.key);else for(Ae=se;Ae<=K;Ae++)if(pt[Ae-se]===0&&Mr(dr,T[Ae])){Kt=Ae;break}Kt===void 0?re(dr,R,F,!0):(pt[Kt-se]=N+1,Kt>=Xt?Xt=Kt:ut=!0,p(dr,T[Kt],I,null,R,F,V,D,k),tt++)}var Qf=ut?vp(pt):gr;for(Ae=Qf.length-1,N=Pt-1;N>=0;N--){var No=se+N,ec=T[No],tc=No+1{var{el:F,type:V,transition:D,children:k,shapeFlag:N}=w;if(N&6){Y(w.component.subTree,T,I,P);return}if(N&128){w.suspense.move(T,I,P);return}if(N&64){V.move(w,T,I,Ie);return}if(V===at){i(F,T,I);for(var Z=0;ZD.enter(F),R);else{var{leave:K,delayLeave:ue,afterLeave:Re}=D,Se=()=>i(F,T,I),O=()=>{K(F,()=>{Se(),Re&&Re()})};ue?ue(F,Se,O):O()}else i(F,T,I)},re=(w,T,I,P=!1,R=!1)=>{var{type:F,props:V,ref:D,children:k,dynamicChildren:N,shapeFlag:Z,patchFlag:G,dirs:K}=w;if(D!=null&&Ra(D,null,I,w,!0),Z&256){T.ctx.deactivate(w);return}var ue=Z&1&&K,Re=!Ca(w),Se;if(Re&&(Se=V&&V.onVnodeBeforeUnmount)&&nt(Se,T,w),Z&6)Me(w.component,I,P);else{if(Z&128){w.suspense.unmount(I,P);return}ue&&Ft(w,null,T,"beforeUnmount"),Z&64?w.type.remove(w,T,I,R,Ie,P):N&&(F!==at||G>0&&G&64)?Ce(N,T,I,!1,!0):(F===at&&G&(128|256)||!R&&Z&16)&&Ce(k,T,I),P&&le(w)}(Re&&(Se=V&&V.onVnodeUnmounted)||ue)&&$e(()=>{Se&&nt(Se,T,w),ue&&Ft(w,null,T,"unmounted")},I)},le=w=>{var{type:T,el:I,anchor:P,transition:R}=w;if(T===at){ve(I,P);return}if(T===Na){S(w);return}var F=()=>{n(I),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(w.shapeFlag&1&&R&&!R.persisted){var{leave:V,delayLeave:D}=R,k=()=>V(I,F);D?D(w.el,F,k):k()}else F()},ve=(w,T)=>{for(var I;w!==T;)I=_(w),n(w),w=I;n(T)},Me=(w,T,I)=>{var{bum:P,scope:R,update:F,subTree:V,um:D}=w;P&&Kn(P),R.stop(),F&&(F.active=!1,re(V,w,T,I)),D&&$e(D,T),$e(()=>{w.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},Ce=(w,T,I,P=!1,R=!1,F=0)=>{for(var V=F;Vw.shapeFlag&6?Ge(w.component.subTree):w.shapeFlag&128?w.suspense.next():_(w.anchor||w.el),At=(w,T,I)=>{if(w==null)T._vnode&&re(T._vnode,null,null,!0);else{var P=T.__vueParent;p(T._vnode||null,w,T,null,P,null,I)}T._vnode=w},Ie={p,um:re,m:Y,r:le,mt:$,mc:L,pc:J,pbc:q,n:Ge,o:e},Kr,Gr;return t&&([Kr,Gr]=t(Ie)),{render:At,hydrate:Kr,createApp:up(At,Kr)}}function Ra(e,t,r,i,n=!1){if(oe(e)){e.forEach((y,g)=>Ra(y,t&&(oe(t)?t[g]:t),r,i,n));return}if(!(Ca(i)&&!n)){var a=i.shapeFlag&4?Ba(i.component)||i.component.proxy:i.el,o=n?null:a,{i:s,r:l}=e,u=t&&t.r,v=s.refs===be?s.refs={}:s.refs,h=s.setupState;if(u!=null&&u!==l&&(ye(u)?(v[u]=null,te(h,u)&&(h[u]=null)):We(u)&&(u.value=null)),ye(l)){var _=()=>{v[l]=o,te(h,l)&&(h[l]=o)};o?(_.id=-1,$e(_,r)):_()}else if(We(l)){var d=()=>{l.value=o};o?(d.id=-1,$e(d,r)):d()}else ae(l)&&Tt(l,s,12,[o,v])}}function nt(e,t,r,i=null){et(e,t,7,[r,i])}function Dl(e,t,r=!1){var i=e.children,n=t.children;if(oe(i)&&oe(n))for(var a=0;a>1,e[r[s]]0&&(t[i]=r[a-1]),r[a]=i)}}for(a=r.length,o=r[a-1];a-- >0;)r[a]=o,o=t[o];return r}var dp=e=>e.__isTeleport,hp=Symbol(),at=Symbol(void 0),La=Symbol(void 0),Or=Symbol(void 0),Na=Symbol(void 0),Bl=null,Fl=1;function $l(e){Fl+=e}function Bi(e){return e?e.__v_isVNode===!0:!1}function Mr(e,t){return e.type===t.type&&e.key===t.key}var Fi="__vInternal",Wl=({key:e})=>e!=null?e:null,$i=({ref:e})=>e!=null?ye(e)||We(e)||ae(e)?{i:Qe,r:e}:e:null;function pp(e,t=null,r=null,i=0,n=null,a=e===at?0:1,o=!1,s=!1){var l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wl(t),ref:t&&$i(t),scopeId:ml,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:n,dynamicChildren:null,appContext:null};return s?(ka(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=ye(r)?8:16),Fl>0&&!o&&Bl&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Bl.push(l),l}var M=gp;function gp(e,t=null,r=null,i=0,n=null,a=!1){if((!e||e===hp)&&(e=Or),Bi(e)){var o=Ir(e,t,!0);return r&&ka(o,r),o}if(Op(e)&&(e=e.__vccOpts),t){t=mp(t);var{class:s,style:l}=t;s&&!ye(s)&&(t.class=jn(s)),De(l)&&(cl(l)&&!oe(l)&&(l=fe({},l)),t.style=Vn(l))}var u=ye(e)?1:Uh(e)?128:dp(e)?64:De(e)?4:ae(e)?2:0;return pp(e,t,r,i,n,u,a,!0)}function mp(e){return e?cl(e)||Fi in e?fe({},e):e:null}function Ir(e,t,r=!1){var{props:i,ref:n,patchFlag:a,children:o}=e,s=t?Ye(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Wl(s),ref:t&&t.ref?r&&n?oe(n)?n.concat($i(t)):[n,$i(t)]:$i(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==at?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ir(e.ssContent),ssFallback:e.ssFallback&&Ir(e.ssFallback),el:e.el,anchor:e.anchor};return l}function _p(e=" ",t=0){return M(La,null,e,t)}function ot(e){return e==null||typeof e=="boolean"?M(Or):oe(e)?M(at,null,e.slice()):typeof e=="object"?St(e):M(La,null,String(e))}function St(e){return e.el===null||e.memo?e:Ir(e)}function ka(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(oe(t))r=16;else if(typeof t=="object")if(i&(1|64)){var n=t.default;n&&(n._c&&(n._d=!1),ka(e,n()),n._c&&(n._d=!0));return}else{r=32;var a=t._;!a&&!(Fi in t)?t._ctx=Qe:a===3&&Qe&&(Qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:Qe},r=32):(t=String(t),i&64?(r=16,t=[_p(t)]):r=8);e.children=t,e.shapeFlag|=r}function Ye(...e){for(var t={},r=0;re?Ul(e)?Ba(e)||e.proxy:Da(e.parent):null,Wi=fe(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=>Da(e.parent),$root:e=>Da(e.root),$emit:e=>e.emit,$options:e=>Tl(e),$forceUpdate:e=>()=>zl(e.update),$nextTick:e=>or.bind(e.proxy),$watch:e=>Np.bind(e)}),bp={get({_:e},t){var{ctx:r,setupState:i,data:n,props:a,accessCache:o,type:s,appContext:l}=e,u;if(t[0]!=="$"){var v=o[t];if(v!==void 0)switch(v){case 0:return i[t];case 1:return n[t];case 3:return r[t];case 2:return a[t]}else{if(i!==be&&te(i,t))return o[t]=0,i[t];if(n!==be&&te(n,t))return o[t]=1,n[t];if((u=e.propsOptions[0])&&te(u,t))return o[t]=2,a[t];if(r!==be&&te(r,t))return o[t]=3,r[t];Ma&&(o[t]=4)}}var h=Wi[t],_,d;if(h)return t==="$attrs"&&He(e,"get",t),h(e);if((_=s.__cssModules)&&(_=_[t]))return _;if(r!==be&&te(r,t))return o[t]=3,r[t];if(d=l.config.globalProperties,te(d,t))return d[t]},set({_:e},t,r){var{data:i,setupState:n,ctx:a}=e;if(n!==be&&te(n,t))n[t]=r;else if(i!==be&&te(i,t))i[t]=r;else if(te(e.props,t))return!1;return t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:i,appContext:n,propsOptions:a}},o){var s;return r[o]!==void 0||e!==be&&te(e,o)||t!==be&&te(t,o)||(s=a[0])&&te(s,o)||te(i,o)||te(Wi,o)||te(n.config.globalProperties,o)}},wp=kl(),yp=0;function Sp(e,t,r){var i=e.type,n=(t?t.appContext:e.appContext)||wp,a={uid:yp++,vnode:e,type:i,parent:t,appContext:n,root:null,next:null,subTree:null,update:null,scope:new rh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ol(i,n),emitsOptions:gl(i,n),emit:null,emitted:null,propsDefaults:be,inheritAttrs:i.inheritAttrs,ctx:be,data:be,props:be,attrs:be,slots:be,refs:be,setupState:be,setupContext:null,suspense:r,suspenseId:r?r.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,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=kh.bind(null,a),e.ce&&e.ce(a),a}var ke=null,xt=()=>ke||Qe,ir=e=>{ke=e,e.scope.on()},$t=()=>{ke&&ke.scope.off(),ke=null};function Ul(e){return e.vnode.shapeFlag&4}var Ui=!1;function xp(e,t=!1){Ui=t;var{props:r,children:i}=e.vnode,n=Ul(e);ip(e,r,n,t),op(e,i);var a=n?Tp(e,t):void 0;return Ui=!1,a}function Tp(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=Li(new Proxy(e.ctx,bp));var{setup:i}=r;if(i){var n=e.setupContext=i.length>1?Cp(e):null;ir(e),tr();var a=Tt(i,e,0,[e.props,n]);if(Dt(),$t(),xs(a)){if(a.then($t,$t),t)return a.then(o=>{Vl(e,o,t)}).catch(o=>{Vi(o,e,0)});e.asyncDep=a}else Vl(e,a,t)}else Hl(e,t)}function Vl(e,t,r){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=pl(t)),Hl(e,r)}var jl;function Hl(e,t,r){var i=e.type;if(!e.render){if(!t&&jl&&!i.render){var n=i.template;if(n){var{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=i,u=fe(fe({isCustomElement:a,delimiters:s},o),l);i.render=jl(n,u)}}e.render=i.render||Je}ir(e),tr(),Jh(e),Dt(),$t()}function Ep(e){return new Proxy(e.attrs,{get(t,r){return He(e,"get","$attrs"),t[r]}})}function Cp(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=Ep(e))},slots:e.slots,emit:e.emit,expose:t}}function Ba(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pl(Li(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Wi)return Wi[r](e)}}))}function Op(e){return ae(e)&&"__vccOpts"in e}function Tt(e,t,r,i){var n;try{n=i?e(...i):e()}catch(a){Vi(a,t,r)}return n}function et(e,t,r,i){if(ae(e)){var n=Tt(e,t,r,i);return n&&xs(n)&&n.catch(s=>{Vi(s,t,r)}),n}for(var a=[],o=0;o>>1,n=Lr(ze[i]);ndt&&ze.splice(t,1)}function Xl(e,t,r,i){oe(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),ql()}function Pp(e){Xl(e,Pr,Ar,nr)}function Rp(e){Xl(e,Et,Rr,ar)}function Ua(e,t=null){if(Ar.length){for(Wa=t,Pr=[...new Set(Ar)],Ar.length=0,nr=0;nrLr(r)-Lr(i)),ar=0;are.id==null?1/0:e.id;function Gl(e){Fa=!1,ji=!0,Ua(e),ze.sort((i,n)=>Lr(i)-Lr(n));var t=Je;try{for(dt=0;dte.value,u=!!e._shallow):rr(e)?(l=()=>e,i=!0):oe(e)?(v=!0,u=e.some(rr),l=()=>e.map(b=>{if(We(b))return b.value;if(rr(b))return Wt(b);if(ae(b))return Tt(b,s,2)})):ae(e)?t?l=()=>Tt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return _&&_(),et(e,s,3,[d])}:l=Je,t&&i){var h=l;l=()=>Wt(h())}var _,d=b=>{_=c.onStop=()=>{Tt(b,s,4)}};if(Ui)return d=Je,t?r&&et(t,s,3,[l(),v?[]:void 0,d]):l(),Je;var y=v?[]:Zl,g=()=>{if(!!c.active)if(t){var b=c.run();(i||u||(v?b.some((f,m)=>br(f,y[m])):br(b,y)))&&(_&&_(),et(t,s,3,[b,y===Zl?void 0:y,d]),y=b)}else c.run()};g.allowRecurse=!!t;var p;n==="sync"?p=g:n==="post"?p=()=>$e(g,s&&s.suspense):p=()=>{!s||s.isMounted?Pp(g):g()};var c=new pa(l,p);return t?r?g():y=c.run():n==="post"?$e(c.run.bind(c),s&&s.suspense):c.run(),()=>{c.stop(),s&&s.scope&&Ss(s.scope.effects,c)}}function Np(e,t,r){var i=this.proxy,n=ye(e)?e.includes(".")?Jl(i,e):()=>i[e]:e.bind(i,i),a;ae(t)?a=t:(a=t.handler,r=t);var o=ke;ir(this);var s=Va(n,a.bind(i),r);return o?ir(o):$t(),s}function Jl(e,t){var r=t.split(".");return()=>{for(var i=e,n=0;n{Wt(n,t)});else if(rt(e))for(var i in e)Wt(e[i],t);return e}function kp(e,t,r){var i=arguments.length;return i===2?De(t)&&!oe(t)?Bi(t)?M(e,null,[t]):M(e,t):M(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Bi(r)&&(r=[r]),M(e,t,r))}var Dp="3.2.20",Bp="http://www.w3.org/2000/svg",sr=typeof document!="undefined"?document:null,Ql=new Map,Fp={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{var n=t?sr.createElementNS(Bp,e):sr.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&n.setAttribute("multiple",i.multiple),n},createText:e=>sr.createTextNode(e),createComment:e=>sr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,i){var n=r?r.previousSibling:t.lastChild,a=Ql.get(e);if(!a){var o=sr.createElement("template");if(o.innerHTML=i?"".concat(e,""):e,a=o.content,i){for(var s=a.firstChild;s.firstChild;)a.appendChild(s.firstChild);a.removeChild(s)}Ql.set(e,a)}return t.insertBefore(a.cloneNode(!0),r),[n?n.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function $p(e,t,r){var i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function Wp(e,t,r){var i=e.style,n=i.display;if(!r)e.removeAttribute("style");else if(ye(r))t!==r&&(i.cssText=r);else{for(var a in r)ja(i,a,r[a]);if(t&&!ye(t))for(var o in t)r[o]==null&&ja(i,o,"")}"_vod"in e&&(i.display=n)}var eu=/\s*!important$/;function ja(e,t,r){if(oe(r))r.forEach(n=>ja(e,t,n));else if(r=jp(r),t.startsWith("--"))e.setProperty(t,r);else{var i=Up(e,t);eu.test(r)?e.setProperty(Ve(i),r.replace(eu,""),"important"):e[i]=r}}var tu=["Webkit","Moz","ms"],Ha={};function Up(e,t){var r=Ha[t];if(r)return r;var i=mt(t);if(i!=="filter"&&i in e)return Ha[t]=i;i=mi(i);for(var n=0;ntypeof rpx2px!="function"?e:ye(e)?e.replace(Vp,(t,r)=>rpx2px(r)+"px"):e,ru="http://www.w3.org/1999/xlink";function Hp(e,t,r,i,n){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ru,t.slice(6,t.length)):e.setAttributeNS(ru,t,r);else{var a=Rv(t);r==null||a&&!ws(r)?e.removeAttribute(t):e.setAttribute(t,a?"":r)}}function Yp(e,t,r,i,n,a,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,n,a),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"){e._value=r;var s=r==null?"":r;e.value!==s&&(e.value=s),r==null&&e.removeAttribute(t);return}if(r===""||r==null){var l=typeof e[t];if(l==="boolean"){e[t]=ws(r);return}else if(r==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch(u){}e.removeAttribute(t);return}}try{e[t]=r}catch(u){}}var Hi=Date.now,iu=!1;if(typeof window!="undefined"){Hi()>document.createEvent("Event").timeStamp&&(Hi=()=>performance.now());var nu=navigator.userAgent.match(/firefox\/(\d+)/i);iu=!!(nu&&Number(nu[1])<=53)}var Ya=0,zp=Promise.resolve(),qp=()=>{Ya=0},Xp=()=>Ya||(zp.then(qp),Ya=Hi());function Kp(e,t,r,i){e.addEventListener(t,r,i)}function Gp(e,t,r,i){e.removeEventListener(t,r,i)}function Zp(e,t,r,i,n=null){var a=e._vei||(e._vei={}),o=a[t];if(i&&o)o.value=i;else{var[s,l]=Jp(t);if(i){var u=a[t]=Qp(i,n);Kp(e,s,u,l)}else o&&(Gp(e,s,o,l),a[t]=void 0)}}var au=/(?:Once|Passive|Capture)$/;function Jp(e){var t;if(au.test(e)){t={};for(var r;r=e.match(au);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ve(e.slice(2)),t]}function Qp(e,t){var r=i=>{var n=i.timeStamp||Hi();(iu||n>=r.attached-1)&&et(eg(i,r.value),t,5,[i])};return r.value=e,r.attached=Xp(),r}function eg(e,t){if(oe(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>n=>!n._stopped&&i(n))}else return t}var ou=/^on[a-z]/,tg=(e,t,r,i,n=!1,a,o,s,l)=>{t==="class"?$p(e,i,n):t==="style"?Wp(e,r,i):hi(t)?Hn(t)||Zp(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rg(e,t,i,n))?Yp(e,t,i,a,o,s,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Hp(e,t,i,n))};function rg(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&ou.test(t)&&ae(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ou.test(t)&&ye(r)?!1:t in e}var ig=["ctrl","shift","alt","meta"],ng={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ig.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},za=(e,t)=>(r,...i)=>{for(var n=0;n{kr(e,!1)}):kr(e,t))},beforeUnmount(e,{value:t}){kr(e,t)}};function kr(e,t){e.style.display=t?e._vod:"none"}var ag=fe({patchProp:tg},Fp),su;function og(){return su||(su=fp(ag))}var lu=(...e)=>{var t=og().createApp(...e),{mount:r}=t;return t.mount=i=>{var n=sg(i);if(!!n){var a=t._component;!ae(a)&&!a.render&&!a.template&&(a.template=n.innerHTML),n.innerHTML="";var o=r(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o}},t};function sg(e){if(ye(e)){var t=document.querySelector(e);return t}return e}var uu=["top","left","right","bottom"],qa,Yi={},Ze;function Xa(){return!("CSS"in window)||typeof CSS.supports!="function"?Ze="":CSS.supports("top: env(safe-area-inset-top)")?Ze="env":CSS.supports("top: constant(safe-area-inset-top)")?Ze="constant":Ze="",Ze}function fu(){if(Ze=typeof Ze=="string"?Ze:Xa(),!Ze){uu.forEach(function(s){Yi[s]=0});return}function e(s,l){var u=s.style;Object.keys(l).forEach(function(v){var h=l[v];u[v]=h})}var t=[];function r(s){s?t.push(s):t.forEach(function(l){l()})}var i=!1;try{var n=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}function a(s,l){var u=document.createElement("div"),v=document.createElement("div"),h=document.createElement("div"),_=document.createElement("div"),d=100,y=1e4,g={position:"absolute",width:d+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Ze+"(safe-area-inset-"+l+")"};e(u,g),e(v,g),e(h,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(_,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(h),v.appendChild(_),s.appendChild(u),s.appendChild(v),r(function(){u.scrollTop=v.scrollTop=y;var c=u.scrollTop,b=v.scrollTop;function f(){this.scrollTop!==(this===u?c:b)&&(u.scrollTop=v.scrollTop=y,c=u.scrollTop,b=v.scrollTop,lg(l))}u.addEventListener("scroll",f,i),v.addEventListener("scroll",f,i)});var p=getComputedStyle(u);Object.defineProperty(Yi,l,{configurable:!0,get:function(){return parseFloat(p.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),uu.forEach(function(s){a(o,s)}),document.body.appendChild(o),r(),qa=!0}function zi(e){return qa||fu(),Yi[e]}var qi=[];function lg(e){qi.length||setTimeout(function(){var t={};qi.forEach(function(r){t[r]=Yi[r]}),qi.length=0,Xi.forEach(function(r){r(t)})},0),qi.push(e)}var Xi=[];function ug(e){!Xa()||(qa||fu(),typeof e=="function"&&Xi.push(e))}function fg(e){var t=Xi.indexOf(e);t>=0&&Xi.splice(t,1)}var cg={get support(){return(typeof Ze=="string"?Ze:Xa()).length!=0},get top(){return zi("top")},get left(){return zi("left")},get right(){return zi("right")},get bottom(){return zi("bottom")},onChange:ug,offChange:fg},Ki=cg,vg=za(()=>{},["prevent"]);function Ka(){var e=document.documentElement.style,t=parseInt(e.getPropertyValue("--window-top"));return t?t+Ki.top:0}function dg(){var e=document.documentElement.style,t=Ka(),r=parseInt(e.getPropertyValue("--window-bottom")),i=parseInt(e.getPropertyValue("--window-left")),n=parseInt(e.getPropertyValue("--window-right"));return{top:t,bottom:r?r+Ki.bottom:0,left:i?i+Ki.left:0,right:n?n+Ki.right:0}}function hg(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function Gi(e){return Symbol(e)}function cu(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Ut(e,t=!1){if(t)return pg(e);if(typeof e=="string"){var r=parseInt(e)||0;return cu(e)?uni.upx2px(r):r}return e}function pg(e){return cu(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var gg="M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",mg="M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",_g="M15.808 1.696q-3.776 0-7.072 1.984-3.2 1.888-5.088 5.152-1.952 3.392-1.952 7.36 0 3.776 1.952 7.072 1.888 3.2 5.088 5.088 3.296 1.952 7.072 1.952 3.968 0 7.36-1.952 3.264-1.888 5.152-5.088 1.984-3.296 1.984-7.072 0-4-1.984-7.36-1.888-3.264-5.152-5.152-3.36-1.984-7.36-1.984zM20.864 18.592l-3.776 4.928q-0.448 0.576-1.088 0.576t-1.088-0.576l-3.776-4.928q-0.448-0.576-0.24-0.992t0.944-0.416h2.976v-8.928q0-0.256 0.176-0.432t0.4-0.176h1.216q0.224 0 0.4 0.176t0.176 0.432v8.928h2.976q0.736 0 0.944 0.416t-0.24 0.992z",bg="M15.808 0.128q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.176 3.776-2.176 8.16 0 4.224 2.176 7.872 2.080 3.552 5.632 5.632 3.648 2.176 7.872 2.176 4.384 0 8.16-2.176 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.416-2.176-8.16-2.112-3.616-5.728-5.728-3.744-2.176-8.16-2.176zM16.864 23.776q0 0.064-0.064 0.064h-1.568q-0.096 0-0.096-0.064l-0.256-11.328q0-0.064 0.064-0.064h2.112q0.096 0 0.064 0.064l-0.256 11.328zM16 10.88q-0.576 0-0.976-0.4t-0.4-0.96 0.4-0.96 0.976-0.4 0.976 0.4 0.4 0.96-0.4 0.96-0.976 0.4z",wg="M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",Zi="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",yg="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.176zM24.832 11.328l-11.264 11.104q-0.032 0.032-0.112 0.032t-0.112-0.032l-5.216-5.376q-0.096-0.128 0-0.288l0.704-0.96q0.032-0.064 0.112-0.064t0.112 0.032l4.256 3.264q0.064 0.032 0.144 0.032t0.112-0.032l10.336-8.608q0.064-0.064 0.144-0.064t0.112 0.064l0.672 0.672q0.128 0.128 0 0.224z",Sg="M15.84 0.096q-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.176zM23.008 21.92l-0.512 0.896q-0.096 0.128-0.224 0.064l-8-3.808q-0.096-0.064-0.16-0.128-0.128-0.096-0.128-0.288l0.512-12.096q0-0.064 0.048-0.112t0.112-0.048h1.376q0.064 0 0.112 0.048t0.048 0.112l0.448 10.848 6.304 4.256q0.064 0.064 0.080 0.128t-0.016 0.128z",xg="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 Ji(e,t="#000",r=27){return M("svg",{width:r,height:r,viewBox:"0 0 32 32"},[M("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Qi(){return Ct()}function Tg(){return window.__PAGE_INFO__}function Ct(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function Eg(e){e.preventDefault()}var vu,du=0;function Cg({onPageScroll:e,onReachBottom:t,onReachBottomDistance:r}){var i=!1,n=!1,a=!0,o=()=>{var{scrollHeight:l}=document.documentElement,u=window.innerHeight,v=window.scrollY,h=v>0&&l>u&&v+u+r>=l,_=Math.abs(l-du)>r;return h&&(!n||_)?(du=l,n=!0,!0):(!h&&n&&(n=!1),!1)},s=()=>{e&&e(window.pageYOffset);function l(){if(o())return t&&t(),a=!1,setTimeout(function(){a=!0},350),!0}t&&a&&(l()||(vu=setTimeout(l,300))),i=!1};return function(){clearTimeout(vu),i||requestAnimationFrame(s),i=!0}}function Ga(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Ga(e,t.substr(2));for(var r=t.split("/"),i=r.length,n=0;n0?e.split("/"):[];return a.splice(a.length-n-1,n+1),"/"+a.concat(r).join("/")}class Og{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=t.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!(!this.$el||!t)){var r=hu(this.$el.querySelector(t));if(!!r)return Za(r,!1)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),n=0;n-1&&r.splice(i,1)}var n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return n.indexOf(t)===-1&&(n.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t,r={}){var i=this.$vm[t];ae(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(yd,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:r})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t,r={}){return this.$vm.$emit(t,r),this}getComputedStyle(t){if(this.$el){var r=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((i,n)=>(i[n]=r[n],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Za(e,t=!0){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Og(e)),e.$el.__wxsComponentDescriptor}function en(e,t){return Za(e,t)}function hu(e){if(!!e)return Dr(e)}function Dr(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:n,__wxsClassChanged:a}=e,o,s;n&&(e.__wxsStyleChanged=!1,t&&(s=()=>{Object.keys(t).forEach(l=>{e.style[l]=t[l]})})),a&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(l=>{e.classList.remove(l)}),r&&r.forEach(l=>{e.classList.add(l)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var Mg=e=>e.type==="click";function pu(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];if(i.tagName.indexOf("UNI-")!==0)return[e];var n=gu(e);if(Mg(e))Ag(n,e);else if(e instanceof TouchEvent){var a=Ka();n.touches=mu(e.touches,a),n.changedTouches=mu(e.changedTouches,a)}return[n]}function Ig(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function gu(e){var{type:t,timeStamp:r,target:i,currentTarget:n}=e,a={type:t,timeStamp:r,target:ea(Ig(i)),detail:{},currentTarget:ea(n)};return e._stopped&&(a._stopped=!0),e.type.startsWith("touch")&&(a.touches=e.touches,a.changedTouches=e.changedTouches),a}function Ag(e,t){var{x:r,y:i}=t,n=Ka();e.detail={x:r,y:i-n},e.touches=e.changedTouches=[Pg(t)]}function Pg(e){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}}function mu(e,t){for(var r=[],i=0;i{var a=Ug(e,n,r,i);if(a)throw new Error(a);return t.apply(null,n)}}function jg(e,t,r,i){return Vg(e,t,void 0,i)}function Hg(){if(typeof __SYSTEM_INFO__!="undefined")return window.__SYSTEM_INFO__;var{resolutionWidth:e}=plus.screen.getCurrentSize();return{platform:(plus.os.name||"").toLowerCase(),pixelRatio:plus.screen.scale,windowWidth:Math.round(e)}}function ht(e){if(e.indexOf("//")===0)return"https:"+e;if(pd.test(e)||gd.test(e))return e;if(Yg(e))return"file://"+wu(e);var t="file://"+wu("_www");if(e.indexOf("/")===0)return e.startsWith("/storage/")||e.startsWith("/sdcard/")||e.includes("/Containers/Data/Application/")?"file://"+e:t+e;if(e.indexOf("../")===0||e.indexOf("./")===0){if(typeof __id__=="string")return t+Ga("/"+__id__,e);var r=Tg();if(r)return t+Ga("/"+r.route,e)}return e}var wu=dd(e=>plus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Yg(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}function zg(e,t,r){}function qg(e){return Promise.resolve(e)}var Xg="upx2px",Kg=1e-4,Gg=750,yu=!1,Ja=0,Su=0;function Zg(){var{platform:e,pixelRatio:t,windowWidth:r}=Hg();Ja=r,Su=t,yu=e==="ios"}function xu(e,t){var r=Number(e);return isNaN(r)?t:r}var Tu=jg(Xg,(e,t)=>{if(Ja===0&&Zg(),e=Number(e),e===0)return 0;var r=t||Ja;{var i=__uniConfig.globalStyle||{},n=xu(i.rpxCalcMaxDeviceWidth,960),a=xu(i.rpxCalcBaseDeviceWidth,375);r=r<=n?r:a}var o=e/Gg*r;return o<0&&(o=-o),o=Math.floor(o+Kg),o===0&&(Su===1||!yu?o=1:o=.5),e<0?-o:o}),Jg=[{name:"id",type:String,required:!0}];Jg.concat({name:"componentInstance",type:Object});var Eu={};Eu.f={}.propertyIsEnumerable;var Qg=hr,em=kn,tm=ii,rm=Eu.f,im=function(e){return function(t){for(var r=tm(t),i=em(r),n=i.length,a=0,o=[],s;n>a;)s=i[a++],(!Qg||rm.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},Cu=Ln,nm=im(!1);Cu(Cu.S,"Object",{values:function(t){return nm(t)}});var am="loadFontFace",om="pageScrollTo",sm=function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(f){try{return f.defaultView&&f.defaultView.frameElement||null}catch(m){return null}}var t=function(f){for(var m=f,S=e(m);S;)m=S.ownerDocument,S=e(m);return m}(window.document),r=[],i=null,n=null;function a(f){this.time=f.time,this.target=f.target,this.rootBounds=y(f.rootBounds),this.boundingClientRect=y(f.boundingClientRect),this.intersectionRect=y(f.intersectionRect||d()),this.isIntersecting=!!f.intersectionRect;var m=this.boundingClientRect,S=m.width*m.height,x=this.intersectionRect,E=x.width*x.height;S?this.intersectionRatio=Number((E/S).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(f,m){var S=m||{};if(typeof f!="function")throw new Error("callback must be a function");if(S.root&&S.root.nodeType!=1&&S.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=f,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(S.rootMargin),this.thresholds=this._initThresholds(S.threshold),this.root=S.root||null,this.rootMargin=this._rootMarginValues.map(function(x){return x.value+x.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return i||(i=function(f,m){!f||!m?n=d():n=g(f,m),r.forEach(function(S){S._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,n=null},o.prototype.observe=function(f){var m=this._observationTargets.some(function(S){return S.element==f});if(!m){if(!(f&&f.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:f,entry:null}),this._monitorIntersections(f.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(f){this._observationTargets=this._observationTargets.filter(function(m){return m.element!=f}),this._unmonitorIntersections(f.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var f=this._queuedEntries.slice();return this._queuedEntries=[],f},o.prototype._initThresholds=function(f){var m=f||[0];return Array.isArray(m)||(m=[m]),m.sort().filter(function(S,x,E){if(typeof S!="number"||isNaN(S)||S<0||S>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return S!==E[x-1]})},o.prototype._parseRootMargin=function(f){var m=f||"0px",S=m.split(/\s+/).map(function(x){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(x);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return S[1]=S[1]||S[0],S[2]=S[2]||S[0],S[3]=S[3]||S[1],S},o.prototype._monitorIntersections=function(f){var m=f.defaultView;if(!!m&&this._monitoringDocuments.indexOf(f)==-1){var S=this._checkForIntersections,x=null,E=null;this.POLL_INTERVAL?x=m.setInterval(S,this.POLL_INTERVAL):(u(m,"resize",S,!0),u(f,"scroll",S,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in m&&(E=new m.MutationObserver(S),E.observe(f,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(f),this._monitoringUnsubscribes.push(function(){var W=f.defaultView;W&&(x&&W.clearInterval(x),v(W,"resize",S,!0)),v(f,"scroll",S,!0),E&&E.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(f!=C){var L=e(f);L&&this._monitorIntersections(L.ownerDocument)}}},o.prototype._unmonitorIntersections=function(f){var m=this._monitoringDocuments.indexOf(f);if(m!=-1){var S=this.root&&(this.root.ownerDocument||this.root)||t,x=this._observationTargets.some(function(L){var W=L.element.ownerDocument;if(W==f)return!0;for(;W&&W!=S;){var q=e(W);if(W=q&&q.ownerDocument,W==f)return!0}return!1});if(!x){var E=this._monitoringUnsubscribes[m];if(this._monitoringDocuments.splice(m,1),this._monitoringUnsubscribes.splice(m,1),E(),f!=S){var C=e(f);C&&this._unmonitorIntersections(C.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var f=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var m=0;m=0&&W>=0&&{top:S,bottom:x,left:E,right:C,width:L,height:W}||null}function _(f){var m;try{m=f.getBoundingClientRect()}catch(S){}return m?(m.width&&m.height||(m={top:m.top,right:m.right,bottom:m.bottom,left:m.left,width:m.right-m.left,height:m.bottom-m.top}),m):d()}function d(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function y(f){return!f||"x"in f?f:{top:f.top,y:f.top,bottom:f.bottom,left:f.left,x:f.left,right:f.right,width:f.width,height:f.height}}function g(f,m){var S=m.top-f.top,x=m.left-f.left;return{top:S,left:x,height:m.height,width:m.width,bottom:S+m.height,right:x+m.width}}function p(f,m){for(var S=m;S;){if(S==f)return!0;S=c(S)}return!1}function c(f){var m=f.parentNode;return f.nodeType==9&&f!=t?e(f):(m&&m.assignedSlot&&(m=m.assignedSlot.parentNode),m&&m.nodeType==11&&m.host?m.host:m)}function b(f){return f&&f.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=a};function Qa(e){var{bottom:t,height:r,left:i,right:n,top:a,width:o}=e||{};return{bottom:t,height:r,left:i,right:n,top:a,width:o}}function lm(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:n,width:a}}=e;return t!==0?t:n===r?a/i:n/r}function um(e,t,r){sm();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,n=new IntersectionObserver(l=>{l.forEach(u=>{r({intersectionRatio:lm(u),intersectionRect:Qa(u.intersectionRect),boundingClientRect:Qa(u.boundingClientRect),relativeRect:Qa(u.rootBounds),time:Date.now(),dataset:Jn(u.target),id:u.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){n.USE_MUTATION_OBSERVER=!0;for(var a=e.querySelectorAll(t.selector),o=0;o{var i=450,n=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=n&&Math.abs(r.pageY-e.pageY)<=n&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function mm(e){if(!e.length)return r=>r;var t=(r,i=!0)=>{if(typeof r=="number")return e[r];var n={};return r.forEach(([a,o])=>{i?n[t(a)]=t(o):n[t(a)]=o}),n};return t}function _m(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=bm(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function bm(e,t){var r={};return e.forEach(([i,[n,a]])=>{r[t(i)]=[t(n),a]}),r}function wm(e,t){return e.priority=t,e}var eo=new Set,ym=1,to=2,Ou=3,Mu=4;function Ot(e,t){eo.add(wm(e,t))}function Sm(){try{[...eo].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{eo.clear()}}function Iu(e,t){var r=window["__"+md],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var xm=Rs.length;function Tm(e,t,r){var[i,n,a,o]=io(t),s=ro(e,i);if(oe(r)||oe(o)){var[l,u]=a.split(".");return no(s,n,l,u,r||o)}return Om(s,n,a)}function Em(e,t,r){var[i,n,a]=io(t),[o,s]=a.split("."),l=ro(e,i);return no(l,n,o,s,[Im(r,e),en(Dr(l),!1)])}function ro(e,t){if(e.__ownerId===t)return e;for(var r=e.parentElement;r;){if(r.__ownerId===t)return r;r=r.parentElement}return e}function io(e){return JSON.parse(e.substr(xm))}function Cm(e,t,r,i){var[n,a,o]=io(e),s=ro(t,n),[l,u]=o.split(".");return no(s,a,l,u,[r,i,en(Dr(s),!1),en(Dr(t),!1)])}function no(e,t,r,i,n){var a=Iu(t,e);if(!a)return console.error(Zn("wxs","module "+r+" not found"));var o=a[i];return ae(o)?o.apply(a,n):console.error(r+"."+i+" is not a function")}function Om(e,t,r){var i=Iu(t,e);return i?As(i,r.substr(r.indexOf(".")+1)):console.error(Zn("wxs","module "+r+" not found"))}function Mm(e,t,r){var i=r;return n=>{try{Cm(t,e.$,n,i)}catch(a){console.error(a)}i=n}}function Im(e,t){var r=Dr(t);return Object.defineProperty(e,"instance",{get(){return en(r,!1)}}),e}function Au(e,t){Object.keys(t).forEach(r=>{Pm(e,t[r])})}function Am(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function Pm(e,t){var r=Rm(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=Lm(r)}}function Rm(e){var t=window["__"+_d],r=t&&t[e];return r||console.error(Zn("renderjs",e+" not found"))}function Lm(e){return e=e.default||e,e.render=()=>{},lu(e).mount(document.createElement("div"))}class lr{constructor(t,r,i,n){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.id=t,this.tag=r,this.pid=i,n&&(this.$=n),this.$wxsProps=new Map}init(t){te(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t}insert(t,r){var i=this.$,n=Ke(t);r===-1?n.appendChild(i):n.insertBefore(i,Ke(r).$),this.isMounted=!0}remove(){var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,jf(this.id),Am(this)}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(na)===0){var i=r.replace(na,""),n=t[i],a=Mm(this,t[r],n);Ot(()=>a(n),Mu),this.$wxsProps.set(r,a),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,n]=t[r];this.addWxsEvent(r,i,n)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r,i=!1){var n=this.$hasWxsProps&&this.$wxsProps.get(na+t);if(n)return Ot(()=>i?or(()=>n(r)):n(r),Mu),!0}}function Pu(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(n=>i.indexOf(n)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function Ru(e,t){var r=e.style;if(ye(t))t===""?e.removeAttribute("style"):r.cssText=Ut(t,!0);else for(var i in t)ao(r,i,t[i]);var{__wxsStyle:n}=e;if(n)for(var a in n)ao(r,a,n[a])}var Lu=/\s*!important$/;function ao(e,t,r){if(oe(r))r.forEach(n=>ao(e,t,n));else if(r=Ut(r,!0),t.startsWith("--"))e.setProperty(t,r);else{var i=Nm(e,t);Lu.test(r)?e.setProperty(Ve(i),r.replace(Lu,""),"important"):e[i]=r}}var Nu=["Webkit"],oo={};function Nm(e,t){var r=oo[t];if(r)return r;var i=mt(t);if(i!=="filter"&&i in e)return oo[t]=i;i=mi(i);for(var n=0;n{var[a]=pu(n);a.type=Jv(n.type,r),UniViewJSBridge.publishHandler(_u,[[cd,e,a]])};return t?za(i,$u(t)):i}function $u(e){var t=[];return e&ra.prevent&&t.push("prevent"),e&ra.self&&t.push("self"),e&ra.stop&&t.push("stop"),t}function km(e,t,r,i){var[n,a]=ta(t);i===-1?ku(e,n):Du(e,n)||e.addEventListener(n,e.__listeners[n]=Wu(e,r,i),a)}function Wu(e,t,r){var i=n=>{Em(e,t,pu(n)[0])};return r?za(i,$u(r)):i}var Dm=Ls.length;function so(e,t){return ye(t)&&(t.indexOf(Ls)===0?t=JSON.parse(t.substr(Dm)):t.indexOf(Rs)===0&&(t=Tm(e,t))),t}function lo(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class Uu extends lr{constructor(t,r,i,n,a,o=[]){super(t,r.tagName,i,r);this.$props=Ee({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=o,this._update=this.update.bind(this),this.init(a),this.insert(i,n)}init(t){te(t,"a")&&this.setAttrs(t.a),te(t,"s")&&this.setAttr("style",t.s),te(t,"e")&&this.addEvents(t.e),te(t,"w")&&this.addWxsEvents(t.w),super.init(t),U(this.$props,()=>{Ot(this._update,ym)},{flush:"sync"}),this.update(!0)}setAttrs(t){this.setWxsProps(t),Object.keys(t).forEach(r=>{this.setAttr(r,t[r])})}addEvents(t){Object.keys(t).forEach(r=>{this.addEvent(r,t[r])})}addWxsEvent(t,r,i){km(this.$,t,r,i)}addEvent(t,r){Bu(this.$,t,r)}removeEvent(t){Bu(this.$,t,-1)}setAttr(t,r){t===Cs?Pu(this.$,r):t===ia?Ru(this.$,r):t===bi?lo(this.$,r):t===Os?this.$.__ownerId=r:t===Ms?Ot(()=>Au(this,r),Ou):t===Qv?this.$.innerHTML=r:t===ed?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===Cs?Pu(this.$,""):t===ia?Ru(this.$,""):this.removeAttribute(t)}setAttribute(t,r){r=so(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:this.$.removeAttribute(t)}update(t=!1){}}class Bm extends lr{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var uy="";function Vu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,r)=>"".concat(uni.upx2px(parseFloat(r)),"px")):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function Fm(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function $m(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],r=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],n=["width","height","left","right","top","bottom"],a=e.animates,o=e.option,s=o.transition,l={},u=[];return a.forEach(v=>{var h=v.type,_=[...v.args];if(t.concat(r).includes(h))h.startsWith("rotate")||h.startsWith("skew")?_=_.map(y=>parseFloat(y)+"deg"):h.startsWith("translate")&&(_=_.map(Vu)),r.indexOf(h)>=0&&(_.length=1),u.push("".concat(h,"(").concat(_.join(","),")"));else if(i.concat(n).includes(_[0])){h=_[0];var d=_[1];l[h]=n.includes(h)?Vu(d):d}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(v=>"".concat(Fm(v)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}function ju(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,n=t.actions.length;function a(){var o=i[r],s=o.option.transition,l=$m(o);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r{a()},0)}var tn={props:["animation"],watch:{animation:{deep:!0,handler(){ju(this)}}},mounted(){ju(this)}},he=e=>{var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(tn),Wm(e)},Wm=e=>(e.compatConfig={MODE:3},jh(e)),Um={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function uo(e){var t=B(!1),r=!1,i,n;function a(){requestAnimationFrame(()=>{clearTimeout(n),n=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(u){u._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||u.touches.length>1||(e.hoverStopPropagation&&(u._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||a()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&a()}function l(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:l}}}function Br(e,t){return ye(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Vt(e){return e.__wwe=!0,e}function Pe(e,t){return(r,i,n)=>{e.value&&t(r,jm(r,i,e.value,n||{}))}}function Vm(e){return(t,r)=>{e(t,gu(r))}}function jm(e,t,r,i){var n=ea(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:n,currentTarget:n,detail:i}}var st=Gi("uf"),Hm=he({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:r}){var i=B(null);return Ym(Pe(i,r)),()=>M("uni-form",{ref:i},[M("span",null,[t.default&&t.default()])],512)}});function Ym(e){var t=[];return Ne(st,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,n)=>{if(n.submit){var[a,o]=n.submit();a&&(i[a]=o)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var Fr=Gi("ul"),zm={for:{type:String,default:""}},qm=he({name:"Label",props:zm,setup(e,{slots:t}){var r=Qi(),i=Xm(),n=Q(()=>e.for||t.default&&t.default.length),a=Vt(o=>{var s=o.target,l=/^uni-(checkbox|radio|switch)-/.test(s.className);l||(l=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(s.tagName)),!l&&(e.for?UniViewJSBridge.emit("uni-label-click-"+r+"-"+e.for,o,!0):i.length&&i[0](o,!0))});return()=>M("uni-label",{class:{"uni-label-pointer":n},onClick:a},[t.default&&t.default()],10,["onClick"])}});function Xm(){var e=[];return Ne(Fr,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}function rn(e,t){Hu(e.id,t),U(()=>e.id,(r,i)=>{Yu(i,t,!0),Hu(r,t,!0)}),yt(()=>{Yu(e.id,t)})}function Hu(e,t,r){var i=Qi();r&&!e||!rt(t)||Object.keys(t).forEach(n=>{r?n.indexOf("@")!==0&&n.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(n,"-").concat(i,"-").concat(e),t[n]):n.indexOf("uni-")===0?UniViewJSBridge.on(n,t[n]):e&&UniViewJSBridge.on("uni-".concat(n,"-").concat(i,"-").concat(e),t[n])})}function Yu(e,t,r){var i=Qi();r&&!e||!rt(t)||Object.keys(t).forEach(n=>{r?n.indexOf("@")!==0&&n.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(n,"-").concat(i,"-").concat(e),t[n]):n.indexOf("uni-")===0?UniViewJSBridge.off(n,t[n]):e&&UniViewJSBridge.off("uni-".concat(n,"-").concat(i,"-").concat(e),t[n])})}var Km=he({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}},setup(e,{slots:t}){var r=B(null);$d();var i=ge(st,!1),{hovering:n,binding:a}=uo(e),{t:o}=je(),s=Vt((u,v)=>{if(e.disabled)return u.stopImmediatePropagation();v&&r.value.click();var h=e.formType;if(h){if(!i)return;h==="submit"?i.submit(u):h==="reset"&&i.reset(u);return}e.openType==="feedback"&&Gm(o("uni.button.feedback.title"),o("uni.button.feedback.send"))}),l=ge(Fr,!1);return l&&(l.addHandler(s),xe(()=>{l.removeHandler(s)})),rn(e,{"label-click":s}),()=>{var u=e.hoverClass,v=Br(e,"disabled"),h=Br(e,"loading"),_=u&&u!=="none";return M("uni-button",Ye({ref:r,onClick:s,class:_&&n.value?u:""},_&&a,v,h),[t.default&&t.default()],16,["onClick"])}}});function Gm(e,t){var r=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:e,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:t,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){r.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}});r.show("slide-in-right")}var jt=he({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){var r=B(null),i=Jm(r),n=Zm(r,t,i);return Qm(r,e,n,i),()=>M("uni-resize-sensor",{ref:r,onAnimationstartOnce:n},[M("div",{onScroll:n},[M("div",null,null)],40,["onScroll"]),M("div",{onScroll:n},[M("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Zm(e,t,r){var i=Ee({width:-1,height:-1});return U(()=>fe({},i),n=>t("resize",n)),()=>{var n=e.value;i.width=n.offsetWidth,i.height=n.offsetHeight,r()}}function Jm(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Qm(e,t,r,i){Oa(i),Oe(()=>{t.initial&&or(r);var n=e.value;n.offsetParent!==n.parentElement&&(n.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var me=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r}();function zu(e){e.width=e.offsetWidth*me,e.height=e.offsetHeight*me,e.getContext("2d").__hidpi__=!0}var qu=!1;function e0(){if(!qu){qu=!0;var e=function(i,n){for(var a in i)te(i,a)&&n(i[a],a)},t={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(n,a,o,s,l,u,v,h,_,d){if(!this.__hidpi__)return i.apply(this,arguments);a*=me,o*=me,s*=me,l*=me,u*=me,v*=me,h=d?h*me:h,_=d?_*me:_,i.call(this,n,a,o,s,l,u,v,h,_)}}(r.drawImage),me!==1&&(e(t,function(i,n){r[n]=function(a){return function(){if(!this.__hidpi__)return a.apply(this,arguments);var o=Array.prototype.slice.call(arguments);if(i==="all")o=o.map(function(l){return l*me});else if(Array.isArray(i))for(var s=0;se0());function Xu(e){return e&&ht(e)}function nn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Ku(e,t){var r=e;return Array.from(t).map(i=>{var n=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-n.left,y:i.clientY-n.top}})}var $r;function Gu(e=0,t=0){return $r||($r=document.createElement("canvas")),$r.width=e,$r.height=t,$r}var r0={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1}},i0=he({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:r0,computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:r}){t0();var i=B(null),n=B(null),a=B(!1),o=Vm(t),{$attrs:s,$excludeAttrs:l,$listeners:u}=pf({excludeListeners:!0}),{_listeners:v}=n0(e,u,o),{_handleSubscribe:h,_resize:_}=a0(i,a);return pn(h,gn(e.canvasId),!0),Oe(()=>{_()}),()=>{var{canvasId:d,disableScroll:y}=e;return M("uni-canvas",Ye({"canvas-id":d,"disable-scroll":y},s.value,l.value,v.value),[M("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),M("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[r.default&&r.default()]),M(jt,{ref:n,onResize:_},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function n0(e,t,r){var i=Q(()=>{var n=["onTouchstart","onTouchmove","onTouchend"],a=t.value,o=fe({},(()=>{var s={};for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l)){var u=a[l];s[l]=u}return s})());return n.forEach(s=>{var l=o[s],u=[];l&&u.push(Vt(v=>{r(s.replace("on","").toLocaleLowerCase(),fe({},(()=>{var h={};for(var _ in v)h[_]=v[_];return h})(),{touches:Ku(v.currentTarget,v.touches),changedTouches:Ku(v.currentTarget,v.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&u.push(vg),o[s]=u}),o});return{_listeners:i}}function a0(e,t){var r=[],i={};function n(d){var y=e.value,g=!d||y.width!==Math.floor(d.width*me)||y.height!==Math.floor(d.height*me);if(!!g)if(y.width>0&&y.height>0){var p=y.getContext("2d"),c=p.getImageData(0,0,y.width,y.height);zu(y),p.putImageData(c,0,0)}else zu(y)}function a({actions:d,reserve:y},g){if(!!d){if(t.value){r.push([d,y]);return}var p=e.value,c=p.getContext("2d");y||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,p.width,p.height)),o(d);for(var b=function(S){var x=d[S],E=x.method,C=x.data,L=C[0];if(/^set/.test(E)&&E!=="setTransform"){var W=E[3].toLowerCase()+E.slice(4),q;if(W==="fillStyle"||W==="strokeStyle"){if(L==="normal")q=nn(C[1]);else if(L==="linear"){var X=c.createLinearGradient(...C[1]);C[2].forEach(function(Y){var re=Y[0],le=nn(Y[1]);X.addColorStop(re,le)}),q=X}else if(L==="radial"){var ce=C[1],A=ce[0],$=ce[1],ee=ce[2],ne=c.createRadialGradient(A,$,0,A,$,ee);C[2].forEach(function(Y){var re=Y[0],le=nn(Y[1]);ne.addColorStop(re,le)}),q=ne}else if(L==="pattern"){var H=s(C[1],d.slice(S+1),g,function(Y){Y&&(c[W]=c.createPattern(Y,C[2]))});return H?"continue":"break"}c[W]=q}else if(W==="globalAlpha")c[W]=Number(L)/255;else if(W==="shadow"){var J=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];C.forEach(function(Y,re){c[J[re]]=J[re]==="shadowColor"?nn(Y):Y})}else if(W==="fontSize"){var ie=c.__font__||c.font;c.__font__=c.font=ie.replace(/\d+\.?\d*px/,L+"px")}else W==="lineDash"?(c.setLineDash(L),c.lineDashOffset=C[1]||0):W==="textBaseline"?(L==="normal"&&(C[0]="alphabetic"),c[W]=L):W==="font"?c.__font__=c.font=L:c[W]=L}else if(E==="fillPath"||E==="strokePath")E=E.replace(/Path/,""),c.beginPath(),C.forEach(function(Y){c[Y.method].apply(c,Y.data)}),c[E]();else if(E==="fillText")c.fillText.apply(c,C);else if(E==="drawImage"){var we=function(){var Y=[...C],re=Y[0],le=Y.slice(1);if(i=i||{},s(re,d.slice(S+1),g,function(ve){ve&&c.drawImage.apply(c,[ve].concat([...le.slice(4,8)],[...le.slice(0,4)]))}))return"break"}();if(we==="break")return"break"}else E==="clip"?(C.forEach(function(Y){c[Y.method].apply(c,Y.data)}),c.clip()):c[E].apply(c,C)},f=0;f{f.src=m}).catch(()=>{f.src=c})}})}function s(d,y,g,p){var c=i[d];return c.ready?(p(c),!0):(r.unshift([y,!0]),t.value=!0,c.onload=function(){c.ready=!0,p(c),t.value=!1;var b=r.slice(0);r=[];for(var f=b.shift();f;)a({actions:f[0],reserve:f[1]},g),f=b.shift()},!1)}function l({x:d=0,y=0,width:g,height:p,destWidth:c,destHeight:b,hidpi:f=!0,dataType:m,quality:S=1,type:x="png"},E){var C=e.value,L,W=C.offsetWidth-d;g=g?Math.min(g,W):W;var q=C.offsetHeight-y;p=p?Math.min(p,q):q,f?(c=g,b=p):!c&&!b?(c=Math.round(g*me),b=Math.round(p*me)):c?b||(b=Math.round(p/g*c)):c=Math.round(g/p*b);var X=Gu(c,b),ce=X.getContext("2d");(x==="jpeg"||x==="jpg")&&(x="jpeg",ce.fillStyle="#fff",ce.fillRect(0,0,c,b)),ce.__hidpi__=!0,ce.drawImageByCanvas(C,d,y,g,p,0,0,c,b,!1);var A;try{var $;if(m==="base64")L=X.toDataURL("image/".concat(x),S);else{var ee=ce.getImageData(0,0,c,b),ne=require("pako");L=ne.deflateRaw(ee.data,{to:"string"}),$=!0}A={data:L,compressed:$,width:c,height:b}}catch(H){A={errMsg:"canvasGetImageData:fail ".concat(H)}}if(X.height=X.width=0,ce.__hidpi__=!1,E)E(A);else return A}function u({data:d,x:y,y:g,width:p,height:c,compressed:b},f){try{c||(c=Math.round(d.length/4/p));var m=Gu(p,c),S=m.getContext("2d");if(b){var x=require("pako");d=x.inflateRaw(d)}S.putImageData(new ImageData(new Uint8ClampedArray(d),p,c),0,0),e.value.getContext("2d").drawImage(m,y,g,p,c),m.height=m.width=0}catch(E){f({errMsg:"canvasPutImageData:fail"});return}f({errMsg:"canvasPutImageData:ok"})}function v({x:d=0,y=0,width:g,height:p,destWidth:c,destHeight:b,fileType:f,quality:m,dirname:S},x){var E=l({x:d,y,width:g,height:p,destWidth:c,destHeight:b,hidpi:!1,dataType:"base64",type:f,quality:m});if(!E.data||!E.data.length){x({errMsg:E.errMsg.replace("canvasPutImageData","toTempFilePath")});return}zg(E.data)}var h={actionsChanged:a,getImageData:l,putImageData:u,toTempFilePath:v};function _(d,y,g){var p=h[d];d.indexOf("_")!==0&&typeof p=="function"&&p(y,g)}return fe(h,{_resize:n,_handleSubscribe:_})}var Zu=Gi("ucg"),o0={name:{type:String,default:""}},s0=he({name:"CheckboxGroup",props:o0,emits:["change"],setup(e,{emit:t,slots:r}){var i=B(null),n=Pe(i,t);return l0(e,n),()=>M("uni-checkbox-group",{ref:i},[r.default&&r.default()],512)}});function l0(e,t){var r=[],i=()=>r.reduce((a,o)=>(o.value.checkboxChecked&&a.push(o.value.value),a),new Array);Ne(Zu,{addField(a){r.push(a)},removeField(a){r.splice(r.indexOf(a),1)},checkboxChange(a){t("change",a,{value:i()})}});var n=ge(st,!1);return n&&n.addField({submit:()=>{var a=["",null];return e.name!==""&&(a[0]=e.name,a[1]=i()),a}}),i}var u0={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:""}},f0=he({name:"Checkbox",props:u0,setup(e,{slots:t}){var r=B(e.checked),i=B(e.value);U([()=>e.checked,()=>e.value],([l,u])=>{r.value=l,i.value=u});var n=()=>{r.value=!1},{uniCheckGroup:a,uniLabel:o}=c0(r,i,n),s=l=>{e.disabled||(r.value=!r.value,a&&a.checkboxChange(l))};return o&&(o.addHandler(s),xe(()=>{o.removeHandler(s)})),rn(e,{"label-click":s}),()=>{var l=Br(e,"disabled");return M("uni-checkbox",Ye(l,{onClick:s}),[M("div",{class:"uni-checkbox-wrapper"},[M("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[r.value?Ji(Zi,e.color,22):""],2),t.default&&t.default()])],16,["onClick"])}}});function c0(e,t,r){var i=Q(()=>({checkboxChecked:Boolean(e.value),value:t.value})),n={reset:r},a=ge(Zu,!1);a&&a.addField(i);var o=ge(st,!1);o&&o.addField(n);var s=ge(Fr,!1);return xe(()=>{a&&a.removeField(i),o&&o.removeField(n)}),{uniCheckGroup:a,uniForm:o,uniLabel:s}}var Ju,Wr,an,Mt,on,fo;Qt(()=>{Wr=plus.os.name==="Android",an=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){Mt=e.height,on&&on()},!1);function Qu(){}function Ur(e,t,r){Qt(()=>{var i="adjustResize",n="adjustPan",a="nothing",o=plus.webview.currentWebview(),s=fo||o.getStyle()||{},l={mode:r||s.softinputMode===i?i:e.adjustPosition?n:a,position:{top:0,height:0}};if(l.mode===n){var u=t.getBoundingClientRect();l.position.top=u.top,l.position.height=u.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(l)})}function v0(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Qt(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},n=i!=="none";n!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function d0(e){var t=e.softinputNavBar;t&&Qt(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var ef={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},tf=["keyboardheightchange"];function rf(e,t,r){var i={};function n(a){var o,s=()=>{r("keyboardheightchange",{},{height:Mt,duration:.25}),o&&Mt===0&&Ur(e,a),e.autoBlur&&o&&Mt===0&&(Wr||parseInt(an)>=13)&&document.activeElement.blur()};a.addEventListener("focus",()=>{o=!0,clearTimeout(Ju),document.addEventListener("click",Qu,!1),on=s,Mt&&r("keyboardheightchange",{},{height:Mt,duration:0}),v0(e,i),Ur(e,a)}),Wr&&a.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&Mt===0&&Ur(e,a)}),Wr||(parseInt(an)<12&&a.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&Ur(e,a)}),parseFloat(an)>=14.6&&!fo&&Qt(()=>{var u=plus.webview.currentWebview();fo=u.getStyle()||{}}));var l=()=>{document.removeEventListener("click",Qu,!1),on=null,Mt&&r("keyboardheightchange",{},{height:0,duration:0}),d0(i),Wr&&(Ju=setTimeout(()=>{Ur(e,a,!0)},300)),String(navigator.vendor).indexOf("Apple")===0&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};a.addEventListener("blur",()=>{a.blur(),o=!1,l()})}U(()=>t.value,a=>n(a))}var nf=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,af=/^<\/([-A-Za-z0-9_]+)[^>]*>/,h0=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,p0=ur("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),g0=ur("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),m0=ur("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),_0=ur("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),b0=ur("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),w0=ur("script,style");function of(e,t){var r,i,n,a=[],o=e;for(a.last=function(){return this[this.length-1]};e;){if(i=!0,!a.last()||!w0[a.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(v,h){return h=h.replace(/|/g,"$1$2"),t.chars&&t.chars(h),""}),u("",a.last());if(e==o)throw"Parse Error: "+e;o=e}u();function l(v,h,_,d){if(h=h.toLowerCase(),g0[h])for(;a.last()&&m0[a.last()];)u("",a.last());if(_0[h]&&a.last()==h&&u("",h),d=p0[h]||!!d,d||a.push(h),t.start){var y=[];_.replace(h0,function(g,p){var c=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:b0[p]?p:"";y.push({name:p,value:c,escaped:c.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(h,y,d)}}function u(v,h){if(h)for(var _=a.length-1;_>=0&&a[_]!=h;_--);else var _=0;if(_>=0){for(var d=a.length-1;d>=_;d--)t.end&&t.end(a[d]);a.length=_}}}function ur(e){for(var t={},r=e.split(","),i=0;io()),delete co[t]}}n.push(r)}function y0(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function S0(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function x0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},n=new r.Style("align","text-align",i);return{"formats/align":n}}function T0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},n=new r.Style("direction","direction",i);return{"formats/direction":n}}function E0(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class n extends r{static create(o){var s=o==="ordered"?"OL":"UL",l=super.create(s);return(o==="checked"||o==="unchecked")&&l.setAttribute("data-checked",o==="checked"),l}static formats(o){if(o.tagName==="OL")return"ordered";if(o.tagName==="UL")return o.hasAttribute("data-checked")?o.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(o){super(o);var s=l=>{if(l.target.parentNode===o){var u=this.statics.formats(o),v=t.find(l.target);u==="checked"?v.format("list","unchecked"):u==="unchecked"&&v.format("list","checked")}};o.addEventListener("click",s)}format(o,s){this.children.length>0&&this.children.tail.format(o,s)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(o,s){if(o instanceof i)super.insertBefore(o,s);else{var l=s==null?this.length():s.offset(this),u=this.split(l);u.parent.insertBefore(o,u)}}optimize(o){super.optimize(o);var s=this.next;s!=null&&s.prev===this&&s.statics.blotName===this.statics.blotName&&s.domNode.tagName===this.domNode.tagName&&s.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(s.moveChildren(this),s.remove())}replace(o){if(o.statics.blotName!==this.statics.blotName){var s=t.create(this.statics.defaultChild);o.moveChildren(s),this.appendChild(s)}super.replace(o)}}return n.blotName="list",n.scope=t.Scope.BLOCK_BLOT,n.tagName=["OL","UL"],n.defaultChild="list-item",n.allowedChildren=[i],{"formats/list":n}}function C0(e){var{Scope:t}=e.import("parchment"),r=e.import("formats/background"),i=new r.constructor("backgroundColor","background-color",{scope:t.INLINE});return{"formats/backgroundColor":i}}function O0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},n=["margin","marginTop","marginBottom","marginLeft","marginRight"],a=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],o={};return n.concat(a).forEach(s=>{o["formats/".concat(s)]=new r.Style(s,Ve(s),i)}),o}function M0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},n=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],a={};return n.forEach(o=>{a["formats/".concat(o)]=new r.Style(o,Ve(o),i)}),a}function I0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],n={};return i.forEach(({name:a,scope:o})=>{n["formats/".concat(a)]=new r.Style(a,Ve(a),{scope:o})}),n}function A0(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=n=>n,t.formats=function(a){return r.reduce(function(o,s){return a.hasAttribute(s)&&(o[s]=a.getAttribute(s)),o},{})};var i=t.prototype.format;t.prototype.format=function(n,a){r.indexOf(n)>-1?a?this.domNode.setAttribute(n,a):this.domNode.removeAttribute(n):i.call(this,n,a)}}function P0(e){var t={divider:y0,ins:S0,align:x0,direction:T0,list:E0,background:C0,box:O0,font:M0,text:I0,image:A0},r={};Object.values(t).forEach(i=>fe(r,i(e))),e.register(r,!0)}function R0(e,t,r){var i,n,a,o=!1;U(()=>e.readOnly,d=>{i&&(a.enable(!d),d||a.blur())}),U(()=>e.placeholder,d=>{i&&a.root.setAttribute("data-placeholder",d)});function s(d){var y=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],g="",p;of(d,{start:function(b,f,m){if(!y.includes(b)){p=!m;return}p=!1;var S=f.map(({name:E,value:C})=>"".concat(E,'="').concat(C,'"')).join(" "),x="<".concat(b," ").concat(S," ").concat(m?"/":"",">");g+=x},end:function(b){p||(g+=""))},chars:function(b){p||(g+=b)}}),n=!0;var c=a.clipboard.convert(g);return n=!1,c}function l(){var d=a.root.innerHTML,y=a.getText(),g=a.getContents();return{html:d,text:y,delta:g}}var u={};function v(d){var y=d?a.getFormat(d):{},g=Object.keys(y);(g.length!==Object.keys(u).length||g.find(p=>y[p]!==u[p]))&&(u=y,r("statuschange",{},y))}function h(d){var y=window.Quill;P0(y);var g={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};d.length&&(y.register("modules/ImageResize",window.ImageResize.default),g.modules={ImageResize:{modules:d}});var p=t.value;a=new y(p,g);var c=a.root,b=["focus","blur","input"];b.forEach(f=>{c.addEventListener(f,m=>{f==="input"?m.stopPropagation():r(f,m,l())})}),a.on("text-change",()=>{o||r("input",{},l())}),a.on("selection-change",v),a.on("scroll-optimize",()=>{var f=a.selection.getRange()[0];v(f)}),a.clipboard.addMatcher(Node.ELEMENT_NODE,(f,m)=>(n||m.ops&&(m.ops=m.ops.filter(({insert:S})=>typeof S=="string").map(({insert:S})=>({insert:S}))),m)),i=!0,r("ready",{},{})}Oe(()=>{var d=[];e.showImgSize&&d.push("DisplaySize"),e.showImgToolbar&&d.push("Toolbar"),e.showImgResize&&d.push("Resize");var y="./__uniappquill.js";sf(window.Quill,y,()=>{if(d.length){var g="./__uniappquillimageresize.js";sf(window.ImageResize,g,()=>{h(d)})}else h(d)})});var _=gn();pn((d,y,g)=>{var{options:p,callbackId:c}=y,b,f,m;if(i){var S=window.Quill;switch(d){case"format":{var{name:x="",value:E=!1}=p;f=a.getSelection(!0);var C=a.getFormat(f)[x]||!1;if(["bold","italic","underline","strike","ins"].includes(x))E=!C;else if(x==="direction"){E=E==="rtl"&&C?!1:E;var L=a.getFormat(f).align;E==="rtl"&&!L?a.format("align","right","user"):!E&&L==="right"&&a.format("align",!1,"user")}else if(x==="indent"){var W=a.getFormat(f).direction==="rtl";E=E==="+1",W&&(E=!E),E=E?"+1":"-1"}else x==="list"&&(E=E==="check"?"unchecked":E,C=C==="checked"?"unchecked":C),E=C&&C!==(E||!1)||!C&&E?E:!C;a.format(x,E,"user")}break;case"insertDivider":f=a.getSelection(!0),a.insertText(f.index,wr,"user"),a.insertEmbed(f.index+1,"divider",!0,"user"),a.setSelection(f.index+2,0,"silent");break;case"insertImage":{f=a.getSelection(!0);var{src:q="",alt:X="",width:ce="",height:A="",extClass:$="",data:ee={}}=p,ne=ht(q);a.insertEmbed(f.index,"image",ne,"user");var H=/^(file|blob):/.test(ne)?ne:!1;o=!0,a.formatText(f.index,1,"data-local",H),a.formatText(f.index,1,"alt",X),a.formatText(f.index,1,"width",ce),a.formatText(f.index,1,"height",A),a.formatText(f.index,1,"class",$),o=!1,a.formatText(f.index,1,"data-custom",Object.keys(ee).map(re=>"".concat(re,"=").concat(ee[re])).join("&")),a.setSelection(f.index+1,0,"silent")}break;case"insertText":{f=a.getSelection(!0);var{text:J=""}=p;a.insertText(f.index,J,"user"),a.setSelection(f.index+J.length,0,"silent")}break;case"setContents":{var{delta:ie,html:we}=p;typeof ie=="object"?a.setContents(ie,"silent"):typeof we=="string"?a.setContents(s(we),"silent"):m="contents is missing"}break;case"getContents":b=l();break;case"clear":a.setText("");break;case"removeFormat":{f=a.getSelection(!0);var Y=S.import("parchment");f.length?a.removeFormat(f.index,f.length,"user"):Object.keys(a.getFormat(f)).forEach(re=>{Y.query(re,Y.Scope.INLINE)&&a.format(re,!1)})}break;case"undo":a.history.undo();break;case"redo":a.history.redo();break;case"blur":a.blur();break;case"getSelectionText":f=a.selection.savedRange,b={text:""},f&&f.length!==0&&(b.text=a.getText(f.index,f.length));break;case"scrollIntoView":a.scrollIntoView();break}v(f)}else m="not ready";c&&g({callbackId:c,data:fe({},b,{errMsg:"".concat(d,":").concat(m?"fail "+m:"ok")})})},_,!0)}var L0=fe({},ef,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),N0=he({name:"Editor",props:L0,emit:["ready","focus","blur","input","statuschange",...tf],setup(e,{emit:t}){var r=B(null),i=Pe(r,t);return R0(e,r,i),rf(e,r,i),()=>M("uni-editor",{ref:r,id:e.id,class:"ql-container"},null,8,["id"])}}),lf="#10aeff",k0="#f76260",uf="#b2b2b2",D0="#f43530",B0={success:{d:yg,c:wi},success_no_circle:{d:Zi,c:wi},info:{d:bg,c:lf},warn:{d:xg,c:k0},waiting:{d:Sg,c:lf},cancel:{d:gg,c:D0},download:{d:_g,c:wi},search:{d:wg,c:uf},clear:{d:mg,c:uf}},F0=he({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=Q(()=>B0[e.type]);return()=>{var{value:r}=t;return M("uni-icon",null,[r&&r.d&&Ji(r.d,e.color||r.c,Ut(e.size))])}}}),$0={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!0}},sn={widthFix:["offsetWidth","height"],heightFix:["offsetHeight","width"]},W0={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"]},U0=he({name:"Image",props:$0,setup(e,{emit:t}){var r=B(null),i=V0(r,e),n=Pe(r,t),{fixSize:a}=z0(r,e,i);return j0(i,a,n),()=>{var{mode:o}=e,{imgSrc:s,modeStyle:l,src:u}=i,v;return v=s?M("img",{src:s,draggable:e.draggable},null,8,["src","draggable"]):M("img",null,null),M("uni-image",{ref:r},[M("div",{style:l},null,4),v,sn[o]?M(jt,{onResize:a},null,8,["onResize"]):M("span",null,null)],512)}}});function V0(e,t){var r=B(""),i=Q(()=>{var a="auto",o="",s=W0[t.mode];return s?(s[0]&&(o=s[0]),s[1]&&(a=s[1])):(o="0% 0%",a="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(o,";background-size:").concat(a,";")}),n=Ee({rootEl:e,src:Q(()=>t.src?ht(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Oe(()=>{var a=e.value,o=a.style;n.origWidth=Number(o.width)||0,n.origHeight=Number(o.height)||0}),n}function j0(e,t,r){var i,n=(s=0,l=0,u="")=>{e.origWidth=s,e.origHeight=l,e.imgSrc=u},a=s=>{if(!s){o(),n();return}i=i||new Image,i.onload=l=>{var{width:u,height:v}=i;n(u,v,s),t(),o(),r("load",l,{width:u,height:v})},i.onerror=l=>{n(),o(),r("error",l,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};U(()=>e.src,s=>a(s)),Oe(()=>a(e.src)),xe(()=>o())}var H0=navigator.vendor==="Google Inc.";function Y0(e){return H0&&e>10&&(e=Math.round(e/2)*2),e}function z0(e,t,r){var i=()=>{var{mode:a}=t,o=sn[a];if(!!o){var{origWidth:s,origHeight:l}=r,u=s&&l?s/l:0;if(!!u){var v=e.value,h=v[o[0]];h&&(v.style[o[1]]=Y0(h/u)+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},n=()=>{var{style:a}=e.value,{origStyle:{width:o,height:s}}=r;a.width=o,a.height=s};return U(()=>t.mode,(a,o)=>{sn[o]&&n(),sn[a]&&i()}),{fixSize:i,resetSize:n}}function q0(e,t){var r=0,i,n,a=function(...o){var s=Date.now();if(clearTimeout(i),n=()=>{n=null,r=s,e.apply(this,o)},s-r{document.addEventListener(r,function(){ln.forEach(i=>{i.userAction=!0,vo++,setTimeout(()=>{vo--,vo||(i.userAction=!1)},0)})},X0)}),ff=!0}ln.push(e)}function G0(e){var t=ln.indexOf(e);t>=0&&ln.splice(t,1)}function Z0(){var e=Ee({userAction:!1});return Oe(()=>{K0(e)}),xe(()=>{G0(e)}),{state:e}}function cf(){var e=Ee({attrs:{}});return Oe(()=>{for(var t=xt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function J0(e,t){var r=ge(st,!1);if(!!r){var i=xt(),n={submit(){var a=i.proxy;return[a[e],typeof t=="string"?a[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(n),xe(()=>{r.removeField(n)})}}function Q0(e,t){var r=document.activeElement;if(!r)return t({});var i={};["input","textarea"].includes(r.tagName.toLowerCase())&&(i.start=r.selectionStart,i.end=r.selectionEnd),t(i)}var e_=function(){ft(Ct(),"getSelectedTextRange",Q0)},t_=200,ho;function po(e){return e===null?"":String(e)}var vf=fe({},{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"}},ef),df=["input","focus","blur","update:value","update:modelValue","update:focus",...tf];function r_(e,t,r){var i=B(null),n=Pe(t,r),a=Q(()=>{var h=Number(e.selectionStart);return isNaN(h)?-1:h}),o=Q(()=>{var h=Number(e.selectionEnd);return isNaN(h)?-1:h}),s=Q(()=>{var h=Number(e.cursor);return isNaN(h)?-1:h}),l=Q(()=>{var h=Number(e.maxlength);return isNaN(h)?140:h}),u=po(e.modelValue)||po(e.value),v=Ee({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:a,selectionEnd:o,cursor:s});return U(()=>v.focus,h=>r("update:focus",h)),U(()=>v.maxlength,h=>v.value=v.value.slice(0,h)),{fieldRef:i,state:v,trigger:n}}function i_(e,t,r,i){var n=hd(s=>{t.value=po(s)},100);U(()=>e.modelValue,n),U(()=>e.value,n);var a=q0((s,l)=>{n.cancel(),r("update:modelValue",l.value),r("update:value",l.value),i("input",s,l)},100),o=(s,l,u)=>{n.cancel(),a(s,l),u&&a.flush()};return yl(()=>{n.cancel(),a.cancel()}),{trigger:i,triggerInput:o}}function n_(e,t){var{state:r}=Z0(),i=Q(()=>e.autoFocus||e.focus);function n(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(n,100);return}{var s=t_-(Date.now()-ho);if(s>0){setTimeout(n,s);return}o.focus(),r.userAction||plus.key.showSoftKeybord()}}}function a(){var o=t.value;o&&o.blur()}U(()=>e.focus,o=>{o?n():a()}),Oe(()=>{ho=ho||Date.now(),i.value&&or(n)})}function a_(e,t,r,i,n){function a(){var l=e.value;l&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&(l.selectionStart=t.selectionStart,l.selectionEnd=t.selectionEnd)}function o(){var l=e.value;l&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&(l.selectionEnd=l.selectionStart=t.cursor)}function s(){var l=e.value,u=function(_){t.focus=!0,r("focus",_,{value:t.value}),a(),o()},v=function(_,d){_.stopPropagation(),!(typeof n=="function"&&n(_,t)===!1)&&(t.value=l.value,t.composing||i(_,{value:l.value,cursor:l.selectionEnd},d))},h=function(_){t.composing&&(t.composing=!1,v(_,!0)),t.focus=!1,r("blur",_,{value:t.value,cursor:_.target.selectionEnd})};l.addEventListener("change",_=>_.stopPropagation()),l.addEventListener("focus",u),l.addEventListener("blur",h),l.addEventListener("input",v),l.addEventListener("compositionstart",_=>{_.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",_=>{_.stopPropagation(),t.composing&&(t.composing=!1,v(_))})}U([()=>t.selectionStart,()=>t.selectionEnd],a),U(()=>t.cursor,o),U(()=>e.value,s)}function hf(e,t,r,i){e_();var{fieldRef:n,state:a,trigger:o}=r_(e,t,r),{triggerInput:s}=i_(e,a,r,o);n_(e,n),rf(e,n,o);var{state:l}=cf();J0("name",a),a_(n,a,o,s,i);var u=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:n,state:a,scopedAttrsState:l,fixDisabledColor:u,trigger:o}}var o_=fe({},vf,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),s_=he({name:"Input",props:o_,emits:["confirm",...df],setup(e,{emit:t}){var r=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],n=Q(()=>{var c="";switch(e.type){case"text":e.confirmType==="search"&&(c="search");break;case"idcard":c="text";break;case"digit":c="number";break;default:c=~r.includes(e.type)?e.type:"text";break}return e.password?"password":c}),a=Q(()=>{var c=i.indexOf(e.textContentType),b=i.indexOf(Ve(e.textContentType)),f=c!==-1?c:b!==-1?b:0;return i[f]}),o=B(""),s,l=B(null),{fieldRef:u,state:v,scopedAttrsState:h,fixDisabledColor:_,trigger:d}=hf(e,l,t,(c,b)=>{var f=c.target;if(n.value==="number"){if(s&&(f.removeEventListener("blur",s),s=null),f.validity&&!f.validity.valid)return!o.value&&c.data==="-"||o.value[0]==="-"&&c.inputType==="deleteContentBackward"?(o.value="-",b.value="",s=()=>{o.value=f.value=""},f.addEventListener("blur",s),!1):(o.value=b.value=f.value=o.value==="-"?"":o.value,!1);o.value=f.value;var m=b.maxlength;if(m>0&&f.value.length>m)return f.value=f.value.slice(0,m),b.value=f.value,!1}}),y=["number","digit"],g=Q(()=>y.includes(e.type)?"0.000000000000000001":"");function p(c){c.key==="Enter"&&(c.stopPropagation(),d("confirm",c,{value:c.target.value}))}return()=>{var c=e.disabled&&_?M("input",{ref:u,value:v.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:v.maxlength,step:g.value,class:"uni-input-input",onFocus:b=>b.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):M("input",{ref:u,value:v.value,disabled:!!e.disabled,type:n.value,maxlength:v.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:a.value,onKeyup:p},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return M("uni-input",{ref:l},[M("div",{class:"uni-input-wrapper"},[Cr(M("div",Ye(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Nr,!(v.value.length||o.value==="-")]]),e.confirmType==="search"?M("form",{action:"",onSubmit:b=>b.preventDefault(),class:"uni-input-form"},[c],40,["onSubmit"]):c])],512)}}});function l_(e){return Object.keys(e).map(t=>[t,e[t]])}var u_=["class","style"],f_=/^on[A-Z]+/,pf=(e={})=>{var{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=xt(),n=xa({}),a=xa({}),o=xa({}),s=r.concat(u_);return i.attrs=Ee(i.attrs),Lp(()=>{var l=l_(i.attrs).reduce((u,[v,h])=>(s.includes(v)?u.exclude[v]=h:f_.test(v)?(t||(u.attrs[v]=h),u.listeners[v]=h):u.attrs[v]=h,u),{exclude:{},attrs:{},listeners:{}});n.value=l.attrs,a.value=l.listeners,o.value=l.exclude}),{$attrs:n,$listeners:a,$excludeAttrs:o}},un,Vr;function fn(){Qt(()=>{un||(un=plus.webview.currentWebview()),Vr||(Vr=(un.getStyle()||{}).pullToRefresh||{})})}function It({disable:e}){Vr&&Vr.support&&un.setPullToRefresh(Object.assign({},Vr,{support:!e}))}function go(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{Bi(r)?r.type===at?t.push(...go(r.children)):t.push(r):Array.isArray(r)&&t.push(...go(r))}),t}function jr(e){var t=xt();t.rebuild=e}var c_={scaleArea:{type:Boolean,default:!1}},v_=he({inheritAttrs:!1,name:"MovableArea",props:c_,setup(e,{slots:t}){var r=B(null),i=B(!1),{setContexts:n,events:a}=d_(e,r),{$listeners:o,$attrs:s,$excludeAttrs:l}=pf(),u=o.value,v=["onTouchstart","onTouchmove","onTouchend"];v.forEach(p=>{var c=u[p],b=a["_".concat(p)];u[p]=c?[].concat(c,b):b}),Oe(()=>{a._resize(),fn(),i.value=!0});var h=[],_=[];function d(){for(var p=[],c=function(f){var m=h[f];m instanceof Element||(m=m.el);var S=_.find(x=>m===x.rootRef.value);S&&p.push(Li(S))},b=0;b{h=r.value.children,d()});var y=p=>{_.push(p),d()},g=p=>{var c=_.indexOf(p);c>=0&&(_.splice(c,1),d())};return Ne("_isMounted",i),Ne("movableAreaRootRef",r),Ne("addMovableViewContext",y),Ne("removeMovableViewContext",g),()=>(t.default&&t.default(),M("uni-movable-area",Ye({ref:r},s.value,l.value,u),[M(jt,{onReize:a._resize},null,8,["onReize"]),h],16))}});function gf(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function d_(e,t){var r=B(0),i=B(0),n=Ee({x:null,y:null}),a=B(null),o=null,s=[];function l(g){g&&g!==1&&(e.scaleArea?s.forEach(function(p){p._setScale(g)}):o&&o._setScale(g))}function u(g,p=s){var c=t.value;function b(f){for(var m=0;m{It({disable:!0});var p=g.touches;if(p&&p.length>1){var c={x:p[1].pageX-p[0].pageX,y:p[1].pageY-p[0].pageY};if(a.value=gf(c),n.x=c.x,n.y=c.y,!e.scaleArea){var b=u(p[0].target),f=u(p[1].target);o=b&&b===f?b:null}}}),h=Vt(g=>{var p=g.touches;if(p&&p.length>1){g.preventDefault();var c={x:p[1].pageX-p[0].pageX,y:p[1].pageY-p[0].pageY};if(n.x!==null&&a.value&&a.value>0){var b=gf(c)/a.value;l(b)}n.x=c.x,n.y=c.y}}),_=Vt(g=>{It({disable:!1});var p=g.touches;p&&p.length||g.changedTouches&&(n.x=0,n.y=0,a.value=null,e.scaleArea?s.forEach(function(c){c._endScale()}):o&&o._endScale())});function d(){y(),s.forEach(function(g,p){g.setParent()})}function y(){var g=window.getComputedStyle(t.value),p=t.value.getBoundingClientRect();r.value=p.width-["Left","Right"].reduce(function(c,b){var f="border"+b+"Width",m="padding"+b;return c+parseFloat(g[f])+parseFloat(g[m])},0),i.value=p.height-["Top","Bottom"].reduce(function(c,b){var f="border"+b+"Width",m="padding"+b;return c+parseFloat(g[f])+parseFloat(g[m])},0)}return Ne("movableAreaWidth",r),Ne("movableAreaHeight",i),{setContexts(g){s=g},events:{_onTouchstart:v,_onTouchmove:h,_onTouchend:_,_resize:d}}}var Hr=function(e,t,r,i){e.addEventListener(t,n=>{typeof r=="function"&&r(n)===!1&&((typeof n.cancelable!="undefined"?n.cancelable:!0)&&n.preventDefault(),n.stopPropagation())},{passive:!1})},mf,_f;function cn(e,t,r){xe(()=>{document.removeEventListener("mousemove",mf),document.removeEventListener("mouseup",_f)});var i=0,n=0,a=0,o=0,s=function(d,y,g,p){if(t({target:d.target,currentTarget:d.currentTarget,preventDefault:d.preventDefault.bind(d),stopPropagation:d.stopPropagation.bind(d),touches:d.touches,changedTouches:d.changedTouches,detail:{state:y,x:g,y:p,dx:g-i,dy:p-n,ddx:g-a,ddy:p-o,timeStamp:d.timeStamp}})===!1)return!1},l=null,u,v;Hr(e,"touchstart",function(d){if(u=!0,d.touches.length===1&&!l)return l=d,i=a=d.touches[0].pageX,n=o=d.touches[0].pageY,s(d,"start",i,n)}),Hr(e,"mousedown",function(d){if(v=!0,!u&&!l)return l=d,i=a=d.pageX,n=o=d.pageY,s(d,"start",i,n)}),Hr(e,"touchmove",function(d){if(d.touches.length===1&&l){var y=s(d,"move",d.touches[0].pageX,d.touches[0].pageY);return a=d.touches[0].pageX,o=d.touches[0].pageY,y}});var h=mf=function(d){if(!u&&v&&l){var y=s(d,"move",d.pageX,d.pageY);return a=d.pageX,o=d.pageY,y}};document.addEventListener("mousemove",h),Hr(e,"touchend",function(d){if(d.touches.length===0&&l)return u=!1,l=null,s(d,"end",d.changedTouches[0].pageX,d.changedTouches[0].pageY)});var _=_f=function(d){if(v=!1,!u&&l)return l=null,s(d,"end",d.pageX,d.pageY)};document.addEventListener("mouseup",_),Hr(e,"touchcancel",function(d){if(l){u=!1;var y=l;return l=null,s(d,r?"cancel":"end",y.touches[0].pageX,y.touches[0].pageY)}})}function vn(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},lt.prototype.ds=function(e){return e===void 0&&(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}},lt.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}},lt.prototype.dt=function(){return-this._x_v/this._x_a},lt.prototype.done=function(){var e=vn(this.s().x,this._endPositionX)||vn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},lt.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},lt.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function qe(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}qe.prototype._solve=function(e,t){var r=this._c,i=this._m,n=this._k,a=r*r-4*i*n;if(a===0){var o=-r/(2*i),s=e,l=t/(o*e);return{x:function(c){return(s+l*c)*Math.pow(Math.E,o*c)},dx:function(c){var b=Math.pow(Math.E,o*c);return o*(s+l*c)*b+l*b}}}if(a>0){var u=(-r-Math.sqrt(a))/(2*i),v=(-r+Math.sqrt(a))/(2*i),h=(t-u*e)/(v-u),_=e-h;return{x:function(c){var b,f;return c===this._t&&(b=this._powER1T,f=this._powER2T),this._t=c,b||(b=this._powER1T=Math.pow(Math.E,u*c)),f||(f=this._powER2T=Math.pow(Math.E,v*c)),_*b+h*f},dx:function(c){var b,f;return c===this._t&&(b=this._powER1T,f=this._powER2T),this._t=c,b||(b=this._powER1T=Math.pow(Math.E,u*c)),f||(f=this._powER2T=Math.pow(Math.E,v*c)),_*u*b+h*v*f}}}var d=Math.sqrt(4*i*n-r*r)/(2*i),y=-r/2*i,g=e,p=(t-y*e)/d;return{x:function(c){return Math.pow(Math.E,y*c)*(g*Math.cos(d*c)+p*Math.sin(d*c))},dx:function(c){var b=Math.pow(Math.E,y*c),f=Math.cos(d*c),m=Math.sin(d*c);return b*(p*d*f-g*d*m)+y*b*(p*m+g*f)}}},qe.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},qe.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},qe.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!Ht(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(Ht(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),Ht(t,.1)&&(t=0),Ht(i,.1)&&(i=0),i+=this._endPosition),this._solution&&Ht(i-e,.1)&&Ht(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},qe.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},qe.prototype.done=function(e){return e||(e=new Date().getTime()),vn(this.x(),this._endPosition,.1)&&Ht(this.dx(),.1)},qe.prototype.reconfigure=function(e,t,r){this._m=e,this._k=t,this._c=r,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())},qe.prototype.springConstant=function(){return this._k},qe.prototype.damping=function(){return this._c},qe.prototype.configuration=function(){function e(r,i){r.reconfigure(1,i,r.damping())}function t(r,i){r.reconfigure(1,r.springConstant(),i)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function Yr(e,t,r){this._springX=new qe(e,t,r),this._springY=new qe(e,t,r),this._springScale=new qe(e,t,r),this._startTime=0}Yr.prototype.setEnd=function(e,t,r,i){var n=new Date().getTime();this._springX.setEnd(e,i,n),this._springY.setEnd(t,i,n),this._springScale.setEnd(r,i,n),this._startTime=n},Yr.prototype.x=function(){var e=(new Date().getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},Yr.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Yr.prototype.reconfigure=function(e,t,r){this._springX.reconfigure(e,t,r),this._springY.reconfigure(e,t,r),this._springScale.reconfigure(e,t,r)};var h_={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}},p_=he({name:"MovableView",props:h_,emits:["change","scale"],setup(e,{slots:t,emit:r}){var i=B(null),n=Pe(i,r),{setParent:a}=g_(e,n,i);return()=>M("uni-movable-view",{ref:i},[M(jt,{onResize:a},null,8,["onResize"]),t.default&&t.default()],512)}}),_o=!1;function bf(e){_o||(_o=!0,requestAnimationFrame(function(){e(),_o=!1}))}function wf(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=wf(e.offsetParent,t):0}function yf(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=yf(e.offsetParent,t):0}function Sf(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function xf(e,t,r){var i={id:0,cancelled:!1},n=function(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)};function a(o,s,l,u){if(!o||!o.cancelled){l(s);var v=s.done();v||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,l,u))),v&&u&&u(s)}}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}function dn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function g_(e,t,r){var i=ge("movableAreaWidth",B(0)),n=ge("movableAreaHeight",B(0)),a=ge("_isMounted",B(!1)),o=ge("movableAreaRootRef"),s=ge("addMovableViewContext",()=>{}),l=ge("removeMovableViewContext",()=>{}),u=B(dn(e.x)),v=B(dn(e.y)),h=B(Number(e.scaleValue)||1),_=B(0),d=B(0),y=B(0),g=B(0),p=B(0),c=B(0),b=null,f=null,m={x:0,y:0},S={x:0,y:0},x=1,E=1,C=0,L=0,W=!1,q=!1,X,ce,A=null,$=null,ee=new mo,ne=new mo,H={historyX:[0,0],historyY:[0,0],historyT:[0,0]},J=Q(()=>{var O=Number(e.damping);return isNaN(O)?20:O}),ie=Q(()=>{var O=Number(e.friction);return isNaN(O)||O<=0?2:O}),we=Q(()=>{var O=Number(e.scaleMin);return isNaN(O)?.5:O}),Y=Q(()=>{var O=Number(e.scaleMax);return isNaN(O)?10:O}),re=Q(()=>e.direction==="all"||e.direction==="horizontal"),le=Q(()=>e.direction==="all"||e.direction==="vertical"),ve=new Yr(1,9*Math.pow(J.value,2)/40,J.value),Me=new lt(1,ie.value);U(()=>e.x,O=>{u.value=dn(O)}),U(()=>e.y,O=>{v.value=dn(O)}),U(u,O=>{Ge(O)}),U(v,O=>{At(O)}),U(()=>e.scaleValue,O=>{h.value=Number(O)||0}),U(h,O=>{Kr(O)}),U(we,()=>{Ie()}),U(Y,()=>{Ie()});function Ce(){f&&f.cancel(),b&&b.cancel()}function Ge(O){if(re.value){if(O+S.x===C)return C;b&&b.cancel(),Z(O+S.x,v.value+S.y,x)}return O}function At(O){if(le.value){if(O+S.y===L)return L;b&&b.cancel(),Z(u.value+S.x,O+S.y,x)}return O}function Ie(){if(!e.scale)return!1;D(x,!0),k(x)}function Kr(O){return e.scale?(O=N(O),D(O,!0),k(O),O):!1}function Gr(){W||e.disabled||(It({disable:!0}),Ce(),H.historyX=[0,0],H.historyY=[0,0],H.historyT=[0,0],re.value&&(X=C),le.value&&(ce=L),r.value.style.willChange="transform",A=null,$=null,q=!0)}function w(O){if(!W&&!e.disabled&&q){var j=C,z=L;if($===null&&($=Math.abs(O.detail.dx/O.detail.dy)>1?"htouchmove":"vtouchmove"),re.value&&(j=O.detail.dx+X,H.historyX.shift(),H.historyX.push(j),!le.value&&A===null&&(A=Math.abs(O.detail.dx/O.detail.dy)<1)),le.value&&(z=O.detail.dy+ce,H.historyY.shift(),H.historyY.push(z),!re.value&&A===null&&(A=Math.abs(O.detail.dy/O.detail.dx)<1)),H.historyT.shift(),H.historyT.push(O.detail.timeStamp),!A){O.preventDefault();var de="touch";jp.value&&(e.outOfBounds?(de="touch-out-of-bounds",j=p.value+ee.x(j-p.value)):j=p.value),zc.value&&(e.outOfBounds?(de="touch-out-of-bounds",z=c.value+ne.x(z-c.value)):z=c.value),bf(function(){K(j,z,x,de)})}}}function T(){if(!W&&!e.disabled&&q&&(It({disable:!1}),r.value.style.willChange="auto",q=!1,!A&&!G("out-of-bounds")&&e.inertia)){var O=1e3*(H.historyX[1]-H.historyX[0])/(H.historyT[1]-H.historyT[0]),j=1e3*(H.historyY[1]-H.historyY[0])/(H.historyT[1]-H.historyT[0]);Me.setV(O,j),Me.setS(C,L);var z=Me.delta().x,de=Me.delta().y,se=z+C,Le=de+L;sep.value&&(se=p.value,Le=L+(p.value-C)*de/z),Lec.value&&(Le=c.value,se=C+(c.value-L)*z/de),Me.setEnd(se,Le),f=xf(Me,function(){var Ue=Me.s(),Ae=Ue.x,tt=Ue.y;K(Ae,tt,x,"friction")},function(){f.cancel()})}!e.outOfBounds&&!e.inertia&&Ce()}function I(O,j){var z=!1;return O>p.value?(O=p.value,z=!0):Oc.value?(j=c.value,z=!0):j{cn(r.value,j=>{switch(j.detail.state){case"start":Gr();break;case"move":w(j);break;case"end":T()}}),ue(),Me.reconfigure(1,ie.value),ve.reconfigure(1,9*Math.pow(J.value,2)/40,J.value),r.value.style.transformOrigin="center",fn();var O={rootRef:r,setParent:ue,_endScale:Re,_setScale:Se};s(O),yt(()=>{l(O)})}),yt(()=>{Ce()}),{setParent:ue}}var m_=["navigate","redirect","switchTab","reLaunch","navigateBack"],__={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~m_.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}},b_=he({name:"Navigator",compatConfig:{MODE:3},props:__,setup(e,{slots:t}){var{hovering:r,binding:i}=uo(e);function n(a){if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta});break}}return()=>{var{hoverClass:a}=e,o=e.hoverClass&&e.hoverClass!=="none";return M("uni-navigator",Ye({class:o&&r.value?a:""},o&&i,{onClick:n}),[t.default&&t.default()],16,["onClick"])}}}),w_={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function y_(e){var t=Ee([...e.value]),r=Ee({value:t,height:34});return U(()=>e.value,(i,n)=>{(i===n||i.length!==n.length||i.findIndex((a,o)=>a!==n[o])>=0)&&(r.value.length=i.length,i.forEach((a,o)=>{a!==r.value[o]&&r.value.splice(o,1,a)}))}),r}var S_=he({name:"PickerView",props:w_,emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:r}){var i=B(null),n=B(null),a=Pe(i,r),o=y_(e),s=B(null),l=()=>{var _=s.value;o.height=_.$el.offsetHeight},u=B([]);function v(_){var d=u.value;return d instanceof HTMLCollection?Array.prototype.indexOf.call(d,_.el):d.indexOf(_)}var h=function(_){var d=Q({get(){var y=v(_.vnode);return o.value[y]||0},set(y){var g=v(_.vnode);if(!(g<0)){var p=o.value[g];if(p!==y){o.value[g]=y;var c=o.value.map(b=>b);r("update:value",c),a("change",{},{value:c})}}}});return d};return Ne("getPickerViewColumn",h),Ne("pickerViewProps",e),Ne("pickerViewState",o),jr(()=>{l(),u.value=n.value.children}),()=>{var _=t.default&&t.default();return M("uni-picker-view",{ref:i},[M(jt,{ref:s,onResize:({height:d})=>o.height=d},null,8,["onResize"]),M("div",{ref:n,class:"uni-picker-view-wrapper"},[_],512)],512)}}});class Tf{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,r){this._x=t,this._v=r,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*r/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*r}done(){return Math.abs(this.dx())<3}reconfigure(t){var r=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(r,i)}configuration(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(r){t.reconfigure(r)},min:.001,max:.1,step:.001}]}}function Ef(e,t,r){return e>t-r&&e0){var v=(-i-Math.sqrt(o))/(2*n),h=(-i+Math.sqrt(o))/(2*n),_=(r-v*t)/(h-v),d=t-_;return{x:function(b){var f,m;return b===this._t&&(f=this._powER1T,m=this._powER2T),this._t=b,f||(f=this._powER1T=Math.pow(Math.E,v*b)),m||(m=this._powER2T=Math.pow(Math.E,h*b)),d*f+_*m},dx:function(b){var f,m;return b===this._t&&(f=this._powER1T,m=this._powER2T),this._t=b,f||(f=this._powER1T=Math.pow(Math.E,v*b)),m||(m=this._powER2T=Math.pow(Math.E,h*b)),d*v*f+_*h*m}}}var y=Math.sqrt(4*n*a-i*i)/(2*n),g=-i/2*n,p=t,c=(r-g*t)/y;return{x:function(b){return Math.pow(Math.E,g*b)*(p*Math.cos(y*b)+c*Math.sin(y*b))},dx:function(b){var f=Math.pow(Math.E,g*b),m=Math.cos(y*b),S=Math.sin(y*b);return f*(c*y*m-p*y*S)+g*f*(c*S+p*m)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,r,i){if(i||(i=new Date().getTime()),t!==this._endPosition||!Yt(r,.4)){r=r||0;var n=this._endPosition;this._solution&&(Yt(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),n=this._solution.x((i-this._startTime)/1e3),Yt(r,.4)&&(r=0),Yt(n,.4)&&(n=0),n+=this._endPosition),this._solution&&Yt(n-t,.4)&&Yt(r,.4)||(this._endPosition=t,this._solution=this._solve(n-this._endPosition,r),this._startTime=i)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),Ef(this.x(),this._endPosition,.4)&&Yt(this.dx(),.4)}reconfigure(t,r,i){this._m=t,this._k=r,this._c=i,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){function t(i,n){i.reconfigure(1,n,i.damping())}function r(i,n){i.reconfigure(1,i.springConstant(),n)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:r.bind(this,this),min:1,max:500}]}}class x_{constructor(t,r,i){this._extent=t,this._friction=r||new Tf(.01),this._spring=i||new Cf(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,r){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(r)}set(t,r){this._friction.set(t,r),t>0&&r>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&r<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var r=this._friction.x(t),i=this.dx(t);return(r>0&&i>=0||r<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),r<-this._extent?this._springOffset=-this._extent:this._springOffset=0,r=this._spring.x()+this._springOffset),r}dx(t){var r;return this._lastTime===t?r=this._lastDx:r=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=r,r}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function T_(e,t,r){var i={id:0,cancelled:!1};function n(o,s,l,u){if(!o||!o.cancelled){l(s);var v=s.done();v||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,l,u))),v&&u&&u(s)}}function a(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}class E_{constructor(t,r){r=r||{},this._element=t,this._options=r,this._enableSnap=r.enableSnap||!1,this._itemSize=r.itemSize||0,this._enableX=r.enableX||!1,this._enableY=r.enableY||!1,this._shouldDispatchScrollEvent=!!r.onScroll,this._enableX?(this._extent=(r.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=r.scrollWidth):(this._extent=(r.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=r.scrollHeight),this._position=0,this._scroll=new x_(this._extent,r.friction,r.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?a-(this._itemSize-Math.abs(o)):a-o,n<=0&&n>=-this._extent&&this._scroll.setVelocityByEnd(n)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=T_(this._scroll,()=>{var s=Date.now(),l=(s-this._scroll._startTime)/1e3,u=this._scroll.x(l);this._position=u,this.updatePosition();var v=this._scroll.dx(l);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/v),this._lastTime=s)},()=>{this._enableSnap&&(n<=0&&n>=-this._extent&&(this._position=n,this.updatePosition()),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}}update(t,r,i){var n=0,a=this._position;this._enableX?(n=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(n=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-n?this._position=-n:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),a!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=n,this._scroll._extent=n}updatePosition(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function C_(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new E_(e,t);function n(l){var u=l,v=l;return u.detail.state==="move"||u.detail.state==="end"?{x:u.detail.dx,y:u.detail.dy}:{x:v.screenX-r.x,y:v.screenY-r.y}}function a(l){var u=l,v=l;u.detail.state==="start"?(r.trackingID="touch",r.x=u.detail.x,r.y=u.detail.y):(r.trackingID="mouse",r.x=v.screenX,r.y=v.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[u.detail.timeStamp||v.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),l.preventDefault()}function o(l){var u=l,v=l;if(r.trackingID!==-1){l.preventDefault();var h=n(l);if(h){for(r.maxDy=Math.max(r.maxDy,Math.abs(h.y)),r.maxDx=Math.max(r.maxDx,Math.abs(h.x)),r.historyX.push(h.x),r.historyY.push(h.y),r.historyTime.push(u.detail.timeStamp||v.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(h.x,h.y)}}}function s(l){if(r.trackingID!==-1){l.preventDefault();var u=n(l);if(u){var v=r.listener;r.trackingID=-1,r.listener=null;var h=r.historyTime.length,_={x:0,y:0};if(h>2)for(var d=r.historyTime.length-1,y=r.historyTime[d],g=r.historyX[d],p=r.historyY[d];d>0;){d--;var c=r.historyTime[d],b=y-c;if(b>30&&b<50){_.x=(g-r.historyX[d])/(b/1e3),_.y=(p-r.historyY[d])/(b/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],v&&v.onTouchEnd&&v.onTouchEnd(u.x,u.y,_)}}}return{scroller:i,handleTouchStart:a,handleTouchMove:o,handleTouchEnd:s}}var O_=0;function M_(e){var t="uni-picker-view-content-".concat(O_++);function r(){var i=document.createElement("style");i.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(i)}return U(()=>e.value,r),t}function I_(e){var t=20,r=0,i=0;e.addEventListener("touchstart",n=>{var a=n.changedTouches[0];r=a.clientX,i=a.clientY}),e.addEventListener("touchend",n=>{var a=n.changedTouches[0];if(Math.abs(a.clientX-r){s[u]=a[u]}),n.target.dispatchEvent(s)}})}var A_=he({name:"PickerViewColumn",setup(e,{slots:t,emit:r}){var i=B(null),n=B(null),a=ge("getPickerViewColumn"),o=xt(),s=a?a(o):B(0),l=ge("pickerViewProps"),u=ge("pickerViewState"),v=B(34),h=B(null),_=()=>{var C=h.value;v.value=C.$el.offsetHeight},d=Q(()=>(u.height-v.value)/2),{state:y}=cf(),g=M_(v),p,c=Ee({current:s.value,length:0}),b;function f(){p&&!b&&(b=!0,or(()=>{b=!1;var C=Math.min(c.current,c.length-1);C=Math.max(C,0),p.update(C*v.value,void 0,v.value)}))}U(()=>s.value,C=>{C!==c.current&&(c.current=C,f())}),U(()=>c.current,C=>s.value=C),U([()=>v.value,()=>c.length,()=>u.height],f);var m=0;function S(C){var L=m+C.deltaY;if(Math.abs(L)>10){m=0;var W=Math.min(c.current+(L<0?-1:1),c.length-1);c.current=W=Math.max(W,0),p.scrollTo(W*v.value)}else m=L;C.preventDefault()}function x({clientY:C}){var L=i.value;if(!p.isScrolling()){var W=L.getBoundingClientRect(),q=C-W.top-u.height/2,X=v.value/2;if(!(Math.abs(q)<=X)){var ce=Math.ceil((Math.abs(q)-X)/v.value),A=q<0?-ce:ce,$=Math.min(c.current+A,c.length-1);c.current=$=Math.max($,0),p.scrollTo($*v.value)}}}var E=()=>{var C=i.value,L=n.value,{scroller:W,handleTouchStart:q,handleTouchMove:X,handleTouchEnd:ce}=C_(L,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:v.value,friction:new Tf(1e-4),spring:new Cf(2,90,20),onSnap:A=>{!isNaN(A)&&A!==c.current&&(c.current=A)}});p=W,cn(C,A=>{switch(A.detail.state){case"start":q(A),It({disable:!0});break;case"move":X(A);break;case"end":case"cancel":ce(A),It({disable:!1})}},!0),I_(C),fn(),f()};return jr(()=>{c.length=n.value.children.length,_(),E()}),()=>{var C=t.default&&t.default(),L="".concat(d.value,"px 0");return M("uni-picker-view-column",{ref:i},[M("div",{onWheel:S,onClick:x,class:"uni-picker-view-group"},[M("div",Ye(y.attrs,{class:["uni-picker-view-mask",l.maskClass],style:"background-size: 100% ".concat(d.value,"px;").concat(l.maskStyle)}),null,16),M("div",Ye(y.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[M(jt,{ref:h,onResize:({height:W})=>v.value=W},null,8,["onResize"])],16),M("div",{ref:n,class:["uni-picker-view-content",g],style:{padding:L}},[C],6)],40,["onWheel","onClick"])],512)}}}),zt={activeColor:wi,backgroundColor:"#EBEBEB",activeMode:"backwards"},P_={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:zt.activeColor},activeColor:{type:String,default:zt.activeColor},backgroundColor:{type:String,default:zt.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:zt.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}}},R_=he({name:"Progress",props:P_,setup(e){var t=L_(e);return Of(t,e),U(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,Of(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:n,currentPercent:a}=t;return M("uni-progress",{class:"uni-progress"},[M("div",{style:i,class:"uni-progress-bar"},[M("div",{style:n,class:"uni-progress-inner-bar"},null,4)],4),r?M("p",{class:"uni-progress-info"},[a+"%"]):""])}}});function L_(e){var t=B(0),r=Q(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=Q(()=>{var o=e.color!==zt.activeColor&&e.activeColor===zt.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),n=Q(()=>{var o=parseFloat(e.percent);return o<0&&(o=0),o>100&&(o=100),o}),a=Ee({outerBarStyle:r,innerBarStyle:i,realPercent:n,currentPercent:t,strokeTimer:0,lastPercent:0});return a}function Of(e,t){t.active?(e.currentPercent=t.activeMode===zt.activeMode?0:e.lastPercent,e.strokeTimer=setInterval(()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1},parseFloat(t.duration))):e.currentPercent=e.realPercent}var Mf=Gi("ucg"),N_={name:{type:String,default:""}},k_=he({name:"RadioGroup",props:N_,setup(e,{emit:t,slots:r}){var i=B(null),n=Pe(i,t);return D_(e,n),()=>M("uni-radio-group",{ref:i},[r.default&&r.default()],512)}});function D_(e,t){var r=[];Oe(()=>{s(r.length-1)});var i=()=>{var l;return(l=r.find(u=>u.value.radioChecked))===null||l===void 0?void 0:l.value.value};Ne(Mf,{addField(l){r.push(l)},removeField(l){r.splice(r.indexOf(l),1)},radioChange(l,u){var v=r.indexOf(u);s(v,!0),t("change",l,{value:i()})}});var n=ge(st,!1),a={submit:()=>{var l=["",null];return e.name!==""&&(l[0]=e.name,l[1]=i()),l}};n&&(n.addField(a),xe(()=>{n.removeField(a)}));function o(l,u){l.value={radioChecked:u,value:l.value.value}}function s(l,u){r.forEach((v,h)=>{h!==l&&(u?o(r[h],!1):r.forEach((_,d)=>{h>=d||r[d].value.radioChecked&&o(r[h],!1)}))})}return r}var B_={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:""}},F_=he({name:"Radio",props:B_,setup(e,{slots:t}){var r=B(e.checked),i=B(e.value),n=Q(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));U([()=>e.checked,()=>e.value],([v,h])=>{r.value=v,i.value=h});var a=()=>{r.value=!1},{uniCheckGroup:o,uniLabel:s,field:l}=$_(r,i,a),u=v=>{e.disabled||(r.value=!0,o&&o.radioChange(v,l))};return s&&(s.addHandler(u),xe(()=>{s.removeHandler(u)})),rn(e,{"label-click":u}),()=>{var v=Br(e,"disabled");return M("uni-radio",Ye(v,{onClick:u}),[M("div",{class:"uni-radio-wrapper"},[M("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:r.value?n.value:""},[r.value?Ji(Zi,"#fff",18):""],6),t.default&&t.default()])],16,["onClick"])}}});function $_(e,t,r){var i=Q({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:({radioChecked:l})=>{e.value=l}}),n={reset:r},a=ge(Mf,!1);a&&a.addField(i);var o=ge(st,!1);o&&o.addField(n);var s=ge(Fr,!1);return xe(()=>{a&&a.removeField(i),o&&o.removeField(n)}),{uniCheckGroup:a,uniForm:o,uniLabel:s,field:i}}function W_(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function U_(e){return e.reduce(function(t,r){var i=r.value,n=r.name;return i.match(/ /)&&n!=="style"&&(i=i.split(" ")),t[n]?Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]:t[n]=i,t},{})}function V_(e){e=W_(e);var t=[],r={node:"root",children:[]};return of(e,{start:function(i,n,a){var o={name:i};if(n.length!==0&&(o.attrs=U_(n)),a){var s=t[0]||r;s.children||(s.children=[]),s.children.push(o)}else t.unshift(o)},end:function(i){var n=t.shift();if(n.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(n);else{var a=t[0];a.children||(a.children=[]),a.children.push(n)}},chars:function(i){var n={type:"text",text:i};if(t.length===0)r.children.push(n);else{var a=t[0];a.children||(a.children=[]),a.children.push(n)}},comment:function(i){var n={node:"comment",text:i},a=t[0];a.children||(a.children=[]),a.children.push(n)}}),r.children}var If={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},bo={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function j_(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(te(bo,r)&&bo[r])return bo[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function Af(e,t,r){return e.forEach(function(i){if(!!rt(i))if(!te(i,"type")||i.type==="node"){if(!(typeof i.name=="string"&&i.name))return;var n=i.name.toLowerCase();if(!te(If,n))return;var a=document.createElement(n);if(!a)return;var o=i.attrs;if(rt(o)){var s=If[n]||[];Object.keys(o).forEach(function(u){var v=o[u];switch(u){case"class":Array.isArray(v)&&(v=v.join(" "));case"style":a.setAttribute(u,v),r&&a.setAttribute(r,"");break;default:s.indexOf(u)!==-1&&a.setAttribute(u,v)}})}var l=i.children;Array.isArray(l)&&l.length&&Af(i.children,a),t.appendChild(a)}else i.type==="text"&&typeof i.text=="string"&&i.text!==""&&t.appendChild(document.createTextNode(j_(i.text)))}),t}var H_={nodes:{type:[Array,String],default:function(){return[]}}},Y_=he({name:"RichText",compatConfig:{MODE:3},props:H_,setup(e){var t=xt(),r=B(null);function i(n){typeof n=="string"&&(n=V_(n));var a=Af(n,document.createDocumentFragment(),(t==null?void 0:t.root.type).__scopeId||"");r.value.firstElementChild.innerHTML="",r.value.firstElementChild.appendChild(a)}return U(()=>e.nodes,n=>{i(n)}),Oe(()=>{i(e.nodes)}),()=>M("uni-rich-text",{ref:r},[M("div",null,null)],512)}}),wo=Qn(!0),z_={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}},q_=he({name:"ScrollView",compatConfig:{MODE:3},props:z_,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:r}){var i=B(null),n=B(null),a=B(null),o=B(null),s=B(null),l=Pe(i,t),{state:u,scrollTopNumber:v,scrollLeftNumber:h}=X_(e);K_(e,u,v,h,l,i,n,o,t);var _=Q(()=>{var d="";return e.scrollX?d+="overflow-x:auto;":d+="overflow-x:hidden;",e.scrollY?d+="overflow-y:auto;":d+="overflow-y:hidden;",d});return()=>{var{refresherEnabled:d,refresherBackground:y,refresherDefaultStyle:g}=e,{refresherHeight:p,refreshState:c,refreshRotate:b}=u;return M("uni-scroll-view",{ref:i},[M("div",{ref:a,class:"uni-scroll-view"},[M("div",{ref:n,style:_.value,class:"uni-scroll-view"},[M("div",{ref:o,class:"uni-scroll-view-content"},[d?M("div",{ref:s,style:{backgroundColor:y,height:p+"px"},class:"uni-scroll-view-refresher"},[g!=="none"?M("div",{class:"uni-scroll-view-refresh"},[M("div",{class:"uni-scroll-view-refresh-inner"},[c=="pulling"?M("svg",{key:"refresh__icon",style:{transform:"rotate("+b+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[M("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),M("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,c=="refreshing"?M("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[M("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,g=="none"?r.refresher&&r.refresher():null],4):null,r.default&&r.default()],512)],4)],512)],512)}}});function X_(e){var t=Q(()=>Number(e.scrollTop)||0),r=Q(()=>Number(e.scrollLeft)||0),i=Ee({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function K_(e,t,r,i,n,a,o,s,l){var u=!1,v=0,h=!1,_=()=>{},d=Q(()=>{var x=Number(e.upperThreshold);return isNaN(x)?50:x}),y=Q(()=>{var x=Number(e.lowerThreshold);return isNaN(x)?50:x});function g(x,E){var C=o.value,L=0,W="";if(x<0?x=0:E==="x"&&x>C.scrollWidth-C.offsetWidth?x=C.scrollWidth-C.offsetWidth:E==="y"&&x>C.scrollHeight-C.offsetHeight&&(x=C.scrollHeight-C.offsetHeight),E==="x"?L=C.scrollLeft-x:E==="y"&&(L=C.scrollTop-x),L!==0){var q=s.value;q.style.transition="transform .3s ease-out",q.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?W="translateX("+L+"px) translateZ(0)":E==="y"&&(W="translateY("+L+"px) translateZ(0)"),q.removeEventListener("transitionend",_),q.removeEventListener("webkitTransitionEnd",_),_=()=>m(x,E),q.addEventListener("transitionend",_),q.addEventListener("webkitTransitionEnd",_),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),q.style.transform=W,q.style.webkitTransform=W}}function p(x){var E=x.target;n("scroll",x,{scrollLeft:E.scrollLeft,scrollTop:E.scrollTop,scrollHeight:E.scrollHeight,scrollWidth:E.scrollWidth,deltaX:t.lastScrollLeft-E.scrollLeft,deltaY:t.lastScrollTop-E.scrollTop}),e.scrollY&&(E.scrollTop<=d.value&&t.lastScrollTop-E.scrollTop>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(n("scrolltoupper",x,{direction:"top"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollTop+E.offsetHeight+y.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(n("scrolltolower",x,{direction:"bottom"}),t.lastScrollToLowerTime=x.timeStamp)),e.scrollX&&(E.scrollLeft<=d.value&&t.lastScrollLeft-E.scrollLeft>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(n("scrolltoupper",x,{direction:"left"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollLeft+E.offsetWidth+y.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(n("scrolltolower",x,{direction:"right"}),t.lastScrollToLowerTime=x.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function c(x){e.scrollY&&(e.scrollWithAnimation?g(x,"y"):o.value.scrollTop=x)}function b(x){e.scrollX&&(e.scrollWithAnimation?g(x,"x"):o.value.scrollLeft=x)}function f(x){if(x){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(x)){console.error("id error: scroll-into-view=".concat(x));return}var E=a.value.querySelector("#"+x);if(E){var C=o.value.getBoundingClientRect(),L=E.getBoundingClientRect();if(e.scrollX){var W=L.left-C.left,q=o.value.scrollLeft,X=q+W;e.scrollWithAnimation?g(X,"x"):o.value.scrollLeft=X}if(e.scrollY){var ce=L.top-C.top,A=o.value.scrollTop,$=A+ce;e.scrollWithAnimation?g($,"y"):o.value.scrollTop=$}}}}function m(x,E){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var C=o.value;E==="x"?(C.style.overflowX=e.scrollX?"auto":"hidden",C.scrollLeft=x):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=x),s.value.removeEventListener("transitionend",_),s.value.removeEventListener("webkitTransitionEnd",_)}function S(x){switch(x){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,n("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=v=0,x==="restore"&&(h=!1,n("refresherrestore",{},{})),x==="refresherabort"&&h&&(h=!1,n("refresherabort",{},{}));break}t.refreshState=x}Oe(()=>{or(()=>{c(r.value),b(i.value)}),f(e.scrollIntoView);var x=function(X){X.stopPropagation(),p(X)},E={x:0,y:0},C=null,L=function(X){var ce=X.touches[0].pageX,A=X.touches[0].pageY,$=o.value;if(Math.abs(ce-E.x)>Math.abs(A-E.y))if(e.scrollX){if($.scrollLeft===0&&ce>E.x){C=!1;return}else if($.scrollWidth===$.offsetWidth+$.scrollLeft&&ceE.y)C=!1,e.refresherEnabled&&X.cancelable!==!1&&X.preventDefault();else if($.scrollHeight===$.offsetHeight+$.scrollTop&&A0&&(h=!0,n("refresherpulling",X,{deltaY:ee})));var ne=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(ne>1?1:ne)*360}},W=function(X){X.touches.length===1&&(It({disable:!0}),E={x:X.touches[0].pageX,y:X.touches[0].pageY})},q=function(X){E={x:0,y:0},It({disable:!1}),t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort")};o.value.addEventListener("touchstart",W,wo),o.value.addEventListener("touchmove",L),o.value.addEventListener("scroll",x,wo),o.value.addEventListener("touchend",q,wo),fn(),xe(()=>{o.value.removeEventListener("touchstart",W),o.value.removeEventListener("touchmove",L),o.value.removeEventListener("scroll",x),o.value.removeEventListener("touchend",q)})}),Oa(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),U(r,x=>{c(x)}),U(i,x=>{b(x)}),U(()=>e.scrollIntoView,x=>{f(x)}),U(()=>e.refresherTriggered,x=>{x===!0?S("refreshing"):x===!1&&S("restore")})}var G_={name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},Z_=he({name:"Slider",props:G_,emits:["changing","change"],setup(e,{emit:t}){var r=B(null),i=B(null),n=B(null),a=B(Number(e.value));U(()=>e.value,v=>{a.value=Number(v)});var o=Pe(r,t),s=J_(e,a),{_onClick:l,_onTrack:u}=Q_(e,a,r,i,o);return Oe(()=>{cn(n.value,u)}),()=>{var{setBgColor:v,setBlockBg:h,setActiveColor:_,setBlockStyle:d}=s;return M("uni-slider",{ref:r,onClick:Vt(l)},[M("div",{class:"uni-slider-wrapper"},[M("div",{class:"uni-slider-tap-area"},[M("div",{style:v.value,class:"uni-slider-handle-wrapper"},[M("div",{ref:n,style:h.value,class:"uni-slider-handle"},null,4),M("div",{style:d.value,class:"uni-slider-thumb"},null,4),M("div",{style:_.value,class:"uni-slider-track"},null,4)],4)]),Cr(M("span",{ref:i,class:"uni-slider-value"},[a.value],512),[[Nr,e.showValue]])]),M("slot",null,null)],8,["onClick"])}}});function J_(e,t){var r=()=>{var o=Number(e.max),s=Number(e.min);return 100*(t.value-s)/(o-s)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",n=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",a={setBgColor:Q(()=>({backgroundColor:i()})),setBlockBg:Q(()=>({left:r()})),setActiveColor:Q(()=>({backgroundColor:n(),width:r()})),setBlockStyle:Q(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return a}function Q_(e,t,r,i,n){var a=h=>{e.disabled||(s(h),n("change",h,{value:t.value}))},o=h=>{var _=Number(e.max),d=Number(e.min),y=Number(e.step);return h_?_:eb.mul.call(Math.round((h-d)/y),y)+d},s=h=>{var _=Number(e.max),d=Number(e.min),y=i.value,g=getComputedStyle(y,null).marginLeft,p=y.offsetWidth;p=p+parseInt(g);var c=r.value,b=c.offsetWidth-(e.showValue?p:0),f=c.getBoundingClientRect().left,m=(h.x-f)*(_-d)/b+d;t.value=o(m)},l=h=>{if(!e.disabled)return h.detail.state==="move"?(s({x:h.detail.x}),n("changing",h,{value:t.value}),!1):h.detail.state==="end"&&n("change",h,{value:t.value})},u=ge(st,!1);if(u){var v={reset:()=>t.value=Number(e.min),submit:()=>{var h=["",null];return e.name!==""&&(h[0]=e.name,h[1]=t.value),h}};u.addField(v),xe(()=>{u.removeField(v)})}return{_onClick:a,_onTrack:l}}var eb={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(n){}try{t+=i.split(".")[1].length}catch(n){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},tb={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}};function rb(e){var t=Q(()=>{var a=Number(e.interval);return isNaN(a)?5e3:a}),r=Q(()=>{var a=Number(e.duration);return isNaN(a)?500:a}),i=Q(()=>{var a=Math.round(e.displayMultipleItems);return isNaN(a)?1:a}),n=Ee({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return n}function ib(e,t,r,i,n,a){function o(){s&&(clearTimeout(s),s=null)}var s=null,l=!0,u=0,v=1,h=null,_=!1,d=0,y,g="",p,c=Q(()=>e.circular&&r.value.length>t.displayMultipleItems);function b(A){if(!l)for(var $=r.value,ee=$.length,ne=A+t.displayMultipleItems,H=0;H=J.length&&(A-=J.length),A=y%1>.5||y<0?A-1:A,a("transition",{},{dx:e.vertical?0:A*H.offsetWidth,dy:e.vertical?A*H.offsetHeight:0})}function m(){h&&(f(h.toPos),h=null)}function S(A){var $=r.value.length;if(!$)return-1;var ee=(Math.round(A)%$+$)%$;if(c.value){if($<=t.displayMultipleItems)return 0}else if(ee>$-t.displayMultipleItems)return $-t.displayMultipleItems;return ee}function x(){h=null}function E(){if(!h){_=!1;return}var A=h,$=A.toPos,ee=A.acc,ne=A.endTime,H=A.source,J=ne-Date.now();if(J<=0){f($),h=null,_=!1,y=null;var ie=r.value[t.current];if(ie){var we=ie.getItemId();a("animationfinish",{},{current:t.current,currentItemId:we,source:H})}return}var Y=ee*J*J/2,re=$+Y;f(re),p=requestAnimationFrame(E)}function C(A,$,ee){x();var ne=t.duration,H=r.value.length,J=u;if(c.value)if(ee<0){for(;JA;)J-=H}else if(ee>0){for(;J>A;)J-=H;for(;J+HA;)J-=H;J+H-A0&&v<1||(v=1)}var J=u;u=-2;var ie=t.current;ie>=0?(l=!1,t.userTracking?(f(J+ie-d),d=ie):(f(ie),e.autoplay&&L())):(l=!0,f(-t.displayMultipleItems-1))}U([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var A=-1;if(e.currentItemId)for(var $=0,ee=r.value;$e.vertical,()=>c.value,()=>t.displayMultipleItems,()=>[...r.value]],W),U(()=>t.interval,()=>{s&&(o(),L())});function q(A,$){var ee=g;g="";var ne=r.value;if(!ee){var H=ne.length;C(A,"",c.value&&$+(H-A)%H>H/2?1:0)}var J=ne[A];if(J){var ie=t.currentItemId=J.getItemId();a("change",{},{current:t.current,currentItemId:ie,source:ee})}}U(()=>t.current,(A,$)=>{q(A,$),n("update:current",A)}),U(()=>t.currentItemId,A=>{n("update:currentItemId",A)});function X(A){A?L():o()}U(()=>e.autoplay&&!t.userTracking,X),X(e.autoplay&&!t.userTracking),Oe(()=>{var A=!1,$=0,ee=0;function ne(){o(),d=u,$=0,ee=Date.now(),x()}function H(ie){var we=ee;ee=Date.now();var Y=r.value.length,re=Y-t.displayMultipleItems;function le(Ge){return .5-.25/(Ge+.5)}function ve(Ge,At){var Ie=d+Ge;$=.6*$+.4*At,c.value||(Ie<0||Ie>re)&&(Ie<0?Ie=-le(-Ie):Ie>re&&(Ie=re+le(Ie-re)),$=0),f(Ie)}var Me=ee-we||1,Ce=i.value;e.vertical?ve(-ie.dy/Ce.offsetHeight,-ie.ddy/Me):ve(-ie.dx/Ce.offsetWidth,-ie.ddx/Me)}function J(ie){t.userTracking=!1;var we=$/Math.abs($),Y=0;!ie&&Math.abs($)>.2&&(Y=.5*we);var re=S(u+Y);ie?f(d):(g="touch",t.current=re,C(re,"touch",Y!==0?Y:re===0&&c.value&&u>=1?1:0))}cn(i.value,ie=>{if(!e.disableTouch&&!l){if(ie.detail.state==="start")return t.userTracking=!0,A=!1,ne();if(ie.detail.state==="end")return J(!1);if(ie.detail.state==="cancel")return J(!0);if(t.userTracking){if(!A){A=!0;var we=Math.abs(ie.detail.dx),Y=Math.abs(ie.detail.dy);if((we>=Y&&e.vertical||we<=Y&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&L();return}}return H(ie.detail),!1}}})}),yt(()=>{o(),cancelAnimationFrame(p)});function ce(A){C(t.current=A,g="click",c.value?1:0)}return{onSwiperDotClick:ce}}var nb=he({name:"Swiper",props:tb,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:r}){var i=B(null),n=Pe(i,r),a=B(null),o=B(null),s=rb(e),l=Q(()=>{var c={};return(e.nextMargin||e.previousMargin)&&(c=e.vertical?{left:0,right:0,top:Ut(e.previousMargin,!0),bottom:Ut(e.nextMargin,!0)}:{top:0,bottom:0,left:Ut(e.previousMargin,!0),right:Ut(e.nextMargin,!0)}),c}),u=Q(()=>{var c=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":c,height:e.vertical?c:"100%"}}),v=[],h=[],_=B([]);function d(){for(var c=[],b=function(m){var S=v[m];S instanceof Element||(S=S.el);var x=h.find(E=>S===E.rootRef.value);x&&c.push(Li(x))},f=0;f{v=o.value.children,d()});var y=function(c){h.push(c),d()};Ne("addSwiperContext",y);var g=function(c){var b=h.indexOf(c);b>=0&&(h.splice(b,1),d())};Ne("removeSwiperContext",g);var{onSwiperDotClick:p}=ib(e,s,_,o,r,n);return()=>{var c=t.default&&t.default();return v=go(c),M("uni-swiper",{ref:i},[M("div",{ref:a,class:"uni-swiper-wrapper"},[M("div",{class:"uni-swiper-slides",style:l.value},[M("div",{ref:o,class:"uni-swiper-slide-frame",style:u.value},[c],4)],4),e.indicatorDots&&M("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[_.value.map((b,f,m)=>M("div",{onClick:()=>p(f),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":f=s.current||f{var n=ge("addSwiperContext");n&&n(i)}),yt(()=>{var n=ge("removeSwiperContext");n&&n(i)}),()=>M("uni-swiper-item",{ref:r,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),sb={name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},lb=he({name:"Switch",props:sb,emits:["change"],setup(e,{emit:t}){var r=B(null),i=B(e.checked),n=ub(e,i),a=Pe(r,t);U(()=>e.checked,s=>{i.value=s});var o=s=>{e.disabled||(i.value=!i.value,a("change",s,{value:i.value}))};return n&&(n.addHandler(o),xe(()=>{n.removeHandler(o)})),rn(e,{"label-click":o}),()=>{var{color:s,type:l}=e,u=Br(e,"disabled");return M("uni-switch",Ye({ref:r},u,{onClick:o}),[M("div",{class:"uni-switch-wrapper"},[Cr(M("div",{class:["uni-switch-input",[i.value?"uni-switch-input-checked":""]],style:{backgroundColor:i.value?s:"#DFDFDF",borderColor:i.value?s:"#DFDFDF"}},null,6),[[Nr,l==="switch"]]),Cr(M("div",{class:"uni-checkbox-input"},[i.value?Ji(Zi,e.color,22):""],512),[[Nr,l==="checkbox"]])])],16,["onClick"])}}});function ub(e,t){var r=ge(st,!1),i=ge(Fr,!1),n={submit:()=>{var a=["",null];return e.name&&(a[0]=e.name,a[1]=t.value),a},reset:()=>{t.value=!1}};return r&&(r.addField(n),yt(()=>{r.removeField(n)})),i}var zr={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function fb(e,t){return e.replace(/\\n/g,wr).split(wr).map(r=>cb(r,t))}function cb(e,{space:t,decode:r}){return!e||(t&&zr[t]&&(e=e.replace(/ /g,zr[t])),!r)?e:e.replace(/ /g,zr.nbsp).replace(/ /g,zr.ensp).replace(/ /g,zr.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var vb=fe({},vf,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),yo=!1;function db(){var e="(prefers-color-scheme: dark)";yo=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var hb=he({name:"Textarea",props:vb,emit:["confirm","linechange",...df],setup(e,{emit:t}){var r=B(null),{fieldRef:i,state:n,scopedAttrsState:a,fixDisabledColor:o,trigger:s}=hf(e,r,t),l=Q(()=>n.value.split(wr)),u=Q(()=>["done","go","next","search","send"].includes(e.confirmType)),v=B(0),h=B(null);U(()=>v.value,p=>{var c=r.value,b=h.value,f=parseFloat(getComputedStyle(c).lineHeight);isNaN(f)&&(f=b.offsetHeight);var m=Math.round(p/f);s("linechange",{},{height:p,heightRpx:750/window.innerWidth*p,lineCount:m}),e.autoHeight&&(c.style.height=p+"px")});function _({height:p}){v.value=p}function d(p){s("confirm",p,{value:n.value})}function y(p){p.key==="Enter"&&u.value&&p.preventDefault()}function g(p){if(p.key==="Enter"&&u.value){d(p);var c=p.target;c.blur()}}return db(),()=>{var p=e.disabled&&o?M("textarea",{ref:i,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":yo},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:c=>c.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):M("textarea",{ref:i,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":yo},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:y,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return M("uni-textarea",{ref:r},[M("div",{class:"uni-textarea-wrapper"},[Cr(M("div",Ye(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Nr,!n.value.length]]),M("div",{ref:h,class:"uni-textarea-line"},[" "],512),M("div",{class:"uni-textarea-compute"},[l.value.map(c=>M("div",null,[c.trim()?c:"."])),M(jt,{initial:!0,onResize:_},null,8,["initial","onResize"])]),e.confirmType==="search"?M("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[p],40,["onSubmit"]):p])],512)}}});fe({},Um);function hn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function Pf(e,t,r){!e||ft(r||Ct(),e,({type:i,data:n},a)=>{t(i,n,a)})}function Rf(e){!e||Hd(Ct(),e)}function pn(e,t,r,i){var n=xt(),a=n.proxy;Oe(()=>{Pf(t||hn(a),e,i),(r||!t)&&U(()=>a.id,(o,s)=>{Pf(hn(a,o),e,i),Rf(s&&hn(a,s))})}),xe(()=>{Rf(t||hn(a))})}var pb=0;function gn(e){var t=Qi(),r=xt(),i=r.proxy,n=i.$options.name.toLowerCase(),a=e||i.id||"context".concat(pb++);return Oe(()=>{var o=i.$el;o.__uniContextInfo={id:a,type:n,page:t}}),"".concat(n,".").concat(a)}function gb(e){return e.__uniContextInfo}class Lf extends Uu{constructor(t,r,i,n,a,o=[]){super(t,r,i,n,a,[...tn.props,...o])}call(t){var r={animation:this.$props.animation,$el:this.$};t.call(r)}setAttribute(t,r){return t==="animation"&&(this.$animate=!0),super.setAttribute(t,r)}update(t=!1){if(!!this.$animate){if(t)return this.call(tn.mounted);this.$animate&&(this.$animate=!1,this.call(tn.watch.animation.handler))}}}var mb=["space","decode"];class _b extends Lf{constructor(t,r,i,n){super(t,document.createElement("uni-text"),r,i,n,mb);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update()}update(t=!1){var{$props:{space:r,decode:i}}=this;this.$.textContent=fb(this._text,{space:r,decode:i}).join(wr),super.update(t)}}class bb extends lr{constructor(t,r,i,n){super(t,"#text",r,document.createTextNode(""));this.init(n),this.insert(r,i)}}var fy="",wb=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class yb extends Lf{constructor(t,r,i,n,a,o=[]){super(t,r,i,n,a,[...wb,...o])}update(t=!1){var r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new Sb(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class Sb{constructor(t,r){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=t,this.props=r,this.__hoverTouchStart=this._hoverTouchStart.bind(this),this.__hoverTouchEnd=this._hoverTouchEnd.bind(this),this.__hoverTouchCancel=this._hoverTouchCancel.bind(this)}get hovering(){return this._hovering}set hovering(t){this._hovering=t;var r=this.props["hover-class"];t?this.$.classList.add(r):this.$.classList.remove(r)}addEvent(){this._listening||(this._listening=!0,this.$.addEventListener("touchstart",this.__hoverTouchStart),this.$.addEventListener("touchend",this.__hoverTouchEnd),this.$.addEventListener("touchcancel",this.__hoverTouchCancel))}removeEvent(){!this._listening||(this._listening=!1,this.$.removeEventListener("touchstart",this.__hoverTouchStart),this.$.removeEventListener("touchend",this.__hoverTouchEnd),this.$.removeEventListener("touchcancel",this.__hoverTouchCancel))}_hoverTouchStart(t){if(!t._hoverPropagationStopped){var r=this.props["hover-class"];!r||r==="none"||this.$.disabled||t.touches.length>1||(this.props["hover-stop-propagation"]&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout(()=>{this.hovering=!0,this._hoverTouch||this._hoverReset()},this.props["hover-start-time"]))}}_hoverTouchEnd(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}_hoverReset(){requestAnimationFrame(()=>{clearTimeout(this._hoverStayTimer),this._hoverStayTimer=setTimeout(()=>{this.hovering=!1},this.props["hover-stay-time"])})}_hoverTouchCancel(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}class xb extends yb{constructor(t,r,i,n){super(t,document.createElement("uni-view"),r,i,n)}}function Nf(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function kf(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?Ps+Nf():0}var Df=Symbol("onDraw");function Tb(e){for(var t;e;){var r=getComputedStyle(e),i=r.transform||r.webkitTransform;t=i&&i!=="none"?!1:t,t=r.position==="fixed"?!0:t,e=e.parentElement}return t}function So(e,t){return Q(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var n=e[i];n=i==="src"?ht(n):n,r[i.replace(/[A-Z]/g,a=>"-"+a.toLowerCase())]=n}}),r})}function qr(e){var t=Ee({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=B(!1);function i(){var h=e.value,_=h.getBoundingClientRect(),d=["width","height"];r.value=_.width===0||_.height===0,r.value||(t.position=Tb(h)?"absolute":"static",d.push("top","left")),d.forEach(y=>{var g=_[y];g=y==="top"?g+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:kf()):g,t[y]=g+"px"})}var n=null;function a(){n&&cancelAnimationFrame(n),n=requestAnimationFrame(()=>{n=null,i()})}window.addEventListener("updateview",a);var o=[],s=[];function l(h){s?s.push(h):h()}function u(h){var _=ge(Df),d=y=>{h(y),o.forEach(g=>g(t)),o=null};l(()=>{_?_(d):d({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var v=function(h){o?o.push(h):h(t)};return Ne(Df,v),Oe(()=>{i(),s.forEach(h=>h()),s=null}),xe(()=>{window.removeEventListener("updateview",a)}),{position:t,hidden:r,onParentReady:u}}var Eb=he({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,{emit:t}){var r=B(null),i=B(null),n=Pe(r,t),a=So(e,["id"]),{position:o,onParentReady:s}=qr(i),l;return s(()=>{l=plus.ad.createAdView(Object.assign({},a.value,o)),plus.webview.currentWebview().append(l),l.setDislikeListener(v=>{i.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},v)}),l.setRenderingListener(v=>{v.result===0?(i.value.style.height=v.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:v.result})}),l.setAdClickedListener(()=>{n("adclicked",{},{})}),U(()=>o,v=>l.setStyle(v),{deep:!0}),U(()=>e.adpid,v=>{v&&u()}),U(()=>e.data,v=>{v&&l.renderingBind(v)});function u(){var v={adpid:e.adpid,width:o.width,count:e.dataCount};e.channel!==void 0&&(v.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",v,({code:h,data:_,message:d})=>{h===0?l.renderingBind(_):n("error",{},{errMsg:d})})}e.adpid&&u()}),xe(()=>{l&&l.close()}),()=>M("uni-ad",{ref:r},[M("div",{ref:i,class:"uni-ad-container"},null,512)],512)}});class _e extends lr{constructor(t,r,i,n,a,o,s){super(t,r,n);var l=document.createElement("div");l.__vueParent=Cb(this),this.$props=Ee({}),this.init(o),this.$app=lu(kw(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),te(o,"t")&&this.setText(o.t||""),o.a&&te(o.a,bi)&&lo(this.$,o.a[bi]),this.insert(n,a),Kl()}init(t){var{a:r,e:i,w:n}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(a=>{this.setAttr(a,r[a])})),te(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(a=>{this.addEvent(a,i[a])}),n&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t}addWxsEvent(t,r,i){this.$props[t]=Wu(this.$,r,i)}addEvent(t,r){this.$props[t]=Fu(this.id,r,ta(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===bi)this.$&&lo(this.$,r);else if(t===Os)this.$.__ownerId=r;else if(t===Ms)Ot(()=>Au(this,r),Ou);else if(t===ia){var i=so(this.$||Ke(this.pid).$,r),n=this.$props.style;rt(i)&&rt(n)?Object.keys(i).forEach(a=>{n[a]=i[a]}):this.$props.style=i}else r=so(this.$||Ke(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r)}removeAttr(t){this.$props[t]=null}remove(){this.isUnmounted=!0,this.$app.unmount(),jf(this.id)}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class Xr extends _e{constructor(t,r,i,n,a,o,s){super(t,r,i,n,a,o,s)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return Ot(this.getRebuildFn(),to),super.setText(t)}appendChild(t){return Ot(this.getRebuildFn(),to),super.appendChild(t)}insertBefore(t,r){return Ot(this.getRebuildFn(),to),super.insertBefore(t,r)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function Cb(e){for(;e&&e.pid>0;)if(e=Ke(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function xo(e,t,r){e.childNodes.forEach(i=>{i instanceof Element?i.className.indexOf(t)===-1&&e.removeChild(i):e.removeChild(i)}),e.appendChild(document.createTextNode(r))}class Ob extends _e{constructor(t,r,i,n){super(t,"uni-ad",Eb,r,i,n)}}var cy="";class Mb extends _e{constructor(t,r,i,n){super(t,"uni-button",Km,r,i,n)}}class fr extends lr{constructor(t,r,i,n){super(t,r,i);this.insert(i,n)}}class Ib extends fr{constructor(t,r,i){super(t,"uni-camera",r,i)}}var vy="";class Ab extends _e{constructor(t,r,i,n){super(t,"uni-canvas",i0,r,i,n,"uni-canvas > div")}}var dy="";class Pb extends _e{constructor(t,r,i,n){super(t,"uni-checkbox",f0,r,i,n,".uni-checkbox-wrapper")}setText(t){xo(this.$holder,"uni-checkbox-input",t)}}var hy="";class Rb extends _e{constructor(t,r,i,n){super(t,"uni-checkbox-group",s0,r,i,n)}}var py="",Lb=0;function Bf(e,t,r){var{position:i,hidden:n,onParentReady:a}=qr(e),o,s;a(l=>{var u=Q(()=>{var f={};for(var m in i){var S=i[m],x=parseFloat(S),E=parseFloat(l[m]);if(m==="top"||m==="left")S=Math.max(x,E)+"px";else if(m==="width"||m==="height"){var C=m==="width"?"left":"top",L=parseFloat(l[C]),W=parseFloat(i[C]),q=Math.max(L-W,0),X=Math.max(W+x-(L+E),0);S=Math.max(x-q-X,0)+"px"}f[m]=S}return f}),v=["borderRadius","borderColor","borderWidth","backgroundColor"],h=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],_=[],d={start:"left",end:"right"};function y(f){var m=getComputedStyle(e.value);return v.concat(h,_).forEach(S=>{f[S]=m[S]}),f}var g=Ee(y({})),p=null;s=function(){p&&cancelAnimationFrame(p),p=requestAnimationFrame(()=>{p=null,y(g)})},window.addEventListener("updateview",s);function c(){var f={};for(var m in f){var S=f[m];(m==="top"||m==="left")&&(S=Math.min(parseFloat(S)-parseFloat(l[m]),0)+"px"),f[m]=S}return f}var b=Q(()=>{var f=c(),m=[{tag:"rect",position:f,rectStyles:{color:g.backgroundColor,radius:g.borderRadius,borderColor:g.borderColor,borderWidth:g.borderWidth}}];if("src"in r)r.src&&m.push({tag:"img",position:f,src:r.src});else{var S=parseFloat(g.lineHeight)-parseFloat(g.fontSize),x=parseFloat(f.width)-parseFloat(g.paddingLeft)-parseFloat(g.paddingRight);x=x<0?0:x;var E=parseFloat(f.height)-parseFloat(g.paddingTop)-S/2-parseFloat(g.paddingBottom);E=E<0?0:E,m.push({tag:"font",position:{top:"".concat(parseFloat(f.top)+parseFloat(g.paddingTop)+S/2,"px"),left:"".concat(parseFloat(f.left)+parseFloat(g.paddingLeft),"px"),width:"".concat(x,"px"),height:"".concat(E,"px")},textStyles:{align:d[g.textAlign]||g.textAlign,color:g.color,decoration:"none",lineSpacing:"".concat(S,"px"),margin:"0px",overflow:g.textOverflow,size:g.fontSize,verticalAlign:"top",weight:g.fontWeight,whiteSpace:g.whiteSpace},text:r.text})}return m});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(Lb++),u.value,b.value),plus.webview.currentWebview().append(o),n.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),U(()=>n.value,f=>{o[f?"hide":"show"]()}),U(()=>u.value,f=>{o.setStyle(f)},{deep:!0}),U(()=>b.value,()=>{o.reset(),o.draw(b.value)},{deep:!0})}),xe(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var Nb="_doc/uniapp_temp/",kb={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function Db(e,t,r){var i=B(""),n;function a(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?ht(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(n=plus.downloader.createDownload(s,{filename:Nb+"/download/"},(l,u)=>{u===200?o(l.filename):r("error",{},{errMsg:"error"})}),n.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:({width:l,height:u})=>{e.autoSize&&(i.value="width:".concat(l,"px;height:").concat(u,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:l,height:u})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&a(),U(()=>e.src,a),xe(()=>{n&&n.abort()}),i}var Ff=he({name:"CoverImage",props:kb,emits:["click","load","error"],setup(e,{emit:t}){var r=B(null),i=Pe(r,t),n=Ee({src:""}),a=Db(e,n,i);return Bf(r,i,n),()=>M("uni-cover-image",{ref:r,style:a.value},[M("div",{class:"uni-cover-image"},null)],4)}});class Bb extends _e{constructor(t,r,i,n){super(t,"uni-cover-image",Ff,r,i,n)}}var gy="",Fb=he({name:"CoverView",emits:["click"],setup(e,{emit:t}){var r=B(null),i=B(null),n=Pe(r,t),a=Ee({text:""});return Bf(r,n,a),jr(()=>{var o=i.value.childNodes[0];a.text=o&&o instanceof Text?o.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>M("uni-cover-view",{ref:r},[M("div",{ref:i,class:"uni-cover-view"},null,512)],512)}});class $b extends Xr{constructor(t,r,i,n){super(t,"uni-cover-view",Fb,r,i,n,".uni-cover-view")}}var my="";class Wb extends _e{constructor(t,r,i,n){super(t,"uni-editor",N0,r,i,n)}}var _y="";class Ub extends _e{constructor(t,r,i,n){super(t,"uni-form",Hm,r,i,n,"span")}}class Vb extends fr{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var by="";class jb extends _e{constructor(t,r,i,n){super(t,"uni-icon",F0,r,i,n)}}var wy="";class Hb extends _e{constructor(t,r,i,n){super(t,"uni-image",U0,r,i,n)}}var yy="";class Yb extends _e{constructor(t,r,i,n){super(t,"uni-input",s_,r,i,n)}}var Sy="";class zb extends _e{constructor(t,r,i,n){super(t,"uni-label",qm,r,i,n)}}class qb extends fr{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class Xb extends fr{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var xy="",Kb=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function To(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.substr(7,2);return{color:e.substr(0,7),opacity:t?Number("0x"+t)/255:1}}var Gb={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},Zb=he({name:"Map",props:Gb,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,{emit:t}){var r=B(null),i=Pe(r,t),n=B(null),a=So(e,["id"]),{position:o,hidden:s,onParentReady:l}=qr(n),u,{_addMarkers:v,_addMapLines:h,_addMapCircles:_,_setMap:d}=Jb(e,i);l(()=>{u=fe(plus.maps.create(Ct()+"-map-"+(e.id||Date.now()),Object.assign({},a.value,o,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[]}),u.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(u),s.value&&u.hide(),u.onclick=g=>{i("click",{},g)},u.onstatuschanged=g=>{i("regionchange",{},{})},d(u),v(e.markers),h(e.polyline),_(e.circles),U(()=>a.value,g=>u&&u.setStyles(g),{deep:!0}),U(()=>o,g=>u&&u.setStyles(g),{deep:!0}),U(s,g=>{u&&u[g?"hide":"show"]()}),U(()=>e.scale,g=>{u&&u.setZoom(parseInt(String(g)))}),U([()=>e.latitude,()=>e.longitude],([g,p])=>{u&&u.setStyles({center:new plus.maps.Point(Number(g),Number(p))})}),U(()=>e.markers,g=>{v(g,!0)},{deep:!0}),U(()=>e.polyline,g=>{h(g)},{deep:!0}),U(()=>e.circles,g=>{_(g)},{deep:!0})});var y=Q(()=>e.controls.map(g=>{var p={position:"absolute"};return["top","left","width","height"].forEach(c=>{g.position[c]&&(p[c]=g.position[c]+"px")}),{id:g.id,iconPath:ht(g.iconPath),position:p,clickable:g.clickable}}));return xe(()=>{u&&(u.close(),d(null))}),()=>M("uni-map",{ref:r,id:e.id},[M("div",{ref:n,class:"uni-map-container"},null,512),y.value.map((g,p)=>M(Ff,{key:p,src:g.iconPath,style:g.position,"auto-size":!0,onClick:()=>g.clickable&&i("controltap",{},{controlId:g.id})},null,8,["src","style","auto-size","onClick"])),M("div",{class:"uni-map-slot"},null)],8,["id"])}});function Jb(e,t){var r;function i(d,{longitude:y,latitude:g}={}){!r||(r.setCenter(new plus.maps.Point(Number(y||e.longitude),Number(g||e.latitude))),d({errMsg:"moveToLocation:ok"}))}function n(d){!r||r.getCurrentCenter((y,g)=>{d({longitude:g.getLng(),latitude:g.getLat(),errMsg:"getCenterLocation:ok"})})}function a(d){if(!!r){var y=r.getBounds();d({southwest:y.getSouthWest(),northeast:y.getNorthEast(),errMsg:"getRegion:ok"})}}function o(d){!r||d({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(d){if(!!r){var{id:y,latitude:g,longitude:p,iconPath:c,callout:b,label:f}=d;Kb(p,g,m=>{var S,{latitude:x,longitude:E}=m.coord,C=new plus.maps.Marker(new plus.maps.Point(E,x));c&&C.setIcon(ht(c)),f&&f.content&&C.setLabel(f.content);var L=void 0;b&&b.content&&(L=new plus.maps.Bubble(b.content)),L&&C.setBubble(L),(y||y===0)&&(C.onclick=W=>{t("markertap",{},{markerId:y})},L&&(L.onclick=()=>{t("callouttap",{},{markerId:y})})),(S=r)===null||S===void 0||S.addOverlay(C),r.__markers__.push(C)})}}function l(){if(!!r){var d=r.__markers__;d.forEach(y=>{var g;(g=r)===null||g===void 0||g.removeOverlay(y)}),r.__markers__=[]}}function u(d,y){y&&l(),d.forEach(g=>{s(g)})}function v(d){!r||(r.__lines__.length>0&&(r.__lines__.forEach(y=>{var g;(g=r)===null||g===void 0||g.removeOverlay(y)}),r.__lines__=[]),d.forEach(y=>{var g,{color:p,width:c}=y,b=y.points.map(S=>new plus.maps.Point(S.longitude,S.latitude)),f=new plus.maps.Polyline(b);if(p){var m=To(p);f.setStrokeColor(m.color),f.setStrokeOpacity(m.opacity)}c&&f.setLineWidth(c),(g=r)===null||g===void 0||g.addOverlay(f),r.__lines__.push(f)}))}function h(d){!r||(r.__circles__.length>0&&(r.__circles__.forEach(y=>{var g;(g=r)===null||g===void 0||g.removeOverlay(y)}),r.__circles__=[]),d.forEach(y=>{var g,{latitude:p,longitude:c,color:b,fillColor:f,radius:m,strokeWidth:S}=y,x=new plus.maps.Circle(new plus.maps.Point(c,p),m);if(b){var E=To(b);x.setStrokeColor(E.color),x.setStrokeOpacity(E.opacity)}if(f){var C=To(f);x.setFillColor(C.color),x.setFillOpacity(C.opacity)}S&&x.setLineWidth(S),(g=r)===null||g===void 0||g.addOverlay(x),r.__circles__.push(x)}))}var _={moveToLocation:i,getCenterLocation:n,getRegion:a,getScale:o};return pn((d,y,g)=>{_[d]&&_[d](g,y)},gn(),!0),{_addMarkers:u,_addMapLines:v,_addMapCircles:h,_setMap(d){r=d}}}class Qb extends _e{constructor(t,r,i,n){super(t,"uni-map",Zb,r,i,n,".uni-map-slot")}}var Ty="";class ew extends Xr{constructor(t,r,i,n){super(t,"uni-movable-area",v_,r,i,n)}}var Ey="";class tw extends _e{constructor(t,r,i,n){super(t,"uni-movable-view",p_,r,i,n)}}var Cy="";class rw extends _e{constructor(t,r,i,n){super(t,"uni-navigator",b_,r,i,n)}}class iw extends fr{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class nw extends fr{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var qt,$f,cr;function Wf(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function Uf(){return qt.webview.currentWebview().id}var mn,Eo,Co={};function Oo(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Co[r];i&&i(t),t.keep||delete Co[r]}}function aw(e,t){Wf()==="v8"?cr?(mn&&mn.close(),mn=new cr(Uf()),mn.onmessage=Oo):Eo||(Eo=$f.requireModule("globalEvent"),Eo.addEventListener("plusMessage",Oo)):window.__plusMessage=Oo,Co[e]=t}class ow{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(cr){var n=new cr(i);n.postMessage(r)}else qt.webview.postMessageToUniNView&&qt.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function sw({context:e={},url:t,data:r={},style:i={},onMessage:n,onClose:a}){qt=e.plus||plus,$f=e.weex||(typeof weex=="object"?weex:null),cr=e.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var o={autoBackButton:!0,titleSize:"17px"},s="page".concat(Date.now());i=fe({},i),i.titleNView!==!1&&i.titleNView!=="none"&&(i.titleNView=fe(o,i.titleNView));var l={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"".concat(typeof process=="object"&&process.env&&{}.VUE_APP_TEMPLATE_PATH||"","/").concat(t,".js"),defaultFontSize:qt.screen.resolutionWidth/20,viewport:qt.screen.resolutionWidth}};i=fe(l,i);var u=qt.webview.create("",s,i,{extras:{from:Uf(),runtime:Wf(),data:r,useGlobalEvent:!cr}});return u.addEventListener("close",a),aw(s,v=>{typeof n=="function"&&n(v.data),v.keep||u.close("auto")}),u.show(i.animationType,i.animationDuration),new ow(u)}var Te={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},vr={YEAR:"year",MONTH:"month",DAY:"day"};function _n(e){return e>9?e:"0".concat(e)}function bn(e,t){e=String(e||"");var r=new Date;if(t===Te.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var n=e.split("-");n.length===3&&r.setFullYear(parseInt(n[0]),parseInt(String(parseFloat(n[1])-1)),parseInt(n[2]))}return r}function lw(e){if(e.mode===Te.TIME)return"00:00";if(e.mode===Te.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case vr.YEAR:return t;case vr.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function uw(e){if(e.mode===Te.TIME)return"23:59";if(e.mode===Te.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case vr.YEAR:return t;case vr.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var fw={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Te.SELECTOR,validator(e){return Object.values(Te).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:lw},end:{type:String,default:uw},disabled:{type:[Boolean,String],default:!1}},cw=he({name:"Picker",props:fw,emits:["change","cancel","columnchange"],setup(e,{emit:t}){Fd();var{t:r,getLocale:i}=je(),n=B(null),a=Pe(n,t),o=B(null),s=B(null),l=()=>{var p=e.value;switch(e.mode){case Te.MULTISELECTOR:{Array.isArray(p)||(p=[]),Array.isArray(o.value)||(o.value=[]);for(var c=o.value.length=Math.max(p.length,e.range.length),b=0;b{s.value&&s.value.sendMessage(p)},v=p=>{var c={event:"cancel"};s.value=sw({url:"__uniapppicker",data:p,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:b=>{var f=b.event;if(f==="created"){u(p);return}if(f==="columnchange"){delete b.event,a(f,{},b);return}c=b},onClose:()=>{s.value=null;var b=c.event;delete c.event,b&&a(b,{},c)}})},h=(p,c)=>{plus.nativeUI[e.mode===Te.TIME?"pickTime":"pickDate"](b=>{var f=b.date;a("change",{},{value:e.mode===Te.TIME?"".concat(_n(f.getHours()),":").concat(_n(f.getMinutes())):"".concat(f.getFullYear(),"-").concat(_n(f.getMonth()+1),"-").concat(_n(f.getDate()))})},()=>{a("cancel",{},{})},e.mode===Te.TIME?{time:bn(e.value,Te.TIME),popover:c}:{date:bn(e.value,Te.DATE),minDate:bn(e.start,Te.DATE),maxDate:bn(e.end,Te.DATE),popover:c})},_=(p,c)=>{(p.mode===Te.TIME||p.mode===Te.DATE)&&!p.fields?h(p,c):(p.fields=Object.values(vr).includes(p.fields)?p.fields:vr.DAY,v(p))},d=p=>{if(!e.disabled){var c=p.currentTarget,b=c.getBoundingClientRect();_(Object.assign({},e,{value:o.value,locale:i(),messages:{done:r("uni.picker.done"),cancel:r("uni.picker.cancel")}}),{top:b.top+kf(),left:b.left,width:b.width,height:b.height})}},y=ge(st,!1),g={submit:()=>[e.name,o.value],reset:()=>{switch(e.mode){case Te.SELECTOR:o.value=0;break;case Te.MULTISELECTOR:Array.isArray(e.value)&&(o.value=e.value.map(p=>0));break;case Te.DATE:case Te.TIME:o.value="";break}}};return y&&(y.addField(g),xe(()=>y.removeField(g))),Object.keys(e).forEach(p=>{p!=="name"&&U(()=>e[p],c=>{var b={};b[p]=c,u(b)},{deep:!0})}),U(()=>e.value,l,{deep:!0}),l(),()=>M("uni-picker",{ref:n,onClick:d},[M("slot",null,null)],8,["onClick"])}});class vw extends _e{constructor(t,r,i,n){super(t,"uni-picker",cw,r,i,n)}}var Oy="";class dw extends Xr{constructor(t,r,i,n){super(t,"uni-picker-view",S_,r,i,n,".uni-picker-view-wrapper")}}var My="";class hw extends Xr{constructor(t,r,i,n){super(t,"uni-picker-view-column",A_,r,i,n,".uni-picker-view-content")}}var Iy="";class pw extends _e{constructor(t,r,i,n){super(t,"uni-progress",R_,r,i,n)}}var Ay="";class gw extends _e{constructor(t,r,i,n){super(t,"uni-radio",F_,r,i,n,".uni-radio-wrapper")}setText(t){xo(this.$holder,"uni-radio-input",t)}}var Py="";class mw extends _e{constructor(t,r,i,n){super(t,"uni-radio-group",k_,r,i,n)}}var Ry="";class _w extends _e{constructor(t,r,i,n){super(t,"uni-rich-text",Y_,r,i,n)}}var Ly="";class bw extends _e{constructor(t,r,i,n){super(t,"uni-scroll-view",q_,r,i,n,".uni-scroll-view-content")}setText(t){xo(this.$holder,"uni-scroll-view-refresher",t)}}var Ny="";class ww extends _e{constructor(t,r,i,n){super(t,"uni-slider",Z_,r,i,n)}}var ky="";class yw extends Xr{constructor(t,r,i,n){super(t,"uni-swiper",nb,r,i,n,".uni-swiper-slide-frame")}}var Dy="";class Sw extends _e{constructor(t,r,i,n){super(t,"uni-swiper-item",ob,r,i,n)}}var By="";class xw extends _e{constructor(t,r,i,n){super(t,"uni-switch",lb,r,i,n)}}var Fy="";class Tw extends _e{constructor(t,r,i,n){super(t,"uni-textarea",hb,r,i,n)}}var $y="",Ew={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},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},enablePlayGesture:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0},showLoading:{type:[Boolean,String],default:!0},codec:{type:String,default:"hardware"},httpCache:{type:[Boolean,String],default:!1},playStrategy:{type:[Number,String],default:0},header:{type:Object,default(){return{}}},advanced:{type:Array,default(){return[]}}},Vf=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],Cw=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],Ow=he({name:"Video",props:Ew,emits:Vf,setup(e,{emit:t}){var r=B(null),i=Pe(r,t),n=B(null),a=So(e,["id"]),{position:o,hidden:s,onParentReady:l}=qr(n),u;l(()=>{u=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},a.value,o)),plus.webview.currentWebview().append(u),s.value&&u.hide(),Vf.forEach(h=>{u.addEventListener(h,_=>{i(h,{},_.detail)})}),U(()=>a.value,h=>u.setStyles(h),{deep:!0}),U(()=>o,h=>u.setStyles(h),{deep:!0}),U(()=>s.value,h=>{u[h?"hide":"show"](),h||u.setStyles(o)})});var v=gn();return pn((h,_)=>{if(Cw.includes(h)){var d;switch(h){case"seek":d=_.position;break;case"sendDanmu":d=_;break;case"playbackRate":d=_.rate;break;case"requestFullScreen":d=_.direction;break}u&&u[h](d)}},v,!0),xe(()=>{u&&u.close()}),()=>M("uni-video",{ref:r,id:e.id},[M("div",{ref:n,class:"uni-video-container"},null,512),M("div",{class:"uni-video-slot"},null)],8,["id"])}});class Mw extends _e{constructor(t,r,i,n){super(t,"uni-video",Ow,r,i,n,".uni-video-slot")}}var Wy="",Iw={src:{type:String,default:""},webviewStyles:{type:Object,default(){return{}}}},Xe,Aw=({htmlId:e,src:t,webviewStyles:r})=>{var i=plus.webview.currentWebview(),n=fe(r,{"uni-app":"none",isUniH5:!0}),a=i.getTitleNView();if(a){var o=Ps+parseFloat(n.top||"0");plus.navigator.isImmersedStatusbar()&&(o+=Nf()),n.top=String(o),n.bottom=n.bottom||"0"}Xe=plus.webview.create(t,e,n),a&&Xe.addEventListener("titleUpdate",function(){var s,l=(s=Xe)===null||s===void 0?void 0:s.getTitle();i.setStyle({titleNView:{titleText:!l||l==="null"?" ":l}})}),plus.webview.currentWebview().append(Xe)},Pw=()=>{var e;plus.webview.currentWebview().remove(Xe),(e=Xe)===null||e===void 0||e.close("none"),Xe=null},Rw=he({name:"WebView",props:Iw,setup(e){var t=Ct(),r=B(null),{hidden:i,onParentReady:n}=qr(r),a=Q(()=>e.webviewStyles);return n(()=>{var o,s=B(Bg+t);Aw({htmlId:s.value,src:ht(e.src),webviewStyles:a.value}),UniViewJSBridge.publishHandler(kg,{},t),i.value&&((o=Xe)===null||o===void 0||o.hide())}),xe(()=>{Pw(),UniViewJSBridge.publishHandler(Dg,{},t)}),U(()=>e.src,o=>{var s,l=ht(o)||"";if(!!l){if(/^(http|https):\/\//.test(l)&&e.webviewStyles.progress){var u;(u=Xe)===null||u===void 0||u.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=Xe)===null||s===void 0||s.loadURL(l)}}),U(a,o=>{var s;(s=Xe)===null||s===void 0||s.setStyle(o)}),U(i,o=>{Xe&&Xe[o?"hide":"show"]()}),()=>M("uni-web-view",{ref:r},null,512)}});class Lw extends _e{constructor(t,r,i,n){super(t,"uni-web-view",Rw,r,i,n)}}var Nw={"#text":bb,"#comment":Bm,VIEW:xb,IMAGE:Hb,TEXT:_b,NAVIGATOR:rw,FORM:Ub,BUTTON:Mb,INPUT:Yb,LABEL:zb,RADIO:gw,CHECKBOX:Pb,"CHECKBOX-GROUP":Rb,AD:Ob,CAMERA:Ib,CANVAS:Ab,"COVER-IMAGE":Bb,"COVER-VIEW":$b,EDITOR:Wb,"FUNCTIONAL-PAGE-NAVIGATOR":Vb,ICON:jb,"RADIO-GROUP":mw,"LIVE-PLAYER":qb,"LIVE-PUSHER":Xb,MAP:Qb,"MOVABLE-AREA":ew,"MOVABLE-VIEW":tw,"OFFICIAL-ACCOUNT":iw,"OPEN-DATA":nw,PICKER:vw,"PICKER-VIEW":dw,"PICKER-VIEW-COLUMN":hw,PROGRESS:pw,"RICH-TEXT":_w,"SCROLL-VIEW":bw,SLIDER:ww,SWIPER:yw,"SWIPER-ITEM":Sw,SWITCH:xw,TEXTAREA:Tw,VIDEO:Mw,"WEB-VIEW":Lw};function kw(e,t){return()=>kp(e,t)}var Mo=new Map;function Ke(e){return Mo.get(e)}function jf(e){return Mo.delete(e)}function Hf(e,t,r,i,n={}){var a;if(e===0)a=new lr(e,t,r,document.createElement(t));else{var o=Nw[t];o?a=new o(e,r,i,n):a=new Uu(e,document.createElement(t),r,i,n)}return Mo.set(e,a),a}var Io=[],Yf=!1;function zf(e){if(Yf)return e();Io.push(e)}function Ao(){Yf=!0,Io.forEach(e=>e()),Io.length=0}function Dw(){}function qf({css:e,route:t,platform:r,pixelRatio:i,windowWidth:n,disableScroll:a,statusbarHeight:o,windowTop:s,windowBottom:l}){Bw(t),Fw(r,i,n),$w();var u=plus.webview.currentWebview().id;window.__id__=u,document.title="".concat(t,"[").concat(u,"]"),Uw(o,s,l),a&&document.addEventListener("touchmove",Eg),e?Ww(t):Ao()}function Bw(e){window.__PAGE_INFO__={route:e}}function Fw(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function $w(){Hf(0,"div",-1,-1).$=document.getElementById("app")}function Ww(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Ao,t.onerror=Ao,document.head.appendChild(t)}function Uw(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};hg(i)}var Xf=!1;function Vw(e){if(!Xf){Xf=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(bd,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(wd)}};requestAnimationFrame(()=>document.addEventListener("scroll",Cg(t)))}}function jw({scrollTop:e,selector:t,duration:r},i){qv(t||e||0,r),i()}function Hw(e){var t=e[0];t[0]===Is?Yw(t):zf(()=>zw(e))}function Yw(e){return qf(e[1])}function zw(e){var t=e[0],r=mm(t[0]===Ng?t[1]:[]);e.forEach(i=>{switch(i[0]){case Is:return qf(i[1]);case td:return Dw();case rd:return Hf(i[1],r(i[2]),i[3],i[4],_m(r,i[5]));case id:return Ke(i[1]).remove();case nd:return Ke(i[1]).setAttr(r(i[2]),r(i[3]));case ad:return Ke(i[1]).removeAttr(r(i[2]));case od:return Ke(i[1]).addEvent(r(i[2]),i[3]);case ud:return Ke(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case sd:return Ke(i[1]).removeEvent(r(i[2]));case ld:return Ke(i[1]).setText(r(i[2]));case fd:return Vw(i[1])}}),Sm()}function qw(){var{subscribe:e}=UniViewJSBridge;e(_u,Hw),e(Fg,je().setLocale)}function Kf(e){return window.__$__(e).$}function Xw(e){var t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){var r=document.documentElement,i=document.body;t.scrollLeft=r.scrollLeft||i.scrollLeft||0,t.scrollTop=r.scrollTop||i.scrollTop||0,t.scrollHeight=r.scrollHeight||i.scrollHeight||0,t.scrollWidth=r.scrollWidth||i.scrollWidth||0}return t}function Po(e,t){var r={},{top:i}=dg();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=Jn(e)),t.rect||t.size){var n=e.getBoundingClientRect();t.rect&&(r.left=n.left,r.right=n.right,r.top=n.top-i,r.bottom=n.bottom-i),t.size&&(r.width=n.width,r.height=n.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(l,u){return u.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var a=e.children[0].children[0];r.scrollLeft=a.scrollLeft,r.scrollTop=a.scrollTop,r.scrollHeight=a.scrollHeight,r.scrollWidth=a.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=gb(e)),r}function Kw(e,t){return e?window.__$__(e).$:t.$el}function Gf(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var n=this.parentElement.querySelectorAll(i),a=n.length;--a>=0&&n.item(a)!==this;);return a>-1};return r.call(e,t)}function Gw(e,t,r,i,n){var a=Kw(t,e),o=a.parentElement;if(!o)return i?null:[];var{nodeType:s}=a,l=s===3||s===8;if(i){var u=l?o.querySelector(r):Gf(a,r)?a:a.querySelector(r);return u?Po(u,n):null}else{var v=[],h=(l?o:a).querySelectorAll(r);return h&&h.length&&[].forEach.call(h,_=>{v.push(Po(_,n))}),!l&&Gf(a,r)&&v.unshift(Po(a,n)),v}}function Zw(e,t,r){var i=[];t.forEach(({component:n,selector:a,single:o,fields:s})=>{n===null?i.push(Xw(s)):i.push(Gw(e,n,a,o,s))}),r(i)}function Jw({reqId:e,component:t,options:r,callback:i},n){var a=Kf(t);(a.__io||(a.__io={}))[e]=um(a,r,i)}function Qw({reqId:e,component:t},r){var i=Kf(t),n=i.__io&&i.__io[e];n&&(n.disconnect(),delete i.__io[e])}var Ro={},Lo={};function ey(e){var t=[],r=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(var i of r)i!=="orientation"&&e[i]&&Number(e[i]>=0)&&t.push("(".concat(Zf(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Zf(i),": ").concat(e[i],")"));var n=t.join(" and ");return n}function Zf(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function ty({reqId:e,component:t,options:r,callback:i},n){var a=Ro[e]=window.matchMedia(ey(r)),o=Lo[e]=s=>i(s.matches);o(a),a.addListener(o)}function ry({reqId:e,component:t},r){var i=Lo[e],n=Ro[e];n&&(n.removeListener(i),delete Lo[e],delete Ro[e])}function iy({family:e,source:t,desc:r},i){zv(e,t,r).then(()=>{i()}).catch(n=>{i(n.toString())})}var ny={$el:document.body};function ay(){var e=Ct();jd(e,t=>(...r)=>{zf(()=>{t.apply(null,r)})}),ft(e,"requestComponentInfo",(t,r)=>{Zw(ny,t.reqs,r)}),ft(e,"addIntersectionObserver",t=>{Jw(fe({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),ft(e,"removeIntersectionObserver",t=>{Qw(t)}),ft(e,"addMediaQueryObserver",t=>{ty(fe({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),ft(e,"removeMediaQueryObserver",t=>{ry(t)}),ft(e,om,jw),ft(e,am,iy)}window.uni=pm,window.UniViewJSBridge=bu,window.rpx2px=Tu,window.__$__=Ke,window.__f__=Zv;function Jf(){Jd(),ay(),qw(),gm(),bu.publishHandler(Lg)}typeof plus!="undefined"?Jf():document.addEventListener("plusready",Jf)}); +(function(wn){typeof define=="function"&&define.amd?define(wn):wn()})(function(){"use strict";var wn="",oy="",sy="",Gt={exports:{}},Zr={exports:{}},Jr={exports:{}},rc=Jr.exports={version:"2.6.12"};typeof __e=="number"&&(__e=rc);var gt={exports:{}},Qr=gt.exports=typeof Qr!="undefined"&&Qr.Math==Math?Qr:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=Qr);var ic=Jr.exports,ko=gt.exports,Do="__core-js_shared__",Bo=ko[Do]||(ko[Do]={});(Zr.exports=function(e,t){return Bo[e]||(Bo[e]=t!==void 0?t:{})})("versions",[]).push({version:ic.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var nc=0,ac=Math.random(),yn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++nc+ac).toString(36))},Sn=Zr.exports("wks"),oc=yn,xn=gt.exports.Symbol,Fo=typeof xn=="function",sc=Gt.exports=function(e){return Sn[e]||(Sn[e]=Fo&&xn[e]||(Fo?xn:oc)("Symbol."+e))};sc.store=Sn;var ei={},Tn=function(e){return typeof e=="object"?e!==null:typeof e=="function"},lc=Tn,En=function(e){if(!lc(e))throw TypeError(e+" is not an object!");return e},ti=function(e){try{return!!e()}catch(t){return!0}},hr=!ti(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),$o=Tn,Cn=gt.exports.document,uc=$o(Cn)&&$o(Cn.createElement),Wo=function(e){return uc?Cn.createElement(e):{}},fc=!hr&&!ti(function(){return Object.defineProperty(Wo("div"),"a",{get:function(){return 7}}).a!=7}),ri=Tn,cc=function(e,t){if(!ri(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ri(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ri(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ri(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Uo=En,vc=fc,dc=cc,hc=Object.defineProperty;ei.f=hr?Object.defineProperty:function(t,r,i){if(Uo(t),r=dc(r,!0),Uo(i),vc)try{return hc(t,r,i)}catch(n){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var Vo=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},pc=ei,gc=Vo,Zt=hr?function(e,t,r){return pc.f(e,t,gc(1,r))}:function(e,t,r){return e[t]=r,e},On=Gt.exports("unscopables"),Mn=Array.prototype;Mn[On]==null&&Zt(Mn,On,{});var mc=function(e){Mn[On][e]=!0},_c=function(e,t){return{value:t,done:!!e}},In={},bc={}.toString,wc=function(e){return bc.call(e).slice(8,-1)},yc=wc,Sc=Object("z").propertyIsEnumerable(0)?Object:function(e){return yc(e)=="String"?e.split(""):Object(e)},jo=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},xc=Sc,Tc=jo,ii=function(e){return xc(Tc(e))},ni={exports:{}},Ec={}.hasOwnProperty,ai=function(e,t){return Ec.call(e,t)},Cc=Zr.exports("native-function-to-string",Function.toString),Oc=gt.exports,oi=Zt,Ho=ai,An=yn("src"),Pn=Cc,Yo="toString",Mc=(""+Pn).split(Yo);Jr.exports.inspectSource=function(e){return Pn.call(e)},(ni.exports=function(e,t,r,i){var n=typeof r=="function";n&&(Ho(r,"name")||oi(r,"name",t)),e[t]!==r&&(n&&(Ho(r,An)||oi(r,An,e[t]?""+e[t]:Mc.join(String(t)))),e===Oc?e[t]=r:i?e[t]?e[t]=r:oi(e,t,r):(delete e[t],oi(e,t,r)))})(Function.prototype,Yo,function(){return typeof this=="function"&&this[An]||Pn.call(this)});var zo=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},Ic=zo,Ac=function(e,t,r){if(Ic(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,a){return e.call(t,i,n,a)}}return function(){return e.apply(t,arguments)}},Jt=gt.exports,si=Jr.exports,Pc=Zt,Rc=ni.exports,qo=Ac,Rn="prototype",Be=function(e,t,r){var i=e&Be.F,n=e&Be.G,a=e&Be.S,o=e&Be.P,s=e&Be.B,l=n?Jt:a?Jt[t]||(Jt[t]={}):(Jt[t]||{})[Rn],u=n?si:si[t]||(si[t]={}),v=u[Rn]||(u[Rn]={}),h,b,d,y;n&&(r=t);for(h in r)b=!i&&l&&l[h]!==void 0,d=(b?l:r)[h],y=s&&b?qo(d,Jt):o&&typeof d=="function"?qo(Function.call,d):d,l&&Rc(l,h,d,e&Be.U),u[h]!=d&&Pc(u,h,y),o&&v[h]!=d&&(v[h]=d)};Jt.core=si,Be.F=1,Be.G=2,Be.S=4,Be.P=8,Be.B=16,Be.W=32,Be.U=64,Be.R=128;var Ln=Be,Lc=Math.ceil,Nc=Math.floor,Xo=function(e){return isNaN(e=+e)?0:(e>0?Nc:Lc)(e)},kc=Xo,Dc=Math.min,Bc=function(e){return e>0?Dc(kc(e),9007199254740991):0},Fc=Xo,$c=Math.max,Wc=Math.min,Uc=function(e,t){return e=Fc(e),e<0?$c(e+t,0):Wc(e,t)},Vc=ii,jc=Bc,Hc=Uc,Yc=function(e){return function(t,r,i){var n=Vc(t),a=jc(n.length),o=Hc(i,a),s;if(e&&r!=r){for(;a>o;)if(s=n[o++],s!=s)return!0}else for(;a>o;o++)if((e||o in n)&&n[o]===r)return e||o||0;return!e&&-1}},Ko=Zr.exports("keys"),zc=yn,Nn=function(e){return Ko[e]||(Ko[e]=zc(e))},Go=ai,qc=ii,Xc=Yc(!1),Kc=Nn("IE_PROTO"),Gc=function(e,t){var r=qc(e),i=0,n=[],a;for(a in r)a!=Kc&&Go(r,a)&&n.push(a);for(;t.length>i;)Go(r,a=t[i++])&&(~Xc(n,a)||n.push(a));return n},Zo="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Zc=Gc,Jc=Zo,kn=Object.keys||function(t){return Zc(t,Jc)},Qc=ei,ev=En,tv=kn,rv=hr?Object.defineProperties:function(t,r){ev(t);for(var i=tv(r),n=i.length,a=0,o;n>a;)Qc.f(t,o=i[a++],r[o]);return t},Jo=gt.exports.document,iv=Jo&&Jo.documentElement,nv=En,av=rv,Qo=Zo,ov=Nn("IE_PROTO"),Dn=function(){},Bn="prototype",li=function(){var e=Wo("iframe"),t=Qo.length,r="<",i=">",n;for(e.style.display="none",iv.appendChild(e),e.src="javascript:",n=e.contentWindow.document,n.open(),n.write(r+"script"+i+"document.F=Object"+r+"/script"+i),n.close(),li=n.F;t--;)delete li[Bn][Qo[t]];return li()},sv=Object.create||function(t,r){var i;return t!==null?(Dn[Bn]=nv(t),i=new Dn,Dn[Bn]=null,i[ov]=t):i=li(),r===void 0?i:av(i,r)},lv=ei.f,uv=ai,es=Gt.exports("toStringTag"),ts=function(e,t,r){e&&!uv(e=r?e:e.prototype,es)&&lv(e,es,{configurable:!0,value:t})},fv=sv,cv=Vo,vv=ts,rs={};Zt(rs,Gt.exports("iterator"),function(){return this});var dv=function(e,t,r){e.prototype=fv(rs,{next:cv(1,r)}),vv(e,t+" Iterator")},hv=jo,is=function(e){return Object(hv(e))},pv=ai,gv=is,ns=Nn("IE_PROTO"),mv=Object.prototype,_v=Object.getPrototypeOf||function(e){return e=gv(e),pv(e,ns)?e[ns]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?mv:null},Fn=Ln,bv=ni.exports,as=Zt,os=In,wv=dv,yv=ts,Sv=_v,pr=Gt.exports("iterator"),$n=!([].keys&&"next"in[].keys()),xv="@@iterator",ss="keys",ui="values",ls=function(){return this},Tv=function(e,t,r,i,n,a,o){wv(r,t,i);var s=function(f){if(!$n&&f in h)return h[f];switch(f){case ss:return function(){return new r(this,f)};case ui:return function(){return new r(this,f)}}return function(){return new r(this,f)}},l=t+" Iterator",u=n==ui,v=!1,h=e.prototype,b=h[pr]||h[xv]||n&&h[n],d=b||s(n),y=n?u?s("entries"):d:void 0,g=t=="Array"&&h.entries||b,p,c,_;if(g&&(_=Sv(g.call(new e)),_!==Object.prototype&&_.next&&(yv(_,l,!0),typeof _[pr]!="function"&&as(_,pr,ls))),u&&b&&b.name!==ui&&(v=!0,d=function(){return b.call(this)}),($n||v||!h[pr])&&as(h,pr,d),os[t]=d,os[l]=ls,n)if(p={values:u?d:s(ui),keys:a?d:s(ss),entries:y},o)for(c in p)c in h||bv(h,c,p[c]);else Fn(Fn.P+Fn.F*($n||v),t,p);return p},Wn=mc,fi=_c,us=In,Ev=ii,Cv=Tv(Array,"Array",function(e,t){this._t=Ev(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,fi(1)):t=="keys"?fi(0,r):t=="values"?fi(0,e[r]):fi(0,[r,e[r]])},"values");us.Arguments=us.Array,Wn("keys"),Wn("values"),Wn("entries");for(var fs=Cv,Ov=kn,Mv=ni.exports,Iv=gt.exports,cs=Zt,vs=In,ds=Gt.exports,hs=ds("iterator"),ps=ds("toStringTag"),gs=vs.Array,ms={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},_s=Ov(ms),Un=0;Un<_s.length;Un++){var ci=_s[Un],Av=ms[ci],bs=Iv[ci],Rt=bs&&bs.prototype,vi;if(Rt&&(Rt[hs]||cs(Rt,hs,gs),Rt[ps]||cs(Rt,ps,ci),vs[ci]=gs,Av))for(vi in fs)Rt[vi]||Mv(Rt,vi,fs[vi],!0)}function di(e,t){for(var r=Object.create(null),i=e.split(","),n=0;n!!r[a.toLowerCase()]:a=>!!r[a]}var Pv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Rv=di(Pv);function ws(e){return!!e||e===""}var Lv=di("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function Vn(e){if(oe(e)){for(var t={},r=0;r{if(r){var i=r.split(kv);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Dv(e){var t="";if(!e||ye(e))return t;for(var r in e){var i=e[r],n=r.startsWith("--")?r:Ve(r);(ye(i)||typeof i=="number"&&Lv(n))&&(t+="".concat(n,":").concat(i,";"))}return t}function jn(e){var t="";if(ye(e))t=e;else if(oe(e))for(var r=0;r{},Bv=()=>!1,Fv=/^on[^a-z]/,hi=e=>Fv.test(e),Hn=e=>e.startsWith("onUpdate:"),fe=Object.assign,Ss=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},$v=Object.prototype.hasOwnProperty,te=(e,t)=>$v.call(e,t),oe=Array.isArray,mr=e=>_r(e)==="[object Map]",Wv=e=>_r(e)==="[object Set]",ae=e=>typeof e=="function",ye=e=>typeof e=="string",Yn=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",xs=e=>De(e)&&ae(e.then)&&ae(e.catch),Uv=Object.prototype.toString,_r=e=>Uv.call(e),zn=e=>_r(e).slice(8,-1),rt=e=>_r(e)==="[object Object]",qn=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pi=di(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gi=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},Vv=/-(\w)/g,mt=gi(e=>e.replace(Vv,(t,r)=>r?r.toUpperCase():"")),jv=/\B([A-Z])/g,Ve=gi(e=>e.replace(jv,"-$1").toLowerCase()),mi=gi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Xn=gi(e=>e?"on".concat(mi(e)):""),br=(e,t)=>!Object.is(e,t),Kn=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Hv=e=>{var t=parseFloat(e);return isNaN(t)?e:t},Ts,Yv=()=>Ts||(Ts=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),Gn=0;function Zn(e,...t){var r=Date.now(),i=Gn?r-Gn:0;return Gn=r,"[".concat(r,"][").concat(i,"ms][").concat(e,"]\uFF1A").concat(t.map(n=>JSON.stringify(n)).join(" "))}function Jn(e){return fe({},e.dataset,e.__uniDataset)}function Qn(e){return{passive:e}}function ea(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:Jn(e),offsetTop:r,offsetLeft:i}}function zv(e,t,r){var i=document.fonts;if(i){var n=new FontFace(e,t,r);return n.load().then(()=>{i.add&&i.add(n)})}return new Promise(a=>{var o=document.createElement("style"),s=[];if(r){var{style:l,weight:u,stretch:v,unicodeRange:h,variant:b,featureSettings:d}=r;l&&s.push("font-style:".concat(l)),u&&s.push("font-weight:".concat(u)),v&&s.push("font-stretch:".concat(v)),h&&s.push("unicode-range:".concat(h)),b&&s.push("font-variant:".concat(b)),d&&s.push("font-feature-settings:".concat(d))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),a()})}function qv(e,t){if(ye(e)){var r=document.querySelector(e);r&&(e=r.getBoundingClientRect().top+window.pageYOffset)}e<0&&(e=0);var i=document.documentElement,{clientHeight:n,scrollHeight:a}=i;if(e=Math.min(e,a-n),t===0){i.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var o=s=>{if(s<=0){window.scrollTo(0,e);return}var l=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+l/s*10),o(s-10)})};o(t)}}function Xv(){return typeof __channelId__=="string"&&__channelId__}function Kv(e,t){switch(zn(t)){case"Function":return"function() { [native code] }";default:return t}}function Gv(e,t,r){if(Xv())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(n){var a=_r(n).toLowerCase();if(a==="[object object]"||a==="[object array]")try{n="---BEGIN:JSON---"+JSON.stringify(n,Kv)+"---END:JSON---"}catch(s){n=a}else if(n===null)n="---NULL---";else if(n===void 0)n="---UNDEFINED---";else{var o=zn(n).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?n="---BEGIN:"+o+"---"+n+"---END:"+o+"---":n=String(n)}return n});return i.join("---COMMA---")+" "+t}function Zv(e,t,...r){var i=Gv(e,t,r);i&&console[e](i)}function Qt(e){if(typeof e=="function"){if(window.plus)return e();document.addEventListener("plusready",e)}}function Jv(e,t){return t&&(t.capture&&(e+="Capture"),t.once&&(e+="Once"),t.passive&&(e+="Passive")),"on".concat(mi(mt(e)))}var Es=/(?:Once|Passive|Capture)$/;function ta(e){var t;if(Es.test(e)){t={};for(var r;r=e.match(Es);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ve(e.slice(2)),t]}var ra={stop:1,prevent:1<<1,self:1<<2},Cs="class",ia="style",Qv="innerHTML",ed="textContent",bi=".vShow",Os=".vOwnerId",Ms=".vRenderjs",na="change:",Is=1,td=2,rd=3,id=5,nd=6,ad=7,od=8,sd=9,ld=10,ud=12,fd=15,cd=20;function vd(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function dd(e){return vd(e)}function aa(e,t=null){var r;return(...i)=>(e&&(r=e.apply(t,i),e=null),r)}function As(e,t){var r=t.split("."),i=r[0];return e||(e={}),r.length===1?e[i]:As(e[i],r.slice(1).join("."))}function hd(e,t){var r,i=function(){clearTimeout(r);var n=()=>e.apply(this,arguments);r=setTimeout(n,t)};return i.cancel=function(){clearTimeout(r)},i}var wr=` +`,Ps=44,wi="#007aff",pd=/^([a-z-]+:)?\/\//i,gd=/^data:.*,.*/,Rs="wxs://",Ls="json://",md="wxsModules",_d="renderjsModules",bd="onPageScroll",wd="onReachBottom",yd="onWxsInvokeCallMethod",Sd=Array.isArray,xd=e=>e!==null&&typeof e=="object",Td=["{","}"];class Ed{constructor(){this._caches=Object.create(null)}interpolate(t,r,i=Td){if(!r)return[t];var n=this._caches[t];return n||(n=Md(t,i),this._caches[t]=n),Id(n,r)}}var Cd=/^(?:\d)+/,Od=/^(?:\w)+/;function Md(e,[t,r]){for(var i=[],n=0,a="";nAd.call(e,t),Pd=new Ed;function Rd(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function Ld(e,t){return t.find(r=>e.indexOf(r)===0)}function ks(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e.indexOf("zh")===0)return e.indexOf("-hans")>-1?yi:e.indexOf("-hant")>-1||Rd(e,["-tw","-hk","-mo","-cht"])?Si:yi;var r=Ld(e,[_t,oa,sa]);if(r)return r}}class Nd{constructor({locale:t,fallbackLocale:r,messages:i,watcher:n,formater:a}){this.locale=_t,this.fallbackLocale=_t,this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=a||Pd,this.messages=i||{},this.setLocale(t||_t),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=ks(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach(i=>{i(this.locale,r)})}getLocale(){return this.locale}watchLocale(t){var r=this.watchers.push(t)-1;return()=>{this.watchers.splice(r,1)}}add(t,r,i=!0){var n=this.messages[t];n?i?Object.assign(n,r):Object.keys(r).forEach(a=>{Ns(n,a)||(n[a]=r[a])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var n=this.message;return typeof r=="string"?(r=ks(r,this.messages),r&&(n=this.messages[r])):i=r,Ns(n,t)?this.formater.interpolate(n[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function kd(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function Dd(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():_t}function Bd(e,t={},r,i){typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=Dd()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||_t);var n=new Nd({locale:e,fallbackLocale:r,messages:t,watcher:i}),a=(o,s)=>{if(typeof getApp!="function")a=function(u,v){return n.t(u,v)};else{var l=!1;a=function(u,v){var h=getApp().$vm;return h&&(h.$locale,l||(l=!0,kd(h,n))),n.t(u,v)}}return a(o,s)};return{i18n:n,f(o,s,l){return n.f(o,s,l)},t(o,s){return a(o,s)},add(o,s,l=!0){return n.add(o,s,l)},watch(o){return n.watchLocale(o)},getLocale(){return n.getLocale()},setLocale(o){return n.setLocale(o)}}}var la;function je(){if(!la){var e;typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,la=Bd(e)}return la}function it(e,t,r){return t.reduce((i,n,a)=>(i[e+n]=r[a],i),{})}var Fd=aa(()=>{var e="uni.picker.",t=["done","cancel"];je().add(_t,it(e,t,["Done","Cancel"]),!1),je().add(sa,it(e,t,["OK","Cancelar"]),!1),je().add(oa,it(e,t,["OK","Annuler"]),!1),je().add(yi,it(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),je().add(Si,it(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),$d=aa(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];je().add(_t,it(e,t,["feedback","send"]),!1),je().add(sa,it(e,t,["realimentaci\xF3n","enviar"]),!1),je().add(oa,it(e,t,["retour d'information","envoyer"]),!1),je().add(yi,it(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),je().add(Si,it(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)}),Ds=function(){};Ds.prototype={on:function(e,t,r){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var i=this;function n(){i.off(e,n),t.apply(r,arguments)}return n._=t,this.on(e,n,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,n=r.length;for(i;i{var{subscribe:i,publishHandler:n}=UniViewJSBridge,a=r?Ud++:0;r&&i(Fs+"."+a,r,!0),n(Fs,{id:a,name:e,args:t})},xi=Object.create(null);function Ti(e,t){return e+"."+t}function jd(e,t){UniViewJSBridge.subscribe(Ti(e,Bs),t?t($s):$s)}function ft(e,t,r){t=Ti(e,t),xi[t]||(xi[t]=r)}function Hd(e,t){t=Ti(e,t),delete xi[t]}function $s({id:e,name:t,args:r},i){t=Ti(i,t);var n=o=>{e&&UniViewJSBridge.publishHandler(Bs+"."+e,o)},a=xi[t];a?a(r,n):n({})}var Yd=fe(Wd("service"),{invokeServiceMethod:Vd}),zd=350,Ws=10,Ei=Qn(!0),yr;function Sr(){yr&&(clearTimeout(yr),yr=null)}var Us=0,Vs=0;function qd(e){if(Sr(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];Us=t,Vs=r,yr=setTimeout(function(){var i=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});i.touches=e.touches,i.changedTouches=e.changedTouches,e.target.dispatchEvent(i)},zd)}}function Xd(e){if(!!yr){if(e.touches.length!==1)return Sr();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-Us)>Ws||Math.abs(r-Vs)>Ws)return Sr()}}function Kd(){window.addEventListener("touchstart",qd,Ei),window.addEventListener("touchmove",Xd,Ei),window.addEventListener("touchend",Sr,Ei),window.addEventListener("touchcancel",Sr,Ei)}function js(e,t){var r=Number(e);return isNaN(r)?t:r}function Gd(){var e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90,r=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,i=Math.min(window.innerWidth,document.documentElement.clientWidth,r)||r;return i}function Zd(){function e(){var t=__uniConfig.globalStyle||{},r=js(t.rpxCalcMaxDeviceWidth,960),i=js(t.rpxCalcBaseDeviceWidth,375),n=Gd();n=n<=r?n:i,document.documentElement.style.fontSize=n/23.4375+"px"}e(),document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e),window.addEventListener("resize",e)}function Jd(){Zd(),Kd()}var Qd=ti,eh=function(e,t){return!!e&&Qd(function(){t?e.call(null,function(){},1):e.call(null)})},ua=Ln,th=zo,Hs=is,Ys=ti,fa=[].sort,zs=[1,2,3];ua(ua.P+ua.F*(Ys(function(){zs.sort(void 0)})||!Ys(function(){zs.sort(null)})||!eh(fa)),"Array",{sort:function(t){return t===void 0?fa.call(Hs(this)):fa.call(Hs(this),th(t))}});var Lt,Ci=[];class rh{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Lt&&(this.parent=Lt,this.index=(Lt.scopes||(Lt.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}}on(){this.active&&(Ci.push(this),Lt=this)}off(){this.active&&(Ci.pop(),Lt=Ci[Ci.length-1])}stop(t){if(this.active){if(this.effects.forEach(i=>i.stop()),this.cleanups.forEach(i=>i()),this.scopes&&this.scopes.forEach(i=>i.stop(!0)),this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function ih(e,t){t=t||Lt,t&&t.active&&t.effects.push(e)}var ca=e=>{var t=new Set(e);return t.w=0,t.n=0,t},qs=e=>(e.w&bt)>0,Xs=e=>(e.n&bt)>0,nh=({deps:e})=>{if(e.length)for(var t=0;t{var{deps:t}=e;if(t.length){for(var r=0,i=0;i0?Tr[t-1]:void 0}}stop(){this.active&&(Ks(this),this.onStop&&this.onStop(),this.active=!1)}}function Ks(e){var{deps:t}=e;if(t.length){for(var r=0;r{(h==="length"||h>=i)&&s.push(v)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":oe(e)?qn(r)&&s.push(o.get("length")):(s.push(o.get(kt)),mr(e)&&s.push(o.get(ha)));break;case"delete":oe(e)||(s.push(o.get(kt)),mr(e)&&s.push(o.get(ha)));break;case"set":mr(e)&&s.push(o.get(kt));break}if(s.length===1)s[0]&&ma(s[0]);else{var l=[];for(var u of s)u&&l.push(...u);ma(ca(l))}}}function ma(e,t){for(var r of oe(e)?e:[...e])(r!==Nt||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var sh=di("__proto__,__v_isRef,__isVue"),Js=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Yn)),lh=_a(),uh=_a(!1,!0),fh=_a(!0),Qs=ch();function ch(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){for(var i=pe(this),n=0,a=this.length;n{e[t]=function(...r){tr();var i=pe(this)[t].apply(this,r);return Dt(),i}}),e}function _a(e=!1,t=!1){return function(i,n,a){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_raw"&&a===(e?t?Oh:ll:t?sl:ol).get(i))return i;var o=oe(i);if(!e&&o&&te(Qs,n))return Reflect.get(Qs,n,a);var s=Reflect.get(i,n,a);if((Yn(n)?Js.has(n):sh(n))||(e||He(i,"get",n),t))return s;if(We(s)){var l=!o||!qn(n);return l?s.value:s}return De(s)?e?ul(s):Ee(s):s}}var vh=el(),dh=el(!0);function el(e=!1){return function(r,i,n,a){var o=r[i];if(!e&&(n=pe(n),o=pe(o),!oe(r)&&We(o)&&!We(n)))return o.value=n,!0;var s=oe(r)&&qn(i)?Number(i)e,Oi=e=>Reflect.getPrototypeOf(e);function Mi(e,t,r=!1,i=!1){e=e.__v_raw;var n=pe(e),a=pe(t);t!==a&&!r&&He(n,"get",t),!r&&He(n,"get",a);var{has:o}=Oi(n),s=i?ba:r?Sa:Er;if(o.call(n,t))return s(e.get(t));if(o.call(n,a))return s(e.get(a));e!==n&&e.get(t)}function Ii(e,t=!1){var r=this.__v_raw,i=pe(r),n=pe(e);return e!==n&&!t&&He(i,"has",e),!t&&He(i,"has",n),e===n?r.has(e):r.has(e)||r.has(n)}function Ai(e,t=!1){return e=e.__v_raw,!t&&He(pe(e),"iterate",kt),Reflect.get(e,"size",e)}function rl(e){e=pe(e);var t=pe(this),r=Oi(t),i=r.has.call(t,e);return i||(t.add(e),ct(t,"add",e,e)),this}function il(e,t){t=pe(t);var r=pe(this),{has:i,get:n}=Oi(r),a=i.call(r,e);a||(e=pe(e),a=i.call(r,e));var o=n.call(r,e);return r.set(e,t),a?br(t,o)&&ct(r,"set",e,t):ct(r,"add",e,t),this}function nl(e){var t=pe(this),{has:r,get:i}=Oi(t),n=r.call(t,e);n||(e=pe(e),n=r.call(t,e)),i&&i.call(t,e);var a=t.delete(e);return n&&ct(t,"delete",e,void 0),a}function al(){var e=pe(this),t=e.size!==0,r=e.clear();return t&&ct(e,"clear",void 0,void 0),r}function Pi(e,t){return function(i,n){var a=this,o=a.__v_raw,s=pe(o),l=t?ba:e?Sa:Er;return!e&&He(s,"iterate",kt),o.forEach((u,v)=>i.call(n,l(u),l(v),a))}}function Ri(e,t,r){return function(...i){var n=this.__v_raw,a=pe(n),o=mr(a),s=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=n[e](...i),v=r?ba:t?Sa:Er;return!t&&He(a,"iterate",l?ha:kt),{next(){var{value:h,done:b}=u.next();return b?{value:h,done:b}:{value:s?[v(h[0]),v(h[1])]:v(h),done:b}},[Symbol.iterator](){return this}}}}function wt(e){return function(...t){return e==="delete"?!1:this}}function bh(){var e={get(a){return Mi(this,a)},get size(){return Ai(this)},has:Ii,add:rl,set:il,delete:nl,clear:al,forEach:Pi(!1,!1)},t={get(a){return Mi(this,a,!1,!0)},get size(){return Ai(this)},has:Ii,add:rl,set:il,delete:nl,clear:al,forEach:Pi(!1,!0)},r={get(a){return Mi(this,a,!0)},get size(){return Ai(this,!0)},has(a){return Ii.call(this,a,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Pi(!0,!1)},i={get(a){return Mi(this,a,!0,!0)},get size(){return Ai(this,!0)},has(a){return Ii.call(this,a,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Pi(!0,!0)},n=["keys","values","entries",Symbol.iterator];return n.forEach(a=>{e[a]=Ri(a,!1,!1),r[a]=Ri(a,!0,!1),t[a]=Ri(a,!1,!0),i[a]=Ri(a,!0,!0)}),[e,r,t,i]}var[wh,yh,Sh,xh]=bh();function wa(e,t){var r=t?e?xh:Sh:e?yh:wh;return(i,n,a)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?i:Reflect.get(te(r,n)&&n in i?r:i,n,a)}var Th={get:wa(!1,!1)},Eh={get:wa(!1,!0)},Ch={get:wa(!0,!1)},ol=new WeakMap,sl=new WeakMap,ll=new WeakMap,Oh=new WeakMap;function Mh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ih(e){return e.__v_skip||!Object.isExtensible(e)?0:Mh(zn(e))}function Ee(e){return e&&e.__v_isReadonly?e:ya(e,!1,tl,Th,ol)}function Ah(e){return ya(e,!1,_h,Eh,sl)}function ul(e){return ya(e,!0,mh,Ch,ll)}function ya(e,t,r,i,n){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var a=n.get(e);if(a)return a;var o=Ih(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return n.set(e,s),s}function rr(e){return fl(e)?rr(e.__v_raw):!!(e&&e.__v_isReactive)}function fl(e){return!!(e&&e.__v_isReadonly)}function cl(e){return rr(e)||fl(e)}function pe(e){var t=e&&e.__v_raw;return t?pe(t):e}function Li(e){return _i(e,"__v_skip",!0),e}var Er=e=>De(e)?Ee(e):e,Sa=e=>De(e)?ul(e):e;function vl(e){Gs()&&(e=pe(e),e.dep||(e.dep=ca()),Zs(e.dep))}function dl(e,t){e=pe(e),e.dep&&ma(e.dep)}function We(e){return Boolean(e&&e.__v_isRef===!0)}function B(e){return hl(e,!1)}function xa(e){return hl(e,!0)}function hl(e,t){return We(e)?e:new Ph(e,t)}class Ph{constructor(t,r){this._shallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:pe(t),this._value=r?t:Er(t)}get value(){return vl(this),this._value}set value(t){t=this._shallow?t:pe(t),br(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:Er(t),dl(this))}}function Rh(e){return We(e)?e.value:e}var Lh={get:(e,t,r)=>Rh(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var n=e[t];return We(n)&&!We(r)?(n.value=r,!0):Reflect.set(e,t,r,i)}};function pl(e){return rr(e)?e:new Proxy(e,Lh)}class Nh{constructor(t,r,i){this._setter=r,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new pa(t,()=>{this._dirty||(this._dirty=!0,dl(this))}),this.__v_isReadonly=i}get value(){var t=pe(this);return vl(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Q(e,t){var r,i,n=ae(e);n?(r=e,i=Je):(r=e.get,i=e.set);var a=new Nh(r,i,n||!i);return a}function kh(e,t,...r){var i=e.vnode.props||be,n=r,a=t.startsWith("update:"),o=a&&t.slice(7);if(o&&o in i){var s="".concat(o==="modelValue"?"model":o,"Modifiers"),{number:l,trim:u}=i[s]||be;u?n=r.map(d=>d.trim()):l&&(n=r.map(Hv))}var v,h=i[v=Xn(t)]||i[v=Xn(mt(t))];!h&&a&&(h=i[v=Xn(Ve(t))]),h&&et(h,e,6,n);var b=i[v+"Once"];if(b){if(!e.emitted)e.emitted={};else if(e.emitted[v])return;e.emitted[v]=!0,et(b,e,6,n)}}function gl(e,t,r=!1){var i=t.emitsCache,n=i.get(e);if(n!==void 0)return n;var a=e.emits,o={},s=!1;if(!ae(e)){var l=u=>{var v=gl(u,t,!0);v&&(s=!0,fe(o,v))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(i.set(e,null),null):(oe(a)?a.forEach(u=>o[u]=null):fe(o,a),i.set(e,o),o)}function Ta(e,t){return!e||!hi(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,Ve(t))||te(e,t))}var Qe=null,ml=null;function Ni(e){var t=Qe;return Qe=e,ml=e&&e.type.__scopeId||null,t}function Dh(e,t=Qe,r){if(!t||e._n)return e;var i=(...n)=>{i._d&&$l(-1);var a=Ni(t),o=e(...n);return Ni(a),i._d&&$l(1),o};return i._n=!0,i._c=!0,i._d=!0,i}function ly(){}function Ea(e){var{type:t,vnode:r,proxy:i,withProxy:n,props:a,propsOptions:[o],slots:s,attrs:l,emit:u,render:v,renderCache:h,data:b,setupState:d,ctx:y,inheritAttrs:g}=e,p,c,_=Ni(e);try{if(r.shapeFlag&4){var f=n||i;p=ot(v.call(f,f,h,a,d,b,y)),c=l}else{var m=t;p=ot(m.length>1?m(a,{attrs:l,slots:s,emit:u}):m(a,null)),c=t.props?l:Bh(l)}}catch(C){Vi(C,e,1),p=M(Or)}var S=p;if(c&&g!==!1){var x=Object.keys(c),{shapeFlag:E}=S;x.length&&E&(1|6)&&(o&&x.some(Hn)&&(c=Fh(c,o)),S=Ir(S,c))}return r.dirs&&(S.dirs=S.dirs?S.dirs.concat(r.dirs):r.dirs),r.transition&&(S.transition=r.transition),p=S,Ni(_),p}var Bh=e=>{var t;for(var r in e)(r==="class"||r==="style"||hi(r))&&((t||(t={}))[r]=e[r]);return t},Fh=(e,t)=>{var r={};for(var i in e)(!Hn(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function $h(e,t,r){var{props:i,children:n,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?_l(i,o,u):!!o;if(l&8)for(var v=t.dynamicProps,h=0;he.__isSuspense;function Vh(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):Rp(e)}function Ne(e,t){if(ke){var r=ke.provides,i=ke.parent&&ke.parent.provides;i===r&&(r=ke.provides=Object.create(i)),r[e]=t}}function ge(e,t,r=!1){var i=ke||Qe;if(i){var n=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(n&&e in n)return n[e];if(arguments.length>1)return r&&ae(t)?t.call(i.proxy):t}}function jh(e){return ae(e)?{setup:e,name:e.name}:e}var Ca=e=>!!e.type.__asyncLoader,bl=e=>e.type.__isKeepAlive;function Oa(e,t){wl(e,"a",t)}function Hh(e,t){wl(e,"da",t)}function wl(e,t,r=ke){var i=e.__wdc||(e.__wdc=()=>{for(var a=r;a;){if(a.isDeactivated)return;a=a.parent}e()});if(ki(t,i,r),r)for(var n=r.parent;n&&n.parent;)bl(n.parent.vnode)&&Yh(i,t,r,n),n=n.parent}function Yh(e,t,r,i){var n=ki(t,e,i,!0);yt(()=>{Ss(i[t],n)},r)}function ki(e,t,r=ke,i=!1){if(r){var n=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(!r.isUnmounted){tr(),ir(r);var s=et(t,r,e,o);return $t(),Dt(),s}});return i?n.unshift(a):n.push(a),a}}var vt=e=>(t,r=ke)=>(!Ui||e==="sp")&&ki(e,t,r),yl=vt("bm"),Oe=vt("m"),zh=vt("bu"),qh=vt("u"),xe=vt("bum"),yt=vt("um"),Xh=vt("sp"),Kh=vt("rtg"),Gh=vt("rtc");function Zh(e,t=ke){ki("ec",e,t)}var Ma=!0;function Jh(e){var t=Tl(e),r=e.proxy,i=e.ctx;Ma=!1,t.beforeCreate&&Sl(t.beforeCreate,e,"bc");var{data:n,computed:a,methods:o,watch:s,provide:l,inject:u,created:v,beforeMount:h,mounted:b,beforeUpdate:d,updated:y,activated:g,deactivated:p,beforeDestroy:c,beforeUnmount:_,destroyed:f,unmounted:m,render:S,renderTracked:x,renderTriggered:E,errorCaptured:C,serverPrefetch:L,expose:W,inheritAttrs:q,components:X,directives:ce,filters:A}=t,$=null;if(u&&Qh(u,i,$,e.appContext.config.unwrapInjectedRef),o)for(var ee in o){var ne=o[ee];ae(ne)&&(i[ee]=ne.bind(r))}if(n&&function(){var le=n.call(r,r);De(le)&&(e.data=Ee(le))}(),Ma=!0,a){var H=function(le){var ve=a[le],Me=ae(ve)?ve.bind(r,r):ae(ve.get)?ve.get.bind(r,r):Je,Ce=!ae(ve)&&ae(ve.set)?ve.set.bind(r):Je,Ge=Q({get:Me,set:Ce});Object.defineProperty(i,le,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:At=>Ge.value=At})};for(var J in a)H(J)}if(s)for(var ie in s)xl(s[ie],i,r,ie);if(l){var we=ae(l)?l.call(r):l;Reflect.ownKeys(we).forEach(le=>{Ne(le,we[le])})}v&&Sl(v,e,"c");function Y(le,ve){oe(ve)?ve.forEach(Me=>le(Me.bind(r))):ve&&le(ve.bind(r))}if(Y(yl,h),Y(Oe,b),Y(zh,d),Y(qh,y),Y(Oa,g),Y(Hh,p),Y(Zh,C),Y(Gh,x),Y(Kh,E),Y(xe,_),Y(yt,m),Y(Xh,L),oe(W))if(W.length){var re=e.exposed||(e.exposed={});W.forEach(le=>{Object.defineProperty(re,le,{get:()=>r[le],set:ve=>r[le]=ve})})}else e.exposed||(e.exposed={});S&&e.render===Je&&(e.render=S),q!=null&&(e.inheritAttrs=q),X&&(e.components=X),ce&&(e.directives=ce)}function Qh(e,t,r=Je,i=!1){oe(e)&&(e=Ia(e));var n=function(o){var s=e[o],l=void 0;De(s)?"default"in s?l=ge(s.from||o,s.default,!0):l=ge(s.from||o):l=ge(s),We(l)&&i?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>l.value,set:u=>l.value=u}):t[o]=l};for(var a in e)n(a)}function Sl(e,t,r){et(oe(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function xl(e,t,r,i){var n=i.includes(".")?Jl(r,i):()=>r[i];if(ye(e)){var a=t[e];ae(a)&&U(n,a)}else if(ae(e))U(n,e.bind(r));else if(De(e))if(oe(e))e.forEach(s=>xl(s,t,r,i));else{var o=ae(e.handler)?e.handler.bind(r):t[e.handler];ae(o)&&U(n,o,e)}}function Tl(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:n,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),l;return s?l=s:!n.length&&!r&&!i?l=t:(l={},n.length&&n.forEach(u=>Di(l,u,o,!0)),Di(l,t,o)),a.set(t,l),l}function Di(e,t,r,i=!1){var{mixins:n,extends:a}=t;a&&Di(e,a,r,!0),n&&n.forEach(l=>Di(e,l,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=ep[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var ep={data:El,props:Bt,emits:Bt,methods:Bt,computed:Bt,beforeCreate:Fe,created:Fe,beforeMount:Fe,mounted:Fe,beforeUpdate:Fe,updated:Fe,beforeDestroy:Fe,beforeUnmount:Fe,destroyed:Fe,unmounted:Fe,activated:Fe,deactivated:Fe,errorCaptured:Fe,serverPrefetch:Fe,components:Bt,directives:Bt,watch:rp,provide:El,inject:tp};function El(e,t){return t?e?function(){return fe(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function tp(e,t){return Bt(Ia(e),Ia(t))}function Ia(e){if(oe(e)){for(var t={},r=0;r0)&&!(o&16)){if(o&8)for(var v=e.vnode.dynamicProps,h=0;h{l=!0;var[m,S]=Ol(f,t,!0);fe(o,m),S&&s.push(...S)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return i.set(e,gr),gr;if(oe(a))for(var v=0;v-1,g[1]=c<0||p-1||te(g,"default"))&&s.push(d)}}}var _=[o,s];return i.set(e,_),_}function Ml(e){return e[0]!=="$"}function Il(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Al(e,t){return Il(e)===Il(t)}function Pl(e,t){return oe(t)?t.findIndex(r=>Al(r,e)):ae(t)&&Al(t,e)?0:-1}var Rl=e=>e[0]==="_"||e==="$stable",Pa=e=>oe(e)?e.map(ot):[ot(e)],ap=(e,t,r)=>{var i=Dh((...n)=>Pa(t(...n)),r);return i._c=!1,i},Ll=(e,t,r)=>{var i=e._ctx;for(var n in e)if(!Rl(n)){var a=e[n];ae(a)?t[n]=ap(n,a,i):a!=null&&function(){var o=Pa(a);t[n]=()=>o}()}},Nl=(e,t)=>{var r=Pa(t);e.slots.default=()=>r},op=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=pe(t),_i(t,"_",r)):Ll(t,e.slots={})}else e.slots={},t&&Nl(e,t);_i(e.slots,Fi,1)},sp=(e,t,r)=>{var{vnode:i,slots:n}=e,a=!0,o=be;if(i.shapeFlag&32){var s=t._;s?r&&s===1?a=!1:(fe(n,t),!r&&s===1&&delete n._):(a=!t.$stable,Ll(t,n)),o=t}else t&&(Nl(e,t),o={default:1});if(a)for(var l in n)!Rl(l)&&!(l in o)&&delete n[l]};function Cr(e,t){var r=Qe;if(r===null)return e;for(var i=r.proxy,n=e.dirs||(e.dirs=[]),a=0;a{if(w!==T){w&&!Mr(w,T)&&(P=Ge(w),re(w,R,F,!0),w=null),T.patchFlag===-2&&(k=!1,T.dynamicChildren=null);var{type:N,ref:Z,shapeFlag:G}=T;switch(N){case La:c(w,T,I,P);break;case Or:_(w,T,I,P);break;case Na:w==null&&f(T,I,P,V);break;case at:ce(w,T,I,P,R,F,V,D,k);break;default:G&1?x(w,T,I,P,R,F,V,D,k):G&6?A(w,T,I,P,R,F,V,D,k):(G&64||G&128)&&N.process(w,T,I,P,R,F,V,D,k,Ie)}Z!=null&&R&&Ra(Z,w&&w.ref,F,T||w,!T)}},c=(w,T,I,P)=>{if(w==null)i(T.el=s(T.children),I,P);else{var R=T.el=w.el;T.children!==w.children&&u(R,T.children)}},_=(w,T,I,P)=>{w==null?i(T.el=l(T.children||""),I,P):T.el=w.el},f=(w,T,I,P)=>{[w.el,w.anchor]=g(w.children,T,I,P)},m=({el:w,anchor:T},I,P)=>{for(var R;w&&w!==T;)R=b(w),i(w,I,P),w=R;i(T,I,P)},S=({el:w,anchor:T})=>{for(var I;w&&w!==T;)I=b(w),n(w),w=I;n(T)},x=(w,T,I,P,R,F,V,D,k)=>{V=V||T.type==="svg",w==null?E(T,I,P,R,F,V,D,k):W(w,T,R,F,V,D,k)},E=(w,T,I,P,R,F,V,D)=>{var k,N,{type:Z,props:G,shapeFlag:K,transition:ue,patchFlag:Re,dirs:Se}=w;if(w.el&&y!==void 0&&Re===-1)k=w.el=y(w.el);else{if(k=w.el=o(w.type,F,G&&G.is,G),K&8?v(k,w.children):K&16&&L(w.children,k,null,P,R,F&&Z!=="foreignObject",V,D),Se&&Ft(w,null,P,"created"),G){for(var O in G)O!=="value"&&!pi(O)&&a(k,O,null,G[O],F,w.children,P,R,Ce);"value"in G&&a(k,"value",null,G.value),(N=G.onVnodeBeforeMount)&&nt(N,P,w)}C(k,w,w.scopeId,V,P)}Object.defineProperty(k,"__vueParentComponent",{value:P,enumerable:!1}),Se&&Ft(w,null,P,"beforeMount");var j=(!R||R&&!R.pendingBranch)&&ue&&!ue.persisted;j&&ue.beforeEnter(k),i(k,T,I),((N=G&&G.onVnodeMounted)||j||Se)&&$e(()=>{N&&nt(N,P,w),j&&ue.enter(k),Se&&Ft(w,null,P,"mounted")},R)},C=(w,T,I,P,R)=>{if(I&&d(w,I),P)for(var F=0;F{for(var N=k;N{var D=T.el=w.el,{patchFlag:k,dynamicChildren:N,dirs:Z}=T;k|=w.patchFlag&16;var G=w.props||be,K=T.props||be,ue;(ue=K.onVnodeBeforeUpdate)&&nt(ue,I,T,w),Z&&Ft(T,w,I,"beforeUpdate");var Re=R&&T.type!=="foreignObject";if(N?q(w.dynamicChildren,N,D,I,P,Re,F):V||J(w,T,D,null,I,P,Re,F,!1),k>0){if(k&16)X(D,T,G,K,I,P,R);else if(k&2&&G.class!==K.class&&a(D,"class",null,K.class,R),k&4&&a(D,"style",G.style,K.style,R),k&8)for(var Se=T.dynamicProps,O=0;O{ue&&nt(ue,I,T,w),Z&&Ft(T,w,I,"updated")},P)},q=(w,T,I,P,R,F,V)=>{for(var D=0;D{if(I!==P){for(var D in P)if(!pi(D)){var k=P[D],N=I[D];k!==N&&D!=="value"&&a(w,D,N,k,V,T.children,R,F,Ce)}if(I!==be)for(var Z in I)!pi(Z)&&!(Z in P)&&a(w,Z,I[Z],null,V,T.children,R,F,Ce);"value"in P&&a(w,"value",I.value,P.value)}},ce=(w,T,I,P,R,F,V,D,k)=>{var N=T.el=w?w.el:s(""),Z=T.anchor=w?w.anchor:s(""),{patchFlag:G,dynamicChildren:K,slotScopeIds:ue}=T;ue&&(D=D?D.concat(ue):ue),w==null?(i(N,I,P),i(Z,I,P),L(T.children,I,Z,R,F,V,D,k)):G>0&&G&64&&K&&w.dynamicChildren?(q(w.dynamicChildren,K,I,R,F,V,D),(T.key!=null||R&&T===R.subTree)&&Dl(w,T,!0)):J(w,T,I,Z,R,F,V,D,k)},A=(w,T,I,P,R,F,V,D,k)=>{T.slotScopeIds=D,w==null?T.shapeFlag&512?R.ctx.activate(T,I,P,V,k):$(T,I,P,R,F,V,k):ee(w,T,k)},$=(w,T,I,P,R,F,V)=>{var D=w.component=Sp(w,P,R);if(bl(w)&&(D.ctx.renderer=Ie),xp(D),D.asyncDep){if(R&&R.registerDep(D,ne),!w.el){var k=D.subTree=M(Or);_(null,k,T,I)}return}ne(D,w,T,I,R,F,V)},ee=(w,T,I)=>{var P=T.component=w.component;if($h(w,T,I))if(P.asyncDep&&!P.asyncResolved){H(P,T,I);return}else P.next=T,Ap(P.update),P.update();else T.component=w.component,T.el=w.el,P.vnode=T},ne=(w,T,I,P,R,F,V)=>{var D=()=>{if(w.isMounted){var{next:se,bu:Le,u:Ue,parent:Ae,vnode:tt}=w,Pt=se,ut;k.allowRecurse=!1,se?(se.el=tt.el,H(w,se,V)):se=tt,Le&&Kn(Le),(ut=se.props&&se.props.onVnodeBeforeUpdate)&&nt(ut,Ae,se,tt),k.allowRecurse=!0;var Xt=Ea(w),pt=w.subTree;w.subTree=Xt,p(pt,Xt,h(pt.el),Ge(pt),w,R,F),se.el=Xt.el,Pt===null&&Wh(w,Xt.el),Ue&&$e(Ue,R),(ut=se.props&&se.props.onVnodeUpdated)&&$e(()=>nt(ut,Ae,se,tt),R)}else{var Z,{el:G,props:K}=T,{bm:ue,m:Re,parent:Se}=w,O=Ca(T);if(k.allowRecurse=!1,ue&&Kn(ue),!O&&(Z=K&&K.onVnodeBeforeMount)&&nt(Z,Se,T),k.allowRecurse=!0,G&&Gr){var j=()=>{w.subTree=Ea(w),Gr(G,w.subTree,w,R,null)};O?T.type.__asyncLoader().then(()=>!w.isUnmounted&&j()):j()}else{var z=w.subTree=Ea(w);p(null,z,I,P,w,R,F),T.el=z.el}if(Re&&$e(Re,R),!O&&(Z=K&&K.onVnodeMounted)){var de=T;$e(()=>nt(Z,Se,de),R)}T.shapeFlag&256&&w.a&&$e(w.a,R),w.isMounted=!0,T=I=P=null}},k=new pa(D,()=>zl(w.update),w.scope),N=w.update=k.run.bind(k);N.id=w.uid,k.allowRecurse=N.allowRecurse=!0,N()},H=(w,T,I)=>{T.component=w;var P=w.vnode.props;w.vnode=T,w.next=null,np(w,T.props,P,I),sp(w,T.children,I),tr(),Ua(void 0,w.update),Dt()},J=(w,T,I,P,R,F,V,D,k=!1)=>{var N=w&&w.children,Z=w?w.shapeFlag:0,G=T.children,{patchFlag:K,shapeFlag:ue}=T;if(K>0){if(K&128){we(N,G,I,P,R,F,V,D,k);return}else if(K&256){ie(N,G,I,P,R,F,V,D,k);return}}ue&8?(Z&16&&Ce(N,R,F),G!==N&&v(I,G)):Z&16?ue&16?we(N,G,I,P,R,F,V,D,k):Ce(N,R,F,!0):(Z&8&&v(I,""),ue&16&&L(G,I,P,R,F,V,D,k))},ie=(w,T,I,P,R,F,V,D,k)=>{w=w||gr,T=T||gr;var N=w.length,Z=T.length,G=Math.min(N,Z),K;for(K=0;KZ?Ce(w,R,F,!0,!1,G):L(T,I,P,R,F,V,D,k,G)},we=(w,T,I,P,R,F,V,D,k)=>{for(var N=0,Z=T.length,G=w.length-1,K=Z-1;N<=G&&N<=K;){var ue=w[N],Re=T[N]=k?St(T[N]):ot(T[N]);if(Mr(ue,Re))p(ue,Re,I,null,R,F,V,D,k);else break;N++}for(;N<=G&&N<=K;){var Se=w[G],O=T[K]=k?St(T[K]):ot(T[K]);if(Mr(Se,O))p(Se,O,I,null,R,F,V,D,k);else break;G--,K--}if(N>G){if(N<=K)for(var j=K+1,z=jK)for(;N<=G;)re(w[N],R,F,!0),N++;else{var de=N,se=N,Le=new Map;for(N=se;N<=K;N++){var Ue=T[N]=k?St(T[N]):ot(T[N]);Ue.key!=null&&Le.set(Ue.key,N)}var Ae,tt=0,Pt=K-se+1,ut=!1,Xt=0,pt=new Array(Pt);for(N=0;N=Pt){re(dr,R,F,!0);continue}var Kt=void 0;if(dr.key!=null)Kt=Le.get(dr.key);else for(Ae=se;Ae<=K;Ae++)if(pt[Ae-se]===0&&Mr(dr,T[Ae])){Kt=Ae;break}Kt===void 0?re(dr,R,F,!0):(pt[Kt-se]=N+1,Kt>=Xt?Xt=Kt:ut=!0,p(dr,T[Kt],I,null,R,F,V,D,k),tt++)}var Qf=ut?vp(pt):gr;for(Ae=Qf.length-1,N=Pt-1;N>=0;N--){var No=se+N,ec=T[No],tc=No+1{var{el:F,type:V,transition:D,children:k,shapeFlag:N}=w;if(N&6){Y(w.component.subTree,T,I,P);return}if(N&128){w.suspense.move(T,I,P);return}if(N&64){V.move(w,T,I,Ie);return}if(V===at){i(F,T,I);for(var Z=0;ZD.enter(F),R);else{var{leave:K,delayLeave:ue,afterLeave:Re}=D,Se=()=>i(F,T,I),O=()=>{K(F,()=>{Se(),Re&&Re()})};ue?ue(F,Se,O):O()}else i(F,T,I)},re=(w,T,I,P=!1,R=!1)=>{var{type:F,props:V,ref:D,children:k,dynamicChildren:N,shapeFlag:Z,patchFlag:G,dirs:K}=w;if(D!=null&&Ra(D,null,I,w,!0),Z&256){T.ctx.deactivate(w);return}var ue=Z&1&&K,Re=!Ca(w),Se;if(Re&&(Se=V&&V.onVnodeBeforeUnmount)&&nt(Se,T,w),Z&6)Me(w.component,I,P);else{if(Z&128){w.suspense.unmount(I,P);return}ue&&Ft(w,null,T,"beforeUnmount"),Z&64?w.type.remove(w,T,I,R,Ie,P):N&&(F!==at||G>0&&G&64)?Ce(N,T,I,!1,!0):(F===at&&G&(128|256)||!R&&Z&16)&&Ce(k,T,I),P&&le(w)}(Re&&(Se=V&&V.onVnodeUnmounted)||ue)&&$e(()=>{Se&&nt(Se,T,w),ue&&Ft(w,null,T,"unmounted")},I)},le=w=>{var{type:T,el:I,anchor:P,transition:R}=w;if(T===at){ve(I,P);return}if(T===Na){S(w);return}var F=()=>{n(I),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(w.shapeFlag&1&&R&&!R.persisted){var{leave:V,delayLeave:D}=R,k=()=>V(I,F);D?D(w.el,F,k):k()}else F()},ve=(w,T)=>{for(var I;w!==T;)I=b(w),n(w),w=I;n(T)},Me=(w,T,I)=>{var{bum:P,scope:R,update:F,subTree:V,um:D}=w;P&&Kn(P),R.stop(),F&&(F.active=!1,re(V,w,T,I)),D&&$e(D,T),$e(()=>{w.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},Ce=(w,T,I,P=!1,R=!1,F=0)=>{for(var V=F;Vw.shapeFlag&6?Ge(w.component.subTree):w.shapeFlag&128?w.suspense.next():b(w.anchor||w.el),At=(w,T,I)=>{if(w==null)T._vnode&&re(T._vnode,null,null,!0);else{var P=T.__vueParent;p(T._vnode||null,w,T,null,P,null,I)}T._vnode=w},Ie={p,um:re,m:Y,r:le,mt:$,mc:L,pc:J,pbc:q,n:Ge,o:e},Kr,Gr;return t&&([Kr,Gr]=t(Ie)),{render:At,hydrate:Kr,createApp:up(At,Kr)}}function Ra(e,t,r,i,n=!1){if(oe(e)){e.forEach((y,g)=>Ra(y,t&&(oe(t)?t[g]:t),r,i,n));return}if(!(Ca(i)&&!n)){var a=i.shapeFlag&4?Ba(i.component)||i.component.proxy:i.el,o=n?null:a,{i:s,r:l}=e,u=t&&t.r,v=s.refs===be?s.refs={}:s.refs,h=s.setupState;if(u!=null&&u!==l&&(ye(u)?(v[u]=null,te(h,u)&&(h[u]=null)):We(u)&&(u.value=null)),ye(l)){var b=()=>{v[l]=o,te(h,l)&&(h[l]=o)};o?(b.id=-1,$e(b,r)):b()}else if(We(l)){var d=()=>{l.value=o};o?(d.id=-1,$e(d,r)):d()}else ae(l)&&Tt(l,s,12,[o,v])}}function nt(e,t,r,i=null){et(e,t,7,[r,i])}function Dl(e,t,r=!1){var i=e.children,n=t.children;if(oe(i)&&oe(n))for(var a=0;a>1,e[r[s]]0&&(t[i]=r[a-1]),r[a]=i)}}for(a=r.length,o=r[a-1];a-- >0;)r[a]=o,o=t[o];return r}var dp=e=>e.__isTeleport,hp=Symbol(),at=Symbol(void 0),La=Symbol(void 0),Or=Symbol(void 0),Na=Symbol(void 0),Bl=null,Fl=1;function $l(e){Fl+=e}function Bi(e){return e?e.__v_isVNode===!0:!1}function Mr(e,t){return e.type===t.type&&e.key===t.key}var Fi="__vInternal",Wl=({key:e})=>e!=null?e:null,$i=({ref:e})=>e!=null?ye(e)||We(e)||ae(e)?{i:Qe,r:e}:e:null;function pp(e,t=null,r=null,i=0,n=null,a=e===at?0:1,o=!1,s=!1){var l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wl(t),ref:t&&$i(t),scopeId:ml,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:n,dynamicChildren:null,appContext:null};return s?(ka(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=ye(r)?8:16),Fl>0&&!o&&Bl&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Bl.push(l),l}var M=gp;function gp(e,t=null,r=null,i=0,n=null,a=!1){if((!e||e===hp)&&(e=Or),Bi(e)){var o=Ir(e,t,!0);return r&&ka(o,r),o}if(Op(e)&&(e=e.__vccOpts),t){t=mp(t);var{class:s,style:l}=t;s&&!ye(s)&&(t.class=jn(s)),De(l)&&(cl(l)&&!oe(l)&&(l=fe({},l)),t.style=Vn(l))}var u=ye(e)?1:Uh(e)?128:dp(e)?64:De(e)?4:ae(e)?2:0;return pp(e,t,r,i,n,u,a,!0)}function mp(e){return e?cl(e)||Fi in e?fe({},e):e:null}function Ir(e,t,r=!1){var{props:i,ref:n,patchFlag:a,children:o}=e,s=t?Ye(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Wl(s),ref:t&&t.ref?r&&n?oe(n)?n.concat($i(t)):[n,$i(t)]:$i(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==at?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ir(e.ssContent),ssFallback:e.ssFallback&&Ir(e.ssFallback),el:e.el,anchor:e.anchor};return l}function _p(e=" ",t=0){return M(La,null,e,t)}function ot(e){return e==null||typeof e=="boolean"?M(Or):oe(e)?M(at,null,e.slice()):typeof e=="object"?St(e):M(La,null,String(e))}function St(e){return e.el===null||e.memo?e:Ir(e)}function ka(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(oe(t))r=16;else if(typeof t=="object")if(i&(1|64)){var n=t.default;n&&(n._c&&(n._d=!1),ka(e,n()),n._c&&(n._d=!0));return}else{r=32;var a=t._;!a&&!(Fi in t)?t._ctx=Qe:a===3&&Qe&&(Qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:Qe},r=32):(t=String(t),i&64?(r=16,t=[_p(t)]):r=8);e.children=t,e.shapeFlag|=r}function Ye(...e){for(var t={},r=0;re?Ul(e)?Ba(e)||e.proxy:Da(e.parent):null,Wi=fe(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=>Da(e.parent),$root:e=>Da(e.root),$emit:e=>e.emit,$options:e=>Tl(e),$forceUpdate:e=>()=>zl(e.update),$nextTick:e=>or.bind(e.proxy),$watch:e=>Np.bind(e)}),bp={get({_:e},t){var{ctx:r,setupState:i,data:n,props:a,accessCache:o,type:s,appContext:l}=e,u;if(t[0]!=="$"){var v=o[t];if(v!==void 0)switch(v){case 0:return i[t];case 1:return n[t];case 3:return r[t];case 2:return a[t]}else{if(i!==be&&te(i,t))return o[t]=0,i[t];if(n!==be&&te(n,t))return o[t]=1,n[t];if((u=e.propsOptions[0])&&te(u,t))return o[t]=2,a[t];if(r!==be&&te(r,t))return o[t]=3,r[t];Ma&&(o[t]=4)}}var h=Wi[t],b,d;if(h)return t==="$attrs"&&He(e,"get",t),h(e);if((b=s.__cssModules)&&(b=b[t]))return b;if(r!==be&&te(r,t))return o[t]=3,r[t];if(d=l.config.globalProperties,te(d,t))return d[t]},set({_:e},t,r){var{data:i,setupState:n,ctx:a}=e;if(n!==be&&te(n,t))n[t]=r;else if(i!==be&&te(i,t))i[t]=r;else if(te(e.props,t))return!1;return t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:i,appContext:n,propsOptions:a}},o){var s;return r[o]!==void 0||e!==be&&te(e,o)||t!==be&&te(t,o)||(s=a[0])&&te(s,o)||te(i,o)||te(Wi,o)||te(n.config.globalProperties,o)}},wp=kl(),yp=0;function Sp(e,t,r){var i=e.type,n=(t?t.appContext:e.appContext)||wp,a={uid:yp++,vnode:e,type:i,parent:t,appContext:n,root:null,next:null,subTree:null,update:null,scope:new rh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ol(i,n),emitsOptions:gl(i,n),emit:null,emitted:null,propsDefaults:be,inheritAttrs:i.inheritAttrs,ctx:be,data:be,props:be,attrs:be,slots:be,refs:be,setupState:be,setupContext:null,suspense:r,suspenseId:r?r.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,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=kh.bind(null,a),e.ce&&e.ce(a),a}var ke=null,xt=()=>ke||Qe,ir=e=>{ke=e,e.scope.on()},$t=()=>{ke&&ke.scope.off(),ke=null};function Ul(e){return e.vnode.shapeFlag&4}var Ui=!1;function xp(e,t=!1){Ui=t;var{props:r,children:i}=e.vnode,n=Ul(e);ip(e,r,n,t),op(e,i);var a=n?Tp(e,t):void 0;return Ui=!1,a}function Tp(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=Li(new Proxy(e.ctx,bp));var{setup:i}=r;if(i){var n=e.setupContext=i.length>1?Cp(e):null;ir(e),tr();var a=Tt(i,e,0,[e.props,n]);if(Dt(),$t(),xs(a)){if(a.then($t,$t),t)return a.then(o=>{Vl(e,o,t)}).catch(o=>{Vi(o,e,0)});e.asyncDep=a}else Vl(e,a,t)}else Hl(e,t)}function Vl(e,t,r){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=pl(t)),Hl(e,r)}var jl;function Hl(e,t,r){var i=e.type;if(!e.render){if(!t&&jl&&!i.render){var n=i.template;if(n){var{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=i,u=fe(fe({isCustomElement:a,delimiters:s},o),l);i.render=jl(n,u)}}e.render=i.render||Je}ir(e),tr(),Jh(e),Dt(),$t()}function Ep(e){return new Proxy(e.attrs,{get(t,r){return He(e,"get","$attrs"),t[r]}})}function Cp(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=Ep(e))},slots:e.slots,emit:e.emit,expose:t}}function Ba(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pl(Li(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Wi)return Wi[r](e)}}))}function Op(e){return ae(e)&&"__vccOpts"in e}function Tt(e,t,r,i){var n;try{n=i?e(...i):e()}catch(a){Vi(a,t,r)}return n}function et(e,t,r,i){if(ae(e)){var n=Tt(e,t,r,i);return n&&xs(n)&&n.catch(s=>{Vi(s,t,r)}),n}for(var a=[],o=0;o>>1,n=Lr(ze[i]);ndt&&ze.splice(t,1)}function Xl(e,t,r,i){oe(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),ql()}function Pp(e){Xl(e,Pr,Ar,nr)}function Rp(e){Xl(e,Et,Rr,ar)}function Ua(e,t=null){if(Ar.length){for(Wa=t,Pr=[...new Set(Ar)],Ar.length=0,nr=0;nrLr(r)-Lr(i)),ar=0;are.id==null?1/0:e.id;function Gl(e){Fa=!1,ji=!0,Ua(e),ze.sort((i,n)=>Lr(i)-Lr(n));var t=Je;try{for(dt=0;dte.value,u=!!e._shallow):rr(e)?(l=()=>e,i=!0):oe(e)?(v=!0,u=e.some(rr),l=()=>e.map(_=>{if(We(_))return _.value;if(rr(_))return Wt(_);if(ae(_))return Tt(_,s,2)})):ae(e)?t?l=()=>Tt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return b&&b(),et(e,s,3,[d])}:l=Je,t&&i){var h=l;l=()=>Wt(h())}var b,d=_=>{b=c.onStop=()=>{Tt(_,s,4)}};if(Ui)return d=Je,t?r&&et(t,s,3,[l(),v?[]:void 0,d]):l(),Je;var y=v?[]:Zl,g=()=>{if(!!c.active)if(t){var _=c.run();(i||u||(v?_.some((f,m)=>br(f,y[m])):br(_,y)))&&(b&&b(),et(t,s,3,[_,y===Zl?void 0:y,d]),y=_)}else c.run()};g.allowRecurse=!!t;var p;n==="sync"?p=g:n==="post"?p=()=>$e(g,s&&s.suspense):p=()=>{!s||s.isMounted?Pp(g):g()};var c=new pa(l,p);return t?r?g():y=c.run():n==="post"?$e(c.run.bind(c),s&&s.suspense):c.run(),()=>{c.stop(),s&&s.scope&&Ss(s.scope.effects,c)}}function Np(e,t,r){var i=this.proxy,n=ye(e)?e.includes(".")?Jl(i,e):()=>i[e]:e.bind(i,i),a;ae(t)?a=t:(a=t.handler,r=t);var o=ke;ir(this);var s=Va(n,a.bind(i),r);return o?ir(o):$t(),s}function Jl(e,t){var r=t.split(".");return()=>{for(var i=e,n=0;n{Wt(n,t)});else if(rt(e))for(var i in e)Wt(e[i],t);return e}function kp(e,t,r){var i=arguments.length;return i===2?De(t)&&!oe(t)?Bi(t)?M(e,null,[t]):M(e,t):M(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Bi(r)&&(r=[r]),M(e,t,r))}var Dp="3.2.20",Bp="http://www.w3.org/2000/svg",sr=typeof document!="undefined"?document:null,Ql=new Map,Fp={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{var n=t?sr.createElementNS(Bp,e):sr.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&n.setAttribute("multiple",i.multiple),n},createText:e=>sr.createTextNode(e),createComment:e=>sr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,i){var n=r?r.previousSibling:t.lastChild,a=Ql.get(e);if(!a){var o=sr.createElement("template");if(o.innerHTML=i?"".concat(e,""):e,a=o.content,i){for(var s=a.firstChild;s.firstChild;)a.appendChild(s.firstChild);a.removeChild(s)}Ql.set(e,a)}return t.insertBefore(a.cloneNode(!0),r),[n?n.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function $p(e,t,r){var i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function Wp(e,t,r){var i=e.style,n=i.display;if(!r)e.removeAttribute("style");else if(ye(r))t!==r&&(i.cssText=r);else{for(var a in r)ja(i,a,r[a]);if(t&&!ye(t))for(var o in t)r[o]==null&&ja(i,o,"")}"_vod"in e&&(i.display=n)}var eu=/\s*!important$/;function ja(e,t,r){if(oe(r))r.forEach(n=>ja(e,t,n));else if(r=jp(r),t.startsWith("--"))e.setProperty(t,r);else{var i=Up(e,t);eu.test(r)?e.setProperty(Ve(i),r.replace(eu,""),"important"):e[i]=r}}var tu=["Webkit","Moz","ms"],Ha={};function Up(e,t){var r=Ha[t];if(r)return r;var i=mt(t);if(i!=="filter"&&i in e)return Ha[t]=i;i=mi(i);for(var n=0;ntypeof rpx2px!="function"?e:ye(e)?e.replace(Vp,(t,r)=>rpx2px(r)+"px"):e,ru="http://www.w3.org/1999/xlink";function Hp(e,t,r,i,n){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ru,t.slice(6,t.length)):e.setAttributeNS(ru,t,r);else{var a=Rv(t);r==null||a&&!ws(r)?e.removeAttribute(t):e.setAttribute(t,a?"":r)}}function Yp(e,t,r,i,n,a,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,n,a),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"){e._value=r;var s=r==null?"":r;e.value!==s&&(e.value=s),r==null&&e.removeAttribute(t);return}if(r===""||r==null){var l=typeof e[t];if(l==="boolean"){e[t]=ws(r);return}else if(r==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch(u){}e.removeAttribute(t);return}}try{e[t]=r}catch(u){}}var Hi=Date.now,iu=!1;if(typeof window!="undefined"){Hi()>document.createEvent("Event").timeStamp&&(Hi=()=>performance.now());var nu=navigator.userAgent.match(/firefox\/(\d+)/i);iu=!!(nu&&Number(nu[1])<=53)}var Ya=0,zp=Promise.resolve(),qp=()=>{Ya=0},Xp=()=>Ya||(zp.then(qp),Ya=Hi());function Kp(e,t,r,i){e.addEventListener(t,r,i)}function Gp(e,t,r,i){e.removeEventListener(t,r,i)}function Zp(e,t,r,i,n=null){var a=e._vei||(e._vei={}),o=a[t];if(i&&o)o.value=i;else{var[s,l]=Jp(t);if(i){var u=a[t]=Qp(i,n);Kp(e,s,u,l)}else o&&(Gp(e,s,o,l),a[t]=void 0)}}var au=/(?:Once|Passive|Capture)$/;function Jp(e){var t;if(au.test(e)){t={};for(var r;r=e.match(au);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ve(e.slice(2)),t]}function Qp(e,t){var r=i=>{var n=i.timeStamp||Hi();(iu||n>=r.attached-1)&&et(eg(i,r.value),t,5,[i])};return r.value=e,r.attached=Xp(),r}function eg(e,t){if(oe(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>n=>!n._stopped&&i(n))}else return t}var ou=/^on[a-z]/,tg=(e,t,r,i,n=!1,a,o,s,l)=>{t==="class"?$p(e,i,n):t==="style"?Wp(e,r,i):hi(t)?Hn(t)||Zp(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rg(e,t,i,n))?Yp(e,t,i,a,o,s,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Hp(e,t,i,n))};function rg(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&ou.test(t)&&ae(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ou.test(t)&&ye(r)?!1:t in e}var ig=["ctrl","shift","alt","meta"],ng={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ig.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},za=(e,t)=>(r,...i)=>{for(var n=0;n{kr(e,!1)}):kr(e,t))},beforeUnmount(e,{value:t}){kr(e,t)}};function kr(e,t){e.style.display=t?e._vod:"none"}var ag=fe({patchProp:tg},Fp),su;function og(){return su||(su=fp(ag))}var lu=(...e)=>{var t=og().createApp(...e),{mount:r}=t;return t.mount=i=>{var n=sg(i);if(!!n){var a=t._component;!ae(a)&&!a.render&&!a.template&&(a.template=n.innerHTML),n.innerHTML="";var o=r(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o}},t};function sg(e){if(ye(e)){var t=document.querySelector(e);return t}return e}var uu=["top","left","right","bottom"],qa,Yi={},Ze;function Xa(){return!("CSS"in window)||typeof CSS.supports!="function"?Ze="":CSS.supports("top: env(safe-area-inset-top)")?Ze="env":CSS.supports("top: constant(safe-area-inset-top)")?Ze="constant":Ze="",Ze}function fu(){if(Ze=typeof Ze=="string"?Ze:Xa(),!Ze){uu.forEach(function(s){Yi[s]=0});return}function e(s,l){var u=s.style;Object.keys(l).forEach(function(v){var h=l[v];u[v]=h})}var t=[];function r(s){s?t.push(s):t.forEach(function(l){l()})}var i=!1;try{var n=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}function a(s,l){var u=document.createElement("div"),v=document.createElement("div"),h=document.createElement("div"),b=document.createElement("div"),d=100,y=1e4,g={position:"absolute",width:d+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Ze+"(safe-area-inset-"+l+")"};e(u,g),e(v,g),e(h,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(b,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(h),v.appendChild(b),s.appendChild(u),s.appendChild(v),r(function(){u.scrollTop=v.scrollTop=y;var c=u.scrollTop,_=v.scrollTop;function f(){this.scrollTop!==(this===u?c:_)&&(u.scrollTop=v.scrollTop=y,c=u.scrollTop,_=v.scrollTop,lg(l))}u.addEventListener("scroll",f,i),v.addEventListener("scroll",f,i)});var p=getComputedStyle(u);Object.defineProperty(Yi,l,{configurable:!0,get:function(){return parseFloat(p.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),uu.forEach(function(s){a(o,s)}),document.body.appendChild(o),r(),qa=!0}function zi(e){return qa||fu(),Yi[e]}var qi=[];function lg(e){qi.length||setTimeout(function(){var t={};qi.forEach(function(r){t[r]=Yi[r]}),qi.length=0,Xi.forEach(function(r){r(t)})},0),qi.push(e)}var Xi=[];function ug(e){!Xa()||(qa||fu(),typeof e=="function"&&Xi.push(e))}function fg(e){var t=Xi.indexOf(e);t>=0&&Xi.splice(t,1)}var cg={get support(){return(typeof Ze=="string"?Ze:Xa()).length!=0},get top(){return zi("top")},get left(){return zi("left")},get right(){return zi("right")},get bottom(){return zi("bottom")},onChange:ug,offChange:fg},Ki=cg,vg=za(()=>{},["prevent"]);function Ka(){var e=document.documentElement.style,t=parseInt(e.getPropertyValue("--window-top"));return t?t+Ki.top:0}function dg(){var e=document.documentElement.style,t=Ka(),r=parseInt(e.getPropertyValue("--window-bottom")),i=parseInt(e.getPropertyValue("--window-left")),n=parseInt(e.getPropertyValue("--window-right"));return{top:t,bottom:r?r+Ki.bottom:0,left:i?i+Ki.left:0,right:n?n+Ki.right:0}}function hg(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function Gi(e){return Symbol(e)}function cu(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Ut(e,t=!1){if(t)return pg(e);if(typeof e=="string"){var r=parseInt(e)||0;return cu(e)?uni.upx2px(r):r}return e}function pg(e){return cu(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var gg="M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",mg="M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",_g="M15.808 1.696q-3.776 0-7.072 1.984-3.2 1.888-5.088 5.152-1.952 3.392-1.952 7.36 0 3.776 1.952 7.072 1.888 3.2 5.088 5.088 3.296 1.952 7.072 1.952 3.968 0 7.36-1.952 3.264-1.888 5.152-5.088 1.984-3.296 1.984-7.072 0-4-1.984-7.36-1.888-3.264-5.152-5.152-3.36-1.984-7.36-1.984zM20.864 18.592l-3.776 4.928q-0.448 0.576-1.088 0.576t-1.088-0.576l-3.776-4.928q-0.448-0.576-0.24-0.992t0.944-0.416h2.976v-8.928q0-0.256 0.176-0.432t0.4-0.176h1.216q0.224 0 0.4 0.176t0.176 0.432v8.928h2.976q0.736 0 0.944 0.416t-0.24 0.992z",bg="M15.808 0.128q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.176 3.776-2.176 8.16 0 4.224 2.176 7.872 2.080 3.552 5.632 5.632 3.648 2.176 7.872 2.176 4.384 0 8.16-2.176 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.416-2.176-8.16-2.112-3.616-5.728-5.728-3.744-2.176-8.16-2.176zM16.864 23.776q0 0.064-0.064 0.064h-1.568q-0.096 0-0.096-0.064l-0.256-11.328q0-0.064 0.064-0.064h2.112q0.096 0 0.064 0.064l-0.256 11.328zM16 10.88q-0.576 0-0.976-0.4t-0.4-0.96 0.4-0.96 0.976-0.4 0.976 0.4 0.4 0.96-0.4 0.96-0.976 0.4z",wg="M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",Zi="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",yg="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.176zM24.832 11.328l-11.264 11.104q-0.032 0.032-0.112 0.032t-0.112-0.032l-5.216-5.376q-0.096-0.128 0-0.288l0.704-0.96q0.032-0.064 0.112-0.064t0.112 0.032l4.256 3.264q0.064 0.032 0.144 0.032t0.112-0.032l10.336-8.608q0.064-0.064 0.144-0.064t0.112 0.064l0.672 0.672q0.128 0.128 0 0.224z",Sg="M15.84 0.096q-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.176zM23.008 21.92l-0.512 0.896q-0.096 0.128-0.224 0.064l-8-3.808q-0.096-0.064-0.16-0.128-0.128-0.096-0.128-0.288l0.512-12.096q0-0.064 0.048-0.112t0.112-0.048h1.376q0.064 0 0.112 0.048t0.048 0.112l0.448 10.848 6.304 4.256q0.064 0.064 0.080 0.128t-0.016 0.128z",xg="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 Ji(e,t="#000",r=27){return M("svg",{width:r,height:r,viewBox:"0 0 32 32"},[M("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Qi(){return Ct()}function Tg(){return window.__PAGE_INFO__}function Ct(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function Eg(e){e.preventDefault()}var vu,du=0;function Cg({onPageScroll:e,onReachBottom:t,onReachBottomDistance:r}){var i=!1,n=!1,a=!0,o=()=>{var{scrollHeight:l}=document.documentElement,u=window.innerHeight,v=window.scrollY,h=v>0&&l>u&&v+u+r>=l,b=Math.abs(l-du)>r;return h&&(!n||b)?(du=l,n=!0,!0):(!h&&n&&(n=!1),!1)},s=()=>{e&&e(window.pageYOffset);function l(){if(o())return t&&t(),a=!1,setTimeout(function(){a=!0},350),!0}t&&a&&(l()||(vu=setTimeout(l,300))),i=!1};return function(){clearTimeout(vu),i||requestAnimationFrame(s),i=!0}}function Ga(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Ga(e,t.substr(2));for(var r=t.split("/"),i=r.length,n=0;n0?e.split("/"):[];return a.splice(a.length-n-1,n+1),"/"+a.concat(r).join("/")}class Og{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=t.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!(!this.$el||!t)){var r=hu(this.$el.querySelector(t));if(!!r)return Za(r,!1)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),n=0;n-1&&r.splice(i,1)}var n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return n.indexOf(t)===-1&&(n.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t,r={}){var i=this.$vm[t];ae(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(yd,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:r})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t,r={}){return this.$vm.$emit(t,r),this}getComputedStyle(t){if(this.$el){var r=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((i,n)=>(i[n]=r[n],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Za(e,t=!0){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Og(e)),e.$el.__wxsComponentDescriptor}function en(e,t){return Za(e,t)}function hu(e){if(!!e)return Dr(e)}function Dr(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:n,__wxsClassChanged:a}=e,o,s;n&&(e.__wxsStyleChanged=!1,t&&(s=()=>{Object.keys(t).forEach(l=>{e.style[l]=t[l]})})),a&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(l=>{e.classList.remove(l)}),r&&r.forEach(l=>{e.classList.add(l)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var Mg=e=>e.type==="click";function pu(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];if(i.tagName.indexOf("UNI-")!==0)return[e];var n=gu(e);if(Mg(e))Ag(n,e);else if(e instanceof TouchEvent){var a=Ka();n.touches=mu(e.touches,a),n.changedTouches=mu(e.changedTouches,a)}return[n]}function Ig(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function gu(e){var{type:t,timeStamp:r,target:i,currentTarget:n}=e,a={type:t,timeStamp:r,target:ea(Ig(i)),detail:{},currentTarget:ea(n)};return e._stopped&&(a._stopped=!0),e.type.startsWith("touch")&&(a.touches=e.touches,a.changedTouches=e.changedTouches),a}function Ag(e,t){var{x:r,y:i}=t,n=Ka();e.detail={x:r,y:i-n},e.touches=e.changedTouches=[Pg(t)]}function Pg(e){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}}function mu(e,t){for(var r=[],i=0;i{var a=Ug(e,n,r,i);if(a)throw new Error(a);return t.apply(null,n)}}function jg(e,t,r,i){return Vg(e,t,void 0,i)}function Hg(){if(typeof __SYSTEM_INFO__!="undefined")return window.__SYSTEM_INFO__;var{resolutionWidth:e}=plus.screen.getCurrentSize();return{platform:(plus.os.name||"").toLowerCase(),pixelRatio:plus.screen.scale,windowWidth:Math.round(e)}}function ht(e){if(e.indexOf("//")===0)return"https:"+e;if(pd.test(e)||gd.test(e))return e;if(Yg(e))return"file://"+wu(e);var t="file://"+wu("_www");if(e.indexOf("/")===0)return e.startsWith("/storage/")||e.startsWith("/sdcard/")||e.includes("/Containers/Data/Application/")?"file://"+e:t+e;if(e.indexOf("../")===0||e.indexOf("./")===0){if(typeof __id__=="string")return t+Ga("/"+__id__,e);var r=Tg();if(r)return t+Ga("/"+r.route,e)}return e}var wu=dd(e=>plus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Yg(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}function zg(e,t,r){}function qg(e){return Promise.resolve(e)}var Xg="upx2px",Kg=1e-4,Gg=750,yu=!1,Ja=0,Su=0;function Zg(){var{platform:e,pixelRatio:t,windowWidth:r}=Hg();Ja=r,Su=t,yu=e==="ios"}function xu(e,t){var r=Number(e);return isNaN(r)?t:r}var Tu=jg(Xg,(e,t)=>{if(Ja===0&&Zg(),e=Number(e),e===0)return 0;var r=t||Ja;{var i=__uniConfig.globalStyle||{},n=xu(i.rpxCalcMaxDeviceWidth,960),a=xu(i.rpxCalcBaseDeviceWidth,375);r=r<=n?r:a}var o=e/Gg*r;return o<0&&(o=-o),o=Math.floor(o+Kg),o===0&&(Su===1||!yu?o=1:o=.5),e<0?-o:o}),Jg=[{name:"id",type:String,required:!0}];Jg.concat({name:"componentInstance",type:Object});var Eu={};Eu.f={}.propertyIsEnumerable;var Qg=hr,em=kn,tm=ii,rm=Eu.f,im=function(e){return function(t){for(var r=tm(t),i=em(r),n=i.length,a=0,o=[],s;n>a;)s=i[a++],(!Qg||rm.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},Cu=Ln,nm=im(!1);Cu(Cu.S,"Object",{values:function(t){return nm(t)}});var am="loadFontFace",om="pageScrollTo",sm=function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(f){try{return f.defaultView&&f.defaultView.frameElement||null}catch(m){return null}}var t=function(f){for(var m=f,S=e(m);S;)m=S.ownerDocument,S=e(m);return m}(window.document),r=[],i=null,n=null;function a(f){this.time=f.time,this.target=f.target,this.rootBounds=y(f.rootBounds),this.boundingClientRect=y(f.boundingClientRect),this.intersectionRect=y(f.intersectionRect||d()),this.isIntersecting=!!f.intersectionRect;var m=this.boundingClientRect,S=m.width*m.height,x=this.intersectionRect,E=x.width*x.height;S?this.intersectionRatio=Number((E/S).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(f,m){var S=m||{};if(typeof f!="function")throw new Error("callback must be a function");if(S.root&&S.root.nodeType!=1&&S.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=f,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(S.rootMargin),this.thresholds=this._initThresholds(S.threshold),this.root=S.root||null,this.rootMargin=this._rootMarginValues.map(function(x){return x.value+x.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return i||(i=function(f,m){!f||!m?n=d():n=g(f,m),r.forEach(function(S){S._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,n=null},o.prototype.observe=function(f){var m=this._observationTargets.some(function(S){return S.element==f});if(!m){if(!(f&&f.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:f,entry:null}),this._monitorIntersections(f.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(f){this._observationTargets=this._observationTargets.filter(function(m){return m.element!=f}),this._unmonitorIntersections(f.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var f=this._queuedEntries.slice();return this._queuedEntries=[],f},o.prototype._initThresholds=function(f){var m=f||[0];return Array.isArray(m)||(m=[m]),m.sort().filter(function(S,x,E){if(typeof S!="number"||isNaN(S)||S<0||S>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return S!==E[x-1]})},o.prototype._parseRootMargin=function(f){var m=f||"0px",S=m.split(/\s+/).map(function(x){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(x);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return S[1]=S[1]||S[0],S[2]=S[2]||S[0],S[3]=S[3]||S[1],S},o.prototype._monitorIntersections=function(f){var m=f.defaultView;if(!!m&&this._monitoringDocuments.indexOf(f)==-1){var S=this._checkForIntersections,x=null,E=null;this.POLL_INTERVAL?x=m.setInterval(S,this.POLL_INTERVAL):(u(m,"resize",S,!0),u(f,"scroll",S,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in m&&(E=new m.MutationObserver(S),E.observe(f,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(f),this._monitoringUnsubscribes.push(function(){var W=f.defaultView;W&&(x&&W.clearInterval(x),v(W,"resize",S,!0)),v(f,"scroll",S,!0),E&&E.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(f!=C){var L=e(f);L&&this._monitorIntersections(L.ownerDocument)}}},o.prototype._unmonitorIntersections=function(f){var m=this._monitoringDocuments.indexOf(f);if(m!=-1){var S=this.root&&(this.root.ownerDocument||this.root)||t,x=this._observationTargets.some(function(L){var W=L.element.ownerDocument;if(W==f)return!0;for(;W&&W!=S;){var q=e(W);if(W=q&&q.ownerDocument,W==f)return!0}return!1});if(!x){var E=this._monitoringUnsubscribes[m];if(this._monitoringDocuments.splice(m,1),this._monitoringUnsubscribes.splice(m,1),E(),f!=S){var C=e(f);C&&this._unmonitorIntersections(C.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var f=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var m=0;m=0&&W>=0&&{top:S,bottom:x,left:E,right:C,width:L,height:W}||null}function b(f){var m;try{m=f.getBoundingClientRect()}catch(S){}return m?(m.width&&m.height||(m={top:m.top,right:m.right,bottom:m.bottom,left:m.left,width:m.right-m.left,height:m.bottom-m.top}),m):d()}function d(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function y(f){return!f||"x"in f?f:{top:f.top,y:f.top,bottom:f.bottom,left:f.left,x:f.left,right:f.right,width:f.width,height:f.height}}function g(f,m){var S=m.top-f.top,x=m.left-f.left;return{top:S,left:x,height:m.height,width:m.width,bottom:S+m.height,right:x+m.width}}function p(f,m){for(var S=m;S;){if(S==f)return!0;S=c(S)}return!1}function c(f){var m=f.parentNode;return f.nodeType==9&&f!=t?e(f):(m&&m.assignedSlot&&(m=m.assignedSlot.parentNode),m&&m.nodeType==11&&m.host?m.host:m)}function _(f){return f&&f.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=a};function Qa(e){var{bottom:t,height:r,left:i,right:n,top:a,width:o}=e||{};return{bottom:t,height:r,left:i,right:n,top:a,width:o}}function lm(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:n,width:a}}=e;return t!==0?t:n===r?a/i:n/r}function um(e,t,r){sm();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,n=new IntersectionObserver(l=>{l.forEach(u=>{r({intersectionRatio:lm(u),intersectionRect:Qa(u.intersectionRect),boundingClientRect:Qa(u.boundingClientRect),relativeRect:Qa(u.rootBounds),time:Date.now(),dataset:Jn(u.target),id:u.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){n.USE_MUTATION_OBSERVER=!0;for(var a=e.querySelectorAll(t.selector),o=0;o{var i=450,n=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=n&&Math.abs(r.pageY-e.pageY)<=n&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function mm(e){if(!e.length)return r=>r;var t=(r,i=!0)=>{if(typeof r=="number")return e[r];var n={};return r.forEach(([a,o])=>{i?n[t(a)]=t(o):n[t(a)]=o}),n};return t}function _m(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=bm(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function bm(e,t){var r={};return e.forEach(([i,[n,a]])=>{r[t(i)]=[t(n),a]}),r}function wm(e,t){return e.priority=t,e}var eo=new Set,ym=1,to=2,Ou=3,Mu=4;function Ot(e,t){eo.add(wm(e,t))}function Sm(){try{[...eo].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{eo.clear()}}function Iu(e,t){var r=window["__"+md],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var xm=Rs.length;function Tm(e,t,r){var[i,n,a,o]=io(t),s=ro(e,i);if(oe(r)||oe(o)){var[l,u]=a.split(".");return no(s,n,l,u,r||o)}return Om(s,n,a)}function Em(e,t,r){var[i,n,a]=io(t),[o,s]=a.split("."),l=ro(e,i);return no(l,n,o,s,[Im(r,e),en(Dr(l),!1)])}function ro(e,t){if(e.__ownerId===t)return e;for(var r=e.parentElement;r;){if(r.__ownerId===t)return r;r=r.parentElement}return e}function io(e){return JSON.parse(e.substr(xm))}function Cm(e,t,r,i){var[n,a,o]=io(e),s=ro(t,n),[l,u]=o.split(".");return no(s,a,l,u,[r,i,en(Dr(s),!1),en(Dr(t),!1)])}function no(e,t,r,i,n){var a=Iu(t,e);if(!a)return console.error(Zn("wxs","module "+r+" not found"));var o=a[i];return ae(o)?o.apply(a,n):console.error(r+"."+i+" is not a function")}function Om(e,t,r){var i=Iu(t,e);return i?As(i,r.substr(r.indexOf(".")+1)):console.error(Zn("wxs","module "+r+" not found"))}function Mm(e,t,r){var i=r;return n=>{try{Cm(t,e.$,n,i)}catch(a){console.error(a)}i=n}}function Im(e,t){var r=Dr(t);return Object.defineProperty(e,"instance",{get(){return en(r,!1)}}),e}function Au(e,t){Object.keys(t).forEach(r=>{Pm(e,t[r])})}function Am(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function Pm(e,t){var r=Rm(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=Lm(r)}}function Rm(e){var t=window["__"+_d],r=t&&t[e];return r||console.error(Zn("renderjs",e+" not found"))}function Lm(e){return e=e.default||e,e.render=()=>{},lu(e).mount(document.createElement("div"))}class lr{constructor(t,r,i,n){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.id=t,this.tag=r,this.pid=i,n&&(this.$=n),this.$wxsProps=new Map}init(t){te(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t}insert(t,r){var i=this.$,n=Ke(t);r===-1?n.appendChild(i):n.insertBefore(i,Ke(r).$),this.isMounted=!0}remove(){var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,jf(this.id),Am(this)}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(na)===0){var i=r.replace(na,""),n=t[i],a=Mm(this,t[r],n);Ot(()=>a(n),Mu),this.$wxsProps.set(r,a),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,n]=t[r];this.addWxsEvent(r,i,n)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r,i=!1){var n=this.$hasWxsProps&&this.$wxsProps.get(na+t);if(n)return Ot(()=>i?or(()=>n(r)):n(r),Mu),!0}}function Pu(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(n=>i.indexOf(n)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function Ru(e,t){var r=e.style;if(ye(t))t===""?e.removeAttribute("style"):r.cssText=Ut(t,!0);else for(var i in t)ao(r,i,t[i]);var{__wxsStyle:n}=e;if(n)for(var a in n)ao(r,a,n[a])}var Lu=/\s*!important$/;function ao(e,t,r){if(oe(r))r.forEach(n=>ao(e,t,n));else if(r=Ut(r,!0),t.startsWith("--"))e.setProperty(t,r);else{var i=Nm(e,t);Lu.test(r)?e.setProperty(Ve(i),r.replace(Lu,""),"important"):e[i]=r}}var Nu=["Webkit"],oo={};function Nm(e,t){var r=oo[t];if(r)return r;var i=mt(t);if(i!=="filter"&&i in e)return oo[t]=i;i=mi(i);for(var n=0;n{var[a]=pu(n);a.type=Jv(n.type,r),UniViewJSBridge.publishHandler(_u,[[cd,e,a]])};return t?za(i,$u(t)):i}function $u(e){var t=[];return e&ra.prevent&&t.push("prevent"),e&ra.self&&t.push("self"),e&ra.stop&&t.push("stop"),t}function km(e,t,r,i){var[n,a]=ta(t);i===-1?ku(e,n):Du(e,n)||e.addEventListener(n,e.__listeners[n]=Wu(e,r,i),a)}function Wu(e,t,r){var i=n=>{Em(e,t,pu(n)[0])};return r?za(i,$u(r)):i}var Dm=Ls.length;function so(e,t){return ye(t)&&(t.indexOf(Ls)===0?t=JSON.parse(t.substr(Dm)):t.indexOf(Rs)===0&&(t=Tm(e,t))),t}function lo(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class Uu extends lr{constructor(t,r,i,n,a,o=[]){super(t,r.tagName,i,r);this.$props=Ee({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=o,this._update=this.update.bind(this),this.init(a),this.insert(i,n)}init(t){te(t,"a")&&this.setAttrs(t.a),te(t,"s")&&this.setAttr("style",t.s),te(t,"e")&&this.addEvents(t.e),te(t,"w")&&this.addWxsEvents(t.w),super.init(t),U(this.$props,()=>{Ot(this._update,ym)},{flush:"sync"}),this.update(!0)}setAttrs(t){this.setWxsProps(t),Object.keys(t).forEach(r=>{this.setAttr(r,t[r])})}addEvents(t){Object.keys(t).forEach(r=>{this.addEvent(r,t[r])})}addWxsEvent(t,r,i){km(this.$,t,r,i)}addEvent(t,r){Bu(this.$,t,r)}removeEvent(t){Bu(this.$,t,-1)}setAttr(t,r){t===Cs?Pu(this.$,r):t===ia?Ru(this.$,r):t===bi?lo(this.$,r):t===Os?this.$.__ownerId=r:t===Ms?Ot(()=>Au(this,r),Ou):t===Qv?this.$.innerHTML=r:t===ed?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===Cs?Pu(this.$,""):t===ia?Ru(this.$,""):this.removeAttribute(t)}setAttribute(t,r){r=so(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:this.$.removeAttribute(t)}update(t=!1){}}class Bm extends lr{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var uy="";function Vu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,r)=>"".concat(uni.upx2px(parseFloat(r)),"px")):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function Fm(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function $m(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],r=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],n=["width","height","left","right","top","bottom"],a=e.animates,o=e.option,s=o.transition,l={},u=[];return a.forEach(v=>{var h=v.type,b=[...v.args];if(t.concat(r).includes(h))h.startsWith("rotate")||h.startsWith("skew")?b=b.map(y=>parseFloat(y)+"deg"):h.startsWith("translate")&&(b=b.map(Vu)),r.indexOf(h)>=0&&(b.length=1),u.push("".concat(h,"(").concat(b.join(","),")"));else if(i.concat(n).includes(b[0])){h=b[0];var d=b[1];l[h]=n.includes(h)?Vu(d):d}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(v=>"".concat(Fm(v)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}function ju(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,n=t.actions.length;function a(){var o=i[r],s=o.option.transition,l=$m(o);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r{a()},0)}var tn={props:["animation"],watch:{animation:{deep:!0,handler(){ju(this)}}},mounted(){ju(this)}},he=e=>{var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(tn),Wm(e)},Wm=e=>(e.compatConfig={MODE:3},jh(e)),Um={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function uo(e){var t=B(!1),r=!1,i,n;function a(){requestAnimationFrame(()=>{clearTimeout(n),n=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(u){u._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||u.touches.length>1||(e.hoverStopPropagation&&(u._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||a()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&a()}function l(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:l}}}function Br(e,t){return ye(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Vt(e){return e.__wwe=!0,e}function Pe(e,t){return(r,i,n)=>{e.value&&t(r,jm(r,i,e.value,n||{}))}}function Vm(e){return(t,r)=>{e(t,gu(r))}}function jm(e,t,r,i){var n=ea(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:n,currentTarget:n,detail:i}}var st=Gi("uf"),Hm=he({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:r}){var i=B(null);return Ym(Pe(i,r)),()=>M("uni-form",{ref:i},[M("span",null,[t.default&&t.default()])],512)}});function Ym(e){var t=[];return Ne(st,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,n)=>{if(n.submit){var[a,o]=n.submit();a&&(i[a]=o)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var Fr=Gi("ul"),zm={for:{type:String,default:""}},qm=he({name:"Label",props:zm,setup(e,{slots:t}){var r=Qi(),i=Xm(),n=Q(()=>e.for||t.default&&t.default.length),a=Vt(o=>{var s=o.target,l=/^uni-(checkbox|radio|switch)-/.test(s.className);l||(l=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(s.tagName)),!l&&(e.for?UniViewJSBridge.emit("uni-label-click-"+r+"-"+e.for,o,!0):i.length&&i[0](o,!0))});return()=>M("uni-label",{class:{"uni-label-pointer":n},onClick:a},[t.default&&t.default()],10,["onClick"])}});function Xm(){var e=[];return Ne(Fr,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}function rn(e,t){Hu(e.id,t),U(()=>e.id,(r,i)=>{Yu(i,t,!0),Hu(r,t,!0)}),yt(()=>{Yu(e.id,t)})}function Hu(e,t,r){var i=Qi();r&&!e||!rt(t)||Object.keys(t).forEach(n=>{r?n.indexOf("@")!==0&&n.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(n,"-").concat(i,"-").concat(e),t[n]):n.indexOf("uni-")===0?UniViewJSBridge.on(n,t[n]):e&&UniViewJSBridge.on("uni-".concat(n,"-").concat(i,"-").concat(e),t[n])})}function Yu(e,t,r){var i=Qi();r&&!e||!rt(t)||Object.keys(t).forEach(n=>{r?n.indexOf("@")!==0&&n.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(n,"-").concat(i,"-").concat(e),t[n]):n.indexOf("uni-")===0?UniViewJSBridge.off(n,t[n]):e&&UniViewJSBridge.off("uni-".concat(n,"-").concat(i,"-").concat(e),t[n])})}var Km=he({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}},setup(e,{slots:t}){var r=B(null);$d();var i=ge(st,!1),{hovering:n,binding:a}=uo(e),{t:o}=je(),s=Vt((u,v)=>{if(e.disabled)return u.stopImmediatePropagation();v&&r.value.click();var h=e.formType;if(h){if(!i)return;h==="submit"?i.submit(u):h==="reset"&&i.reset(u);return}e.openType==="feedback"&&Gm(o("uni.button.feedback.title"),o("uni.button.feedback.send"))}),l=ge(Fr,!1);return l&&(l.addHandler(s),xe(()=>{l.removeHandler(s)})),rn(e,{"label-click":s}),()=>{var u=e.hoverClass,v=Br(e,"disabled"),h=Br(e,"loading"),b=u&&u!=="none";return M("uni-button",Ye({ref:r,onClick:s,class:b&&n.value?u:""},b&&a,v,h),[t.default&&t.default()],16,["onClick"])}}});function Gm(e,t){var r=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:e,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:t,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){r.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}});r.show("slide-in-right")}var jt=he({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){var r=B(null),i=Jm(r),n=Zm(r,t,i);return Qm(r,e,n,i),()=>M("uni-resize-sensor",{ref:r,onAnimationstartOnce:n},[M("div",{onScroll:n},[M("div",null,null)],40,["onScroll"]),M("div",{onScroll:n},[M("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Zm(e,t,r){var i=Ee({width:-1,height:-1});return U(()=>fe({},i),n=>t("resize",n)),()=>{var n=e.value;i.width=n.offsetWidth,i.height=n.offsetHeight,r()}}function Jm(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Qm(e,t,r,i){Oa(i),Oe(()=>{t.initial&&or(r);var n=e.value;n.offsetParent!==n.parentElement&&(n.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var me=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r}();function zu(e){e.width=e.offsetWidth*me,e.height=e.offsetHeight*me,e.getContext("2d").__hidpi__=!0}var qu=!1;function e0(){if(!qu){qu=!0;var e=function(i,n){for(var a in i)te(i,a)&&n(i[a],a)},t={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(n,a,o,s,l,u,v,h,b,d){if(!this.__hidpi__)return i.apply(this,arguments);a*=me,o*=me,s*=me,l*=me,u*=me,v*=me,h=d?h*me:h,b=d?b*me:b,i.call(this,n,a,o,s,l,u,v,h,b)}}(r.drawImage),me!==1&&(e(t,function(i,n){r[n]=function(a){return function(){if(!this.__hidpi__)return a.apply(this,arguments);var o=Array.prototype.slice.call(arguments);if(i==="all")o=o.map(function(l){return l*me});else if(Array.isArray(i))for(var s=0;se0());function Xu(e){return e&&ht(e)}function nn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Ku(e,t){var r=e;return Array.from(t).map(i=>{var n=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-n.left,y:i.clientY-n.top}})}var $r;function Gu(e=0,t=0){return $r||($r=document.createElement("canvas")),$r.width=e,$r.height=t,$r}var r0={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1}},i0=he({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:r0,computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:r}){t0();var i=B(null),n=B(null),a=B(!1),o=Vm(t),{$attrs:s,$excludeAttrs:l,$listeners:u}=pf({excludeListeners:!0}),{_listeners:v}=n0(e,u,o),{_handleSubscribe:h,_resize:b}=a0(i,a);return pn(h,gn(e.canvasId),!0),Oe(()=>{b()}),()=>{var{canvasId:d,disableScroll:y}=e;return M("uni-canvas",Ye({"canvas-id":d,"disable-scroll":y},s.value,l.value,v.value),[M("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),M("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[r.default&&r.default()]),M(jt,{ref:n,onResize:b},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function n0(e,t,r){var i=Q(()=>{var n=["onTouchstart","onTouchmove","onTouchend"],a=t.value,o=fe({},(()=>{var s={};for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l)){var u=a[l];s[l]=u}return s})());return n.forEach(s=>{var l=o[s],u=[];l&&u.push(Vt(v=>{r(s.replace("on","").toLocaleLowerCase(),fe({},(()=>{var h={};for(var b in v)h[b]=v[b];return h})(),{touches:Ku(v.currentTarget,v.touches),changedTouches:Ku(v.currentTarget,v.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&u.push(vg),o[s]=u}),o});return{_listeners:i}}function a0(e,t){var r=[],i={};function n(d){var y=e.value,g=!d||y.width!==Math.floor(d.width*me)||y.height!==Math.floor(d.height*me);if(!!g)if(y.width>0&&y.height>0){var p=y.getContext("2d"),c=p.getImageData(0,0,y.width,y.height);zu(y),p.putImageData(c,0,0)}else zu(y)}function a({actions:d,reserve:y},g){if(!!d){if(t.value){r.push([d,y]);return}var p=e.value,c=p.getContext("2d");y||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,p.width,p.height)),o(d);for(var _=function(S){var x=d[S],E=x.method,C=x.data,L=C[0];if(/^set/.test(E)&&E!=="setTransform"){var W=E[3].toLowerCase()+E.slice(4),q;if(W==="fillStyle"||W==="strokeStyle"){if(L==="normal")q=nn(C[1]);else if(L==="linear"){var X=c.createLinearGradient(...C[1]);C[2].forEach(function(Y){var re=Y[0],le=nn(Y[1]);X.addColorStop(re,le)}),q=X}else if(L==="radial"){var ce=C[1],A=ce[0],$=ce[1],ee=ce[2],ne=c.createRadialGradient(A,$,0,A,$,ee);C[2].forEach(function(Y){var re=Y[0],le=nn(Y[1]);ne.addColorStop(re,le)}),q=ne}else if(L==="pattern"){var H=s(C[1],d.slice(S+1),g,function(Y){Y&&(c[W]=c.createPattern(Y,C[2]))});return H?"continue":"break"}c[W]=q}else if(W==="globalAlpha")c[W]=Number(L)/255;else if(W==="shadow"){var J=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];C.forEach(function(Y,re){c[J[re]]=J[re]==="shadowColor"?nn(Y):Y})}else if(W==="fontSize"){var ie=c.__font__||c.font;c.__font__=c.font=ie.replace(/\d+\.?\d*px/,L+"px")}else W==="lineDash"?(c.setLineDash(L),c.lineDashOffset=C[1]||0):W==="textBaseline"?(L==="normal"&&(C[0]="alphabetic"),c[W]=L):W==="font"?c.__font__=c.font=L:c[W]=L}else if(E==="fillPath"||E==="strokePath")E=E.replace(/Path/,""),c.beginPath(),C.forEach(function(Y){c[Y.method].apply(c,Y.data)}),c[E]();else if(E==="fillText")c.fillText.apply(c,C);else if(E==="drawImage"){var we=function(){var Y=[...C],re=Y[0],le=Y.slice(1);if(i=i||{},s(re,d.slice(S+1),g,function(ve){ve&&c.drawImage.apply(c,[ve].concat([...le.slice(4,8)],[...le.slice(0,4)]))}))return"break"}();if(we==="break")return"break"}else E==="clip"?(C.forEach(function(Y){c[Y.method].apply(c,Y.data)}),c.clip()):c[E].apply(c,C)},f=0;f{f.src=m}).catch(()=>{f.src=c})}})}function s(d,y,g,p){var c=i[d];return c.ready?(p(c),!0):(r.unshift([y,!0]),t.value=!0,c.onload=function(){c.ready=!0,p(c),t.value=!1;var _=r.slice(0);r=[];for(var f=_.shift();f;)a({actions:f[0],reserve:f[1]},g),f=_.shift()},!1)}function l({x:d=0,y=0,width:g,height:p,destWidth:c,destHeight:_,hidpi:f=!0,dataType:m,quality:S=1,type:x="png"},E){var C=e.value,L,W=C.offsetWidth-d;g=g?Math.min(g,W):W;var q=C.offsetHeight-y;p=p?Math.min(p,q):q,f?(c=g,_=p):!c&&!_?(c=Math.round(g*me),_=Math.round(p*me)):c?_||(_=Math.round(p/g*c)):c=Math.round(g/p*_);var X=Gu(c,_),ce=X.getContext("2d");(x==="jpeg"||x==="jpg")&&(x="jpeg",ce.fillStyle="#fff",ce.fillRect(0,0,c,_)),ce.__hidpi__=!0,ce.drawImageByCanvas(C,d,y,g,p,0,0,c,_,!1);var A;try{var $;if(m==="base64")L=X.toDataURL("image/".concat(x),S);else{var ee=ce.getImageData(0,0,c,_),ne=require("pako");L=ne.deflateRaw(ee.data,{to:"string"}),$=!0}A={data:L,compressed:$,width:c,height:_}}catch(H){A={errMsg:"canvasGetImageData:fail ".concat(H)}}if(X.height=X.width=0,ce.__hidpi__=!1,E)E(A);else return A}function u({data:d,x:y,y:g,width:p,height:c,compressed:_},f){try{c||(c=Math.round(d.length/4/p));var m=Gu(p,c),S=m.getContext("2d");if(_){var x=require("pako");d=x.inflateRaw(d)}S.putImageData(new ImageData(new Uint8ClampedArray(d),p,c),0,0),e.value.getContext("2d").drawImage(m,y,g,p,c),m.height=m.width=0}catch(E){f({errMsg:"canvasPutImageData:fail"});return}f({errMsg:"canvasPutImageData:ok"})}function v({x:d=0,y=0,width:g,height:p,destWidth:c,destHeight:_,fileType:f,quality:m,dirname:S},x){var E=l({x:d,y,width:g,height:p,destWidth:c,destHeight:_,hidpi:!1,dataType:"base64",type:f,quality:m});if(!E.data||!E.data.length){x({errMsg:E.errMsg.replace("canvasPutImageData","toTempFilePath")});return}zg(E.data)}var h={actionsChanged:a,getImageData:l,putImageData:u,toTempFilePath:v};function b(d,y,g){var p=h[d];d.indexOf("_")!==0&&typeof p=="function"&&p(y,g)}return fe(h,{_resize:n,_handleSubscribe:b})}var Zu=Gi("ucg"),o0={name:{type:String,default:""}},s0=he({name:"CheckboxGroup",props:o0,emits:["change"],setup(e,{emit:t,slots:r}){var i=B(null),n=Pe(i,t);return l0(e,n),()=>M("uni-checkbox-group",{ref:i},[r.default&&r.default()],512)}});function l0(e,t){var r=[],i=()=>r.reduce((a,o)=>(o.value.checkboxChecked&&a.push(o.value.value),a),new Array);Ne(Zu,{addField(a){r.push(a)},removeField(a){r.splice(r.indexOf(a),1)},checkboxChange(a){t("change",a,{value:i()})}});var n=ge(st,!1);return n&&n.addField({submit:()=>{var a=["",null];return e.name!==""&&(a[0]=e.name,a[1]=i()),a}}),i}var u0={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:""}},f0=he({name:"Checkbox",props:u0,setup(e,{slots:t}){var r=B(e.checked),i=B(e.value);U([()=>e.checked,()=>e.value],([l,u])=>{r.value=l,i.value=u});var n=()=>{r.value=!1},{uniCheckGroup:a,uniLabel:o}=c0(r,i,n),s=l=>{e.disabled||(r.value=!r.value,a&&a.checkboxChange(l))};return o&&(o.addHandler(s),xe(()=>{o.removeHandler(s)})),rn(e,{"label-click":s}),()=>{var l=Br(e,"disabled");return M("uni-checkbox",Ye(l,{onClick:s}),[M("div",{class:"uni-checkbox-wrapper"},[M("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[r.value?Ji(Zi,e.color,22):""],2),t.default&&t.default()])],16,["onClick"])}}});function c0(e,t,r){var i=Q(()=>({checkboxChecked:Boolean(e.value),value:t.value})),n={reset:r},a=ge(Zu,!1);a&&a.addField(i);var o=ge(st,!1);o&&o.addField(n);var s=ge(Fr,!1);return xe(()=>{a&&a.removeField(i),o&&o.removeField(n)}),{uniCheckGroup:a,uniForm:o,uniLabel:s}}var Ju,Wr,an,Mt,on,fo;Qt(()=>{Wr=plus.os.name==="Android",an=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){Mt=e.height,on&&on()},!1);function Qu(){}function Ur(e,t,r){Qt(()=>{var i="adjustResize",n="adjustPan",a="nothing",o=plus.webview.currentWebview(),s=fo||o.getStyle()||{},l={mode:r||s.softinputMode===i?i:e.adjustPosition?n:a,position:{top:0,height:0}};if(l.mode===n){var u=t.getBoundingClientRect();l.position.top=u.top,l.position.height=u.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(l)})}function v0(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Qt(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},n=i!=="none";n!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function d0(e){var t=e.softinputNavBar;t&&Qt(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var ef={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},tf=["keyboardheightchange"];function rf(e,t,r){var i={};function n(a){var o,s=()=>{r("keyboardheightchange",{},{height:Mt,duration:.25}),o&&Mt===0&&Ur(e,a),e.autoBlur&&o&&Mt===0&&(Wr||parseInt(an)>=13)&&document.activeElement.blur()};a.addEventListener("focus",()=>{o=!0,clearTimeout(Ju),document.addEventListener("click",Qu,!1),on=s,Mt&&r("keyboardheightchange",{},{height:Mt,duration:0}),v0(e,i),Ur(e,a)}),Wr&&a.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&Mt===0&&Ur(e,a)}),Wr||(parseInt(an)<12&&a.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&Ur(e,a)}),parseFloat(an)>=14.6&&!fo&&Qt(()=>{var u=plus.webview.currentWebview();fo=u.getStyle()||{}}));var l=()=>{document.removeEventListener("click",Qu,!1),on=null,Mt&&r("keyboardheightchange",{},{height:0,duration:0}),d0(i),Wr&&(Ju=setTimeout(()=>{Ur(e,a,!0)},300)),String(navigator.vendor).indexOf("Apple")===0&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};a.addEventListener("blur",()=>{a.blur(),o=!1,l()})}U(()=>t.value,a=>n(a))}var nf=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,af=/^<\/([-A-Za-z0-9_]+)[^>]*>/,h0=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,p0=ur("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),g0=ur("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),m0=ur("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),_0=ur("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),b0=ur("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),w0=ur("script,style");function of(e,t){var r,i,n,a=[],o=e;for(a.last=function(){return this[this.length-1]};e;){if(i=!0,!a.last()||!w0[a.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(v,h){return h=h.replace(/|/g,"$1$2"),t.chars&&t.chars(h),""}),u("",a.last());if(e==o)throw"Parse Error: "+e;o=e}u();function l(v,h,b,d){if(h=h.toLowerCase(),g0[h])for(;a.last()&&m0[a.last()];)u("",a.last());if(_0[h]&&a.last()==h&&u("",h),d=p0[h]||!!d,d||a.push(h),t.start){var y=[];b.replace(h0,function(g,p){var c=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:b0[p]?p:"";y.push({name:p,value:c,escaped:c.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(h,y,d)}}function u(v,h){if(h)for(var b=a.length-1;b>=0&&a[b]!=h;b--);else var b=0;if(b>=0){for(var d=a.length-1;d>=b;d--)t.end&&t.end(a[d]);a.length=b}}}function ur(e){for(var t={},r=e.split(","),i=0;io()),delete co[t]}}n.push(r)}function y0(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function S0(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function x0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},n=new r.Style("align","text-align",i);return{"formats/align":n}}function T0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},n=new r.Style("direction","direction",i);return{"formats/direction":n}}function E0(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class n extends r{static create(o){var s=o==="ordered"?"OL":"UL",l=super.create(s);return(o==="checked"||o==="unchecked")&&l.setAttribute("data-checked",o==="checked"),l}static formats(o){if(o.tagName==="OL")return"ordered";if(o.tagName==="UL")return o.hasAttribute("data-checked")?o.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(o){super(o);var s=l=>{if(l.target.parentNode===o){var u=this.statics.formats(o),v=t.find(l.target);u==="checked"?v.format("list","unchecked"):u==="unchecked"&&v.format("list","checked")}};o.addEventListener("click",s)}format(o,s){this.children.length>0&&this.children.tail.format(o,s)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(o,s){if(o instanceof i)super.insertBefore(o,s);else{var l=s==null?this.length():s.offset(this),u=this.split(l);u.parent.insertBefore(o,u)}}optimize(o){super.optimize(o);var s=this.next;s!=null&&s.prev===this&&s.statics.blotName===this.statics.blotName&&s.domNode.tagName===this.domNode.tagName&&s.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(s.moveChildren(this),s.remove())}replace(o){if(o.statics.blotName!==this.statics.blotName){var s=t.create(this.statics.defaultChild);o.moveChildren(s),this.appendChild(s)}super.replace(o)}}return n.blotName="list",n.scope=t.Scope.BLOCK_BLOT,n.tagName=["OL","UL"],n.defaultChild="list-item",n.allowedChildren=[i],{"formats/list":n}}function C0(e){var{Scope:t}=e.import("parchment"),r=e.import("formats/background"),i=new r.constructor("backgroundColor","background-color",{scope:t.INLINE});return{"formats/backgroundColor":i}}function O0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},n=["margin","marginTop","marginBottom","marginLeft","marginRight"],a=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],o={};return n.concat(a).forEach(s=>{o["formats/".concat(s)]=new r.Style(s,Ve(s),i)}),o}function M0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},n=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],a={};return n.forEach(o=>{a["formats/".concat(o)]=new r.Style(o,Ve(o),i)}),a}function I0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],n={};return i.forEach(({name:a,scope:o})=>{n["formats/".concat(a)]=new r.Style(a,Ve(a),{scope:o})}),n}function A0(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=n=>n,t.formats=function(a){return r.reduce(function(o,s){return a.hasAttribute(s)&&(o[s]=a.getAttribute(s)),o},{})};var i=t.prototype.format;t.prototype.format=function(n,a){r.indexOf(n)>-1?a?this.domNode.setAttribute(n,a):this.domNode.removeAttribute(n):i.call(this,n,a)}}function P0(e){var t={divider:y0,ins:S0,align:x0,direction:T0,list:E0,background:C0,box:O0,font:M0,text:I0,image:A0},r={};Object.values(t).forEach(i=>fe(r,i(e))),e.register(r,!0)}function R0(e,t,r){var i,n,a,o=!1;U(()=>e.readOnly,d=>{i&&(a.enable(!d),d||a.blur())}),U(()=>e.placeholder,d=>{i&&a.root.setAttribute("data-placeholder",d)});function s(d){var y=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],g="",p;of(d,{start:function(_,f,m){if(!y.includes(_)){p=!m;return}p=!1;var S=f.map(({name:E,value:C})=>"".concat(E,'="').concat(C,'"')).join(" "),x="<".concat(_," ").concat(S," ").concat(m?"/":"",">");g+=x},end:function(_){p||(g+=""))},chars:function(_){p||(g+=_)}}),n=!0;var c=a.clipboard.convert(g);return n=!1,c}function l(){var d=a.root.innerHTML,y=a.getText(),g=a.getContents();return{html:d,text:y,delta:g}}var u={};function v(d){var y=d?a.getFormat(d):{},g=Object.keys(y);(g.length!==Object.keys(u).length||g.find(p=>y[p]!==u[p]))&&(u=y,r("statuschange",{},y))}function h(d){var y=window.Quill;P0(y);var g={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};d.length&&(y.register("modules/ImageResize",window.ImageResize.default),g.modules={ImageResize:{modules:d}});var p=t.value;a=new y(p,g);var c=a.root,_=["focus","blur","input"];_.forEach(f=>{c.addEventListener(f,m=>{f==="input"?m.stopPropagation():r(f,m,l())})}),a.on("text-change",()=>{o||r("input",{},l())}),a.on("selection-change",v),a.on("scroll-optimize",()=>{var f=a.selection.getRange()[0];v(f)}),a.clipboard.addMatcher(Node.ELEMENT_NODE,(f,m)=>(n||m.ops&&(m.ops=m.ops.filter(({insert:S})=>typeof S=="string").map(({insert:S})=>({insert:S}))),m)),i=!0,r("ready",{},{})}Oe(()=>{var d=[];e.showImgSize&&d.push("DisplaySize"),e.showImgToolbar&&d.push("Toolbar"),e.showImgResize&&d.push("Resize");var y="./__uniappquill.js";sf(window.Quill,y,()=>{if(d.length){var g="./__uniappquillimageresize.js";sf(window.ImageResize,g,()=>{h(d)})}else h(d)})});var b=gn();pn((d,y,g)=>{var{options:p,callbackId:c}=y,_,f,m;if(i){var S=window.Quill;switch(d){case"format":{var{name:x="",value:E=!1}=p;f=a.getSelection(!0);var C=a.getFormat(f)[x]||!1;if(["bold","italic","underline","strike","ins"].includes(x))E=!C;else if(x==="direction"){E=E==="rtl"&&C?!1:E;var L=a.getFormat(f).align;E==="rtl"&&!L?a.format("align","right","user"):!E&&L==="right"&&a.format("align",!1,"user")}else if(x==="indent"){var W=a.getFormat(f).direction==="rtl";E=E==="+1",W&&(E=!E),E=E?"+1":"-1"}else x==="list"&&(E=E==="check"?"unchecked":E,C=C==="checked"?"unchecked":C),E=C&&C!==(E||!1)||!C&&E?E:!C;a.format(x,E,"user")}break;case"insertDivider":f=a.getSelection(!0),a.insertText(f.index,wr,"user"),a.insertEmbed(f.index+1,"divider",!0,"user"),a.setSelection(f.index+2,0,"silent");break;case"insertImage":{f=a.getSelection(!0);var{src:q="",alt:X="",width:ce="",height:A="",extClass:$="",data:ee={}}=p,ne=ht(q);a.insertEmbed(f.index,"image",ne,"user");var H=/^(file|blob):/.test(ne)?ne:!1;o=!0,a.formatText(f.index,1,"data-local",H),a.formatText(f.index,1,"alt",X),a.formatText(f.index,1,"width",ce),a.formatText(f.index,1,"height",A),a.formatText(f.index,1,"class",$),o=!1,a.formatText(f.index,1,"data-custom",Object.keys(ee).map(re=>"".concat(re,"=").concat(ee[re])).join("&")),a.setSelection(f.index+1,0,"silent")}break;case"insertText":{f=a.getSelection(!0);var{text:J=""}=p;a.insertText(f.index,J,"user"),a.setSelection(f.index+J.length,0,"silent")}break;case"setContents":{var{delta:ie,html:we}=p;typeof ie=="object"?a.setContents(ie,"silent"):typeof we=="string"?a.setContents(s(we),"silent"):m="contents is missing"}break;case"getContents":_=l();break;case"clear":a.setText("");break;case"removeFormat":{f=a.getSelection(!0);var Y=S.import("parchment");f.length?a.removeFormat(f.index,f.length,"user"):Object.keys(a.getFormat(f)).forEach(re=>{Y.query(re,Y.Scope.INLINE)&&a.format(re,!1)})}break;case"undo":a.history.undo();break;case"redo":a.history.redo();break;case"blur":a.blur();break;case"getSelectionText":f=a.selection.savedRange,_={text:""},f&&f.length!==0&&(_.text=a.getText(f.index,f.length));break;case"scrollIntoView":a.scrollIntoView();break}v(f)}else m="not ready";c&&g({callbackId:c,data:fe({},_,{errMsg:"".concat(d,":").concat(m?"fail "+m:"ok")})})},b,!0)}var L0=fe({},ef,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),N0=he({name:"Editor",props:L0,emit:["ready","focus","blur","input","statuschange",...tf],setup(e,{emit:t}){var r=B(null),i=Pe(r,t);return R0(e,r,i),rf(e,r,i),()=>M("uni-editor",{ref:r,id:e.id,class:"ql-container"},null,8,["id"])}}),lf="#10aeff",k0="#f76260",uf="#b2b2b2",D0="#f43530",B0={success:{d:yg,c:wi},success_no_circle:{d:Zi,c:wi},info:{d:bg,c:lf},warn:{d:xg,c:k0},waiting:{d:Sg,c:lf},cancel:{d:gg,c:D0},download:{d:_g,c:wi},search:{d:wg,c:uf},clear:{d:mg,c:uf}},F0=he({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=Q(()=>B0[e.type]);return()=>{var{value:r}=t;return M("uni-icon",null,[r&&r.d&&Ji(r.d,e.color||r.c,Ut(e.size))])}}}),$0={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!0}},sn={widthFix:["offsetWidth","height"],heightFix:["offsetHeight","width"]},W0={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"]},U0=he({name:"Image",props:$0,setup(e,{emit:t}){var r=B(null),i=V0(r,e),n=Pe(r,t),{fixSize:a}=z0(r,e,i);return j0(i,a,n),()=>{var{mode:o}=e,{imgSrc:s,modeStyle:l,src:u}=i,v;return v=s?M("img",{src:s,draggable:e.draggable},null,8,["src","draggable"]):M("img",null,null),M("uni-image",{ref:r},[M("div",{style:l},null,4),v,sn[o]?M(jt,{onResize:a},null,8,["onResize"]):M("span",null,null)],512)}}});function V0(e,t){var r=B(""),i=Q(()=>{var a="auto",o="",s=W0[t.mode];return s?(s[0]&&(o=s[0]),s[1]&&(a=s[1])):(o="0% 0%",a="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(o,";background-size:").concat(a,";")}),n=Ee({rootEl:e,src:Q(()=>t.src?ht(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Oe(()=>{var a=e.value,o=a.style;n.origWidth=Number(o.width)||0,n.origHeight=Number(o.height)||0}),n}function j0(e,t,r){var i,n=(s=0,l=0,u="")=>{e.origWidth=s,e.origHeight=l,e.imgSrc=u},a=s=>{if(!s){o(),n();return}i=i||new Image,i.onload=l=>{var{width:u,height:v}=i;n(u,v,s),t(),o(),r("load",l,{width:u,height:v})},i.onerror=l=>{n(),o(),r("error",l,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};U(()=>e.src,s=>a(s)),Oe(()=>a(e.src)),xe(()=>o())}var H0=navigator.vendor==="Google Inc.";function Y0(e){return H0&&e>10&&(e=Math.round(e/2)*2),e}function z0(e,t,r){var i=()=>{var{mode:a}=t,o=sn[a];if(!!o){var{origWidth:s,origHeight:l}=r,u=s&&l?s/l:0;if(!!u){var v=e.value,h=v[o[0]];h&&(v.style[o[1]]=Y0(h/u)+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},n=()=>{var{style:a}=e.value,{origStyle:{width:o,height:s}}=r;a.width=o,a.height=s};return U(()=>t.mode,(a,o)=>{sn[o]&&n(),sn[a]&&i()}),{fixSize:i,resetSize:n}}function q0(e,t){var r=0,i,n,a=function(...o){var s=Date.now();if(clearTimeout(i),n=()=>{n=null,r=s,e.apply(this,o)},s-r{document.addEventListener(r,function(){ln.forEach(i=>{i.userAction=!0,vo++,setTimeout(()=>{vo--,vo||(i.userAction=!1)},0)})},X0)}),ff=!0}ln.push(e)}function G0(e){var t=ln.indexOf(e);t>=0&&ln.splice(t,1)}function Z0(){var e=Ee({userAction:!1});return Oe(()=>{K0(e)}),xe(()=>{G0(e)}),{state:e}}function cf(){var e=Ee({attrs:{}});return Oe(()=>{for(var t=xt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function J0(e,t){var r=ge(st,!1);if(!!r){var i=xt(),n={submit(){var a=i.proxy;return[a[e],typeof t=="string"?a[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(n),xe(()=>{r.removeField(n)})}}function Q0(e,t){var r=document.activeElement;if(!r)return t({});var i={};["input","textarea"].includes(r.tagName.toLowerCase())&&(i.start=r.selectionStart,i.end=r.selectionEnd),t(i)}var e_=function(){ft(Ct(),"getSelectedTextRange",Q0)},t_=200,ho;function po(e){return e===null?"":String(e)}var vf=fe({},{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"}},ef),df=["input","focus","blur","update:value","update:modelValue","update:focus",...tf];function r_(e,t,r){var i=B(null),n=Pe(t,r),a=Q(()=>{var h=Number(e.selectionStart);return isNaN(h)?-1:h}),o=Q(()=>{var h=Number(e.selectionEnd);return isNaN(h)?-1:h}),s=Q(()=>{var h=Number(e.cursor);return isNaN(h)?-1:h}),l=Q(()=>{var h=Number(e.maxlength);return isNaN(h)?140:h}),u=po(e.modelValue)||po(e.value),v=Ee({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:a,selectionEnd:o,cursor:s});return U(()=>v.focus,h=>r("update:focus",h)),U(()=>v.maxlength,h=>v.value=v.value.slice(0,h)),{fieldRef:i,state:v,trigger:n}}function i_(e,t,r,i){var n=hd(s=>{t.value=po(s)},100);U(()=>e.modelValue,n),U(()=>e.value,n);var a=q0((s,l)=>{n.cancel(),r("update:modelValue",l.value),r("update:value",l.value),i("input",s,l)},100),o=(s,l,u)=>{n.cancel(),a(s,l),u&&a.flush()};return yl(()=>{n.cancel(),a.cancel()}),{trigger:i,triggerInput:o}}function n_(e,t){var{state:r}=Z0(),i=Q(()=>e.autoFocus||e.focus);function n(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(n,100);return}{var s=t_-(Date.now()-ho);if(s>0){setTimeout(n,s);return}o.focus(),r.userAction||plus.key.showSoftKeybord()}}}function a(){var o=t.value;o&&o.blur()}U(()=>e.focus,o=>{o?n():a()}),Oe(()=>{ho=ho||Date.now(),i.value&&or(n)})}function a_(e,t,r,i,n){function a(){var l=e.value;l&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&(l.selectionStart=t.selectionStart,l.selectionEnd=t.selectionEnd)}function o(){var l=e.value;l&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&(l.selectionEnd=l.selectionStart=t.cursor)}function s(){var l=e.value,u=function(b){t.focus=!0,r("focus",b,{value:t.value}),a(),o()},v=function(b,d){b.stopPropagation(),!(typeof n=="function"&&n(b,t)===!1)&&(t.value=l.value,t.composing||i(b,{value:l.value,cursor:l.selectionEnd},d))},h=function(b){t.composing&&(t.composing=!1,v(b,!0)),t.focus=!1,r("blur",b,{value:t.value,cursor:b.target.selectionEnd})};l.addEventListener("change",b=>b.stopPropagation()),l.addEventListener("focus",u),l.addEventListener("blur",h),l.addEventListener("input",v),l.addEventListener("compositionstart",b=>{b.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",b=>{b.stopPropagation(),t.composing&&(t.composing=!1,v(b))})}U([()=>t.selectionStart,()=>t.selectionEnd],a),U(()=>t.cursor,o),U(()=>e.value,s)}function hf(e,t,r,i){e_();var{fieldRef:n,state:a,trigger:o}=r_(e,t,r),{triggerInput:s}=i_(e,a,r,o);n_(e,n),rf(e,n,o);var{state:l}=cf();J0("name",a),a_(n,a,o,s,i);var u=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:n,state:a,scopedAttrsState:l,fixDisabledColor:u,trigger:o}}var o_=fe({},vf,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),s_=he({name:"Input",props:o_,emits:["confirm",...df],setup(e,{emit:t}){var r=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],n=Q(()=>{var c="";switch(e.type){case"text":e.confirmType==="search"&&(c="search");break;case"idcard":c="text";break;case"digit":c="number";break;default:c=~r.includes(e.type)?e.type:"text";break}return e.password?"password":c}),a=Q(()=>{var c=i.indexOf(e.textContentType),_=i.indexOf(Ve(e.textContentType)),f=c!==-1?c:_!==-1?_:0;return i[f]}),o=B(""),s,l=B(null),{fieldRef:u,state:v,scopedAttrsState:h,fixDisabledColor:b,trigger:d}=hf(e,l,t,(c,_)=>{var f=c.target;if(n.value==="number"){if(s&&(f.removeEventListener("blur",s),s=null),f.validity&&!f.validity.valid)return!o.value&&c.data==="-"||o.value[0]==="-"&&c.inputType==="deleteContentBackward"?(o.value="-",_.value="",s=()=>{o.value=f.value=""},f.addEventListener("blur",s),!1):(o.value=_.value=f.value=o.value==="-"?"":o.value,!1);o.value=f.value;var m=_.maxlength;if(m>0&&f.value.length>m)return f.value=f.value.slice(0,m),_.value=f.value,!1}}),y=["number","digit"],g=Q(()=>y.includes(e.type)?"0.000000000000000001":"");function p(c){c.key==="Enter"&&(c.stopPropagation(),d("confirm",c,{value:c.target.value}))}return()=>{var c=e.disabled&&b?M("input",{ref:u,value:v.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:v.maxlength,step:g.value,class:"uni-input-input",onFocus:_=>_.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):M("input",{ref:u,value:v.value,disabled:!!e.disabled,type:n.value,maxlength:v.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:a.value,onKeyup:p},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return M("uni-input",{ref:l},[M("div",{class:"uni-input-wrapper"},[Cr(M("div",Ye(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Nr,!(v.value.length||o.value==="-")]]),e.confirmType==="search"?M("form",{action:"",onSubmit:_=>_.preventDefault(),class:"uni-input-form"},[c],40,["onSubmit"]):c])],512)}}});function l_(e){return Object.keys(e).map(t=>[t,e[t]])}var u_=["class","style"],f_=/^on[A-Z]+/,pf=(e={})=>{var{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=xt(),n=xa({}),a=xa({}),o=xa({}),s=r.concat(u_);return i.attrs=Ee(i.attrs),Lp(()=>{var l=l_(i.attrs).reduce((u,[v,h])=>(s.includes(v)?u.exclude[v]=h:f_.test(v)?(t||(u.attrs[v]=h),u.listeners[v]=h):u.attrs[v]=h,u),{exclude:{},attrs:{},listeners:{}});n.value=l.attrs,a.value=l.listeners,o.value=l.exclude}),{$attrs:n,$listeners:a,$excludeAttrs:o}},un,Vr;function fn(){Qt(()=>{un||(un=plus.webview.currentWebview()),Vr||(Vr=(un.getStyle()||{}).pullToRefresh||{})})}function It({disable:e}){Vr&&Vr.support&&un.setPullToRefresh(Object.assign({},Vr,{support:!e}))}function go(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{Bi(r)?r.type===at?t.push(...go(r.children)):t.push(r):Array.isArray(r)&&t.push(...go(r))}),t}function jr(e){var t=xt();t.rebuild=e}var c_={scaleArea:{type:Boolean,default:!1}},v_=he({inheritAttrs:!1,name:"MovableArea",props:c_,setup(e,{slots:t}){var r=B(null),i=B(!1),{setContexts:n,events:a}=d_(e,r),{$listeners:o,$attrs:s,$excludeAttrs:l}=pf(),u=o.value,v=["onTouchstart","onTouchmove","onTouchend"];v.forEach(p=>{var c=u[p],_=a["_".concat(p)];u[p]=c?[].concat(c,_):_}),Oe(()=>{a._resize(),fn(),i.value=!0});var h=[],b=[];function d(){for(var p=[],c=function(f){var m=h[f];m instanceof Element||(m=m.el);var S=b.find(x=>m===x.rootRef.value);S&&p.push(Li(S))},_=0;_{h=r.value.children,d()});var y=p=>{b.push(p),d()},g=p=>{var c=b.indexOf(p);c>=0&&(b.splice(c,1),d())};return Ne("_isMounted",i),Ne("movableAreaRootRef",r),Ne("addMovableViewContext",y),Ne("removeMovableViewContext",g),()=>(t.default&&t.default(),M("uni-movable-area",Ye({ref:r},s.value,l.value,u),[M(jt,{onReize:a._resize},null,8,["onReize"]),h],16))}});function gf(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function d_(e,t){var r=B(0),i=B(0),n=Ee({x:null,y:null}),a=B(null),o=null,s=[];function l(g){g&&g!==1&&(e.scaleArea?s.forEach(function(p){p._setScale(g)}):o&&o._setScale(g))}function u(g,p=s){var c=t.value;function _(f){for(var m=0;m{It({disable:!0});var p=g.touches;if(p&&p.length>1){var c={x:p[1].pageX-p[0].pageX,y:p[1].pageY-p[0].pageY};if(a.value=gf(c),n.x=c.x,n.y=c.y,!e.scaleArea){var _=u(p[0].target),f=u(p[1].target);o=_&&_===f?_:null}}}),h=Vt(g=>{var p=g.touches;if(p&&p.length>1){g.preventDefault();var c={x:p[1].pageX-p[0].pageX,y:p[1].pageY-p[0].pageY};if(n.x!==null&&a.value&&a.value>0){var _=gf(c)/a.value;l(_)}n.x=c.x,n.y=c.y}}),b=Vt(g=>{It({disable:!1});var p=g.touches;p&&p.length||g.changedTouches&&(n.x=0,n.y=0,a.value=null,e.scaleArea?s.forEach(function(c){c._endScale()}):o&&o._endScale())});function d(){y(),s.forEach(function(g,p){g.setParent()})}function y(){var g=window.getComputedStyle(t.value),p=t.value.getBoundingClientRect();r.value=p.width-["Left","Right"].reduce(function(c,_){var f="border"+_+"Width",m="padding"+_;return c+parseFloat(g[f])+parseFloat(g[m])},0),i.value=p.height-["Top","Bottom"].reduce(function(c,_){var f="border"+_+"Width",m="padding"+_;return c+parseFloat(g[f])+parseFloat(g[m])},0)}return Ne("movableAreaWidth",r),Ne("movableAreaHeight",i),{setContexts(g){s=g},events:{_onTouchstart:v,_onTouchmove:h,_onTouchend:b,_resize:d}}}var Hr=function(e,t,r,i){e.addEventListener(t,n=>{typeof r=="function"&&r(n)===!1&&((typeof n.cancelable!="undefined"?n.cancelable:!0)&&n.preventDefault(),n.stopPropagation())},{passive:!1})},mf,_f;function cn(e,t,r){xe(()=>{document.removeEventListener("mousemove",mf),document.removeEventListener("mouseup",_f)});var i=0,n=0,a=0,o=0,s=function(d,y,g,p){if(t({target:d.target,currentTarget:d.currentTarget,preventDefault:d.preventDefault.bind(d),stopPropagation:d.stopPropagation.bind(d),touches:d.touches,changedTouches:d.changedTouches,detail:{state:y,x:g,y:p,dx:g-i,dy:p-n,ddx:g-a,ddy:p-o,timeStamp:d.timeStamp}})===!1)return!1},l=null,u,v;Hr(e,"touchstart",function(d){if(u=!0,d.touches.length===1&&!l)return l=d,i=a=d.touches[0].pageX,n=o=d.touches[0].pageY,s(d,"start",i,n)}),Hr(e,"mousedown",function(d){if(v=!0,!u&&!l)return l=d,i=a=d.pageX,n=o=d.pageY,s(d,"start",i,n)}),Hr(e,"touchmove",function(d){if(d.touches.length===1&&l){var y=s(d,"move",d.touches[0].pageX,d.touches[0].pageY);return a=d.touches[0].pageX,o=d.touches[0].pageY,y}});var h=mf=function(d){if(!u&&v&&l){var y=s(d,"move",d.pageX,d.pageY);return a=d.pageX,o=d.pageY,y}};document.addEventListener("mousemove",h),Hr(e,"touchend",function(d){if(d.touches.length===0&&l)return u=!1,l=null,s(d,"end",d.changedTouches[0].pageX,d.changedTouches[0].pageY)});var b=_f=function(d){if(v=!1,!u&&l)return l=null,s(d,"end",d.pageX,d.pageY)};document.addEventListener("mouseup",b),Hr(e,"touchcancel",function(d){if(l){u=!1;var y=l;return l=null,s(d,r?"cancel":"end",y.touches[0].pageX,y.touches[0].pageY)}})}function vn(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},lt.prototype.ds=function(e){return e===void 0&&(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}},lt.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}},lt.prototype.dt=function(){return-this._x_v/this._x_a},lt.prototype.done=function(){var e=vn(this.s().x,this._endPositionX)||vn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},lt.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},lt.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function qe(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}qe.prototype._solve=function(e,t){var r=this._c,i=this._m,n=this._k,a=r*r-4*i*n;if(a===0){var o=-r/(2*i),s=e,l=t/(o*e);return{x:function(c){return(s+l*c)*Math.pow(Math.E,o*c)},dx:function(c){var _=Math.pow(Math.E,o*c);return o*(s+l*c)*_+l*_}}}if(a>0){var u=(-r-Math.sqrt(a))/(2*i),v=(-r+Math.sqrt(a))/(2*i),h=(t-u*e)/(v-u),b=e-h;return{x:function(c){var _,f;return c===this._t&&(_=this._powER1T,f=this._powER2T),this._t=c,_||(_=this._powER1T=Math.pow(Math.E,u*c)),f||(f=this._powER2T=Math.pow(Math.E,v*c)),b*_+h*f},dx:function(c){var _,f;return c===this._t&&(_=this._powER1T,f=this._powER2T),this._t=c,_||(_=this._powER1T=Math.pow(Math.E,u*c)),f||(f=this._powER2T=Math.pow(Math.E,v*c)),b*u*_+h*v*f}}}var d=Math.sqrt(4*i*n-r*r)/(2*i),y=-r/2*i,g=e,p=(t-y*e)/d;return{x:function(c){return Math.pow(Math.E,y*c)*(g*Math.cos(d*c)+p*Math.sin(d*c))},dx:function(c){var _=Math.pow(Math.E,y*c),f=Math.cos(d*c),m=Math.sin(d*c);return _*(p*d*f-g*d*m)+y*_*(p*m+g*f)}}},qe.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},qe.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},qe.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!Ht(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(Ht(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),Ht(t,.1)&&(t=0),Ht(i,.1)&&(i=0),i+=this._endPosition),this._solution&&Ht(i-e,.1)&&Ht(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},qe.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},qe.prototype.done=function(e){return e||(e=new Date().getTime()),vn(this.x(),this._endPosition,.1)&&Ht(this.dx(),.1)},qe.prototype.reconfigure=function(e,t,r){this._m=e,this._k=t,this._c=r,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())},qe.prototype.springConstant=function(){return this._k},qe.prototype.damping=function(){return this._c},qe.prototype.configuration=function(){function e(r,i){r.reconfigure(1,i,r.damping())}function t(r,i){r.reconfigure(1,r.springConstant(),i)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function Yr(e,t,r){this._springX=new qe(e,t,r),this._springY=new qe(e,t,r),this._springScale=new qe(e,t,r),this._startTime=0}Yr.prototype.setEnd=function(e,t,r,i){var n=new Date().getTime();this._springX.setEnd(e,i,n),this._springY.setEnd(t,i,n),this._springScale.setEnd(r,i,n),this._startTime=n},Yr.prototype.x=function(){var e=(new Date().getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},Yr.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Yr.prototype.reconfigure=function(e,t,r){this._springX.reconfigure(e,t,r),this._springY.reconfigure(e,t,r),this._springScale.reconfigure(e,t,r)};var h_={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}},p_=he({name:"MovableView",props:h_,emits:["change","scale"],setup(e,{slots:t,emit:r}){var i=B(null),n=Pe(i,r),{setParent:a}=g_(e,n,i);return()=>M("uni-movable-view",{ref:i},[M(jt,{onResize:a},null,8,["onResize"]),t.default&&t.default()],512)}}),_o=!1;function bf(e){_o||(_o=!0,requestAnimationFrame(function(){e(),_o=!1}))}function wf(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=wf(e.offsetParent,t):0}function yf(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=yf(e.offsetParent,t):0}function Sf(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function xf(e,t,r){var i={id:0,cancelled:!1},n=function(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)};function a(o,s,l,u){if(!o||!o.cancelled){l(s);var v=s.done();v||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,l,u))),v&&u&&u(s)}}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}function dn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function g_(e,t,r){var i=ge("movableAreaWidth",B(0)),n=ge("movableAreaHeight",B(0)),a=ge("_isMounted",B(!1)),o=ge("movableAreaRootRef"),s=ge("addMovableViewContext",()=>{}),l=ge("removeMovableViewContext",()=>{}),u=B(dn(e.x)),v=B(dn(e.y)),h=B(Number(e.scaleValue)||1),b=B(0),d=B(0),y=B(0),g=B(0),p=B(0),c=B(0),_=null,f=null,m={x:0,y:0},S={x:0,y:0},x=1,E=1,C=0,L=0,W=!1,q=!1,X,ce,A=null,$=null,ee=new mo,ne=new mo,H={historyX:[0,0],historyY:[0,0],historyT:[0,0]},J=Q(()=>{var O=Number(e.damping);return isNaN(O)?20:O}),ie=Q(()=>{var O=Number(e.friction);return isNaN(O)||O<=0?2:O}),we=Q(()=>{var O=Number(e.scaleMin);return isNaN(O)?.5:O}),Y=Q(()=>{var O=Number(e.scaleMax);return isNaN(O)?10:O}),re=Q(()=>e.direction==="all"||e.direction==="horizontal"),le=Q(()=>e.direction==="all"||e.direction==="vertical"),ve=new Yr(1,9*Math.pow(J.value,2)/40,J.value),Me=new lt(1,ie.value);U(()=>e.x,O=>{u.value=dn(O)}),U(()=>e.y,O=>{v.value=dn(O)}),U(u,O=>{Ge(O)}),U(v,O=>{At(O)}),U(()=>e.scaleValue,O=>{h.value=Number(O)||0}),U(h,O=>{Kr(O)}),U(we,()=>{Ie()}),U(Y,()=>{Ie()});function Ce(){f&&f.cancel(),_&&_.cancel()}function Ge(O){if(re.value){if(O+S.x===C)return C;_&&_.cancel(),Z(O+S.x,v.value+S.y,x)}return O}function At(O){if(le.value){if(O+S.y===L)return L;_&&_.cancel(),Z(u.value+S.x,O+S.y,x)}return O}function Ie(){if(!e.scale)return!1;D(x,!0),k(x)}function Kr(O){return e.scale?(O=N(O),D(O,!0),k(O),O):!1}function Gr(){W||e.disabled||(It({disable:!0}),Ce(),H.historyX=[0,0],H.historyY=[0,0],H.historyT=[0,0],re.value&&(X=C),le.value&&(ce=L),r.value.style.willChange="transform",A=null,$=null,q=!0)}function w(O){if(!W&&!e.disabled&&q){var j=C,z=L;if($===null&&($=Math.abs(O.detail.dx/O.detail.dy)>1?"htouchmove":"vtouchmove"),re.value&&(j=O.detail.dx+X,H.historyX.shift(),H.historyX.push(j),!le.value&&A===null&&(A=Math.abs(O.detail.dx/O.detail.dy)<1)),le.value&&(z=O.detail.dy+ce,H.historyY.shift(),H.historyY.push(z),!re.value&&A===null&&(A=Math.abs(O.detail.dy/O.detail.dx)<1)),H.historyT.shift(),H.historyT.push(O.detail.timeStamp),!A){O.preventDefault();var de="touch";jp.value&&(e.outOfBounds?(de="touch-out-of-bounds",j=p.value+ee.x(j-p.value)):j=p.value),zc.value&&(e.outOfBounds?(de="touch-out-of-bounds",z=c.value+ne.x(z-c.value)):z=c.value),bf(function(){K(j,z,x,de)})}}}function T(){if(!W&&!e.disabled&&q&&(It({disable:!1}),r.value.style.willChange="auto",q=!1,!A&&!G("out-of-bounds")&&e.inertia)){var O=1e3*(H.historyX[1]-H.historyX[0])/(H.historyT[1]-H.historyT[0]),j=1e3*(H.historyY[1]-H.historyY[0])/(H.historyT[1]-H.historyT[0]);Me.setV(O,j),Me.setS(C,L);var z=Me.delta().x,de=Me.delta().y,se=z+C,Le=de+L;sep.value&&(se=p.value,Le=L+(p.value-C)*de/z),Lec.value&&(Le=c.value,se=C+(c.value-L)*z/de),Me.setEnd(se,Le),f=xf(Me,function(){var Ue=Me.s(),Ae=Ue.x,tt=Ue.y;K(Ae,tt,x,"friction")},function(){f.cancel()})}!e.outOfBounds&&!e.inertia&&Ce()}function I(O,j){var z=!1;return O>p.value?(O=p.value,z=!0):Oc.value?(j=c.value,z=!0):j{cn(r.value,j=>{switch(j.detail.state){case"start":Gr();break;case"move":w(j);break;case"end":T()}}),ue(),Me.reconfigure(1,ie.value),ve.reconfigure(1,9*Math.pow(J.value,2)/40,J.value),r.value.style.transformOrigin="center",fn();var O={rootRef:r,setParent:ue,_endScale:Re,_setScale:Se};s(O),yt(()=>{l(O)})}),yt(()=>{Ce()}),{setParent:ue}}var m_=["navigate","redirect","switchTab","reLaunch","navigateBack"],__={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~m_.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}},b_=he({name:"Navigator",compatConfig:{MODE:3},props:__,setup(e,{slots:t}){var{hovering:r,binding:i}=uo(e);function n(a){if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta});break}}return()=>{var{hoverClass:a}=e,o=e.hoverClass&&e.hoverClass!=="none";return M("uni-navigator",Ye({class:o&&r.value?a:""},o&&i,{onClick:n}),[t.default&&t.default()],16,["onClick"])}}}),w_={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function y_(e){var t=Ee([...e.value]),r=Ee({value:t,height:34});return U(()=>e.value,(i,n)=>{(i===n||i.length!==n.length||i.findIndex((a,o)=>a!==n[o])>=0)&&(r.value.length=i.length,i.forEach((a,o)=>{a!==r.value[o]&&r.value.splice(o,1,a)}))}),r}var S_=he({name:"PickerView",props:w_,emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:r}){var i=B(null),n=B(null),a=Pe(i,r),o=y_(e),s=B(null),l=()=>{var d=s.value;o.height=d.$el.offsetHeight},u=B([]),v=B([]);function h(d){var y=v.value;if(y instanceof HTMLCollection)return Array.prototype.indexOf.call(y,d.el);var g=y.indexOf(d);return g!==-1?g:u.value.indexOf(d)}var b=function(d){var y=Q({get(){var g=h(d.vnode);return o.value[g]||0},set(g){var p=h(d.vnode);if(!(p<0)){var c=o.value[p];if(c!==g){o.value[p]=g;var _=o.value.map(f=>f);r("update:value",_),a("change",{},{value:_})}}}});return y};return Ne("getPickerViewColumn",b),Ne("pickerViewProps",e),Ne("pickerViewState",o),jr(()=>{l(),v.value=n.value.children}),()=>{var d=t.default&&t.default();return M("uni-picker-view",{ref:i},[M(jt,{ref:s,onResize:({height:y})=>o.height=y},null,8,["onResize"]),M("div",{ref:n,class:"uni-picker-view-wrapper"},[d],512)],512)}}});class Tf{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,r){this._x=t,this._v=r,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*r/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*r}done(){return Math.abs(this.dx())<3}reconfigure(t){var r=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(r,i)}configuration(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(r){t.reconfigure(r)},min:.001,max:.1,step:.001}]}}function Ef(e,t,r){return e>t-r&&e0){var v=(-i-Math.sqrt(o))/(2*n),h=(-i+Math.sqrt(o))/(2*n),b=(r-v*t)/(h-v),d=t-b;return{x:function(_){var f,m;return _===this._t&&(f=this._powER1T,m=this._powER2T),this._t=_,f||(f=this._powER1T=Math.pow(Math.E,v*_)),m||(m=this._powER2T=Math.pow(Math.E,h*_)),d*f+b*m},dx:function(_){var f,m;return _===this._t&&(f=this._powER1T,m=this._powER2T),this._t=_,f||(f=this._powER1T=Math.pow(Math.E,v*_)),m||(m=this._powER2T=Math.pow(Math.E,h*_)),d*v*f+b*h*m}}}var y=Math.sqrt(4*n*a-i*i)/(2*n),g=-i/2*n,p=t,c=(r-g*t)/y;return{x:function(_){return Math.pow(Math.E,g*_)*(p*Math.cos(y*_)+c*Math.sin(y*_))},dx:function(_){var f=Math.pow(Math.E,g*_),m=Math.cos(y*_),S=Math.sin(y*_);return f*(c*y*m-p*y*S)+g*f*(c*S+p*m)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,r,i){if(i||(i=new Date().getTime()),t!==this._endPosition||!Yt(r,.4)){r=r||0;var n=this._endPosition;this._solution&&(Yt(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),n=this._solution.x((i-this._startTime)/1e3),Yt(r,.4)&&(r=0),Yt(n,.4)&&(n=0),n+=this._endPosition),this._solution&&Yt(n-t,.4)&&Yt(r,.4)||(this._endPosition=t,this._solution=this._solve(n-this._endPosition,r),this._startTime=i)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),Ef(this.x(),this._endPosition,.4)&&Yt(this.dx(),.4)}reconfigure(t,r,i){this._m=t,this._k=r,this._c=i,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){function t(i,n){i.reconfigure(1,n,i.damping())}function r(i,n){i.reconfigure(1,i.springConstant(),n)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:r.bind(this,this),min:1,max:500}]}}class x_{constructor(t,r,i){this._extent=t,this._friction=r||new Tf(.01),this._spring=i||new Cf(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,r){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(r)}set(t,r){this._friction.set(t,r),t>0&&r>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&r<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var r=this._friction.x(t),i=this.dx(t);return(r>0&&i>=0||r<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),r<-this._extent?this._springOffset=-this._extent:this._springOffset=0,r=this._spring.x()+this._springOffset),r}dx(t){var r;return this._lastTime===t?r=this._lastDx:r=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=r,r}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function T_(e,t,r){var i={id:0,cancelled:!1};function n(o,s,l,u){if(!o||!o.cancelled){l(s);var v=s.done();v||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,l,u))),v&&u&&u(s)}}function a(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}class E_{constructor(t,r){r=r||{},this._element=t,this._options=r,this._enableSnap=r.enableSnap||!1,this._itemSize=r.itemSize||0,this._enableX=r.enableX||!1,this._enableY=r.enableY||!1,this._shouldDispatchScrollEvent=!!r.onScroll,this._enableX?(this._extent=(r.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=r.scrollWidth):(this._extent=(r.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=r.scrollHeight),this._position=0,this._scroll=new x_(this._extent,r.friction,r.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?a-(this._itemSize-Math.abs(o)):a-o,n<=0&&n>=-this._extent&&this._scroll.setVelocityByEnd(n)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=T_(this._scroll,()=>{var s=Date.now(),l=(s-this._scroll._startTime)/1e3,u=this._scroll.x(l);this._position=u,this.updatePosition();var v=this._scroll.dx(l);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/v),this._lastTime=s)},()=>{this._enableSnap&&(n<=0&&n>=-this._extent&&(this._position=n,this.updatePosition()),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}}update(t,r,i){var n=0,a=this._position;this._enableX?(n=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(n=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-n?this._position=-n:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),a!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=n,this._scroll._extent=n}updatePosition(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function C_(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new E_(e,t);function n(l){var u=l,v=l;return u.detail.state==="move"||u.detail.state==="end"?{x:u.detail.dx,y:u.detail.dy}:{x:v.screenX-r.x,y:v.screenY-r.y}}function a(l){var u=l,v=l;u.detail.state==="start"?(r.trackingID="touch",r.x=u.detail.x,r.y=u.detail.y):(r.trackingID="mouse",r.x=v.screenX,r.y=v.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[u.detail.timeStamp||v.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),l.preventDefault()}function o(l){var u=l,v=l;if(r.trackingID!==-1){l.preventDefault();var h=n(l);if(h){for(r.maxDy=Math.max(r.maxDy,Math.abs(h.y)),r.maxDx=Math.max(r.maxDx,Math.abs(h.x)),r.historyX.push(h.x),r.historyY.push(h.y),r.historyTime.push(u.detail.timeStamp||v.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(h.x,h.y)}}}function s(l){if(r.trackingID!==-1){l.preventDefault();var u=n(l);if(u){var v=r.listener;r.trackingID=-1,r.listener=null;var h=r.historyTime.length,b={x:0,y:0};if(h>2)for(var d=r.historyTime.length-1,y=r.historyTime[d],g=r.historyX[d],p=r.historyY[d];d>0;){d--;var c=r.historyTime[d],_=y-c;if(_>30&&_<50){b.x=(g-r.historyX[d])/(_/1e3),b.y=(p-r.historyY[d])/(_/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],v&&v.onTouchEnd&&v.onTouchEnd(u.x,u.y,b)}}}return{scroller:i,handleTouchStart:a,handleTouchMove:o,handleTouchEnd:s}}var O_=0;function M_(e){var t="uni-picker-view-content-".concat(O_++);function r(){var i=document.createElement("style");i.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(i)}return U(()=>e.value,r),t}function I_(e){var t=20,r=0,i=0;e.addEventListener("touchstart",n=>{var a=n.changedTouches[0];r=a.clientX,i=a.clientY}),e.addEventListener("touchend",n=>{var a=n.changedTouches[0];if(Math.abs(a.clientX-r){s[u]=a[u]}),n.target.dispatchEvent(s)}})}var A_=he({name:"PickerViewColumn",setup(e,{slots:t,emit:r}){var i=B(null),n=B(null),a=ge("getPickerViewColumn"),o=xt(),s=a?a(o):B(0),l=ge("pickerViewProps"),u=ge("pickerViewState"),v=B(34),h=B(null),b=()=>{var C=h.value;v.value=C.$el.offsetHeight},d=Q(()=>(u.height-v.value)/2),{state:y}=cf(),g=M_(v),p,c=Ee({current:s.value,length:0}),_;function f(){p&&!_&&(_=!0,or(()=>{_=!1;var C=Math.min(c.current,c.length-1);C=Math.max(C,0),p.update(C*v.value,void 0,v.value)}))}U(()=>s.value,C=>{C!==c.current&&(c.current=C,f())}),U(()=>c.current,C=>s.value=C),U([()=>v.value,()=>c.length,()=>u.height],f);var m=0;function S(C){var L=m+C.deltaY;if(Math.abs(L)>10){m=0;var W=Math.min(c.current+(L<0?-1:1),c.length-1);c.current=W=Math.max(W,0),p.scrollTo(W*v.value)}else m=L;C.preventDefault()}function x({clientY:C}){var L=i.value;if(!p.isScrolling()){var W=L.getBoundingClientRect(),q=C-W.top-u.height/2,X=v.value/2;if(!(Math.abs(q)<=X)){var ce=Math.ceil((Math.abs(q)-X)/v.value),A=q<0?-ce:ce,$=Math.min(c.current+A,c.length-1);c.current=$=Math.max($,0),p.scrollTo($*v.value)}}}var E=()=>{var C=i.value,L=n.value,{scroller:W,handleTouchStart:q,handleTouchMove:X,handleTouchEnd:ce}=C_(L,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:v.value,friction:new Tf(1e-4),spring:new Cf(2,90,20),onSnap:A=>{!isNaN(A)&&A!==c.current&&(c.current=A)}});p=W,cn(C,A=>{switch(A.detail.state){case"start":q(A),It({disable:!0});break;case"move":X(A);break;case"end":case"cancel":ce(A),It({disable:!1})}},!0),I_(C),fn(),f()};return jr(()=>{c.length=n.value.children.length,b(),E()}),()=>{var C=t.default&&t.default(),L="".concat(d.value,"px 0");return M("uni-picker-view-column",{ref:i},[M("div",{onWheel:S,onClick:x,class:"uni-picker-view-group"},[M("div",Ye(y.attrs,{class:["uni-picker-view-mask",l.maskClass],style:"background-size: 100% ".concat(d.value,"px;").concat(l.maskStyle)}),null,16),M("div",Ye(y.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[M(jt,{ref:h,onResize:({height:W})=>v.value=W},null,8,["onResize"])],16),M("div",{ref:n,class:["uni-picker-view-content",g],style:{padding:L}},[C],6)],40,["onWheel","onClick"])],512)}}}),zt={activeColor:wi,backgroundColor:"#EBEBEB",activeMode:"backwards"},P_={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:zt.activeColor},activeColor:{type:String,default:zt.activeColor},backgroundColor:{type:String,default:zt.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:zt.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}}},R_=he({name:"Progress",props:P_,setup(e){var t=L_(e);return Of(t,e),U(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,Of(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:n,currentPercent:a}=t;return M("uni-progress",{class:"uni-progress"},[M("div",{style:i,class:"uni-progress-bar"},[M("div",{style:n,class:"uni-progress-inner-bar"},null,4)],4),r?M("p",{class:"uni-progress-info"},[a+"%"]):""])}}});function L_(e){var t=B(0),r=Q(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=Q(()=>{var o=e.color!==zt.activeColor&&e.activeColor===zt.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),n=Q(()=>{var o=parseFloat(e.percent);return o<0&&(o=0),o>100&&(o=100),o}),a=Ee({outerBarStyle:r,innerBarStyle:i,realPercent:n,currentPercent:t,strokeTimer:0,lastPercent:0});return a}function Of(e,t){t.active?(e.currentPercent=t.activeMode===zt.activeMode?0:e.lastPercent,e.strokeTimer=setInterval(()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1},parseFloat(t.duration))):e.currentPercent=e.realPercent}var Mf=Gi("ucg"),N_={name:{type:String,default:""}},k_=he({name:"RadioGroup",props:N_,setup(e,{emit:t,slots:r}){var i=B(null),n=Pe(i,t);return D_(e,n),()=>M("uni-radio-group",{ref:i},[r.default&&r.default()],512)}});function D_(e,t){var r=[];Oe(()=>{s(r.length-1)});var i=()=>{var l;return(l=r.find(u=>u.value.radioChecked))===null||l===void 0?void 0:l.value.value};Ne(Mf,{addField(l){r.push(l)},removeField(l){r.splice(r.indexOf(l),1)},radioChange(l,u){var v=r.indexOf(u);s(v,!0),t("change",l,{value:i()})}});var n=ge(st,!1),a={submit:()=>{var l=["",null];return e.name!==""&&(l[0]=e.name,l[1]=i()),l}};n&&(n.addField(a),xe(()=>{n.removeField(a)}));function o(l,u){l.value={radioChecked:u,value:l.value.value}}function s(l,u){r.forEach((v,h)=>{h!==l&&(u?o(r[h],!1):r.forEach((b,d)=>{h>=d||r[d].value.radioChecked&&o(r[h],!1)}))})}return r}var B_={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:""}},F_=he({name:"Radio",props:B_,setup(e,{slots:t}){var r=B(e.checked),i=B(e.value),n=Q(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));U([()=>e.checked,()=>e.value],([v,h])=>{r.value=v,i.value=h});var a=()=>{r.value=!1},{uniCheckGroup:o,uniLabel:s,field:l}=$_(r,i,a),u=v=>{e.disabled||(r.value=!0,o&&o.radioChange(v,l))};return s&&(s.addHandler(u),xe(()=>{s.removeHandler(u)})),rn(e,{"label-click":u}),()=>{var v=Br(e,"disabled");return M("uni-radio",Ye(v,{onClick:u}),[M("div",{class:"uni-radio-wrapper"},[M("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:r.value?n.value:""},[r.value?Ji(Zi,"#fff",18):""],6),t.default&&t.default()])],16,["onClick"])}}});function $_(e,t,r){var i=Q({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:({radioChecked:l})=>{e.value=l}}),n={reset:r},a=ge(Mf,!1);a&&a.addField(i);var o=ge(st,!1);o&&o.addField(n);var s=ge(Fr,!1);return xe(()=>{a&&a.removeField(i),o&&o.removeField(n)}),{uniCheckGroup:a,uniForm:o,uniLabel:s,field:i}}function W_(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function U_(e){return e.reduce(function(t,r){var i=r.value,n=r.name;return i.match(/ /)&&n!=="style"&&(i=i.split(" ")),t[n]?Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]:t[n]=i,t},{})}function V_(e){e=W_(e);var t=[],r={node:"root",children:[]};return of(e,{start:function(i,n,a){var o={name:i};if(n.length!==0&&(o.attrs=U_(n)),a){var s=t[0]||r;s.children||(s.children=[]),s.children.push(o)}else t.unshift(o)},end:function(i){var n=t.shift();if(n.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(n);else{var a=t[0];a.children||(a.children=[]),a.children.push(n)}},chars:function(i){var n={type:"text",text:i};if(t.length===0)r.children.push(n);else{var a=t[0];a.children||(a.children=[]),a.children.push(n)}},comment:function(i){var n={node:"comment",text:i},a=t[0];a.children||(a.children=[]),a.children.push(n)}}),r.children}var If={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},bo={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function j_(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(te(bo,r)&&bo[r])return bo[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function Af(e,t,r){return e.forEach(function(i){if(!!rt(i))if(!te(i,"type")||i.type==="node"){if(!(typeof i.name=="string"&&i.name))return;var n=i.name.toLowerCase();if(!te(If,n))return;var a=document.createElement(n);if(!a)return;var o=i.attrs;if(rt(o)){var s=If[n]||[];Object.keys(o).forEach(function(u){var v=o[u];switch(u){case"class":Array.isArray(v)&&(v=v.join(" "));case"style":a.setAttribute(u,v),r&&a.setAttribute(r,"");break;default:s.indexOf(u)!==-1&&a.setAttribute(u,v)}})}var l=i.children;Array.isArray(l)&&l.length&&Af(i.children,a),t.appendChild(a)}else i.type==="text"&&typeof i.text=="string"&&i.text!==""&&t.appendChild(document.createTextNode(j_(i.text)))}),t}var H_={nodes:{type:[Array,String],default:function(){return[]}}},Y_=he({name:"RichText",compatConfig:{MODE:3},props:H_,setup(e){var t=xt(),r=B(null);function i(n){typeof n=="string"&&(n=V_(n));var a=Af(n,document.createDocumentFragment(),(t==null?void 0:t.root.type).__scopeId||"");r.value.firstElementChild.innerHTML="",r.value.firstElementChild.appendChild(a)}return U(()=>e.nodes,n=>{i(n)}),Oe(()=>{i(e.nodes)}),()=>M("uni-rich-text",{ref:r},[M("div",null,null)],512)}}),wo=Qn(!0),z_={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}},q_=he({name:"ScrollView",compatConfig:{MODE:3},props:z_,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:r}){var i=B(null),n=B(null),a=B(null),o=B(null),s=B(null),l=Pe(i,t),{state:u,scrollTopNumber:v,scrollLeftNumber:h}=X_(e);K_(e,u,v,h,l,i,n,o,t);var b=Q(()=>{var d="";return e.scrollX?d+="overflow-x:auto;":d+="overflow-x:hidden;",e.scrollY?d+="overflow-y:auto;":d+="overflow-y:hidden;",d});return()=>{var{refresherEnabled:d,refresherBackground:y,refresherDefaultStyle:g}=e,{refresherHeight:p,refreshState:c,refreshRotate:_}=u;return M("uni-scroll-view",{ref:i},[M("div",{ref:a,class:"uni-scroll-view"},[M("div",{ref:n,style:b.value,class:"uni-scroll-view"},[M("div",{ref:o,class:"uni-scroll-view-content"},[d?M("div",{ref:s,style:{backgroundColor:y,height:p+"px"},class:"uni-scroll-view-refresher"},[g!=="none"?M("div",{class:"uni-scroll-view-refresh"},[M("div",{class:"uni-scroll-view-refresh-inner"},[c=="pulling"?M("svg",{key:"refresh__icon",style:{transform:"rotate("+_+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[M("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),M("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,c=="refreshing"?M("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[M("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,g=="none"?r.refresher&&r.refresher():null],4):null,r.default&&r.default()],512)],4)],512)],512)}}});function X_(e){var t=Q(()=>Number(e.scrollTop)||0),r=Q(()=>Number(e.scrollLeft)||0),i=Ee({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function K_(e,t,r,i,n,a,o,s,l){var u=!1,v=0,h=!1,b=()=>{},d=Q(()=>{var x=Number(e.upperThreshold);return isNaN(x)?50:x}),y=Q(()=>{var x=Number(e.lowerThreshold);return isNaN(x)?50:x});function g(x,E){var C=o.value,L=0,W="";if(x<0?x=0:E==="x"&&x>C.scrollWidth-C.offsetWidth?x=C.scrollWidth-C.offsetWidth:E==="y"&&x>C.scrollHeight-C.offsetHeight&&(x=C.scrollHeight-C.offsetHeight),E==="x"?L=C.scrollLeft-x:E==="y"&&(L=C.scrollTop-x),L!==0){var q=s.value;q.style.transition="transform .3s ease-out",q.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?W="translateX("+L+"px) translateZ(0)":E==="y"&&(W="translateY("+L+"px) translateZ(0)"),q.removeEventListener("transitionend",b),q.removeEventListener("webkitTransitionEnd",b),b=()=>m(x,E),q.addEventListener("transitionend",b),q.addEventListener("webkitTransitionEnd",b),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),q.style.transform=W,q.style.webkitTransform=W}}function p(x){var E=x.target;n("scroll",x,{scrollLeft:E.scrollLeft,scrollTop:E.scrollTop,scrollHeight:E.scrollHeight,scrollWidth:E.scrollWidth,deltaX:t.lastScrollLeft-E.scrollLeft,deltaY:t.lastScrollTop-E.scrollTop}),e.scrollY&&(E.scrollTop<=d.value&&t.lastScrollTop-E.scrollTop>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(n("scrolltoupper",x,{direction:"top"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollTop+E.offsetHeight+y.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(n("scrolltolower",x,{direction:"bottom"}),t.lastScrollToLowerTime=x.timeStamp)),e.scrollX&&(E.scrollLeft<=d.value&&t.lastScrollLeft-E.scrollLeft>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(n("scrolltoupper",x,{direction:"left"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollLeft+E.offsetWidth+y.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(n("scrolltolower",x,{direction:"right"}),t.lastScrollToLowerTime=x.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function c(x){e.scrollY&&(e.scrollWithAnimation?g(x,"y"):o.value.scrollTop=x)}function _(x){e.scrollX&&(e.scrollWithAnimation?g(x,"x"):o.value.scrollLeft=x)}function f(x){if(x){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(x)){console.error("id error: scroll-into-view=".concat(x));return}var E=a.value.querySelector("#"+x);if(E){var C=o.value.getBoundingClientRect(),L=E.getBoundingClientRect();if(e.scrollX){var W=L.left-C.left,q=o.value.scrollLeft,X=q+W;e.scrollWithAnimation?g(X,"x"):o.value.scrollLeft=X}if(e.scrollY){var ce=L.top-C.top,A=o.value.scrollTop,$=A+ce;e.scrollWithAnimation?g($,"y"):o.value.scrollTop=$}}}}function m(x,E){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var C=o.value;E==="x"?(C.style.overflowX=e.scrollX?"auto":"hidden",C.scrollLeft=x):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=x),s.value.removeEventListener("transitionend",b),s.value.removeEventListener("webkitTransitionEnd",b)}function S(x){switch(x){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,n("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=v=0,x==="restore"&&(h=!1,n("refresherrestore",{},{})),x==="refresherabort"&&h&&(h=!1,n("refresherabort",{},{}));break}t.refreshState=x}Oe(()=>{or(()=>{c(r.value),_(i.value)}),f(e.scrollIntoView);var x=function(X){X.stopPropagation(),p(X)},E={x:0,y:0},C=null,L=function(X){var ce=X.touches[0].pageX,A=X.touches[0].pageY,$=o.value;if(Math.abs(ce-E.x)>Math.abs(A-E.y))if(e.scrollX){if($.scrollLeft===0&&ce>E.x){C=!1;return}else if($.scrollWidth===$.offsetWidth+$.scrollLeft&&ceE.y)C=!1,e.refresherEnabled&&X.cancelable!==!1&&X.preventDefault();else if($.scrollHeight===$.offsetHeight+$.scrollTop&&A0&&(h=!0,n("refresherpulling",X,{deltaY:ee})));var ne=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(ne>1?1:ne)*360}},W=function(X){X.touches.length===1&&(It({disable:!0}),E={x:X.touches[0].pageX,y:X.touches[0].pageY})},q=function(X){E={x:0,y:0},It({disable:!1}),t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort")};o.value.addEventListener("touchstart",W,wo),o.value.addEventListener("touchmove",L),o.value.addEventListener("scroll",x,wo),o.value.addEventListener("touchend",q,wo),fn(),xe(()=>{o.value.removeEventListener("touchstart",W),o.value.removeEventListener("touchmove",L),o.value.removeEventListener("scroll",x),o.value.removeEventListener("touchend",q)})}),Oa(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),U(r,x=>{c(x)}),U(i,x=>{_(x)}),U(()=>e.scrollIntoView,x=>{f(x)}),U(()=>e.refresherTriggered,x=>{x===!0?S("refreshing"):x===!1&&S("restore")})}var G_={name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},Z_=he({name:"Slider",props:G_,emits:["changing","change"],setup(e,{emit:t}){var r=B(null),i=B(null),n=B(null),a=B(Number(e.value));U(()=>e.value,v=>{a.value=Number(v)});var o=Pe(r,t),s=J_(e,a),{_onClick:l,_onTrack:u}=Q_(e,a,r,i,o);return Oe(()=>{cn(n.value,u)}),()=>{var{setBgColor:v,setBlockBg:h,setActiveColor:b,setBlockStyle:d}=s;return M("uni-slider",{ref:r,onClick:Vt(l)},[M("div",{class:"uni-slider-wrapper"},[M("div",{class:"uni-slider-tap-area"},[M("div",{style:v.value,class:"uni-slider-handle-wrapper"},[M("div",{ref:n,style:h.value,class:"uni-slider-handle"},null,4),M("div",{style:d.value,class:"uni-slider-thumb"},null,4),M("div",{style:b.value,class:"uni-slider-track"},null,4)],4)]),Cr(M("span",{ref:i,class:"uni-slider-value"},[a.value],512),[[Nr,e.showValue]])]),M("slot",null,null)],8,["onClick"])}}});function J_(e,t){var r=()=>{var o=Number(e.max),s=Number(e.min);return 100*(t.value-s)/(o-s)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",n=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",a={setBgColor:Q(()=>({backgroundColor:i()})),setBlockBg:Q(()=>({left:r()})),setActiveColor:Q(()=>({backgroundColor:n(),width:r()})),setBlockStyle:Q(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return a}function Q_(e,t,r,i,n){var a=h=>{e.disabled||(s(h),n("change",h,{value:t.value}))},o=h=>{var b=Number(e.max),d=Number(e.min),y=Number(e.step);return hb?b:eb.mul.call(Math.round((h-d)/y),y)+d},s=h=>{var b=Number(e.max),d=Number(e.min),y=i.value,g=getComputedStyle(y,null).marginLeft,p=y.offsetWidth;p=p+parseInt(g);var c=r.value,_=c.offsetWidth-(e.showValue?p:0),f=c.getBoundingClientRect().left,m=(h.x-f)*(b-d)/_+d;t.value=o(m)},l=h=>{if(!e.disabled)return h.detail.state==="move"?(s({x:h.detail.x}),n("changing",h,{value:t.value}),!1):h.detail.state==="end"&&n("change",h,{value:t.value})},u=ge(st,!1);if(u){var v={reset:()=>t.value=Number(e.min),submit:()=>{var h=["",null];return e.name!==""&&(h[0]=e.name,h[1]=t.value),h}};u.addField(v),xe(()=>{u.removeField(v)})}return{_onClick:a,_onTrack:l}}var eb={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(n){}try{t+=i.split(".")[1].length}catch(n){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},tb={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}};function rb(e){var t=Q(()=>{var a=Number(e.interval);return isNaN(a)?5e3:a}),r=Q(()=>{var a=Number(e.duration);return isNaN(a)?500:a}),i=Q(()=>{var a=Math.round(e.displayMultipleItems);return isNaN(a)?1:a}),n=Ee({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return n}function ib(e,t,r,i,n,a){function o(){s&&(clearTimeout(s),s=null)}var s=null,l=!0,u=0,v=1,h=null,b=!1,d=0,y,g="",p,c=Q(()=>e.circular&&r.value.length>t.displayMultipleItems);function _(A){if(!l)for(var $=r.value,ee=$.length,ne=A+t.displayMultipleItems,H=0;H=J.length&&(A-=J.length),A=y%1>.5||y<0?A-1:A,a("transition",{},{dx:e.vertical?0:A*H.offsetWidth,dy:e.vertical?A*H.offsetHeight:0})}function m(){h&&(f(h.toPos),h=null)}function S(A){var $=r.value.length;if(!$)return-1;var ee=(Math.round(A)%$+$)%$;if(c.value){if($<=t.displayMultipleItems)return 0}else if(ee>$-t.displayMultipleItems)return $-t.displayMultipleItems;return ee}function x(){h=null}function E(){if(!h){b=!1;return}var A=h,$=A.toPos,ee=A.acc,ne=A.endTime,H=A.source,J=ne-Date.now();if(J<=0){f($),h=null,b=!1,y=null;var ie=r.value[t.current];if(ie){var we=ie.getItemId();a("animationfinish",{},{current:t.current,currentItemId:we,source:H})}return}var Y=ee*J*J/2,re=$+Y;f(re),p=requestAnimationFrame(E)}function C(A,$,ee){x();var ne=t.duration,H=r.value.length,J=u;if(c.value)if(ee<0){for(;JA;)J-=H}else if(ee>0){for(;J>A;)J-=H;for(;J+HA;)J-=H;J+H-A0&&v<1||(v=1)}var J=u;u=-2;var ie=t.current;ie>=0?(l=!1,t.userTracking?(f(J+ie-d),d=ie):(f(ie),e.autoplay&&L())):(l=!0,f(-t.displayMultipleItems-1))}U([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var A=-1;if(e.currentItemId)for(var $=0,ee=r.value;$e.vertical,()=>c.value,()=>t.displayMultipleItems,()=>[...r.value]],W),U(()=>t.interval,()=>{s&&(o(),L())});function q(A,$){var ee=g;g="";var ne=r.value;if(!ee){var H=ne.length;C(A,"",c.value&&$+(H-A)%H>H/2?1:0)}var J=ne[A];if(J){var ie=t.currentItemId=J.getItemId();a("change",{},{current:t.current,currentItemId:ie,source:ee})}}U(()=>t.current,(A,$)=>{q(A,$),n("update:current",A)}),U(()=>t.currentItemId,A=>{n("update:currentItemId",A)});function X(A){A?L():o()}U(()=>e.autoplay&&!t.userTracking,X),X(e.autoplay&&!t.userTracking),Oe(()=>{var A=!1,$=0,ee=0;function ne(){o(),d=u,$=0,ee=Date.now(),x()}function H(ie){var we=ee;ee=Date.now();var Y=r.value.length,re=Y-t.displayMultipleItems;function le(Ge){return .5-.25/(Ge+.5)}function ve(Ge,At){var Ie=d+Ge;$=.6*$+.4*At,c.value||(Ie<0||Ie>re)&&(Ie<0?Ie=-le(-Ie):Ie>re&&(Ie=re+le(Ie-re)),$=0),f(Ie)}var Me=ee-we||1,Ce=i.value;e.vertical?ve(-ie.dy/Ce.offsetHeight,-ie.ddy/Me):ve(-ie.dx/Ce.offsetWidth,-ie.ddx/Me)}function J(ie){t.userTracking=!1;var we=$/Math.abs($),Y=0;!ie&&Math.abs($)>.2&&(Y=.5*we);var re=S(u+Y);ie?f(d):(g="touch",t.current=re,C(re,"touch",Y!==0?Y:re===0&&c.value&&u>=1?1:0))}cn(i.value,ie=>{if(!e.disableTouch&&!l){if(ie.detail.state==="start")return t.userTracking=!0,A=!1,ne();if(ie.detail.state==="end")return J(!1);if(ie.detail.state==="cancel")return J(!0);if(t.userTracking){if(!A){A=!0;var we=Math.abs(ie.detail.dx),Y=Math.abs(ie.detail.dy);if((we>=Y&&e.vertical||we<=Y&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&L();return}}return H(ie.detail),!1}}})}),yt(()=>{o(),cancelAnimationFrame(p)});function ce(A){C(t.current=A,g="click",c.value?1:0)}return{onSwiperDotClick:ce}}var nb=he({name:"Swiper",props:tb,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:r}){var i=B(null),n=Pe(i,r),a=B(null),o=B(null),s=rb(e),l=Q(()=>{var c={};return(e.nextMargin||e.previousMargin)&&(c=e.vertical?{left:0,right:0,top:Ut(e.previousMargin,!0),bottom:Ut(e.nextMargin,!0)}:{top:0,bottom:0,left:Ut(e.previousMargin,!0),right:Ut(e.nextMargin,!0)}),c}),u=Q(()=>{var c=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":c,height:e.vertical?c:"100%"}}),v=[],h=[],b=B([]);function d(){for(var c=[],_=function(m){var S=v[m];S instanceof Element||(S=S.el);var x=h.find(E=>S===E.rootRef.value);x&&c.push(Li(x))},f=0;f{v=o.value.children,d()});var y=function(c){h.push(c),d()};Ne("addSwiperContext",y);var g=function(c){var _=h.indexOf(c);_>=0&&(h.splice(_,1),d())};Ne("removeSwiperContext",g);var{onSwiperDotClick:p}=ib(e,s,b,o,r,n);return()=>{var c=t.default&&t.default();return v=go(c),M("uni-swiper",{ref:i},[M("div",{ref:a,class:"uni-swiper-wrapper"},[M("div",{class:"uni-swiper-slides",style:l.value},[M("div",{ref:o,class:"uni-swiper-slide-frame",style:u.value},[c],4)],4),e.indicatorDots&&M("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[b.value.map((_,f,m)=>M("div",{onClick:()=>p(f),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":f=s.current||f{var n=ge("addSwiperContext");n&&n(i)}),yt(()=>{var n=ge("removeSwiperContext");n&&n(i)}),()=>M("uni-swiper-item",{ref:r,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),sb={name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},lb=he({name:"Switch",props:sb,emits:["change"],setup(e,{emit:t}){var r=B(null),i=B(e.checked),n=ub(e,i),a=Pe(r,t);U(()=>e.checked,s=>{i.value=s});var o=s=>{e.disabled||(i.value=!i.value,a("change",s,{value:i.value}))};return n&&(n.addHandler(o),xe(()=>{n.removeHandler(o)})),rn(e,{"label-click":o}),()=>{var{color:s,type:l}=e,u=Br(e,"disabled");return M("uni-switch",Ye({ref:r},u,{onClick:o}),[M("div",{class:"uni-switch-wrapper"},[Cr(M("div",{class:["uni-switch-input",[i.value?"uni-switch-input-checked":""]],style:{backgroundColor:i.value?s:"#DFDFDF",borderColor:i.value?s:"#DFDFDF"}},null,6),[[Nr,l==="switch"]]),Cr(M("div",{class:"uni-checkbox-input"},[i.value?Ji(Zi,e.color,22):""],512),[[Nr,l==="checkbox"]])])],16,["onClick"])}}});function ub(e,t){var r=ge(st,!1),i=ge(Fr,!1),n={submit:()=>{var a=["",null];return e.name&&(a[0]=e.name,a[1]=t.value),a},reset:()=>{t.value=!1}};return r&&(r.addField(n),yt(()=>{r.removeField(n)})),i}var zr={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function fb(e,t){return e.replace(/\\n/g,wr).split(wr).map(r=>cb(r,t))}function cb(e,{space:t,decode:r}){return!e||(t&&zr[t]&&(e=e.replace(/ /g,zr[t])),!r)?e:e.replace(/ /g,zr.nbsp).replace(/ /g,zr.ensp).replace(/ /g,zr.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var vb=fe({},vf,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),yo=!1;function db(){var e="(prefers-color-scheme: dark)";yo=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var hb=he({name:"Textarea",props:vb,emit:["confirm","linechange",...df],setup(e,{emit:t}){var r=B(null),{fieldRef:i,state:n,scopedAttrsState:a,fixDisabledColor:o,trigger:s}=hf(e,r,t),l=Q(()=>n.value.split(wr)),u=Q(()=>["done","go","next","search","send"].includes(e.confirmType)),v=B(0),h=B(null);U(()=>v.value,p=>{var c=r.value,_=h.value,f=parseFloat(getComputedStyle(c).lineHeight);isNaN(f)&&(f=_.offsetHeight);var m=Math.round(p/f);s("linechange",{},{height:p,heightRpx:750/window.innerWidth*p,lineCount:m}),e.autoHeight&&(c.style.height=p+"px")});function b({height:p}){v.value=p}function d(p){s("confirm",p,{value:n.value})}function y(p){p.key==="Enter"&&u.value&&p.preventDefault()}function g(p){if(p.key==="Enter"&&u.value){d(p);var c=p.target;c.blur()}}return db(),()=>{var p=e.disabled&&o?M("textarea",{ref:i,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":yo},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:c=>c.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):M("textarea",{ref:i,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":yo},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:y,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return M("uni-textarea",{ref:r},[M("div",{class:"uni-textarea-wrapper"},[Cr(M("div",Ye(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Nr,!n.value.length]]),M("div",{ref:h,class:"uni-textarea-line"},[" "],512),M("div",{class:"uni-textarea-compute"},[l.value.map(c=>M("div",null,[c.trim()?c:"."])),M(jt,{initial:!0,onResize:b},null,8,["initial","onResize"])]),e.confirmType==="search"?M("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[p],40,["onSubmit"]):p])],512)}}});fe({},Um);function hn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function Pf(e,t,r){!e||ft(r||Ct(),e,({type:i,data:n},a)=>{t(i,n,a)})}function Rf(e){!e||Hd(Ct(),e)}function pn(e,t,r,i){var n=xt(),a=n.proxy;Oe(()=>{Pf(t||hn(a),e,i),(r||!t)&&U(()=>a.id,(o,s)=>{Pf(hn(a,o),e,i),Rf(s&&hn(a,s))})}),xe(()=>{Rf(t||hn(a))})}var pb=0;function gn(e){var t=Qi(),r=xt(),i=r.proxy,n=i.$options.name.toLowerCase(),a=e||i.id||"context".concat(pb++);return Oe(()=>{var o=i.$el;o.__uniContextInfo={id:a,type:n,page:t}}),"".concat(n,".").concat(a)}function gb(e){return e.__uniContextInfo}class Lf extends Uu{constructor(t,r,i,n,a,o=[]){super(t,r,i,n,a,[...tn.props,...o])}call(t){var r={animation:this.$props.animation,$el:this.$};t.call(r)}setAttribute(t,r){return t==="animation"&&(this.$animate=!0),super.setAttribute(t,r)}update(t=!1){if(!!this.$animate){if(t)return this.call(tn.mounted);this.$animate&&(this.$animate=!1,this.call(tn.watch.animation.handler))}}}var mb=["space","decode"];class _b extends Lf{constructor(t,r,i,n){super(t,document.createElement("uni-text"),r,i,n,mb);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update()}update(t=!1){var{$props:{space:r,decode:i}}=this;this.$.textContent=fb(this._text,{space:r,decode:i}).join(wr),super.update(t)}}class bb extends lr{constructor(t,r,i,n){super(t,"#text",r,document.createTextNode(""));this.init(n),this.insert(r,i)}}var fy="",wb=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class yb extends Lf{constructor(t,r,i,n,a,o=[]){super(t,r,i,n,a,[...wb,...o])}update(t=!1){var r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new Sb(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class Sb{constructor(t,r){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=t,this.props=r,this.__hoverTouchStart=this._hoverTouchStart.bind(this),this.__hoverTouchEnd=this._hoverTouchEnd.bind(this),this.__hoverTouchCancel=this._hoverTouchCancel.bind(this)}get hovering(){return this._hovering}set hovering(t){this._hovering=t;var r=this.props["hover-class"];t?this.$.classList.add(r):this.$.classList.remove(r)}addEvent(){this._listening||(this._listening=!0,this.$.addEventListener("touchstart",this.__hoverTouchStart),this.$.addEventListener("touchend",this.__hoverTouchEnd),this.$.addEventListener("touchcancel",this.__hoverTouchCancel))}removeEvent(){!this._listening||(this._listening=!1,this.$.removeEventListener("touchstart",this.__hoverTouchStart),this.$.removeEventListener("touchend",this.__hoverTouchEnd),this.$.removeEventListener("touchcancel",this.__hoverTouchCancel))}_hoverTouchStart(t){if(!t._hoverPropagationStopped){var r=this.props["hover-class"];!r||r==="none"||this.$.disabled||t.touches.length>1||(this.props["hover-stop-propagation"]&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout(()=>{this.hovering=!0,this._hoverTouch||this._hoverReset()},this.props["hover-start-time"]))}}_hoverTouchEnd(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}_hoverReset(){requestAnimationFrame(()=>{clearTimeout(this._hoverStayTimer),this._hoverStayTimer=setTimeout(()=>{this.hovering=!1},this.props["hover-stay-time"])})}_hoverTouchCancel(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}class xb extends yb{constructor(t,r,i,n){super(t,document.createElement("uni-view"),r,i,n)}}function Nf(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function kf(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?Ps+Nf():0}var Df=Symbol("onDraw");function Tb(e){for(var t;e;){var r=getComputedStyle(e),i=r.transform||r.webkitTransform;t=i&&i!=="none"?!1:t,t=r.position==="fixed"?!0:t,e=e.parentElement}return t}function So(e,t){return Q(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var n=e[i];n=i==="src"?ht(n):n,r[i.replace(/[A-Z]/g,a=>"-"+a.toLowerCase())]=n}}),r})}function qr(e){var t=Ee({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=B(!1);function i(){var h=e.value,b=h.getBoundingClientRect(),d=["width","height"];r.value=b.width===0||b.height===0,r.value||(t.position=Tb(h)?"absolute":"static",d.push("top","left")),d.forEach(y=>{var g=b[y];g=y==="top"?g+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:kf()):g,t[y]=g+"px"})}var n=null;function a(){n&&cancelAnimationFrame(n),n=requestAnimationFrame(()=>{n=null,i()})}window.addEventListener("updateview",a);var o=[],s=[];function l(h){s?s.push(h):h()}function u(h){var b=ge(Df),d=y=>{h(y),o.forEach(g=>g(t)),o=null};l(()=>{b?b(d):d({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var v=function(h){o?o.push(h):h(t)};return Ne(Df,v),Oe(()=>{i(),s.forEach(h=>h()),s=null}),xe(()=>{window.removeEventListener("updateview",a)}),{position:t,hidden:r,onParentReady:u}}var Eb=he({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,{emit:t}){var r=B(null),i=B(null),n=Pe(r,t),a=So(e,["id"]),{position:o,onParentReady:s}=qr(i),l;return s(()=>{l=plus.ad.createAdView(Object.assign({},a.value,o)),plus.webview.currentWebview().append(l),l.setDislikeListener(v=>{i.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},v)}),l.setRenderingListener(v=>{v.result===0?(i.value.style.height=v.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:v.result})}),l.setAdClickedListener(()=>{n("adclicked",{},{})}),U(()=>o,v=>l.setStyle(v),{deep:!0}),U(()=>e.adpid,v=>{v&&u()}),U(()=>e.data,v=>{v&&l.renderingBind(v)});function u(){var v={adpid:e.adpid,width:o.width,count:e.dataCount};e.channel!==void 0&&(v.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",v,({code:h,data:b,message:d})=>{h===0?l.renderingBind(b):n("error",{},{errMsg:d})})}e.adpid&&u()}),xe(()=>{l&&l.close()}),()=>M("uni-ad",{ref:r},[M("div",{ref:i,class:"uni-ad-container"},null,512)],512)}});class _e extends lr{constructor(t,r,i,n,a,o,s){super(t,r,n);var l=document.createElement("div");l.__vueParent=Cb(this),this.$props=Ee({}),this.init(o),this.$app=lu(kw(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),te(o,"t")&&this.setText(o.t||""),o.a&&te(o.a,bi)&&lo(this.$,o.a[bi]),this.insert(n,a),Kl()}init(t){var{a:r,e:i,w:n}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(a=>{this.setAttr(a,r[a])})),te(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(a=>{this.addEvent(a,i[a])}),n&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t}addWxsEvent(t,r,i){this.$props[t]=Wu(this.$,r,i)}addEvent(t,r){this.$props[t]=Fu(this.id,r,ta(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===bi)this.$&&lo(this.$,r);else if(t===Os)this.$.__ownerId=r;else if(t===Ms)Ot(()=>Au(this,r),Ou);else if(t===ia){var i=so(this.$||Ke(this.pid).$,r),n=this.$props.style;rt(i)&&rt(n)?Object.keys(i).forEach(a=>{n[a]=i[a]}):this.$props.style=i}else r=so(this.$||Ke(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r)}removeAttr(t){this.$props[t]=null}remove(){this.isUnmounted=!0,this.$app.unmount(),jf(this.id)}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class Xr extends _e{constructor(t,r,i,n,a,o,s){super(t,r,i,n,a,o,s)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return Ot(this.getRebuildFn(),to),super.setText(t)}appendChild(t){return Ot(this.getRebuildFn(),to),super.appendChild(t)}insertBefore(t,r){return Ot(this.getRebuildFn(),to),super.insertBefore(t,r)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function Cb(e){for(;e&&e.pid>0;)if(e=Ke(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function xo(e,t,r){e.childNodes.forEach(i=>{i instanceof Element?i.className.indexOf(t)===-1&&e.removeChild(i):e.removeChild(i)}),e.appendChild(document.createTextNode(r))}class Ob extends _e{constructor(t,r,i,n){super(t,"uni-ad",Eb,r,i,n)}}var cy="";class Mb extends _e{constructor(t,r,i,n){super(t,"uni-button",Km,r,i,n)}}class fr extends lr{constructor(t,r,i,n){super(t,r,i);this.insert(i,n)}}class Ib extends fr{constructor(t,r,i){super(t,"uni-camera",r,i)}}var vy="";class Ab extends _e{constructor(t,r,i,n){super(t,"uni-canvas",i0,r,i,n,"uni-canvas > div")}}var dy="";class Pb extends _e{constructor(t,r,i,n){super(t,"uni-checkbox",f0,r,i,n,".uni-checkbox-wrapper")}setText(t){xo(this.$holder,"uni-checkbox-input",t)}}var hy="";class Rb extends _e{constructor(t,r,i,n){super(t,"uni-checkbox-group",s0,r,i,n)}}var py="",Lb=0;function Bf(e,t,r){var{position:i,hidden:n,onParentReady:a}=qr(e),o,s;a(l=>{var u=Q(()=>{var f={};for(var m in i){var S=i[m],x=parseFloat(S),E=parseFloat(l[m]);if(m==="top"||m==="left")S=Math.max(x,E)+"px";else if(m==="width"||m==="height"){var C=m==="width"?"left":"top",L=parseFloat(l[C]),W=parseFloat(i[C]),q=Math.max(L-W,0),X=Math.max(W+x-(L+E),0);S=Math.max(x-q-X,0)+"px"}f[m]=S}return f}),v=["borderRadius","borderColor","borderWidth","backgroundColor"],h=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],b=[],d={start:"left",end:"right"};function y(f){var m=getComputedStyle(e.value);return v.concat(h,b).forEach(S=>{f[S]=m[S]}),f}var g=Ee(y({})),p=null;s=function(){p&&cancelAnimationFrame(p),p=requestAnimationFrame(()=>{p=null,y(g)})},window.addEventListener("updateview",s);function c(){var f={};for(var m in f){var S=f[m];(m==="top"||m==="left")&&(S=Math.min(parseFloat(S)-parseFloat(l[m]),0)+"px"),f[m]=S}return f}var _=Q(()=>{var f=c(),m=[{tag:"rect",position:f,rectStyles:{color:g.backgroundColor,radius:g.borderRadius,borderColor:g.borderColor,borderWidth:g.borderWidth}}];if("src"in r)r.src&&m.push({tag:"img",position:f,src:r.src});else{var S=parseFloat(g.lineHeight)-parseFloat(g.fontSize),x=parseFloat(f.width)-parseFloat(g.paddingLeft)-parseFloat(g.paddingRight);x=x<0?0:x;var E=parseFloat(f.height)-parseFloat(g.paddingTop)-S/2-parseFloat(g.paddingBottom);E=E<0?0:E,m.push({tag:"font",position:{top:"".concat(parseFloat(f.top)+parseFloat(g.paddingTop)+S/2,"px"),left:"".concat(parseFloat(f.left)+parseFloat(g.paddingLeft),"px"),width:"".concat(x,"px"),height:"".concat(E,"px")},textStyles:{align:d[g.textAlign]||g.textAlign,color:g.color,decoration:"none",lineSpacing:"".concat(S,"px"),margin:"0px",overflow:g.textOverflow,size:g.fontSize,verticalAlign:"top",weight:g.fontWeight,whiteSpace:g.whiteSpace},text:r.text})}return m});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(Lb++),u.value,_.value),plus.webview.currentWebview().append(o),n.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),U(()=>n.value,f=>{o[f?"hide":"show"]()}),U(()=>u.value,f=>{o.setStyle(f)},{deep:!0}),U(()=>_.value,()=>{o.reset(),o.draw(_.value)},{deep:!0})}),xe(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var Nb="_doc/uniapp_temp/",kb={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function Db(e,t,r){var i=B(""),n;function a(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?ht(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(n=plus.downloader.createDownload(s,{filename:Nb+"/download/"},(l,u)=>{u===200?o(l.filename):r("error",{},{errMsg:"error"})}),n.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:({width:l,height:u})=>{e.autoSize&&(i.value="width:".concat(l,"px;height:").concat(u,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:l,height:u})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&a(),U(()=>e.src,a),xe(()=>{n&&n.abort()}),i}var Ff=he({name:"CoverImage",props:kb,emits:["click","load","error"],setup(e,{emit:t}){var r=B(null),i=Pe(r,t),n=Ee({src:""}),a=Db(e,n,i);return Bf(r,i,n),()=>M("uni-cover-image",{ref:r,style:a.value},[M("div",{class:"uni-cover-image"},null)],4)}});class Bb extends _e{constructor(t,r,i,n){super(t,"uni-cover-image",Ff,r,i,n)}}var gy="",Fb=he({name:"CoverView",emits:["click"],setup(e,{emit:t}){var r=B(null),i=B(null),n=Pe(r,t),a=Ee({text:""});return Bf(r,n,a),jr(()=>{var o=i.value.childNodes[0];a.text=o&&o instanceof Text?o.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>M("uni-cover-view",{ref:r},[M("div",{ref:i,class:"uni-cover-view"},null,512)],512)}});class $b extends Xr{constructor(t,r,i,n){super(t,"uni-cover-view",Fb,r,i,n,".uni-cover-view")}}var my="";class Wb extends _e{constructor(t,r,i,n){super(t,"uni-editor",N0,r,i,n)}}var _y="";class Ub extends _e{constructor(t,r,i,n){super(t,"uni-form",Hm,r,i,n,"span")}}class Vb extends fr{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var by="";class jb extends _e{constructor(t,r,i,n){super(t,"uni-icon",F0,r,i,n)}}var wy="";class Hb extends _e{constructor(t,r,i,n){super(t,"uni-image",U0,r,i,n)}}var yy="";class Yb extends _e{constructor(t,r,i,n){super(t,"uni-input",s_,r,i,n)}}var Sy="";class zb extends _e{constructor(t,r,i,n){super(t,"uni-label",qm,r,i,n)}}class qb extends fr{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class Xb extends fr{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var xy="",Kb=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function To(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.substr(7,2);return{color:e.substr(0,7),opacity:t?Number("0x"+t)/255:1}}var Gb={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},Zb=he({name:"Map",props:Gb,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,{emit:t}){var r=B(null),i=Pe(r,t),n=B(null),a=So(e,["id"]),{position:o,hidden:s,onParentReady:l}=qr(n),u,{_addMarkers:v,_addMapLines:h,_addMapCircles:b,_setMap:d}=Jb(e,i);l(()=>{u=fe(plus.maps.create(Ct()+"-map-"+(e.id||Date.now()),Object.assign({},a.value,o,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[]}),u.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(u),s.value&&u.hide(),u.onclick=g=>{i("click",{},g)},u.onstatuschanged=g=>{i("regionchange",{},{})},d(u),v(e.markers),h(e.polyline),b(e.circles),U(()=>a.value,g=>u&&u.setStyles(g),{deep:!0}),U(()=>o,g=>u&&u.setStyles(g),{deep:!0}),U(s,g=>{u&&u[g?"hide":"show"]()}),U(()=>e.scale,g=>{u&&u.setZoom(parseInt(String(g)))}),U([()=>e.latitude,()=>e.longitude],([g,p])=>{u&&u.setStyles({center:new plus.maps.Point(Number(g),Number(p))})}),U(()=>e.markers,g=>{v(g,!0)},{deep:!0}),U(()=>e.polyline,g=>{h(g)},{deep:!0}),U(()=>e.circles,g=>{b(g)},{deep:!0})});var y=Q(()=>e.controls.map(g=>{var p={position:"absolute"};return["top","left","width","height"].forEach(c=>{g.position[c]&&(p[c]=g.position[c]+"px")}),{id:g.id,iconPath:ht(g.iconPath),position:p,clickable:g.clickable}}));return xe(()=>{u&&(u.close(),d(null))}),()=>M("uni-map",{ref:r,id:e.id},[M("div",{ref:n,class:"uni-map-container"},null,512),y.value.map((g,p)=>M(Ff,{key:p,src:g.iconPath,style:g.position,"auto-size":!0,onClick:()=>g.clickable&&i("controltap",{},{controlId:g.id})},null,8,["src","style","auto-size","onClick"])),M("div",{class:"uni-map-slot"},null)],8,["id"])}});function Jb(e,t){var r;function i(d,{longitude:y,latitude:g}={}){!r||(r.setCenter(new plus.maps.Point(Number(y||e.longitude),Number(g||e.latitude))),d({errMsg:"moveToLocation:ok"}))}function n(d){!r||r.getCurrentCenter((y,g)=>{d({longitude:g.getLng(),latitude:g.getLat(),errMsg:"getCenterLocation:ok"})})}function a(d){if(!!r){var y=r.getBounds();d({southwest:y.getSouthWest(),northeast:y.getNorthEast(),errMsg:"getRegion:ok"})}}function o(d){!r||d({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(d){if(!!r){var{id:y,latitude:g,longitude:p,iconPath:c,callout:_,label:f}=d;Kb(p,g,m=>{var S,{latitude:x,longitude:E}=m.coord,C=new plus.maps.Marker(new plus.maps.Point(E,x));c&&C.setIcon(ht(c)),f&&f.content&&C.setLabel(f.content);var L=void 0;_&&_.content&&(L=new plus.maps.Bubble(_.content)),L&&C.setBubble(L),(y||y===0)&&(C.onclick=W=>{t("markertap",{},{markerId:y})},L&&(L.onclick=()=>{t("callouttap",{},{markerId:y})})),(S=r)===null||S===void 0||S.addOverlay(C),r.__markers__.push(C)})}}function l(){if(!!r){var d=r.__markers__;d.forEach(y=>{var g;(g=r)===null||g===void 0||g.removeOverlay(y)}),r.__markers__=[]}}function u(d,y){y&&l(),d.forEach(g=>{s(g)})}function v(d){!r||(r.__lines__.length>0&&(r.__lines__.forEach(y=>{var g;(g=r)===null||g===void 0||g.removeOverlay(y)}),r.__lines__=[]),d.forEach(y=>{var g,{color:p,width:c}=y,_=y.points.map(S=>new plus.maps.Point(S.longitude,S.latitude)),f=new plus.maps.Polyline(_);if(p){var m=To(p);f.setStrokeColor(m.color),f.setStrokeOpacity(m.opacity)}c&&f.setLineWidth(c),(g=r)===null||g===void 0||g.addOverlay(f),r.__lines__.push(f)}))}function h(d){!r||(r.__circles__.length>0&&(r.__circles__.forEach(y=>{var g;(g=r)===null||g===void 0||g.removeOverlay(y)}),r.__circles__=[]),d.forEach(y=>{var g,{latitude:p,longitude:c,color:_,fillColor:f,radius:m,strokeWidth:S}=y,x=new plus.maps.Circle(new plus.maps.Point(c,p),m);if(_){var E=To(_);x.setStrokeColor(E.color),x.setStrokeOpacity(E.opacity)}if(f){var C=To(f);x.setFillColor(C.color),x.setFillOpacity(C.opacity)}S&&x.setLineWidth(S),(g=r)===null||g===void 0||g.addOverlay(x),r.__circles__.push(x)}))}var b={moveToLocation:i,getCenterLocation:n,getRegion:a,getScale:o};return pn((d,y,g)=>{b[d]&&b[d](g,y)},gn(),!0),{_addMarkers:u,_addMapLines:v,_addMapCircles:h,_setMap(d){r=d}}}class Qb extends _e{constructor(t,r,i,n){super(t,"uni-map",Zb,r,i,n,".uni-map-slot")}}var Ty="";class ew extends Xr{constructor(t,r,i,n){super(t,"uni-movable-area",v_,r,i,n)}}var Ey="";class tw extends _e{constructor(t,r,i,n){super(t,"uni-movable-view",p_,r,i,n)}}var Cy="";class rw extends _e{constructor(t,r,i,n){super(t,"uni-navigator",b_,r,i,n)}}class iw extends fr{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class nw extends fr{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var qt,$f,cr;function Wf(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function Uf(){return qt.webview.currentWebview().id}var mn,Eo,Co={};function Oo(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Co[r];i&&i(t),t.keep||delete Co[r]}}function aw(e,t){Wf()==="v8"?cr?(mn&&mn.close(),mn=new cr(Uf()),mn.onmessage=Oo):Eo||(Eo=$f.requireModule("globalEvent"),Eo.addEventListener("plusMessage",Oo)):window.__plusMessage=Oo,Co[e]=t}class ow{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(cr){var n=new cr(i);n.postMessage(r)}else qt.webview.postMessageToUniNView&&qt.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function sw({context:e={},url:t,data:r={},style:i={},onMessage:n,onClose:a}){qt=e.plus||plus,$f=e.weex||(typeof weex=="object"?weex:null),cr=e.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var o={autoBackButton:!0,titleSize:"17px"},s="page".concat(Date.now());i=fe({},i),i.titleNView!==!1&&i.titleNView!=="none"&&(i.titleNView=fe(o,i.titleNView));var l={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"".concat(typeof process=="object"&&process.env&&{}.VUE_APP_TEMPLATE_PATH||"","/").concat(t,".js"),defaultFontSize:qt.screen.resolutionWidth/20,viewport:qt.screen.resolutionWidth}};i=fe(l,i);var u=qt.webview.create("",s,i,{extras:{from:Uf(),runtime:Wf(),data:r,useGlobalEvent:!cr}});return u.addEventListener("close",a),aw(s,v=>{typeof n=="function"&&n(v.data),v.keep||u.close("auto")}),u.show(i.animationType,i.animationDuration),new ow(u)}var Te={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},vr={YEAR:"year",MONTH:"month",DAY:"day"};function _n(e){return e>9?e:"0".concat(e)}function bn(e,t){e=String(e||"");var r=new Date;if(t===Te.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var n=e.split("-");n.length===3&&r.setFullYear(parseInt(n[0]),parseInt(String(parseFloat(n[1])-1)),parseInt(n[2]))}return r}function lw(e){if(e.mode===Te.TIME)return"00:00";if(e.mode===Te.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case vr.YEAR:return t;case vr.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function uw(e){if(e.mode===Te.TIME)return"23:59";if(e.mode===Te.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case vr.YEAR:return t;case vr.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var fw={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Te.SELECTOR,validator(e){return Object.values(Te).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:lw},end:{type:String,default:uw},disabled:{type:[Boolean,String],default:!1}},cw=he({name:"Picker",props:fw,emits:["change","cancel","columnchange"],setup(e,{emit:t}){Fd();var{t:r,getLocale:i}=je(),n=B(null),a=Pe(n,t),o=B(null),s=B(null),l=()=>{var p=e.value;switch(e.mode){case Te.MULTISELECTOR:{Array.isArray(p)||(p=[]),Array.isArray(o.value)||(o.value=[]);for(var c=o.value.length=Math.max(p.length,e.range.length),_=0;_{s.value&&s.value.sendMessage(p)},v=p=>{var c={event:"cancel"};s.value=sw({url:"__uniapppicker",data:p,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:_=>{var f=_.event;if(f==="created"){u(p);return}if(f==="columnchange"){delete _.event,a(f,{},_);return}c=_},onClose:()=>{s.value=null;var _=c.event;delete c.event,_&&a(_,{},c)}})},h=(p,c)=>{plus.nativeUI[e.mode===Te.TIME?"pickTime":"pickDate"](_=>{var f=_.date;a("change",{},{value:e.mode===Te.TIME?"".concat(_n(f.getHours()),":").concat(_n(f.getMinutes())):"".concat(f.getFullYear(),"-").concat(_n(f.getMonth()+1),"-").concat(_n(f.getDate()))})},()=>{a("cancel",{},{})},e.mode===Te.TIME?{time:bn(e.value,Te.TIME),popover:c}:{date:bn(e.value,Te.DATE),minDate:bn(e.start,Te.DATE),maxDate:bn(e.end,Te.DATE),popover:c})},b=(p,c)=>{(p.mode===Te.TIME||p.mode===Te.DATE)&&!p.fields?h(p,c):(p.fields=Object.values(vr).includes(p.fields)?p.fields:vr.DAY,v(p))},d=p=>{if(!e.disabled){var c=p.currentTarget,_=c.getBoundingClientRect();b(Object.assign({},e,{value:o.value,locale:i(),messages:{done:r("uni.picker.done"),cancel:r("uni.picker.cancel")}}),{top:_.top+kf(),left:_.left,width:_.width,height:_.height})}},y=ge(st,!1),g={submit:()=>[e.name,o.value],reset:()=>{switch(e.mode){case Te.SELECTOR:o.value=0;break;case Te.MULTISELECTOR:Array.isArray(e.value)&&(o.value=e.value.map(p=>0));break;case Te.DATE:case Te.TIME:o.value="";break}}};return y&&(y.addField(g),xe(()=>y.removeField(g))),Object.keys(e).forEach(p=>{p!=="name"&&U(()=>e[p],c=>{var _={};_[p]=c,u(_)},{deep:!0})}),U(()=>e.value,l,{deep:!0}),l(),()=>M("uni-picker",{ref:n,onClick:d},[M("slot",null,null)],8,["onClick"])}});class vw extends _e{constructor(t,r,i,n){super(t,"uni-picker",cw,r,i,n)}}var Oy="";class dw extends Xr{constructor(t,r,i,n){super(t,"uni-picker-view",S_,r,i,n,".uni-picker-view-wrapper")}}var My="";class hw extends Xr{constructor(t,r,i,n){super(t,"uni-picker-view-column",A_,r,i,n,".uni-picker-view-content")}}var Iy="";class pw extends _e{constructor(t,r,i,n){super(t,"uni-progress",R_,r,i,n)}}var Ay="";class gw extends _e{constructor(t,r,i,n){super(t,"uni-radio",F_,r,i,n,".uni-radio-wrapper")}setText(t){xo(this.$holder,"uni-radio-input",t)}}var Py="";class mw extends _e{constructor(t,r,i,n){super(t,"uni-radio-group",k_,r,i,n)}}var Ry="";class _w extends _e{constructor(t,r,i,n){super(t,"uni-rich-text",Y_,r,i,n)}}var Ly="";class bw extends _e{constructor(t,r,i,n){super(t,"uni-scroll-view",q_,r,i,n,".uni-scroll-view-content")}setText(t){xo(this.$holder,"uni-scroll-view-refresher",t)}}var Ny="";class ww extends _e{constructor(t,r,i,n){super(t,"uni-slider",Z_,r,i,n)}}var ky="";class yw extends Xr{constructor(t,r,i,n){super(t,"uni-swiper",nb,r,i,n,".uni-swiper-slide-frame")}}var Dy="";class Sw extends _e{constructor(t,r,i,n){super(t,"uni-swiper-item",ob,r,i,n)}}var By="";class xw extends _e{constructor(t,r,i,n){super(t,"uni-switch",lb,r,i,n)}}var Fy="";class Tw extends _e{constructor(t,r,i,n){super(t,"uni-textarea",hb,r,i,n)}}var $y="",Ew={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},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},enablePlayGesture:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0},showLoading:{type:[Boolean,String],default:!0},codec:{type:String,default:"hardware"},httpCache:{type:[Boolean,String],default:!1},playStrategy:{type:[Number,String],default:0},header:{type:Object,default(){return{}}},advanced:{type:Array,default(){return[]}}},Vf=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],Cw=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],Ow=he({name:"Video",props:Ew,emits:Vf,setup(e,{emit:t}){var r=B(null),i=Pe(r,t),n=B(null),a=So(e,["id"]),{position:o,hidden:s,onParentReady:l}=qr(n),u;l(()=>{u=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},a.value,o)),plus.webview.currentWebview().append(u),s.value&&u.hide(),Vf.forEach(h=>{u.addEventListener(h,b=>{i(h,{},b.detail)})}),U(()=>a.value,h=>u.setStyles(h),{deep:!0}),U(()=>o,h=>u.setStyles(h),{deep:!0}),U(()=>s.value,h=>{u[h?"hide":"show"](),h||u.setStyles(o)})});var v=gn();return pn((h,b)=>{if(Cw.includes(h)){var d;switch(h){case"seek":d=b.position;break;case"sendDanmu":d=b;break;case"playbackRate":d=b.rate;break;case"requestFullScreen":d=b.direction;break}u&&u[h](d)}},v,!0),xe(()=>{u&&u.close()}),()=>M("uni-video",{ref:r,id:e.id},[M("div",{ref:n,class:"uni-video-container"},null,512),M("div",{class:"uni-video-slot"},null)],8,["id"])}});class Mw extends _e{constructor(t,r,i,n){super(t,"uni-video",Ow,r,i,n,".uni-video-slot")}}var Wy="",Iw={src:{type:String,default:""},webviewStyles:{type:Object,default(){return{}}}},Xe,Aw=({htmlId:e,src:t,webviewStyles:r})=>{var i=plus.webview.currentWebview(),n=fe(r,{"uni-app":"none",isUniH5:!0}),a=i.getTitleNView();if(a){var o=Ps+parseFloat(n.top||"0");plus.navigator.isImmersedStatusbar()&&(o+=Nf()),n.top=String(o),n.bottom=n.bottom||"0"}Xe=plus.webview.create(t,e,n),a&&Xe.addEventListener("titleUpdate",function(){var s,l=(s=Xe)===null||s===void 0?void 0:s.getTitle();i.setStyle({titleNView:{titleText:!l||l==="null"?" ":l}})}),plus.webview.currentWebview().append(Xe)},Pw=()=>{var e;plus.webview.currentWebview().remove(Xe),(e=Xe)===null||e===void 0||e.close("none"),Xe=null},Rw=he({name:"WebView",props:Iw,setup(e){var t=Ct(),r=B(null),{hidden:i,onParentReady:n}=qr(r),a=Q(()=>e.webviewStyles);return n(()=>{var o,s=B(Bg+t);Aw({htmlId:s.value,src:ht(e.src),webviewStyles:a.value}),UniViewJSBridge.publishHandler(kg,{},t),i.value&&((o=Xe)===null||o===void 0||o.hide())}),xe(()=>{Pw(),UniViewJSBridge.publishHandler(Dg,{},t)}),U(()=>e.src,o=>{var s,l=ht(o)||"";if(!!l){if(/^(http|https):\/\//.test(l)&&e.webviewStyles.progress){var u;(u=Xe)===null||u===void 0||u.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=Xe)===null||s===void 0||s.loadURL(l)}}),U(a,o=>{var s;(s=Xe)===null||s===void 0||s.setStyle(o)}),U(i,o=>{Xe&&Xe[o?"hide":"show"]()}),()=>M("uni-web-view",{ref:r},null,512)}});class Lw extends _e{constructor(t,r,i,n){super(t,"uni-web-view",Rw,r,i,n)}}var Nw={"#text":bb,"#comment":Bm,VIEW:xb,IMAGE:Hb,TEXT:_b,NAVIGATOR:rw,FORM:Ub,BUTTON:Mb,INPUT:Yb,LABEL:zb,RADIO:gw,CHECKBOX:Pb,"CHECKBOX-GROUP":Rb,AD:Ob,CAMERA:Ib,CANVAS:Ab,"COVER-IMAGE":Bb,"COVER-VIEW":$b,EDITOR:Wb,"FUNCTIONAL-PAGE-NAVIGATOR":Vb,ICON:jb,"RADIO-GROUP":mw,"LIVE-PLAYER":qb,"LIVE-PUSHER":Xb,MAP:Qb,"MOVABLE-AREA":ew,"MOVABLE-VIEW":tw,"OFFICIAL-ACCOUNT":iw,"OPEN-DATA":nw,PICKER:vw,"PICKER-VIEW":dw,"PICKER-VIEW-COLUMN":hw,PROGRESS:pw,"RICH-TEXT":_w,"SCROLL-VIEW":bw,SLIDER:ww,SWIPER:yw,"SWIPER-ITEM":Sw,SWITCH:xw,TEXTAREA:Tw,VIDEO:Mw,"WEB-VIEW":Lw};function kw(e,t){return()=>kp(e,t)}var Mo=new Map;function Ke(e){return Mo.get(e)}function jf(e){return Mo.delete(e)}function Hf(e,t,r,i,n={}){var a;if(e===0)a=new lr(e,t,r,document.createElement(t));else{var o=Nw[t];o?a=new o(e,r,i,n):a=new Uu(e,document.createElement(t),r,i,n)}return Mo.set(e,a),a}var Io=[],Yf=!1;function zf(e){if(Yf)return e();Io.push(e)}function Ao(){Yf=!0,Io.forEach(e=>e()),Io.length=0}function Dw(){}function qf({css:e,route:t,platform:r,pixelRatio:i,windowWidth:n,disableScroll:a,statusbarHeight:o,windowTop:s,windowBottom:l}){Bw(t),Fw(r,i,n),$w();var u=plus.webview.currentWebview().id;window.__id__=u,document.title="".concat(t,"[").concat(u,"]"),Uw(o,s,l),a&&document.addEventListener("touchmove",Eg),e?Ww(t):Ao()}function Bw(e){window.__PAGE_INFO__={route:e}}function Fw(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function $w(){Hf(0,"div",-1,-1).$=document.getElementById("app")}function Ww(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Ao,t.onerror=Ao,document.head.appendChild(t)}function Uw(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};hg(i)}var Xf=!1;function Vw(e){if(!Xf){Xf=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(bd,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(wd)}};requestAnimationFrame(()=>document.addEventListener("scroll",Cg(t)))}}function jw({scrollTop:e,selector:t,duration:r},i){qv(t||e||0,r),i()}function Hw(e){var t=e[0];t[0]===Is?Yw(t):zf(()=>zw(e))}function Yw(e){return qf(e[1])}function zw(e){var t=e[0],r=mm(t[0]===Ng?t[1]:[]);e.forEach(i=>{switch(i[0]){case Is:return qf(i[1]);case td:return Dw();case rd:return Hf(i[1],r(i[2]),i[3],i[4],_m(r,i[5]));case id:return Ke(i[1]).remove();case nd:return Ke(i[1]).setAttr(r(i[2]),r(i[3]));case ad:return Ke(i[1]).removeAttr(r(i[2]));case od:return Ke(i[1]).addEvent(r(i[2]),i[3]);case ud:return Ke(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case sd:return Ke(i[1]).removeEvent(r(i[2]));case ld:return Ke(i[1]).setText(r(i[2]));case fd:return Vw(i[1])}}),Sm()}function qw(){var{subscribe:e}=UniViewJSBridge;e(_u,Hw),e(Fg,je().setLocale)}function Kf(e){return window.__$__(e).$}function Xw(e){var t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){var r=document.documentElement,i=document.body;t.scrollLeft=r.scrollLeft||i.scrollLeft||0,t.scrollTop=r.scrollTop||i.scrollTop||0,t.scrollHeight=r.scrollHeight||i.scrollHeight||0,t.scrollWidth=r.scrollWidth||i.scrollWidth||0}return t}function Po(e,t){var r={},{top:i}=dg();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=Jn(e)),t.rect||t.size){var n=e.getBoundingClientRect();t.rect&&(r.left=n.left,r.right=n.right,r.top=n.top-i,r.bottom=n.bottom-i),t.size&&(r.width=n.width,r.height=n.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(l,u){return u.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var a=e.children[0].children[0];r.scrollLeft=a.scrollLeft,r.scrollTop=a.scrollTop,r.scrollHeight=a.scrollHeight,r.scrollWidth=a.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=gb(e)),r}function Kw(e,t){return e?window.__$__(e).$:t.$el}function Gf(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var n=this.parentElement.querySelectorAll(i),a=n.length;--a>=0&&n.item(a)!==this;);return a>-1};return r.call(e,t)}function Gw(e,t,r,i,n){var a=Kw(t,e),o=a.parentElement;if(!o)return i?null:[];var{nodeType:s}=a,l=s===3||s===8;if(i){var u=l?o.querySelector(r):Gf(a,r)?a:a.querySelector(r);return u?Po(u,n):null}else{var v=[],h=(l?o:a).querySelectorAll(r);return h&&h.length&&[].forEach.call(h,b=>{v.push(Po(b,n))}),!l&&Gf(a,r)&&v.unshift(Po(a,n)),v}}function Zw(e,t,r){var i=[];t.forEach(({component:n,selector:a,single:o,fields:s})=>{n===null?i.push(Xw(s)):i.push(Gw(e,n,a,o,s))}),r(i)}function Jw({reqId:e,component:t,options:r,callback:i},n){var a=Kf(t);(a.__io||(a.__io={}))[e]=um(a,r,i)}function Qw({reqId:e,component:t},r){var i=Kf(t),n=i.__io&&i.__io[e];n&&(n.disconnect(),delete i.__io[e])}var Ro={},Lo={};function ey(e){var t=[],r=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(var i of r)i!=="orientation"&&e[i]&&Number(e[i]>=0)&&t.push("(".concat(Zf(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Zf(i),": ").concat(e[i],")"));var n=t.join(" and ");return n}function Zf(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function ty({reqId:e,component:t,options:r,callback:i},n){var a=Ro[e]=window.matchMedia(ey(r)),o=Lo[e]=s=>i(s.matches);o(a),a.addListener(o)}function ry({reqId:e,component:t},r){var i=Lo[e],n=Ro[e];n&&(n.removeListener(i),delete Lo[e],delete Ro[e])}function iy({family:e,source:t,desc:r},i){zv(e,t,r).then(()=>{i()}).catch(n=>{i(n.toString())})}var ny={$el:document.body};function ay(){var e=Ct();jd(e,t=>(...r)=>{zf(()=>{t.apply(null,r)})}),ft(e,"requestComponentInfo",(t,r)=>{Zw(ny,t.reqs,r)}),ft(e,"addIntersectionObserver",t=>{Jw(fe({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),ft(e,"removeIntersectionObserver",t=>{Qw(t)}),ft(e,"addMediaQueryObserver",t=>{ty(fe({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),ft(e,"removeMediaQueryObserver",t=>{ry(t)}),ft(e,om,jw),ft(e,am,iy)}window.uni=pm,window.UniViewJSBridge=bu,window.rpx2px=Tu,window.__$__=Ke,window.__f__=Zv;function Jf(){Jd(),ay(),qw(),gm(),bu.publishHandler(Lg)}typeof plus!="undefined"?Jf():document.addEventListener("plusready",Jf)}); diff --git a/packages/uni-mp-vite/src/plugin/configResolved.ts b/packages/uni-mp-vite/src/plugin/configResolved.ts index 88c5dcb32..68eebb669 100644 --- a/packages/uni-mp-vite/src/plugin/configResolved.ts +++ b/packages/uni-mp-vite/src/plugin/configResolved.ts @@ -21,7 +21,7 @@ import { } from '../plugins/entry' const debugNVueCss = debug('vite:uni:nvue-css') - +const cssVars = `page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}` const shadowCss = `page::after{position:fixed;content:'';left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;-webkit-animation-delay:3s;animation:shadow-preload .1s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}` export function createConfigResolved({ @@ -52,9 +52,14 @@ export function createConfigResolved({ }, chunkCssCode(filename, cssCode) { cssCode = transformScopedCss(cssCode) - if (config.isProduction && filename === 'app' + extname) { - return cssCode + shadowCss + if (filename === 'app' + extname) { + if (config.isProduction) { + return cssCode + shadowCss + cssVars + } else { + return cssCode + cssVars + } } + const nvueCssPaths = getNVueCssPaths(config) if (!nvueCssPaths || !nvueCssPaths.length) { return cssCode diff --git a/packages/uni-mp-vite/src/plugin/index.ts b/packages/uni-mp-vite/src/plugin/index.ts index 7f1e766dc..12401eeb4 100644 --- a/packages/uni-mp-vite/src/plugin/index.ts +++ b/packages/uni-mp-vite/src/plugin/index.ts @@ -7,12 +7,14 @@ import { parseManifestJsonOnce, findMiniProgramTemplateFiles, } from '@dcloudio/uni-cli-shared' +import { CompilerOptions } from '@vue/compiler-core' import { uniOptions } from './uni' import { buildOptions } from './build' import { createConfigResolved } from './configResolved' import { emitFile, getFilterFiles, getTemplateFiles } from './template' -import { CompilerOptions } from '@vue/compiler-core' + +import { getNVueCssPaths } from '../plugins/pagesJson' export interface UniMiniProgramPluginOptions { vite: { @@ -47,13 +49,6 @@ export interface UniMiniProgramPluginOptions { } style: { extname: string - cssVars: { - '--status-bar-height': string - '--window-top': string - '--window-bottom': string - '--window-left': string - '--window-right': string - } } } @@ -66,7 +61,8 @@ export function uniMiniProgramPlugin( style, } = options - let isFirst = true + let nvueCssEmitted = false + let resolvedConfig: ResolvedConfig return { name: 'vite:uni-mp', @@ -117,16 +113,18 @@ export function uniMiniProgramPlugin( source: templateFiles[filename], }) }) - if (isFirst) { - // 仅生成一次 - isFirst = false - this.emitFile({ - type: 'asset', - fileName: 'nvue' + style.extname, - source: genNVueCssCode( - parseManifestJsonOnce(process.env.UNI_INPUT_DIR) - ), - }) + if (!nvueCssEmitted) { + const nvueCssPaths = getNVueCssPaths(resolvedConfig) + if (nvueCssPaths && nvueCssPaths.length) { + nvueCssEmitted = true + this.emitFile({ + type: 'asset', + fileName: 'nvue' + style.extname, + source: genNVueCssCode( + parseManifestJsonOnce(process.env.UNI_INPUT_DIR) + ), + }) + } } }, } diff --git a/packages/uni-mp-weixin/dist/uni.compiler.js b/packages/uni-mp-weixin/dist/uni.compiler.js index c4ae9b5d2..3fcc00a35 100644 --- a/packages/uni-mp-weixin/dist/uni.compiler.js +++ b/packages/uni-mp-weixin/dist/uni.compiler.js @@ -130,13 +130,6 @@ ${filter.code} }, style: { extname: '.wxss', - cssVars: { - '--status-bar-height': '25px', - '--window-top': '0px', - '--window-bottom': '0px', - '--window-left': '0px', - '--window-right': '0px', - }, }, }; var index = [uniMiniProgramWeixinPlugin, ...initMiniProgramPlugin__default["default"](options)]; diff --git a/packages/uni-mp-weixin/src/plugin/index.ts b/packages/uni-mp-weixin/src/plugin/index.ts index d27e13b31..af8dbde63 100644 --- a/packages/uni-mp-weixin/src/plugin/index.ts +++ b/packages/uni-mp-weixin/src/plugin/index.ts @@ -84,13 +84,6 @@ ${filter.code} }, style: { extname: '.wxss', - cssVars: { - '--status-bar-height': '25px', - '--window-top': '0px', - '--window-bottom': '0px', - '--window-left': '0px', - '--window-right': '0px', - }, }, } -- GitLab