【前端】云工厂的纸掌柜app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
237 KiB

(function(wn){typeof define=="function"&&define.amd?define(wn):wn()})(function(){"use strict";var wn="",fy="",cy="",Gt={exports:{}},Gr={exports:{}},Zr={exports:{}},ic=Zr.exports={version:"2.6.12"};typeof __e=="number"&&(__e=ic);var gt={exports:{}},Jr=gt.exports=typeof Jr!="undefined"&&Jr.Math==Math?Jr:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=Jr);var nc=Zr.exports,No=gt.exports,ko="__core-js_shared__",Do=No[ko]||(No[ko]={});(Gr.exports=function(e,t){return Do[e]||(Do[e]=t!==void 0?t:{})})("versions",[]).push({version:nc.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var ac=0,oc=Math.random(),yn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++ac+oc).toString(36))},Sn=Gr.exports("wks"),sc=yn,xn=gt.exports.Symbol,Bo=typeof xn=="function",lc=Gt.exports=function(e){return Sn[e]||(Sn[e]=Bo&&xn[e]||(Bo?xn:sc)("Symbol."+e))};lc.store=Sn;var Qr={},Tn=function(e){return typeof e=="object"?e!==null:typeof e=="function"},uc=Tn,En=function(e){if(!uc(e))throw TypeError(e+" is not an object!");return e},ei=function(e){try{return!!e()}catch(t){return!0}},hr=!ei(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),$o=Tn,Cn=gt.exports.document,fc=$o(Cn)&&$o(Cn.createElement),Fo=function(e){return fc?Cn.createElement(e):{}},cc=!hr&&!ei(function(){return Object.defineProperty(Fo("div"),"a",{get:function(){return 7}}).a!=7}),ti=Tn,vc=function(e,t){if(!ti(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ti(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ti(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ti(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Uo=En,dc=cc,hc=vc,pc=Object.defineProperty;Qr.f=hr?Object.defineProperty:function(t,r,i){if(Uo(t),r=hc(r,!0),Uo(i),dc)try{return pc(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 Wo=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},gc=Qr,mc=Wo,Zt=hr?function(e,t,r){return gc.f(e,t,mc(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 _c=function(e){Mn[On][e]=!0},bc=function(e,t){return{value:t,done:!!e}},In={},wc={}.toString,yc=function(e){return wc.call(e).slice(8,-1)},Sc=yc,xc=Object("z").propertyIsEnumerable(0)?Object:function(e){return Sc(e)=="String"?e.split(""):Object(e)},Vo=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},Tc=xc,Ec=Vo,ri=function(e){return Tc(Ec(e))},ii={exports:{}},Cc={}.hasOwnProperty,ni=function(e,t){return Cc.call(e,t)},Oc=Gr.exports("native-function-to-string",Function.toString),Mc=gt.exports,ai=Zt,Ho=ni,An=yn("src"),Pn=Oc,jo="toString",Ic=(""+Pn).split(jo);Zr.exports.inspectSource=function(e){return Pn.call(e)},(ii.exports=function(e,t,r,i){var n=typeof r=="function";n&&(Ho(r,"name")||ai(r,"name",t)),e[t]!==r&&(n&&(Ho(r,An)||ai(r,An,e[t]?""+e[t]:Ic.join(String(t)))),e===Mc?e[t]=r:i?e[t]?e[t]=r:ai(e,t,r):(delete e[t],ai(e,t,r)))})(Function.prototype,jo,function(){return typeof this=="function"&&this[An]||Pn.call(this)});var Yo=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},Ac=Yo,Pc=function(e,t,r){if(Ac(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,oi=Zr.exports,Rc=Zt,Lc=ii.exports,zo=Pc,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?oi:oi[t]||(oi[t]={}),v=u[Rn]||(u[Rn]={}),d,_,h,b;n&&(r=t);for(d in r)_=!i&&l&&l[d]!==void 0,h=(_?l:r)[d],b=s&&_?zo(h,Jt):o&&typeof h=="function"?zo(Function.call,h):h,l&&Lc(l,d,h,e&Be.U),u[d]!=h&&Rc(u,d,b),o&&v[d]!=h&&(v[d]=h)};Jt.core=oi,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,Nc=Math.ceil,kc=Math.floor,qo=function(e){return isNaN(e=+e)?0:(e>0?kc:Nc)(e)},Dc=qo,Bc=Math.min,$c=function(e){return e>0?Bc(Dc(e),9007199254740991):0},Fc=qo,Uc=Math.max,Wc=Math.min,Vc=function(e,t){return e=Fc(e),e<0?Uc(e+t,0):Wc(e,t)},Hc=ri,jc=$c,Yc=Vc,zc=function(e){return function(t,r,i){var n=Hc(t),a=jc(n.length),o=Yc(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}},Xo=Gr.exports("keys"),qc=yn,Nn=function(e){return Xo[e]||(Xo[e]=qc(e))},Ko=ni,Xc=ri,Kc=zc(!1),Gc=Nn("IE_PROTO"),Zc=function(e,t){var r=Xc(e),i=0,n=[],a;for(a in r)a!=Gc&&Ko(r,a)&&n.push(a);for(;t.length>i;)Ko(r,a=t[i++])&&(~Kc(n,a)||n.push(a));return n},Go="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Jc=Zc,Qc=Go,kn=Object.keys||function(t){return Jc(t,Qc)},ev=Qr,tv=En,rv=kn,iv=hr?Object.defineProperties:function(t,r){tv(t);for(var i=rv(r),n=i.length,a=0,o;n>a;)ev.f(t,o=i[a++],r[o]);return t},Zo=gt.exports.document,nv=Zo&&Zo.documentElement,av=En,ov=iv,Jo=Go,sv=Nn("IE_PROTO"),Dn=function(){},Bn="prototype",si=function(){var e=Fo("iframe"),t=Jo.length,r="<",i=">",n;for(e.style.display="none",nv.appendChild(e),e.src="javascript:",n=e.contentWindow.document,n.open(),n.write(r+"script"+i+"document.F=Object"+r+"/script"+i),n.close(),si=n.F;t--;)delete si[Bn][Jo[t]];return si()},lv=Object.create||function(t,r){var i;return t!==null?(Dn[Bn]=av(t),i=new Dn,Dn[Bn]=null,i[sv]=t):i=si(),r===void 0?i:ov(i,r)},uv=Qr.f,fv=ni,Qo=Gt.exports("toStringTag"),es=function(e,t,r){e&&!fv(e=r?e:e.prototype,Qo)&&uv(e,Qo,{configurable:!0,value:t})},cv=lv,vv=Wo,dv=es,ts={};Zt(ts,Gt.exports("iterator"),function(){return this});var hv=function(e,t,r){e.prototype=cv(ts,{next:vv(1,r)}),dv(e,t+" Iterator")},pv=Vo,rs=function(e){return Object(pv(e))},gv=ni,mv=rs,is=Nn("IE_PROTO"),_v=Object.prototype,bv=Object.getPrototypeOf||function(e){return e=mv(e),gv(e,is)?e[is]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?_v:null},$n=Ln,wv=ii.exports,ns=Zt,as=In,yv=hv,Sv=es,xv=bv,pr=Gt.exports("iterator"),Fn=!([].keys&&"next"in[].keys()),Tv="@@iterator",os="keys",li="values",ss=function(){return this},Ev=function(e,t,r,i,n,a,o){yv(r,t,i);var s=function(f){if(!Fn&&f in d)return d[f];switch(f){case os:return function(){return new r(this,f)};case li:return function(){return new r(this,f)}}return function(){return new r(this,f)}},l=t+" Iterator",u=n==li,v=!1,d=e.prototype,_=d[pr]||d[Tv]||n&&d[n],h=_||s(n),b=n?u?s("entries"):h:void 0,m=t=="Array"&&d.entries||_,p,c,w;if(m&&(w=xv(m.call(new e)),w!==Object.prototype&&w.next&&(Sv(w,l,!0),typeof w[pr]!="function"&&ns(w,pr,ss))),u&&_&&_.name!==li&&(v=!0,h=function(){return _.call(this)}),(Fn||v||!d[pr])&&ns(d,pr,h),as[t]=h,as[l]=ss,n)if(p={values:u?h:s(li),keys:a?h:s(os),entries:b},o)for(c in p)c in d||wv(d,c,p[c]);else $n($n.P+$n.F*(Fn||v),t,p);return p},Un=_c,ui=bc,ls=In,Cv=ri,Ov=Ev(Array,"Array",function(e,t){this._t=Cv(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,ui(1)):t=="keys"?ui(0,r):t=="values"?ui(0,e[r]):ui(0,[r,e[r]])},"values");ls.Arguments=ls.Array,Un("keys"),Un("values"),Un("entries");for(var us=Ov,Mv=kn,Iv=ii.exports,Av=gt.exports,fs=Zt,cs=In,vs=Gt.exports,ds=vs("iterator"),hs=vs("toStringTag"),ps=cs.Array,gs={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},ms=Mv(gs),Wn=0;Wn<ms.length;Wn++){var fi=ms[Wn],Pv=gs[fi],_s=Av[fi],Rt=_s&&_s.prototype,ci;if(Rt&&(Rt[ds]||fs(Rt,ds,ps),Rt[hs]||fs(Rt,hs,fi),cs[fi]=ps,Pv))for(ci in us)Rt[ci]||Iv(Rt,ci,us[ci],!0)}function vi(e,t){for(var r=Object.create(null),i=e.split(","),n=0;n<i.length;n++)r[i[n]]=!0;return t?a=>!!r[a.toLowerCase()]:a=>!!r[a]}var Rv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Lv=vi(Rv);function bs(e){return!!e||e===""}var Nv=vi("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(se(e)){for(var t={},r=0;r<e.length;r++){var i=e[r],n=ye(i)?ws(i):Vn(i);if(n)for(var a in n)t[a]=n[a]}return t}else{if(ye(e))return e;if(De(e))return e}}var kv=/;(?![^(]*\))/g,Dv=/:(.+)/;function ws(e){var t={};return e.split(kv).forEach(r=>{if(r){var i=r.split(Dv);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Bv(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"&&Nv(n))&&(t+="".concat(n,":").concat(i,";"))}return t}function Hn(e){var t="";if(ye(e))t=e;else if(se(e))for(var r=0;r<e.length;r++){var i=Hn(e[r]);i&&(t+=i+" ")}else if(De(e))for(var n in e)e[n]&&(t+=n+" ");return t.trim()}var be={},gr=[],Je=()=>{},$v=()=>!1,Fv=/^on[^a-z]/,di=e=>Fv.test(e),jn=e=>e.startsWith("onUpdate:"),fe=Object.assign,ys=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},Uv=Object.prototype.hasOwnProperty,ee=(e,t)=>Uv.call(e,t),se=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",Ss=e=>De(e)&&ae(e.then)&&ae(e.catch),Vv=Object.prototype.toString,_r=e=>Vv.call(e),zn=e=>_r(e).slice(8,-1),it=e=>_r(e)==="[object Object]",qn=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hi=vi(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pi=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},Hv=/-(\w)/g,mt=pi(e=>e.replace(Hv,(t,r)=>r?r.toUpperCase():"")),jv=/\B([A-Z])/g,Ve=pi(e=>e.replace(jv,"-$1").toLowerCase()),gi=pi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Xn=pi(e=>e?"on".concat(gi(e)):""),br=(e,t)=>!Object.is(e,t),Kn=(e,t)=>{for(var r=0;r<e.length;r++)e[r](t)},mi=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Yv=e=>{var t=parseFloat(e);return isNaN(t)?e:t},xs,zv=()=>xs||(xs=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 qv(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:d,variant:_,featureSettings:h}=r;l&&s.push("font-style:".concat(l)),u&&s.push("font-weight:".concat(u)),v&&s.push("font-stretch:".concat(v)),d&&s.push("unicode-range:".concat(d)),_&&s.push("font-variant:".concat(_)),h&&s.push("font-feature-settings:".concat(h))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),a()})}function Xv(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 Kv(){return typeof __channelId__=="string"&&__channelId__}function Gv(e,t){switch(zn(t)){case"Function":return"function() { [native code] }";default:return t}}function Zv(e,t,r){if(Kv())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,Gv)+"---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 Jv(e,t,...r){var i=Zv(e,t,r);i&&console[e](i)}function Qt(e){if(typeof e=="function"){if(window.plus)return e();document.addEventListener("plusready",e)}}function Qv(e,t){return t&&(t.capture&&(e+="Capture"),t.once&&(e+="Once"),t.passive&&(e+="Passive")),"on".concat(gi(mt(e)))}var Ts=/(?:Once|Passive|Capture)$/;function ta(e){var t;if(Ts.test(e)){t={};for(var r;r=e.match(Ts);)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},Es="class",ia="style",ed="innerHTML",td="textContent",_i=".vShow",Cs=".vOwnerId",Os=".vRenderjs",na="change:",Ms=1,rd=2,id=3,nd=5,ad=6,od=7,sd=8,ld=9,ud=10,fd=12,cd=15,vd=20;function dd(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function hd(e){return dd(e)}function aa(e,t=null){var r;return(...i)=>(e&&(r=e.apply(t,i),e=null),r)}function Is(e,t){var r=t.split("."),i=r[0];return e||(e={}),r.length===1?e[i]:Is(e[i],r.slice(1).join("."))}function pd(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 As=44,bi="#007aff",gd=/^([a-z-]+:)?\/\//i,md=/^data:.*,.*/,Ps="wxs://",Rs="json://",_d="wxsModules",bd="renderjsModules",wd="onPageScroll",yd="onReachBottom",Sd="onWxsInvokeCallMethod",xd=Array.isArray,Td=e=>e!==null&&typeof e=="object",Ed=["{","}"];class Cd{constructor(){this._caches=Object.create(null)}interpolate(t,r,i=Ed){if(!r)return[t];var n=this._caches[t];return n||(n=Id(t,i),this._caches[t]=n),Ad(n,r)}}var Od=/^(?:\d)+/,Md=/^(?:\w)+/;function Id(e,[t,r]){for(var i=[],n=0,a="";n<e.length;){var o=e[n++];if(o===t){a&&i.push({type:"text",value:a}),a="";var s="";for(o=e[n++];o!==void 0&&o!==r;)s+=o,o=e[n++];var l=o===r,u=Od.test(s)?"list":l&&Md.test(s)?"named":"unknown";i.push({value:s,type:u})}else a+=o}return a&&i.push({type:"text",value:a}),i}function Ad(e,t){var r=[],i=0,n=xd(t)?"list":Td(t)?"named":"unknown";if(n==="unknown")return r;for(;i<e.length;){var a=e[i];switch(a.type){case"text":r.push(a.value);break;case"list":r.push(t[parseInt(a.value,10)]);break;case"named":n==="named"&&r.push(t[a.value]);break}i++}return r}var wi="zh-Hans",yi="zh-Hant",_t="en",oa="fr",sa="es",Pd=Object.prototype.hasOwnProperty,Ls=(e,t)=>Pd.call(e,t),Rd=new Cd;function Ld(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function Nd(e,t){return t.find(r=>e.indexOf(r)===0)}function Ns(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?wi:e.indexOf("-hant")>-1||Ld(e,["-tw","-hk","-mo","-cht"])?yi:wi;var r=Nd(e,[_t,oa,sa]);if(r)return r}}class kd{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||Rd,this.messages=i||{},this.setLocale(t||_t),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=Ns(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=>{Ls(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=Ns(r,this.messages),r&&(n=this.messages[r])):i=r,Ls(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 Dd(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function Bd(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():_t}function $d(e,t={},r,i){typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=Bd()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||_t);var n=new kd({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 d=getApp().$vm;return d&&(d.$locale,l||(l=!0,Dd(d,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 He(){if(!la){var e;typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,la=$d(e)}return la}function nt(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"];He().add(_t,nt(e,t,["Done","Cancel"]),!1),He().add(sa,nt(e,t,["OK","Cancelar"]),!1),He().add(oa,nt(e,t,["OK","Annuler"]),!1),He().add(wi,nt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),He().add(yi,nt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),Ud=aa(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];He().add(_t,nt(e,t,["feedback","send"]),!1),He().add(sa,nt(e,t,["realimentaci\xF3n","enviar"]),!1),He().add(oa,nt(e,t,["retour d'information","envoyer"]),!1),He().add(wi,nt(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),He().add(yi,nt(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)}),ks=function(){};ks.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<n;i++)r[i].fn.apply(r[i].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),i=r[e],n=[];if(i&&t)for(var a=0,o=i.length;a<o;a++)i[a].fn!==t&&i[a].fn._!==t&&n.push(i[a]);return n.length?r[e]=n:delete r[e],this}};function Wd(e){var t=new ks;return{on(r,i){return t.on(r,i)},once(r,i){return t.once(r,i)},off(r,i){return t.off(r,i)},emit(r,...i){return t.emit(r,...i)},subscribe(r,i,n=!1){t[n?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,n){t.emit("".concat(e,".").concat(r),i,n)}}}var Ds="invokeViewApi",Bs="invokeServiceApi",Vd=1,Hd=(e,t,r)=>{var{subscribe:i,publishHandler:n}=UniViewJSBridge,a=r?Vd++:0;r&&i(Bs+"."+a,r,!0),n(Bs,{id:a,name:e,args:t})},Si=Object.create(null);function xi(e,t){return e+"."+t}function jd(e,t){UniViewJSBridge.subscribe(xi(e,Ds),t?t($s):$s)}function ct(e,t,r){t=xi(e,t),Si[t]||(Si[t]=r)}function Yd(e,t){t=xi(e,t),delete Si[t]}function $s({id:e,name:t,args:r},i){t=xi(i,t);var n=o=>{e&&UniViewJSBridge.publishHandler(Ds+"."+e,o)},a=Si[t];a?a(r,n):n({})}var zd=fe(Wd("service"),{invokeServiceMethod:Hd}),qd=350,Fs=10,Ti=Qn(!0),wr;function yr(){wr&&(clearTimeout(wr),wr=null)}var Us=0,Ws=0;function Xd(e){if(yr(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];Us=t,Ws=r,wr=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)},qd)}}function Kd(e){if(!!wr){if(e.touches.length!==1)return yr();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-Us)>Fs||Math.abs(r-Ws)>Fs)return yr()}}function Gd(){window.addEventListener("touchstart",Xd,Ti),window.addEventListener("touchmove",Kd,Ti),window.addEventListener("touchend",yr,Ti),window.addEventListener("touchcancel",yr,Ti)}function Vs(e,t){var r=Number(e);return isNaN(r)?t:r}function Zd(){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 Jd(){function e(){var t=__uniConfig.globalStyle||{},r=Vs(t.rpxCalcMaxDeviceWidth,960),i=Vs(t.rpxCalcBaseDeviceWidth,375),n=Zd();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 Qd(){Jd(),Gd()}var eh=ei,th=function(e,t){return!!e&&eh(function(){t?e.call(null,function(){},1):e.call(null)})},ua=Ln,rh=Yo,Hs=rs,js=ei,fa=[].sort,Ys=[1,2,3];ua(ua.P+ua.F*(js(function(){Ys.sort(void 0)})||!js(function(){Ys.sort(null)})||!th(fa)),"Array",{sort:function(t){return t===void 0?fa.call(Hs(this)):fa.call(Hs(this),rh(t))}});var Lt,Ei=[];class ih{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&&(Ei.push(this),Lt=this)}off(){this.active&&(Ei.pop(),Lt=Ei[Ei.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 nh(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},zs=e=>(e.w&bt)>0,qs=e=>(e.n&bt)>0,ah=({deps:e})=>{if(e.length)for(var t=0;t<e.length;t++)e[t].w|=bt},oh=e=>{var{deps:t}=e;if(t.length){for(var r=0,i=0;i<t.length;i++){var n=t[i];zs(n)&&!qs(n)?n.delete(e):t[r++]=n,n.w&=~bt,n.n&=~bt}t.length=r}},va=new WeakMap,Sr=0,bt=1,da=30,xr=[],Nt,kt=Symbol(""),ha=Symbol("");class pa{constructor(t,r=null,i){this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],nh(this,i)}run(){if(!this.active)return this.fn();if(!xr.includes(this))try{return xr.push(Nt=this),sh(),bt=1<<++Sr,Sr<=da?ah(this):Xs(this),this.fn()}finally{Sr<=da&&oh(this),bt=1<<--Sr,Dt(),xr.pop();var t=xr.length;Nt=t>0?xr[t-1]:void 0}}stop(){this.active&&(Xs(this),this.onStop&&this.onStop(),this.active=!1)}}function Xs(e){var{deps:t}=e;if(t.length){for(var r=0;r<t.length;r++)t[r].delete(e);t.length=0}}var er=!0,ga=[];function tr(){ga.push(er),er=!1}function sh(){ga.push(er),er=!0}function Dt(){var e=ga.pop();er=e===void 0?!0:e}function je(e,t,r){if(!!Ks()){var i=va.get(e);i||va.set(e,i=new Map);var n=i.get(r);n||i.set(r,n=ca()),Gs(n)}}function Ks(){return er&&Nt!==void 0}function Gs(e,t){var r=!1;Sr<=da?qs(e)||(e.n|=bt,r=!zs(e)):r=!e.has(Nt),r&&(e.add(Nt),Nt.deps.push(e))}function vt(e,t,r,i,n,a){var o=va.get(e);if(!!o){var s=[];if(t==="clear")s=[...o.values()];else if(r==="length"&&se(e))o.forEach((v,d)=>{(d==="length"||d>=i)&&s.push(v)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":se(e)?qn(r)&&s.push(o.get("length")):(s.push(o.get(kt)),mr(e)&&s.push(o.get(ha)));break;case"delete":se(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 se(e)?e:[...e])(r!==Nt||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var lh=vi("__proto__,__v_isRef,__isVue"),Zs=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Yn)),uh=_a(),fh=_a(!1,!0),ch=_a(!0),Js=vh();function vh(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){for(var i=pe(this),n=0,a=this.length;n<a;n++)je(i,"get",n+"");var o=i[t](...r);return o===-1||o===!1?i[t](...r.map(pe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{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?Mh:sl:t?ol:al).get(i))return i;var o=se(i);if(!e&&o&&ee(Js,n))return Reflect.get(Js,n,a);var s=Reflect.get(i,n,a);if((Yn(n)?Zs.has(n):lh(n))||(e||je(i,"get",n),t))return s;if(Ue(s)){var l=!o||!qn(n);return l?s.value:s}return De(s)?e?ll(s):Ee(s):s}}var dh=Qs(),hh=Qs(!0);function Qs(e=!1){return function(r,i,n,a){var o=r[i];if(!e&&(n=pe(n),o=pe(o),!se(r)&&Ue(o)&&!Ue(n)))return o.value=n,!0;var s=se(r)&&qn(i)?Number(i)<r.length:ee(r,i),l=Reflect.set(r,i,n,a);return r===pe(a)&&(s?br(n,o)&&vt(r,"set",i,n):vt(r,"add",i,n)),l}}function ph(e,t){var r=ee(e,t);e[t];var i=Reflect.deleteProperty(e,t);return i&&r&&vt(e,"delete",t,void 0),i}function gh(e,t){var r=Reflect.has(e,t);return(!Yn(t)||!Zs.has(t))&&je(e,"has",t),r}function mh(e){return je(e,"iterate",se(e)?"length":kt),Reflect.ownKeys(e)}var el={get:uh,set:dh,deleteProperty:ph,has:gh,ownKeys:mh},_h={get:ch,set(e,t){return!0},deleteProperty(e,t){return!0}},bh=fe({},el,{get:fh,set:hh}),ba=e=>e,Ci=e=>Reflect.getPrototypeOf(e);function Oi(e,t,r=!1,i=!1){e=e.__v_raw;var n=pe(e),a=pe(t);t!==a&&!r&&je(n,"get",t),!r&&je(n,"get",a);var{has:o}=Ci(n),s=i?ba:r?Sa:Tr;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 Mi(e,t=!1){var r=this.__v_raw,i=pe(r),n=pe(e);return e!==n&&!t&&je(i,"has",e),!t&&je(i,"has",n),e===n?r.has(e):r.has(e)||r.has(n)}function Ii(e,t=!1){return e=e.__v_raw,!t&&je(pe(e),"iterate",kt),Reflect.get(e,"size",e)}function tl(e){e=pe(e);var t=pe(this),r=Ci(t),i=r.has.call(t,e);return i||(t.add(e),vt(t,"add",e,e)),this}function rl(e,t){t=pe(t);var r=pe(this),{has:i,get:n}=Ci(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)&&vt(r,"set",e,t):vt(r,"add",e,t),this}function il(e){var t=pe(this),{has:r,get:i}=Ci(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&&vt(t,"delete",e,void 0),a}function nl(){var e=pe(this),t=e.size!==0,r=e.clear();return t&&vt(e,"clear",void 0,void 0),r}function Ai(e,t){return function(i,n){var a=this,o=a.__v_raw,s=pe(o),l=t?ba:e?Sa:Tr;return!e&&je(s,"iterate",kt),o.forEach((u,v)=>i.call(n,l(u),l(v),a))}}function Pi(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:Tr;return!t&&je(a,"iterate",l?ha:kt),{next(){var{value:d,done:_}=u.next();return _?{value:d,done:_}:{value:s?[v(d[0]),v(d[1])]:v(d),done:_}},[Symbol.iterator](){return this}}}}function wt(e){return function(...t){return e==="delete"?!1:this}}function wh(){var e={get(a){return Oi(this,a)},get size(){return Ii(this)},has:Mi,add:tl,set:rl,delete:il,clear:nl,forEach:Ai(!1,!1)},t={get(a){return Oi(this,a,!1,!0)},get size(){return Ii(this)},has:Mi,add:tl,set:rl,delete:il,clear:nl,forEach:Ai(!1,!0)},r={get(a){return Oi(this,a,!0)},get size(){return Ii(this,!0)},has(a){return Mi.call(this,a,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Ai(!0,!1)},i={get(a){return Oi(this,a,!0,!0)},get size(){return Ii(this,!0)},has(a){return Mi.call(this,a,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Ai(!0,!0)},n=["keys","values","entries",Symbol.iterator];return n.forEach(a=>{e[a]=Pi(a,!1,!1),r[a]=Pi(a,!0,!1),t[a]=Pi(a,!1,!0),i[a]=Pi(a,!0,!0)}),[e,r,t,i]}var[yh,Sh,xh,Th]=wh();function wa(e,t){var r=t?e?Th:xh:e?Sh:yh;return(i,n,a)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?i:Reflect.get(ee(r,n)&&n in i?r:i,n,a)}var Eh={get:wa(!1,!1)},Ch={get:wa(!1,!0)},Oh={get:wa(!0,!1)},al=new WeakMap,ol=new WeakMap,sl=new WeakMap,Mh=new WeakMap;function Ih(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ah(e){return e.__v_skip||!Object.isExtensible(e)?0:Ih(zn(e))}function Ee(e){return e&&e.__v_isReadonly?e:ya(e,!1,el,Eh,al)}function Ph(e){return ya(e,!1,bh,Ch,ol)}function ll(e){return ya(e,!0,_h,Oh,sl)}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=Ah(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 ul(e)?rr(e.__v_raw):!!(e&&e.__v_isReactive)}function ul(e){return!!(e&&e.__v_isReadonly)}function fl(e){return rr(e)||ul(e)}function pe(e){var t=e&&e.__v_raw;return t?pe(t):e}function Ri(e){return mi(e,"__v_skip",!0),e}var Tr=e=>De(e)?Ee(e):e,Sa=e=>De(e)?ll(e):e;function cl(e){Ks()&&(e=pe(e),e.dep||(e.dep=ca()),Gs(e.dep))}function vl(e,t){e=pe(e),e.dep&&ma(e.dep)}function Ue(e){return Boolean(e&&e.__v_isRef===!0)}function B(e){return dl(e,!1)}function xa(e){return dl(e,!0)}function dl(e,t){return Ue(e)?e:new Rh(e,t)}class Rh{constructor(t,r){this._shallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:pe(t),this._value=r?t:Tr(t)}get value(){return cl(this),this._value}set value(t){t=this._shallow?t:pe(t),br(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:Tr(t),vl(this))}}function Lh(e){return Ue(e)?e.value:e}var Nh={get:(e,t,r)=>Lh(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var n=e[t];return Ue(n)&&!Ue(r)?(n.value=r,!0):Reflect.set(e,t,r,i)}};function hl(e){return rr(e)?e:new Proxy(e,Nh)}class kh{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,vl(this))}),this.__v_isReadonly=i}get value(){var t=pe(this);return cl(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 kh(r,i,n||!i);return a}function Dh(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(h=>h.trim()):l&&(n=r.map(Yv))}var v,d=i[v=Xn(t)]||i[v=Xn(mt(t))];!d&&a&&(d=i[v=Xn(Ve(t))]),d&&et(d,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 pl(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=pl(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):(se(a)?a.forEach(u=>o[u]=null):fe(o,a),i.set(e,o),o)}function Ta(e,t){return!e||!di(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,Ve(t))||ee(e,t))}var Qe=null,gl=null;function Li(e){var t=Qe;return Qe=e,gl=e&&e.type.__scopeId||null,t}function Bh(e,t=Qe,r){if(!t||e._n)return e;var i=(...n)=>{i._d&&$l(-1);var a=Li(t),o=e(...n);return Li(a),i._d&&$l(1),o};return i._n=!0,i._c=!0,i._d=!0,i}function vy(){}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:d,data:_,setupState:h,ctx:b,inheritAttrs:m}=e,p,c,w=Li(e);try{if(r.shapeFlag&4){var f=n||i;p=st(v.call(f,f,d,a,h,_,b)),c=l}else{var g=t;p=st(g.length>1?g(a,{attrs:l,slots:s,emit:u}):g(a,null)),c=t.props?l:$h(l)}}catch(E){Wi(E,e,1),p=M(Cr)}var S=p;if(c&&m!==!1){var x=Object.keys(c),{shapeFlag:C}=S;x.length&&C&(1|6)&&(o&&x.some(jn)&&(c=Fh(c,o)),S=Mr(S,c))}return r.dirs&&(S.dirs=S.dirs?S.dirs.concat(r.dirs):r.dirs),r.transition&&(S.transition=r.transition),p=S,Li(w),p}var $h=e=>{var t;for(var r in e)(r==="class"||r==="style"||di(r))&&((t||(t={}))[r]=e[r]);return t},Fh=(e,t)=>{var r={};for(var i in e)(!jn(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function Uh(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?ml(i,o,u):!!o;if(l&8)for(var v=t.dynamicProps,d=0;d<v.length;d++){var _=v[d];if(o[_]!==i[_]&&!Ta(u,_))return!0}}else return(n||s)&&(!s||!s.$stable)?!0:i===o?!1:i?o?ml(i,o,u):!0:!!o;return!1}function ml(e,t,r){var i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(var n=0;n<i.length;n++){var a=i[n];if(t[a]!==e[a]&&!Ta(r,a))return!0}return!1}function Wh({vnode:e,parent:t},r){for(;t&&t.subTree===e;)(e=t.vnode).el=r,t=t.parent}var Vh=e=>e.__isSuspense;function Hh(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):Lp(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,_l=e=>e.type.__isKeepAlive;function Oa(e,t){bl(e,"a",t)}function Yh(e,t){bl(e,"da",t)}function bl(e,t,r=ke){var i=e.__wdc||(e.__wdc=()=>{for(var a=r;a;){if(a.isDeactivated)return;a=a.parent}e()});if(Ni(t,i,r),r)for(var n=r.parent;n&&n.parent;)_l(n.parent.vnode)&&zh(i,t,r,n),n=n.parent}function zh(e,t,r,i){var n=Ni(t,e,i,!0);yt(()=>{ys(i[t],n)},r)}function Ni(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 Ft(),Dt(),s}});return i?n.unshift(a):n.push(a),a}}var dt=e=>(t,r=ke)=>(!Ui||e==="sp")&&Ni(e,t,r),wl=dt("bm"),Oe=dt("m"),qh=dt("bu"),Xh=dt("u"),xe=dt("bum"),yt=dt("um"),Kh=dt("sp"),Gh=dt("rtg"),Zh=dt("rtc");function Jh(e,t=ke){Ni("ec",e,t)}var Ma=!0;function Qh(e){var t=xl(e),r=e.proxy,i=e.ctx;Ma=!1,t.beforeCreate&&yl(t.beforeCreate,e,"bc");var{data:n,computed:a,methods:o,watch:s,provide:l,inject:u,created:v,beforeMount:d,mounted:_,beforeUpdate:h,updated:b,activated:m,deactivated:p,beforeDestroy:c,beforeUnmount:w,destroyed:f,unmounted:g,render:S,renderTracked:x,renderTriggered:C,errorCaptured:E,serverPrefetch:P,expose:F,inheritAttrs:q,components:X,directives:ce,filters:A}=t,U=null;if(u&&ep(u,i,U,e.appContext.config.unwrapInjectedRef),o)for(var te in o){var oe=o[te];ae(oe)&&(i[te]=oe.bind(r))}if(n&&function(){var ie=n.call(r,r);De(ie)&&(e.data=Ee(ie))}(),Ma=!0,a){var j=function(ie){var ve=a[ie],Ie=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:Ie,set:Ce});Object.defineProperty(i,ie,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:At=>Ge.value=At})};for(var J in a)j(J)}if(s)for(var re in s)Sl(s[re],i,r,re);if(l){var we=ae(l)?l.call(r):l;Reflect.ownKeys(we).forEach(ie=>{Ne(ie,we[ie])})}v&&yl(v,e,"c");function Y(ie,ve){se(ve)?ve.forEach(Ie=>ie(Ie.bind(r))):ve&&ie(ve.bind(r))}if(Y(wl,d),Y(Oe,_),Y(qh,h),Y(Xh,b),Y(Oa,m),Y(Yh,p),Y(Jh,E),Y(Zh,x),Y(Gh,C),Y(xe,w),Y(yt,g),Y(Kh,P),se(F))if(F.length){var ne=e.exposed||(e.exposed={});F.forEach(ie=>{Object.defineProperty(ne,ie,{get:()=>r[ie],set:ve=>r[ie]=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 ep(e,t,r=Je,i=!1){se(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),Ue(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 yl(e,t,r){et(se(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function Sl(e,t,r,i){var n=i.includes(".")?Zl(r,i):()=>r[i];if(ye(e)){var a=t[e];ae(a)&&W(n,a)}else if(ae(e))W(n,e.bind(r));else if(De(e))if(se(e))e.forEach(s=>Sl(s,t,r,i));else{var o=ae(e.handler)?e.handler.bind(r):t[e.handler];ae(o)&&W(n,o,e)}}function xl(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=>ki(l,u,o,!0)),ki(l,t,o)),a.set(t,l),l}function ki(e,t,r,i=!1){var{mixins:n,extends:a}=t;a&&ki(e,a,r,!0),n&&n.forEach(l=>ki(e,l,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=tp[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var tp={data:Tl,props:Bt,emits:Bt,methods:Bt,computed:Bt,beforeCreate:$e,created:$e,beforeMount:$e,mounted:$e,beforeUpdate:$e,updated:$e,beforeDestroy:$e,beforeUnmount:$e,destroyed:$e,unmounted:$e,activated:$e,deactivated:$e,errorCaptured:$e,serverPrefetch:$e,components:Bt,directives:Bt,watch:ip,provide:Tl,inject:rp};function Tl(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 rp(e,t){return Bt(Ia(e),Ia(t))}function Ia(e){if(se(e)){for(var t={},r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function $e(e,t){return e?[...new Set([].concat(e,t))]:t}function Bt(e,t){return e?fe(fe(Object.create(null),e),t):t}function ip(e,t){if(!e)return t;if(!t)return e;var r=fe(Object.create(null),e);for(var i in t)r[i]=$e(e[i],t[i]);return r}function np(e,t,r,i=!1){var n={},a={};mi(a,Bi,1),e.propsDefaults=Object.create(null),El(e,t,n,a);for(var o in e.propsOptions[0])o in n||(n[o]=void 0);r?e.props=i?n:Ph(n):e.type.props?e.props=n:e.props=a,e.attrs=a}function ap(e,t,r,i){var{props:n,attrs:a,vnode:{patchFlag:o}}=e,s=pe(n),[l]=e.propsOptions,u=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var v=e.vnode.dynamicProps,d=0;d<v.length;d++){var _=v[d],h=t[_];if(l)if(ee(a,_))h!==a[_]&&(a[_]=h,u=!0);else{var b=mt(_);n[b]=Aa(l,s,b,h,e,!1)}else h!==a[_]&&(a[_]=h,u=!0)}}else{El(e,t,n,a)&&(u=!0);var m;for(var p in s)(!t||!ee(t,p)&&((m=Ve(p))===p||!ee(t,m)))&&(l?r&&(r[p]!==void 0||r[m]!==void 0)&&(n[p]=Aa(l,s,p,void 0,e,!0)):delete n[p]);if(a!==s)for(var c in a)(!t||!ee(t,c))&&(delete a[c],u=!0)}u&&vt(e,"set","$attrs")}function El(e,t,r,i){var[n,a]=e.propsOptions,o=!1,s;if(t){for(var l in t)if(!hi(l)){var u=t[l],v=void 0;n&&ee(n,v=mt(l))?!a||!a.includes(v)?r[v]=u:(s||(s={}))[v]=u:Ta(e.emitsOptions,l)||u!==i[l]&&(i[l]=u,o=!0)}}if(a)for(var d=pe(r),_=s||be,h=0;h<a.length;h++){var b=a[h];r[b]=Aa(n,d,b,_[b],e,!ee(_,b))}return o}function Aa(e,t,r,i,n,a){var o=e[r];if(o!=null){var s=ee(o,"default");if(s&&i===void 0){var l=o.default;if(o.type!==Function&&ae(l)){var{propsDefaults:u}=n;r in u?i=u[r]:(ir(n),i=u[r]=l.call(null,t),Ft())}else i=l}o[0]&&(a&&!s?i=!1:o[1]&&(i===""||i===Ve(r))&&(i=!0))}return i}function Cl(e,t,r=!1){var i=t.propsCache,n=i.get(e);if(n)return n;var a=e.props,o={},s=[],l=!1;if(!ae(e)){var u=f=>{l=!0;var[g,S]=Cl(f,t,!0);fe(o,g),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(se(a))for(var v=0;v<a.length;v++){var d=mt(a[v]);Ol(d)&&(o[d]=be)}else if(a)for(var _ in a){var h=mt(_);if(Ol(h)){var b=a[_],m=o[h]=se(b)||ae(b)?{type:b}:b;if(m){var p=Al(Boolean,m.type),c=Al(String,m.type);m[0]=p>-1,m[1]=c<0||p<c,(p>-1||ee(m,"default"))&&s.push(h)}}}var w=[o,s];return i.set(e,w),w}function Ol(e){return e[0]!=="$"}function Ml(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Il(e,t){return Ml(e)===Ml(t)}function Al(e,t){return se(t)?t.findIndex(r=>Il(r,e)):ae(t)&&Il(t,e)?0:-1}var Pl=e=>e[0]==="_"||e==="$stable",Pa=e=>se(e)?e.map(st):[st(e)],op=(e,t,r)=>{var i=Bh((...n)=>Pa(t(...n)),r);return i._c=!1,i},Rl=(e,t,r)=>{var i=e._ctx;for(var n in e)if(!Pl(n)){var a=e[n];ae(a)?t[n]=op(n,a,i):a!=null&&function(){var o=Pa(a);t[n]=()=>o}()}},Ll=(e,t)=>{var r=Pa(t);e.slots.default=()=>r},sp=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=pe(t),mi(t,"_",r)):Rl(t,e.slots={})}else e.slots={},t&&Ll(e,t);mi(e.slots,Bi,1)},lp=(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,Rl(t,n)),o=t}else t&&(Ll(e,t),o={default:1});if(a)for(var l in n)!Pl(l)&&!(l in o)&&delete n[l]};function Er(e,t){var r=Qe;if(r===null)return e;for(var i=r.proxy,n=e.dirs||(e.dirs=[]),a=0;a<t.length;a++){var[o,s,l,u=be]=t[a];ae(o)&&(o={mounted:o,updated:o}),o.deep&&Ut(s),n.push({dir:o,instance:i,value:s,oldValue:void 0,arg:l,modifiers:u})}return e}function $t(e,t,r,i){for(var n=e.dirs,a=t&&t.dirs,o=0;o<n.length;o++){var s=n[o];a&&(s.oldValue=a[o].value);var l=s.dir[i];l&&(tr(),et(l,r,8,[e.el,s,e,t]),Dt())}}function Nl(){return{app:null,config:{isNativeTag:$v,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var up=0;function fp(e,t){return function(i,n=null){n!=null&&!De(n)&&(n=null);var a=Nl(),o=new Set,s=!1,l=a.app={_uid:up++,_component:i,_props:n,_container:null,_context:a,_instance:null,version:Bp,get config(){return a.config},set config(u){},use(u,...v){return o.has(u)||(u&&ae(u.install)?(o.add(u),u.install(l,...v)):ae(u)&&(o.add(u),u(l,...v))),l},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),l},component(u,v){return v?(a.components[u]=v,l):a.components[u]},directive(u,v){return v?(a.directives[u]=v,l):a.directives[u]},mount(u,v,d){if(!s){var _=M(i,n);return _.appContext=a,v&&t?t(_,u):e(_,u,d),s=!0,l._container=u,u.__vue_app__=l,Ba(_.component)||_.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,v){return a.provides[u]=v,l}};return l}}var Fe=Hh;function cp(e){return vp(e)}function vp(e,t){var r=zv();r.__VUE__=!0;var{insert:i,remove:n,patchProp:a,createElement:o,createText:s,createComment:l,setText:u,setElementText:v,parentNode:d,nextSibling:_,setScopeId:h=Je,cloneNode:b,insertStaticContent:m}=e,p=(y,T,I,R=null,L=null,$=null,V=!1,D=null,k=!!T.dynamicChildren)=>{if(y!==T){y&&!Or(y,T)&&(R=Ge(y),ne(y,L,$,!0),y=null),T.patchFlag===-2&&(k=!1,T.dynamicChildren=null);var{type:N,ref:Z,shapeFlag:G}=T;switch(N){case La:c(y,T,I,R);break;case Cr:w(y,T,I,R);break;case Na:y==null&&f(T,I,R,V);break;case ot:ce(y,T,I,R,L,$,V,D,k);break;default:G&1?x(y,T,I,R,L,$,V,D,k):G&6?A(y,T,I,R,L,$,V,D,k):(G&64||G&128)&&N.process(y,T,I,R,L,$,V,D,k,Ae)}Z!=null&&L&&Ra(Z,y&&y.ref,$,T||y,!T)}},c=(y,T,I,R)=>{if(y==null)i(T.el=s(T.children),I,R);else{var L=T.el=y.el;T.children!==y.children&&u(L,T.children)}},w=(y,T,I,R)=>{y==null?i(T.el=l(T.children||""),I,R):T.el=y.el},f=(y,T,I,R)=>{[y.el,y.anchor]=m(y.children,T,I,R)},g=({el:y,anchor:T},I,R)=>{for(var L;y&&y!==T;)L=_(y),i(y,I,R),y=L;i(T,I,R)},S=({el:y,anchor:T})=>{for(var I;y&&y!==T;)I=_(y),n(y),y=I;n(T)},x=(y,T,I,R,L,$,V,D,k)=>{V=V||T.type==="svg",y==null?C(T,I,R,L,$,V,D,k):F(y,T,L,$,V,D,k)},C=(y,T,I,R,L,$,V,D)=>{var k,N,{type:Z,props:G,shapeFlag:K,transition:ue,patchFlag:Re,dirs:Se}=y;if(y.el&&b!==void 0&&Re===-1)k=y.el=b(y.el);else{if(k=y.el=o(y.type,$,G&&G.is,G),K&8?v(k,y.children):K&16&&P(y.children,k,null,R,L,$&&Z!=="foreignObject",V,D),Se&&$t(y,null,R,"created"),G){for(var O in G)O!=="value"&&!hi(O)&&a(k,O,null,G[O],$,y.children,R,L,Ce);"value"in G&&a(k,"value",null,G.value),(N=G.onVnodeBeforeMount)&&at(N,R,y)}E(k,y,y.scopeId,V,R)}Object.defineProperty(k,"__vueParentComponent",{value:R,enumerable:!1}),Se&&$t(y,null,R,"beforeMount");var H=(!L||L&&!L.pendingBranch)&&ue&&!ue.persisted;H&&ue.beforeEnter(k),i(k,T,I),((N=G&&G.onVnodeMounted)||H||Se)&&Fe(()=>{N&&at(N,R,y),H&&ue.enter(k),Se&&$t(y,null,R,"mounted")},L)},E=(y,T,I,R,L)=>{if(I&&h(y,I),R)for(var $=0;$<R.length;$++)h(y,R[$]);if(L){var V=L.subTree;if(T===V){var D=L.vnode;E(y,D,D.scopeId,D.slotScopeIds,L.parent)}}},P=(y,T,I,R,L,$,V,D,k=0)=>{for(var N=k;N<y.length;N++){var Z=y[N]=D?St(y[N]):st(y[N]);p(null,Z,T,I,R,L,$,V,D)}},F=(y,T,I,R,L,$,V)=>{var D=T.el=y.el,{patchFlag:k,dynamicChildren:N,dirs:Z}=T;k|=y.patchFlag&16;var G=y.props||be,K=T.props||be,ue;(ue=K.onVnodeBeforeUpdate)&&at(ue,I,T,y),Z&&$t(T,y,I,"beforeUpdate");var Re=L&&T.type!=="foreignObject";if(N?q(y.dynamicChildren,N,D,I,R,Re,$):V||J(y,T,D,null,I,R,Re,$,!1),k>0){if(k&16)X(D,T,G,K,I,R,L);else if(k&2&&G.class!==K.class&&a(D,"class",null,K.class,L),k&4&&a(D,"style",G.style,K.style,L),k&8)for(var Se=T.dynamicProps,O=0;O<Se.length;O++){var H=Se[O],z=G[H],de=K[H];(de!==z||H==="value")&&a(D,H,z,de,L,y.children,I,R,Ce)}k&1&&y.children!==T.children&&v(D,T.children)}else!V&&N==null&&X(D,T,G,K,I,R,L);((ue=K.onVnodeUpdated)||Z)&&Fe(()=>{ue&&at(ue,I,T,y),Z&&$t(T,y,I,"updated")},R)},q=(y,T,I,R,L,$,V)=>{for(var D=0;D<T.length;D++){var k=y[D],N=T[D],Z=k.el&&(k.type===ot||!Or(k,N)||k.shapeFlag&(6|64))?d(k.el):I;p(k,N,Z,null,R,L,$,V,!0)}},X=(y,T,I,R,L,$,V)=>{if(I!==R){for(var D in R)if(!hi(D)){var k=R[D],N=I[D];k!==N&&D!=="value"&&a(y,D,N,k,V,T.children,L,$,Ce)}if(I!==be)for(var Z in I)!hi(Z)&&!(Z in R)&&a(y,Z,I[Z],null,V,T.children,L,$,Ce);"value"in R&&a(y,"value",I.value,R.value)}},ce=(y,T,I,R,L,$,V,D,k)=>{var N=T.el=y?y.el:s(""),Z=T.anchor=y?y.anchor:s(""),{patchFlag:G,dynamicChildren:K,slotScopeIds:ue}=T;ue&&(D=D?D.concat(ue):ue),y==null?(i(N,I,R),i(Z,I,R),P(T.children,I,Z,L,$,V,D,k)):G>0&&G&64&&K&&y.dynamicChildren?(q(y.dynamicChildren,K,I,L,$,V,D),(T.key!=null||L&&T===L.subTree)&&kl(y,T,!0)):J(y,T,I,Z,L,$,V,D,k)},A=(y,T,I,R,L,$,V,D,k)=>{T.slotScopeIds=D,y==null?T.shapeFlag&512?L.ctx.activate(T,I,R,V,k):U(T,I,R,L,$,V,k):te(y,T,k)},U=(y,T,I,R,L,$,V)=>{var D=y.component=xp(y,R,L);if(_l(y)&&(D.ctx.renderer=Ae),Tp(D),D.asyncDep){if(L&&L.registerDep(D,oe),!y.el){var k=D.subTree=M(Cr);w(null,k,T,I)}return}oe(D,y,T,I,L,$,V)},te=(y,T,I)=>{var R=T.component=y.component;if(Uh(y,T,I))if(R.asyncDep&&!R.asyncResolved){j(R,T,I);return}else R.next=T,Pp(R.update),R.update();else T.component=y.component,T.el=y.el,R.vnode=T},oe=(y,T,I,R,L,$,V)=>{var D=()=>{if(y.isMounted){var{next:le,bu:Le,u:We,parent:Pe,vnode:rt}=y,Pt=le,ft;k.allowRecurse=!1,le?(le.el=rt.el,j(y,le,V)):le=rt,Le&&Kn(Le),(ft=le.props&&le.props.onVnodeBeforeUpdate)&&at(ft,Pe,le,rt),k.allowRecurse=!0;var Xt=Ea(y),pt=y.subTree;y.subTree=Xt,p(pt,Xt,d(pt.el),Ge(pt),y,L,$),le.el=Xt.el,Pt===null&&Wh(y,Xt.el),We&&Fe(We,L),(ft=le.props&&le.props.onVnodeUpdated)&&Fe(()=>at(ft,Pe,le,rt),L)}else{var Z,{el:G,props:K}=T,{bm:ue,m:Re,parent:Se}=y,O=Ca(T);if(k.allowRecurse=!1,ue&&Kn(ue),!O&&(Z=K&&K.onVnodeBeforeMount)&&at(Z,Se,T),k.allowRecurse=!0,G&&Kr){var H=()=>{y.subTree=Ea(y),Kr(G,y.subTree,y,L,null)};O?T.type.__asyncLoader().then(()=>!y.isUnmounted&&H()):H()}else{var z=y.subTree=Ea(y);p(null,z,I,R,y,L,$),T.el=z.el}if(Re&&Fe(Re,L),!O&&(Z=K&&K.onVnodeMounted)){var de=T;Fe(()=>at(Z,Se,de),L)}T.shapeFlag&256&&y.a&&Fe(y.a,L),y.isMounted=!0,T=I=R=null}},k=new pa(D,()=>Yl(y.update),y.scope),N=y.update=k.run.bind(k);N.id=y.uid,k.allowRecurse=N.allowRecurse=!0,N()},j=(y,T,I)=>{T.component=y;var R=y.vnode.props;y.vnode=T,y.next=null,ap(y,T.props,R,I),lp(y,T.children,I),tr(),Wa(void 0,y.update),Dt()},J=(y,T,I,R,L,$,V,D,k=!1)=>{var N=y&&y.children,Z=y?y.shapeFlag:0,G=T.children,{patchFlag:K,shapeFlag:ue}=T;if(K>0){if(K&128){we(N,G,I,R,L,$,V,D,k);return}else if(K&256){re(N,G,I,R,L,$,V,D,k);return}}ue&8?(Z&16&&Ce(N,L,$),G!==N&&v(I,G)):Z&16?ue&16?we(N,G,I,R,L,$,V,D,k):Ce(N,L,$,!0):(Z&8&&v(I,""),ue&16&&P(G,I,R,L,$,V,D,k))},re=(y,T,I,R,L,$,V,D,k)=>{y=y||gr,T=T||gr;var N=y.length,Z=T.length,G=Math.min(N,Z),K;for(K=0;K<G;K++){var ue=T[K]=k?St(T[K]):st(T[K]);p(y[K],ue,I,null,L,$,V,D,k)}N>Z?Ce(y,L,$,!0,!1,G):P(T,I,R,L,$,V,D,k,G)},we=(y,T,I,R,L,$,V,D,k)=>{for(var N=0,Z=T.length,G=y.length-1,K=Z-1;N<=G&&N<=K;){var ue=y[N],Re=T[N]=k?St(T[N]):st(T[N]);if(Or(ue,Re))p(ue,Re,I,null,L,$,V,D,k);else break;N++}for(;N<=G&&N<=K;){var Se=y[G],O=T[K]=k?St(T[K]):st(T[K]);if(Or(Se,O))p(Se,O,I,null,L,$,V,D,k);else break;G--,K--}if(N>G){if(N<=K)for(var H=K+1,z=H<Z?T[H].el:R;N<=K;)p(null,T[N]=k?St(T[N]):st(T[N]),I,z,L,$,V,D,k),N++}else if(N>K)for(;N<=G;)ne(y[N],L,$,!0),N++;else{var de=N,le=N,Le=new Map;for(N=le;N<=K;N++){var We=T[N]=k?St(T[N]):st(T[N]);We.key!=null&&Le.set(We.key,N)}var Pe,rt=0,Pt=K-le+1,ft=!1,Xt=0,pt=new Array(Pt);for(N=0;N<Pt;N++)pt[N]=0;for(N=de;N<=G;N++){var dr=y[N];if(rt>=Pt){ne(dr,L,$,!0);continue}var Kt=void 0;if(dr.key!=null)Kt=Le.get(dr.key);else for(Pe=le;Pe<=K;Pe++)if(pt[Pe-le]===0&&Or(dr,T[Pe])){Kt=Pe;break}Kt===void 0?ne(dr,L,$,!0):(pt[Kt-le]=N+1,Kt>=Xt?Xt=Kt:ft=!0,p(dr,T[Kt],I,null,L,$,V,D,k),rt++)}var ec=ft?dp(pt):gr;for(Pe=ec.length-1,N=Pt-1;N>=0;N--){var Lo=le+N,tc=T[Lo],rc=Lo+1<Z?T[Lo+1].el:R;pt[N]===0?p(null,tc,I,rc,L,$,V,D,k):ft&&(Pe<0||N!==ec[Pe]?Y(tc,I,rc,2):Pe--)}}},Y=(y,T,I,R,L=null)=>{var{el:$,type:V,transition:D,children:k,shapeFlag:N}=y;if(N&6){Y(y.component.subTree,T,I,R);return}if(N&128){y.suspense.move(T,I,R);return}if(N&64){V.move(y,T,I,Ae);return}if(V===ot){i($,T,I);for(var Z=0;Z<k.length;Z++)Y(k[Z],T,I,R);i(y.anchor,T,I);return}if(V===Na){g(y,T,I);return}var G=R!==2&&N&1&&D;if(G)if(R===0)D.beforeEnter($),i($,T,I),Fe(()=>D.enter($),L);else{var{leave:K,delayLeave:ue,afterLeave:Re}=D,Se=()=>i($,T,I),O=()=>{K($,()=>{Se(),Re&&Re()})};ue?ue($,Se,O):O()}else i($,T,I)},ne=(y,T,I,R=!1,L=!1)=>{var{type:$,props:V,ref:D,children:k,dynamicChildren:N,shapeFlag:Z,patchFlag:G,dirs:K}=y;if(D!=null&&Ra(D,null,I,y,!0),Z&256){T.ctx.deactivate(y);return}var ue=Z&1&&K,Re=!Ca(y),Se;if(Re&&(Se=V&&V.onVnodeBeforeUnmount)&&at(Se,T,y),Z&6)Ie(y.component,I,R);else{if(Z&128){y.suspense.unmount(I,R);return}ue&&$t(y,null,T,"beforeUnmount"),Z&64?y.type.remove(y,T,I,L,Ae,R):N&&($!==ot||G>0&&G&64)?Ce(N,T,I,!1,!0):($===ot&&G&(128|256)||!L&&Z&16)&&Ce(k,T,I),R&&ie(y)}(Re&&(Se=V&&V.onVnodeUnmounted)||ue)&&Fe(()=>{Se&&at(Se,T,y),ue&&$t(y,null,T,"unmounted")},I)},ie=y=>{var{type:T,el:I,anchor:R,transition:L}=y;if(T===ot){ve(I,R);return}if(T===Na){S(y);return}var $=()=>{n(I),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(y.shapeFlag&1&&L&&!L.persisted){var{leave:V,delayLeave:D}=L,k=()=>V(I,$);D?D(y.el,$,k):k()}else $()},ve=(y,T)=>{for(var I;y!==T;)I=_(y),n(y),y=I;n(T)},Ie=(y,T,I)=>{var{bum:R,scope:L,update:$,subTree:V,um:D}=y;R&&Kn(R),L.stop(),$&&($.active=!1,ne(V,y,T,I)),D&&Fe(D,T),Fe(()=>{y.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},Ce=(y,T,I,R=!1,L=!1,$=0)=>{for(var V=$;V<y.length;V++)ne(y[V],T,I,R,L)},Ge=y=>y.shapeFlag&6?Ge(y.component.subTree):y.shapeFlag&128?y.suspense.next():_(y.anchor||y.el),At=(y,T,I)=>{if(y==null)T._vnode&&ne(T._vnode,null,null,!0);else{var R=T.__vueParent;p(T._vnode||null,y,T,null,R,null,I)}T._vnode=y},Ae={p,um:ne,m:Y,r:ie,mt:U,mc:P,pc:J,pbc:q,n:Ge,o:e},Xr,Kr;return t&&([Xr,Kr]=t(Ae)),{render:At,hydrate:Xr,createApp:fp(At,Xr)}}function Ra(e,t,r,i,n=!1){if(se(e)){e.forEach((b,m)=>Ra(b,t&&(se(t)?t[m]: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,d=s.setupState;if(u!=null&&u!==l&&(ye(u)?(v[u]=null,ee(d,u)&&(d[u]=null)):Ue(u)&&(u.value=null)),ye(l)){var _=()=>{v[l]=o,ee(d,l)&&(d[l]=o)};o?(_.id=-1,Fe(_,r)):_()}else if(Ue(l)){var h=()=>{l.value=o};o?(h.id=-1,Fe(h,r)):h()}else ae(l)&&Tt(l,s,12,[o,v])}}function at(e,t,r,i=null){et(e,t,7,[r,i])}function kl(e,t,r=!1){var i=e.children,n=t.children;if(se(i)&&se(n))for(var a=0;a<i.length;a++){var o=i[a],s=n[a];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=n[a]=St(n[a]),s.el=o.el),r||kl(o,s))}}function dp(e){var t=e.slice(),r=[0],i,n,a,o,s,l=e.length;for(i=0;i<l;i++){var u=e[i];if(u!==0){if(n=r[r.length-1],e[n]<u){t[i]=n,r.push(i);continue}for(a=0,o=r.length-1;a<o;)s=a+o>>1,e[r[s]]<u?a=s+1:o=s;u<e[r[a]]&&(a>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 hp=e=>e.__isTeleport,pp=Symbol(),ot=Symbol(void 0),La=Symbol(void 0),Cr=Symbol(void 0),Na=Symbol(void 0),Dl=null,Bl=1;function $l(e){Bl+=e}function Di(e){return e?e.__v_isVNode===!0:!1}function Or(e,t){return e.type===t.type&&e.key===t.key}var Bi="__vInternal",Fl=({key:e})=>e!=null?e:null,$i=({ref:e})=>e!=null?ye(e)||Ue(e)||ae(e)?{i:Qe,r:e}:e:null;function gp(e,t=null,r=null,i=0,n=null,a=e===ot?0:1,o=!1,s=!1){var l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fl(t),ref:t&&$i(t),scopeId:gl,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),Bl>0&&!o&&Dl&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Dl.push(l),l}var M=mp;function mp(e,t=null,r=null,i=0,n=null,a=!1){if((!e||e===pp)&&(e=Cr),Di(e)){var o=Mr(e,t,!0);return r&&ka(o,r),o}if(Mp(e)&&(e=e.__vccOpts),t){t=_p(t);var{class:s,style:l}=t;s&&!ye(s)&&(t.class=Hn(s)),De(l)&&(fl(l)&&!se(l)&&(l=fe({},l)),t.style=Vn(l))}var u=ye(e)?1:Vh(e)?128:hp(e)?64:De(e)?4:ae(e)?2:0;return gp(e,t,r,i,n,u,a,!0)}function _p(e){return e?fl(e)||Bi in e?fe({},e):e:null}function Mr(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&&Fl(s),ref:t&&t.ref?r&&n?se(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!==ot?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&&Mr(e.ssContent),ssFallback:e.ssFallback&&Mr(e.ssFallback),el:e.el,anchor:e.anchor};return l}function bp(e=" ",t=0){return M(La,null,e,t)}function st(e){return e==null||typeof e=="boolean"?M(Cr):se(e)?M(ot,null,e.slice()):typeof e=="object"?St(e):M(La,null,String(e))}function St(e){return e.el===null||e.memo?e:Mr(e)}function ka(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(se(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&&!(Bi 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=[bp(t)]):r=8);e.children=t,e.shapeFlag|=r}function Ye(...e){for(var t={},r=0;r<e.length;r++){var i=e[r];for(var n in i)if(n==="class")t.class!==i.class&&(t.class=Hn([t.class,i.class]));else if(n==="style")t.style=Vn([t.style,i.style]);else if(di(n)){var a=t[n],o=i[n];a!==o&&(t[n]=a?[].concat(a,o):o)}else n!==""&&(t[n]=i[n])}return t}var Da=e=>e?Ul(e)?Ba(e)||e.proxy:Da(e.parent):null,Fi=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=>xl(e),$forceUpdate:e=>()=>Yl(e.update),$nextTick:e=>or.bind(e.proxy),$watch:e=>kp.bind(e)}),wp={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&&ee(i,t))return o[t]=0,i[t];if(n!==be&&ee(n,t))return o[t]=1,n[t];if((u=e.propsOptions[0])&&ee(u,t))return o[t]=2,a[t];if(r!==be&&ee(r,t))return o[t]=3,r[t];Ma&&(o[t]=4)}}var d=Fi[t],_,h;if(d)return t==="$attrs"&&je(e,"get",t),d(e);if((_=s.__cssModules)&&(_=_[t]))return _;if(r!==be&&ee(r,t))return o[t]=3,r[t];if(h=l.config.globalProperties,ee(h,t))return h[t]},set({_:e},t,r){var{data:i,setupState:n,ctx:a}=e;if(n!==be&&ee(n,t))n[t]=r;else if(i!==be&&ee(i,t))i[t]=r;else if(ee(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&&ee(e,o)||t!==be&&ee(t,o)||(s=a[0])&&ee(s,o)||ee(i,o)||ee(Fi,o)||ee(n.config.globalProperties,o)}},yp=Nl(),Sp=0;function xp(e,t,r){var i=e.type,n=(t?t.appContext:e.appContext)||yp,a={uid:Sp++,vnode:e,type:i,parent:t,appContext:n,root:null,next:null,subTree:null,update:null,scope:new ih(!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:Cl(i,n),emitsOptions:pl(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=Dh.bind(null,a),e.ce&&e.ce(a),a}var ke=null,xt=()=>ke||Qe,ir=e=>{ke=e,e.scope.on()},Ft=()=>{ke&&ke.scope.off(),ke=null};function Ul(e){return e.vnode.shapeFlag&4}var Ui=!1;function Tp(e,t=!1){Ui=t;var{props:r,children:i}=e.vnode,n=Ul(e);np(e,r,n,t),sp(e,i);var a=n?Ep(e,t):void 0;return Ui=!1,a}function Ep(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=Ri(new Proxy(e.ctx,wp));var{setup:i}=r;if(i){var n=e.setupContext=i.length>1?Op(e):null;ir(e),tr();var a=Tt(i,e,0,[e.props,n]);if(Dt(),Ft(),Ss(a)){if(a.then(Ft,Ft),t)return a.then(o=>{Wl(e,o,t)}).catch(o=>{Wi(o,e,0)});e.asyncDep=a}else Wl(e,a,t)}else Hl(e,t)}function Wl(e,t,r){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=hl(t)),Hl(e,r)}var Vl;function Hl(e,t,r){var i=e.type;if(!e.render){if(!t&&Vl&&!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=Vl(n,u)}}e.render=i.render||Je}ir(e),tr(),Qh(e),Dt(),Ft()}function Cp(e){return new Proxy(e.attrs,{get(t,r){return je(e,"get","$attrs"),t[r]}})}function Op(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=Cp(e))},slots:e.slots,emit:e.emit,expose:t}}function Ba(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hl(Ri(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Fi)return Fi[r](e)}}))}function Mp(e){return ae(e)&&"__vccOpts"in e}function Tt(e,t,r,i){var n;try{n=i?e(...i):e()}catch(a){Wi(a,t,r)}return n}function et(e,t,r,i){if(ae(e)){var n=Tt(e,t,r,i);return n&&Ss(n)&&n.catch(s=>{Wi(s,t,r)}),n}for(var a=[],o=0;o<e.length;o++)a.push(et(e[o],t,r,i));return a}function Wi(e,t,r,i=!0){var n=t?t.vnode:null;if(t){for(var a=t.parent,o=t.proxy,s=r;a;){var l=a.ec;if(l){for(var u=0;u<l.length;u++)if(l[u](e,o,s)===!1)return}a=a.parent}var v=t.appContext.config.errorHandler;if(v){Tt(v,null,10,[e,o,s]);return}}Ip(e,r,n,i)}function Ip(e,t,r,i=!0){e instanceof Error?console.error(e.message+`
`+e.stack):console.error(e)}var Vi=!1,$a=!1,ze=[],ht=0,Ir=[],Ar=null,nr=0,Pr=[],Et=null,ar=0,jl=Promise.resolve(),Fa=null,Ua=null;function or(e){var t=Fa||jl;return e?t.then(this?e.bind(this):e):t}function Ap(e){for(var t=ht+1,r=ze.length;t<r;){var i=t+r>>>1,n=Rr(ze[i]);n<e?t=i+1:r=i}return t}function Yl(e){(!ze.length||!ze.includes(e,Vi&&e.allowRecurse?ht+1:ht))&&e!==Ua&&(e.id==null?ze.push(e):ze.splice(Ap(e.id),0,e),zl())}function zl(){!Vi&&!$a&&($a=!0,Fa=jl.then(Kl))}function Pp(e){var t=ze.indexOf(e);t>ht&&ze.splice(t,1)}function ql(e,t,r,i){se(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),zl()}function Rp(e){ql(e,Ar,Ir,nr)}function Lp(e){ql(e,Et,Pr,ar)}function Wa(e,t=null){if(Ir.length){for(Ua=t,Ar=[...new Set(Ir)],Ir.length=0,nr=0;nr<Ar.length;nr++)Ar[nr]();Ar=null,nr=0,Ua=null,Wa(e,t)}}function Xl(e){if(Pr.length){var t=[...new Set(Pr)];if(Pr.length=0,Et){Et.push(...t);return}for(Et=t,Et.sort((r,i)=>Rr(r)-Rr(i)),ar=0;ar<Et.length;ar++)Et[ar]();Et=null,ar=0}}var Rr=e=>e.id==null?1/0:e.id;function Kl(e){$a=!1,Vi=!0,Wa(e),ze.sort((i,n)=>Rr(i)-Rr(n));var t=Je;try{for(ht=0;ht<ze.length;ht++){var r=ze[ht];r&&r.active!==!1&&Tt(r,null,14)}}finally{ht=0,ze.length=0,Xl(),Vi=!1,Fa=null,(ze.length||Ir.length||Pr.length)&&Kl(e)}}function Np(e,t){return Va(e,null,t)}var Gl={};function W(e,t,r){return Va(e,t,r)}function Va(e,t,{immediate:r,deep:i,flush:n,onTrack:a,onTrigger:o}=be){var s=ke,l,u=!1,v=!1;if(Ue(e)?(l=()=>e.value,u=!!e._shallow):rr(e)?(l=()=>e,i=!0):se(e)?(v=!0,u=e.some(rr),l=()=>e.map(w=>{if(Ue(w))return w.value;if(rr(w))return Ut(w);if(ae(w))return Tt(w,s,2)})):ae(e)?t?l=()=>Tt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return _&&_(),et(e,s,3,[h])}:l=Je,t&&i){var d=l;l=()=>Ut(d())}var _,h=w=>{_=c.onStop=()=>{Tt(w,s,4)}};if(Ui)return h=Je,t?r&&et(t,s,3,[l(),v?[]:void 0,h]):l(),Je;var b=v?[]:Gl,m=()=>{if(!!c.active)if(t){var w=c.run();(i||u||(v?w.some((f,g)=>br(f,b[g])):br(w,b)))&&(_&&_(),et(t,s,3,[w,b===Gl?void 0:b,h]),b=w)}else c.run()};m.allowRecurse=!!t;var p;n==="sync"?p=m:n==="post"?p=()=>Fe(m,s&&s.suspense):p=()=>{!s||s.isMounted?Rp(m):m()};var c=new pa(l,p);return t?r?m():b=c.run():n==="post"?Fe(c.run.bind(c),s&&s.suspense):c.run(),()=>{c.stop(),s&&s.scope&&ys(s.scope.effects,c)}}function kp(e,t,r){var i=this.proxy,n=ye(e)?e.includes(".")?Zl(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):Ft(),s}function Zl(e,t){var r=t.split(".");return()=>{for(var i=e,n=0;n<r.length&&i;n++)i=i[r[n]];return i}}function Ut(e,t){if(!De(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ue(e))Ut(e.value,t);else if(se(e))for(var r=0;r<e.length;r++)Ut(e[r],t);else if(Wv(e)||mr(e))e.forEach(n=>{Ut(n,t)});else if(it(e))for(var i in e)Ut(e[i],t);return e}function Dp(e,t,r){var i=arguments.length;return i===2?De(t)&&!se(t)?Di(t)?M(e,null,[t]):M(e,t):M(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Di(r)&&(r=[r]),M(e,t,r))}var Bp="3.2.20",$p="http://www.w3.org/2000/svg",sr=typeof document!="undefined"?document:null,Jl=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($p,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=Jl.get(e);if(!a){var o=sr.createElement("template");if(o.innerHTML=i?"<svg>".concat(e,"</svg>"):e,a=o.content,i){for(var s=a.firstChild;s.firstChild;)a.appendChild(s.firstChild);a.removeChild(s)}Jl.set(e,a)}return t.insertBefore(a.cloneNode(!0),r),[n?n.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function Up(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)Ha(i,a,r[a]);if(t&&!ye(t))for(var o in t)r[o]==null&&Ha(i,o,"")}"_vod"in e&&(i.display=n)}var Ql=/\s*!important$/;function Ha(e,t,r){if(se(r))r.forEach(n=>Ha(e,t,n));else if(r=jp(r),t.startsWith("--"))e.setProperty(t,r);else{var i=Vp(e,t);Ql.test(r)?e.setProperty(Ve(i),r.replace(Ql,""),"important"):e[i]=r}}var eu=["Webkit","Moz","ms"],ja={};function Vp(e,t){var r=ja[t];if(r)return r;var i=mt(t);if(i!=="filter"&&i in e)return ja[t]=i;i=gi(i);for(var n=0;n<eu.length;n++){var a=eu[n]+i;if(a in e)return ja[t]=a}return t}var Hp=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,jp=e=>typeof rpx2px!="function"?e:ye(e)?e.replace(Hp,(t,r)=>rpx2px(r)+"px"):e,tu="http://www.w3.org/1999/xlink";function Yp(e,t,r,i,n){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(tu,t.slice(6,t.length)):e.setAttributeNS(tu,t,r);else{var a=Lv(t);r==null||a&&!bs(r)?e.removeAttribute(t):e.setAttribute(t,a?"":r)}}function zp(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]=bs(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,ru=!1;if(typeof window!="undefined"){Hi()>document.createEvent("Event").timeStamp&&(Hi=()=>performance.now());var iu=navigator.userAgent.match(/firefox\/(\d+)/i);ru=!!(iu&&Number(iu[1])<=53)}var Ya=0,qp=Promise.resolve(),Xp=()=>{Ya=0},Kp=()=>Ya||(qp.then(Xp),Ya=Hi());function Gp(e,t,r,i){e.addEventListener(t,r,i)}function Zp(e,t,r,i){e.removeEventListener(t,r,i)}function Jp(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]=Qp(t);if(i){var u=a[t]=eg(i,n);Gp(e,s,u,l)}else o&&(Zp(e,s,o,l),a[t]=void 0)}}var nu=/(?:Once|Passive|Capture)$/;function Qp(e){var t;if(nu.test(e)){t={};for(var r;r=e.match(nu);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ve(e.slice(2)),t]}function eg(e,t){var r=i=>{var n=i.timeStamp||Hi();(ru||n>=r.attached-1)&&et(tg(i,r.value),t,5,[i])};return r.value=e,r.attached=Kp(),r}function tg(e,t){if(se(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 au=/^on[a-z]/,rg=(e,t,r,i,n=!1,a,o,s,l)=>{t==="class"?Up(e,i,n):t==="style"?Wp(e,r,i):di(t)?jn(t)||Jp(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ig(e,t,i,n))?zp(e,t,i,a,o,s,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Yp(e,t,i,n))};function ig(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&au.test(t)&&ae(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||au.test(t)&&ye(r)?!1:t in e}var ng=["ctrl","shift","alt","meta"],ag={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)=>ng.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},za=(e,t)=>(r,...i)=>{for(var n=0;n<t.length;n++){var a=ag[t[n]];if(a&&a(r,t))return}return e(r,...i)},Lr={beforeMount(e,{value:t},{transition:r}){e._vod=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Nr(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:i}){!t!=!r&&(i?t?(i.beforeEnter(e),Nr(e,!0),i.enter(e)):i.leave(e,()=>{Nr(e,!1)}):Nr(e,t))},beforeUnmount(e,{value:t}){Nr(e,t)}};function Nr(e,t){e.style.display=t?e._vod:"none"}var og=fe({patchProp:rg},Fp),ou;function sg(){return ou||(ou=cp(og))}var su=(...e)=>{var t=sg().createApp(...e),{mount:r}=t;return t.mount=i=>{var n=lg(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 lg(e){if(ye(e)){var t=document.querySelector(e);return t}return e}var lu=["top","left","right","bottom"],qa,ji={},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 uu(){if(Ze=typeof Ze=="string"?Ze:Xa(),!Ze){lu.forEach(function(s){ji[s]=0});return}function e(s,l){var u=s.style;Object.keys(l).forEach(function(v){var d=l[v];u[v]=d})}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"),d=document.createElement("div"),_=document.createElement("div"),h=100,b=1e4,m={position:"absolute",width:h+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Ze+"(safe-area-inset-"+l+")"};e(u,m),e(v,m),e(d,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(_,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(d),v.appendChild(_),s.appendChild(u),s.appendChild(v),r(function(){u.scrollTop=v.scrollTop=b;var c=u.scrollTop,w=v.scrollTop;function f(){this.scrollTop!==(this===u?c:w)&&(u.scrollTop=v.scrollTop=b,c=u.scrollTop,w=v.scrollTop,ug(l))}u.addEventListener("scroll",f,i),v.addEventListener("scroll",f,i)});var p=getComputedStyle(u);Object.defineProperty(ji,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"}),lu.forEach(function(s){a(o,s)}),document.body.appendChild(o),r(),qa=!0}function Yi(e){return qa||uu(),ji[e]}var zi=[];function ug(e){zi.length||setTimeout(function(){var t={};zi.forEach(function(r){t[r]=ji[r]}),zi.length=0,qi.forEach(function(r){r(t)})},0),zi.push(e)}var qi=[];function fg(e){!Xa()||(qa||uu(),typeof e=="function"&&qi.push(e))}function cg(e){var t=qi.indexOf(e);t>=0&&qi.splice(t,1)}var vg={get support(){return(typeof Ze=="string"?Ze:Xa()).length!=0},get top(){return Yi("top")},get left(){return Yi("left")},get right(){return Yi("right")},get bottom(){return Yi("bottom")},onChange:fg,offChange:cg},Xi=vg,dg=za(()=>{},["prevent"]);function Ka(){var e=document.documentElement.style,t=parseInt(e.getPropertyValue("--window-top"));return t?t+Xi.top:0}function hg(){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+Xi.bottom:0,left:i?i+Xi.left:0,right:n?n+Xi.right:0}}function pg(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function Ki(e){return Symbol(e)}function fu(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Wt(e,t=!1){if(t)return gg(e);if(typeof e=="string"){var r=parseInt(e)||0;return fu(e)?uni.upx2px(r):r}return e}function gg(e){return fu(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var mg="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",_g="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",bg="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",wg="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",yg="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",Gi="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",Sg="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",xg="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",Tg="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 Zi(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 Ji(){return Ct()}function Eg(){return window.__PAGE_INFO__}function Ct(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function Cg(e){e.preventDefault()}var cu,vu=0;function Og({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,d=v>0&&l>u&&v+u+r>=l,_=Math.abs(l-vu)>r;return d&&(!n||_)?(vu=l,n=!0,!0):(!d&&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()||(cu=setTimeout(l,300))),i=!1};return function(){clearTimeout(cu),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;n<i&&r[n]==="..";n++);r.splice(0,n),t=r.join("/");var a=e.length>0?e.split("/"):[];return a.splice(a.length-n-1,n+1),"/"+a.concat(r).join("/")}class Mg{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=du(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<i.length;n++){var a=du(i[n]);a&&r.push(Za(a,!1))}return r}forceUpdate(t){t==="class"?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():t==="style"&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){var{__wxsAddClass:t}=this.$el;t.length&&(this.$el.className=t.join(" "))}updateWxsStyle(){var{__wxsStyle:t}=this.$el;t&&this.$el.setAttribute("style",Bv(t))}setStyle(t){return!this.$el||!t?this:(typeof t=="string"&&(t=ws(t)),it(t)&&(this.$el.__wxsStyle=t,this.forceUpdate("style")),this)}addClass(t){if(!this.$el||!t)return this;var r=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return r.indexOf(t)===-1&&(r.push(t),this.forceUpdate("class")),this}removeClass(t){if(!this.$el||!t)return this;var{__wxsAddClass:r}=this.$el;if(r){var i=r.indexOf(t);i>-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(Sd,{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 Mg(e)),e.$el.__wxsComponentDescriptor}function Qi(e,t){return Za(e,t)}function du(e){if(!!e)return kr(e)}function kr(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 Ig=e=>e.type==="click";function hu(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=pu(e);if(Ig(e))Pg(n,e);else if(e instanceof TouchEvent){var a=Ka();n.touches=gu(e.touches,a),n.changedTouches=gu(e.changedTouches,a)}return[n]}function Ag(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function pu(e){var{type:t,timeStamp:r,target:i,currentTarget:n}=e,a={type:t,timeStamp:r,target:ea(Ag(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 Pg(e,t){var{x:r,y:i}=t,n=Ka();e.detail={x:r,y:i-n},e.touches=e.changedTouches=[Rg(t)]}function Rg(e){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}}function gu(e,t){for(var r=[],i=0;i<e.length;i++){var{identifier:n,pageX:a,pageY:o,clientX:s,clientY:l,force:u}=e[i];r.push({identifier:n,pageX:a,pageY:o-t,clientX:s,clientY:l-t,force:u||0})}return r}var mu="vdSync",Lg="__uniapp__service",Ng="onWebviewReady",kg=0,Dg="webviewInserted",Bg="webviewRemoved",$g="webviewId",Fg="setLocale",_u=fe(zd,{publishHandler:Ug});function Ug(e,t={}){var r=Ct()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},Lg)}function Wg(e,t){var r=e[0];if(!(!t||!it(t.formatArgs)&&it(r)))for(var i=t.formatArgs,n=Object.keys(i),a=0;a<n.length;a++){var o=n[a],s=i[o];if(ae(s)){var l=s(e[0][o],r);if(ye(l))return l}else ee(r,o)||(r[o]=s)}}function Vg(e,t,r,i){if(i&&i.beforeInvoke){var n=i.beforeInvoke(t);if(ye(n))return n}var a=Wg(t,i);if(a)return a}function Hg(e,t,r,i){return(...n)=>{var a=Vg(e,n,r,i);if(a)throw new Error(a);return t.apply(null,n)}}function jg(e,t,r,i){return Hg(e,t,void 0,i)}function bu(){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 tt(e){if(e.indexOf("//")===0)return"https:"+e;if(gd.test(e)||md.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=Eg();if(r)return t+Ga("/"+r.route,e)}return e}var wu=hd(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}=bu();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=ri,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(g){return null}}var t=function(f){for(var g=f,S=e(g);S;)g=S.ownerDocument,S=e(g);return g}(window.document),r=[],i=null,n=null;function a(f){this.time=f.time,this.target=f.target,this.rootBounds=b(f.rootBounds),this.boundingClientRect=b(f.boundingClientRect),this.intersectionRect=b(f.intersectionRect||h()),this.isIntersecting=!!f.intersectionRect;var g=this.boundingClientRect,S=g.width*g.height,x=this.intersectionRect,C=x.width*x.height;S?this.intersectionRatio=Number((C/S).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(f,g){var S=g||{};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,g){!f||!g?n=h():n=m(f,g),r.forEach(function(S){S._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,n=null},o.prototype.observe=function(f){var g=this._observationTargets.some(function(S){return S.element==f});if(!g){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(g){return g.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 g=f||[0];return Array.isArray(g)||(g=[g]),g.sort().filter(function(S,x,C){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!==C[x-1]})},o.prototype._parseRootMargin=function(f){var g=f||"0px",S=g.split(/\s+/).map(function(x){var C=/^(-?\d*\.?\d+)(px|%)$/.exec(x);if(!C)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(C[1]),unit:C[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 g=f.defaultView;if(!!g&&this._monitoringDocuments.indexOf(f)==-1){var S=this._checkForIntersections,x=null,C=null;this.POLL_INTERVAL?x=g.setInterval(S,this.POLL_INTERVAL):(u(g,"resize",S,!0),u(f,"scroll",S,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in g&&(C=new g.MutationObserver(S),C.observe(f,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(f),this._monitoringUnsubscribes.push(function(){var F=f.defaultView;F&&(x&&F.clearInterval(x),v(F,"resize",S,!0)),v(f,"scroll",S,!0),C&&C.disconnect()});var E=this.root&&(this.root.ownerDocument||this.root)||t;if(f!=E){var P=e(f);P&&this._monitorIntersections(P.ownerDocument)}}},o.prototype._unmonitorIntersections=function(f){var g=this._monitoringDocuments.indexOf(f);if(g!=-1){var S=this.root&&(this.root.ownerDocument||this.root)||t,x=this._observationTargets.some(function(P){var F=P.element.ownerDocument;if(F==f)return!0;for(;F&&F!=S;){var q=e(F);if(F=q&&q.ownerDocument,F==f)return!0}return!1});if(!x){var C=this._monitoringUnsubscribes[g];if(this._monitoringDocuments.splice(g,1),this._monitoringUnsubscribes.splice(g,1),C(),f!=S){var E=e(f);E&&this._unmonitorIntersections(E.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var f=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var g=0;g<f.length;g++)f[g]()},o.prototype._checkForIntersections=function(){if(!(!this.root&&i&&!n)){var f=this._rootIsInDom(),g=f?this._getRootRect():h();this._observationTargets.forEach(function(S){var x=S.element,C=_(x),E=this._rootContainsTarget(x),P=S.entry,F=f&&E&&this._computeTargetAndRootIntersection(x,C,g),q=null;this._rootContainsTarget(x)?(!i||this.root)&&(q=g):q=h();var X=S.entry=new a({time:s(),target:x,boundingClientRect:C,rootBounds:q,intersectionRect:F});P?f&&E?this._hasCrossedThreshold(P,X)&&this._queuedEntries.push(X):P&&P.isIntersecting&&this._queuedEntries.push(X):this._queuedEntries.push(X)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(f,g,S){if(window.getComputedStyle(f).display!="none"){for(var x=g,C=c(f),E=!1;!E&&C;){var P=null,F=C.nodeType==1?window.getComputedStyle(C):{};if(F.display=="none")return null;if(C==this.root||C.nodeType==9)if(E=!0,C==this.root||C==t)i&&!this.root?!n||n.width==0&&n.height==0?(C=null,P=null,x=null):P=n:P=S;else{var q=c(C),X=q&&_(q),ce=q&&this._computeTargetAndRootIntersection(q,X,S);X&&ce?(C=q,P=m(X,ce)):(C=null,x=null)}else{var A=C.ownerDocument;C!=A.body&&C!=A.documentElement&&F.overflow!="visible"&&(P=_(C))}if(P&&(x=d(P,x)),!x)break;C=C&&c(C)}return x}},o.prototype._getRootRect=function(){var f;if(this.root&&!w(this.root))f=_(this.root);else{var g=w(this.root)?this.root:t,S=g.documentElement,x=g.body;f={top:0,left:0,right:S.clientWidth||x.clientWidth,width:S.clientWidth||x.clientWidth,bottom:S.clientHeight||x.clientHeight,height:S.clientHeight||x.clientHeight}}return this._expandRectByRootMargin(f)},o.prototype._expandRectByRootMargin=function(f){var g=this._rootMarginValues.map(function(x,C){return x.unit=="px"?x.value:x.value*(C%2?f.width:f.height)/100}),S={top:f.top-g[0],right:f.right+g[1],bottom:f.bottom+g[2],left:f.left-g[3]};return S.width=S.right-S.left,S.height=S.bottom-S.top,S},o.prototype._hasCrossedThreshold=function(f,g){var S=f&&f.isIntersecting?f.intersectionRatio||0:-1,x=g.isIntersecting?g.intersectionRatio||0:-1;if(S!==x)for(var C=0;C<this.thresholds.length;C++){var E=this.thresholds[C];if(E==S||E==x||E<S!=E<x)return!0}},o.prototype._rootIsInDom=function(){return!this.root||p(t,this.root)},o.prototype._rootContainsTarget=function(f){var g=this.root&&(this.root.ownerDocument||this.root)||t;return p(g,f)&&(!this.root||g==f.ownerDocument)},o.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},o.prototype._unregisterInstance=function(){var f=r.indexOf(this);f!=-1&&r.splice(f,1)};function s(){return window.performance&&performance.now&&performance.now()}function l(f,g){var S=null;return function(){S||(S=setTimeout(function(){f(),S=null},g))}}function u(f,g,S,x){typeof f.addEventListener=="function"?f.addEventListener(g,S,x||!1):typeof f.attachEvent=="function"&&f.attachEvent("on"+g,S)}function v(f,g,S,x){typeof f.removeEventListener=="function"?f.removeEventListener(g,S,x||!1):typeof f.detatchEvent=="function"&&f.detatchEvent("on"+g,S)}function d(f,g){var S=Math.max(f.top,g.top),x=Math.min(f.bottom,g.bottom),C=Math.max(f.left,g.left),E=Math.min(f.right,g.right),P=E-C,F=x-S;return P>=0&&F>=0&&{top:S,bottom:x,left:C,right:E,width:P,height:F}||null}function _(f){var g;try{g=f.getBoundingClientRect()}catch(S){}return g?(g.width&&g.height||(g={top:g.top,right:g.right,bottom:g.bottom,left:g.left,width:g.right-g.left,height:g.bottom-g.top}),g):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function b(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 m(f,g){var S=g.top-f.top,x=g.left-f.left;return{top:S,left:x,height:g.height,width:g.width,bottom:S+g.height,right:x+g.width}}function p(f,g){for(var S=g;S;){if(S==f)return!0;S=c(S)}return!1}function c(f){var g=f.parentNode;return f.nodeType==9&&f!=t?e(f):(g&&g.assignedSlot&&(g=g.assignedSlot.parentNode),g&&g.nodeType==11&&g.host?g.host:g)}function w(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<a.length;o++)n.observe(a[o])}else{n.USE_MUTATION_OBSERVER=!1;var s=e.querySelector(t.selector);s?n.observe(s):console.warn("Node ".concat(t.selector," is not found. Intersection observer will not trigger."))}return n}function fm(e){UniViewJSBridge.invokeServiceMethod("navigateTo",e)}function cm(e){UniViewJSBridge.invokeServiceMethod("navigateBack",e)}function vm(e){UniViewJSBridge.invokeServiceMethod("reLaunch",e)}function dm(e){UniViewJSBridge.invokeServiceMethod("redirectTo",e)}function hm(e){UniViewJSBridge.invokeServiceMethod("switchTab",e)}var pm=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",upx2px:Tu,navigateTo:fm,navigateBack:cm,reLaunch:vm,redirectTo:dm,switchTab:hm});function gm(){if(String(navigator.vendor).indexOf("Apple")===0){var e=null,t;document.documentElement.addEventListener("click",r=>{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["__"+_d],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var xm=Ps.length;function Tm(e,t,r){var[i,n,a,o]=io(t),s=ro(e,i);if(se(r)||se(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),Qi(kr(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,Qi(kr(s),!1),Qi(kr(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?Is(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=kr(t);return Object.defineProperty(e,"instance",{get(){return Qi(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["__"+bd],r=t&&t[e];return r||console.error(Zn("renderjs",e+" not found"))}function Lm(e){return e=e.default||e,e.render=()=>{},su(e).mount(document.createElement("div"))}class lr{constructor(t,r,i,n){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,n&&(this.$=n),this.$wxsProps=new Map;var a=this.$parent=Fw(i);a&&a.appendUniChild(this)}init(t){ee(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(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,jf(this.id),Am(this),this.removeUniChildren()}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}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=Wt(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(se(r))r.forEach(n=>ao(e,t,n));else if(r=Wt(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=gi(i);for(var n=0;n<Nu.length;n++){var a=Nu[n]+i;if(a in e)return oo[t]=a}return t}function ku(e,t){var r=e.__listeners[t];r&&e.removeEventListener(t,r)}function Du(e,t){if(e.__listeners[t])return!0}function Bu(e,t,r){var[i,n]=ta(t);r===-1?ku(e,i):Du(e,i)||e.addEventListener(i,e.__listeners[i]=$u(e.__id,r,n),n)}function $u(e,t,r){var i=n=>{var[a]=hu(n);a.type=Qv(n.type,r),UniViewJSBridge.publishHandler(mu,[[vd,e,a]])};return t?za(i,Fu(t)):i}function Fu(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]=Uu(e,r,i),a)}function Uu(e,t,r){var i=n=>{Em(e,t,hu(n)[0])};return r?za(i,Fu(r)):i}var Dm=Rs.length;function so(e,t){return ye(t)&&(t.indexOf(Rs)===0?t=JSON.parse(t.substr(Dm)):t.indexOf(Ps)===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 Wu 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){ee(t,"a")&&this.setAttrs(t.a),ee(t,"s")&&this.setAttr("style",t.s),ee(t,"e")&&this.addEvents(t.e),ee(t,"w")&&this.addWxsEvents(t.w),super.init(t),W(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===Es?Pu(this.$,r):t===ia?Ru(this.$,r):t===_i?lo(this.$,r):t===Cs?this.$.__ownerId=r:t===Os?Ot(()=>Au(this,r),Ou):t===ed?this.$.innerHTML=r:t===td?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===Es?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 dy="";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 $m(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function Fm(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 d=v.type,_=[...v.args];if(t.concat(r).includes(d))d.startsWith("rotate")||d.startsWith("skew")?_=_.map(b=>parseFloat(b)+"deg"):d.startsWith("translate")&&(_=_.map(Vu)),r.indexOf(d)>=0&&(_.length=1),u.push("".concat(d,"(").concat(_.join(","),")"));else if(i.concat(n).includes(_[0])){d=_[0];var h=_[1];l[d]=n.includes(d)?Vu(h):h}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(v=>"".concat($m(v)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}function Hu(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=Fm(o);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r<n&&setTimeout(a,s.duration+s.delay)}setTimeout(()=>{a()},0)}var en={props:["animation"],watch:{animation:{deep:!0,handler(){Hu(this)}}},mounted(){Hu(this)}},he=e=>{var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(en),Um(e)},Um=e=>(e.compatConfig={MODE:3},jh(e)),Wm={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 Dr(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 Me(e,t){return(r,i,n)=>{e.value&&t(r,Hm(r,i,e.value,n||{}))}}function Vm(e){return(t,r)=>{e(t,pu(r))}}function Hm(e,t,r,i){var n=ea(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:n,currentTarget:n,detail:i}}var lt=Ki("uf"),jm=he({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:r}){var i=B(null);return Ym(Me(i,r)),()=>M("uni-form",{ref:i},[M("span",null,[t.default&&t.default()])],512)}});function Ym(e){var t=[];return Ne(lt,{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 Br=Ki("ul"),zm={for:{type:String,default:""}},qm=he({name:"Label",props:zm,setup(e,{slots:t}){var r=Ji(),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(Br,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}function tn(e,t){ju(e.id,t),W(()=>e.id,(r,i)=>{Yu(i,t,!0),ju(r,t,!0)}),yt(()=>{Yu(e.id,t)})}function ju(e,t,r){var i=Ji();r&&!e||!it(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=Ji();r&&!e||!it(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);Ud();var i=ge(lt,!1),{hovering:n,binding:a}=uo(e),{t:o}=He(),s=Vt((u,v)=>{if(e.disabled)return u.stopImmediatePropagation();v&&r.value.click();var d=e.formType;if(d){if(!i)return;d==="submit"?i.submit(u):d==="reset"&&i.reset(u);return}e.openType==="feedback"&&Gm(o("uni.button.feedback.title"),o("uni.button.feedback.send"))}),l=ge(Br,!1);return l&&(l.addHandler(s),xe(()=>{l.removeHandler(s)})),tn(e,{"label-click":s}),()=>{var u=e.hoverClass,v=Dr(e,"disabled"),d=Dr(e,"loading"),_=u&&u!=="none";return M("uni-button",Ye({ref:r,onClick:s,class:_&&n.value?u:""},_&&a,v,d),[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 Ht=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 W(()=>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)ee(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,d,_,h){if(!this.__hidpi__)return i.apply(this,arguments);a*=me,o*=me,s*=me,l*=me,u*=me,v*=me,d=h?d*me:d,_=h?_*me:_,i.call(this,n,a,o,s,l,u,v,d,_)}}(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;s<i.length;s++)o[i[s]]*=me;return a.apply(this,o)}}(r[n])}),r.stroke=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);this.lineWidth*=me,i.apply(this,arguments),this.lineWidth/=me}}(r.stroke),r.fillText=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);var n=Array.prototype.slice.call(arguments);n[1]*=me,n[2]*=me;var a=this.font;this.font=a.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(o,s,l){return s*me+l}),i.apply(this,n),this.font=a}}(r.fillText),r.strokeText=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);var n=Array.prototype.slice.call(arguments);n[1]*=me,n[2]*=me;var a=this.font;this.font=a.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(o,s,l){return s*me+l}),i.apply(this,n),this.font=a}}(r.strokeText),r.drawImage=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);this.scale(me,me),i.apply(this,arguments),this.scale(1/me,1/me)}}(r.drawImage))}}var t0=aa(()=>e0());function Xu(e){return e&&tt(e)}function rn(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}=gf({excludeListeners:!0}),{_listeners:v}=n0(e,u,o),{_handleSubscribe:d,_resize:_}=a0(i,a);return hn(d,pn(e.canvasId),!0),Oe(()=>{_()}),()=>{var{canvasId:h,disableScroll:b}=e;return M("uni-canvas",Ye({"canvas-id":h,"disable-scroll":b},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(Ht,{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 d={};for(var _ in v)d[_]=v[_];return d})(),{touches:Ku(v.currentTarget,v.touches),changedTouches:Ku(v.currentTarget,v.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&u.push(dg),o[s]=u}),o});return{_listeners:i}}function a0(e,t){var r=[],i={};function n(h){var b=e.value,m=!h||b.width!==Math.floor(h.width*me)||b.height!==Math.floor(h.height*me);if(!!m)if(b.width>0&&b.height>0){var p=b.getContext("2d"),c=p.getImageData(0,0,b.width,b.height);zu(b),p.putImageData(c,0,0)}else zu(b)}function a({actions:h,reserve:b},m){if(!!h){if(t.value){r.push([h,b]);return}var p=e.value,c=p.getContext("2d");b||(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(h);for(var w=function(S){var x=h[S],C=x.method,E=x.data,P=E[0];if(/^set/.test(C)&&C!=="setTransform"){var F=C[3].toLowerCase()+C.slice(4),q;if(F==="fillStyle"||F==="strokeStyle"){if(P==="normal")q=rn(E[1]);else if(P==="linear"){var X=c.createLinearGradient(...E[1]);E[2].forEach(function(Y){var ne=Y[0],ie=rn(Y[1]);X.addColorStop(ne,ie)}),q=X}else if(P==="radial"){var ce=E[1],A=ce[0],U=ce[1],te=ce[2],oe=c.createRadialGradient(A,U,0,A,U,te);E[2].forEach(function(Y){var ne=Y[0],ie=rn(Y[1]);oe.addColorStop(ne,ie)}),q=oe}else if(P==="pattern"){var j=s(E[1],h.slice(S+1),m,function(Y){Y&&(c[F]=c.createPattern(Y,E[2]))});return j?"continue":"break"}c[F]=q}else if(F==="globalAlpha")c[F]=Number(P)/255;else if(F==="shadow"){var J=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];E.forEach(function(Y,ne){c[J[ne]]=J[ne]==="shadowColor"?rn(Y):Y})}else if(F==="fontSize"){var re=c.__font__||c.font;c.__font__=c.font=re.replace(/\d+\.?\d*px/,P+"px")}else F==="lineDash"?(c.setLineDash(P),c.lineDashOffset=E[1]||0):F==="textBaseline"?(P==="normal"&&(E[0]="alphabetic"),c[F]=P):F==="font"?c.__font__=c.font=P:c[F]=P}else if(C==="fillPath"||C==="strokePath")C=C.replace(/Path/,""),c.beginPath(),E.forEach(function(Y){c[Y.method].apply(c,Y.data)}),c[C]();else if(C==="fillText")c.fillText.apply(c,E);else if(C==="drawImage"){var we=function(){var Y=[...E],ne=Y[0],ie=Y.slice(1);if(i=i||{},s(ne,h.slice(S+1),m,function(ve){ve&&c.drawImage.apply(c,[ve].concat([...ie.slice(4,8)],[...ie.slice(0,4)]))}))return"break"}();if(we==="break")return"break"}else C==="clip"?(E.forEach(function(Y){c[Y.method].apply(c,Y.data)}),c.clip()):c[C].apply(c,E)},f=0;f<h.length;f++){var g=w(f);if(g==="break")break}t.value||m({errMsg:"drawCanvas:ok"})}}function o(h){h.forEach(function(b){var m=b.method,p=b.data,c="";m==="drawImage"?(c=p[0],c=Xu(c),p[0]=c):m==="setFillStyle"&&p[0]==="pattern"&&(c=p[1],c=Xu(c),p[1]=c),c&&!i[c]&&w();function w(){var f=i[c]=new Image;if(f.onload=function(){f.ready=!0},navigator.vendor==="Google Inc."){c.indexOf("file://")===0&&(f.crossOrigin="anonymous"),f.src=c;return}qg(c).then(g=>{f.src=g}).catch(()=>{f.src=c})}})}function s(h,b,m,p){var c=i[h];return c.ready?(p(c),!0):(r.unshift([b,!0]),t.value=!0,c.onload=function(){c.ready=!0,p(c),t.value=!1;var w=r.slice(0);r=[];for(var f=w.shift();f;)a({actions:f[0],reserve:f[1]},m),f=w.shift()},!1)}function l({x:h=0,y:b=0,width:m,height:p,destWidth:c,destHeight:w,hidpi:f=!0,dataType:g,quality:S=1,type:x="png"},C){var E=e.value,P,F=E.offsetWidth-h;m=m?Math.min(m,F):F;var q=E.offsetHeight-b;p=p?Math.min(p,q):q,f?(c=m,w=p):!c&&!w?(c=Math.round(m*me),w=Math.round(p*me)):c?w||(w=Math.round(p/m*c)):c=Math.round(m/p*w);var X=Gu(c,w),ce=X.getContext("2d");(x==="jpeg"||x==="jpg")&&(x="jpeg",ce.fillStyle="#fff",ce.fillRect(0,0,c,w)),ce.__hidpi__=!0,ce.drawImageByCanvas(E,h,b,m,p,0,0,c,w,!1);var A;try{var U;if(g==="base64")P=X.toDataURL("image/".concat(x),S);else{var te=ce.getImageData(0,0,c,w),oe=require("pako");P=oe.deflateRaw(te.data,{to:"string"}),U=!0}A={data:P,compressed:U,width:c,height:w}}catch(j){A={errMsg:"canvasGetImageData:fail ".concat(j)}}if(X.height=X.width=0,ce.__hidpi__=!1,C)C(A);else return A}function u({data:h,x:b,y:m,width:p,height:c,compressed:w},f){try{c||(c=Math.round(h.length/4/p));var g=Gu(p,c),S=g.getContext("2d");if(w){var x=require("pako");h=x.inflateRaw(h)}S.putImageData(new ImageData(new Uint8ClampedArray(h),p,c),0,0),e.value.getContext("2d").drawImage(g,b,m,p,c),g.height=g.width=0}catch(C){f({errMsg:"canvasPutImageData:fail"});return}f({errMsg:"canvasPutImageData:ok"})}function v({x:h=0,y:b=0,width:m,height:p,destWidth:c,destHeight:w,fileType:f,quality:g,dirname:S},x){var C=l({x:h,y:b,width:m,height:p,destWidth:c,destHeight:w,hidpi:!1,dataType:"base64",type:f,quality:g});if(!C.data||!C.data.length){x({errMsg:C.errMsg.replace("canvasPutImageData","toTempFilePath")});return}zg(C.data)}var d={actionsChanged:a,getImageData:l,putImageData:u,toTempFilePath:v};function _(h,b,m){var p=d[h];h.indexOf("_")!==0&&typeof p=="function"&&p(b,m)}return fe(d,{_resize:n,_handleSubscribe:_})}var Zu=Ki("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=Me(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(lt,!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);W([()=>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)})),tn(e,{"label-click":s}),()=>{var l=Dr(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?Zi(Gi,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(lt,!1);o&&o.addField(n);var s=ge(Br,!1);return xe(()=>{a&&a.removeField(i),o&&o.removeField(n)}),{uniCheckGroup:a,uniForm:o,uniLabel:s}}var Ju,Fr,nn,Mt,an,fo;Qt(()=>{Fr=plus.os.name==="Android",nn=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){Mt=e.height,an&&an()},!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&&(Fr||parseInt(nn)>=13)&&document.activeElement.blur()};a.addEventListener("focus",()=>{o=!0,clearTimeout(Ju),document.addEventListener("click",Qu,!1),an=s,Mt&&r("keyboardheightchange",{},{height:Mt,duration:0}),v0(e,i),Ur(e,a)}),Fr&&a.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&Mt===0&&Ur(e,a)}),Fr||(parseInt(nn)<12&&a.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&Ur(e,a)}),parseFloat(nn)>=14.6&&!fo&&Qt(()=>{var u=plus.webview.currentWebview();fo=u.getStyle()||{}}));var l=()=>{document.removeEventListener("click",Qu,!1),an=null,Mt&&r("keyboardheightchange",{},{height:0,duration:0}),d0(i),Fr&&(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()})}W(()=>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("<!--")==0?(r=e.indexOf("-->"),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("</")==0?(n=e.match(af),n&&(e=e.substring(n[0].length),n[0].replace(af,u),i=!1)):e.indexOf("<")==0&&(n=e.match(nf),n&&(e=e.substring(n[0].length),n[0].replace(nf,l),i=!1)),i){r=e.indexOf("<");var s=r<0?e:e.substring(0,r);e=r<0?"":e.substring(r),t.chars&&t.chars(s)}}else e=e.replace(new RegExp("([\\s\\S]*?)</"+a.last()+"[^>]*>"),function(v,d){return d=d.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(d),""}),u("",a.last());if(e==o)throw"Parse Error: "+e;o=e}u();function l(v,d,_,h){if(d=d.toLowerCase(),g0[d])for(;a.last()&&m0[a.last()];)u("",a.last());if(_0[d]&&a.last()==d&&u("",d),h=p0[d]||!!h,h||a.push(d),t.start){var b=[];_.replace(h0,function(m,p){var c=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:b0[p]?p:"";b.push({name:p,value:c,escaped:c.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(d,b,h)}}function u(v,d){if(d)for(var _=a.length-1;_>=0&&a[_]!=d;_--);else var _=0;if(_>=0){for(var h=a.length-1;h>=_;h--)t.end&&t.end(a[h]);a.length=_}}}function ur(e){for(var t={},r=e.split(","),i=0;i<r.length;i++)t[r[i]]=!0;return t}var co={};function sf(e,t,r){var i=typeof e=="string"?window[e]:e;if(i){r();return}var n=co[t];if(!n){n=co[t]=[];var a=document.createElement("script");a.src=t,document.body.appendChild(a),a.onload=function(){n.forEach(o=>o()),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&&tt(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=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var n=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(n)>-1?r:t.SANITIZED_URL}}function R0(e){var t={divider:y0,ins:S0,align:x0,direction:T0,list:E0,background:C0,box:O0,font:M0,text:I0,image:A0,link:P0},r={};Object.values(t).forEach(i=>fe(r,i(e))),e.register(r,!0)}function L0(e,t,r){var i,n,a,o=!1;W(()=>e.readOnly,b=>{i&&(a.enable(!b),b||a.blur())}),W(()=>e.placeholder,b=>{i&&u(b)});function s(b){var m=["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"],p="",c;of(b,{start:function(f,g,S){if(!m.includes(f)){c=!S;return}c=!1;var x=g.map(({name:E,value:P})=>"".concat(E,'="').concat(P,'"')).join(" "),C="<".concat(f," ").concat(x," ").concat(S?"/":"",">");p+=C},end:function(f){c||(p+="</".concat(f,">"))},chars:function(f){c||(p+=f)}}),n=!0;var w=a.clipboard.convert(p);return n=!1,w}function l(){var b=a.root.innerHTML,m=a.getText(),p=a.getContents();return{html:b,text:m,delta:p}}function u(b){var m="data-placeholder",p=a.root;p.getAttribute(m)!==b&&p.setAttribute(m,b)}var v={};function d(b){var m=b?a.getFormat(b):{},p=Object.keys(m);(p.length!==Object.keys(v).length||p.find(c=>m[c]!==v[c]))&&(v=m,r("statuschange",{},m))}function _(b){var m=window.Quill;R0(m);var p={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};b.length&&(m.register("modules/ImageResize",window.ImageResize.default),p.modules={ImageResize:{modules:b}});var c=t.value;a=new m(c,p);var w=a.root,f=["focus","blur","input"];f.forEach(g=>{w.addEventListener(g,S=>{var x=l();if(g==="input"){if(bu().platform==="ios"){var C=(x.html.match(/<span [\s\S]*>([\s\S]*)<\/span>/)||[])[1],E=C&&C.replace(/\s/g,"")?"":e.placeholder;u(E)}S.stopPropagation()}else r(g,S,x)})}),a.on("text-change",()=>{o||r("input",{},l())}),a.on("selection-change",d),a.on("scroll-optimize",()=>{var g=a.selection.getRange()[0];d(g)}),a.clipboard.addMatcher(Node.ELEMENT_NODE,(g,S)=>(n||S.ops&&(S.ops=S.ops.filter(({insert:x})=>typeof x=="string").map(({insert:x})=>({insert:x}))),S)),i=!0,r("ready",{},{})}Oe(()=>{var b=[];e.showImgSize&&b.push("DisplaySize"),e.showImgToolbar&&b.push("Toolbar"),e.showImgResize&&b.push("Resize");var m="./__uniappquill.js";sf(window.Quill,m,()=>{if(b.length){var p="./__uniappquillimageresize.js";sf(window.ImageResize,p,()=>{_(b)})}else _(b)})});var h=pn();hn((b,m,p)=>{var{options:c,callbackId:w}=m,f,g,S;if(i){var x=window.Quill;switch(b){case"format":{var{name:C="",value:E=!1}=c;g=a.getSelection(!0);var P=a.getFormat(g)[C]||!1;if(["bold","italic","underline","strike","ins"].includes(C))E=!P;else if(C==="direction"){E=E==="rtl"&&P?!1:E;var F=a.getFormat(g).align;E==="rtl"&&!F?a.format("align","right","user"):!E&&F==="right"&&a.format("align",!1,"user")}else if(C==="indent"){var q=a.getFormat(g).direction==="rtl";E=E==="+1",q&&(E=!E),E=E?"+1":"-1"}else C==="list"&&(E=E==="check"?"unchecked":E,P=P==="checked"?"unchecked":P),E=P&&P!==(E||!1)||!P&&E?E:!P;a.format(C,E,"user")}break;case"insertDivider":g=a.getSelection(!0),a.insertText(g.index,`
`,"user"),a.insertEmbed(g.index+1,"divider",!0,"user"),a.setSelection(g.index+2,0,"silent");break;case"insertImage":{g=a.getSelection(!0);var{src:X="",alt:ce="",width:A="",height:U="",extClass:te="",data:oe={}}=c,j=tt(X);a.insertEmbed(g.index,"image",j,"user");var J=/^(file|blob):/.test(j)?j:!1;o=!0,a.formatText(g.index,1,"data-local",J),a.formatText(g.index,1,"alt",ce),a.formatText(g.index,1,"width",A),a.formatText(g.index,1,"height",U),a.formatText(g.index,1,"class",te),o=!1,a.formatText(g.index,1,"data-custom",Object.keys(oe).map(ie=>"".concat(ie,"=").concat(oe[ie])).join("&")),a.setSelection(g.index+1,0,"silent")}break;case"insertText":{g=a.getSelection(!0);var{text:re=""}=c;a.insertText(g.index,re,"user"),a.setSelection(g.index+re.length,0,"silent")}break;case"setContents":{var{delta:we,html:Y}=c;typeof we=="object"?a.setContents(we,"silent"):typeof Y=="string"?a.setContents(s(Y),"silent"):S="contents is missing"}break;case"getContents":f=l();break;case"clear":a.setText("");break;case"removeFormat":{g=a.getSelection(!0);var ne=x.import("parchment");g.length?a.removeFormat(g.index,g.length,"user"):Object.keys(a.getFormat(g)).forEach(ie=>{ne.query(ie,ne.Scope.INLINE)&&a.format(ie,!1)})}break;case"undo":a.history.undo();break;case"redo":a.history.redo();break;case"blur":a.blur();break;case"getSelectionText":g=a.selection.savedRange,f={text:""},g&&g.length!==0&&(f.text=a.getText(g.index,g.length));break;case"scrollIntoView":a.scrollIntoView();break}d(g)}else S="not ready";w&&p({callbackId:w,data:fe({},f,{errMsg:"".concat(b,":").concat(S?"fail "+S:"ok")})})},h,!0)}var N0=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}}),k0=he({name:"Editor",props:N0,emit:["ready","focus","blur","input","statuschange",...tf],setup(e,{emit:t}){var r=B(null),i=Me(r,t);return L0(e,r,i),rf(e,r,i),()=>M("uni-editor",{ref:r,id:e.id,class:"ql-container"},null,8,["id"])}}),lf="#10aeff",D0="#f76260",uf="#b2b2b2",B0="#f43530",$0={success:{d:Sg,c:bi},success_no_circle:{d:Gi,c:bi},info:{d:wg,c:lf},warn:{d:Tg,c:D0},waiting:{d:xg,c:lf},cancel:{d:mg,c:B0},download:{d:bg,c:bi},search:{d:yg,c:uf},clear:{d:_g,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(()=>$0[e.type]);return()=>{var{value:r}=t;return M("uni-icon",null,[r&&r.d&&Zi(r.d,e.color||r.c,Wt(e.size))])}}}),U0={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!0}},on={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"]},V0=he({name:"Image",props:U0,setup(e,{emit:t}){var r=B(null),i=H0(r,e),n=Me(r,t),{fixSize:a}=q0(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,on[o]?M(Ht,{onResize:a},null,8,["onResize"]):M("span",null,null)],512)}}});function H0(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?tt(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)};W(()=>e.src,s=>a(s)),Oe(()=>a(e.src)),xe(()=>o())}var Y0=navigator.vendor==="Google Inc.";function z0(e){return Y0&&e>10&&(e=Math.round(e/2)*2),e}function q0(e,t,r){var i=()=>{var{mode:a}=t,o=on[a];if(!!o){var{origWidth:s,origHeight:l}=r,u=s&&l?s/l:0;if(!!u){var v=e.value,d=v[o[0]];d&&(v.style[o[1]]=z0(d/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 W(()=>t.mode,(a,o)=>{on[o]&&n(),on[a]&&i()}),{fixSize:i,resetSize:n}}function X0(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<t){i=setTimeout(n,t-(s-r));return}n()};return a.cancel=function(){clearTimeout(i),n=null},a.flush=function(){clearTimeout(i),n&&n()},a}var K0=Qn(!0),sn=[],vo=0,ff,cf=e=>sn.forEach(t=>t.userAction=e);function G0(e={userAction:!1}){if(!ff){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!vo&&cf(!0),vo++,setTimeout(()=>{!--vo&&cf(!1)},0)},K0)}),ff=!0}sn.push(e)}function Z0(e){var t=sn.indexOf(e);t>=0&&sn.splice(t,1)}function J0(){var e=Ee({userAction:!1});return Oe(()=>{G0(e)}),xe(()=>{Z0(e)}),{state:e}}function vf(){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 Q0(e,t){var r=ge(lt,!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 e_(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 t_=function(){ct(Ct(),"getSelectedTextRange",e_)},r_=200,ho;function po(e){return e===null?"":String(e)}var df=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),hf=["input","focus","blur","update:value","update:modelValue","update:focus",...tf];function i_(e,t,r){var i=B(null),n=Me(t,r),a=Q(()=>{var d=Number(e.selectionStart);return isNaN(d)?-1:d}),o=Q(()=>{var d=Number(e.selectionEnd);return isNaN(d)?-1:d}),s=Q(()=>{var d=Number(e.cursor);return isNaN(d)?-1:d}),l=Q(()=>{var d=Number(e.maxlength);return isNaN(d)?140:d}),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 W(()=>v.focus,d=>r("update:focus",d)),W(()=>v.maxlength,d=>v.value=v.value.slice(0,d)),{fieldRef:i,state:v,trigger:n}}function n_(e,t,r,i){var n=pd(s=>{t.value=po(s)},100);W(()=>e.modelValue,n),W(()=>e.value,n);var a=X0((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 wl(()=>{n.cancel(),a.cancel()}),{trigger:i,triggerInput:o}}function a_(e,t){var{state:r}=J0(),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=r_-(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()}W(()=>e.focus,o=>{o?n():a()}),Oe(()=>{ho=ho||Date.now(),i.value&&or(n)})}function o_(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(_,h){_.stopPropagation(),!(typeof n=="function"&&n(_,t)===!1)&&(t.value=l.value,t.composing||i(_,{value:l.value,cursor:l.selectionEnd},h))},d=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",d),l.addEventListener("input",v),l.addEventListener("compositionstart",_=>{_.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",_=>{_.stopPropagation(),t.composing&&(t.composing=!1,v(_))})}W([()=>t.selectionStart,()=>t.selectionEnd],a),W(()=>t.cursor,o),W(()=>e.value,s)}function pf(e,t,r,i){t_();var{fieldRef:n,state:a,trigger:o}=i_(e,t,r),{triggerInput:s}=n_(e,a,r,o);a_(e,n),rf(e,n,o);var{state:l}=vf();Q0("name",a),o_(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 s_=fe({},df,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),l_=he({name:"Input",props:s_,emits:["confirm",...hf],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),w=i.indexOf(Ve(e.textContentType)),f=c!==-1?c:w!==-1?w:0;return i[f]}),o=B(""),s,l=B(null),{fieldRef:u,state:v,scopedAttrsState:d,fixDisabledColor:_,trigger:h}=pf(e,l,t,(c,w)=>{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="-",w.value="",s=()=>{o.value=f.value=""},f.addEventListener("blur",s),!1):(o.value=w.value=f.value=o.value==="-"?"":o.value,!1);o.value=f.value;var g=w.maxlength;if(g>0&&f.value.length>g)return f.value=f.value.slice(0,g),w.value=f.value,!1}}),b=["number","digit"],m=Q(()=>b.includes(e.type)?"0.000000000000000001":"");function p(c){c.key==="Enter"&&(c.stopPropagation(),h("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:m.value,class:"uni-input-input",onFocus:w=>w.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:m.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"},[Er(M("div",Ye(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Lr,!(v.value.length||o.value==="-")]]),e.confirmType==="search"?M("form",{action:"",onSubmit:w=>w.preventDefault(),class:"uni-input-form"},[c],40,["onSubmit"]):c])],512)}}});function u_(e){return Object.keys(e).map(t=>[t,e[t]])}var f_=["class","style"],c_=/^on[A-Z]+/,gf=(e={})=>{var{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=xt(),n=xa({}),a=xa({}),o=xa({}),s=r.concat(f_);return i.attrs=Ee(i.attrs),Np(()=>{var l=u_(i.attrs).reduce((u,[v,d])=>(s.includes(v)?u.exclude[v]=d:c_.test(v)?(t||(u.attrs[v]=d),u.listeners[v]=d):u.attrs[v]=d,u),{exclude:{},attrs:{},listeners:{}});n.value=l.attrs,a.value=l.listeners,o.value=l.exclude}),{$attrs:n,$listeners:a,$excludeAttrs:o}},ln,Wr;function un(){Qt(()=>{ln||(ln=plus.webview.currentWebview()),Wr||(Wr=(ln.getStyle()||{}).pullToRefresh||{})})}function It({disable:e}){Wr&&Wr.support&&ln.setPullToRefresh(Object.assign({},Wr,{support:!e}))}function go(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{Di(r)?r.type===ot?t.push(...go(r.children)):t.push(r):Array.isArray(r)&&t.push(...go(r))}),t}function Vr(e){var t=xt();t.rebuild=e}var v_={scaleArea:{type:Boolean,default:!1}},d_=he({inheritAttrs:!1,name:"MovableArea",props:v_,setup(e,{slots:t}){var r=B(null),i=B(!1),{setContexts:n,events:a}=h_(e,r),{$listeners:o,$attrs:s,$excludeAttrs:l}=gf(),u=o.value,v=["onTouchstart","onTouchmove","onTouchend"];v.forEach(p=>{var c=u[p],w=a["_".concat(p)];u[p]=c?[].concat(c,w):w}),Oe(()=>{a._resize(),un(),i.value=!0});var d=[],_=[];function h(){for(var p=[],c=function(f){var g=d[f];g instanceof Element||(g=g.el);var S=_.find(x=>g===x.rootRef.value);S&&p.push(Ri(S))},w=0;w<d.length;w++)c(w);n(p)}Vr(()=>{d=r.value.children,h()});var b=p=>{_.push(p),h()},m=p=>{var c=_.indexOf(p);c>=0&&(_.splice(c,1),h())};return Ne("_isMounted",i),Ne("movableAreaRootRef",r),Ne("addMovableViewContext",b),Ne("removeMovableViewContext",m),()=>(t.default&&t.default(),M("uni-movable-area",Ye({ref:r},s.value,l.value,u),[M(Ht,{onReize:a._resize},null,8,["onReize"]),d],16))}});function mf(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function h_(e,t){var r=B(0),i=B(0),n=Ee({x:null,y:null}),a=B(null),o=null,s=[];function l(m){m&&m!==1&&(e.scaleArea?s.forEach(function(p){p._setScale(m)}):o&&o._setScale(m))}function u(m,p=s){var c=t.value;function w(f){for(var g=0;g<p.length;g++){var S=p[g];if(f===S.rootRef.value)return S}return f===c||f===document.body||f===document?null:w(f.parentNode)}return w(m)}var v=Vt(m=>{It({disable:!0});var p=m.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=mf(c),n.x=c.x,n.y=c.y,!e.scaleArea){var w=u(p[0].target),f=u(p[1].target);o=w&&w===f?w:null}}}),d=Vt(m=>{var p=m.touches;if(p&&p.length>1){m.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 w=mf(c)/a.value;l(w)}n.x=c.x,n.y=c.y}}),_=Vt(m=>{It({disable:!1});var p=m.touches;p&&p.length||m.changedTouches&&(n.x=0,n.y=0,a.value=null,e.scaleArea?s.forEach(function(c){c._endScale()}):o&&o._endScale())});function h(){b(),s.forEach(function(m,p){m.setParent()})}function b(){var m=window.getComputedStyle(t.value),p=t.value.getBoundingClientRect();r.value=p.width-["Left","Right"].reduce(function(c,w){var f="border"+w+"Width",g="padding"+w;return c+parseFloat(m[f])+parseFloat(m[g])},0),i.value=p.height-["Top","Bottom"].reduce(function(c,w){var f="border"+w+"Width",g="padding"+w;return c+parseFloat(m[f])+parseFloat(m[g])},0)}return Ne("movableAreaWidth",r),Ne("movableAreaHeight",i),{setContexts(m){s=m},events:{_onTouchstart:v,_onTouchmove:d,_onTouchend:_,_resize:h}}}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})},_f,bf;function fn(e,t,r){xe(()=>{document.removeEventListener("mousemove",_f),document.removeEventListener("mouseup",bf)});var i=0,n=0,a=0,o=0,s=function(h,b,m,p){if(t({target:h.target,currentTarget:h.currentTarget,preventDefault:h.preventDefault.bind(h),stopPropagation:h.stopPropagation.bind(h),touches:h.touches,changedTouches:h.changedTouches,detail:{state:b,x:m,y:p,dx:m-i,dy:p-n,ddx:m-a,ddy:p-o,timeStamp:h.timeStamp}})===!1)return!1},l=null,u,v;Hr(e,"touchstart",function(h){if(u=!0,h.touches.length===1&&!l)return l=h,i=a=h.touches[0].pageX,n=o=h.touches[0].pageY,s(h,"start",i,n)}),Hr(e,"mousedown",function(h){if(v=!0,!u&&!l)return l=h,i=a=h.pageX,n=o=h.pageY,s(h,"start",i,n)}),Hr(e,"touchmove",function(h){if(h.touches.length===1&&l){var b=s(h,"move",h.touches[0].pageX,h.touches[0].pageY);return a=h.touches[0].pageX,o=h.touches[0].pageY,b}});var d=_f=function(h){if(!u&&v&&l){var b=s(h,"move",h.pageX,h.pageY);return a=h.pageX,o=h.pageY,b}};document.addEventListener("mousemove",d),Hr(e,"touchend",function(h){if(h.touches.length===0&&l)return u=!1,l=null,s(h,"end",h.changedTouches[0].pageX,h.changedTouches[0].pageY)});var _=bf=function(h){if(v=!1,!u&&l)return l=null,s(h,"end",h.pageX,h.pageY)};document.addEventListener("mouseup",_),Hr(e,"touchcancel",function(h){if(l){u=!1;var b=l;return l=null,s(h,r?"cancel":"end",b.touches[0].pageX,b.touches[0].pageY)}})}function cn(e,t,r){return e>t-r&&e<t+r}function jt(e,t){return cn(e,0,t)}function mo(){}mo.prototype.x=function(e){return Math.sqrt(e)};function ut(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}ut.prototype.setV=function(e,t){var r=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/r,this._y_a=-this._f*this._y_v/r,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=new Date().getTime()},ut.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},ut.prototype.s=function(e){e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),e>this._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&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&r<this._endPositionY||this._y_a<0&&r>this._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},ut.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}},ut.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}},ut.prototype.dt=function(){return-this._x_v/this._x_a},ut.prototype.done=function(){var e=cn(this.s().x,this._endPositionX)||cn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},ut.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},ut.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 w=Math.pow(Math.E,o*c);return o*(s+l*c)*w+l*w}}}if(a>0){var u=(-r-Math.sqrt(a))/(2*i),v=(-r+Math.sqrt(a))/(2*i),d=(t-u*e)/(v-u),_=e-d;return{x:function(c){var w,f;return c===this._t&&(w=this._powER1T,f=this._powER2T),this._t=c,w||(w=this._powER1T=Math.pow(Math.E,u*c)),f||(f=this._powER2T=Math.pow(Math.E,v*c)),_*w+d*f},dx:function(c){var w,f;return c===this._t&&(w=this._powER1T,f=this._powER2T),this._t=c,w||(w=this._powER1T=Math.pow(Math.E,u*c)),f||(f=this._powER2T=Math.pow(Math.E,v*c)),_*u*w+d*v*f}}}var h=Math.sqrt(4*i*n-r*r)/(2*i),b=-r/2*i,m=e,p=(t-b*e)/h;return{x:function(c){return Math.pow(Math.E,b*c)*(m*Math.cos(h*c)+p*Math.sin(h*c))},dx:function(c){var w=Math.pow(Math.E,b*c),f=Math.cos(h*c),g=Math.sin(h*c);return w*(p*h*f-m*h*g)+b*w*(p*g+m*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||!jt(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(jt(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),jt(t,.1)&&(t=0),jt(i,.1)&&(i=0),i+=this._endPosition),this._solution&&jt(i-e,.1)&&jt(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()),cn(this.x(),this._endPosition,.1)&&jt(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 jr(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}jr.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},jr.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)}},jr.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},jr.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 p_={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}},g_=he({name:"MovableView",props:p_,emits:["change","scale"],setup(e,{slots:t,emit:r}){var i=B(null),n=Me(i,r),{setParent:a}=m_(e,n,i);return()=>M("uni-movable-view",{ref:i},[M(Ht,{onResize:a},null,8,["onResize"]),t.default&&t.default()],512)}}),_o=!1;function wf(e){_o||(_o=!0,requestAnimationFrame(function(){e(),_o=!1}))}function yf(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=yf(e.offsetParent,t):0}function Sf(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=Sf(e.offsetParent,t):0}function xf(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function Tf(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 vn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function m_(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(vn(e.x)),v=B(vn(e.y)),d=B(Number(e.scaleValue)||1),_=B(0),h=B(0),b=B(0),m=B(0),p=B(0),c=B(0),w=null,f=null,g={x:0,y:0},S={x:0,y:0},x=1,C=1,E=0,P=0,F=!1,q=!1,X,ce,A=null,U=null,te=new mo,oe=new mo,j={historyX:[0,0],historyY:[0,0],historyT:[0,0]},J=Q(()=>{var O=Number(e.damping);return isNaN(O)?20:O}),re=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}),ne=Q(()=>e.direction==="all"||e.direction==="horizontal"),ie=Q(()=>e.direction==="all"||e.direction==="vertical"),ve=new jr(1,9*Math.pow(J.value,2)/40,J.value),Ie=new ut(1,re.value);W(()=>e.x,O=>{u.value=vn(O)}),W(()=>e.y,O=>{v.value=vn(O)}),W(u,O=>{Ge(O)}),W(v,O=>{At(O)}),W(()=>e.scaleValue,O=>{d.value=Number(O)||0}),W(d,O=>{Xr(O)}),W(we,()=>{Ae()}),W(Y,()=>{Ae()});function Ce(){f&&f.cancel(),w&&w.cancel()}function Ge(O){if(ne.value){if(O+S.x===E)return E;w&&w.cancel(),Z(O+S.x,v.value+S.y,x)}return O}function At(O){if(ie.value){if(O+S.y===P)return P;w&&w.cancel(),Z(u.value+S.x,O+S.y,x)}return O}function Ae(){if(!e.scale)return!1;D(x,!0),k(x)}function Xr(O){return e.scale?(O=N(O),D(O,!0),k(O),O):!1}function Kr(){F||e.disabled||(It({disable:!0}),Ce(),j.historyX=[0,0],j.historyY=[0,0],j.historyT=[0,0],ne.value&&(X=E),ie.value&&(ce=P),r.value.style.willChange="transform",A=null,U=null,q=!0)}function y(O){if(!F&&!e.disabled&&q){var H=E,z=P;if(U===null&&(U=Math.abs(O.detail.dx/O.detail.dy)>1?"htouchmove":"vtouchmove"),ne.value&&(H=O.detail.dx+X,j.historyX.shift(),j.historyX.push(H),!ie.value&&A===null&&(A=Math.abs(O.detail.dx/O.detail.dy)<1)),ie.value&&(z=O.detail.dy+ce,j.historyY.shift(),j.historyY.push(z),!ne.value&&A===null&&(A=Math.abs(O.detail.dy/O.detail.dx)<1)),j.historyT.shift(),j.historyT.push(O.detail.timeStamp),!A){O.preventDefault();var de="touch";H<b.value?e.outOfBounds?(de="touch-out-of-bounds",H=b.value-te.x(b.value-H)):H=b.value:H>p.value&&(e.outOfBounds?(de="touch-out-of-bounds",H=p.value+te.x(H-p.value)):H=p.value),z<m.value?e.outOfBounds?(de="touch-out-of-bounds",z=m.value-oe.x(m.value-z)):z=m.value:z>c.value&&(e.outOfBounds?(de="touch-out-of-bounds",z=c.value+oe.x(z-c.value)):z=c.value),wf(function(){K(H,z,x,de)})}}}function T(){if(!F&&!e.disabled&&q&&(It({disable:!1}),r.value.style.willChange="auto",q=!1,!A&&!G("out-of-bounds")&&e.inertia)){var O=1e3*(j.historyX[1]-j.historyX[0])/(j.historyT[1]-j.historyT[0]),H=1e3*(j.historyY[1]-j.historyY[0])/(j.historyT[1]-j.historyT[0]);Ie.setV(O,H),Ie.setS(E,P);var z=Ie.delta().x,de=Ie.delta().y,le=z+E,Le=de+P;le<b.value?(le=b.value,Le=P+(b.value-E)*de/z):le>p.value&&(le=p.value,Le=P+(p.value-E)*de/z),Le<m.value?(Le=m.value,le=E+(m.value-P)*z/de):Le>c.value&&(Le=c.value,le=E+(c.value-P)*z/de),Ie.setEnd(le,Le),f=Tf(Ie,function(){var We=Ie.s(),Pe=We.x,rt=We.y;K(Pe,rt,x,"friction")},function(){f.cancel()})}!e.outOfBounds&&!e.inertia&&Ce()}function I(O,H){var z=!1;return O>p.value?(O=p.value,z=!0):O<b.value&&(O=b.value,z=!0),H>c.value?(H=c.value,z=!0):H<m.value&&(H=m.value,z=!0),{x:O,y:H,outOfBounds:z}}function R(){g.x=yf(r.value,o.value),g.y=Sf(r.value,o.value)}function L(O){O=O||x,O=N(O);var H=r.value.getBoundingClientRect();h.value=H.height/x,_.value=H.width/x;var z=h.value*O,de=_.value*O;S.x=(de-_.value)/2,S.y=(z-h.value)/2}function $(){var O=0-g.x+S.x,H=i.value-_.value-g.x-S.x;b.value=Math.min(O,H),p.value=Math.max(O,H);var z=0-g.y+S.y,de=n.value-h.value-g.y-S.y;m.value=Math.min(z,de),c.value=Math.max(z,de)}function V(){F=!0}function D(O,H){if(e.scale){O=N(O),L(O),$();var z=I(E,P),de=z.x,le=z.y;H?Z(de,le,O,"",!0,!0):wf(function(){K(de,le,O,"",!0,!0)})}}function k(O){C=O}function N(O){return O=Math.max(.5,we.value,O),O=Math.min(10,Y.value,O),O}function Z(O,H,z,de,le,Le){Ce(),ne.value||(O=E),ie.value||(H=P),e.scale||(z=x);var We=I(O,H);if(O=We.x,H=We.y,!e.animation){K(O,H,z,de,le,Le);return}ve._springX._solution=null,ve._springY._solution=null,ve._springScale._solution=null,ve._springX._endPosition=E,ve._springY._endPosition=P,ve._springScale._endPosition=x,ve.setEnd(O,H,z,1),w=Tf(ve,function(){var Pe=ve.x(),rt=Pe.x,Pt=Pe.y,ft=Pe.scale;K(rt,Pt,ft,de,le,Le)},function(){w.cancel()})}function G(O){var H=I(E,P),z=H.x,de=H.y,le=H.outOfBounds;return le&&Z(z,de,x,O),le}function K(O,H,z,de="",le,Le){O!==null&&O.toString()!=="NaN"&&typeof O=="number"||(O=E||0),H!==null&&H.toString()!=="NaN"&&typeof H=="number"||(H=P||0),O=Number(O.toFixed(1)),H=Number(H.toFixed(1)),z=Number(z.toFixed(1)),E===O&&P===H||le||t("change",{},{x:xf(O,S.x),y:xf(H,S.y),source:de}),e.scale||(z=x),z=N(z),z=+z.toFixed(3),Le&&z!==x&&t("scale",{},{x:O,y:H,scale:z});var We="translateX("+O+"px) translateY("+H+"px) translateZ(0px) scale("+z+")";r.value.style.transform=We,r.value.style.webkitTransform=We,E=O,P=H,x=z}function ue(){if(!!a.value){Ce();var O=e.scale?d.value:1;R(),L(O),$(),E=u.value+S.x,P=v.value+S.y;var H=I(E,P),z=H.x,de=H.y;K(z,de,O,"",!0),k(O)}}function Re(){F=!1,k(x)}function Se(O){O&&(O=C*O,V(),D(O))}return Oe(()=>{fn(r.value,H=>{switch(H.detail.state){case"start":Kr();break;case"move":y(H);break;case"end":T()}}),ue(),Ie.reconfigure(1,re.value),ve.reconfigure(1,9*Math.pow(J.value,2)/40,J.value),r.value.style.transformOrigin="center",un();var O={rootRef:r,setParent:ue,_endScale:Re,_setScale:Se};s(O),yt(()=>{l(O)})}),yt(()=>{Ce()}),{setParent:ue}}var __=["navigate","redirect","switchTab","reLaunch","navigateBack"],b_={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~__.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}},w_=he({name:"Navigator",compatConfig:{MODE:3},props:b_,setup(e,{slots:t}){var{hovering:r,binding:i}=uo(e);function n(a){if(e.openType!=="navigateBack"&&!e.url){console.error("<navigator/> 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"])}}}),y_={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 S_(e){var t=Ee([...e.value]),r=Ee({value:t,height:34});return W(()=>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 x_=he({name:"PickerView",props:y_,emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:r}){var i=B(null),n=B(null),a=Me(i,r),o=S_(e),s=B(null),l=()=>{var h=s.value;o.height=h.$el.offsetHeight},u=B([]),v=B([]);function d(h){var b=v.value;if(b instanceof HTMLCollection)return Array.prototype.indexOf.call(b,h.el);var m=b.indexOf(h);return m!==-1?m:u.value.indexOf(h)}var _=function(h){var b=Q({get(){var m=d(h.vnode);return o.value[m]||0},set(m){var p=d(h.vnode);if(!(p<0)){var c=o.value[p];if(c!==m){o.value[p]=m;var w=o.value.map(f=>f);r("update:value",w),a("change",{},{value:w})}}}});return b};return Ne("getPickerViewColumn",_),Ne("pickerViewProps",e),Ne("pickerViewState",o),Vr(()=>{l(),v.value=n.value.children}),()=>{var h=t.default&&t.default();return M("uni-picker-view",{ref:i},[M(Ht,{ref:s,onResize:({height:b})=>o.height=b},null,8,["onResize"]),M("div",{ref:n,class:"uni-picker-view-wrapper"},[h],512)],512)}}});class Ef{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 Cf(e,t,r){return e>t-r&&e<t+r}function Yt(e,t){return Cf(e,0,t)}class Of{constructor(t,r,i){this._m=t,this._k=r,this._c=i,this._solution=null,this._endPosition=0,this._startTime=0}_solve(t,r){var i=this._c,n=this._m,a=this._k,o=i*i-4*n*a;if(o===0){var s=-i/(2*n),l=t,u=r/(s*t);return{x:function(w){return(l+u*w)*Math.pow(Math.E,s*w)},dx:function(w){var f=Math.pow(Math.E,s*w);return s*(l+u*w)*f+u*f}}}if(o>0){var v=(-i-Math.sqrt(o))/(2*n),d=(-i+Math.sqrt(o))/(2*n),_=(r-v*t)/(d-v),h=t-_;return{x:function(w){var f,g;return w===this._t&&(f=this._powER1T,g=this._powER2T),this._t=w,f||(f=this._powER1T=Math.pow(Math.E,v*w)),g||(g=this._powER2T=Math.pow(Math.E,d*w)),h*f+_*g},dx:function(w){var f,g;return w===this._t&&(f=this._powER1T,g=this._powER2T),this._t=w,f||(f=this._powER1T=Math.pow(Math.E,v*w)),g||(g=this._powER2T=Math.pow(Math.E,d*w)),h*v*f+_*d*g}}}var b=Math.sqrt(4*n*a-i*i)/(2*n),m=-i/2*n,p=t,c=(r-m*t)/b;return{x:function(w){return Math.pow(Math.E,m*w)*(p*Math.cos(b*w)+c*Math.sin(b*w))},dx:function(w){var f=Math.pow(Math.E,m*w),g=Math.cos(b*w),S=Math.sin(b*w);return f*(c*b*g-p*b*S)+m*f*(c*S+p*g)}}}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()),Cf(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 T_{constructor(t,r,i){this._extent=t,this._friction=r||new Ef(.01),this._spring=i||new Of(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 E_(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 C_{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 T_(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&&Math.abs(i.y)<300||Math.abs(i.y)<150)){this.snap();return}if(this._enableX&&(Math.abs(t)<this._itemSize&&Math.abs(i.x)<300||Math.abs(i.x)<150)){this.snap();return}}this._enableX?this._scroll.set(this._position,i.x):this._enableY&&this._scroll.set(this._position,i.y);var n;if(this._enableSnap){var a=this._scroll._friction.x(100),o=a%this._itemSize;n=Math.abs(o)>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=E_(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 O_(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new C_(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 d=n(l);if(d){for(r.maxDy=Math.max(r.maxDy,Math.abs(d.y)),r.maxDx=Math.max(r.maxDx,Math.abs(d.x)),r.historyX.push(d.x),r.historyY.push(d.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(d.x,d.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 d=r.historyTime.length,_={x:0,y:0};if(d>2)for(var h=r.historyTime.length-1,b=r.historyTime[h],m=r.historyX[h],p=r.historyY[h];h>0;){h--;var c=r.historyTime[h],w=b-c;if(w>30&&w<50){_.x=(m-r.historyX[h])/(w/1e3),_.y=(p-r.historyY[h])/(w/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 M_=0;function I_(e){var t="uni-picker-view-content-".concat(M_++);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 W(()=>e.value,r),t}function A_(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)<t&&Math.abs(a.clientY-i)<t){var o={bubbles:!0,cancelable:!0,target:n.target,currentTarget:n.currentTarget},s=new CustomEvent("click",o),l=["screenX","screenY","clientX","clientY","pageX","pageY"];l.forEach(u=>{s[u]=a[u]}),n.target.dispatchEvent(s)}})}var P_=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),d=B(null),_=()=>{var E=d.value;v.value=E.$el.offsetHeight},h=Q(()=>(u.height-v.value)/2),{state:b}=vf(),m=I_(v),p,c=Ee({current:s.value,length:0}),w;function f(){p&&!w&&(w=!0,or(()=>{w=!1;var E=Math.min(c.current,c.length-1);E=Math.max(E,0),p.update(E*v.value,void 0,v.value)}))}W(()=>s.value,E=>{E!==c.current&&(c.current=E,f())}),W(()=>c.current,E=>s.value=E),W([()=>v.value,()=>c.length,()=>u.height],f);var g=0;function S(E){var P=g+E.deltaY;if(Math.abs(P)>10){g=0;var F=Math.min(c.current+(P<0?-1:1),c.length-1);c.current=F=Math.max(F,0),p.scrollTo(F*v.value)}else g=P;E.preventDefault()}function x({clientY:E}){var P=i.value;if(!p.isScrolling()){var F=P.getBoundingClientRect(),q=E-F.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,U=Math.min(c.current+A,c.length-1);c.current=U=Math.max(U,0),p.scrollTo(U*v.value)}}}var C=()=>{var E=i.value,P=n.value,{scroller:F,handleTouchStart:q,handleTouchMove:X,handleTouchEnd:ce}=O_(P,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:v.value,friction:new Ef(1e-4),spring:new Of(2,90,20),onSnap:A=>{!isNaN(A)&&A!==c.current&&(c.current=A)}});p=F,fn(E,A=>{switch(A.detail.state){case"start":q(A),It({disable:!0});break;case"move":X(A),A.stopPropagation();break;case"end":case"cancel":ce(A),It({disable:!1})}},!0),A_(E),un(),f()};return Vr(()=>{c.length=n.value.children.length,_(),C()}),()=>{var E=t.default&&t.default(),P="".concat(h.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(b.attrs,{class:["uni-picker-view-mask",l.maskClass],style:"background-size: 100% ".concat(h.value,"px;").concat(l.maskStyle)}),null,16),M("div",Ye(b.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[M(Ht,{ref:d,onResize:({height:F})=>v.value=F},null,8,["onResize"])],16),M("div",{ref:n,class:["uni-picker-view-content",m],style:{padding:P}},[E],6)],40,["onWheel","onClick"])],512)}}}),zt={activeColor:bi,backgroundColor:"#EBEBEB",activeMode:"backwards"},R_={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))}}},L_=he({name:"Progress",props:R_,setup(e){var t=N_(e);return Mf(t,e),W(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,Mf(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 N_(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 Mf(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 If=Ki("ucg"),k_={name:{type:String,default:""}},D_=he({name:"RadioGroup",props:k_,setup(e,{emit:t,slots:r}){var i=B(null),n=Me(i,t);return B_(e,n),()=>M("uni-radio-group",{ref:i},[r.default&&r.default()],512)}});function B_(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(If,{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(lt,!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,d)=>{d!==l&&(u?o(r[d],!1):r.forEach((_,h)=>{d>=h||r[h].value.radioChecked&&o(r[d],!1)}))})}return r}var $_={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:$_,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,";"));W([()=>e.checked,()=>e.value],([v,d])=>{r.value=v,i.value=d});var a=()=>{r.value=!1},{uniCheckGroup:o,uniLabel:s,field:l}=U_(r,i,a),u=v=>{e.disabled||(r.value=!0,o&&o.radioChange(v,l))};return s&&(s.addHandler(u),xe(()=>{s.removeHandler(u)})),tn(e,{"label-click":u}),()=>{var v=Dr(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?Zi(Gi,"#fff",18):""],6),t.default&&t.default()])],16,["onClick"])}}});function U_(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(If,!1);a&&a.addField(i);var o=ge(lt,!1);o&&o.addField(n);var s=ge(Br,!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(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}function V_(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 H_(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=V_(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 Af={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(ee(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 Y_(e,t,r){return e==="img"&&t==="src"?tt(r):r}function Pf(e,t,r,i){return e.forEach(function(n){if(!!it(n))if(!ee(n,"type")||n.type==="node"){if(!(typeof n.name=="string"&&n.name))return;var a=n.name.toLowerCase();if(!ee(Af,a))return;var o=document.createElement(a);if(!o)return;var s=n.attrs;if(it(s)){var l=Af[a]||[];Object.keys(s).forEach(function(v){var d=s[v];switch(v){case"class":Array.isArray(d)&&(d=d.join(" "));case"style":o.setAttribute(v,d),r&&o.setAttribute(r,"");break;default:l.indexOf(v)!==-1&&o.setAttribute(v,Y_(a,v,d))}})}z_(n,o,i);var u=n.children;Array.isArray(u)&&u.length&&Pf(n.children,o,r,i),t.appendChild(o)}else n.type==="text"&&typeof n.text=="string"&&n.text!==""&&t.appendChild(document.createTextNode(j_(n.text)))}),t}function z_(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}var q_={nodes:{type:[Array,String],default:function(){return[]}}},X_=he({name:"RichText",compatConfig:{MODE:3},props:q_,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,{emit:t,attrs:r}){var i=xt(),n=B(null),a=Me(n,t),o=!!r.onItemclick;function s(u,v={}){a("itemclick",u,v)}function l(u){var v;typeof u=="string"&&(u=H_(u));var d=Pf(u,document.createDocumentFragment(),(i==null||(v=i.root)===null||v===void 0?void 0:v.type).__scopeId||"",o&&s);n.value.firstElementChild.innerHTML="",n.value.firstElementChild.appendChild(d)}return W(()=>e.nodes,u=>{l(u)}),Oe(()=>{l(e.nodes)}),()=>M("uni-rich-text",{ref:n},[M("div",null,null)],512)}}),wo=Qn(!0),K_={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}},G_=he({name:"ScrollView",compatConfig:{MODE:3},props:K_,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=Me(i,t),{state:u,scrollTopNumber:v,scrollLeftNumber:d}=Z_(e);J_(e,u,v,d,l,i,n,o,t);var _=Q(()=>{var h="";return e.scrollX?h+="overflow-x:auto;":h+="overflow-x:hidden;",e.scrollY?h+="overflow-y:auto;":h+="overflow-y:hidden;",h});return()=>{var{refresherEnabled:h,refresherBackground:b,refresherDefaultStyle:m}=e,{refresherHeight:p,refreshState:c,refreshRotate:w}=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"},[h?M("div",{ref:s,style:{backgroundColor:b,height:p+"px"},class:"uni-scroll-view-refresher"},[m!=="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("+w+"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,m=="none"?r.refresher&&r.refresher():null],4):null,r.default&&r.default()],512)],4)],512)],512)}}});function Z_(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 J_(e,t,r,i,n,a,o,s,l){var u=!1,v=0,d=!1,_=()=>{},h=Q(()=>{var x=Number(e.upperThreshold);return isNaN(x)?50:x}),b=Q(()=>{var x=Number(e.lowerThreshold);return isNaN(x)?50:x});function m(x,C){var E=o.value,P=0,F="";if(x<0?x=0:C==="x"&&x>E.scrollWidth-E.offsetWidth?x=E.scrollWidth-E.offsetWidth:C==="y"&&x>E.scrollHeight-E.offsetHeight&&(x=E.scrollHeight-E.offsetHeight),C==="x"?P=E.scrollLeft-x:C==="y"&&(P=E.scrollTop-x),P!==0){var q=s.value;q.style.transition="transform .3s ease-out",q.style.webkitTransition="-webkit-transform .3s ease-out",C==="x"?F="translateX("+P+"px) translateZ(0)":C==="y"&&(F="translateY("+P+"px) translateZ(0)"),q.removeEventListener("transitionend",_),q.removeEventListener("webkitTransitionEnd",_),_=()=>g(x,C),q.addEventListener("transitionend",_),q.addEventListener("webkitTransitionEnd",_),C==="x"?E.style.overflowX="hidden":C==="y"&&(E.style.overflowY="hidden"),q.style.transform=F,q.style.webkitTransform=F}}function p(x){var C=x.target;n("scroll",x,{scrollLeft:C.scrollLeft,scrollTop:C.scrollTop,scrollHeight:C.scrollHeight,scrollWidth:C.scrollWidth,deltaX:t.lastScrollLeft-C.scrollLeft,deltaY:t.lastScrollTop-C.scrollTop}),e.scrollY&&(C.scrollTop<=h.value&&t.lastScrollTop-C.scrollTop>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(n("scrolltoupper",x,{direction:"top"}),t.lastScrollToUpperTime=x.timeStamp),C.scrollTop+C.offsetHeight+b.value>=C.scrollHeight&&t.lastScrollTop-C.scrollTop<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(n("scrolltolower",x,{direction:"bottom"}),t.lastScrollToLowerTime=x.timeStamp)),e.scrollX&&(C.scrollLeft<=h.value&&t.lastScrollLeft-C.scrollLeft>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(n("scrolltoupper",x,{direction:"left"}),t.lastScrollToUpperTime=x.timeStamp),C.scrollLeft+C.offsetWidth+b.value>=C.scrollWidth&&t.lastScrollLeft-C.scrollLeft<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(n("scrolltolower",x,{direction:"right"}),t.lastScrollToLowerTime=x.timeStamp)),t.lastScrollTop=C.scrollTop,t.lastScrollLeft=C.scrollLeft}function c(x){e.scrollY&&(e.scrollWithAnimation?m(x,"y"):o.value.scrollTop=x)}function w(x){e.scrollX&&(e.scrollWithAnimation?m(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 C=a.value.querySelector("#"+x);if(C){var E=o.value.getBoundingClientRect(),P=C.getBoundingClientRect();if(e.scrollX){var F=P.left-E.left,q=o.value.scrollLeft,X=q+F;e.scrollWithAnimation?m(X,"x"):o.value.scrollLeft=X}if(e.scrollY){var ce=P.top-E.top,A=o.value.scrollTop,U=A+ce;e.scrollWithAnimation?m(U,"y"):o.value.scrollTop=U}}}}function g(x,C){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var E=o.value;C==="x"?(E.style.overflowX=e.scrollX?"auto":"hidden",E.scrollLeft=x):C==="y"&&(E.style.overflowY=e.scrollY?"auto":"hidden",E.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"&&(d=!1,n("refresherrestore",{},{})),x==="refresherabort"&&d&&(d=!1,n("refresherabort",{},{}));break}t.refreshState=x}Oe(()=>{or(()=>{c(r.value),w(i.value)}),f(e.scrollIntoView);var x=function(X){X.stopPropagation(),p(X)},C={x:0,y:0},E=null,P=function(X){var ce=X.touches[0].pageX,A=X.touches[0].pageY,U=o.value;if(Math.abs(ce-C.x)>Math.abs(A-C.y))if(e.scrollX){if(U.scrollLeft===0&&ce>C.x){E=!1;return}else if(U.scrollWidth===U.offsetWidth+U.scrollLeft&&ce<C.x){E=!1;return}E=!0}else E=!1;else if(e.scrollY)if(U.scrollTop===0&&A>C.y)E=!1,e.refresherEnabled&&X.cancelable!==!1&&X.preventDefault();else if(U.scrollHeight===U.offsetHeight+U.scrollTop&&A<C.y){E=!1;return}else E=!0;else E=!1;if(E&&X.stopPropagation(),U.scrollTop===0&&X.touches.length===1&&(t.refreshState="pulling"),e.refresherEnabled&&t.refreshState==="pulling"){var te=A-C.y;v===0&&(v=A),u?(t.refresherHeight=te+e.refresherThreshold,d=!1):(t.refresherHeight=A-v,t.refresherHeight>0&&(d=!0,n("refresherpulling",X,{deltaY:te})));var oe=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(oe>1?1:oe)*360}},F=function(X){X.touches.length===1&&(It({disable:!0}),C={x:X.touches[0].pageX,y:X.touches[0].pageY})},q=function(X){C={x:0,y:0},It({disable:!1}),t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort")};o.value.addEventListener("touchstart",F,wo),o.value.addEventListener("touchmove",P),o.value.addEventListener("scroll",x,wo),o.value.addEventListener("touchend",q,wo),un(),xe(()=>{o.value.removeEventListener("touchstart",F),o.value.removeEventListener("touchmove",P),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)}),W(r,x=>{c(x)}),W(i,x=>{w(x)}),W(()=>e.scrollIntoView,x=>{f(x)}),W(()=>e.refresherTriggered,x=>{x===!0?S("refreshing"):x===!1&&S("restore")})}var Q_={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}},eb=he({name:"Slider",props:Q_,emits:["changing","change"],setup(e,{emit:t}){var r=B(null),i=B(null),n=B(null),a=B(Number(e.value));W(()=>e.value,v=>{a.value=Number(v)});var o=Me(r,t),s=tb(e,a),{_onClick:l,_onTrack:u}=rb(e,a,r,i,o);return Oe(()=>{fn(n.value,u)}),()=>{var{setBgColor:v,setBlockBg:d,setActiveColor:_,setBlockStyle:h}=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:d.value,class:"uni-slider-handle"},null,4),M("div",{style:h.value,class:"uni-slider-thumb"},null,4),M("div",{style:_.value,class:"uni-slider-track"},null,4)],4)]),Er(M("span",{ref:i,class:"uni-slider-value"},[a.value],512),[[Lr,e.showValue]])]),M("slot",null,null)],8,["onClick"])}}});function tb(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 rb(e,t,r,i,n){var a=d=>{e.disabled||(s(d),n("change",d,{value:t.value}))},o=d=>{var _=Number(e.max),h=Number(e.min),b=Number(e.step);return d<h?h:d>_?_:ib.mul.call(Math.round((d-h)/b),b)+h},s=d=>{var _=Number(e.max),h=Number(e.min),b=i.value,m=getComputedStyle(b,null).marginLeft,p=b.offsetWidth;p=p+parseInt(m);var c=r.value,w=c.offsetWidth-(e.showValue?p:0),f=c.getBoundingClientRect().left,g=(d.x-f)*(_-h)/w+h;t.value=o(g)},l=d=>{if(!e.disabled)return d.detail.state==="move"?(s({x:d.detail.x}),n("changing",d,{value:t.value}),!1):d.detail.state==="end"&&n("change",d,{value:t.value})},u=ge(lt,!1);if(u){var v={reset:()=>t.value=Number(e.min),submit:()=>{var d=["",null];return e.name!==""&&(d[0]=e.name,d[1]=t.value),d}};u.addField(v),xe(()=>{u.removeField(v)})}return{_onClick:a,_onTrack:l}}var ib={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)}},nb={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 ab(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 ob(e,t,r,i,n,a){function o(){s&&(clearTimeout(s),s=null)}var s=null,l=!0,u=0,v=1,d=null,_=!1,h=0,b,m="",p,c=Q(()=>e.circular&&r.value.length>t.displayMultipleItems);function w(A){if(!l)for(var U=r.value,te=U.length,oe=A+t.displayMultipleItems,j=0;j<te;j++){var J=U[j],re=Math.floor(A/te)*te+j,we=re+te,Y=re-te,ne=Math.max(A-(re+1),re-oe,0),ie=Math.max(A-(we+1),we-oe,0),ve=Math.max(A-(Y+1),Y-oe,0),Ie=Math.min(ne,ie,ve),Ce=[re,we,Y][[ne,ie,ve].indexOf(Ie)];J.updatePosition(Ce,e.vertical)}}function f(A){Math.floor(2*u)===Math.floor(2*A)&&Math.ceil(2*u)===Math.ceil(2*A)||c.value&&w(A);var U=e.vertical?"0":100*-A*v+"%",te=e.vertical?100*-A*v+"%":"0",oe="translate("+U+", "+te+") translateZ(0)",j=i.value;if(j&&(j.style.webkitTransform=oe,j.style.transform=oe),u=A,!b){if(A%1==0)return;b=A}A-=Math.floor(b);var J=r.value;A<=-(J.length-1)?A+=J.length:A>=J.length&&(A-=J.length),A=b%1>.5||b<0?A-1:A,a("transition",{},{dx:e.vertical?0:A*j.offsetWidth,dy:e.vertical?A*j.offsetHeight:0})}function g(){d&&(f(d.toPos),d=null)}function S(A){var U=r.value.length;if(!U)return-1;var te=(Math.round(A)%U+U)%U;if(c.value){if(U<=t.displayMultipleItems)return 0}else if(te>U-t.displayMultipleItems)return U-t.displayMultipleItems;return te}function x(){d=null}function C(){if(!d){_=!1;return}var A=d,U=A.toPos,te=A.acc,oe=A.endTime,j=A.source,J=oe-Date.now();if(J<=0){f(U),d=null,_=!1,b=null;var re=r.value[t.current];if(re){var we=re.getItemId();a("animationfinish",{},{current:t.current,currentItemId:we,source:j})}return}var Y=te*J*J/2,ne=U+Y;f(ne),p=requestAnimationFrame(C)}function E(A,U,te){x();var oe=t.duration,j=r.value.length,J=u;if(c.value)if(te<0){for(;J<A;)J+=j;for(;J-j>A;)J-=j}else if(te>0){for(;J>A;)J-=j;for(;J+j<A;)J+=j}else{for(;J+j<A;)J+=j;for(;J-j>A;)J-=j;J+j-A<A-J&&(J+=j)}d={toPos:A,acc:2*(J-A)/(oe*oe),endTime:Date.now()+oe,source:U},_||(_=!0,p=requestAnimationFrame(C))}function P(){o();var A=r.value,U=function(){s=null,m="autoplay",c.value?t.current=S(t.current+1):t.current=t.current+t.displayMultipleItems<A.length?t.current+1:0,E(t.current,"autoplay",c.value?1:0),s=setTimeout(U,t.interval)};l||A.length<=t.displayMultipleItems||(s=setTimeout(U,t.interval))}function F(){o(),g();for(var A=r.value,U=0;U<A.length;U++)A[U].updatePosition(U,e.vertical);v=1;var te=i.value;if(t.displayMultipleItems===1&&A.length){var oe=A[0].getBoundingClientRect(),j=te.getBoundingClientRect();v=oe.width/j.width,v>0&&v<1||(v=1)}var J=u;u=-2;var re=t.current;re>=0?(l=!1,t.userTracking?(f(J+re-h),h=re):(f(re),e.autoplay&&P())):(l=!0,f(-t.displayMultipleItems-1))}W([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var A=-1;if(e.currentItemId)for(var U=0,te=r.value;U<te.length;U++){var oe=te[U].getItemId();if(oe===e.currentItemId){A=U;break}}A<0&&(A=Math.round(e.current)||0),A=A<0?0:A,t.current!==A&&(m="",t.current=A)}),W([()=>e.vertical,()=>c.value,()=>t.displayMultipleItems,()=>[...r.value]],F),W(()=>t.interval,()=>{s&&(o(),P())});function q(A,U){var te=m;m="";var oe=r.value;if(!te){var j=oe.length;E(A,"",c.value&&U+(j-A)%j>j/2?1:0)}var J=oe[A];if(J){var re=t.currentItemId=J.getItemId();a("change",{},{current:t.current,currentItemId:re,source:te})}}W(()=>t.current,(A,U)=>{q(A,U),n("update:current",A)}),W(()=>t.currentItemId,A=>{n("update:currentItemId",A)});function X(A){A?P():o()}W(()=>e.autoplay&&!t.userTracking,X),X(e.autoplay&&!t.userTracking),Oe(()=>{var A=!1,U=0,te=0;function oe(){o(),h=u,U=0,te=Date.now(),x()}function j(re){var we=te;te=Date.now();var Y=r.value.length,ne=Y-t.displayMultipleItems;function ie(Ge){return .5-.25/(Ge+.5)}function ve(Ge,At){var Ae=h+Ge;U=.6*U+.4*At,c.value||(Ae<0||Ae>ne)&&(Ae<0?Ae=-ie(-Ae):Ae>ne&&(Ae=ne+ie(Ae-ne)),U=0),f(Ae)}var Ie=te-we||1,Ce=i.value;e.vertical?ve(-re.dy/Ce.offsetHeight,-re.ddy/Ie):ve(-re.dx/Ce.offsetWidth,-re.ddx/Ie)}function J(re){t.userTracking=!1;var we=U/Math.abs(U),Y=0;!re&&Math.abs(U)>.2&&(Y=.5*we);var ne=S(u+Y);re?f(h):(m="touch",t.current=ne,E(ne,"touch",Y!==0?Y:ne===0&&c.value&&u>=1?1:0))}fn(i.value,re=>{if(!e.disableTouch&&!l){if(re.detail.state==="start")return t.userTracking=!0,A=!1,oe();if(re.detail.state==="end")return J(!1);if(re.detail.state==="cancel")return J(!0);if(t.userTracking){if(!A){A=!0;var we=Math.abs(re.detail.dx),Y=Math.abs(re.detail.dy);if((we>=Y&&e.vertical||we<=Y&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&P();return}}return j(re.detail),!1}}})}),yt(()=>{o(),cancelAnimationFrame(p)});function ce(A){E(t.current=A,m="click",c.value?1:0)}return{onSwiperDotClick:ce}}var sb=he({name:"Swiper",props:nb,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:r}){var i=B(null),n=Me(i,r),a=B(null),o=B(null),s=ab(e),l=Q(()=>{var c={};return(e.nextMargin||e.previousMargin)&&(c=e.vertical?{left:0,right:0,top:Wt(e.previousMargin,!0),bottom:Wt(e.nextMargin,!0)}:{top:0,bottom:0,left:Wt(e.previousMargin,!0),right:Wt(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=[],d=[],_=B([]);function h(){for(var c=[],w=function(g){var S=v[g];S instanceof Element||(S=S.el);var x=d.find(C=>S===C.rootRef.value);x&&c.push(Ri(x))},f=0;f<v.length;f++)w(f);_.value=c}Vr(()=>{v=o.value.children,h()});var b=function(c){d.push(c),h()};Ne("addSwiperContext",b);var m=function(c){var w=d.indexOf(c);w>=0&&(d.splice(w,1),h())};Ne("removeSwiperContext",m);var{onSwiperDotClick:p}=ob(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((w,f,g)=>M("div",{onClick:()=>p(f),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":f<s.current+s.displayMultipleItems&&f>=s.current||f<s.current+s.displayMultipleItems-g.length},style:{background:f===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"]))],2)],512)],512)}}}),lb={itemId:{type:String,default:""}},ub=he({name:"SwiperItem",props:lb,setup(e,{slots:t}){var r=B(null),i={rootRef:r,getItemId(){return e.itemId},getBoundingClientRect(){var n=r.value;return n.getBoundingClientRect()},updatePosition(n,a){var o=a?"0":100*n+"%",s=a?100*n+"%":"0",l=r.value,u="translate(".concat(o,",").concat(s,") translateZ(0)");l&&(l.style.webkitTransform=u,l.style.transform=u)}};return Oe(()=>{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)}}),fb={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"}},cb=he({name:"Switch",props:fb,emits:["change"],setup(e,{emit:t}){var r=B(null),i=B(e.checked),n=vb(e,i),a=Me(r,t);W(()=>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)})),tn(e,{"label-click":o}),()=>{var{color:s,type:l}=e,u=Dr(e,"disabled");return M("uni-switch",Ye({ref:r},u,{onClick:o}),[M("div",{class:"uni-switch-wrapper"},[Er(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),[[Lr,l==="switch"]]),Er(M("div",{class:"uni-checkbox-input"},[i.value?Zi(Gi,e.color,22):""],512),[[Lr,l==="checkbox"]])])],16,["onClick"])}}});function vb(e,t){var r=ge(lt,!1),i=ge(Br,!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 Yr={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function db(e,t){return e.replace(/\\n/g,`
`).split(`
`).map(r=>hb(r,t))}function hb(e,{space:t,decode:r}){return!e||(t&&Yr[t]&&(e=e.replace(/ /g,Yr[t])),!r)?e:e.replace(/&nbsp;/g,Yr.nbsp).replace(/&ensp;/g,Yr.ensp).replace(/&emsp;/g,Yr.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'")}var pb=fe({},df,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),yo=!1;function gb(){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 mb=he({name:"Textarea",props:pb,emit:["confirm","linechange",...hf],setup(e,{emit:t}){var r=B(null),{fieldRef:i,state:n,scopedAttrsState:a,fixDisabledColor:o,trigger:s}=pf(e,r,t),l=Q(()=>n.value.split(`
`)),u=Q(()=>["done","go","next","search","send"].includes(e.confirmType)),v=B(0),d=B(null);W(()=>v.value,p=>{var c=r.value,w=d.value,f=parseFloat(getComputedStyle(c).lineHeight);isNaN(f)&&(f=w.offsetHeight);var g=Math.round(p/f);s("linechange",{},{height:p,heightRpx:750/window.innerWidth*p,lineCount:g}),e.autoHeight&&(c.style.height=p+"px")});function _({height:p}){v.value=p}function h(p){s("confirm",p,{value:n.value})}function b(p){p.key==="Enter"&&u.value&&p.preventDefault()}function m(p){if(p.key==="Enter"&&u.value){h(p);var c=p.target;c.blur()}}return gb(),()=>{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:b,onKeyup:m},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return M("uni-textarea",{ref:r},[M("div",{class:"uni-textarea-wrapper"},[Er(M("div",Ye(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Lr,!n.value.length]]),M("div",{ref:d,class:"uni-textarea-line"},[" "],512),M("div",{class:"uni-textarea-compute"},[l.value.map(c=>M("div",null,[c.trim()?c:"."])),M(Ht,{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({},Wm);function dn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function Rf(e,t,r){!e||ct(r||Ct(),e,({type:i,data:n},a)=>{t(i,n,a)})}function Lf(e){!e||Yd(Ct(),e)}function hn(e,t,r,i){var n=xt(),a=n.proxy;Oe(()=>{Rf(t||dn(a),e,i),(r||!t)&&W(()=>a.id,(o,s)=>{Rf(dn(a,o),e,i),Lf(s&&dn(a,s))})}),xe(()=>{Lf(t||dn(a))})}var _b=0;function pn(e){var t=Ji(),r=xt(),i=r.proxy,n=i.$options.name.toLowerCase(),a=e||i.id||"context".concat(_b++);return Oe(()=>{var o=i.$el;o.__uniContextInfo={id:a,type:n,page:t}}),"".concat(n,".").concat(a)}function bb(e){return e.__uniContextInfo}class Nf extends Wu{constructor(t,r,i,n,a,o=[]){super(t,r,i,n,a,[...en.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(en.mounted);this.$animate&&(this.$animate=!1,this.call(en.watch.animation.handler))}}}var wb=["space","decode"];class yb extends Nf{constructor(t,r,i,n){super(t,document.createElement("uni-text"),r,i,n,wb);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=db(this._text,{space:r,decode:i}).join(`
`),super.update(t)}}class Sb extends lr{constructor(t,r,i,n){super(t,"#text",r,document.createTextNode(""));this.init(n),this.insert(r,i)}}var hy="",xb=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class Tb extends Nf{constructor(t,r,i,n,a,o=[]){super(t,r,i,n,a,[...xb,...o])}update(t=!1){var r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new Eb(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class Eb{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 Cb extends Tb{constructor(t,r,i,n){super(t,document.createElement("uni-view"),r,i,n)}}function kf(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function Df(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?As+kf():0}var Bf=Symbol("onDraw");function Ob(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"?tt(n):n,r[i.replace(/[A-Z]/g,a=>"-"+a.toLowerCase())]=n}}),r})}function zr(e){var t=Ee({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=B(!1);function i(){var d=e.value,_=d.getBoundingClientRect(),h=["width","height"];r.value=_.width===0||_.height===0,r.value||(t.position=Ob(d)?"absolute":"static",h.push("top","left")),h.forEach(b=>{var m=_[b];m=b==="top"?m+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:Df()):m,t[b]=m+"px"})}var n=null;function a(){n&&cancelAnimationFrame(n),n=requestAnimationFrame(()=>{n=null,i()})}window.addEventListener("updateview",a);var o=[],s=[];function l(d){s?s.push(d):d()}function u(d){var _=ge(Bf),h=b=>{d(b),o.forEach(m=>m(t)),o=null};l(()=>{_?_(h):h({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var v=function(d){o?o.push(d):d(t)};return Ne(Bf,v),Oe(()=>{i(),s.forEach(d=>d()),s=null}),xe(()=>{window.removeEventListener("updateview",a)}),{position:t,hidden:r,onParentReady:u}}var Mb=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=Me(r,t),a=So(e,["id"]),{position:o,onParentReady:s}=zr(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",{},{})}),W(()=>o,v=>l.setStyle(v),{deep:!0}),W(()=>e.adpid,v=>{v&&u()}),W(()=>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:d,data:_,message:h})=>{d===0?l.renderingBind(_):n("error",{},{errMsg:h})})}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=Ib(this),this.$props=Ee({}),this.init(o),this.$app=su($w(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),ee(o,"t")&&this.setText(o.t||""),o.a&&ee(o.a,_i)&&lo(this.$,o.a[_i]),this.insert(n,a),Xl()}init(t){var{a:r,e:i,w:n}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(a=>{this.setAttr(a,r[a])})),ee(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]=Uu(this.$,r,i)}addEvent(t,r){this.$props[t]=$u(this.id,r,ta(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===_i)this.$&&lo(this.$,r);else if(t===Cs)this.$.__ownerId=r;else if(t===Os)Ot(()=>Au(this,r),Ou);else if(t===ia){var i=so(this.$||Ke(this.pid).$,r),n=this.$props.style;it(i)&&it(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.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),jf(this.id),this.removeUniChildren()}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class qr 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 Ib(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 Ab extends _e{constructor(t,r,i,n){super(t,"uni-ad",Mb,r,i,n)}}var py="";class Pb 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 Rb extends fr{constructor(t,r,i){super(t,"uni-camera",r,i)}}var gy="";class Lb extends _e{constructor(t,r,i,n){super(t,"uni-canvas",i0,r,i,n,"uni-canvas > div")}}var my="";class Nb 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 _y="";class kb extends _e{constructor(t,r,i,n){super(t,"uni-checkbox-group",s0,r,i,n)}}var by="",Db=0;function $f(e,t,r){var{position:i,hidden:n,onParentReady:a}=zr(e),o,s;a(l=>{var u=Q(()=>{var f={};for(var g in i){var S=i[g],x=parseFloat(S),C=parseFloat(l[g]);if(g==="top"||g==="left")S=Math.max(x,C)+"px";else if(g==="width"||g==="height"){var E=g==="width"?"left":"top",P=parseFloat(l[E]),F=parseFloat(i[E]),q=Math.max(P-F,0),X=Math.max(F+x-(P+C),0);S=Math.max(x-q-X,0)+"px"}f[g]=S}return f}),v=["borderRadius","borderColor","borderWidth","backgroundColor"],d=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],_=[],h={start:"left",end:"right"};function b(f){var g=getComputedStyle(e.value);return v.concat(d,_).forEach(S=>{f[S]=g[S]}),f}var m=Ee(b({})),p=null;s=function(){p&&cancelAnimationFrame(p),p=requestAnimationFrame(()=>{p=null,b(m)})},window.addEventListener("updateview",s);function c(){var f={};for(var g in f){var S=f[g];(g==="top"||g==="left")&&(S=Math.min(parseFloat(S)-parseFloat(l[g]),0)+"px"),f[g]=S}return f}var w=Q(()=>{var f=c(),g=[{tag:"rect",position:f,rectStyles:{color:m.backgroundColor,radius:m.borderRadius,borderColor:m.borderColor,borderWidth:m.borderWidth}}];if("src"in r)r.src&&g.push({tag:"img",position:f,src:r.src});else{var S=parseFloat(m.lineHeight)-parseFloat(m.fontSize),x=parseFloat(f.width)-parseFloat(m.paddingLeft)-parseFloat(m.paddingRight);x=x<0?0:x;var C=parseFloat(f.height)-parseFloat(m.paddingTop)-S/2-parseFloat(m.paddingBottom);C=C<0?0:C,g.push({tag:"font",position:{top:"".concat(parseFloat(f.top)+parseFloat(m.paddingTop)+S/2,"px"),left:"".concat(parseFloat(f.left)+parseFloat(m.paddingLeft),"px"),width:"".concat(x,"px"),height:"".concat(C,"px")},textStyles:{align:h[m.textAlign]||m.textAlign,color:m.color,decoration:"none",lineSpacing:"".concat(S,"px"),margin:"0px",overflow:m.textOverflow,size:m.fontSize,verticalAlign:"top",weight:m.fontWeight,whiteSpace:m.whiteSpace},text:r.text})}return g});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(Db++),u.value,w.value),plus.webview.currentWebview().append(o),n.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),W(()=>n.value,f=>{o[f?"hide":"show"]()}),W(()=>u.value,f=>{o.setStyle(f)},{deep:!0}),W(()=>w.value,()=>{o.reset(),o.draw(w.value)},{deep:!0})}),xe(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var Bb="_doc/uniapp_temp/",$b={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function Fb(e,t,r){var i=B(""),n;function a(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?tt(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(n=plus.downloader.createDownload(s,{filename:Bb+"/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(),W(()=>e.src,a),xe(()=>{n&&n.abort()}),i}var Ff=he({name:"CoverImage",props:$b,emits:["click","load","error"],setup(e,{emit:t}){var r=B(null),i=Me(r,t),n=Ee({src:""}),a=Fb(e,n,i);return $f(r,i,n),()=>M("uni-cover-image",{ref:r,style:a.value},[M("div",{class:"uni-cover-image"},null)],4)}});class Ub extends _e{constructor(t,r,i,n){super(t,"uni-cover-image",Ff,r,i,n)}}var wy="",Wb=he({name:"CoverView",emits:["click"],setup(e,{emit:t}){var r=B(null),i=B(null),n=Me(r,t),a=Ee({text:""});return $f(r,n,a),Vr(()=>{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 Vb extends qr{constructor(t,r,i,n){super(t,"uni-cover-view",Wb,r,i,n,".uni-cover-view")}}var yy="";class Hb extends _e{constructor(t,r,i,n){super(t,"uni-editor",k0,r,i,n)}}var Sy="";class jb extends _e{constructor(t,r,i,n){super(t,"uni-form",jm,r,i,n,"span")}}class Yb extends fr{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var xy="";class zb extends _e{constructor(t,r,i,n){super(t,"uni-icon",F0,r,i,n)}}var Ty="";class qb extends _e{constructor(t,r,i,n){super(t,"uni-image",V0,r,i,n)}}var Ey="";class Xb extends _e{constructor(t,r,i,n){super(t,"uni-input",l_,r,i,n)}}var Cy="";class Kb extends _e{constructor(t,r,i,n){super(t,"uni-label",qm,r,i,n)}}class Gb extends fr{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class Zb extends fr{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var Oy="",Jb=(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 Qb={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[]}}},ew=he({name:"Map",props:Qb,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,{emit:t}){var r=B(null),i=Me(r,t),n=B(null),a=So(e,["id"]),{position:o,hidden:s,onParentReady:l}=zr(n),u,{_addMarkers:v,_addMapLines:d,_addMapCircles:_,_setMap:h}=tw(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=m=>{i("click",{},m)},u.onstatuschanged=m=>{i("regionchange",{},{})},h(u),v(e.markers),d(e.polyline),_(e.circles),W(()=>a.value,m=>u&&u.setStyles(m),{deep:!0}),W(()=>o,m=>u&&u.setStyles(m),{deep:!0}),W(s,m=>{u&&u[m?"hide":"show"]()}),W(()=>e.scale,m=>{u&&u.setZoom(parseInt(String(m)))}),W([()=>e.latitude,()=>e.longitude],([m,p])=>{u&&u.setStyles({center:new plus.maps.Point(Number(m),Number(p))})}),W(()=>e.markers,m=>{v(m,!0)},{deep:!0}),W(()=>e.polyline,m=>{d(m)},{deep:!0}),W(()=>e.circles,m=>{_(m)},{deep:!0})});var b=Q(()=>e.controls.map(m=>{var p={position:"absolute"};return["top","left","width","height"].forEach(c=>{m.position[c]&&(p[c]=m.position[c]+"px")}),{id:m.id,iconPath:tt(m.iconPath),position:p,clickable:m.clickable}}));return xe(()=>{u&&(u.close(),h(null))}),()=>M("uni-map",{ref:r,id:e.id},[M("div",{ref:n,class:"uni-map-container"},null,512),b.value.map((m,p)=>M(Ff,{key:p,src:m.iconPath,style:m.position,"auto-size":!0,onClick:()=>m.clickable&&i("controltap",{},{controlId:m.id})},null,8,["src","style","auto-size","onClick"])),M("div",{class:"uni-map-slot"},null)],8,["id"])}});function tw(e,t){var r;function i(h,{longitude:b,latitude:m}={}){!r||(r.setCenter(new plus.maps.Point(Number(b||e.longitude),Number(m||e.latitude))),h({errMsg:"moveToLocation:ok"}))}function n(h){!r||r.getCurrentCenter((b,m)=>{h({longitude:m.getLng(),latitude:m.getLat(),errMsg:"getCenterLocation:ok"})})}function a(h){if(!!r){var b=r.getBounds();h({southwest:b.getSouthWest(),northeast:b.getNorthEast(),errMsg:"getRegion:ok"})}}function o(h){!r||h({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(h){if(!!r){var{id:b,latitude:m,longitude:p,iconPath:c,callout:w,label:f}=h;Jb(p,m,g=>{var S,{latitude:x,longitude:C}=g.coord,E=new plus.maps.Marker(new plus.maps.Point(C,x));c&&E.setIcon(tt(c)),f&&f.content&&E.setLabel(f.content);var P=void 0;w&&w.content&&(P=new plus.maps.Bubble(w.content)),P&&E.setBubble(P),(b||b===0)&&(E.onclick=F=>{t("markertap",{},{markerId:b})},P&&(P.onclick=()=>{t("callouttap",{},{markerId:b})})),(S=r)===null||S===void 0||S.addOverlay(E),r.__markers__.push(E)})}}function l(){if(!!r){var h=r.__markers__;h.forEach(b=>{var m;(m=r)===null||m===void 0||m.removeOverlay(b)}),r.__markers__=[]}}function u(h,b){b&&l(),h.forEach(m=>{s(m)})}function v(h){!r||(r.__lines__.length>0&&(r.__lines__.forEach(b=>{var m;(m=r)===null||m===void 0||m.removeOverlay(b)}),r.__lines__=[]),h.forEach(b=>{var m,{color:p,width:c}=b,w=b.points.map(S=>new plus.maps.Point(S.longitude,S.latitude)),f=new plus.maps.Polyline(w);if(p){var g=To(p);f.setStrokeColor(g.color),f.setStrokeOpacity(g.opacity)}c&&f.setLineWidth(c),(m=r)===null||m===void 0||m.addOverlay(f),r.__lines__.push(f)}))}function d(h){!r||(r.__circles__.length>0&&(r.__circles__.forEach(b=>{var m;(m=r)===null||m===void 0||m.removeOverlay(b)}),r.__circles__=[]),h.forEach(b=>{var m,{latitude:p,longitude:c,color:w,fillColor:f,radius:g,strokeWidth:S}=b,x=new plus.maps.Circle(new plus.maps.Point(c,p),g);if(w){var C=To(w);x.setStrokeColor(C.color),x.setStrokeOpacity(C.opacity)}if(f){var E=To(f);x.setFillColor(E.color),x.setFillOpacity(E.opacity)}S&&x.setLineWidth(S),(m=r)===null||m===void 0||m.addOverlay(x),r.__circles__.push(x)}))}var _={moveToLocation:i,getCenterLocation:n,getRegion:a,getScale:o};return hn((h,b,m)=>{_[h]&&_[h](m,b)},pn(),!0),{_addMarkers:u,_addMapLines:v,_addMapCircles:d,_setMap(h){r=h}}}class rw extends _e{constructor(t,r,i,n){super(t,"uni-map",ew,r,i,n,".uni-map-slot")}}var My="";class iw extends qr{constructor(t,r,i,n){super(t,"uni-movable-area",d_,r,i,n)}}var Iy="";class nw extends _e{constructor(t,r,i,n){super(t,"uni-movable-view",g_,r,i,n)}}var Ay="";class aw extends _e{constructor(t,r,i,n){super(t,"uni-navigator",w_,r,i,n)}}class ow extends fr{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class sw extends fr{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var qt,Uf,cr;function Wf(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function Vf(){return qt.webview.currentWebview().id}var gn,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 lw(e,t){Wf()==="v8"?cr?(gn&&gn.close(),gn=new cr(Vf()),gn.onmessage=Oo):Eo||(Eo=Uf.requireModule("globalEvent"),Eo.addEventListener("plusMessage",Oo)):window.__plusMessage=Oo,Co[e]=t}class uw{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 fw({context:e={},url:t,data:r={},style:i={},onMessage:n,onClose:a}){qt=e.plus||plus,Uf=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:Vf(),runtime:Wf(),data:r,useGlobalEvent:!cr}});return u.addEventListener("close",a),lw(s,v=>{typeof n=="function"&&n(v.data),v.keep||u.close("auto")}),u.show(i.animationType,i.animationDuration),new uw(u)}var Te={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},vr={YEAR:"year",MONTH:"month",DAY:"day"};function mn(e){return e>9?e:"0".concat(e)}function _n(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 cw(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 vw(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 dw={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:cw},end:{type:String,default:vw},disabled:{type:[Boolean,String],default:!1}},hw=he({name:"Picker",props:dw,emits:["change","cancel","columnchange"],setup(e,{emit:t}){Fd();var{t:r,getLocale:i}=He(),n=B(null),a=Me(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),w=0;w<c;w++){var f=Number(p[w]),g=Number(o.value[w]),S=isNaN(f)?isNaN(g)?0:g:f;o.value.splice(w,1,S<0?0:S)}}break;case Te.TIME:case Te.DATE:o.value=String(p);break;default:{var x=Number(p);o.value=x<0?0:x;break}}},u=p=>{s.value&&s.value.sendMessage(p)},v=p=>{var c={event:"cancel"};s.value=fw({url:"__uniapppicker",data:p,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:w=>{var f=w.event;if(f==="created"){u(p);return}if(f==="columnchange"){delete w.event,a(f,{},w);return}c=w},onClose:()=>{s.value=null;var w=c.event;delete c.event,w&&a(w,{},c)}})},d=(p,c)=>{plus.nativeUI[e.mode===Te.TIME?"pickTime":"pickDate"](w=>{var f=w.date;a("change",{},{value:e.mode===Te.TIME?"".concat(mn(f.getHours()),":").concat(mn(f.getMinutes())):"".concat(f.getFullYear(),"-").concat(mn(f.getMonth()+1),"-").concat(mn(f.getDate()))})},()=>{a("cancel",{},{})},e.mode===Te.TIME?{time:_n(e.value,Te.TIME),popover:c}:{date:_n(e.value,Te.DATE),minDate:_n(e.start,Te.DATE),maxDate:_n(e.end,Te.DATE),popover:c})},_=(p,c)=>{(p.mode===Te.TIME||p.mode===Te.DATE)&&!p.fields?d(p,c):(p.fields=Object.values(vr).includes(p.fields)?p.fields:vr.DAY,v(p))},h=p=>{if(!e.disabled){var c=p.currentTarget,w=c.getBoundingClientRect();_(Object.assign({},e,{value:o.value,locale:i(),messages:{done:r("uni.picker.done"),cancel:r("uni.picker.cancel")}}),{top:w.top+Df(),left:w.left,width:w.width,height:w.height})}},b=ge(lt,!1),m={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 b&&(b.addField(m),xe(()=>b.removeField(m))),Object.keys(e).forEach(p=>{p!=="name"&&W(()=>e[p],c=>{var w={};w[p]=c,u(w)},{deep:!0})}),W(()=>e.value,l,{deep:!0}),l(),()=>M("uni-picker",{ref:n,onClick:h},[M("slot",null,null)],8,["onClick"])}});class pw extends _e{constructor(t,r,i,n){super(t,"uni-picker",hw,r,i,n)}}var Py="";class gw extends qr{constructor(t,r,i,n){super(t,"uni-picker-view",x_,r,i,n,".uni-picker-view-wrapper")}}var Ry="";class mw extends qr{constructor(t,r,i,n){super(t,"uni-picker-view-column",P_,r,i,n,".uni-picker-view-content")}}var Ly="";class _w extends _e{constructor(t,r,i,n){super(t,"uni-progress",L_,r,i,n)}}var Ny="";class bw 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 ky="";class ww extends _e{constructor(t,r,i,n){super(t,"uni-radio-group",D_,r,i,n)}}var Dy="";class yw extends _e{constructor(t,r,i,n){super(t,"uni-rich-text",X_,r,i,n)}}var By="";class Sw extends _e{constructor(t,r,i,n){super(t,"uni-scroll-view",G_,r,i,n,".uni-scroll-view-content")}setText(t){xo(this.$holder,"uni-scroll-view-refresher",t)}}var $y="";class xw extends _e{constructor(t,r,i,n){super(t,"uni-slider",eb,r,i,n)}}var Fy="";class Tw extends qr{constructor(t,r,i,n){super(t,"uni-swiper",sb,r,i,n,".uni-swiper-slide-frame")}}var Uy="";class Ew extends _e{constructor(t,r,i,n){super(t,"uni-swiper-item",ub,r,i,n)}}var Wy="";class Cw extends _e{constructor(t,r,i,n){super(t,"uni-switch",cb,r,i,n)}}var Vy="";class Ow extends _e{constructor(t,r,i,n){super(t,"uni-textarea",mb,r,i,n)}}var Hy="",Mw={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[]}}},Hf=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],Iw=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],Aw=he({name:"Video",props:Mw,emits:Hf,setup(e,{emit:t}){var r=B(null),i=Me(r,t),n=B(null),a=So(e,["id"]),{position:o,hidden:s,onParentReady:l}=zr(n),u;l(()=>{u=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},a.value,o)),plus.webview.currentWebview().append(u),s.value&&u.hide(),Hf.forEach(d=>{u.addEventListener(d,_=>{i(d,{},_.detail)})}),W(()=>a.value,d=>u.setStyles(d),{deep:!0}),W(()=>o,d=>u.setStyles(d),{deep:!0}),W(()=>s.value,d=>{u[d?"hide":"show"](),d||u.setStyles(o)})});var v=pn();return hn((d,_)=>{if(Iw.includes(d)){var h;switch(d){case"seek":h=_.position;break;case"sendDanmu":h=_;break;case"playbackRate":h=_.rate;break;case"requestFullScreen":h=_.direction;break}u&&u[d](h)}},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 Pw extends _e{constructor(t,r,i,n){super(t,"uni-video",Aw,r,i,n,".uni-video-slot")}}var jy="",Rw={src:{type:String,default:""},webviewStyles:{type:Object,default(){return{}}}},Xe,Lw=({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=As+parseFloat(n.top||"0");plus.navigator.isImmersedStatusbar()&&(o+=kf()),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)},Nw=()=>{var e;plus.webview.currentWebview().remove(Xe),(e=Xe)===null||e===void 0||e.close("none"),Xe=null},kw=he({name:"WebView",props:Rw,setup(e){var t=Ct(),r=B(null),{hidden:i,onParentReady:n}=zr(r),a=Q(()=>e.webviewStyles);return n(()=>{var o,s=B($g+t);Lw({htmlId:s.value,src:tt(e.src),webviewStyles:a.value}),UniViewJSBridge.publishHandler(Dg,{},t),i.value&&((o=Xe)===null||o===void 0||o.hide())}),xe(()=>{Nw(),UniViewJSBridge.publishHandler(Bg,{},t)}),W(()=>e.src,o=>{var s,l=tt(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)}}),W(a,o=>{var s;(s=Xe)===null||s===void 0||s.setStyle(o)}),W(i,o=>{Xe&&Xe[o?"hide":"show"]()}),()=>M("uni-web-view",{ref:r},null,512)}});class Dw extends _e{constructor(t,r,i,n){super(t,"uni-web-view",kw,r,i,n)}}var Bw={"#text":Sb,"#comment":Bm,VIEW:Cb,IMAGE:qb,TEXT:yb,NAVIGATOR:aw,FORM:jb,BUTTON:Pb,INPUT:Xb,LABEL:Kb,RADIO:bw,CHECKBOX:Nb,"CHECKBOX-GROUP":kb,AD:Ab,CAMERA:Rb,CANVAS:Lb,"COVER-IMAGE":Ub,"COVER-VIEW":Vb,EDITOR:Hb,"FUNCTIONAL-PAGE-NAVIGATOR":Yb,ICON:zb,"RADIO-GROUP":ww,"LIVE-PLAYER":Gb,"LIVE-PUSHER":Zb,MAP:rw,"MOVABLE-AREA":iw,"MOVABLE-VIEW":nw,"OFFICIAL-ACCOUNT":ow,"OPEN-DATA":sw,PICKER:pw,"PICKER-VIEW":gw,"PICKER-VIEW-COLUMN":mw,PROGRESS:_w,"RICH-TEXT":yw,"SCROLL-VIEW":Sw,SLIDER:xw,SWIPER:Tw,"SWIPER-ITEM":Ew,SWITCH:Cw,TEXTAREA:Ow,VIDEO:Pw,"WEB-VIEW":Dw};function $w(e,t){return()=>Dp(e,t)}var bn=new Map;function Ke(e){return bn.get(e)}function Fw(e){return bn.get(e)}function jf(e){return bn.delete(e)}function Yf(e,t,r,i,n={}){var a;if(e===0)a=new lr(e,t,r,document.createElement(t));else{var o=Bw[t];o?a=new o(e,r,i,n):a=new Wu(e,document.createElement(t),r,i,n)}return bn.set(e,a),a}var Mo=[],zf=!1;function qf(e){if(zf)return e();Mo.push(e)}function Io(){zf=!0,Mo.forEach(e=>e()),Mo.length=0}function Uw(){}function Xf({css:e,route:t,platform:r,pixelRatio:i,windowWidth:n,disableScroll:a,statusbarHeight:o,windowTop:s,windowBottom:l}){Ww(t),Vw(r,i,n),Hw();var u=plus.webview.currentWebview().id;window.__id__=u,document.title="".concat(t,"[").concat(u,"]"),Yw(o,s,l),a&&document.addEventListener("touchmove",Cg),e?jw(t):Io()}function Ww(e){window.__PAGE_INFO__={route:e}}function Vw(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function Hw(){Yf(0,"div",-1,-1).$=document.getElementById("app")}function jw(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Io,t.onerror=Io,document.head.appendChild(t)}function Yw(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};pg(i)}var Kf=!1;function zw(e){if(!Kf){Kf=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(wd,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(yd)}};requestAnimationFrame(()=>document.addEventListener("scroll",Og(t)))}}function qw({scrollTop:e,selector:t,duration:r},i){Xv(t||e||0,r),i()}function Xw(e){var t=e[0];t[0]===Ms?Kw(t):qf(()=>Gw(e))}function Kw(e){return Xf(e[1])}function Gw(e){var t=e[0],r=mm(t[0]===kg?t[1]:[]);e.forEach(i=>{switch(i[0]){case Ms:return Xf(i[1]);case rd:return Uw();case id:return Yf(i[1],r(i[2]),i[3],i[4],_m(r,i[5]));case nd:return Ke(i[1]).remove();case ad:return Ke(i[1]).setAttr(r(i[2]),r(i[3]));case od:return Ke(i[1]).removeAttr(r(i[2]));case sd:return Ke(i[1]).addEvent(r(i[2]),i[3]);case fd:return Ke(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case ld:return Ke(i[1]).removeEvent(r(i[2]));case ud:return Ke(i[1]).setText(r(i[2]));case cd:return zw(i[1])}}),Sm()}function Zw(){var{subscribe:e}=UniViewJSBridge;e(mu,Xw),e(Fg,He().setLocale)}function Gf(e){return window.__$__(e).$}function Jw(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 Ao(e,t){var r={},{top:i}=hg();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=bb(e)),r}function Qw(e,t){return e?window.__$__(e).$:t.$el}function Zf(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 ey(e,t,r,i,n){var a=Qw(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):Zf(a,r)?a:a.querySelector(r);return u?Ao(u,n):null}else{var v=[],d=(l?o:a).querySelectorAll(r);return d&&d.length&&[].forEach.call(d,_=>{v.push(Ao(_,n))}),!l&&Zf(a,r)&&v.unshift(Ao(a,n)),v}}function ty(e,t,r){var i=[];t.forEach(({component:n,selector:a,single:o,fields:s})=>{n===null?i.push(Jw(s)):i.push(ey(e,n,a,o,s))}),r(i)}function ry({reqId:e,component:t,options:r,callback:i},n){var a=Gf(t);(a.__io||(a.__io={}))[e]=um(a,r,i)}function iy({reqId:e,component:t},r){var i=Gf(t),n=i.__io&&i.__io[e];n&&(n.disconnect(),delete i.__io[e])}var Po={},Ro={};function ny(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(Jf(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Jf(i),": ").concat(e[i],")"));var n=t.join(" and ");return n}function Jf(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function ay({reqId:e,component:t,options:r,callback:i},n){var a=Po[e]=window.matchMedia(ny(r)),o=Ro[e]=s=>i(s.matches);o(a),a.addListener(o)}function oy({reqId:e,component:t},r){var i=Ro[e],n=Po[e];n&&(n.removeListener(i),delete Ro[e],delete Po[e])}function sy({family:e,source:t,desc:r},i){qv(e,t,r).then(()=>{i()}).catch(n=>{i(n.toString())})}var ly={$el:document.body};function uy(){var e=Ct();jd(e,t=>(...r)=>{qf(()=>{t.apply(null,r)})}),ct(e,"requestComponentInfo",(t,r)=>{ty(ly,t.reqs,r)}),ct(e,"addIntersectionObserver",t=>{ry(fe({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),ct(e,"removeIntersectionObserver",t=>{iy(t)}),ct(e,"addMediaQueryObserver",t=>{ay(fe({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),ct(e,"removeMediaQueryObserver",t=>{oy(t)}),ct(e,om,qw),ct(e,am,sy)}window.uni=pm,window.UniViewJSBridge=_u,window.rpx2px=Tu,window.__$__=Ke,window.__f__=Jv;function Qf(){Qd(),uy(),Zw(),gm(),_u.publishHandler(Ng)}typeof plus!="undefined"?Qf():document.addEventListener("plusready",Qf)});