@dcloudio/uni-app-plus 3.0.0-alpha-3041720220614002 → 3.0.0-alpha-3050020220617002
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/uni-app-view.umd.js
CHANGED
|
@@ -1,3 +1 @@
|
|
|
1
|
-
(function(to){typeof define=="function"&&define.amd?define(to):to()})(function(){"use strict";var to="",K2="",G2="",Lr={exports:{}},pa={exports:{}},ma={exports:{}},Uh=ma.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Uh);var _a={exports:{}};_a.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),typeof __g=="number"&&(__g=window);var Hh=ma.exports,Bl="__core-js_shared__",Fl=window[Bl]||(window[Bl]={});(pa.exports=function(e,t){return Fl[e]||(Fl[e]=t!==void 0?t:{})})("versions",[]).push({version:Hh.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var Wh=0,Vh=Math.random(),ro=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++Wh+Vh).toString(36))},io=pa.exports("wks"),jh=ro,ao=_a.exports.Symbol,$l=typeof ao=="function",Yh=Lr.exports=function(e){return io[e]||(io[e]=$l&&ao[e]||($l?ao:jh)("Symbol."+e))};Yh.store=io;var ba={},no=function(e){return typeof e=="object"?e!==null:typeof e=="function"},qh=no,oo=function(e){if(!qh(e))throw TypeError(e+" is not an object!");return e},wa=function(e){try{return!!e()}catch(t){return!0}},ci=!wa(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),zl=no,so=_a.exports.document,Xh=zl(so)&&zl(so.createElement),Ul=function(e){return Xh?so.createElement(e):{}},Zh=!ci&&!wa(function(){return Object.defineProperty(Ul("div"),"a",{get:function(){return 7}}).a!=7}),ya=no,Kh=function(e,t){if(!ya(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ya(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ya(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ya(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Hl=oo,Gh=Zh,Jh=Kh,Qh=Object.defineProperty;ba.f=ci?Object.defineProperty:function(t,r,i){if(Hl(t),r=Jh(r,!0),Hl(i),Gh)try{return Qh(t,r,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var Wl=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},eg=ba,tg=Wl,Pr=ci?function(e,t,r){return eg.f(e,t,tg(1,r))}:function(e,t,r){return e[t]=r,e},lo=Lr.exports("unscopables"),uo=Array.prototype;uo[lo]==null&&Pr(uo,lo,{});var rg=function(e){uo[lo][e]=!0},ig=function(e,t){return{value:t,done:!!e}},fo={},ag={}.toString,ng=function(e){return ag.call(e).slice(8,-1)},og=ng,sg=Object("z").propertyIsEnumerable(0)?Object:function(e){return og(e)=="String"?e.split(""):Object(e)},Vl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},lg=sg,ug=Vl,xa=function(e){return lg(ug(e))},Sa={exports:{}},fg={}.hasOwnProperty,Ea=function(e,t){return fg.call(e,t)},cg=pa.exports("native-function-to-string",Function.toString),Ta=Pr,jl=Ea,co=ro("src"),vo=cg,Yl="toString",vg=(""+vo).split(Yl);ma.exports.inspectSource=function(e){return vo.call(e)},(Sa.exports=function(e,t,r,i){var a=typeof r=="function";a&&(jl(r,"name")||Ta(r,"name",t)),e[t]!==r&&(a&&(jl(r,co)||Ta(r,co,e[t]?""+e[t]:vg.join(String(t)))),e===window?e[t]=r:i?e[t]?e[t]=r:Ta(e,t,r):(delete e[t],Ta(e,t,r)))})(Function.prototype,Yl,function(){return typeof this=="function"&&this[co]||vo.call(this)});var ql=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},dg=ql,hg=function(e,t,r){if(dg(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,a){return e.call(t,i,a)};case 3:return function(i,a,n){return e.call(t,i,a,n)}}return function(){return e.apply(t,arguments)}},Ca=ma.exports,gg=Pr,pg=Sa.exports,Xl=hg,ho="prototype",je=function(e,t,r){var i=e&je.F,a=e&je.G,n=e&je.S,o=e&je.P,s=e&je.B,l=a?window:n?window[t]||(window[t]={}):(window[t]||{})[ho],u=a?Ca:Ca[t]||(Ca[t]={}),f=u[ho]||(u[ho]={}),d,g,h,y;a&&(r=t);for(d in r)g=!i&&l&&l[d]!==void 0,h=(g?l:r)[d],y=s&&g?Xl(h,window):o&&typeof h=="function"?Xl(Function.call,h):h,l&&pg(l,d,h,e&je.U),u[d]!=h&&gg(u,d,y),o&&f[d]!=h&&(f[d]=h)};window.core=Ca,je.F=1,je.G=2,je.S=4,je.P=8,je.B=16,je.W=32,je.U=64,je.R=128;var go=je,mg=Math.ceil,_g=Math.floor,Zl=function(e){return isNaN(e=+e)?0:(e>0?_g:mg)(e)},bg=Zl,wg=Math.min,yg=function(e){return e>0?wg(bg(e),9007199254740991):0},xg=Zl,Sg=Math.max,Eg=Math.min,Tg=function(e,t){return e=xg(e),e<0?Sg(e+t,0):Eg(e,t)},Cg=xa,Og=yg,Ig=Tg,Ag=function(e){return function(t,r,i){var a=Cg(t),n=Og(a.length),o=Ig(i,n),s;if(e&&r!=r){for(;n>o;)if(s=a[o++],s!=s)return!0}else for(;n>o;o++)if((e||o in a)&&a[o]===r)return e||o||0;return!e&&-1}},Kl=pa.exports("keys"),kg=ro,po=function(e){return Kl[e]||(Kl[e]=kg(e))},Gl=Ea,Mg=xa,Rg=Ag(!1),Lg=po("IE_PROTO"),Pg=function(e,t){var r=Mg(e),i=0,a=[],n;for(n in r)n!=Lg&&Gl(r,n)&&a.push(n);for(;t.length>i;)Gl(r,n=t[i++])&&(~Rg(a,n)||a.push(n));return a},Jl="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Ng=Pg,Dg=Jl,mo=Object.keys||function(t){return Ng(t,Dg)},Bg=ba,Fg=oo,$g=mo,zg=ci?Object.defineProperties:function(t,r){Fg(t);for(var i=$g(r),a=i.length,n=0,o;a>n;)Bg.f(t,o=i[n++],r[o]);return t},Ql=_a.exports.document,Ug=Ql&&Ql.documentElement,Hg=oo,Wg=zg,eu=Jl,Vg=po("IE_PROTO"),_o=function(){},bo="prototype",Oa=function(){var e=Ul("iframe"),t=eu.length,r="<",i=">",a;for(e.style.display="none",Ug.appendChild(e),e.src="javascript:",a=e.contentWindow.document,a.open(),a.write(r+"script"+i+"document.F=Object"+r+"/script"+i),a.close(),Oa=a.F;t--;)delete Oa[bo][eu[t]];return Oa()},jg=Object.create||function(t,r){var i;return t!==null?(_o[bo]=Hg(t),i=new _o,_o[bo]=null,i[Vg]=t):i=Oa(),r===void 0?i:Wg(i,r)},Yg=ba.f,qg=Ea,tu=Lr.exports("toStringTag"),ru=function(e,t,r){e&&!qg(e=r?e:e.prototype,tu)&&Yg(e,tu,{configurable:!0,value:t})},Xg=jg,Zg=Wl,Kg=ru,iu={};Pr(iu,Lr.exports("iterator"),function(){return this});var Gg=function(e,t,r){e.prototype=Xg(iu,{next:Zg(1,r)}),Kg(e,t+" Iterator")},Jg=Vl,au=function(e){return Object(Jg(e))},Qg=Ea,ep=au,nu=po("IE_PROTO"),tp=Object.prototype,rp=Object.getPrototypeOf||function(e){return e=ep(e),Qg(e,nu)?e[nu]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?tp:null},wo=go,ip=Sa.exports,ou=Pr,su=fo,ap=Gg,np=ru,op=rp,vi=Lr.exports("iterator"),yo=!([].keys&&"next"in[].keys()),sp="@@iterator",lu="keys",Ia="values",uu=function(){return this},lp=function(e,t,r,i,a,n,o){ap(r,t,i);var s=function(c){if(!yo&&c in d)return d[c];switch(c){case lu:return function(){return new r(this,c)};case Ia:return function(){return new r(this,c)}}return function(){return new r(this,c)}},l=t+" Iterator",u=a==Ia,f=!1,d=e.prototype,g=d[vi]||d[sp]||a&&d[a],h=g||s(a),y=a?u?s("entries"):h:void 0,m=t=="Array"&&d.entries||g,w,p,_;if(m&&(_=op(m.call(new e)),_!==Object.prototype&&_.next&&(np(_,l,!0),typeof _[vi]!="function"&&ou(_,vi,uu))),u&&g&&g.name!==Ia&&(f=!0,h=function(){return g.call(this)}),(yo||f||!d[vi])&&ou(d,vi,h),su[t]=h,su[l]=uu,a)if(w={values:u?h:s(Ia),keys:n?h:s(lu),entries:y},o)for(p in w)p in d||ip(d,p,w[p]);else wo(wo.P+wo.F*(yo||f),t,w);return w},xo=rg,Aa=ig,fu=fo,up=xa,fp=lp(Array,"Array",function(e,t){this._t=up(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,Aa(1)):t=="keys"?Aa(0,r):t=="values"?Aa(0,e[r]):Aa(0,[r,e[r]])},"values");fu.Arguments=fu.Array,xo("keys"),xo("values"),xo("entries");for(var cu=fp,cp=mo,vp=Sa.exports,vu=Pr,du=fo,hu=Lr.exports,gu=hu("iterator"),pu=hu("toStringTag"),mu=du.Array,_u={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},bu=cp(_u),So=0;So<bu.length;So++){var ka=bu[So],dp=_u[ka],wu=window[ka],ur=wu&&wu.prototype,Ma;if(ur&&(ur[gu]||vu(ur,gu,mu),ur[pu]||vu(ur,pu,ka),du[ka]=mu,dp))for(Ma in cu)ur[Ma]||vp(ur,Ma,cu[Ma],!0)}function Ra(e,t){for(var r=Object.create(null),i=e.split(","),a=0;a<i.length;a++)r[i[a]]=!0;return t?n=>!!r[n.toLowerCase()]:n=>!!r[n]}var hp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",gp=Ra(hp);function yu(e){return!!e||e===""}var pp=Ra("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 Eo(e){if(te(e)){for(var t={},r=0;r<e.length;r++){var i=e[r],a=ve(i)?xu(i):Eo(i);if(a)for(var n in a)t[n]=a[n]}return t}else{if(ve(e))return e;if(He(e))return e}}var mp=/;(?![^(]*\))/g,_p=/:(.+)/;function xu(e){var t={};return e.split(mp).forEach(r=>{if(r){var i=r.split(_p);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function bp(e){var t="";if(!e||ve(e))return t;for(var r in e){var i=e[r],a=r.startsWith("--")?r:Je(r);(ve(i)||typeof i=="number"&&pp(a))&&(t+="".concat(a,":").concat(i,";"))}return t}function To(e){var t="";if(ve(e))t=e;else if(te(e))for(var r=0;r<e.length;r++){var i=To(e[r]);i&&(t+=i+" ")}else if(He(e))for(var a in e)e[a]&&(t+=a+" ");return t.trim()}var Ee={},di=[],mt=()=>{},wp=()=>!1,yp=/^on[^a-z]/,La=e=>yp.test(e),Co=e=>e.startsWith("onUpdate:"),fe=Object.assign,Oo=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},xp=Object.prototype.hasOwnProperty,ne=(e,t)=>xp.call(e,t),te=Array.isArray,hi=e=>gi(e)==="[object Map]",Sp=e=>gi(e)==="[object Set]",re=e=>typeof e=="function",ve=e=>typeof e=="string",Io=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",Su=e=>He(e)&&re(e.then)&&re(e.catch),Ep=Object.prototype.toString,gi=e=>Ep.call(e),Ao=e=>gi(e).slice(8,-1),_t=e=>gi(e)==="[object Object]",ko=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pa=Ra(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Na=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},Tp=/-(\w)/g,Ht=Na(e=>e.replace(Tp,(t,r)=>r?r.toUpperCase():"")),Cp=/\B([A-Z])/g,Je=Na(e=>e.replace(Cp,"-$1").toLowerCase()),Mo=Na(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ro=Na(e=>e?"on".concat(Mo(e)):""),pi=(e,t)=>!Object.is(e,t),Lo=(e,t)=>{for(var r=0;r<e.length;r++)e[r](t)},Da=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Op=e=>{var t=parseFloat(e);return isNaN(t)?e:t},Eu,Ip=()=>Eu||(Eu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),Ap=wa,kp=function(e,t){return!!e&&Ap(function(){t?e.call(null,function(){},1):e.call(null)})},Po=go,Mp=ql,Tu=au,Cu=wa,No=[].sort,Ou=[1,2,3];Po(Po.P+Po.F*(Cu(function(){Ou.sort(void 0)})||!Cu(function(){Ou.sort(null)})||!kp(No)),"Array",{sort:function(t){return t===void 0?No.call(Tu(this)):No.call(Tu(this),Mp(t))}});var mi=`
|
|
2
|
-
`,Iu=44,Ba="#007aff",Rp=/^([a-z-]+:)?\/\//i,Lp=/^data:.*,.*/,Au="wxs://",ku="json://",Pp="wxsModules",Np="renderjsModules",Dp="onPageScroll",Bp="onReachBottom",Fp="onWxsInvokeCallMethod",Do=0;function Bo(e){var t=Date.now(),r=Do?t-Do:0;Do=t;for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;n<i;n++)a[n-1]=arguments[n];return"[".concat(t,"][").concat(r,"ms][").concat(e,"]\uFF1A").concat(a.map(o=>JSON.stringify(o)).join(" "))}function $p(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function zp(e){return $p(e)}function Up(e){return e.indexOf("/")===0}function Fo(e){return Up(e)?e:"/"+e}function _i(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];r=e.apply(t,a),e=null}return r}}function Mu(e,t){if(!!ve(t)){t=t.replace(/\[(\d+)\]/g,".$1");var r=t.split("."),i=r[0];return e||(e={}),r.length===1?e[i]:Mu(e[i],r.slice(1).join("."))}}function Ru(e){return Ht(e.substring(5))}var Hp=_i(()=>{var e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(i,a){if(i.startsWith("data-")&&this.tagName.startsWith("UNI-")){var n=this.__uniDataset||(this.__uniDataset={});n[Ru(i)]=a}t.call(this,i,a)};var r=e.removeAttribute;e.removeAttribute=function(i){this.__uniDataset&&i.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[Ru(i)],r.call(this,i)}});function $o(e){return fe({},e.dataset,e.__uniDataset)}function bi(e){return{passive:e}}function zo(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:$o(e),offsetTop:r,offsetLeft:i}}function Wp(e,t,r){var i=document.fonts;if(i){var a=new FontFace(e,t,r);return a.load().then(()=>{i.add&&i.add(a)})}return new Promise(n=>{var o=document.createElement("style"),s=[];if(r){var{style:l,weight:u,stretch:f,unicodeRange:d,variant:g,featureSettings:h}=r;l&&s.push("font-style:".concat(l)),u&&s.push("font-weight:".concat(u)),f&&s.push("font-stretch:".concat(f)),d&&s.push("unicode-range:".concat(d)),g&&s.push("font-variant:".concat(g)),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),n()})}function Vp(e,t,r){if(ve(e)){var i=document.querySelector(e);if(i){var{height:a,top:n}=i.getBoundingClientRect();e=n+window.pageYOffset,r&&(e-=a)}}e<0&&(e=0);var o=document.documentElement,{clientHeight:s,scrollHeight:l}=o;if(e=Math.min(e,l-s),t===0){o.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var u=f=>{if(f<=0){window.scrollTo(0,e);return}var d=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+d/f*10),u(f-10)})};u(t)}}function jp(){return typeof __channelId__=="string"&&__channelId__}function Yp(e,t){switch(Ao(t)){case"Function":return"function() { [native code] }";default:return t}}function qp(e,t,r){if(jp())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(a){var n=gi(a).toLowerCase();if(["[object object]","[object array]","[object module]"].indexOf(n)!==-1)try{a="---BEGIN:JSON---"+JSON.stringify(a,Yp)+"---END:JSON---"}catch(s){a=n}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{var o=Ao(a).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?a="---BEGIN:"+o+"---"+a+"---END:"+o+"---":a=String(a)}return a});return i.join("---COMMA---")+" "+t}function Xp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];var n=qp(e,t,i);n&&console[e](n)}function Nr(e){if(!!re(e)){if(window.plus)return e();document.addEventListener("plusready",e)}}function Zp(e,t){return t&&(t.capture&&(e+="Capture"),t.once&&(e+="Once"),t.passive&&(e+="Passive")),"on".concat(Mo(Ht(e)))}var Lu=/(?:Once|Passive|Capture)$/;function Uo(e){var t;if(Lu.test(e)){t={};for(var r;r=e.match(Lu);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Je(e.slice(2)),t]}var Ho=(()=>({stop:1,prevent:1<<1,self:1<<2}))(),Pu="class",Wo="style",Kp="innerHTML",Gp="textContent",Fa=".vShow",Nu=".vOwnerId",Du=".vRenderjs",Vo="change:",Bu=1,Jp=2,Qp=3,em=4,tm=5,rm=6,im=7,am=8,nm=9,om=10,sm=12,lm=15,um=20;function fm(e,t,r){var{clearTimeout:i,setTimeout:a}=r,n,o=function(){i(n);var s=()=>e.apply(this,arguments);n=a(s,t)};return o.cancel=function(){i(n)},o}var Fu=function(){};Fu.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 a(){i.off(e,a),t.apply(r,arguments)}return a._=t,this.on(e,a,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,a=r.length;for(i;i<a;i++)r[i].fn.apply(r[i].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),i=r[e],a=[];if(i&&t)for(var n=0,o=i.length;n<o;n++)i[n].fn!==t&&i[n].fn._!==t&&a.push(i[n]);return a.length?r[e]=a:delete r[e],this}};var $u=Fu,cm=e=>e!==null&&typeof e=="object",vm=["{","}"];class dm{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:vm;if(!r)return[t];var a=this._caches[t];return a||(a=pm(t,i),this._caches[t]=a),mm(a,r)}}var hm=/^(?:\d)+/,gm=/^(?:\w)+/;function pm(e,t){for(var[r,i]=t,a=[],n=0,o="";n<e.length;){var s=e[n++];if(s===r){o&&a.push({type:"text",value:o}),o="";var l="";for(s=e[n++];s!==void 0&&s!==i;)l+=s,s=e[n++];var u=s===i,f=hm.test(l)?"list":u&&gm.test(l)?"named":"unknown";a.push({value:l,type:f})}else o+=s}return o&&a.push({type:"text",value:o}),a}function mm(e,t){var r=[],i=0,a=Array.isArray(t)?"list":cm(t)?"named":"unknown";if(a==="unknown")return r;for(;i<e.length;){var n=e[i];switch(n.type){case"text":r.push(n.value);break;case"list":r.push(t[parseInt(n.value,10)]);break;case"named":a==="named"&&r.push(t[n.value]);break}i++}return r}var wi="zh-Hans",$a="zh-Hant",Wt="en",jo="fr",Yo="es",_m=Object.prototype.hasOwnProperty,zu=(e,t)=>_m.call(e,t),bm=new dm;function wm(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function ym(e,t){return t.find(r=>e.indexOf(r)===0)}function Uu(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return wi;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?wi:e.indexOf("-hant")>-1||wm(e,["-tw","-hk","-mo","-cht"])?$a:wi;var r=ym(e,[Wt,jo,Yo]);if(r)return r}}class xm{constructor(t){var{locale:r,fallbackLocale:i,messages:a,watcher:n,formater:o}=t;this.locale=Wt,this.fallbackLocale=Wt,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=o||bm,this.messages=a||{},this.setLocale(r||Wt),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=Uu(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){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=this.messages[t];a?i?Object.assign(a,r):Object.keys(r).forEach(n=>{zu(a,n)||(a[n]=r[n])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var a=this.message;return typeof r=="string"?(r=Uu(r,this.messages),r&&(a=this.messages[r])):i=r,zu(a,t)?this.formater.interpolate(a[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function Sm(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function Em(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():Wt}function Tm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=Em()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||Wt);var a=new xm({locale:e,fallbackLocale:r,messages:t,watcher:i}),n=(o,s)=>{if(typeof getApp!="function")n=function(u,f){return a.t(u,f)};else{var l=!1;n=function(u,f){var d=getApp().$vm;return d&&(d.$locale,l||(l=!0,Sm(d,a))),a.t(u,f)}}return n(o,s)};return{i18n:a,f(o,s,l){return a.f(o,s,l)},t(o,s){return n(o,s)},add(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return a.add(o,s,l)},watch(o){return a.watchLocale(o)},getLocale(){return a.getLocale()},setLocale(o){return a.setLocale(o)}}}var Cm=_i(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length),yi;function Qe(){if(!yi){var e;if(typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,yi=Tm(e),Cm()){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(r=>yi.add(r,__uniConfig.locales[r])),yi.setLocale(e)}}return yi}function bt(e,t,r){return t.reduce((i,a,n)=>(i[e+a]=r[n],i),{})}var Om=_i(()=>{var e="uni.picker.",t=["done","cancel"];Qe().add(Wt,bt(e,t,["Done","Cancel"]),!1),Qe().add(Yo,bt(e,t,["OK","Cancelar"]),!1),Qe().add(jo,bt(e,t,["OK","Annuler"]),!1),Qe().add(wi,bt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),Qe().add($a,bt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),Im=_i(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Qe().add(Wt,bt(e,t,["feedback","send"]),!1),Qe().add(Yo,bt(e,t,["realimentaci\xF3n","enviar"]),!1),Qe().add(jo,bt(e,t,["retour d'information","envoyer"]),!1),Qe().add(wi,bt(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),Qe().add($a,bt(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)});function Am(e){var t=new $u;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){for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;n<i;n++)a[n-1]=arguments[n];return t.emit(r,...a)},subscribe(r,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;t[a?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,a){t.emit("".concat(e,".").concat(r),i,a)}}}var Hu="invokeViewApi",Wu="invokeServiceApi",km=1,Mm=(e,t,r)=>{var{subscribe:i,publishHandler:a}=UniViewJSBridge,n=r?km++:0;r&&i(Wu+"."+n,r,!0),a(Wu,{id:n,name:e,args:t})},za=Object.create(null);function Ua(e,t){return e+"."+t}function Rm(e,t){UniViewJSBridge.subscribe(Ua(e,Hu),t?t(Vu):Vu)}function wt(e,t,r){t=Ua(e,t),za[t]||(za[t]=r)}function Lm(e,t){t=Ua(e,t),delete za[t]}function Vu(e,t){var{id:r,name:i,args:a}=e;i=Ua(t,i);var n=s=>{r&&UniViewJSBridge.publishHandler(Hu+"."+r,s)},o=za[i];o?o(a,n):n({})}var Pm=fe(Am("service"),{invokeServiceMethod:Mm}),Nm=350,ju=10,Ha=bi(!0),xi;function Si(){xi&&(clearTimeout(xi),xi=null)}var Yu=0,qu=0;function Dm(e){if(Si(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];Yu=t,qu=r,xi=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)},Nm)}}function Bm(e){if(!!xi){if(e.touches.length!==1)return Si();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-Yu)>ju||Math.abs(r-qu)>ju)return Si()}}function Fm(){window.addEventListener("touchstart",Dm,Ha),window.addEventListener("touchmove",Bm,Ha),window.addEventListener("touchend",Si,Ha),window.addEventListener("touchcancel",Si,Ha)}function Xu(e,t){var r=Number(e);return isNaN(r)?t:r}function $m(){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 zm(){var e=__uniConfig.globalStyle||{},t=Xu(e.rpxCalcMaxDeviceWidth,960),r=Xu(e.rpxCalcBaseDeviceWidth,375);function i(){var a=$m();a=a<=t?a:r,document.documentElement.style.fontSize=a/23.4375+"px"}i(),document.addEventListener("DOMContentLoaded",i),window.addEventListener("load",i),window.addEventListener("resize",i)}function Um(){zm(),Hp(),Fm()}var yt;class Hm{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&yt&&(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}run(t){if(this.active){var r=yt;try{return yt=this,t()}finally{yt=r}}}on(){yt=this}off(){yt=this.parent}stop(t){if(this.active){var r,i;for(r=0,i=this.effects.length;r<i;r++)this.effects[r].stop();for(r=0,i=this.cleanups.length;r<i;r++)this.cleanups[r]();if(this.scopes)for(r=0,i=this.scopes.length;r<i;r++)this.scopes[r].stop(!0);if(this.parent&&!t){var a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.active=!1}}}function Wm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yt;t&&t.active&&t.effects.push(e)}var qo=e=>{var t=new Set(e);return t.w=0,t.n=0,t},Zu=e=>(e.w&Vt)>0,Ku=e=>(e.n&Vt)>0,Vm=e=>{var{deps:t}=e;if(t.length)for(var r=0;r<t.length;r++)t[r].w|=Vt},jm=e=>{var{deps:t}=e;if(t.length){for(var r=0,i=0;i<t.length;i++){var a=t[i];Zu(a)&&!Ku(a)?a.delete(e):t[r++]=a,a.w&=~Vt,a.n&=~Vt}t.length=r}},Xo=new WeakMap,Ei=0,Vt=1,Zo=30,ct,fr=Symbol(""),Ko=Symbol("");class Go{constructor(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,Wm(this,i)}run(){if(!this.active)return this.fn();for(var t=ct,r=jt;t;){if(t===this)return;t=t.parent}try{return this.parent=ct,ct=this,jt=!0,Vt=1<<++Ei,Ei<=Zo?Vm(this):Gu(this),this.fn()}finally{Ei<=Zo&&jm(this),Vt=1<<--Ei,ct=this.parent,jt=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ct===this?this.deferStop=!0:this.active&&(Gu(this),this.onStop&&this.onStop(),this.active=!1)}}function Gu(e){var{deps:t}=e;if(t.length){for(var r=0;r<t.length;r++)t[r].delete(e);t.length=0}}var jt=!0,Ju=[];function Dr(){Ju.push(jt),jt=!1}function Br(){var e=Ju.pop();jt=e===void 0?!0:e}function et(e,t,r){if(jt&&ct){var i=Xo.get(e);i||Xo.set(e,i=new Map);var a=i.get(r);a||i.set(r,a=qo()),Qu(a)}}function Qu(e,t){var r=!1;Ei<=Zo?Ku(e)||(e.n|=Vt,r=!Zu(e)):r=!e.has(ct),r&&(e.add(ct),ct.deps.push(e))}function Lt(e,t,r,i,a,n){var o=Xo.get(e);if(!!o){var s=[];if(t==="clear")s=[...o.values()];else if(r==="length"&&te(e))o.forEach((f,d)=>{(d==="length"||d>=i)&&s.push(f)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":te(e)?ko(r)&&s.push(o.get("length")):(s.push(o.get(fr)),hi(e)&&s.push(o.get(Ko)));break;case"delete":te(e)||(s.push(o.get(fr)),hi(e)&&s.push(o.get(Ko)));break;case"set":hi(e)&&s.push(o.get(fr));break}if(s.length===1)s[0]&&Jo(s[0]);else{var l=[];for(var u of s)u&&l.push(...u);Jo(qo(l))}}}function Jo(e,t){var r=te(e)?e:[...e];for(var i of r)i.computed&&ef(i);for(var a of r)a.computed||ef(a)}function ef(e,t){(e!==ct||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var Ym=Ra("__proto__,__v_isRef,__isVue"),tf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Io)),qm=Qo(),Xm=Qo(!1,!0),Zm=Qo(!0),rf=Km();function Km(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=_e(this),i=0,a=this.length;i<a;i++)et(r,"get",i+"");for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var l=r[t](...o);return l===-1||l===!1?r[t](...o.map(_e)):l}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(){Dr();for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var n=_e(this)[t].apply(this,i);return Br(),n}}),e}function Qo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(i,a,n){if(a==="__v_isReactive")return!e;if(a==="__v_isReadonly")return e;if(a==="__v_isShallow")return t;if(a==="__v_raw"&&n===(e?t?v0:vf:t?cf:ff).get(i))return i;var o=te(i);if(!e&&o&&ne(rf,a))return Reflect.get(rf,a,n);var s=Reflect.get(i,a,n);return(Io(a)?tf.has(a):Ym(a))||(e||et(i,"get",a),t)?s:We(s)?o&&ko(a)?s:s.value:He(s)?e?df(s):ke(s):s}}var Gm=af(),Jm=af(!0);function af(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,a,n){var o=r[i];if(Ti(o)&&We(o)&&!We(a))return!1;if(!e&&!Ti(a)&&(is(a)||(a=_e(a),o=_e(o)),!te(r)&&We(o)&&!We(a)))return o.value=a,!0;var s=te(r)&&ko(i)?Number(i)<r.length:ne(r,i),l=Reflect.set(r,i,a,n);return r===_e(n)&&(s?pi(a,o)&&Lt(r,"set",i,a):Lt(r,"add",i,a)),l}}function Qm(e,t){var r=ne(e,t);e[t];var i=Reflect.deleteProperty(e,t);return i&&r&&Lt(e,"delete",t,void 0),i}function e0(e,t){var r=Reflect.has(e,t);return(!Io(t)||!tf.has(t))&&et(e,"has",t),r}function t0(e){return et(e,"iterate",te(e)?"length":fr),Reflect.ownKeys(e)}var nf={get:qm,set:Gm,deleteProperty:Qm,has:e0,ownKeys:t0},r0={get:Zm,set(e,t){return!0},deleteProperty(e,t){return!0}},i0=fe({},nf,{get:Xm,set:Jm}),es=e=>e,Wa=e=>Reflect.getPrototypeOf(e);function Va(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e=e.__v_raw;var a=_e(e),n=_e(t);r||(t!==n&&et(a,"get",t),et(a,"get",n));var{has:o}=Wa(a),s=i?es:r?as:Ci;if(o.call(a,t))return s(e.get(t));if(o.call(a,n))return s(e.get(n));e!==a&&e.get(t)}function ja(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=_e(r),a=_e(e);return t||(e!==a&&et(i,"has",e),et(i,"has",a)),e===a?r.has(e):r.has(e)||r.has(a)}function Ya(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&et(_e(e),"iterate",fr),Reflect.get(e,"size",e)}function of(e){e=_e(e);var t=_e(this),r=Wa(t),i=r.has.call(t,e);return i||(t.add(e),Lt(t,"add",e,e)),this}function sf(e,t){t=_e(t);var r=_e(this),{has:i,get:a}=Wa(r),n=i.call(r,e);n||(e=_e(e),n=i.call(r,e));var o=a.call(r,e);return r.set(e,t),n?pi(t,o)&&Lt(r,"set",e,t):Lt(r,"add",e,t),this}function lf(e){var t=_e(this),{has:r,get:i}=Wa(t),a=r.call(t,e);a||(e=_e(e),a=r.call(t,e)),i&&i.call(t,e);var n=t.delete(e);return a&&Lt(t,"delete",e,void 0),n}function uf(){var e=_e(this),t=e.size!==0,r=e.clear();return t&&Lt(e,"clear",void 0,void 0),r}function qa(e,t){return function(i,a){var n=this,o=n.__v_raw,s=_e(o),l=t?es:e?as:Ci;return!e&&et(s,"iterate",fr),o.forEach((u,f)=>i.call(a,l(u),l(f),n))}}function Xa(e,t,r){return function(){var i=this.__v_raw,a=_e(i),n=hi(a),o=e==="entries"||e===Symbol.iterator&&n,s=e==="keys"&&n,l=i[e](...arguments),u=r?es:t?as:Ci;return!t&&et(a,"iterate",s?Ko:fr),{next(){var{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:o?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Yt(e){return function(){return e==="delete"?!1:this}}function a0(){var e={get(n){return Va(this,n)},get size(){return Ya(this)},has:ja,add:of,set:sf,delete:lf,clear:uf,forEach:qa(!1,!1)},t={get(n){return Va(this,n,!1,!0)},get size(){return Ya(this)},has:ja,add:of,set:sf,delete:lf,clear:uf,forEach:qa(!1,!0)},r={get(n){return Va(this,n,!0)},get size(){return Ya(this,!0)},has(n){return ja.call(this,n,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:qa(!0,!1)},i={get(n){return Va(this,n,!0,!0)},get size(){return Ya(this,!0)},has(n){return ja.call(this,n,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:qa(!0,!0)},a=["keys","values","entries",Symbol.iterator];return a.forEach(n=>{e[n]=Xa(n,!1,!1),r[n]=Xa(n,!0,!1),t[n]=Xa(n,!1,!0),i[n]=Xa(n,!0,!0)}),[e,r,t,i]}var[n0,o0,s0,l0]=a0();function ts(e,t){var r=t?e?l0:s0:e?o0:n0;return(i,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(ne(r,a)&&a in i?r:i,a,n)}var u0={get:ts(!1,!1)},f0={get:ts(!1,!0)},c0={get:ts(!0,!1)},ff=new WeakMap,cf=new WeakMap,vf=new WeakMap,v0=new WeakMap;function d0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function h0(e){return e.__v_skip||!Object.isExtensible(e)?0:d0(Ao(e))}function ke(e){return Ti(e)?e:rs(e,!1,nf,u0,ff)}function g0(e){return rs(e,!1,i0,f0,cf)}function df(e){return rs(e,!0,r0,c0,vf)}function rs(e,t,r,i,a){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var n=a.get(e);if(n)return n;var o=h0(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return a.set(e,s),s}function Fr(e){return Ti(e)?Fr(e.__v_raw):!!(e&&e.__v_isReactive)}function Ti(e){return!!(e&&e.__v_isReadonly)}function is(e){return!!(e&&e.__v_isShallow)}function hf(e){return Fr(e)||Ti(e)}function _e(e){var t=e&&e.__v_raw;return t?_e(t):e}function Za(e){return Da(e,"__v_skip",!0),e}var Ci=e=>He(e)?ke(e):e,as=e=>He(e)?df(e):e;function gf(e){jt&&ct&&(e=_e(e),Qu(e.dep||(e.dep=qo())))}function pf(e,t){e=_e(e),e.dep&&Jo(e.dep)}function We(e){return!!(e&&e.__v_isRef===!0)}function B(e){return mf(e,!1)}function ns(e){return mf(e,!0)}function mf(e,t){return We(e)?e:new p0(e,t)}class p0{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:_e(t),this._value=r?t:Ci(t)}get value(){return gf(this),this._value}set value(t){t=this.__v_isShallow?t:_e(t),pi(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ci(t),pf(this))}}function m0(e){return We(e)?e.value:e}var _0={get:(e,t,r)=>m0(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var a=e[t];return We(a)&&!We(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function _f(e){return Fr(e)?e:new Proxy(e,_0)}class b0{constructor(t,r,i,a){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Go(t,()=>{this._dirty||(this._dirty=!0,pf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){var t=_e(this);return gf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function w0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i,a,n=re(e);n?(i=e,a=mt):(i=e.get,a=e.set);var o=new b0(i,a,n||!a,r);return o}function qt(e,t,r,i){var a;try{a=i?e(...i):e()}catch(n){Ka(n,t,r)}return a}function vt(e,t,r,i){if(re(e)){var a=qt(e,t,r,i);return a&&Su(a)&&a.catch(s=>{Ka(s,t,r)}),a}for(var n=[],o=0;o<e.length;o++)n.push(vt(e[o],t,r,i));return n}function Ka(e,t,r){if(t&&t.vnode,t){for(var i=t.parent,a=t.proxy,n=r;i;){var o=i.ec;if(o){for(var s=0;s<o.length;s++)if(o[s](e,a,n)===!1)return}i=i.parent}var l=t.appContext.config.errorHandler;if(l){qt(l,null,10,[e,a,n]);return}}y0(e)}function y0(e,t,r){e instanceof Error?console.error(e.message+`
|
|
3
|
-
`+e.stack):console.error(e)}var Ga=!1,os=!1,tt=[],Pt=0,Oi=[],Ii=null,$r=0,Ai=[],Xt=null,zr=0,bf=Promise.resolve(),ss=null,ls=null;function Ur(e){var t=ss||bf;return e?t.then(this?e.bind(this):e):t}function x0(e){for(var t=Pt+1,r=tt.length;t<r;){var i=t+r>>>1,a=ki(tt[i]);a<e?t=i+1:r=i}return t}function wf(e){(!tt.length||!tt.includes(e,Ga&&e.allowRecurse?Pt+1:Pt))&&e!==ls&&(e.id==null?tt.push(e):tt.splice(x0(e.id),0,e),yf())}function yf(){!Ga&&!os&&(os=!0,ss=bf.then(Ef))}function S0(e){var t=tt.indexOf(e);t>Pt&&tt.splice(t,1)}function xf(e,t,r,i){te(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),yf()}function E0(e){xf(e,Ii,Oi,$r)}function T0(e){xf(e,Xt,Ai,zr)}function Ja(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Oi.length){for(ls=t,Ii=[...new Set(Oi)],Oi.length=0,$r=0;$r<Ii.length;$r++)Ii[$r]();Ii=null,$r=0,ls=null,Ja(e,t)}}function Sf(e){if(Ja(),Ai.length){var t=[...new Set(Ai)];if(Ai.length=0,Xt){Xt.push(...t);return}for(Xt=t,Xt.sort((r,i)=>ki(r)-ki(i)),zr=0;zr<Xt.length;zr++)Xt[zr]();Xt=null,zr=0}}var ki=e=>e.id==null?1/0:e.id;function Ef(e){os=!1,Ga=!0,Ja(e),tt.sort((i,a)=>ki(i)-ki(a));var t=mt;try{for(Pt=0;Pt<tt.length;Pt++){var r=tt[Pt];r&&r.active!==!1&&qt(r,null,14)}}finally{Pt=0,tt.length=0,Sf(),Ga=!1,ss=null,(tt.length||Oi.length||Ai.length)&&Ef(e)}}function C0(e,t){if(!e.isUnmounted){for(var r=e.vnode.props||Ee,i=arguments.length,a=new Array(i>2?i-2:0),n=2;n<i;n++)a[n-2]=arguments[n];var o=a,s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){var u="".concat(l==="modelValue"?"model":l,"Modifiers"),{number:f,trim:d}=r[u]||Ee;d&&(o=a.map(m=>m.trim())),f&&(o=a.map(Op))}var g,h=r[g=Ro(t)]||r[g=Ro(Ht(t))];!h&&s&&(h=r[g=Ro(Je(t))]),h&&vt(h,e,6,o);var y=r[g+"Once"];if(y){if(!e.emitted)e.emitted={};else if(e.emitted[g])return;e.emitted[g]=!0,vt(y,e,6,o)}}}function Tf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;var n=e.emits,o={},s=!1;if(!re(e)){var l=u=>{var f=Tf(u,t,!0);f&&(s=!0,fe(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!n&&!s?(i.set(e,null),null):(te(n)?n.forEach(u=>o[u]=null):fe(o,n),i.set(e,o),o)}function Qa(e,t){return!e||!La(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Je(t))||ne(e,t))}var dt=null,Cf=null;function en(e){var t=dt;return dt=e,Cf=e&&e.type.__scopeId||null,t}function O0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dt;if(!t||e._n)return e;var r=function(){r._d&&Xf(-1);var i=en(t),a=e(...arguments);return en(i),r._d&&Xf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function J2(){}function us(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:d,data:g,setupState:h,ctx:y,inheritAttrs:m}=e,w,p,_=en(e);try{if(r.shapeFlag&4){var c=a||i;w=St(f.call(c,c,d,n,h,g,y)),p=l}else{var v=t;w=St(v.length>1?v(n,{attrs:l,slots:s,emit:u}):v(n,null)),p=t.props?l:I0(l)}}catch(C){Ka(C,e,1),w=A(Hr)}var b=w;if(p&&m!==!1){var x=Object.keys(p),{shapeFlag:E}=b;x.length&&E&7&&(o&&x.some(Co)&&(p=A0(p,o)),b=Vr(b,p))}return r.dirs&&(b=Vr(b),b.dirs=b.dirs?b.dirs.concat(r.dirs):r.dirs),r.transition&&(b.transition=r.transition),w=b,en(_),w}var I0=e=>{var t;for(var r in e)(r==="class"||r==="style"||La(r))&&((t||(t={}))[r]=e[r]);return t},A0=(e,t)=>{var r={};for(var i in e)(!Co(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function k0(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:l}=t,u=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?Of(i,o,u):!!o;if(l&8)for(var f=t.dynamicProps,d=0;d<f.length;d++){var g=f[d];if(o[g]!==i[g]&&!Qa(u,g))return!0}}else return(a||s)&&(!s||!s.$stable)?!0:i===o?!1:i?o?Of(i,o,u):!0:!!o;return!1}function Of(e,t,r){var i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(var a=0;a<i.length;a++){var n=i[a];if(t[n]!==e[n]&&!Qa(r,n))return!0}return!1}function M0(e,t){for(var{vnode:r,parent:i}=e;i&&i.subTree===r;)(r=i.vnode).el=t,i=i.parent}var R0=e=>e.__isSuspense;function L0(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):T0(e)}function $e(e,t){if(ze){var r=ze.provides,i=ze.parent&&ze.parent.provides;i===r&&(r=ze.provides=Object.create(i)),r[e]=t}}function be(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=ze||dt;if(i){var a=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return r&&re(t)?t.call(i.proxy):t}}function P0(e,t){return fs(e,null,t)}var If={};function W(e,t,r){return fs(e,t,r)}function fs(e,t){var{immediate:r,deep:i,flush:a,onTrack:n,onTrigger:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ee,s=ze,l,u=!1,f=!1;if(We(e)?(l=()=>e.value,u=is(e)):Fr(e)?(l=()=>e,i=!0):te(e)?(f=!0,u=e.some(_=>Fr(_)||is(_)),l=()=>e.map(_=>{if(We(_))return _.value;if(Fr(_))return cr(_);if(re(_))return qt(_,s,2)})):re(e)?t?l=()=>qt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return g&&g(),vt(e,s,3,[h])}:l=mt,t&&i){var d=l;l=()=>cr(d())}var g,h=_=>{g=p.onStop=()=>{qt(_,s,4)}};if(Li)return h=mt,t?r&&vt(t,s,3,[l(),f?[]:void 0,h]):l(),mt;var y=f?[]:If,m=()=>{if(!!p.active)if(t){var _=p.run();(i||u||(f?_.some((c,v)=>pi(c,y[v])):pi(_,y)))&&(g&&g(),vt(t,s,3,[_,y===If?void 0:y,h]),y=_)}else p.run()};m.allowRecurse=!!t;var w;a==="sync"?w=m:a==="post"?w=()=>Xe(m,s&&s.suspense):w=()=>E0(m);var p=new Go(l,w);return t?r?m():y=p.run():a==="post"?Xe(p.run.bind(p),s&&s.suspense):p.run(),()=>{p.stop(),s&&s.scope&&Oo(s.scope.effects,p)}}function N0(e,t,r){var i=this.proxy,a=ve(e)?e.includes(".")?Af(i,e):()=>i[e]:e.bind(i,i),n;re(t)?n=t:(n=t.handler,r=t);var o=ze;jr(this);var s=fs(a,n.bind(i),r);return o?jr(o):gr(),s}function Af(e,t){var r=t.split(".");return()=>{for(var i=e,a=0;a<r.length&&i;a++)i=i[r[a]];return i}}function cr(e,t){if(!He(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),We(e))cr(e.value,t);else if(te(e))for(var r=0;r<e.length;r++)cr(e[r],t);else if(Sp(e)||hi(e))e.forEach(a=>{cr(a,t)});else if(_t(e))for(var i in e)cr(e[i],t);return e}function D0(e){return re(e)?{setup:e,name:e.name}:e}var tn=e=>!!e.type.__asyncLoader,kf=e=>e.type.__isKeepAlive;function cs(e,t){Mf(e,"a",t)}function B0(e,t){Mf(e,"da",t)}function Mf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ze,i=e.__wdc||(e.__wdc=()=>{for(var n=r;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(rn(t,i,r),r)for(var a=r.parent;a&&a.parent;)kf(a.parent.vnode)&&F0(i,t,r,a),a=a.parent}function F0(e,t,r,i){var a=rn(t,e,i,!0);Zt(()=>{Oo(i[t],a)},r)}function rn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ze,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r){var a=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=function(){if(!r.isUnmounted){Dr(),jr(r);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];var u=vt(t,r,e,s);return gr(),Br(),u}});return i?a.unshift(n):a.push(n),n}}var Nt=e=>function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ze;return(!Li||e==="sp")&&rn(e,t,r)},Rf=Nt("bm"),Le=Nt("m"),$0=Nt("bu"),z0=Nt("u"),Oe=Nt("bum"),Zt=Nt("um"),U0=Nt("sp"),H0=Nt("rtg"),W0=Nt("rtc");function V0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ze;rn("ec",e,t)}function Mi(e,t){var r=dt;if(r===null)return e;for(var i=un(r)||r.proxy,a=e.dirs||(e.dirs=[]),n=0;n<t.length;n++){var[o,s,l,u=Ee]=t[n];re(o)&&(o={mounted:o,updated:o}),o.deep&&cr(s),a.push({dir:o,instance:i,value:s,oldValue:void 0,arg:l,modifiers:u})}return e}function vr(e,t,r,i){for(var a=e.dirs,n=t&&t.dirs,o=0;o<a.length;o++){var s=a[o];n&&(s.oldValue=n[o].value);var l=s.dir[i];l&&(Dr(),vt(l,r,8,[e.el,s,e,t]),Br())}}var j0=Symbol(),vs=e=>e?Gf(e)?un(e)||e.proxy:vs(e.parent):null,an=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=>vs(e.parent),$root:e=>vs(e.root),$emit:e=>e.emit,$options:e=>Nf(e),$forceUpdate:e=>e.f||(e.f=()=>wf(e.update)),$nextTick:e=>e.n||(e.n=Ur.bind(e.proxy)),$watch:e=>N0.bind(e)}),Y0={get(e,t){var{_:r}=e,{ctx:i,setupState:a,data:n,props:o,accessCache:s,type:l,appContext:u}=r,f;if(t[0]!=="$"){var d=s[t];if(d!==void 0)switch(d){case 1:return a[t];case 2:return n[t];case 4:return i[t];case 3:return o[t]}else{if(a!==Ee&&ne(a,t))return s[t]=1,a[t];if(n!==Ee&&ne(n,t))return s[t]=2,n[t];if((f=r.propsOptions[0])&&ne(f,t))return s[t]=3,o[t];if(i!==Ee&&ne(i,t))return s[t]=4,i[t];ds&&(s[t]=0)}}var g=an[t],h,y;if(g)return t==="$attrs"&&et(r,"get",t),g(r);if((h=l.__cssModules)&&(h=h[t]))return h;if(i!==Ee&&ne(i,t))return s[t]=4,i[t];if(y=u.config.globalProperties,ne(y,t))return y[t]},set(e,t,r){var{_:i}=e,{data:a,setupState:n,ctx:o}=i;return n!==Ee&&ne(n,t)?(n[t]=r,!0):a!==Ee&&ne(a,t)?(a[t]=r,!0):ne(i.props,t)||t[0]==="$"&&t.slice(1)in i?!1:(o[t]=r,!0)},has(e,t){var{_:{data:r,setupState:i,accessCache:a,ctx:n,appContext:o,propsOptions:s}}=e,l;return!!a[t]||r!==Ee&&ne(r,t)||i!==Ee&&ne(i,t)||(l=s[0])&&ne(l,t)||ne(n,t)||ne(an,t)||ne(o.config.globalProperties,t)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ne(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},ds=!0;function q0(e){var t=Nf(e),r=e.proxy,i=e.ctx;ds=!1,t.beforeCreate&&Lf(t.beforeCreate,e,"bc");var{data:a,computed:n,methods:o,watch:s,provide:l,inject:u,created:f,beforeMount:d,mounted:g,beforeUpdate:h,updated:y,activated:m,deactivated:w,beforeDestroy:p,beforeUnmount:_,destroyed:c,unmounted:v,render:b,renderTracked:x,renderTriggered:E,errorCaptured:C,serverPrefetch:O,expose:M,inheritAttrs:R,components:z,directives:ie,filters:L}=t,H=null;if(u&&X0(u,i,H,e.appContext.config.unwrapInjectedRef),o)for(var q in o){var ae=o[q];re(ae)&&(i[q]=ae.bind(r))}if(a&&function(){var le=a.call(r,r);He(le)&&(e.data=ke(le))}(),ds=!0,n){var V=function(le){var J=n[le],Se=re(J)?J.bind(r,r):re(J.get)?J.get.bind(r,r):mt,ye=!re(J)&&re(J.set)?J.set.bind(r):mt,Ve=ee({get:Se,set:ye});Object.defineProperty(i,le,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:sr=>Ve.value=sr})};for(var K in n)V(K)}if(s)for(var oe in s)Pf(s[oe],i,r,oe);if(l){var Ce=re(l)?l.call(r):l;Reflect.ownKeys(Ce).forEach(le=>{$e(le,Ce[le])})}f&&Lf(f,e,"c");function se(le,J){te(J)?J.forEach(Se=>le(Se.bind(r))):J&&le(J.bind(r))}if(se(Rf,d),se(Le,g),se($0,h),se(z0,y),se(cs,m),se(B0,w),se(V0,C),se(W0,x),se(H0,E),se(Oe,_),se(Zt,v),se(U0,O),te(M))if(M.length){var ge=e.exposed||(e.exposed={});M.forEach(le=>{Object.defineProperty(ge,le,{get:()=>r[le],set:J=>r[le]=J})})}else e.exposed||(e.exposed={});b&&e.render===mt&&(e.render=b),R!=null&&(e.inheritAttrs=R),z&&(e.components=z),ie&&(e.directives=ie)}function X0(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;te(e)&&(e=hs(e));var i=function(n){var o=e[n],s=void 0;He(o)?"default"in o?s=be(o.from||n,o.default,!0):s=be(o.from||n):s=be(o),We(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[n]=s};for(var a in e)i(a)}function Lf(e,t,r){vt(te(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function Pf(e,t,r,i){var a=i.includes(".")?Af(r,i):()=>r[i];if(ve(e)){var n=t[e];re(n)&&W(a,n)}else if(re(e))W(a,e.bind(r));else if(He(e))if(te(e))e.forEach(s=>Pf(s,t,r,i));else{var o=re(e.handler)?e.handler.bind(r):t[e.handler];re(o)&&W(a,o,e)}}function Nf(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,s=n.get(t),l;return s?l=s:!a.length&&!r&&!i?l=t:(l={},a.length&&a.forEach(u=>nn(l,u,o,!0)),nn(l,t,o)),n.set(t,l),l}function nn(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:a,extends:n}=t;n&&nn(e,n,r,!0),a&&a.forEach(l=>nn(e,l,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=Z0[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var Z0={data:Df,props:dr,emits:dr,methods:dr,computed:dr,beforeCreate:Ye,created:Ye,beforeMount:Ye,mounted:Ye,beforeUpdate:Ye,updated:Ye,beforeDestroy:Ye,beforeUnmount:Ye,destroyed:Ye,unmounted:Ye,activated:Ye,deactivated:Ye,errorCaptured:Ye,serverPrefetch:Ye,components:dr,directives:dr,watch:G0,provide:Df,inject:K0};function Df(e,t){return t?e?function(){return fe(re(e)?e.call(this,this):e,re(t)?t.call(this,this):t)}:t:e}function K0(e,t){return dr(hs(e),hs(t))}function hs(e){if(te(e)){for(var t={},r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Ye(e,t){return e?[...new Set([].concat(e,t))]:t}function dr(e,t){return e?fe(fe(Object.create(null),e),t):t}function G0(e,t){if(!e)return t;if(!t)return e;var r=fe(Object.create(null),e);for(var i in t)r[i]=Ye(e[i],t[i]);return r}function J0(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a={},n={};Da(n,sn,1),e.propsDefaults=Object.create(null),Bf(e,t,a,n);for(var o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:g0(a):e.type.props?e.props=a:e.props=n,e.attrs=n}function Q0(e,t,r,i){var{props:a,attrs:n,vnode:{patchFlag:o}}=e,s=_e(a),[l]=e.propsOptions,u=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var f=e.vnode.dynamicProps,d=0;d<f.length;d++){var g=f[d];if(!Qa(e.emitsOptions,g)){var h=t[g];if(l)if(ne(n,g))h!==n[g]&&(n[g]=h,u=!0);else{var y=Ht(g);a[y]=gs(l,s,y,h,e,!1)}else h!==n[g]&&(n[g]=h,u=!0)}}}else{Bf(e,t,a,n)&&(u=!0);var m;for(var w in s)(!t||!ne(t,w)&&((m=Je(w))===w||!ne(t,m)))&&(l?r&&(r[w]!==void 0||r[m]!==void 0)&&(a[w]=gs(l,s,w,void 0,e,!0)):delete a[w]);if(n!==s)for(var p in n)(!t||!ne(t,p)&&!0)&&(delete n[p],u=!0)}u&&Lt(e,"set","$attrs")}function Bf(e,t,r,i){var[a,n]=e.propsOptions,o=!1,s;if(t){for(var l in t)if(!Pa(l)){var u=t[l],f=void 0;a&&ne(a,f=Ht(l))?!n||!n.includes(f)?r[f]=u:(s||(s={}))[f]=u:Qa(e.emitsOptions,l)||(!(l in i)||u!==i[l])&&(i[l]=u,o=!0)}}if(n)for(var d=_e(r),g=s||Ee,h=0;h<n.length;h++){var y=n[h];r[y]=gs(a,d,y,g[y],e,!ne(g,y))}return o}function gs(e,t,r,i,a,n){var o=e[r];if(o!=null){var s=ne(o,"default");if(s&&i===void 0){var l=o.default;if(o.type!==Function&&re(l)){var{propsDefaults:u}=a;r in u?i=u[r]:(jr(a),i=u[r]=l.call(null,t),gr())}else i=l}o[0]&&(n&&!s?i=!1:o[1]&&(i===""||i===Je(r))&&(i=!0))}return i}function Ff(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,a=i.get(e);if(a)return a;var n=e.props,o={},s=[],l=!1;if(!re(e)){var u=c=>{l=!0;var[v,b]=Ff(c,t,!0);fe(o,v),b&&s.push(...b)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!n&&!l)return i.set(e,di),di;if(te(n))for(var f=0;f<n.length;f++){var d=Ht(n[f]);$f(d)&&(o[d]=Ee)}else if(n)for(var g in n){var h=Ht(g);if($f(h)){var y=n[g],m=o[h]=te(y)||re(y)?{type:y}:y;if(m){var w=Hf(Boolean,m.type),p=Hf(String,m.type);m[0]=w>-1,m[1]=p<0||w<p,(w>-1||ne(m,"default"))&&s.push(h)}}}var _=[o,s];return i.set(e,_),_}function $f(e){return e[0]!=="$"}function zf(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Uf(e,t){return zf(e)===zf(t)}function Hf(e,t){return te(t)?t.findIndex(r=>Uf(r,e)):re(t)&&Uf(t,e)?0:-1}var Wf=e=>e[0]==="_"||e==="$stable",ps=e=>te(e)?e.map(St):[St(e)],e_=(e,t,r)=>{if(t._n)return t;var i=O0(function(){return ps(t(...arguments))},r);return i._c=!1,i},Vf=(e,t,r)=>{var i=e._ctx;for(var a in e)if(!Wf(a)){var n=e[a];re(n)?t[a]=e_(a,n,i):n!=null&&function(){var o=ps(n);t[a]=()=>o}()}},jf=(e,t)=>{var r=ps(t);e.slots.default=()=>r},t_=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=_e(t),Da(t,"_",r)):Vf(t,e.slots={})}else e.slots={},t&&jf(e,t);Da(e.slots,sn,1)},r_=(e,t,r)=>{var{vnode:i,slots:a}=e,n=!0,o=Ee;if(i.shapeFlag&32){var s=t._;s?r&&s===1?n=!1:(fe(a,t),!r&&s===1&&delete a._):(n=!t.$stable,Vf(t,a)),o=t}else t&&(jf(e,t),o={default:1});if(n)for(var l in a)!Wf(l)&&!(l in o)&&delete a[l]};function Yf(){return{app:null,config:{isNativeTag:wp,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 i_=0;function a_(e,t){return function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;re(i)||(i=Object.assign({},i)),a!=null&&!He(a)&&(a=null);var n=Yf(),o=new Set,s=!1,l=n.app={_uid:i_++,_component:i,_props:a,_container:null,_context:n,_instance:null,version:w_,get config(){return n.config},set config(u){},use(u){for(var f=arguments.length,d=new Array(f>1?f-1:0),g=1;g<f;g++)d[g-1]=arguments[g];return o.has(u)||(u&&re(u.install)?(o.add(u),u.install(l,...d)):re(u)&&(o.add(u),u(l,...d))),l},mixin(u){return n.mixins.includes(u)||n.mixins.push(u),l},component(u,f){return f?(n.components[u]=f,l):n.components[u]},directive(u,f){return f?(n.directives[u]=f,l):n.directives[u]},mount(u,f,d){if(!s){var g=A(i,a);return g.appContext=n,f&&t?t(g,u):e(g,u,d),s=!0,l._container=u,u.__vue_app__=l,un(g.component)||g.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,f){return n.provides[u]=f,l}};return l}}function ms(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(te(e)){e.forEach((m,w)=>ms(m,t&&(te(t)?t[w]:t),r,i,a));return}if(!(tn(i)&&!a)){var n=i.shapeFlag&4?un(i.component)||i.component.proxy:i.el,o=a?null:n,{i:s,r:l}=e,u=t&&t.r,f=s.refs===Ee?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(ve(u)?(f[u]=null,ne(d,u)&&(d[u]=null)):We(u)&&(u.value=null)),re(l))qt(l,s,12,[o,f]);else{var g=ve(l),h=We(l);if(g||h){var y=()=>{if(e.f){var m=g?f[l]:l.value;a?te(m)&&Oo(m,n):te(m)?m.includes(n)||m.push(n):g?(f[l]=[n],ne(d,l)&&(d[l]=f[l])):(l.value=[n],e.k&&(f[e.k]=l.value))}else g?(f[l]=o,ne(d,l)&&(d[l]=o)):h&&(l.value=o,e.k&&(f[e.k]=o))};o?(y.id=-1,Xe(y,r)):y()}}}}var Xe=L0;function n_(e){return o_(e)}function o_(e,t){var r=Ip();r.__VUE__=!0;var{insert:i,remove:a,patchProp:n,createElement:o,createText:s,createComment:l,setText:u,setElementText:f,parentNode:d,nextSibling:g,setScopeId:h=mt,cloneNode:y,insertStaticContent:m}=e,w=function(S,T,k){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,$=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,j=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,F=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,U=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!T.dynamicChildren;if(S!==T){S&&!Ri(S,T)&&(P=Ve(S),ge(S,N,$,!0),S=null),T.patchFlag===-2&&(U=!1,T.dynamicChildren=null);var{type:D,ref:Q,shapeFlag:G}=T;switch(D){case _s:p(S,T,k,P);break;case Hr:_(S,T,k,P);break;case bs:S==null&&c(T,k,P,j);break;case xt:ie(S,T,k,P,N,$,j,F,U);break;default:G&1?x(S,T,k,P,N,$,j,F,U):G&6?L(S,T,k,P,N,$,j,F,U):(G&64||G&128)&&D.process(S,T,k,P,N,$,j,F,U,Ne)}Q!=null&&N&&ms(Q,S&&S.ref,$,T||S,!T)}},p=(S,T,k,P)=>{if(S==null)i(T.el=s(T.children),k,P);else{var N=T.el=S.el;T.children!==S.children&&u(N,T.children)}},_=(S,T,k,P)=>{S==null?i(T.el=l(T.children||""),k,P):T.el=S.el},c=(S,T,k,P)=>{[S.el,S.anchor]=m(S.children,T,k,P,S.el,S.anchor)},v=(S,T,k)=>{for(var{el:P,anchor:N}=S,$;P&&P!==N;)$=g(P),i(P,T,k),P=$;i(N,T,k)},b=S=>{for(var{el:T,anchor:k}=S,P;T&&T!==k;)P=g(T),a(T),T=P;a(k)},x=(S,T,k,P,N,$,j,F,U)=>{j=j||T.type==="svg",S==null?E(T,k,P,N,$,j,F,U):M(S,T,N,$,j,F,U)},E=(S,T,k,P,N,$,j,F)=>{var U,D,{type:Q,props:G,shapeFlag:Z,transition:ce,patchFlag:Be,dirs:Te}=S;if(S.el&&y!==void 0&&Be===-1)U=S.el=y(S.el);else{if(U=S.el=o(S.type,$,G&&G.is,G),Z&8?f(U,S.children):Z&16&&O(S.children,U,null,P,N,$&&Q!=="foreignObject",j,F),Te&&vr(S,null,P,"created"),G){for(var I in G)I!=="value"&&!Pa(I)&&n(U,I,null,G[I],$,S.children,P,N,ye);"value"in G&&n(U,"value",null,G.value),(D=G.onVnodeBeforeMount)&&Et(D,P,S)}C(U,S,S.scopeId,j,P)}Object.defineProperty(U,"__vueParentComponent",{value:P,enumerable:!1}),Te&&vr(S,null,P,"beforeMount");var Y=(!N||N&&!N.pendingBranch)&&ce&&!ce.persisted;Y&&ce.beforeEnter(U),i(U,T,k),((D=G&&G.onVnodeMounted)||Y||Te)&&Xe(()=>{D&&Et(D,P,S),Y&&ce.enter(U),Te&&vr(S,null,P,"mounted")},N)},C=(S,T,k,P,N)=>{if(k&&h(S,k),P)for(var $=0;$<P.length;$++)h(S,P[$]);if(N){var j=N.subTree;if(T===j){var F=N.vnode;C(S,F,F.scopeId,F.slotScopeIds,N.parent)}}},O=function(S,T,k,P,N,$,j,F){for(var U=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,D=U;D<S.length;D++){var Q=S[D]=F?Kt(S[D]):St(S[D]);w(null,Q,T,k,P,N,$,j,F)}},M=(S,T,k,P,N,$,j)=>{var F=T.el=S.el,{patchFlag:U,dynamicChildren:D,dirs:Q}=T;U|=S.patchFlag&16;var G=S.props||Ee,Z=T.props||Ee,ce;k&&hr(k,!1),(ce=Z.onVnodeBeforeUpdate)&&Et(ce,k,T,S),Q&&vr(T,S,k,"beforeUpdate"),k&&hr(k,!0);var Be=N&&T.type!=="foreignObject";if(D?R(S.dynamicChildren,D,F,k,P,Be,$):j||K(S,T,F,null,k,P,Be,$,!1),U>0){if(U&16)z(F,T,G,Z,k,P,N);else if(U&2&&G.class!==Z.class&&n(F,"class",null,Z.class,N),U&4&&n(F,"style",G.style,Z.style,N),U&8)for(var Te=T.dynamicProps,I=0;I<Te.length;I++){var Y=Te[I],X=G[Y],pe=Z[Y];(pe!==X||Y==="value")&&n(F,Y,X,pe,N,S.children,k,P,ye)}U&1&&S.children!==T.children&&f(F,T.children)}else!j&&D==null&&z(F,T,G,Z,k,P,N);((ce=Z.onVnodeUpdated)||Q)&&Xe(()=>{ce&&Et(ce,k,T,S),Q&&vr(T,S,k,"updated")},P)},R=(S,T,k,P,N,$,j)=>{for(var F=0;F<T.length;F++){var U=S[F],D=T[F],Q=U.el&&(U.type===xt||!Ri(U,D)||U.shapeFlag&70)?d(U.el):k;w(U,D,Q,null,P,N,$,j,!0)}},z=(S,T,k,P,N,$,j)=>{if(k!==P){for(var F in P)if(!Pa(F)){var U=P[F],D=k[F];U!==D&&F!=="value"&&n(S,F,D,U,j,T.children,N,$,ye)}if(k!==Ee)for(var Q in k)!Pa(Q)&&!(Q in P)&&n(S,Q,k[Q],null,j,T.children,N,$,ye);"value"in P&&n(S,"value",k.value,P.value)}},ie=(S,T,k,P,N,$,j,F,U)=>{var D=T.el=S?S.el:s(""),Q=T.anchor=S?S.anchor:s(""),{patchFlag:G,dynamicChildren:Z,slotScopeIds:ce}=T;ce&&(F=F?F.concat(ce):ce),S==null?(i(D,k,P),i(Q,k,P),O(T.children,k,Q,N,$,j,F,U)):G>0&&G&64&&Z&&S.dynamicChildren?(R(S.dynamicChildren,Z,k,N,$,j,F),(T.key!=null||N&&T===N.subTree)&&qf(S,T,!0)):K(S,T,k,Q,N,$,j,F,U)},L=(S,T,k,P,N,$,j,F,U)=>{T.slotScopeIds=F,S==null?T.shapeFlag&512?N.ctx.activate(T,k,P,j,U):H(T,k,P,N,$,j,U):q(S,T,U)},H=(S,T,k,P,N,$,j)=>{var F=S.component=h_(S,P,N);if(kf(S)&&(F.ctx.renderer=Ne),g_(F),F.asyncDep){if(N&&N.registerDep(F,ae),!S.el){var U=F.subTree=A(Hr);_(null,U,T,k)}return}ae(F,S,T,k,N,$,j)},q=(S,T,k)=>{var P=T.component=S.component;if(k0(S,T,k))if(P.asyncDep&&!P.asyncResolved){V(P,T,k);return}else P.next=T,S0(P.update),P.update();else T.el=S.el,P.vnode=T},ae=(S,T,k,P,N,$,j)=>{var F=()=>{if(S.isMounted){var{next:ue,bu:Fe,u:Ge,parent:De,vnode:pt}=S,lr=ue,Rt;hr(S,!1),ue?(ue.el=pt.el,V(S,ue,j)):ue=pt,Fe&&Lo(Fe),(Rt=ue.props&&ue.props.onVnodeBeforeUpdate)&&Et(Rt,De,ue,pt),hr(S,!0);var Mr=us(S),Ut=S.subTree;S.subTree=Mr,w(Ut,Mr,d(Ut.el),Ve(Ut),S,N,$),ue.el=Mr.el,lr===null&&M0(S,Mr.el),Ge&&Xe(Ge,N),(Rt=ue.props&&ue.props.onVnodeUpdated)&&Xe(()=>Et(Rt,De,ue,pt),N)}else{var Q,{el:G,props:Z}=T,{bm:ce,m:Be,parent:Te}=S,I=tn(T);if(hr(S,!1),ce&&Lo(ce),!I&&(Q=Z&&Z.onVnodeBeforeMount)&&Et(Q,Te,T),hr(S,!0),G&&ga){var Y=()=>{S.subTree=us(S),ga(G,S.subTree,S,N,null)};I?T.type.__asyncLoader().then(()=>!S.isUnmounted&&Y()):Y()}else{var X=S.subTree=us(S);w(null,X,k,P,S,N,$),T.el=X.el}if(Be&&Xe(Be,N),!I&&(Q=Z&&Z.onVnodeMounted)){var pe=T;Xe(()=>Et(Q,Te,pe),N)}(T.shapeFlag&256||Te&&tn(Te.vnode)&&Te.vnode.shapeFlag&256)&&S.a&&Xe(S.a,N),S.isMounted=!0,T=k=P=null}},U=S.effect=new Go(F,()=>wf(D),S.scope),D=S.update=()=>U.run();D.id=S.uid,hr(S,!0),D()},V=(S,T,k)=>{T.component=S;var P=S.vnode.props;S.vnode=T,S.next=null,Q0(S,T.props,P,k),r_(S,T.children,k),Dr(),Ja(void 0,S.update),Br()},K=function(S,T,k,P,N,$,j,F){var U=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,D=S&&S.children,Q=S?S.shapeFlag:0,G=T.children,{patchFlag:Z,shapeFlag:ce}=T;if(Z>0){if(Z&128){Ce(D,G,k,P,N,$,j,F,U);return}else if(Z&256){oe(D,G,k,P,N,$,j,F,U);return}}ce&8?(Q&16&&ye(D,N,$),G!==D&&f(k,G)):Q&16?ce&16?Ce(D,G,k,P,N,$,j,F,U):ye(D,N,$,!0):(Q&8&&f(k,""),ce&16&&O(G,k,P,N,$,j,F,U))},oe=(S,T,k,P,N,$,j,F,U)=>{S=S||di,T=T||di;var D=S.length,Q=T.length,G=Math.min(D,Q),Z;for(Z=0;Z<G;Z++){var ce=T[Z]=U?Kt(T[Z]):St(T[Z]);w(S[Z],ce,k,null,N,$,j,F,U)}D>Q?ye(S,N,$,!0,!1,G):O(T,k,P,N,$,j,F,U,G)},Ce=(S,T,k,P,N,$,j,F,U)=>{for(var D=0,Q=T.length,G=S.length-1,Z=Q-1;D<=G&&D<=Z;){var ce=S[D],Be=T[D]=U?Kt(T[D]):St(T[D]);if(Ri(ce,Be))w(ce,Be,k,null,N,$,j,F,U);else break;D++}for(;D<=G&&D<=Z;){var Te=S[G],I=T[Z]=U?Kt(T[Z]):St(T[Z]);if(Ri(Te,I))w(Te,I,k,null,N,$,j,F,U);else break;G--,Z--}if(D>G){if(D<=Z)for(var Y=Z+1,X=Y<Q?T[Y].el:P;D<=Z;)w(null,T[D]=U?Kt(T[D]):St(T[D]),k,X,N,$,j,F,U),D++}else if(D>Z)for(;D<=G;)ge(S[D],N,$,!0),D++;else{var pe=D,ue=D,Fe=new Map;for(D=ue;D<=Z;D++){var Ge=T[D]=U?Kt(T[D]):St(T[D]);Ge.key!=null&&Fe.set(Ge.key,D)}var De,pt=0,lr=Z-ue+1,Rt=!1,Mr=0,Ut=new Array(lr);for(D=0;D<lr;D++)Ut[D]=0;for(D=pe;D<=G;D++){var fi=S[D];if(pt>=lr){ge(fi,N,$,!0);continue}var Rr=void 0;if(fi.key!=null)Rr=Fe.get(fi.key);else for(De=ue;De<=Z;De++)if(Ut[De-ue]===0&&Ri(fi,T[De])){Rr=De;break}Rr===void 0?ge(fi,N,$,!0):(Ut[Rr-ue]=D+1,Rr>=Mr?Mr=Rr:Rt=!0,w(fi,T[Rr],k,null,N,$,j,F,U),pt++)}var Fh=Rt?s_(Ut):di;for(De=Fh.length-1,D=lr-1;D>=0;D--){var Dl=ue+D,$h=T[Dl],zh=Dl+1<Q?T[Dl+1].el:P;Ut[D]===0?w(null,$h,k,zh,N,$,j,F,U):Rt&&(De<0||D!==Fh[De]?se($h,k,zh,2):De--)}}},se=function(S,T,k,P){var N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,{el:$,type:j,transition:F,children:U,shapeFlag:D}=S;if(D&6){se(S.component.subTree,T,k,P);return}if(D&128){S.suspense.move(T,k,P);return}if(D&64){j.move(S,T,k,Ne);return}if(j===xt){i($,T,k);for(var Q=0;Q<U.length;Q++)se(U[Q],T,k,P);i(S.anchor,T,k);return}if(j===bs){v(S,T,k);return}var G=P!==2&&D&1&&F;if(G)if(P===0)F.beforeEnter($),i($,T,k),Xe(()=>F.enter($),N);else{var{leave:Z,delayLeave:ce,afterLeave:Be}=F,Te=()=>i($,T,k),I=()=>{Z($,()=>{Te(),Be&&Be()})};ce?ce($,Te,I):I()}else i($,T,k)},ge=function(S,T,k){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,{type:$,props:j,ref:F,children:U,dynamicChildren:D,shapeFlag:Q,patchFlag:G,dirs:Z}=S;if(F!=null&&ms(F,null,k,S,!0),Q&256){T.ctx.deactivate(S);return}var ce=Q&1&&Z,Be=!tn(S),Te;if(Be&&(Te=j&&j.onVnodeBeforeUnmount)&&Et(Te,T,S),Q&6)Se(S.component,k,P);else{if(Q&128){S.suspense.unmount(k,P);return}ce&&vr(S,null,T,"beforeUnmount"),Q&64?S.type.remove(S,T,k,N,Ne,P):D&&($!==xt||G>0&&G&64)?ye(D,T,k,!1,!0):($===xt&&G&384||!N&&Q&16)&&ye(U,T,k),P&&le(S)}(Be&&(Te=j&&j.onVnodeUnmounted)||ce)&&Xe(()=>{Te&&Et(Te,T,S),ce&&vr(S,null,T,"unmounted")},k)},le=S=>{var{type:T,el:k,anchor:P,transition:N}=S;if(T===xt){J(k,P);return}if(T===bs){b(S);return}var $=()=>{a(k),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(S.shapeFlag&1&&N&&!N.persisted){var{leave:j,delayLeave:F}=N,U=()=>j(k,$);F?F(S.el,$,U):U()}else $()},J=(S,T)=>{for(var k;S!==T;)k=g(S),a(S),S=k;a(T)},Se=(S,T,k)=>{var{bum:P,scope:N,update:$,subTree:j,um:F}=S;P&&Lo(P),N.stop(),$&&($.active=!1,ge(j,S,T,k)),F&&Xe(F,T),Xe(()=>{S.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},ye=function(S,T,k){for(var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,$=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,j=$;j<S.length;j++)ge(S[j],T,k,P,N)},Ve=S=>S.shapeFlag&6?Ve(S.component.subTree):S.shapeFlag&128?S.suspense.next():g(S.anchor||S.el),sr=(S,T,k)=>{if(S==null)T._vnode&&ge(T._vnode,null,null,!0);else{var P=T.__vueParent;w(T._vnode||null,S,T,null,P,null,k)}T._vnode=S},Ne={p:w,um:ge,m:se,r:le,mt:H,mc:O,pc:K,pbc:R,n:Ve,o:e},ha,ga;return t&&([ha,ga]=t(Ne)),{render:sr,hydrate:ha,createApp:a_(sr,ha)}}function hr(e,t){var{effect:r,update:i}=e;r.allowRecurse=i.allowRecurse=t}function qf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,a=t.children;if(te(i)&&te(a))for(var n=0;n<i.length;n++){var o=i[n],s=a[n];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=a[n]=Kt(a[n]),s.el=o.el),r||qf(o,s))}}function s_(e){var t=e.slice(),r=[0],i,a,n,o,s,l=e.length;for(i=0;i<l;i++){var u=e[i];if(u!==0){if(a=r[r.length-1],e[a]<u){t[i]=a,r.push(i);continue}for(n=0,o=r.length-1;n<o;)s=n+o>>1,e[r[s]]<u?n=s+1:o=s;u<e[r[n]]&&(n>0&&(t[i]=r[n-1]),r[n]=i)}}for(n=r.length,o=r[n-1];n-- >0;)r[n]=o,o=t[o];return r}var l_=e=>e.__isTeleport,xt=Symbol(void 0),_s=Symbol(void 0),Hr=Symbol(void 0),bs=Symbol(void 0),Wr=null,ws=1;function Xf(e){ws+=e}function on(e){return e?e.__v_isVNode===!0:!1}function Ri(e,t){return e.type===t.type&&e.key===t.key}var sn="__vInternal",Zf=e=>{var{key:t}=e;return t!=null?t:null},ln=e=>{var{ref:t,ref_key:r,ref_for:i}=e;return t!=null?ve(t)||We(t)||re(t)?{i:dt,r:t,k:r,f:!!i}:t:null};function u_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e===xt?0:1,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zf(t),ref:t&&ln(t),scopeId:Cf,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:n,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null};return s?(ys(l,r),n&128&&e.normalize(l)):r&&(l.shapeFlag|=ve(r)?8:16),ws>0&&!o&&Wr&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&Wr.push(l),l}var A=f_;function f_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;if((!e||e===j0)&&(e=Hr),on(e)){var o=Vr(e,t,!0);return r&&ys(o,r),ws>0&&!n&&Wr&&(o.shapeFlag&6?Wr[Wr.indexOf(e)]=o:Wr.push(o)),o.patchFlag|=-2,o}if(b_(e)&&(e=e.__vccOpts),t){t=c_(t);var{class:s,style:l}=t;s&&!ve(s)&&(t.class=To(s)),He(l)&&(hf(l)&&!te(l)&&(l=fe({},l)),t.style=Eo(l))}var u=ve(e)?1:R0(e)?128:l_(e)?64:He(e)?4:re(e)?2:0;return u_(e,t,r,i,a,u,n,!0)}function c_(e){return e?hf(e)||sn in e?fe({},e):e:null}function Vr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{props:i,ref:a,patchFlag:n,children:o}=e,s=t?rt(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Zf(s),ref:t&&t.ref?r&&a?te(a)?a.concat(ln(t)):[a,ln(t)]:ln(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xt?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vr(e.ssContent),ssFallback:e.ssFallback&&Vr(e.ssFallback),el:e.el,anchor:e.anchor};return l}function Kf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return A(_s,null,e,t)}function St(e){return e==null||typeof e=="boolean"?A(Hr):te(e)?A(xt,null,e.slice()):typeof e=="object"?Kt(e):A(_s,null,String(e))}function Kt(e){return e.el===null||e.memo?e:Vr(e)}function ys(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(te(t))r=16;else if(typeof t=="object")if(i&65){var a=t.default;a&&(a._c&&(a._d=!1),ys(e,a()),a._c&&(a._d=!0));return}else{r=32;var n=t._;!n&&!(sn in t)?t._ctx=dt:n===3&&dt&&(dt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else re(t)?(t={default:t,_ctx:dt},r=32):(t=String(t),i&64?(r=16,t=[Kf(t)]):r=8);e.children=t,e.shapeFlag|=r}function rt(){for(var e={},t=0;t<arguments.length;t++){var r=t<0||arguments.length<=t?void 0:arguments[t];for(var i in r)if(i==="class")e.class!==r.class&&(e.class=To([e.class,r.class]));else if(i==="style")e.style=Eo([e.style,r.style]);else if(La(i)){var a=e[i],n=r[i];n&&a!==n&&!(te(a)&&a.includes(n))&&(e[i]=a?[].concat(a,n):n)}else i!==""&&(e[i]=r[i])}return e}function Et(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;vt(e,t,7,[r,i])}var v_=Yf(),d_=0;function h_(e,t,r){var i=e.type,a=(t?t.appContext:e.appContext)||v_,n={uid:d_++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new Hm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ff(i,a),emitsOptions:Tf(i,a),emit:null,emitted:null,propsDefaults:Ee,inheritAttrs:i.inheritAttrs,ctx:Ee,data:Ee,props:Ee,attrs:Ee,slots:Ee,refs:Ee,setupState:Ee,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 n.ctx={_:n},n.root=t?t.root:n,n.emit=C0.bind(null,n),e.ce&&e.ce(n),n}var ze=null,Dt=()=>ze||dt,jr=e=>{ze=e,e.scope.on()},gr=()=>{ze&&ze.scope.off(),ze=null};function Gf(e){return e.vnode.shapeFlag&4}var Li=!1;function g_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Li=t;var{props:r,children:i}=e.vnode,a=Gf(e);J0(e,r,a,t),t_(e,i);var n=a?p_(e,t):void 0;return Li=!1,n}function p_(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=Za(new Proxy(e.ctx,Y0));var{setup:i}=r;if(i){var a=e.setupContext=i.length>1?__(e):null;jr(e),Dr();var n=qt(i,e,0,[e.props,a]);if(Br(),gr(),Su(n)){if(n.then(gr,gr),t)return n.then(o=>{Jf(e,o,t)}).catch(o=>{Ka(o,e,0)});e.asyncDep=n}else Jf(e,n,t)}else ec(e,t)}function Jf(e,t,r){re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=_f(t)),ec(e,r)}var Qf;function ec(e,t,r){var i=e.type;if(!e.render){if(!t&&Qf&&!i.render){var a=i.template;if(a){var{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=i,u=fe(fe({isCustomElement:n,delimiters:s},o),l);i.render=Qf(a,u)}}e.render=i.render||mt}jr(e),Dr(),q0(e),Br(),gr()}function m_(e){return new Proxy(e.attrs,{get(t,r){return et(e,"get","$attrs"),t[r]}})}function __(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=m_(e))},slots:e.slots,emit:e.emit,expose:t}}function un(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(_f(Za(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in an)return an[r](e)}}))}function b_(e){return re(e)&&"__vccOpts"in e}var ee=(e,t)=>w0(e,t,Li);function fn(e,t,r){var i=arguments.length;return i===2?He(t)&&!te(t)?on(t)?A(e,null,[t]):A(e,t):A(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&on(r)&&(r=[r]),A(e,t,r))}var w_="3.2.37",y_="http://www.w3.org/2000/svg",pr=typeof document!="undefined"?document:null,tc=pr&&pr.createElement("template"),x_={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 a=t?pr.createElementNS(y_,e):pr.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>pr.createTextNode(e),createComment:e=>pr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pr.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,a,n){var o=r?r.previousSibling:t.lastChild;if(a&&(a===n||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),r),!(a===n||!(a=a.nextSibling)););else{tc.innerHTML=i?"<svg>".concat(e,"</svg>"):e;var s=tc.content;if(i){for(var l=s.firstChild;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function S_(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 E_(e,t,r){var i=e.style,a=ve(r);if(r&&!a){for(var n in r)xs(i,n,r[n]);if(t&&!ve(t))for(var o in t)r[o]==null&&xs(i,o,"")}else{var s=i.display;a?t!==r&&(i.cssText=normalizeStyleValue(r)):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=s)}}var rc=/\s*!important$/;function xs(e,t,r){if(te(r))r.forEach(a=>xs(e,t,a));else if(r==null&&(r=""),r=normalizeStyleValue(r),t.startsWith("--"))e.setProperty(t,r);else{var i=normalizeStyleName(e,t);rc.test(r)?e.setProperty(Je(i),r.replace(rc,""),"important"):e[i]=r}}var ic="http://www.w3.org/1999/xlink";function T_(e,t,r,i,a){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ic,t.slice(6,t.length)):e.setAttributeNS(ic,t,r);else{var n=gp(t);r==null||n&&!yu(r)?e.removeAttribute(t):e.setAttribute(t,n?"":r)}}function C_(e,t,r,i,a,n,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,a,n),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;var s=r==null?"":r;(e.value!==s||e.tagName==="OPTION")&&(e.value=s),r==null&&e.removeAttribute(t);return}var l=!1;if(r===""||r==null){var u=typeof e[t];u==="boolean"?r=yu(r):r==null&&u==="string"?(r="",l=!0):u==="number"&&(r=0,l=!0)}try{e[t]=r}catch(f){}l&&e.removeAttribute(t)}var[ac,O_]=(()=>{var e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));var r=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(r&&Number(r[1])<=53)}return[e,t]})(),Ss=0,I_=Promise.resolve(),A_=()=>{Ss=0},k_=()=>Ss||(I_.then(A_),Ss=ac());function M_(e,t,r,i){e.addEventListener(t,r,i)}function R_(e,t,r,i){e.removeEventListener(t,r,i)}function L_(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=e._vei||(e._vei={}),o=n[t];if(i&&o)o.value=i;else{var[s,l]=P_(t);if(i){var u=n[t]=N_(i,a);M_(e,s,u,l)}else o&&(R_(e,s,o,l),n[t]=void 0)}}var nc=/(?:Once|Passive|Capture)$/;function P_(e){var t;if(nc.test(e)){t={};for(var r;r=e.match(nc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Je(e.slice(2)),t]}function N_(e,t){var r=i=>{var a=i.timeStamp||ac();(O_||a>=r.attached-1)&&vt(D_(i,r.value),t,5,[i])};return r.value=e,r.attached=k_(),r}function D_(e,t){if(te(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i&&i(a))}else return t}var oc=/^on[a-z]/,B_=function(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,n=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;t==="class"?S_(e,i,a):t==="style"?E_(e,r,i):La(t)?Co(t)||L_(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):F_(e,t,i,a))?C_(e,t,i,n,o,s,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),T_(e,t,i,a))};function F_(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&oc.test(t)&&re(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||oc.test(t)&&ve(r)?!1:t in e}var $_=["ctrl","shift","alt","meta"],z_={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)=>$_.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},Es=(e,t)=>function(r){for(var i=0;i<t.length;i++){var a=z_[t[i]];if(a&&a(r,t))return}for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return e(r,...o)},Pi={beforeMount(e,t,r){var{value:i}=t,{transition:a}=r;e._vod=e.style.display==="none"?"":e.style.display,a&&i?a.beforeEnter(e):Ni(e,i)},mounted(e,t,r){var{value:i}=t,{transition:a}=r;a&&i&&a.enter(e)},updated(e,t,r){var{value:i,oldValue:a}=t,{transition:n}=r;!i!=!a&&(n?i?(n.beforeEnter(e),Ni(e,!0),n.enter(e)):n.leave(e,()=>{Ni(e,!1)}):Ni(e,i))},beforeUnmount(e,t){var{value:r}=t;Ni(e,r)}};function Ni(e,t){e.style.display=t?e._vod:"none"}var U_=fe({patchProp:B_},x_),sc;function H_(){return sc||(sc=n_(U_))}var lc=function(){var e=H_().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=W_(r);if(!!i){var a=e._component;!re(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";var n=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),n}},e};function W_(e){if(ve(e)){var t=document.querySelector(e);return t}return e}var uc=["top","left","right","bottom"],Ts,cn={},ot;function Cs(){return!("CSS"in window)||typeof CSS.supports!="function"?ot="":CSS.supports("top: env(safe-area-inset-top)")?ot="env":CSS.supports("top: constant(safe-area-inset-top)")?ot="constant":ot="",ot}function fc(){if(ot=typeof ot=="string"?ot:Cs(),!ot){uc.forEach(function(s){cn[s]=0});return}function e(s,l){var u=s.style;Object.keys(l).forEach(function(f){var d=l[f];u[f]=d})}var t=[];function r(s){s?t.push(s):t.forEach(function(l){l()})}var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,a)}catch(s){}function n(s,l){var u=document.createElement("div"),f=document.createElement("div"),d=document.createElement("div"),g=document.createElement("div"),h=100,y=1e4,m={position:"absolute",width:h+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ot+"(safe-area-inset-"+l+")"};e(u,m),e(f,m),e(d,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(g,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(d),f.appendChild(g),s.appendChild(u),s.appendChild(f),r(function(){u.scrollTop=f.scrollTop=y;var p=u.scrollTop,_=f.scrollTop;function c(){this.scrollTop!==(this===u?p:_)&&(u.scrollTop=f.scrollTop=y,p=u.scrollTop,_=f.scrollTop,V_(l))}u.addEventListener("scroll",c,i),f.addEventListener("scroll",c,i)});var w=getComputedStyle(u);Object.defineProperty(cn,l,{configurable:!0,get:function(){return parseFloat(w.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),uc.forEach(function(s){n(o,s)}),document.body.appendChild(o),r(),Ts=!0}function vn(e){return Ts||fc(),cn[e]}var dn=[];function V_(e){dn.length||setTimeout(function(){var t={};dn.forEach(function(r){t[r]=cn[r]}),dn.length=0,hn.forEach(function(r){r(t)})},0),dn.push(e)}var hn=[];function j_(e){!Cs()||(Ts||fc(),typeof e=="function"&&hn.push(e))}function Y_(e){var t=hn.indexOf(e);t>=0&&hn.splice(t,1)}var q_={get support(){return(typeof ot=="string"?ot:Cs()).length!=0},get top(){return vn("top")},get left(){return vn("left")},get right(){return vn("right")},get bottom(){return vn("bottom")},onChange:j_,offChange:Y_},gn=q_,cc=Es(()=>{},["prevent"]);function Di(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Os(){var e=document.documentElement.style,t=Di(e,"--window-top");return t?t+gn.top:0}function X_(){var e=document.documentElement.style,t=Os(),r=Di(e,"--window-bottom"),i=Di(e,"--window-left"),a=Di(e,"--window-right"),n=Di(e,"--top-window-height");return{top:t,bottom:r?r+gn.bottom:0,left:i?i+gn.left:0,right:a?a+gn.right:0,topWindowHeight:n||0}}function Z_(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function pn(e){return Symbol(e)}function vc(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return K_(e);if(ve(e)){var r=parseInt(e)||0;return vc(e)?uni.upx2px(r):r}return e}function K_(e){return vc(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var G_="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",J_="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",Q_="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",eb="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",tb="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",mn="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",rb="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",ib="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",ab="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 _n(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#000",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:27;return A("svg",{width:r,height:r,viewBox:"0 0 32 32"},[A("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function bn(){return Gt()}function nb(){return window.__PAGE_INFO__}function Gt(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function ob(e){e.preventDefault()}var dc,hc=0;function sb(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,a=!1,n=!1,o=!0,s=()=>{var{scrollHeight:u}=document.documentElement,f=window.innerHeight,d=window.scrollY,g=d>0&&u>f&&d+f+i>=u,h=Math.abs(u-hc)>i;return g&&(!n||h)?(hc=u,n=!0,!0):(!g&&n&&(n=!1),!1)},l=()=>{t&&t(window.pageYOffset);function u(){if(s())return r&&r(),o=!1,setTimeout(function(){o=!0},350),!0}r&&o&&(u()||(dc=setTimeout(u,300))),a=!1};return function(){clearTimeout(dc),a||requestAnimationFrame(l),a=!0}}function Is(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Is(e,t.slice(2));for(var r=t.split("/"),i=r.length,a=0;a<i&&r[a]==="..";a++);r.splice(0,a),t=r.join("/");var n=e.length>0?e.split("/"):[];return n.splice(n.length-a-1,a+1),Fo(n.concat(r).join("/"))}var qr,gc,Xr;function pc(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function mc(){return qr.webview.currentWebview().id}var wn,As,ks={};function Ms(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=ks[r];i&&i(t),t.keep||delete ks[r]}}function lb(e,t){pc()==="v8"?Xr?(wn&&wn.close(),wn=new Xr(mc()),wn.onmessage=Ms):As||(As=gc.requireModule("globalEvent"),As.addEventListener("plusMessage",Ms)):window.__plusMessage=Ms,ks[e]=t}class ub{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(Xr){var a=new Xr(i);a.postMessage(r)}else qr.webview.postMessageToUniNView&&qr.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function fb(e){var{context:t={},url:r,data:i={},style:a={},onMessage:n,onClose:o}=e;qr=t.plus||plus,gc=t.weex||(typeof weex=="object"?weex:null),Xr=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var s={autoBackButton:!0,titleSize:"17px"},l="page".concat(Date.now());a=fe({},a),a.titleNView!==!1&&a.titleNView!=="none"&&(a.titleNView=fe(s,a.titleNView));var u={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"/".concat(r,".js"),defaultFontSize:16,viewport:qr.screen.resolutionWidth}};a=fe(u,a);var f=qr.webview.create("",l,a,{extras:{from:mc(),runtime:pc(),data:i,useGlobalEvent:!Xr}});return f.addEventListener("close",o),lb(l,d=>{re(n)&&n(d.data),d.keep||f.close("auto")}),f.show(a.animationType,a.animationDuration),new ub(f)}class cb{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=_c(this.$el.querySelector(t));if(!!r)return Rs(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),a=0;a<i.length;a++){var n=_c(i[a]);n&&r.push(Rs(n))}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",bp(t))}setStyle(t){return!this.$el||!t?this:(ve(t)&&(t=xu(t)),_t(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 a=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return a.indexOf(t)===-1&&(a.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){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.$vm[t];re(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(Fp,{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){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};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,a)=>(i[a]=r[a],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Rs(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new cb(e)),e.$el.__wxsComponentDescriptor}function Bi(e,t){return Rs(e)}function _c(e){if(!!e)return Zr(e)}function Zr(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:a,__wxsClassChanged:n}=e,o,s;a&&(e.__wxsStyleChanged=!1,t&&(s=()=>{Object.keys(t).forEach(l=>{e.style[l]=t[l]})})),n&&(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 vb=e=>e.type==="click";function bc(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];var a=i.tagName.indexOf("UNI-")!==0,n=wc(e,a);if(vb(e))hb(n,e);else if(e instanceof TouchEvent){var o=Os();n.touches=yc(e.touches,o),n.changedTouches=yc(e.changedTouches,o)}return[n]}function db(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function wc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,{type:r,timeStamp:i,target:a,currentTarget:n}=e,o={type:r,timeStamp:i,target:zo(t?a:db(a)),detail:{},currentTarget:zo(n)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function hb(e,t){var{x:r,y:i}=t,a=Os();e.detail={x:r,y:i-a},e.touches=e.changedTouches=[gb(t,a)]}function gb(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function yc(e,t){for(var r=[],i=0;i<e.length;i++){var{identifier:a,pageX:n,pageY:o,clientX:s,clientY:l,force:u}=e[i];r.push({identifier:a,pageX:n,pageY:o-t,clientX:s,clientY:l-t,force:u||0})}return r}var xc="vdSync",pb="__uniapp__service",Ls="onWebviewReady",mb=0,_b="webviewInserted",bb="webviewRemoved",wb="webviewId",yb="setLocale",Sc=fe(Pm,{publishHandler:xb});function xb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Gt()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},pb)}function Sb(e,t){var r=e[0];if(!(!t||!_t(t.formatArgs)&&_t(r)))for(var i=t.formatArgs,a=Object.keys(i),n=0;n<a.length;n++){var o=a[n],s=i[o];if(re(s)){var l=s(e[0][o],r);if(ve(l))return l}else ne(r,o)||(r[o]=s)}}function Eb(e,t,r,i){if(i&&i.beforeInvoke){var a=i.beforeInvoke(t);if(ve(a))return a}var n=Sb(t,i);if(n)return n}function Tb(e,t,r,i){return function(){for(var a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];var s=Eb(e,n,r,i);if(s)throw new Error(s);return t.apply(null,n)}}function Cb(e,t,r,i){return Tb(e,t,void 0,i)}function Ec(){if(typeof __SYSTEM_INFO__!="undefined")return window.__SYSTEM_INFO__;var{resolutionWidth:e}=plus.screen.getCurrentSize()||{resolutionWidth:0};return{platform:(plus.os.name||"").toLowerCase(),pixelRatio:plus.screen.scale,windowWidth:Math.round(e)}}function st(e){if(e.indexOf("//")===0)return"https:"+e;if(Rp.test(e)||Lp.test(e))return e;if(Ob(e))return"file://"+Tc(e);var t="file://"+Tc("_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+Is(Fo(__id__),e);var r=nb();if(r)return t+Is(Fo(r.route),e)}return e}var Tc=zp(e=>plus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Ob(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}var Ib=0;function Ab(e,t,r){var i="".concat(Date.now()).concat(Ib++),a=e.split(","),n=a[0],o=a[1],s=(n.match(/data:image\/(\S+?);/)||["","png"])[1].replace("jpeg","jpg"),l="".concat(i,".").concat(s),u="".concat(t,"/").concat(l),f=t.indexOf("/"),d=t.substring(0,f),g=t.substring(f+1);plus.io.resolveLocalFileSystemURL(d,function(h){h.getDirectory(g,{create:!0,exclusive:!1},function(y){y.getFile(l,{create:!0,exclusive:!1},function(m){m.createWriter(function(w){w.onwrite=function(){r(null,u)},w.onerror=r,w.seek(0),w.writeAsBinary(o)},r)},r)},r)},r)}function kb(e){return new Promise(function(t,r){function i(){var a=new plus.nativeObj.Bitmap("bitmap_".concat(Date.now(),"_").concat(Math.random(),"}"));a.load(e,function(){t(a.toBase64Data()),a.clear()},function(n){a.clear(),r(n)})}plus.io.resolveLocalFileSystemURL(e,function(a){a.file(function(n){var o=new plus.io.FileReader;o.onload=function(s){t(s.target.result)},o.onerror=i,o.readAsDataURL(n)},i)},i)})}function Mb(e){return new Promise(function(t,r){if(e.indexOf("http://")!==0&&e.indexOf("https://")!==0){t(e);return}plus.downloader.createDownload(e,{filename:"_doc/uniapp_temp/download/"},function(i,a){a===200?t(i.filename):r(new Error("network fail"))}).start()})}function Rb(e){return Mb(e).then(function(t){var r=window;return r.webkit&&r.webkit.messageHandlers?kb(t):plus.io.convertLocalFileSystemURL(t)})}var Bt={};(function(e){var t=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function r(n,o){return Object.prototype.hasOwnProperty.call(n,o)}e.assign=function(n){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var s=o.shift();if(!!s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var l in s)r(s,l)&&(n[l]=s[l])}}return n},e.shrinkBuf=function(n,o){return n.length===o?n:n.subarray?n.subarray(0,o):(n.length=o,n)};var i={arraySet:function(n,o,s,l,u){if(o.subarray&&n.subarray){n.set(o.subarray(s,s+l),u);return}for(var f=0;f<l;f++)n[u+f]=o[s+f]},flattenChunks:function(n){var o,s,l,u,f,d;for(l=0,o=0,s=n.length;o<s;o++)l+=n[o].length;for(d=new Uint8Array(l),u=0,o=0,s=n.length;o<s;o++)f=n[o],d.set(f,u),u+=f.length;return d}},a={arraySet:function(n,o,s,l,u){for(var f=0;f<l;f++)n[u+f]=o[s+f]},flattenChunks:function(n){return[].concat.apply([],n)}};e.setTyped=function(n){n?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,i)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,a))},e.setTyped(t)})(Bt);var Fi={},Tt={},Kr={},Lb=Bt,Pb=4,Cc=0,Oc=1,Nb=2;function Gr(e){for(var t=e.length;--t>=0;)e[t]=0}var Db=0,Ic=1,Bb=2,Fb=3,$b=258,Ps=29,$i=256,zi=$i+1+Ps,Jr=30,Ns=19,Ac=2*zi+1,mr=15,Ds=16,zb=7,Bs=256,kc=16,Mc=17,Rc=18,Fs=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],yn=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ub=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Lc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Hb=512,Ft=new Array((zi+2)*2);Gr(Ft);var Ui=new Array(Jr*2);Gr(Ui);var Hi=new Array(Hb);Gr(Hi);var Wi=new Array($b-Fb+1);Gr(Wi);var $s=new Array(Ps);Gr($s);var xn=new Array(Jr);Gr(xn);function zs(e,t,r,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}var Pc,Nc,Dc;function Us(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Bc(e){return e<256?Hi[e]:Hi[256+(e>>>7)]}function Vi(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Ze(e,t,r){e.bi_valid>Ds-r?(e.bi_buf|=t<<e.bi_valid&65535,Vi(e,e.bi_buf),e.bi_buf=t>>Ds-e.bi_valid,e.bi_valid+=r-Ds):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function Ct(e,t,r){Ze(e,r[t*2],r[t*2+1])}function Fc(e,t){var r=0;do r|=e&1,e>>>=1,r<<=1;while(--t>0);return r>>>1}function Wb(e){e.bi_valid===16?(Vi(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function Vb(e,t){var r=t.dyn_tree,i=t.max_code,a=t.stat_desc.static_tree,n=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length,u,f,d,g,h,y,m=0;for(g=0;g<=mr;g++)e.bl_count[g]=0;for(r[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<Ac;u++)f=e.heap[u],g=r[r[f*2+1]*2+1]+1,g>l&&(g=l,m++),r[f*2+1]=g,!(f>i)&&(e.bl_count[g]++,h=0,f>=s&&(h=o[f-s]),y=r[f*2],e.opt_len+=y*(g+h),n&&(e.static_len+=y*(a[f*2+1]+h)));if(m!==0){do{for(g=l-1;e.bl_count[g]===0;)g--;e.bl_count[g]--,e.bl_count[g+1]+=2,e.bl_count[l]--,m-=2}while(m>0);for(g=l;g!==0;g--)for(f=e.bl_count[g];f!==0;)d=e.heap[--u],!(d>i)&&(r[d*2+1]!==g&&(e.opt_len+=(g-r[d*2+1])*r[d*2],r[d*2+1]=g),f--)}}function $c(e,t,r){var i=new Array(mr+1),a=0,n,o;for(n=1;n<=mr;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=Fc(i[s]++,s))}}function jb(){var e,t,r,i,a,n=new Array(mr+1);for(r=0,i=0;i<Ps-1;i++)for($s[i]=r,e=0;e<1<<Fs[i];e++)Wi[r++]=i;for(Wi[r-1]=i,a=0,i=0;i<16;i++)for(xn[i]=a,e=0;e<1<<yn[i];e++)Hi[a++]=i;for(a>>=7;i<Jr;i++)for(xn[i]=a<<7,e=0;e<1<<yn[i]-7;e++)Hi[256+a++]=i;for(t=0;t<=mr;t++)n[t]=0;for(e=0;e<=143;)Ft[e*2+1]=8,e++,n[8]++;for(;e<=255;)Ft[e*2+1]=9,e++,n[9]++;for(;e<=279;)Ft[e*2+1]=7,e++,n[7]++;for(;e<=287;)Ft[e*2+1]=8,e++,n[8]++;for($c(Ft,zi+1,n),e=0;e<Jr;e++)Ui[e*2+1]=5,Ui[e*2]=Fc(e,5);Pc=new zs(Ft,Fs,$i+1,zi,mr),Nc=new zs(Ui,yn,0,Jr,mr),Dc=new zs(new Array(0),Ub,0,Ns,zb)}function zc(e){var t;for(t=0;t<zi;t++)e.dyn_ltree[t*2]=0;for(t=0;t<Jr;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Ns;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Bs*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Uc(e){e.bi_valid>8?Vi(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Yb(e,t,r,i){Uc(e),i&&(Vi(e,r),Vi(e,~r)),Lb.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function Hc(e,t,r,i){var a=t*2,n=r*2;return e[a]<e[n]||e[a]===e[n]&&i[t]<=i[r]}function Hs(e,t,r){for(var i=e.heap[r],a=r<<1;a<=e.heap_len&&(a<e.heap_len&&Hc(t,e.heap[a+1],e.heap[a],e.depth)&&a++,!Hc(t,i,e.heap[a],e.depth));)e.heap[r]=e.heap[a],r=a,a<<=1;e.heap[r]=i}function Wc(e,t,r){var i,a,n=0,o,s;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+n*2]<<8|e.pending_buf[e.d_buf+n*2+1],a=e.pending_buf[e.l_buf+n],n++,i===0?Ct(e,a,t):(o=Wi[a],Ct(e,o+$i+1,t),s=Fs[o],s!==0&&(a-=$s[o],Ze(e,a,s)),i--,o=Bc(i),Ct(e,o,r),s=yn[o],s!==0&&(i-=xn[o],Ze(e,i,s)));while(n<e.last_lit);Ct(e,Bs,t)}function Ws(e,t){var r=t.dyn_tree,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,n=t.stat_desc.elems,o,s,l=-1,u;for(e.heap_len=0,e.heap_max=Ac,o=0;o<n;o++)r[o*2]!==0?(e.heap[++e.heap_len]=l=o,e.depth[o]=0):r[o*2+1]=0;for(;e.heap_len<2;)u=e.heap[++e.heap_len]=l<2?++l:0,r[u*2]=1,e.depth[u]=0,e.opt_len--,a&&(e.static_len-=i[u*2+1]);for(t.max_code=l,o=e.heap_len>>1;o>=1;o--)Hs(e,r,o);u=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Hs(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[u*2]=r[o*2]+r[s*2],e.depth[u]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=u,e.heap[1]=u++,Hs(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Vb(e,t),$c(r,l,e.bl_count)}function Vc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)n=o,o=t[(i+1)*2+1],!(++s<l&&n===o)&&(s<u?e.bl_tree[n*2]+=s:n!==0?(n!==a&&e.bl_tree[n*2]++,e.bl_tree[kc*2]++):s<=10?e.bl_tree[Mc*2]++:e.bl_tree[Rc*2]++,s=0,a=n,o===0?(l=138,u=3):n===o?(l=6,u=3):(l=7,u=4))}function jc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),i=0;i<=r;i++)if(n=o,o=t[(i+1)*2+1],!(++s<l&&n===o)){if(s<u)do Ct(e,n,e.bl_tree);while(--s!==0);else n!==0?(n!==a&&(Ct(e,n,e.bl_tree),s--),Ct(e,kc,e.bl_tree),Ze(e,s-3,2)):s<=10?(Ct(e,Mc,e.bl_tree),Ze(e,s-3,3)):(Ct(e,Rc,e.bl_tree),Ze(e,s-11,7));s=0,a=n,o===0?(l=138,u=3):n===o?(l=6,u=3):(l=7,u=4)}}function qb(e){var t;for(Vc(e,e.dyn_ltree,e.l_desc.max_code),Vc(e,e.dyn_dtree,e.d_desc.max_code),Ws(e,e.bl_desc),t=Ns-1;t>=3&&e.bl_tree[Lc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Xb(e,t,r,i){var a;for(Ze(e,t-257,5),Ze(e,r-1,5),Ze(e,i-4,4),a=0;a<i;a++)Ze(e,e.bl_tree[Lc[a]*2+1],3);jc(e,e.dyn_ltree,t-1),jc(e,e.dyn_dtree,r-1)}function Zb(e){var t=4093624447,r;for(r=0;r<=31;r++,t>>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return Cc;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Oc;for(r=32;r<$i;r++)if(e.dyn_ltree[r*2]!==0)return Oc;return Cc}var Yc=!1;function Kb(e){Yc||(jb(),Yc=!0),e.l_desc=new Us(e.dyn_ltree,Pc),e.d_desc=new Us(e.dyn_dtree,Nc),e.bl_desc=new Us(e.bl_tree,Dc),e.bi_buf=0,e.bi_valid=0,zc(e)}function qc(e,t,r,i){Ze(e,(Db<<1)+(i?1:0),3),Yb(e,t,r,!0)}function Gb(e){Ze(e,Ic<<1,3),Ct(e,Bs,Ft),Wb(e)}function Jb(e,t,r,i){var a,n,o=0;e.level>0?(e.strm.data_type===Nb&&(e.strm.data_type=Zb(e)),Ws(e,e.l_desc),Ws(e,e.d_desc),o=qb(e),a=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=a&&(a=n)):a=n=r+5,r+4<=a&&t!==-1?qc(e,t,r,i):e.strategy===Pb||n===a?(Ze(e,(Ic<<1)+(i?1:0),3),Wc(e,Ft,Ui)):(Ze(e,(Bb<<1)+(i?1:0),3),Xb(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),Wc(e,e.dyn_ltree,e.dyn_dtree)),zc(e),i&&Uc(e)}function Qb(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(Wi[r]+$i+1)*2]++,e.dyn_dtree[Bc(t)*2]++),e.last_lit===e.lit_bufsize-1}Kr._tr_init=Kb,Kr._tr_stored_block=qc,Kr._tr_flush_block=Jb,Kr._tr_tally=Qb,Kr._tr_align=Gb;function ew(e,t,r,i){for(var a=e&65535|0,n=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do a=a+t[i++]|0,n=n+a|0;while(--o);a%=65521,n%=65521}return a|n<<16|0}var Xc=ew;function tw(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var rw=tw();function iw(e,t,r,i){var a=rw,n=i+r;e^=-1;for(var o=i;o<n;o++)e=e>>>8^a[(e^t[o])&255];return e^-1}var Zc=iw,Vs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},qe=Bt,lt=Kr,Kc=Xc,Jt=Zc,aw=Vs,_r=0,nw=1,ow=3,Qt=4,Gc=5,Ot=0,Jc=1,ut=-2,sw=-3,js=-5,lw=-1,uw=1,Sn=2,fw=3,cw=4,vw=0,dw=2,En=8,hw=9,gw=15,pw=8,mw=29,_w=256,Ys=_w+1+mw,bw=30,ww=19,yw=2*Ys+1,xw=15,de=3,er=258,ht=er+de+1,Sw=32,Tn=42,qs=69,Cn=73,On=91,In=103,br=113,ji=666,Pe=1,Yi=2,wr=3,Qr=4,Ew=3;function tr(e,t){return e.msg=aw[t],t}function Qc(e){return(e<<1)-(e>4?9:0)}function rr(e){for(var t=e.length;--t>=0;)e[t]=0}function ir(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(qe.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function Ue(e,t){lt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ir(e.strm)}function me(e,t){e.pending_buf[e.pending++]=t}function qi(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function Tw(e,t,r,i){var a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,qe.arraySet(t,e.input,e.next_in,a,r),e.state.wrap===1?e.adler=Kc(e.adler,t,a,r):e.state.wrap===2&&(e.adler=Jt(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function ev(e,t){var r=e.max_chain_length,i=e.strstart,a,n,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-ht?e.strstart-(e.w_size-ht):0,u=e.window,f=e.w_mask,d=e.prev,g=e.strstart+er,h=u[i+o-1],y=u[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+o]!==y||u[a+o-1]!==h||u[a]!==u[i]||u[++a]!==u[i+1])){i+=2,a++;do;while(u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&i<g);if(n=er-(g-i),i=g-er,n>o){if(e.match_start=t,o=n,n>=s)break;h=u[i+o-1],y=u[i+o]}}while((t=d[t&f])>l&&--r!==0);return o<=e.lookahead?o:e.lookahead}function yr(e){var t=e.w_size,r,i,a,n,o;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-ht)){qe.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=t?a-t:0;while(--i);i=t,r=i;do a=e.prev[--r],e.prev[r]=a>=t?a-t:0;while(--i);n+=t}if(e.strm.avail_in===0)break;if(i=Tw(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=de)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+de-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<de)););}while(e.lookahead<ht&&e.strm.avail_in!==0)}function Cw(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yr(e),e.lookahead===0&&t===_r)return Pe;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,Ue(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-ht&&(Ue(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(Ue(e,!0),e.strm.avail_out===0?wr:Qr):(e.strstart>e.block_start&&(Ue(e,!1),e.strm.avail_out===0),Pe)}function Xs(e,t){for(var r,i;;){if(e.lookahead<ht){if(yr(e),e.lookahead<ht&&t===_r)return Pe;if(e.lookahead===0)break}if(r=0,e.lookahead>=de&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+de-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-ht&&(e.match_length=ev(e,r)),e.match_length>=de)if(i=lt._tr_tally(e,e.strstart-e.match_start,e.match_length-de),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=de){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+de-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=lt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(Ue(e,!1),e.strm.avail_out===0))return Pe}return e.insert=e.strstart<de-1?e.strstart:de-1,t===Qt?(Ue(e,!0),e.strm.avail_out===0?wr:Qr):e.last_lit&&(Ue(e,!1),e.strm.avail_out===0)?Pe:Yi}function ei(e,t){for(var r,i,a;;){if(e.lookahead<ht){if(yr(e),e.lookahead<ht&&t===_r)return Pe;if(e.lookahead===0)break}if(r=0,e.lookahead>=de&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+de-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=de-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-ht&&(e.match_length=ev(e,r),e.match_length<=5&&(e.strategy===uw||e.match_length===de&&e.strstart-e.match_start>4096)&&(e.match_length=de-1)),e.prev_length>=de&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-de,i=lt._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-de),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+de-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=de-1,e.strstart++,i&&(Ue(e,!1),e.strm.avail_out===0))return Pe}else if(e.match_available){if(i=lt._tr_tally(e,0,e.window[e.strstart-1]),i&&Ue(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Pe}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=lt._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<de-1?e.strstart:de-1,t===Qt?(Ue(e,!0),e.strm.avail_out===0?wr:Qr):e.last_lit&&(Ue(e,!1),e.strm.avail_out===0)?Pe:Yi}function Ow(e,t){for(var r,i,a,n,o=e.window;;){if(e.lookahead<=er){if(yr(e),e.lookahead<=er&&t===_r)return Pe;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=de&&e.strstart>0&&(a=e.strstart-1,i=o[a],i===o[++a]&&i===o[++a]&&i===o[++a])){n=e.strstart+er;do;while(i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&a<n);e.match_length=er-(n-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=de?(r=lt._tr_tally(e,1,e.match_length-de),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=lt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(Ue(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(Ue(e,!0),e.strm.avail_out===0?wr:Qr):e.last_lit&&(Ue(e,!1),e.strm.avail_out===0)?Pe:Yi}function Iw(e,t){for(var r;;){if(e.lookahead===0&&(yr(e),e.lookahead===0)){if(t===_r)return Pe;break}if(e.match_length=0,r=lt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(Ue(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(Ue(e,!0),e.strm.avail_out===0?wr:Qr):e.last_lit&&(Ue(e,!1),e.strm.avail_out===0)?Pe:Yi}function It(e,t,r,i,a){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=a}var ti;ti=[new It(0,0,0,0,Cw),new It(4,4,8,4,Xs),new It(4,5,16,8,Xs),new It(4,6,32,32,Xs),new It(4,4,16,16,ei),new It(8,16,32,32,ei),new It(8,16,128,128,ei),new It(8,32,128,256,ei),new It(32,128,258,1024,ei),new It(32,258,258,4096,ei)];function Aw(e){e.window_size=2*e.w_size,rr(e.head),e.max_lazy_match=ti[e.level].max_lazy,e.good_match=ti[e.level].good_length,e.nice_match=ti[e.level].nice_length,e.max_chain_length=ti[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=de-1,e.match_available=0,e.ins_h=0}function kw(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=En,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new qe.Buf16(yw*2),this.dyn_dtree=new qe.Buf16((2*bw+1)*2),this.bl_tree=new qe.Buf16((2*ww+1)*2),rr(this.dyn_ltree),rr(this.dyn_dtree),rr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new qe.Buf16(xw+1),this.heap=new qe.Buf16(2*Ys+1),rr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new qe.Buf16(2*Ys+1),rr(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function tv(e){var t;return!e||!e.state?tr(e,ut):(e.total_in=e.total_out=0,e.data_type=dw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Tn:br,e.adler=t.wrap===2?0:1,t.last_flush=_r,lt._tr_init(t),Ot)}function rv(e){var t=tv(e);return t===Ot&&Aw(e.state),t}function Mw(e,t){return!e||!e.state||e.state.wrap!==2?ut:(e.state.gzhead=t,Ot)}function iv(e,t,r,i,a,n){if(!e)return ut;var o=1;if(t===lw&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>hw||r!==En||i<8||i>15||t<0||t>9||n<0||n>cw)return tr(e,ut);i===8&&(i=9);var s=new kw;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=a+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+de-1)/de),s.window=new qe.Buf8(s.w_size*2),s.head=new qe.Buf16(s.hash_size),s.prev=new qe.Buf16(s.w_size),s.lit_bufsize=1<<a+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new qe.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=(1+2)*s.lit_bufsize,s.level=t,s.strategy=n,s.method=r,rv(e)}function Rw(e,t){return iv(e,t,En,gw,pw,vw)}function Lw(e,t){var r,i,a,n;if(!e||!e.state||t>Gc||t<0)return e?tr(e,ut):ut;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===ji&&t!==Qt)return tr(e,e.avail_out===0?js:ut);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===Tn)if(i.wrap===2)e.adler=0,me(i,31),me(i,139),me(i,8),i.gzhead?(me(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),me(i,i.gzhead.time&255),me(i,i.gzhead.time>>8&255),me(i,i.gzhead.time>>16&255),me(i,i.gzhead.time>>24&255),me(i,i.level===9?2:i.strategy>=Sn||i.level<2?4:0),me(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(me(i,i.gzhead.extra.length&255),me(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Jt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=qs):(me(i,0),me(i,0),me(i,0),me(i,0),me(i,0),me(i,i.level===9?2:i.strategy>=Sn||i.level<2?4:0),me(i,Ew),i.status=br);else{var o=En+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=Sn||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=Sw),o+=31-o%31,i.status=br,qi(i,o),i.strstart!==0&&(qi(i,e.adler>>>16),qi(i,e.adler&65535)),e.adler=1}if(i.status===qs)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size));)me(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Cn)}else i.status=Cn;if(i.status===Cn)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindex<i.gzhead.name.length?n=i.gzhead.name.charCodeAt(i.gzindex++)&255:n=0,me(i,n)}while(n!==0);i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.gzindex=0,i.status=On)}else i.status=On;if(i.status===On)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindex<i.gzhead.comment.length?n=i.gzhead.comment.charCodeAt(i.gzindex++)&255:n=0,me(i,n)}while(n!==0);i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.status=In)}else i.status=In;if(i.status===In&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ir(e),i.pending+2<=i.pending_buf_size&&(me(i,e.adler&255),me(i,e.adler>>8&255),e.adler=0,i.status=br)):i.status=br),i.pending!==0){if(ir(e),e.avail_out===0)return i.last_flush=-1,Ot}else if(e.avail_in===0&&Qc(t)<=Qc(r)&&t!==Qt)return tr(e,js);if(i.status===ji&&e.avail_in!==0)return tr(e,js);if(e.avail_in!==0||i.lookahead!==0||t!==_r&&i.status!==ji){var l=i.strategy===Sn?Iw(i,t):i.strategy===fw?Ow(i,t):ti[i.level].func(i,t);if((l===wr||l===Qr)&&(i.status=ji),l===Pe||l===wr)return e.avail_out===0&&(i.last_flush=-1),Ot;if(l===Yi&&(t===nw?lt._tr_align(i):t!==Gc&&(lt._tr_stored_block(i,0,0,!1),t===ow&&(rr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),ir(e),e.avail_out===0))return i.last_flush=-1,Ot}return t!==Qt?Ot:i.wrap<=0?Jc:(i.wrap===2?(me(i,e.adler&255),me(i,e.adler>>8&255),me(i,e.adler>>16&255),me(i,e.adler>>24&255),me(i,e.total_in&255),me(i,e.total_in>>8&255),me(i,e.total_in>>16&255),me(i,e.total_in>>24&255)):(qi(i,e.adler>>>16),qi(i,e.adler&65535)),ir(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ot:Jc)}function Pw(e){var t;return!e||!e.state?ut:(t=e.state.status,t!==Tn&&t!==qs&&t!==Cn&&t!==On&&t!==In&&t!==br&&t!==ji?tr(e,ut):(e.state=null,t===br?tr(e,sw):Ot))}function Nw(e,t){var r=t.length,i,a,n,o,s,l,u,f;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==Tn||i.lookahead))return ut;for(o===1&&(e.adler=Kc(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(rr(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new qe.Buf8(i.w_size),qe.arraySet(f,t,r-i.w_size,i.w_size,0),t=f,r=i.w_size),s=e.avail_in,l=e.next_in,u=e.input,e.avail_in=r,e.next_in=0,e.input=t,yr(i);i.lookahead>=de;){a=i.strstart,n=i.lookahead-(de-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[a+de-1])&i.hash_mask,i.prev[a&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=a,a++;while(--n);i.strstart=a,i.lookahead=de-1,yr(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=de-1,i.match_available=0,e.next_in=l,e.input=u,e.avail_in=s,i.wrap=o,Ot}Tt.deflateInit=Rw,Tt.deflateInit2=iv,Tt.deflateReset=rv,Tt.deflateResetKeep=tv,Tt.deflateSetHeader=Mw,Tt.deflate=Lw,Tt.deflateEnd=Pw,Tt.deflateSetDictionary=Nw,Tt.deflateInfo="pako deflate (from Nodeca project)";var xr={},An=Bt,av=!0,nv=!0;try{String.fromCharCode.apply(null,[0])}catch(e){av=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){nv=!1}for(var Xi=new An.Buf8(256),ar=0;ar<256;ar++)Xi[ar]=ar>=252?6:ar>=248?5:ar>=240?4:ar>=224?3:ar>=192?2:1;Xi[254]=Xi[254]=1,xr.string2buf=function(e){var t,r,i,a,n,o=e.length,s=0;for(a=0;a<o;a++)r=e.charCodeAt(a),(r&64512)===55296&&a+1<o&&(i=e.charCodeAt(a+1),(i&64512)===56320&&(r=65536+(r-55296<<10)+(i-56320),a++)),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new An.Buf8(s),n=0,a=0;n<s;a++)r=e.charCodeAt(a),(r&64512)===55296&&a+1<o&&(i=e.charCodeAt(a+1),(i&64512)===56320&&(r=65536+(r-55296<<10)+(i-56320),a++)),r<128?t[n++]=r:r<2048?(t[n++]=192|r>>>6,t[n++]=128|r&63):r<65536?(t[n++]=224|r>>>12,t[n++]=128|r>>>6&63,t[n++]=128|r&63):(t[n++]=240|r>>>18,t[n++]=128|r>>>12&63,t[n++]=128|r>>>6&63,t[n++]=128|r&63);return t};function ov(e,t){if(t<65534&&(e.subarray&&nv||!e.subarray&&av))return String.fromCharCode.apply(null,An.shrinkBuf(e,t));for(var r="",i=0;i<t;i++)r+=String.fromCharCode(e[i]);return r}xr.buf2binstring=function(e){return ov(e,e.length)},xr.binstring2buf=function(e){for(var t=new An.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},xr.buf2string=function(e,t){var r,i,a,n,o=t||e.length,s=new Array(o*2);for(i=0,r=0;r<o;){if(a=e[r++],a<128){s[i++]=a;continue}if(n=Xi[a],n>4){s[i++]=65533,r+=n-1;continue}for(a&=n===2?31:n===3?15:7;n>1&&r<o;)a=a<<6|e[r++]&63,n--;if(n>1){s[i++]=65533;continue}a<65536?s[i++]=a:(a-=65536,s[i++]=55296|a>>10&1023,s[i++]=56320|a&1023)}return ov(s,i)},xr.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+Xi[e[r]]>t?r:t};function Dw(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var sv=Dw,Zi=Tt,Ki=Bt,Zs=xr,Ks=Vs,Bw=sv,lv=Object.prototype.toString,Fw=0,Gs=4,ri=0,uv=1,fv=2,$w=-1,zw=0,Uw=8;function Sr(e){if(!(this instanceof Sr))return new Sr(e);this.options=Ki.assign({level:$w,method:Uw,chunkSize:16384,windowBits:15,memLevel:8,strategy:zw,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Bw,this.strm.avail_out=0;var r=Zi.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==ri)throw new Error(Ks[r]);if(t.header&&Zi.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=Zs.string2buf(t.dictionary):lv.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=Zi.deflateSetDictionary(this.strm,i),r!==ri)throw new Error(Ks[r]);this._dict_set=!0}}Sr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a,n;if(this.ended)return!1;n=t===~~t?t:t===!0?Gs:Fw,typeof e=="string"?r.input=Zs.string2buf(e):lv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Ki.Buf8(i),r.next_out=0,r.avail_out=i),a=Zi.deflate(r,n),a!==uv&&a!==ri)return this.onEnd(a),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===Gs||n===fv))&&(this.options.to==="string"?this.onData(Zs.buf2binstring(Ki.shrinkBuf(r.output,r.next_out))):this.onData(Ki.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&a!==uv);return n===Gs?(a=Zi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ri):(n===fv&&(this.onEnd(ri),r.avail_out=0),!0)},Sr.prototype.onData=function(e){this.chunks.push(e)},Sr.prototype.onEnd=function(e){e===ri&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ki.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Js(e,t){var r=new Sr(t);if(r.push(e,!0),r.err)throw r.msg||Ks[r.err];return r.result}function Hw(e,t){return t=t||{},t.raw=!0,Js(e,t)}function Ww(e,t){return t=t||{},t.gzip=!0,Js(e,t)}Fi.Deflate=Sr,Fi.deflate=Js,Fi.deflateRaw=Hw,Fi.gzip=Ww;var Gi={},gt={},kn=30,Vw=12,jw=function(t,r){var i,a,n,o,s,l,u,f,d,g,h,y,m,w,p,_,c,v,b,x,E,C,O,M,R;i=t.state,a=t.next_in,M=t.input,n=a+(t.avail_in-5),o=t.next_out,R=t.output,s=o-(r-t.avail_out),l=o+(t.avail_out-257),u=i.dmax,f=i.wsize,d=i.whave,g=i.wnext,h=i.window,y=i.hold,m=i.bits,w=i.lencode,p=i.distcode,_=(1<<i.lenbits)-1,c=(1<<i.distbits)-1;e:do{m<15&&(y+=M[a++]<<m,m+=8,y+=M[a++]<<m,m+=8),v=w[y&_];t:for(;;){if(b=v>>>24,y>>>=b,m-=b,b=v>>>16&255,b===0)R[o++]=v&65535;else if(b&16){x=v&65535,b&=15,b&&(m<b&&(y+=M[a++]<<m,m+=8),x+=y&(1<<b)-1,y>>>=b,m-=b),m<15&&(y+=M[a++]<<m,m+=8,y+=M[a++]<<m,m+=8),v=p[y&c];r:for(;;){if(b=v>>>24,y>>>=b,m-=b,b=v>>>16&255,b&16){if(E=v&65535,b&=15,m<b&&(y+=M[a++]<<m,m+=8,m<b&&(y+=M[a++]<<m,m+=8)),E+=y&(1<<b)-1,E>u){t.msg="invalid distance too far back",i.mode=kn;break e}if(y>>>=b,m-=b,b=o-s,E>b){if(b=E-b,b>d&&i.sane){t.msg="invalid distance too far back",i.mode=kn;break e}if(C=0,O=h,g===0){if(C+=f-b,b<x){x-=b;do R[o++]=h[C++];while(--b);C=o-E,O=R}}else if(g<b){if(C+=f+g-b,b-=g,b<x){x-=b;do R[o++]=h[C++];while(--b);if(C=0,g<x){b=g,x-=b;do R[o++]=h[C++];while(--b);C=o-E,O=R}}}else if(C+=g-b,b<x){x-=b;do R[o++]=h[C++];while(--b);C=o-E,O=R}for(;x>2;)R[o++]=O[C++],R[o++]=O[C++],R[o++]=O[C++],x-=3;x&&(R[o++]=O[C++],x>1&&(R[o++]=O[C++]))}else{C=o-E;do R[o++]=R[C++],R[o++]=R[C++],R[o++]=R[C++],x-=3;while(x>2);x&&(R[o++]=R[C++],x>1&&(R[o++]=R[C++]))}}else if((b&64)===0){v=p[(v&65535)+(y&(1<<b)-1)];continue r}else{t.msg="invalid distance code",i.mode=kn;break e}break}}else if((b&64)===0){v=w[(v&65535)+(y&(1<<b)-1)];continue t}else if(b&32){i.mode=Vw;break e}else{t.msg="invalid literal/length code",i.mode=kn;break e}break}}while(a<n&&o<l);x=m>>3,a-=x,m-=x<<3,y&=(1<<m)-1,t.next_in=a,t.next_out=o,t.avail_in=a<n?5+(n-a):5-(a-n),t.avail_out=o<l?257+(l-o):257-(o-l),i.hold=y,i.bits=m},cv=Bt,ii=15,vv=852,dv=592,hv=0,Qs=1,gv=2,Yw=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],qw=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Xw=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Zw=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Kw=function(t,r,i,a,n,o,s,l){var u=l.bits,f=0,d=0,g=0,h=0,y=0,m=0,w=0,p=0,_=0,c=0,v,b,x,E,C,O=null,M=0,R,z=new cv.Buf16(ii+1),ie=new cv.Buf16(ii+1),L=null,H=0,q,ae,V;for(f=0;f<=ii;f++)z[f]=0;for(d=0;d<a;d++)z[r[i+d]]++;for(y=u,h=ii;h>=1&&z[h]===0;h--);if(y>h&&(y=h),h===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,l.bits=1,0;for(g=1;g<h&&z[g]===0;g++);for(y<g&&(y=g),p=1,f=1;f<=ii;f++)if(p<<=1,p-=z[f],p<0)return-1;if(p>0&&(t===hv||h!==1))return-1;for(ie[1]=0,f=1;f<ii;f++)ie[f+1]=ie[f]+z[f];for(d=0;d<a;d++)r[i+d]!==0&&(s[ie[r[i+d]]++]=d);if(t===hv?(O=L=s,R=19):t===Qs?(O=Yw,M-=257,L=qw,H-=257,R=256):(O=Xw,L=Zw,R=-1),c=0,d=0,f=g,C=o,m=y,w=0,x=-1,_=1<<y,E=_-1,t===Qs&&_>vv||t===gv&&_>dv)return 1;for(;;){q=f-w,s[d]<R?(ae=0,V=s[d]):s[d]>R?(ae=L[H+s[d]],V=O[M+s[d]]):(ae=32+64,V=0),v=1<<f-w,b=1<<m,g=b;do b-=v,n[C+(c>>w)+b]=q<<24|ae<<16|V|0;while(b!==0);for(v=1<<f-1;c&v;)v>>=1;if(v!==0?(c&=v-1,c+=v):c=0,d++,--z[f]===0){if(f===h)break;f=r[i+s[d]]}if(f>y&&(c&E)!==x){for(w===0&&(w=y),C+=g,m=f-w,p=1<<m;m+w<h&&(p-=z[m+w],!(p<=0));)m++,p<<=1;if(_+=1<<m,t===Qs&&_>vv||t===gv&&_>dv)return 1;x=c&E,n[x]=y<<24|m<<16|C-o|0}}return c!==0&&(n[C+c]=f-w<<24|64<<16|0),l.bits=y,0},it=Bt,el=Xc,At=Zc,Gw=jw,Ji=Kw,Jw=0,pv=1,mv=2,_v=4,Qw=5,Mn=6,Er=0,e1=1,t1=2,ft=-2,bv=-3,wv=-4,r1=-5,yv=8,xv=1,Sv=2,Ev=3,Tv=4,Cv=5,Ov=6,Iv=7,Av=8,kv=9,Mv=10,Rn=11,$t=12,tl=13,Rv=14,rl=15,Lv=16,Pv=17,Nv=18,Dv=19,Ln=20,Pn=21,Bv=22,Fv=23,$v=24,zv=25,Uv=26,il=27,Hv=28,Wv=29,Ie=30,Vv=31,i1=32,a1=852,n1=592,o1=15,s1=o1;function jv(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function l1(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new it.Buf16(320),this.work=new it.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Yv(e){var t;return!e||!e.state?ft:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=xv,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new it.Buf32(a1),t.distcode=t.distdyn=new it.Buf32(n1),t.sane=1,t.back=-1,Er)}function qv(e){var t;return!e||!e.state?ft:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Yv(e))}function Xv(e,t){var r,i;return!e||!e.state||(i=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?ft:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,qv(e))}function Zv(e,t){var r,i;return e?(i=new l1,e.state=i,i.window=null,r=Xv(e,t),r!==Er&&(e.state=null),r):ft}function u1(e){return Zv(e,s1)}var Kv=!0,al,nl;function f1(e){if(Kv){var t;for(al=new it.Buf32(512),nl=new it.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ji(pv,e.lens,0,288,al,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ji(mv,e.lens,0,32,nl,0,e.work,{bits:5}),Kv=!1}e.lencode=al,e.lenbits=9,e.distcode=nl,e.distbits=5}function Gv(e,t,r,i){var a,n=e.state;return n.window===null&&(n.wsize=1<<n.wbits,n.wnext=0,n.whave=0,n.window=new it.Buf8(n.wsize)),i>=n.wsize?(it.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(a=n.wsize-n.wnext,a>i&&(a=i),it.arraySet(n.window,t,r-i,a,n.wnext),i-=a,i?(it.arraySet(n.window,t,r-i,i,0),n.wnext=i,n.whave=n.wsize):(n.wnext+=a,n.wnext===n.wsize&&(n.wnext=0),n.whave<n.wsize&&(n.whave+=a))),0}function c1(e,t){var r,i,a,n,o,s,l,u,f,d,g,h,y,m,w=0,p,_,c,v,b,x,E,C,O=new it.Buf8(4),M,R,z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return ft;r=e.state,r.mode===$t&&(r.mode=tl),o=e.next_out,a=e.output,l=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,u=r.hold,f=r.bits,d=s,g=l,C=Er;e:for(;;)switch(r.mode){case xv:if(r.wrap===0){r.mode=tl;break}for(;f<16;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(r.wrap&2&&u===35615){r.check=0,O[0]=u&255,O[1]=u>>>8&255,r.check=At(r.check,O,2,0),u=0,f=0,r.mode=Sv;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=Ie;break}if((u&15)!==yv){e.msg="unknown compression method",r.mode=Ie;break}if(u>>>=4,f-=4,E=(u&15)+8,r.wbits===0)r.wbits=E;else if(E>r.wbits){e.msg="invalid window size",r.mode=Ie;break}r.dmax=1<<E,e.adler=r.check=1,r.mode=u&512?Mv:$t,u=0,f=0;break;case Sv:for(;f<16;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(r.flags=u,(r.flags&255)!==yv){e.msg="unknown compression method",r.mode=Ie;break}if(r.flags&57344){e.msg="unknown header flags set",r.mode=Ie;break}r.head&&(r.head.text=u>>8&1),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=At(r.check,O,2,0)),u=0,f=0,r.mode=Ev;case Ev:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.head&&(r.head.time=u),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,O[2]=u>>>16&255,O[3]=u>>>24&255,r.check=At(r.check,O,4,0)),u=0,f=0,r.mode=Tv;case Tv:for(;f<16;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.head&&(r.head.xflags=u&255,r.head.os=u>>8),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=At(r.check,O,2,0)),u=0,f=0,r.mode=Cv;case Cv:if(r.flags&1024){for(;f<16;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.length=u,r.head&&(r.head.extra_len=u),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=At(r.check,O,2,0)),u=0,f=0}else r.head&&(r.head.extra=null);r.mode=Ov;case Ov:if(r.flags&1024&&(h=r.length,h>s&&(h=s),h&&(r.head&&(E=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),it.arraySet(r.head.extra,i,n,h,E)),r.flags&512&&(r.check=At(r.check,i,h,n)),s-=h,n+=h,r.length-=h),r.length))break e;r.length=0,r.mode=Iv;case Iv:if(r.flags&2048){if(s===0)break e;h=0;do E=i[n+h++],r.head&&E&&r.length<65536&&(r.head.name+=String.fromCharCode(E));while(E&&h<s);if(r.flags&512&&(r.check=At(r.check,i,h,n)),s-=h,n+=h,E)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=Av;case Av:if(r.flags&4096){if(s===0)break e;h=0;do E=i[n+h++],r.head&&E&&r.length<65536&&(r.head.comment+=String.fromCharCode(E));while(E&&h<s);if(r.flags&512&&(r.check=At(r.check,i,h,n)),s-=h,n+=h,E)break e}else r.head&&(r.head.comment=null);r.mode=kv;case kv:if(r.flags&512){for(;f<16;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(u!==(r.check&65535)){e.msg="header crc mismatch",r.mode=Ie;break}u=0,f=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=$t;break;case Mv:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}e.adler=r.check=jv(u),u=0,f=0,r.mode=Rn;case Rn:if(r.havedict===0)return e.next_out=o,e.avail_out=l,e.next_in=n,e.avail_in=s,r.hold=u,r.bits=f,t1;e.adler=r.check=1,r.mode=$t;case $t:if(t===Qw||t===Mn)break e;case tl:if(r.last){u>>>=f&7,f-=f&7,r.mode=il;break}for(;f<3;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}switch(r.last=u&1,u>>>=1,f-=1,u&3){case 0:r.mode=Rv;break;case 1:if(f1(r),r.mode=Ln,t===Mn){u>>>=2,f-=2;break e}break;case 2:r.mode=Pv;break;case 3:e.msg="invalid block type",r.mode=Ie}u>>>=2,f-=2;break;case Rv:for(u>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",r.mode=Ie;break}if(r.length=u&65535,u=0,f=0,r.mode=rl,t===Mn)break e;case rl:r.mode=Lv;case Lv:if(h=r.length,h){if(h>s&&(h=s),h>l&&(h=l),h===0)break e;it.arraySet(a,i,n,h,o),s-=h,n+=h,l-=h,o+=h,r.length-=h;break}r.mode=$t;break;case Pv:for(;f<14;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(r.nlen=(u&31)+257,u>>>=5,f-=5,r.ndist=(u&31)+1,u>>>=5,f-=5,r.ncode=(u&15)+4,u>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Ie;break}r.have=0,r.mode=Nv;case Nv:for(;r.have<r.ncode;){for(;f<3;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.lens[z[r.have++]]=u&7,u>>>=3,f-=3}for(;r.have<19;)r.lens[z[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,M={bits:r.lenbits},C=Ji(Jw,r.lens,0,19,r.lencode,0,r.work,M),r.lenbits=M.bits,C){e.msg="invalid code lengths set",r.mode=Ie;break}r.have=0,r.mode=Dv;case Dv:for(;r.have<r.nlen+r.ndist;){for(;w=r.lencode[u&(1<<r.lenbits)-1],p=w>>>24,_=w>>>16&255,c=w&65535,!(p<=f);){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(c<16)u>>>=p,f-=p,r.lens[r.have++]=c;else{if(c===16){for(R=p+2;f<R;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(u>>>=p,f-=p,r.have===0){e.msg="invalid bit length repeat",r.mode=Ie;break}E=r.lens[r.have-1],h=3+(u&3),u>>>=2,f-=2}else if(c===17){for(R=p+3;f<R;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}u>>>=p,f-=p,E=0,h=3+(u&7),u>>>=3,f-=3}else{for(R=p+7;f<R;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}u>>>=p,f-=p,E=0,h=11+(u&127),u>>>=7,f-=7}if(r.have+h>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Ie;break}for(;h--;)r.lens[r.have++]=E}}if(r.mode===Ie)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Ie;break}if(r.lenbits=9,M={bits:r.lenbits},C=Ji(pv,r.lens,0,r.nlen,r.lencode,0,r.work,M),r.lenbits=M.bits,C){e.msg="invalid literal/lengths set",r.mode=Ie;break}if(r.distbits=6,r.distcode=r.distdyn,M={bits:r.distbits},C=Ji(mv,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,M),r.distbits=M.bits,C){e.msg="invalid distances set",r.mode=Ie;break}if(r.mode=Ln,t===Mn)break e;case Ln:r.mode=Pn;case Pn:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=n,e.avail_in=s,r.hold=u,r.bits=f,Gw(e,g),o=e.next_out,a=e.output,l=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,u=r.hold,f=r.bits,r.mode===$t&&(r.back=-1);break}for(r.back=0;w=r.lencode[u&(1<<r.lenbits)-1],p=w>>>24,_=w>>>16&255,c=w&65535,!(p<=f);){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(_&&(_&240)===0){for(v=p,b=_,x=c;w=r.lencode[x+((u&(1<<v+b)-1)>>v)],p=w>>>24,_=w>>>16&255,c=w&65535,!(v+p<=f);){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}u>>>=v,f-=v,r.back+=v}if(u>>>=p,f-=p,r.back+=p,r.length=c,_===0){r.mode=Uv;break}if(_&32){r.back=-1,r.mode=$t;break}if(_&64){e.msg="invalid literal/length code",r.mode=Ie;break}r.extra=_&15,r.mode=Bv;case Bv:if(r.extra){for(R=r.extra;f<R;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.length+=u&(1<<r.extra)-1,u>>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Fv;case Fv:for(;w=r.distcode[u&(1<<r.distbits)-1],p=w>>>24,_=w>>>16&255,c=w&65535,!(p<=f);){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if((_&240)===0){for(v=p,b=_,x=c;w=r.distcode[x+((u&(1<<v+b)-1)>>v)],p=w>>>24,_=w>>>16&255,c=w&65535,!(v+p<=f);){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}u>>>=v,f-=v,r.back+=v}if(u>>>=p,f-=p,r.back+=p,_&64){e.msg="invalid distance code",r.mode=Ie;break}r.offset=c,r.extra=_&15,r.mode=$v;case $v:if(r.extra){for(R=r.extra;f<R;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.offset+=u&(1<<r.extra)-1,u>>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Ie;break}r.mode=zv;case zv:if(l===0)break e;if(h=g-l,r.offset>h){if(h=r.offset-h,h>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Ie;break}h>r.wnext?(h-=r.wnext,y=r.wsize-h):y=r.wnext-h,h>r.length&&(h=r.length),m=r.window}else m=a,y=o-r.offset,h=r.length;h>l&&(h=l),l-=h,r.length-=h;do a[o++]=m[y++];while(--h);r.length===0&&(r.mode=Pn);break;case Uv:if(l===0)break e;a[o++]=r.length,l--,r.mode=Pn;break;case il:if(r.wrap){for(;f<32;){if(s===0)break e;s--,u|=i[n++]<<f,f+=8}if(g-=l,e.total_out+=g,r.total+=g,g&&(e.adler=r.check=r.flags?At(r.check,a,g,o-g):el(r.check,a,g,o-g)),g=l,(r.flags?u:jv(u))!==r.check){e.msg="incorrect data check",r.mode=Ie;break}u=0,f=0}r.mode=Hv;case Hv:if(r.wrap&&r.flags){for(;f<32;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(u!==(r.total&4294967295)){e.msg="incorrect length check",r.mode=Ie;break}u=0,f=0}r.mode=Wv;case Wv:C=e1;break e;case Ie:C=bv;break e;case Vv:return wv;case i1:default:return ft}return e.next_out=o,e.avail_out=l,e.next_in=n,e.avail_in=s,r.hold=u,r.bits=f,(r.wsize||g!==e.avail_out&&r.mode<Ie&&(r.mode<il||t!==_v))&&Gv(e,e.output,e.next_out,g-e.avail_out),d-=e.avail_in,g-=e.avail_out,e.total_in+=d,e.total_out+=g,r.total+=g,r.wrap&&g&&(e.adler=r.check=r.flags?At(r.check,a,g,e.next_out-g):el(r.check,a,g,e.next_out-g)),e.data_type=r.bits+(r.last?64:0)+(r.mode===$t?128:0)+(r.mode===Ln||r.mode===rl?256:0),(d===0&&g===0||t===_v)&&C===Er&&(C=r1),C}function v1(e){if(!e||!e.state)return ft;var t=e.state;return t.window&&(t.window=null),e.state=null,Er}function d1(e,t){var r;return!e||!e.state||(r=e.state,(r.wrap&2)===0)?ft:(r.head=t,t.done=!1,Er)}function h1(e,t){var r=t.length,i,a,n;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==Rn)?ft:i.mode===Rn&&(a=1,a=el(a,t,r,0),a!==i.check)?bv:(n=Gv(e,t,r,r),n?(i.mode=Vv,wv):(i.havedict=1,Er))}gt.inflateReset=qv,gt.inflateReset2=Xv,gt.inflateResetKeep=Yv,gt.inflateInit=u1,gt.inflateInit2=Zv,gt.inflate=c1,gt.inflateEnd=v1,gt.inflateGetHeader=d1,gt.inflateSetDictionary=h1,gt.inflateInfo="pako inflate (from Nodeca project)";var Jv={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};function g1(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var p1=g1,ai=gt,Qi=Bt,Nn=xr,Me=Jv,ol=Vs,m1=sv,_1=p1,Qv=Object.prototype.toString;function Tr(e){if(!(this instanceof Tr))return new Tr(e);this.options=Qi.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new m1,this.strm.avail_out=0;var r=ai.inflateInit2(this.strm,t.windowBits);if(r!==Me.Z_OK)throw new Error(ol[r]);if(this.header=new _1,ai.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Nn.string2buf(t.dictionary):Qv.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ai.inflateSetDictionary(this.strm,t.dictionary),r!==Me.Z_OK)))throw new Error(ol[r])}Tr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a=this.options.dictionary,n,o,s,l,u,f=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?Me.Z_FINISH:Me.Z_NO_FLUSH,typeof e=="string"?r.input=Nn.binstring2buf(e):Qv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Qi.Buf8(i),r.next_out=0,r.avail_out=i),n=ai.inflate(r,Me.Z_NO_FLUSH),n===Me.Z_NEED_DICT&&a&&(n=ai.inflateSetDictionary(this.strm,a)),n===Me.Z_BUF_ERROR&&f===!0&&(n=Me.Z_OK,f=!1),n!==Me.Z_STREAM_END&&n!==Me.Z_OK)return this.onEnd(n),this.ended=!0,!1;r.next_out&&(r.avail_out===0||n===Me.Z_STREAM_END||r.avail_in===0&&(o===Me.Z_FINISH||o===Me.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=Nn.utf8border(r.output,r.next_out),l=r.next_out-s,u=Nn.buf2string(r.output,s),r.next_out=l,r.avail_out=i-l,l&&Qi.arraySet(r.output,r.output,s,l,0),this.onData(u)):this.onData(Qi.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(f=!0)}while((r.avail_in>0||r.avail_out===0)&&n!==Me.Z_STREAM_END);return n===Me.Z_STREAM_END&&(o=Me.Z_FINISH),o===Me.Z_FINISH?(n=ai.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Me.Z_OK):(o===Me.Z_SYNC_FLUSH&&(this.onEnd(Me.Z_OK),r.avail_out=0),!0)},Tr.prototype.onData=function(e){this.chunks.push(e)},Tr.prototype.onEnd=function(e){e===Me.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Qi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function sl(e,t){var r=new Tr(t);if(r.push(e,!0),r.err)throw r.msg||ol[r.err];return r.result}function b1(e,t){return t=t||{},t.raw=!0,sl(e,t)}Gi.Inflate=Tr,Gi.inflate=sl,Gi.inflateRaw=b1,Gi.ungzip=sl;var w1=Bt.assign,y1=Fi,x1=Gi,S1=Jv,ed={};w1(ed,y1,x1,S1);var td=ed,E1="upx2px",T1=1e-4,C1=750,rd=!1,ll=0,id=0,ad=960,nd=375;function O1(){var{platform:e,pixelRatio:t,windowWidth:r}=Ec();ll=r,id=t,rd=e==="ios"}function od(e,t){var r=Number(e);return isNaN(r)?t:r}function I1(){var e=__uniConfig.globalStyle||{};ad=od(e.rpxCalcMaxDeviceWidth,960),nd=od(e.rpxCalcBaseDeviceWidth,375)}var sd=Cb(E1,(e,t)=>{if(ll===0&&(O1(),I1()),e=Number(e),e===0)return 0;var r=t||ll;r=r<=ad?r:nd;var i=e/C1*r;return i<0&&(i=-i),i=Math.floor(i+T1),i===0&&(id===1||!rd?i=1:i=.5),e<0?-i:i});new $u;var A1=[{name:"id",type:String,required:!0}];A1.concat({name:"componentInstance",type:Object});var ld={};ld.f={}.propertyIsEnumerable;var k1=ci,M1=mo,R1=xa,L1=ld.f,P1=function(e){return function(t){for(var r=R1(t),i=M1(r),a=i.length,n=0,o=[],s;a>n;)s=i[n++],(!k1||L1.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},ud=go,N1=P1(!1);ud(ud.S,"Object",{values:function(t){return N1(t)}});var D1="setPageMeta",B1="loadFontFace",F1="pageScrollTo",$1=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(c){try{return c.defaultView&&c.defaultView.frameElement||null}catch(v){return null}}var t=function(c){for(var v=c,b=e(v);b;)v=b.ownerDocument,b=e(v);return v}(window.document),r=[],i=null,a=null;function n(c){this.time=c.time,this.target=c.target,this.rootBounds=y(c.rootBounds),this.boundingClientRect=y(c.boundingClientRect),this.intersectionRect=y(c.intersectionRect||h()),this.isIntersecting=!!c.intersectionRect;var v=this.boundingClientRect,b=v.width*v.height,x=this.intersectionRect,E=x.width*x.height;b?this.intersectionRatio=Number((E/b).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(c,v){var b=v||{};if(typeof c!="function")throw new Error("callback must be a function");if(b.root&&b.root.nodeType!=1&&b.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=c,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(b.rootMargin),this.thresholds=this._initThresholds(b.threshold),this.root=b.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(c,v){!c||!v?a=h():a=m(c,v),r.forEach(function(b){b._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,a=null},o.prototype.observe=function(c){var v=this._observationTargets.some(function(b){return b.element==c});if(!v){if(!(c&&c.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:c,entry:null}),this._monitorIntersections(c.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(c){this._observationTargets=this._observationTargets.filter(function(v){return v.element!=c}),this._unmonitorIntersections(c.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var c=this._queuedEntries.slice();return this._queuedEntries=[],c},o.prototype._initThresholds=function(c){var v=c||[0];return Array.isArray(v)||(v=[v]),v.sort().filter(function(b,x,E){if(typeof b!="number"||isNaN(b)||b<0||b>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return b!==E[x-1]})},o.prototype._parseRootMargin=function(c){var v=c||"0px",b=v.split(/\s+/).map(function(x){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(x);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return b[1]=b[1]||b[0],b[2]=b[2]||b[0],b[3]=b[3]||b[1],b},o.prototype._monitorIntersections=function(c){var v=c.defaultView;if(!!v&&this._monitoringDocuments.indexOf(c)==-1){var b=this._checkForIntersections,x=null,E=null;this.POLL_INTERVAL?x=v.setInterval(b,this.POLL_INTERVAL):(u(v,"resize",b,!0),u(c,"scroll",b,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in v&&(E=new v.MutationObserver(b),E.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(c),this._monitoringUnsubscribes.push(function(){var M=c.defaultView;M&&(x&&M.clearInterval(x),f(M,"resize",b,!0)),f(c,"scroll",b,!0),E&&E.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(c!=C){var O=e(c);O&&this._monitorIntersections(O.ownerDocument)}}},o.prototype._unmonitorIntersections=function(c){var v=this._monitoringDocuments.indexOf(c);if(v!=-1){var b=this.root&&(this.root.ownerDocument||this.root)||t,x=this._observationTargets.some(function(O){var M=O.element.ownerDocument;if(M==c)return!0;for(;M&&M!=b;){var R=e(M);if(M=R&&R.ownerDocument,M==c)return!0}return!1});if(!x){var E=this._monitoringUnsubscribes[v];if(this._monitoringDocuments.splice(v,1),this._monitoringUnsubscribes.splice(v,1),E(),c!=b){var C=e(c);C&&this._unmonitorIntersections(C.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var c=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var v=0;v<c.length;v++)c[v]()},o.prototype._checkForIntersections=function(){if(!(!this.root&&i&&!a)){var c=this._rootIsInDom(),v=c?this._getRootRect():h();this._observationTargets.forEach(function(b){var x=b.element,E=g(x),C=this._rootContainsTarget(x),O=b.entry,M=c&&C&&this._computeTargetAndRootIntersection(x,E,v),R=null;this._rootContainsTarget(x)?(!i||this.root)&&(R=v):R=h();var z=b.entry=new n({time:s(),target:x,boundingClientRect:E,rootBounds:R,intersectionRect:M});O?c&&C?this._hasCrossedThreshold(O,z)&&this._queuedEntries.push(z):O&&O.isIntersecting&&this._queuedEntries.push(z):this._queuedEntries.push(z)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(c,v,b){if(window.getComputedStyle(c).display!="none"){for(var x=v,E=p(c),C=!1;!C&&E;){var O=null,M=E.nodeType==1?window.getComputedStyle(E):{};if(M.display=="none")return null;if(E==this.root||E.nodeType==9)if(C=!0,E==this.root||E==t)i&&!this.root?!a||a.width==0&&a.height==0?(E=null,O=null,x=null):O=a:O=b;else{var R=p(E),z=R&&g(R),ie=R&&this._computeTargetAndRootIntersection(R,z,b);z&&ie?(E=R,O=m(z,ie)):(E=null,x=null)}else{var L=E.ownerDocument;E!=L.body&&E!=L.documentElement&&M.overflow!="visible"&&(O=g(E))}if(O&&(x=d(O,x)),!x)break;E=E&&p(E)}return x}},o.prototype._getRootRect=function(){var c;if(this.root&&!_(this.root))c=g(this.root);else{var v=_(this.root)?this.root:t,b=v.documentElement,x=v.body;c={top:0,left:0,right:b.clientWidth||x.clientWidth,width:b.clientWidth||x.clientWidth,bottom:b.clientHeight||x.clientHeight,height:b.clientHeight||x.clientHeight}}return this._expandRectByRootMargin(c)},o.prototype._expandRectByRootMargin=function(c){var v=this._rootMarginValues.map(function(x,E){return x.unit=="px"?x.value:x.value*(E%2?c.width:c.height)/100}),b={top:c.top-v[0],right:c.right+v[1],bottom:c.bottom+v[2],left:c.left-v[3]};return b.width=b.right-b.left,b.height=b.bottom-b.top,b},o.prototype._hasCrossedThreshold=function(c,v){var b=c&&c.isIntersecting?c.intersectionRatio||0:-1,x=v.isIntersecting?v.intersectionRatio||0:-1;if(b!==x)for(var E=0;E<this.thresholds.length;E++){var C=this.thresholds[E];if(C==b||C==x||C<b!=C<x)return!0}},o.prototype._rootIsInDom=function(){return!this.root||w(t,this.root)},o.prototype._rootContainsTarget=function(c){var v=this.root&&(this.root.ownerDocument||this.root)||t;return w(v,c)&&(!this.root||v==c.ownerDocument)},o.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},o.prototype._unregisterInstance=function(){var c=r.indexOf(this);c!=-1&&r.splice(c,1)};function s(){return window.performance&&performance.now&&performance.now()}function l(c,v){var b=null;return function(){b||(b=setTimeout(function(){c(),b=null},v))}}function u(c,v,b,x){typeof c.addEventListener=="function"?c.addEventListener(v,b,x||!1):typeof c.attachEvent=="function"&&c.attachEvent("on"+v,b)}function f(c,v,b,x){typeof c.removeEventListener=="function"?c.removeEventListener(v,b,x||!1):typeof c.detatchEvent=="function"&&c.detatchEvent("on"+v,b)}function d(c,v){var b=Math.max(c.top,v.top),x=Math.min(c.bottom,v.bottom),E=Math.max(c.left,v.left),C=Math.min(c.right,v.right),O=C-E,M=x-b;return O>=0&&M>=0&&{top:b,bottom:x,left:E,right:C,width:O,height:M}||null}function g(c){var v;try{v=c.getBoundingClientRect()}catch(b){}return v?(v.width&&v.height||(v={top:v.top,right:v.right,bottom:v.bottom,left:v.left,width:v.right-v.left,height:v.bottom-v.top}),v):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function y(c){return!c||"x"in c?c:{top:c.top,y:c.top,bottom:c.bottom,left:c.left,x:c.left,right:c.right,width:c.width,height:c.height}}function m(c,v){var b=v.top-c.top,x=v.left-c.left;return{top:b,left:x,height:v.height,width:v.width,bottom:b+v.height,right:x+v.width}}function w(c,v){for(var b=v;b;){if(b==c)return!0;b=p(b)}return!1}function p(c){var v=c.parentNode;return c.nodeType==9&&c!=t?e(c):(v&&v.assignedSlot&&(v=v.assignedSlot.parentNode),v&&v.nodeType==11&&v.host?v.host:v)}function _(c){return c&&c.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=n};function ul(e){var{bottom:t,height:r,left:i,right:a,top:n,width:o}=e||{};return{bottom:t,height:r,left:i,right:a,top:n,width:o}}function z1(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:a,width:n}}=e;return t!==0?t:a===r?n/i:a/r}function U1(e,t,r){$1();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,a=new IntersectionObserver(l=>{l.forEach(u=>{r({intersectionRatio:z1(u),intersectionRect:ul(u.intersectionRect),boundingClientRect:ul(u.boundingClientRect),relativeRect:ul(u.rootBounds),time:Date.now(),dataset:$o(u.target),id:u.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){a.USE_MUTATION_OBSERVER=!0;for(var n=e.querySelectorAll(t.selector),o=0;o<n.length;o++)a.observe(n[o])}else{a.USE_MUTATION_OBSERVER=!1;var s=e.querySelector(t.selector);s?a.observe(s):console.warn("Node ".concat(t.selector," is not found. Intersection observer will not trigger."))}return a}function H1(e){UniViewJSBridge.invokeServiceMethod("navigateTo",e)}function W1(e){UniViewJSBridge.invokeServiceMethod("navigateBack",e)}function V1(e){UniViewJSBridge.invokeServiceMethod("reLaunch",e)}function j1(e){UniViewJSBridge.invokeServiceMethod("redirectTo",e)}function Y1(e){UniViewJSBridge.invokeServiceMethod("switchTab",e)}var q1=Object.freeze(Object.defineProperty({__proto__:null,upx2px:sd,navigateTo:H1,navigateBack:W1,reLaunch:V1,redirectTo:j1,switchTab:Y1},Symbol.toStringTag,{value:"Module"}));function X1(){if(String(navigator.vendor).indexOf("Apple")===0){var e=null,t;document.documentElement.addEventListener("click",r=>{var i=450,a=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=a&&Math.abs(r.pageY-e.pageY)<=a&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function Z1(e){if(!e.length)return r=>r;var t=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(typeof r=="number")return e[r];var a={};return r.forEach(n=>{var[o,s]=n;i?a[t(o)]=t(s):a[t(o)]=s}),a};return t}function fd(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=K1(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function K1(e,t){var r={};return e.forEach(i=>{var[a,[n,o]]=i;r[t(a)]=[t(n),o]}),r}function G1(e,t){return e.priority=t,e}var fl=new Set,J1=1,Dn=2,cd=3,vd=4;function zt(e,t){fl.add(G1(e,t))}function Q1(){try{[...fl].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{fl.clear()}}function dd(e,t){var r=window["__"+Pp],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var ey=Au.length;function ty(e,t,r){var[i,a,n,o]=vl(t),s=cl(e,i);if(te(r)||te(o)){var[l,u]=n.split(".");return dl(s,a,l,u,r||o)}return ay(s,a,n)}function ry(e,t,r){var[i,a,n]=vl(t),[o,s]=n.split("."),l=cl(e,i);return dl(l,a,o,s,[oy(r,e),Bi(Zr(l))])}function cl(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 vl(e){return JSON.parse(e.slice(ey))}function iy(e,t,r,i){var[a,n,o]=vl(e),s=cl(t,a),[l,u]=o.split(".");return dl(s,n,l,u,[r,i,Bi(Zr(s)),Bi(Zr(t))])}function dl(e,t,r,i,a){var n=dd(t,e);if(!n)return console.error(Bo("wxs","module "+r+" not found"));var o=n[i];return re(o)?o.apply(n,a):console.error(r+"."+i+" is not a function")}function ay(e,t,r){var i=dd(t,e);return i?Mu(i,r.slice(r.indexOf(".")+1)):console.error(Bo("wxs","module "+r+" not found"))}function ny(e,t,r){var i=r;return a=>{try{iy(t,e.$,a,i)}catch(n){console.error(n)}i=a}}function oy(e,t){var r=Zr(t);return Object.defineProperty(e,"instance",{get(){return Bi(r)}}),e}function hd(e,t){Object.keys(t).forEach(r=>{ly(e,t[r])})}function sy(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function ly(e,t){var r=uy(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=fy(i,r)}}function uy(e){var t=window["__"+Np],r=t&&t[e];return r||console.error(Bo("renderjs",e+" not found"))}function fy(e,t){return t=t.default||t,t.render=()=>{},lc(t).mixin({mounted(){this.$ownerInstance=Bi(Zr(e))}}).mount(document.createElement("div"))}class ni{constructor(t,r,i,a){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,a&&(this.$=a),this.$wxsProps=new Map;var n=this.$parent=E2(i);n&&n.appendUniChild(this)}init(t){ne(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t,this.updateView()}insert(t,r,i){i&&this.init(i,!1);var a=this.$,n=Ke(t);r===-1?n.appendChild(a):n.insertBefore(a,Ke(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Ih(this.id),sy(this),this.removeUniChildren(),this.updateView()}appendChild(t){var r=this.$.appendChild(t);return this.updateView(!0),r}insertBefore(t,r){var i=this.$.insertBefore(t,r);return this.updateView(!0),i}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(Vo)===0){var i=r.replace(Vo,""),a=t[i],n=ny(this,t[r],a);zt(()=>n(a),vd),this.$wxsProps.set(r,n),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,a]=t[r];this.addWxsEvent(r,i,a)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.$hasWxsProps&&this.$wxsProps.get(Vo+t);if(a)return zt(()=>i?Ur(()=>a(r)):a(r),vd),!0}updateView(t){(this.isMounted||t)&&window.dispatchEvent(new CustomEvent("updateview"))}}function gd(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(a=>i.indexOf(a)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function hl(e){return vy(Yr(e,!0))}var cy=/url\(\s*'?"?([a-zA-Z0-9\.\-\_\/]+\.(jpg|gif|png))"?'?\s*\)/,vy=e=>{if(ve(e)&&e.indexOf("url(")!==-1){var t=e.match(cy);t&&t.length===3&&(e=e.replace(t[1],st(t[1])))}return e},pd=["Webkit"],gl={};function md(e,t){var r=gl[t];if(r)return r;var i=Ht(t);if(i!=="filter"&&i in e)return gl[t]=i;i=Mo(i);for(var a=0;a<pd.length;a++){var n=pd[a]+i;if(n in e)return gl[t]=n}return t}function _d(e,t){var r=e.style;if(ve(t))t===""?e.removeAttribute("style"):r.cssText=hl(t);else for(var i in t)pl(r,i,t[i]);var{__wxsStyle:a}=e;if(a)for(var n in a)pl(r,n,a[n])}var bd=/\s*!important$/;function pl(e,t,r){if(te(r))r.forEach(a=>pl(e,t,a));else if(r=hl(r),t.startsWith("--"))e.setProperty(t,r);else{var i=md(e,t);bd.test(r)?e.setProperty(Je(i),r.replace(bd,""),"important"):e[i]=r}}var dy=ku.length;function ml(e,t){return ve(t)&&(t.indexOf(ku)===0?t=JSON.parse(t.slice(dy)):t.indexOf(Au)===0&&(t=ty(e,t))),t}function Bn(e){return e.indexOf("--")===0}function hy(e){return!!e.addWxsEvent}function wd(e,t){var r=e.__listeners[t];r&&e.removeEventListener(t,r)}function yd(e,t){if(e.__listeners[t])return!0}function xd(e,t,r){var[i,a]=Uo(t);r===-1?wd(e,i):yd(e,i)||e.addEventListener(i,e.__listeners[i]=Sd(e.__id,r,a),a)}function Sd(e,t,r){var i=a=>{var[n]=bc(a);n.type=Zp(a.type,r),UniViewJSBridge.publishHandler(xc,[[um,e,n]])};return t?Es(i,Ed(t)):i}function Ed(e){var t=[];return e&Ho.prevent&&t.push("prevent"),e&Ho.self&&t.push("self"),e&Ho.stop&&t.push("stop"),t}function gy(e,t,r,i){var[a,n]=Uo(t);i===-1?wd(e,a):yd(e,a)||e.addEventListener(a,e.__listeners[a]=Td(e,r,i),n)}function Td(e,t,r){var i=a=>{ry(hy(e)?e.$:e,t,bc(a)[0])};return r?Es(i,Ed(r)):i}function _l(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class Cd extends ni{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r.tagName,i,r),this.$props=ke({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=o,this._update=this.update.bind(this),this.init(n),this.insert(i,a)}init(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ne(t,"a")&&this.setAttrs(t.a),ne(t,"s")&&this.setAttr("style",t.s),ne(t,"e")&&this.addEvents(t.e),ne(t,"w")&&this.addWxsEvents(t.w),super.init(t),r&&(W(this.$props,()=>{zt(this._update,J1)},{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){gy(this.$,t,r,i)}addEvent(t,r){xd(this.$,t,r)}removeEvent(t){xd(this.$,t,-1)}setAttr(t,r){t===Pu?gd(this.$,r):t===Wo?_d(this.$,r):t===Fa?_l(this.$,r):t===Nu?this.$.__ownerId=r:t===Du?zt(()=>hd(this,r),cd):t===Kp?this.$.innerHTML=r:t===Gp?this.setText(r):this.setAttribute(t,r),this.updateView()}removeAttr(t){t===Pu?gd(this.$,""):t===Wo?_d(this.$,""):this.removeAttribute(t),this.updateView()}setAttribute(t,r){r=ml(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:Bn(t)?this.$.style.setProperty(t,r):this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:Bn(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class py extends ni{constructor(t,r,i){super(t,"#comment",r,document.createComment("")),this.insert(r,i)}}var Q2="";function Od(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 my(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function _y(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"],a=["width","height","left","right","top","bottom"],n=e.animates,o=e.option,s=o.transition,l={},u=[];return n.forEach(f=>{var d=f.type,g=[...f.args];if(t.concat(r).includes(d))d.startsWith("rotate")||d.startsWith("skew")?g=g.map(y=>parseFloat(y)+"deg"):d.startsWith("translate")&&(g=g.map(Od)),r.indexOf(d)>=0&&(g.length=1),u.push("".concat(d,"(").concat(g.join(","),")"));else if(i.concat(a).includes(g[0])){d=g[0];var h=g[1];l[d]=a.includes(d)?Od(h):h}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(f=>"".concat(my(f)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}function Id(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,a=t.actions.length;function n(){var o=i[r],s=o.option.transition,l=_y(o);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r<a&&setTimeout(n,s.duration+s.delay)}setTimeout(()=>{n()},0)}var Fn={props:["animation"],watch:{animation:{deep:!0,handler(){Id(this)}}},mounted(){Id(this)}},he=e=>{e.__reserved=!0;var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(Fn),by(e)},by=e=>(e.__reserved=!0,e.compatConfig={MODE:3},D0(e)),wy={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function bl(e){var t=B(!1),r=!1,i,a;function n(){requestAnimationFrame(()=>{clearTimeout(a),a=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||n()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&n()}function l(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:l}}}function oi(e,t){return ve(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Cr(e){return e.__wwe=!0,e}function Re(e,t){return(r,i,a)=>{e.value&&t(r,xy(r,i,e.value,a||{}))}}function yy(e){return(t,r)=>{e(t,wc(r))}}function xy(e,t,r,i){var a=zo(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:i}}var kt=pn("uf"),Sy=he({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,a=B(null);return Ey(Re(a,i)),()=>A("uni-form",{ref:a},[A("span",null,[r.default&&r.default()])],512)}});function Ey(e){var t=[];return $e(kt,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,a)=>{if(a.submit){var[n,o]=a.submit();n&&(i[n]=o)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var Ty={for:{type:String,default:""}},ea=pn("ul");function Cy(){var e=[];return $e(ea,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}var Oy=he({name:"Label",props:Ty,setup(e,t){var{slots:r}=t,i=bn(),a=Cy(),n=ee(()=>e.for||r.default&&r.default.length),o=Cr(s=>{var l=s.target,u=/^uni-(checkbox|radio|switch)-/.test(l.className);u||(u=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(l.tagName)),!u&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,s,!0):a.length&&a[0](s,!0))});return()=>A("uni-label",{class:{"uni-label-pointer":n},onClick:o},[r.default&&r.default()],10,["onClick"])}});function $n(e,t){Ad(e.id,t),W(()=>e.id,(r,i)=>{kd(i,t,!0),Ad(r,t,!0)}),Zt(()=>{kd(e.id,t)})}function Ad(e,t,r){var i=bn();r&&!e||!_t(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.on(a,t[a]):e&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}function kd(e,t,r){var i=bn();r&&!e||!_t(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.off(a,t[a]):e&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}var Iy={id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},Ay=he({name:"Button",props:Iy,setup(e,t){var{slots:r}=t,i=B(null);Im();var a=be(kt,!1),{hovering:n,binding:o}=bl(e),{t:s}=Qe(),l=Cr((f,d)=>{if(e.disabled)return f.stopImmediatePropagation();d&&i.value.click();var g=e.formType;if(g){if(!a)return;g==="submit"?a.submit(f):g==="reset"&&a.reset(f);return}e.openType==="feedback"&&ky(s("uni.button.feedback.title"),s("uni.button.feedback.send"))}),u=be(ea,!1);return u&&(u.addHandler(l),Oe(()=>{u.removeHandler(l)})),$n(e,{"label-click":l}),()=>{var f=e.hoverClass,d=oi(e,"disabled"),g=oi(e,"loading"),h=oi(e,"plain"),y=f&&f!=="none";return A("uni-button",rt({ref:i,onClick:l,class:y&&n.value?f:""},y&&o,d,g,h),[r.default&&r.default()],16,["onClick"])}}});function ky(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 Or=he({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=B(null),a=Ry(i),n=My(i,r,a);return Ly(i,e,n,a),()=>A("uni-resize-sensor",{ref:i,onAnimationstartOnce:n},[A("div",{onScroll:n},[A("div",null,null)],40,["onScroll"]),A("div",{onScroll:n},[A("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function My(e,t,r){var i=ke({width:-1,height:-1});return W(()=>fe({},i),a=>t("resize",a)),()=>{var a=e.value;i.width=a.offsetWidth,i.height=a.offsetHeight,r()}}function Ry(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Ly(e,t,r,i){cs(i),Le(()=>{t.initial&&Ur(r);var a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var xe=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 Md(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;e.width=e.offsetWidth*(t?xe:1),e.height=e.offsetHeight*(t?xe:1),e.getContext("2d").__hidpi__=t}var Rd=!1;function Py(){if(!Rd){Rd=!0;var e=function(i,a){for(var n in i)ne(i,n)&&a(i[n],n)},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",transform:[4,5],setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(a,n,o,s,l,u,f,d,g,h){if(!this.__hidpi__)return i.apply(this,arguments);n*=xe,o*=xe,s*=xe,l*=xe,u*=xe,f*=xe,d=h?d*xe:d,g=h?g*xe:g,i.call(this,a,n,o,s,l,u,f,d,g)}}(r.drawImage),xe!==1&&(e(t,function(i,a){r[a]=function(n){return function(){if(!this.__hidpi__)return n.apply(this,arguments);var o=Array.prototype.slice.call(arguments);if(i==="all")o=o.map(function(l){return l*xe});else if(Array.isArray(i))for(var s=0;s<i.length;s++)o[i[s]]*=xe;return n.apply(this,o)}}(r[a])}),r.stroke=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);this.lineWidth*=xe,i.apply(this,arguments),this.lineWidth/=xe}}(r.stroke),r.fillText=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);var a=Array.prototype.slice.call(arguments);a[1]*=xe,a[2]*=xe,a[3]&&typeof a[3]=="number"&&(a[3]*=xe);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(o,s,l){return s*xe+l}),i.apply(this,a),this.font=n}}(r.fillText),r.strokeText=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);var a=Array.prototype.slice.call(arguments);a[1]*=xe,a[2]*=xe,a[3]&&typeof a[3]=="number"&&(a[3]*=xe);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(o,s,l){return s*xe+l}),i.apply(this,a),this.font=n}}(r.strokeText),r.drawImage=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);this.scale(xe,xe),i.apply(this,arguments),this.scale(1/xe,1/xe)}}(r.drawImage))}}var Ny=_i(()=>Py());function Ld(e){return e&&st(e)}function zn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Pd(e,t){var r=e;return Array.from(t).map(i=>{var a=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-a.left,y:i.clientY-a.top}})}var ta;function Nd(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ta||(ta=document.createElement("canvas")),ta.width=e,ta.height=t,ta}var Dy={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},By=he({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:Dy,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;Ny();var a=B(null),n=B(null),o=B(!1),s=yy(r),{$attrs:l,$excludeAttrs:u,$listeners:f}=eh({excludeListeners:!0}),{_listeners:d}=Fy(e,f,s),{_handleSubscribe:g,_resize:h}=$y(e,a,o);return ua(g,fa(e.canvasId),!0),Le(()=>{h()}),()=>{var{canvasId:y,disableScroll:m}=e;return A("uni-canvas",rt({"canvas-id":y,"disable-scroll":m},l.value,u.value,d.value),[A("canvas",{ref:a,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),A("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),A(Or,{ref:n,onResize:h},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Fy(e,t,r){var i=ee(()=>{var a=["onTouchstart","onTouchmove","onTouchend"],n=t.value,o=fe({},(()=>{var s={};for(var l in n)if(Object.prototype.hasOwnProperty.call(n,l)){var u=n[l];s[l]=u}return s})());return a.forEach(s=>{var l=o[s],u=[];l&&u.push(Cr(f=>{r(s.replace("on","").toLocaleLowerCase(),fe({},(()=>{var d={};for(var g in f)d[g]=f[g];return d})(),{touches:Pd(f.currentTarget,f.touches),changedTouches:Pd(f.currentTarget,f.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&u.push(cc),o[s]=u}),o});return{_listeners:i}}function $y(e,t,r){var i=[],a={},n=ee(()=>e.hidpi?xe:1);function o(m){var w=t.value,p=!m||w.width!==Math.floor(m.width*n.value)||w.height!==Math.floor(m.height*n.value);if(!!p)if(w.width>0&&w.height>0){var _=w.getContext("2d"),c=_.getImageData(0,0,w.width,w.height);Md(w,e.hidpi),_.putImageData(c,0,0)}else Md(w,e.hidpi)}function s(m,w){var{actions:p,reserve:_}=m;if(!!p){if(r.value){i.push([p,_]);return}var c=t.value,v=c.getContext("2d");_||(v.fillStyle="#000000",v.strokeStyle="#000000",v.shadowColor="#000000",v.shadowBlur=0,v.shadowOffsetX=0,v.shadowOffsetY=0,v.setTransform(1,0,0,1,0,0),v.clearRect(0,0,c.width,c.height)),l(p);for(var b=function(C){var O=p[C],M=O.method,R=O.data,z=R[0];if(/^set/.test(M)&&M!=="setTransform"){var ie=M[3].toLowerCase()+M.slice(4),L;if(ie==="fillStyle"||ie==="strokeStyle"){if(z==="normal")L=zn(R[1]);else if(z==="linear"){var H=v.createLinearGradient(...R[1]);R[2].forEach(function(J){var Se=J[0],ye=zn(J[1]);H.addColorStop(Se,ye)}),L=H}else if(z==="radial"){var q=R[1],ae=q[0],V=q[1],K=q[2],oe=v.createRadialGradient(ae,V,0,ae,V,K);R[2].forEach(function(J){var Se=J[0],ye=zn(J[1]);oe.addColorStop(Se,ye)}),L=oe}else if(z==="pattern"){var Ce=u(R[1],p.slice(C+1),w,function(J){J&&(v[ie]=v.createPattern(J,R[2]))});return Ce?"continue":"break"}v[ie]=L}else if(ie==="globalAlpha")v[ie]=Number(z)/255;else if(ie==="shadow"){var se=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];R.forEach(function(J,Se){v[se[Se]]=se[Se]==="shadowColor"?zn(J):J})}else if(ie==="fontSize"){var ge=v.__font__||v.font;v.__font__=v.font=ge.replace(/\d+\.?\d*px/,z+"px")}else ie==="lineDash"?(v.setLineDash(z),v.lineDashOffset=R[1]||0):ie==="textBaseline"?(z==="normal"&&(R[0]="alphabetic"),v[ie]=z):ie==="font"?v.__font__=v.font=z:v[ie]=z}else if(M==="fillPath"||M==="strokePath")M=M.replace(/Path/,""),v.beginPath(),R.forEach(function(J){v[J.method].apply(v,J.data)}),v[M]();else if(M==="fillText")v.fillText.apply(v,R);else if(M==="drawImage"){var le=function(){var J=[...R],Se=J[0],ye=J.slice(1);if(a=a||{},!u(Se,p.slice(C+1),w,function(Ve){Ve&&v.drawImage.apply(v,[Ve].concat([...ye.slice(4,8)],[...ye.slice(0,4)]))}))return"break"}();if(le==="break")return"break"}else M==="clip"?(R.forEach(function(J){v[J.method].apply(v,J.data)}),v.clip()):v[M].apply(v,R)},x=0;x<p.length;x++){var E=b(x);if(E==="break")break}r.value||w({errMsg:"drawCanvas:ok"})}}function l(m){m.forEach(function(w){var p=w.method,_=w.data,c="";p==="drawImage"?(c=_[0],c=Ld(c),_[0]=c):p==="setFillStyle"&&_[0]==="pattern"&&(c=_[1],c=Ld(c),_[1]=c),c&&!a[c]&&v();function v(){var b=a[c]=new Image;if(b.onload=function(){b.ready=!0},navigator.vendor==="Google Inc."){c.indexOf("file://")===0&&(b.crossOrigin="anonymous"),b.src=c;return}Rb(c).then(x=>{b.src=x}).catch(()=>{b.src=c})}})}function u(m,w,p,_){var c=a[m];return c.ready?(_(c),!0):(i.unshift([w,!0]),r.value=!0,c.onload=function(){c.ready=!0,_(c),r.value=!1;var v=i.slice(0);i=[];for(var b=v.shift();b;)s({actions:b[0],reserve:b[1]},p),b=v.shift()},!1)}function f(m,w){var{x:p=0,y:_=0,width:c,height:v,destWidth:b,destHeight:x,hidpi:E=!0,dataType:C,quality:O=1,type:M="png"}=m,R=t.value,z,ie=R.offsetWidth-p;c=c?Math.min(c,ie):ie;var L=R.offsetHeight-_;v=v?Math.min(v,L):L,E?(b=c,x=v):!b&&!x?(b=Math.round(c*n.value),x=Math.round(v*n.value)):b?x||(x=Math.round(v/c*b)):b=Math.round(c/v*x);var H=Nd(b,x),q=H.getContext("2d");(M==="jpeg"||M==="jpg")&&(M="jpeg",q.fillStyle="#fff",q.fillRect(0,0,b,x)),q.__hidpi__=!0,q.drawImageByCanvas(R,p,_,c,v,0,0,b,x,!1);var ae;try{var V;if(C==="base64")z=H.toDataURL("image/".concat(M),O);else{var K=q.getImageData(0,0,b,x);z=td.deflateRaw(K.data,{to:"string"}),V=!0}ae={data:z,compressed:V,width:b,height:x}}catch(oe){ae={errMsg:"canvasGetImageData:fail ".concat(oe)}}if(H.height=H.width=0,q.__hidpi__=!1,w)w(ae);else return ae}function d(m,w){var{data:p,x:_,y:c,width:v,height:b,compressed:x}=m;try{x&&(p=td.inflateRaw(p)),b||(b=Math.round(p.length/4/v));var E=Nd(v,b),C=E.getContext("2d");C.putImageData(new ImageData(new Uint8ClampedArray(p),v,b),0,0),t.value.getContext("2d").drawImage(E,_,c,v,b),E.height=E.width=0}catch(O){w({errMsg:"canvasPutImageData:fail"});return}w({errMsg:"canvasPutImageData:ok"})}function g(m,w){var{x:p=0,y:_=0,width:c,height:v,destWidth:b,destHeight:x,fileType:E,quality:C,dirname:O}=m,M=f({x:p,y:_,width:c,height:v,destWidth:b,destHeight:x,hidpi:!1,dataType:"base64",type:E,quality:C});if(!M.data||!M.data.length){w({errMsg:M.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Ab(M.data,O,(R,z)=>{var ie="toTempFilePath:".concat(R?"fail":"ok");R&&(ie+=" ".concat(R.message)),w({errMsg:ie,tempFilePath:z})})}var h={actionsChanged:s,getImageData:f,putImageData:d,toTempFilePath:g};function y(m,w,p){var _=h[m];m.indexOf("_")!==0&&re(_)&&_(w,p)}return fe(h,{_resize:o,_handleSubscribe:y})}var Dd=pn("ucg"),zy={name:{type:String,default:""}},Uy=he({name:"CheckboxGroup",props:zy,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,a=B(null),n=Re(a,r);return Hy(e,n),()=>A("uni-checkbox-group",{ref:a},[i.default&&i.default()],512)}});function Hy(e,t){var r=[],i=()=>r.reduce((n,o)=>(o.value.checkboxChecked&&n.push(o.value.value),n),new Array);$e(Dd,{addField(n){r.push(n)},removeField(n){r.splice(r.indexOf(n),1)},checkboxChange(n){t("change",n,{value:i()})}});var a=be(kt,!1);return a&&a.addField({submit:()=>{var n=["",null];return e.name!==""&&(n[0]=e.name,n[1]=i()),n}}),i}var Wy={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:""}},Vy=he({name:"Checkbox",props:Wy,setup(e,t){var{slots:r}=t,i=B(e.checked),a=B(e.value);W([()=>e.checked,()=>e.value],u=>{var[f,d]=u;i.value=f,a.value=d});var n=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:s}=jy(i,a,n),l=u=>{e.disabled||(i.value=!i.value,o&&o.checkboxChange(u))};return s&&(s.addHandler(l),Oe(()=>{s.removeHandler(l)})),$n(e,{"label-click":l}),()=>{var u=oi(e,"disabled");return A("uni-checkbox",rt(u,{onClick:l}),[A("div",{class:"uni-checkbox-wrapper"},[A("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?_n(mn,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function jy(e,t,r){var i=ee(()=>({checkboxChecked:Boolean(e.value),value:t.value})),a={reset:r},n=be(Dd,!1);n&&n.addField(i);var o=be(kt,!1);o&&o.addField(a);var s=be(ea,!1);return Oe(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s}}var Bd,ra,Un,nr,Hn,wl;Nr(()=>{ra=plus.os.name==="Android",Un=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){nr=e.height,Hn&&Hn()},!1);function Fd(){}function ia(e,t,r){Nr(()=>{var i="adjustResize",a="adjustPan",n="nothing",o=plus.webview.currentWebview(),s=wl||o.getStyle()||{},l={mode:r||s.softinputMode===i?i:e.adjustPosition?a:n,position:{top:0,height:0}};if(l.mode===a){var u=t.getBoundingClientRect();l.position.top=u.top,l.position.height=u.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(l)})}function Yy(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Nr(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},a=i!=="none";a!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function qy(e){var t=e.softinputNavBar;t&&Nr(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var $d={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},zd=["keyboardheightchange"];function Ud(e,t,r){var i={};function a(n){var o,s=ee(()=>String(navigator.vendor).indexOf("Apple")===0),l=()=>{r("keyboardheightchange",{},{height:nr,duration:.25}),o&&nr===0&&ia(e,n),e.autoBlur&&o&&nr===0&&(ra||parseInt(Un)>=13)&&document.activeElement.blur()};n.addEventListener("focus",()=>{o=!0,clearTimeout(Bd),document.addEventListener("click",Fd,!1),Hn=l,nr&&r("keyboardheightchange",{},{height:nr,duration:0}),Yy(e,i),ia(e,n)}),ra&&n.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&nr===0&&ia(e,n)}),ra||(parseInt(Un)<12&&n.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&ia(e,n)}),parseFloat(Un)>=14.6&&!wl&&Nr(()=>{var f=plus.webview.currentWebview();wl=f.getStyle()||{}}));var u=()=>{document.removeEventListener("click",Fd,!1),Hn=null,nr&&r("keyboardheightchange",{},{height:0,duration:0}),qy(i),ra&&(Bd=setTimeout(()=>{ia(e,n,!0)},300)),s.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};n.addEventListener("blur",()=>{s.value&&n.blur(),o=!1,u()})}W(()=>t.value,n=>a(n))}var Hd=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Wd=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Xy=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Zy=si("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Ky=si("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"),Gy=si("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"),Jy=si("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Qy=si("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),ex=si("script,style");function Vd(e,t){var r,i,a,n=[],o=e;for(n.last=function(){return this[this.length-1]};e;){if(i=!0,!n.last()||!ex[n.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?(a=e.match(Wd),a&&(e=e.substring(a[0].length),a[0].replace(Wd,u),i=!1)):e.indexOf("<")==0&&(a=e.match(Hd),a&&(e=e.substring(a[0].length),a[0].replace(Hd,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]*?)</"+n.last()+"[^>]*>"),function(f,d){return d=d.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(d),""}),u("",n.last());if(e==o)throw"Parse Error: "+e;o=e}u();function l(f,d,g,h){if(d=d.toLowerCase(),Ky[d])for(;n.last()&&Gy[n.last()];)u("",n.last());if(Jy[d]&&n.last()==d&&u("",d),h=Zy[d]||!!h,h||n.push(d),t.start){var y=[];g.replace(Xy,function(m,w){var p=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Qy[w]?w:"";y.push({name:w,value:p,escaped:p.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(d,y,h)}}function u(f,d){if(d)for(var g=n.length-1;g>=0&&n[g]!=d;g--);else var g=0;if(g>=0){for(var h=n.length-1;h>=g;h--)t.end&&t.end(n[h]);n.length=g}}}function si(e){for(var t={},r=e.split(","),i=0;i<r.length;i++)t[r[i]]=!0;return t}var yl={};function jd(e,t,r){var i=ve(e)?window[e]:e;if(i){r();return}var a=yl[t];if(!a){a=yl[t]=[];var n=document.createElement("script");n.src=t,document.body.appendChild(n),n.onload=function(){a.forEach(o=>o()),delete yl[t]}}a.push(r)}function tx(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function rx(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function ix(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},a=new r.Style("align","text-align",i);return{"formats/align":a}}function ax(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},a=new r.Style("direction","direction",i);return{"formats/direction":a}}function nx(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class a 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),f=t.find(l.target);u==="checked"?f.format("list","unchecked"):u==="unchecked"&&f.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 a.blotName="list",a.scope=t.Scope.BLOCK_BLOT,a.tagName=["OL","UL"],a.defaultChild="list-item",a.allowedChildren=[i],{"formats/list":a}}function ox(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 sx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},a=["margin","marginTop","marginBottom","marginLeft","marginRight"],n=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],o={};return a.concat(n).forEach(s=>{o["formats/".concat(s)]=new r.Style(s,Je(s),i)}),o}function lx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},a=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],n={};return a.forEach(o=>{n["formats/".concat(o)]=new r.Style(o,Je(o),i)}),n}function ux(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}],a={};return i.forEach(n=>{var{name:o,scope:s}=n;a["formats/".concat(o)]=new r.Style(o,Je(o),{scope:s})}),a}function fx(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=a=>a&&st(a),t.formats=function(n){return r.reduce(function(o,s){return n.hasAttribute(s)&&(o[s]=n.getAttribute(s)),o},{})};var i=t.prototype.format;t.prototype.format=function(a,n){r.indexOf(a)>-1?n?this.domNode.setAttribute(a,n):this.domNode.removeAttribute(a):i.call(this,a,n)}}function cx(e){var t=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var a=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(a)>-1?r:t.SANITIZED_URL}}function vx(e){var t={divider:tx,ins:rx,align:ix,direction:ax,list:nx,background:ox,box:sx,font:lx,text:ux,image:fx,link:cx},r={};Object.values(t).forEach(i=>fe(r,i(e))),e.register(r,!0)}function dx(e,t,r){var i,a,n,o=!1;W(()=>e.readOnly,y=>{i&&(n.enable(!y),y||n.blur())}),W(()=>e.placeholder,y=>{i&&u(y)});function s(y){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"],w="",p;Vd(y,{start:function(c,v,b){if(!m.includes(c)){p=!b;return}p=!1;var x=v.map(C=>{var{name:O,value:M}=C;return"".concat(O,'="').concat(M,'"')}).join(" "),E="<".concat(c," ").concat(x," ").concat(b?"/":"",">");w+=E},end:function(c){p||(w+="</".concat(c,">"))},chars:function(c){p||(w+=c)}}),a=!0;var _=n.clipboard.convert(w);return a=!1,_}function l(){var y=n.root.innerHTML,m=n.getText(),w=n.getContents();return{html:y,text:m,delta:w}}function u(y){var m="data-placeholder",w=n.root;w.getAttribute(m)!==y&&w.setAttribute(m,y)}var f={};function d(y){var m=y?n.getFormat(y):{},w=Object.keys(m);(w.length!==Object.keys(f).length||w.find(p=>m[p]!==f[p]))&&(f=m,r("statuschange",{},m))}function g(y){var m=window.Quill;vx(m);var w={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};y.length&&(m.register("modules/ImageResize",window.ImageResize.default),w.modules={ImageResize:{modules:y}});var p=t.value;n=new m(p,w);var _=n.root,c=["focus","blur","input"];c.forEach(v=>{_.addEventListener(v,b=>{var x=l();if(v==="input"){if(Ec().platform==="ios"){var E=(x.html.match(/<span [\s\S]*>([\s\S]*)<\/span>/)||[])[1],C=E&&E.replace(/\s/g,"")?"":e.placeholder;u(C)}b.stopPropagation()}else r(v,b,x)})}),n.on("text-change",()=>{o||r("input",{},l())}),n.on("selection-change",d),n.on("scroll-optimize",()=>{var v=n.selection.getRange()[0];d(v)}),n.clipboard.addMatcher(Node.ELEMENT_NODE,(v,b)=>(a||b.ops&&(b.ops=b.ops.filter(x=>{var{insert:E}=x;return ve(E)}).map(x=>{var{insert:E}=x;return{insert:E}})),b)),i=!0,r("ready",{},{})}Le(()=>{var y=[];e.showImgSize&&y.push("DisplaySize"),e.showImgToolbar&&y.push("Toolbar"),e.showImgResize&&y.push("Resize");var m="./__uniappquill.js";jd(window.Quill,m,()=>{if(y.length){var w="./__uniappquillimageresize.js";jd(window.ImageResize,w,()=>{g(y)})}else g(y)})});var h=fa();ua((y,m,w)=>{var{options:p,callbackId:_}=m,c,v,b;if(i){var x=window.Quill;switch(y){case"format":{var{name:E="",value:C=!1}=p;v=n.getSelection(!0);var O=n.getFormat(v)[E]||!1;if(["bold","italic","underline","strike","ins"].includes(E))C=!O;else if(E==="direction"){C=C==="rtl"&&O?!1:C;var M=n.getFormat(v).align;C==="rtl"&&!M?n.format("align","right","user"):!C&&M==="right"&&n.format("align",!1,"user")}else if(E==="indent"){var R=n.getFormat(v).direction==="rtl";C=C==="+1",R&&(C=!C),C=C?"+1":"-1"}else E==="list"&&(C=C==="check"?"unchecked":C,O=O==="checked"?"unchecked":O),C=O&&O!==(C||!1)||!O&&C?C:!O;n.format(E,C,"user")}break;case"insertDivider":v=n.getSelection(!0),n.insertText(v.index,mi,"user"),n.insertEmbed(v.index+1,"divider",!0,"user"),n.setSelection(v.index+2,0,"silent");break;case"insertImage":{v=n.getSelection(!0);var{src:z="",alt:ie="",width:L="",height:H="",extClass:q="",data:ae={}}=p,V=st(z);n.insertEmbed(v.index,"image",V,"user");var K=/^(file|blob):/.test(V)?V:!1;o=!0,n.formatText(v.index,1,"data-local",K),n.formatText(v.index,1,"alt",ie),n.formatText(v.index,1,"width",L),n.formatText(v.index,1,"height",H),n.formatText(v.index,1,"class",q),o=!1,n.formatText(v.index,1,"data-custom",Object.keys(ae).map(le=>"".concat(le,"=").concat(ae[le])).join("&")),n.setSelection(v.index+1,0,"silent")}break;case"insertText":{v=n.getSelection(!0);var{text:oe=""}=p;n.insertText(v.index,oe,"user"),n.setSelection(v.index+oe.length,0,"silent")}break;case"setContents":{var{delta:Ce,html:se}=p;typeof Ce=="object"?n.setContents(Ce,"silent"):ve(se)?n.setContents(s(se),"silent"):b="contents is missing"}break;case"getContents":c=l();break;case"clear":n.setText("");break;case"removeFormat":{v=n.getSelection(!0);var ge=x.import("parchment");v.length?n.removeFormat(v.index,v.length,"user"):Object.keys(n.getFormat(v)).forEach(le=>{ge.query(le,ge.Scope.INLINE)&&n.format(le,!1)})}break;case"undo":n.history.undo();break;case"redo":n.history.redo();break;case"blur":n.blur();break;case"getSelectionText":v=n.selection.savedRange,c={text:""},v&&v.length!==0&&(c.text=n.getText(v.index,v.length));break;case"scrollIntoView":n.scrollIntoView();break}d(v)}else b="not ready";_&&w({callbackId:_,data:fe({},c,{errMsg:"".concat(y,":").concat(b?"fail "+b:"ok")})})},h,!0)}var hx=fe({},$d,{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}}),gx=he({name:"Editor",props:hx,emit:["ready","focus","blur","input","statuschange",...zd],setup(e,t){var{emit:r}=t,i=B(null),a=Re(i,r);return dx(e,i,a),Ud(e,i,a),()=>A("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),Yd="#10aeff",px="#f76260",qd="#b2b2b2",mx="#f43530",_x={success:{d:rb,c:Ba},success_no_circle:{d:mn,c:Ba},info:{d:eb,c:Yd},warn:{d:ab,c:px},waiting:{d:ib,c:Yd},cancel:{d:G_,c:mx},download:{d:Q_,c:Ba},search:{d:tb,c:qd},clear:{d:J_,c:qd}},bx=he({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=ee(()=>_x[e.type]);return()=>{var{value:r}=t;return A("uni-icon",null,[r&&r.d&&_n(r.d,e.color||r.c,Yr(e.size))])}}}),wx={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Wn={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},yx={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"]},xx=he({name:"Image",props:wx,setup(e,t){var{emit:r}=t,i=B(null),a=Sx(i,e),n=Re(i,r),{fixSize:o}=Ox(i,e,a);return Ex(a,e,i,o,n),()=>A("uni-image",{ref:i},[A("div",{style:a.modeStyle},null,4),Wn[e.mode]?A(Or,{onResize:o},null,8,["onResize"]):A("span",null,null)],512)}});function Sx(e,t){var r=B(""),i=ee(()=>{var n="auto",o="",s=yx[t.mode];return s?(s[0]&&(o=s[0]),s[1]&&(n=s[1])):(o="0% 0%",n="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(o,";background-size:").concat(n,";")}),a=ke({rootEl:e,src:ee(()=>t.src?st(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Le(()=>{var n=e.value,o=n.style;a.origWidth=Number(o.width)||0,a.origHeight=Number(o.height)||0}),a}function Ex(e,t,r,i,a){var n,o,s=function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=f,e.origHeight=d,e.imgSrc=g},l=f=>{if(!f){u(),s();return}n=n||new Image,n.onload=d=>{var{width:g,height:h}=n;s(g,h,f),i(),n.draggable=t.draggable,o&&o.remove(),o=n,r.value.appendChild(n),u(),a("load",d,{width:g,height:h})},n.onerror=d=>{s(),u(),a("error",d,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},n.src=f},u=()=>{n&&(n.onload=null,n.onerror=null,n=null)};W(()=>e.src,f=>l(f)),W(()=>e.imgSrc,f=>{!f&&o&&(o.remove(),o=null)}),Le(()=>l(e.src)),Oe(()=>u())}var Tx=navigator.vendor==="Google Inc.";function Cx(e){return Tx&&e>10&&(e=Math.round(e/2)*2),e}function Ox(e,t,r){var i=()=>{var{mode:n}=t,o=Wn[n];if(!!o){var{origWidth:s,origHeight:l}=r,u=s&&l?s/l:0;if(!!u){var f=e.value,d=f[o[0]];d&&(f.style[o[1]]=Cx(o[2](d,u))+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},a=()=>{var{style:n}=e.value,{origStyle:{width:o,height:s}}=r;n.width=o,n.height=s};return W(()=>t.mode,(n,o)=>{Wn[o]&&a(),Wn[n]&&i()}),{fixSize:i,resetSize:a}}function Ix(e,t){var r=0,i,a,n=function(){for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];var u=Date.now();if(clearTimeout(i),a=()=>{a=null,r=u,e.apply(this,s)},u-r<t){i=setTimeout(a,t-(u-r));return}a()};return n.cancel=function(){clearTimeout(i),a=null},n.flush=function(){clearTimeout(i),a&&a()},n}var Ax=bi(!0),Vn=[],xl=0,Xd,Zd=e=>Vn.forEach(t=>t.userAction=e);function kx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!Xd){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!xl&&Zd(!0),xl++,setTimeout(()=>{!--xl&&Zd(!1)},0)},Ax)}),Xd=!0}Vn.push(e)}function Mx(e){var t=Vn.indexOf(e);t>=0&&Vn.splice(t,1)}function Rx(){var e=ke({userAction:!1});return Le(()=>{kx(e)}),Oe(()=>{Mx(e)}),{state:e}}function Kd(){var e=ke({attrs:{}});return Le(()=>{for(var t=Dt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function Lx(e,t){var r=be(kt,!1);if(!!r){var i=Dt(),a={submit(){var n=i.proxy;return[n[e],ve(t)?n[t]:t.value]},reset(){ve(t)?i.proxy[t]="":t.value=""}};r.addField(a),Oe(()=>{r.removeField(a)})}}function Px(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 Nx=function(){wt(Gt(),"getSelectedTextRange",Px)},Dx=200,Sl;function El(e,t){return t==="number"&&isNaN(Number(e))&&(e=""),e===null?"":String(e)}var Gd=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"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0}},$d),Jd=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...zd];function Bx(e,t,r){var i=B(null),a=Re(t,r),n=ee(()=>{var d=Number(e.selectionStart);return isNaN(d)?-1:d}),o=ee(()=>{var d=Number(e.selectionEnd);return isNaN(d)?-1:d}),s=ee(()=>{var d=Number(e.cursor);return isNaN(d)?-1:d}),l=ee(()=>{var d=Number(e.maxlength);return isNaN(d)?140:d}),u=El(e.modelValue,e.type)||El(e.value,e.type),f=ke({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:n,selectionEnd:o,cursor:s});return W(()=>f.focus,d=>r("update:focus",d)),W(()=>f.maxlength,d=>f.value=f.value.slice(0,d)),{fieldRef:i,state:f,trigger:a}}function Fx(e,t,r,i){var a=fm(s=>{t.value=El(s,e.type)},100,{setTimeout,clearTimeout});W(()=>e.modelValue,a),W(()=>e.value,a);var n=Ix((s,l)=>{a.cancel(),r("update:modelValue",l.value),r("update:value",l.value),i("input",s,l)},100),o=(s,l,u)=>{a.cancel(),n(s,l),u&&n.flush()};return Rf(()=>{a.cancel(),n.cancel()}),{trigger:i,triggerInput:o}}function $x(e,t){var{state:r}=Rx(),i=ee(()=>e.autoFocus||e.focus);function a(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(a,100);return}{var s=Dx-(Date.now()-Sl);if(s>0){setTimeout(a,s);return}o.focus(),r.userAction||plus.key.showSoftKeybord()}}}function n(){var o=t.value;o&&o.blur()}W(()=>e.focus,o=>{o?a():n()}),Le(()=>{Sl=Sl||Date.now(),i.value&&Ur(a)})}function zx(e,t,r,i,a,n){function o(){var f=e.value;f&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&f.type!=="number"&&(f.selectionStart=t.selectionStart,f.selectionEnd=t.selectionEnd)}function s(){var f=e.value;f&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&f.type!=="number"&&(f.selectionEnd=f.selectionStart=t.cursor)}function l(f){return f.type==="number"?null:f.selectionEnd}function u(){var f=e.value,d=function(m){t.focus=!0,i("focus",m,{value:t.value}),o(),s()},g=function(m,w){m.stopPropagation(),!(re(n)&&n(m,t)===!1)&&(t.value=f.value,(!t.composing||!r.ignoreCompositionEvent)&&a(m,{value:f.value,cursor:l(f)},w))},h=function(m){t.composing&&(t.composing=!1,g(m,!0)),t.focus=!1,i("blur",m,{value:t.value,cursor:l(m.target)})};f.addEventListener("change",m=>m.stopPropagation()),f.addEventListener("focus",d),f.addEventListener("blur",h),f.addEventListener("input",g),f.addEventListener("compositionstart",m=>{m.stopPropagation(),t.composing=!0,y(m)}),f.addEventListener("compositionend",m=>{m.stopPropagation(),t.composing&&(t.composing=!1,g(m)),y(m)}),f.addEventListener("compositionupdate",y);function y(m){r.ignoreCompositionEvent||i(m.type,m,{value:m.data})}}W([()=>t.selectionStart,()=>t.selectionEnd],o),W(()=>t.cursor,s),W(()=>e.value,u)}function Qd(e,t,r,i){Nx();var{fieldRef:a,state:n,trigger:o}=Bx(e,t,r),{triggerInput:s}=Fx(e,n,r,o);$x(e,a),Ud(e,a,o);var{state:l}=Kd();Lx("name",n),zx(a,n,e,o,s,i);var u=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:a,state:n,scopedAttrsState:l,fixDisabledColor:u,trigger:o}}var Ux=fe({},Gd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Hx=he({name:"Input",props:Ux,emits:["confirm",...Jd],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],n=ee(()=>{var _="";switch(e.type){case"text":e.confirmType==="search"&&(_="search");break;case"idcard":_="text";break;case"digit":_="number";break;default:_=~i.includes(e.type)?e.type:"text";break}return e.password?"password":_}),o=ee(()=>{var _=a.indexOf(e.textContentType),c=a.indexOf(Je(e.textContentType)),v=_!==-1?_:c!==-1?c:0;return a[v]}),s=B(""),l,u=B(null),{fieldRef:f,state:d,scopedAttrsState:g,fixDisabledColor:h,trigger:y}=Qd(e,u,r,(_,c)=>{var v=_.target;if(n.value==="number"){if(l&&(v.removeEventListener("blur",l),l=null),v.validity&&!v.validity.valid)return!s.value&&_.data==="-"||s.value[0]==="-"&&_.inputType==="deleteContentBackward"?(s.value="-",c.value="",l=()=>{s.value=v.value=""},v.addEventListener("blur",l),!1):(s.value=c.value=v.value=s.value==="-"?"":s.value,!1);s.value=v.value;var b=c.maxlength;if(b>0&&v.value.length>b)return v.value=v.value.slice(0,b),c.value=v.value,!1}});W(()=>d.value,_=>{e.type==="number"&&!(s.value==="-"&&_==="")&&(s.value=_)});var m=["number","digit"],w=ee(()=>m.includes(e.type)?"0.000000000000000001":"");function p(_){if(_.key==="Enter"){var c=_.target;_.stopPropagation(),y("confirm",_,{value:c.value}),!e.confirmHold&&c.blur()}}return()=>{var _=e.disabled&&h?A("input",{ref:f,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:d.maxlength,step:w.value,class:"uni-input-input",onFocus:c=>c.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):A("input",{ref:f,value:d.value,disabled:!!e.disabled,type:n.value,maxlength:d.maxlength,step:w.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:o.value,onKeyup:p},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return A("uni-input",{ref:u},[A("div",{class:"uni-input-wrapper"},[Mi(A("div",rt(g.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Pi,!(d.value.length||s.value==="-")]]),e.confirmType==="search"?A("form",{action:"",onSubmit:c=>c.preventDefault(),class:"uni-input-form"},[_],40,["onSubmit"]):_])],512)}}});function Wx(e){return Object.keys(e).map(t=>[t,e[t]])}var Vx=["class","style"],jx=/^on[A-Z]+/,eh=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=Dt(),a=ns({}),n=ns({}),o=ns({}),s=r.concat(Vx);return i.attrs=ke(i.attrs),P0(()=>{var l=Wx(i.attrs).reduce((u,f)=>{var[d,g]=f;return s.includes(d)?u.exclude[d]=g:jx.test(d)?(t||(u.attrs[d]=g),u.listeners[d]=g):u.attrs[d]=g,u},{exclude:{},attrs:{},listeners:{}});a.value=l.attrs,n.value=l.listeners,o.value=l.exclude}),{$attrs:a,$listeners:n,$excludeAttrs:o}},jn,aa;function Yn(){Nr(()=>{jn||(jn=plus.webview.currentWebview()),aa||(aa=(jn.getStyle()||{}).pullToRefresh||{})})}function or(e){var{disable:t}=e;aa&&aa.support&&jn.setPullToRefresh(Object.assign({},aa,{support:!t}))}function Tl(e){var t=[];return te(e)&&e.forEach(r=>{on(r)?r.type===xt?t.push(...Tl(r.children)):t.push(r):te(r)&&t.push(...Tl(r))}),t}function na(e){var t=Dt();t.rebuild=e}var Yx={scaleArea:{type:Boolean,default:!1}},qx=he({inheritAttrs:!1,name:"MovableArea",props:Yx,setup(e,t){var{slots:r}=t,i=B(null),a=B(!1),{setContexts:n,events:o}=Xx(e,i),{$listeners:s,$attrs:l,$excludeAttrs:u}=eh(),f=s.value,d=["onTouchstart","onTouchmove","onTouchend"];d.forEach(p=>{var _=f[p],c=o["_".concat(p)];f[p]=_?[].concat(_,c):c}),Le(()=>{o._resize(),Yn(),a.value=!0});var g=[],h=[];function y(){for(var p=[],_=function(v){var b=g[v];b instanceof Element||(b=b.el);var x=h.find(E=>b===E.rootRef.value);x&&p.push(Za(x))},c=0;c<g.length;c++)_(c);n(p)}na(()=>{g=i.value.children,y()});var m=p=>{h.push(p),y()},w=p=>{var _=h.indexOf(p);_>=0&&(h.splice(_,1),y())};return $e("_isMounted",a),$e("movableAreaRootRef",i),$e("addMovableViewContext",m),$e("removeMovableViewContext",w),()=>(r.default&&r.default(),A("uni-movable-area",rt({ref:i},l.value,u.value,f),[A(Or,{onReize:o._resize},null,8,["onReize"]),g],16))}});function th(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Xx(e,t){var r=B(0),i=B(0),a=ke({x:null,y:null}),n=B(null),o=null,s=[];function l(m){m&&m!==1&&(e.scaleArea?s.forEach(function(w){w._setScale(m)}):o&&o._setScale(m))}function u(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,p=t.value;function _(c){for(var v=0;v<w.length;v++){var b=w[v];if(c===b.rootRef.value)return b}return c===p||c===document.body||c===document?null:_(c.parentNode)}return _(m)}var f=Cr(m=>{or({disable:!0});var w=m.touches;if(w&&w.length>1){var p={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(n.value=th(p),a.x=p.x,a.y=p.y,!e.scaleArea){var _=u(w[0].target),c=u(w[1].target);o=_&&_===c?_:null}}}),d=Cr(m=>{var w=m.touches;if(w&&w.length>1){m.preventDefault();var p={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(a.x!==null&&n.value&&n.value>0){var _=th(p)/n.value;l(_)}a.x=p.x,a.y=p.y}}),g=Cr(m=>{or({disable:!1});var w=m.touches;w&&w.length||m.changedTouches&&(a.x=0,a.y=0,n.value=null,e.scaleArea?s.forEach(function(p){p._endScale()}):o&&o._endScale())});function h(){y(),s.forEach(function(m,w){m.setParent()})}function y(){var m=window.getComputedStyle(t.value),w=t.value.getBoundingClientRect();r.value=w.width-["Left","Right"].reduce(function(p,_){var c="border"+_+"Width",v="padding"+_;return p+parseFloat(m[c])+parseFloat(m[v])},0),i.value=w.height-["Top","Bottom"].reduce(function(p,_){var c="border"+_+"Width",v="padding"+_;return p+parseFloat(m[c])+parseFloat(m[v])},0)}return $e("movableAreaWidth",r),$e("movableAreaHeight",i),{setContexts(m){s=m},events:{_onTouchstart:f,_onTouchmove:d,_onTouchend:g,_resize:h}}}var oa=function(e,t,r,i){e.addEventListener(t,a=>{re(r)&&r(a)===!1&&((typeof a.cancelable=="undefined"||a.cancelable)&&a.preventDefault(),a.stopPropagation())},{passive:!1})},rh,ih;function qn(e,t,r){Oe(()=>{document.removeEventListener("mousemove",rh),document.removeEventListener("mouseup",ih)});var i=0,a=0,n=0,o=0,s=function(h,y,m,w){if(t({cancelable:h.cancelable,target:h.target,currentTarget:h.currentTarget,preventDefault:h.preventDefault.bind(h),stopPropagation:h.stopPropagation.bind(h),touches:h.touches,changedTouches:h.changedTouches,detail:{state:y,x:m,y:w,dx:m-i,dy:w-a,ddx:m-n,ddy:w-o,timeStamp:h.timeStamp}})===!1)return!1},l=null,u,f;oa(e,"touchstart",function(h){if(u=!0,h.touches.length===1&&!l)return l=h,i=n=h.touches[0].pageX,a=o=h.touches[0].pageY,s(h,"start",i,a)}),oa(e,"mousedown",function(h){if(f=!0,!u&&!l)return l=h,i=n=h.pageX,a=o=h.pageY,s(h,"start",i,a)}),oa(e,"touchmove",function(h){if(h.touches.length===1&&l){var y=s(h,"move",h.touches[0].pageX,h.touches[0].pageY);return n=h.touches[0].pageX,o=h.touches[0].pageY,y}});var d=rh=function(h){if(!u&&f&&l){var y=s(h,"move",h.pageX,h.pageY);return n=h.pageX,o=h.pageY,y}};document.addEventListener("mousemove",d),oa(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 g=ih=function(h){if(f=!1,!u&&l)return l=null,s(h,"end",h.pageX,h.pageY)};document.addEventListener("mouseup",g),oa(e,"touchcancel",function(h){if(l){u=!1;var y=l;return l=null,s(h,r?"cancel":"end",y.touches[0].pageX,y.touches[0].pageY)}})}function Xn(e,t,r){return e>t-r&&e<t+r}function Ir(e,t){return Xn(e,0,t)}function Cl(){}Cl.prototype.x=function(e){return Math.sqrt(e)};function Mt(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}Mt.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()},Mt.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Mt.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}},Mt.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}},Mt.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}},Mt.prototype.dt=function(){return-this._x_v/this._x_a},Mt.prototype.done=function(){var e=Xn(this.s().x,this._endPositionX)||Xn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Mt.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Mt.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function at(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}at.prototype._solve=function(e,t){var r=this._c,i=this._m,a=this._k,n=r*r-4*i*a;if(n===0){var o=-r/(2*i),s=e,l=t/(o*e);return{x:function(p){return(s+l*p)*Math.pow(Math.E,o*p)},dx:function(p){var _=Math.pow(Math.E,o*p);return o*(s+l*p)*_+l*_}}}if(n>0){var u=(-r-Math.sqrt(n))/(2*i),f=(-r+Math.sqrt(n))/(2*i),d=(t-u*e)/(f-u),g=e-d;return{x:function(p){var _,c;return p===this._t&&(_=this._powER1T,c=this._powER2T),this._t=p,_||(_=this._powER1T=Math.pow(Math.E,u*p)),c||(c=this._powER2T=Math.pow(Math.E,f*p)),g*_+d*c},dx:function(p){var _,c;return p===this._t&&(_=this._powER1T,c=this._powER2T),this._t=p,_||(_=this._powER1T=Math.pow(Math.E,u*p)),c||(c=this._powER2T=Math.pow(Math.E,f*p)),g*u*_+d*f*c}}}var h=Math.sqrt(4*i*a-r*r)/(2*i),y=-r/2*i,m=e,w=(t-y*e)/h;return{x:function(p){return Math.pow(Math.E,y*p)*(m*Math.cos(h*p)+w*Math.sin(h*p))},dx:function(p){var _=Math.pow(Math.E,y*p),c=Math.cos(h*p),v=Math.sin(h*p);return _*(w*h*c-m*h*v)+y*_*(w*v+m*c)}}},at.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},at.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},at.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!Ir(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(Ir(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),Ir(t,.1)&&(t=0),Ir(i,.1)&&(i=0),i+=this._endPosition),this._solution&&Ir(i-e,.1)&&Ir(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},at.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},at.prototype.done=function(e){return e||(e=new Date().getTime()),Xn(this.x(),this._endPosition,.1)&&Ir(this.dx(),.1)},at.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())},at.prototype.springConstant=function(){return this._k},at.prototype.damping=function(){return this._c},at.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 sa(e,t,r){this._springX=new at(e,t,r),this._springY=new at(e,t,r),this._springScale=new at(e,t,r),this._startTime=0}sa.prototype.setEnd=function(e,t,r,i){var a=new Date().getTime();this._springX.setEnd(e,i,a),this._springY.setEnd(t,i,a),this._springScale.setEnd(r,i,a),this._startTime=a},sa.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)}},sa.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},sa.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 Zx={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}};function ah(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var Kx=he({name:"MovableView",props:Zx,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,a=B(null),n=Re(a,i),{setParent:o}=Gx(e,n,a);return()=>A("uni-movable-view",{ref:a},[A(Or,{onResize:o},null,8,["onResize"]),r.default&&r.default()],512)}}),Ol=!1;function nh(e){Ol||(Ol=!0,requestAnimationFrame(function(){e(),Ol=!1}))}function oh(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=oh(e.offsetParent,t):0}function sh(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=sh(e.offsetParent,t):0}function lh(e,t,r){var i={id:0,cancelled:!1},a=function(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)};function n(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,l,u))),f&&u&&u(s)}}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}function Zn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function Gx(e,t,r){var i=be("movableAreaWidth",B(0)),a=be("movableAreaHeight",B(0)),n=be("_isMounted",B(!1)),o=be("movableAreaRootRef"),s=be("addMovableViewContext",()=>{}),l=be("removeMovableViewContext",()=>{}),u=B(Zn(e.x)),f=B(Zn(e.y)),d=B(Number(e.scaleValue)||1),g=B(0),h=B(0),y=B(0),m=B(0),w=B(0),p=B(0),_=null,c=null,v={x:0,y:0},b={x:0,y:0},x=1,E=1,C=0,O=0,M=!1,R=!1,z,ie,L=null,H=null,q=new Cl,ae=new Cl,V={historyX:[0,0],historyY:[0,0],historyT:[0,0]},K=ee(()=>{var I=Number(e.damping);return isNaN(I)?20:I}),oe=ee(()=>{var I=Number(e.friction);return isNaN(I)||I<=0?2:I}),Ce=ee(()=>{var I=Number(e.scaleMin);return isNaN(I)?.5:I}),se=ee(()=>{var I=Number(e.scaleMax);return isNaN(I)?10:I}),ge=ee(()=>e.direction==="all"||e.direction==="horizontal"),le=ee(()=>e.direction==="all"||e.direction==="vertical"),J=new sa(1,9*Math.pow(K.value,2)/40,K.value),Se=new Mt(1,oe.value);W(()=>e.x,I=>{u.value=Zn(I)}),W(()=>e.y,I=>{f.value=Zn(I)}),W(u,I=>{Ve(I)}),W(f,I=>{sr(I)}),W(()=>e.scaleValue,I=>{d.value=Number(I)||0}),W(d,I=>{ha(I)}),W(Ce,()=>{Ne()}),W(se,()=>{Ne()});function ye(){c&&c.cancel(),_&&_.cancel()}function Ve(I){if(ge.value){if(I+b.x===C)return C;_&&_.cancel(),Q(I+b.x,f.value+b.y,x)}return I}function sr(I){if(le.value){if(I+b.y===O)return O;_&&_.cancel(),Q(u.value+b.x,I+b.y,x)}return I}function Ne(){if(!e.scale)return!1;F(x,!0),U(x)}function ha(I){return e.scale?(I=D(I),F(I,!0),U(I),I):!1}function ga(){M||e.disabled||(or({disable:!0}),ye(),V.historyX=[0,0],V.historyY=[0,0],V.historyT=[0,0],ge.value&&(z=C),le.value&&(ie=O),r.value.style.willChange="transform",L=null,H=null,R=!0)}function S(I){if(!M&&!e.disabled&&R){var Y=C,X=O;if(H===null&&(H=Math.abs(I.detail.dx/I.detail.dy)>1?"htouchmove":"vtouchmove"),ge.value&&(Y=I.detail.dx+z,V.historyX.shift(),V.historyX.push(Y),!le.value&&L===null&&(L=Math.abs(I.detail.dx/I.detail.dy)<1)),le.value&&(X=I.detail.dy+ie,V.historyY.shift(),V.historyY.push(X),!ge.value&&L===null&&(L=Math.abs(I.detail.dy/I.detail.dx)<1)),V.historyT.shift(),V.historyT.push(I.detail.timeStamp),!L){I.preventDefault();var pe="touch";Y<y.value?e.outOfBounds?(pe="touch-out-of-bounds",Y=y.value-q.x(y.value-Y)):Y=y.value:Y>w.value&&(e.outOfBounds?(pe="touch-out-of-bounds",Y=w.value+q.x(Y-w.value)):Y=w.value),X<m.value?e.outOfBounds?(pe="touch-out-of-bounds",X=m.value-ae.x(m.value-X)):X=m.value:X>p.value&&(e.outOfBounds?(pe="touch-out-of-bounds",X=p.value+ae.x(X-p.value)):X=p.value),nh(function(){Z(Y,X,x,pe)})}}}function T(){if(!M&&!e.disabled&&R&&(or({disable:!1}),r.value.style.willChange="auto",R=!1,!L&&!G("out-of-bounds")&&e.inertia)){var I=1e3*(V.historyX[1]-V.historyX[0])/(V.historyT[1]-V.historyT[0]),Y=1e3*(V.historyY[1]-V.historyY[0])/(V.historyT[1]-V.historyT[0]);Se.setV(I,Y),Se.setS(C,O);var X=Se.delta().x,pe=Se.delta().y,ue=X+C,Fe=pe+O;ue<y.value?(ue=y.value,Fe=O+(y.value-C)*pe/X):ue>w.value&&(ue=w.value,Fe=O+(w.value-C)*pe/X),Fe<m.value?(Fe=m.value,ue=C+(m.value-O)*X/pe):Fe>p.value&&(Fe=p.value,ue=C+(p.value-O)*X/pe),Se.setEnd(ue,Fe),c=lh(Se,function(){var Ge=Se.s(),De=Ge.x,pt=Ge.y;Z(De,pt,x,"friction")},function(){c.cancel()})}!e.outOfBounds&&!e.inertia&&ye()}function k(I,Y){var X=!1;return I>w.value?(I=w.value,X=!0):I<y.value&&(I=y.value,X=!0),Y>p.value?(Y=p.value,X=!0):Y<m.value&&(Y=m.value,X=!0),{x:I,y:Y,outOfBounds:X}}function P(){v.x=oh(r.value,o.value),v.y=sh(r.value,o.value)}function N(I){I=I||x,I=D(I);var Y=r.value.getBoundingClientRect();h.value=Y.height/x,g.value=Y.width/x;var X=h.value*I,pe=g.value*I;b.x=(pe-g.value)/2,b.y=(X-h.value)/2}function $(){var I=0-v.x+b.x,Y=i.value-g.value-v.x-b.x;y.value=Math.min(I,Y),w.value=Math.max(I,Y);var X=0-v.y+b.y,pe=a.value-h.value-v.y-b.y;m.value=Math.min(X,pe),p.value=Math.max(X,pe)}function j(){M=!0}function F(I,Y){if(e.scale){I=D(I),N(I),$();var X=k(C,O),pe=X.x,ue=X.y;Y?Q(pe,ue,I,"",!0,!0):nh(function(){Z(pe,ue,I,"",!0,!0)})}}function U(I){E=I}function D(I){return I=Math.max(.5,Ce.value,I),I=Math.min(10,se.value,I),I}function Q(I,Y,X,pe,ue,Fe){ye(),ge.value||(I=C),le.value||(Y=O),e.scale||(X=x);var Ge=k(I,Y);if(I=Ge.x,Y=Ge.y,!e.animation){Z(I,Y,X,pe,ue,Fe);return}J._springX._solution=null,J._springY._solution=null,J._springScale._solution=null,J._springX._endPosition=C,J._springY._endPosition=O,J._springScale._endPosition=x,J.setEnd(I,Y,X,1),_=lh(J,function(){var De=J.x(),pt=De.x,lr=De.y,Rt=De.scale;Z(pt,lr,Rt,pe,ue,Fe)},function(){_.cancel()})}function G(I){var Y=k(C,O),X=Y.x,pe=Y.y,ue=Y.outOfBounds;return ue&&Q(X,pe,x,I),ue}function Z(I,Y,X){var pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"",ue=arguments.length>4?arguments[4]:void 0,Fe=arguments.length>5?arguments[5]:void 0;I!==null&&I.toString()!=="NaN"&&typeof I=="number"||(I=C||0),Y!==null&&Y.toString()!=="NaN"&&typeof Y=="number"||(Y=O||0),I=Number(I.toFixed(1)),Y=Number(Y.toFixed(1)),X=Number(X.toFixed(1)),C===I&&O===Y||ue||t("change",{},{x:ah(I,b.x),y:ah(Y,b.y),source:pe}),e.scale||(X=x),X=D(X),X=+X.toFixed(3),Fe&&X!==x&&t("scale",{},{x:I,y:Y,scale:X});var Ge="translateX("+I+"px) translateY("+Y+"px) translateZ(0px) scale("+X+")";r.value.style.transform=Ge,r.value.style.webkitTransform=Ge,C=I,O=Y,x=X}function ce(){if(!!n.value){ye();var I=e.scale?d.value:1;P(),N(I),$(),C=u.value+b.x,O=f.value+b.y;var Y=k(C,O),X=Y.x,pe=Y.y;Z(X,pe,I,"",!0),U(I)}}function Be(){M=!1,U(x)}function Te(I){I&&(I=E*I,j(),F(I))}return Le(()=>{qn(r.value,Y=>{switch(Y.detail.state){case"start":ga();break;case"move":S(Y);break;case"end":T()}}),ce(),Se.reconfigure(1,oe.value),J.reconfigure(1,9*Math.pow(K.value,2)/40,K.value),r.value.style.transformOrigin="center",Yn();var I={rootRef:r,setParent:ce,_endScale:Be,_setScale:Te};s(I),Zt(()=>{l(I)})}),Zt(()=>{ye()}),{setParent:ce}}var Jx=["navigate","redirect","switchTab","reLaunch","navigateBack"],Qx=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],eS=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],tS={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~Jx.indexOf(e))}},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator(e){return!e||Qx.concat(eS).includes(e)}},animationDuration:{type:[String,Number],default:300}};function rS(e){return()=>{if(e.openType!=="navigateBack"&&!e.url){console.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}var t=parseInt(e.animationDuration);switch(e.openType){case"navigate":uni.navigateTo({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});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,animationType:e.animationType||"pop-out",animationDuration:t});break}}}var iS=he({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:tS,setup(e,t){var{slots:r}=t,i=Dt(),a=i&&i.vnode.scopeId||"",{hovering:n,binding:o}=bl(e),s=rS(e);return()=>{var{hoverClass:l,url:u}=e,f=e.hoverClass&&e.hoverClass!=="none";return A("a",{class:"navigator-wrap",href:u,onClick:cc},[A("uni-navigator",rt({class:f&&n.value?l:""},f&&o,i?i.attrs:{},{[a]:""},{onClick:s}),[r.default&&r.default()],16,["onClick"])],8,["href","onClick"])}}}),aS={value:{type:Array,default(){return[]},validator:function(e){return te(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 nS(e){var t=ke([...e.value]),r=ke({value:t,height:34});return W(()=>e.value,(i,a)=>{(i===a||i.length!==a.length||i.findIndex((n,o)=>n!==a[o])>=0)&&(r.value.length=i.length,i.forEach((n,o)=>{n!==r.value[o]&&r.value.splice(o,1,n)}))}),r}var oS=he({name:"PickerView",props:aS,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,a=B(null),n=B(null),o=Re(a,i),s=nS(e),l=B(null),u=()=>{var y=l.value;s.height=y.$el.offsetHeight},f=B([]),d=B([]);function g(y){var m=d.value;if(m instanceof HTMLCollection)return Array.prototype.indexOf.call(m,y.el);m=m.filter(p=>p.type!==Hr);var w=m.indexOf(y);return w!==-1?w:f.value.indexOf(y)}var h=function(y){var m=ee({get(){var w=g(y.vnode);return s.value[w]||0},set(w){var p=g(y.vnode);if(!(p<0)){var _=s.value[p];if(_!==w){s.value[p]=w;var c=s.value.map(v=>v);i("update:value",c),o("change",{},{value:c})}}}});return m};return $e("getPickerViewColumn",h),$e("pickerViewProps",e),$e("pickerViewState",s),na(()=>{u(),d.value=n.value.children}),()=>{var y=r.default&&r.default();return A("uni-picker-view",{ref:a},[A(Or,{ref:l,onResize:m=>{var{height:w}=m;return s.height=w}},null,8,["onResize"]),A("div",{ref:n,class:"uni-picker-view-wrapper"},[y],512)],512)}}});class uh{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 fh(e,t,r){return e>t-r&&e<t+r}function Ar(e,t){return fh(e,0,t)}class ch{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,a=this._m,n=this._k,o=i*i-4*a*n;if(o===0){var s=-i/(2*a),l=t,u=r/(s*t);return{x:function(_){return(l+u*_)*Math.pow(Math.E,s*_)},dx:function(_){var c=Math.pow(Math.E,s*_);return s*(l+u*_)*c+u*c}}}if(o>0){var f=(-i-Math.sqrt(o))/(2*a),d=(-i+Math.sqrt(o))/(2*a),g=(r-f*t)/(d-f),h=t-g;return{x:function(_){var c,v;return _===this._t&&(c=this._powER1T,v=this._powER2T),this._t=_,c||(c=this._powER1T=Math.pow(Math.E,f*_)),v||(v=this._powER2T=Math.pow(Math.E,d*_)),h*c+g*v},dx:function(_){var c,v;return _===this._t&&(c=this._powER1T,v=this._powER2T),this._t=_,c||(c=this._powER1T=Math.pow(Math.E,f*_)),v||(v=this._powER2T=Math.pow(Math.E,d*_)),h*f*c+g*d*v}}}var y=Math.sqrt(4*a*n-i*i)/(2*a),m=-i/2*a,w=t,p=(r-m*t)/y;return{x:function(_){return Math.pow(Math.E,m*_)*(w*Math.cos(y*_)+p*Math.sin(y*_))},dx:function(_){var c=Math.pow(Math.E,m*_),v=Math.cos(y*_),b=Math.sin(y*_);return c*(p*y*v-w*y*b)+m*c*(p*b+w*v)}}}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||!Ar(r,.4)){r=r||0;var a=this._endPosition;this._solution&&(Ar(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),a=this._solution.x((i-this._startTime)/1e3),Ar(r,.4)&&(r=0),Ar(a,.4)&&(a=0),a+=this._endPosition),this._solution&&Ar(a-t,.4)&&Ar(r,.4)||(this._endPosition=t,this._solution=this._solve(a-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()),fh(this.x(),this._endPosition,.4)&&Ar(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,a){i.reconfigure(1,a,i.damping())}function r(i,a){i.reconfigure(1,i.springConstant(),a)}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 sS{constructor(t,r,i){this._extent=t,this._friction=r||new uh(.01),this._spring=i||new ch(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 lS(e,t,r){var i={id:0,cancelled:!1};function a(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,l,u))),f&&u&&u(s)}}function n(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}class uS{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 sS(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 a;if(this._enableSnap){var n=this._scroll._friction.x(100),o=n%this._itemSize;a=Math.abs(o)>this._itemSize/2?n-(this._itemSize-Math.abs(o)):n-o,a<=0&&a>=-this._extent&&this._scroll.setVelocityByEnd(a)}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=lS(this._scroll,()=>{var s=Date.now(),l=(s-this._scroll._startTime)/1e3,u=this._scroll.x(l);this._position=u,this.updatePosition();var f=this._scroll.dx(l);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/f),this._lastTime=s)},()=>{this._enableSnap&&(a<=0&&a>=-this._extent&&(this._position=a,this.updatePosition()),re(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){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),re(this._options.onSnap)&&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(re(this._options.onScroll)&&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 a=0,n=this._position;this._enableX?(a=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(a=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-a?this._position=-a:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),n!==this._position&&(this.dispatchScroll(),re(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=a,this._scroll._extent=a}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 fS(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new uS(e,t);function a(l){var u=l,f=l;return u.detail.state==="move"||u.detail.state==="end"?{x:u.detail.dx,y:u.detail.dy}:{x:f.screenX-r.x,y:f.screenY-r.y}}function n(l){var u=l,f=l;u.detail.state==="start"?(r.trackingID="touch",r.x=u.detail.x,r.y=u.detail.y):(r.trackingID="mouse",r.x=f.screenX,r.y=f.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[u.detail.timeStamp||f.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault()}function o(l){var u=l,f=l;if(r.trackingID!==-1){(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault();var d=a(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||f.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=a(l);if(u){var f=r.listener;r.trackingID=-1,r.listener=null;var d=r.historyTime.length,g={x:0,y:0};if(d>2)for(var h=r.historyTime.length-1,y=r.historyTime[h],m=r.historyX[h],w=r.historyY[h];h>0;){h--;var p=r.historyTime[h],_=y-p;if(_>30&&_<50){g.x=(m-r.historyX[h])/(_/1e3),g.y=(w-r.historyY[h])/(_/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],f&&f.onTouchEnd&&f.onTouchEnd(u.x,u.y,g)}}}return{scroller:i,handleTouchStart:n,handleTouchMove:o,handleTouchEnd:s}}var cS=0;function vS(e){var t="uni-picker-view-content-".concat(cS++);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 dS(e){var t=20,r=0,i=0;e.addEventListener("touchstart",a=>{var n=a.changedTouches[0];r=n.clientX,i=n.clientY}),e.addEventListener("touchend",a=>{var n=a.changedTouches[0];if(Math.abs(n.clientX-r)<t&&Math.abs(n.clientY-i)<t){var o={bubbles:!0,cancelable:!0,target:a.target,currentTarget:a.currentTarget},s=new CustomEvent("click",o),l=["screenX","screenY","clientX","clientY","pageX","pageY"];l.forEach(u=>{s[u]=n[u]}),a.target.dispatchEvent(s)}})}var hS=he({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,a=B(null),n=B(null),o=be("getPickerViewColumn"),s=Dt(),l=o?o(s):B(0),u=be("pickerViewProps"),f=be("pickerViewState"),d=B(34),g=B(null),h=()=>{var M=g.value;d.value=M.$el.offsetHeight},y=ee(()=>(f.height-d.value)/2),{state:m}=Kd(),w=vS(d),p,_=ke({current:l.value,length:0}),c;function v(){p&&!c&&(c=!0,Ur(()=>{c=!1;var M=Math.min(_.current,_.length-1);M=Math.max(M,0),p.update(M*d.value,void 0,d.value)}))}W(()=>l.value,M=>{M!==_.current&&(_.current=M,v())}),W(()=>_.current,M=>l.value=M),W([()=>d.value,()=>_.length,()=>f.height],v);var b=0;function x(M){var R=b+M.deltaY;if(Math.abs(R)>10){b=0;var z=Math.min(_.current+(R<0?-1:1),_.length-1);_.current=z=Math.max(z,0),p.scrollTo(z*d.value)}else b=R;M.preventDefault()}function E(M){var{clientY:R}=M,z=a.value;if(!p.isScrolling()){var ie=z.getBoundingClientRect(),L=R-ie.top-f.height/2,H=d.value/2;if(!(Math.abs(L)<=H)){var q=Math.ceil((Math.abs(L)-H)/d.value),ae=L<0?-q:q,V=Math.min(_.current+ae,_.length-1);_.current=V=Math.max(V,0),p.scrollTo(V*d.value)}}}var C=()=>{var M=a.value,R=n.value,{scroller:z,handleTouchStart:ie,handleTouchMove:L,handleTouchEnd:H}=fS(R,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:d.value,friction:new uh(1e-4),spring:new ch(2,90,20),onSnap:q=>{!isNaN(q)&&q!==_.current&&(_.current=q)}});p=z,qn(M,q=>{switch(q.detail.state){case"start":ie(q),or({disable:!0});break;case"move":L(q),q.stopPropagation();break;case"end":case"cancel":H(q),or({disable:!1})}},!0),dS(M),Yn(),v()};{var O=!1;na(()=>{_.length=n.value.children.length,O||(O=!0,h(),C())})}return()=>{var M=r.default&&r.default(),R="".concat(y.value,"px 0");return A("uni-picker-view-column",{ref:a},[A("div",{onWheel:x,onClick:E,class:"uni-picker-view-group"},[A("div",rt(m.attrs,{class:["uni-picker-view-mask",u.maskClass],style:"background-size: 100% ".concat(y.value,"px;").concat(u.maskStyle)}),null,16),A("div",rt(m.attrs,{class:["uni-picker-view-indicator",u.indicatorClass],style:u.indicatorStyle}),[A(Or,{ref:g,onResize:z=>{var{height:ie}=z;return d.value=ie}},null,8,["onResize"])],16),A("div",{ref:n,class:["uni-picker-view-content",w],style:{padding:R}},[M],6)],40,["onWheel","onClick"])],512)}}}),gS=16,kr={activeColor:Ba,backgroundColor:"#EBEBEB",activeMode:"backwards"},pS={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},fontSize:{type:[String,Number],default:gS},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:kr.activeColor},activeColor:{type:String,default:kr.activeColor},backgroundColor:{type:String,default:kr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:kr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}},borderRadius:{type:[Number,String],default:0}},mS=he({name:"Progress",props:pS,setup(e){var t=_S(e);return vh(t,e),W(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,vh(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:n}=t;return A("uni-progress",{class:"uni-progress"},[A("div",{style:i,class:"uni-progress-bar"},[A("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),r?A("p",{class:"uni-progress-info"},[n+"%"]):""])}}});function _S(e){var t=B(0),r=ee(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=ee(()=>{var o=e.color!==kr.activeColor&&e.activeColor===kr.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),a=ee(()=>{var o=parseFloat(e.percent);return o<0&&(o=0),o>100&&(o=100),o}),n=ke({outerBarStyle:r,innerBarStyle:i,realPercent:a,currentPercent:t,strokeTimer:0,lastPercent:0});return n}function vh(e,t){t.active?(e.currentPercent=t.activeMode===kr.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 dh=pn("ucg"),bS={name:{type:String,default:""}},wS=he({name:"RadioGroup",props:bS,setup(e,t){var{emit:r,slots:i}=t,a=B(null),n=Re(a,r);return yS(e,n),()=>A("uni-radio-group",{ref:a},[i.default&&i.default()],512)}});function yS(e,t){var r=[];Le(()=>{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};$e(dh,{addField(l){r.push(l)},removeField(l){r.splice(r.indexOf(l),1)},radioChange(l,u){var f=r.indexOf(u);s(f,!0),t("change",l,{value:i()})}});var a=be(kt,!1),n={submit:()=>{var l=["",null];return e.name!==""&&(l[0]=e.name,l[1]=i()),l}};a&&(a.addField(n),Oe(()=>{a.removeField(n)}));function o(l,u){l.value={radioChecked:u,value:l.value.value}}function s(l,u){r.forEach((f,d)=>{d!==l&&(u?o(r[d],!1):r.forEach((g,h)=>{d>=h||r[h].value.radioChecked&&o(r[d],!1)}))})}return r}var xS={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:""}},SS=he({name:"Radio",props:xS,setup(e,t){var{slots:r}=t,i=B(e.checked),a=B(e.value),n=ee(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));W([()=>e.checked,()=>e.value],d=>{var[g,h]=d;i.value=g,a.value=h});var o=()=>{i.value=!1},{uniCheckGroup:s,uniLabel:l,field:u}=ES(i,a,o),f=d=>{e.disabled||(i.value=!0,s&&s.radioChange(d,u))};return l&&(l.addHandler(f),Oe(()=>{l.removeHandler(f)})),$n(e,{"label-click":f}),()=>{var d=oi(e,"disabled");return A("uni-radio",rt(d,{onClick:f}),[A("div",{class:"uni-radio-wrapper"},[A("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?n.value:""},[i.value?_n(mn,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function ES(e,t,r){var i=ee({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:l=>{var{radioChecked:u}=l;e.value=u}}),a={reset:r},n=be(dh,!1);n&&n.addField(i);var o=be(kt,!1);o&&o.addField(a);var s=be(ea,!1);return Oe(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s,field:i}}var TS={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:""},Il={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"\u201C",rdquo:"\u201D",yen:"\uFFE5",radic:"\u221A",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",hellip:"\u2026"};function CS(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){return ne(Il,r)&&Il[r]?Il[r]:/^#[0-9]{1,4}$/.test(r)?String.fromCharCode(r.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(r)?String.fromCharCode(0+r.slice(1)):t})}function OS(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:r=>{t(r,{node:e}),r.stopPropagation(),r.preventDefault(),r.returnValue=!1}}}function IS(e,t){if(!!_t(t)){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=t[r];e==="img"&&r==="src"&&(t[r]=st(i))}}}var hh=(e,t,r)=>!r||te(r)&&!r.length?[]:r.map(i=>{if(!!_t(i)){if(!ne(i,"type")||i.type==="node"){var a={[e]:""},n=i.name.toLowerCase();return ne(TS,n)?(IS(n,i.attrs),a=fe(a,OS(i,t),i.attrs),fn(i.name,a,hh(e,t,i.children))):void 0}if(i.type==="text"&&ve(i.text)&&i.text!=="")return Kf(CS(i.text||""))}});function AS(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}function kS(e){return e.reduce(function(t,r){var i=r.value,a=r.name;return i.match(/ /)&&["style","src"].indexOf(a)===-1&&(i=i.split(" ")),t[a]?Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]:t[a]=i,t},{})}function MS(e){e=AS(e);var t=[],r={node:"root",children:[]};return Vd(e,{start:function(i,a,n){var o={name:i};if(a.length!==0&&(o.attrs=kS(a)),n){var s=t[0]||r;s.children||(s.children=[]),s.children.push(o)}else t.unshift(o)},end:function(i){var a=t.shift();if(a.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},chars:function(i){var a={type:"text",text:i};if(t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},comment:function(i){var a={node:"comment",text:i},n=t[0];n.children||(n.children=[]),n.children.push(a)}}),r.children}var RS={nodes:{type:[Array,String],default:function(){return[]}}},LS=he({name:"RichText",compatConfig:{MODE:3},props:RS,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,t){var{emit:r}=t,i=Dt(),a=i&&i.vnode.scopeId||"",n=B(null),o=B([]),s=Re(n,r);function l(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};s("itemclick",f,d)}function u(){var f=e.nodes;ve(f)&&(f=MS(e.nodes)),o.value=hh(a,l,f)}return W(()=>e.nodes,u,{immediate:!0}),()=>fn("uni-rich-text",{ref:n},fn("div",{},o.value))}}),gh=bi(!0),PS={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}},NS=he({name:"ScrollView",compatConfig:{MODE:3},props:PS,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,a=B(null),n=B(null),o=B(null),s=B(null),l=B(null),u=Re(a,r),{state:f,scrollTopNumber:d,scrollLeftNumber:g}=DS(e);BS(e,f,d,g,u,a,n,s,r);var h=ee(()=>{var y="";return e.scrollX?y+="overflow-x:auto;":y+="overflow-x:hidden;",e.scrollY?y+="overflow-y:auto;":y+="overflow-y:hidden;",y});return()=>{var{refresherEnabled:y,refresherBackground:m,refresherDefaultStyle:w}=e,{refresherHeight:p,refreshState:_,refreshRotate:c}=f;return A("uni-scroll-view",{ref:a},[A("div",{ref:o,class:"uni-scroll-view"},[A("div",{ref:n,style:h.value,class:"uni-scroll-view"},[A("div",{ref:s,class:"uni-scroll-view-content"},[y?A("div",{ref:l,style:{backgroundColor:m,height:p+"px"},class:"uni-scroll-view-refresher"},[w!=="none"?A("div",{class:"uni-scroll-view-refresh"},[A("div",{class:"uni-scroll-view-refresh-inner"},[_=="pulling"?A("svg",{key:"refresh__icon",style:{transform:"rotate("+c+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[A("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),A("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,_=="refreshing"?A("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[A("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,w=="none"?i.refresher&&i.refresher():null],4):null,i.default&&i.default()],512)],4)],512)],512)}}});function DS(e){var t=ee(()=>Number(e.scrollTop)||0),r=ee(()=>Number(e.scrollLeft)||0),i=ke({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function BS(e,t,r,i,a,n,o,s,l){var u=!1,f=0,d=!1,g=()=>{},h=ee(()=>{var x=Number(e.upperThreshold);return isNaN(x)?50:x}),y=ee(()=>{var x=Number(e.lowerThreshold);return isNaN(x)?50:x});function m(x,E){var C=o.value,O=0,M="";if(x<0?x=0:E==="x"&&x>C.scrollWidth-C.offsetWidth?x=C.scrollWidth-C.offsetWidth:E==="y"&&x>C.scrollHeight-C.offsetHeight&&(x=C.scrollHeight-C.offsetHeight),E==="x"?O=C.scrollLeft-x:E==="y"&&(O=C.scrollTop-x),O!==0){var R=s.value;R.style.transition="transform .3s ease-out",R.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?M="translateX("+O+"px) translateZ(0)":E==="y"&&(M="translateY("+O+"px) translateZ(0)"),R.removeEventListener("transitionend",g),R.removeEventListener("webkitTransitionEnd",g),g=()=>v(x,E),R.addEventListener("transitionend",g),R.addEventListener("webkitTransitionEnd",g),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),R.style.transform=M,R.style.webkitTransform=M}}function w(x){var E=x.target;a("scroll",x,{scrollLeft:E.scrollLeft,scrollTop:E.scrollTop,scrollHeight:E.scrollHeight,scrollWidth:E.scrollWidth,deltaX:t.lastScrollLeft-E.scrollLeft,deltaY:t.lastScrollTop-E.scrollTop}),e.scrollY&&(E.scrollTop<=h.value&&t.lastScrollTop-E.scrollTop>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",x,{direction:"top"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollTop+E.offsetHeight+y.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",x,{direction:"bottom"}),t.lastScrollToLowerTime=x.timeStamp)),e.scrollX&&(E.scrollLeft<=h.value&&t.lastScrollLeft-E.scrollLeft>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",x,{direction:"left"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollLeft+E.offsetWidth+y.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",x,{direction:"right"}),t.lastScrollToLowerTime=x.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function p(x){e.scrollY&&(e.scrollWithAnimation?m(x,"y"):o.value.scrollTop=x)}function _(x){e.scrollX&&(e.scrollWithAnimation?m(x,"x"):o.value.scrollLeft=x)}function c(x){if(x){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(x)){console.error("id error: scroll-into-view=".concat(x));return}var E=n.value.querySelector("#"+x);if(E){var C=o.value.getBoundingClientRect(),O=E.getBoundingClientRect();if(e.scrollX){var M=O.left-C.left,R=o.value.scrollLeft,z=R+M;e.scrollWithAnimation?m(z,"x"):o.value.scrollLeft=z}if(e.scrollY){var ie=O.top-C.top,L=o.value.scrollTop,H=L+ie;e.scrollWithAnimation?m(H,"y"):o.value.scrollTop=H}}}}function v(x,E){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var C=o.value;E==="x"?(C.style.overflowX=e.scrollX?"auto":"hidden",C.scrollLeft=x):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=x),s.value.removeEventListener("transitionend",g),s.value.removeEventListener("webkitTransitionEnd",g)}function b(x){switch(x){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,a("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=f=0,x==="restore"&&(d=!1,a("refresherrestore",{},{})),x==="refresherabort"&&d&&(d=!1,a("refresherabort",{},{}));break}t.refreshState=x}Le(()=>{Ur(()=>{p(r.value),_(i.value)}),c(e.scrollIntoView);var x=function(z){z.preventDefault(),z.stopPropagation(),w(z)},E={x:0,y:0},C=null,O=function(z){if(E!==null){var ie=z.touches[0].pageX,L=z.touches[0].pageY,H=o.value;if(Math.abs(ie-E.x)>Math.abs(L-E.y))if(e.scrollX){if(H.scrollLeft===0&&ie>E.x){C=!1;return}else if(H.scrollWidth===H.offsetWidth+H.scrollLeft&&ie<E.x){C=!1;return}C=!0}else C=!1;else if(e.scrollY)if(H.scrollTop===0&&L>E.y)C=!1,e.refresherEnabled&&z.cancelable!==!1&&z.preventDefault();else if(H.scrollHeight===H.offsetHeight+H.scrollTop&&L<E.y){C=!1;return}else C=!0;else C=!1;if(C&&z.stopPropagation(),H.scrollTop===0&&z.touches.length===1&&(t.refreshState="pulling"),e.refresherEnabled&&t.refreshState==="pulling"){var q=L-E.y;f===0&&(f=L),u?(t.refresherHeight=q+e.refresherThreshold,d=!1):(t.refresherHeight=L-f,t.refresherHeight>0&&(d=!0,a("refresherpulling",z,{deltaY:q})));var ae=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(ae>1?1:ae)*360}}},M=function(z){z.touches.length===1&&(or({disable:!0}),E={x:z.touches[0].pageX,y:z.touches[0].pageY})},R=function(z){E=null,or({disable:!1}),t.refresherHeight>=e.refresherThreshold?b("refreshing"):b("refresherabort")};o.value.addEventListener("touchstart",M,gh),o.value.addEventListener("touchmove",O,bi(!1)),o.value.addEventListener("scroll",x,bi(!1)),o.value.addEventListener("touchend",R,gh),Yn(),Oe(()=>{o.value.removeEventListener("touchstart",M),o.value.removeEventListener("touchmove",O),o.value.removeEventListener("scroll",x),o.value.removeEventListener("touchend",R)})}),cs(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),W(r,x=>{p(x)}),W(i,x=>{_(x)}),W(()=>e.scrollIntoView,x=>{c(x)}),W(()=>e.refresherTriggered,x=>{x===!0?b("refreshing"):x===!1&&b("restore")})}var FS={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}},$S=he({name:"Slider",props:FS,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=B(null),a=B(null),n=B(null),o=B(Number(e.value));W(()=>e.value,d=>{o.value=Number(d)});var s=Re(i,r),l=zS(e,o),{_onClick:u,_onTrack:f}=US(e,o,i,a,s);return Le(()=>{qn(n.value,f)}),()=>{var{setBgColor:d,setBlockBg:g,setActiveColor:h,setBlockStyle:y}=l;return A("uni-slider",{ref:i,onClick:Cr(u)},[A("div",{class:"uni-slider-wrapper"},[A("div",{class:"uni-slider-tap-area"},[A("div",{style:d.value,class:"uni-slider-handle-wrapper"},[A("div",{ref:n,style:g.value,class:"uni-slider-handle"},null,4),A("div",{style:y.value,class:"uni-slider-thumb"},null,4),A("div",{style:h.value,class:"uni-slider-track"},null,4)],4)]),Mi(A("span",{ref:a,class:"uni-slider-value"},[o.value],512),[[Pi,e.showValue]])]),A("slot",null,null)],8,["onClick"])}}});function zS(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",a=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",n={setBgColor:ee(()=>({backgroundColor:i()})),setBlockBg:ee(()=>({left:r()})),setActiveColor:ee(()=>({backgroundColor:a(),width:r()})),setBlockStyle:ee(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return n}function US(e,t,r,i,a){var n=d=>{e.disabled||(s(d),a("change",d,{value:t.value}))},o=d=>{var g=Number(e.max),h=Number(e.min),y=Number(e.step);return d<h?h:d>g?g:HS.mul.call(Math.round((d-h)/y),y)+h},s=d=>{var g=Number(e.max),h=Number(e.min),y=i.value,m=getComputedStyle(y,null).marginLeft,w=y.offsetWidth;w=w+parseInt(m);var p=r.value,_=p.offsetWidth-(e.showValue?w:0),c=p.getBoundingClientRect().left,v=(d.x-c)*(g-h)/_+h;t.value=o(v)},l=d=>{if(!e.disabled)return d.detail.state==="move"?(s({x:d.detail.x}),a("changing",d,{value:t.value}),!1):d.detail.state==="end"&&a("change",d,{value:t.value})},u=be(kt,!1);if(u){var f={reset:()=>t.value=Number(e.min),submit:()=>{var d=["",null];return e.name!==""&&(d[0]=e.name,d[1]=t.value),d}};u.addField(f),Oe(()=>{u.removeField(f)})}return{_onClick:n,_onTrack:l}}var HS={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(a){}try{t+=i.split(".")[1].length}catch(a){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},WS={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 VS(e){var t=ee(()=>{var n=Number(e.interval);return isNaN(n)?5e3:n}),r=ee(()=>{var n=Number(e.duration);return isNaN(n)?500:n}),i=ee(()=>{var n=Math.round(e.displayMultipleItems);return isNaN(n)?1:n}),a=ke({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return a}function jS(e,t,r,i,a,n){function o(){s&&(clearTimeout(s),s=null)}var s=null,l=!0,u=0,f=1,d=null,g=!1,h=0,y,m="",w,p=ee(()=>e.circular&&r.value.length>t.displayMultipleItems);function _(L){if(!l)for(var H=r.value,q=H.length,ae=L+t.displayMultipleItems,V=0;V<q;V++){var K=H[V],oe=Math.floor(L/q)*q+V,Ce=oe+q,se=oe-q,ge=Math.max(L-(oe+1),oe-ae,0),le=Math.max(L-(Ce+1),Ce-ae,0),J=Math.max(L-(se+1),se-ae,0),Se=Math.min(ge,le,J),ye=[oe,Ce,se][[ge,le,J].indexOf(Se)];K.updatePosition(ye,e.vertical)}}function c(L){Math.floor(2*u)===Math.floor(2*L)&&Math.ceil(2*u)===Math.ceil(2*L)||p.value&&_(L);var H=e.vertical?"0":100*-L*f+"%",q=e.vertical?100*-L*f+"%":"0",ae="translate("+H+", "+q+") translateZ(0)",V=i.value;if(V&&(V.style.webkitTransform=ae,V.style.transform=ae),u=L,!y){if(L%1===0)return;y=L}L-=Math.floor(y);var K=r.value;L<=-(K.length-1)?L+=K.length:L>=K.length&&(L-=K.length),L=y%1>.5||y<0?L-1:L,n("transition",{},{dx:e.vertical?0:L*V.offsetWidth,dy:e.vertical?L*V.offsetHeight:0})}function v(){d&&(c(d.toPos),d=null)}function b(L){var H=r.value.length;if(!H)return-1;var q=(Math.round(L)%H+H)%H;if(p.value){if(H<=t.displayMultipleItems)return 0}else if(q>H-t.displayMultipleItems)return H-t.displayMultipleItems;return q}function x(){d=null}function E(){if(!d){g=!1;return}var L=d,H=L.toPos,q=L.acc,ae=L.endTime,V=L.source,K=ae-Date.now();if(K<=0){c(H),d=null,g=!1,y=null;var oe=r.value[t.current];if(oe){var Ce=oe.getItemId();n("animationfinish",{},{current:t.current,currentItemId:Ce,source:V})}return}var se=q*K*K/2,ge=H+se;c(ge),w=requestAnimationFrame(E)}function C(L,H,q){x();var ae=t.duration,V=r.value.length,K=u;if(p.value)if(q<0){for(;K<L;)K+=V;for(;K-V>L;)K-=V}else if(q>0){for(;K>L;)K-=V;for(;K+V<L;)K+=V;K+V-L<L-K&&(K+=V)}else{for(;K+V<L;)K+=V;for(;K-V>L;)K-=V;K+V-L<L-K&&(K+=V)}d={toPos:L,acc:2*(K-L)/(ae*ae),endTime:Date.now()+ae,source:H},g||(g=!0,w=requestAnimationFrame(E))}function O(){o();var L=r.value,H=function(){s=null,m="autoplay",p.value?t.current=b(t.current+1):t.current=t.current+t.displayMultipleItems<L.length?t.current+1:0,C(t.current,"autoplay",p.value?1:0),s=setTimeout(H,t.interval)};l||L.length<=t.displayMultipleItems||(s=setTimeout(H,t.interval))}function M(){o(),v();for(var L=r.value,H=0;H<L.length;H++)L[H].updatePosition(H,e.vertical);f=1;var q=i.value;if(t.displayMultipleItems===1&&L.length){var ae=L[0].getBoundingClientRect(),V=q.getBoundingClientRect();f=ae.width/V.width,f>0&&f<1||(f=1)}var K=u;u=-2;var oe=t.current;oe>=0?(l=!1,t.userTracking?(c(K+oe-h),h=oe):(c(oe),e.autoplay&&O())):(l=!0,c(-t.displayMultipleItems-1))}W([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var L=-1;if(e.currentItemId)for(var H=0,q=r.value;H<q.length;H++){var ae=q[H].getItemId();if(ae===e.currentItemId){L=H;break}}L<0&&(L=Math.round(e.current)||0),L=L<0?0:L,t.current!==L&&(m="",t.current=L)}),W([()=>e.vertical,()=>p.value,()=>t.displayMultipleItems,()=>[...r.value]],M),W(()=>t.interval,()=>{s&&(o(),O())});function R(L,H){var q=m;m="";var ae=r.value;if(!q){var V=ae.length;C(L,"",p.value&&H+(V-L)%V>V/2?1:0)}var K=ae[L];if(K){var oe=t.currentItemId=K.getItemId();n("change",{},{current:t.current,currentItemId:oe,source:q})}}W(()=>t.current,(L,H)=>{R(L,H),a("update:current",L)}),W(()=>t.currentItemId,L=>{a("update:currentItemId",L)});function z(L){L?O():o()}W(()=>e.autoplay&&!t.userTracking,z),z(e.autoplay&&!t.userTracking),Le(()=>{var L=!1,H=0,q=0;function ae(){o(),h=u,H=0,q=Date.now(),x()}function V(oe){var Ce=q;q=Date.now();var se=r.value.length,ge=se-t.displayMultipleItems;function le(Ve){return .5-.25/(Ve+.5)}function J(Ve,sr){var Ne=h+Ve;H=.6*H+.4*sr,p.value||(Ne<0||Ne>ge)&&(Ne<0?Ne=-le(-Ne):Ne>ge&&(Ne=ge+le(Ne-ge)),H=0),c(Ne)}var Se=q-Ce||1,ye=i.value;e.vertical?J(-oe.dy/ye.offsetHeight,-oe.ddy/Se):J(-oe.dx/ye.offsetWidth,-oe.ddx/Se)}function K(oe){t.userTracking=!1;var Ce=H/Math.abs(H),se=0;!oe&&Math.abs(H)>.2&&(se=.5*Ce);var ge=b(u+se);oe?c(h):(m="touch",t.current=ge,C(ge,"touch",se!==0?se:ge===0&&p.value&&u>=1?1:0))}qn(i.value,oe=>{if(!e.disableTouch&&!l){if(oe.detail.state==="start")return t.userTracking=!0,L=!1,ae();if(oe.detail.state==="end")return K(!1);if(oe.detail.state==="cancel")return K(!0);if(t.userTracking){if(!L){L=!0;var Ce=Math.abs(oe.detail.dx),se=Math.abs(oe.detail.dy);if((Ce>=se&&e.vertical||Ce<=se&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&O();return}}return V(oe.detail),!1}}})}),Zt(()=>{o(),cancelAnimationFrame(w)});function ie(L){C(t.current=L,m="click",p.value?1:0)}return{onSwiperDotClick:ie}}var YS=he({name:"Swiper",props:WS,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,a=B(null),n=Re(a,i),o=B(null),s=B(null),l=VS(e),u=ee(()=>{var _={};return(e.nextMargin||e.previousMargin)&&(_=e.vertical?{left:0,right:0,top:Yr(e.previousMargin,!0),bottom:Yr(e.nextMargin,!0)}:{top:0,bottom:0,left:Yr(e.previousMargin,!0),right:Yr(e.nextMargin,!0)}),_}),f=ee(()=>{var _=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":_,height:e.vertical?_:"100%"}}),d=[],g=[],h=B([]);function y(){for(var _=[],c=function(b){var x=d[b];x instanceof Element||(x=x.el);var E=g.find(C=>x===C.rootRef.value);E&&_.push(Za(E))},v=0;v<d.length;v++)c(v);h.value=_}na(()=>{d=s.value.children,y()});var m=function(_){g.push(_),y()};$e("addSwiperContext",m);var w=function(_){var c=g.indexOf(_);c>=0&&(g.splice(c,1),y())};$e("removeSwiperContext",w);var{onSwiperDotClick:p}=jS(e,l,h,s,i,n);return()=>{var _=r.default&&r.default();return d=Tl(_),A("uni-swiper",{ref:a},[A("div",{ref:o,class:"uni-swiper-wrapper"},[A("div",{class:"uni-swiper-slides",style:u.value},[A("div",{ref:s,class:"uni-swiper-slide-frame",style:f.value},[_],4)],4),e.indicatorDots&&A("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map((c,v,b)=>A("div",{onClick:()=>p(v),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":v<l.current+l.displayMultipleItems&&v>=l.current||v<l.current+l.displayMultipleItems-b.length},style:{background:v===l.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"]))],2)],512)],512)}}}),qS={itemId:{type:String,default:""}},XS=he({name:"SwiperItem",props:qS,setup(e,t){var{slots:r}=t,i=B(null),a={rootRef:i,getItemId(){return e.itemId},getBoundingClientRect(){var n=i.value;return n.getBoundingClientRect()},updatePosition(n,o){var s=o?"0":100*n+"%",l=o?100*n+"%":"0",u=i.value,f="translate(".concat(s,",").concat(l,") translateZ(0)");u&&(u.style.webkitTransform=f,u.style.transform=f)}};return Le(()=>{var n=be("addSwiperContext");n&&n(a)}),Zt(()=>{var n=be("removeSwiperContext");n&&n(a)}),()=>A("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),ZS={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"}},KS=he({name:"Switch",props:ZS,emits:["change"],setup(e,t){var{emit:r}=t,i=B(null),a=B(e.checked),n=GS(e,a),o=Re(i,r);W(()=>e.checked,l=>{a.value=l});var s=l=>{e.disabled||(a.value=!a.value,o("change",l,{value:a.value}))};return n&&(n.addHandler(s),Oe(()=>{n.removeHandler(s)})),$n(e,{"label-click":s}),()=>{var{color:l,type:u}=e,f=oi(e,"disabled");return A("uni-switch",rt({ref:i},f,{onClick:s}),[A("div",{class:"uni-switch-wrapper"},[Mi(A("div",{class:["uni-switch-input",[a.value?"uni-switch-input-checked":""]],style:{backgroundColor:a.value?l:"#DFDFDF",borderColor:a.value?l:"#DFDFDF"}},null,6),[[Pi,u==="switch"]]),Mi(A("div",{class:"uni-checkbox-input"},[a.value?_n(mn,e.color,22):""],512),[[Pi,u==="checkbox"]])])],16,["onClick"])}}});function GS(e,t){var r=be(kt,!1),i=be(ea,!1),a={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};return r&&(r.addField(a),Zt(()=>{r.removeField(a)})),i}var la={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function JS(e,t){return e.replace(/\\n/g,mi).split(mi).map(r=>QS(r,t))}function QS(e,t){var{space:r,decode:i}=t;return!e||(r&&la[r]&&(e=e.replace(/ /g,la[r])),!i)?e:e.replace(/ /g,la.nbsp).replace(/ /g,la.ensp).replace(/ /g,la.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var eE=fe({},Gd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator(e){return ph.concat("return").includes(e)}}}),Al=!1,ph=["done","go","next","search","send"];function tE(){var e="(prefers-color-scheme: dark)";Al=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var rE=he({name:"Textarea",props:eE,emits:["confirm","linechange",...Jd],setup(e,t){var{emit:r}=t,i=B(null),a=B(null),{fieldRef:n,state:o,scopedAttrsState:s,fixDisabledColor:l,trigger:u}=Qd(e,i,r),f=ee(()=>o.value.split(mi)),d=ee(()=>ph.includes(e.confirmType)),g=B(0),h=B(null);W(()=>g.value,_=>{var c=i.value,v=h.value,b=a.value,x=parseFloat(getComputedStyle(c).lineHeight);isNaN(x)&&(x=v.offsetHeight);var E=Math.round(_/x);u("linechange",{},{height:_,heightRpx:750/window.innerWidth*_,lineCount:E}),e.autoHeight&&(c.style.height="auto",b.style.height=_+"px")});function y(_){var{height:c}=_;g.value=c}function m(_){u("confirm",_,{value:o.value})}function w(_){_.key==="Enter"&&d.value&&_.preventDefault()}function p(_){if(_.key==="Enter"&&d.value){m(_);var c=_.target;!e.confirmHold&&c.blur()}}return tE(),()=>{var _=e.disabled&&l?A("textarea",{ref:n,value:o.value,tabindex:"-1",readonly:!!e.disabled,maxlength:o.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Al},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:c=>c.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):A("textarea",{ref:n,value:o.value,disabled:!!e.disabled,maxlength:o.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Al},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:w,onKeyup:p},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return A("uni-textarea",{ref:i},[A("div",{ref:a,class:"uni-textarea-wrapper"},[Mi(A("div",rt(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Pi,!o.value.length]]),A("div",{ref:h,class:"uni-textarea-line"},[" "],512),A("div",{class:"uni-textarea-compute"},[f.value.map(c=>A("div",null,[c.trim()?c:"."])),A(Or,{initial:!0,onResize:y},null,8,["initial","onResize"])]),e.confirmType==="search"?A("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[_],40,["onSubmit"]):_],512)],512)}}});fe({},wy);function Kn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function mh(e,t,r){!e||wt(r||Gt(),e,(i,a)=>{var{type:n,data:o}=i;t(n,o,a)})}function _h(e,t){!e||Lm(t||Gt(),e)}function ua(e,t,r,i){var a=Dt(),n=a.proxy;Le(()=>{mh(t||Kn(n),e,i),(r||!t)&&W(()=>n.id,(o,s)=>{mh(Kn(n,o),e,i),_h(s&&Kn(n,s))})}),Oe(()=>{_h(t||Kn(n),i)})}var iE=0;function fa(e){var t=bn(),r=Dt(),i=r.proxy,a=i.$options.name.toLowerCase(),n=e||i.id||"context".concat(iE++);return Le(()=>{var o=i.$el;o.__uniContextInfo={id:n,type:a,page:t}}),"".concat(a,".").concat(n)}function aE(e){return e.__uniContextInfo}class bh extends Cd{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...Fn.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(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!!this.$animate){if(t)return this.call(Fn.mounted);this.$animate&&(this.$animate=!1,this.call(Fn.watch.animation.handler))}}}var nE=["space","decode"];class oE extends bh{constructor(t,r,i,a){super(t,document.createElement("uni-text"),r,i,a,nE),this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update(),this.updateView()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=JS(this._text,{space:r,decode:i}).join(mi),super.update(t)}}class sE extends ni{constructor(t,r,i,a){super(t,"#text",r,document.createTextNode("")),this.init(a),this.insert(r,i)}}var eT="",lE=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class uE extends bh{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...lE,...o])}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new fE(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class fE{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 cE extends uE{constructor(t,r,i,a){super(t,document.createElement("uni-view"),r,i,a)}}function wh(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function yh(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?Iu+wh():0}var xh=Symbol("onDraw");function vE(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 Gn(e,t){return ee(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var a=e[i];a=i==="src"?st(a):a,r[i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())]=a}}),r})}function li(e){var t=ke({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=B(!1);function i(){var d=e.value,g=d.getBoundingClientRect(),h=["width","height"];r.value=g.width===0||g.height===0,r.value||(t.position=vE(d)?"absolute":"static",h.push("top","left")),h.forEach(y=>{var m=g[y];m=y==="top"?m+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:yh()):m,t[y]=m+"px"})}var a=null;function n(){a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=null,i()})}window.addEventListener("updateview",n);var o=[],s=[];function l(d){s?s.push(d):d()}function u(d){var g=be(xh),h=y=>{d(y),o.forEach(m=>m(t)),o=null};l(()=>{g?g(h):h({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var f=function(d){o?o.push(d):d(t)};return $e(xh,f),Le(()=>{i(),s.forEach(d=>d()),s=null}),Oe(()=>{window.removeEventListener("updateview",n)}),{position:t,hidden:r,onParentReady:u}}var dE=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,t){var{emit:r}=t,i=B(null),a=B(null),n=Re(i,r),o=Gn(e,["id"]),{position:s,onParentReady:l}=li(a),u;return l(()=>{u=plus.ad.createAdView(Object.assign({},o.value,s)),plus.webview.currentWebview().append(u),u.setDislikeListener(d=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},d)}),u.setRenderingListener(d=>{d.result===0?(a.value.style.height=d.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:d.result})}),u.setAdClickedListener(()=>{n("adclicked",{},{})}),W(()=>s,d=>u.setStyle(d),{deep:!0}),W(()=>e.adpid,d=>{d&&f()}),W(()=>e.data,d=>{d&&u.renderingBind(d)});function f(){var d={adpid:e.adpid,width:s.width,count:e.dataCount};e.channel!==void 0&&(d.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",d,g=>{var{code:h,data:y,message:m}=g;h===0?u.renderingBind(y):n("error",{},{errMsg:m})})}e.adpid&&f()}),Oe(()=>{u&&u.close()}),()=>A("uni-ad",{ref:i},[A("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class we extends ni{constructor(t,r,i,a,n,o,s){super(t,r,a);var l=document.createElement("div");l.__vueParent=hE(this),this.$props=ke({}),this.init(o),this.$app=lc(S2(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),ne(o,"t")&&this.setText(o.t||""),o.a&&ne(o.a,Fa)&&_l(this.$,o.a[Fa]),this.insert(a,n),Sf()}init(t){var{a:r,e:i,w:a}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(n=>{this.setAttr(n,r[n])})),ne(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(n=>{this.addEvent(n,i[n])}),a&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t,this.updateView()}addWxsEvent(t,r,i){this.$props[t]=Td(this,r,i)}addEvent(t,r){this.$props[t]=Sd(this.id,r,Uo(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===Fa)this.$&&_l(this.$,r);else if(t===Nu)this.$.__ownerId=r;else if(t===Du)zt(()=>hd(this,r),cd);else if(t===Wo){var i=ml(this.$||Ke(this.pid).$,r),a=this.$props.style;_t(i)&&_t(a)?Object.keys(i).forEach(n=>{a[n]=i[n]}):this.$props.style=i}else Bn(t)?this.$.style.setProperty(t,r):(r=ml(this.$||Ke(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r));this.updateView()}removeAttr(t){Bn(t)?this.$.style.removeProperty(t):this.$props[t]=null,this.updateView()}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Ih(this.id),this.removeUniChildren(),this.updateView()}appendChild(t){var r=(this.$holder||this.$).appendChild(t);return this.updateView(!0),r}insertBefore(t,r){var i=(this.$holder||this.$).insertBefore(t,r);return this.updateView(!0),i}}class ca extends we{constructor(t,r,i,a,n,o,s){super(t,r,i,a,n,o,s)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return zt(this.getRebuildFn(),Dn),super.setText(t)}appendChild(t){return zt(this.getRebuildFn(),Dn),super.appendChild(t)}insertBefore(t,r){return zt(this.getRebuildFn(),Dn),super.insertBefore(t,r)}removeUniChild(t){return zt(this.getRebuildFn(),Dn),super.removeUniChild(t)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function hE(e){for(;e&&e.pid>0;)if(e=Ke(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function kl(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))}var gE=["value","modelValue"];function Sh(e){gE.forEach(t=>{if(ne(e,t)){var r="onUpdate:"+t;ne(e,r)||(e[r]=i=>e[t]=i)}})}class pE extends we{constructor(t,r,i,a){super(t,"uni-ad",dE,r,i,a)}}var tT="";class mE extends we{constructor(t,r,i,a){super(t,"uni-button",Ay,r,i,a)}}class va extends ni{constructor(t,r,i,a){super(t,r,i),this.insert(i,a)}}class _E extends va{constructor(t,r,i){super(t,"uni-camera",r,i)}}var rT="";class bE extends we{constructor(t,r,i,a){super(t,"uni-canvas",By,r,i,a,"uni-canvas > div")}}var iT="";class wE extends we{constructor(t,r,i,a){super(t,"uni-checkbox",Vy,r,i,a,".uni-checkbox-wrapper")}setText(t){kl(this.$holder,"uni-checkbox-input",t)}}var aT="";class yE extends we{constructor(t,r,i,a){super(t,"uni-checkbox-group",Uy,r,i,a)}}var nT="",xE=0;function Eh(e,t,r){var{position:i,hidden:a,onParentReady:n}=li(e),o,s;n(l=>{var u=ee(()=>{var c={};for(var v in i){var b=i[v],x=parseFloat(b),E=parseFloat(l[v]);if(v==="top"||v==="left")b=Math.max(x,E)+"px";else if(v==="width"||v==="height"){var C=v==="width"?"left":"top",O=parseFloat(l[C]),M=parseFloat(i[C]),R=Math.max(O-M,0),z=Math.max(M+x-(O+E),0);b=Math.max(x-R-z,0)+"px"}c[v]=b}return c}),f=["borderRadius","borderColor","borderWidth","backgroundColor"],d=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],g=[],h={start:"left",end:"right"};function y(c){var v=getComputedStyle(e.value);return f.concat(d,g).forEach(b=>{c[b]=v[b]}),c}var m=ke(y({})),w=null;s=function(){w&&cancelAnimationFrame(w),w=requestAnimationFrame(()=>{w=null,y(m)})},window.addEventListener("updateview",s);function p(){var c={};for(var v in c){var b=c[v];(v==="top"||v==="left")&&(b=Math.min(parseFloat(b)-parseFloat(l[v]),0)+"px"),c[v]=b}return c}var _=ee(()=>{var c=p(),v=[{tag:"rect",position:c,rectStyles:{color:m.backgroundColor,radius:m.borderRadius,borderColor:m.borderColor,borderWidth:m.borderWidth}}];if("src"in r)r.src&&v.push({tag:"img",position:c,src:r.src});else{var b=parseFloat(m.lineHeight)-parseFloat(m.fontSize),x=parseFloat(c.width)-parseFloat(m.paddingLeft)-parseFloat(m.paddingRight);x=x<0?0:x;var E=parseFloat(c.height)-parseFloat(m.paddingTop)-b/2-parseFloat(m.paddingBottom);E=E<0?0:E,v.push({tag:"font",position:{top:"".concat(parseFloat(c.top)+parseFloat(m.paddingTop)+b/2,"px"),left:"".concat(parseFloat(c.left)+parseFloat(m.paddingLeft),"px"),width:"".concat(x,"px"),height:"".concat(E,"px")},textStyles:{align:h[m.textAlign]||m.textAlign,color:m.color,decoration:"none",lineSpacing:"".concat(b,"px"),margin:"0px",overflow:m.textOverflow,size:m.fontSize,verticalAlign:"top",weight:m.fontWeight,whiteSpace:m.whiteSpace},text:r.text})}return v});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(xE++),u.value,_.value),plus.webview.currentWebview().append(o),a.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),W(()=>a.value,c=>{o[c?"hide":"show"]()}),W(()=>u.value,c=>{o.setStyle(c)},{deep:!0}),W(()=>_.value,()=>{o.reset(),o.draw(_.value)},{deep:!0})}),Oe(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var SE="_doc/uniapp_temp/",EE={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function TE(e,t,r){var i=B(""),a;function n(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?st(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(a=plus.downloader.createDownload(s,{filename:SE+"/download/"},(l,u)=>{u===200?o(l.filename):r("error",{},{errMsg:"error"})}),a.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:l=>{var{width:u,height:f}=l;e.autoSize&&(i.value="width:".concat(u,"px;height:").concat(f,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:u,height:f})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&n(),W(()=>e.src,n),Oe(()=>{a&&a.abort()}),i}var Th=he({name:"CoverImage",props:EE,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=B(null),a=Re(i,r),n=ke({src:""}),o=TE(e,n,a);return Eh(i,a,n),()=>A("uni-cover-image",{ref:i,style:o.value},[A("div",{class:"uni-cover-image"},null)],4)}});class CE extends we{constructor(t,r,i,a){super(t,"uni-cover-image",Th,r,i,a)}}var oT="",OE=he({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=B(null),a=B(null),n=Re(i,r),o=ke({text:""});return Eh(i,n,o),na(()=>{var s=a.value.childNodes[0];o.text=s&&s instanceof Text?s.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>A("uni-cover-view",{ref:i},[A("div",{ref:a,class:"uni-cover-view"},null,512)],512)}});class IE extends ca{constructor(t,r,i,a){super(t,"uni-cover-view",OE,r,i,a,".uni-cover-view")}}var sT="";class AE extends we{constructor(t,r,i,a){super(t,"uni-editor",gx,r,i,a)}}var lT="";class kE extends we{constructor(t,r,i,a){super(t,"uni-form",Sy,r,i,a,"span")}}class ME extends va{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var uT="";class RE extends we{constructor(t,r,i,a){super(t,"uni-icon",bx,r,i,a)}}var fT="";class LE extends we{constructor(t,r,i,a){super(t,"uni-image",xx,r,i,a)}}var cT="";class PE extends we{constructor(t,r,i,a){super(t,"uni-input",Hx,r,i,a)}init(t){super.init(t),Sh(this.$props)}}var vT="";class NE extends we{constructor(t,r,i,a){super(t,"uni-label",Oy,r,i,a)}}class DE extends va{constructor(t,r,i){super(t,"uni-live-player",r,i)}}var dT="",BE={id:{type:String,default:""},url:{type:String,default:""},mode:{type:String,default:"SD"},muted:{type:[Boolean,String],default:!1},enableCamera:{type:[Boolean,String],default:!0},autoFocus:{type:[Boolean,String],default:!0},beauty:{type:[Number,String],default:0},whiteness:{type:[Number,String],default:0},aspect:{type:[String],default:"3:2"},minBitrate:{type:[Number],default:200}},Ch=["statechange","netstatus","error"],FE=he({name:"LivePusher",props:BE,emits:Ch,setup(e,t){var{emit:r}=t,i=B(null),a=Re(i,r),n=B(null),o=Gn(e,["id"]),{position:s,hidden:l,onParentReady:u}=li(n),f;u(()=>{f=new plus.video.LivePusher("livePusher"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),Ch.forEach(g=>{f.addEventListener(g,h=>{a(g,{},h.detail)})}),W(()=>o.value,g=>f.setStyles(g),{deep:!0}),W(()=>s,g=>f.setStyles(g),{deep:!0}),W(()=>l.value,g=>{g||f.setStyles(s)})});var d=fa();return ua((g,h)=>{f&&f[g](h)},d,!0),Oe(()=>{f&&f.close()}),()=>A("uni-live-pusher",{ref:i,id:e.id},[A("div",{ref:n,class:"uni-live-pusher-container"},null,512)],8,["id"])}});class $E extends we{constructor(t,r,i,a){super(t,"uni-live-pusher",FE,r,i,a,".uni-live-pusher-slot")}}var hT="",zE=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function da(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.slice(7,9);return{color:e.slice(0,7),opacity:t?Number("0x"+t)/255:1}}var UE={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[]}},polygons:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},HE=he({name:"Map",props:UE,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=B(null),a=Re(i,r),n=B(null),o=Gn(e,["id"]),{position:s,hidden:l,onParentReady:u}=li(n),f,{_addMarkers:d,_addMapLines:g,_addMapCircles:h,_addMapPolygons:y,_setMap:m}=WE(e,a);u(()=>{f=fe(plus.maps.create(Gt()+"-map-"+(e.id||Date.now()),Object.assign({},o.value,s,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[],__polygons__:[]}),f.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(f),l.value&&f.hide(),f.onclick=p=>{a("click",{},p)},f.onstatuschanged=p=>{a("regionchange",{},{})},m(f),d(e.markers),g(e.polyline),h(e.circles),y(e.polygons),W(()=>o.value,p=>f&&f.setStyles(p),{deep:!0}),W(()=>s,p=>f&&f.setStyles(p),{deep:!0}),W(l,p=>{f&&f[p?"hide":"show"]()}),W(()=>e.scale,p=>{f&&f.setZoom(parseInt(String(p)))}),W([()=>e.latitude,()=>e.longitude],p=>{var[_,c]=p;f&&f.setStyles({center:new plus.maps.Point(Number(_),Number(c))})}),W(()=>e.markers,p=>{d(p,!0)},{deep:!0}),W(()=>e.polyline,p=>{g(p)},{deep:!0}),W(()=>e.circles,p=>{h(p)},{deep:!0}),W(()=>e.polygons,p=>{y(p)},{deep:!0})});var w=ee(()=>e.controls.map(p=>{var _={position:"absolute"};return["top","left","width","height"].forEach(c=>{p.position[c]&&(_[c]=p.position[c]+"px")}),{id:p.id,iconPath:st(p.iconPath),position:_,clickable:p.clickable}}));return Oe(()=>{f&&(f.close(),m(null))}),()=>A("uni-map",{ref:i,id:e.id},[A("div",{ref:n,class:"uni-map-container"},null,512),w.value.map((p,_)=>A(Th,{key:_,src:p.iconPath,style:p.position,"auto-size":!0,onClick:()=>p.clickable&&a("controltap",{},{controlId:p.id})},null,8,["src","style","auto-size","onClick"])),A("div",{class:"uni-map-slot"},null)],8,["id"])}});function WE(e,t){var r;function i(y){var{longitude:m,latitude:w}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(m||e.longitude),Number(w||e.latitude))),y({errMsg:"moveToLocation:ok"}))}function a(y){!r||r.getCurrentCenter((m,w)=>{y({longitude:w.getLng(),latitude:w.getLat(),errMsg:"getCenterLocation:ok"})})}function n(y){if(!!r){var m=r.getBounds();y({southwest:m.getSouthWest(),northeast:m.getNorthEast(),errMsg:"getRegion:ok"})}}function o(y){!r||y({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(y){if(!!r){var{id:m,latitude:w,longitude:p,iconPath:_,callout:c,label:v}=y;zE(p,w,b=>{var x,{latitude:E,longitude:C}=b.coord,O=new plus.maps.Marker(new plus.maps.Point(C,E));_&&O.setIcon(st(_)),v&&v.content&&O.setLabel(v.content);var M=void 0;c&&c.content&&(M=new plus.maps.Bubble(c.content)),M&&O.setBubble(M),(m||m===0)&&(O.onclick=R=>{t("markertap",{},{markerId:m})},M&&(M.onclick=()=>{t("callouttap",{},{markerId:m})})),(x=r)===null||x===void 0||x.addOverlay(O),r.__markers__.push(O)})}}function l(){if(!!r){var y=r.__markers__;y.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__markers__=[]}}function u(y,m){m&&l(),y.forEach(w=>{s(w)})}function f(y){!r||(r.__lines__.length>0&&(r.__lines__.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__lines__=[]),y.forEach(m=>{var w,{color:p,width:_}=m,c=m.points.map(x=>new plus.maps.Point(x.longitude,x.latitude)),v=new plus.maps.Polyline(c);if(p){var b=da(p);v.setStrokeColor(b.color),v.setStrokeOpacity(b.opacity)}_&&v.setLineWidth(_),(w=r)===null||w===void 0||w.addOverlay(v),r.__lines__.push(v)}))}function d(y){!r||(r.__circles__.length>0&&(r.__circles__.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__circles__=[]),y.forEach(m=>{var w,{latitude:p,longitude:_,color:c,fillColor:v,radius:b,strokeWidth:x}=m,E=new plus.maps.Circle(new plus.maps.Point(_,p),b);if(c){var C=da(c);E.setStrokeColor(C.color),E.setStrokeOpacity(C.opacity)}if(v){var O=da(v);E.setFillColor(O.color),E.setFillOpacity(O.opacity)}x&&E.setLineWidth(x),(w=r)===null||w===void 0||w.addOverlay(E),r.__circles__.push(E)}))}function g(y){if(!!r){var m=r.__polygons__;m.forEach(w=>{var p;(p=r)===null||p===void 0||p.removeOverlay(w)}),m.length=0,y.forEach(w=>{var p,{points:_,strokeWidth:c,strokeColor:v,fillColor:b}=w,x=[];_&&_.forEach(M=>{x.push(new plus.maps.Point(M.longitude,M.latitude))});var E=new plus.maps.Polygon(x);if(v){var C=da(v);E.setStrokeColor(C.color),E.setStrokeOpacity(C.opacity)}if(b){var O=da(b);E.setFillColor(O.color),E.setFillOpacity(O.opacity)}c&&E.setLineWidth(c),(p=r)===null||p===void 0||p.addOverlay(E),m.push(E)})}}var h={moveToLocation:i,getCenterLocation:a,getRegion:n,getScale:o};return ua((y,m,w)=>{h[y]&&h[y](w,m)},fa(),!0),{_addMarkers:u,_addMapLines:f,_addMapCircles:d,_addMapPolygons:g,_setMap(y){r=y}}}class VE extends we{constructor(t,r,i,a){super(t,"uni-map",HE,r,i,a,".uni-map-slot")}}var gT="";class jE extends ca{constructor(t,r,i,a){super(t,"uni-movable-area",qx,r,i,a)}}var pT="";class YE extends we{constructor(t,r,i,a){super(t,"uni-movable-view",Kx,r,i,a)}}var mT="";class qE extends we{constructor(t,r,i,a){super(t,"uni-navigator",iS,r,i,a,"uni-navigator")}}class XE extends va{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class ZE extends va{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var Ae={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},ui={YEAR:"year",MONTH:"month",DAY:"day"};function Jn(e){return e>9?e:"0".concat(e)}function Qn(e,t){e=String(e||"");var r=new Date;if(t===Ae.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var a=e.split("-");a.length===3&&r.setFullYear(parseInt(a[0]),parseInt(String(parseFloat(a[1])-1)),parseInt(a[2]))}return r}function KE(e){if(e.mode===Ae.TIME)return"00:00";if(e.mode===Ae.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case ui.YEAR:return t;case ui.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function GE(e){if(e.mode===Ae.TIME)return"23:59";if(e.mode===Ae.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case ui.YEAR:return t;case ui.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var JE={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Ae.SELECTOR,validator(e){return Object.values(Ae).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:KE},end:{type:String,default:GE},disabled:{type:[Boolean,String],default:!1}},QE=he({name:"Picker",props:JE,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;Om();var{t:i,getLocale:a}=Qe(),n=B(null),o=Re(n,r),s=B(null),l=B(null),u=()=>{var p=e.value;switch(e.mode){case Ae.MULTISELECTOR:{te(p)||(p=[]),te(s.value)||(s.value=[]);for(var _=s.value.length=Math.max(p.length,e.range.length),c=0;c<_;c++){var v=Number(p[c]),b=Number(s.value[c]),x=isNaN(v)?isNaN(b)?0:b:v;s.value.splice(c,1,x<0?0:x)}}break;case Ae.TIME:case Ae.DATE:s.value=String(p);break;default:{var E=Number(p);s.value=E<0?0:E;break}}},f=p=>{l.value&&l.value.sendMessage(p)},d=p=>{var _={event:"cancel"};l.value=fb({url:"__uniapppicker",data:p,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:c=>{var v=c.event;if(v==="created"){f(p);return}if(v==="columnchange"){delete c.event,o(v,{},c);return}_=c},onClose:()=>{l.value=null;var c=_.event;delete _.event,c&&o(c,{},_)}})},g=(p,_)=>{plus.nativeUI[e.mode===Ae.TIME?"pickTime":"pickDate"](c=>{var v=c.date;o("change",{},{value:e.mode===Ae.TIME?"".concat(Jn(v.getHours()),":").concat(Jn(v.getMinutes())):"".concat(v.getFullYear(),"-").concat(Jn(v.getMonth()+1),"-").concat(Jn(v.getDate()))})},()=>{o("cancel",{},{})},e.mode===Ae.TIME?{time:Qn(e.value,Ae.TIME),popover:_}:{date:Qn(e.value,Ae.DATE),minDate:Qn(e.start,Ae.DATE),maxDate:Qn(e.end,Ae.DATE),popover:_})},h=(p,_)=>{(p.mode===Ae.TIME||p.mode===Ae.DATE)&&!p.fields?g(p,_):(p.fields=Object.values(ui).includes(p.fields)?p.fields:ui.DAY,d(p))},y=p=>{if(!e.disabled){var _=p.currentTarget,c=_.getBoundingClientRect();h(Object.assign({},e,{value:s.value,locale:a(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:c.top+yh(),left:c.left,width:c.width,height:c.height})}},m=be(kt,!1),w={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Ae.SELECTOR:s.value=0;break;case Ae.MULTISELECTOR:te(e.value)&&(s.value=e.value.map(p=>0));break;case Ae.DATE:case Ae.TIME:s.value="";break}}};return m&&(m.addField(w),Oe(()=>m.removeField(w))),Object.keys(e).forEach(p=>{p!=="name"&&W(()=>e[p],_=>{var c={};c[p]=_,f(c)},{deep:!0})}),W(()=>e.value,u,{deep:!0}),u(),()=>A("uni-picker",{ref:n,onClick:y},[A("slot",null,null)],8,["onClick"])}});class e2 extends we{constructor(t,r,i,a){super(t,"uni-picker",QE,r,i,a)}}var _T="";class t2 extends ca{constructor(t,r,i,a){super(t,"uni-picker-view",oS,r,i,a,".uni-picker-view-wrapper")}}var bT="";class r2 extends ca{constructor(t,r,i,a){super(t,"uni-picker-view-column",hS,r,i,a,".uni-picker-view-content")}}var wT="";class i2 extends we{constructor(t,r,i,a){super(t,"uni-progress",mS,r,i,a)}}var yT="";class a2 extends we{constructor(t,r,i,a){super(t,"uni-radio",SS,r,i,a,".uni-radio-wrapper")}setText(t){kl(this.$holder,"uni-radio-input",t)}}var xT="";class n2 extends we{constructor(t,r,i,a){super(t,"uni-radio-group",wS,r,i,a)}}var ST="";class o2 extends we{constructor(t,r,i,a){super(t,"uni-rich-text",LS,r,i,a)}}var ET="";class s2 extends we{constructor(t,r,i,a){super(t,"uni-scroll-view",NS,r,i,a,".uni-scroll-view-content")}setText(t){kl(this.$holder,"uni-scroll-view-refresher",t)}}var TT="";class l2 extends we{constructor(t,r,i,a){super(t,"uni-slider",$S,r,i,a)}}var CT="";class u2 extends ca{constructor(t,r,i,a){super(t,"uni-swiper",YS,r,i,a,".uni-swiper-slide-frame")}}var OT="";class f2 extends we{constructor(t,r,i,a){super(t,"uni-swiper-item",XS,r,i,a)}}var IT="";class c2 extends we{constructor(t,r,i,a){super(t,"uni-switch",KS,r,i,a)}}var AT="";class v2 extends we{constructor(t,r,i,a){super(t,"uni-textarea",rE,r,i,a)}init(t){super.init(t),Sh(this.$props)}}var kT="",d2={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},vslideGesture:{type:[Boolean,String],default:!1},vslideGestureInFullscreen:{type:[Boolean,String],default:!1},showPlayBtn:{type:[Boolean,String],default:!0},showMuteBtn:{type:[Boolean,String],default:!1},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[]}}},Oh=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],h2=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],g2=he({name:"Video",props:d2,emits:Oh,setup(e,t){var{emit:r}=t,i=B(null),a=Re(i,r),n=B(null),o=Gn(e,["id"]),{position:s,hidden:l,onParentReady:u}=li(n),f;u(()=>{f=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),l.value&&f.hide(),Oh.forEach(g=>{f.addEventListener(g,h=>{a(g,{},h.detail)})}),W(()=>o.value,g=>f.setStyles(g),{deep:!0}),W(()=>s,g=>f.setStyles(g),{deep:!0}),W(()=>l.value,g=>{f[g?"hide":"show"](),g||f.setStyles(s)})});var d=fa();return ua((g,h)=>{if(h2.includes(g)){var y;switch(g){case"seek":y=h.position;break;case"sendDanmu":y=h;break;case"playbackRate":y=h.rate;break;case"requestFullScreen":y=h.direction;break}f&&f[g](y)}},d,!0),Oe(()=>{f&&f.close()}),()=>A("uni-video",{ref:i,id:e.id},[A("div",{ref:n,class:"uni-video-container"},null,512),A("div",{class:"uni-video-slot"},null)],8,["id"])}});class p2 extends we{constructor(t,r,i,a){super(t,"uni-video",g2,r,i,a,".uni-video-slot")}}var MT="",m2={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default(){return{}}}},nt,_2=e=>{var{htmlId:t,src:r,webviewStyles:i,props:a}=e,n=plus.webview.currentWebview(),o=fe(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var l=Iu+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(l+=wh()),o.top=String(l),o.bottom=o.bottom||"0"}nt=plus.webview.create(r,t,o),s&&nt.addEventListener("titleUpdate",function(){var u;if(!!a.updateTitle){var f=(u=nt)===null||u===void 0?void 0:u.getTitle();n.setStyle({titleNView:{titleText:!f||f==="null"?" ":f}})}}),plus.webview.currentWebview().append(nt)},b2=()=>{var e;plus.webview.currentWebview().remove(nt),(e=nt)===null||e===void 0||e.close("none"),nt=null},w2=he({name:"WebView",props:m2,setup(e){var t=Gt(),r=B(null),{hidden:i,onParentReady:a}=li(r),n=ee(()=>e.webviewStyles);return a(()=>{var o,s=B(wb+t);_2({htmlId:s.value,src:st(e.src),webviewStyles:n.value,props:e}),UniViewJSBridge.publishHandler(_b,{},t),i.value&&((o=nt)===null||o===void 0||o.hide())}),Oe(()=>{b2(),UniViewJSBridge.publishHandler(bb,{},t)}),W(()=>e.src,o=>{var s,l=st(o)||"";if(!!l){if(/^(http|https):\/\//.test(l)&&e.webviewStyles.progress){var u;(u=nt)===null||u===void 0||u.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=nt)===null||s===void 0||s.loadURL(l)}}),W(n,o=>{var s;(s=nt)===null||s===void 0||s.setStyle(o)}),W(i,o=>{nt&&nt[o?"hide":"show"]()}),()=>A("uni-web-view",{ref:r},null,512)}});class y2 extends we{constructor(t,r,i,a){super(t,"uni-web-view",w2,r,i,a)}}var x2={"#text":sE,"#comment":py,VIEW:cE,IMAGE:LE,TEXT:oE,NAVIGATOR:qE,FORM:kE,BUTTON:mE,INPUT:PE,LABEL:NE,RADIO:a2,CHECKBOX:wE,"CHECKBOX-GROUP":yE,AD:pE,CAMERA:_E,CANVAS:bE,"COVER-IMAGE":CE,"COVER-VIEW":IE,EDITOR:AE,"FUNCTIONAL-PAGE-NAVIGATOR":ME,ICON:RE,"RADIO-GROUP":n2,"LIVE-PLAYER":DE,"LIVE-PUSHER":$E,MAP:VE,"MOVABLE-AREA":jE,"MOVABLE-VIEW":YE,"OFFICIAL-ACCOUNT":XE,"OPEN-DATA":ZE,PICKER:e2,"PICKER-VIEW":t2,"PICKER-VIEW-COLUMN":r2,PROGRESS:i2,"RICH-TEXT":o2,"SCROLL-VIEW":s2,SLIDER:l2,SWIPER:u2,"SWIPER-ITEM":f2,SWITCH:c2,TEXTAREA:v2,VIDEO:p2,"WEB-VIEW":y2};function S2(e,t){return()=>fn(e,t)}var eo=new Map;function Ke(e){return eo.get(e)}function E2(e){return eo.get(e)}function Ih(e){return eo.delete(e)}function Ah(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n;if(e===0)n=new ni(e,t,r,document.createElement(t));else{var o=x2[t];o?n=new o(e,r,i,a):n=new Cd(e,document.createElement(t),r,i,a)}return eo.set(e,n),n}var Ml=[],kh=!1;function Mh(e){if(kh)return e();Ml.push(e)}function Rl(){kh=!0,Ml.forEach(e=>{try{e()}catch(t){console.error(t)}}),Ml.length=0}function RT(){}function Rh(e){var{css:t,route:r,platform:i,pixelRatio:a,windowWidth:n,disableScroll:o,statusbarHeight:s,windowTop:l,windowBottom:u}=e;T2(r),C2(i,a,n),O2();var f=plus.webview.currentWebview().id;window.__id__=f,document.title="".concat(r,"[").concat(f,"]"),A2(s,l,u),o&&document.addEventListener("touchmove",ob),t?I2(r):Rl()}function T2(e){window.__PAGE_INFO__={route:e}}function C2(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function O2(){Ah(0,"div",-1,-1).$=document.getElementById("app")}function I2(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Rl,t.onerror=Rl,document.head.appendChild(t)}function A2(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};Z_(i)}var Lh=!1;function k2(e){if(!Lh){Lh=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(Dp,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(Bp)}};requestAnimationFrame(()=>document.addEventListener("scroll",sb(t)))}}function M2(e,t){var{scrollTop:r,selector:i,duration:a}=e;Vp(i||r||0,a),t()}function R2(e){var t=e[0];t[0]===Bu?L2(t):Mh(()=>P2(e))}function L2(e){return Rh(e[1])}function P2(e){var t=e[0],r=Z1(t[0]===mb?t[1]:[]);e.forEach(i=>{switch(i[0]){case Bu:return Rh(i[1]);case Jp:return void 0;case Qp:var a=i[3];return Ah(i[1],r(i[2]),a===-1?0:a,i[4],fd(r,i[5]));case em:return Ke(i[1]).insert(i[2],i[3],fd(r,i[4]));case tm:return Ke(i[1]).remove();case rm:return Ke(i[1]).setAttr(r(i[2]),r(i[3]));case im:return Ke(i[1]).removeAttr(r(i[2]));case am:return Ke(i[1]).addEvent(r(i[2]),i[3]);case sm:return Ke(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case nm:return Ke(i[1]).removeEvent(r(i[2]));case om:return Ke(i[1]).setText(r(i[2]));case lm:return k2(i[1])}}),Q1()}function N2(){var{subscribe:e}=UniViewJSBridge;e(xc,R2),e(yb,t=>Qe().setLocale(t)),e(Ls,D2)}function D2(){UniViewJSBridge.publishHandler(Ls)}function Ph(e){return window.__$__(e).$}function B2(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 Ll(e,t){var r={},{top:i,topWindowHeight:a}=X_();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=$o(e)),t.rect||t.size){var n=e.getBoundingClientRect();t.rect&&(r.left=n.left,r.right=n.right,r.top=n.top-i-a,r.bottom=n.bottom-i-a),t.size&&(r.width=n.width,r.height=n.height)}if(te(t.properties)&&t.properties.forEach(l=>{l=l.replace(/-([a-z])/g,function(u,f){return f.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var o=e.children[0].children[0];r.scrollLeft=o.scrollLeft,r.scrollTop=o.scrollTop,r.scrollHeight=o.scrollHeight,r.scrollWidth=o.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(te(t.computedStyle)){var s=getComputedStyle(e);t.computedStyle.forEach(l=>{r[l]=s[l]})}return t.context&&(r.contextInfo=aE(e)),r}function F2(e,t){return e?window.__$__(e).$:t.$el}function Nh(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var a=this.parentElement.querySelectorAll(i),n=a.length;--n>=0&&a.item(n)!==this;);return n>-1};return r.call(e,t)}function $2(e,t,r,i,a){var n=F2(t,e),o=n.parentElement;if(!o)return i?null:[];var{nodeType:s}=n,l=s===3||s===8;if(i){var u=l?o.querySelector(r):Nh(n,r)?n:n.querySelector(r);return u?Ll(u,a):null}else{var f=[],d=(l?o:n).querySelectorAll(r);return d&&d.length&&[].forEach.call(d,g=>{f.push(Ll(g,a))}),!l&&Nh(n,r)&&f.unshift(Ll(n,a)),f}}function z2(e,t,r){var i=[];t.forEach(a=>{var{component:n,selector:o,single:s,fields:l}=a;n===null?i.push(B2(l)):i.push($2(e,n,o,s,l))}),r(i)}function U2(e,t){var{pageStyle:r,rootFontSize:i}=t;if(r){var a=document.querySelector("uni-page-body")||document.body;a.setAttribute("style",r)}i&&document.documentElement.style.fontSize!==i&&(document.documentElement.style.fontSize=i)}function H2(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Ph(i);(o.__io||(o.__io={}))[r]=U1(o,a,n)}function W2(e,t){var{reqId:r,component:i}=e,a=Ph(i),n=a.__io&&a.__io[r];n&&(n.disconnect(),delete a.__io[r])}var Pl={},Nl={};function V2(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(Dh(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Dh(i),": ").concat(e[i],")"));var a=t.join(" and ");return a}function Dh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function j2(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Pl[r]=window.matchMedia(V2(a)),s=Nl[r]=l=>n(l.matches);s(o),o.addListener(s)}function Y2(e,t){var{reqId:r,component:i}=e,a=Nl[r],n=Pl[r];n&&(n.removeListener(a),delete Nl[r],delete Pl[r])}function q2(e,t){var{family:r,source:i,desc:a}=e;Wp(r,i,a).then(()=>{t()}).catch(n=>{t(n.toString())})}var X2={$el:document.body};function Z2(){var e=Gt();Rm(e,t=>function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];Mh(()=>{t.apply(null,i)})}),wt(e,"requestComponentInfo",(t,r)=>{z2(X2,t.reqs,r)}),wt(e,"addIntersectionObserver",t=>{H2(fe({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),wt(e,"removeIntersectionObserver",t=>{W2(t)}),wt(e,"addMediaQueryObserver",t=>{j2(fe({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),wt(e,"removeMediaQueryObserver",t=>{Y2(t)}),wt(e,F1,M2),wt(e,B1,q2),wt(e,D1,t=>{U2(null,t)})}window.uni=q1,window.UniViewJSBridge=Sc,window.rpx2px=sd,window.normalizeStyleName=md,window.normalizeStyleValue=hl,window.__$__=Ke,window.__f__=Xp;function Bh(){Um(),Z2(),N2(),X1(),Sc.publishHandler(Ls)}typeof plus!="undefined"?Bh():document.addEventListener("plusready",Bh)});
|
|
1
|
+
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e={exports:{}},t={exports:{}},n={exports:{}},r=n.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r);var i={exports:{}};i.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),"number"==typeof __g&&(__g=window);var a=n.exports,o="__core-js_shared__",s=window[o]||(window[o]={});(t.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:a.version,mode:"window",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var l=0,u=Math.random(),c=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++l+u).toString(36))},d=t.exports("wks"),h=c,f=i.exports.Symbol,p="function"==typeof f;(e.exports=function(e){return d[e]||(d[e]=p&&f[e]||(p?f:h)("Symbol."+e))}).store=d;var v={},g=function(e){return"object"==typeof e?null!==e:"function"==typeof e},m=g,_=function(e){if(!m(e))throw TypeError(e+" is not an object!");return e},b=function(e){try{return!!e()}catch(t){return!0}},y=!b((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),w=g,x=i.exports.document,S=w(x)&&w(x.createElement),k=function(e){return S?x.createElement(e):{}},T=!y&&!b((function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a})),E=g,C=_,M=T,O=function(e,t){if(!E(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!E(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!E(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!E(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},I=Object.defineProperty;v.f=y?Object.defineProperty:function(e,t,n){if(C(e),t=O(t,!0),C(n),M)try{return I(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e};var N=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},L=v,A=N,B=y?function(e,t,n){return L.f(e,t,A(1,n))}:function(e,t,n){return e[t]=n,e},R=e.exports("unscopables"),P=Array.prototype;null==P[R]&&B(P,R,{});var z={},D={}.toString,F=function(e){return D.call(e).slice(8,-1)},$=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},j=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==F(e)?e.split(""):Object(e)},V=$,W=function(e){return j(V(e))},U={exports:{}},H={}.hasOwnProperty,q=function(e,t){return H.call(e,t)},Y=t.exports("native-function-to-string",Function.toString),X=B,Z=q,G=c("src"),K=Y,J="toString",Q=(""+K).split(J);n.exports.inspectSource=function(e){return K.call(e)},(U.exports=function(e,t,n,r){var i="function"==typeof n;i&&(Z(n,"name")||X(n,"name",t)),e[t]!==n&&(i&&(Z(n,G)||X(n,G,e[t]?""+e[t]:Q.join(String(t)))),e===window?e[t]=n:r?e[t]?e[t]=n:X(e,t,n):(delete e[t],X(e,t,n)))})(Function.prototype,J,(function(){return"function"==typeof this&&this[G]||K.call(this)}));var ee=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},te=ee,ne=n.exports,re=B,ie=U.exports,ae=function(e,t,n){if(te(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},oe=function(e,t,n){var r,i,a,o,s=e&oe.F,l=e&oe.G,u=e&oe.S,c=e&oe.P,d=e&oe.B,h=l?window:u?window[t]||(window[t]={}):(window[t]||{}).prototype,f=l?ne:ne[t]||(ne[t]={}),p=f.prototype||(f.prototype={});for(r in l&&(n=t),n)a=((i=!s&&h&&void 0!==h[r])?h:n)[r],o=d&&i?ae(a,window):c&&"function"==typeof a?ae(Function.call,a):a,h&&ie(h,r,a,e&oe.U),f[r]!=a&&re(f,r,o),c&&p[r]!=a&&(p[r]=a)};window.core=ne,oe.F=1,oe.G=2,oe.S=4,oe.P=8,oe.B=16,oe.W=32,oe.U=64,oe.R=128;var se,le=oe,ue=Math.ceil,ce=Math.floor,de=function(e){return isNaN(e=+e)?0:(e>0?ce:ue)(e)},he=de,fe=Math.min,pe=de,ve=Math.max,ge=Math.min,me=W,_e=function(e){return e>0?fe(he(e),9007199254740991):0},be=function(e,t){return(e=pe(e))<0?ve(e+t,0):ge(e,t)},ye=t.exports("keys"),we=c,xe=function(e){return ye[e]||(ye[e]=we(e))},Se=q,ke=W,Te=(se=!1,function(e,t,n){var r,i=me(e),a=_e(i.length),o=be(n,a);if(se&&t!=t){for(;a>o;)if((r=i[o++])!=r)return!0}else for(;a>o;o++)if((se||o in i)&&i[o]===t)return se||o||0;return!se&&-1}),Ee=xe("IE_PROTO"),Ce="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Me=function(e,t){var n,r=ke(e),i=0,a=[];for(n in r)n!=Ee&&Se(r,n)&&a.push(n);for(;t.length>i;)Se(r,n=t[i++])&&(~Te(a,n)||a.push(n));return a},Oe=Ce,Ie=Object.keys||function(e){return Me(e,Oe)},Ne=v,Le=_,Ae=Ie,Be=y?Object.defineProperties:function(e,t){Le(e);for(var n,r=Ae(t),i=r.length,a=0;i>a;)Ne.f(e,n=r[a++],t[n]);return e},Re=i.exports.document,Pe=Re&&Re.documentElement,ze=_,De=Be,Fe=Ce,$e=xe("IE_PROTO"),je=function(){},Ve=function(){var e,t=k("iframe"),n=Fe.length;for(t.style.display="none",Pe.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),Ve=e.F;n--;)delete Ve.prototype[Fe[n]];return Ve()},We=Object.create||function(e,t){var n;return null!==e?(je.prototype=ze(e),n=new je,je.prototype=null,n[$e]=e):n=Ve(),void 0===t?n:De(n,t)},Ue=v.f,He=q,qe=e.exports("toStringTag"),Ye=function(e,t,n){e&&!He(e=n?e:e.prototype,qe)&&Ue(e,qe,{configurable:!0,value:t})},Xe=We,Ze=N,Ge=Ye,Ke={};B(Ke,e.exports("iterator"),(function(){return this}));var Je=$,Qe=function(e){return Object(Je(e))},et=q,tt=Qe,nt=xe("IE_PROTO"),rt=Object.prototype,it=Object.getPrototypeOf||function(e){return e=tt(e),et(e,nt)?e[nt]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?rt:null},at=le,ot=U.exports,st=B,lt=z,ut=function(e,t,n){e.prototype=Xe(Ke,{next:Ze(1,n)}),Ge(e,t+" Iterator")},ct=Ye,dt=it,ht=e.exports("iterator"),ft=!([].keys&&"next"in[].keys()),pt="keys",vt="values",gt=function(){return this},mt=function(e){P[R][e]=!0},_t=function(e,t){return{value:t,done:!!e}},bt=z,yt=W,wt=function(e,t,n,r,i,a,o){ut(n,t,r);var s,l,u,c=function(e){if(!ft&&e in p)return p[e];switch(e){case pt:case vt:return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",h=i==vt,f=!1,p=e.prototype,v=p[ht]||p["@@iterator"]||i&&p[i],g=v||c(i),m=i?h?c("entries"):g:void 0,_="Array"==t&&p.entries||v;if(_&&(u=dt(_.call(new e)))!==Object.prototype&&u.next&&(ct(u,d,!0),"function"!=typeof u[ht]&&st(u,ht,gt)),h&&v&&v.name!==vt&&(f=!0,g=function(){return v.call(this)}),(ft||f||!p[ht])&&st(p,ht,g),lt[t]=g,lt[d]=gt,i)if(s={values:h?g:c(vt),keys:a?g:c(pt),entries:m},o)for(l in s)l in p||ot(p,l,s[l]);else at(at.P+at.F*(ft||f),t,s);return s}(Array,"Array",(function(e,t){this._t=yt(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,_t(1)):_t(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values");bt.Arguments=bt.Array,mt("keys"),mt("values"),mt("entries");for(var xt=wt,St=Ie,kt=U.exports,Tt=B,Et=z,Ct=e.exports,Mt=Ct("iterator"),Ot=Ct("toStringTag"),It=Et.Array,Nt={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},Lt=St(Nt),At=0;At<Lt.length;At++){var Bt,Rt=Lt[At],Pt=Nt[Rt],zt=window[Rt],Dt=zt&&zt.prototype;if(Dt&&(Dt[Mt]||Tt(Dt,Mt,It),Dt[Ot]||Tt(Dt,Ot,Rt),Et[Rt]=It,Pt))for(Bt in xt)Dt[Bt]||kt(Dt,Bt,xt[Bt],!0)}function Ft(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}var $t=Ft("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function jt(e){return!!e||""===e}var Vt=Ft("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 Wt(e){if(un(e)){for(var t={},n=0;n<e.length;n++){var r=e[n],i=hn(r)?qt(r):Wt(r);if(i)for(var a in i)t[a]=i[a]}return t}return hn(e)||pn(e)?e:void 0}var Ut=/;(?![^(]*\))/g,Ht=/:(.+)/;function qt(e){var t={};return e.split(Ut).forEach((e=>{if(e){var n=e.split(Ht);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Yt(e){var t="";if(hn(e))t=e;else if(un(e))for(var n=0;n<e.length;n++){var r=Yt(e[n]);r&&(t+=r+" ")}else if(pn(e))for(var i in e)e[i]&&(t+=i+" ");return t.trim()}var Xt,Zt,Gt,Kt={},Jt=[],Qt=()=>{},en=()=>!1,tn=/^on[^a-z]/,nn=e=>tn.test(e),rn=e=>e.startsWith("onUpdate:"),an=Object.assign,on=(e,t)=>{var n=e.indexOf(t);n>-1&&e.splice(n,1)},sn=Object.prototype.hasOwnProperty,ln=(e,t)=>sn.call(e,t),un=Array.isArray,cn=e=>"[object Map]"===mn(e),dn=e=>"function"==typeof e,hn=e=>"string"==typeof e,fn=e=>"symbol"==typeof e,pn=e=>null!==e&&"object"==typeof e,vn=e=>pn(e)&&dn(e.then)&&dn(e.catch),gn=Object.prototype.toString,mn=e=>gn.call(e),_n=e=>mn(e).slice(8,-1),bn=e=>"[object Object]"===mn(e),yn=e=>hn(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,wn=Ft(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xn=e=>{var t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Sn=/-(\w)/g,kn=xn((e=>e.replace(Sn,((e,t)=>t?t.toUpperCase():"")))),Tn=/\B([A-Z])/g,En=xn((e=>e.replace(Tn,"-$1").toLowerCase())),Cn=xn((e=>e.charAt(0).toUpperCase()+e.slice(1))),Mn=xn((e=>e?"on".concat(Cn(e)):"")),On=(e,t)=>!Object.is(e,t),In=(e,t)=>{for(var n=0;n<e.length;n++)e[n](t)},Nn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ln=e=>{var t=parseFloat(e);return isNaN(t)?e:t},An=b,Bn=le,Rn=ee,Pn=Qe,zn=b,Dn=[].sort,Fn=[1,2,3];Bn(Bn.P+Bn.F*(zn((function(){Fn.sort(void 0)}))||!zn((function(){Fn.sort(null)}))||!((Zt=Dn)&&An((function(){Gt?Zt.call(null,(function(){}),1):Zt.call(null)})))),"Array",{sort:function(e){return void 0===e?Dn.call(Pn(this)):Dn.call(Pn(this),Rn(e))}});var $n="\n",jn="#007aff",Vn=/^([a-z-]+:)?\/\//i,Wn=/^data:.*,.*/,Un="wxs://",Hn="json://",qn=0;function Yn(e){var t=Date.now(),n=qn?t-qn:0;qn=t;for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return"[".concat(t,"][").concat(n,"ms][").concat(e,"]:").concat(i.map((e=>JSON.stringify(e))).join(" "))}function Xn(e){return function(e){return 0===e.indexOf("/")}(e)?e:"/"+e}function Zn(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(){if(e){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t=e.apply(n,i),e=null}return t}}function Gn(e,t){if(hn(t)){var n=(t=t.replace(/\[(\d+)\]/g,".$1")).split("."),r=n[0];return e||(e={}),1===n.length?e[r]:Gn(e[r],n.slice(1).join("."))}}function Kn(e){return kn(e.substring(5))}var Jn=Zn((()=>{var e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&((this.__uniDataset||(this.__uniDataset={}))[Kn(e)]=n);t.call(this,e,n)};var n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[Kn(e)],n.call(this,e)}}));function Qn(e){return an({},e.dataset,e.__uniDataset)}function er(e){return{passive:e}}function tr(e){var{id:t,offsetTop:n,offsetLeft:r}=e;return{id:t,dataset:Qn(e),offsetTop:n,offsetLeft:r}}function nr(e,t){return"Function"===_n(t)?"function() { [native code] }":t}function rr(e,t,n){return"string"==typeof __channelId__&&__channelId__?(n.push(t.replace("at ","uni-app:///")),console[e].apply(console,n)):n.map((function(e){var t=mn(e).toLowerCase();if(-1!==["[object object]","[object array]","[object module]"].indexOf(t))try{e="---BEGIN:JSON---"+JSON.stringify(e,nr)+"---END:JSON---"}catch(r){e=t}else if(null===e)e="---NULL---";else if(void 0===e)e="---UNDEFINED---";else{var n=_n(e).toUpperCase();e="NUMBER"===n||"BOOLEAN"===n?"---BEGIN:"+n+"---"+e+"---END:"+n+"---":String(e)}return e})).join("---COMMA---")+" "+t}function ir(e){if(dn(e))return window.plus?e():void document.addEventListener("plusready",e)}var ar=/(?:Once|Passive|Capture)$/;function or(e){var t,n;if(ar.test(e))for(t={};n=e.match(ar);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;return[En(e.slice(2)),t]}var sr=(()=>({stop:1,prevent:2,self:4}))(),lr="class",ur="style",cr=".vShow",dr=".vOwnerId",hr=".vRenderjs",fr="change:";var pr=function(){};pr.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var a=0,o=r.length;a<o;a++)r[a].fn!==t&&r[a].fn._!==t&&i.push(r[a]);return i.length?n[e]=i:delete n[e],this}};var vr=pr,gr=["{","}"];var mr=/^(?:\d)+/,_r=/^(?:\w)+/;var br="zh-Hans",yr="zh-Hant",wr="en",xr="fr",Sr="es",kr=Object.prototype.hasOwnProperty,Tr=(e,t)=>kr.call(e,t),Er=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:gr;if(!t)return[e];var r=this._caches[e];return r||(r=function(e,t){var[n,r]=t,i=[],a=0,o="";for(;a<e.length;){var s=e[a++];if(s===n){o&&i.push({type:"text",value:o}),o="";var l="";for(s=e[a++];void 0!==s&&s!==r;)l+=s,s=e[a++];var u=s===r,c=mr.test(l)?"list":u&&_r.test(l)?"named":"unknown";i.push({value:l,type:c})}else o+=s}return o&&i.push({type:"text",value:o}),i}(e,n),this._caches[e]=r),function(e,t){var n=[],r=0,i=Array.isArray(t)?"list":(a=t,null!==a&&"object"==typeof a?"named":"unknown");var a;if("unknown"===i)return n;for(;r<e.length;){var o=e[r];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(t[parseInt(o.value,10)]);break;case"named":"named"===i&&n.push(t[o.value])}r++}return n}(r,t)}};function Cr(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return br;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?br:e.indexOf("-hant")>-1?yr:(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?yr:br);var n,r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,[wr,xr,Sr]);return r||void 0}}class Mr{constructor(e){var{locale:t,fallbackLocale:n,messages:r,watcher:i,formater:a}=e;this.locale=wr,this.fallbackLocale=wr,this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=a||Er,this.messages=r||{},this.setLocale(t||wr),i&&this.watchLocale(i)}setLocale(e){var t=this.locale;this.locale=Cr(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){var t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((e=>{Tr(r,e)||(r[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){var r=this.message;return"string"==typeof t?(t=Cr(t,this.messages))&&(r=this.messages[t]):n=t,Tr(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}function Or(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}function Ir(){return"undefined"!=typeof uni&&uni.getLocale?uni.getLocale():"undefined"!=typeof window&&window.getLocale?window.getLocale():wr}var Nr,Lr=Zn((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));function Ar(){var e;if(!Nr&&(e="function"==typeof getApp?weex.requireModule("plus").getLanguage():plus.webview.currentWebview().getStyle().locale,Nr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e=Ir()),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||wr);var i=new Mr({locale:e,fallbackLocale:n,messages:t,watcher:r}),a=(e,t)=>{if("function"!=typeof getApp)a=function(e,t){return i.t(e,t)};else{var n=!1;a=function(e,t){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,Or(r,i))),i.t(e,t)}}return a(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>a(e,t),add(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return i.add(e,t,n)},watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}(e),Lr())){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Nr.add(e,__uniConfig.locales[e]))),Nr.setLocale(e)}return Nr}function Br(e,t,n){return t.reduce(((t,r,i)=>(t[e+r]=n[i],t)),{})}var Rr=Zn((()=>{var e="uni.picker.",t=["done","cancel"];Ar().add(wr,Br(e,t,["Done","Cancel"]),!1),Ar().add(Sr,Br(e,t,["OK","Cancelar"]),!1),Ar().add(xr,Br(e,t,["OK","Annuler"]),!1),Ar().add(br,Br(e,t,["完成","取消"]),!1),Ar().add(yr,Br(e,t,["完成","取消"]),!1)})),Pr=Zn((()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Ar().add(wr,Br(e,t,["feedback","send"]),!1),Ar().add(Sr,Br(e,t,["realimentación","enviar"]),!1),Ar().add(xr,Br(e,t,["retour d'information","envoyer"]),!1),Ar().add(br,Br(e,t,["问题反馈","发送"]),!1),Ar().add(yr,Br(e,t,["問題反饋","發送"]),!1)}));function zr(e){var t=new vr;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.emit(e,...r)},subscribe(n,r){t[arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"once":"on"]("".concat(e,".").concat(n),r)},unsubscribe(n,r){t.off("".concat(e,".").concat(n),r)},subscribeHandler(n,r,i){t.emit("".concat(e,".").concat(n),r,i)}}}var Dr="invokeViewApi",Fr="invokeServiceApi",$r=1,jr=Object.create(null);function Vr(e,t){return e+"."+t}function Wr(e,t,n){t=Vr(e,t),jr[t]||(jr[t]=n)}function Ur(e,t){var{id:n,name:r,args:i}=e;r=Vr(t,r);var a=e=>{n&&UniViewJSBridge.publishHandler("invokeViewApi."+n,e)},o=jr[r];o?o(i,a):a({})}var Hr,qr=an(zr("service"),{invokeServiceMethod:(e,t,n)=>{var{subscribe:r,publishHandler:i}=UniViewJSBridge,a=n?$r++:0;n&&r("invokeServiceApi."+a,n,!0),i(Fr,{id:a,name:e,args:t})}}),Yr=er(!0);function Xr(){Hr&&(clearTimeout(Hr),Hr=null)}var Zr,Gr=0,Kr=0;function Jr(e){if(Xr(),1===e.touches.length){var{pageX:t,pageY:n}=e.touches[0];Gr=t,Kr=n,Hr=setTimeout((function(){var t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),350)}}function Qr(e){if(Hr){if(1!==e.touches.length)return Xr();var{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Gr)>10||Math.abs(n-Kr)>10?Xr():void 0}}function ei(e,t){var n=Number(e);return isNaN(n)?t:n}function ti(){var e=__uniConfig.globalStyle||{},t=ei(e.rpxCalcMaxDeviceWidth,960),n=ei(e.rpxCalcBaseDeviceWidth,375);function r(){var e,r,i,a=(e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,r=e&&90===Math.abs(window.orientation),i=e?Math[r?"max":"min"](screen.width,screen.height):screen.width,Math.min(window.innerWidth,document.documentElement.clientWidth,i)||i);a=a<=t?a:n,document.documentElement.style.fontSize=a/23.4375+"px"}r(),document.addEventListener("DOMContentLoaded",r),window.addEventListener("load",r),window.addEventListener("resize",r)}function ni(){ti(),Jn(),window.addEventListener("touchstart",Jr,Yr),window.addEventListener("touchmove",Qr,Yr),window.addEventListener("touchend",Xr,Yr),window.addEventListener("touchcancel",Xr,Yr)}class ri{constructor(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.active=!0,this.effects=[],this.cleanups=[],!e&&Zr&&(this.parent=Zr,this.index=(Zr.scopes||(Zr.scopes=[])).push(this)-1)}run(e){if(this.active){var t=Zr;try{return Zr=this,e()}finally{Zr=t}}}on(){Zr=this}off(){Zr=this.parent}stop(e){if(this.active){var t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(this.parent&&!e){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}var ii,ai=e=>{var t=new Set(e);return t.w=0,t.n=0,t},oi=e=>(e.w&ci)>0,si=e=>(e.n&ci)>0,li=new WeakMap,ui=0,ci=1,di=Symbol(""),hi=Symbol("");class fi{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zr;t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();for(var e=ii,t=vi;e;){if(e===this)return;e=e.parent}try{return this.parent=ii,ii=this,vi=!0,ci=1<<++ui,ui<=30?(e=>{var{deps:t}=e;if(t.length)for(var n=0;n<t.length;n++)t[n].w|=ci})(this):pi(this),this.fn()}finally{ui<=30&&(e=>{var{deps:t}=e;if(t.length){for(var n=0,r=0;r<t.length;r++){var i=t[r];oi(i)&&!si(i)?i.delete(e):t[n++]=i,i.w&=~ci,i.n&=~ci}t.length=n}})(this),ci=1<<--ui,ii=this.parent,vi=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ii===this?this.deferStop=!0:this.active&&(pi(this),this.onStop&&this.onStop(),this.active=!1)}}function pi(e){var{deps:t}=e;if(t.length){for(var n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var vi=!0,gi=[];function mi(){gi.push(vi),vi=!1}function _i(){var e=gi.pop();vi=void 0===e||e}function bi(e,t,n){if(vi&&ii){var r=li.get(e);r||li.set(e,r=new Map);var i=r.get(n);i||r.set(n,i=ai()),yi(i)}}function yi(e,t){var n=!1;ui<=30?si(e)||(e.n|=ci,n=!oi(e)):n=!e.has(ii),n&&(e.add(ii),ii.deps.push(e))}function wi(e,t,n,r,i,a){var o=li.get(e);if(o){var s=[];if("clear"===t)s=[...o.values()];else if("length"===n&&un(e))o.forEach(((e,t)=>{("length"===t||t>=r)&&s.push(e)}));else switch(void 0!==n&&s.push(o.get(n)),t){case"add":un(e)?yn(n)&&s.push(o.get("length")):(s.push(o.get(di)),cn(e)&&s.push(o.get(hi)));break;case"delete":un(e)||(s.push(o.get(di)),cn(e)&&s.push(o.get(hi)));break;case"set":cn(e)&&s.push(o.get(di))}if(1===s.length)s[0]&&xi(s[0]);else{var l=[];for(var u of s)u&&l.push(...u);xi(ai(l))}}}function xi(e,t){var n=un(e)?e:[...e];for(var r of n)r.computed&&Si(r);for(var i of n)i.computed||Si(i)}function Si(e,t){(e!==ii||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var ki=Ft("__proto__,__v_isRef,__isVue"),Ti=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(fn)),Ei=Ni(),Ci=Ni(!1,!0),Mi=Ni(!0),Oi=Ii();function Ii(){var e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(){for(var e=va(this),n=0,r=this.length;n<r;n++)bi(e,0,n+"");for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];var s=e[t](...a);return-1===s||!1===s?e[t](...a.map(va)):s}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(){mi();for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=va(this)[t].apply(this,n);return _i(),i}})),e}function Ni(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r,i){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return t;if("__v_raw"===r&&i===(e?t?oa:aa:t?ia:ra).get(n))return n;var a=un(n);if(!e&&a&&ln(Oi,r))return Reflect.get(Oi,r,i);var o=Reflect.get(n,r,i);return(fn(r)?Ti.has(r):ki(r))?o:(e||bi(n,0,r),t?o:wa(o)?a&&yn(r)?o:o.value:pn(o)?e?ua(o):sa(o):o)}}function Li(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n,r,i){var a=t[n];if(ha(a)&&wa(a)&&!wa(r))return!1;if(!e&&!ha(r)&&(fa(r)||(r=va(r),a=va(a)),!un(t)&&wa(a)&&!wa(r)))return a.value=r,!0;var o=un(t)&&yn(n)?Number(n)<t.length:ln(t,n),s=Reflect.set(t,n,r,i);return t===va(i)&&(o?On(r,a)&&wi(t,"set",n,r):wi(t,"add",n,r)),s}}var Ai={get:Ei,set:Li(),deleteProperty:function(e,t){var n=ln(e,t);e[t];var r=Reflect.deleteProperty(e,t);return r&&n&&wi(e,"delete",t,void 0),r},has:function(e,t){var n=Reflect.has(e,t);return fn(t)&&Ti.has(t)||bi(e,0,t),n},ownKeys:function(e){return bi(e,0,un(e)?"length":di),Reflect.ownKeys(e)}},Bi={get:Mi,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Ri=an({},Ai,{get:Ci,set:Li(!0)}),Pi=e=>e,zi=e=>Reflect.getPrototypeOf(e);function Di(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=va(e=e.__v_raw),a=va(t);n||(t!==a&&bi(i,0,t),bi(i,0,a));var{has:o}=zi(i),s=r?Pi:n?_a:ma;return o.call(i,t)?s(e.get(t)):o.call(i,a)?s(e.get(a)):void(e!==i&&e.get(t))}function Fi(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.__v_raw,r=va(n),i=va(e);return t||(e!==i&&bi(r,0,e),bi(r,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function $i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!t&&bi(va(e),0,di),Reflect.get(e,"size",e)}function ji(e){e=va(e);var t=va(this);return zi(t).has.call(t,e)||(t.add(e),wi(t,"add",e,e)),this}function Vi(e,t){t=va(t);var n=va(this),{has:r,get:i}=zi(n),a=r.call(n,e);a||(e=va(e),a=r.call(n,e));var o=i.call(n,e);return n.set(e,t),a?On(t,o)&&wi(n,"set",e,t):wi(n,"add",e,t),this}function Wi(e){var t=va(this),{has:n,get:r}=zi(t),i=n.call(t,e);i||(e=va(e),i=n.call(t,e)),r&&r.call(t,e);var a=t.delete(e);return i&&wi(t,"delete",e,void 0),a}function Ui(){var e=va(this),t=0!==e.size,n=e.clear();return t&&wi(e,"clear",void 0,void 0),n}function Hi(e,t){return function(n,r){var i=this,a=i.__v_raw,o=va(a),s=t?Pi:e?_a:ma;return!e&&bi(o,0,di),a.forEach(((e,t)=>n.call(r,s(e),s(t),i)))}}function qi(e,t,n){return function(){var r=this.__v_raw,i=va(r),a=cn(i),o="entries"===e||e===Symbol.iterator&&a,s="keys"===e&&a,l=r[e](...arguments),u=n?Pi:t?_a:ma;return!t&&bi(i,0,s?hi:di),{next(){var{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:o?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Yi(e){return function(){return"delete"!==e&&this}}function Xi(){var e={get(e){return Di(this,e)},get size(){return $i(this)},has:Fi,add:ji,set:Vi,delete:Wi,clear:Ui,forEach:Hi(!1,!1)},t={get(e){return Di(this,e,!1,!0)},get size(){return $i(this)},has:Fi,add:ji,set:Vi,delete:Wi,clear:Ui,forEach:Hi(!1,!0)},n={get(e){return Di(this,e,!0)},get size(){return $i(this,!0)},has(e){return Fi.call(this,e,!0)},add:Yi("add"),set:Yi("set"),delete:Yi("delete"),clear:Yi("clear"),forEach:Hi(!0,!1)},r={get(e){return Di(this,e,!0,!0)},get size(){return $i(this,!0)},has(e){return Fi.call(this,e,!0)},add:Yi("add"),set:Yi("set"),delete:Yi("delete"),clear:Yi("clear"),forEach:Hi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{e[i]=qi(i,!1,!1),n[i]=qi(i,!0,!1),t[i]=qi(i,!1,!0),r[i]=qi(i,!0,!0)})),[e,n,t,r]}var[Zi,Gi,Ki,Ji]=Xi();function Qi(e,t){var n=t?e?Ji:Ki:e?Gi:Zi;return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(ln(n,r)&&r in t?n:t,r,i)}var ea={get:Qi(!1,!1)},ta={get:Qi(!1,!0)},na={get:Qi(!0,!1)},ra=new WeakMap,ia=new WeakMap,aa=new WeakMap,oa=new WeakMap;function sa(e){return ha(e)?e:ca(e,!1,Ai,ea,ra)}function la(e){return ca(e,!1,Ri,ta,ia)}function ua(e){return ca(e,!0,Bi,na,aa)}function ca(e,t,n,r,i){if(!pn(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var a=i.get(e);if(a)return a;var o,s=(o=e).__v_skip||!Object.isExtensible(o)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(_n(o));if(0===s)return e;var l=new Proxy(e,2===s?r:n);return i.set(e,l),l}function da(e){return ha(e)?da(e.__v_raw):!(!e||!e.__v_isReactive)}function ha(e){return!(!e||!e.__v_isReadonly)}function fa(e){return!(!e||!e.__v_isShallow)}function pa(e){return da(e)||ha(e)}function va(e){var t=e&&e.__v_raw;return t?va(t):e}function ga(e){return Nn(e,"__v_skip",!0),e}var ma=e=>pn(e)?sa(e):e,_a=e=>pn(e)?ua(e):e;function ba(e){vi&&ii&&yi((e=va(e)).dep||(e.dep=ai()))}function ya(e,t){(e=va(e)).dep&&xi(e.dep)}function wa(e){return!(!e||!0!==e.__v_isRef)}function xa(e){return ka(e,!1)}function Sa(e){return ka(e,!0)}function ka(e,t){return wa(e)?e:new Ta(e,t)}class Ta{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:va(e),this._value=t?e:ma(e)}get value(){return ba(this),this._value}set value(e){e=this.__v_isShallow?e:va(e),On(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:ma(e),ya(this))}}var Ea={get:(e,t,n)=>{return wa(r=Reflect.get(e,t,n))?r.value:r;var r},set:(e,t,n,r)=>{var i=e[t];return wa(i)&&!wa(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Ca(e){return da(e)?e:new Proxy(e,Ea)}class Ma{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new fi(e,(()=>{this._dirty||(this._dirty=!0,ya(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){var e=va(this);return ba(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Oa(e,t,n,r){var i;try{i=r?e(...r):e()}catch(a){Na(a,t,n)}return i}function Ia(e,t,n,r){if(dn(e)){var i=Oa(e,t,n,r);return i&&vn(i)&&i.catch((e=>{Na(e,t,n)})),i}for(var a=[],o=0;o<e.length;o++)a.push(Ia(e[o],t,n,r));return a}function Na(e,t,n){if(t&&t.vnode,t){for(var r=t.parent,i=t.proxy,a=n;r;){var o=r.ec;if(o)for(var s=0;s<o.length;s++)if(!1===o[s](e,i,a))return;r=r.parent}var l=t.appContext.config.errorHandler;if(l)return void Oa(l,null,10,[e,i,a])}!function(e,t,n){e instanceof Error?console.error(e.message+"\n"+e.stack):console.error(e)}(e)}var La=!1,Aa=!1,Ba=[],Ra=0,Pa=[],za=null,Da=0,Fa=[],$a=null,ja=0,Va=Promise.resolve(),Wa=null,Ua=null;function Ha(e){var t=Wa||Va;return e?t.then(this?e.bind(this):e):t}function qa(e){Ba.length&&Ba.includes(e,La&&e.allowRecurse?Ra+1:Ra)||e===Ua||(null==e.id?Ba.push(e):Ba.splice(function(e){for(var t=Ra+1,n=Ba.length;t<n;){var r=t+n>>>1;Ja(Ba[r])<e?t=r+1:n=r}return t}(e.id),0,e),Ya())}function Ya(){La||Aa||(Aa=!0,Wa=Va.then(Qa))}function Xa(e,t,n,r){un(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?r+1:r)||n.push(e),Ya()}function Za(e){Xa(e,za,Pa,Da)}function Ga(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(Pa.length){for(Ua=t,za=[...new Set(Pa)],Pa.length=0,Da=0;Da<za.length;Da++)za[Da]();za=null,Da=0,Ua=null,Ga(e,t)}}function Ka(e){if(Ga(),Fa.length){var t=[...new Set(Fa)];if(Fa.length=0,$a)return void $a.push(...t);for(($a=t).sort(((e,t)=>Ja(e)-Ja(t))),ja=0;ja<$a.length;ja++)$a[ja]();$a=null,ja=0}}var Ja=e=>null==e.id?1/0:e.id;function Qa(e){Aa=!1,La=!0,Ga(e),Ba.sort(((e,t)=>Ja(e)-Ja(t)));try{for(Ra=0;Ra<Ba.length;Ra++){var t=Ba[Ra];t&&!1!==t.active&&Oa(t,null,14)}}finally{Ra=0,Ba.length=0,Ka(),La=!1,Wa=null,(Ba.length||Pa.length||Fa.length)&&Qa(e)}}function eo(e,t){if(!e.isUnmounted){for(var n=e.vnode.props||Kt,r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];var o,s=i,l=t.startsWith("update:"),u=l&&t.slice(7);if(u&&u in n){var c="".concat("modelValue"===u?"model":u,"Modifiers"),{number:d,trim:h}=n[c]||Kt;h&&(s=i.map((e=>e.trim()))),d&&(s=i.map(Ln))}var f=n[o=Mn(t)]||n[o=Mn(kn(t))];!f&&l&&(f=n[o=Mn(En(t))]),f&&Ia(f,e,6,s);var p=n[o+"Once"];if(p){if(e.emitted){if(e.emitted[o])return}else e.emitted={};e.emitted[o]=!0,Ia(p,e,6,s)}}}function to(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;var a=e.emits,o={},s=!1;if(!dn(e)){var l=e=>{var n=to(e,t,!0);n&&(s=!0,an(o,n))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return a||s?(un(a)?a.forEach((e=>o[e]=null)):an(o,a),r.set(e,o),o):(r.set(e,null),null)}function no(e,t){return!(!e||!nn(t))&&(t=t.slice(2).replace(/Once$/,""),ln(e,t[0].toLowerCase()+t.slice(1))||ln(e,En(t))||ln(e,t))}var ro=null,io=null;function ao(e){var t=ro;return ro=e,io=e&&e.type.__scopeId||null,t}function oo(e){var t,n,{type:r,vnode:i,proxy:a,withProxy:o,props:s,propsOptions:[l],slots:u,attrs:c,emit:d,render:h,renderCache:f,data:p,setupState:v,ctx:g,inheritAttrs:m}=e,_=ao(e);try{if(4&i.shapeFlag){var b=o||a;t=$s(h.call(b,b,f,s,v,p,g)),n=c}else{var y=r;0,t=$s(y.length>1?y(s,{attrs:c,slots:u,emit:d}):y(s,null)),n=r.props?c:so(c)}}catch(k){Na(k,e,1),t=Ps(Cs)}var w=t;if(n&&!1!==m){var x=Object.keys(n),{shapeFlag:S}=w;x.length&&7&S&&(l&&x.some(rn)&&(n=lo(n,l)),w=Ds(w,n))}return i.dirs&&((w=Ds(w)).dirs=w.dirs?w.dirs.concat(i.dirs):i.dirs),i.transition&&(w.transition=i.transition),t=w,ao(_),t}var so=e=>{var t;for(var n in e)("class"===n||"style"===n||nn(n))&&((t||(t={}))[n]=e[n]);return t},lo=(e,t)=>{var n={};for(var r in e)rn(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function uo(e,t,n){var r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(var i=0;i<r.length;i++){var a=r[i];if(t[a]!==e[a]&&!no(n,a))return!0}return!1}var co=e=>e.__isSuspense;function ho(e,t){if(Ys){var n=Ys.provides,r=Ys.parent&&Ys.parent.provides;r===n&&(n=Ys.provides=Object.create(r)),n[e]=t}else;}function fo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Ys||ro;if(r){var i=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&dn(t)?t.call(r.proxy):t}}function po(e,t){return mo(e,null,t)}var vo={};function go(e,t,n){return mo(e,t,n)}function mo(e,t){var n,r,{immediate:i,deep:a,flush:o,onTrack:s,onTrigger:l}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kt,u=Ys,c=!1,d=!1;if(wa(e)?(n=()=>e.value,c=fa(e)):da(e)?(n=()=>e,a=!0):un(e)?(d=!0,c=e.some((e=>da(e)||fa(e))),n=()=>e.map((e=>wa(e)?e.value:da(e)?yo(e):dn(e)?Oa(e,u,2):void 0))):n=dn(e)?t?()=>Oa(e,u,2):()=>{if(!u||!u.isUnmounted)return r&&r(),Ia(e,u,3,[f])}:Qt,t&&a){var h=n;n=()=>yo(h())}var f=e=>{r=g.onStop=()=>{Oa(e,u,4)}};if(Js)return f=Qt,t?i&&Ia(t,u,3,[n(),d?[]:void 0,f]):n(),Qt;var p=d?[]:vo,v=()=>{if(g.active)if(t){var e=g.run();(a||c||(d?e.some(((e,t)=>On(e,p[t]))):On(e,p)))&&(r&&r(),Ia(t,u,3,[e,p===vo?void 0:p,f]),p=e)}else g.run()};v.allowRecurse=!!t;var g=new fi(n,"sync"===o?v:"post"===o?()=>ys(v,u&&u.suspense):()=>Za(v));return t?i?v():p=g.run():"post"===o?ys(g.run.bind(g),u&&u.suspense):g.run(),()=>{g.stop(),u&&u.scope&&on(u.scope.effects,g)}}function _o(e,t,n){var r,i=this.proxy,a=hn(e)?e.includes(".")?bo(i,e):()=>i[e]:e.bind(i,i);dn(t)?r=t:(r=t.handler,n=t);var o=Ys;Zs(this);var s=mo(a,r.bind(i),n);return o?Zs(o):Gs(),s}function bo(e,t){var n=t.split(".");return()=>{for(var t=e,r=0;r<n.length&&t;r++)t=t[n[r]];return t}}function yo(e,t){if(!pn(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),wa(e))yo(e.value,t);else if(un(e))for(var n=0;n<e.length;n++)yo(e[n],t);else if("[object Set]"===mn(e)||cn(e))e.forEach((e=>{yo(e,t)}));else if(bn(e))for(var r in e)yo(e[r],t);return e}var wo=e=>!!e.type.__asyncLoader,xo=e=>e.type.__isKeepAlive;function So(e,t){To(e,"a",t)}function ko(e,t){To(e,"da",t)}function To(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ys,r=e.__wdc||(e.__wdc=()=>{for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Co(t,r,n),n)for(var i=n.parent;i&&i.parent;)xo(i.parent.vnode)&&Eo(r,t,n,i),i=i.parent}function Eo(e,t,n,r){var i=Co(t,e,r,!0);Bo((()=>{on(r[t],i)}),n)}function Co(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ys,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=function(){if(!n.isUnmounted){mi(),Zs(n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=Ia(t,n,e,i);return Gs(),_i(),o}});return r?i.unshift(a):i.push(a),a}}var Mo=e=>function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ys;return(!Js||"sp"===e)&&Co(e,t,n)},Oo=Mo("bm"),Io=Mo("m"),No=Mo("bu"),Lo=Mo("u"),Ao=Mo("bum"),Bo=Mo("um"),Ro=Mo("sp"),Po=Mo("rtg"),zo=Mo("rtc");function Do(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ys;Co("ec",e,t)}function Fo(e,t){var n=ro;if(null===n)return e;for(var r=nl(n)||n.proxy,i=e.dirs||(e.dirs=[]),a=0;a<t.length;a++){var[o,s,l,u=Kt]=t[a];dn(o)&&(o={mounted:o,updated:o}),o.deep&&yo(s),i.push({dir:o,instance:r,value:s,oldValue:void 0,arg:l,modifiers:u})}return e}function $o(e,t,n,r){for(var i=e.dirs,a=t&&t.dirs,o=0;o<i.length;o++){var s=i[o];a&&(s.oldValue=a[o].value);var l=s.dir[r];l&&(mi(),Ia(l,n,8,[e.el,s,e,t]),_i())}}var jo=Symbol(),Vo=e=>e?Ks(e)?nl(e)||e.proxy:Vo(e.parent):null,Wo=an(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=>Vo(e.parent),$root:e=>Vo(e.root),$emit:e=>e.emit,$options:e=>Zo(e),$forceUpdate:e=>e.f||(e.f=()=>qa(e.update)),$nextTick:e=>e.n||(e.n=Ha.bind(e.proxy)),$watch:e=>_o.bind(e)}),Uo={get(e,t){var n,{_:r}=e,{ctx:i,setupState:a,data:o,props:s,accessCache:l,type:u,appContext:c}=r;if("$"!==t[0]){var d=l[t];if(void 0!==d)switch(d){case 1:return a[t];case 2:return o[t];case 4:return i[t];case 3:return s[t]}else{if(a!==Kt&&ln(a,t))return l[t]=1,a[t];if(o!==Kt&&ln(o,t))return l[t]=2,o[t];if((n=r.propsOptions[0])&&ln(n,t))return l[t]=3,s[t];if(i!==Kt&&ln(i,t))return l[t]=4,i[t];Ho&&(l[t]=0)}}var h,f,p=Wo[t];return p?("$attrs"===t&&bi(r,0,t),p(r)):(h=u.__cssModules)&&(h=h[t])?h:i!==Kt&&ln(i,t)?(l[t]=4,i[t]):(f=c.config.globalProperties,ln(f,t)?f[t]:void 0)},set(e,t,n){var{_:r}=e,{data:i,setupState:a,ctx:o}=r;return a!==Kt&&ln(a,t)?(a[t]=n,!0):i!==Kt&&ln(i,t)?(i[t]=n,!0):!ln(r.props,t)&&(("$"!==t[0]||!(t.slice(1)in r))&&(o[t]=n,!0))},has(e,t){var n,{_:{data:r,setupState:i,accessCache:a,ctx:o,appContext:s,propsOptions:l}}=e;return!!a[t]||r!==Kt&&ln(r,t)||i!==Kt&&ln(i,t)||(n=l[0])&&ln(n,t)||ln(o,t)||ln(Wo,t)||ln(s.config.globalProperties,t)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:ln(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Ho=!0;function qo(e){var t=Zo(e),n=e.proxy,r=e.ctx;Ho=!1,t.beforeCreate&&Yo(t.beforeCreate,e,"bc");var i,{data:a,computed:o,methods:s,watch:l,provide:u,inject:c,created:d,beforeMount:h,mounted:f,beforeUpdate:p,updated:v,activated:g,deactivated:m,beforeDestroy:_,beforeUnmount:b,destroyed:y,unmounted:w,render:x,renderTracked:S,renderTriggered:k,errorCaptured:T,serverPrefetch:E,expose:C,inheritAttrs:M,components:O,directives:I,filters:N}=t;if(c&&function(e,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];un(e)&&(e=Qo(e));var r=function(r){var i=e[r],a=void 0;wa(a=pn(i)?"default"in i?fo(i.from||r,i.default,!0):fo(i.from||r):fo(i))&&n?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e}):t[r]=a};for(var i in e)r(i)}(c,r,null,e.appContext.config.unwrapInjectedRef),s)for(var L in s){var A=s[L];dn(A)&&(r[L]=A.bind(n))}if(a&&(i=a.call(n,n),pn(i)&&(e.data=sa(i))),Ho=!0,o){var B=function(e){var t=o[e],i=dn(t)?t.bind(n,n):dn(t.get)?t.get.bind(n,n):Qt,a=!dn(t)&&dn(t.set)?t.set.bind(n):Qt,s=il({get:i,set:a});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})};for(var R in o)B(R)}if(l)for(var P in l)Xo(l[P],r,n,P);if(u){var z=dn(u)?u.call(n):u;Reflect.ownKeys(z).forEach((e=>{ho(e,z[e])}))}function D(e,t){un(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Yo(d,e,"c"),D(Oo,h),D(Io,f),D(No,p),D(Lo,v),D(So,g),D(ko,m),D(Do,T),D(zo,S),D(Po,k),D(Ao,b),D(Bo,w),D(Ro,E),un(C))if(C.length){var F=e.exposed||(e.exposed={});C.forEach((e=>{Object.defineProperty(F,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===Qt&&(e.render=x),null!=M&&(e.inheritAttrs=M),O&&(e.components=O),I&&(e.directives=I)}function Yo(e,t,n){Ia(un(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Xo(e,t,n,r){var i=r.includes(".")?bo(n,r):()=>n[r];if(hn(e)){var a=t[e];dn(a)&&go(i,a)}else if(dn(e))go(i,e.bind(n));else if(pn(e))if(un(e))e.forEach((e=>Xo(e,t,n,r)));else{var o=dn(e.handler)?e.handler.bind(n):t[e.handler];dn(o)&&go(i,o,e)}}function Zo(e){var t,n=e.type,{mixins:r,extends:i}=n,{mixins:a,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,l=o.get(n);return l?t=l:a.length||r||i?(t={},a.length&&a.forEach((e=>Go(t,e,s,!0))),Go(t,n,s)):t=n,o.set(n,t),t}function Go(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],{mixins:i,extends:a}=t;for(var o in a&&Go(e,a,n,!0),i&&i.forEach((t=>Go(e,t,n,!0))),t)if(r&&"expose"===o);else{var s=Ko[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var Ko={data:Jo,props:ts,emits:ts,methods:ts,computed:ts,beforeCreate:es,created:es,beforeMount:es,mounted:es,beforeUpdate:es,updated:es,beforeDestroy:es,beforeUnmount:es,destroyed:es,unmounted:es,activated:es,deactivated:es,errorCaptured:es,serverPrefetch:es,components:ts,directives:ts,watch:function(e,t){if(!e)return t;if(!t)return e;var n=an(Object.create(null),e);for(var r in t)n[r]=es(e[r],t[r]);return n},provide:Jo,inject:function(e,t){return ts(Qo(e),Qo(t))}};function Jo(e,t){return t?e?function(){return an(dn(e)?e.call(this,this):e,dn(t)?t.call(this,this):t)}:t:e}function Qo(e){if(un(e)){for(var t={},n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function es(e,t){return e?[...new Set([].concat(e,t))]:t}function ts(e,t){return e?an(an(Object.create(null),e),t):t}function ns(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i={},a={};for(var o in Nn(a,Ls,1),e.propsDefaults=Object.create(null),rs(e,t,i,a),e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:la(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function rs(e,t,n,r){var i,[a,o]=e.propsOptions,s=!1;if(t)for(var l in t)if(!wn(l)){var u=t[l],c=void 0;a&&ln(a,c=kn(l))?o&&o.includes(c)?(i||(i={}))[c]=u:n[c]=u:no(e.emitsOptions,l)||l in r&&u===r[l]||(r[l]=u,s=!0)}if(o)for(var d=va(n),h=i||Kt,f=0;f<o.length;f++){var p=o[f];n[p]=is(a,d,p,h[p],e,!ln(h,p))}return s}function is(e,t,n,r,i,a){var o=e[n];if(null!=o){var s=ln(o,"default");if(s&&void 0===r){var l=o.default;if(o.type!==Function&&dn(l)){var{propsDefaults:u}=i;n in u?r=u[n]:(Zs(i),r=u[n]=l.call(null,t),Gs())}else r=l}o[0]&&(a&&!s?r=!1:!o[1]||""!==r&&r!==En(n)||(r=!0))}return r}function as(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.propsCache,i=r.get(e);if(i)return i;var a=e.props,o={},s=[],l=!1;if(!dn(e)){var u=e=>{l=!0;var[n,r]=as(e,t,!0);an(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return r.set(e,Jt),Jt;if(un(a))for(var c=0;c<a.length;c++){var d=kn(a[c]);os(d)&&(o[d]=Kt)}else if(a)for(var h in a){var f=kn(h);if(os(f)){var p=a[h],v=o[f]=un(p)||dn(p)?{type:p}:p;if(v){var g=us(Boolean,v.type),m=us(String,v.type);v[0]=g>-1,v[1]=m<0||g<m,(g>-1||ln(v,"default"))&&s.push(f)}}}var _=[o,s];return r.set(e,_),_}function os(e){return"$"!==e[0]}function ss(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function ls(e,t){return ss(e)===ss(t)}function us(e,t){return un(t)?t.findIndex((t=>ls(t,e))):dn(t)&&ls(t,e)?0:-1}var cs=e=>"_"===e[0]||"$stable"===e,ds=e=>un(e)?e.map($s):[$s(e)],hs=(e,t,n)=>{if(t._n)return t;var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ro;if(!t)return e;if(e._n)return e;var n=function(){n._d&&Os(-1);var r=ao(t),i=e(...arguments);return ao(r),n._d&&Os(1),i};return n._n=!0,n._c=!0,n._d=!0,n}((function(){return ds(t(...arguments))}),n);return r._c=!1,r},fs=(e,t,n)=>{var r=e._ctx;for(var i in e)if(!cs(i)){var a=e[i];dn(a)?t[i]=hs(0,a,r):null!=a&&function(){var e=ds(a);t[i]=()=>e}()}},ps=(e,t)=>{var n=ds(t);e.slots.default=()=>n},vs=(e,t)=>{if(32&e.vnode.shapeFlag){var n=t._;n?(e.slots=va(t),Nn(t,"_",n)):fs(t,e.slots={})}else e.slots={},t&&ps(e,t);Nn(e.slots,Ls,1)};function gs(){return{app:null,config:{isNativeTag:en,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 ms=0;function _s(e,t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;dn(n)||(n=Object.assign({},n)),null==r||pn(r)||(r=null);var i=gs(),a=new Set,o=!1,s=i.app={_uid:ms++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:ol,get config(){return i.config},set config(e){},use(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return a.has(e)||(e&&dn(e.install)?(a.add(e),e.install(s,...n)):dn(e)&&(a.add(e),e(s,...n))),s},mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),s),component:(e,t)=>t?(i.components[e]=t,s):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,s):i.directives[e],mount(a,l,u){if(!o){var c=Ps(n,r);return c.appContext=i,l&&t?t(c,a):e(c,a,u),o=!0,s._container=a,a.__vue_app__=s,nl(c.component)||c.component.proxy}},unmount(){o&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,s)};return s}}function bs(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(un(e))e.forEach(((e,a)=>bs(e,t&&(un(t)?t[a]:t),n,r,i)));else if(!wo(r)||i){var a=4&r.shapeFlag?nl(r.component)||r.component.proxy:r.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===Kt?s.refs={}:s.refs,d=s.setupState;if(null!=u&&u!==l&&(hn(u)?(c[u]=null,ln(d,u)&&(d[u]=null)):wa(u)&&(u.value=null)),dn(l))Oa(l,s,12,[o,c]);else{var h=hn(l),f=wa(l);if(h||f){var p=()=>{if(e.f){var t=h?c[l]:l.value;i?un(t)&&on(t,a):un(t)?t.includes(a)||t.push(a):h?(c[l]=[a],ln(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else h?(c[l]=o,ln(d,l)&&(d[l]=o)):f&&(l.value=o,e.k&&(c[e.k]=o))};o?(p.id=-1,ys(p,n)):p()}}}}var ys=function(e,t){t&&t.pendingBranch?un(e)?t.effects.push(...e):t.effects.push(e):Xa(e,$a,Fa,ja)};function ws(e){return function(e,t){(Xt||(Xt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:{})).__VUE__=!0;var n,r,{insert:i,remove:a,patchProp:o,createElement:s,createText:l,createComment:u,setText:c,setElementText:d,parentNode:h,nextSibling:f,setScopeId:p=Qt,cloneNode:v,insertStaticContent:g}=e,m=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!Ns(e,t)&&(r=H(e),$(e,i,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);var{type:u,ref:c,shapeFlag:d}=t;switch(u){case Es:_(e,t,n,r);break;case Cs:b(e,t,n,r);break;case Ms:null==e&&y(t,n,r,o);break;case Ts:I(e,t,n,r,i,a,o,s,l);break;default:1&d?S(e,t,n,r,i,a,o,s,l):6&d?N(e,t,n,r,i,a,o,s,l):(64&d||128&d)&&u.process(e,t,n,r,i,a,o,s,l,Y)}null!=c&&i&&bs(c,e&&e.ref,a,t||e,!t)}},_=(e,t,n,r)=>{if(null==e)i(t.el=l(t.children),n,r);else{var a=t.el=e.el;t.children!==e.children&&c(a,t.children)}},b=(e,t,n,r)=>{null==e?i(t.el=u(t.children||""),n,r):t.el=e.el},y=(e,t,n,r)=>{[e.el,e.anchor]=g(e.children,t,n,r,e.el,e.anchor)},w=(e,t,n)=>{for(var r,{el:a,anchor:o}=e;a&&a!==o;)r=f(a),i(a,t,n),a=r;i(o,t,n)},x=e=>{for(var t,{el:n,anchor:r}=e;n&&n!==r;)t=f(n),a(n),n=t;a(r)},S=(e,t,n,r,i,a,o,s,l)=>{o=o||"svg"===t.type,null==e?k(t,n,r,i,a,o,s,l):C(e,t,i,a,o,s,l)},k=(e,t,n,r,a,l,u,c)=>{var h,f,{type:p,props:g,shapeFlag:m,transition:_,patchFlag:b,dirs:y}=e;if(e.el&&void 0!==v&&-1===b)h=e.el=v(e.el);else{if(h=e.el=s(e.type,l,g&&g.is,g),8&m?d(h,e.children):16&m&&E(e.children,h,null,r,a,l&&"foreignObject"!==p,u,c),y&&$o(e,null,r,"created"),g){for(var w in g)"value"===w||wn(w)||o(h,w,null,g[w],l,e.children,r,a,U);"value"in g&&o(h,"value",null,g.value),(f=g.onVnodeBeforeMount)&&Us(f,r,e)}T(h,e,e.scopeId,u,r)}Object.defineProperty(h,"__vueParentComponent",{value:r,enumerable:!1}),y&&$o(e,null,r,"beforeMount");var x=(!a||a&&!a.pendingBranch)&&_&&!_.persisted;x&&_.beforeEnter(h),i(h,t,n),((f=g&&g.onVnodeMounted)||x||y)&&ys((()=>{f&&Us(f,r,e),x&&_.enter(h),y&&$o(e,null,r,"mounted")}),a)},T=(e,t,n,r,i)=>{if(n&&p(e,n),r)for(var a=0;a<r.length;a++)p(e,r[a]);if(i&&t===i.subTree){var o=i.vnode;T(e,o,o.scopeId,o.slotScopeIds,i.parent)}},E=function(e,t,n,r,i,a,o,s){for(var l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0;l<e.length;l++){var u=e[l]=s?js(e[l]):$s(e[l]);m(null,u,t,n,r,i,a,o,s)}},C=(e,t,n,r,i,a,s)=>{var l=t.el=e.el,{patchFlag:u,dynamicChildren:c,dirs:h}=t;u|=16&e.patchFlag;var f,p=e.props||Kt,v=t.props||Kt;n&&xs(n,!1),(f=v.onVnodeBeforeUpdate)&&Us(f,n,t,e),h&&$o(t,e,n,"beforeUpdate"),n&&xs(n,!0);var g=i&&"foreignObject"!==t.type;if(c?M(e.dynamicChildren,c,l,n,r,g,a):s||P(e,t,l,null,n,r,g,a,!1),u>0){if(16&u)O(l,t,p,v,n,r,i);else if(2&u&&p.class!==v.class&&o(l,"class",null,v.class,i),4&u&&o(l,"style",p.style,v.style,i),8&u)for(var m=t.dynamicProps,_=0;_<m.length;_++){var b=m[_],y=p[b],w=v[b];w===y&&"value"!==b||o(l,b,y,w,i,e.children,n,r,U)}1&u&&e.children!==t.children&&d(l,t.children)}else s||null!=c||O(l,t,p,v,n,r,i);((f=v.onVnodeUpdated)||h)&&ys((()=>{f&&Us(f,n,t,e),h&&$o(t,e,n,"updated")}),r)},M=(e,t,n,r,i,a,o)=>{for(var s=0;s<t.length;s++){var l=e[s],u=t[s],c=l.el&&(l.type===Ts||!Ns(l,u)||70&l.shapeFlag)?h(l.el):n;m(l,u,c,null,r,i,a,o,!0)}},O=(e,t,n,r,i,a,s)=>{if(n!==r){for(var l in r)if(!wn(l)){var u=r[l],c=n[l];u!==c&&"value"!==l&&o(e,l,c,u,s,t.children,i,a,U)}if(n!==Kt)for(var d in n)wn(d)||d in r||o(e,d,n[d],null,s,t.children,i,a,U);"value"in r&&o(e,"value",n.value,r.value)}},I=(e,t,n,r,a,o,s,u,c)=>{var d=t.el=e?e.el:l(""),h=t.anchor=e?e.anchor:l(""),{patchFlag:f,dynamicChildren:p,slotScopeIds:v}=t;v&&(u=u?u.concat(v):v),null==e?(i(d,n,r),i(h,n,r),E(t.children,n,h,a,o,s,u,c)):f>0&&64&f&&p&&e.dynamicChildren?(M(e.dynamicChildren,p,n,a,o,s,u),(null!=t.key||a&&t===a.subTree)&&Ss(e,t,!0)):P(e,t,n,h,a,o,s,u,c)},N=(e,t,n,r,i,a,o,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,o,l):L(t,n,r,i,a,o,l):A(e,t,l)},L=(e,t,n,r,i,a,o)=>{var s=e.component=function(e,t,n){var r=e.type,i=(t?t.appContext:e.appContext)||Hs,a={uid:qs++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new ri(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:as(r,i),emitsOptions:to(r,i),emit:null,emitted:null,propsDefaults:Kt,inheritAttrs:r.inheritAttrs,ctx:Kt,data:Kt,props:Kt,attrs:Kt,slots:Kt,refs:Kt,setupState:Kt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=t?t.root:a,a.emit=eo.bind(null,a),e.ce&&e.ce(a);return a}(e,r,i);if(xo(e)&&(s.ctx.renderer=Y),function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Js=t;var{props:n,children:r}=e.vnode,i=Ks(e);ns(e,n,i,t),vs(e,r);var a=i?Qs(e,t):void 0;Js=!1}(s),s.asyncDep){if(i&&i.registerDep(s,B),!e.el){var l=s.subTree=Ps(Cs);b(null,l,t,n)}}else B(s,e,t,n,i,a,o)},A=(e,t,n)=>{var r,i,a=t.component=e.component;if(function(e,t,n){var{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||r!==o&&(r?!o||uo(r,o,u):!!o);if(1024&l)return!0;if(16&l)return r?uo(r,o,u):!!o;if(8&l)for(var c=t.dynamicProps,d=0;d<c.length;d++){var h=c[d];if(o[h]!==r[h]&&!no(u,h))return!0}return!1}(e,t,n)){if(a.asyncDep&&!a.asyncResolved)return void R(a,t,n);a.next=t,r=a.update,(i=Ba.indexOf(r))>Ra&&Ba.splice(i,1),a.update()}else t.el=e.el,a.vnode=t},B=(e,t,n,i,a,o,s)=>{var l=()=>{if(e.isMounted){var l,{next:u,bu:c,u:d,parent:f,vnode:p}=e,v=u;xs(e,!1),u?(u.el=p.el,R(e,u,s)):u=p,c&&In(c),(l=u.props&&u.props.onVnodeBeforeUpdate)&&Us(l,f,u,p),xs(e,!0);var g=oo(e),_=e.subTree;e.subTree=g,m(_,g,h(_.el),H(_),e,a,o),u.el=g.el,null===v&&function(e,t){for(var{vnode:n,parent:r}=e;r&&r.subTree===n;)(n=r.vnode).el=t,r=r.parent}(e,g.el),d&&ys(d,a),(l=u.props&&u.props.onVnodeUpdated)&&ys((()=>Us(l,f,u,p)),a)}else{var b,{el:y,props:w}=t,{bm:x,m:S,parent:k}=e,T=wo(t);if(xs(e,!1),x&&In(x),!T&&(b=w&&w.onVnodeBeforeMount)&&Us(b,k,t),xs(e,!0),y&&r){var E=()=>{e.subTree=oo(e),r(y,e.subTree,e,a,null)};T?t.type.__asyncLoader().then((()=>!e.isUnmounted&&E())):E()}else{var C=e.subTree=oo(e);m(null,C,n,i,e,a,o),t.el=C.el}if(S&&ys(S,a),!T&&(b=w&&w.onVnodeMounted)){var M=t;ys((()=>Us(b,k,M)),a)}(256&t.shapeFlag||k&&wo(k.vnode)&&256&k.vnode.shapeFlag)&&e.a&&ys(e.a,a),e.isMounted=!0,t=n=i=null}},u=e.effect=new fi(l,(()=>qa(c)),e.scope),c=e.update=()=>u.run();c.id=e.uid,xs(e,!0),c()},R=(e,t,n)=>{t.component=e;var r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){var{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=va(i),[l]=e.propsOptions,u=!1;if(!(r||o>0)||16&o){var c;for(var d in rs(e,t,i,a)&&(u=!0),s)t&&(ln(t,d)||(c=En(d))!==d&&ln(t,c))||(l?!n||void 0===n[d]&&void 0===n[c]||(i[d]=is(l,s,d,void 0,e,!0)):delete i[d]);if(a!==s)for(var h in a)t&&ln(t,h)||(delete a[h],u=!0)}else if(8&o)for(var f=e.vnode.dynamicProps,p=0;p<f.length;p++){var v=f[p];if(!no(e.emitsOptions,v)){var g=t[v];if(l)if(ln(a,v))g!==a[v]&&(a[v]=g,u=!0);else{var m=kn(v);i[m]=is(l,s,m,g,e,!1)}else g!==a[v]&&(a[v]=g,u=!0)}}u&&wi(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{var{vnode:r,slots:i}=e,a=!0,o=Kt;if(32&r.shapeFlag){var s=t._;s?n&&1===s?a=!1:(an(i,t),n||1!==s||delete i._):(a=!t.$stable,fs(t,i)),o=t}else t&&(ps(e,t),o={default:1});if(a)for(var l in i)cs(l)||l in o||delete i[l]})(e,t.children,n),mi(),Ga(void 0,e.update),_i()},P=function(e,t,n,r,i,a,o,s){var l=arguments.length>8&&void 0!==arguments[8]&&arguments[8],u=e&&e.children,c=e?e.shapeFlag:0,h=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void D(u,h,n,r,i,a,o,s,l);if(256&f)return void z(u,h,n,r,i,a,o,s,l)}8&p?(16&c&&U(u,i,a),h!==u&&d(n,h)):16&c?16&p?D(u,h,n,r,i,a,o,s,l):U(u,i,a,!0):(8&c&&d(n,""),16&p&&E(h,n,r,i,a,o,s,l))},z=(e,t,n,r,i,a,o,s,l)=>{t=t||Jt;var u,c=(e=e||Jt).length,d=t.length,h=Math.min(c,d);for(u=0;u<h;u++){var f=t[u]=l?js(t[u]):$s(t[u]);m(e[u],f,n,null,i,a,o,s,l)}c>d?U(e,i,a,!0,!1,h):E(t,n,r,i,a,o,s,l,h)},D=(e,t,n,r,i,a,o,s,l)=>{for(var u=0,c=t.length,d=e.length-1,h=c-1;u<=d&&u<=h;){var f=e[u],p=t[u]=l?js(t[u]):$s(t[u]);if(!Ns(f,p))break;m(f,p,n,null,i,a,o,s,l),u++}for(;u<=d&&u<=h;){var v=e[d],g=t[h]=l?js(t[h]):$s(t[h]);if(!Ns(v,g))break;m(v,g,n,null,i,a,o,s,l),d--,h--}if(u>d){if(u<=h)for(var _=h+1,b=_<c?t[_].el:r;u<=h;)m(null,t[u]=l?js(t[u]):$s(t[u]),n,b,i,a,o,s,l),u++}else if(u>h)for(;u<=d;)$(e[u],i,a,!0),u++;else{var y,w=u,x=u,S=new Map;for(u=x;u<=h;u++){var k=t[u]=l?js(t[u]):$s(t[u]);null!=k.key&&S.set(k.key,u)}var T=0,E=h-x+1,C=!1,M=0,O=new Array(E);for(u=0;u<E;u++)O[u]=0;for(u=w;u<=d;u++){var I=e[u];if(T>=E)$(I,i,a,!0);else{var N=void 0;if(null!=I.key)N=S.get(I.key);else for(y=x;y<=h;y++)if(0===O[y-x]&&Ns(I,t[y])){N=y;break}void 0===N?$(I,i,a,!0):(O[N-x]=u+1,N>=M?M=N:C=!0,m(I,t[N],n,null,i,a,o,s,l),T++)}}var L=C?function(e){var t,n,r,i,a,o=e.slice(),s=[0],l=e.length;for(t=0;t<l;t++){var u=e[t];if(0!==u){if(e[n=s[s.length-1]]<u){o[t]=n,s.push(t);continue}for(r=0,i=s.length-1;r<i;)e[s[a=r+i>>1]]<u?r=a+1:i=a;u<e[s[r]]&&(r>0&&(o[t]=s[r-1]),s[r]=t)}}r=s.length,i=s[r-1];for(;r-- >0;)s[r]=i,i=o[i];return s}(O):Jt;for(y=L.length-1,u=E-1;u>=0;u--){var A=x+u,B=t[A],R=A+1<c?t[A+1].el:r;0===O[u]?m(null,B,n,R,i,a,o,s,l):C&&(y<0||u!==L[y]?F(B,n,R,2):y--)}}},F=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,{el:o,type:s,transition:l,children:u,shapeFlag:c}=e;if(6&c)F(e.component.subTree,t,n,r);else if(128&c)e.suspense.move(t,n,r);else if(64&c)s.move(e,t,n,Y);else if(s!==Ts){if(s!==Ms)if(2!==r&&1&c&&l)if(0===r)l.beforeEnter(o),i(o,t,n),ys((()=>l.enter(o)),a);else{var{leave:d,delayLeave:h,afterLeave:f}=l,p=()=>i(o,t,n),v=()=>{d(o,(()=>{p(),f&&f()}))};h?h(o,p,v):v()}else i(o,t,n);else w(e,t,n)}else{i(o,t,n);for(var g=0;g<u.length;g++)F(u[g],t,n,r);i(e.anchor,t,n)}},$=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],{type:a,props:o,ref:s,children:l,dynamicChildren:u,shapeFlag:c,patchFlag:d,dirs:h}=e;if(null!=s&&bs(s,null,n,e,!0),256&c)t.ctx.deactivate(e);else{var f,p=1&c&&h,v=!wo(e);if(v&&(f=o&&o.onVnodeBeforeUnmount)&&Us(f,t,e),6&c)W(e.component,n,r);else{if(128&c)return void e.suspense.unmount(n,r);p&&$o(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,i,Y,r):u&&(a!==Ts||d>0&&64&d)?U(u,t,n,!1,!0):(a===Ts&&384&d||!i&&16&c)&&U(l,t,n),r&&j(e)}(v&&(f=o&&o.onVnodeUnmounted)||p)&&ys((()=>{f&&Us(f,t,e),p&&$o(e,null,t,"unmounted")}),n)}},j=e=>{var{type:t,el:n,anchor:r,transition:i}=e;if(t!==Ts)if(t!==Ms){var o=()=>{a(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){var{leave:s,delayLeave:l}=i,u=()=>s(n,o);l?l(e.el,o,u):u()}else o()}else x(e);else V(n,r)},V=(e,t)=>{for(var n;e!==t;)n=f(e),a(e),e=n;a(t)},W=(e,t,n)=>{var{bum:r,scope:i,update:a,subTree:o,um:s}=e;r&&In(r),i.stop(),a&&(a.active=!1,$(o,e,t,n)),s&&ys(s,t),ys((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},U=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;a<e.length;a++)$(e[a],t,n,r,i)},H=e=>6&e.shapeFlag?H(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),q=(e,t,n)=>{if(null==e)t._vnode&&$(t._vnode,null,null,!0);else{var r=t.__vueParent;m(t._vnode||null,e,t,null,r,null,n)}t._vnode=e},Y={p:m,um:$,m:F,r:j,mt:L,mc:E,pc:P,pbc:M,n:H,o:e};t&&([n,r]=t(Y));return{render:q,hydrate:n,createApp:_s(q,n)}}(e)}function xs(e,t){var{effect:n,update:r}=e;n.allowRecurse=r.allowRecurse=t}function Ss(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.children,i=t.children;if(un(r)&&un(i))for(var a=0;a<r.length;a++){var o=r[a],s=i[a];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||32===s.patchFlag)&&((s=i[a]=js(i[a])).el=o.el),n||Ss(o,s))}}var ks=e=>e.__isTeleport,Ts=Symbol(void 0),Es=Symbol(void 0),Cs=Symbol(void 0),Ms=Symbol(void 0);function Os(e){e}function Is(e){return!!e&&!0===e.__v_isVNode}function Ns(e,t){return e.type===t.type&&e.key===t.key}var Ls="__vInternal",As=e=>{var{key:t}=e;return null!=t?t:null},Bs=e=>{var{ref:t,ref_key:n,ref_for:r}=e;return null!=t?hn(t)||wa(t)||dn(t)?{i:ro,r:t,k:n,f:!!r}:t:null};function Rs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===Ts?0:1,o=arguments.length>7&&void 0!==arguments[7]&&arguments[7],s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&As(t),ref:t&&Bs(t),scopeId:io,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null};return o?(Vs(s,n),128&a&&e.normalize(s)):n&&(s.shapeFlag|=hn(n)?8:16),s}var Ps=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];e&&e!==jo||(e=Cs);if(Is(e)){var o=Ds(e,t,!0);return n&&Vs(o,n),o.patchFlag|=-2,o}rl(e)&&(e=e.__vccOpts);if(t){t=zs(t);var{class:s,style:l}=t;s&&!hn(s)&&(t.class=Yt(s)),pn(l)&&(pa(l)&&!un(l)&&(l=an({},l)),t.style=Wt(l))}var u=hn(e)?1:co(e)?128:ks(e)?64:pn(e)?4:dn(e)?2:0;return Rs(e,t,n,r,i,u,a,!0)};function zs(e){return e?pa(e)||Ls in e?an({},e):e:null}function Ds(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{props:r,ref:i,patchFlag:a,children:o}=e,s=t?Ws(r||{},t):r,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&As(s),ref:t&&t.ref?n&&i?un(i)?i.concat(Bs(t)):[i,Bs(t)]:Bs(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ts?-1===a?16:16|a: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&&Ds(e.ssContent),ssFallback:e.ssFallback&&Ds(e.ssFallback),el:e.el,anchor:e.anchor};return l}function Fs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Ps(Es,null,e,t)}function $s(e){return null==e||"boolean"==typeof e?Ps(Cs):un(e)?Ps(Ts,null,e.slice()):"object"==typeof e?js(e):Ps(Es,null,String(e))}function js(e){return null===e.el||e.memo?e:Ds(e)}function Vs(e,t){var n=0,{shapeFlag:r}=e;if(null==t)t=null;else if(un(t))n=16;else if("object"==typeof t){if(65&r){var i=t.default;return void(i&&(i._c&&(i._d=!1),Vs(e,i()),i._c&&(i._d=!0)))}n=32;var a=t._;a||Ls in t?3===a&&ro&&(1===ro.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ro}else dn(t)?(t={default:t,_ctx:ro},n=32):(t=String(t),64&r?(n=16,t=[Fs(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ws(){for(var e={},t=0;t<arguments.length;t++){var n=t<0||arguments.length<=t?void 0:arguments[t];for(var r in n)if("class"===r)e.class!==n.class&&(e.class=Yt([e.class,n.class]));else if("style"===r)e.style=Wt([e.style,n.style]);else if(nn(r)){var i=e[r],a=n[r];!a||i===a||un(i)&&i.includes(a)||(e[r]=i?[].concat(i,a):a)}else""!==r&&(e[r]=n[r])}return e}function Us(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Ia(e,t,7,[n,r])}var Hs=gs(),qs=0;var Ys=null,Xs=()=>Ys||ro,Zs=e=>{Ys=e,e.scope.on()},Gs=()=>{Ys&&Ys.scope.off(),Ys=null};function Ks(e){return 4&e.vnode.shapeFlag}var Js=!1;function Qs(e,t){var n=e.type;e.accessCache=Object.create(null),e.proxy=ga(new Proxy(e.ctx,Uo));var{setup:r}=n;if(r){var i=e.setupContext=r.length>1?function(e){var t,n=t=>{e.exposed=t||{}};return{get attrs(){return t||(t=function(e){return new Proxy(e.attrs,{get:(t,n)=>(bi(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:n}}(e):null;Zs(e),mi();var a=Oa(r,e,0,[e.props,i]);if(_i(),Gs(),vn(a)){if(a.then(Gs,Gs),t)return a.then((n=>{el(e,n,t)})).catch((t=>{Na(t,e,0)}));e.asyncDep=a}else el(e,a,t)}else tl(e,t)}function el(e,t,n){dn(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pn(t)&&(e.setupState=Ca(t)),tl(e,n)}function tl(e,t,n){var r=e.type;e.render||(e.render=r.render||Qt);Zs(e),mi(),qo(e),_i(),Gs()}function nl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ca(ga(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Wo?Wo[n](e):void 0}))}function rl(e){return dn(e)&&"__vccOpts"in e}var il=(e,t)=>function(e,t){var n,r,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=dn(e);return a?(n=e,r=Qt):(n=e.get,r=e.set),new Ma(n,r,a||!r,i)}(e,t,Js);function al(e,t,n){var r=arguments.length;return 2===r?pn(t)&&!un(t)?Is(t)?Ps(e,null,[t]):Ps(e,t):Ps(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Is(n)&&(n=[n]),Ps(e,t,n))}var ol="3.2.37",sl="undefined"!=typeof document?document:null,ll=sl&&sl.createElement("template"),ul={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{var i=t?sl.createElementNS("http://www.w3.org/2000/svg",e):sl.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:e=>sl.createTextNode(e),createComment:e=>sl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sl.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,n,r,i,a){var o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{ll.innerHTML=r?"<svg>".concat(e,"</svg>"):e;var s=ll.content;if(r){for(var l=s.firstChild;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function cl(e,t,n){var r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function dl(e,t,n){var r=e.style,i=hn(n);if(n&&!i){for(var a in n)fl(r,a,n[a]);if(t&&!hn(t))for(var o in t)null==n[o]&&fl(r,o,"")}else{var s=r.display;i?t!==n&&(r.cssText=normalizeStyleValue(n)):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}var hl=/\s*!important$/;function fl(e,t,n){if(un(n))n.forEach((n=>fl(e,t,n)));else if(null==n&&(n=""),n=normalizeStyleValue(n),t.startsWith("--"))e.setProperty(t,n);else{var r=normalizeStyleName(e,t);hl.test(n)?e.setProperty(En(r),n.replace(hl,""),"important"):e[r]=n}}var pl="http://www.w3.org/1999/xlink";function vl(e,t,n,r,i){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(pl,t.slice(6,t.length)):e.setAttributeNS(pl,t,n);else{var a=$t(t);null==n||a&&!jt(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function gl(e,t,n,r,i,a,o){if("innerHTML"===t||"textContent"===t)return r&&o(r,i,a),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;var s=null==n?"":n;return e.value===s&&"OPTION"!==e.tagName||(e.value=s),void(null==n&&e.removeAttribute(t))}var l=!1;if(""===n||null==n){var u=typeof e[t];"boolean"===u?n=jt(n):null==n&&"string"===u?(n="",l=!0):"number"===u&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}var[ml,_l]=(()=>{var e=Date.now,t=!1;if("undefined"!=typeof window){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));var n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})(),bl=0,yl=Promise.resolve(),wl=()=>{bl=0};function xl(e,t,n,r){e.addEventListener(t,n,r)}function Sl(e,t,n,r){e.removeEventListener(t,n,r)}function kl(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=e._vei||(e._vei={}),o=a[t];if(r&&o)o.value=r;else{var[s,l]=El(t);if(r){var u=a[t]=Cl(r,i);xl(e,s,u,l)}else o&&(Sl(e,s,o,l),a[t]=void 0)}}var Tl=/(?:Once|Passive|Capture)$/;function El(e){var t,n;if(Tl.test(e))for(t={};n=e.match(Tl);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;return[En(e.slice(2)),t]}function Cl(e,t){var n=e=>{var r=e.timeStamp||ml();(_l||r>=n.attached-1)&&Ia(function(e,t){if(un(t)){var n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=bl||(yl.then(wl),bl=ml()),n}var Ml=/^on[a-z]/;function Ol(e,t,n,r){return r?"innerHTML"===t||"textContent"===t||!!(t in e&&Ml.test(t)&&dn(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!Ml.test(t)||!hn(n))&&t in e))))}var Il=["ctrl","shift","alt","meta"],Nl={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Il.some((n=>e["".concat(n,"Key")]&&!t.includes(n)))},Ll=(e,t)=>function(n){for(var r=0;r<t.length;r++){var i=Nl[t[r]];if(i&&i(n,t))return}for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return e(n,...o)},Al={beforeMount(e,t,n){var{value:r}=t,{transition:i}=n;e._vod="none"===e.style.display?"":e.style.display,i&&r?i.beforeEnter(e):Bl(e,r)},mounted(e,t,n){var{value:r}=t,{transition:i}=n;i&&r&&i.enter(e)},updated(e,t,n){var{value:r,oldValue:i}=t,{transition:a}=n;!r!=!i&&(a?r?(a.beforeEnter(e),Bl(e,!0),a.enter(e)):a.leave(e,(()=>{Bl(e,!1)})):Bl(e,r))},beforeUnmount(e,t){var{value:n}=t;Bl(e,n)}};function Bl(e,t){e.style.display=t?e._vod:"none"}var Rl,Pl=an({patchProp:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;"class"===t?cl(e,r,i):"style"===t?dl(e,n,r):nn(t)?rn(t)||kl(e,t,n,r,o):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):Ol(e,t,r,i))?gl(e,t,r,a,o,s,l):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),vl(e,t,r,i))}},ul);function zl(){return Rl||(Rl=ws(Pl))}var Dl=function(){var e=zl().createApp(...arguments),{mount:t}=e;return e.mount=n=>{var r=Fl(n);if(r){var i=e._component;dn(i)||i.render||i.template||(i.template=r.innerHTML),r.innerHTML="";var a=t(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a}},e};function Fl(e){return hn(e)?document.querySelector(e):e}var $l,jl,Vl=["top","left","right","bottom"],Wl={};function Ul(){return jl="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function Hl(){if(jl="string"==typeof jl?jl:Ul()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var r=document.createElement("div");i(r,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Vl.forEach((function(e){o(r,e)})),document.body.appendChild(r),a(),$l=!0}else Vl.forEach((function(e){Wl[e]=0}));function i(e,t){var n=e.style;Object.keys(t).forEach((function(e){var r=t[e];n[e]=r}))}function a(t){t?e.push(t):e.forEach((function(e){e()}))}function o(e,n){var r=document.createElement("div"),o=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),u={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:jl+"(safe-area-inset-"+n+")"};i(r,u),i(o,u),i(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),r.appendChild(s),o.appendChild(l),e.appendChild(r),e.appendChild(o),a((function(){r.scrollTop=o.scrollTop=1e4;var e=r.scrollTop,i=o.scrollTop;function a(){this.scrollTop!==(this===r?e:i)&&(r.scrollTop=o.scrollTop=1e4,e=r.scrollTop,i=o.scrollTop,function(e){Yl.length||setTimeout((function(){var e={};Yl.forEach((function(t){e[t]=Wl[t]})),Yl.length=0,Xl.forEach((function(t){t(e)}))}),0);Yl.push(e)}(n))}r.addEventListener("scroll",a,t),o.addEventListener("scroll",a,t)}));var c=getComputedStyle(r);Object.defineProperty(Wl,n,{configurable:!0,get:function(){return parseFloat(c.paddingBottom)}})}}function ql(e){return $l||Hl(),Wl[e]}var Yl=[];var Xl=[];var Zl={get support(){return 0!=("string"==typeof jl?jl:Ul()).length},get top(){return ql("top")},get left(){return ql("left")},get right(){return ql("right")},get bottom(){return ql("bottom")},onChange:function(e){Ul()&&($l||Hl(),"function"==typeof e&&Xl.push(e))},offChange:function(e){var t=Xl.indexOf(e);t>=0&&Xl.splice(t,1)}},Gl=Ll((()=>{}),["prevent"]);function Kl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Jl(){var e=Kl(document.documentElement.style,"--window-top");return e?e+Zl.top:0}function Ql(e){return Symbol(e)}function eu(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function tu(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return nu(e);if(hn(e)){var n=parseInt(e)||0;return eu(e)?uni.upx2px(n):n}return e}function nu(e){return eu(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>uni.upx2px(parseFloat(t))+"px")):e}var ru,iu="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";function au(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:27;return Ps("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Ps("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function ou(){return su()}function su(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function lu(e){e.preventDefault()}var uu,cu,du,hu,fu,pu=0;function vu(e){var{onPageScroll:t,onReachBottom:n,onReachBottomDistance:r}=e,i=!1,a=!1,o=!0,s=()=>{function e(){if((()=>{var{scrollHeight:e}=document.documentElement,t=window.innerHeight,n=window.scrollY,i=n>0&&e>t&&n+t+r>=e,o=Math.abs(e-pu)>r;return!i||a&&!o?(!i&&a&&(a=!1),!1):(pu=e,a=!0,!0)})())return n&&n(),o=!1,setTimeout((function(){o=!0}),350),!0}t&&t(window.pageYOffset),n&&o&&(e()||(ru=setTimeout(e,300))),i=!1};return function(){clearTimeout(ru),i||requestAnimationFrame(s),i=!0}}function gu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return gu(e,t.slice(2));for(var n=t.split("/"),r=n.length,i=0;i<r&&".."===n[i];i++);n.splice(0,i),t=n.join("/");var a=e.length>0?e.split("/"):[];return a.splice(a.length-i-1,i+1),Xn(a.concat(n).join("/"))}function mu(){return"object"==typeof window&&"object"==typeof navigator&&"object"==typeof document?"webview":"v8"}function _u(){return uu.webview.currentWebview().id}var bu={};function yu(e){var t=e.data&&e.data.__message;if(t&&t.__page){var n=t.__page,r=bu[n];r&&r(t),t.keep||delete bu[n]}}class wu{constructor(e){this.webview=e}sendMessage(e){var t=JSON.parse(JSON.stringify({__message:{data:e}})),n=this.webview.id;du?new du(n).postMessage(t):uu.webview.postMessageToUniNView&&uu.webview.postMessageToUniNView(t,n)}close(){this.webview.close()}}function xu(e){var{context:t={},url:n,data:r={},style:i={},onMessage:a,onClose:o}=e;uu=t.plus||plus,cu=t.weex||("object"==typeof weex?weex:null),du=t.BroadcastChannel||("object"==typeof BroadcastChannel?BroadcastChannel:null);var s="page".concat(Date.now());!1!==(i=an({},i)).titleNView&&"none"!==i.titleNView&&(i.titleNView=an({autoBackButton:!0,titleSize:"17px"},i.titleNView));var l={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"/".concat(n,".js"),defaultFontSize:16,viewport:uu.screen.resolutionWidth}};i=an(l,i);var u=uu.webview.create("",s,i,{extras:{from:_u(),runtime:mu(),data:r,useGlobalEvent:!du}});return u.addEventListener("close",o),function(e,t){"v8"===mu()?du?(hu&&hu.close(),(hu=new du(_u())).onmessage=yu):fu||(fu=cu.requireModule("globalEvent")).addEventListener("plusMessage",yu):window.__plusMessage=yu,bu[e]=t}(s,(e=>{dn(a)&&a(e.data),e.keep||u.close("auto")})),u.show(i.animationType,i.animationDuration),new wu(u)}class Su{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=e.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(this.$el&&e){var t=Eu(this.$el.querySelector(e));if(t)return ku(t)}}selectAllComponents(e){if(!this.$el||!e)return[];for(var t=[],n=this.$el.querySelectorAll(e),r=0;r<n.length;r++){var i=Eu(n[r]);i&&t.push(ku(i))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){var{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){var{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){var t="";if(!e||hn(e))return t;for(var n in e){var r=e[n],i=n.startsWith("--")?n:En(n);(hn(r)||"number"==typeof r&&Vt(i))&&(t+="".concat(i,":").concat(r,";"))}return t}(e))}setStyle(e){return this.$el&&e?(hn(e)&&(e=qt(e)),bn(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;var t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;var{__wxsAddClass:t}=this.$el;if(t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var r=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===r.indexOf(e)&&(r.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.$vm[e];dn(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&UniViewJSBridge.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){var t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function ku(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Su(e)),e.$el.__wxsComponentDescriptor}function Tu(e,t){return ku(e)}function Eu(e){if(e)return Cu(e)}function Cu(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var t,n,{__wxsStyle:r,__wxsAddClass:i,__wxsRemoveClass:a,__wxsStyleChanged:o,__wxsClassChanged:s}=e;o&&(e.__wxsStyleChanged=!1,r&&(n=()=>{Object.keys(r).forEach((t=>{e.style[t]=r[t]}))})),s&&(e.__wxsClassChanged=!1,t=()=>{a&&a.forEach((t=>{e.classList.remove(t)})),i&&i.forEach((t=>{e.classList.add(t)}))}),requestAnimationFrame((()=>{t&&t(),n&&n()}))}})}function Mu(e,t,n){var{currentTarget:r}=e;if(!(e instanceof Event&&r instanceof HTMLElement))return[e];var i=Iu(e,0!==r.tagName.indexOf("UNI-"));if("click"===e.type)!function(e,t){var{x:n,y:r}=t,i=Jl();e.detail={x:n,y:r-i},e.touches=e.changedTouches=[Nu(t,i)]}(i,e);else if(e instanceof TouchEvent){var a=Jl();i.touches=Lu(e.touches,a),i.changedTouches=Lu(e.changedTouches,a)}return[i]}function Ou(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function Iu(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{type:n,timeStamp:r,target:i,currentTarget:a}=e,o={type:n,timeStamp:r,target:tr(t?i:Ou(i)),detail:{},currentTarget:tr(a)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function Nu(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Lu(e,t){for(var n=[],r=0;r<e.length;r++){var{identifier:i,pageX:a,pageY:o,clientX:s,clientY:l,force:u}=e[r];n.push({identifier:i,pageX:a,pageY:o-t,clientX:s,clientY:l-t,force:u||0})}return n}var Au="vdSync",Bu="__uniapp__service",Ru="onWebviewReady",Pu=an(qr,{publishHandler:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=su()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:n}},Bu)}});function zu(e,t,n,r){if(r&&r.beforeInvoke){var i=r.beforeInvoke(t);if(hn(i))return i}var a=function(e,t){var n=e[0];if(t&&(bn(t.formatArgs)||!bn(n)))for(var r=t.formatArgs,i=Object.keys(r),a=0;a<i.length;a++){var o=i[a],s=r[o];if(dn(s)){var l=s(e[0][o],n);if(hn(l))return l}else ln(n,o)||(n[o]=s)}}(t,r);if(a)return a}function Du(e,t,n,r){return function(e,t,n,r){return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a=zu(0,n,0,r);if(a)throw new Error(a);return t.apply(null,n)}}(0,t,0,r)}function Fu(){if("undefined"!=typeof __SYSTEM_INFO__)return window.__SYSTEM_INFO__;var{resolutionWidth:e}=plus.screen.getCurrentSize()||{resolutionWidth:0};return{platform:(plus.os.name||"").toLowerCase(),pixelRatio:plus.screen.scale,windowWidth:Math.round(e)}}function $u(e){if(0===e.indexOf("//"))return"https:"+e;if(Vn.test(e)||Wn.test(e))return e;if(function(e){if(0===e.indexOf("_www")||0===e.indexOf("_doc")||0===e.indexOf("_documents")||0===e.indexOf("_downloads"))return!0;return!1}(e))return"file://"+ju(e);var t="file://"+ju("_www");if(0===e.indexOf("/"))return e.startsWith("/storage/")||e.startsWith("/sdcard/")||e.includes("/Containers/Data/Application/")?"file://"+e:t+e;if(0===e.indexOf("../")||0===e.indexOf("./")){if("string"==typeof __id__)return t+gu(Xn(__id__),e);var n=window.__PAGE_INFO__;if(n)return t+gu(Xn(n.route),e)}return e}var ju=function(e){var t=Object.create(null);return n=>t[n]||(t[n]=e(n))}((e=>plus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,"")));var Vu=0;function Wu(e){return function(e){return new Promise((function(t,n){0===e.indexOf("http://")||0===e.indexOf("https://")?plus.downloader.createDownload(e,{filename:"_doc/uniapp_temp/download/"},(function(e,r){200===r?t(e.filename):n(new Error("network fail"))})).start():t(e)}))}(e).then((function(e){var t,n=window;return n.webkit&&n.webkit.messageHandlers?(t=e,new Promise((function(e,n){function r(){var r=new plus.nativeObj.Bitmap("bitmap_".concat(Date.now(),"_").concat(Math.random(),"}"));r.load(t,(function(){e(r.toBase64Data()),r.clear()}),(function(e){r.clear(),n(e)}))}plus.io.resolveLocalFileSystemURL(t,(function(t){t.file((function(t){var n=new plus.io.FileReader;n.onload=function(t){e(t.target.result)},n.onerror=r,n.readAsDataURL(t)}),r)}),r)}))):plus.io.convertLocalFileSystemURL(e)}))}var Uu={};!function(e){var t="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var i in r)n(r,i)&&(e[i]=r[i])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,o;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},i={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)}(Uu);var Hu={},qu={},Yu={},Xu=Uu;function Zu(e){for(var t=e.length;--t>=0;)e[t]=0}var Gu=256,Ku=286,Ju=30,Qu=15,ec=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],tc=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],nc=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],rc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ic=new Array(576);Zu(ic);var ac=new Array(60);Zu(ac);var oc=new Array(512);Zu(oc);var sc=new Array(256);Zu(sc);var lc=new Array(29);Zu(lc);var uc,cc,dc,hc=new Array(Ju);function fc(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function pc(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function vc(e){return e<256?oc[e]:oc[256+(e>>>7)]}function gc(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function mc(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,gc(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function _c(e,t,n){mc(e,n[2*t],n[2*t+1])}function bc(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function yc(e,t,n){var r,i,a=new Array(16),o=0;for(r=1;r<=Qu;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=bc(a[s]++,s))}}function wc(e){var t;for(t=0;t<Ku;t++)e.dyn_ltree[2*t]=0;for(t=0;t<Ju;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function xc(e){e.bi_valid>8?gc(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Sc(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function kc(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&Sc(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Sc(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function Tc(e,t,n){var r,i,a,o,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?_c(e,i,t):(_c(e,(a=sc[i])+Gu+1,t),0!==(o=ec[a])&&mc(e,i-=lc[a],o),_c(e,a=vc(--r),n),0!==(o=tc[a])&&mc(e,r-=hc[a],o))}while(s<e.last_lit);_c(e,256,t)}function Ec(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<l;n++)0!==a[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):a[2*n+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,n=e.heap_len>>1;n>=1;n--)kc(e,a,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],kc(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,kc(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,v=0;for(a=0;a<=Qu;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(a=l[2*l[2*(r=e.heap[n])+1]+1]+1)>p&&(a=p,v++),l[2*r+1]=a,r>u||(e.bl_count[a]++,o=0,r>=f&&(o=h[r-f]),s=l[2*r],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(c[2*r+1]+o)));if(0!==v){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,v-=2}while(v>0);for(a=p;0!==a;a--)for(r=e.bl_count[a];0!==r;)(i=e.heap[--n])>u||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),r--)}}(e,t),yc(a,u,e.bl_count)}function Cc(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++s<l&&i===o||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4))}function Mc(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),r=0;r<=n;r++)if(i=o,o=t[2*(r+1)+1],!(++s<l&&i===o)){if(s<u)do{_c(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==a&&(_c(e,i,e.bl_tree),s--),_c(e,16,e.bl_tree),mc(e,s-3,2)):s<=10?(_c(e,17,e.bl_tree),mc(e,s-3,3)):(_c(e,18,e.bl_tree),mc(e,s-11,7));s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4)}}Zu(hc);var Oc=!1;function Ic(e,t,n,r){mc(e,0+(r?1:0),3),function(e,t,n,r){xc(e),r&&(gc(e,n),gc(e,~n)),Xu.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}Yu._tr_init=function(e){Oc||(!function(){var e,t,n,r,i,a=new Array(16);for(n=0,r=0;r<28;r++)for(lc[r]=n,e=0;e<1<<ec[r];e++)sc[n++]=r;for(sc[n-1]=r,i=0,r=0;r<16;r++)for(hc[r]=i,e=0;e<1<<tc[r];e++)oc[i++]=r;for(i>>=7;r<Ju;r++)for(hc[r]=i<<7,e=0;e<1<<tc[r]-7;e++)oc[256+i++]=r;for(t=0;t<=Qu;t++)a[t]=0;for(e=0;e<=143;)ic[2*e+1]=8,e++,a[8]++;for(;e<=255;)ic[2*e+1]=9,e++,a[9]++;for(;e<=279;)ic[2*e+1]=7,e++,a[7]++;for(;e<=287;)ic[2*e+1]=8,e++,a[8]++;for(yc(ic,287,a),e=0;e<Ju;e++)ac[2*e+1]=5,ac[2*e]=bc(e,5);uc=new fc(ic,ec,257,Ku,Qu),cc=new fc(ac,tc,0,Ju,Qu),dc=new fc(new Array(0),nc,0,19,7)}(),Oc=!0),e.l_desc=new pc(e.dyn_ltree,uc),e.d_desc=new pc(e.dyn_dtree,cc),e.bl_desc=new pc(e.bl_tree,dc),e.bi_buf=0,e.bi_valid=0,wc(e)},Yu._tr_stored_block=Ic,Yu._tr_flush_block=function(e,t,n,r){var i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<Gu;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),Ec(e,e.l_desc),Ec(e,e.d_desc),o=function(e){var t;for(Cc(e,e.dyn_ltree,e.l_desc.max_code),Cc(e,e.dyn_dtree,e.d_desc.max_code),Ec(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*rc[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==t?Ic(e,t,n,r):4===e.strategy||a===i?(mc(e,2+(r?1:0),3),Tc(e,ic,ac)):(mc(e,4+(r?1:0),3),function(e,t,n,r){var i;for(mc(e,t-257,5),mc(e,n-1,5),mc(e,r-4,4),i=0;i<r;i++)mc(e,e.bl_tree[2*rc[i]+1],3);Mc(e,e.dyn_ltree,t-1),Mc(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),Tc(e,e.dyn_ltree,e.dyn_dtree)),wc(e),r&&xc(e)},Yu._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(sc[n]+Gu+1)]++,e.dyn_dtree[2*vc(t)]++),e.last_lit===e.lit_bufsize-1},Yu._tr_align=function(e){mc(e,2,3),_c(e,256,ic),function(e){16===e.bi_valid?(gc(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)};var Nc=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==n;){n-=o=n>2e3?2e3:n;do{a=a+(i=i+t[r++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16|0};var Lc=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();var Ac,Bc=function(e,t,n,r){var i=Lc,a=r+n;e^=-1;for(var o=r;o<a;o++)e=e>>>8^i[255&(e^t[o])];return-1^e},Rc={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Pc=Uu,zc=Yu,Dc=Nc,Fc=Bc,$c=Rc,jc=-2,Vc=258,Wc=262,Uc=103,Hc=113,qc=666;function Yc(e,t){return e.msg=$c[t],t}function Xc(e){return(e<<1)-(e>4?9:0)}function Zc(e){for(var t=e.length;--t>=0;)e[t]=0}function Gc(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(Pc.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function Kc(e,t){zc._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Gc(e.strm)}function Jc(e,t){e.pending_buf[e.pending++]=t}function Qc(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function ed(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-Wc?e.strstart-(e.w_size-Wc):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+Vc,f=u[a+o-1],p=u[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(n=t)+o]===p&&u[n+o-1]===f&&u[n]===u[a]&&u[++n]===u[a+1]){a+=2,n++;do{}while(u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&a<h);if(r=Vc-(h-a),a=h-Vc,r>o){if(e.match_start=t,o=r,r>=s)break;f=u[a+o-1],p=u[a+o]}}}while((t=d[t&c])>l&&0!=--i);return o<=e.lookahead?o:e.lookahead}function td(e){var t,n,r,i,a,o,s,l,u,c,d=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=d+(d-Wc)){Pc.arraySet(e.window,e.window,d,d,0),e.match_start-=d,e.strstart-=d,e.block_start-=d,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=d?r-d:0}while(--n);t=n=d;do{r=e.prev[--t],e.prev[t]=r>=d?r-d:0}while(--n);i+=d}if(0===e.strm.avail_in)break;if(o=e.strm,s=e.window,l=e.strstart+e.lookahead,u=i,c=void 0,(c=o.avail_in)>u&&(c=u),n=0===c?0:(o.avail_in-=c,Pc.arraySet(s,o.input,o.next_in,c,l),1===o.state.wrap?o.adler=Dc(o.adler,s,c,l):2===o.state.wrap&&(o.adler=Fc(o.adler,s,c,l)),o.next_in+=c,o.total_in+=c,c),e.lookahead+=n,e.lookahead+e.insert>=3)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+3-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<Wc&&0!==e.strm.avail_in)}function nd(e,t){for(var n,r;;){if(e.lookahead<Wc){if(td(e),e.lookahead<Wc&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-Wc&&(e.match_length=ed(e,n)),e.match_length>=3)if(r=zc._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=zc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Kc(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(Kc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Kc(e,!1),0===e.strm.avail_out)?1:2}function rd(e,t){for(var n,r,i;;){if(e.lookahead<Wc){if(td(e),e.lookahead<Wc&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-Wc&&(e.match_length=ed(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=zc._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(Kc(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=zc._tr_tally(e,0,e.window[e.strstart-1]))&&Kc(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=zc._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(Kc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Kc(e,!1),0===e.strm.avail_out)?1:2}function id(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function ad(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Pc.Buf16(1146),this.dyn_dtree=new Pc.Buf16(122),this.bl_tree=new Pc.Buf16(78),Zc(this.dyn_ltree),Zc(this.dyn_dtree),Zc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Pc.Buf16(16),this.heap=new Pc.Buf16(573),Zc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Pc.Buf16(573),Zc(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function od(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:Hc,e.adler=2===t.wrap?0:1,t.last_flush=0,zc._tr_init(t),0):Yc(e,jc)}function sd(e){var t,n=od(e);return 0===n&&((t=e.state).window_size=2*t.w_size,Zc(t.head),t.max_lazy_match=Ac[t.level].max_lazy,t.good_match=Ac[t.level].good_length,t.nice_match=Ac[t.level].nice_length,t.max_chain_length=Ac[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function ld(e,t,n,r,i,a){if(!e)return jc;var o=1;if(-1===t&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),i<1||i>9||8!==n||r<8||r>15||t<0||t>9||a<0||a>4)return Yc(e,jc);8===r&&(r=9);var s=new ad;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Pc.Buf8(2*s.w_size),s.head=new Pc.Buf16(s.hash_size),s.prev=new Pc.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Pc.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=n,sd(e)}Ac=[new id(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(td(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,Kc(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-Wc&&(Kc(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Kc(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(Kc(e,!1),e.strm.avail_out),1)})),new id(4,4,8,4,nd),new id(4,5,16,8,nd),new id(4,6,32,32,nd),new id(4,4,16,16,rd),new id(8,16,32,32,rd),new id(8,16,128,128,rd),new id(8,32,128,256,rd),new id(32,128,258,1024,rd),new id(32,258,258,4096,rd)],qu.deflateInit=function(e,t){return ld(e,t,8,15,8,0)},qu.deflateInit2=ld,qu.deflateReset=sd,qu.deflateResetKeep=od,qu.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?jc:(e.state.gzhead=t,0):jc},qu.deflate=function(e,t){var n,r,i,a;if(!e||!e.state||t>5||t<0)return e?Yc(e,jc):jc;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===qc&&4!==t)return Yc(e,0===e.avail_out?-5:jc);if(r.strm=e,n=r.last_flush,r.last_flush=t,42===r.status)if(2===r.wrap)e.adler=0,Jc(r,31),Jc(r,139),Jc(r,8),r.gzhead?(Jc(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Jc(r,255&r.gzhead.time),Jc(r,r.gzhead.time>>8&255),Jc(r,r.gzhead.time>>16&255),Jc(r,r.gzhead.time>>24&255),Jc(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Jc(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Jc(r,255&r.gzhead.extra.length),Jc(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=Fc(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Jc(r,0),Jc(r,0),Jc(r,0),Jc(r,0),Jc(r,0),Jc(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Jc(r,3),r.status=Hc);else{var o=8+(r.w_bits-8<<4)<<8;o|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(o|=32),o+=31-o%31,r.status=Hc,Qc(r,o),0!==r.strstart&&(Qc(r,e.adler>>>16),Qc(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=Fc(e.adler,r.pending_buf,r.pending-i,i)),Gc(e),i=r.pending,r.pending!==r.pending_buf_size));)Jc(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=Fc(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=Fc(e.adler,r.pending_buf,r.pending-i,i)),Gc(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Jc(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=Fc(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=Fc(e.adler,r.pending_buf,r.pending-i,i)),Gc(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Jc(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=Fc(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.status=Uc)}else r.status=Uc;if(r.status===Uc&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Gc(e),r.pending+2<=r.pending_buf_size&&(Jc(r,255&e.adler),Jc(r,e.adler>>8&255),e.adler=0,r.status=Hc)):r.status=Hc),0!==r.pending){if(Gc(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&Xc(t)<=Xc(n)&&4!==t)return Yc(e,-5);if(r.status===qc&&0!==e.avail_in)return Yc(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&r.status!==qc){var s=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(td(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=zc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Kc(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Kc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Kc(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,r,i,a,o=e.window;;){if(e.lookahead<=Vc){if(td(e),e.lookahead<=Vc&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=o[i=e.strstart-1])===o[++i]&&r===o[++i]&&r===o[++i]){a=e.strstart+Vc;do{}while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&i<a);e.match_length=Vc-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=zc._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=zc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Kc(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Kc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Kc(e,!1),0===e.strm.avail_out)?1:2}(r,t):Ac[r.level].func(r,t);if(3!==s&&4!==s||(r.status=qc),1===s||3===s)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===s&&(1===t?zc._tr_align(r):5!==t&&(zc._tr_stored_block(r,0,0,!1),3===t&&(Zc(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),Gc(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?(Jc(r,255&e.adler),Jc(r,e.adler>>8&255),Jc(r,e.adler>>16&255),Jc(r,e.adler>>24&255),Jc(r,255&e.total_in),Jc(r,e.total_in>>8&255),Jc(r,e.total_in>>16&255),Jc(r,e.total_in>>24&255)):(Qc(r,e.adler>>>16),Qc(r,65535&e.adler)),Gc(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},qu.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==Uc&&t!==Hc&&t!==qc?Yc(e,jc):(e.state=null,t===Hc?Yc(e,-3):0):jc},qu.deflateSetDictionary=function(e,t){var n,r,i,a,o,s,l,u,c=t.length;if(!e||!e.state)return jc;if(2===(a=(n=e.state).wrap)||1===a&&42!==n.status||n.lookahead)return jc;for(1===a&&(e.adler=Dc(e.adler,t,c,0)),n.wrap=0,c>=n.w_size&&(0===a&&(Zc(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=new Pc.Buf8(n.w_size),Pc.arraySet(u,t,c-n.w_size,n.w_size,0),t=u,c=n.w_size),o=e.avail_in,s=e.next_in,l=e.input,e.avail_in=c,e.next_in=0,e.input=t,td(n);n.lookahead>=3;){r=n.strstart,i=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--i);n.strstart=r,n.lookahead=2,td(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=s,e.input=l,e.avail_in=o,n.wrap=a,0},qu.deflateInfo="pako deflate (from Nodeca project)";var ud={},cd=Uu,dd=!0,hd=!0;try{String.fromCharCode.apply(null,[0])}catch(Im){dd=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(Im){hd=!1}for(var fd=new cd.Buf8(256),pd=0;pd<256;pd++)fd[pd]=pd>=252?6:pd>=248?5:pd>=240?4:pd>=224?3:pd>=192?2:1;function vd(e,t){if(t<65534&&(e.subarray&&hd||!e.subarray&&dd))return String.fromCharCode.apply(null,cd.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}fd[254]=fd[254]=1,ud.string2buf=function(e){var t,n,r,i,a,o=e.length,s=0;for(i=0;i<o;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new cd.Buf8(s),a=0,i=0;a<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t},ud.buf2binstring=function(e){return vd(e,e.length)},ud.binstring2buf=function(e){for(var t=new cd.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},ud.buf2string=function(e,t){var n,r,i,a,o=t||e.length,s=new Array(2*o);for(r=0,n=0;n<o;)if((i=e[n++])<128)s[r++]=i;else if((a=fd[i])>4)s[r++]=65533,n+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&n<o;)i=i<<6|63&e[n++],a--;a>1?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return vd(s,r)},ud.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+fd[e[n]]>t?n:t};var gd=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},md=qu,_d=Uu,bd=ud,yd=Rc,wd=gd,xd=Object.prototype.toString;function Sd(e){if(!(this instanceof Sd))return new Sd(e);this.options=_d.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new wd,this.strm.avail_out=0;var n=md.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(yd[n]);if(t.header&&md.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="string"==typeof t.dictionary?bd.string2buf(t.dictionary):"[object ArrayBuffer]"===xd.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=md.deflateSetDictionary(this.strm,r)))throw new Error(yd[n]);this._dict_set=!0}}function kd(e,t){var n=new Sd(t);if(n.push(e,!0),n.err)throw n.msg||yd[n.err];return n.result}Sd.prototype.push=function(e,t){var n,r,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:!0===t?4:0,"string"==typeof e?i.input=bd.string2buf(e):"[object ArrayBuffer]"===xd.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new _d.Buf8(a),i.next_out=0,i.avail_out=a),1!==(n=md.deflate(i,r))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==i.avail_out&&(0!==i.avail_in||4!==r&&2!==r)||("string"===this.options.to?this.onData(bd.buf2binstring(_d.shrinkBuf(i.output,i.next_out))):this.onData(_d.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||0===i.avail_out)&&1!==n);return 4===r?(n=md.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==r||(this.onEnd(0),i.avail_out=0,!0)},Sd.prototype.onData=function(e){this.chunks.push(e)},Sd.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=_d.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Hu.Deflate=Sd,Hu.deflate=kd,Hu.deflateRaw=function(e,t){return(t=t||{}).raw=!0,kd(e,t)},Hu.gzip=function(e,t){return(t=t||{}).gzip=!0,kd(e,t)};var Td={},Ed={},Cd=Uu,Md=15,Od=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Id=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Nd=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Ld=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Ad=Uu,Bd=Nc,Rd=Bc,Pd=function(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,v,g,m,_,b,y,w,x,S,k,T,E;n=e.state,r=e.next_in,T=e.input,i=r+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,d=n.wnext,h=n.window,f=n.hold,p=n.bits,v=n.lencode,g=n.distcode,m=(1<<n.lenbits)-1,_=(1<<n.distbits)-1;e:do{p<15&&(f+=T[r++]<<p,p+=8,f+=T[r++]<<p,p+=8),b=v[f&m];t:for(;;){if(f>>>=y=b>>>24,p-=y,0===(y=b>>>16&255))E[a++]=65535&b;else{if(!(16&y)){if(0==(64&y)){b=v[(65535&b)+(f&(1<<y)-1)];continue t}if(32&y){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&b,(y&=15)&&(p<y&&(f+=T[r++]<<p,p+=8),w+=f&(1<<y)-1,f>>>=y,p-=y),p<15&&(f+=T[r++]<<p,p+=8,f+=T[r++]<<p,p+=8),b=g[f&_];n:for(;;){if(f>>>=y=b>>>24,p-=y,!(16&(y=b>>>16&255))){if(0==(64&y)){b=g[(65535&b)+(f&(1<<y)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(x=65535&b,p<(y&=15)&&(f+=T[r++]<<p,(p+=8)<y&&(f+=T[r++]<<p,p+=8)),(x+=f&(1<<y)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=y,p-=y,x>(y=a-o)){if((y=x-y)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(S=0,k=h,0===d){if(S+=u-y,y<w){w-=y;do{E[a++]=h[S++]}while(--y);S=a-x,k=E}}else if(d<y){if(S+=u+d-y,(y-=d)<w){w-=y;do{E[a++]=h[S++]}while(--y);if(S=0,d<w){w-=y=d;do{E[a++]=h[S++]}while(--y);S=a-x,k=E}}}else if(S+=d-y,y<w){w-=y;do{E[a++]=h[S++]}while(--y);S=a-x,k=E}for(;w>2;)E[a++]=k[S++],E[a++]=k[S++],E[a++]=k[S++],w-=3;w&&(E[a++]=k[S++],w>1&&(E[a++]=k[S++]))}else{S=a-x;do{E[a++]=E[S++],E[a++]=E[S++],E[a++]=E[S++],w-=3}while(w>2);w&&(E[a++]=E[S++],w>1&&(E[a++]=E[S++]))}break}}break}}while(r<i&&a<s);r-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=a<s?s-a+257:257-(a-s),n.hold=f,n.bits=p},zd=function(e,t,n,r,i,a,o,s){var l,u,c,d,h,f,p,v,g,m=s.bits,_=0,b=0,y=0,w=0,x=0,S=0,k=0,T=0,E=0,C=0,M=null,O=0,I=new Cd.Buf16(16),N=new Cd.Buf16(16),L=null,A=0;for(_=0;_<=Md;_++)I[_]=0;for(b=0;b<r;b++)I[t[n+b]]++;for(x=m,w=Md;w>=1&&0===I[w];w--);if(x>w&&(x=w),0===w)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(y=1;y<w&&0===I[y];y++);for(x<y&&(x=y),T=1,_=1;_<=Md;_++)if(T<<=1,(T-=I[_])<0)return-1;if(T>0&&(0===e||1!==w))return-1;for(N[1]=0,_=1;_<Md;_++)N[_+1]=N[_]+I[_];for(b=0;b<r;b++)0!==t[n+b]&&(o[N[t[n+b]]++]=b);if(0===e?(M=L=o,f=19):1===e?(M=Od,O-=257,L=Id,A-=257,f=256):(M=Nd,L=Ld,f=-1),C=0,b=0,_=y,h=a,S=x,k=0,c=-1,d=(E=1<<x)-1,1===e&&E>852||2===e&&E>592)return 1;for(;;){p=_-k,o[b]<f?(v=0,g=o[b]):o[b]>f?(v=L[A+o[b]],g=M[O+o[b]]):(v=96,g=0),l=1<<_-k,y=u=1<<S;do{i[h+(C>>k)+(u-=l)]=p<<24|v<<16|g|0}while(0!==u);for(l=1<<_-1;C&l;)l>>=1;if(0!==l?(C&=l-1,C+=l):C=0,b++,0==--I[_]){if(_===w)break;_=t[n+o[b]]}if(_>x&&(C&d)!==c){for(0===k&&(k=x),h+=y,T=1<<(S=_-k);S+k<w&&!((T-=I[S+k])<=0);)S++,T<<=1;if(E+=1<<S,1===e&&E>852||2===e&&E>592)return 1;i[c=C&d]=x<<24|S<<16|h-a|0}}return 0!==C&&(i[h+C]=_-k<<24|64<<16|0),s.bits=x,0},Dd=-2,Fd=12,$d=30;function jd(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Vd(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Ad.Buf16(320),this.work=new Ad.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Wd(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Ad.Buf32(852),t.distcode=t.distdyn=new Ad.Buf32(592),t.sane=1,t.back=-1,0):Dd}function Ud(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,Wd(e)):Dd}function Hd(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Dd:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Ud(e))):Dd}function qd(e,t){var n,r;return e?(r=new Vd,e.state=r,r.window=null,0!==(n=Hd(e,t))&&(e.state=null),n):Dd}var Yd,Xd,Zd=!0;function Gd(e){if(Zd){var t;for(Yd=new Ad.Buf32(512),Xd=new Ad.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(zd(1,e.lens,0,288,Yd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;zd(2,e.lens,0,32,Xd,0,e.work,{bits:5}),Zd=!1}e.lencode=Yd,e.lenbits=9,e.distcode=Xd,e.distbits=5}function Kd(e,t,n,r){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Ad.Buf8(a.wsize)),r>=a.wsize?(Ad.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>r&&(i=r),Ad.arraySet(a.window,t,n-r,i,a.wnext),(r-=i)?(Ad.arraySet(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}Ed.inflateReset=Ud,Ed.inflateReset2=Hd,Ed.inflateResetKeep=Wd,Ed.inflateInit=function(e){return qd(e,15)},Ed.inflateInit2=qd,Ed.inflate=function(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,v,g,m,_,b,y,w,x,S,k,T,E=0,C=new Ad.Buf8(4),M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Dd;(n=e.state).mode===Fd&&(n.mode=13),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,d=s,h=l,S=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(2&n.wrap&&35615===u){n.check=0,C[0]=255&u,C[1]=u>>>8&255,n.check=Rd(n.check,C,2,0),u=0,c=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=$d;break}if(8!=(15&u)){e.msg="unknown compression method",n.mode=$d;break}if(c-=4,x=8+(15&(u>>>=4)),0===n.wbits)n.wbits=x;else if(x>n.wbits){e.msg="invalid window size",n.mode=$d;break}n.dmax=1<<x,e.adler=n.check=1,n.mode=512&u?10:Fd,u=0,c=0;break;case 2:for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(n.flags=u,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=$d;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=$d;break}n.head&&(n.head.text=u>>8&1),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,n.check=Rd(n.check,C,2,0)),u=0,c=0,n.mode=3;case 3:for(;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.head&&(n.head.time=u),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,C[2]=u>>>16&255,C[3]=u>>>24&255,n.check=Rd(n.check,C,4,0)),u=0,c=0,n.mode=4;case 4:for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.head&&(n.head.xflags=255&u,n.head.os=u>>8),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,n.check=Rd(n.check,C,2,0)),u=0,c=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.length=u,n.head&&(n.head.extra_len=u),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,n.check=Rd(n.check,C,2,0)),u=0,c=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((f=n.length)>s&&(f=s),f&&(n.head&&(x=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Ad.arraySet(n.head.extra,r,a,f,x)),512&n.flags&&(n.check=Rd(n.check,r,f,a)),s-=f,a+=f,n.length-=f),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;f=0;do{x=r[a+f++],n.head&&x&&n.length<65536&&(n.head.name+=String.fromCharCode(x))}while(x&&f<s);if(512&n.flags&&(n.check=Rd(n.check,r,f,a)),s-=f,a+=f,x)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;f=0;do{x=r[a+f++],n.head&&x&&n.length<65536&&(n.head.comment+=String.fromCharCode(x))}while(x&&f<s);if(512&n.flags&&(n.check=Rd(n.check,r,f,a)),s-=f,a+=f,x)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(u!==(65535&n.check)){e.msg="header crc mismatch",n.mode=$d;break}u=0,c=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Fd;break;case 10:for(;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}e.adler=n.check=jd(u),u=0,c=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,2;e.adler=n.check=1,n.mode=Fd;case Fd:if(5===t||6===t)break e;case 13:if(n.last){u>>>=7&c,c-=7&c,n.mode=27;break}for(;c<3;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}switch(n.last=1&u,c-=1,3&(u>>>=1)){case 0:n.mode=14;break;case 1:if(Gd(n),n.mode=20,6===t){u>>>=2,c-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=$d}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=$d;break}if(n.length=65535&u,u=0,c=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(f=n.length){if(f>s&&(f=s),f>l&&(f=l),0===f)break e;Ad.arraySet(i,r,a,f,o),s-=f,a+=f,l-=f,o+=f,n.length-=f;break}n.mode=Fd;break;case 17:for(;c<14;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(n.nlen=257+(31&u),u>>>=5,c-=5,n.ndist=1+(31&u),u>>>=5,c-=5,n.ncode=4+(15&u),u>>>=4,c-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=$d;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;c<3;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.lens[M[n.have++]]=7&u,u>>>=3,c-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,k={bits:n.lenbits},S=zd(0,n.lens,0,19,n.lencode,0,n.work,k),n.lenbits=k.bits,S){e.msg="invalid code lengths set",n.mode=$d;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;m=(E=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,_=65535&E,!((g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(_<16)u>>>=g,c-=g,n.lens[n.have++]=_;else{if(16===_){for(T=g+2;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(u>>>=g,c-=g,0===n.have){e.msg="invalid bit length repeat",n.mode=$d;break}x=n.lens[n.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===_){for(T=g+3;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}c-=g,x=0,f=3+(7&(u>>>=g)),u>>>=3,c-=3}else{for(T=g+7;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}c-=g,x=0,f=11+(127&(u>>>=g)),u>>>=7,c-=7}if(n.have+f>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=$d;break}for(;f--;)n.lens[n.have++]=x}}if(n.mode===$d)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=$d;break}if(n.lenbits=9,k={bits:n.lenbits},S=zd(1,n.lens,0,n.nlen,n.lencode,0,n.work,k),n.lenbits=k.bits,S){e.msg="invalid literal/lengths set",n.mode=$d;break}if(n.distbits=6,n.distcode=n.distdyn,k={bits:n.distbits},S=zd(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,k),n.distbits=k.bits,S){e.msg="invalid distances set",n.mode=$d;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,Pd(e,h),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,n.mode===Fd&&(n.back=-1);break}for(n.back=0;m=(E=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,_=65535&E,!((g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(m&&0==(240&m)){for(b=g,y=m,w=_;m=(E=n.lencode[w+((u&(1<<b+y)-1)>>b)])>>>16&255,_=65535&E,!(b+(g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}u>>>=b,c-=b,n.back+=b}if(u>>>=g,c-=g,n.back+=g,n.length=_,0===m){n.mode=26;break}if(32&m){n.back=-1,n.mode=Fd;break}if(64&m){e.msg="invalid literal/length code",n.mode=$d;break}n.extra=15&m,n.mode=22;case 22:if(n.extra){for(T=n.extra;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;m=(E=n.distcode[u&(1<<n.distbits)-1])>>>16&255,_=65535&E,!((g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(0==(240&m)){for(b=g,y=m,w=_;m=(E=n.distcode[w+((u&(1<<b+y)-1)>>b)])>>>16&255,_=65535&E,!(b+(g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}u>>>=b,c-=b,n.back+=b}if(u>>>=g,c-=g,n.back+=g,64&m){e.msg="invalid distance code",n.mode=$d;break}n.offset=_,n.extra=15&m,n.mode=24;case 24:if(n.extra){for(T=n.extra;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=$d;break}n.mode=25;case 25:if(0===l)break e;if(f=h-l,n.offset>f){if((f=n.offset-f)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=$d;break}f>n.wnext?(f-=n.wnext,p=n.wsize-f):p=n.wnext-f,f>n.length&&(f=n.length),v=n.window}else v=i,p=o-n.offset,f=n.length;f>l&&(f=l),l-=f,n.length-=f;do{i[o++]=v[p++]}while(--f);0===n.length&&(n.mode=21);break;case 26:if(0===l)break e;i[o++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;c<32;){if(0===s)break e;s--,u|=r[a++]<<c,c+=8}if(h-=l,e.total_out+=h,n.total+=h,h&&(e.adler=n.check=n.flags?Rd(n.check,i,h,o-h):Bd(n.check,i,h,o-h)),h=l,(n.flags?u:jd(u))!==n.check){e.msg="incorrect data check",n.mode=$d;break}u=0,c=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(u!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=$d;break}u=0,c=0}n.mode=29;case 29:S=1;break e;case $d:S=-3;break e;case 31:return-4;default:return Dd}return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,(n.wsize||h!==e.avail_out&&n.mode<$d&&(n.mode<27||4!==t))&&Kd(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,n.total+=h,n.wrap&&h&&(e.adler=n.check=n.flags?Rd(n.check,i,h,e.next_out-h):Bd(n.check,i,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Fd?128:0)+(20===n.mode||15===n.mode?256:0),(0===d&&0===h||4===t)&&0===S&&(S=-5),S},Ed.inflateEnd=function(e){if(!e||!e.state)return Dd;var t=e.state;return t.window&&(t.window=null),e.state=null,0},Ed.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?Dd:(n.head=t,t.done=!1,0):Dd},Ed.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?Dd:11===n.mode&&Bd(1,t,r,0)!==n.check?-3:Kd(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):Dd},Ed.inflateInfo="pako inflate (from Nodeca project)";var Jd={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};var Qd=Ed,eh=Uu,th=ud,nh=Jd,rh=Rc,ih=gd,ah=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},oh=Object.prototype.toString;function sh(e){if(!(this instanceof sh))return new sh(e);this.options=eh.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ih,this.strm.avail_out=0;var n=Qd.inflateInit2(this.strm,t.windowBits);if(n!==nh.Z_OK)throw new Error(rh[n]);if(this.header=new ah,Qd.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=th.string2buf(t.dictionary):"[object ArrayBuffer]"===oh.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Qd.inflateSetDictionary(this.strm,t.dictionary))!==nh.Z_OK))throw new Error(rh[n])}function lh(e,t){var n=new sh(t);if(n.push(e,!0),n.err)throw n.msg||rh[n.err];return n.result}sh.prototype.push=function(e,t){var n,r,i,a,o,s=this.strm,l=this.options.chunkSize,u=this.options.dictionary,c=!1;if(this.ended)return!1;r=t===~~t?t:!0===t?nh.Z_FINISH:nh.Z_NO_FLUSH,"string"==typeof e?s.input=th.binstring2buf(e):"[object ArrayBuffer]"===oh.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new eh.Buf8(l),s.next_out=0,s.avail_out=l),(n=Qd.inflate(s,nh.Z_NO_FLUSH))===nh.Z_NEED_DICT&&u&&(n=Qd.inflateSetDictionary(this.strm,u)),n===nh.Z_BUF_ERROR&&!0===c&&(n=nh.Z_OK,c=!1),n!==nh.Z_STREAM_END&&n!==nh.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&n!==nh.Z_STREAM_END&&(0!==s.avail_in||r!==nh.Z_FINISH&&r!==nh.Z_SYNC_FLUSH)||("string"===this.options.to?(i=th.utf8border(s.output,s.next_out),a=s.next_out-i,o=th.buf2string(s.output,i),s.next_out=a,s.avail_out=l-a,a&&eh.arraySet(s.output,s.output,i,a,0),this.onData(o)):this.onData(eh.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(c=!0)}while((s.avail_in>0||0===s.avail_out)&&n!==nh.Z_STREAM_END);return n===nh.Z_STREAM_END&&(r=nh.Z_FINISH),r===nh.Z_FINISH?(n=Qd.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===nh.Z_OK):r!==nh.Z_SYNC_FLUSH||(this.onEnd(nh.Z_OK),s.avail_out=0,!0)},sh.prototype.onData=function(e){this.chunks.push(e)},sh.prototype.onEnd=function(e){e===nh.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=eh.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Td.Inflate=sh,Td.inflate=lh,Td.inflateRaw=function(e,t){return(t=t||{}).raw=!0,lh(e,t)},Td.ungzip=lh;var uh={};(0,Uu.assign)(uh,Hu,Td,Jd);var ch=uh,dh=!1,hh=0,fh=0,ph=960,vh=375;function gh(e,t){var n=Number(e);return isNaN(n)?t:n}var mh=Du(0,((e,t)=>{var n;if(0===hh&&(!function(){var{platform:e,pixelRatio:t,windowWidth:n}=Fu();hh=n,fh=t,dh="ios"===e}(),n=__uniConfig.globalStyle||{},ph=gh(n.rpxCalcMaxDeviceWidth,960),vh=gh(n.rpxCalcBaseDeviceWidth,375)),0===(e=Number(e)))return 0;var r=t||hh,i=e/750*(r=r<=ph?r:vh);return i<0&&(i=-i),0===(i=Math.floor(i+1e-4))&&(i=1!==fh&&dh?.5:1),e<0?-i:i}));new vr,[{name:"id",type:String,required:!0}].concat({name:"componentInstance",type:Object});var _h={};_h.f={}.propertyIsEnumerable;var bh,yh=y,wh=Ie,xh=W,Sh=_h.f,kh=(bh=!1,function(e){for(var t,n=xh(e),r=wh(n),i=r.length,a=0,o=[];i>a;)t=r[a++],yh&&!Sh.call(n,t)||o.push(bh?[t,n[t]]:n[t]);return o});le(le.S,"Object",{values:function(e){return kh(e)}});var Th=function(){if("object"==typeof window)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}});else{var e=function(e){for(var t=window.document,n=i(t);n;)n=i(t=n.ownerDocument);return t}(),t=[],n=null,r=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},o._resetCrossOriginUpdater=function(){n=null,r=null},o.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,o=null;this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(o=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),l(e,"resize",r,!0)),l(t,"scroll",r,!0),o&&o.disconnect()}));var u=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=u){var c=i(t);c&&this._monitorIntersections(c.ownerDocument)}}},o.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var a=i(n);if((n=a&&a.ownerDocument)==t)return!0}return!1}))){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var o=i(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},o.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var i=r.element,o=u(i),s=this._rootContainsTarget(i),l=r.entry,c=e&&s&&this._computeTargetAndRootIntersection(i,o,t),d=null;this._rootContainsTarget(i)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var h=r.entry=new a({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:o,rootBounds:d,intersectionRect:c});l?e&&s?this._hasCrossedThreshold(l,h)&&this._queuedEntries.push(h):l&&l.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(t,i,a){if("none"!=window.getComputedStyle(t).display){for(var o,s,l,c,h,p,v,g,m=i,_=f(t),b=!1;!b&&_;){var y=null,w=1==_.nodeType?window.getComputedStyle(_):{};if("none"==w.display)return null;if(_==this.root||9==_.nodeType)if(b=!0,_==this.root||_==e)n&&!this.root?!r||0==r.width&&0==r.height?(_=null,y=null,m=null):y=r:y=a;else{var x=f(_),S=x&&u(x),k=x&&this._computeTargetAndRootIntersection(x,S,a);S&&k?(_=x,y=d(S,k)):(_=null,m=null)}else{var T=_.ownerDocument;_!=T.body&&_!=T.documentElement&&"visible"!=w.overflow&&(y=u(_))}if(y&&(o=y,s=m,l=void 0,c=void 0,h=void 0,p=void 0,v=void 0,g=void 0,l=Math.max(o.top,s.top),c=Math.min(o.bottom,s.bottom),h=Math.max(o.left,s.left),p=Math.min(o.right,s.right),g=c-l,m=(v=p-h)>=0&&g>=0&&{top:l,bottom:c,left:h,right:p,width:v,height:g}||null),!m)break;_=_&&f(_)}return m}},o.prototype._getRootRect=function(){var t;if(this.root&&!p(this.root))t=u(this.root);else{var n=p(this.root)?this.root:e,r=n.documentElement,i=n.body;t={top:0,left:0,right:r.clientWidth||i.clientWidth,width:r.clientWidth||i.clientWidth,bottom:r.clientHeight||i.clientHeight,height:r.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var a=this.thresholds[i];if(a==n||a==r||a<n!=a<r)return!0}},o.prototype._rootIsInDom=function(){return!this.root||h(e,this.root)},o.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return h(n,t)&&(!this.root||n==t.ownerDocument)},o.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},o.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=a}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}function a(e){this.time=e.time,this.target=e.target,this.rootBounds=c(e.rootBounds),this.boundingClientRect=c(e.boundingClientRect),this.intersectionRect=c(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function o(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function c(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function d(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function h(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function p(e){return e&&9===e.nodeType}};function Eh(e){var{bottom:t,height:n,left:r,right:i,top:a,width:o}=e||{};return{bottom:t,height:n,left:r,right:i,top:a,width:o}}function Ch(e){var{intersectionRatio:t,boundingClientRect:{height:n,width:r},intersectionRect:{height:i,width:a}}=e;return 0!==t?t:i===n?a/r:i/n}var Mh=Object.freeze(Object.defineProperty({__proto__:null,upx2px:mh,navigateTo:function(e){UniViewJSBridge.invokeServiceMethod("navigateTo",e)},navigateBack:function(e){UniViewJSBridge.invokeServiceMethod("navigateBack",e)},reLaunch:function(e){UniViewJSBridge.invokeServiceMethod("reLaunch",e)},redirectTo:function(e){UniViewJSBridge.invokeServiceMethod("redirectTo",e)},switchTab:function(e){UniViewJSBridge.invokeServiceMethod("switchTab",e)}},Symbol.toStringTag,{value:"Module"}));function Oh(e,t){if(t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=function(e,t){var n={};return e.forEach((e=>{var[r,[i,a]]=e;n[t(r)]=[t(i),a]})),n}(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}var Ih=new Set;function Nh(e,t){Ih.add(function(e,t){return e.priority=t,e}(e,t))}function Lh(e,t){var n=window.__wxsModules,r=n&&n[e];return r||(t&&t.__renderjsInstances?t.__renderjsInstances[e]:void 0)}var Ah=Un.length;function Bh(e,t,n){var[r,i,a,o]=Ph(t),s=Rh(e,r);if(un(n)||un(o)){var[l,u]=a.split(".");return zh(s,i,l,u,n||o)}return function(e,t,n){var r=Lh(t,e);if(!r)return console.error(Yn("wxs","module "+n+" not found"));return Gn(r,n.slice(n.indexOf(".")+1))}(s,i,a)}function Rh(e,t){if(e.__ownerId===t)return e;for(var n=e.parentElement;n;){if(n.__ownerId===t)return n;n=n.parentElement}return e}function Ph(e){return JSON.parse(e.slice(Ah))}function zh(e,t,n,r,i){var a=Lh(t,e);if(!a)return console.error(Yn("wxs","module "+n+" not found"));var o=a[r];return dn(o)?o.apply(a,i):console.error(n+"."+r+" is not a function")}function Dh(e,t,n){var r=n;return n=>{try{!function(e,t,n,r){var[i,a,o]=Ph(e),s=Rh(t,i),[l,u]=o.split(".");zh(s,a,l,u,[n,r,Tu(Cu(s)),Tu(Cu(t))])}(t,e.$,n,r)}catch(i){console.error(i)}r=n}}function Fh(e,t){var n=Cu(t);return Object.defineProperty(e,"instance",{get:()=>Tu(n)}),e}function $h(e,t){Object.keys(t).forEach((n=>{!function(e,t){var n=function(e){var t=window.__renderjsModules,n=t&&t[e];if(!n)return console.error(Yn("renderjs",e+" not found"));return n}(t);if(!n)return;var r=e.$;(r.__renderjsInstances||(r.__renderjsInstances={}))[t]=function(e,t){return(t=t.default||t).render=()=>{},Dl(t).mixin({mounted(){this.$ownerInstance=Tu(Cu(e))}}).mount(document.createElement("div"))}(r,n)}(e,t[n])}))}class jh{constructor(e,t,n,r){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=e,this.tag=t,this.pid=n,r&&(this.$=r),this.$wxsProps=new Map;var i=this.$parent=function(e){return rm.get(e)}(n);i&&i.appendUniChild(this)}init(e){ln(e,"t")&&(this.$.textContent=e.t)}setText(e){this.$.textContent=e,this.updateView()}insert(e,t,n){n&&this.init(n,!1);var r=this.$,i=im(e);-1===t?i.appendChild(r):i.insertBefore(r,im(t).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:e}=this;e.parentNode.removeChild(e),this.isUnmounted=!0,am(this.id),function(e){var{__renderjsInstances:t}=e.$;t&&Object.keys(t).forEach((e=>{t[e].$.appContext.app.unmount()}))}(this),this.removeUniChildren(),this.updateView()}appendChild(e){var t=this.$.appendChild(e);return this.updateView(!0),t}insertBefore(e,t){var n=this.$.insertBefore(e,t);return this.updateView(!0),n}appendUniChild(e){this.$children.push(e)}removeUniChild(e){var t=this.$children.indexOf(e);t>=0&&this.$children.splice(t,1)}removeUniParent(){var{$parent:e}=this;e&&(e.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach((e=>e.remove())),this.$children.length=0}setWxsProps(e){Object.keys(e).forEach((t=>{if(0===t.indexOf(fr)){var n=t.replace(fr,""),r=e[n],i=Dh(this,e[t],r);Nh((()=>i(r)),4),this.$wxsProps.set(t,i),delete e[t],delete e[n],this.$hasWxsProps=!0}}))}addWxsEvents(e){Object.keys(e).forEach((t=>{var[n,r]=e[t];this.addWxsEvent(t,n,r)}))}addWxsEvent(e,t,n){}wxsPropsInvoke(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.$hasWxsProps&&this.$wxsProps.get(fr+e);if(r)return Nh((()=>n?Ha((()=>r(t))):r(t)),4),!0}updateView(e){(this.isMounted||e)&&window.dispatchEvent(new CustomEvent("updateview"))}}function Vh(e,t){var{__wxsAddClass:n,__wxsRemoveClass:r}=e;r&&r.length&&(t=t.split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),n&&n.length&&(t=t+" "+n.join(" ")),e.className=t}function Wh(e){return Hh(tu(e,!0))}var Uh=/url\(\s*'?"?([a-zA-Z0-9\.\-\_\/]+\.(jpg|gif|png))"?'?\s*\)/,Hh=e=>{if(hn(e)&&-1!==e.indexOf("url(")){var t=e.match(Uh);t&&3===t.length&&(e=e.replace(t[1],$u(t[1])))}return e},qh=["Webkit"],Yh={};function Xh(e,t){var n=Yh[t];if(n)return n;var r=kn(t);if("filter"!==r&&r in e)return Yh[t]=r;r=Cn(r);for(var i=0;i<qh.length;i++){var a=qh[i]+r;if(a in e)return Yh[t]=a}return t}function Zh(e,t){var n=e.style;if(hn(t))""===t?e.removeAttribute("style"):n.cssText=Wh(t);else for(var r in t)Kh(n,r,t[r]);var{__wxsStyle:i}=e;if(i)for(var a in i)Kh(n,a,i[a])}var Gh=/\s*!important$/;function Kh(e,t,n){if(un(n))n.forEach((n=>Kh(e,t,n)));else if(n=Wh(n),t.startsWith("--"))e.setProperty(t,n);else{var r=Xh(e,t);Gh.test(n)?e.setProperty(En(r),n.replace(Gh,""),"important"):e[r]=n}}var Jh=Hn.length;function Qh(e,t){return hn(t)?(0===t.indexOf(Hn)?t=JSON.parse(t.slice(Jh)):0===t.indexOf(Un)&&(t=Bh(e,t)),t):t}function ef(e){return 0===e.indexOf("--")}function tf(e,t){var n=e.__listeners[t];n&&e.removeEventListener(t,n)}function nf(e,t){if(e.__listeners[t])return!0}function rf(e,t,n){var[r,i]=or(t);-1===n?tf(e,r):nf(e,r)||e.addEventListener(r,e.__listeners[r]=af(e.__id,n,i),i)}function af(e,t,n){var r=t=>{var[r]=Mu(t);r.type=function(e,t){return t&&(t.capture&&(e+="Capture"),t.once&&(e+="Once"),t.passive&&(e+="Passive")),"on".concat(Cn(kn(e)))}(t.type,n),UniViewJSBridge.publishHandler(Au,[[20,e,r]])};return t?Ll(r,of(t)):r}function of(e){var t=[];return e&sr.prevent&&t.push("prevent"),e&sr.self&&t.push("self"),e&sr.stop&&t.push("stop"),t}function sf(e,t,n){var r=n=>{!function(e,t,n){var[r,i,a]=Ph(t),[o,s]=a.split("."),l=Rh(e,r);zh(l,i,o,s,[Fh(n,e),Tu(Cu(l))])}(function(e){return!!e.addWxsEvent}(e)?e.$:e,t,Mu(n)[0])};return n?Ll(r,of(n)):r}function lf(e,t){e._vod="none"===e.style.display?"":e.style.display,e.style.display=t?e._vod:"none"}class uf extends jh{constructor(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];super(e,t.tagName,n,t),this.$props=sa({}),this.$.__id=e,this.$.__listeners=Object.create(null),this.$propNames=a,this._update=this.update.bind(this),this.init(i),this.insert(n,r)}init(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ln(e,"a")&&this.setAttrs(e.a),ln(e,"s")&&this.setAttr("style",e.s),ln(e,"e")&&this.addEvents(e.e),ln(e,"w")&&this.addWxsEvents(e.w),super.init(e),t&&(go(this.$props,(()=>{Nh(this._update,1)}),{flush:"sync"}),this.update(!0))}setAttrs(e){this.setWxsProps(e),Object.keys(e).forEach((t=>{this.setAttr(t,e[t])}))}addEvents(e){Object.keys(e).forEach((t=>{this.addEvent(t,e[t])}))}addWxsEvent(e,t,n){!function(e,t,n,r){var[i,a]=or(t);-1===r?tf(e,i):nf(e,i)||e.addEventListener(i,e.__listeners[i]=sf(e,n,r),a)}(this.$,e,t,n)}addEvent(e,t){rf(this.$,e,t)}removeEvent(e){rf(this.$,e,-1)}setAttr(e,t){e===lr?Vh(this.$,t):e===ur?Zh(this.$,t):e===cr?lf(this.$,t):e===dr?this.$.__ownerId=t:e===hr?Nh((()=>$h(this,t)),3):"innerHTML"===e?this.$.innerHTML=t:"textContent"===e?this.setText(t):this.setAttribute(e,t),this.updateView()}removeAttr(e){e===lr?Vh(this.$,""):e===ur?Zh(this.$,""):this.removeAttribute(e),this.updateView()}setAttribute(e,t){t=Qh(this.$,t),-1!==this.$propNames.indexOf(e)?this.$props[e]=t:ef(e)?this.$.style.setProperty(e,t):this.wxsPropsInvoke(e,t)||this.$.setAttribute(e,t)}removeAttribute(e){-1!==this.$propNames.indexOf(e)?delete this.$props[e]:ef(e)?this.$.style.removeProperty(e):this.$.removeAttribute(e)}update(){}}function cf(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>"".concat(uni.upx2px(parseFloat(t)),"px"))):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function df(e){var t=e.animation;if(t&&t.actions&&t.actions.length){var n=0,r=t.actions,i=t.actions.length;setTimeout((()=>{a()}),0)}function a(){var t=r[n],o=t.option.transition,s=function(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],r=["opacity","background-color"],i=["width","height","left","right","top","bottom"],a=e.animates,o=e.option,s=o.transition,l={},u=[];return a.forEach((e=>{var a=e.type,o=[...e.args];if(t.concat(n).includes(a))a.startsWith("rotate")||a.startsWith("skew")?o=o.map((e=>parseFloat(e)+"deg")):a.startsWith("translate")&&(o=o.map(cf)),n.indexOf(a)>=0&&(o.length=1),u.push("".concat(a,"(").concat(o.join(","),")"));else if(r.concat(i).includes(o[0])){a=o[0];var s=o[1];l[a]=i.includes(a)?cf(s):s}})),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>"".concat(function(e){return e.replace(/[A-Z]/g,(e=>"-".concat(e.toLowerCase()))).replace("webkit","-webkit")}(e)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms"))).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),(n+=1)<i&&setTimeout(a,o.duration+o.delay)}}var hf={props:["animation"],watch:{animation:{deep:!0,handler(){df(this)}}},mounted(){df(this)}},ff=e=>{e.__reserved=!0;var{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(hf),pf(e)},pf=e=>(e.__reserved=!0,e.compatConfig={MODE:3},function(e){return dn(e)?{setup:e,name:e.name}:e}(e)),vf={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function gf(e){var t,n,r=xa(!1),i=!1;function a(){requestAnimationFrame((()=>{clearTimeout(n),n=setTimeout((()=>{r.value=!1}),parseInt(e.hoverStayTime))}))}return{hovering:r,binding:{onTouchstartPassive:function(n){n._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(n.touches.length>1||(e.hoverStopPropagation&&(n._hoverPropagationStopped=!0),i=!0,t=setTimeout((()=>{r.value=!0,i||a()}),parseInt(e.hoverStartTime))))},onTouchend:function(){i=!1,r.value&&a()},onTouchcancel:function(){i=!1,r.value=!1,clearTimeout(t)}}}}function mf(e,t){return hn(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function _f(e){return e.__wwe=!0,e}function bf(e,t){return(n,r,i)=>{e.value&&t(n,function(e,t,n,r){var i=tr(n);return{type:r.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:r}}(n,r,e.value,i||{}))}}var yf=Ql("uf"),wf=ff({name:"Form",emits:["submit","reset"],setup(e,t){var n,r,{slots:i,emit:a}=t,o=xa(null);return n=bf(o,a),r=[],ho(yf,{addField(e){r.push(e)},removeField(e){r.splice(r.indexOf(e),1)},submit(e){n("submit",e,{value:r.reduce(((e,t)=>{if(t.submit){var[n,r]=t.submit();n&&(e[n]=r)}return e}),Object.create(null))})},reset(e){r.forEach((e=>e.reset&&e.reset())),n("reset",e)}}),()=>Ps("uni-form",{ref:o},[Ps("span",null,[i.default&&i.default()])],512)}});var xf={for:{type:String,default:""}},Sf=Ql("ul");var kf=ff({name:"Label",props:xf,setup(e,t){var{slots:n}=t,r=ou(),i=function(){var e=[];return ho(Sf,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),a=il((()=>e.for||n.default&&n.default.length)),o=_f((t=>{var n=t.target,a=/^uni-(checkbox|radio|switch)-/.test(n.className);a||(a=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),a||(e.for?UniViewJSBridge.emit("uni-label-click-"+r+"-"+e.for,t,!0):i.length&&i[0](t,!0))}));return()=>Ps("uni-label",{class:{"uni-label-pointer":a},onClick:o},[n.default&&n.default()],10,["onClick"])}});function Tf(e,t){Ef(e.id,t),go((()=>e.id),((e,n)=>{Cf(n,t,!0),Ef(e,t,!0)})),Bo((()=>{Cf(e.id,t)}))}function Ef(e,t,n){var r=ou();n&&!e||bn(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&UniViewJSBridge.on("uni-".concat(i,"-").concat(r,"-").concat(e),t[i]):0===i.indexOf("uni-")?UniViewJSBridge.on(i,t[i]):e&&UniViewJSBridge.on("uni-".concat(i,"-").concat(r,"-").concat(e),t[i])}))}function Cf(e,t,n){var r=ou();n&&!e||bn(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&UniViewJSBridge.off("uni-".concat(i,"-").concat(r,"-").concat(e),t[i]):0===i.indexOf("uni-")?UniViewJSBridge.off(i,t[i]):e&&UniViewJSBridge.off("uni-".concat(i,"-").concat(r,"-").concat(e),t[i])}))}var Mf=ff({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,t){var{slots:n}=t,r=xa(null);Pr();var i=fo(yf,!1),{hovering:a,binding:o}=gf(e),{t:s}=Ar(),l=_f(((t,n)=>{if(e.disabled)return t.stopImmediatePropagation();n&&r.value.click();var a=e.formType;if(a){if(!i)return;"submit"===a?i.submit(t):"reset"===a&&i.reset(t)}else{var o,l,u;"feedback"===e.openType&&(o=s("uni.button.feedback.title"),l=s("uni.button.feedback.send"),(u=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:o,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:l,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){u.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}})).show("slide-in-right"))}})),u=fo(Sf,!1);return u&&(u.addHandler(l),Ao((()=>{u.removeHandler(l)}))),Tf(e,{"label-click":l}),()=>{var t=e.hoverClass,i=mf(e,"disabled"),s=mf(e,"loading"),u=mf(e,"plain"),c=t&&"none"!==t;return Ps("uni-button",Ws({ref:r,onClick:l,class:c&&a.value?t:""},c&&o,i,s,u),[n.default&&n.default()],16,["onClick"])}}});var Of=ff({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:n}=t,r=xa(null),i=function(e){return()=>{var{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(r),a=function(e,t,n){var r=sa({width:-1,height:-1});return go((()=>an({},r)),(e=>t("resize",e))),()=>{var t=e.value;r.width=t.offsetWidth,r.height=t.offsetHeight,n()}}(r,n,i);return function(e,t,n,r){So(r),Io((()=>{t.initial&&Ha(n);var i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||r()}))}(r,e,a,i),()=>Ps("uni-resize-sensor",{ref:r,onAnimationstartOnce:a},[Ps("div",{onScroll:a},[Ps("div",null,null)],40,["onScroll"]),Ps("div",{onScroll:a},[Ps("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});var If=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function Nf(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.width=e.offsetWidth*(t?If:1),e.height=e.offsetHeight*(t?If:1),e.getContext("2d").__hidpi__=t}var Lf=!1;var Af,Bf=Zn((()=>function(){if(!Lf){Lf=!0;var e,t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=(e=t.drawImage,function(t,n,r,i,a,o,s,l,u,c){if(!this.__hidpi__)return e.apply(this,arguments);n*=If,r*=If,i*=If,a*=If,o*=If,s*=If,l=c?l*If:l,u=c?u*If:u,e.call(this,t,n,r,i,a,o,s,l,u)}),1!==If&&(function(e,t){for(var n in e)ln(e,n)&&t(e[n],n)}({fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},(function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);var n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*If}));else if(Array.isArray(e))for(var r=0;r<e.length;r++)n[e[r]]*=If;return t.apply(this,n)}}(t[n])})),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=If,e.apply(this,arguments),this.lineWidth/=If}}(t.stroke),t.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=If,t[2]*=If,t[3]&&"number"==typeof t[3]&&(t[3]*=If);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*If+n})),e.apply(this,t),this.font=n}}(t.fillText),t.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=If,t[2]*=If,t[3]&&"number"==typeof t[3]&&(t[3]*=If);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*If+n})),e.apply(this,t),this.font=n}}(t.strokeText),t.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(If,If),e.apply(this,arguments),this.scale(1/If,1/If)}}(t.drawImage))}}()));function Rf(e){return e?$u(e):e}function Pf(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function zf(e,t){var n=e;return Array.from(t).map((e=>{var t=n.getBoundingClientRect();return{identifier:e.identifier,x:e.clientX-t.left,y:e.clientY-t.top}}))}function Df(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Af||(Af=document.createElement("canvas")),Af.width=e,Af.height=t,Af}var Ff=ff({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,t){var{emit:n,slots:r}=t;Bf();var i=xa(null),a=xa(null),o=xa(!1),s=function(e){return(t,n)=>{e(t,Iu(n))}}(n),{$attrs:l,$excludeAttrs:u,$listeners:c}=nv({excludeListeners:!0}),{_listeners:d}=function(e,t,n){var r=il((()=>{var r=["onTouchstart","onTouchmove","onTouchend"],i=t.value,a=an({},(()=>{var e={};for(var t in i)if(Object.prototype.hasOwnProperty.call(i,t)){var n=i[t];e[t]=n}return e})());return r.forEach((t=>{var r=[];a[t]&&r.push(_f((e=>{n(t.replace("on","").toLocaleLowerCase(),an({},(()=>{var t={};for(var n in e)t[n]=e[n];return t})(),{touches:zf(e.currentTarget,e.touches),changedTouches:zf(e.currentTarget,e.changedTouches)}))}))),e.disableScroll&&"onTouchmove"===t&&r.push(Gl),a[t]=r})),a}));return{_listeners:r}}(e,c,s),{_handleSubscribe:h,_resize:f}=function(e,t,n){var r=[],i={},a=il((()=>e.hidpi?If:1));function o(n){var r=t.value;if(!n||r.width!==Math.floor(n.width*a.value)||r.height!==Math.floor(n.height*a.value))if(r.width>0&&r.height>0){var i=r.getContext("2d"),o=i.getImageData(0,0,r.width,r.height);Nf(r,e.hidpi),i.putImageData(o,0,0)}else Nf(r,e.hidpi)}function s(e,a){var{actions:o,reserve:s}=e;if(o)if(n.value)r.push([o,s]);else{var c=t.value,d=c.getContext("2d");s||(d.fillStyle="#000000",d.strokeStyle="#000000",d.shadowColor="#000000",d.shadowBlur=0,d.shadowOffsetX=0,d.shadowOffsetY=0,d.setTransform(1,0,0,1,0,0),d.clearRect(0,0,c.width,c.height)),l(o);for(var h=function(e){var t=o[e],n=t.method,r=t.data,s=r[0];if(/^set/.test(n)&&"setTransform"!==n){var l,c=n[3].toLowerCase()+n.slice(4);if("fillStyle"===c||"strokeStyle"===c){if("normal"===s)l=Pf(r[1]);else if("linear"===s){var h=d.createLinearGradient(...r[1]);r[2].forEach((function(e){var t=e[0],n=Pf(e[1]);h.addColorStop(t,n)})),l=h}else if("radial"===s){var f=r[1],p=f[0],v=f[1],g=f[2],m=d.createRadialGradient(p,v,0,p,v,g);r[2].forEach((function(e){var t=e[0],n=Pf(e[1]);m.addColorStop(t,n)})),l=m}else if("pattern"===s){return u(r[1],o.slice(e+1),a,(function(e){e&&(d[c]=d.createPattern(e,r[2]))}))?"continue":"break"}d[c]=l}else if("globalAlpha"===c)d[c]=Number(s)/255;else if("shadow"===c){var _=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];r.forEach((function(e,t){d[_[t]]="shadowColor"===_[t]?Pf(e):e}))}else if("fontSize"===c){var b=d.__font__||d.font;d.__font__=d.font=b.replace(/\d+\.?\d*px/,s+"px")}else"lineDash"===c?(d.setLineDash(s),d.lineDashOffset=r[1]||0):"textBaseline"===c?("normal"===s&&(r[0]="alphabetic"),d[c]=s):"font"===c?d.__font__=d.font=s:d[c]=s}else if("fillPath"===n||"strokePath"===n)n=n.replace(/Path/,""),d.beginPath(),r.forEach((function(e){d[e.method].apply(d,e.data)})),d[n]();else if("fillText"===n)d.fillText.apply(d,r);else if("drawImage"===n){if("break"===function(){var t=[...r],n=t[0],s=t.slice(1);if(i=i||{},!u(n,o.slice(e+1),a,(function(e){e&&d.drawImage.apply(d,[e].concat([...s.slice(4,8)],[...s.slice(0,4)]))})))return"break"}())return"break"}else"clip"===n?(r.forEach((function(e){d[e.method].apply(d,e.data)})),d.clip()):d[n].apply(d,r)},f=0;f<o.length;f++){var p=h(f);if("break"===p)break}n.value||a({errMsg:"drawCanvas:ok"})}}function l(e){e.forEach((function(e){var t=e.method,n=e.data,r="";function a(){var e=i[r]=new Image;if(e.onload=function(){e.ready=!0},"Google Inc."===navigator.vendor)return 0===r.indexOf("file://")&&(e.crossOrigin="anonymous"),void(e.src=r);Wu(r).then((t=>{e.src=t})).catch((()=>{e.src=r}))}"drawImage"===t?(r=Rf(r=n[0]),n[0]=r):"setFillStyle"===t&&"pattern"===n[0]&&(r=Rf(r=n[1]),n[1]=r),r&&!i[r]&&a()}))}function u(e,t,a,o){var l=i[e];return l.ready?(o(l),!0):(r.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,o(l),n.value=!1;var e=r.slice(0);r=[];for(var t=e.shift();t;)s({actions:t[0],reserve:t[1]},a),t=e.shift()},!1)}function c(e,n){var r,{x:i=0,y:o=0,width:s,height:l,destWidth:u,destHeight:c,hidpi:d=!0,dataType:h,quality:f=1,type:p="png"}=e,v=t.value,g=v.offsetWidth-i;s=s?Math.min(s,g):g;var m=v.offsetHeight-o;l=l?Math.min(l,m):m,d?(u=s,c=l):u||c?u?c||(c=Math.round(l/s*u)):u=Math.round(s/l*c):(u=Math.round(s*a.value),c=Math.round(l*a.value));var _,b=Df(u,c),y=b.getContext("2d");"jpeg"!==p&&"jpg"!==p||(p="jpeg",y.fillStyle="#fff",y.fillRect(0,0,u,c)),y.__hidpi__=!0,y.drawImageByCanvas(v,i,o,s,l,0,0,u,c,!1);try{var w;if("base64"===h)r=b.toDataURL("image/".concat(p),f);else{var x=y.getImageData(0,0,u,c);r=ch.deflateRaw(x.data,{to:"string"}),w=!0}_={data:r,compressed:w,width:u,height:c}}catch(S){_={errMsg:"canvasGetImageData:fail ".concat(S)}}if(b.height=b.width=0,y.__hidpi__=!1,!n)return _;n(_)}function d(e,n){var{data:r,x:i,y:a,width:o,height:s,compressed:l}=e;try{l&&(r=ch.inflateRaw(r)),s||(s=Math.round(r.length/4/o));var u=Df(o,s);u.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(r),o,s),0,0),t.value.getContext("2d").drawImage(u,i,a,o,s),u.height=u.width=0}catch(c){return void n({errMsg:"canvasPutImageData:fail"})}n({errMsg:"canvasPutImageData:ok"})}function h(e,t){var{x:n=0,y:r=0,width:i,height:a,destWidth:o,destHeight:s,fileType:l,quality:u,dirname:d}=e,h=c({x:n,y:r,width:i,height:a,destWidth:o,destHeight:s,hidpi:!1,dataType:"base64",type:l,quality:u});h.data&&h.data.length?function(e,t,n){var r="".concat(Date.now()).concat(Vu++),i=e.split(","),a=i[0],o=i[1],s=(a.match(/data:image\/(\S+?);/)||["","png"])[1].replace("jpeg","jpg"),l="".concat(r,".").concat(s),u="".concat(t,"/").concat(l),c=t.indexOf("/"),d=t.substring(0,c),h=t.substring(c+1);plus.io.resolveLocalFileSystemURL(d,(function(e){e.getDirectory(h,{create:!0,exclusive:!1},(function(e){e.getFile(l,{create:!0,exclusive:!1},(function(e){e.createWriter((function(e){e.onwrite=function(){n(null,u)},e.onerror=n,e.seek(0),e.writeAsBinary(o)}),n)}),n)}),n)}),n)}(h.data,d,((e,n)=>{var r="toTempFilePath:".concat(e?"fail":"ok");e&&(r+=" ".concat(e.message)),t({errMsg:r,tempFilePath:n})})):t({errMsg:h.errMsg.replace("canvasPutImageData","toTempFilePath")})}var f={actionsChanged:s,getImageData:c,putImageData:d,toTempFilePath:h};function p(e,t,n){var r=f[e];0!==e.indexOf("_")&&dn(r)&&r(t,n)}return an(f,{_resize:o,_handleSubscribe:p})}(e,i,o);return vg(h,mg(e.canvasId),!0),Io((()=>{f()})),()=>{var{canvasId:t,disableScroll:n}=e;return Ps("uni-canvas",Ws({"canvas-id":t,"disable-scroll":n},l.value,u.value,d.value),[Ps("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),Ps("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[r.default&&r.default()]),Ps(Of,{ref:a,onResize:f},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});var $f=Ql("ucg"),jf=ff({name:"CheckboxGroup",props:{name:{type:String,default:""}},emits:["change"],setup(e,t){var{emit:n,slots:r}=t,i=xa(null);return function(e,t){var n=[],r=()=>n.reduce(((e,t)=>(t.value.checkboxChecked&&e.push(t.value.value),e)),new Array);ho($f,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},checkboxChange(e){t("change",e,{value:r()})}});var i=fo(yf,!1);i&&i.addField({submit:()=>{var t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=r()),t}})}(e,bf(i,n)),()=>Ps("uni-checkbox-group",{ref:i},[r.default&&r.default()],512)}});var Vf,Wf,Uf,Hf,qf,Yf,Xf=ff({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},setup(e,t){var{slots:n}=t,r=xa(e.checked),i=xa(e.value);go([()=>e.checked,()=>e.value],(e=>{var[t,n]=e;r.value=t,i.value=n}));var{uniCheckGroup:a,uniLabel:o}=function(e,t,n){var r=il((()=>({checkboxChecked:Boolean(e.value),value:t.value}))),i={reset:n},a=fo($f,!1);a&&a.addField(r);var o=fo(yf,!1);o&&o.addField(i);var s=fo(Sf,!1);return Ao((()=>{a&&a.removeField(r),o&&o.removeField(i)})),{uniCheckGroup:a,uniForm:o,uniLabel:s}}(r,i,(()=>{r.value=!1})),s=t=>{e.disabled||(r.value=!r.value,a&&a.checkboxChange(t))};return o&&(o.addHandler(s),Ao((()=>{o.removeHandler(s)}))),Tf(e,{"label-click":s}),()=>{var t=mf(e,"disabled");return Ps("uni-checkbox",Ws(t,{onClick:s}),[Ps("div",{class:"uni-checkbox-wrapper"},[Ps("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[r.value?au(iu,e.color,22):""],2),n.default&&n.default()])],16,["onClick"])}}});function Zf(){}function Gf(e,t,n){ir((()=>{var r="adjustResize",i="adjustPan",a=plus.webview.currentWebview(),o=Yf||a.getStyle()||{},s={mode:n||o.softinputMode===r?r:e.adjustPosition?i:"nothing",position:{top:0,height:0}};if(s.mode===i){var l=t.getBoundingClientRect();s.position.top=l.top,s.position.height=l.height+(Number(e.cursorSpacing)||0)}a.setSoftinputTemporary(s)}))}ir((()=>{Wf="Android"===plus.os.name,Uf=plus.os.version||""})),document.addEventListener("keyboardchange",(function(e){Hf=e.height,qf&&qf()}),!1);var Kf={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},Jf=["keyboardheightchange"];function Qf(e,t,n){var r={};function i(t){var i,a=il((()=>0===String(navigator.vendor).indexOf("Apple"))),o=()=>{n("keyboardheightchange",{},{height:Hf,duration:.25}),i&&0===Hf&&Gf(e,t),e.autoBlur&&i&&0===Hf&&(Wf||parseInt(Uf)>=13)&&document.activeElement.blur()};t.addEventListener("focus",(()=>{i=!0,clearTimeout(Vf),document.addEventListener("click",Zf,!1),qf=o,Hf&&n("keyboardheightchange",{},{height:Hf,duration:0}),function(e,t){"auto"!==e.showConfirmBar?ir((()=>{var n=plus.webview.currentWebview(),{softinputNavBar:r}=n.getStyle()||{};"none"!==r!==e.showConfirmBar?(t.softinputNavBar=r||"auto",n.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})):delete t.softinputNavBar}(e,r),Gf(e,t)})),Wf&&t.addEventListener("click",(()=>{e.disabled||e.readOnly||!i||0!==Hf||Gf(e,t)})),Wf||(parseInt(Uf)<12&&t.addEventListener("touchstart",(()=>{e.disabled||e.readOnly||i||Gf(e,t)})),parseFloat(Uf)>=14.6&&!Yf&&ir((()=>{var e=plus.webview.currentWebview();Yf=e.getStyle()||{}})));var s=()=>{document.removeEventListener("click",Zf,!1),qf=null,Hf&&n("keyboardheightchange",{},{height:0,duration:0}),function(e){var t=e.softinputNavBar;t&&ir((()=>{plus.webview.currentWebview().setStyle({softinputNavBar:t})}))}(r),Wf&&(Vf=setTimeout((()=>{Gf(e,t,!0)}),300)),a.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};t.addEventListener("blur",(()=>{a.value&&t.blur(),i=!1,s()}))}go((()=>t.value),(e=>i(e)))}var ep=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,tp=/^<\/([-A-Za-z0-9_]+)[^>]*>/,np=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,rp=cp("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),ip=cp("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"),ap=cp("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"),op=cp("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),sp=cp("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),lp=cp("script,style");function up(e,t){var n,r,i,a=[],o=e;for(a.last=function(){return this[this.length-1]};e;){if(r=!0,a.last()&&lp[a.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+a.last()+"[^>]*>"),(function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""})),u("",a.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),r=!1):0==e.indexOf("</")?(i=e.match(tp))&&(e=e.substring(i[0].length),i[0].replace(tp,u),r=!1):0==e.indexOf("<")&&(i=e.match(ep))&&(e=e.substring(i[0].length),i[0].replace(ep,l),r=!1),r){var s=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(s)}if(e==o)throw"Parse Error: "+e;o=e}function l(e,n,r,i){if(n=n.toLowerCase(),ip[n])for(;a.last()&&ap[a.last()];)u("",a.last());if(op[n]&&a.last()==n&&u("",n),(i=rp[n]||!!i)||a.push(n),t.start){var o=[];r.replace(np,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:sp[t]?t:"";o.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,o,i)}}function u(e,n){if(n)for(r=a.length-1;r>=0&&a[r]!=n;r--);else var r=0;if(r>=0){for(var i=a.length-1;i>=r;i--)t.end&&t.end(a[i]);a.length=r}}u()}function cp(e){for(var t={},n=e.split(","),r=0;r<n.length;r++)t[n[r]]=!0;return t}var dp={};function hp(e,t,n){if(hn(e)?window[e]:e)n();else{var r=dp[t];if(!r){r=dp[t]=[];var i=document.createElement("script");i.src=t,document.body.appendChild(i),i.onload=function(){r.forEach((e=>e())),delete dp[t]}}r.push(n)}}function fp(e){var t=e.import("blots/block/embed");class n extends t{}return n.blotName="divider",n.tagName="HR",{"formats/divider":n}}function pp(e){var t=e.import("blots/inline");class n extends t{}return n.blotName="ins",n.tagName="INS",{"formats/ins":n}}function vp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.BLOCK,whitelist:["left","right","center","justify"]};return{"formats/align":new n.Style("align","text-align",r)}}function gp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.BLOCK,whitelist:["rtl"]};return{"formats/direction":new n.Style("direction","direction",r)}}function mp(e){var t=e.import("parchment"),n=e.import("blots/container"),r=e.import("formats/list/item");class i extends n{static create(e){var t="ordered"===e?"OL":"UL",n=super.create(t);return"checked"!==e&&"unchecked"!==e||n.setAttribute("data-checked","checked"===e),n}static formats(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}constructor(e){super(e);e.addEventListener("click",(n=>{if(n.target.parentNode===e){var r=this.statics.formats(e),i=t.find(n.target);"checked"===r?i.format("list","unchecked"):"unchecked"===r&&i.format("list","checked")}}))}format(e,t){this.children.length>0&&this.children.tail.format(e,t)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(e,t){if(e instanceof r)super.insertBefore(e,t);else{var n=null==t?this.length():t.offset(this),i=this.split(n);i.parent.insertBefore(e,i)}}optimize(e){super.optimize(e);var t=this.next;null!=t&&t.prev===this&&t.statics.blotName===this.statics.blotName&&t.domNode.tagName===this.domNode.tagName&&t.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(t.moveChildren(this),t.remove())}replace(e){if(e.statics.blotName!==this.statics.blotName){var n=t.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}super.replace(e)}}return i.blotName="list",i.scope=t.Scope.BLOCK_BLOT,i.tagName=["OL","UL"],i.defaultChild="list-item",i.allowedChildren=[r],{"formats/list":i}}function _p(e){var{Scope:t}=e.import("parchment");return{"formats/backgroundColor":new(e.import("formats/background").constructor)("backgroundColor","background-color",{scope:t.INLINE})}}function bp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.BLOCK},i={};return["margin","marginTop","marginBottom","marginLeft","marginRight"].concat(["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"]).forEach((e=>{i["formats/".concat(e)]=new n.Style(e,En(e),r)})),i}function yp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.INLINE},i={};return["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"].forEach((e=>{i["formats/".concat(e)]=new n.Style(e,En(e),r)})),i}function wp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],i={};return r.forEach((e=>{var{name:t,scope:r}=e;i["formats/".concat(t)]=new n.Style(t,En(t),{scope:r})})),i}function xp(e){var t=e.import("formats/image"),n=["alt","height","width","data-custom","class","data-local"];t.sanitize=e=>e?$u(e):e,t.formats=function(e){return n.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})};var r=t.prototype.format;t.prototype.format=function(e,t){n.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):r.call(this,e,t)}}function Sp(e){var t=e.import("formats/link");t.sanitize=e=>{var n=document.createElement("a");n.href=e;var r=n.href.slice(0,n.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(r)>-1?e:t.SANITIZED_URL}}function kp(e,t,n){var r,i,a,o=!1;function s(){return{html:a.root.innerHTML,text:a.getText(),delta:a.getContents()}}function l(e){var t="data-placeholder",n=a.root;n.getAttribute(t)!==e&&n.setAttribute(t,e)}go((()=>e.readOnly),(e=>{r&&(a.enable(!e),e||a.blur())})),go((()=>e.placeholder),(e=>{r&&l(e)}));var u={};function c(e){var t=e?a.getFormat(e):{},r=Object.keys(t);(r.length!==Object.keys(u).length||r.find((e=>t[e]!==u[e])))&&(u=t,n("statuschange",{},t))}function d(u){var d=window.Quill;!function(e){var t={divider:fp,ins:pp,align:vp,direction:gp,list:mp,background:_p,box:bp,font:yp,text:wp,image:xp,link:Sp},n={};Object.values(t).forEach((t=>an(n,t(e)))),e.register(n,!0)}(d);var h={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};u.length&&(d.register("modules/ImageResize",window.ImageResize.default),h.modules={ImageResize:{modules:u}});var f=t.value,p=(a=new d(f,h)).root;["focus","blur","input"].forEach((t=>{p.addEventListener(t,(r=>{var i=s();if("input"===t){if("ios"===Fu().platform){var a=(i.html.match(/<span [\s\S]*>([\s\S]*)<\/span>/)||[])[1];l(a&&a.replace(/\s/g,"")?"":e.placeholder)}r.stopPropagation()}else n(t,r,i)}))})),a.on("text-change",(()=>{o||n("input",{},s())})),a.on("selection-change",c),a.on("scroll-optimize",(()=>{c(a.selection.getRange()[0])})),a.clipboard.addMatcher(Node.ELEMENT_NODE,((e,t)=>(i||t.ops&&(t.ops=t.ops.filter((e=>{var{insert:t}=e;return hn(t)})).map((e=>{var{insert:t}=e;return{insert:t}}))),t))),r=!0,n("ready",{},{})}Io((()=>{var t=[];e.showImgSize&&t.push("DisplaySize"),e.showImgToolbar&&t.push("Toolbar"),e.showImgResize&&t.push("Resize");hp(window.Quill,"./__uniappquill.js",(()=>{if(t.length){hp(window.ImageResize,"./__uniappquillimageresize.js",(()=>{d(t)}))}else d(t)}))})),vg(((e,t,n)=>{var l,u,d,{options:h,callbackId:f}=t;if(r){var p=window.Quill;switch(e){case"format":var{name:v="",value:g=!1}=h;u=a.getSelection(!0);var m=a.getFormat(u)[v]||!1;if(["bold","italic","underline","strike","ins"].includes(v))g=!m;else if("direction"===v){g=("rtl"!==g||!m)&&g;var _=a.getFormat(u).align;"rtl"!==g||_?g||"right"!==_||a.format("align",!1,"user"):a.format("align","right","user")}else if("indent"===v){g="+1"===g,"rtl"===a.getFormat(u).direction&&(g=!g),g=g?"+1":"-1"}else"list"===v&&(g="check"===g?"unchecked":g,m="checked"===m?"unchecked":m),g=m&&m!==(g||!1)||!m&&g?g:!m;a.format(v,g,"user");break;case"insertDivider":u=a.getSelection(!0),a.insertText(u.index,$n,"user"),a.insertEmbed(u.index+1,"divider",!0,"user"),a.setSelection(u.index+2,0,"silent");break;case"insertImage":u=a.getSelection(!0);var{src:b="",alt:y="",width:w="",height:x="",extClass:S="",data:k={}}=h,T=$u(b);a.insertEmbed(u.index,"image",T,"user");var E=!!/^(file|blob):/.test(T)&&T;o=!0,a.formatText(u.index,1,"data-local",E),a.formatText(u.index,1,"alt",y),a.formatText(u.index,1,"width",w),a.formatText(u.index,1,"height",x),a.formatText(u.index,1,"class",S),o=!1,a.formatText(u.index,1,"data-custom",Object.keys(k).map((e=>"".concat(e,"=").concat(k[e]))).join("&")),a.setSelection(u.index+1,0,"silent");break;case"insertText":u=a.getSelection(!0);var{text:C=""}=h;a.insertText(u.index,C,"user"),a.setSelection(u.index+C.length,0,"silent");break;case"setContents":var{delta:M,html:O}=h;"object"==typeof M?a.setContents(M,"silent"):hn(O)?a.setContents(function(e){var t,n=["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"],r="";up(e,{start:function(e,i,a){if(n.includes(e)){t=!1;var o=i.map((e=>{var{name:t,value:n}=e;return"".concat(t,'="').concat(n,'"')})).join(" "),s="<".concat(e," ").concat(o," ").concat(a?"/":"",">");r+=s}else t=!a},end:function(e){t||(r+="</".concat(e,">"))},chars:function(e){t||(r+=e)}}),i=!0;var o=a.clipboard.convert(r);return i=!1,o}(O),"silent"):d="contents is missing";break;case"getContents":l=s();break;case"clear":a.setText("");break;case"removeFormat":u=a.getSelection(!0);var I=p.import("parchment");u.length?a.removeFormat(u.index,u.length,"user"):Object.keys(a.getFormat(u)).forEach((e=>{I.query(e,I.Scope.INLINE)&&a.format(e,!1)}));break;case"undo":a.history.undo();break;case"redo":a.history.redo();break;case"blur":a.blur();break;case"getSelectionText":l={text:""},(u=a.selection.savedRange)&&0!==u.length&&(l.text=a.getText(u.index,u.length));break;case"scrollIntoView":a.scrollIntoView()}c(u)}else d="not ready";f&&n({callbackId:f,data:an({},l,{errMsg:"".concat(e,":").concat(d?"fail "+d:"ok")})})}),mg(),!0)}var Tp=ff({name:"Editor",props:an({},Kf,{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}}),emit:["ready","focus","blur","input","statuschange",...Jf],setup(e,t){var{emit:n}=t,r=xa(null),i=bf(r,n);return kp(e,r,i),Qf(e,r,i),()=>Ps("uni-editor",{ref:r,id:e.id,class:"ql-container"},null,8,["id"])}}),Ep="#10aeff",Cp="#b2b2b2",Mp={success:{d:"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",c:jn},success_no_circle:{d:iu,c:jn},info:{d:"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",c:Ep},warn:{d:"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",c:"#f76260"},waiting:{d:"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",c:Ep},cancel:{d:"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",c:"#f43530"},download:{d:"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",c:jn},search:{d:"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",c:Cp},clear:{d:"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",c:Cp}},Op=ff({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=il((()=>Mp[e.type]));return()=>{var{value:n}=t;return Ps("uni-icon",null,[n&&n.d&&au(n.d,e.color||n.c,tu(e.size))])}}}),Ip={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Np={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Lp={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"]},Ap=ff({name:"Image",props:Ip,setup(e,t){var{emit:n}=t,r=xa(null),i=function(e,t){var n=xa(""),r=il((()=>{var e="auto",r="",i=Lp[t.mode];return i?(i[0]&&(r=i[0]),i[1]&&(e=i[1])):(r="0% 0%",e="100% 100%"),"background-image:".concat(n.value?'url("'+n.value+'")':"none",";background-position:").concat(r,";background-size:").concat(e,";")})),i=sa({rootEl:e,src:il((()=>t.src?$u(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:r,imgSrc:n});return Io((()=>{var t=e.value.style;i.origWidth=Number(t.width)||0,i.origHeight=Number(t.height)||0})),i}(r,e),a=bf(r,n),{fixSize:o}=function(e,t,n){var r=()=>{var{mode:r}=t,i=Np[r];if(i){var{origWidth:a,origHeight:o}=n,s=a&&o?a/o:0;if(s){var l=e.value,u=l[i[0]];u&&(l.style[i[1]]=function(e){Bp&&e>10&&(e=2*Math.round(e/2));return e}(i[2](u,s))+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},i=()=>{var{style:t}=e.value,{origStyle:{width:r,height:i}}=n;t.width=r,t.height=i};return go((()=>t.mode),((e,t)=>{Np[t]&&i(),Np[e]&&r()})),{fixSize:r,resetSize:i}}(r,e,i);return function(e,t,n,r,i){var a,o,s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.origWidth=t,e.origHeight=n,e.imgSrc=r},l=l=>{if(!l)return u(),void s();(a=a||new Image).onload=e=>{var{width:c,height:d}=a;s(c,d,l),r(),a.draggable=t.draggable,o&&o.remove(),o=a,n.value.appendChild(a),u(),i("load",e,{width:c,height:d})},a.onerror=t=>{s(),u(),i("error",t,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},a.src=l},u=()=>{a&&(a.onload=null,a.onerror=null,a=null)};go((()=>e.src),(e=>l(e))),go((()=>e.imgSrc),(e=>{!e&&o&&(o.remove(),o=null)})),Io((()=>l(e.src))),Ao((()=>u()))}(i,e,r,o,a),()=>Ps("uni-image",{ref:r},[Ps("div",{style:i.modeStyle},null,4),Np[e.mode]?Ps(Of,{onResize:o},null,8,["onResize"]):Ps("span",null,null)],512)}});var Bp="Google Inc."===navigator.vendor;var Rp,Pp=er(!0),zp=[],Dp=0,Fp=e=>zp.forEach((t=>t.userAction=e));function $p(){var e=sa({userAction:!1});return Io((()=>{!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{userAction:!1};if(!Rp){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Dp&&Fp(!0),Dp++,setTimeout((()=>{!--Dp&&Fp(!1)}),0)}),Pp)})),Rp=!0}zp.push(e)}(e)})),Ao((()=>{var t,n;t=e,(n=zp.indexOf(t))>=0&&zp.splice(n,1)})),{state:e}}function jp(){var e=sa({attrs:{}});return Io((()=>{for(var t=Xs();t;){var n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function Vp(e,t){var n=document.activeElement;if(!n)return t({});var r={};["input","textarea"].includes(n.tagName.toLowerCase())&&(r.start=n.selectionStart,r.end=n.selectionEnd),t(r)}var Wp;function Up(e,t){return"number"===t&&isNaN(Number(e))&&(e=""),null===e?"":String(e)}var Hp=an({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0}},Kf),qp=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...Jf];function Yp(e,t,n,r){var i=function(e,t,n){var r,{clearTimeout:i,setTimeout:a}=n,o=function(){i(r),r=a((()=>e.apply(this,arguments)),t)};return o.cancel=function(){i(r)},o}((n=>{t.value=Up(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});go((()=>e.modelValue),i),go((()=>e.value),i);var a=function(e,t){var n,r,i=0,a=function(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];var l=Date.now();clearTimeout(n),r=()=>{r=null,i=l,e.apply(this,o)},l-i<t?n=setTimeout(r,t-(l-i)):r()};return a.cancel=function(){clearTimeout(n),r=null},a.flush=function(){clearTimeout(n),r&&r()},a}(((e,t)=>{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),r("input",e,t)}),100);return Oo((()=>{i.cancel(),a.cancel()})),{trigger:r,triggerInput:(e,t,n)=>{i.cancel(),a(e,t),n&&a.flush()}}}function Xp(e,t){var{state:n}=$p(),r=il((()=>e.autoFocus||e.focus));function i(){if(r.value){var e=t.value;if(e&&"plus"in window){var a=200-(Date.now()-Wp);a>0?setTimeout(i,a):(e.focus(),n.userAction||plus.key.showSoftKeybord())}else setTimeout(i,100)}}go((()=>e.focus),(e=>{var n;e?i():(n=t.value)&&n.blur()})),Io((()=>{Wp=Wp||Date.now(),r.value&&Ha(i)}))}function Zp(e,t,n,r){Wr(su(),"getSelectedTextRange",Vp);var{fieldRef:i,state:a,trigger:o}=function(e,t,n){var r=xa(null),i=bf(t,n),a=il((()=>{var t=Number(e.selectionStart);return isNaN(t)?-1:t})),o=il((()=>{var t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=il((()=>{var t=Number(e.cursor);return isNaN(t)?-1:t})),l=il((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),u=Up(e.modelValue,e.type)||Up(e.value,e.type),c=sa({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:a,selectionEnd:o,cursor:s});return go((()=>c.focus),(e=>n("update:focus",e))),go((()=>c.maxlength),(e=>c.value=c.value.slice(0,e))),{fieldRef:r,state:c,trigger:i}}(e,t,n),{triggerInput:s}=Yp(e,a,n,o);Xp(e,i),Qf(e,i,o);var{state:l}=jp();return function(e,t){var n=fo(yf,!1);if(n){var r=Xs(),i={submit(){var n=r.proxy;return[n[e],hn(t)?n[t]:t.value]},reset(){hn(t)?r.proxy[t]="":t.value=""}};n.addField(i),Ao((()=>{n.removeField(i)}))}}("name",a),function(e,t,n,r,i,a){function o(){var n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){var n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}go([()=>t.selectionStart,()=>t.selectionEnd],o),go((()=>t.cursor),s),go((()=>e.value),(function(){var u=e.value,c=function(e,r){e.stopPropagation(),dn(a)&&!1===a(e,t)||(t.value=u.value,t.composing&&n.ignoreCompositionEvent||i(e,{value:u.value,cursor:l(u)},r))};function d(e){n.ignoreCompositionEvent||r(e.type,e,{value:e.data})}u.addEventListener("change",(e=>e.stopPropagation())),u.addEventListener("focus",(function(e){t.focus=!0,r("focus",e,{value:t.value}),o(),s()})),u.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,c(e,!0)),t.focus=!1,r("blur",e,{value:t.value,cursor:l(e.target)})})),u.addEventListener("input",c),u.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),u.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,c(e)),d(e)})),u.addEventListener("compositionupdate",d)}))}(i,a,e,o,s,r),{fieldRef:i,state:a,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:o}}var Gp=ff({name:"Input",props:an({},Hp,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...qp],setup(e,t){var n,{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],o=il((()=>{var t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~i.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=il((()=>{var t=a.indexOf(e.textContentType),n=a.indexOf(En(e.textContentType));return a[-1!==t?t:-1!==n?n:0]})),l=xa(""),u=xa(null),{fieldRef:c,state:d,scopedAttrsState:h,fixDisabledColor:f,trigger:p}=Zp(e,u,r,((e,t)=>{var r=e.target;if("number"===o.value){if(n&&(r.removeEventListener("blur",n),n=null),r.validity&&!r.validity.valid)return!l.value&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType?(l.value="-",t.value="",n=()=>{l.value=r.value=""},r.addEventListener("blur",n),!1):(l.value=t.value=r.value="-"===l.value?"":l.value,!1);l.value=r.value;var i=t.maxlength;if(i>0&&r.value.length>i)return r.value=r.value.slice(0,i),t.value=r.value,!1}}));go((()=>d.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t)}));var v=["number","digit"],g=il((()=>v.includes(e.type)?"0.000000000000000001":""));function m(t){if("Enter"===t.key){var n=t.target;t.stopPropagation(),p("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}}return()=>{var t=e.disabled&&f?Ps("input",{ref:c,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:o.value,maxlength:d.maxlength,step:g.value,class:"uni-input-input",onFocus:e=>e.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):Ps("input",{ref:c,value:d.value,disabled:!!e.disabled,type:o.value,maxlength:d.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",autocomplete:s.value,onKeyup:m},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return Ps("uni-input",{ref:u},[Ps("div",{class:"uni-input-wrapper"},[Fo(Ps("div",Ws(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Al,!(d.value.length||"-"===l.value)]]),"search"===e.confirmType?Ps("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});function Kp(e){return Object.keys(e).map((t=>[t,e[t]]))}var Jp,Qp,ev=["class","style"],tv=/^on[A-Z]+/,nv=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:n=[]}=e,r=Xs(),i=Sa({}),a=Sa({}),o=Sa({}),s=n.concat(ev);return r.attrs=sa(r.attrs),po((()=>{var e=Kp(r.attrs).reduce(((e,n)=>{var[r,i]=n;return s.includes(r)?e.exclude[r]=i:tv.test(r)?(t||(e.attrs[r]=i),e.listeners[r]=i):e.attrs[r]=i,e}),{exclude:{},attrs:{},listeners:{}});i.value=e.attrs,a.value=e.listeners,o.value=e.exclude})),{$attrs:i,$listeners:a,$excludeAttrs:o}};function rv(){ir((()=>{Jp||(Jp=plus.webview.currentWebview()),Qp||(Qp=(Jp.getStyle()||{}).pullToRefresh||{})}))}function iv(e){var{disable:t}=e;Qp&&Qp.support&&Jp.setPullToRefresh(Object.assign({},Qp,{support:!t}))}function av(e){var t=[];return un(e)&&e.forEach((e=>{Is(e)?e.type===Ts?t.push(...av(e.children)):t.push(e):un(e)&&t.push(...av(e))})),t}function ov(e){Xs().rebuild=e}var sv=ff({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,t){var{slots:n}=t,r=xa(null),i=xa(!1),{setContexts:a,events:o}=function(e,t){var n=xa(0),r=xa(0),i=sa({x:null,y:null}),a=xa(null),o=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach((function(e){e._setScale(t)})):o&&o._setScale(t))}function u(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=t.value;function i(e){for(var t=0;t<n.length;t++){var a=n[t];if(e===a.rootRef.value)return a}return e===r||e===document.body||e===document?null:i(e.parentNode)}return i(e)}var c=_f((t=>{iv({disable:!0});var n=t.touches;if(n&&n.length>1){var r={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(a.value=lv(r),i.x=r.x,i.y=r.y,!e.scaleArea){var s=u(n[0].target),l=u(n[1].target);o=s&&s===l?s:null}}})),d=_f((e=>{var t=e.touches;if(t&&t.length>1){e.preventDefault();var n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==i.x&&a.value&&a.value>0)l(lv(n)/a.value);i.x=n.x,i.y=n.y}})),h=_f((t=>{iv({disable:!1});var n=t.touches;n&&n.length||t.changedTouches&&(i.x=0,i.y=0,a.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):o&&o._endScale())}));function f(){p(),s.forEach((function(e,t){e.setParent()}))}function p(){var e=window.getComputedStyle(t.value),i=t.value.getBoundingClientRect();n.value=i.width-["Left","Right"].reduce((function(t,n){var r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0),r.value=i.height-["Top","Bottom"].reduce((function(t,n){var r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0)}return ho("movableAreaWidth",n),ho("movableAreaHeight",r),{setContexts(e){s=e},events:{_onTouchstart:c,_onTouchmove:d,_onTouchend:h,_resize:f}}}(e,r),{$listeners:s,$attrs:l,$excludeAttrs:u}=nv(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{var t=c[e],n=o["_".concat(e)];c[e]=t?[].concat(t,n):n})),Io((()=>{o._resize(),rv(),i.value=!0}));var d=[],h=[];function f(){for(var e=[],t=function(t){var n=d[t];n instanceof Element||(n=n.el);var r=h.find((e=>n===e.rootRef.value));r&&e.push(ga(r))},n=0;n<d.length;n++)t(n);a(e)}ov((()=>{d=r.value.children,f()}));return ho("_isMounted",i),ho("movableAreaRootRef",r),ho("addMovableViewContext",(e=>{h.push(e),f()})),ho("removeMovableViewContext",(e=>{var t=h.indexOf(e);t>=0&&(h.splice(t,1),f())})),()=>(n.default&&n.default(),Ps("uni-movable-area",Ws({ref:r},l.value,u.value,c),[Ps(Of,{onReize:o._resize},null,8,["onReize"]),d],16))}});function lv(e){return Math.sqrt(e.x*e.x+e.y*e.y)}var uv,cv,dv=function(e,t,n,r){e.addEventListener(t,(e=>{dn(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};function hv(e,t,n){Ao((()=>{document.removeEventListener("mousemove",uv),document.removeEventListener("mouseup",cv)}));var r,i,a=0,o=0,s=0,l=0,u=function(e,n,r,i){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:r,y:i,dx:r-a,dy:i-o,ddx:r-s,ddy:i-l,timeStamp:e.timeStamp}}))return!1},c=null;dv(e,"touchstart",(function(e){if(r=!0,1===e.touches.length&&!c)return c=e,a=s=e.touches[0].pageX,o=l=e.touches[0].pageY,u(e,"start",a,o)})),dv(e,"mousedown",(function(e){if(i=!0,!r&&!c)return c=e,a=s=e.pageX,o=l=e.pageY,u(e,"start",a,o)})),dv(e,"touchmove",(function(e){if(1===e.touches.length&&c){var t=u(e,"move",e.touches[0].pageX,e.touches[0].pageY);return s=e.touches[0].pageX,l=e.touches[0].pageY,t}}));var d=uv=function(e){if(!r&&i&&c){var t=u(e,"move",e.pageX,e.pageY);return s=e.pageX,l=e.pageY,t}};document.addEventListener("mousemove",d),dv(e,"touchend",(function(e){if(0===e.touches.length&&c)return r=!1,c=null,u(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));var h=cv=function(e){if(i=!1,!r&&c)return c=null,u(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),dv(e,"touchcancel",(function(e){if(c){r=!1;var t=c;return c=null,u(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function fv(e,t,n){return e>t-n&&e<t+n}function pv(e,t){return fv(e,0,t)}function vv(){}function gv(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function mv(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function _v(e,t,n){this._springX=new mv(e,t,n),this._springY=new mv(e,t,n),this._springScale=new mv(e,t,n),this._startTime=0}function bv(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}vv.prototype.x=function(e){return Math.sqrt(e)},gv.prototype.setV=function(e,t){var n=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},gv.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},gv.prototype.s=function(e){void 0===e&&(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,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},gv.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},gv.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}},gv.prototype.dt=function(){return-this._x_v/this._x_a},gv.prototype.done=function(){var e=fv(this.s().x,this._endPositionX)||fv(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},gv.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},gv.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},mv.prototype._solve=function(e,t){var n=this._c,r=this._m,i=this._k,a=n*n-4*r*i;if(0===a){var o=-n/(2*r),s=e,l=t/(o*e);return{x:function(e){return(s+l*e)*Math.pow(Math.E,o*e)},dx:function(e){var t=Math.pow(Math.E,o*e);return o*(s+l*e)*t+l*t}}}if(a>0){var u=(-n-Math.sqrt(a))/(2*r),c=(-n+Math.sqrt(a))/(2*r),d=(t-u*e)/(c-u),h=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*u*t+d*c*n}}}var f=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=e,g=(t-p*e)/f;return{x:function(e){return Math.pow(Math.E,p*e)*(v*Math.cos(f*e)+g*Math.sin(f*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(f*e),r=Math.sin(f*e);return t*(g*f*n-v*f*r)+p*t*(g*r+v*n)}}},mv.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},mv.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},mv.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!pv(t,.1)){t=t||0;var r=this._endPosition;this._solution&&(pv(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),pv(t,.1)&&(t=0),pv(r,.1)&&(r=0),r+=this._endPosition),this._solution&&pv(r-e,.1)&&pv(t,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}},mv.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},mv.prototype.done=function(e){return e||(e=(new Date).getTime()),fv(this.x(),this._endPosition,.1)&&pv(this.dx(),.1)},mv.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},mv.prototype.springConstant=function(){return this._k},mv.prototype.damping=function(){return this._c},mv.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},_v.prototype.setEnd=function(e,t,n,r){var i=(new Date).getTime();this._springX.setEnd(e,r,i),this._springY.setEnd(t,r,i),this._springScale.setEnd(n,r,i),this._startTime=i},_v.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)}},_v.prototype.done=function(){var e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},_v.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};var yv=ff({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,t){var{slots:n,emit:r}=t,i=xa(null),a=bf(i,r),{setParent:o}=function(e,t,n){var r,i,a=fo("movableAreaWidth",xa(0)),o=fo("movableAreaHeight",xa(0)),s=fo("_isMounted",xa(!1)),l=fo("movableAreaRootRef"),u=fo("addMovableViewContext",(()=>{})),c=fo("removeMovableViewContext",(()=>{})),d=xa(Ev(e.x)),h=xa(Ev(e.y)),f=xa(Number(e.scaleValue)||1),p=xa(0),v=xa(0),g=xa(0),m=xa(0),_=xa(0),b=xa(0),y=null,w=null,x={x:0,y:0},S={x:0,y:0},k=1,T=1,E=0,C=0,M=!1,O=!1,I=null,N=null,L=new vv,A=new vv,B={historyX:[0,0],historyY:[0,0],historyT:[0,0]},R=il((()=>{var t=Number(e.damping);return isNaN(t)?20:t})),P=il((()=>{var t=Number(e.friction);return isNaN(t)||t<=0?2:t})),z=il((()=>{var t=Number(e.scaleMin);return isNaN(t)?.5:t})),D=il((()=>{var t=Number(e.scaleMax);return isNaN(t)?10:t})),F=il((()=>"all"===e.direction||"horizontal"===e.direction)),$=il((()=>"all"===e.direction||"vertical"===e.direction)),j=new _v(1,9*Math.pow(R.value,2)/40,R.value),V=new gv(1,P.value);function W(){w&&w.cancel(),y&&y.cancel()}function U(e){if(F.value){if(e+S.x===E)return E;y&&y.cancel(),ae(e+S.x,h.value+S.y,k)}return e}function H(e){if($.value){if(e+S.y===C)return C;y&&y.cancel(),ae(d.value+S.x,e+S.y,k)}return e}function q(){if(!e.scale)return!1;ne(k,!0),re(k)}function Y(t){return!!e.scale&&(ne(t=ie(t),!0),re(t),t)}function X(){M||e.disabled||(iv({disable:!0}),W(),B.historyX=[0,0],B.historyY=[0,0],B.historyT=[0,0],F.value&&(r=E),$.value&&(i=C),n.value.style.willChange="transform",I=null,N=null,O=!0)}function Z(t){if(!M&&!e.disabled&&O){var n=E,a=C;if(null===N&&(N=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),F.value&&(n=t.detail.dx+r,B.historyX.shift(),B.historyX.push(n),$.value||null!==I||(I=Math.abs(t.detail.dx/t.detail.dy)<1)),$.value&&(a=t.detail.dy+i,B.historyY.shift(),B.historyY.push(a),F.value||null!==I||(I=Math.abs(t.detail.dy/t.detail.dx)<1)),B.historyT.shift(),B.historyT.push(t.detail.timeStamp),!I){t.preventDefault();var o="touch";n<g.value?e.outOfBounds?(o="touch-out-of-bounds",n=g.value-L.x(g.value-n)):n=g.value:n>_.value&&(e.outOfBounds?(o="touch-out-of-bounds",n=_.value+L.x(n-_.value)):n=_.value),a<m.value?e.outOfBounds?(o="touch-out-of-bounds",a=m.value-A.x(m.value-a)):a=m.value:a>b.value&&(e.outOfBounds?(o="touch-out-of-bounds",a=b.value+A.x(a-b.value)):a=b.value),xv((function(){se(n,a,k,o)}))}}}function G(){if(!M&&!e.disabled&&O&&(iv({disable:!1}),n.value.style.willChange="auto",O=!1,!I&&!oe("out-of-bounds")&&e.inertia)){var t=1e3*(B.historyX[1]-B.historyX[0])/(B.historyT[1]-B.historyT[0]),r=1e3*(B.historyY[1]-B.historyY[0])/(B.historyT[1]-B.historyT[0]);V.setV(t,r),V.setS(E,C);var i=V.delta().x,a=V.delta().y,o=i+E,s=a+C;o<g.value?(o=g.value,s=C+(g.value-E)*a/i):o>_.value&&(o=_.value,s=C+(_.value-E)*a/i),s<m.value?(s=m.value,o=E+(m.value-C)*i/a):s>b.value&&(s=b.value,o=E+(b.value-C)*i/a),V.setEnd(o,s),w=Tv(V,(function(){var e=V.s();se(e.x,e.y,k,"friction")}),(function(){w.cancel()}))}e.outOfBounds||e.inertia||W()}function K(e,t){var n=!1;return e>_.value?(e=_.value,n=!0):e<g.value&&(e=g.value,n=!0),t>b.value?(t=b.value,n=!0):t<m.value&&(t=m.value,n=!0),{x:e,y:t,outOfBounds:n}}function J(){x.x=Sv(n.value,l.value),x.y=kv(n.value,l.value)}function Q(e){e=ie(e=e||k);var t=n.value.getBoundingClientRect();v.value=t.height/k,p.value=t.width/k;var r=v.value*e,i=p.value*e;S.x=(i-p.value)/2,S.y=(r-v.value)/2}function ee(){var e=0-x.x+S.x,t=a.value-p.value-x.x-S.x;g.value=Math.min(e,t),_.value=Math.max(e,t);var n=0-x.y+S.y,r=o.value-v.value-x.y-S.y;m.value=Math.min(n,r),b.value=Math.max(n,r)}function te(){M=!0}function ne(t,n){if(e.scale){Q(t=ie(t)),ee();var r=K(E,C),i=r.x,a=r.y;n?ae(i,a,t,"",!0,!0):xv((function(){se(i,a,t,"",!0,!0)}))}}function re(e){T=e}function ie(e){return e=Math.max(.5,z.value,e),e=Math.min(10,D.value,e)}function ae(t,n,r,i,a,o){W(),F.value||(t=E),$.value||(n=C),e.scale||(r=k);var s=K(t,n);t=s.x,n=s.y,e.animation?(j._springX._solution=null,j._springY._solution=null,j._springScale._solution=null,j._springX._endPosition=E,j._springY._endPosition=C,j._springScale._endPosition=k,j.setEnd(t,n,r,1),y=Tv(j,(function(){var e=j.x();se(e.x,e.y,e.scale,i,a,o)}),(function(){y.cancel()}))):se(t,n,r,i,a,o)}function oe(e){var t=K(E,C),n=t.x,r=t.y,i=t.outOfBounds;return i&&ae(n,r,k,e),i}function se(r,i,a){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",s=arguments.length>4?arguments[4]:void 0,l=arguments.length>5?arguments[5]:void 0;null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=E||0),null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=C||0),r=Number(r.toFixed(1)),i=Number(i.toFixed(1)),a=Number(a.toFixed(1)),E===r&&C===i||s||t("change",{},{x:bv(r,S.x),y:bv(i,S.y),source:o}),e.scale||(a=k),a=+(a=ie(a)).toFixed(3),l&&a!==k&&t("scale",{},{x:r,y:i,scale:a});var u="translateX("+r+"px) translateY("+i+"px) translateZ(0px) scale("+a+")";n.value.style.transform=u,n.value.style.webkitTransform=u,E=r,C=i,k=a}function le(){if(s.value){W();var t=e.scale?f.value:1;J(),Q(t),ee(),E=d.value+S.x,C=h.value+S.y;var n=K(E,C);se(n.x,n.y,t,"",!0),re(t)}}function ue(){M=!1,re(k)}function ce(e){e&&(e*=T,te(),ne(e))}return go((()=>e.x),(e=>{d.value=Ev(e)})),go((()=>e.y),(e=>{h.value=Ev(e)})),go(d,(e=>{U(e)})),go(h,(e=>{H(e)})),go((()=>e.scaleValue),(e=>{f.value=Number(e)||0})),go(f,(e=>{Y(e)})),go(z,(()=>{q()})),go(D,(()=>{q()})),Io((()=>{hv(n.value,(e=>{switch(e.detail.state){case"start":X();break;case"move":Z(e);break;case"end":G()}})),le(),V.reconfigure(1,P.value),j.reconfigure(1,9*Math.pow(R.value,2)/40,R.value),n.value.style.transformOrigin="center",rv();var e={rootRef:n,setParent:le,_endScale:ue,_setScale:ce};u(e),Bo((()=>{c(e)}))})),Bo((()=>{W()})),{setParent:le}}(e,a,i);return()=>Ps("uni-movable-view",{ref:i},[Ps(Of,{onResize:o},null,8,["onResize"]),n.default&&n.default()],512)}}),wv=!1;function xv(e){wv||(wv=!0,requestAnimationFrame((function(){e(),wv=!1})))}function Sv(e,t){if(e===t)return 0;var n=e.offsetLeft;return e.offsetParent?n+=Sv(e.offsetParent,t):0}function kv(e,t){if(e===t)return 0;var n=e.offsetTop;return e.offsetParent?n+=kv(e.offsetParent,t):0}function Tv(e,t,n){var r={id:0,cancelled:!1};return function e(t,n,r,i){if(!t||!t.cancelled){r(n);var a=n.done();a||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,i))),a&&i&&i(n)}}(r,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,r),model:e}}function Ev(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}var Cv=["navigate","redirect","switchTab","reLaunch","navigateBack"],Mv=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],Ov=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"];var Iv=ff({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:{hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~Cv.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||Mv.concat(Ov).includes(e)},animationDuration:{type:[String,Number],default:300}},setup(e,t){var{slots:n}=t,r=Xs(),i=r&&r.vnode.scopeId||"",{hovering:a,binding:o}=gf(e),s=function(e){return()=>{if("navigateBack"===e.openType||e.url){var t=parseInt(e.animationDuration);switch(e.openType){case"navigate":uni.navigateTo({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});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,animationType:e.animationType||"pop-out",animationDuration:t})}}else console.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}(e);return()=>{var{hoverClass:t,url:l}=e,u=e.hoverClass&&"none"!==e.hoverClass;return Ps("a",{class:"navigator-wrap",href:l,onClick:Gl},[Ps("uni-navigator",Ws({class:u&&a.value?t:""},u&&o,r?r.attrs:{},{[i]:""},{onClick:s}),[n.default&&n.default()],16,["onClick"])],8,["href","onClick"])}}});var Nv=ff({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return un(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:n,emit:r}=t,i=xa(null),a=xa(null),o=bf(i,r),s=function(e){var t=sa([...e.value]),n=sa({value:t,height:34});return go((()=>e.value),((e,t)=>{(e===t||e.length!==t.length||e.findIndex(((e,n)=>e!==t[n]))>=0)&&(n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})))})),n}(e),l=xa(null),u=xa([]),c=xa([]);function d(e){var t=c.value;if(t instanceof HTMLCollection)return Array.prototype.indexOf.call(t,e.el);var n=(t=t.filter((e=>e.type!==Cs))).indexOf(e);return-1!==n?n:u.value.indexOf(e)}return ho("getPickerViewColumn",(function(e){return il({get(){var t=d(e.vnode);return s.value[t]||0},set(t){var n=d(e.vnode);if(!(n<0)&&s.value[n]!==t){s.value[n]=t;var i=s.value.map((e=>e));r("update:value",i),o("change",{},{value:i})}}})})),ho("pickerViewProps",e),ho("pickerViewState",s),ov((()=>{var e;e=l.value,s.height=e.$el.offsetHeight,c.value=a.value.children})),()=>{var e=n.default&&n.default();return Ps("uni-picker-view",{ref:i},[Ps(Of,{ref:l,onResize:e=>{var{height:t}=e;return s.height=t}},null,8,["onResize"]),Ps("div",{ref:a,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Lv{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);var t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);var t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){var t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){var e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function Av(e,t,n){return e>t-n&&e<t+n}function Bv(e,t){return Av(e,0,t)}class Rv{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){var n=this._c,r=this._m,i=this._k,a=n*n-4*r*i;if(0===a){var o=-n/(2*r),s=e,l=t/(o*e);return{x:function(e){return(s+l*e)*Math.pow(Math.E,o*e)},dx:function(e){var t=Math.pow(Math.E,o*e);return o*(s+l*e)*t+l*t}}}if(a>0){var u=(-n-Math.sqrt(a))/(2*r),c=(-n+Math.sqrt(a))/(2*r),d=(t-u*e)/(c-u),h=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*u*t+d*c*n}}}var f=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=e,g=(t-p*e)/f;return{x:function(e){return Math.pow(Math.E,p*e)*(v*Math.cos(f*e)+g*Math.sin(f*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(f*e),r=Math.sin(f*e);return t*(g*f*n-v*f*r)+p*t*(g*r+v*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Bv(t,.4)){t=t||0;var r=this._endPosition;this._solution&&(Bv(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),Bv(t,.4)&&(t=0),Bv(r,.4)&&(r=0),r+=this._endPosition),this._solution&&Bv(r-e,.4)&&Bv(t,.4)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),Av(this.x(),this._endPosition,.4)&&Bv(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Pv{constructor(e,t,n){this._extent=e,this._friction=t||new Lv(.01),this._spring=n||new Rv(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){var t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){var e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class zv{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Pv(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){var n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}var r,i,a;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){var o=this._scroll._friction.x(100),s=o%this._itemSize;(r=Math.abs(s)>this._itemSize/2?o-(this._itemSize-Math.abs(s)):o-s)<=0&&r>=-this._extent&&this._scroll.setVelocityByEnd(r)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=(i=this._scroll,function e(t,n,r,i){if(!t||!t.cancelled){r(n);var a=n.done();a||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,i))),a&&i&&i(n)}}(a={id:0,cancelled:!1},i,(()=>{var e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();var r=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/r),this._lastTime=e)}),(()=>{this._enableSnap&&(r<=0&&r>=-this._extent&&(this._position=r,this.updatePosition()),dn(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,a),model:i})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),dn(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(dn(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){var r=0,i=this._position;this._enableX?(r=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(r=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-r?this._position=-r:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),dn(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=r,this._scroll._extent=r}updatePosition(){var e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}var Dv=0;var Fv=ff({name:"PickerViewColumn",setup(e,t){var n,r,{slots:i,emit:a}=t,o=xa(null),s=xa(null),l=fo("getPickerViewColumn"),u=Xs(),c=l?l(u):xa(0),d=fo("pickerViewProps"),h=fo("pickerViewState"),f=xa(34),p=xa(null),v=il((()=>(h.height-f.value)/2)),{state:g}=jp(),m=function(e){var t="uni-picker-view-content-".concat(Dv++);return go((()=>e.value),(function(){var n=document.createElement("style");n.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(n)})),t}(f),_=sa({current:c.value,length:0});function b(){n&&!r&&(r=!0,Ha((()=>{r=!1;var e=Math.min(_.current,_.length-1);e=Math.max(e,0),n.update(e*f.value,void 0,f.value)})))}go((()=>c.value),(e=>{e!==_.current&&(_.current=e,b())})),go((()=>_.current),(e=>c.value=e)),go([()=>f.value,()=>_.length,()=>h.height],b);var y=0;function w(e){var t=y+e.deltaY;if(Math.abs(t)>10){y=0;var r=Math.min(_.current+(t<0?-1:1),_.length-1);_.current=r=Math.max(r,0),n.scrollTo(r*f.value)}else y=t;e.preventDefault()}function x(e){var{clientY:t}=e,r=o.value;if(!n.isScrolling()){var i=t-r.getBoundingClientRect().top-h.height/2,a=f.value/2;if(!(Math.abs(i)<=a)){var s=Math.ceil((Math.abs(i)-a)/f.value),l=i<0?-s:s,u=Math.min(_.current+l,_.length-1);_.current=u=Math.max(u,0),n.scrollTo(u*f.value)}}}var S=()=>{var e,t,r,i=o.value,a=s.value,{scroller:l,handleTouchStart:u,handleTouchMove:c,handleTouchEnd:d}=function(e,t){var n={trackingID:-1,maxDy:0,maxDx:0},r=new zv(e,t);function i(e){var t=e,r=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:r.screenX-n.x,y:r.screenY-n.y}}return{scroller:r,handleTouchStart:function(e){var t=e,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.timeStamp],n.listener=r,r.onTouchStart&&r.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){var t=e,r=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();var a=i(e);if(a){for(n.maxDy=Math.max(n.maxDy,Math.abs(a.y)),n.maxDx=Math.max(n.maxDx,Math.abs(a.x)),n.historyX.push(a.x),n.historyY.push(a.y),n.historyTime.push(t.detail.timeStamp||r.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(a.x,a.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();var t=i(e);if(t){var r=n.listener;n.trackingID=-1,n.listener=null;var a={x:0,y:0};if(n.historyTime.length>2)for(var o=n.historyTime.length-1,s=n.historyTime[o],l=n.historyX[o],u=n.historyY[o];o>0;){o--;var c=s-n.historyTime[o];if(c>30&&c<50){a.x=(l-n.historyX[o])/(c/1e3),a.y=(u-n.historyY[o])/(c/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],r&&r.onTouchEnd&&r.onTouchEnd(t.x,t.y,a)}}}}}(a,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:f.value,friction:new Lv(1e-4),spring:new Rv(2,90,20),onSnap:e=>{isNaN(e)||e===_.current||(_.current=e)}});n=l,hv(i,(e=>{switch(e.detail.state){case"start":u(e),iv({disable:!0});break;case"move":c(e),e.stopPropagation();break;case"end":case"cancel":d(e),iv({disable:!1})}}),!0),t=0,r=0,(e=i).addEventListener("touchstart",(e=>{var n=e.changedTouches[0];t=n.clientX,r=n.clientY})),e.addEventListener("touchend",(e=>{var n=e.changedTouches[0];if(Math.abs(n.clientX-t)<20&&Math.abs(n.clientY-r)<20){var i={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},a=new CustomEvent("click",i);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{a[e]=n[e]})),e.target.dispatchEvent(a)}})),rv(),b()},k=!1;return ov((()=>{var e;_.length=s.value.children.length,k||(k=!0,e=p.value,f.value=e.$el.offsetHeight,S())})),()=>{var e=i.default&&i.default(),t="".concat(v.value,"px 0");return Ps("uni-picker-view-column",{ref:o},[Ps("div",{onWheel:w,onClick:x,class:"uni-picker-view-group"},[Ps("div",Ws(g.attrs,{class:["uni-picker-view-mask",d.maskClass],style:"background-size: 100% ".concat(v.value,"px;").concat(d.maskStyle)}),null,16),Ps("div",Ws(g.attrs,{class:["uni-picker-view-indicator",d.indicatorClass],style:d.indicatorStyle}),[Ps(Of,{ref:p,onResize:e=>{var{height:t}=e;return f.value=t}},null,8,["onResize"])],16),Ps("div",{ref:s,class:["uni-picker-view-content",m],style:{padding:t}},[e],6)],40,["onWheel","onClick"])],512)}}}),$v=jn,jv="backwards",Vv=ff({name:"Progress",props:{percent:{type:[Number,String],default:0,validator:e=>!isNaN(parseFloat(e))},fontSize:{type:[String,Number],default:16},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:e=>!isNaN(parseFloat(e))},color:{type:String,default:$v},activeColor:{type:String,default:$v},backgroundColor:{type:String,default:"#EBEBEB"},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:jv},duration:{type:[Number,String],default:30,validator:e=>!isNaN(parseFloat(e))},borderRadius:{type:[Number,String],default:0}},setup(e){var t=function(e){var t=xa(0),n=il((()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;"))),r=il((()=>{var n=e.color!==$v&&e.activeColor===$v?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(n)})),i=il((()=>{var t=parseFloat(e.percent);return t<0&&(t=0),t>100&&(t=100),t}));return sa({outerBarStyle:n,innerBarStyle:r,realPercent:i,currentPercent:t,strokeTimer:0,lastPercent:0})}(e);return Wv(t,e),go((()=>t.realPercent),((n,r)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=r||0,Wv(t,e)})),()=>{var{showInfo:n}=e,{outerBarStyle:r,innerBarStyle:i,currentPercent:a}=t;return Ps("uni-progress",{class:"uni-progress"},[Ps("div",{style:r,class:"uni-progress-bar"},[Ps("div",{style:i,class:"uni-progress-inner-bar"},null,4)],4),n?Ps("p",{class:"uni-progress-info"},[a+"%"]):""])}}});function Wv(e,t){t.active?(e.currentPercent=t.activeMode===jv?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 Uv=Ql("ucg"),Hv=ff({name:"RadioGroup",props:{name:{type:String,default:""}},setup(e,t){var{emit:n,slots:r}=t,i=xa(null);return function(e,t){var n=[];Io((()=>{s(n.length-1)}));var r=()=>{var e;return null===(e=n.find((e=>e.value.radioChecked)))||void 0===e?void 0:e.value.value};ho(Uv,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},radioChange(e,i){s(n.indexOf(i),!0),t("change",e,{value:r()})}});var i=fo(yf,!1),a={submit:()=>{var t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=r()),t}};i&&(i.addField(a),Ao((()=>{i.removeField(a)})));function o(e,t){e.value={radioChecked:t,value:e.value.value}}function s(e,t){n.forEach(((r,i)=>{i!==e&&(t?o(n[i],!1):n.forEach(((e,t)=>{i>=t||n[t].value.radioChecked&&o(n[i],!1)})))}))}}(e,bf(i,n)),()=>Ps("uni-radio-group",{ref:i},[r.default&&r.default()],512)}});var qv=ff({name:"Radio",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},setup(e,t){var{slots:n}=t,r=xa(e.checked),i=xa(e.value),a=il((()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";")));go([()=>e.checked,()=>e.value],(e=>{var[t,n]=e;r.value=t,i.value=n}));var{uniCheckGroup:o,uniLabel:s,field:l}=function(e,t,n){var r=il({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:t=>{var{radioChecked:n}=t;e.value=n}}),i={reset:n},a=fo(Uv,!1);a&&a.addField(r);var o=fo(yf,!1);o&&o.addField(i);var s=fo(Sf,!1);return Ao((()=>{a&&a.removeField(r),o&&o.removeField(i)})),{uniCheckGroup:a,uniForm:o,uniLabel:s,field:r}}(r,i,(()=>{r.value=!1})),u=t=>{e.disabled||(r.value=!0,o&&o.radioChange(t,l))};return s&&(s.addHandler(u),Ao((()=>{s.removeHandler(u)}))),Tf(e,{"label-click":u}),()=>{var t=mf(e,"disabled");return Ps("uni-radio",Ws(t,{onClick:u}),[Ps("div",{class:"uni-radio-wrapper"},[Ps("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:r.value?a.value:""},[r.value?au(iu,"#fff",18):""],6),n.default&&n.default()])],16,["onClick"])}}});var Yv={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:""},Xv={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};var Zv=(e,t,n)=>!n||un(n)&&!n.length?[]:n.map((n=>{if(bn(n)){if(!ln(n,"type")||"node"===n.type){var r={[e]:""},i=n.name.toLowerCase();if(!ln(Yv,i))return;return function(e,t){if(bn(t))for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];"img"===e&&"src"===n&&(t[n]=$u(r))}}(i,n.attrs),r=an(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),al(n.name,r,Zv(e,t,n.children))}return"text"===n.type&&hn(n.text)&&""!==n.text?Fs((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return ln(Xv,t)&&Xv[t]?Xv[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e}))):void 0}}));function Gv(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(e);var t=[],n={node:"root",children:[]};return up(e,{start:function(e,r,i){var a={name:e};if(0!==r.length&&(a.attrs=function(e){return e.reduce((function(e,t){var n=t.value,r=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(r)&&(n=n.split(" ")),e[r]?Array.isArray(e[r])?e[r].push(n):e[r]=[e[r],n]:e[r]=n,e}),{})}(r)),i){var o=t[0]||n;o.children||(o.children=[]),o.children.push(a)}else t.unshift(a)},end:function(e){var r=t.shift();if(r.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(r);else{var i=t[0];i.children||(i.children=[]),i.children.push(r)}},chars:function(e){var r={type:"text",text:e};if(0===t.length)n.children.push(r);else{var i=t[0];i.children||(i.children=[]),i.children.push(r)}},comment:function(e){var n={node:"comment",text:e},r=t[0];r.children||(r.children=[]),r.children.push(n)}}),n.children}var Kv=ff({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,t){var{emit:n}=t,r=Xs(),i=r&&r.vnode.scopeId||"",a=xa(null),o=xa([]),s=bf(a,n);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s("itemclick",e,t)}return go((()=>e.nodes),(function(){var t=e.nodes;hn(t)&&(t=Gv(e.nodes)),o.value=Zv(i,l,t)}),{immediate:!0}),()=>al("uni-rich-text",{ref:a},al("div",{},o.value))}}),Jv=er(!0),Qv=ff({name:"ScrollView",compatConfig:{MODE:3},props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:n,slots:r}=t,i=xa(null),a=xa(null),o=xa(null),s=xa(null),l=xa(null),u=bf(i,n),{state:c,scrollTopNumber:d,scrollLeftNumber:h}=function(e){var t=il((()=>Number(e.scrollTop)||0)),n=il((()=>Number(e.scrollLeft)||0));return{state:sa({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e);!function(e,t,n,r,i,a,o,s,l){var u=!1,c=0,d=!1,h=()=>{},f=il((()=>{var t=Number(e.upperThreshold);return isNaN(t)?50:t})),p=il((()=>{var t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){var n=o.value,r=0,i="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?r=n.scrollLeft-e:"y"===t&&(r=n.scrollTop-e),0!==r){var a=s.value;a.style.transition="transform .3s ease-out",a.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+r+"px) translateZ(0)":"y"===t&&(i="translateY("+r+"px) translateZ(0)"),a.removeEventListener("transitionend",h),a.removeEventListener("webkitTransitionEnd",h),h=()=>y(e,t),a.addEventListener("transitionend",h),a.addEventListener("webkitTransitionEnd",h),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),a.style.transform=i,a.style.webkitTransform=i}}function g(n){var r=n.target;i("scroll",n,{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop,scrollHeight:r.scrollHeight,scrollWidth:r.scrollWidth,deltaX:t.lastScrollLeft-r.scrollLeft,deltaY:t.lastScrollTop-r.scrollTop}),e.scrollY&&(r.scrollTop<=f.value&&t.lastScrollTop-r.scrollTop>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",n,{direction:"top"}),t.lastScrollToUpperTime=n.timeStamp),r.scrollTop+r.offsetHeight+p.value>=r.scrollHeight&&t.lastScrollTop-r.scrollTop<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",n,{direction:"bottom"}),t.lastScrollToLowerTime=n.timeStamp)),e.scrollX&&(r.scrollLeft<=f.value&&t.lastScrollLeft-r.scrollLeft>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",n,{direction:"left"}),t.lastScrollToUpperTime=n.timeStamp),r.scrollLeft+r.offsetWidth+p.value>=r.scrollWidth&&t.lastScrollLeft-r.scrollLeft<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",n,{direction:"right"}),t.lastScrollToLowerTime=n.timeStamp)),t.lastScrollTop=r.scrollTop,t.lastScrollLeft=r.scrollLeft}function m(t){e.scrollY&&(e.scrollWithAnimation?v(t,"y"):o.value.scrollTop=t)}function _(t){e.scrollX&&(e.scrollWithAnimation?v(t,"x"):o.value.scrollLeft=t)}function b(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error("id error: scroll-into-view=".concat(t));var n=a.value.querySelector("#"+t);if(n){var r=o.value.getBoundingClientRect(),i=n.getBoundingClientRect();if(e.scrollX){var s=i.left-r.left,l=o.value.scrollLeft+s;e.scrollWithAnimation?v(l,"x"):o.value.scrollLeft=l}if(e.scrollY){var u=i.top-r.top,c=o.value.scrollTop+u;e.scrollWithAnimation?v(c,"y"):o.value.scrollTop=c}}}}function y(t,n){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var r=o.value;"x"===n?(r.style.overflowX=e.scrollX?"auto":"hidden",r.scrollLeft=t):"y"===n&&(r.style.overflowY=e.scrollY?"auto":"hidden",r.scrollTop=t),s.value.removeEventListener("transitionend",h),s.value.removeEventListener("webkitTransitionEnd",h)}function w(n){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,i("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=c=0,"restore"===n&&(d=!1,i("refresherrestore",{},{})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{}))}t.refreshState=n}Io((()=>{Ha((()=>{m(n.value),_(r.value)})),b(e.scrollIntoView);var a=function(e){e.preventDefault(),e.stopPropagation(),g(e)},s={x:0,y:0},l=null,h=function(n){if(null!==s){var r=n.touches[0].pageX,a=n.touches[0].pageY,h=o.value;if(Math.abs(r-s.x)>Math.abs(a-s.y))if(e.scrollX){if(0===h.scrollLeft&&r>s.x)return void(l=!1);if(h.scrollWidth===h.offsetWidth+h.scrollLeft&&r<s.x)return void(l=!1);l=!0}else l=!1;else if(e.scrollY)if(0===h.scrollTop&&a>s.y)l=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(h.scrollHeight===h.offsetHeight+h.scrollTop&&a<s.y)return void(l=!1);l=!0}else l=!1;if(l&&n.stopPropagation(),0===h.scrollTop&&1===n.touches.length&&(t.refreshState="pulling"),e.refresherEnabled&&"pulling"===t.refreshState){var f=a-s.y;0===c&&(c=a),u?(t.refresherHeight=f+e.refresherThreshold,d=!1):(t.refresherHeight=a-c,t.refresherHeight>0&&(d=!0,i("refresherpulling",n,{deltaY:f})));var p=t.refresherHeight/e.refresherThreshold;t.refreshRotate=360*(p>1?1:p)}}},f=function(e){1===e.touches.length&&(iv({disable:!0}),s={x:e.touches[0].pageX,y:e.touches[0].pageY})},p=function(n){s=null,iv({disable:!1}),t.refresherHeight>=e.refresherThreshold?w("refreshing"):w("refresherabort")};o.value.addEventListener("touchstart",f,Jv),o.value.addEventListener("touchmove",h,er(!1)),o.value.addEventListener("scroll",a,er(!1)),o.value.addEventListener("touchend",p,Jv),rv(),Ao((()=>{o.value.removeEventListener("touchstart",f),o.value.removeEventListener("touchmove",h),o.value.removeEventListener("scroll",a),o.value.removeEventListener("touchend",p)}))})),So((()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)})),go(n,(e=>{m(e)})),go(r,(e=>{_(e)})),go((()=>e.scrollIntoView),(e=>{b(e)})),go((()=>e.refresherTriggered),(e=>{!0===e?w("refreshing"):!1===e&&w("restore")}))}(e,c,d,h,u,i,a,s,n);var f=il((()=>{var t="";return e.scrollX?t+="overflow-x:auto;":t+="overflow-x:hidden;",e.scrollY?t+="overflow-y:auto;":t+="overflow-y:hidden;",t}));return()=>{var{refresherEnabled:t,refresherBackground:n,refresherDefaultStyle:u}=e,{refresherHeight:d,refreshState:h,refreshRotate:p}=c;return Ps("uni-scroll-view",{ref:i},[Ps("div",{ref:o,class:"uni-scroll-view"},[Ps("div",{ref:a,style:f.value,class:"uni-scroll-view"},[Ps("div",{ref:s,class:"uni-scroll-view-content"},[t?Ps("div",{ref:l,style:{backgroundColor:n,height:d+"px"},class:"uni-scroll-view-refresher"},["none"!==u?Ps("div",{class:"uni-scroll-view-refresh"},[Ps("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==h?Ps("svg",{key:"refresh__icon",style:{transform:"rotate("+p+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Ps("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),Ps("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==h?Ps("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Ps("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"==u?r.refresher&&r.refresher():null],4):null,r.default&&r.default()],512)],4)],512)],512)}}});var eg=ff({name:"Slider",props:{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}},emits:["changing","change"],setup(e,t){var{emit:n}=t,r=xa(null),i=xa(null),a=xa(null),o=xa(Number(e.value));go((()=>e.value),(e=>{o.value=Number(e)}));var s=bf(r,n),l=function(e,t){var n=()=>{var n=Number(e.max),r=Number(e.min);return 100*(t.value-r)/(n-r)+"%"},r=()=>"#e9e9e9"!==e.backgroundColor?e.backgroundColor:"#007aff"!==e.color?e.color:"#007aff",i=()=>"#007aff"!==e.activeColor?e.activeColor:"#e9e9e9"!==e.selectedColor?e.selectedColor:"#e9e9e9";return{setBgColor:il((()=>({backgroundColor:r()}))),setBlockBg:il((()=>({left:n()}))),setActiveColor:il((()=>({backgroundColor:i(),width:n()}))),setBlockStyle:il((()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n(),backgroundColor:e.blockColor})))}}(e,o),{_onClick:u,_onTrack:c}=function(e,t,n,r,i){var a=n=>{e.disabled||(s(n),i("change",n,{value:t.value}))},o=t=>{var n=Number(e.max),r=Number(e.min),i=Number(e.step);return t<r?r:t>n?n:tg.mul.call(Math.round((t-r)/i),i)+r},s=i=>{var a=Number(e.max),s=Number(e.min),l=r.value,u=getComputedStyle(l,null).marginLeft,c=l.offsetWidth;c+=parseInt(u);var d=n.value,h=d.offsetWidth-(e.showValue?c:0),f=d.getBoundingClientRect().left,p=(i.x-f)*(a-s)/h+s;t.value=o(p)},l=n=>{if(!e.disabled)return"move"===n.detail.state?(s({x:n.detail.x}),i("changing",n,{value:t.value}),!1):"end"===n.detail.state&&i("change",n,{value:t.value})},u=fo(yf,!1);if(u){var c={reset:()=>t.value=Number(e.min),submit:()=>{var n=["",null];return""!==e.name&&(n[0]=e.name,n[1]=t.value),n}};u.addField(c),Ao((()=>{u.removeField(c)}))}return{_onClick:a,_onTrack:l}}(e,o,r,i,s);return Io((()=>{hv(a.value,c)})),()=>{var{setBgColor:t,setBlockBg:n,setActiveColor:s,setBlockStyle:c}=l;return Ps("uni-slider",{ref:r,onClick:_f(u)},[Ps("div",{class:"uni-slider-wrapper"},[Ps("div",{class:"uni-slider-tap-area"},[Ps("div",{style:t.value,class:"uni-slider-handle-wrapper"},[Ps("div",{ref:a,style:n.value,class:"uni-slider-handle"},null,4),Ps("div",{style:c.value,class:"uni-slider-thumb"},null,4),Ps("div",{style:s.value,class:"uni-slider-track"},null,4)],4)]),Fo(Ps("span",{ref:i,class:"uni-slider-value"},[o.value],512),[[Al,e.showValue]])]),Ps("slot",null,null)],8,["onClick"])}}});var tg={mul:function(e){var t=0,n=this.toString(),r=e.toString();try{t+=n.split(".")[1].length}catch(i){}try{t+=r.split(".")[1].length}catch(i){}return Number(n.replace(".",""))*Number(r.replace(".",""))/Math.pow(10,t)}};function ng(e,t,n,r,i,a){function o(){u&&(clearTimeout(u),u=null)}var s,l,u=null,c=!0,d=0,h=1,f=null,p=!1,v=0,g="",m=il((()=>e.circular&&n.value.length>t.displayMultipleItems));function _(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||m.value&&function(r){if(!c)for(var i=n.value,a=i.length,o=r+t.displayMultipleItems,s=0;s<a;s++){var l=i[s],u=Math.floor(r/a)*a+s,d=u+a,h=u-a,f=Math.max(r-(u+1),u-o,0),p=Math.max(r-(d+1),d-o,0),v=Math.max(r-(h+1),h-o,0),g=Math.min(f,p,v),m=[u,d,h][[f,p,v].indexOf(g)];l.updatePosition(m,e.vertical)}}(i);var o="translate("+(e.vertical?"0":100*-i*h+"%")+", "+(e.vertical?100*-i*h+"%":"0")+") translateZ(0)",l=r.value;if(l&&(l.style.webkitTransform=o,l.style.transform=o),d=i,!s){if(i%1==0)return;s=i}i-=Math.floor(s);var u=n.value;i<=-(u.length-1)?i+=u.length:i>=u.length&&(i-=u.length),i=s%1>.5||s<0?i-1:i,a("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function b(e){var r=n.value.length;if(!r)return-1;var i=(Math.round(e)%r+r)%r;if(m.value){if(r<=t.displayMultipleItems)return 0}else if(i>r-t.displayMultipleItems)return r-t.displayMultipleItems;return i}function y(){f=null}function w(){if(f){var e=f,r=e.toPos,i=e.acc,o=e.endTime,u=e.source,c=o-Date.now();if(c<=0){_(r),f=null,p=!1,s=null;var d=n.value[t.current];if(d){var h=d.getItemId();a("animationfinish",{},{current:t.current,currentItemId:h,source:u})}}else{_(r+i*c*c/2),l=requestAnimationFrame(w)}}else p=!1}function x(e,r,i){y();var a=t.duration,o=n.value.length,s=d;if(m.value)if(i<0){for(;s<e;)s+=o;for(;s-o>e;)s-=o}else if(i>0){for(;s>e;)s-=o;for(;s+o<e;)s+=o;s+o-e<e-s&&(s+=o)}else{for(;s+o<e;)s+=o;for(;s-o>e;)s-=o;s+o-e<e-s&&(s+=o)}f={toPos:e,acc:2*(s-e)/(a*a),endTime:Date.now()+a,source:r},p||(p=!0,l=requestAnimationFrame(w))}function S(){o();var e=n.value,r=function(){u=null,g="autoplay",m.value?t.current=b(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,x(t.current,"autoplay",m.value?1:0),u=setTimeout(r,t.interval)};c||e.length<=t.displayMultipleItems||(u=setTimeout(r,t.interval))}function k(e){e?S():o()}return go([()=>e.current,()=>e.currentItemId,()=>[...n.value]],(()=>{var r=-1;if(e.currentItemId)for(var i=0,a=n.value;i<a.length;i++){if(a[i].getItemId()===e.currentItemId){r=i;break}}r<0&&(r=Math.round(e.current)||0),r=r<0?0:r,t.current!==r&&(g="",t.current=r)})),go([()=>e.vertical,()=>m.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){o(),f&&(_(f.toPos),f=null);for(var i=n.value,a=0;a<i.length;a++)i[a].updatePosition(a,e.vertical);h=1;var s=r.value;if(1===t.displayMultipleItems&&i.length){var l=i[0].getBoundingClientRect(),u=s.getBoundingClientRect();(h=l.width/u.width)>0&&h<1||(h=1)}var p=d;d=-2;var g=t.current;g>=0?(c=!1,t.userTracking?(_(p+g-v),v=g):(_(g),e.autoplay&&S())):(c=!0,_(-t.displayMultipleItems-1))})),go((()=>t.interval),(()=>{u&&(o(),S())})),go((()=>t.current),((e,r)=>{!function(e,r){var i=g;g="";var o=n.value;if(!i){var s=o.length;x(e,"",m.value&&r+(s-e)%s>s/2?1:0)}var l=o[e];if(l){var u=t.currentItemId=l.getItemId();a("change",{},{current:t.current,currentItemId:u,source:i})}}(e,r),i("update:current",e)})),go((()=>t.currentItemId),(e=>{i("update:currentItemId",e)})),go((()=>e.autoplay&&!t.userTracking),k),k(e.autoplay&&!t.userTracking),Io((()=>{var i=!1,a=0,s=0;function l(e){t.userTracking=!1;var n=a/Math.abs(a),r=0;!e&&Math.abs(a)>.2&&(r=.5*n);var i=b(d+r);e?_(v):(g="touch",t.current=i,x(i,"touch",0!==r?r:0===i&&m.value&&d>=1?1:0))}hv(r.value,(u=>{if(!e.disableTouch&&!c){if("start"===u.detail.state)return t.userTracking=!0,i=!1,o(),v=d,a=0,s=Date.now(),void y();if("end"===u.detail.state)return l(!1);if("cancel"===u.detail.state)return l(!0);if(t.userTracking){if(!i){i=!0;var h=Math.abs(u.detail.dx),f=Math.abs(u.detail.dy);if((h>=f&&e.vertical||h<=f&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&S())}return function(i){var o=s;s=Date.now();var l=n.value.length-t.displayMultipleItems;function u(e){return.5-.25/(e+.5)}function c(e,t){var n=v+e;a=.6*a+.4*t,m.value||(n<0||n>l)&&(n<0?n=-u(-n):n>l&&(n=l+u(n-l)),a=0),_(n)}var d=s-o||1,h=r.value;e.vertical?c(-i.dy/h.offsetHeight,-i.ddy/d):c(-i.dx/h.offsetWidth,-i.ddx/d)}(u.detail),!1}}}))})),Bo((()=>{o(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){x(t.current=e,g="click",m.value?1:0)}}}var rg=ff({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:n,emit:r}=t,i=xa(null),a=bf(i,r),o=xa(null),s=xa(null),l=function(e){return sa({interval:il((()=>{var t=Number(e.interval);return isNaN(t)?5e3:t})),duration:il((()=>{var t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:il((()=>{var t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),u=il((()=>{var t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:tu(e.previousMargin,!0),bottom:tu(e.nextMargin,!0)}:{top:0,bottom:0,left:tu(e.previousMargin,!0),right:tu(e.nextMargin,!0)}),t})),c=il((()=>{var t=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}})),d=[],h=[],f=xa([]);function p(){for(var e=[],t=function(t){var n=d[t];n instanceof Element||(n=n.el);var r=h.find((e=>n===e.rootRef.value));r&&e.push(ga(r))},n=0;n<d.length;n++)t(n);f.value=e}ov((()=>{d=s.value.children,p()}));ho("addSwiperContext",(function(e){h.push(e),p()}));ho("removeSwiperContext",(function(e){var t=h.indexOf(e);t>=0&&(h.splice(t,1),p())}));var{onSwiperDotClick:v}=ng(e,l,f,s,r,a);return()=>{var t=n.default&&n.default();return d=av(t),Ps("uni-swiper",{ref:i},[Ps("div",{ref:o,class:"uni-swiper-wrapper"},[Ps("div",{class:"uni-swiper-slides",style:u.value},[Ps("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[t],4)],4),e.indicatorDots&&Ps("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,r)=>Ps("div",{onClick:()=>v(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<l.current+l.displayMultipleItems&&n>=l.current||n<l.current+l.displayMultipleItems-r.length},style:{background:n===l.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2)],512)],512)}}}),ig=ff({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,t){var{slots:n}=t,r=xa(null),i={rootRef:r,getItemId:()=>e.itemId,getBoundingClientRect:()=>r.value.getBoundingClientRect(),updatePosition(e,t){var n=t?"0":100*e+"%",i=t?100*e+"%":"0",a=r.value,o="translate(".concat(n,",").concat(i,") translateZ(0)");a&&(a.style.webkitTransform=o,a.style.transform=o)}};return Io((()=>{var e=fo("addSwiperContext");e&&e(i)})),Bo((()=>{var e=fo("removeSwiperContext");e&&e(i)})),()=>Ps("uni-swiper-item",{ref:r,style:{position:"absolute",width:"100%",height:"100%"}},[n.default&&n.default()],512)}}),ag=ff({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},emits:["change"],setup(e,t){var{emit:n}=t,r=xa(null),i=xa(e.checked),a=function(e,t){var n=fo(yf,!1),r=fo(Sf,!1),i={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(i),Bo((()=>{n.removeField(i)})));return r}(e,i),o=bf(r,n);go((()=>e.checked),(e=>{i.value=e}));var s=t=>{e.disabled||(i.value=!i.value,o("change",t,{value:i.value}))};return a&&(a.addHandler(s),Ao((()=>{a.removeHandler(s)}))),Tf(e,{"label-click":s}),()=>{var{color:t,type:n}=e,a=mf(e,"disabled");return Ps("uni-switch",Ws({ref:r},a,{onClick:s}),[Ps("div",{class:"uni-switch-wrapper"},[Fo(Ps("div",{class:["uni-switch-input",[i.value?"uni-switch-input-checked":""]],style:{backgroundColor:i.value?t:"#DFDFDF",borderColor:i.value?t:"#DFDFDF"}},null,6),[[Al,"switch"===n]]),Fo(Ps("div",{class:"uni-checkbox-input"},[i.value?au(iu,e.color,22):""],512),[[Al,"checkbox"===n]])])],16,["onClick"])}}});var og={ensp:" ",emsp:" ",nbsp:" "};function sg(e,t){return e.replace(/\\n/g,$n).split($n).map((e=>function(e,t){var{space:n,decode:r}=t;if(!e)return e;n&&og[n]&&(e=e.replace(/ /g,og[n]));if(!r)return e;return e.replace(/ /g,og.nbsp).replace(/ /g,og.ensp).replace(/ /g,og.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}(e,t)))}var lg=an({},Hp,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>cg.concat("return").includes(e)}}),ug=!1,cg=["done","go","next","search","send"];var dg=ff({name:"Textarea",props:lg,emits:["confirm","linechange",...qp],setup(e,t){var n,{emit:r}=t,i=xa(null),a=xa(null),{fieldRef:o,state:s,scopedAttrsState:l,fixDisabledColor:u,trigger:c}=Zp(e,i,r),d=il((()=>s.value.split($n))),h=il((()=>cg.includes(e.confirmType))),f=xa(0),p=xa(null);function v(e){var{height:t}=e;f.value=t}function g(e){"Enter"===e.key&&h.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&h.value){!function(e){c("confirm",e,{value:s.value})}(t);var n=t.target;!e.confirmHold&&n.blur()}}return go((()=>f.value),(t=>{var n=i.value,r=p.value,o=a.value,s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=r.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",o.style.height=t+"px")})),n="(prefers-color-scheme: dark)",ug=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(n).media!==n,()=>{var t=e.disabled&&u?Ps("textarea",{ref:o,value:s.value,tabindex:"-1",readonly:!!e.disabled,maxlength:s.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":ug},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Ps("textarea",{ref:o,value:s.value,disabled:!!e.disabled,maxlength:s.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":ug},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:g,onKeyup:m},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return Ps("uni-textarea",{ref:i},[Ps("div",{ref:a,class:"uni-textarea-wrapper"},[Fo(Ps("div",Ws(l.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Al,!s.value.length]]),Ps("div",{ref:p,class:"uni-textarea-line"},[" "],512),Ps("div",{class:"uni-textarea-compute"},[d.value.map((e=>Ps("div",null,[e.trim()?e:"."]))),Ps(Of,{initial:!0,onResize:v},null,8,["initial","onResize"])]),"search"===e.confirmType?Ps("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}});function hg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function fg(e,t,n){e&&Wr(n||su(),e,((e,n)=>{var{type:r,data:i}=e;t(r,i,n)}))}function pg(e,t){e&&function(e,t){t=Vr(e,t),delete jr[t]}(t||su(),e)}function vg(e,t,n,r){var i=Xs().proxy;Io((()=>{fg(t||hg(i),e,r),!n&&t||go((()=>i.id),((t,n)=>{fg(hg(i,t),e,r),pg(n&&hg(i,n))}))})),Ao((()=>{pg(t||hg(i),r)}))}an({},vf);var gg=0;function mg(e){var t=ou(),n=Xs().proxy,r=n.$options.name.toLowerCase(),i=e||n.id||"context".concat(gg++);return Io((()=>{n.$el.__uniContextInfo={id:i,type:r,page:t}})),"".concat(r,".").concat(i)}class _g extends uf{constructor(e,t,n,r,i){super(e,t,n,r,i,[...hf.props,...arguments.length>5&&void 0!==arguments[5]?arguments[5]:[]])}call(e){var t={animation:this.$props.animation,$el:this.$};e.call(t)}setAttribute(e,t){return"animation"===e&&(this.$animate=!0),super.setAttribute(e,t)}update(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.$animate)return e?this.call(hf.mounted):void(this.$animate&&(this.$animate=!1,this.call(hf.watch.animation.handler)))}}var bg=["space","decode"];var yg=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class wg extends _g{constructor(e,t,n,r,i){super(e,t,n,r,i,[...yg,...arguments.length>5&&void 0!==arguments[5]?arguments[5]:[]])}update(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.$props["hover-class"];t&&"none"!==t?(this._hover||(this._hover=new xg(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(e)}}class xg{constructor(e,t){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=e,this.props=t,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(e){this._hovering=e;var t=this.props["hover-class"];e?this.$.classList.add(t):this.$.classList.remove(t)}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(e){if(!e._hoverPropagationStopped){var t=this.props["hover-class"];t&&"none"!==t&&!this.$.disabled&&(e.touches.length>1||(this.props["hover-stop-propagation"]&&(e._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)}}function Sg(){return plus.navigator.isImmersedStatusbar()?Math.round("iOS"===plus.os.name?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function kg(){var e=plus.webview.currentWebview().getStyle(),t=e&&e.titleNView;return t&&"default"===t.type?44+Sg():0}var Tg=Symbol("onDraw");function Eg(e,t){return il((()=>{var n={};return Object.keys(e).forEach((r=>{if(!t||!t.includes(r)){var i=e[r];i="src"===r?$u(i):i,n[r.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))]=i}})),n}))}function Cg(e){var t=sa({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),n=xa(!1);function r(){var r=e.value,i=r.getBoundingClientRect(),a=["width","height"];n.value=0===i.width||0===i.height,n.value||(t.position=function(e){for(var t;e;){var n=getComputedStyle(e),r=n.transform||n.webkitTransform;t=(!r||"none"===r)&&t,t="fixed"===n.position||t,e=e.parentElement}return t}(r)?"absolute":"static",a.push("top","left")),a.forEach((e=>{var n=i[e];n="top"===e?n+("static"===t.position?document.documentElement.scrollTop||document.body.scrollTop||0:kg()):n,t[e]=n+"px"}))}var i=null;function a(){i&&cancelAnimationFrame(i),i=requestAnimationFrame((()=>{i=null,r()}))}window.addEventListener("updateview",a);var o=[],s=[];return ho(Tg,(function(e){o?o.push(e):e(t)})),Io((()=>{r(),s.forEach((e=>e())),s=null})),Ao((()=>{window.removeEventListener("updateview",a)})),{position:t,hidden:n,onParentReady:function(e){var n=fo(Tg),r=n=>{e(n),o.forEach((e=>e(t))),o=null};!function(e){s?s.push(e):e()}((()=>{n?n(r):r({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})}))}}}var Mg=ff({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,t){var n,{emit:r}=t,i=xa(null),a=xa(null),o=bf(i,r),s=Eg(e,["id"]),{position:l,onParentReady:u}=Cg(a);return u((()=>{function t(){var t={adpid:e.adpid,width:l.width,count:e.dataCount};void 0!==e.channel&&(t.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",t,(e=>{var{code:t,data:r,message:i}=e;0===t?n.renderingBind(r):o("error",{},{errMsg:i})}))}n=plus.ad.createAdView(Object.assign({},s.value,l)),plus.webview.currentWebview().append(n),n.setDislikeListener((e=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),o("close",{},e)})),n.setRenderingListener((e=>{0===e.result?(a.value.style.height=e.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):o("error",{},{errCode:e.result})})),n.setAdClickedListener((()=>{o("adclicked",{},{})})),go((()=>l),(e=>n.setStyle(e)),{deep:!0}),go((()=>e.adpid),(e=>{e&&t()})),go((()=>e.data),(e=>{e&&n.renderingBind(e)})),e.adpid&&t()})),Ao((()=>{n&&n.close()})),()=>Ps("uni-ad",{ref:i},[Ps("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class Og extends jh{constructor(e,t,n,r,i,a,o){super(e,t,r);var s=document.createElement("div");s.__vueParent=function(e){for(;e&&e.pid>0;)if(e=im(e.pid)){var{__vueParentComponent:t}=e.$;if(t)return t}return null}(this),this.$props=sa({}),this.init(a),this.$app=Dl(function(e,t){return()=>al(e,t)}(n,this.$props)),this.$app.mount(s),this.$=s.firstElementChild,o&&(this.$holder=this.$.querySelector(o)),ln(a,"t")&&this.setText(a.t||""),a.a&&ln(a.a,cr)&&lf(this.$,a.a[".vShow"]),this.insert(r,i),Ka()}init(e){var{a:t,e:n,w:r}=e;t&&(this.setWxsProps(t),Object.keys(t).forEach((e=>{this.setAttr(e,t[e])}))),ln(e,"s")&&this.setAttr("style",e.s),n&&Object.keys(n).forEach((e=>{this.addEvent(e,n[e])})),r&&this.addWxsEvents(e.w)}setText(e){(this.$holder||this.$).textContent=e,this.updateView()}addWxsEvent(e,t,n){this.$props[e]=sf(this,t,n)}addEvent(e,t){this.$props[e]=af(this.id,t,or(e)[1])}removeEvent(e){this.$props[e]=null}setAttr(e,t){if(e===cr)this.$&&lf(this.$,t);else if(e===dr)this.$.__ownerId=t;else if(e===hr)Nh((()=>$h(this,t)),3);else if(e===ur){var n=Qh(this.$||im(this.pid).$,t),r=this.$props.style;bn(n)&&bn(r)?Object.keys(n).forEach((e=>{r[e]=n[e]})):this.$props.style=n}else ef(e)?this.$.style.setProperty(e,t):(t=Qh(this.$||im(this.pid).$,t),this.wxsPropsInvoke(e,t,!0)||(this.$props[e]=t));this.updateView()}removeAttr(e){ef(e)?this.$.style.removeProperty(e):this.$props[e]=null,this.updateView()}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),am(this.id),this.removeUniChildren(),this.updateView()}appendChild(e){var t=(this.$holder||this.$).appendChild(e);return this.updateView(!0),t}insertBefore(e,t){var n=(this.$holder||this.$).insertBefore(e,t);return this.updateView(!0),n}}class Ig extends Og{constructor(e,t,n,r,i,a,o){super(e,t,n,r,i,a,o)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(e){return Nh(this.getRebuildFn(),2),super.setText(e)}appendChild(e){return Nh(this.getRebuildFn(),2),super.appendChild(e)}insertBefore(e,t){return Nh(this.getRebuildFn(),2),super.insertBefore(e,t)}removeUniChild(e){return Nh(this.getRebuildFn(),2),super.removeUniChild(e)}rebuild(){var e=this.$.__vueParentComponent;e.rebuild&&e.rebuild()}}function Ng(e,t,n){e.childNodes.forEach((n=>{n instanceof Element?-1===n.className.indexOf(t)&&e.removeChild(n):e.removeChild(n)})),e.appendChild(document.createTextNode(n))}var Lg=["value","modelValue"];function Ag(e){Lg.forEach((t=>{if(ln(e,t)){var n="onUpdate:"+t;ln(e,n)||(e[n]=n=>e[t]=n)}}))}class Bg extends jh{constructor(e,t,n,r){super(e,t,n),this.insert(n,r)}}var Rg=0;function Pg(e,t,n){var r,i,{position:a,hidden:o,onParentReady:s}=Cg(e);s((s=>{var l=il((()=>{var e={};for(var t in a){var n=a[t],r=parseFloat(n),i=parseFloat(s[t]);if("top"===t||"left"===t)n=Math.max(r,i)+"px";else if("width"===t||"height"===t){var o="width"===t?"left":"top",l=parseFloat(s[o]),u=parseFloat(a[o]),c=Math.max(l-u,0),d=Math.max(u+r-(l+i),0);n=Math.max(r-c-d,0)+"px"}e[t]=n}return e})),u=["borderRadius","borderColor","borderWidth","backgroundColor"],c=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],d=[],h={start:"left",end:"right"};function f(t){var n=getComputedStyle(e.value);return u.concat(c,d).forEach((e=>{t[e]=n[e]})),t}var p=sa(f({})),v=null;i=function(){v&&cancelAnimationFrame(v),v=requestAnimationFrame((()=>{v=null,f(p)}))},window.addEventListener("updateview",i);var g=il((()=>{var e=function(){var e={};for(var t in e){var n=e[t];"top"!==t&&"left"!==t||(n=Math.min(parseFloat(n)-parseFloat(s[t]),0)+"px"),e[t]=n}return e}(),t=[{tag:"rect",position:e,rectStyles:{color:p.backgroundColor,radius:p.borderRadius,borderColor:p.borderColor,borderWidth:p.borderWidth}}];if("src"in n)n.src&&t.push({tag:"img",position:e,src:n.src});else{var r=parseFloat(p.lineHeight)-parseFloat(p.fontSize),i=parseFloat(e.width)-parseFloat(p.paddingLeft)-parseFloat(p.paddingRight);i=i<0?0:i;var a=parseFloat(e.height)-parseFloat(p.paddingTop)-r/2-parseFloat(p.paddingBottom);a=a<0?0:a,t.push({tag:"font",position:{top:"".concat(parseFloat(e.top)+parseFloat(p.paddingTop)+r/2,"px"),left:"".concat(parseFloat(e.left)+parseFloat(p.paddingLeft),"px"),width:"".concat(i,"px"),height:"".concat(a,"px")},textStyles:{align:h[p.textAlign]||p.textAlign,color:p.color,decoration:"none",lineSpacing:"".concat(r,"px"),margin:"0px",overflow:p.textOverflow,size:p.fontSize,verticalAlign:"top",weight:p.fontWeight,whiteSpace:p.whiteSpace},text:n.text})}return t}));r=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(Rg++),l.value,g.value),plus.webview.currentWebview().append(r),o.value&&r.hide(),r.addEventListener("click",(()=>{t("click",{},{})})),go((()=>o.value),(e=>{r[e?"hide":"show"]()})),go((()=>l.value),(e=>{r.setStyle(e)}),{deep:!0}),go((()=>g.value),(()=>{r.reset(),r.draw(g.value)}),{deep:!0})})),Ao((()=>{r&&r.close(),i&&window.removeEventListener("updateview",i)}))}var zg=ff({name:"CoverImage",props:{src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}},emits:["click","load","error"],setup(e,t){var{emit:n}=t,r=xa(null),i=bf(r,n),a=sa({src:""}),o=function(e,t,n){var r,i=xa("");function a(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var a=e.src?$u(e.src):"";0===a.indexOf("http://")||0===a.indexOf("https://")?(r=plus.downloader.createDownload(a,{filename:"_doc/uniapp_temp//download/"},((e,t)=>{200===t?o(e.filename):n("error",{},{errMsg:"error"})}))).start():a&&o(a)}function o(r){t.src=r,plus.io.getImageInfo({src:r,success:t=>{var{width:r,height:a}=t;e.autoSize&&(i.value="width:".concat(r,"px;height:").concat(a,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),n("load",{},{width:r,height:a})},fail:()=>{n("error",{},{errMsg:"error"})}})}return e.src&&a(),go((()=>e.src),a),Ao((()=>{r&&r.abort()})),i}(e,a,i);return Pg(r,i,a),()=>Ps("uni-cover-image",{ref:r,style:o.value},[Ps("div",{class:"uni-cover-image"},null)],4)}});var Dg=ff({name:"CoverView",emits:["click"],setup(e,t){var{emit:n}=t,r=xa(null),i=xa(null),a=bf(r,n),o=sa({text:""});return Pg(r,a,o),ov((()=>{var e=i.value.childNodes[0];o.text=e&&e instanceof Text?e.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))})),()=>Ps("uni-cover-view",{ref:r},[Ps("div",{ref:i,class:"uni-cover-view"},null,512)],512)}});var Fg={id:{type:String,default:""},url:{type:String,default:""},mode:{type:String,default:"SD"},muted:{type:[Boolean,String],default:!1},enableCamera:{type:[Boolean,String],default:!0},autoFocus:{type:[Boolean,String],default:!0},beauty:{type:[Number,String],default:0},whiteness:{type:[Number,String],default:0},aspect:{type:[String],default:"3:2"},minBitrate:{type:[Number],default:200}},$g=["statechange","netstatus","error"],jg=ff({name:"LivePusher",props:Fg,emits:$g,setup(e,t){var n,{emit:r}=t,i=xa(null),a=bf(i,r),o=xa(null),s=Eg(e,["id"]),{position:l,hidden:u,onParentReady:c}=Cg(o);return c((()=>{n=new plus.video.LivePusher("livePusher"+Date.now(),Object.assign({},s.value,l)),plus.webview.currentWebview().append(n),$g.forEach((e=>{n.addEventListener(e,(t=>{a(e,{},t.detail)}))})),go((()=>s.value),(e=>n.setStyles(e)),{deep:!0}),go((()=>l),(e=>n.setStyles(e)),{deep:!0}),go((()=>u.value),(e=>{e||n.setStyles(l)}))})),vg(((e,t)=>{n&&n[e](t)}),mg(),!0),Ao((()=>{n&&n.close()})),()=>Ps("uni-live-pusher",{ref:i,id:e.id},[Ps("div",{ref:o,class:"uni-live-pusher-container"},null,512)],8,["id"])}});function Vg(e){if(0!==e.indexOf("#"))return{color:e,opacity:1};var t=e.slice(7,9);return{color:e.slice(0,7),opacity:t?Number("0x"+t)/255:1}}var Wg=ff({name:"Map",props:{id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]}},emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var n,{emit:r}=t,i=xa(null),a=bf(i,r),o=xa(null),s=Eg(e,["id"]),{position:l,hidden:u,onParentReady:c}=Cg(o),{_addMarkers:d,_addMapLines:h,_addMapCircles:f,_addMapPolygons:p,_setMap:v}=function(e,t){var n;function r(t){var{longitude:r,latitude:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n&&(n.setCenter(new plus.maps.Point(Number(r||e.longitude),Number(i||e.latitude))),t({errMsg:"moveToLocation:ok"}))}function i(e){n&&n.getCurrentCenter(((t,n)=>{e({longitude:n.getLng(),latitude:n.getLat(),errMsg:"getCenterLocation:ok"})}))}function a(e){if(n){var t=n.getBounds();e({southwest:t.getSouthWest(),northeast:t.getNorthEast(),errMsg:"getRegion:ok"})}}function o(e){n&&e({scale:n.getZoom(),errMsg:"getScale:ok"})}function s(e){if(n){var{id:r,latitude:i,longitude:a,iconPath:o,callout:s,label:l}=e;(e=>{var i,{latitude:a,longitude:u}=e.coord,c=new plus.maps.Marker(new plus.maps.Point(u,a));o&&c.setIcon($u(o)),l&&l.content&&c.setLabel(l.content);var d=void 0;s&&s.content&&(d=new plus.maps.Bubble(s.content)),d&&c.setBubble(d),(r||0===r)&&(c.onclick=e=>{t("markertap",{},{markerId:r})},d&&(d.onclick=()=>{t("callouttap",{},{markerId:r})})),null===(i=n)||void 0===i||i.addOverlay(c),n.__markers__.push(c)})({coord:{latitude:i,longitude:a}})}}function l(){n&&(n.__markers__.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),n.__markers__=[])}function u(e,t){t&&l(),e.forEach((e=>{s(e)}))}function c(e){n&&(n.__lines__.length>0&&(n.__lines__.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),n.__lines__=[]),e.forEach((e=>{var t,{color:r,width:i}=e,a=e.points.map((e=>new plus.maps.Point(e.longitude,e.latitude))),o=new plus.maps.Polyline(a);if(r){var s=Vg(r);o.setStrokeColor(s.color),o.setStrokeOpacity(s.opacity)}i&&o.setLineWidth(i),null===(t=n)||void 0===t||t.addOverlay(o),n.__lines__.push(o)})))}function d(e){n&&(n.__circles__.length>0&&(n.__circles__.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),n.__circles__=[]),e.forEach((e=>{var t,{latitude:r,longitude:i,color:a,fillColor:o,radius:s,strokeWidth:l}=e,u=new plus.maps.Circle(new plus.maps.Point(i,r),s);if(a){var c=Vg(a);u.setStrokeColor(c.color),u.setStrokeOpacity(c.opacity)}if(o){var d=Vg(o);u.setFillColor(d.color),u.setFillOpacity(d.opacity)}l&&u.setLineWidth(l),null===(t=n)||void 0===t||t.addOverlay(u),n.__circles__.push(u)})))}function h(e){if(n){var t=n.__polygons__;t.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),t.length=0,e.forEach((e=>{var r,{points:i,strokeWidth:a,strokeColor:o,fillColor:s}=e,l=[];i&&i.forEach((e=>{l.push(new plus.maps.Point(e.longitude,e.latitude))}));var u=new plus.maps.Polygon(l);if(o){var c=Vg(o);u.setStrokeColor(c.color),u.setStrokeOpacity(c.opacity)}if(s){var d=Vg(s);u.setFillColor(d.color),u.setFillOpacity(d.opacity)}a&&u.setLineWidth(a),null===(r=n)||void 0===r||r.addOverlay(u),t.push(u)}))}}var f={moveToLocation:r,getCenterLocation:i,getRegion:a,getScale:o};return vg(((e,t,n)=>{f[e]&&f[e](n,t)}),mg(),!0),{_addMarkers:u,_addMapLines:c,_addMapCircles:d,_addMapPolygons:h,_setMap(e){n=e}}}(e,a);c((()=>{(n=an(plus.maps.create(su()+"-map-"+(e.id||Date.now()),Object.assign({},s.value,l,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[],__polygons__:[]})).setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(n),u.value&&n.hide(),n.onclick=e=>{a("click",{},e)},n.onstatuschanged=e=>{a("regionchange",{},{})},v(n),d(e.markers),h(e.polyline),f(e.circles),p(e.polygons),go((()=>s.value),(e=>n&&n.setStyles(e)),{deep:!0}),go((()=>l),(e=>n&&n.setStyles(e)),{deep:!0}),go(u,(e=>{n&&n[e?"hide":"show"]()})),go((()=>e.scale),(e=>{n&&n.setZoom(parseInt(String(e)))})),go([()=>e.latitude,()=>e.longitude],(e=>{var[t,r]=e;n&&n.setStyles({center:new plus.maps.Point(Number(t),Number(r))})})),go((()=>e.markers),(e=>{d(e,!0)}),{deep:!0}),go((()=>e.polyline),(e=>{h(e)}),{deep:!0}),go((()=>e.circles),(e=>{f(e)}),{deep:!0}),go((()=>e.polygons),(e=>{p(e)}),{deep:!0})}));var g=il((()=>e.controls.map((e=>{var t={position:"absolute"};return["top","left","width","height"].forEach((n=>{e.position[n]&&(t[n]=e.position[n]+"px")})),{id:e.id,iconPath:$u(e.iconPath),position:t,clickable:e.clickable}}))));return Ao((()=>{n&&(n.close(),v(null))})),()=>Ps("uni-map",{ref:i,id:e.id},[Ps("div",{ref:o,class:"uni-map-container"},null,512),g.value.map(((e,t)=>Ps(zg,{key:t,src:e.iconPath,style:e.position,"auto-size":!0,onClick:()=>e.clickable&&a("controltap",{},{controlId:e.id})},null,8,["src","style","auto-size","onClick"]))),Ps("div",{class:"uni-map-slot"},null)],8,["id"])}});var Ug={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Hg={YEAR:"year",MONTH:"month",DAY:"day"};function qg(e){return e>9?e:"0".concat(e)}function Yg(e,t){e=String(e||"");var n=new Date;if(t===Ug.TIME){var r=e.split(":");2===r.length&&n.setHours(parseInt(r[0]),parseInt(r[1]))}else{var i=e.split("-");3===i.length&&n.setFullYear(parseInt(i[0]),parseInt(String(parseFloat(i[1])-1)),parseInt(i[2]))}return n}var Xg=ff({name:"Picker",props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Ug.SELECTOR,validator:e=>Object.values(Ug).indexOf(e)>=0},fields:{type:String,default:""},start:{type:String,default:function(e){if(e.mode===Ug.TIME)return"00:00";if(e.mode===Ug.DATE){var t=(new Date).getFullYear()-100;switch(e.fields){case Hg.YEAR:return t;case Hg.MONTH:return t+"-01";default:return t+"-01-01"}}return""}},end:{type:String,default:function(e){if(e.mode===Ug.TIME)return"23:59";if(e.mode===Ug.DATE){var t=(new Date).getFullYear()+100;switch(e.fields){case Hg.YEAR:return t;case Hg.MONTH:return t+"-12";default:return t+"-12-31"}}return""}},disabled:{type:[Boolean,String],default:!1}},emits:["change","cancel","columnchange"],setup(e,t){var{emit:n}=t;Rr();var{t:r,getLocale:i}=Ar(),a=xa(null),o=bf(a,n),s=xa(null),l=xa(null),u=()=>{var t=e.value;switch(e.mode){case Ug.MULTISELECTOR:un(t)||(t=[]),un(s.value)||(s.value=[]);for(var n=s.value.length=Math.max(t.length,e.range.length),r=0;r<n;r++){var i=Number(t[r]),a=Number(s.value[r]),o=isNaN(i)?isNaN(a)?0:a:i;s.value.splice(r,1,o<0?0:o)}break;case Ug.TIME:case Ug.DATE:s.value=String(t);break;default:var l=Number(t);s.value=l<0?0:l}},c=e=>{l.value&&l.value.sendMessage(e)},d=(t,n)=>{t.mode!==Ug.TIME&&t.mode!==Ug.DATE||t.fields?(t.fields=Object.values(Hg).includes(t.fields)?t.fields:Hg.DAY,(e=>{var t={event:"cancel"};l.value=xu({url:"__uniapppicker",data:e,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:n=>{var r=n.event;if("created"!==r)return"columnchange"===r?(delete n.event,void o(r,{},n)):void(t=n);c(e)},onClose:()=>{l.value=null;var e=t.event;delete t.event,e&&o(e,{},t)}})})(t)):((t,n)=>{plus.nativeUI[e.mode===Ug.TIME?"pickTime":"pickDate"]((t=>{var n=t.date;o("change",{},{value:e.mode===Ug.TIME?"".concat(qg(n.getHours()),":").concat(qg(n.getMinutes())):"".concat(n.getFullYear(),"-").concat(qg(n.getMonth()+1),"-").concat(qg(n.getDate()))})}),(()=>{o("cancel",{},{})}),e.mode===Ug.TIME?{time:Yg(e.value,Ug.TIME),popover:n}:{date:Yg(e.value,Ug.DATE),minDate:Yg(e.start,Ug.DATE),maxDate:Yg(e.end,Ug.DATE),popover:n})})(0,n)},h=t=>{if(!e.disabled){var n=t.currentTarget.getBoundingClientRect();d(Object.assign({},e,{value:s.value,locale:i(),messages:{done:r("uni.picker.done"),cancel:r("uni.picker.cancel")}}),{top:n.top+kg(),left:n.left,width:n.width,height:n.height})}},f=fo(yf,!1),p={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Ug.SELECTOR:s.value=0;break;case Ug.MULTISELECTOR:un(e.value)&&(s.value=e.value.map((e=>0)));break;case Ug.DATE:case Ug.TIME:s.value=""}}};return f&&(f.addField(p),Ao((()=>f.removeField(p)))),Object.keys(e).forEach((t=>{"name"!==t&&go((()=>e[t]),(e=>{var n={};n[t]=e,c(n)}),{deep:!0})})),go((()=>e.value),u,{deep:!0}),u(),()=>Ps("uni-picker",{ref:a,onClick:h},[Ps("slot",null,null)],8,["onClick"])}});var Zg={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},vslideGesture:{type:[Boolean,String],default:!1},vslideGestureInFullscreen:{type:[Boolean,String],default:!1},showPlayBtn:{type:[Boolean,String],default:!0},showMuteBtn:{type:[Boolean,String],default:!1},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:()=>({})},advanced:{type:Array,default:()=>[]}},Gg=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],Kg=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],Jg=ff({name:"Video",props:Zg,emits:Gg,setup(e,t){var n,{emit:r}=t,i=xa(null),a=bf(i,r),o=xa(null),s=Eg(e,["id"]),{position:l,hidden:u,onParentReady:c}=Cg(o);return c((()=>{n=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},s.value,l)),plus.webview.currentWebview().append(n),u.value&&n.hide(),Gg.forEach((e=>{n.addEventListener(e,(t=>{a(e,{},t.detail)}))})),go((()=>s.value),(e=>n.setStyles(e)),{deep:!0}),go((()=>l),(e=>n.setStyles(e)),{deep:!0}),go((()=>u.value),(e=>{n[e?"hide":"show"](),e||n.setStyles(l)}))})),vg(((e,t)=>{if(Kg.includes(e)){var r;switch(e){case"seek":r=t.position;break;case"sendDanmu":r=t;break;case"playbackRate":r=t.rate;break;case"requestFullScreen":r=t.direction}n&&n[e](r)}}),mg(),!0),Ao((()=>{n&&n.close()})),()=>Ps("uni-video",{ref:i,id:e.id},[Ps("div",{ref:o,class:"uni-video-container"},null,512),Ps("div",{class:"uni-video-slot"},null)],8,["id"])}});var Qg,em={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default:()=>({})}},tm=ff({name:"WebView",props:em,setup(e){var t=su(),n=xa(null),{hidden:r,onParentReady:i}=Cg(n),a=il((()=>e.webviewStyles));return i((()=>{var n;(e=>{var{htmlId:t,src:n,webviewStyles:r,props:i}=e,a=plus.webview.currentWebview(),o=an(r,{"uni-app":"none",isUniH5:!0}),s=a.getTitleNView();if(s){var l=44+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(l+=Sg()),o.top=String(l),o.bottom=o.bottom||"0"}Qg=plus.webview.create(n,t,o),s&&Qg.addEventListener("titleUpdate",(function(){var e;if(i.updateTitle){var t=null===(e=Qg)||void 0===e?void 0:e.getTitle();a.setStyle({titleNView:{titleText:t&&"null"!==t?t:" "}})}})),plus.webview.currentWebview().append(Qg)})({htmlId:xa("webviewId"+t).value,src:$u(e.src),webviewStyles:a.value,props:e}),UniViewJSBridge.publishHandler("webviewInserted",{},t),r.value&&(null===(n=Qg)||void 0===n||n.hide())})),Ao((()=>{var e;plus.webview.currentWebview().remove(Qg),null===(e=Qg)||void 0===e||e.close("none"),Qg=null,UniViewJSBridge.publishHandler("webviewRemoved",{},t)})),go((()=>e.src),(t=>{var n,r=$u(t)||"";if(r){var i;if(/^(http|https):\/\//.test(r)&&e.webviewStyles.progress)null===(i=Qg)||void 0===i||i.setStyle({progress:{color:e.webviewStyles.progress.color}});null===(n=Qg)||void 0===n||n.loadURL(r)}})),go(a,(e=>{var t;null===(t=Qg)||void 0===t||t.setStyle(e)})),go(r,(e=>{Qg&&Qg[e?"hide":"show"]()})),()=>Ps("uni-web-view",{ref:n},null,512)}});var nm={"#text":class extends jh{constructor(e,t,n,r){super(e,"#text",t,document.createTextNode("")),this.init(r),this.insert(t,n)}},"#comment":class extends jh{constructor(e,t,n){super(e,"#comment",t,document.createComment("")),this.insert(t,n)}},VIEW:class extends wg{constructor(e,t,n,r){super(e,document.createElement("uni-view"),t,n,r)}},IMAGE:class extends Og{constructor(e,t,n,r){super(e,"uni-image",Ap,t,n,r)}},TEXT:class extends _g{constructor(e,t,n,r){super(e,document.createElement("uni-text"),t,n,r,bg),this._text=""}init(e){this._text=e.t||"",super.init(e)}setText(e){this._text=e,this.update(),this.updateView()}update(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{$props:{space:t,decode:n}}=this;this.$.textContent=sg(this._text,{space:t,decode:n}).join($n),super.update(e)}},NAVIGATOR:class extends Og{constructor(e,t,n,r){super(e,"uni-navigator",Iv,t,n,r,"uni-navigator")}},FORM:class extends Og{constructor(e,t,n,r){super(e,"uni-form",wf,t,n,r,"span")}},BUTTON:class extends Og{constructor(e,t,n,r){super(e,"uni-button",Mf,t,n,r)}},INPUT:class extends Og{constructor(e,t,n,r){super(e,"uni-input",Gp,t,n,r)}init(e){super.init(e),Ag(this.$props)}},LABEL:class extends Og{constructor(e,t,n,r){super(e,"uni-label",kf,t,n,r)}},RADIO:class extends Og{constructor(e,t,n,r){super(e,"uni-radio",qv,t,n,r,".uni-radio-wrapper")}setText(e){Ng(this.$holder,"uni-radio-input",e)}},CHECKBOX:class extends Og{constructor(e,t,n,r){super(e,"uni-checkbox",Xf,t,n,r,".uni-checkbox-wrapper")}setText(e){Ng(this.$holder,"uni-checkbox-input",e)}},"CHECKBOX-GROUP":class extends Og{constructor(e,t,n,r){super(e,"uni-checkbox-group",jf,t,n,r)}},AD:class extends Og{constructor(e,t,n,r){super(e,"uni-ad",Mg,t,n,r)}},CAMERA:class extends Bg{constructor(e,t,n){super(e,"uni-camera",t,n)}},CANVAS:class extends Og{constructor(e,t,n,r){super(e,"uni-canvas",Ff,t,n,r,"uni-canvas > div")}},"COVER-IMAGE":class extends Og{constructor(e,t,n,r){super(e,"uni-cover-image",zg,t,n,r)}},"COVER-VIEW":class extends Ig{constructor(e,t,n,r){super(e,"uni-cover-view",Dg,t,n,r,".uni-cover-view")}},EDITOR:class extends Og{constructor(e,t,n,r){super(e,"uni-editor",Tp,t,n,r)}},"FUNCTIONAL-PAGE-NAVIGATOR":class extends Bg{constructor(e,t,n){super(e,"uni-functional-page-navigator",t,n)}},ICON:class extends Og{constructor(e,t,n,r){super(e,"uni-icon",Op,t,n,r)}},"RADIO-GROUP":class extends Og{constructor(e,t,n,r){super(e,"uni-radio-group",Hv,t,n,r)}},"LIVE-PLAYER":class extends Bg{constructor(e,t,n){super(e,"uni-live-player",t,n)}},"LIVE-PUSHER":class extends Og{constructor(e,t,n,r){super(e,"uni-live-pusher",jg,t,n,r,".uni-live-pusher-slot")}},MAP:class extends Og{constructor(e,t,n,r){super(e,"uni-map",Wg,t,n,r,".uni-map-slot")}},"MOVABLE-AREA":class extends Ig{constructor(e,t,n,r){super(e,"uni-movable-area",sv,t,n,r)}},"MOVABLE-VIEW":class extends Og{constructor(e,t,n,r){super(e,"uni-movable-view",yv,t,n,r)}},"OFFICIAL-ACCOUNT":class extends Bg{constructor(e,t,n){super(e,"uni-official-account",t,n)}},"OPEN-DATA":class extends Bg{constructor(e,t,n){super(e,"uni-open-data",t,n)}},PICKER:class extends Og{constructor(e,t,n,r){super(e,"uni-picker",Xg,t,n,r)}},"PICKER-VIEW":class extends Ig{constructor(e,t,n,r){super(e,"uni-picker-view",Nv,t,n,r,".uni-picker-view-wrapper")}},"PICKER-VIEW-COLUMN":class extends Ig{constructor(e,t,n,r){super(e,"uni-picker-view-column",Fv,t,n,r,".uni-picker-view-content")}},PROGRESS:class extends Og{constructor(e,t,n,r){super(e,"uni-progress",Vv,t,n,r)}},"RICH-TEXT":class extends Og{constructor(e,t,n,r){super(e,"uni-rich-text",Kv,t,n,r)}},"SCROLL-VIEW":class extends Og{constructor(e,t,n,r){super(e,"uni-scroll-view",Qv,t,n,r,".uni-scroll-view-content")}setText(e){Ng(this.$holder,"uni-scroll-view-refresher",e)}},SLIDER:class extends Og{constructor(e,t,n,r){super(e,"uni-slider",eg,t,n,r)}},SWIPER:class extends Ig{constructor(e,t,n,r){super(e,"uni-swiper",rg,t,n,r,".uni-swiper-slide-frame")}},"SWIPER-ITEM":class extends Og{constructor(e,t,n,r){super(e,"uni-swiper-item",ig,t,n,r)}},SWITCH:class extends Og{constructor(e,t,n,r){super(e,"uni-switch",ag,t,n,r)}},TEXTAREA:class extends Og{constructor(e,t,n,r){super(e,"uni-textarea",dg,t,n,r)}init(e){super.init(e),Ag(this.$props)}},VIDEO:class extends Og{constructor(e,t,n,r){super(e,"uni-video",Jg,t,n,r,".uni-video-slot")}},"WEB-VIEW":class extends Og{constructor(e,t,n,r){super(e,"uni-web-view",tm,t,n,r)}}};var rm=new Map;function im(e){return rm.get(e)}function am(e){return rm.delete(e)}function om(e,t,n,r){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(0===e)i=new jh(e,t,n,document.createElement(t));else{var o=nm[t];i=o?new o(e,n,r,a):new uf(e,document.createElement(t),n,r,a)}return rm.set(e,i),i}var sm=[],lm=!1;function um(e){if(lm)return e();sm.push(e)}function cm(){lm=!0,sm.forEach((e=>{try{e()}catch(t){console.error(t)}})),sm.length=0}function dm(e){var{css:t,route:n,platform:r,pixelRatio:i,windowWidth:a,disableScroll:o,statusbarHeight:s,windowTop:l,windowBottom:u}=e;!function(e){window.__PAGE_INFO__={route:e}}(n),function(e,t,n){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:n}}(r,i,a),om(0,"div",-1,-1).$=document.getElementById("app");var c=plus.webview.currentWebview().id;window.__id__=c,document.title="".concat(n,"[").concat(c,"]"),function(e,t,n){!function(e){var t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}({"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":n+"px","--status-bar-height":e+"px"})}(s,l,u),o&&document.addEventListener("touchmove",lu),t?function(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=cm,t.onerror=cm,document.head.appendChild(t)}(n):cm()}var hm=!1;function fm(e,t){var{scrollTop:n,selector:r,duration:i}=e;!function(e,t,n){if(hn(e)){var r=document.querySelector(e);if(r){var{height:i,top:a}=r.getBoundingClientRect();e=a+window.pageYOffset,n&&(e-=i)}}e<0&&(e=0);var o=document.documentElement,{clientHeight:s,scrollHeight:l}=o;if(e=Math.min(e,l-s),0!==t){if(window.scrollY!==e){var u=t=>{if(t<=0)window.scrollTo(0,e);else{var n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),u(t-10)}))}};u(t)}}else o.scrollTop=document.body.scrollTop=e}(r||n||0,i),t()}function pm(e){var t=e[0];1===t[0]?dm(t[1]):um((()=>function(e){var t=e[0],n=function(e){if(!e.length)return e=>e;var t=function(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("number"==typeof n)return e[n];var i={};return n.forEach((e=>{var[n,a]=e;i[t(n)]=r?t(a):a})),i};return t}(0===t[0]?t[1]:[]);e.forEach((e=>{switch(e[0]){case 1:return dm(e[1]);case 2:return;case 3:var t=e[3];return om(e[1],n(e[2]),-1===t?0:t,e[4],Oh(n,e[5]));case 4:return im(e[1]).insert(e[2],e[3],Oh(n,e[4]));case 5:return im(e[1]).remove();case 6:return im(e[1]).setAttr(n(e[2]),n(e[3]));case 7:return im(e[1]).removeAttr(n(e[2]));case 8:return im(e[1]).addEvent(n(e[2]),e[3]);case 12:return im(e[1]).addWxsEvent(n(e[2]),n(e[3]),e[4]);case 9:return im(e[1]).removeEvent(n(e[2]));case 10:return im(e[1]).setText(n(e[2]));case 15:return function(e){if(!hm){hm=!0;var t={onReachBottomDistance:e,onPageScroll(e){UniViewJSBridge.publishHandler("onPageScroll",{scrollTop:e})},onReachBottom(){UniViewJSBridge.publishHandler("onReachBottom")}};requestAnimationFrame((()=>document.addEventListener("scroll",vu(t))))}}(e[1])}})),function(){try{[...Ih].sort(((e,t)=>e.priority-t.priority)).forEach((e=>e()))}finally{Ih.clear()}}()}(e)))}function vm(){UniViewJSBridge.publishHandler(Ru)}function gm(e){return window.__$__(e).$}function mm(e,t){var n={},{top:r,topWindowHeight:i}=function(){var e=document.documentElement.style,t=Jl(),n=Kl(e,"--window-bottom"),r=Kl(e,"--window-left"),i=Kl(e,"--window-right"),a=Kl(e,"--top-window-height");return{top:t,bottom:n?n+Zl.bottom:0,left:r?r+Zl.left:0,right:i?i+Zl.right:0,topWindowHeight:a||0}}();if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=Qn(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(n.left=a.left,n.right=a.right,n.top=a.top-r-i,n.bottom=a.bottom-r-i),t.size&&(n.width=a.width,n.height=a.height)}if(un(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){var o=e.children[0].children[0];n.scrollLeft=o.scrollLeft,n.scrollTop=o.scrollTop,n.scrollHeight=o.scrollHeight,n.scrollWidth=o.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(un(t.computedStyle)){var s=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=s[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function _m(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this.parentElement.querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function bm(e,t,n,r,i){var a=function(e,t){return e?window.__$__(e).$:t.$el}(t,e),o=a.parentElement;if(!o)return r?null:[];var{nodeType:s}=a,l=3===s||8===s;if(r){var u=l?o.querySelector(n):_m(a,n)?a:a.querySelector(n);return u?mm(u,i):null}var c=[],d=(l?o:a).querySelectorAll(n);return d&&d.length&&[].forEach.call(d,(e=>{c.push(mm(e,i))})),!l&&_m(a,n)&&c.unshift(mm(a,i)),c}function ym(e,t,n){var r=[];t.forEach((t=>{var{component:n,selector:i,single:a,fields:o}=t;null===n?r.push(function(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 n=document.documentElement,r=document.body;t.scrollLeft=n.scrollLeft||r.scrollLeft||0,t.scrollTop=n.scrollTop||r.scrollTop||0,t.scrollHeight=n.scrollHeight||r.scrollHeight||0,t.scrollWidth=n.scrollWidth||r.scrollWidth||0}return t}(o)):r.push(bm(e,n,i,a,o))})),n(r)}function wm(e,t){var{reqId:n,component:r,options:i,callback:a}=e,o=gm(r);(o.__io||(o.__io={}))[n]=function(e,t,n){Th();var r=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,i=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:Ch(e),intersectionRect:Eh(e.intersectionRect),boundingClientRect:Eh(e.boundingClientRect),relativeRect:Eh(e.rootBounds),time:Date.now(),dataset:Qn(e.target),id:e.target.id})}))}),{root:r,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){i.USE_MUTATION_OBSERVER=!0;for(var a=e.querySelectorAll(t.selector),o=0;o<a.length;o++)i.observe(a[o])}else{i.USE_MUTATION_OBSERVER=!1;var s=e.querySelector(t.selector);s?i.observe(s):console.warn("Node ".concat(t.selector," is not found. Intersection observer will not trigger."))}return i}(o,i,a)}var xm={},Sm={};function km(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Tm(e,t){var{reqId:n,component:r,options:i,callback:a}=e,o=xm[n]=window.matchMedia(function(e){var t=[];for(var n of["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"])"orientation"!==n&&e[n]&&Number(e[n]>=0)&&t.push("(".concat(km(n),": ").concat(Number(e[n]),"px)")),"orientation"===n&&e[n]&&t.push("(".concat(km(n),": ").concat(e[n],")"));return t.join(" and ")}(i)),s=Sm[n]=e=>a(e.matches);s(o),o.addListener(s)}function Em(e,t){var{family:n,source:r,desc:i}=e;(function(e,t,n){var r=document.fonts;if(r){var i=new FontFace(e,t,n);return i.load().then((()=>{r.add&&r.add(i)}))}return new Promise((r=>{var i=document.createElement("style"),a=[];if(n){var{style:o,weight:s,stretch:l,unicodeRange:u,variant:c,featureSettings:d}=n;o&&a.push("font-style:".concat(o)),s&&a.push("font-weight:".concat(s)),l&&a.push("font-stretch:".concat(l)),u&&a.push("unicode-range:".concat(u)),c&&a.push("font-variant:".concat(c)),d&&a.push("font-feature-settings:".concat(d))}i.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(a.join(";"),"}"),document.head.appendChild(i),r()}))})(n,r,i).then((()=>{t()})).catch((e=>{t(e.toString())}))}var Cm={$el:document.body};function Mm(){var e=su();!function(e,t){UniViewJSBridge.subscribe(Vr(e,Dr),t?t(Ur):Ur)}(e,(e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];um((()=>{e.apply(null,n)}))})),Wr(e,"requestComponentInfo",((e,t)=>{ym(Cm,e.reqs,t)})),Wr(e,"addIntersectionObserver",(e=>{wm(an({},e,{callback(t){UniViewJSBridge.publishHandler(e.eventName,t)}}))})),Wr(e,"removeIntersectionObserver",(e=>{!function(e,t){var{reqId:n,component:r}=e,i=gm(r),a=i.__io&&i.__io[n];a&&(a.disconnect(),delete i.__io[n])}(e)})),Wr(e,"addMediaQueryObserver",(e=>{Tm(an({},e,{callback(t){UniViewJSBridge.publishHandler(e.eventName,t)}}))})),Wr(e,"removeMediaQueryObserver",(e=>{!function(e,t){var{reqId:n,component:r}=e,i=Sm[n],a=xm[n];a&&(a.removeListener(i),delete Sm[n],delete xm[n])}(e)})),Wr(e,"pageScrollTo",fm),Wr(e,"loadFontFace",Em),Wr(e,"setPageMeta",(e=>{!function(e,t){var{pageStyle:n,rootFontSize:r}=t;n&&(document.querySelector("uni-page-body")||document.body).setAttribute("style",n),r&&document.documentElement.style.fontSize!==r&&(document.documentElement.style.fontSize=r)}(0,e)}))}function Om(){ni(),Mm(),function(){var{subscribe:e}=UniViewJSBridge;e(Au,pm),e("setLocale",(e=>Ar().setLocale(e))),e(Ru,vm)}(),function(){if(0===String(navigator.vendor).indexOf("Apple")){var e,t=null;document.documentElement.addEventListener("click",(n=>{clearTimeout(e),t&&Math.abs(n.pageX-t.pageX)<=44&&Math.abs(n.pageY-t.pageY)<=44&&n.timeStamp-t.timeStamp<=450&&n.preventDefault(),t=n,e=setTimeout((()=>{t=null}),450)}))}}(),Pu.publishHandler(Ru)}window.uni=Mh,window.UniViewJSBridge=Pu,window.rpx2px=mh,window.normalizeStyleName=Xh,window.normalizeStyleValue=Wh,window.__$__=im,window.__f__=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=rr(e,t,r);a&&console[e](a)},"undefined"!=typeof plus?Om():document.addEventListener("plusready",Om)}));
|