diff --git a/packages/uni-app-plus/dist/uni-app-service.es.js b/packages/uni-app-plus/dist/uni-app-service.es.js index 0f4ddae85ab298a18f65c1524228b943d9d8e3a8..1f573bd5f821b308fda51f1540636fe6cf4319d9 100644 --- a/packages/uni-app-plus/dist/uni-app-service.es.js +++ b/packages/uni-app-plus/dist/uni-app-service.es.js @@ -99,8 +99,8 @@ var serviceContext = (function (vue) { map[list[i]] = true; } return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val]; - } - + } + (process.env.NODE_ENV !== 'production') ? Object.freeze({}) : {}; @@ -2857,6 +2857,15 @@ var serviceContext = (function (vue) { UniServiceJSBridge.unsubscribe(getEventName(reqId)); } + function getFileName(path) { + const array = path.split('/'); + return array[array.length - 1]; + } + function getExtName(path) { + const array = path.split('.'); + return array.length > 1 ? '.' + array[array.length - 1] : ''; + } + const DEVICE_FREQUENCY = 200; const NETWORK_TYPES = [ 'unknown', @@ -13413,15 +13422,6 @@ var serviceContext = (function (vue) { plus.runtime.openDocument(getRealPath(filePath), undefined, resolve, errorCallback); }, OpenDocumentProtocol, OpenDocumentOptions); - function getFileName(path) { - const array = path.split('/'); - return array[array.length - 1]; - } - function getExtName(path) { - const array = path.split('.'); - return array.length > 1 ? '.' + array[array.length - 1] : ''; - } - let index$2 = 0; const SAVED_DIR = 'uniapp_save'; const SAVE_PATH = `_doc/${SAVED_DIR}`; diff --git a/packages/uni-app-plus/dist/uni-app-view.umd.js b/packages/uni-app-plus/dist/uni-app-view.umd.js index fe26652ac208b9181cfe23edc1b0ae50c310a879..f0af3e5d8191c49c6cacb5aee633f31baf9c20c2 100644 --- a/packages/uni-app-plus/dist/uni-app-view.umd.js +++ b/packages/uni-app-plus/dist/uni-app-view.umd.js @@ -1,3 +1,3 @@ -(function(Xn){typeof define=="function"&&define.amd?define(Xn):Xn()})(function(){"use strict";var Xn="",$T="",zT="",Pr={exports:{}},ca={exports:{}},va={exports:{}},Dh=va.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Dh);var da={exports:{}};da.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),typeof __g=="number"&&(__g=window);var Bh=va.exports,Ll="__core-js_shared__",Pl=window[Ll]||(window[Ll]={});(ca.exports=function(e,t){return Pl[e]||(Pl[e]=t!==void 0?t:{})})("versions",[]).push({version:Bh.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var Fh=0,$h=Math.random(),Zn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++Fh+$h).toString(36))},Kn=ca.exports("wks"),zh=Zn,Gn=da.exports.Symbol,Nl=typeof Gn=="function",Uh=Pr.exports=function(e){return Kn[e]||(Kn[e]=Nl&&Gn[e]||(Nl?Gn:zh)("Symbol."+e))};Uh.store=Kn;var ha={},Jn=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Hh=Jn,Qn=function(e){if(!Hh(e))throw TypeError(e+" is not an object!");return e},ga=function(e){try{return!!e()}catch(t){return!0}},ui=!ga(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Dl=Jn,eo=da.exports.document,Wh=Dl(eo)&&Dl(eo.createElement),Bl=function(e){return Wh?eo.createElement(e):{}},Vh=!ui&&!ga(function(){return Object.defineProperty(Bl("div"),"a",{get:function(){return 7}}).a!=7}),pa=Jn,jh=function(e,t){if(!pa(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!pa(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!pa(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!pa(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Fl=Qn,Yh=Vh,qh=jh,Xh=Object.defineProperty;ha.f=ui?Object.defineProperty:function(t,r,i){if(Fl(t),r=qh(r,!0),Fl(i),Yh)try{return Xh(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 $l=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Zh=ha,Kh=$l,Nr=ui?function(e,t,r){return Zh.f(e,t,Kh(1,r))}:function(e,t,r){return e[t]=r,e},to=Pr.exports("unscopables"),ro=Array.prototype;ro[to]==null&&Nr(ro,to,{});var Gh=function(e){ro[to][e]=!0},Jh=function(e,t){return{value:t,done:!!e}},io={},Qh={}.toString,eg=function(e){return Qh.call(e).slice(8,-1)},tg=eg,rg=Object("z").propertyIsEnumerable(0)?Object:function(e){return tg(e)=="String"?e.split(""):Object(e)},zl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},ig=rg,ag=zl,ma=function(e){return ig(ag(e))},_a={exports:{}},ng={}.hasOwnProperty,ba=function(e,t){return ng.call(e,t)},og=ca.exports("native-function-to-string",Function.toString),wa=Nr,Ul=ba,ao=Zn("src"),no=og,Hl="toString",sg=(""+no).split(Hl);va.exports.inspectSource=function(e){return no.call(e)},(_a.exports=function(e,t,r,i){var a=typeof r=="function";a&&(Ul(r,"name")||wa(r,"name",t)),e[t]!==r&&(a&&(Ul(r,ao)||wa(r,ao,e[t]?""+e[t]:sg.join(String(t)))),e===window?e[t]=r:i?e[t]?e[t]=r:wa(e,t,r):(delete e[t],wa(e,t,r)))})(Function.prototype,Hl,function(){return typeof this=="function"&&this[ao]||no.call(this)});var Wl=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},lg=Wl,ug=function(e,t,r){if(lg(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)}},xa=va.exports,fg=Nr,cg=_a.exports,Vl=ug,oo="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,u=a?window:n?window[t]||(window[t]={}):(window[t]||{})[oo],l=a?xa:xa[t]||(xa[t]={}),f=l[oo]||(l[oo]={}),d,g,h,w;a&&(r=t);for(d in r)g=!i&&u&&u[d]!==void 0,h=(g?u:r)[d],w=s&&g?Vl(h,window):o&&typeof h=="function"?Vl(Function.call,h):h,u&&cg(u,d,h,e&je.U),l[d]!=h&&fg(l,d,w),o&&f[d]!=h&&(f[d]=h)};window.core=xa,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 so=je,vg=Math.ceil,dg=Math.floor,jl=function(e){return isNaN(e=+e)?0:(e>0?dg:vg)(e)},hg=jl,gg=Math.min,pg=function(e){return e>0?gg(hg(e),9007199254740991):0},mg=jl,_g=Math.max,bg=Math.min,wg=function(e,t){return e=mg(e),e<0?_g(e+t,0):bg(e,t)},xg=ma,yg=pg,Sg=wg,Eg=function(e){return function(t,r,i){var a=xg(t),n=yg(a.length),o=Sg(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}},Yl=ca.exports("keys"),Tg=Zn,lo=function(e){return Yl[e]||(Yl[e]=Tg(e))},ql=ba,Cg=ma,Og=Eg(!1),Ag=lo("IE_PROTO"),Ig=function(e,t){var r=Cg(e),i=0,a=[],n;for(n in r)n!=Ag&&ql(r,n)&&a.push(n);for(;t.length>i;)ql(r,n=t[i++])&&(~Og(a,n)||a.push(n));return a},Xl="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),kg=Ig,Mg=Xl,uo=Object.keys||function(t){return kg(t,Mg)},Rg=ha,Lg=Qn,Pg=uo,Ng=ui?Object.defineProperties:function(t,r){Lg(t);for(var i=Pg(r),a=i.length,n=0,o;a>n;)Rg.f(t,o=i[n++],r[o]);return t},Zl=da.exports.document,Dg=Zl&&Zl.documentElement,Bg=Qn,Fg=Ng,Kl=Xl,$g=lo("IE_PROTO"),fo=function(){},co="prototype",ya=function(){var e=Bl("iframe"),t=Kl.length,r="<",i=">",a;for(e.style.display="none",Dg.appendChild(e),e.src="javascript:",a=e.contentWindow.document,a.open(),a.write(r+"script"+i+"document.F=Object"+r+"/script"+i),a.close(),ya=a.F;t--;)delete ya[co][Kl[t]];return ya()},zg=Object.create||function(t,r){var i;return t!==null?(fo[co]=Bg(t),i=new fo,fo[co]=null,i[$g]=t):i=ya(),r===void 0?i:Fg(i,r)},Ug=ha.f,Hg=ba,Gl=Pr.exports("toStringTag"),Jl=function(e,t,r){e&&!Hg(e=r?e:e.prototype,Gl)&&Ug(e,Gl,{configurable:!0,value:t})},Wg=zg,Vg=$l,jg=Jl,Ql={};Nr(Ql,Pr.exports("iterator"),function(){return this});var Yg=function(e,t,r){e.prototype=Wg(Ql,{next:Vg(1,r)}),jg(e,t+" Iterator")},qg=zl,eu=function(e){return Object(qg(e))},Xg=ba,Zg=eu,tu=lo("IE_PROTO"),Kg=Object.prototype,Gg=Object.getPrototypeOf||function(e){return e=Zg(e),Xg(e,tu)?e[tu]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Kg:null},vo=so,Jg=_a.exports,ru=Nr,iu=io,Qg=Yg,ep=Jl,tp=Gg,fi=Pr.exports("iterator"),ho=!([].keys&&"next"in[].keys()),rp="@@iterator",au="keys",Sa="values",nu=function(){return this},ip=function(e,t,r,i,a,n,o){Qg(r,t,i);var s=function(c){if(!ho&&c in d)return d[c];switch(c){case au:return function(){return new r(this,c)};case Sa:return function(){return new r(this,c)}}return function(){return new r(this,c)}},u=t+" Iterator",l=a==Sa,f=!1,d=e.prototype,g=d[fi]||d[rp]||a&&d[a],h=g||s(a),w=a?l?s("entries"):h:void 0,_=t=="Array"&&d.entries||g,x,m,b;if(_&&(b=tp(_.call(new e)),b!==Object.prototype&&b.next&&(ep(b,u,!0),typeof b[fi]!="function"&&ru(b,fi,nu))),l&&g&&g.name!==Sa&&(f=!0,h=function(){return g.call(this)}),(ho||f||!d[fi])&&ru(d,fi,h),iu[t]=h,iu[u]=nu,a)if(x={values:l?h:s(Sa),keys:n?h:s(au),entries:w},o)for(m in x)m in d||Jg(d,m,x[m]);else vo(vo.P+vo.F*(ho||f),t,x);return x},go=Gh,Ea=Jh,ou=io,ap=ma,np=ip(Array,"Array",function(e,t){this._t=ap(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,Ea(1)):t=="keys"?Ea(0,r):t=="values"?Ea(0,e[r]):Ea(0,[r,e[r]])},"values");ou.Arguments=ou.Array,go("keys"),go("values"),go("entries");for(var su=np,op=uo,sp=_a.exports,lu=Nr,uu=io,fu=Pr.exports,cu=fu("iterator"),vu=fu("toStringTag"),du=uu.Array,hu={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},gu=op(hu),po=0;po!!r[n.toLowerCase()]:n=>!!r[n]}var up="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",fp=Oa(up);function mu(e){return!!e||e===""}var cp=Oa("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 mo(e){if(ne(e)){for(var t={},r=0;r{if(r){var i=r.split(dp);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function hp(e){var t="";if(!e||Ee(e))return t;for(var r in e){var i=e[r],a=r.startsWith("--")?r:Ge(r);(Ee(i)||typeof i=="number"&&cp(a))&&(t+="".concat(a,":").concat(i,";"))}return t}function _o(e){var t="";if(Ee(e))t=e;else if(ne(e))for(var r=0;r{},gp=()=>!1,pp=/^on[^a-z]/,Aa=e=>pp.test(e),bo=e=>e.startsWith("onUpdate:"),ce=Object.assign,wo=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},mp=Object.prototype.hasOwnProperty,ie=(e,t)=>mp.call(e,t),ne=Array.isArray,vi=e=>di(e)==="[object Map]",_p=e=>di(e)==="[object Set]",se=e=>typeof e=="function",Ee=e=>typeof e=="string",xo=e=>typeof e=="symbol",We=e=>e!==null&&typeof e=="object",bu=e=>We(e)&&se(e.then)&&se(e.catch),bp=Object.prototype.toString,di=e=>bp.call(e),yo=e=>di(e).slice(8,-1),mt=e=>di(e)==="[object Object]",So=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ia=Oa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ka=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},wp=/-(\w)/g,Rt=ka(e=>e.replace(wp,(t,r)=>r?r.toUpperCase():"")),xp=/\B([A-Z])/g,Ge=ka(e=>e.replace(xp,"-$1").toLowerCase()),Ma=ka(e=>e.charAt(0).toUpperCase()+e.slice(1)),Eo=ka(e=>e?"on".concat(Ma(e)):""),hi=(e,t)=>!Object.is(e,t),To=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},yp=e=>{var t=parseFloat(e);return isNaN(t)?e:t},wu,Sp=()=>wu||(wu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),gi=` +(function(Xn){typeof define=="function"&&define.amd?define(Xn):Xn()})(function(){"use strict";var Xn="",UT="",HT="",Pr={exports:{}},ca={exports:{}},va={exports:{}},Dh=va.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Dh);var da={exports:{}};da.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),typeof __g=="number"&&(__g=window);var Bh=va.exports,Ll="__core-js_shared__",Pl=window[Ll]||(window[Ll]={});(ca.exports=function(e,t){return Pl[e]||(Pl[e]=t!==void 0?t:{})})("versions",[]).push({version:Bh.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var Fh=0,$h=Math.random(),Zn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++Fh+$h).toString(36))},Kn=ca.exports("wks"),zh=Zn,Gn=da.exports.Symbol,Nl=typeof Gn=="function",Uh=Pr.exports=function(e){return Kn[e]||(Kn[e]=Nl&&Gn[e]||(Nl?Gn:zh)("Symbol."+e))};Uh.store=Kn;var ha={},Jn=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Hh=Jn,Qn=function(e){if(!Hh(e))throw TypeError(e+" is not an object!");return e},ga=function(e){try{return!!e()}catch(t){return!0}},ui=!ga(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Dl=Jn,eo=da.exports.document,Wh=Dl(eo)&&Dl(eo.createElement),Bl=function(e){return Wh?eo.createElement(e):{}},Vh=!ui&&!ga(function(){return Object.defineProperty(Bl("div"),"a",{get:function(){return 7}}).a!=7}),pa=Jn,jh=function(e,t){if(!pa(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!pa(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!pa(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!pa(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Fl=Qn,Yh=Vh,qh=jh,Xh=Object.defineProperty;ha.f=ui?Object.defineProperty:function(t,r,i){if(Fl(t),r=qh(r,!0),Fl(i),Yh)try{return Xh(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 $l=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Zh=ha,Kh=$l,Nr=ui?function(e,t,r){return Zh.f(e,t,Kh(1,r))}:function(e,t,r){return e[t]=r,e},to=Pr.exports("unscopables"),ro=Array.prototype;ro[to]==null&&Nr(ro,to,{});var Gh=function(e){ro[to][e]=!0},Jh=function(e,t){return{value:t,done:!!e}},io={},Qh={}.toString,eg=function(e){return Qh.call(e).slice(8,-1)},tg=eg,rg=Object("z").propertyIsEnumerable(0)?Object:function(e){return tg(e)=="String"?e.split(""):Object(e)},zl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},ig=rg,ag=zl,ma=function(e){return ig(ag(e))},_a={exports:{}},ng={}.hasOwnProperty,ba=function(e,t){return ng.call(e,t)},og=ca.exports("native-function-to-string",Function.toString),wa=Nr,Ul=ba,ao=Zn("src"),no=og,Hl="toString",sg=(""+no).split(Hl);va.exports.inspectSource=function(e){return no.call(e)},(_a.exports=function(e,t,r,i){var a=typeof r=="function";a&&(Ul(r,"name")||wa(r,"name",t)),e[t]!==r&&(a&&(Ul(r,ao)||wa(r,ao,e[t]?""+e[t]:sg.join(String(t)))),e===window?e[t]=r:i?e[t]?e[t]=r:wa(e,t,r):(delete e[t],wa(e,t,r)))})(Function.prototype,Hl,function(){return typeof this=="function"&&this[ao]||no.call(this)});var Wl=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},lg=Wl,ug=function(e,t,r){if(lg(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)}},xa=va.exports,fg=Nr,cg=_a.exports,Vl=ug,oo="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,u=a?window:n?window[t]||(window[t]={}):(window[t]||{})[oo],l=a?xa:xa[t]||(xa[t]={}),f=l[oo]||(l[oo]={}),d,g,h,x;a&&(r=t);for(d in r)g=!i&&u&&u[d]!==void 0,h=(g?u:r)[d],x=s&&g?Vl(h,window):o&&typeof h=="function"?Vl(Function.call,h):h,u&&cg(u,d,h,e&je.U),l[d]!=h&&fg(l,d,x),o&&f[d]!=h&&(f[d]=h)};window.core=xa,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 so=je,vg=Math.ceil,dg=Math.floor,jl=function(e){return isNaN(e=+e)?0:(e>0?dg:vg)(e)},hg=jl,gg=Math.min,pg=function(e){return e>0?gg(hg(e),9007199254740991):0},mg=jl,_g=Math.max,bg=Math.min,wg=function(e,t){return e=mg(e),e<0?_g(e+t,0):bg(e,t)},xg=ma,yg=pg,Sg=wg,Eg=function(e){return function(t,r,i){var a=xg(t),n=yg(a.length),o=Sg(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}},Yl=ca.exports("keys"),Tg=Zn,lo=function(e){return Yl[e]||(Yl[e]=Tg(e))},ql=ba,Cg=ma,Og=Eg(!1),Ag=lo("IE_PROTO"),Ig=function(e,t){var r=Cg(e),i=0,a=[],n;for(n in r)n!=Ag&&ql(r,n)&&a.push(n);for(;t.length>i;)ql(r,n=t[i++])&&(~Og(a,n)||a.push(n));return a},Xl="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),kg=Ig,Mg=Xl,uo=Object.keys||function(t){return kg(t,Mg)},Rg=ha,Lg=Qn,Pg=uo,Ng=ui?Object.defineProperties:function(t,r){Lg(t);for(var i=Pg(r),a=i.length,n=0,o;a>n;)Rg.f(t,o=i[n++],r[o]);return t},Zl=da.exports.document,Dg=Zl&&Zl.documentElement,Bg=Qn,Fg=Ng,Kl=Xl,$g=lo("IE_PROTO"),fo=function(){},co="prototype",ya=function(){var e=Bl("iframe"),t=Kl.length,r="<",i=">",a;for(e.style.display="none",Dg.appendChild(e),e.src="javascript:",a=e.contentWindow.document,a.open(),a.write(r+"script"+i+"document.F=Object"+r+"/script"+i),a.close(),ya=a.F;t--;)delete ya[co][Kl[t]];return ya()},zg=Object.create||function(t,r){var i;return t!==null?(fo[co]=Bg(t),i=new fo,fo[co]=null,i[$g]=t):i=ya(),r===void 0?i:Fg(i,r)},Ug=ha.f,Hg=ba,Gl=Pr.exports("toStringTag"),Jl=function(e,t,r){e&&!Hg(e=r?e:e.prototype,Gl)&&Ug(e,Gl,{configurable:!0,value:t})},Wg=zg,Vg=$l,jg=Jl,Ql={};Nr(Ql,Pr.exports("iterator"),function(){return this});var Yg=function(e,t,r){e.prototype=Wg(Ql,{next:Vg(1,r)}),jg(e,t+" Iterator")},qg=zl,eu=function(e){return Object(qg(e))},Xg=ba,Zg=eu,tu=lo("IE_PROTO"),Kg=Object.prototype,Gg=Object.getPrototypeOf||function(e){return e=Zg(e),Xg(e,tu)?e[tu]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Kg:null},vo=so,Jg=_a.exports,ru=Nr,iu=io,Qg=Yg,ep=Jl,tp=Gg,fi=Pr.exports("iterator"),ho=!([].keys&&"next"in[].keys()),rp="@@iterator",au="keys",Sa="values",nu=function(){return this},ip=function(e,t,r,i,a,n,o){Qg(r,t,i);var s=function(c){if(!ho&&c in d)return d[c];switch(c){case au:return function(){return new r(this,c)};case Sa:return function(){return new r(this,c)}}return function(){return new r(this,c)}},u=t+" Iterator",l=a==Sa,f=!1,d=e.prototype,g=d[fi]||d[rp]||a&&d[a],h=g||s(a),x=a?l?s("entries"):h:void 0,_=t=="Array"&&d.entries||g,w,m,b;if(_&&(b=tp(_.call(new e)),b!==Object.prototype&&b.next&&(ep(b,u,!0),typeof b[fi]!="function"&&ru(b,fi,nu))),l&&g&&g.name!==Sa&&(f=!0,h=function(){return g.call(this)}),(ho||f||!d[fi])&&ru(d,fi,h),iu[t]=h,iu[u]=nu,a)if(w={values:l?h:s(Sa),keys:n?h:s(au),entries:x},o)for(m in w)m in d||Jg(d,m,w[m]);else vo(vo.P+vo.F*(ho||f),t,w);return w},go=Gh,Ea=Jh,ou=io,ap=ma,np=ip(Array,"Array",function(e,t){this._t=ap(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,Ea(1)):t=="keys"?Ea(0,r):t=="values"?Ea(0,e[r]):Ea(0,[r,e[r]])},"values");ou.Arguments=ou.Array,go("keys"),go("values"),go("entries");for(var su=np,op=uo,sp=_a.exports,lu=Nr,uu=io,fu=Pr.exports,cu=fu("iterator"),vu=fu("toStringTag"),du=uu.Array,hu={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},gu=op(hu),po=0;po!!r[n.toLowerCase()]:n=>!!r[n]}var up="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",fp=Oa(up);function mu(e){return!!e||e===""}var cp=Oa("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 mo(e){if(ne(e)){for(var t={},r=0;r{if(r){var i=r.split(dp);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function hp(e){var t="";if(!e||Ee(e))return t;for(var r in e){var i=e[r],a=r.startsWith("--")?r:Ge(r);(Ee(i)||typeof i=="number"&&cp(a))&&(t+="".concat(a,":").concat(i,";"))}return t}function _o(e){var t="";if(Ee(e))t=e;else if(ne(e))for(var r=0;r{},gp=()=>!1,pp=/^on[^a-z]/,Aa=e=>pp.test(e),bo=e=>e.startsWith("onUpdate:"),ce=Object.assign,wo=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},mp=Object.prototype.hasOwnProperty,ie=(e,t)=>mp.call(e,t),ne=Array.isArray,vi=e=>di(e)==="[object Map]",_p=e=>di(e)==="[object Set]",se=e=>typeof e=="function",Ee=e=>typeof e=="string",xo=e=>typeof e=="symbol",We=e=>e!==null&&typeof e=="object",bu=e=>We(e)&&se(e.then)&&se(e.catch),bp=Object.prototype.toString,di=e=>bp.call(e),yo=e=>di(e).slice(8,-1),mt=e=>di(e)==="[object Object]",So=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ia=Oa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ka=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},wp=/-(\w)/g,Rt=ka(e=>e.replace(wp,(t,r)=>r?r.toUpperCase():"")),xp=/\B([A-Z])/g,Ge=ka(e=>e.replace(xp,"-$1").toLowerCase()),Ma=ka(e=>e.charAt(0).toUpperCase()+e.slice(1)),Eo=ka(e=>e?"on".concat(Ma(e)):""),hi=(e,t)=>!Object.is(e,t),To=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},yp=e=>{var t=parseFloat(e);return isNaN(t)?e:t},wu,Sp=()=>wu||(wu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),gi=` `,xu=44,La="#007aff",Ep=/^([a-z-]+:)?\/\//i,Tp=/^data:.*,.*/,yu="wxs://",Su="json://",Cp="wxsModules",Op="renderjsModules",Ap="onPageScroll",Ip="onReachBottom",kp="onWxsInvokeCallMethod",Co=0;function Oo(e){var t=Date.now(),r=Co?t-Co:0;Co=t;for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;nJSON.stringify(o)).join(" "))}function Mp(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function Rp(e){return Mp(e)}function Lp(e){return e.indexOf("/")===0}function Ao(e){return Lp(e)?e:"/"+e}function pi(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{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[Tu(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[Tu(i)],r.call(this,i)}});function Io(e){return ce({},e.dataset,e.__uniDataset)}function mi(e){return{passive:e}}function ko(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:Io(e),offsetTop:r,offsetLeft:i}}function Np(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:u,weight:l,stretch:f,unicodeRange:d,variant:g,featureSettings:h}=r;u&&s.push("font-style:".concat(u)),l&&s.push("font-weight:".concat(l)),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 Dp(e,t){if(Ee(e)){var r=document.querySelector(e);r&&(e=r.getBoundingClientRect().top+window.pageYOffset)}e<0&&(e=0);var i=document.documentElement,{clientHeight:a,scrollHeight:n}=i;if(e=Math.min(e,n-a),t===0){i.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var o=s=>{if(s<=0){window.scrollTo(0,e);return}var u=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+u/s*10),o(s-10)})};o(t)}}function Bp(){return typeof __channelId__=="string"&&__channelId__}function Fp(e,t){switch(yo(t)){case"Function":return"function() { [native code] }";default:return t}}function $p(e,t,r){if(Bp())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(a){var n=di(a).toLowerCase();if(n==="[object object]"||n==="[object array]")try{a="---BEGIN:JSON---"+JSON.stringify(a,Fp)+"---END:JSON---"}catch(s){a=n}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{var o=yo(a).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?a="---BEGIN:"+o+"---"+a+"---END:"+o+"---":a=String(a)}return a});return i.join("---COMMA---")+" "+t}function zp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a({stop:1,prevent:1<<1,self:1<<2}))(),Ou="class",Lo="style",Hp="innerHTML",Wp="textContent",Pa=".vShow",Au=".vOwnerId",Iu=".vRenderjs",Po="change:",ku=1,Vp=2,jp=3,Yp=5,qp=6,Xp=7,Zp=8,Kp=9,Gp=10,Jp=12,Qp=15,em=20;function tm(e,t){var r,i=function(){clearTimeout(r);var a=()=>e.apply(this,arguments);r=setTimeout(a,t)};return i.cancel=function(){clearTimeout(r)},i}var Mu=function(){};Mu.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;ie!==null&&typeof e=="object",am=["{","}"];class nm{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:am;if(!r)return[t];var a=this._caches[t];return a||(a=lm(t,i),this._caches[t]=a),um(a,r)}}var om=/^(?:\d)+/,sm=/^(?:\w)+/;function lm(e,t){for(var[r,i]=t,a=[],n=0,o="";nfm.call(e,t),cm=new nm;function vm(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function dm(e,t){return t.find(r=>e.indexOf(r)===0)}function Pu(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return _i;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?_i:e.indexOf("-hant")>-1||vm(e,["-tw","-hk","-mo","-cht"])?Na:_i;var r=dm(e,[Ht,No,Do]);if(r)return r}}class hm{constructor(t){var{locale:r,fallbackLocale:i,messages:a,watcher:n,formater:o}=t;this.locale=Ht,this.fallbackLocale=Ht,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=o||cm,this.messages=a||{},this.setLocale(r||Ht),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=Pu(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=>{Lu(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=Pu(r,this.messages),r&&(a=this.messages[r])):i=r,Lu(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 gm(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function pm(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():Ht}function mm(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=pm()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||Ht);var a=new hm({locale:e,fallbackLocale:r,messages:t,watcher:i}),n=(o,s)=>{if(typeof getApp!="function")n=function(l,f){return a.t(l,f)};else{var u=!1;n=function(l,f){var d=getApp().$vm;return d&&(d.$locale,u||(u=!0,gm(d,a))),a.t(l,f)}}return n(o,s)};return{i18n:a,f(o,s,u){return a.f(o,s,u)},t(o,s){return n(o,s)},add(o,s){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return a.add(o,s,u)},watch(o){return a.watchLocale(o)},getLocale(){return a.getLocale()},setLocale(o){return a.setLocale(o)}}}var _m=pi(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length),bi;function Je(){if(!bi){var e;if(typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,bi=mm(e),_m()){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(r=>bi.add(r,__uniConfig.locales[r])),bi.setLocale(e)}}return bi}function _t(e,t,r){return t.reduce((i,a,n)=>(i[e+a]=r[n],i),{})}var bm=pi(()=>{var e="uni.picker.",t=["done","cancel"];Je().add(Ht,_t(e,t,["Done","Cancel"]),!1),Je().add(Do,_t(e,t,["OK","Cancelar"]),!1),Je().add(No,_t(e,t,["OK","Annuler"]),!1),Je().add(_i,_t(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),Je().add(Na,_t(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),wm=pi(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Je().add(Ht,_t(e,t,["feedback","send"]),!1),Je().add(Do,_t(e,t,["realimentaci\xF3n","enviar"]),!1),Je().add(No,_t(e,t,["retour d'information","envoyer"]),!1),Je().add(_i,_t(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),Je().add(Na,_t(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)});function xm(e){var t=new Ru;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;n2&&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 Nu="invokeViewApi",Du="invokeServiceApi",ym=1,Sm=(e,t,r)=>{var{subscribe:i,publishHandler:a}=UniViewJSBridge,n=r?ym++:0;r&&i(Du+"."+n,r,!0),a(Du,{id:n,name:e,args:t})},Da=Object.create(null);function Ba(e,t){return e+"."+t}function Em(e,t){UniViewJSBridge.subscribe(Ba(e,Nu),t?t(Bu):Bu)}function bt(e,t,r){t=Ba(e,t),Da[t]||(Da[t]=r)}function Tm(e,t){t=Ba(e,t),delete Da[t]}function Bu(e,t){var{id:r,name:i,args:a}=e;i=Ba(t,i);var n=s=>{r&&UniViewJSBridge.publishHandler(Nu+"."+r,s)},o=Da[i];o?o(a,n):n({})}var Cm=ce(xm("service"),{invokeServiceMethod:Sm}),Om=350,Fu=10,Fa=mi(!0),wi;function xi(){wi&&(clearTimeout(wi),wi=null)}var $u=0,zu=0;function Am(e){if(xi(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];$u=t,zu=r,wi=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)},Om)}}function Im(e){if(!!wi){if(e.touches.length!==1)return xi();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-$u)>Fu||Math.abs(r-zu)>Fu)return xi()}}function km(){window.addEventListener("touchstart",Am,Fa),window.addEventListener("touchmove",Im,Fa),window.addEventListener("touchend",xi,Fa),window.addEventListener("touchcancel",xi,Fa)}function Uu(e,t){var r=Number(e);return isNaN(r)?t:r}function Mm(){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 Rm(){function e(){var t=__uniConfig.globalStyle||{},r=Uu(t.rpxCalcMaxDeviceWidth,960),i=Uu(t.rpxCalcBaseDeviceWidth,375),a=Mm();a=a<=r?a:i,document.documentElement.style.fontSize=a/23.4375+"px"}e(),document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e),window.addEventListener("resize",e)}function Lm(){Rm(),Pp(),km()}var Pm=ga,Nm=function(e,t){return!!e&&Pm(function(){t?e.call(null,function(){},1):e.call(null)})},Bo=so,Dm=Wl,Hu=eu,Wu=ga,Fo=[].sort,Vu=[1,2,3];Bo(Bo.P+Bo.F*(Wu(function(){Vu.sort(void 0)})||!Wu(function(){Vu.sort(null)})||!Nm(Fo)),"Array",{sort:function(t){return t===void 0?Fo.call(Hu(this)):Fo.call(Hu(this),Dm(t))}});var Lt;class Bm{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&Lt&&(this.parent=Lt,this.index=(Lt.scopes||(Lt.scopes=[])).push(this)-1)}run(t){if(this.active)try{return Lt=this,t()}finally{Lt=this.parent}}on(){Lt=this}off(){Lt=this.parent}stop(t){if(this.active){var r,i;for(r=0,i=this.effects.length;r1&&arguments[1]!==void 0?arguments[1]:Lt;t&&t.active&&t.effects.push(e)}var $o=e=>{var t=new Set(e);return t.w=0,t.n=0,t},ju=e=>(e.w&Wt)>0,Yu=e=>(e.n&Wt)>0,$m=e=>{var{deps:t}=e;if(t.length)for(var r=0;r{var{deps:t}=e;if(t.length){for(var r=0,i=0;i1&&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,Fm(this,i)}run(){if(!this.active)return this.fn();for(var t=wt,r=Vt;t;){if(t===this)return;t=t.parent}try{return this.parent=wt,wt=this,Vt=!0,Wt=1<<++yi,yi<=Uo?$m(this):qu(this),this.fn()}finally{yi<=Uo&&zm(this),Wt=1<<--yi,wt=this.parent,Vt=r,this.parent=void 0}}stop(){this.active&&(qu(this),this.onStop&&this.onStop(),this.active=!1)}}function qu(e){var{deps:t}=e;if(t.length){for(var r=0;r{(d==="length"||d>=i)&&s.push(f)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":ne(e)?So(r)&&s.push(o.get("length")):(s.push(o.get(fr)),vi(e)&&s.push(o.get(Ho)));break;case"delete":ne(e)||(s.push(o.get(fr)),vi(e)&&s.push(o.get(Ho)));break;case"set":vi(e)&&s.push(o.get(fr));break}if(s.length===1)s[0]&&Vo(s[0]);else{var u=[];for(var l of s)l&&u.push(...l);Vo($o(u))}}}function Vo(e,t){for(var r of ne(e)?e:[...e])(r!==wt||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var Um=Oa("__proto__,__v_isRef,__isVue"),Ku=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(xo)),Hm=jo(),Wm=jo(!1,!0),Vm=jo(!0),Gu=jm();function jm(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=me(this),i=0,a=this.length;i{e[t]=function(){Br();for(var r=arguments.length,i=new Array(r),a=0;a0&&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?s0:sf:t?of:nf).get(i))return i;var o=ne(i);if(!e&&o&&ie(Gu,a))return Reflect.get(Gu,a,n);var s=Reflect.get(i,a,n);if((xo(a)?Ku.has(a):Um(a))||(e||Qe(i,"get",a),t))return s;if($e(s)){var u=!o||!So(a);return u?s.value:s}return We(s)?e?lf(s):ke(s):s}}var Ym=Ju(),qm=Ju(!0);function Ju(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,a,n){var o=r[i];if(Si(o)&&$e(o)&&!$e(a))return!1;if(!e&&!Si(a)&&(uf(a)||(a=me(a),o=me(o)),!ne(r)&&$e(o)&&!$e(a)))return o.value=a,!0;var s=ne(r)&&So(i)?Number(i)e,$a=e=>Reflect.getPrototypeOf(e);function za(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=me(e),n=me(t);t!==n&&!r&&Qe(a,"get",t),!r&&Qe(a,"get",n);var{has:o}=$a(a),s=i?Yo:r?Zo:Ei;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 Ua(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=me(r),a=me(e);return e!==a&&!t&&Qe(i,"has",e),!t&&Qe(i,"has",a),e===a?r.has(e):r.has(e)||r.has(a)}function Ha(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&Qe(me(e),"iterate",fr),Reflect.get(e,"size",e)}function ef(e){e=me(e);var t=me(this),r=$a(t),i=r.has.call(t,e);return i||(t.add(e),Pt(t,"add",e,e)),this}function tf(e,t){t=me(t);var r=me(this),{has:i,get:a}=$a(r),n=i.call(r,e);n||(e=me(e),n=i.call(r,e));var o=a.call(r,e);return r.set(e,t),n?hi(t,o)&&Pt(r,"set",e,t):Pt(r,"add",e,t),this}function rf(e){var t=me(this),{has:r,get:i}=$a(t),a=r.call(t,e);a||(e=me(e),a=r.call(t,e)),i&&i.call(t,e);var n=t.delete(e);return a&&Pt(t,"delete",e,void 0),n}function af(){var e=me(this),t=e.size!==0,r=e.clear();return t&&Pt(e,"clear",void 0,void 0),r}function Wa(e,t){return function(i,a){var n=this,o=n.__v_raw,s=me(o),u=t?Yo:e?Zo:Ei;return!e&&Qe(s,"iterate",fr),o.forEach((l,f)=>i.call(a,u(l),u(f),n))}}function Va(e,t,r){return function(){var i=this.__v_raw,a=me(i),n=vi(a),o=e==="entries"||e===Symbol.iterator&&n,s=e==="keys"&&n,u=i[e](...arguments),l=r?Yo:t?Zo:Ei;return!t&&Qe(a,"iterate",s?Ho:fr),{next(){var{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:o?[l(f[0]),l(f[1])]:l(f),done:d}},[Symbol.iterator](){return this}}}}function jt(e){return function(){return e==="delete"?!1:this}}function Qm(){var e={get(n){return za(this,n)},get size(){return Ha(this)},has:Ua,add:ef,set:tf,delete:rf,clear:af,forEach:Wa(!1,!1)},t={get(n){return za(this,n,!1,!0)},get size(){return Ha(this)},has:Ua,add:ef,set:tf,delete:rf,clear:af,forEach:Wa(!1,!0)},r={get(n){return za(this,n,!0)},get size(){return Ha(this,!0)},has(n){return Ua.call(this,n,!0)},add:jt("add"),set:jt("set"),delete:jt("delete"),clear:jt("clear"),forEach:Wa(!0,!1)},i={get(n){return za(this,n,!0,!0)},get size(){return Ha(this,!0)},has(n){return Ua.call(this,n,!0)},add:jt("add"),set:jt("set"),delete:jt("delete"),clear:jt("clear"),forEach:Wa(!0,!0)},a=["keys","values","entries",Symbol.iterator];return a.forEach(n=>{e[n]=Va(n,!1,!1),r[n]=Va(n,!0,!1),t[n]=Va(n,!1,!0),i[n]=Va(n,!0,!0)}),[e,r,t,i]}var[e0,t0,r0,i0]=Qm();function qo(e,t){var r=t?e?i0:r0:e?t0:e0;return(i,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(ie(r,a)&&a in i?r:i,a,n)}var a0={get:qo(!1,!1)},n0={get:qo(!1,!0)},o0={get:qo(!0,!1)},nf=new WeakMap,of=new WeakMap,sf=new WeakMap,s0=new WeakMap;function l0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function u0(e){return e.__v_skip||!Object.isExtensible(e)?0:l0(yo(e))}function ke(e){return Si(e)?e:Xo(e,!1,Qu,a0,nf)}function f0(e){return Xo(e,!1,Jm,n0,of)}function lf(e){return Xo(e,!0,Gm,o0,sf)}function Xo(e,t,r,i,a){if(!We(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var n=a.get(e);if(n)return n;var o=u0(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return a.set(e,s),s}function $r(e){return Si(e)?$r(e.__v_raw):!!(e&&e.__v_isReactive)}function Si(e){return!!(e&&e.__v_isReadonly)}function uf(e){return!!(e&&e.__v_isShallow)}function ff(e){return $r(e)||Si(e)}function me(e){var t=e&&e.__v_raw;return t?me(t):e}function ja(e){return Ra(e,"__v_skip",!0),e}var Ei=e=>We(e)?ke(e):e,Zo=e=>We(e)?lf(e):e;function cf(e){Vt&&wt&&(e=me(e),Zu(e.dep||(e.dep=$o())))}function vf(e,t){e=me(e),e.dep&&Vo(e.dep)}function $e(e){return!!(e&&e.__v_isRef===!0)}function U(e){return df(e,!1)}function Ko(e){return df(e,!0)}function df(e,t){return $e(e)?e:new c0(e,t)}class c0{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:me(t),this._value=r?t:Ei(t)}get value(){return cf(this),this._value}set value(t){t=this.__v_isShallow?t:me(t),hi(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ei(t),vf(this))}}function v0(e){return $e(e)?e.value:e}var d0={get:(e,t,r)=>v0(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var a=e[t];return $e(a)&&!$e(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function hf(e){return $r(e)?e:new Proxy(e,d0)}class h0{constructor(t,r,i,a){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Wo(t,()=>{this._dirty||(this._dirty=!0,vf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){var t=me(this);return cf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function g0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i,a,n=se(e);n?(i=e,a=pt):(i=e.get,a=e.set);var o=new h0(i,a,n||!a,r);return o}function Yt(e,t,r,i){var a;try{a=i?e(...i):e()}catch(n){Ya(n,t,r)}return a}function ft(e,t,r,i){if(se(e)){var a=Yt(e,t,r,i);return a&&bu(a)&&a.catch(s=>{Ya(s,t,r)}),a}for(var n=[],o=0;o>>1,a=Ai(et[i]);aNt&&et.splice(t,1)}function _f(e,t,r,i){ne(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),mf()}function b0(e){_f(e,Ci,Ti,zr)}function w0(e){_f(e,qt,Oi,Ur)}function es(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Ti.length){for(Qo=t,Ci=[...new Set(Ti)],Ti.length=0,zr=0;zrAi(r)-Ai(i)),Ur=0;Ure.id==null?1/0:e.id;function wf(e){Go=!1,qa=!0,es(e),et.sort((i,a)=>Ai(i)-Ai(a));var t=pt;try{for(Nt=0;Nt2?i-2:0),n=2;n_.trim()):f&&(o=a.map(yp))}var g,h=r[g=Eo(t)]||r[g=Eo(Rt(t))];!h&&s&&(h=r[g=Eo(Ge(t))]),h&&ft(h,e,6,o);var w=r[g+"Once"];if(w){if(!e.emitted)e.emitted={};else if(e.emitted[g])return;e.emitted[g]=!0,ft(w,e,6,o)}}function xf(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(!se(e)){var u=l=>{var f=xf(l,t,!0);f&&(s=!0,ce(o,f))};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!n&&!s?(i.set(e,null),null):(ne(n)?n.forEach(l=>o[l]=null):ce(o,n),i.set(e,o),o)}function ts(e,t){return!e||!Aa(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Ge(t))||ie(e,t))}var ct=null,yf=null;function Xa(e){var t=ct;return ct=e,yf=e&&e.type.__scopeId||null,t}function y0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ct;if(!t||e._n)return e;var r=function(){r._d&&Yf(-1);var i=Xa(t),a=e(...arguments);return Xa(i),r._d&&Yf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function UT(){}function rs(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:u,emit:l,render:f,renderCache:d,data:g,setupState:h,ctx:w,inheritAttrs:_}=e,x,m,b=Xa(e);try{if(r.shapeFlag&4){var c=a||i;x=yt(f.call(c,c,d,n,h,g,w)),m=u}else{var v=t;x=yt(v.length>1?v(n,{attrs:u,slots:s,emit:l}):v(n,null)),m=t.props?u:S0(u)}}catch(C){Ya(C,e,1),x=I(Wr)}var p=x;if(m&&_!==!1){var y=Object.keys(m),{shapeFlag:E}=p;y.length&&E&7&&(o&&y.some(bo)&&(m=E0(m,o)),p=Mi(p,m))}return r.dirs&&(p.dirs=p.dirs?p.dirs.concat(r.dirs):r.dirs),r.transition&&(p.transition=r.transition),x=p,Xa(b),x}var S0=e=>{var t;for(var r in e)(r==="class"||r==="style"||Aa(r))&&((t||(t={}))[r]=e[r]);return t},E0=(e,t)=>{var r={};for(var i in e)(!bo(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function T0(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:u}=t,l=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return i?Sf(i,o,l):!!o;if(u&8)for(var f=t.dynamicProps,d=0;de.__isSuspense;function A0(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):w0(e)}function ze(e,t){if(Ue){var r=Ue.provides,i=Ue.parent&&Ue.parent.provides;i===r&&(r=Ue.provides=Object.create(i)),r[e]=t}}function _e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=Ue||ct;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&&se(t)?t.call(i.proxy):t}}function I0(e,t){return is(e,null,t)}var Ef={};function W(e,t,r){return is(e,t,r)}function is(e,t){var{immediate:r,deep:i,flush:a,onTrack:n,onTrigger:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se,s=Ue,u,l=!1,f=!1;if($e(e)?(u=()=>e.value,l=uf(e)):$r(e)?(u=()=>e,i=!0):ne(e)?(f=!0,l=e.some($r),u=()=>e.map(b=>{if($e(b))return b.value;if($r(b))return cr(b);if(se(b))return Yt(b,s,2)})):se(e)?t?u=()=>Yt(e,s,2):u=()=>{if(!(s&&s.isUnmounted))return g&&g(),ft(e,s,3,[h])}:u=pt,t&&i){var d=u;u=()=>cr(d())}var g,h=b=>{g=m.onStop=()=>{Yt(b,s,4)}};if(Ri)return h=pt,t?r&&ft(t,s,3,[u(),f?[]:void 0,h]):u(),pt;var w=f?[]:Ef,_=()=>{if(!!m.active)if(t){var b=m.run();(i||l||(f?b.some((c,v)=>hi(c,w[v])):hi(b,w)))&&(g&&g(),ft(t,s,3,[b,w===Ef?void 0:w,h]),w=b)}else m.run()};_.allowRecurse=!!t;var x;a==="sync"?x=_:a==="post"?x=()=>Xe(_,s&&s.suspense):x=()=>{!s||s.isMounted?b0(_):_()};var m=new Wo(u,x);return t?r?_():w=m.run():a==="post"?Xe(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&wo(s.scope.effects,m)}}function k0(e,t,r){var i=this.proxy,a=Ee(e)?e.includes(".")?Tf(i,e):()=>i[e]:e.bind(i,i),n;se(t)?n=t:(n=t.handler,r=t);var o=Ue;Vr(this);var s=is(a,n.bind(i),r);return o?Vr(o):gr(),s}function Tf(e,t){var r=t.split(".");return()=>{for(var i=e,a=0;a{cr(a,t)});else if(mt(e))for(var i in e)cr(e[i],t);return e}function M0(e){return se(e)?{setup:e,name:e.name}:e}var as=e=>!!e.type.__asyncLoader,Cf=e=>e.type.__isKeepAlive;function ns(e,t){Of(e,"a",t)}function R0(e,t){Of(e,"da",t)}function Of(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=e.__wdc||(e.__wdc=()=>{for(var n=r;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Za(t,i,r),r)for(var a=r.parent;a&&a.parent;)Cf(a.parent.vnode)&&L0(i,t,r,a),a=a.parent}function L0(e,t,r,i){var a=Za(t,e,i,!0);Xt(()=>{wo(i[t],a)},r)}function Za(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,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){Br(),Vr(r);for(var o=arguments.length,s=new Array(o),u=0;ufunction(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;return(!Ri||e==="sp")&&Za(e,t,r)},Af=Dt("bm"),Re=Dt("m"),P0=Dt("bu"),N0=Dt("u"),Ae=Dt("bum"),Xt=Dt("um"),D0=Dt("sp"),B0=Dt("rtg"),F0=Dt("rtc");function $0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;Za("ec",e,t)}var os=!0;function z0(e){var t=Mf(e),r=e.proxy,i=e.ctx;os=!1,t.beforeCreate&&If(t.beforeCreate,e,"bc");var{data:a,computed:n,methods:o,watch:s,provide:u,inject:l,created:f,beforeMount:d,mounted:g,beforeUpdate:h,updated:w,activated:_,deactivated:x,beforeDestroy:m,beforeUnmount:b,destroyed:c,unmounted:v,render:p,renderTracked:y,renderTriggered:E,errorCaptured:C,serverPrefetch:O,expose:P,inheritAttrs:M,components:H,directives:re,filters:R}=t,B=null;if(l&&U0(l,i,B,e.appContext.config.unwrapInjectedRef),o)for(var X in o){var Q=o[X];se(Q)&&(i[X]=Q.bind(r))}if(a&&function(){var le=a.call(r,r);We(le)&&(e.data=ke(le))}(),os=!0,n){var V=function(le){var J=n[le],ye=se(J)?J.bind(r,r):se(J.get)?J.get.bind(r,r):pt,be=!se(J)&&se(J.set)?J.set.bind(r):pt,Ve=te({get:ye,set:be});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 ae in s)kf(s[ae],i,r,ae);if(u){var Te=se(u)?u.call(r):u;Reflect.ownKeys(Te).forEach(le=>{ze(le,Te[le])})}f&&If(f,e,"c");function oe(le,J){ne(J)?J.forEach(ye=>le(ye.bind(r))):J&&le(J.bind(r))}if(oe(Af,d),oe(Re,g),oe(P0,h),oe(N0,w),oe(ns,_),oe(R0,x),oe($0,C),oe(F0,y),oe(B0,E),oe(Ae,b),oe(Xt,v),oe(D0,O),ne(P))if(P.length){var de=e.exposed||(e.exposed={});P.forEach(le=>{Object.defineProperty(de,le,{get:()=>r[le],set:J=>r[le]=J})})}else e.exposed||(e.exposed={});p&&e.render===pt&&(e.render=p),M!=null&&(e.inheritAttrs=M),H&&(e.components=H),re&&(e.directives=re)}function U0(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ne(e)&&(e=ss(e));var i=function(n){var o=e[n],s=void 0;We(o)?"default"in o?s=_e(o.from||n,o.default,!0):s=_e(o.from||n):s=_e(o),$e(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:u=>s.value=u}):t[n]=s};for(var a in e)i(a)}function If(e,t,r){ft(ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function kf(e,t,r,i){var a=i.includes(".")?Tf(r,i):()=>r[i];if(Ee(e)){var n=t[e];se(n)&&W(a,n)}else if(se(e))W(a,e.bind(r));else if(We(e))if(ne(e))e.forEach(s=>kf(s,t,r,i));else{var o=se(e.handler)?e.handler.bind(r):t[e.handler];se(o)&&W(a,o,e)}}function Mf(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,s=n.get(t),u;return s?u=s:!a.length&&!r&&!i?u=t:(u={},a.length&&a.forEach(l=>Ka(u,l,o,!0)),Ka(u,t,o)),n.set(t,u),u}function Ka(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:a,extends:n}=t;n&&Ka(e,n,r,!0),a&&a.forEach(u=>Ka(e,u,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=H0[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var H0={data:Rf,props:vr,emits:vr,methods:vr,computed:vr,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:vr,directives:vr,watch:V0,provide:Rf,inject:W0};function Rf(e,t){return t?e?function(){return ce(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function W0(e,t){return vr(ss(e),ss(t))}function ss(e){if(ne(e)){for(var t={},r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,a={},n={};Ra(n,Ja,1),e.propsDefaults=Object.create(null),Lf(e,t,a,n);for(var o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:f0(a):e.type.props?e.props=a:e.props=n,e.attrs=n}function Y0(e,t,r,i){var{props:a,attrs:n,vnode:{patchFlag:o}}=e,s=me(a),[u]=e.propsOptions,l=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var f=e.vnode.dynamicProps,d=0;d2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,a=i.get(e);if(a)return a;var n=e.props,o={},s=[],u=!1;if(!se(e)){var l=c=>{u=!0;var[v,p]=Pf(c,t,!0);ce(o,v),p&&s.push(...p)};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!n&&!u)return i.set(e,ci),ci;if(ne(n))for(var f=0;f-1,_[1]=m<0||x-1||ie(_,"default"))&&s.push(h)}}}var b=[o,s];return i.set(e,b),b}function Nf(e){return e[0]!=="$"}function Df(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Bf(e,t){return Df(e)===Df(t)}function Ff(e,t){return ne(t)?t.findIndex(r=>Bf(r,e)):se(t)&&Bf(t,e)?0:-1}var $f=e=>e[0]==="_"||e==="$stable",us=e=>ne(e)?e.map(yt):[yt(e)],q0=(e,t,r)=>{var i=y0(function(){return us(t(...arguments))},r);return i._c=!1,i},zf=(e,t,r)=>{var i=e._ctx;for(var a in e)if(!$f(a)){var n=e[a];se(n)?t[a]=q0(a,n,i):n!=null&&function(){var o=us(n);t[a]=()=>o}()}},Uf=(e,t)=>{var r=us(t);e.slots.default=()=>r},X0=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=me(t),Ra(t,"_",r)):zf(t,e.slots={})}else e.slots={},t&&Uf(e,t);Ra(e.slots,Ja,1)},Z0=(e,t,r)=>{var{vnode:i,slots:a}=e,n=!0,o=Se;if(i.shapeFlag&32){var s=t._;s?r&&s===1?n=!1:(ce(a,t),!r&&s===1&&delete a._):(n=!t.$stable,zf(t,a)),o=t}else t&&(Uf(e,t),o={default:1});if(n)for(var u in a)!$f(u)&&!(u in o)&&delete a[u]};function Ii(e,t){var r=ct;if(r===null)return e;for(var i=r.proxy,a=e.dirs||(e.dirs=[]),n=0;n1&&arguments[1]!==void 0?arguments[1]:null;a!=null&&!We(a)&&(a=null);var n=Hf(),o=new Set,s=!1,u=n.app={_uid:K0++,_component:i,_props:a,_container:null,_context:n,_instance:null,version:m_,get config(){return n.config},set config(l){},use(l){for(var f=arguments.length,d=new Array(f>1?f-1:0),g=1;g4&&arguments[4]!==void 0?arguments[4]:!1;if(ne(e)){e.forEach((_,x)=>fs(_,t&&(ne(t)?t[x]:t),r,i,a));return}if(!(as(i)&&!a)){var n=i.shapeFlag&4?gs(i.component)||i.component.proxy:i.el,o=a?null:n,{i:s,r:u}=e,l=t&&t.r,f=s.refs===Se?s.refs={}:s.refs,d=s.setupState;if(l!=null&&l!==u&&(Ee(l)?(f[l]=null,ie(d,l)&&(d[l]=null)):$e(l)&&(l.value=null)),se(u))Yt(u,s,12,[o,f]);else{var g=Ee(u),h=$e(u);if(g||h){var w=()=>{if(e.f){var _=g?f[u]:u.value;a?ne(_)&&wo(_,n):ne(_)?_.includes(n)||_.push(n):g?f[u]=[n]:(u.value=[n],e.k&&(f[e.k]=u.value))}else g?(f[u]=o,ie(d,u)&&(d[u]=o)):$e(u)&&(u.value=o,e.k&&(f[e.k]=o))};o?(w.id=-1,Xe(w,r)):w()}}}}var Xe=A0;function J0(e){return Q0(e)}function Q0(e,t){var r=Sp();r.__VUE__=!0;var{insert:i,remove:a,patchProp:n,createElement:o,createText:s,createComment:u,setText:l,setElementText:f,parentNode:d,nextSibling:g,setScopeId:h=pt,cloneNode:w,insertStaticContent:_}=e,x=function(S,T,k){var L=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,z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!T.dynamicChildren;if(S!==T){S&&!ki(S,T)&&(L=Ve(S),de(S,N,$,!0),S=null),T.patchFlag===-2&&(z=!1,T.dynamicChildren=null);var{type:D,ref:ee,shapeFlag:G}=T;switch(D){case cs:m(S,T,k,L);break;case Wr:b(S,T,k,L);break;case vs:S==null&&c(T,k,L,j);break;case xt:re(S,T,k,L,N,$,j,F,z);break;default:G&1?y(S,T,k,L,N,$,j,F,z):G&6?R(S,T,k,L,N,$,j,F,z):(G&64||G&128)&&D.process(S,T,k,L,N,$,j,F,z,Ne)}ee!=null&&N&&fs(ee,S&&S.ref,$,T||S,!T)}},m=(S,T,k,L)=>{if(S==null)i(T.el=s(T.children),k,L);else{var N=T.el=S.el;T.children!==S.children&&l(N,T.children)}},b=(S,T,k,L)=>{S==null?i(T.el=u(T.children||""),k,L):T.el=S.el},c=(S,T,k,L)=>{[S.el,S.anchor]=_(S.children,T,k,L,S.el,S.anchor)},v=(S,T,k)=>{for(var{el:L,anchor:N}=S,$;L&&L!==N;)$=g(L),i(L,T,k),L=$;i(N,T,k)},p=S=>{for(var{el:T,anchor:k}=S,L;T&&T!==k;)L=g(T),a(T),T=L;a(k)},y=(S,T,k,L,N,$,j,F,z)=>{j=j||T.type==="svg",S==null?E(T,k,L,N,$,j,F,z):P(S,T,N,$,j,F,z)},E=(S,T,k,L,N,$,j,F)=>{var z,D,{type:ee,props:G,shapeFlag:Z,transition:fe,patchFlag:Be,dirs:Oe}=S;if(S.el&&w!==void 0&&Be===-1)z=S.el=w(S.el);else{if(z=S.el=o(S.type,$,G&&G.is,G),Z&8?f(z,S.children):Z&16&&O(S.children,z,null,L,N,$&&ee!=="foreignObject",j,F),Oe&&dr(S,null,L,"created"),G){for(var A in G)A!=="value"&&!Ia(A)&&n(z,A,null,G[A],$,S.children,L,N,be);"value"in G&&n(z,"value",null,G.value),(D=G.onVnodeBeforeMount)&&St(D,L,S)}C(z,S,S.scopeId,j,L)}Object.defineProperty(z,"__vueParentComponent",{value:L,enumerable:!1}),Oe&&dr(S,null,L,"beforeMount");var Y=(!N||N&&!N.pendingBranch)&&fe&&!fe.persisted;Y&&fe.beforeEnter(z),i(z,T,k),((D=G&&G.onVnodeMounted)||Y||Oe)&&Xe(()=>{D&&St(D,L,S),Y&&fe.enter(z),Oe&&dr(S,null,L,"mounted")},N)},C=(S,T,k,L,N)=>{if(k&&h(S,k),L)for(var $=0;$8&&arguments[8]!==void 0?arguments[8]:0,D=z;D{var F=T.el=S.el,{patchFlag:z,dynamicChildren:D,dirs:ee}=T;z|=S.patchFlag&16;var G=S.props||Se,Z=T.props||Se,fe;k&&hr(k,!1),(fe=Z.onVnodeBeforeUpdate)&&St(fe,k,T,S),ee&&dr(T,S,k,"beforeUpdate"),k&&hr(k,!0);var Be=N&&T.type!=="foreignObject";if(D?M(S.dynamicChildren,D,F,k,L,Be,$):j||K(S,T,F,null,k,L,Be,$,!1),z>0){if(z&16)H(F,T,G,Z,k,L,N);else if(z&2&&G.class!==Z.class&&n(F,"class",null,Z.class,N),z&4&&n(F,"style",G.style,Z.style,N),z&8)for(var Oe=T.dynamicProps,A=0;A{fe&&St(fe,k,T,S),ee&&dr(T,S,k,"updated")},L)},M=(S,T,k,L,N,$,j)=>{for(var F=0;F{if(k!==L){for(var F in L)if(!Ia(F)){var z=L[F],D=k[F];z!==D&&F!=="value"&&n(S,F,D,z,j,T.children,N,$,be)}if(k!==Se)for(var ee in k)!Ia(ee)&&!(ee in L)&&n(S,ee,k[ee],null,j,T.children,N,$,be);"value"in L&&n(S,"value",k.value,L.value)}},re=(S,T,k,L,N,$,j,F,z)=>{var D=T.el=S?S.el:s(""),ee=T.anchor=S?S.anchor:s(""),{patchFlag:G,dynamicChildren:Z,slotScopeIds:fe}=T;fe&&(F=F?F.concat(fe):fe),S==null?(i(D,k,L),i(ee,k,L),O(T.children,k,ee,N,$,j,F,z)):G>0&&G&64&&Z&&S.dynamicChildren?(M(S.dynamicChildren,Z,k,N,$,j,F),(T.key!=null||N&&T===N.subTree)&&Wf(S,T,!0)):K(S,T,k,ee,N,$,j,F,z)},R=(S,T,k,L,N,$,j,F,z)=>{T.slotScopeIds=F,S==null?T.shapeFlag&512?N.ctx.activate(T,k,L,j,z):B(T,k,L,N,$,j,z):X(S,T,z)},B=(S,T,k,L,N,$,j)=>{var F=S.component=f_(S,L,N);if(Cf(S)&&(F.ctx.renderer=Ne),c_(F),F.asyncDep){if(N&&N.registerDep(F,Q),!S.el){var z=F.subTree=I(Wr);b(null,z,T,k)}return}Q(F,S,T,k,N,$,j)},X=(S,T,k)=>{var L=T.component=S.component;if(T0(S,T,k))if(L.asyncDep&&!L.asyncResolved){V(L,T,k);return}else L.next=T,_0(L.update),L.update();else T.component=S.component,T.el=S.el,L.vnode=T},Q=(S,T,k,L,N,$,j)=>{var F=()=>{if(S.isMounted){var{next:ue,bu:Fe,u:Ke,parent:De,vnode:gt}=S,lr=ue,Mt;hr(S,!1),ue?(ue.el=gt.el,V(S,ue,j)):ue=gt,Fe&&To(Fe),(Mt=ue.props&&ue.props.onVnodeBeforeUpdate)&&St(Mt,De,ue,gt),hr(S,!0);var Rr=rs(S),Ut=S.subTree;S.subTree=Rr,x(Ut,Rr,d(Ut.el),Ve(Ut),S,N,$),ue.el=Rr.el,lr===null&&C0(S,Rr.el),Ke&&Xe(Ke,N),(Mt=ue.props&&ue.props.onVnodeUpdated)&&Xe(()=>St(Mt,De,ue,gt),N)}else{var ee,{el:G,props:Z}=T,{bm:fe,m:Be,parent:Oe}=S,A=as(T);if(hr(S,!1),fe&&To(fe),!A&&(ee=Z&&Z.onVnodeBeforeMount)&&St(ee,Oe,T),hr(S,!0),G&&fa){var Y=()=>{S.subTree=rs(S),fa(G,S.subTree,S,N,null)};A?T.type.__asyncLoader().then(()=>!S.isUnmounted&&Y()):Y()}else{var q=S.subTree=rs(S);x(null,q,k,L,S,N,$),T.el=q.el}if(Be&&Xe(Be,N),!A&&(ee=Z&&Z.onVnodeMounted)){var he=T;Xe(()=>St(ee,Oe,he),N)}T.shapeFlag&256&&S.a&&Xe(S.a,N),S.isMounted=!0,T=k=L=null}},z=S.effect=new Wo(F,()=>pf(S.update),S.scope),D=S.update=z.run.bind(z);D.id=S.uid,hr(S,!0),D()},V=(S,T,k)=>{T.component=S;var L=S.vnode.props;S.vnode=T,S.next=null,Y0(S,T.props,L,k),Z0(S,T.children,k),Br(),es(void 0,S.update),Fr()},K=function(S,T,k,L,N,$,j,F){var z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,D=S&&S.children,ee=S?S.shapeFlag:0,G=T.children,{patchFlag:Z,shapeFlag:fe}=T;if(Z>0){if(Z&128){Te(D,G,k,L,N,$,j,F,z);return}else if(Z&256){ae(D,G,k,L,N,$,j,F,z);return}}fe&8?(ee&16&&be(D,N,$),G!==D&&f(k,G)):ee&16?fe&16?Te(D,G,k,L,N,$,j,F,z):be(D,N,$,!0):(ee&8&&f(k,""),fe&16&&O(G,k,L,N,$,j,F,z))},ae=(S,T,k,L,N,$,j,F,z)=>{S=S||ci,T=T||ci;var D=S.length,ee=T.length,G=Math.min(D,ee),Z;for(Z=0;Zee?be(S,N,$,!0,!1,G):O(T,k,L,N,$,j,F,z,G)},Te=(S,T,k,L,N,$,j,F,z)=>{for(var D=0,ee=T.length,G=S.length-1,Z=ee-1;D<=G&&D<=Z;){var fe=S[D],Be=T[D]=z?Zt(T[D]):yt(T[D]);if(ki(fe,Be))x(fe,Be,k,null,N,$,j,F,z);else break;D++}for(;D<=G&&D<=Z;){var Oe=S[G],A=T[Z]=z?Zt(T[Z]):yt(T[Z]);if(ki(Oe,A))x(Oe,A,k,null,N,$,j,F,z);else break;G--,Z--}if(D>G){if(D<=Z)for(var Y=Z+1,q=YZ)for(;D<=G;)de(S[D],N,$,!0),D++;else{var he=D,ue=D,Fe=new Map;for(D=ue;D<=Z;D++){var Ke=T[D]=z?Zt(T[D]):yt(T[D]);Ke.key!=null&&Fe.set(Ke.key,D)}var De,gt=0,lr=Z-ue+1,Mt=!1,Rr=0,Ut=new Array(lr);for(D=0;D=lr){de(li,N,$,!0);continue}var Lr=void 0;if(li.key!=null)Lr=Fe.get(li.key);else for(De=ue;De<=Z;De++)if(Ut[De-ue]===0&&ki(li,T[De])){Lr=De;break}Lr===void 0?de(li,N,$,!0):(Ut[Lr-ue]=D+1,Lr>=Rr?Rr=Lr:Mt=!0,x(li,T[Lr],k,null,N,$,j,F,z),gt++)}var Lh=Mt?e_(Ut):ci;for(De=Lh.length-1,D=lr-1;D>=0;D--){var Rl=ue+D,Ph=T[Rl],Nh=Rl+14&&arguments[4]!==void 0?arguments[4]:null,{el:$,type:j,transition:F,children:z,shapeFlag:D}=S;if(D&6){oe(S.component.subTree,T,k,L);return}if(D&128){S.suspense.move(T,k,L);return}if(D&64){j.move(S,T,k,Ne);return}if(j===xt){i($,T,k);for(var ee=0;eeF.enter($),N);else{var{leave:Z,delayLeave:fe,afterLeave:Be}=F,Oe=()=>i($,T,k),A=()=>{Z($,()=>{Oe(),Be&&Be()})};fe?fe($,Oe,A):A()}else i($,T,k)},de=function(S,T,k){var L=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:z,dynamicChildren:D,shapeFlag:ee,patchFlag:G,dirs:Z}=S;if(F!=null&&fs(F,null,k,S,!0),ee&256){T.ctx.deactivate(S);return}var fe=ee&1&&Z,Be=!as(S),Oe;if(Be&&(Oe=j&&j.onVnodeBeforeUnmount)&&St(Oe,T,S),ee&6)ye(S.component,k,L);else{if(ee&128){S.suspense.unmount(k,L);return}fe&&dr(S,null,T,"beforeUnmount"),ee&64?S.type.remove(S,T,k,N,Ne,L):D&&($!==xt||G>0&&G&64)?be(D,T,k,!1,!0):($===xt&&G&384||!N&&ee&16)&&be(z,T,k),L&&le(S)}(Be&&(Oe=j&&j.onVnodeUnmounted)||fe)&&Xe(()=>{Oe&&St(Oe,T,S),fe&&dr(S,null,T,"unmounted")},k)},le=S=>{var{type:T,el:k,anchor:L,transition:N}=S;if(T===xt){J(k,L);return}if(T===vs){p(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,z=()=>j(k,$);F?F(S.el,$,z):z()}else $()},J=(S,T)=>{for(var k;S!==T;)k=g(S),a(S),S=k;a(T)},ye=(S,T,k)=>{var{bum:L,scope:N,update:$,subTree:j,um:F}=S;L&&To(L),N.stop(),$&&($.active=!1,de(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())},be=function(S,T,k){for(var L=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=$;jS.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&&de(T._vnode,null,null,!0);else{var L=T.__vueParent;x(T._vnode||null,S,T,null,L,null,k)}T._vnode=S},Ne={p:x,um:de,m:oe,r:le,mt:B,mc:O,pc:K,pbc:M,n:Ve,o:e},ua,fa;return t&&([ua,fa]=t(Ne)),{render:sr,hydrate:ua,createApp:G0(sr,ua)}}function hr(e,t){var{effect:r,update:i}=e;r.allowRecurse=i.allowRecurse=t}function Wf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,a=t.children;if(ne(i)&&ne(a))for(var n=0;n>1,e[r[s]]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 t_=e=>e.__isTeleport,r_=Symbol(),xt=Symbol(void 0),cs=Symbol(void 0),Wr=Symbol(void 0),vs=Symbol(void 0),Vf=null,jf=1;function Yf(e){jf+=e}function Ga(e){return e?e.__v_isVNode===!0:!1}function ki(e,t){return e.type===t.type&&e.key===t.key}var Ja="__vInternal",qf=e=>{var{key:t}=e;return t!=null?t:null},Qa=e=>{var{ref:t,ref_key:r,ref_for:i}=e;return t!=null?Ee(t)||$e(t)||se(t)?{i:ct,r:t,k:r,f:!!i}:t:null};function i_(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,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qf(t),ref:t&&Qa(t),scopeId:yf,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?(ds(u,r),n&128&&e.normalize(u)):r&&(u.shapeFlag|=Ee(r)?8:16),jf>0&&!o&&Vf&&(u.patchFlag>0||n&6)&&u.patchFlag!==32&&Vf.push(u),u}var I=a_;function a_(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===r_)&&(e=Wr),Ga(e)){var o=Mi(e,t,!0);return r&&ds(o,r),o}if(g_(e)&&(e=e.__vccOpts),t){t=n_(t);var{class:s,style:u}=t;s&&!Ee(s)&&(t.class=_o(s)),We(u)&&(ff(u)&&!ne(u)&&(u=ce({},u)),t.style=mo(u))}var l=Ee(e)?1:O0(e)?128:t_(e)?64:We(e)?4:se(e)?2:0;return i_(e,t,r,i,a,l,n,!0)}function n_(e){return e?ff(e)||Ja in e?ce({},e):e:null}function Mi(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?tt(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&qf(s),ref:t&&t.ref?r&&a?ne(a)?a.concat(Qa(t)):[a,Qa(t)]:Qa(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&&Mi(e.ssContent),ssFallback:e.ssFallback&&Mi(e.ssFallback),el:e.el,anchor:e.anchor};return u}function o_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(cs,null,e,t)}function yt(e){return e==null||typeof e=="boolean"?I(Wr):ne(e)?I(xt,null,e.slice()):typeof e=="object"?Zt(e):I(cs,null,String(e))}function Zt(e){return e.el===null||e.memo?e:Mi(e)}function ds(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(ne(t))r=16;else if(typeof t=="object")if(i&65){var a=t.default;a&&(a._c&&(a._d=!1),ds(e,a()),a._c&&(a._d=!0));return}else{r=32;var n=t._;!n&&!(Ja in t)?t._ctx=ct:n===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:ct},r=32):(t=String(t),i&64?(r=16,t=[o_(t)]):r=8);e.children=t,e.shapeFlag|=r}function tt(){for(var e={},t=0;t3&&arguments[3]!==void 0?arguments[3]:null;ft(e,t,7,[r,i])}var hs=e=>e?Xf(e)?gs(e)||e.proxy:hs(e.parent):null,en=ce(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=>hs(e.parent),$root:e=>hs(e.root),$emit:e=>e.emit,$options:e=>Mf(e),$forceUpdate:e=>()=>pf(e.update),$nextTick:e=>Hr.bind(e.proxy),$watch:e=>k0.bind(e)}),s_={get(e,t){var{_:r}=e,{ctx:i,setupState:a,data:n,props:o,accessCache:s,type:u,appContext:l}=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!==Se&&ie(a,t))return s[t]=1,a[t];if(n!==Se&&ie(n,t))return s[t]=2,n[t];if((f=r.propsOptions[0])&&ie(f,t))return s[t]=3,o[t];if(i!==Se&&ie(i,t))return s[t]=4,i[t];os&&(s[t]=0)}}var g=en[t],h,w;if(g)return t==="$attrs"&&Qe(r,"get",t),g(r);if((h=u.__cssModules)&&(h=h[t]))return h;if(i!==Se&&ie(i,t))return s[t]=4,i[t];if(w=l.config.globalProperties,ie(w,t))return w[t]},set(e,t,r){var{_:i}=e,{data:a,setupState:n,ctx:o}=i;if(n!==Se&&ie(n,t))n[t]=r;else if(a!==Se&&ie(a,t))a[t]=r;else if(ie(i.props,t))return!1;return 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,u;return!!a[t]||r!==Se&&ie(r,t)||i!==Se&&ie(i,t)||(u=s[0])&&ie(u,t)||ie(n,t)||ie(en,t)||ie(o.config.globalProperties,t)}},l_=Hf(),u_=0;function f_(e,t,r){var i=e.type,a=(t?t.appContext:e.appContext)||l_,n={uid:u_++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new Bm(!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:Pf(i,a),emitsOptions:xf(i,a),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:i.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,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=x0.bind(null,n),e.ce&&e.ce(n),n}var Ue=null,Bt=()=>Ue||ct,Vr=e=>{Ue=e,e.scope.on()},gr=()=>{Ue&&Ue.scope.off(),Ue=null};function Xf(e){return e.vnode.shapeFlag&4}var Ri=!1;function c_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ri=t;var{props:r,children:i}=e.vnode,a=Xf(e);j0(e,r,a,t),X0(e,i);var n=a?v_(e,t):void 0;return Ri=!1,n}function v_(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=ja(new Proxy(e.ctx,s_));var{setup:i}=r;if(i){var a=e.setupContext=i.length>1?h_(e):null;Vr(e),Br();var n=Yt(i,e,0,[e.props,a]);if(Fr(),gr(),bu(n)){if(n.then(gr,gr),t)return n.then(o=>{Zf(e,o,t)}).catch(o=>{Ya(o,e,0)});e.asyncDep=n}else Zf(e,n,t)}else Gf(e,t)}function Zf(e,t,r){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:We(t)&&(e.setupState=hf(t)),Gf(e,r)}var Kf;function Gf(e,t,r){var i=e.type;if(!e.render){if(!t&&Kf&&!i.render){var a=i.template;if(a){var{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:u}=i,l=ce(ce({isCustomElement:n,delimiters:s},o),u);i.render=Kf(a,l)}}e.render=i.render||pt}Vr(e),Br(),z0(e),Fr(),gr()}function d_(e){return new Proxy(e.attrs,{get(t,r){return Qe(e,"get","$attrs"),t[r]}})}function h_(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=d_(e))},slots:e.slots,emit:e.emit,expose:t}}function gs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hf(ja(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in en)return en[r](e)}}))}function g_(e){return se(e)&&"__vccOpts"in e}var te=(e,t)=>g0(e,t,Ri);function p_(e,t,r){var i=arguments.length;return i===2?We(t)&&!ne(t)?Ga(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Ga(r)&&(r=[r]),I(e,t,r))}var m_="3.2.30",__="http://www.w3.org/2000/svg",pr=typeof document!="undefined"?document:null,Jf=pr&&pr.createElement("template"),b_={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(__,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{Jf.innerHTML=i?"".concat(e,""):e;var s=Jf.content;if(i){for(var u=s.firstChild;u.firstChild;)s.appendChild(u.firstChild);s.removeChild(u)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function w_(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 x_(e,t,r){var i=e.style,a=Ee(r);if(r&&!a){for(var n in r)ps(i,n,r[n]);if(t&&!Ee(t))for(var o in t)r[o]==null&&ps(i,o,"")}else{var s=i.display;a?t!==r&&(i.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=s)}}var Qf=/\s*!important$/;function ps(e,t,r){if(ne(r))r.forEach(a=>ps(e,t,a));else if(r=E_(r),t.startsWith("--"))e.setProperty(t,r);else{var i=y_(e,t);Qf.test(r)?e.setProperty(Ge(i),r.replace(Qf,""),"important"):e[i]=r}}var ec=["Webkit","Moz","ms"],ms={};function y_(e,t){var r=ms[t];if(r)return r;var i=Rt(t);if(i!=="filter"&&i in e)return ms[t]=i;i=Ma(i);for(var a=0;atypeof rpx2px!="function"?e:Ee(e)?e.replace(S_,(t,r)=>rpx2px(r)+"px"):e,tc="http://www.w3.org/1999/xlink";function T_(e,t,r,i,a){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(tc,t.slice(6,t.length)):e.setAttributeNS(tc,t,r);else{var n=fp(t);r==null||n&&!mu(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}if(r===""||r==null){var u=typeof e[t];if(u==="boolean"){e[t]=mu(r);return}else if(r==null&&u==="string"){e[t]="",e.removeAttribute(t);return}else if(u==="number"){try{e[t]=0}catch(l){}e.removeAttribute(t);return}}try{e[t]=r}catch(l){}}var tn=Date.now,rc=!1;if(typeof window!="undefined"){tn()>document.createEvent("Event").timeStamp&&(tn=()=>performance.now());var ic=navigator.userAgent.match(/firefox\/(\d+)/i);rc=!!(ic&&Number(ic[1])<=53)}var _s=0,O_=Promise.resolve(),A_=()=>{_s=0},I_=()=>_s||(O_.then(A_),_s=tn());function k_(e,t,r,i){e.addEventListener(t,r,i)}function M_(e,t,r,i){e.removeEventListener(t,r,i)}function R_(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,u]=L_(t);if(i){var l=n[t]=P_(i,a);k_(e,s,l,u)}else o&&(M_(e,s,o,u),n[t]=void 0)}}var ac=/(?:Once|Passive|Capture)$/;function L_(e){var t;if(ac.test(e)){t={};for(var r;r=e.match(ac);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ge(e.slice(2)),t]}function P_(e,t){var r=i=>{var a=i.timeStamp||tn();(rc||a>=r.attached-1)&&ft(N_(i,r.value),t,5,[i])};return r.value=e,r.attached=I_(),r}function N_(e,t){if(ne(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 nc=/^on[a-z]/,D_=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,u=arguments.length>8?arguments[8]:void 0;t==="class"?w_(e,i,a):t==="style"?x_(e,r,i):Aa(t)?bo(t)||R_(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):B_(e,t,i,a))?C_(e,t,i,n,o,s,u):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),T_(e,t,i,a))};function B_(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&nc.test(t)&&se(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||nc.test(t)&&Ee(r)?!1:t in e}var F_=["ctrl","shift","alt","meta"],$_={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)=>F_.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},bs=(e,t)=>function(r){for(var i=0;i1?n-1:0),s=1;s{Pi(e,!1)}):Pi(e,i))},beforeUnmount(e,t){var{value:r}=t;Pi(e,r)}};function Pi(e,t){e.style.display=t?e._vod:"none"}var z_=ce({patchProp:D_},b_),oc;function U_(){return oc||(oc=J0(z_))}var sc=function(){var e=U_().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=H_(r);if(!!i){var a=e._component;!se(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 H_(e){if(Ee(e)){var t=document.querySelector(e);return t}return e}var lc=["top","left","right","bottom"],ws,rn={},ot;function xs(){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 uc(){if(ot=typeof ot=="string"?ot:xs(),!ot){lc.forEach(function(s){rn[s]=0});return}function e(s,u){var l=s.style;Object.keys(u).forEach(function(f){var d=u[f];l[f]=d})}var t=[];function r(s){s?t.push(s):t.forEach(function(u){u()})}var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,a)}catch(s){}function n(s,u){var l=document.createElement("div"),f=document.createElement("div"),d=document.createElement("div"),g=document.createElement("div"),h=100,w=1e4,_={position:"absolute",width:h+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ot+"(safe-area-inset-"+u+")"};e(l,_),e(f,_),e(d,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(g,{transition:"0s",animation:"none",width:"250%",height:"250%"}),l.appendChild(d),f.appendChild(g),s.appendChild(l),s.appendChild(f),r(function(){l.scrollTop=f.scrollTop=w;var m=l.scrollTop,b=f.scrollTop;function c(){this.scrollTop!==(this===l?m:b)&&(l.scrollTop=f.scrollTop=w,m=l.scrollTop,b=f.scrollTop,W_(u))}l.addEventListener("scroll",c,i),f.addEventListener("scroll",c,i)});var x=getComputedStyle(l);Object.defineProperty(rn,u,{configurable:!0,get:function(){return parseFloat(x.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),lc.forEach(function(s){n(o,s)}),document.body.appendChild(o),r(),ws=!0}function an(e){return ws||uc(),rn[e]}var nn=[];function W_(e){nn.length||setTimeout(function(){var t={};nn.forEach(function(r){t[r]=rn[r]}),nn.length=0,on.forEach(function(r){r(t)})},0),nn.push(e)}var on=[];function V_(e){!xs()||(ws||uc(),typeof e=="function"&&on.push(e))}function j_(e){var t=on.indexOf(e);t>=0&&on.splice(t,1)}var Y_={get support(){return(typeof ot=="string"?ot:xs()).length!=0},get top(){return an("top")},get left(){return an("left")},get right(){return an("right")},get bottom(){return an("bottom")},onChange:V_,offChange:j_},sn=Y_,fc=bs(()=>{},["prevent"]);function ln(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function ys(){var e=document.documentElement.style,t=ln(e,"--window-top");return t?t+sn.top:0}function q_(){var e=document.documentElement.style,t=ys(),r=ln(e,"--window-bottom"),i=ln(e,"--window-left"),a=ln(e,"--window-right");return{top:t,bottom:r?r+sn.bottom:0,left:i?i+sn.left:0,right:a?a+sn.right:0}}function X_(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function un(e){return Symbol(e)}function cc(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function mr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return Z_(e);if(typeof e=="string"){var r=parseInt(e)||0;return cc(e)?uni.upx2px(r):r}return e}function Z_(e){return cc(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var K_="M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",G_="M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",J_="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",Q_="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",eb="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",fn="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",tb="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",rb="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",ib="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 cn(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 I("svg",{width:r,height:r,viewBox:"0 0 32 32"},[I("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function vn(){return Kt()}function ab(){return window.__PAGE_INFO__}function Kt(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function nb(e){e.preventDefault()}var vc,dc=0;function ob(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,a=!1,n=!1,o=!0,s=()=>{var{scrollHeight:l}=document.documentElement,f=window.innerHeight,d=window.scrollY,g=d>0&&l>f&&d+f+i>=l,h=Math.abs(l-dc)>i;return g&&(!n||h)?(dc=l,n=!0,!0):(!g&&n&&(n=!1),!1)},u=()=>{t&&t(window.pageYOffset);function l(){if(s())return r&&r(),o=!1,setTimeout(function(){o=!0},350),!0}r&&o&&(l()||(vc=setTimeout(l,300))),a=!1};return function(){clearTimeout(vc),a||requestAnimationFrame(u),a=!0}}function Ss(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Ss(e,t.substr(2));for(var r=t.split("/"),i=r.length,a=0;a0?e.split("/"):[];return n.splice(n.length-a-1,a+1),Ao(n.concat(r).join("/"))}var jr,hc,Yr;function gc(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function pc(){return jr.webview.currentWebview().id}var dn,Es,Ts={};function Cs(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Ts[r];i&&i(t),t.keep||delete Ts[r]}}function sb(e,t){gc()==="v8"?Yr?(dn&&dn.close(),dn=new Yr(pc()),dn.onmessage=Cs):Es||(Es=hc.requireModule("globalEvent"),Es.addEventListener("plusMessage",Cs)):window.__plusMessage=Cs,Ts[e]=t}class lb{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(Yr){var a=new Yr(i);a.postMessage(r)}else jr.webview.postMessageToUniNView&&jr.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function ub(e){var{context:t={},url:r,data:i={},style:a={},onMessage:n,onClose:o}=e;jr=t.plus||plus,hc=t.weex||(typeof weex=="object"?weex:null),Yr=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var s={autoBackButton:!0,titleSize:"17px"},u="page".concat(Date.now());a=ce({},a),a.titleNView!==!1&&a.titleNView!=="none"&&(a.titleNView=ce(s,a.titleNView));var l={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"".concat(typeof process=="object"&&process.env&&{}.VUE_APP_TEMPLATE_PATH||"","/").concat(r,".js"),defaultFontSize:16,viewport:jr.screen.resolutionWidth}};a=ce(l,a);var f=jr.webview.create("",u,a,{extras:{from:pc(),runtime:gc(),data:i,useGlobalEvent:!Yr}});return f.addEventListener("close",o),sb(u,d=>{typeof n=="function"&&n(d.data),d.keep||f.close("auto")}),f.show(a.animationType,a.animationDuration),new lb(f)}class fb{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=mc(this.$el.querySelector(t));if(!!r)return Os(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),a=0;a-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];se(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(kp,{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 Os(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new fb(e)),e.$el.__wxsComponentDescriptor}function Ni(e,t){return Os(e)}function mc(e){if(!!e)return qr(e)}function qr(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(u=>{e.style[u]=t[u]})})),n&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(u=>{e.classList.remove(u)}),r&&r.forEach(u=>{e.classList.add(u)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var cb=e=>e.type==="click";function _c(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];var a=i.tagName.indexOf("UNI-")!==0,n=bc(e,a);if(cb(e))db(n,e);else if(e instanceof TouchEvent){var o=ys();n.touches=wc(e.touches,o),n.changedTouches=wc(e.changedTouches,o)}return[n]}function vb(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function bc(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:ko(t?a:vb(a)),detail:{},currentTarget:ko(n)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function db(e,t){var{x:r,y:i}=t,a=ys();e.detail={x:r,y:i-a},e.touches=e.changedTouches=[hb(t,a)]}function hb(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function wc(e,t){for(var r=[],i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=Kt()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},gb)}function yb(e,t){var r=e[0];if(!(!t||!mt(t.formatArgs)&&mt(r)))for(var i=t.formatArgs,a=Object.keys(i),n=0;nplus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Cb(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}var Ob=0;function Ab(e,t,r){var i="".concat(Date.now()).concat(Ob++),a=new plus.nativeObj.Bitmap("bitmap".concat(i));a.loadBase64Data(e,function(){var o=e.match(/data:image\/(\S+?);/)||[null,"png"],s;o[1]&&(s=o[1].replace("jpeg","jpg"));var u="".concat(t,"/").concat(i,".").concat(s);a.save(u,{overwrite:!0,quality:100,format:s},function(){n(),r(null,u)},function(l){n(),r(l)})},function(o){n(),r(o)});function n(){a.clear()}}var Ft={};(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 u in s)r(s,u)&&(n[u]=s[u])}}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,u,l){if(o.subarray&&n.subarray){n.set(o.subarray(s,s+u),l);return}for(var f=0;f=0;)e[t]=0}var Rb=0,Ac=1,Lb=2,Pb=3,Nb=258,As=29,Bi=256,Fi=Bi+1+As,Kr=30,Is=19,Ic=2*Fi+1,_r=15,ks=16,Db=7,Ms=256,kc=16,Mc=17,Rc=18,Rs=[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],hn=[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],Bb=[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],Fb=512,$t=new Array((Fi+2)*2);Zr($t);var $i=new Array(Kr*2);Zr($i);var zi=new Array(Fb);Zr(zi);var Ui=new Array(Nb-Pb+1);Zr(Ui);var Ls=new Array(As);Zr(Ls);var gn=new Array(Kr);Zr(gn);function Ps(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 Ns(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Bc(e){return e<256?zi[e]:zi[256+(e>>>7)]}function Hi(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>ks-r?(e.bi_buf|=t<>ks-e.bi_valid,e.bi_valid+=r-ks):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function $b(e){e.bi_valid===16?(Hi(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 zb(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,u=t.stat_desc.max_length,l,f,d,g,h,w,_=0;for(g=0;g<=_r;g++)e.bl_count[g]=0;for(r[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;lu&&(g=u,_++),r[f*2+1]=g,!(f>i)&&(e.bl_count[g]++,h=0,f>=s&&(h=o[f-s]),w=r[f*2],e.opt_len+=w*(g+h),n&&(e.static_len+=w*(a[f*2+1]+h)));if(_!==0){do{for(g=u-1;e.bl_count[g]===0;)g--;e.bl_count[g]--,e.bl_count[g+1]+=2,e.bl_count[u]--,_-=2}while(_>0);for(g=u;g!==0;g--)for(f=e.bl_count[g];f!==0;)d=e.heap[--l],!(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(_r+1),a=0,n,o;for(n=1;n<=_r;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 Ub(){var e,t,r,i,a,n=new Array(_r+1);for(r=0,i=0;i>=7;i8?Hi(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 Hb(e,t,r,i){Uc(e),i&&(Hi(e,r),Hi(e,~r)),Ib.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]>1;o>=1;o--)Ds(e,r,o);l=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ds(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[l*2]=r[o*2]+r[s*2],e.depth[l]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=l,e.heap[1]=l++,Ds(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],zb(e,t),$c(r,u,e.bl_count)}function Vc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,u=7,l=4;for(o===0&&(u=138,l=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)n=o,o=t[(i+1)*2+1],!(++s=3&&e.bl_tree[Lc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Vb(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>>=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;r0?(e.strm.data_type===Mb&&(e.strm.data_type=jb(e)),Bs(e,e.l_desc),Bs(e,e.d_desc),o=Wb(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===kb||n===a?(Ze(e,(Ac<<1)+(i?1:0),3),Wc(e,$t,$i)):(Ze(e,(Lb<<1)+(i?1:0),3),Vb(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 Zb(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[(Ui[r]+Bi+1)*2]++,e.dyn_dtree[Bc(t)*2]++),e.last_lit===e.lit_bufsize-1}Xr._tr_init=Yb,Xr._tr_stored_block=qc,Xr._tr_flush_block=Xb,Xr._tr_tally=Zb,Xr._tr_align=qb;function Kb(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=Kb;function Gb(){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 Jb=Gb();function Qb(e,t,r,i){var a=Jb,n=i+r;e^=-1;for(var o=i;o>>8^a[(e^t[o])&255];return e^-1}var Zc=Qb,Fs={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=Ft,st=Xr,Kc=Xc,Gt=Zc,ew=Fs,br=0,tw=1,rw=3,Jt=4,Gc=5,Ct=0,Jc=1,lt=-2,iw=-3,$s=-5,aw=-1,nw=1,pn=2,ow=3,sw=4,lw=0,uw=2,mn=8,fw=9,cw=15,vw=8,dw=29,hw=256,zs=hw+1+dw,gw=30,pw=19,mw=2*zs+1,_w=15,ve=3,Qt=258,dt=Qt+ve+1,bw=32,_n=42,Us=69,bn=73,wn=91,xn=103,wr=113,Wi=666,Le=1,Vi=2,xr=3,Gr=4,ww=3;function er(e,t){return e.msg=ew[t],t}function Qc(e){return(e<<1)-(e>4?9:0)}function tr(e){for(var t=e.length;--t>=0;)e[t]=0}function rr(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 He(e,t){st._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,rr(e.strm)}function pe(e,t){e.pending_buf[e.pending++]=t}function ji(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function xw(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=Gt(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,u=e.strstart>e.w_size-dt?e.strstart-(e.w_size-dt):0,l=e.window,f=e.w_mask,d=e.prev,g=e.strstart+Qt,h=l[i+o-1],w=l[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(l[a+o]!==w||l[a+o-1]!==h||l[a]!==l[i]||l[++a]!==l[i+1])){i+=2,a++;do;while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&io){if(e.match_start=t,o=n,n>=s)break;h=l[i+o-1],w=l[i+o]}}while((t=d[t&f])>u&&--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-dt)){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=xw(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=ve)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yr(e),e.lookahead===0&&t===br)return Le;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,He(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-dt&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Jt?(He(e,!0),e.strm.avail_out===0?xr:Gr):(e.strstart>e.block_start&&(He(e,!1),e.strm.avail_out===0),Le)}function Hs(e,t){for(var r,i;;){if(e.lookahead=ve&&(e.ins_h=(e.ins_h<=ve)if(i=st._tr_tally(e,e.strstart-e.match_start,e.match_length-ve),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ve){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=ve&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=ve-1)),e.prev_length>=ve&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-ve,i=st._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ve),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<=ve&&e.strstart>0&&(a=e.strstart-1,i=o[a],i===o[++a]&&i===o[++a]&&i===o[++a])){n=e.strstart+Qt;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]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ve?(r=st._tr_tally(e,1,e.match_length-ve),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Jt?(He(e,!0),e.strm.avail_out===0?xr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Le:Vi}function Ew(e,t){for(var r;;){if(e.lookahead===0&&(yr(e),e.lookahead===0)){if(t===br)return Le;break}if(e.match_length=0,r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Jt?(He(e,!0),e.strm.avail_out===0?xr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Le:Vi}function Ot(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 Qr;Qr=[new Ot(0,0,0,0,yw),new Ot(4,4,8,4,Hs),new Ot(4,5,16,8,Hs),new Ot(4,6,32,32,Hs),new Ot(4,4,16,16,Jr),new Ot(8,16,32,32,Jr),new Ot(8,16,128,128,Jr),new Ot(8,32,128,256,Jr),new Ot(32,128,258,1024,Jr),new Ot(32,258,258,4096,Jr)];function Tw(e){e.window_size=2*e.w_size,tr(e.head),e.max_lazy_match=Qr[e.level].max_lazy,e.good_match=Qr[e.level].good_length,e.nice_match=Qr[e.level].nice_length,e.max_chain_length=Qr[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ve-1,e.match_available=0,e.ins_h=0}function Cw(){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=mn,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(mw*2),this.dyn_dtree=new qe.Buf16((2*gw+1)*2),this.bl_tree=new qe.Buf16((2*pw+1)*2),tr(this.dyn_ltree),tr(this.dyn_dtree),tr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new qe.Buf16(_w+1),this.heap=new qe.Buf16(2*zs+1),tr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new qe.Buf16(2*zs+1),tr(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?er(e,lt):(e.total_in=e.total_out=0,e.data_type=uw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?_n:wr,e.adler=t.wrap===2?0:1,t.last_flush=br,st._tr_init(t),Ct)}function rv(e){var t=tv(e);return t===Ct&&Tw(e.state),t}function Ow(e,t){return!e||!e.state||e.state.wrap!==2?lt:(e.state.gzhead=t,Ct)}function iv(e,t,r,i,a,n){if(!e)return lt;var o=1;if(t===aw&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>fw||r!==mn||i<8||i>15||t<0||t>9||n<0||n>sw)return er(e,lt);i===8&&(i=9);var s=new Cw;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<Gc||t<0)return e?er(e,lt):lt;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Wi&&t!==Jt)return er(e,e.avail_out===0?$s:lt);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===_n)if(i.wrap===2)e.adler=0,pe(i,31),pe(i,139),pe(i,8),i.gzhead?(pe(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)),pe(i,i.gzhead.time&255),pe(i,i.gzhead.time>>8&255),pe(i,i.gzhead.time>>16&255),pe(i,i.gzhead.time>>24&255),pe(i,i.level===9?2:i.strategy>=pn||i.level<2?4:0),pe(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(pe(i,i.gzhead.extra.length&255),pe(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Gt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Us):(pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,i.level===9?2:i.strategy>=pn||i.level<2?4:0),pe(i,ww),i.status=wr);else{var o=mn+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=pn||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=bw),o+=31-o%31,i.status=wr,ji(i,o),i.strstart!==0&&(ji(i,e.adler>>>16),ji(i,e.adler&65535)),e.adler=1}if(i.status===Us)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=Gt(e.adler,i.pending_buf,i.pending-a,a)),rr(e),a=i.pending,i.pending===i.pending_buf_size));)pe(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Gt(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=bn)}else i.status=bn;if(i.status===bn)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Gt(e.adler,i.pending_buf,i.pending-a,a)),rr(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Gt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.gzindex=0,i.status=wn)}else i.status=wn;if(i.status===wn)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Gt(e.adler,i.pending_buf,i.pending-a,a)),rr(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Gt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.status=xn)}else i.status=xn;if(i.status===xn&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&rr(e),i.pending+2<=i.pending_buf_size&&(pe(i,e.adler&255),pe(i,e.adler>>8&255),e.adler=0,i.status=wr)):i.status=wr),i.pending!==0){if(rr(e),e.avail_out===0)return i.last_flush=-1,Ct}else if(e.avail_in===0&&Qc(t)<=Qc(r)&&t!==Jt)return er(e,$s);if(i.status===Wi&&e.avail_in!==0)return er(e,$s);if(e.avail_in!==0||i.lookahead!==0||t!==br&&i.status!==Wi){var u=i.strategy===pn?Ew(i,t):i.strategy===ow?Sw(i,t):Qr[i.level].func(i,t);if((u===xr||u===Gr)&&(i.status=Wi),u===Le||u===xr)return e.avail_out===0&&(i.last_flush=-1),Ct;if(u===Vi&&(t===tw?st._tr_align(i):t!==Gc&&(st._tr_stored_block(i,0,0,!1),t===rw&&(tr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),rr(e),e.avail_out===0))return i.last_flush=-1,Ct}return t!==Jt?Ct:i.wrap<=0?Jc:(i.wrap===2?(pe(i,e.adler&255),pe(i,e.adler>>8&255),pe(i,e.adler>>16&255),pe(i,e.adler>>24&255),pe(i,e.total_in&255),pe(i,e.total_in>>8&255),pe(i,e.total_in>>16&255),pe(i,e.total_in>>24&255)):(ji(i,e.adler>>>16),ji(i,e.adler&65535)),rr(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ct:Jc)}function kw(e){var t;return!e||!e.state?lt:(t=e.state.status,t!==_n&&t!==Us&&t!==bn&&t!==wn&&t!==xn&&t!==wr&&t!==Wi?er(e,lt):(e.state=null,t===wr?er(e,iw):Ct))}function Mw(e,t){var r=t.length,i,a,n,o,s,u,l,f;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==_n||i.lookahead))return lt;for(o===1&&(e.adler=Kc(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(tr(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,u=e.next_in,l=e.input,e.avail_in=r,e.next_in=0,e.input=t,yr(i);i.lookahead>=ve;){a=i.strstart,n=i.lookahead-(ve-1);do i.ins_h=(i.ins_h<=252?6:ir>=248?5:ir>=240?4:ir>=224?3:ir>=192?2:1;Yi[254]=Yi[254]=1,Sr.string2buf=function(e){var t,r,i,a,n,o=e.length,s=0;for(a=0;a>>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,yn.shrinkBuf(e,t));for(var r="",i=0;i4){s[i++]=65533,r+=n-1;continue}for(a&=n===2?31:n===3?15:7;n>1&&r1){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)},Sr.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+Yi[e[r]]>t?r:t};function Rw(){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=Rw,qi=Et,Xi=Ft,Ws=Sr,Vs=Fs,Lw=sv,lv=Object.prototype.toString,Pw=0,js=4,ei=0,uv=1,fv=2,Nw=-1,Dw=0,Bw=8;function Er(e){if(!(this instanceof Er))return new Er(e);this.options=Xi.assign({level:Nw,method:Bw,chunkSize:16384,windowBits:15,memLevel:8,strategy:Dw,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 Lw,this.strm.avail_out=0;var r=qi.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==ei)throw new Error(Vs[r]);if(t.header&&qi.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=Ws.string2buf(t.dictionary):lv.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=qi.deflateSetDictionary(this.strm,i),r!==ei)throw new Error(Vs[r]);this._dict_set=!0}}Er.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?js:Pw,typeof e=="string"?r.input=Ws.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 Xi.Buf8(i),r.next_out=0,r.avail_out=i),a=qi.deflate(r,n),a!==uv&&a!==ei)return this.onEnd(a),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===js||n===fv))&&(this.options.to==="string"?this.onData(Ws.buf2binstring(Xi.shrinkBuf(r.output,r.next_out))):this.onData(Xi.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&a!==uv);return n===js?(a=qi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ei):(n===fv&&(this.onEnd(ei),r.avail_out=0),!0)},Er.prototype.onData=function(e){this.chunks.push(e)},Er.prototype.onEnd=function(e){e===ei&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Xi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Ys(e,t){var r=new Er(t);if(r.push(e,!0),r.err)throw r.msg||Vs[r.err];return r.result}function Fw(e,t){return t=t||{},t.raw=!0,Ys(e,t)}function $w(e,t){return t=t||{},t.gzip=!0,Ys(e,t)}Di.Deflate=Er,Di.deflate=Ys,Di.deflateRaw=Fw,Di.gzip=$w;var Zi={},ht={},Sn=30,zw=12,Uw=function(t,r){var i,a,n,o,s,u,l,f,d,g,h,w,_,x,m,b,c,v,p,y,E,C,O,P,M;i=t.state,a=t.next_in,P=t.input,n=a+(t.avail_in-5),o=t.next_out,M=t.output,s=o-(r-t.avail_out),u=o+(t.avail_out-257),l=i.dmax,f=i.wsize,d=i.whave,g=i.wnext,h=i.window,w=i.hold,_=i.bits,x=i.lencode,m=i.distcode,b=(1<>>24,w>>>=p,_-=p,p=v>>>16&255,p===0)M[o++]=v&65535;else if(p&16){y=v&65535,p&=15,p&&(_>>=p,_-=p),_<15&&(w+=P[a++]<<_,_+=8,w+=P[a++]<<_,_+=8),v=m[w&c];r:for(;;){if(p=v>>>24,w>>>=p,_-=p,p=v>>>16&255,p&16){if(E=v&65535,p&=15,_l){t.msg="invalid distance too far back",i.mode=Sn;break e}if(w>>>=p,_-=p,p=o-s,E>p){if(p=E-p,p>d&&i.sane){t.msg="invalid distance too far back",i.mode=Sn;break e}if(C=0,O=h,g===0){if(C+=f-p,p2;)M[o++]=O[C++],M[o++]=O[C++],M[o++]=O[C++],y-=3;y&&(M[o++]=O[C++],y>1&&(M[o++]=O[C++]))}else{C=o-E;do M[o++]=M[C++],M[o++]=M[C++],M[o++]=M[C++],y-=3;while(y>2);y&&(M[o++]=M[C++],y>1&&(M[o++]=M[C++]))}}else if((p&64)===0){v=m[(v&65535)+(w&(1<>3,a-=y,_-=y<<3,w&=(1<<_)-1,t.next_in=a,t.next_out=o,t.avail_in=a=1&&H[h]===0;h--);if(w>h&&(w=h),h===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,u.bits=1,0;for(g=1;g0&&(t===hv||h!==1))return-1;for(re[1]=0,f=1;fvv||t===gv&&b>dv)return 1;for(;;){X=f-x,s[d]M?(Q=R[B+s[d]],V=O[P+s[d]]):(Q=32+64,V=0),v=1<>x)+p]=X<<24|Q<<16|V|0;while(p!==0);for(v=1<>=1;if(v!==0?(c&=v-1,c+=v):c=0,d++,--H[f]===0){if(f===h)break;f=r[i+s[d]]}if(f>w&&(c&E)!==y){for(x===0&&(x=w),C+=g,_=f-x,m=1<<_;_+xvv||t===gv&&b>dv)return 1;y=c&E,n[y]=w<<24|_<<16|C-o|0}}return c!==0&&(n[C+c]=f-x<<24|64<<16|0),u.bits=w,0},rt=Ft,Xs=Xc,At=Zc,qw=Uw,Ki=Yw,Xw=0,pv=1,mv=2,_v=4,Zw=5,En=6,Tr=0,Kw=1,Gw=2,ut=-2,bv=-3,wv=-4,Jw=-5,xv=8,yv=1,Sv=2,Ev=3,Tv=4,Cv=5,Ov=6,Av=7,Iv=8,kv=9,Mv=10,Tn=11,zt=12,Zs=13,Rv=14,Ks=15,Lv=16,Pv=17,Nv=18,Dv=19,Cn=20,On=21,Bv=22,Fv=23,$v=24,zv=25,Uv=26,Gs=27,Hv=28,Wv=29,Ce=30,Vv=31,Qw=32,e1=852,t1=592,r1=15,i1=r1;function jv(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function a1(){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 rt.Buf16(320),this.work=new rt.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?ut:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=yv,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new rt.Buf32(e1),t.distcode=t.distdyn=new rt.Buf32(t1),t.sane=1,t.back=-1,Tr)}function qv(e){var t;return!e||!e.state?ut:(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))?ut:(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 a1,e.state=i,i.window=null,r=Xv(e,t),r!==Tr&&(e.state=null),r):ut}function n1(e){return Zv(e,i1)}var Kv=!0,Js,Qs;function o1(e){if(Kv){var t;for(Js=new rt.Buf32(512),Qs=new rt.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(Ki(pv,e.lens,0,288,Js,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ki(mv,e.lens,0,32,Qs,0,e.work,{bits:5}),Kv=!1}e.lencode=Js,e.lenbits=9,e.distcode=Qs,e.distbits=5}function Gv(e,t,r,i){var a,n=e.state;return n.window===null&&(n.wsize=1<=n.wsize?(rt.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),rt.arraySet(n.window,t,r-i,a,n.wnext),i-=a,i?(rt.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>>8&255,r.check=At(r.check,O,2,0),l=0,f=0,r.mode=Sv;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg="incorrect header check",r.mode=Ce;break}if((l&15)!==xv){e.msg="unknown compression method",r.mode=Ce;break}if(l>>>=4,f-=4,E=(l&15)+8,r.wbits===0)r.wbits=E;else if(E>r.wbits){e.msg="invalid window size",r.mode=Ce;break}r.dmax=1<>8&1),r.flags&512&&(O[0]=l&255,O[1]=l>>>8&255,r.check=At(r.check,O,2,0)),l=0,f=0,r.mode=Ev;case Ev:for(;f<32;){if(s===0)break e;s--,l+=i[n++]<>>8&255,O[2]=l>>>16&255,O[3]=l>>>24&255,r.check=At(r.check,O,4,0)),l=0,f=0,r.mode=Tv;case Tv:for(;f<16;){if(s===0)break e;s--,l+=i[n++]<>8),r.flags&512&&(O[0]=l&255,O[1]=l>>>8&255,r.check=At(r.check,O,2,0)),l=0,f=0,r.mode=Cv;case Cv:if(r.flags&1024){for(;f<16;){if(s===0)break e;s--,l+=i[n++]<>>8&255,r.check=At(r.check,O,2,0)),l=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)),rt.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=Av;case Av: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>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=zt;break;case Mv:for(;f<32;){if(s===0)break e;s--,l+=i[n++]<>>=f&7,f-=f&7,r.mode=Gs;break}for(;f<3;){if(s===0)break e;s--,l+=i[n++]<>>=1,f-=1,l&3){case 0:r.mode=Rv;break;case 1:if(o1(r),r.mode=Cn,t===En){l>>>=2,f-=2;break e}break;case 2:r.mode=Pv;break;case 3:e.msg="invalid block type",r.mode=Ce}l>>>=2,f-=2;break;case Rv:for(l>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,l+=i[n++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=Ce;break}if(r.length=l&65535,l=0,f=0,r.mode=Ks,t===En)break e;case Ks:r.mode=Lv;case Lv:if(h=r.length,h){if(h>s&&(h=s),h>u&&(h=u),h===0)break e;rt.arraySet(a,i,n,h,o),s-=h,n+=h,u-=h,o+=h,r.length-=h;break}r.mode=zt;break;case Pv:for(;f<14;){if(s===0)break e;s--,l+=i[n++]<>>=5,f-=5,r.ndist=(l&31)+1,l>>>=5,f-=5,r.ncode=(l&15)+4,l>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Ce;break}r.have=0,r.mode=Nv;case Nv:for(;r.have>>=3,f-=3}for(;r.have<19;)r.lens[H[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,P={bits:r.lenbits},C=Ki(Xw,r.lens,0,19,r.lencode,0,r.work,P),r.lenbits=P.bits,C){e.msg="invalid code lengths set",r.mode=Ce;break}r.have=0,r.mode=Dv;case Dv:for(;r.have>>24,b=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=m,f-=m,r.lens[r.have++]=c;else{if(c===16){for(M=m+2;f>>=m,f-=m,r.have===0){e.msg="invalid bit length repeat",r.mode=Ce;break}E=r.lens[r.have-1],h=3+(l&3),l>>>=2,f-=2}else if(c===17){for(M=m+3;f>>=m,f-=m,E=0,h=3+(l&7),l>>>=3,f-=3}else{for(M=m+7;f>>=m,f-=m,E=0,h=11+(l&127),l>>>=7,f-=7}if(r.have+h>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Ce;break}for(;h--;)r.lens[r.have++]=E}}if(r.mode===Ce)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Ce;break}if(r.lenbits=9,P={bits:r.lenbits},C=Ki(pv,r.lens,0,r.nlen,r.lencode,0,r.work,P),r.lenbits=P.bits,C){e.msg="invalid literal/lengths set",r.mode=Ce;break}if(r.distbits=6,r.distcode=r.distdyn,P={bits:r.distbits},C=Ki(mv,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,P),r.distbits=P.bits,C){e.msg="invalid distances set",r.mode=Ce;break}if(r.mode=Cn,t===En)break e;case Cn:r.mode=On;case On:if(s>=6&&u>=258){e.next_out=o,e.avail_out=u,e.next_in=n,e.avail_in=s,r.hold=l,r.bits=f,qw(e,g),o=e.next_out,a=e.output,u=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,l=r.hold,f=r.bits,r.mode===zt&&(r.back=-1);break}for(r.back=0;x=r.lencode[l&(1<>>24,b=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>v)],m=x>>>24,b=x>>>16&255,c=x&65535,!(v+m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=v,f-=v,r.back+=v}if(l>>>=m,f-=m,r.back+=m,r.length=c,b===0){r.mode=Uv;break}if(b&32){r.back=-1,r.mode=zt;break}if(b&64){e.msg="invalid literal/length code",r.mode=Ce;break}r.extra=b&15,r.mode=Bv;case Bv:if(r.extra){for(M=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Fv;case Fv:for(;x=r.distcode[l&(1<>>24,b=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>v)],m=x>>>24,b=x>>>16&255,c=x&65535,!(v+m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=v,f-=v,r.back+=v}if(l>>>=m,f-=m,r.back+=m,b&64){e.msg="invalid distance code",r.mode=Ce;break}r.offset=c,r.extra=b&15,r.mode=$v;case $v:if(r.extra){for(M=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Ce;break}r.mode=zv;case zv:if(u===0)break e;if(h=g-u,r.offset>h){if(h=r.offset-h,h>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Ce;break}h>r.wnext?(h-=r.wnext,w=r.wsize-h):w=r.wnext-h,h>r.length&&(h=r.length),_=r.window}else _=a,w=o-r.offset,h=r.length;h>u&&(h=u),u-=h,r.length-=h;do a[o++]=_[w++];while(--h);r.length===0&&(r.mode=On);break;case Uv:if(u===0)break e;a[o++]=r.length,u--,r.mode=On;break;case Gs:if(r.wrap){for(;f<32;){if(s===0)break e;s--,l|=i[n++]<=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 d1,this.strm.avail_out=0;var r=ri.inflateInit2(this.strm,t.windowBits);if(r!==Me.Z_OK)throw new Error(el[r]);if(this.header=new h1,ri.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=An.string2buf(t.dictionary):Qv.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ri.inflateSetDictionary(this.strm,t.dictionary),r!==Me.Z_OK)))throw new Error(el[r])}Cr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a=this.options.dictionary,n,o,s,u,l,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=An.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 Gi.Buf8(i),r.next_out=0,r.avail_out=i),n=ri.inflate(r,Me.Z_NO_FLUSH),n===Me.Z_NEED_DICT&&a&&(n=ri.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=An.utf8border(r.output,r.next_out),u=r.next_out-s,l=An.buf2string(r.output,s),r.next_out=u,r.avail_out=i-u,u&&Gi.arraySet(r.output,r.output,s,u,0),this.onData(l)):this.onData(Gi.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=ri.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)},Cr.prototype.onData=function(e){this.chunks.push(e)},Cr.prototype.onEnd=function(e){e===Me.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Gi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function tl(e,t){var r=new Cr(t);if(r.push(e,!0),r.err)throw r.msg||el[r.err];return r.result}function g1(e,t){return t=t||{},t.raw=!0,tl(e,t)}Zi.Inflate=Cr,Zi.inflate=tl,Zi.inflateRaw=g1,Zi.ungzip=tl;var p1=Ft.assign,m1=Di,_1=Zi,b1=Jv,ed={};p1(ed,m1,_1,b1);var td=ed;function w1(e){return Promise.resolve(e)}var x1="upx2px",y1=1e-4,S1=750,rd=!1,rl=0,id=0;function E1(){var{platform:e,pixelRatio:t,windowWidth:r}=Ec();rl=r,id=t,rd=e==="ios"}function ad(e,t){var r=Number(e);return isNaN(r)?t:r}var nd=Tb(x1,(e,t)=>{if(rl===0&&E1(),e=Number(e),e===0)return 0;var r=t||rl;{var i=__uniConfig.globalStyle||{},a=ad(i.rpxCalcMaxDeviceWidth,960),n=ad(i.rpxCalcBaseDeviceWidth,375);r=r<=a?r:n}var o=e/S1*r;return o<0&&(o=-o),o=Math.floor(o+y1),o===0&&(id===1||!rd?o=1:o=.5),e<0?-o:o});new Ru;var T1=[{name:"id",type:String,required:!0}];T1.concat({name:"componentInstance",type:Object});var od={};od.f={}.propertyIsEnumerable;var C1=ui,O1=uo,A1=ma,I1=od.f,k1=function(e){return function(t){for(var r=A1(t),i=O1(r),a=i.length,n=0,o=[],s;a>n;)s=i[n++],(!C1||I1.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},sd=so,M1=k1(!1);sd(sd.S,"Object",{values:function(t){return M1(t)}});var R1="setPageMeta",L1="loadFontFace",P1="pageScrollTo",N1=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,p=e(v);p;)v=p.ownerDocument,p=e(v);return v}(window.document),r=[],i=null,a=null;function n(c){this.time=c.time,this.target=c.target,this.rootBounds=w(c.rootBounds),this.boundingClientRect=w(c.boundingClientRect),this.intersectionRect=w(c.intersectionRect||h()),this.isIntersecting=!!c.intersectionRect;var v=this.boundingClientRect,p=v.width*v.height,y=this.intersectionRect,E=y.width*y.height;p?this.intersectionRatio=Number((E/p).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(c,v){var p=v||{};if(typeof c!="function")throw new Error("callback must be a function");if(p.root&&p.root.nodeType!=1&&p.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=u(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=c,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(p.rootMargin),this.thresholds=this._initThresholds(p.threshold),this.root=p.root||null,this.rootMargin=this._rootMarginValues.map(function(y){return y.value+y.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=_(c,v),r.forEach(function(p){p._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,a=null},o.prototype.observe=function(c){var v=this._observationTargets.some(function(p){return p.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(p,y,E){if(typeof p!="number"||isNaN(p)||p<0||p>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return p!==E[y-1]})},o.prototype._parseRootMargin=function(c){var v=c||"0px",p=v.split(/\s+/).map(function(y){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(y);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return p[1]=p[1]||p[0],p[2]=p[2]||p[0],p[3]=p[3]||p[1],p},o.prototype._monitorIntersections=function(c){var v=c.defaultView;if(!!v&&this._monitoringDocuments.indexOf(c)==-1){var p=this._checkForIntersections,y=null,E=null;this.POLL_INTERVAL?y=v.setInterval(p,this.POLL_INTERVAL):(l(v,"resize",p,!0),l(c,"scroll",p,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in v&&(E=new v.MutationObserver(p),E.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(c),this._monitoringUnsubscribes.push(function(){var P=c.defaultView;P&&(y&&P.clearInterval(y),f(P,"resize",p,!0)),f(c,"scroll",p,!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 p=this.root&&(this.root.ownerDocument||this.root)||t,y=this._observationTargets.some(function(O){var P=O.element.ownerDocument;if(P==c)return!0;for(;P&&P!=p;){var M=e(P);if(P=M&&M.ownerDocument,P==c)return!0}return!1});if(!y){var E=this._monitoringUnsubscribes[v];if(this._monitoringDocuments.splice(v,1),this._monitoringUnsubscribes.splice(v,1),E(),c!=p){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=0&&P>=0&&{top:p,bottom:y,left:E,right:C,width:O,height:P}||null}function g(c){var v;try{v=c.getBoundingClientRect()}catch(p){}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 w(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 _(c,v){var p=v.top-c.top,y=v.left-c.left;return{top:p,left:y,height:v.height,width:v.width,bottom:p+v.height,right:y+v.width}}function x(c,v){for(var p=v;p;){if(p==c)return!0;p=m(p)}return!1}function m(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 b(c){return c&&c.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=n};function il(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 D1(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 B1(e,t,r){N1();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,a=new IntersectionObserver(u=>{u.forEach(l=>{r({intersectionRatio:D1(l),intersectionRect:il(l.intersectionRect),boundingClientRect:il(l.boundingClientRect),relativeRect:il(l.rootBounds),time:Date.now(),dataset:Io(l.target),id:l.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{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 j1(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 Y1(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=q1(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function q1(e,t){var r={};return e.forEach(i=>{var[a,[n,o]]=i;r[t(a)]=[t(n),o]}),r}function X1(e,t){return e.priority=t,e}var al=new Set,Z1=1,nl=2,ld=3,ud=4;function ar(e,t){al.add(X1(e,t))}function K1(){try{[...al].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{al.clear()}}function fd(e,t){var r=window["__"+Cp],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var G1=yu.length;function J1(e,t,r){var[i,a,n,o]=sl(t),s=ol(e,i);if(ne(r)||ne(o)){var[u,l]=n.split(".");return ll(s,a,u,l,r||o)}return tx(s,a,n)}function Q1(e,t,r){var[i,a,n]=sl(t),[o,s]=n.split("."),u=ol(e,i);return ll(u,a,o,s,[ix(r,e),Ni(qr(u))])}function ol(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 sl(e){return JSON.parse(e.substr(G1))}function ex(e,t,r,i){var[a,n,o]=sl(e),s=ol(t,a),[u,l]=o.split(".");return ll(s,n,u,l,[r,i,Ni(qr(s)),Ni(qr(t))])}function ll(e,t,r,i,a){var n=fd(t,e);if(!n)return console.error(Oo("wxs","module "+r+" not found"));var o=n[i];return se(o)?o.apply(n,a):console.error(r+"."+i+" is not a function")}function tx(e,t,r){var i=fd(t,e);return i?Eu(i,r.substr(r.indexOf(".")+1)):console.error(Oo("wxs","module "+r+" not found"))}function rx(e,t,r){var i=r;return a=>{try{ex(t,e.$,a,i)}catch(n){console.error(n)}i=a}}function ix(e,t){var r=qr(t);return Object.defineProperty(e,"instance",{get(){return Ni(r)}}),e}function cd(e,t){Object.keys(t).forEach(r=>{nx(e,t[r])})}function ax(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function nx(e,t){var r=ox(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=sx(i,r)}}function ox(e){var t=window["__"+Op],r=t&&t[e];return r||console.error(Oo("renderjs",e+" not found"))}function sx(e,t){return t=t.default||t,t.render=()=>{},sc(t).mixin({mounted(){this.$ownerInstance=Ni(qr(e))}}).mount(document.createElement("div"))}class ii{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=dT(i);n&&n.appendUniChild(this)}init(t){ie(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t}insert(t,r){var i=this.$,a=nt(t);r===-1?a.appendChild(i):a.insertBefore(i,nt(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Sh(this.id),ax(this),this.removeUniChildren()}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(Po)===0){var i=r.replace(Po,""),a=t[i],n=rx(this,t[r],a);ar(()=>n(a),ud),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(Po+t);if(a)return ar(()=>i?Hr(()=>a(r)):a(r),ud),!0}}function vd(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 dd(e,t){var r=e.style;if(Ee(t))t===""?e.removeAttribute("style"):r.cssText=mr(t,!0);else for(var i in t)ul(r,i,t[i]);var{__wxsStyle:a}=e;if(a)for(var n in a)ul(r,n,a[n])}var hd=/\s*!important$/;function ul(e,t,r){if(ne(r))r.forEach(a=>ul(e,t,a));else if(r=mr(r,!0),t.startsWith("--"))e.setProperty(t,r);else{var i=lx(e,t);hd.test(r)?e.setProperty(Ge(i),r.replace(hd,""),"important"):e[i]=r}}var gd=["Webkit"],fl={};function lx(e,t){var r=fl[t];if(r)return r;var i=Rt(t);if(i!=="filter"&&i in e)return fl[t]=i;i=Ma(i);for(var a=0;a{var[n]=_c(a);n.type=Up(a.type,r),UniViewJSBridge.publishHandler(xc,[[em,e,n]])};return t?bs(i,wd(t)):i}function wd(e){var t=[];return e&Ro.prevent&&t.push("prevent"),e&Ro.self&&t.push("self"),e&Ro.stop&&t.push("stop"),t}function ux(e,t,r,i){var[a,n]=Mo(t);i===-1?pd(e,a):md(e,a)||e.addEventListener(a,e.__listeners[a]=xd(e,r,i),n)}function xd(e,t,r){var i=a=>{Q1(e,t,_c(a)[0])};return r?bs(i,wd(r)):i}var fx=Su.length;function cl(e,t){return Ee(t)&&(t.indexOf(Su)===0?t=JSON.parse(t.substr(fx)):t.indexOf(yu)===0&&(t=J1(e,t))),t}function In(e){return e.indexOf("--")===0}function vl(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class yd extends ii{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){ie(t,"a")&&this.setAttrs(t.a),ie(t,"s")&&this.setAttr("style",t.s),ie(t,"e")&&this.addEvents(t.e),ie(t,"w")&&this.addWxsEvents(t.w),super.init(t),W(this.$props,()=>{ar(this._update,Z1)},{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){ux(this.$,t,r,i)}addEvent(t,r){_d(this.$,t,r)}removeEvent(t){_d(this.$,t,-1)}setAttr(t,r){t===Ou?vd(this.$,r):t===Lo?dd(this.$,r):t===Pa?vl(this.$,r):t===Au?this.$.__ownerId=r:t===Iu?ar(()=>cd(this,r),ld):t===Hp?this.$.innerHTML=r:t===Wp?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===Ou?vd(this.$,""):t===Lo?dd(this.$,""):this.removeAttribute(t)}setAttribute(t,r){r=cl(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:In(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]:In(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class cx extends ii{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var HT="";function Sd(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 vx(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function dx(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,u={},l=[];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(w=>parseFloat(w)+"deg"):d.startsWith("translate")&&(g=g.map(Sd)),r.indexOf(d)>=0&&(g.length=1),l.push("".concat(d,"(").concat(g.join(","),")"));else if(i.concat(a).includes(g[0])){d=g[0];var h=g[1];u[d]=a.includes(d)?Sd(h):h}}),u.transform=u.webkitTransform=l.join(" "),u.transition=u.webkitTransition=Object.keys(u).map(f=>"".concat(vx(f)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),u.transformOrigin=u.webkitTransformOrigin=o.transformOrigin,u}function Ed(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,u=dx(o);Object.keys(u).forEach(l=>{e.$el.style[l]=u[l]}),r+=1,r{n()},0)}var kn={props:["animation"],watch:{animation:{deep:!0,handler(){Ed(this)}}},mounted(){Ed(this)}},ge=e=>{e.__reserved=!0;var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(kn),hx(e)},hx=e=>(e.__reserved=!0,e.compatConfig={MODE:3},M0(e)),gx={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function dl(e){var t=U(!1),r=!1,i,a;function n(){requestAnimationFrame(()=>{clearTimeout(a),a=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(l){l._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||l.touches.length>1||(e.hoverStopPropagation&&(l._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||n()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&n()}function u(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:u}}}function ai(e,t){return Ee(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Or(e){return e.__wwe=!0,e}function Pe(e,t){return(r,i,a)=>{e.value&&t(r,mx(r,i,e.value,a||{}))}}function px(e){return(t,r)=>{e(t,bc(r))}}function mx(e,t,r,i){var a=ko(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:i}}var It=un("uf"),_x=ge({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,a=U(null);return bx(Pe(a,i)),()=>I("uni-form",{ref:a},[I("span",null,[r.default&&r.default()])],512)}});function bx(e){var t=[];return ze(It,{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 wx={for:{type:String,default:""}},Ji=un("ul");function xx(){var e=[];return ze(Ji,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}var yx=ge({name:"Label",props:wx,setup(e,t){var{slots:r}=t,i=vn(),a=xx(),n=te(()=>e.for||r.default&&r.default.length),o=Or(s=>{var u=s.target,l=/^uni-(checkbox|radio|switch)-/.test(u.className);l||(l=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(u.tagName)),!l&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,s,!0):a.length&&a[0](s,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":n},onClick:o},[r.default&&r.default()],10,["onClick"])}});function Mn(e,t){Td(e.id,t),W(()=>e.id,(r,i)=>{Cd(i,t,!0),Td(r,t,!0)}),Xt(()=>{Cd(e.id,t)})}function Td(e,t,r){var i=vn();r&&!e||!mt(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 Cd(e,t,r){var i=vn();r&&!e||!mt(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 Sx={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}},Ex=ge({name:"Button",props:Sx,setup(e,t){var{slots:r}=t,i=U(null);wm();var a=_e(It,!1),{hovering:n,binding:o}=dl(e),{t:s}=Je(),u=Or((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"&&Tx(s("uni.button.feedback.title"),s("uni.button.feedback.send"))}),l=_e(Ji,!1);return l&&(l.addHandler(u),Ae(()=>{l.removeHandler(u)})),Mn(e,{"label-click":u}),()=>{var f=e.hoverClass,d=ai(e,"disabled"),g=ai(e,"loading"),h=ai(e,"plain"),w=f&&f!=="none";return I("uni-button",tt({ref:i,onClick:u,class:w&&n.value?f:""},w&&o,d,g,h),[r.default&&r.default()],16,["onClick"])}}});function Tx(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 Ar=ge({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=U(null),a=Ox(i),n=Cx(i,r,a);return Ax(i,e,n,a),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:n},[I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Cx(e,t,r){var i=ke({width:-1,height:-1});return W(()=>ce({},i),a=>t("resize",a)),()=>{var a=e.value;i.width=a.offsetWidth,i.height=a.offsetHeight,r()}}function Ox(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Ax(e,t,r,i){ns(i),Re(()=>{t.initial&&Hr(r);var a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var we=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 Od(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;e.width=e.offsetWidth*(t?we:1),e.height=e.offsetHeight*(t?we:1),e.getContext("2d").__hidpi__=t}var Ad=!1;function Ix(){if(!Ad){Ad=!0;var e=function(i,a){for(var n in i)ie(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",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(a,n,o,s,u,l,f,d,g,h){if(!this.__hidpi__)return i.apply(this,arguments);n*=we,o*=we,s*=we,u*=we,l*=we,f*=we,d=h?d*we:d,g=h?g*we:g,i.call(this,a,n,o,s,u,l,f,d,g)}}(r.drawImage),we!==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(u){return u*we});else if(Array.isArray(i))for(var s=0;sIx());function Id(e){return e&&vt(e)}function Rn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function kd(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 Qi;function Md(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Qi||(Qi=document.createElement("canvas")),Qi.width=e,Qi.height=t,Qi}var Mx={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},Rx=ge({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:Mx,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;kx();var a=U(null),n=U(null),o=U(!1),s=px(r),{$attrs:u,$excludeAttrs:l,$listeners:f}=Kd({excludeListeners:!0}),{_listeners:d}=Lx(e,f,s),{_handleSubscribe:g,_resize:h}=Px(e,a,o);return Wn(g,Vn(e.canvasId),!0),Re(()=>{h()}),()=>{var{canvasId:w,disableScroll:_}=e;return I("uni-canvas",tt({"canvas-id":w,"disable-scroll":_},u.value,l.value,d.value),[I("canvas",{ref:a,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),I("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),I(Ar,{ref:n,onResize:h},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Lx(e,t,r){var i=te(()=>{var a=["onTouchstart","onTouchmove","onTouchend"],n=t.value,o=ce({},(()=>{var s={};for(var u in n)if(Object.prototype.hasOwnProperty.call(n,u)){var l=n[u];s[u]=l}return s})());return a.forEach(s=>{var u=o[s],l=[];u&&l.push(Or(f=>{r(s.replace("on","").toLocaleLowerCase(),ce({},(()=>{var d={};for(var g in f)d[g]=f[g];return d})(),{touches:kd(f.currentTarget,f.touches),changedTouches:kd(f.currentTarget,f.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&l.push(fc),o[s]=l}),o});return{_listeners:i}}function Px(e,t,r){var i=[],a={},n=te(()=>e.hidpi?we:1);function o(_){var x=t.value,m=!_||x.width!==Math.floor(_.width*n.value)||x.height!==Math.floor(_.height*n.value);if(!!m)if(x.width>0&&x.height>0){var b=x.getContext("2d"),c=b.getImageData(0,0,x.width,x.height);Od(x,e.hidpi),b.putImageData(c,0,0)}else Od(x,e.hidpi)}function s(_,x){var{actions:m,reserve:b}=_;if(!!m){if(r.value){i.push([m,b]);return}var c=t.value,v=c.getContext("2d");b||(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)),u(m);for(var p=function(C){var O=m[C],P=O.method,M=O.data,H=M[0];if(/^set/.test(P)&&P!=="setTransform"){var re=P[3].toLowerCase()+P.slice(4),R;if(re==="fillStyle"||re==="strokeStyle"){if(H==="normal")R=Rn(M[1]);else if(H==="linear"){var B=v.createLinearGradient(...M[1]);M[2].forEach(function(J){var ye=J[0],be=Rn(J[1]);B.addColorStop(ye,be)}),R=B}else if(H==="radial"){var X=M[1],Q=X[0],V=X[1],K=X[2],ae=v.createRadialGradient(Q,V,0,Q,V,K);M[2].forEach(function(J){var ye=J[0],be=Rn(J[1]);ae.addColorStop(ye,be)}),R=ae}else if(H==="pattern"){var Te=l(M[1],m.slice(C+1),x,function(J){J&&(v[re]=v.createPattern(J,M[2]))});return Te?"continue":"break"}v[re]=R}else if(re==="globalAlpha")v[re]=Number(H)/255;else if(re==="shadow"){var oe=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];M.forEach(function(J,ye){v[oe[ye]]=oe[ye]==="shadowColor"?Rn(J):J})}else if(re==="fontSize"){var de=v.__font__||v.font;v.__font__=v.font=de.replace(/\d+\.?\d*px/,H+"px")}else re==="lineDash"?(v.setLineDash(H),v.lineDashOffset=M[1]||0):re==="textBaseline"?(H==="normal"&&(M[0]="alphabetic"),v[re]=H):re==="font"?v.__font__=v.font=H:v[re]=H}else if(P==="fillPath"||P==="strokePath")P=P.replace(/Path/,""),v.beginPath(),M.forEach(function(J){v[J.method].apply(v,J.data)}),v[P]();else if(P==="fillText")v.fillText.apply(v,M);else if(P==="drawImage"){var le=function(){var J=[...M],ye=J[0],be=J.slice(1);if(a=a||{},l(ye,m.slice(C+1),x,function(Ve){Ve&&v.drawImage.apply(v,[Ve].concat([...be.slice(4,8)],[...be.slice(0,4)]))}))return"break"}();if(le==="break")return"break"}else P==="clip"?(M.forEach(function(J){v[J.method].apply(v,J.data)}),v.clip()):v[P].apply(v,M)},y=0;y{p.src=y}).catch(()=>{p.src=c})}})}function l(_,x,m,b){var c=a[_];return c.ready?(b(c),!0):(i.unshift([x,!0]),r.value=!0,c.onload=function(){c.ready=!0,b(c),r.value=!1;var v=i.slice(0);i=[];for(var p=v.shift();p;)s({actions:p[0],reserve:p[1]},m),p=v.shift()},!1)}function f(_,x){var{x:m=0,y:b=0,width:c,height:v,destWidth:p,destHeight:y,hidpi:E=!0,dataType:C,quality:O=1,type:P="png"}=_,M=t.value,H,re=M.offsetWidth-m;c=c?Math.min(c,re):re;var R=M.offsetHeight-b;v=v?Math.min(v,R):R,E?(p=c,y=v):!p&&!y?(p=Math.round(c*n.value),y=Math.round(v*n.value)):p?y||(y=Math.round(v/c*p)):p=Math.round(c/v*y);var B=Md(p,y),X=B.getContext("2d");(P==="jpeg"||P==="jpg")&&(P="jpeg",X.fillStyle="#fff",X.fillRect(0,0,p,y)),X.__hidpi__=!0,X.drawImageByCanvas(M,m,b,c,v,0,0,p,y,!1);var Q;try{var V;if(C==="base64")H=B.toDataURL("image/".concat(P),O);else{var K=X.getImageData(0,0,p,y);H=td.deflateRaw(K.data,{to:"string"}),V=!0}Q={data:H,compressed:V,width:p,height:y}}catch(ae){Q={errMsg:"canvasGetImageData:fail ".concat(ae)}}if(B.height=B.width=0,X.__hidpi__=!1,x)x(Q);else return Q}function d(_,x){var{data:m,x:b,y:c,width:v,height:p,compressed:y}=_;try{y&&(m=td.inflateRaw(m)),p||(p=Math.round(m.length/4/v));var E=Md(v,p),C=E.getContext("2d");C.putImageData(new ImageData(new Uint8ClampedArray(m),v,p),0,0),t.value.getContext("2d").drawImage(E,b,c,v,p),E.height=E.width=0}catch(O){x({errMsg:"canvasPutImageData:fail"});return}x({errMsg:"canvasPutImageData:ok"})}function g(_,x){var{x:m=0,y:b=0,width:c,height:v,destWidth:p,destHeight:y,fileType:E,quality:C,dirname:O}=_,P=f({x:m,y:b,width:c,height:v,destWidth:p,destHeight:y,hidpi:!1,dataType:"base64",type:E,quality:C});if(!P.data||!P.data.length){x({errMsg:P.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Ab(P.data,O,(M,H)=>{var re="toTempFilePath:".concat(M?"fail":"ok");M&&(re+=" ".concat(M.message)),x({errMsg:re,tempFilePath:H})})}var h={actionsChanged:s,getImageData:f,putImageData:d,toTempFilePath:g};function w(_,x,m){var b=h[_];_.indexOf("_")!==0&&typeof b=="function"&&b(x,m)}return ce(h,{_resize:o,_handleSubscribe:w})}var Rd=un("ucg"),Nx={name:{type:String,default:""}},Dx=ge({name:"CheckboxGroup",props:Nx,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return Bx(e,n),()=>I("uni-checkbox-group",{ref:a},[i.default&&i.default()],512)}});function Bx(e,t){var r=[],i=()=>r.reduce((n,o)=>(o.value.checkboxChecked&&n.push(o.value.value),n),new Array);ze(Rd,{addField(n){r.push(n)},removeField(n){r.splice(r.indexOf(n),1)},checkboxChange(n){t("change",n,{value:i()})}});var a=_e(It,!1);return a&&a.addField({submit:()=>{var n=["",null];return e.name!==""&&(n[0]=e.name,n[1]=i()),n}}),i}var Fx={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:""}},$x=ge({name:"Checkbox",props:Fx,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value);W([()=>e.checked,()=>e.value],l=>{var[f,d]=l;i.value=f,a.value=d});var n=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:s}=zx(i,a,n),u=l=>{e.disabled||(i.value=!i.value,o&&o.checkboxChange(l))};return s&&(s.addHandler(u),Ae(()=>{s.removeHandler(u)})),Mn(e,{"label-click":u}),()=>{var l=ai(e,"disabled");return I("uni-checkbox",tt(l,{onClick:u}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?cn(fn,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function zx(e,t,r){var i=te(()=>({checkboxChecked:Boolean(e.value),value:t.value})),a={reset:r},n=_e(Rd,!1);n&&n.addField(i);var o=_e(It,!1);o&&o.addField(a);var s=_e(Ji,!1);return Ae(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s}}var Ld,ea,Ln,nr,Pn,hl;Dr(()=>{ea=plus.os.name==="Android",Ln=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){nr=e.height,Pn&&Pn()},!1);function Pd(){}function ta(e,t,r){Dr(()=>{var i="adjustResize",a="adjustPan",n="nothing",o=plus.webview.currentWebview(),s=hl||o.getStyle()||{},u={mode:r||s.softinputMode===i?i:e.adjustPosition?a:n,position:{top:0,height:0}};if(u.mode===a){var l=t.getBoundingClientRect();u.position.top=l.top,u.position.height=l.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(u)})}function Ux(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Dr(()=>{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 Hx(e){var t=e.softinputNavBar;t&&Dr(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var Nd={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},Dd=["keyboardheightchange"];function Bd(e,t,r){var i={};function a(n){var o,s=()=>{r("keyboardheightchange",{},{height:nr,duration:.25}),o&&nr===0&&ta(e,n),e.autoBlur&&o&&nr===0&&(ea||parseInt(Ln)>=13)&&document.activeElement.blur()};n.addEventListener("focus",()=>{o=!0,clearTimeout(Ld),document.addEventListener("click",Pd,!1),Pn=s,nr&&r("keyboardheightchange",{},{height:nr,duration:0}),Ux(e,i),ta(e,n)}),ea&&n.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&nr===0&&ta(e,n)}),ea||(parseInt(Ln)<12&&n.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&ta(e,n)}),parseFloat(Ln)>=14.6&&!hl&&Dr(()=>{var l=plus.webview.currentWebview();hl=l.getStyle()||{}}));var u=()=>{document.removeEventListener("click",Pd,!1),Pn=null,nr&&r("keyboardheightchange",{},{height:0,duration:0}),Hx(i),ea&&(Ld=setTimeout(()=>{ta(e,n,!0)},300)),String(navigator.vendor).indexOf("Apple")===0&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};n.addEventListener("blur",()=>{n.blur(),o=!1,u()})}W(()=>t.value,n=>a(n))}var Fd=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,$d=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Wx=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Vx=ni("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),jx=ni("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"),Yx=ni("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"),qx=ni("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Xx=ni("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Zx=ni("script,style");function zd(e,t){var r,i,a,n=[],o=e;for(n.last=function(){return this[this.length-1]};e;){if(i=!0,!n.last()||!Zx[n.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(f,d){return d=d.replace(/|/g,"$1$2"),t.chars&&t.chars(d),""}),l("",n.last());if(e==o)throw"Parse Error: "+e;o=e}l();function u(f,d,g,h){if(d=d.toLowerCase(),jx[d])for(;n.last()&&Yx[n.last()];)l("",n.last());if(qx[d]&&n.last()==d&&l("",d),h=Vx[d]||!!h,h||n.push(d),t.start){var w=[];g.replace(Wx,function(_,x){var m=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Xx[x]?x:"";w.push({name:x,value:m,escaped:m.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(d,w,h)}}function l(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 ni(e){for(var t={},r=e.split(","),i=0;io()),delete gl[t]}}a.push(r)}function Kx(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function Gx(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function Jx(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 Qx(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 ey(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",u=super.create(s);return(o==="checked"||o==="unchecked")&&u.setAttribute("data-checked",o==="checked"),u}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=u=>{if(u.target.parentNode===o){var l=this.statics.formats(o),f=t.find(u.target);l==="checked"?f.format("list","unchecked"):l==="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 u=s==null?this.length():s.offset(this),l=this.split(u);l.parent.insertBefore(o,l)}}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 ty(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 ry(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,Ge(s),i)}),o}function iy(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,Ge(o),i)}),n}function ay(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,Ge(o),{scope:s})}),a}function ny(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=a=>a&&vt(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 oy(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 sy(e){var t={divider:Kx,ins:Gx,align:Jx,direction:Qx,list:ey,background:ty,box:ry,font:iy,text:ay,image:ny,link:oy},r={};Object.values(t).forEach(i=>ce(r,i(e))),e.register(r,!0)}function ly(e,t,r){var i,a,n,o=!1;W(()=>e.readOnly,w=>{i&&(n.enable(!w),w||n.blur())}),W(()=>e.placeholder,w=>{i&&l(w)});function s(w){var _=["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"],x="",m;zd(w,{start:function(c,v,p){if(!_.includes(c)){m=!p;return}m=!1;var y=v.map(C=>{var{name:O,value:P}=C;return"".concat(O,'="').concat(P,'"')}).join(" "),E="<".concat(c," ").concat(y," ").concat(p?"/":"",">");x+=E},end:function(c){m||(x+=""))},chars:function(c){m||(x+=c)}}),a=!0;var b=n.clipboard.convert(x);return a=!1,b}function u(){var w=n.root.innerHTML,_=n.getText(),x=n.getContents();return{html:w,text:_,delta:x}}function l(w){var _="data-placeholder",x=n.root;x.getAttribute(_)!==w&&x.setAttribute(_,w)}var f={};function d(w){var _=w?n.getFormat(w):{},x=Object.keys(_);(x.length!==Object.keys(f).length||x.find(m=>_[m]!==f[m]))&&(f=_,r("statuschange",{},_))}function g(w){var _=window.Quill;sy(_);var x={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};w.length&&(_.register("modules/ImageResize",window.ImageResize.default),x.modules={ImageResize:{modules:w}});var m=t.value;n=new _(m,x);var b=n.root,c=["focus","blur","input"];c.forEach(v=>{b.addEventListener(v,p=>{var y=u();if(v==="input"){if(Ec().platform==="ios"){var E=(y.html.match(/([\s\S]*)<\/span>/)||[])[1],C=E&&E.replace(/\s/g,"")?"":e.placeholder;l(C)}p.stopPropagation()}else r(v,p,y)})}),n.on("text-change",()=>{o||r("input",{},u())}),n.on("selection-change",d),n.on("scroll-optimize",()=>{var v=n.selection.getRange()[0];d(v)}),n.clipboard.addMatcher(Node.ELEMENT_NODE,(v,p)=>(a||p.ops&&(p.ops=p.ops.filter(y=>{var{insert:E}=y;return typeof E=="string"}).map(y=>{var{insert:E}=y;return{insert:E}})),p)),i=!0,r("ready",{},{})}Re(()=>{var w=[];e.showImgSize&&w.push("DisplaySize"),e.showImgToolbar&&w.push("Toolbar"),e.showImgResize&&w.push("Resize");var _="./__uniappquill.js";Ud(window.Quill,_,()=>{if(w.length){var x="./__uniappquillimageresize.js";Ud(window.ImageResize,x,()=>{g(w)})}else g(w)})});var h=Vn();Wn((w,_,x)=>{var{options:m,callbackId:b}=_,c,v,p;if(i){var y=window.Quill;switch(w){case"format":{var{name:E="",value:C=!1}=m;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 P=n.getFormat(v).align;C==="rtl"&&!P?n.format("align","right","user"):!C&&P==="right"&&n.format("align",!1,"user")}else if(E==="indent"){var M=n.getFormat(v).direction==="rtl";C=C==="+1",M&&(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,gi,"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:H="",alt:re="",width:R="",height:B="",extClass:X="",data:Q={}}=m,V=vt(H);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",re),n.formatText(v.index,1,"width",R),n.formatText(v.index,1,"height",B),n.formatText(v.index,1,"class",X),o=!1,n.formatText(v.index,1,"data-custom",Object.keys(Q).map(le=>"".concat(le,"=").concat(Q[le])).join("&")),n.setSelection(v.index+1,0,"silent")}break;case"insertText":{v=n.getSelection(!0);var{text:ae=""}=m;n.insertText(v.index,ae,"user"),n.setSelection(v.index+ae.length,0,"silent")}break;case"setContents":{var{delta:Te,html:oe}=m;typeof Te=="object"?n.setContents(Te,"silent"):typeof oe=="string"?n.setContents(s(oe),"silent"):p="contents is missing"}break;case"getContents":c=u();break;case"clear":n.setText("");break;case"removeFormat":{v=n.getSelection(!0);var de=y.import("parchment");v.length?n.removeFormat(v.index,v.length,"user"):Object.keys(n.getFormat(v)).forEach(le=>{de.query(le,de.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 p="not ready";b&&x({callbackId:b,data:ce({},c,{errMsg:"".concat(w,":").concat(p?"fail "+p:"ok")})})},h,!0)}var uy=ce({},Nd,{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}}),fy=ge({name:"Editor",props:uy,emit:["ready","focus","blur","input","statuschange",...Dd],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r);return ly(e,i,a),Bd(e,i,a),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),Hd="#10aeff",cy="#f76260",Wd="#b2b2b2",vy="#f43530",dy={success:{d:tb,c:La},success_no_circle:{d:fn,c:La},info:{d:Q_,c:Hd},warn:{d:ib,c:cy},waiting:{d:rb,c:Hd},cancel:{d:K_,c:vy},download:{d:J_,c:La},search:{d:eb,c:Wd},clear:{d:G_,c:Wd}},hy=ge({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=te(()=>dy[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&cn(r.d,e.color||r.c,mr(e.size))])}}}),gy={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Nn={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},py={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"]},my=ge({name:"Image",props:gy,setup(e,t){var{emit:r}=t,i=U(null),a=_y(i,e),n=Pe(i,r),{fixSize:o}=yy(i,e,a);return by(a,o,n),()=>{var{mode:s}=e,{imgSrc:u,modeStyle:l,src:f}=a,d;return d=u?I("img",{src:u,draggable:e.draggable},null,8,["src","draggable"]):I("img",null,null),I("uni-image",{ref:i},[I("div",{style:l},null,4),d,Nn[s]?I(Ar,{onResize:o},null,8,["onResize"]):I("span",null,null)],512)}}});function _y(e,t){var r=U(""),i=te(()=>{var n="auto",o="",s=py[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:te(()=>t.src?vt(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Re(()=>{var n=e.value,o=n.style;a.origWidth=Number(o.width)||0,a.origHeight=Number(o.height)||0}),a}function by(e,t,r){var i,a=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=s,e.origHeight=u,e.imgSrc=l},n=s=>{if(!s){o(),a();return}i=i||new Image,i.onload=u=>{var{width:l,height:f}=i;a(l,f,s),t(),o(),r("load",u,{width:l,height:f})},i.onerror=u=>{a(),o(),r("error",u,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};W(()=>e.src,s=>n(s)),Re(()=>n(e.src)),Ae(()=>o())}var wy=navigator.vendor==="Google Inc.";function xy(e){return wy&&e>10&&(e=Math.round(e/2)*2),e}function yy(e,t,r){var i=()=>{var{mode:n}=t,o=Nn[n];if(!!o){var{origWidth:s,origHeight:u}=r,l=s&&u?s/u:0;if(!!l){var f=e.value,d=f[o[0]];d&&(f.style[o[1]]=xy(o[2](d,l))+"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)=>{Nn[o]&&a(),Nn[n]&&i()}),{fixSize:i,resetSize:a}}function Sy(e,t){var r=0,i,a,n=function(){for(var o=arguments.length,s=new Array(o),u=0;u{a=null,r=l,e.apply(this,s)},l-rDn.forEach(t=>t.userAction=e);function Ty(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!Vd){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!pl&&jd(!0),pl++,setTimeout(()=>{!--pl&&jd(!1)},0)},Ey)}),Vd=!0}Dn.push(e)}function Cy(e){var t=Dn.indexOf(e);t>=0&&Dn.splice(t,1)}function Oy(){var e=ke({userAction:!1});return Re(()=>{Ty(e)}),Ae(()=>{Cy(e)}),{state:e}}function Yd(){var e=ke({attrs:{}});return Re(()=>{for(var t=Bt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function Ay(e,t){var r=_e(It,!1);if(!!r){var i=Bt(),a={submit(){var n=i.proxy;return[n[e],typeof t=="string"?n[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(a),Ae(()=>{r.removeField(a)})}}function Iy(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 ky=function(){bt(Kt(),"getSelectedTextRange",Iy)},My=200,ml;function _l(e){return e===null?"":String(e)}var qd=ce({},{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}},Nd),Xd=["input","focus","blur","update:value","update:modelValue","update:focus",...Dd];function Ry(e,t,r){var i=U(null),a=Pe(t,r),n=te(()=>{var d=Number(e.selectionStart);return isNaN(d)?-1:d}),o=te(()=>{var d=Number(e.selectionEnd);return isNaN(d)?-1:d}),s=te(()=>{var d=Number(e.cursor);return isNaN(d)?-1:d}),u=te(()=>{var d=Number(e.maxlength);return isNaN(d)?140:d}),l=_l(e.modelValue)||_l(e.value),f=ke({value:l,valueOrigin:l,maxlength:u,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 Ly(e,t,r,i){var a=tm(s=>{t.value=_l(s)},100);W(()=>e.modelValue,a),W(()=>e.value,a);var n=Sy((s,u)=>{a.cancel(),r("update:modelValue",u.value),r("update:value",u.value),i("input",s,u)},100),o=(s,u,l)=>{a.cancel(),n(s,u),l&&n.flush()};return Af(()=>{a.cancel(),n.cancel()}),{trigger:i,triggerInput:o}}function Py(e,t){var{state:r}=Oy(),i=te(()=>e.autoFocus||e.focus);function a(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(a,100);return}{var s=My-(Date.now()-ml);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()}),Re(()=>{ml=ml||Date.now(),i.value&&Hr(a)})}function Ny(e,t,r,i,a){function n(){var l=e.value;l&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&l.type!=="number"&&(l.selectionStart=t.selectionStart,l.selectionEnd=t.selectionEnd)}function o(){var l=e.value;l&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&l.type!=="number"&&(l.selectionEnd=l.selectionStart=t.cursor)}function s(l){return l.type==="number"?null:l.selectionEnd}function u(){var l=e.value,f=function(h){t.focus=!0,r("focus",h,{value:t.value}),n(),o()},d=function(h,w){h.stopPropagation(),!(typeof a=="function"&&a(h,t)===!1)&&(t.value=l.value,t.composing||i(h,{value:l.value,cursor:s(l)},w))},g=function(h){t.composing&&(t.composing=!1,d(h,!0)),t.focus=!1,r("blur",h,{value:t.value,cursor:s(h.target)})};l.addEventListener("change",h=>h.stopPropagation()),l.addEventListener("focus",f),l.addEventListener("blur",g),l.addEventListener("input",d),l.addEventListener("compositionstart",h=>{h.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",h=>{h.stopPropagation(),t.composing&&(t.composing=!1,d(h))})}W([()=>t.selectionStart,()=>t.selectionEnd],n),W(()=>t.cursor,o),W(()=>e.value,u)}function Zd(e,t,r,i){ky();var{fieldRef:a,state:n,trigger:o}=Ry(e,t,r),{triggerInput:s}=Ly(e,n,r,o);Py(e,a),Bd(e,a,o);var{state:u}=Yd();Ay("name",n),Ny(a,n,o,s,i);var l=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:a,state:n,scopedAttrsState:u,fixDisabledColor:l,trigger:o}}var Dy=ce({},qd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),By=ge({name:"Input",props:Dy,emits:["confirm",...Xd],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],n=te(()=>{var b="";switch(e.type){case"text":e.confirmType==="search"&&(b="search");break;case"idcard":b="text";break;case"digit":b="number";break;default:b=~i.includes(e.type)?e.type:"text";break}return e.password?"password":b}),o=te(()=>{var b=a.indexOf(e.textContentType),c=a.indexOf(Ge(e.textContentType)),v=b!==-1?b:c!==-1?c:0;return a[v]}),s=U(""),u,l=U(null),{fieldRef:f,state:d,scopedAttrsState:g,fixDisabledColor:h,trigger:w}=Zd(e,l,r,(b,c)=>{var v=b.target;if(n.value==="number"){if(u&&(v.removeEventListener("blur",u),u=null),v.validity&&!v.validity.valid)return!s.value&&b.data==="-"||s.value[0]==="-"&&b.inputType==="deleteContentBackward"?(s.value="-",c.value="",u=()=>{s.value=v.value=""},v.addEventListener("blur",u),!1):(s.value=c.value=v.value=s.value==="-"?"":s.value,!1);s.value=v.value;var p=c.maxlength;if(p>0&&v.value.length>p)return v.value=v.value.slice(0,p),c.value=v.value,!1}}),_=["number","digit"],x=te(()=>_.includes(e.type)?"0.000000000000000001":"");function m(b){if(b.key==="Enter"){var c=b.target;b.stopPropagation(),w("confirm",b,{value:c.value}),!e.confirmHold&&c.blur()}}return()=>{var b=e.disabled&&h?I("input",{ref:f,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:d.maxlength,step:x.value,class:"uni-input-input",onFocus:c=>c.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):I("input",{ref:f,value:d.value,disabled:!!e.disabled,type:n.value,maxlength:d.maxlength,step:x.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:o.value,onKeyup:m},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:l},[I("div",{class:"uni-input-wrapper"},[Ii(I("div",tt(g.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Li,!(d.value.length||s.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:c=>c.preventDefault(),class:"uni-input-form"},[b],40,["onSubmit"]):b])],512)}}});function Fy(e){return Object.keys(e).map(t=>[t,e[t]])}var $y=["class","style"],zy=/^on[A-Z]+/,Kd=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=Bt(),a=Ko({}),n=Ko({}),o=Ko({}),s=r.concat($y);return i.attrs=ke(i.attrs),I0(()=>{var u=Fy(i.attrs).reduce((l,f)=>{var[d,g]=f;return s.includes(d)?l.exclude[d]=g:zy.test(d)?(t||(l.attrs[d]=g),l.listeners[d]=g):l.attrs[d]=g,l},{exclude:{},attrs:{},listeners:{}});a.value=u.attrs,n.value=u.listeners,o.value=u.exclude}),{$attrs:a,$listeners:n,$excludeAttrs:o}},Bn,ra;function Fn(){Dr(()=>{Bn||(Bn=plus.webview.currentWebview()),ra||(ra=(Bn.getStyle()||{}).pullToRefresh||{})})}function or(e){var{disable:t}=e;ra&&ra.support&&Bn.setPullToRefresh(Object.assign({},ra,{support:!t}))}function bl(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{Ga(r)?r.type===xt?t.push(...bl(r.children)):t.push(r):Array.isArray(r)&&t.push(...bl(r))}),t}function ia(e){var t=Bt();t.rebuild=e}var Uy={scaleArea:{type:Boolean,default:!1}},Hy=ge({inheritAttrs:!1,name:"MovableArea",props:Uy,setup(e,t){var{slots:r}=t,i=U(null),a=U(!1),{setContexts:n,events:o}=Wy(e,i),{$listeners:s,$attrs:u,$excludeAttrs:l}=Kd(),f=s.value,d=["onTouchstart","onTouchmove","onTouchend"];d.forEach(m=>{var b=f[m],c=o["_".concat(m)];f[m]=b?[].concat(b,c):c}),Re(()=>{o._resize(),Fn(),a.value=!0});var g=[],h=[];function w(){for(var m=[],b=function(v){var p=g[v];p instanceof Element||(p=p.el);var y=h.find(E=>p===E.rootRef.value);y&&m.push(ja(y))},c=0;c{g=i.value.children,w()});var _=m=>{h.push(m),w()},x=m=>{var b=h.indexOf(m);b>=0&&(h.splice(b,1),w())};return ze("_isMounted",a),ze("movableAreaRootRef",i),ze("addMovableViewContext",_),ze("removeMovableViewContext",x),()=>(r.default&&r.default(),I("uni-movable-area",tt({ref:i},u.value,l.value,f),[I(Ar,{onReize:o._resize},null,8,["onReize"]),g],16))}});function Gd(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Wy(e,t){var r=U(0),i=U(0),a=ke({x:null,y:null}),n=U(null),o=null,s=[];function u(_){_&&_!==1&&(e.scaleArea?s.forEach(function(x){x._setScale(_)}):o&&o._setScale(_))}function l(_){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,m=t.value;function b(c){for(var v=0;v{or({disable:!0});var x=_.touches;if(x&&x.length>1){var m={x:x[1].pageX-x[0].pageX,y:x[1].pageY-x[0].pageY};if(n.value=Gd(m),a.x=m.x,a.y=m.y,!e.scaleArea){var b=l(x[0].target),c=l(x[1].target);o=b&&b===c?b:null}}}),d=Or(_=>{var x=_.touches;if(x&&x.length>1){_.preventDefault();var m={x:x[1].pageX-x[0].pageX,y:x[1].pageY-x[0].pageY};if(a.x!==null&&n.value&&n.value>0){var b=Gd(m)/n.value;u(b)}a.x=m.x,a.y=m.y}}),g=Or(_=>{or({disable:!1});var x=_.touches;x&&x.length||_.changedTouches&&(a.x=0,a.y=0,n.value=null,e.scaleArea?s.forEach(function(m){m._endScale()}):o&&o._endScale())});function h(){w(),s.forEach(function(_,x){_.setParent()})}function w(){var _=window.getComputedStyle(t.value),x=t.value.getBoundingClientRect();r.value=x.width-["Left","Right"].reduce(function(m,b){var c="border"+b+"Width",v="padding"+b;return m+parseFloat(_[c])+parseFloat(_[v])},0),i.value=x.height-["Top","Bottom"].reduce(function(m,b){var c="border"+b+"Width",v="padding"+b;return m+parseFloat(_[c])+parseFloat(_[v])},0)}return ze("movableAreaWidth",r),ze("movableAreaHeight",i),{setContexts(_){s=_},events:{_onTouchstart:f,_onTouchmove:d,_onTouchend:g,_resize:h}}}var aa=function(e,t,r,i){e.addEventListener(t,a=>{typeof r=="function"&&r(a)===!1&&((typeof a.cancelable!="undefined"?a.cancelable:!0)&&a.preventDefault(),a.stopPropagation())},{passive:!1})},Jd,Qd;function $n(e,t,r){Ae(()=>{document.removeEventListener("mousemove",Jd),document.removeEventListener("mouseup",Qd)});var i=0,a=0,n=0,o=0,s=function(h,w,_,x){if(t({target:h.target,currentTarget:h.currentTarget,preventDefault:h.preventDefault.bind(h),stopPropagation:h.stopPropagation.bind(h),touches:h.touches,changedTouches:h.changedTouches,detail:{state:w,x:_,y:x,dx:_-i,dy:x-a,ddx:_-n,ddy:x-o,timeStamp:h.timeStamp}})===!1)return!1},u=null,l,f;aa(e,"touchstart",function(h){if(l=!0,h.touches.length===1&&!u)return u=h,i=n=h.touches[0].pageX,a=o=h.touches[0].pageY,s(h,"start",i,a)}),aa(e,"mousedown",function(h){if(f=!0,!l&&!u)return u=h,i=n=h.pageX,a=o=h.pageY,s(h,"start",i,a)}),aa(e,"touchmove",function(h){if(h.touches.length===1&&u){var w=s(h,"move",h.touches[0].pageX,h.touches[0].pageY);return n=h.touches[0].pageX,o=h.touches[0].pageY,w}});var d=Jd=function(h){if(!l&&f&&u){var w=s(h,"move",h.pageX,h.pageY);return n=h.pageX,o=h.pageY,w}};document.addEventListener("mousemove",d),aa(e,"touchend",function(h){if(h.touches.length===0&&u)return l=!1,u=null,s(h,"end",h.changedTouches[0].pageX,h.changedTouches[0].pageY)});var g=Qd=function(h){if(f=!1,!l&&u)return u=null,s(h,"end",h.pageX,h.pageY)};document.addEventListener("mouseup",g),aa(e,"touchcancel",function(h){if(u){l=!1;var w=u;return u=null,s(h,r?"cancel":"end",w.touches[0].pageX,w.touches[0].pageY)}})}function zn(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},kt.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}},kt.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}},kt.prototype.dt=function(){return-this._x_v/this._x_a},kt.prototype.done=function(){var e=zn(this.s().x,this._endPositionX)||zn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},kt.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},kt.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function it(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}it.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,u=t/(o*e);return{x:function(m){return(s+u*m)*Math.pow(Math.E,o*m)},dx:function(m){var b=Math.pow(Math.E,o*m);return o*(s+u*m)*b+u*b}}}if(n>0){var l=(-r-Math.sqrt(n))/(2*i),f=(-r+Math.sqrt(n))/(2*i),d=(t-l*e)/(f-l),g=e-d;return{x:function(m){var b,c;return m===this._t&&(b=this._powER1T,c=this._powER2T),this._t=m,b||(b=this._powER1T=Math.pow(Math.E,l*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),g*b+d*c},dx:function(m){var b,c;return m===this._t&&(b=this._powER1T,c=this._powER2T),this._t=m,b||(b=this._powER1T=Math.pow(Math.E,l*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),g*l*b+d*f*c}}}var h=Math.sqrt(4*i*a-r*r)/(2*i),w=-r/2*i,_=e,x=(t-w*e)/h;return{x:function(m){return Math.pow(Math.E,w*m)*(_*Math.cos(h*m)+x*Math.sin(h*m))},dx:function(m){var b=Math.pow(Math.E,w*m),c=Math.cos(h*m),v=Math.sin(h*m);return b*(x*h*c-_*h*v)+w*b*(x*v+_*c)}}},it.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},it.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},it.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)}},it.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},it.prototype.done=function(e){return e||(e=new Date().getTime()),zn(this.x(),this._endPosition,.1)&&Ir(this.dx(),.1)},it.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())},it.prototype.springConstant=function(){return this._k},it.prototype.damping=function(){return this._c},it.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 na(e,t,r){this._springX=new it(e,t,r),this._springY=new it(e,t,r),this._springScale=new it(e,t,r),this._startTime=0}na.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},na.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)}},na.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},na.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 Vy={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 eh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var jy=ge({name:"MovableView",props:Vy,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),{setParent:o}=Yy(e,n,a);return()=>I("uni-movable-view",{ref:a},[I(Ar,{onResize:o},null,8,["onResize"]),r.default&&r.default()],512)}}),xl=!1;function th(e){xl||(xl=!0,requestAnimationFrame(function(){e(),xl=!1}))}function rh(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=rh(e.offsetParent,t):0}function ih(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=ih(e.offsetParent,t):0}function ah(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,u,l){if(!o||!o.cancelled){u(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,u,l))),f&&l&&l(s)}}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}function Un(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function Yy(e,t,r){var i=_e("movableAreaWidth",U(0)),a=_e("movableAreaHeight",U(0)),n=_e("_isMounted",U(!1)),o=_e("movableAreaRootRef"),s=_e("addMovableViewContext",()=>{}),u=_e("removeMovableViewContext",()=>{}),l=U(Un(e.x)),f=U(Un(e.y)),d=U(Number(e.scaleValue)||1),g=U(0),h=U(0),w=U(0),_=U(0),x=U(0),m=U(0),b=null,c=null,v={x:0,y:0},p={x:0,y:0},y=1,E=1,C=0,O=0,P=!1,M=!1,H,re,R=null,B=null,X=new wl,Q=new wl,V={historyX:[0,0],historyY:[0,0],historyT:[0,0]},K=te(()=>{var A=Number(e.damping);return isNaN(A)?20:A}),ae=te(()=>{var A=Number(e.friction);return isNaN(A)||A<=0?2:A}),Te=te(()=>{var A=Number(e.scaleMin);return isNaN(A)?.5:A}),oe=te(()=>{var A=Number(e.scaleMax);return isNaN(A)?10:A}),de=te(()=>e.direction==="all"||e.direction==="horizontal"),le=te(()=>e.direction==="all"||e.direction==="vertical"),J=new na(1,9*Math.pow(K.value,2)/40,K.value),ye=new kt(1,ae.value);W(()=>e.x,A=>{l.value=Un(A)}),W(()=>e.y,A=>{f.value=Un(A)}),W(l,A=>{Ve(A)}),W(f,A=>{sr(A)}),W(()=>e.scaleValue,A=>{d.value=Number(A)||0}),W(d,A=>{ua(A)}),W(Te,()=>{Ne()}),W(oe,()=>{Ne()});function be(){c&&c.cancel(),b&&b.cancel()}function Ve(A){if(de.value){if(A+p.x===C)return C;b&&b.cancel(),ee(A+p.x,f.value+p.y,y)}return A}function sr(A){if(le.value){if(A+p.y===O)return O;b&&b.cancel(),ee(l.value+p.x,A+p.y,y)}return A}function Ne(){if(!e.scale)return!1;F(y,!0),z(y)}function ua(A){return e.scale?(A=D(A),F(A,!0),z(A),A):!1}function fa(){P||e.disabled||(or({disable:!0}),be(),V.historyX=[0,0],V.historyY=[0,0],V.historyT=[0,0],de.value&&(H=C),le.value&&(re=O),r.value.style.willChange="transform",R=null,B=null,M=!0)}function S(A){if(!P&&!e.disabled&&M){var Y=C,q=O;if(B===null&&(B=Math.abs(A.detail.dx/A.detail.dy)>1?"htouchmove":"vtouchmove"),de.value&&(Y=A.detail.dx+H,V.historyX.shift(),V.historyX.push(Y),!le.value&&R===null&&(R=Math.abs(A.detail.dx/A.detail.dy)<1)),le.value&&(q=A.detail.dy+re,V.historyY.shift(),V.historyY.push(q),!de.value&&R===null&&(R=Math.abs(A.detail.dy/A.detail.dx)<1)),V.historyT.shift(),V.historyT.push(A.detail.timeStamp),!R){A.preventDefault();var he="touch";Yx.value&&(e.outOfBounds?(he="touch-out-of-bounds",Y=x.value+X.x(Y-x.value)):Y=x.value),q<_.value?e.outOfBounds?(he="touch-out-of-bounds",q=_.value-Q.x(_.value-q)):q=_.value:q>m.value&&(e.outOfBounds?(he="touch-out-of-bounds",q=m.value+Q.x(q-m.value)):q=m.value),th(function(){Z(Y,q,y,he)})}}}function T(){if(!P&&!e.disabled&&M&&(or({disable:!1}),r.value.style.willChange="auto",M=!1,!R&&!G("out-of-bounds")&&e.inertia)){var A=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]);ye.setV(A,Y),ye.setS(C,O);var q=ye.delta().x,he=ye.delta().y,ue=q+C,Fe=he+O;uex.value&&(ue=x.value,Fe=O+(x.value-C)*he/q),Fe<_.value?(Fe=_.value,ue=C+(_.value-O)*q/he):Fe>m.value&&(Fe=m.value,ue=C+(m.value-O)*q/he),ye.setEnd(ue,Fe),c=ah(ye,function(){var Ke=ye.s(),De=Ke.x,gt=Ke.y;Z(De,gt,y,"friction")},function(){c.cancel()})}!e.outOfBounds&&!e.inertia&&be()}function k(A,Y){var q=!1;return A>x.value?(A=x.value,q=!0):Am.value?(Y=m.value,q=!0):Y<_.value&&(Y=_.value,q=!0),{x:A,y:Y,outOfBounds:q}}function L(){v.x=rh(r.value,o.value),v.y=ih(r.value,o.value)}function N(A){A=A||y,A=D(A);var Y=r.value.getBoundingClientRect();h.value=Y.height/y,g.value=Y.width/y;var q=h.value*A,he=g.value*A;p.x=(he-g.value)/2,p.y=(q-h.value)/2}function $(){var A=0-v.x+p.x,Y=i.value-g.value-v.x-p.x;w.value=Math.min(A,Y),x.value=Math.max(A,Y);var q=0-v.y+p.y,he=a.value-h.value-v.y-p.y;_.value=Math.min(q,he),m.value=Math.max(q,he)}function j(){P=!0}function F(A,Y){if(e.scale){A=D(A),N(A),$();var q=k(C,O),he=q.x,ue=q.y;Y?ee(he,ue,A,"",!0,!0):th(function(){Z(he,ue,A,"",!0,!0)})}}function z(A){E=A}function D(A){return A=Math.max(.5,Te.value,A),A=Math.min(10,oe.value,A),A}function ee(A,Y,q,he,ue,Fe){be(),de.value||(A=C),le.value||(Y=O),e.scale||(q=y);var Ke=k(A,Y);if(A=Ke.x,Y=Ke.y,!e.animation){Z(A,Y,q,he,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=y,J.setEnd(A,Y,q,1),b=ah(J,function(){var De=J.x(),gt=De.x,lr=De.y,Mt=De.scale;Z(gt,lr,Mt,he,ue,Fe)},function(){b.cancel()})}function G(A){var Y=k(C,O),q=Y.x,he=Y.y,ue=Y.outOfBounds;return ue&&ee(q,he,y,A),ue}function Z(A,Y,q){var he=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;A!==null&&A.toString()!=="NaN"&&typeof A=="number"||(A=C||0),Y!==null&&Y.toString()!=="NaN"&&typeof Y=="number"||(Y=O||0),A=Number(A.toFixed(1)),Y=Number(Y.toFixed(1)),q=Number(q.toFixed(1)),C===A&&O===Y||ue||t("change",{},{x:eh(A,p.x),y:eh(Y,p.y),source:he}),e.scale||(q=y),q=D(q),q=+q.toFixed(3),Fe&&q!==y&&t("scale",{},{x:A,y:Y,scale:q});var Ke="translateX("+A+"px) translateY("+Y+"px) translateZ(0px) scale("+q+")";r.value.style.transform=Ke,r.value.style.webkitTransform=Ke,C=A,O=Y,y=q}function fe(){if(!!n.value){be();var A=e.scale?d.value:1;L(),N(A),$(),C=l.value+p.x,O=f.value+p.y;var Y=k(C,O),q=Y.x,he=Y.y;Z(q,he,A,"",!0),z(A)}}function Be(){P=!1,z(y)}function Oe(A){A&&(A=E*A,j(),F(A))}return Re(()=>{$n(r.value,Y=>{switch(Y.detail.state){case"start":fa();break;case"move":S(Y);break;case"end":T()}}),fe(),ye.reconfigure(1,ae.value),J.reconfigure(1,9*Math.pow(K.value,2)/40,K.value),r.value.style.transformOrigin="center",Fn();var A={rootRef:r,setParent:fe,_endScale:Be,_setScale:Oe};s(A),Xt(()=>{u(A)})}),Xt(()=>{be()}),{setParent:fe}}var qy=["navigate","redirect","switchTab","reLaunch","navigateBack"],Xy={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~qy.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}};function Zy(e){return()=>{if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta});break}}}var Ky=ge({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:Xy,setup(e,t){var{slots:r}=t,i=Bt(),a=i&&i.root.type.__scopeId||"",{hovering:n,binding:o}=dl(e),s=Zy(e);return()=>{var{hoverClass:u,url:l}=e,f=e.hoverClass&&e.hoverClass!=="none";return I("a",{class:"navigator-wrap",href:l,onClick:fc},[I("uni-navigator",tt({class:f&&n.value?u:""},f&&o,i?i.attrs:{},{[a]:""},{onClick:s}),[r.default&&r.default()],16,["onClick"])],8,["href","onClick"])}}}),Gy={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function Jy(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 Qy=ge({name:"PickerView",props:Gy,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=Pe(a,i),s=Jy(e),u=U(null),l=()=>{var w=u.value;s.height=w.$el.offsetHeight},f=U([]),d=U([]);function g(w){var _=d.value;if(_ instanceof HTMLCollection)return Array.prototype.indexOf.call(_,w.el);_=_.filter(m=>m.type!==Wr);var x=_.indexOf(w);return x!==-1?x:f.value.indexOf(w)}var h=function(w){var _=te({get(){var x=g(w.vnode);return s.value[x]||0},set(x){var m=g(w.vnode);if(!(m<0)){var b=s.value[m];if(b!==x){s.value[m]=x;var c=s.value.map(v=>v);i("update:value",c),o("change",{},{value:c})}}}});return _};return ze("getPickerViewColumn",h),ze("pickerViewProps",e),ze("pickerViewState",s),ia(()=>{l(),d.value=n.value.children}),()=>{var w=r.default&&r.default();return I("uni-picker-view",{ref:a},[I(Ar,{ref:u,onResize:_=>{var{height:x}=_;return s.height=x}},null,8,["onResize"]),I("div",{ref:n,class:"uni-picker-view-wrapper"},[w],512)],512)}}});class nh{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 oh(e,t,r){return e>t-r&&e0){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(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),h*c+g*v},dx:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),h*f*c+g*d*v}}}var w=Math.sqrt(4*a*n-i*i)/(2*a),_=-i/2*a,x=t,m=(r-_*t)/w;return{x:function(b){return Math.pow(Math.E,_*b)*(x*Math.cos(w*b)+m*Math.sin(w*b))},dx:function(b){var c=Math.pow(Math.E,_*b),v=Math.cos(w*b),p=Math.sin(w*b);return c*(m*w*v-x*w*p)+_*c*(m*p+x*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||!kr(r,.4)){r=r||0;var a=this._endPosition;this._solution&&(kr(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),a=this._solution.x((i-this._startTime)/1e3),kr(r,.4)&&(r=0),kr(a,.4)&&(a=0),a+=this._endPosition),this._solution&&kr(a-t,.4)&&kr(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()),oh(this.x(),this._endPosition,.4)&&kr(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 eS{constructor(t,r,i){this._extent=t,this._friction=r||new nh(.01),this._spring=i||new sh(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 tS(e,t,r){var i={id:0,cancelled:!1};function a(o,s,u,l){if(!o||!o.cancelled){u(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,u,l))),f&&l&&l(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 rS{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 eS(this._extent,r.friction,r.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?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=tS(this._scroll,()=>{var s=Date.now(),u=(s-this._scroll._startTime)/1e3,l=this._scroll.x(u);this._position=l,this.updatePosition();var f=this._scroll.dx(u);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()),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}}update(t,r,i){var 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(),typeof this._options.onSnap=="function"&&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 iS(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new rS(e,t);function a(u){var l=u,f=u;return l.detail.state==="move"||l.detail.state==="end"?{x:l.detail.dx,y:l.detail.dy}:{x:f.screenX-r.x,y:f.screenY-r.y}}function n(u){var l=u,f=u;l.detail.state==="start"?(r.trackingID="touch",r.x=l.detail.x,r.y=l.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=[l.detail.timeStamp||f.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),u.preventDefault()}function o(u){var l=u,f=u;if(r.trackingID!==-1){u.preventDefault();var d=a(u);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(l.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(u){if(r.trackingID!==-1){u.preventDefault();var l=a(u);if(l){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,w=r.historyTime[h],_=r.historyX[h],x=r.historyY[h];h>0;){h--;var m=r.historyTime[h],b=w-m;if(b>30&&b<50){g.x=(_-r.historyX[h])/(b/1e3),g.y=(x-r.historyY[h])/(b/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],f&&f.onTouchEnd&&f.onTouchEnd(l.x,l.y,g)}}}return{scroller:i,handleTouchStart:n,handleTouchMove:o,handleTouchEnd:s}}var aS=0;function nS(e){var t="uni-picker-view-content-".concat(aS++);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 oS(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){s[l]=n[l]}),a.target.dispatchEvent(s)}})}var sS=ge({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=_e("getPickerViewColumn"),s=Bt(),u=o?o(s):U(0),l=_e("pickerViewProps"),f=_e("pickerViewState"),d=U(34),g=U(null),h=()=>{var O=g.value;d.value=O.$el.offsetHeight},w=te(()=>(f.height-d.value)/2),{state:_}=Yd(),x=nS(d),m,b=ke({current:u.value,length:0}),c;function v(){m&&!c&&(c=!0,Hr(()=>{c=!1;var O=Math.min(b.current,b.length-1);O=Math.max(O,0),m.update(O*d.value,void 0,d.value)}))}W(()=>u.value,O=>{O!==b.current&&(b.current=O,v())}),W(()=>b.current,O=>u.value=O),W([()=>d.value,()=>b.length,()=>f.height],v);var p=0;function y(O){var P=p+O.deltaY;if(Math.abs(P)>10){p=0;var M=Math.min(b.current+(P<0?-1:1),b.length-1);b.current=M=Math.max(M,0),m.scrollTo(M*d.value)}else p=P;O.preventDefault()}function E(O){var{clientY:P}=O,M=a.value;if(!m.isScrolling()){var H=M.getBoundingClientRect(),re=P-H.top-f.height/2,R=d.value/2;if(!(Math.abs(re)<=R)){var B=Math.ceil((Math.abs(re)-R)/d.value),X=re<0?-B:B,Q=Math.min(b.current+X,b.length-1);b.current=Q=Math.max(Q,0),m.scrollTo(Q*d.value)}}}var C=()=>{var O=a.value,P=n.value,{scroller:M,handleTouchStart:H,handleTouchMove:re,handleTouchEnd:R}=iS(P,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:d.value,friction:new nh(1e-4),spring:new sh(2,90,20),onSnap:B=>{!isNaN(B)&&B!==b.current&&(b.current=B)}});m=M,$n(O,B=>{switch(B.detail.state){case"start":H(B),or({disable:!0});break;case"move":re(B),B.stopPropagation();break;case"end":case"cancel":R(B),or({disable:!1})}},!0),oS(O),Fn(),v()};return ia(()=>{b.length=n.value.children.length,h(),C()}),()=>{var O=r.default&&r.default(),P="".concat(w.value,"px 0");return I("uni-picker-view-column",{ref:a},[I("div",{onWheel:y,onClick:E,class:"uni-picker-view-group"},[I("div",tt(_.attrs,{class:["uni-picker-view-mask",l.maskClass],style:"background-size: 100% ".concat(w.value,"px;").concat(l.maskStyle)}),null,16),I("div",tt(_.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[I(Ar,{ref:g,onResize:M=>{var{height:H}=M;return d.value=H}},null,8,["onResize"])],16),I("div",{ref:n,class:["uni-picker-view-content",x],style:{padding:P}},[O],6)],40,["onWheel","onClick"])],512)}}}),Mr={activeColor:La,backgroundColor:"#EBEBEB",activeMode:"backwards"},lS={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:Mr.activeColor},activeColor:{type:String,default:Mr.activeColor},backgroundColor:{type:String,default:Mr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Mr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}}},uS=ge({name:"Progress",props:lS,setup(e){var t=fS(e);return lh(t,e),W(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,lh(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:n}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[n+"%"]):""])}}});function fS(e){var t=U(0),r=te(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=te(()=>{var o=e.color!==Mr.activeColor&&e.activeColor===Mr.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),a=te(()=>{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 lh(e,t){t.active?(e.currentPercent=t.activeMode===Mr.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 uh=un("ucg"),cS={name:{type:String,default:""}},vS=ge({name:"RadioGroup",props:cS,setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return dS(e,n),()=>I("uni-radio-group",{ref:a},[i.default&&i.default()],512)}});function dS(e,t){var r=[];Re(()=>{s(r.length-1)});var i=()=>{var u;return(u=r.find(l=>l.value.radioChecked))===null||u===void 0?void 0:u.value.value};ze(uh,{addField(u){r.push(u)},removeField(u){r.splice(r.indexOf(u),1)},radioChange(u,l){var f=r.indexOf(l);s(f,!0),t("change",u,{value:i()})}});var a=_e(It,!1),n={submit:()=>{var u=["",null];return e.name!==""&&(u[0]=e.name,u[1]=i()),u}};a&&(a.addField(n),Ae(()=>{a.removeField(n)}));function o(u,l){u.value={radioChecked:l,value:u.value.value}}function s(u,l){r.forEach((f,d)=>{d!==u&&(l?o(r[d],!1):r.forEach((g,h)=>{d>=h||r[h].value.radioChecked&&o(r[d],!1)}))})}return r}var hS={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:""}},gS=ge({name:"Radio",props:hS,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value),n=te(()=>"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:u,field:l}=pS(i,a,o),f=d=>{e.disabled||(i.value=!0,s&&s.radioChange(d,l))};return u&&(u.addHandler(f),Ae(()=>{u.removeHandler(f)})),Mn(e,{"label-click":f}),()=>{var d=ai(e,"disabled");return I("uni-radio",tt(d,{onClick:f}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?n.value:""},[i.value?cn(fn,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function pS(e,t,r){var i=te({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:u=>{var{radioChecked:l}=u;e.value=l}}),a={reset:r},n=_e(uh,!1);n&&n.addField(i);var o=_e(It,!1);o&&o.addField(a);var s=_e(Ji,!1);return Ae(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s,field:i}}function mS(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function _S(e){return e.reduce(function(t,r){var i=r.value,a=r.name;return i.match(/ /)&&a!=="style"&&(i=i.split(" ")),t[a]?Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]:t[a]=i,t},{})}function bS(e){e=mS(e);var t=[],r={node:"root",children:[]};return zd(e,{start:function(i,a,n){var o={name:i};if(a.length!==0&&(o.attrs=_S(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 fh={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:""},yl={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function wS(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(ie(yl,r)&&yl[r])return yl[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function xS(e,t,r){return e==="img"&&t==="src"?vt(r):r}function ch(e,t,r,i){return e.forEach(function(a){if(!!mt(a))if(!ie(a,"type")||a.type==="node"){if(!(typeof a.name=="string"&&a.name))return;var n=a.name.toLowerCase();if(!ie(fh,n))return;var o=document.createElement(n);if(!o)return;var s=a.attrs;if(mt(s)){var u=fh[n]||[];Object.keys(s).forEach(function(f){var d=s[f];switch(f){case"class":Array.isArray(d)&&(d=d.join(" "));case"style":o.setAttribute(f,d),r&&o.setAttribute(r,"");break;default:u.indexOf(f)!==-1&&o.setAttribute(f,xS(n,f,d))}})}yS(a,o,i);var l=a.children;Array.isArray(l)&&l.length&&ch(a.children,o,r,i),t.appendChild(o)}else a.type==="text"&&typeof a.text=="string"&&a.text!==""&&t.appendChild(document.createTextNode(wS(a.text)))}),t}function yS(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}var SS={nodes:{type:[Array,String],default:function(){return[]}}},ES=ge({name:"RichText",compatConfig:{MODE:3},props:SS,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,a=Bt(),n=U(null),o=Pe(n,r),s=!!i.onItemclick;function u(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o("itemclick",f,d)}function l(f){typeof f=="string"&&(f=bS(f));var d=ch(f,document.createDocumentFragment(),(a&&a.root.type).__scopeId||"",s&&u);n.value.firstElementChild.innerHTML="",n.value.firstElementChild.appendChild(d)}return W(()=>e.nodes,f=>{l(f)}),Re(()=>{l(e.nodes)}),()=>I("uni-rich-text",{ref:n},[I("div",null,null)],512)}}),vh=mi(!0),TS={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}},CS=ge({name:"ScrollView",compatConfig:{MODE:3},props:TS,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=U(null),o=U(null),s=U(null),u=U(null),l=Pe(a,r),{state:f,scrollTopNumber:d,scrollLeftNumber:g}=OS(e);AS(e,f,d,g,l,a,n,s,r);var h=te(()=>{var w="";return e.scrollX?w+="overflow-x:auto;":w+="overflow-x:hidden;",e.scrollY?w+="overflow-y:auto;":w+="overflow-y:hidden;",w});return()=>{var{refresherEnabled:w,refresherBackground:_,refresherDefaultStyle:x}=e,{refresherHeight:m,refreshState:b,refreshRotate:c}=f;return I("uni-scroll-view",{ref:a},[I("div",{ref:o,class:"uni-scroll-view"},[I("div",{ref:n,style:h.value,class:"uni-scroll-view"},[I("div",{ref:s,class:"uni-scroll-view-content"},[w?I("div",{ref:u,style:{backgroundColor:_,height:m+"px"},class:"uni-scroll-view-refresher"},[x!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[b=="pulling"?I("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"},[I("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),I("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,b=="refreshing"?I("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[I("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,x=="none"?i.refresher&&i.refresher():null],4):null,i.default&&i.default()],512)],4)],512)],512)}}});function OS(e){var t=te(()=>Number(e.scrollTop)||0),r=te(()=>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 AS(e,t,r,i,a,n,o,s,u){var l=!1,f=0,d=!1,g=()=>{},h=te(()=>{var y=Number(e.upperThreshold);return isNaN(y)?50:y}),w=te(()=>{var y=Number(e.lowerThreshold);return isNaN(y)?50:y});function _(y,E){var C=o.value,O=0,P="";if(y<0?y=0:E==="x"&&y>C.scrollWidth-C.offsetWidth?y=C.scrollWidth-C.offsetWidth:E==="y"&&y>C.scrollHeight-C.offsetHeight&&(y=C.scrollHeight-C.offsetHeight),E==="x"?O=C.scrollLeft-y:E==="y"&&(O=C.scrollTop-y),O!==0){var M=s.value;M.style.transition="transform .3s ease-out",M.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?P="translateX("+O+"px) translateZ(0)":E==="y"&&(P="translateY("+O+"px) translateZ(0)"),M.removeEventListener("transitionend",g),M.removeEventListener("webkitTransitionEnd",g),g=()=>v(y,E),M.addEventListener("transitionend",g),M.addEventListener("webkitTransitionEnd",g),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),M.style.transform=P,M.style.webkitTransform=P}}function x(y){var E=y.target;a("scroll",y,{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&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"top"}),t.lastScrollToUpperTime=y.timeStamp),E.scrollTop+E.offsetHeight+w.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"bottom"}),t.lastScrollToLowerTime=y.timeStamp)),e.scrollX&&(E.scrollLeft<=h.value&&t.lastScrollLeft-E.scrollLeft>0&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"left"}),t.lastScrollToUpperTime=y.timeStamp),E.scrollLeft+E.offsetWidth+w.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"right"}),t.lastScrollToLowerTime=y.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function m(y){e.scrollY&&(e.scrollWithAnimation?_(y,"y"):o.value.scrollTop=y)}function b(y){e.scrollX&&(e.scrollWithAnimation?_(y,"x"):o.value.scrollLeft=y)}function c(y){if(y){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(y)){console.error("id error: scroll-into-view=".concat(y));return}var E=n.value.querySelector("#"+y);if(E){var C=o.value.getBoundingClientRect(),O=E.getBoundingClientRect();if(e.scrollX){var P=O.left-C.left,M=o.value.scrollLeft,H=M+P;e.scrollWithAnimation?_(H,"x"):o.value.scrollLeft=H}if(e.scrollY){var re=O.top-C.top,R=o.value.scrollTop,B=R+re;e.scrollWithAnimation?_(B,"y"):o.value.scrollTop=B}}}}function v(y,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=y):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=y),s.value.removeEventListener("transitionend",g),s.value.removeEventListener("webkitTransitionEnd",g)}function p(y){switch(y){case"refreshing":t.refresherHeight=e.refresherThreshold,l||(l=!0,a("refresherrefresh",{},{}),u("update:refresherTriggered",!0));break;case"restore":case"refresherabort":l=!1,t.refresherHeight=f=0,y==="restore"&&(d=!1,a("refresherrestore",{},{})),y==="refresherabort"&&d&&(d=!1,a("refresherabort",{},{}));break}t.refreshState=y}Re(()=>{Hr(()=>{m(r.value),b(i.value)}),c(e.scrollIntoView);var y=function(H){H.preventDefault(),H.stopPropagation(),x(H)},E={x:0,y:0},C=null,O=function(H){if(E!==null){var re=H.touches[0].pageX,R=H.touches[0].pageY,B=o.value;if(Math.abs(re-E.x)>Math.abs(R-E.y))if(e.scrollX){if(B.scrollLeft===0&&re>E.x){C=!1;return}else if(B.scrollWidth===B.offsetWidth+B.scrollLeft&&reE.y)C=!1,e.refresherEnabled&&H.cancelable!==!1&&H.preventDefault();else if(B.scrollHeight===B.offsetHeight+B.scrollTop&&R0&&(d=!0,a("refresherpulling",H,{deltaY:X})));var Q=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(Q>1?1:Q)*360}}},P=function(H){H.touches.length===1&&(or({disable:!0}),E={x:H.touches[0].pageX,y:H.touches[0].pageY})},M=function(H){E=null,or({disable:!1}),t.refresherHeight>=e.refresherThreshold?p("refreshing"):p("refresherabort")};o.value.addEventListener("touchstart",P,vh),o.value.addEventListener("touchmove",O,mi(!1)),o.value.addEventListener("scroll",y,mi(!1)),o.value.addEventListener("touchend",M,vh),Fn(),Ae(()=>{o.value.removeEventListener("touchstart",P),o.value.removeEventListener("touchmove",O),o.value.removeEventListener("scroll",y),o.value.removeEventListener("touchend",M)})}),ns(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),W(r,y=>{m(y)}),W(i,y=>{b(y)}),W(()=>e.scrollIntoView,y=>{c(y)}),W(()=>e.refresherTriggered,y=>{y===!0?p("refreshing"):y===!1&&p("restore")})}var IS={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}},kS=ge({name:"Slider",props:IS,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=U(null),o=U(Number(e.value));W(()=>e.value,d=>{o.value=Number(d)});var s=Pe(i,r),u=MS(e,o),{_onClick:l,_onTrack:f}=RS(e,o,i,a,s);return Re(()=>{$n(n.value,f)}),()=>{var{setBgColor:d,setBlockBg:g,setActiveColor:h,setBlockStyle:w}=u;return I("uni-slider",{ref:i,onClick:Or(l)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:d.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:n,style:g.value,class:"uni-slider-handle"},null,4),I("div",{style:w.value,class:"uni-slider-thumb"},null,4),I("div",{style:h.value,class:"uni-slider-track"},null,4)],4)]),Ii(I("span",{ref:a,class:"uni-slider-value"},[o.value],512),[[Li,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function MS(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:te(()=>({backgroundColor:i()})),setBlockBg:te(()=>({left:r()})),setActiveColor:te(()=>({backgroundColor:a(),width:r()})),setBlockStyle:te(()=>({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 RS(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),w=Number(e.step);return dg?g:LS.mul.call(Math.round((d-h)/w),w)+h},s=d=>{var g=Number(e.max),h=Number(e.min),w=i.value,_=getComputedStyle(w,null).marginLeft,x=w.offsetWidth;x=x+parseInt(_);var m=r.value,b=m.offsetWidth-(e.showValue?x:0),c=m.getBoundingClientRect().left,v=(d.x-c)*(g-h)/b+h;t.value=o(v)},u=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})},l=_e(It,!1);if(l){var f={reset:()=>t.value=Number(e.min),submit:()=>{var d=["",null];return e.name!==""&&(d[0]=e.name,d[1]=t.value),d}};l.addField(f),Ae(()=>{l.removeField(f)})}return{_onClick:n,_onTrack:u}}var LS={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)}},PS={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 NS(e){var t=te(()=>{var n=Number(e.interval);return isNaN(n)?5e3:n}),r=te(()=>{var n=Number(e.duration);return isNaN(n)?500:n}),i=te(()=>{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 DS(e,t,r,i,a,n){function o(){s&&(clearTimeout(s),s=null)}var s=null,u=!0,l=0,f=1,d=null,g=!1,h=0,w,_="",x,m=te(()=>e.circular&&r.value.length>t.displayMultipleItems);function b(R){if(!u)for(var B=r.value,X=B.length,Q=R+t.displayMultipleItems,V=0;V=K.length&&(R-=K.length),R=w%1>.5||w<0?R-1:R,n("transition",{},{dx:e.vertical?0:R*V.offsetWidth,dy:e.vertical?R*V.offsetHeight:0})}function v(){d&&(c(d.toPos),d=null)}function p(R){var B=r.value.length;if(!B)return-1;var X=(Math.round(R)%B+B)%B;if(m.value){if(B<=t.displayMultipleItems)return 0}else if(X>B-t.displayMultipleItems)return B-t.displayMultipleItems;return X}function y(){d=null}function E(){if(!d){g=!1;return}var R=d,B=R.toPos,X=R.acc,Q=R.endTime,V=R.source,K=Q-Date.now();if(K<=0){c(B),d=null,g=!1,w=null;var ae=r.value[t.current];if(ae){var Te=ae.getItemId();n("animationfinish",{},{current:t.current,currentItemId:Te,source:V})}return}var oe=X*K*K/2,de=B+oe;c(de),x=requestAnimationFrame(E)}function C(R,B,X){y();var Q=t.duration,V=r.value.length,K=l;if(m.value)if(X<0){for(;KR;)K-=V}else if(X>0){for(;K>R;)K-=V;for(;K+VR;)K-=V;K+V-R0&&f<1||(f=1)}var K=l;l=-2;var ae=t.current;ae>=0?(u=!1,t.userTracking?(c(K+ae-h),h=ae):(c(ae),e.autoplay&&O())):(u=!0,c(-t.displayMultipleItems-1))}W([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var R=-1;if(e.currentItemId)for(var B=0,X=r.value;Be.vertical,()=>m.value,()=>t.displayMultipleItems,()=>[...r.value]],P),W(()=>t.interval,()=>{s&&(o(),O())});function M(R,B){var X=_;_="";var Q=r.value;if(!X){var V=Q.length;C(R,"",m.value&&B+(V-R)%V>V/2?1:0)}var K=Q[R];if(K){var ae=t.currentItemId=K.getItemId();n("change",{},{current:t.current,currentItemId:ae,source:X})}}W(()=>t.current,(R,B)=>{M(R,B),a("update:current",R)}),W(()=>t.currentItemId,R=>{a("update:currentItemId",R)});function H(R){R?O():o()}W(()=>e.autoplay&&!t.userTracking,H),H(e.autoplay&&!t.userTracking),Re(()=>{var R=!1,B=0,X=0;function Q(){o(),h=l,B=0,X=Date.now(),y()}function V(ae){var Te=X;X=Date.now();var oe=r.value.length,de=oe-t.displayMultipleItems;function le(Ve){return .5-.25/(Ve+.5)}function J(Ve,sr){var Ne=h+Ve;B=.6*B+.4*sr,m.value||(Ne<0||Ne>de)&&(Ne<0?Ne=-le(-Ne):Ne>de&&(Ne=de+le(Ne-de)),B=0),c(Ne)}var ye=X-Te||1,be=i.value;e.vertical?J(-ae.dy/be.offsetHeight,-ae.ddy/ye):J(-ae.dx/be.offsetWidth,-ae.ddx/ye)}function K(ae){t.userTracking=!1;var Te=B/Math.abs(B),oe=0;!ae&&Math.abs(B)>.2&&(oe=.5*Te);var de=p(l+oe);ae?c(h):(_="touch",t.current=de,C(de,"touch",oe!==0?oe:de===0&&m.value&&l>=1?1:0))}$n(i.value,ae=>{if(!e.disableTouch&&!u){if(ae.detail.state==="start")return t.userTracking=!0,R=!1,Q();if(ae.detail.state==="end")return K(!1);if(ae.detail.state==="cancel")return K(!0);if(t.userTracking){if(!R){R=!0;var Te=Math.abs(ae.detail.dx),oe=Math.abs(ae.detail.dy);if((Te>=oe&&e.vertical||Te<=oe&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&O();return}}return V(ae.detail),!1}}})}),Xt(()=>{o(),cancelAnimationFrame(x)});function re(R){C(t.current=R,_="click",m.value?1:0)}return{onSwiperDotClick:re}}var BS=ge({name:"Swiper",props:PS,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),o=U(null),s=U(null),u=NS(e),l=te(()=>{var b={};return(e.nextMargin||e.previousMargin)&&(b=e.vertical?{left:0,right:0,top:mr(e.previousMargin,!0),bottom:mr(e.nextMargin,!0)}:{top:0,bottom:0,left:mr(e.previousMargin,!0),right:mr(e.nextMargin,!0)}),b}),f=te(()=>{var b=Math.abs(100/u.displayMultipleItems)+"%";return{width:e.vertical?"100%":b,height:e.vertical?b:"100%"}}),d=[],g=[],h=U([]);function w(){for(var b=[],c=function(p){var y=d[p];y instanceof Element||(y=y.el);var E=g.find(C=>y===C.rootRef.value);E&&b.push(ja(E))},v=0;v{d=s.value.children,w()});var _=function(b){g.push(b),w()};ze("addSwiperContext",_);var x=function(b){var c=g.indexOf(b);c>=0&&(g.splice(c,1),w())};ze("removeSwiperContext",x);var{onSwiperDotClick:m}=DS(e,u,h,s,i,n);return()=>{var b=r.default&&r.default();return d=bl(b),I("uni-swiper",{ref:a},[I("div",{ref:o,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:l.value},[I("div",{ref:s,class:"uni-swiper-slide-frame",style:f.value},[b],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map((c,v,p)=>I("div",{onClick:()=>m(v),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":v=u.current||v{var n=_e("addSwiperContext");n&&n(a)}),Xt(()=>{var n=_e("removeSwiperContext");n&&n(a)}),()=>I("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"}},US=ge({name:"Switch",props:zS,emits:["change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(e.checked),n=HS(e,a),o=Pe(i,r);W(()=>e.checked,u=>{a.value=u});var s=u=>{e.disabled||(a.value=!a.value,o("change",u,{value:a.value}))};return n&&(n.addHandler(s),Ae(()=>{n.removeHandler(s)})),Mn(e,{"label-click":s}),()=>{var{color:u,type:l}=e,f=ai(e,"disabled");return I("uni-switch",tt({ref:i},f,{onClick:s}),[I("div",{class:"uni-switch-wrapper"},[Ii(I("div",{class:["uni-switch-input",[a.value?"uni-switch-input-checked":""]],style:{backgroundColor:a.value?u:"#DFDFDF",borderColor:a.value?u:"#DFDFDF"}},null,6),[[Li,l==="switch"]]),Ii(I("div",{class:"uni-checkbox-input"},[a.value?cn(fn,e.color,22):""],512),[[Li,l==="checkbox"]])])],16,["onClick"])}}});function HS(e,t){var r=_e(It,!1),i=_e(Ji,!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),Xt(()=>{r.removeField(a)})),i}var oa={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function WS(e,t){return e.replace(/\\n/g,gi).split(gi).map(r=>VS(r,t))}function VS(e,t){var{space:r,decode:i}=t;return!e||(r&&oa[r]&&(e=e.replace(/ /g,oa[r])),!i)?e:e.replace(/ /g,oa.nbsp).replace(/ /g,oa.ensp).replace(/ /g,oa.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var jS=ce({},qd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),Sl=!1;function YS(){var e="(prefers-color-scheme: dark)";Sl=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var qS=ge({name:"Textarea",props:jS,emit:["confirm","linechange",...Xd],setup(e,t){var{emit:r}=t,i=U(null),{fieldRef:a,state:n,scopedAttrsState:o,fixDisabledColor:s,trigger:u}=Zd(e,i,r),l=te(()=>n.value.split(gi)),f=te(()=>["done","go","next","search","send"].includes(e.confirmType)),d=U(0),g=U(null);W(()=>d.value,m=>{var b=i.value,c=g.value,v=parseFloat(getComputedStyle(b).lineHeight);isNaN(v)&&(v=c.offsetHeight);var p=Math.round(m/v);u("linechange",{},{height:m,heightRpx:750/window.innerWidth*m,lineCount:p}),e.autoHeight&&(b.style.height=m+"px")});function h(m){var{height:b}=m;d.value=b}function w(m){u("confirm",m,{value:n.value})}function _(m){m.key==="Enter"&&f.value&&m.preventDefault()}function x(m){if(m.key==="Enter"&&f.value){w(m);var b=m.target;!e.confirmHold&&b.blur()}}return YS(),()=>{var m=e.disabled&&s?I("textarea",{ref:a,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Sl},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:b=>b.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:a,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Sl},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:_,onKeyup:x},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[Ii(I("div",tt(o.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Li,!n.value.length]]),I("div",{ref:g,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[l.value.map(b=>I("div",null,[b.trim()?b:"."])),I(Ar,{initial:!0,onResize:h},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[m],40,["onSubmit"]):m])],512)}}});ce({},gx);function Hn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function dh(e,t,r){!e||bt(r||Kt(),e,(i,a)=>{var{type:n,data:o}=i;t(n,o,a)})}function hh(e,t){!e||Tm(t||Kt(),e)}function Wn(e,t,r,i){var a=Bt(),n=a.proxy;Re(()=>{dh(t||Hn(n),e,i),(r||!t)&&W(()=>n.id,(o,s)=>{dh(Hn(n,o),e,i),hh(s&&Hn(n,s))})}),Ae(()=>{hh(t||Hn(n),i)})}var XS=0;function Vn(e){var t=vn(),r=Bt(),i=r.proxy,a=i.$options.name.toLowerCase(),n=e||i.id||"context".concat(XS++);return Re(()=>{var o=i.$el;o.__uniContextInfo={id:n,type:a,page:t}}),"".concat(a,".").concat(n)}function ZS(e){return e.__uniContextInfo}class gh extends yd{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...kn.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(kn.mounted);this.$animate&&(this.$animate=!1,this.call(kn.watch.animation.handler))}}}var KS=["space","decode"];class GS extends gh{constructor(t,r,i,a){super(t,document.createElement("uni-text"),r,i,a,KS);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=WS(this._text,{space:r,decode:i}).join(gi),super.update(t)}}class JS extends ii{constructor(t,r,i,a){super(t,"#text",r,document.createTextNode(""));this.init(a),this.insert(r,i)}}var WT="",QS=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class eE extends gh{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...QS,...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 tE(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class tE{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 rE extends eE{constructor(t,r,i,a){super(t,document.createElement("uni-view"),r,i,a)}}function ph(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function mh(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?xu+ph():0}var _h=Symbol("onDraw");function iE(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 El(e,t){return te(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var a=e[i];a=i==="src"?vt(a):a,r[i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())]=a}}),r})}function sa(e){var t=ke({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=U(!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=iE(d)?"absolute":"static",h.push("top","left")),h.forEach(w=>{var _=g[w];_=w==="top"?_+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:mh()):_,t[w]=_+"px"})}var a=null;function n(){a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=null,i()})}window.addEventListener("updateview",n);var o=[],s=[];function u(d){s?s.push(d):d()}function l(d){var g=_e(_h),h=w=>{d(w),o.forEach(_=>_(t)),o=null};u(()=>{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 ze(_h,f),Re(()=>{i(),s.forEach(d=>d()),s=null}),Ae(()=>{window.removeEventListener("updateview",n)}),{position:t,hidden:r,onParentReady:l}}var aE=ge({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=U(null),a=U(null),n=Pe(i,r),o=El(e,["id"]),{position:s,onParentReady:u}=sa(a),l;return u(()=>{l=plus.ad.createAdView(Object.assign({},o.value,s)),plus.webview.currentWebview().append(l),l.setDislikeListener(d=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},d)}),l.setRenderingListener(d=>{d.result===0?(a.value.style.height=d.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:d.result})}),l.setAdClickedListener(()=>{n("adclicked",{},{})}),W(()=>s,d=>l.setStyle(d),{deep:!0}),W(()=>e.adpid,d=>{d&&f()}),W(()=>e.data,d=>{d&&l.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:w,message:_}=g;h===0?l.renderingBind(w):n("error",{},{errMsg:_})})}e.adpid&&f()}),Ae(()=>{l&&l.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class xe extends ii{constructor(t,r,i,a,n,o,s){super(t,r,a);var u=document.createElement("div");u.__vueParent=nE(this),this.$props=ke({}),this.init(o),this.$app=sc(vT(i,this.$props)),this.$app.mount(u),this.$=u.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),ie(o,"t")&&this.setText(o.t||""),o.a&&ie(o.a,Pa)&&vl(this.$,o.a[Pa]),this.insert(a,n),bf()}init(t){var{a:r,e:i,w:a}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(n=>{this.setAttr(n,r[n])})),ie(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}addWxsEvent(t,r,i){this.$props[t]=xd(this.$,r,i)}addEvent(t,r){this.$props[t]=bd(this.id,r,Mo(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===Pa)this.$&&vl(this.$,r);else if(t===Au)this.$.__ownerId=r;else if(t===Iu)ar(()=>cd(this,r),ld);else if(t===Lo){var i=cl(this.$||nt(this.pid).$,r),a=this.$props.style;mt(i)&&mt(a)?Object.keys(i).forEach(n=>{a[n]=i[n]}):this.$props.style=i}else In(t)?this.$.style.setProperty(t,r):(r=cl(this.$||nt(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r))}removeAttr(t){In(t)?this.$.style.removeProperty(t):this.$props[t]=null}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Sh(this.id),this.removeUniChildren()}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class la extends xe{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 ar(this.getRebuildFn(),nl),super.setText(t)}appendChild(t){return ar(this.getRebuildFn(),nl),super.appendChild(t)}insertBefore(t,r){return ar(this.getRebuildFn(),nl),super.insertBefore(t,r)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function nE(e){for(;e&&e.pid>0;)if(e=nt(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function Tl(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 oE=["value","modelValue"];function bh(e){oE.forEach(t=>{if(ie(e,t)){var r="onUpdate:"+t;ie(e,r)||(e[r]=i=>e[t]=i)}})}class sE extends xe{constructor(t,r,i,a){super(t,"uni-ad",aE,r,i,a)}}var VT="";class lE extends xe{constructor(t,r,i,a){super(t,"uni-button",Ex,r,i,a)}}class oi extends ii{constructor(t,r,i,a){super(t,r,i);this.insert(i,a)}}class uE extends oi{constructor(t,r,i){super(t,"uni-camera",r,i)}}var jT="";class fE extends xe{constructor(t,r,i,a){super(t,"uni-canvas",Rx,r,i,a,"uni-canvas > div")}}var YT="";class cE extends xe{constructor(t,r,i,a){super(t,"uni-checkbox",$x,r,i,a,".uni-checkbox-wrapper")}setText(t){Tl(this.$holder,"uni-checkbox-input",t)}}var qT="";class vE extends xe{constructor(t,r,i,a){super(t,"uni-checkbox-group",Dx,r,i,a)}}var XT="",dE=0;function wh(e,t,r){var{position:i,hidden:a,onParentReady:n}=sa(e),o,s;n(u=>{var l=te(()=>{var c={};for(var v in i){var p=i[v],y=parseFloat(p),E=parseFloat(u[v]);if(v==="top"||v==="left")p=Math.max(y,E)+"px";else if(v==="width"||v==="height"){var C=v==="width"?"left":"top",O=parseFloat(u[C]),P=parseFloat(i[C]),M=Math.max(O-P,0),H=Math.max(P+y-(O+E),0);p=Math.max(y-M-H,0)+"px"}c[v]=p}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 w(c){var v=getComputedStyle(e.value);return f.concat(d,g).forEach(p=>{c[p]=v[p]}),c}var _=ke(w({})),x=null;s=function(){x&&cancelAnimationFrame(x),x=requestAnimationFrame(()=>{x=null,w(_)})},window.addEventListener("updateview",s);function m(){var c={};for(var v in c){var p=c[v];(v==="top"||v==="left")&&(p=Math.min(parseFloat(p)-parseFloat(u[v]),0)+"px"),c[v]=p}return c}var b=te(()=>{var c=m(),v=[{tag:"rect",position:c,rectStyles:{color:_.backgroundColor,radius:_.borderRadius,borderColor:_.borderColor,borderWidth:_.borderWidth}}];if("src"in r)r.src&&v.push({tag:"img",position:c,src:r.src});else{var p=parseFloat(_.lineHeight)-parseFloat(_.fontSize),y=parseFloat(c.width)-parseFloat(_.paddingLeft)-parseFloat(_.paddingRight);y=y<0?0:y;var E=parseFloat(c.height)-parseFloat(_.paddingTop)-p/2-parseFloat(_.paddingBottom);E=E<0?0:E,v.push({tag:"font",position:{top:"".concat(parseFloat(c.top)+parseFloat(_.paddingTop)+p/2,"px"),left:"".concat(parseFloat(c.left)+parseFloat(_.paddingLeft),"px"),width:"".concat(y,"px"),height:"".concat(E,"px")},textStyles:{align:h[_.textAlign]||_.textAlign,color:_.color,decoration:"none",lineSpacing:"".concat(p,"px"),margin:"0px",overflow:_.textOverflow,size:_.fontSize,verticalAlign:"top",weight:_.fontWeight,whiteSpace:_.whiteSpace},text:r.text})}return v});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(dE++),l.value,b.value),plus.webview.currentWebview().append(o),a.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),W(()=>a.value,c=>{o[c?"hide":"show"]()}),W(()=>l.value,c=>{o.setStyle(c)},{deep:!0}),W(()=>b.value,()=>{o.reset(),o.draw(b.value)},{deep:!0})}),Ae(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var hE="_doc/uniapp_temp/",gE={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function pE(e,t,r){var i=U(""),a;function n(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?vt(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(a=plus.downloader.createDownload(s,{filename:hE+"/download/"},(u,l)=>{l===200?o(u.filename):r("error",{},{errMsg:"error"})}),a.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:u=>{var{width:l,height:f}=u;e.autoSize&&(i.value="width:".concat(l,"px;height:").concat(f,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:l,height:f})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&n(),W(()=>e.src,n),Ae(()=>{a&&a.abort()}),i}var xh=ge({name:"CoverImage",props:gE,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=ke({src:""}),o=pE(e,n,a);return wh(i,a,n),()=>I("uni-cover-image",{ref:i,style:o.value},[I("div",{class:"uni-cover-image"},null)],4)}});class mE extends xe{constructor(t,r,i,a){super(t,"uni-cover-image",xh,r,i,a)}}var ZT="",_E=ge({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=Pe(i,r),o=ke({text:""});return wh(i,n,o),ia(()=>{var s=a.value.childNodes[0];o.text=s&&s instanceof Text?s.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:a,class:"uni-cover-view"},null,512)],512)}});class bE extends la{constructor(t,r,i,a){super(t,"uni-cover-view",_E,r,i,a,".uni-cover-view")}}var KT="";class wE extends xe{constructor(t,r,i,a){super(t,"uni-editor",fy,r,i,a)}}var GT="";class xE extends xe{constructor(t,r,i,a){super(t,"uni-form",_x,r,i,a,"span")}}class yE extends oi{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var JT="";class SE extends xe{constructor(t,r,i,a){super(t,"uni-icon",hy,r,i,a)}}var QT="";class EE extends xe{constructor(t,r,i,a){super(t,"uni-image",my,r,i,a)}}var e2="";class TE extends xe{constructor(t,r,i,a){super(t,"uni-input",By,r,i,a)}init(t){super.init(t),bh(this.$props)}}var t2="";class CE extends xe{constructor(t,r,i,a){super(t,"uni-label",yx,r,i,a)}}class OE extends oi{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class AE extends oi{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var r2="",IE=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function Cl(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.substr(7,2);return{color:e.substr(0,7),opacity:t?Number("0x"+t)/255:1}}var kE={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},ME=ge({name:"Map",props:kE,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=El(e,["id"]),{position:s,hidden:u,onParentReady:l}=sa(n),f,{_addMarkers:d,_addMapLines:g,_addMapCircles:h,_setMap:w}=RE(e,a);l(()=>{f=ce(plus.maps.create(Kt()+"-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__:[]}),f.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(f),u.value&&f.hide(),f.onclick=x=>{a("click",{},x)},f.onstatuschanged=x=>{a("regionchange",{},{})},w(f),d(e.markers),g(e.polyline),h(e.circles),W(()=>o.value,x=>f&&f.setStyles(x),{deep:!0}),W(()=>s,x=>f&&f.setStyles(x),{deep:!0}),W(u,x=>{f&&f[x?"hide":"show"]()}),W(()=>e.scale,x=>{f&&f.setZoom(parseInt(String(x)))}),W([()=>e.latitude,()=>e.longitude],x=>{var[m,b]=x;f&&f.setStyles({center:new plus.maps.Point(Number(m),Number(b))})}),W(()=>e.markers,x=>{d(x,!0)},{deep:!0}),W(()=>e.polyline,x=>{g(x)},{deep:!0}),W(()=>e.circles,x=>{h(x)},{deep:!0})});var _=te(()=>e.controls.map(x=>{var m={position:"absolute"};return["top","left","width","height"].forEach(b=>{x.position[b]&&(m[b]=x.position[b]+"px")}),{id:x.id,iconPath:vt(x.iconPath),position:m,clickable:x.clickable}}));return Ae(()=>{f&&(f.close(),w(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-map-container"},null,512),_.value.map((x,m)=>I(xh,{key:m,src:x.iconPath,style:x.position,"auto-size":!0,onClick:()=>x.clickable&&a("controltap",{},{controlId:x.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function RE(e,t){var r;function i(h){var{longitude:w,latitude:_}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(w||e.longitude),Number(_||e.latitude))),h({errMsg:"moveToLocation:ok"}))}function a(h){!r||r.getCurrentCenter((w,_)=>{h({longitude:_.getLng(),latitude:_.getLat(),errMsg:"getCenterLocation:ok"})})}function n(h){if(!!r){var w=r.getBounds();h({southwest:w.getSouthWest(),northeast:w.getNorthEast(),errMsg:"getRegion:ok"})}}function o(h){!r||h({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(h){if(!!r){var{id:w,latitude:_,longitude:x,iconPath:m,callout:b,label:c}=h;IE(x,_,v=>{var p,{latitude:y,longitude:E}=v.coord,C=new plus.maps.Marker(new plus.maps.Point(E,y));m&&C.setIcon(vt(m)),c&&c.content&&C.setLabel(c.content);var O=void 0;b&&b.content&&(O=new plus.maps.Bubble(b.content)),O&&C.setBubble(O),(w||w===0)&&(C.onclick=P=>{t("markertap",{},{markerId:w})},O&&(O.onclick=()=>{t("callouttap",{},{markerId:w})})),(p=r)===null||p===void 0||p.addOverlay(C),r.__markers__.push(C)})}}function u(){if(!!r){var h=r.__markers__;h.forEach(w=>{var _;(_=r)===null||_===void 0||_.removeOverlay(w)}),r.__markers__=[]}}function l(h,w){w&&u(),h.forEach(_=>{s(_)})}function f(h){!r||(r.__lines__.length>0&&(r.__lines__.forEach(w=>{var _;(_=r)===null||_===void 0||_.removeOverlay(w)}),r.__lines__=[]),h.forEach(w=>{var _,{color:x,width:m}=w,b=w.points.map(p=>new plus.maps.Point(p.longitude,p.latitude)),c=new plus.maps.Polyline(b);if(x){var v=Cl(x);c.setStrokeColor(v.color),c.setStrokeOpacity(v.opacity)}m&&c.setLineWidth(m),(_=r)===null||_===void 0||_.addOverlay(c),r.__lines__.push(c)}))}function d(h){!r||(r.__circles__.length>0&&(r.__circles__.forEach(w=>{var _;(_=r)===null||_===void 0||_.removeOverlay(w)}),r.__circles__=[]),h.forEach(w=>{var _,{latitude:x,longitude:m,color:b,fillColor:c,radius:v,strokeWidth:p}=w,y=new plus.maps.Circle(new plus.maps.Point(m,x),v);if(b){var E=Cl(b);y.setStrokeColor(E.color),y.setStrokeOpacity(E.opacity)}if(c){var C=Cl(c);y.setFillColor(C.color),y.setFillOpacity(C.opacity)}p&&y.setLineWidth(p),(_=r)===null||_===void 0||_.addOverlay(y),r.__circles__.push(y)}))}var g={moveToLocation:i,getCenterLocation:a,getRegion:n,getScale:o};return Wn((h,w,_)=>{g[h]&&g[h](_,w)},Vn(),!0),{_addMarkers:l,_addMapLines:f,_addMapCircles:d,_setMap(h){r=h}}}class LE extends xe{constructor(t,r,i,a){super(t,"uni-map",ME,r,i,a,".uni-map-slot")}}var i2="";class PE extends la{constructor(t,r,i,a){super(t,"uni-movable-area",Hy,r,i,a)}}var a2="";class NE extends xe{constructor(t,r,i,a){super(t,"uni-movable-view",jy,r,i,a)}}var n2="";class DE extends xe{constructor(t,r,i,a){super(t,"uni-navigator",Ky,r,i,a,"uni-navigator")}}class BE extends oi{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class FE extends oi{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var Ie={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},si={YEAR:"year",MONTH:"month",DAY:"day"};function jn(e){return e>9?e:"0".concat(e)}function Yn(e,t){e=String(e||"");var r=new Date;if(t===Ie.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 $E(e){if(e.mode===Ie.TIME)return"00:00";if(e.mode===Ie.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case si.YEAR:return t;case si.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function zE(e){if(e.mode===Ie.TIME)return"23:59";if(e.mode===Ie.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case si.YEAR:return t;case si.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var UE={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Ie.SELECTOR,validator(e){return Object.values(Ie).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:$E},end:{type:String,default:zE},disabled:{type:[Boolean,String],default:!1}},HE=ge({name:"Picker",props:UE,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;bm();var{t:i,getLocale:a}=Je(),n=U(null),o=Pe(n,r),s=U(null),u=U(null),l=()=>{var m=e.value;switch(e.mode){case Ie.MULTISELECTOR:{Array.isArray(m)||(m=[]),Array.isArray(s.value)||(s.value=[]);for(var b=s.value.length=Math.max(m.length,e.range.length),c=0;c{u.value&&u.value.sendMessage(m)},d=m=>{var b={event:"cancel"};u.value=ub({url:"__uniapppicker",data:m,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(m);return}if(v==="columnchange"){delete c.event,o(v,{},c);return}b=c},onClose:()=>{u.value=null;var c=b.event;delete b.event,c&&o(c,{},b)}})},g=(m,b)=>{plus.nativeUI[e.mode===Ie.TIME?"pickTime":"pickDate"](c=>{var v=c.date;o("change",{},{value:e.mode===Ie.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===Ie.TIME?{time:Yn(e.value,Ie.TIME),popover:b}:{date:Yn(e.value,Ie.DATE),minDate:Yn(e.start,Ie.DATE),maxDate:Yn(e.end,Ie.DATE),popover:b})},h=(m,b)=>{(m.mode===Ie.TIME||m.mode===Ie.DATE)&&!m.fields?g(m,b):(m.fields=Object.values(si).includes(m.fields)?m.fields:si.DAY,d(m))},w=m=>{if(!e.disabled){var b=m.currentTarget,c=b.getBoundingClientRect();h(Object.assign({},e,{value:s.value,locale:a(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:c.top+mh(),left:c.left,width:c.width,height:c.height})}},_=_e(It,!1),x={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Ie.SELECTOR:s.value=0;break;case Ie.MULTISELECTOR:Array.isArray(e.value)&&(s.value=e.value.map(m=>0));break;case Ie.DATE:case Ie.TIME:s.value="";break}}};return _&&(_.addField(x),Ae(()=>_.removeField(x))),Object.keys(e).forEach(m=>{m!=="name"&&W(()=>e[m],b=>{var c={};c[m]=b,f(c)},{deep:!0})}),W(()=>e.value,l,{deep:!0}),l(),()=>I("uni-picker",{ref:n,onClick:w},[I("slot",null,null)],8,["onClick"])}});class WE extends xe{constructor(t,r,i,a){super(t,"uni-picker",HE,r,i,a)}}var o2="";class VE extends la{constructor(t,r,i,a){super(t,"uni-picker-view",Qy,r,i,a,".uni-picker-view-wrapper")}}var s2="";class jE extends la{constructor(t,r,i,a){super(t,"uni-picker-view-column",sS,r,i,a,".uni-picker-view-content")}}var l2="";class YE extends xe{constructor(t,r,i,a){super(t,"uni-progress",uS,r,i,a)}}var u2="";class qE extends xe{constructor(t,r,i,a){super(t,"uni-radio",gS,r,i,a,".uni-radio-wrapper")}setText(t){Tl(this.$holder,"uni-radio-input",t)}}var f2="";class XE extends xe{constructor(t,r,i,a){super(t,"uni-radio-group",vS,r,i,a)}}var c2="";class ZE extends xe{constructor(t,r,i,a){super(t,"uni-rich-text",ES,r,i,a)}}var v2="";class KE extends xe{constructor(t,r,i,a){super(t,"uni-scroll-view",CS,r,i,a,".uni-scroll-view-content")}setText(t){Tl(this.$holder,"uni-scroll-view-refresher",t)}}var d2="";class GE extends xe{constructor(t,r,i,a){super(t,"uni-slider",kS,r,i,a)}}var h2="";class JE extends la{constructor(t,r,i,a){super(t,"uni-swiper",BS,r,i,a,".uni-swiper-slide-frame")}}var g2="";class QE extends xe{constructor(t,r,i,a){super(t,"uni-swiper-item",$S,r,i,a)}}var p2="";class eT extends xe{constructor(t,r,i,a){super(t,"uni-switch",US,r,i,a)}}var m2="";class tT extends xe{constructor(t,r,i,a){super(t,"uni-textarea",qS,r,i,a)}init(t){super.init(t),bh(this.$props)}}var _2="",rT={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},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[]}}},yh=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],iT=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],aT=ge({name:"Video",props:rT,emits:yh,setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=El(e,["id"]),{position:s,hidden:u,onParentReady:l}=sa(n),f;l(()=>{f=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),u.value&&f.hide(),yh.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(()=>u.value,g=>{f[g?"hide":"show"](),g||f.setStyles(s)})});var d=Vn();return Wn((g,h)=>{if(iT.includes(g)){var w;switch(g){case"seek":w=h.position;break;case"sendDanmu":w=h;break;case"playbackRate":w=h.rate;break;case"requestFullScreen":w=h.direction;break}f&&f[g](w)}},d,!0),Ae(()=>{f&&f.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class nT extends xe{constructor(t,r,i,a){super(t,"uni-video",aT,r,i,a,".uni-video-slot")}}var b2="",oT={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default(){return{}}}},at,sT=e=>{var{htmlId:t,src:r,webviewStyles:i,props:a}=e,n=plus.webview.currentWebview(),o=ce(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var u=xu+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(u+=ph()),o.top=String(u),o.bottom=o.bottom||"0"}at=plus.webview.create(r,t,o),s&&at.addEventListener("titleUpdate",function(){var l;if(!!a.updateTitle){var f=(l=at)===null||l===void 0?void 0:l.getTitle();n.setStyle({titleNView:{titleText:!f||f==="null"?" ":f}})}}),plus.webview.currentWebview().append(at)},lT=()=>{var e;plus.webview.currentWebview().remove(at),(e=at)===null||e===void 0||e.close("none"),at=null},uT=ge({name:"WebView",props:oT,setup(e){var t=Kt(),r=U(null),{hidden:i,onParentReady:a}=sa(r),n=te(()=>e.webviewStyles);return a(()=>{var o,s=U(bb+t);sT({htmlId:s.value,src:vt(e.src),webviewStyles:n.value,props:e}),UniViewJSBridge.publishHandler(mb,{},t),i.value&&((o=at)===null||o===void 0||o.hide())}),Ae(()=>{lT(),UniViewJSBridge.publishHandler(_b,{},t)}),W(()=>e.src,o=>{var s,u=vt(o)||"";if(!!u){if(/^(http|https):\/\//.test(u)&&e.webviewStyles.progress){var l;(l=at)===null||l===void 0||l.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=at)===null||s===void 0||s.loadURL(u)}}),W(n,o=>{var s;(s=at)===null||s===void 0||s.setStyle(o)}),W(i,o=>{at&&at[o?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class fT extends xe{constructor(t,r,i,a){super(t,"uni-web-view",uT,r,i,a)}}var cT={"#text":JS,"#comment":cx,VIEW:rE,IMAGE:EE,TEXT:GS,NAVIGATOR:DE,FORM:xE,BUTTON:lE,INPUT:TE,LABEL:CE,RADIO:qE,CHECKBOX:cE,"CHECKBOX-GROUP":vE,AD:sE,CAMERA:uE,CANVAS:fE,"COVER-IMAGE":mE,"COVER-VIEW":bE,EDITOR:wE,"FUNCTIONAL-PAGE-NAVIGATOR":yE,ICON:SE,"RADIO-GROUP":XE,"LIVE-PLAYER":OE,"LIVE-PUSHER":AE,MAP:LE,"MOVABLE-AREA":PE,"MOVABLE-VIEW":NE,"OFFICIAL-ACCOUNT":BE,"OPEN-DATA":FE,PICKER:WE,"PICKER-VIEW":VE,"PICKER-VIEW-COLUMN":jE,PROGRESS:YE,"RICH-TEXT":ZE,"SCROLL-VIEW":KE,SLIDER:GE,SWIPER:JE,"SWIPER-ITEM":QE,SWITCH:eT,TEXTAREA:tT,VIDEO:nT,"WEB-VIEW":fT};function vT(e,t){return()=>p_(e,t)}var qn=new Map;function nt(e){return qn.get(e)}function dT(e){return qn.get(e)}function Sh(e){return qn.delete(e)}function Eh(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n;if(e===0)n=new ii(e,t,r,document.createElement(t));else{var o=cT[t];o?n=new o(e,r,i,a):n=new yd(e,document.createElement(t),r,i,a)}return qn.set(e,n),n}var Ol=[],Th=!1;function Ch(e){if(Th)return e();Ol.push(e)}function Al(){Th=!0,Ol.forEach(e=>e()),Ol.length=0}function w2(){}function Oh(e){var{css:t,route:r,platform:i,pixelRatio:a,windowWidth:n,disableScroll:o,statusbarHeight:s,windowTop:u,windowBottom:l}=e;hT(r),gT(i,a,n),pT();var f=plus.webview.currentWebview().id;window.__id__=f,document.title="".concat(r,"[").concat(f,"]"),_T(s,u,l),o&&document.addEventListener("touchmove",nb),t?mT(r):Al()}function hT(e){window.__PAGE_INFO__={route:e}}function gT(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function pT(){Eh(0,"div",-1,-1).$=document.getElementById("app")}function mT(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Al,t.onerror=Al,document.head.appendChild(t)}function _T(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};X_(i)}var Ah=!1;function bT(e){if(!Ah){Ah=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(Ap,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(Ip)}};requestAnimationFrame(()=>document.addEventListener("scroll",ob(t)))}}function wT(e,t){var{scrollTop:r,selector:i,duration:a}=e;Dp(i||r||0,a),t()}function xT(e){var t=e[0];t[0]===ku?yT(t):Ch(()=>ST(e))}function yT(e){return Oh(e[1])}function ST(e){var t=e[0],r=j1(t[0]===pb?t[1]:[]);e.forEach(i=>{switch(i[0]){case ku:return Oh(i[1]);case Vp:return void 0;case jp:return Eh(i[1],r(i[2]),i[3],i[4],Y1(r,i[5]));case Yp:return nt(i[1]).remove();case qp:return nt(i[1]).setAttr(r(i[2]),r(i[3]));case Xp:return nt(i[1]).removeAttr(r(i[2]));case Zp:return nt(i[1]).addEvent(r(i[2]),i[3]);case Jp:return nt(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case Kp:return nt(i[1]).removeEvent(r(i[2]));case Gp:return nt(i[1]).setText(r(i[2]));case Qp:return bT(i[1])}}),K1()}function ET(){var{subscribe:e}=UniViewJSBridge;e(xc,xT),e(wb,t=>Je().setLocale(t)),e(yc,TT)}function TT(){UniViewJSBridge.publishHandler("webviewReady")}function Ih(e){return window.__$__(e).$}function CT(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 Il(e,t){var r={},{top:i}=q_();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=Io(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(r.left=a.left,r.right=a.right,r.top=a.top-i,r.bottom=a.bottom-i),t.size&&(r.width=a.width,r.height=a.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(u,l){return l.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var n=e.children[0].children[0];r.scrollLeft=n.scrollLeft,r.scrollTop=n.scrollTop,r.scrollHeight=n.scrollHeight,r.scrollWidth=n.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=ZS(e)),r}function OT(e,t){return e?window.__$__(e).$:t.$el}function kh(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 AT(e,t,r,i,a){var n=OT(t,e),o=n.parentElement;if(!o)return i?null:[];var{nodeType:s}=n,u=s===3||s===8;if(i){var l=u?o.querySelector(r):kh(n,r)?n:n.querySelector(r);return l?Il(l,a):null}else{var f=[],d=(u?o:n).querySelectorAll(r);return d&&d.length&&[].forEach.call(d,g=>{f.push(Il(g,a))}),!u&&kh(n,r)&&f.unshift(Il(n,a)),f}}function IT(e,t,r){var i=[];t.forEach(a=>{var{component:n,selector:o,single:s,fields:u}=a;n===null?i.push(CT(u)):i.push(AT(e,n,o,s,u))}),r(i)}function kT(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 MT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Ih(i);(o.__io||(o.__io={}))[r]=B1(o,a,n)}function RT(e,t){var{reqId:r,component:i}=e,a=Ih(i),n=a.__io&&a.__io[r];n&&(n.disconnect(),delete a.__io[r])}var kl={},Ml={};function LT(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(Mh(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Mh(i),": ").concat(e[i],")"));var a=t.join(" and ");return a}function Mh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function PT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=kl[r]=window.matchMedia(LT(a)),s=Ml[r]=u=>n(u.matches);s(o),o.addListener(s)}function NT(e,t){var{reqId:r,component:i}=e,a=Ml[r],n=kl[r];n&&(n.removeListener(a),delete Ml[r],delete kl[r])}function DT(e,t){var{family:r,source:i,desc:a}=e;Np(r,i,a).then(()=>{t()}).catch(n=>{t(n.toString())})}var BT={$el:document.body};function FT(){var e=Kt();Em(e,t=>function(){for(var r=arguments.length,i=new Array(r),a=0;a{t.apply(null,i)})}),bt(e,"requestComponentInfo",(t,r)=>{IT(BT,t.reqs,r)}),bt(e,"addIntersectionObserver",t=>{MT(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeIntersectionObserver",t=>{RT(t)}),bt(e,"addMediaQueryObserver",t=>{PT(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeMediaQueryObserver",t=>{NT(t)}),bt(e,P1,wT),bt(e,L1,DT),bt(e,R1,t=>{kT(null,t)})}window.uni=W1,window.UniViewJSBridge=Sc,window.rpx2px=nd,window.__$__=nt,window.__f__=zp;function Rh(){Lm(),FT(),ET(),V1(),Sc.publishHandler(yc)}typeof plus!="undefined"?Rh():document.addEventListener("plusready",Rh)}); +`+e.stack):console.error(e)}var qa=!1,Go=!1,et=[],Nt=0,Ti=[],Ci=null,zr=0,Oi=[],qt=null,Ur=0,gf=Promise.resolve(),Jo=null,Qo=null;function Hr(e){var t=Jo||gf;return e?t.then(this?e.bind(this):e):t}function m0(e){for(var t=Nt+1,r=et.length;t>>1,a=Ai(et[i]);aNt&&et.splice(t,1)}function _f(e,t,r,i){ne(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),mf()}function b0(e){_f(e,Ci,Ti,zr)}function w0(e){_f(e,qt,Oi,Ur)}function es(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Ti.length){for(Qo=t,Ci=[...new Set(Ti)],Ti.length=0,zr=0;zrAi(r)-Ai(i)),Ur=0;Ure.id==null?1/0:e.id;function wf(e){Go=!1,qa=!0,es(e),et.sort((i,a)=>Ai(i)-Ai(a));var t=pt;try{for(Nt=0;Nt2?i-2:0),n=2;n_.trim()):f&&(o=a.map(yp))}var g,h=r[g=Eo(t)]||r[g=Eo(Rt(t))];!h&&s&&(h=r[g=Eo(Ge(t))]),h&&ft(h,e,6,o);var x=r[g+"Once"];if(x){if(!e.emitted)e.emitted={};else if(e.emitted[g])return;e.emitted[g]=!0,ft(x,e,6,o)}}function xf(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(!se(e)){var u=l=>{var f=xf(l,t,!0);f&&(s=!0,ce(o,f))};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!n&&!s?(i.set(e,null),null):(ne(n)?n.forEach(l=>o[l]=null):ce(o,n),i.set(e,o),o)}function ts(e,t){return!e||!Aa(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Ge(t))||ie(e,t))}var ct=null,yf=null;function Xa(e){var t=ct;return ct=e,yf=e&&e.type.__scopeId||null,t}function y0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ct;if(!t||e._n)return e;var r=function(){r._d&&Yf(-1);var i=Xa(t),a=e(...arguments);return Xa(i),r._d&&Yf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function WT(){}function rs(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:u,emit:l,render:f,renderCache:d,data:g,setupState:h,ctx:x,inheritAttrs:_}=e,w,m,b=Xa(e);try{if(r.shapeFlag&4){var c=a||i;w=yt(f.call(c,c,d,n,h,g,x)),m=u}else{var v=t;w=yt(v.length>1?v(n,{attrs:u,slots:s,emit:l}):v(n,null)),m=t.props?u:S0(u)}}catch(C){Ya(C,e,1),w=I(Wr)}var p=w;if(m&&_!==!1){var y=Object.keys(m),{shapeFlag:E}=p;y.length&&E&7&&(o&&y.some(bo)&&(m=E0(m,o)),p=Mi(p,m))}return r.dirs&&(p.dirs=p.dirs?p.dirs.concat(r.dirs):r.dirs),r.transition&&(p.transition=r.transition),w=p,Xa(b),w}var S0=e=>{var t;for(var r in e)(r==="class"||r==="style"||Aa(r))&&((t||(t={}))[r]=e[r]);return t},E0=(e,t)=>{var r={};for(var i in e)(!bo(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function T0(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:u}=t,l=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return i?Sf(i,o,l):!!o;if(u&8)for(var f=t.dynamicProps,d=0;de.__isSuspense;function A0(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):w0(e)}function ze(e,t){if(Ue){var r=Ue.provides,i=Ue.parent&&Ue.parent.provides;i===r&&(r=Ue.provides=Object.create(i)),r[e]=t}}function _e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=Ue||ct;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&&se(t)?t.call(i.proxy):t}}function I0(e,t){return is(e,null,t)}var Ef={};function W(e,t,r){return is(e,t,r)}function is(e,t){var{immediate:r,deep:i,flush:a,onTrack:n,onTrigger:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se,s=Ue,u,l=!1,f=!1;if($e(e)?(u=()=>e.value,l=uf(e)):$r(e)?(u=()=>e,i=!0):ne(e)?(f=!0,l=e.some($r),u=()=>e.map(b=>{if($e(b))return b.value;if($r(b))return cr(b);if(se(b))return Yt(b,s,2)})):se(e)?t?u=()=>Yt(e,s,2):u=()=>{if(!(s&&s.isUnmounted))return g&&g(),ft(e,s,3,[h])}:u=pt,t&&i){var d=u;u=()=>cr(d())}var g,h=b=>{g=m.onStop=()=>{Yt(b,s,4)}};if(Ri)return h=pt,t?r&&ft(t,s,3,[u(),f?[]:void 0,h]):u(),pt;var x=f?[]:Ef,_=()=>{if(!!m.active)if(t){var b=m.run();(i||l||(f?b.some((c,v)=>hi(c,x[v])):hi(b,x)))&&(g&&g(),ft(t,s,3,[b,x===Ef?void 0:x,h]),x=b)}else m.run()};_.allowRecurse=!!t;var w;a==="sync"?w=_:a==="post"?w=()=>Xe(_,s&&s.suspense):w=()=>{!s||s.isMounted?b0(_):_()};var m=new Wo(u,w);return t?r?_():x=m.run():a==="post"?Xe(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&wo(s.scope.effects,m)}}function k0(e,t,r){var i=this.proxy,a=Ee(e)?e.includes(".")?Tf(i,e):()=>i[e]:e.bind(i,i),n;se(t)?n=t:(n=t.handler,r=t);var o=Ue;Vr(this);var s=is(a,n.bind(i),r);return o?Vr(o):gr(),s}function Tf(e,t){var r=t.split(".");return()=>{for(var i=e,a=0;a{cr(a,t)});else if(mt(e))for(var i in e)cr(e[i],t);return e}function M0(e){return se(e)?{setup:e,name:e.name}:e}var as=e=>!!e.type.__asyncLoader,Cf=e=>e.type.__isKeepAlive;function ns(e,t){Of(e,"a",t)}function R0(e,t){Of(e,"da",t)}function Of(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=e.__wdc||(e.__wdc=()=>{for(var n=r;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Za(t,i,r),r)for(var a=r.parent;a&&a.parent;)Cf(a.parent.vnode)&&L0(i,t,r,a),a=a.parent}function L0(e,t,r,i){var a=Za(t,e,i,!0);Xt(()=>{wo(i[t],a)},r)}function Za(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,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){Br(),Vr(r);for(var o=arguments.length,s=new Array(o),u=0;ufunction(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;return(!Ri||e==="sp")&&Za(e,t,r)},Af=Dt("bm"),Re=Dt("m"),P0=Dt("bu"),N0=Dt("u"),Ae=Dt("bum"),Xt=Dt("um"),D0=Dt("sp"),B0=Dt("rtg"),F0=Dt("rtc");function $0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;Za("ec",e,t)}var os=!0;function z0(e){var t=Mf(e),r=e.proxy,i=e.ctx;os=!1,t.beforeCreate&&If(t.beforeCreate,e,"bc");var{data:a,computed:n,methods:o,watch:s,provide:u,inject:l,created:f,beforeMount:d,mounted:g,beforeUpdate:h,updated:x,activated:_,deactivated:w,beforeDestroy:m,beforeUnmount:b,destroyed:c,unmounted:v,render:p,renderTracked:y,renderTriggered:E,errorCaptured:C,serverPrefetch:O,expose:P,inheritAttrs:M,components:H,directives:re,filters:R}=t,B=null;if(l&&U0(l,i,B,e.appContext.config.unwrapInjectedRef),o)for(var X in o){var Q=o[X];se(Q)&&(i[X]=Q.bind(r))}if(a&&function(){var le=a.call(r,r);We(le)&&(e.data=ke(le))}(),os=!0,n){var V=function(le){var J=n[le],ye=se(J)?J.bind(r,r):se(J.get)?J.get.bind(r,r):pt,be=!se(J)&&se(J.set)?J.set.bind(r):pt,Ve=te({get:ye,set:be});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 ae in s)kf(s[ae],i,r,ae);if(u){var Te=se(u)?u.call(r):u;Reflect.ownKeys(Te).forEach(le=>{ze(le,Te[le])})}f&&If(f,e,"c");function oe(le,J){ne(J)?J.forEach(ye=>le(ye.bind(r))):J&&le(J.bind(r))}if(oe(Af,d),oe(Re,g),oe(P0,h),oe(N0,x),oe(ns,_),oe(R0,w),oe($0,C),oe(F0,y),oe(B0,E),oe(Ae,b),oe(Xt,v),oe(D0,O),ne(P))if(P.length){var de=e.exposed||(e.exposed={});P.forEach(le=>{Object.defineProperty(de,le,{get:()=>r[le],set:J=>r[le]=J})})}else e.exposed||(e.exposed={});p&&e.render===pt&&(e.render=p),M!=null&&(e.inheritAttrs=M),H&&(e.components=H),re&&(e.directives=re)}function U0(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ne(e)&&(e=ss(e));var i=function(n){var o=e[n],s=void 0;We(o)?"default"in o?s=_e(o.from||n,o.default,!0):s=_e(o.from||n):s=_e(o),$e(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:u=>s.value=u}):t[n]=s};for(var a in e)i(a)}function If(e,t,r){ft(ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function kf(e,t,r,i){var a=i.includes(".")?Tf(r,i):()=>r[i];if(Ee(e)){var n=t[e];se(n)&&W(a,n)}else if(se(e))W(a,e.bind(r));else if(We(e))if(ne(e))e.forEach(s=>kf(s,t,r,i));else{var o=se(e.handler)?e.handler.bind(r):t[e.handler];se(o)&&W(a,o,e)}}function Mf(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,s=n.get(t),u;return s?u=s:!a.length&&!r&&!i?u=t:(u={},a.length&&a.forEach(l=>Ka(u,l,o,!0)),Ka(u,t,o)),n.set(t,u),u}function Ka(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:a,extends:n}=t;n&&Ka(e,n,r,!0),a&&a.forEach(u=>Ka(e,u,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=H0[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var H0={data:Rf,props:vr,emits:vr,methods:vr,computed:vr,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:vr,directives:vr,watch:V0,provide:Rf,inject:W0};function Rf(e,t){return t?e?function(){return ce(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function W0(e,t){return vr(ss(e),ss(t))}function ss(e){if(ne(e)){for(var t={},r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,a={},n={};Ra(n,Ja,1),e.propsDefaults=Object.create(null),Lf(e,t,a,n);for(var o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:f0(a):e.type.props?e.props=a:e.props=n,e.attrs=n}function Y0(e,t,r,i){var{props:a,attrs:n,vnode:{patchFlag:o}}=e,s=me(a),[u]=e.propsOptions,l=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var f=e.vnode.dynamicProps,d=0;d2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,a=i.get(e);if(a)return a;var n=e.props,o={},s=[],u=!1;if(!se(e)){var l=c=>{u=!0;var[v,p]=Pf(c,t,!0);ce(o,v),p&&s.push(...p)};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!n&&!u)return i.set(e,ci),ci;if(ne(n))for(var f=0;f-1,_[1]=m<0||w-1||ie(_,"default"))&&s.push(h)}}}var b=[o,s];return i.set(e,b),b}function Nf(e){return e[0]!=="$"}function Df(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Bf(e,t){return Df(e)===Df(t)}function Ff(e,t){return ne(t)?t.findIndex(r=>Bf(r,e)):se(t)&&Bf(t,e)?0:-1}var $f=e=>e[0]==="_"||e==="$stable",us=e=>ne(e)?e.map(yt):[yt(e)],q0=(e,t,r)=>{var i=y0(function(){return us(t(...arguments))},r);return i._c=!1,i},zf=(e,t,r)=>{var i=e._ctx;for(var a in e)if(!$f(a)){var n=e[a];se(n)?t[a]=q0(a,n,i):n!=null&&function(){var o=us(n);t[a]=()=>o}()}},Uf=(e,t)=>{var r=us(t);e.slots.default=()=>r},X0=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=me(t),Ra(t,"_",r)):zf(t,e.slots={})}else e.slots={},t&&Uf(e,t);Ra(e.slots,Ja,1)},Z0=(e,t,r)=>{var{vnode:i,slots:a}=e,n=!0,o=Se;if(i.shapeFlag&32){var s=t._;s?r&&s===1?n=!1:(ce(a,t),!r&&s===1&&delete a._):(n=!t.$stable,zf(t,a)),o=t}else t&&(Uf(e,t),o={default:1});if(n)for(var u in a)!$f(u)&&!(u in o)&&delete a[u]};function Ii(e,t){var r=ct;if(r===null)return e;for(var i=r.proxy,a=e.dirs||(e.dirs=[]),n=0;n1&&arguments[1]!==void 0?arguments[1]:null;a!=null&&!We(a)&&(a=null);var n=Hf(),o=new Set,s=!1,u=n.app={_uid:K0++,_component:i,_props:a,_container:null,_context:n,_instance:null,version:m_,get config(){return n.config},set config(l){},use(l){for(var f=arguments.length,d=new Array(f>1?f-1:0),g=1;g4&&arguments[4]!==void 0?arguments[4]:!1;if(ne(e)){e.forEach((_,w)=>fs(_,t&&(ne(t)?t[w]:t),r,i,a));return}if(!(as(i)&&!a)){var n=i.shapeFlag&4?gs(i.component)||i.component.proxy:i.el,o=a?null:n,{i:s,r:u}=e,l=t&&t.r,f=s.refs===Se?s.refs={}:s.refs,d=s.setupState;if(l!=null&&l!==u&&(Ee(l)?(f[l]=null,ie(d,l)&&(d[l]=null)):$e(l)&&(l.value=null)),se(u))Yt(u,s,12,[o,f]);else{var g=Ee(u),h=$e(u);if(g||h){var x=()=>{if(e.f){var _=g?f[u]:u.value;a?ne(_)&&wo(_,n):ne(_)?_.includes(n)||_.push(n):g?f[u]=[n]:(u.value=[n],e.k&&(f[e.k]=u.value))}else g?(f[u]=o,ie(d,u)&&(d[u]=o)):$e(u)&&(u.value=o,e.k&&(f[e.k]=o))};o?(x.id=-1,Xe(x,r)):x()}}}}var Xe=A0;function J0(e){return Q0(e)}function Q0(e,t){var r=Sp();r.__VUE__=!0;var{insert:i,remove:a,patchProp:n,createElement:o,createText:s,createComment:u,setText:l,setElementText:f,parentNode:d,nextSibling:g,setScopeId:h=pt,cloneNode:x,insertStaticContent:_}=e,w=function(S,T,k){var L=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,z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!T.dynamicChildren;if(S!==T){S&&!ki(S,T)&&(L=Ve(S),de(S,N,$,!0),S=null),T.patchFlag===-2&&(z=!1,T.dynamicChildren=null);var{type:D,ref:ee,shapeFlag:G}=T;switch(D){case cs:m(S,T,k,L);break;case Wr:b(S,T,k,L);break;case vs:S==null&&c(T,k,L,j);break;case xt:re(S,T,k,L,N,$,j,F,z);break;default:G&1?y(S,T,k,L,N,$,j,F,z):G&6?R(S,T,k,L,N,$,j,F,z):(G&64||G&128)&&D.process(S,T,k,L,N,$,j,F,z,Ne)}ee!=null&&N&&fs(ee,S&&S.ref,$,T||S,!T)}},m=(S,T,k,L)=>{if(S==null)i(T.el=s(T.children),k,L);else{var N=T.el=S.el;T.children!==S.children&&l(N,T.children)}},b=(S,T,k,L)=>{S==null?i(T.el=u(T.children||""),k,L):T.el=S.el},c=(S,T,k,L)=>{[S.el,S.anchor]=_(S.children,T,k,L,S.el,S.anchor)},v=(S,T,k)=>{for(var{el:L,anchor:N}=S,$;L&&L!==N;)$=g(L),i(L,T,k),L=$;i(N,T,k)},p=S=>{for(var{el:T,anchor:k}=S,L;T&&T!==k;)L=g(T),a(T),T=L;a(k)},y=(S,T,k,L,N,$,j,F,z)=>{j=j||T.type==="svg",S==null?E(T,k,L,N,$,j,F,z):P(S,T,N,$,j,F,z)},E=(S,T,k,L,N,$,j,F)=>{var z,D,{type:ee,props:G,shapeFlag:Z,transition:fe,patchFlag:Be,dirs:Oe}=S;if(S.el&&x!==void 0&&Be===-1)z=S.el=x(S.el);else{if(z=S.el=o(S.type,$,G&&G.is,G),Z&8?f(z,S.children):Z&16&&O(S.children,z,null,L,N,$&&ee!=="foreignObject",j,F),Oe&&dr(S,null,L,"created"),G){for(var A in G)A!=="value"&&!Ia(A)&&n(z,A,null,G[A],$,S.children,L,N,be);"value"in G&&n(z,"value",null,G.value),(D=G.onVnodeBeforeMount)&&St(D,L,S)}C(z,S,S.scopeId,j,L)}Object.defineProperty(z,"__vueParentComponent",{value:L,enumerable:!1}),Oe&&dr(S,null,L,"beforeMount");var Y=(!N||N&&!N.pendingBranch)&&fe&&!fe.persisted;Y&&fe.beforeEnter(z),i(z,T,k),((D=G&&G.onVnodeMounted)||Y||Oe)&&Xe(()=>{D&&St(D,L,S),Y&&fe.enter(z),Oe&&dr(S,null,L,"mounted")},N)},C=(S,T,k,L,N)=>{if(k&&h(S,k),L)for(var $=0;$8&&arguments[8]!==void 0?arguments[8]:0,D=z;D{var F=T.el=S.el,{patchFlag:z,dynamicChildren:D,dirs:ee}=T;z|=S.patchFlag&16;var G=S.props||Se,Z=T.props||Se,fe;k&&hr(k,!1),(fe=Z.onVnodeBeforeUpdate)&&St(fe,k,T,S),ee&&dr(T,S,k,"beforeUpdate"),k&&hr(k,!0);var Be=N&&T.type!=="foreignObject";if(D?M(S.dynamicChildren,D,F,k,L,Be,$):j||K(S,T,F,null,k,L,Be,$,!1),z>0){if(z&16)H(F,T,G,Z,k,L,N);else if(z&2&&G.class!==Z.class&&n(F,"class",null,Z.class,N),z&4&&n(F,"style",G.style,Z.style,N),z&8)for(var Oe=T.dynamicProps,A=0;A{fe&&St(fe,k,T,S),ee&&dr(T,S,k,"updated")},L)},M=(S,T,k,L,N,$,j)=>{for(var F=0;F{if(k!==L){for(var F in L)if(!Ia(F)){var z=L[F],D=k[F];z!==D&&F!=="value"&&n(S,F,D,z,j,T.children,N,$,be)}if(k!==Se)for(var ee in k)!Ia(ee)&&!(ee in L)&&n(S,ee,k[ee],null,j,T.children,N,$,be);"value"in L&&n(S,"value",k.value,L.value)}},re=(S,T,k,L,N,$,j,F,z)=>{var D=T.el=S?S.el:s(""),ee=T.anchor=S?S.anchor:s(""),{patchFlag:G,dynamicChildren:Z,slotScopeIds:fe}=T;fe&&(F=F?F.concat(fe):fe),S==null?(i(D,k,L),i(ee,k,L),O(T.children,k,ee,N,$,j,F,z)):G>0&&G&64&&Z&&S.dynamicChildren?(M(S.dynamicChildren,Z,k,N,$,j,F),(T.key!=null||N&&T===N.subTree)&&Wf(S,T,!0)):K(S,T,k,ee,N,$,j,F,z)},R=(S,T,k,L,N,$,j,F,z)=>{T.slotScopeIds=F,S==null?T.shapeFlag&512?N.ctx.activate(T,k,L,j,z):B(T,k,L,N,$,j,z):X(S,T,z)},B=(S,T,k,L,N,$,j)=>{var F=S.component=f_(S,L,N);if(Cf(S)&&(F.ctx.renderer=Ne),c_(F),F.asyncDep){if(N&&N.registerDep(F,Q),!S.el){var z=F.subTree=I(Wr);b(null,z,T,k)}return}Q(F,S,T,k,N,$,j)},X=(S,T,k)=>{var L=T.component=S.component;if(T0(S,T,k))if(L.asyncDep&&!L.asyncResolved){V(L,T,k);return}else L.next=T,_0(L.update),L.update();else T.component=S.component,T.el=S.el,L.vnode=T},Q=(S,T,k,L,N,$,j)=>{var F=()=>{if(S.isMounted){var{next:ue,bu:Fe,u:Ke,parent:De,vnode:gt}=S,lr=ue,Mt;hr(S,!1),ue?(ue.el=gt.el,V(S,ue,j)):ue=gt,Fe&&To(Fe),(Mt=ue.props&&ue.props.onVnodeBeforeUpdate)&&St(Mt,De,ue,gt),hr(S,!0);var Rr=rs(S),Ut=S.subTree;S.subTree=Rr,w(Ut,Rr,d(Ut.el),Ve(Ut),S,N,$),ue.el=Rr.el,lr===null&&C0(S,Rr.el),Ke&&Xe(Ke,N),(Mt=ue.props&&ue.props.onVnodeUpdated)&&Xe(()=>St(Mt,De,ue,gt),N)}else{var ee,{el:G,props:Z}=T,{bm:fe,m:Be,parent:Oe}=S,A=as(T);if(hr(S,!1),fe&&To(fe),!A&&(ee=Z&&Z.onVnodeBeforeMount)&&St(ee,Oe,T),hr(S,!0),G&&fa){var Y=()=>{S.subTree=rs(S),fa(G,S.subTree,S,N,null)};A?T.type.__asyncLoader().then(()=>!S.isUnmounted&&Y()):Y()}else{var q=S.subTree=rs(S);w(null,q,k,L,S,N,$),T.el=q.el}if(Be&&Xe(Be,N),!A&&(ee=Z&&Z.onVnodeMounted)){var he=T;Xe(()=>St(ee,Oe,he),N)}T.shapeFlag&256&&S.a&&Xe(S.a,N),S.isMounted=!0,T=k=L=null}},z=S.effect=new Wo(F,()=>pf(S.update),S.scope),D=S.update=z.run.bind(z);D.id=S.uid,hr(S,!0),D()},V=(S,T,k)=>{T.component=S;var L=S.vnode.props;S.vnode=T,S.next=null,Y0(S,T.props,L,k),Z0(S,T.children,k),Br(),es(void 0,S.update),Fr()},K=function(S,T,k,L,N,$,j,F){var z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,D=S&&S.children,ee=S?S.shapeFlag:0,G=T.children,{patchFlag:Z,shapeFlag:fe}=T;if(Z>0){if(Z&128){Te(D,G,k,L,N,$,j,F,z);return}else if(Z&256){ae(D,G,k,L,N,$,j,F,z);return}}fe&8?(ee&16&&be(D,N,$),G!==D&&f(k,G)):ee&16?fe&16?Te(D,G,k,L,N,$,j,F,z):be(D,N,$,!0):(ee&8&&f(k,""),fe&16&&O(G,k,L,N,$,j,F,z))},ae=(S,T,k,L,N,$,j,F,z)=>{S=S||ci,T=T||ci;var D=S.length,ee=T.length,G=Math.min(D,ee),Z;for(Z=0;Zee?be(S,N,$,!0,!1,G):O(T,k,L,N,$,j,F,z,G)},Te=(S,T,k,L,N,$,j,F,z)=>{for(var D=0,ee=T.length,G=S.length-1,Z=ee-1;D<=G&&D<=Z;){var fe=S[D],Be=T[D]=z?Zt(T[D]):yt(T[D]);if(ki(fe,Be))w(fe,Be,k,null,N,$,j,F,z);else break;D++}for(;D<=G&&D<=Z;){var Oe=S[G],A=T[Z]=z?Zt(T[Z]):yt(T[Z]);if(ki(Oe,A))w(Oe,A,k,null,N,$,j,F,z);else break;G--,Z--}if(D>G){if(D<=Z)for(var Y=Z+1,q=YZ)for(;D<=G;)de(S[D],N,$,!0),D++;else{var he=D,ue=D,Fe=new Map;for(D=ue;D<=Z;D++){var Ke=T[D]=z?Zt(T[D]):yt(T[D]);Ke.key!=null&&Fe.set(Ke.key,D)}var De,gt=0,lr=Z-ue+1,Mt=!1,Rr=0,Ut=new Array(lr);for(D=0;D=lr){de(li,N,$,!0);continue}var Lr=void 0;if(li.key!=null)Lr=Fe.get(li.key);else for(De=ue;De<=Z;De++)if(Ut[De-ue]===0&&ki(li,T[De])){Lr=De;break}Lr===void 0?de(li,N,$,!0):(Ut[Lr-ue]=D+1,Lr>=Rr?Rr=Lr:Mt=!0,w(li,T[Lr],k,null,N,$,j,F,z),gt++)}var Lh=Mt?e_(Ut):ci;for(De=Lh.length-1,D=lr-1;D>=0;D--){var Rl=ue+D,Ph=T[Rl],Nh=Rl+14&&arguments[4]!==void 0?arguments[4]:null,{el:$,type:j,transition:F,children:z,shapeFlag:D}=S;if(D&6){oe(S.component.subTree,T,k,L);return}if(D&128){S.suspense.move(T,k,L);return}if(D&64){j.move(S,T,k,Ne);return}if(j===xt){i($,T,k);for(var ee=0;eeF.enter($),N);else{var{leave:Z,delayLeave:fe,afterLeave:Be}=F,Oe=()=>i($,T,k),A=()=>{Z($,()=>{Oe(),Be&&Be()})};fe?fe($,Oe,A):A()}else i($,T,k)},de=function(S,T,k){var L=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:z,dynamicChildren:D,shapeFlag:ee,patchFlag:G,dirs:Z}=S;if(F!=null&&fs(F,null,k,S,!0),ee&256){T.ctx.deactivate(S);return}var fe=ee&1&&Z,Be=!as(S),Oe;if(Be&&(Oe=j&&j.onVnodeBeforeUnmount)&&St(Oe,T,S),ee&6)ye(S.component,k,L);else{if(ee&128){S.suspense.unmount(k,L);return}fe&&dr(S,null,T,"beforeUnmount"),ee&64?S.type.remove(S,T,k,N,Ne,L):D&&($!==xt||G>0&&G&64)?be(D,T,k,!1,!0):($===xt&&G&384||!N&&ee&16)&&be(z,T,k),L&&le(S)}(Be&&(Oe=j&&j.onVnodeUnmounted)||fe)&&Xe(()=>{Oe&&St(Oe,T,S),fe&&dr(S,null,T,"unmounted")},k)},le=S=>{var{type:T,el:k,anchor:L,transition:N}=S;if(T===xt){J(k,L);return}if(T===vs){p(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,z=()=>j(k,$);F?F(S.el,$,z):z()}else $()},J=(S,T)=>{for(var k;S!==T;)k=g(S),a(S),S=k;a(T)},ye=(S,T,k)=>{var{bum:L,scope:N,update:$,subTree:j,um:F}=S;L&&To(L),N.stop(),$&&($.active=!1,de(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())},be=function(S,T,k){for(var L=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=$;jS.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&&de(T._vnode,null,null,!0);else{var L=T.__vueParent;w(T._vnode||null,S,T,null,L,null,k)}T._vnode=S},Ne={p:w,um:de,m:oe,r:le,mt:B,mc:O,pc:K,pbc:M,n:Ve,o:e},ua,fa;return t&&([ua,fa]=t(Ne)),{render:sr,hydrate:ua,createApp:G0(sr,ua)}}function hr(e,t){var{effect:r,update:i}=e;r.allowRecurse=i.allowRecurse=t}function Wf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,a=t.children;if(ne(i)&&ne(a))for(var n=0;n>1,e[r[s]]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 t_=e=>e.__isTeleport,r_=Symbol(),xt=Symbol(void 0),cs=Symbol(void 0),Wr=Symbol(void 0),vs=Symbol(void 0),Vf=null,jf=1;function Yf(e){jf+=e}function Ga(e){return e?e.__v_isVNode===!0:!1}function ki(e,t){return e.type===t.type&&e.key===t.key}var Ja="__vInternal",qf=e=>{var{key:t}=e;return t!=null?t:null},Qa=e=>{var{ref:t,ref_key:r,ref_for:i}=e;return t!=null?Ee(t)||$e(t)||se(t)?{i:ct,r:t,k:r,f:!!i}:t:null};function i_(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,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qf(t),ref:t&&Qa(t),scopeId:yf,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?(ds(u,r),n&128&&e.normalize(u)):r&&(u.shapeFlag|=Ee(r)?8:16),jf>0&&!o&&Vf&&(u.patchFlag>0||n&6)&&u.patchFlag!==32&&Vf.push(u),u}var I=a_;function a_(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===r_)&&(e=Wr),Ga(e)){var o=Mi(e,t,!0);return r&&ds(o,r),o}if(g_(e)&&(e=e.__vccOpts),t){t=n_(t);var{class:s,style:u}=t;s&&!Ee(s)&&(t.class=_o(s)),We(u)&&(ff(u)&&!ne(u)&&(u=ce({},u)),t.style=mo(u))}var l=Ee(e)?1:O0(e)?128:t_(e)?64:We(e)?4:se(e)?2:0;return i_(e,t,r,i,a,l,n,!0)}function n_(e){return e?ff(e)||Ja in e?ce({},e):e:null}function Mi(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?tt(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&qf(s),ref:t&&t.ref?r&&a?ne(a)?a.concat(Qa(t)):[a,Qa(t)]:Qa(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&&Mi(e.ssContent),ssFallback:e.ssFallback&&Mi(e.ssFallback),el:e.el,anchor:e.anchor};return u}function o_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(cs,null,e,t)}function yt(e){return e==null||typeof e=="boolean"?I(Wr):ne(e)?I(xt,null,e.slice()):typeof e=="object"?Zt(e):I(cs,null,String(e))}function Zt(e){return e.el===null||e.memo?e:Mi(e)}function ds(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(ne(t))r=16;else if(typeof t=="object")if(i&65){var a=t.default;a&&(a._c&&(a._d=!1),ds(e,a()),a._c&&(a._d=!0));return}else{r=32;var n=t._;!n&&!(Ja in t)?t._ctx=ct:n===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:ct},r=32):(t=String(t),i&64?(r=16,t=[o_(t)]):r=8);e.children=t,e.shapeFlag|=r}function tt(){for(var e={},t=0;t3&&arguments[3]!==void 0?arguments[3]:null;ft(e,t,7,[r,i])}var hs=e=>e?Xf(e)?gs(e)||e.proxy:hs(e.parent):null,en=ce(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=>hs(e.parent),$root:e=>hs(e.root),$emit:e=>e.emit,$options:e=>Mf(e),$forceUpdate:e=>()=>pf(e.update),$nextTick:e=>Hr.bind(e.proxy),$watch:e=>k0.bind(e)}),s_={get(e,t){var{_:r}=e,{ctx:i,setupState:a,data:n,props:o,accessCache:s,type:u,appContext:l}=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!==Se&&ie(a,t))return s[t]=1,a[t];if(n!==Se&&ie(n,t))return s[t]=2,n[t];if((f=r.propsOptions[0])&&ie(f,t))return s[t]=3,o[t];if(i!==Se&&ie(i,t))return s[t]=4,i[t];os&&(s[t]=0)}}var g=en[t],h,x;if(g)return t==="$attrs"&&Qe(r,"get",t),g(r);if((h=u.__cssModules)&&(h=h[t]))return h;if(i!==Se&&ie(i,t))return s[t]=4,i[t];if(x=l.config.globalProperties,ie(x,t))return x[t]},set(e,t,r){var{_:i}=e,{data:a,setupState:n,ctx:o}=i;if(n!==Se&&ie(n,t))n[t]=r;else if(a!==Se&&ie(a,t))a[t]=r;else if(ie(i.props,t))return!1;return 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,u;return!!a[t]||r!==Se&&ie(r,t)||i!==Se&&ie(i,t)||(u=s[0])&&ie(u,t)||ie(n,t)||ie(en,t)||ie(o.config.globalProperties,t)}},l_=Hf(),u_=0;function f_(e,t,r){var i=e.type,a=(t?t.appContext:e.appContext)||l_,n={uid:u_++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new Bm(!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:Pf(i,a),emitsOptions:xf(i,a),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:i.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,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=x0.bind(null,n),e.ce&&e.ce(n),n}var Ue=null,Bt=()=>Ue||ct,Vr=e=>{Ue=e,e.scope.on()},gr=()=>{Ue&&Ue.scope.off(),Ue=null};function Xf(e){return e.vnode.shapeFlag&4}var Ri=!1;function c_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ri=t;var{props:r,children:i}=e.vnode,a=Xf(e);j0(e,r,a,t),X0(e,i);var n=a?v_(e,t):void 0;return Ri=!1,n}function v_(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=ja(new Proxy(e.ctx,s_));var{setup:i}=r;if(i){var a=e.setupContext=i.length>1?h_(e):null;Vr(e),Br();var n=Yt(i,e,0,[e.props,a]);if(Fr(),gr(),bu(n)){if(n.then(gr,gr),t)return n.then(o=>{Zf(e,o,t)}).catch(o=>{Ya(o,e,0)});e.asyncDep=n}else Zf(e,n,t)}else Gf(e,t)}function Zf(e,t,r){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:We(t)&&(e.setupState=hf(t)),Gf(e,r)}var Kf;function Gf(e,t,r){var i=e.type;if(!e.render){if(!t&&Kf&&!i.render){var a=i.template;if(a){var{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:u}=i,l=ce(ce({isCustomElement:n,delimiters:s},o),u);i.render=Kf(a,l)}}e.render=i.render||pt}Vr(e),Br(),z0(e),Fr(),gr()}function d_(e){return new Proxy(e.attrs,{get(t,r){return Qe(e,"get","$attrs"),t[r]}})}function h_(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=d_(e))},slots:e.slots,emit:e.emit,expose:t}}function gs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hf(ja(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in en)return en[r](e)}}))}function g_(e){return se(e)&&"__vccOpts"in e}var te=(e,t)=>g0(e,t,Ri);function p_(e,t,r){var i=arguments.length;return i===2?We(t)&&!ne(t)?Ga(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Ga(r)&&(r=[r]),I(e,t,r))}var m_="3.2.30",__="http://www.w3.org/2000/svg",pr=typeof document!="undefined"?document:null,Jf=pr&&pr.createElement("template"),b_={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(__,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{Jf.innerHTML=i?"".concat(e,""):e;var s=Jf.content;if(i){for(var u=s.firstChild;u.firstChild;)s.appendChild(u.firstChild);s.removeChild(u)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function w_(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 x_(e,t,r){var i=e.style,a=Ee(r);if(r&&!a){for(var n in r)ps(i,n,r[n]);if(t&&!Ee(t))for(var o in t)r[o]==null&&ps(i,o,"")}else{var s=i.display;a?t!==r&&(i.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=s)}}var Qf=/\s*!important$/;function ps(e,t,r){if(ne(r))r.forEach(a=>ps(e,t,a));else if(r=E_(r),t.startsWith("--"))e.setProperty(t,r);else{var i=y_(e,t);Qf.test(r)?e.setProperty(Ge(i),r.replace(Qf,""),"important"):e[i]=r}}var ec=["Webkit","Moz","ms"],ms={};function y_(e,t){var r=ms[t];if(r)return r;var i=Rt(t);if(i!=="filter"&&i in e)return ms[t]=i;i=Ma(i);for(var a=0;atypeof rpx2px!="function"?e:Ee(e)?e.replace(S_,(t,r)=>rpx2px(r)+"px"):e,tc="http://www.w3.org/1999/xlink";function T_(e,t,r,i,a){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(tc,t.slice(6,t.length)):e.setAttributeNS(tc,t,r);else{var n=fp(t);r==null||n&&!mu(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}if(r===""||r==null){var u=typeof e[t];if(u==="boolean"){e[t]=mu(r);return}else if(r==null&&u==="string"){e[t]="",e.removeAttribute(t);return}else if(u==="number"){try{e[t]=0}catch(l){}e.removeAttribute(t);return}}try{e[t]=r}catch(l){}}var tn=Date.now,rc=!1;if(typeof window!="undefined"){tn()>document.createEvent("Event").timeStamp&&(tn=()=>performance.now());var ic=navigator.userAgent.match(/firefox\/(\d+)/i);rc=!!(ic&&Number(ic[1])<=53)}var _s=0,O_=Promise.resolve(),A_=()=>{_s=0},I_=()=>_s||(O_.then(A_),_s=tn());function k_(e,t,r,i){e.addEventListener(t,r,i)}function M_(e,t,r,i){e.removeEventListener(t,r,i)}function R_(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,u]=L_(t);if(i){var l=n[t]=P_(i,a);k_(e,s,l,u)}else o&&(M_(e,s,o,u),n[t]=void 0)}}var ac=/(?:Once|Passive|Capture)$/;function L_(e){var t;if(ac.test(e)){t={};for(var r;r=e.match(ac);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ge(e.slice(2)),t]}function P_(e,t){var r=i=>{var a=i.timeStamp||tn();(rc||a>=r.attached-1)&&ft(N_(i,r.value),t,5,[i])};return r.value=e,r.attached=I_(),r}function N_(e,t){if(ne(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 nc=/^on[a-z]/,D_=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,u=arguments.length>8?arguments[8]:void 0;t==="class"?w_(e,i,a):t==="style"?x_(e,r,i):Aa(t)?bo(t)||R_(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):B_(e,t,i,a))?C_(e,t,i,n,o,s,u):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),T_(e,t,i,a))};function B_(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&nc.test(t)&&se(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||nc.test(t)&&Ee(r)?!1:t in e}var F_=["ctrl","shift","alt","meta"],$_={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)=>F_.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},bs=(e,t)=>function(r){for(var i=0;i1?n-1:0),s=1;s{Pi(e,!1)}):Pi(e,i))},beforeUnmount(e,t){var{value:r}=t;Pi(e,r)}};function Pi(e,t){e.style.display=t?e._vod:"none"}var z_=ce({patchProp:D_},b_),oc;function U_(){return oc||(oc=J0(z_))}var sc=function(){var e=U_().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=H_(r);if(!!i){var a=e._component;!se(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 H_(e){if(Ee(e)){var t=document.querySelector(e);return t}return e}var lc=["top","left","right","bottom"],ws,rn={},ot;function xs(){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 uc(){if(ot=typeof ot=="string"?ot:xs(),!ot){lc.forEach(function(s){rn[s]=0});return}function e(s,u){var l=s.style;Object.keys(u).forEach(function(f){var d=u[f];l[f]=d})}var t=[];function r(s){s?t.push(s):t.forEach(function(u){u()})}var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,a)}catch(s){}function n(s,u){var l=document.createElement("div"),f=document.createElement("div"),d=document.createElement("div"),g=document.createElement("div"),h=100,x=1e4,_={position:"absolute",width:h+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ot+"(safe-area-inset-"+u+")"};e(l,_),e(f,_),e(d,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(g,{transition:"0s",animation:"none",width:"250%",height:"250%"}),l.appendChild(d),f.appendChild(g),s.appendChild(l),s.appendChild(f),r(function(){l.scrollTop=f.scrollTop=x;var m=l.scrollTop,b=f.scrollTop;function c(){this.scrollTop!==(this===l?m:b)&&(l.scrollTop=f.scrollTop=x,m=l.scrollTop,b=f.scrollTop,W_(u))}l.addEventListener("scroll",c,i),f.addEventListener("scroll",c,i)});var w=getComputedStyle(l);Object.defineProperty(rn,u,{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"}),lc.forEach(function(s){n(o,s)}),document.body.appendChild(o),r(),ws=!0}function an(e){return ws||uc(),rn[e]}var nn=[];function W_(e){nn.length||setTimeout(function(){var t={};nn.forEach(function(r){t[r]=rn[r]}),nn.length=0,on.forEach(function(r){r(t)})},0),nn.push(e)}var on=[];function V_(e){!xs()||(ws||uc(),typeof e=="function"&&on.push(e))}function j_(e){var t=on.indexOf(e);t>=0&&on.splice(t,1)}var Y_={get support(){return(typeof ot=="string"?ot:xs()).length!=0},get top(){return an("top")},get left(){return an("left")},get right(){return an("right")},get bottom(){return an("bottom")},onChange:V_,offChange:j_},sn=Y_,fc=bs(()=>{},["prevent"]);function ln(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function ys(){var e=document.documentElement.style,t=ln(e,"--window-top");return t?t+sn.top:0}function q_(){var e=document.documentElement.style,t=ys(),r=ln(e,"--window-bottom"),i=ln(e,"--window-left"),a=ln(e,"--window-right");return{top:t,bottom:r?r+sn.bottom:0,left:i?i+sn.left:0,right:a?a+sn.right:0}}function X_(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function un(e){return Symbol(e)}function cc(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function mr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return Z_(e);if(typeof e=="string"){var r=parseInt(e)||0;return cc(e)?uni.upx2px(r):r}return e}function Z_(e){return cc(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var K_="M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",G_="M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",J_="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",Q_="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",eb="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",fn="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",tb="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",rb="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",ib="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 cn(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 I("svg",{width:r,height:r,viewBox:"0 0 32 32"},[I("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function vn(){return Kt()}function ab(){return window.__PAGE_INFO__}function Kt(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function nb(e){e.preventDefault()}var vc,dc=0;function ob(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,a=!1,n=!1,o=!0,s=()=>{var{scrollHeight:l}=document.documentElement,f=window.innerHeight,d=window.scrollY,g=d>0&&l>f&&d+f+i>=l,h=Math.abs(l-dc)>i;return g&&(!n||h)?(dc=l,n=!0,!0):(!g&&n&&(n=!1),!1)},u=()=>{t&&t(window.pageYOffset);function l(){if(s())return r&&r(),o=!1,setTimeout(function(){o=!0},350),!0}r&&o&&(l()||(vc=setTimeout(l,300))),a=!1};return function(){clearTimeout(vc),a||requestAnimationFrame(u),a=!0}}function Ss(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Ss(e,t.substr(2));for(var r=t.split("/"),i=r.length,a=0;a0?e.split("/"):[];return n.splice(n.length-a-1,a+1),Ao(n.concat(r).join("/"))}var jr,hc,Yr;function gc(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function pc(){return jr.webview.currentWebview().id}var dn,Es,Ts={};function Cs(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Ts[r];i&&i(t),t.keep||delete Ts[r]}}function sb(e,t){gc()==="v8"?Yr?(dn&&dn.close(),dn=new Yr(pc()),dn.onmessage=Cs):Es||(Es=hc.requireModule("globalEvent"),Es.addEventListener("plusMessage",Cs)):window.__plusMessage=Cs,Ts[e]=t}class lb{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(Yr){var a=new Yr(i);a.postMessage(r)}else jr.webview.postMessageToUniNView&&jr.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function ub(e){var{context:t={},url:r,data:i={},style:a={},onMessage:n,onClose:o}=e;jr=t.plus||plus,hc=t.weex||(typeof weex=="object"?weex:null),Yr=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var s={autoBackButton:!0,titleSize:"17px"},u="page".concat(Date.now());a=ce({},a),a.titleNView!==!1&&a.titleNView!=="none"&&(a.titleNView=ce(s,a.titleNView));var l={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"".concat(typeof process=="object"&&process.env&&{}.VUE_APP_TEMPLATE_PATH||"","/").concat(r,".js"),defaultFontSize:16,viewport:jr.screen.resolutionWidth}};a=ce(l,a);var f=jr.webview.create("",u,a,{extras:{from:pc(),runtime:gc(),data:i,useGlobalEvent:!Yr}});return f.addEventListener("close",o),sb(u,d=>{typeof n=="function"&&n(d.data),d.keep||f.close("auto")}),f.show(a.animationType,a.animationDuration),new lb(f)}class fb{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=mc(this.$el.querySelector(t));if(!!r)return Os(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),a=0;a-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];se(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(kp,{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 Os(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new fb(e)),e.$el.__wxsComponentDescriptor}function Ni(e,t){return Os(e)}function mc(e){if(!!e)return qr(e)}function qr(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(u=>{e.style[u]=t[u]})})),n&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(u=>{e.classList.remove(u)}),r&&r.forEach(u=>{e.classList.add(u)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var cb=e=>e.type==="click";function _c(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];var a=i.tagName.indexOf("UNI-")!==0,n=bc(e,a);if(cb(e))db(n,e);else if(e instanceof TouchEvent){var o=ys();n.touches=wc(e.touches,o),n.changedTouches=wc(e.changedTouches,o)}return[n]}function vb(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function bc(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:ko(t?a:vb(a)),detail:{},currentTarget:ko(n)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function db(e,t){var{x:r,y:i}=t,a=ys();e.detail={x:r,y:i-a},e.touches=e.changedTouches=[hb(t,a)]}function hb(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function wc(e,t){for(var r=[],i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=Kt()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},gb)}function yb(e,t){var r=e[0];if(!(!t||!mt(t.formatArgs)&&mt(r)))for(var i=t.formatArgs,a=Object.keys(i),n=0;nplus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Cb(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}var Ob=0;function Ab(e,t,r){var i="".concat(Date.now()).concat(Ob++),a=e.split(","),n=a[0],o=a[1],s=(n.match(/data:image\/(\S+?);/)||["","png"])[1].replace("jpeg","jpg"),u="".concat(i,".").concat(s),l="".concat(t,"/").concat(u),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(x){x.getFile(u,{create:!0,exclusive:!1},function(_){_.createWriter(function(w){w.onwrite=function(){r(null,l)},w.onerror=r,w.seek(0),w.writeAsBinary(o)},r)},r)},r)},r)}function Ib(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 kb(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 Mb(e){return kb(e).then(function(t){var r=window;return r.webkit&&r.webkit.messageHandlers?Ib(t):plus.io.convertLocalFileSystemURL(t)})}var Ft={};(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 u in s)r(s,u)&&(n[u]=s[u])}}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,u,l){if(o.subarray&&n.subarray){n.set(o.subarray(s,s+u),l);return}for(var f=0;f=0;)e[t]=0}var Nb=0,Ac=1,Db=2,Bb=3,Fb=258,As=29,Bi=256,Fi=Bi+1+As,Kr=30,Is=19,Ic=2*Fi+1,_r=15,ks=16,$b=7,Ms=256,kc=16,Mc=17,Rc=18,Rs=[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],hn=[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],zb=[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],Ub=512,$t=new Array((Fi+2)*2);Zr($t);var $i=new Array(Kr*2);Zr($i);var zi=new Array(Ub);Zr(zi);var Ui=new Array(Fb-Bb+1);Zr(Ui);var Ls=new Array(As);Zr(Ls);var gn=new Array(Kr);Zr(gn);function Ps(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 Ns(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Bc(e){return e<256?zi[e]:zi[256+(e>>>7)]}function Hi(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>ks-r?(e.bi_buf|=t<>ks-e.bi_valid,e.bi_valid+=r-ks):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function Hb(e){e.bi_valid===16?(Hi(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 Wb(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,u=t.stat_desc.max_length,l,f,d,g,h,x,_=0;for(g=0;g<=_r;g++)e.bl_count[g]=0;for(r[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;lu&&(g=u,_++),r[f*2+1]=g,!(f>i)&&(e.bl_count[g]++,h=0,f>=s&&(h=o[f-s]),x=r[f*2],e.opt_len+=x*(g+h),n&&(e.static_len+=x*(a[f*2+1]+h)));if(_!==0){do{for(g=u-1;e.bl_count[g]===0;)g--;e.bl_count[g]--,e.bl_count[g+1]+=2,e.bl_count[u]--,_-=2}while(_>0);for(g=u;g!==0;g--)for(f=e.bl_count[g];f!==0;)d=e.heap[--l],!(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(_r+1),a=0,n,o;for(n=1;n<=_r;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 Vb(){var e,t,r,i,a,n=new Array(_r+1);for(r=0,i=0;i>=7;i8?Hi(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 jb(e,t,r,i){Uc(e),i&&(Hi(e,r),Hi(e,~r)),Rb.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]>1;o>=1;o--)Ds(e,r,o);l=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ds(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[l*2]=r[o*2]+r[s*2],e.depth[l]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=l,e.heap[1]=l++,Ds(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Wb(e,t),$c(r,u,e.bl_count)}function Vc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,u=7,l=4;for(o===0&&(u=138,l=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)n=o,o=t[(i+1)*2+1],!(++s=3&&e.bl_tree[Lc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function qb(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>>=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;r0?(e.strm.data_type===Pb&&(e.strm.data_type=Xb(e)),Bs(e,e.l_desc),Bs(e,e.d_desc),o=Yb(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===Lb||n===a?(Ze(e,(Ac<<1)+(i?1:0),3),Wc(e,$t,$i)):(Ze(e,(Db<<1)+(i?1:0),3),qb(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 Jb(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[(Ui[r]+Bi+1)*2]++,e.dyn_dtree[Bc(t)*2]++),e.last_lit===e.lit_bufsize-1}Xr._tr_init=Zb,Xr._tr_stored_block=qc,Xr._tr_flush_block=Gb,Xr._tr_tally=Jb,Xr._tr_align=Kb;function Qb(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=Qb;function ew(){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 tw=ew();function rw(e,t,r,i){var a=tw,n=i+r;e^=-1;for(var o=i;o>>8^a[(e^t[o])&255];return e^-1}var Zc=rw,Fs={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=Ft,st=Xr,Kc=Xc,Gt=Zc,iw=Fs,br=0,aw=1,nw=3,Jt=4,Gc=5,Ct=0,Jc=1,lt=-2,ow=-3,$s=-5,sw=-1,lw=1,pn=2,uw=3,fw=4,cw=0,vw=2,mn=8,dw=9,hw=15,gw=8,pw=29,mw=256,zs=mw+1+pw,_w=30,bw=19,ww=2*zs+1,xw=15,ve=3,Qt=258,dt=Qt+ve+1,yw=32,_n=42,Us=69,bn=73,wn=91,xn=103,wr=113,Wi=666,Le=1,Vi=2,xr=3,Gr=4,Sw=3;function er(e,t){return e.msg=iw[t],t}function Qc(e){return(e<<1)-(e>4?9:0)}function tr(e){for(var t=e.length;--t>=0;)e[t]=0}function rr(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 He(e,t){st._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,rr(e.strm)}function pe(e,t){e.pending_buf[e.pending++]=t}function ji(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function Ew(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=Gt(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,u=e.strstart>e.w_size-dt?e.strstart-(e.w_size-dt):0,l=e.window,f=e.w_mask,d=e.prev,g=e.strstart+Qt,h=l[i+o-1],x=l[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(l[a+o]!==x||l[a+o-1]!==h||l[a]!==l[i]||l[++a]!==l[i+1])){i+=2,a++;do;while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&io){if(e.match_start=t,o=n,n>=s)break;h=l[i+o-1],x=l[i+o]}}while((t=d[t&f])>u&&--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-dt)){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=Ew(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=ve)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yr(e),e.lookahead===0&&t===br)return Le;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,He(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-dt&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Jt?(He(e,!0),e.strm.avail_out===0?xr:Gr):(e.strstart>e.block_start&&(He(e,!1),e.strm.avail_out===0),Le)}function Hs(e,t){for(var r,i;;){if(e.lookahead=ve&&(e.ins_h=(e.ins_h<=ve)if(i=st._tr_tally(e,e.strstart-e.match_start,e.match_length-ve),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ve){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=ve&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=ve-1)),e.prev_length>=ve&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-ve,i=st._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ve),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<=ve&&e.strstart>0&&(a=e.strstart-1,i=o[a],i===o[++a]&&i===o[++a]&&i===o[++a])){n=e.strstart+Qt;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]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ve?(r=st._tr_tally(e,1,e.match_length-ve),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Jt?(He(e,!0),e.strm.avail_out===0?xr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Le:Vi}function Ow(e,t){for(var r;;){if(e.lookahead===0&&(yr(e),e.lookahead===0)){if(t===br)return Le;break}if(e.match_length=0,r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Jt?(He(e,!0),e.strm.avail_out===0?xr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Le:Vi}function Ot(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 Qr;Qr=[new Ot(0,0,0,0,Tw),new Ot(4,4,8,4,Hs),new Ot(4,5,16,8,Hs),new Ot(4,6,32,32,Hs),new Ot(4,4,16,16,Jr),new Ot(8,16,32,32,Jr),new Ot(8,16,128,128,Jr),new Ot(8,32,128,256,Jr),new Ot(32,128,258,1024,Jr),new Ot(32,258,258,4096,Jr)];function Aw(e){e.window_size=2*e.w_size,tr(e.head),e.max_lazy_match=Qr[e.level].max_lazy,e.good_match=Qr[e.level].good_length,e.nice_match=Qr[e.level].nice_length,e.max_chain_length=Qr[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ve-1,e.match_available=0,e.ins_h=0}function Iw(){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=mn,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(ww*2),this.dyn_dtree=new qe.Buf16((2*_w+1)*2),this.bl_tree=new qe.Buf16((2*bw+1)*2),tr(this.dyn_ltree),tr(this.dyn_dtree),tr(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*zs+1),tr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new qe.Buf16(2*zs+1),tr(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?er(e,lt):(e.total_in=e.total_out=0,e.data_type=vw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?_n:wr,e.adler=t.wrap===2?0:1,t.last_flush=br,st._tr_init(t),Ct)}function rv(e){var t=tv(e);return t===Ct&&Aw(e.state),t}function kw(e,t){return!e||!e.state||e.state.wrap!==2?lt:(e.state.gzhead=t,Ct)}function iv(e,t,r,i,a,n){if(!e)return lt;var o=1;if(t===sw&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>dw||r!==mn||i<8||i>15||t<0||t>9||n<0||n>fw)return er(e,lt);i===8&&(i=9);var s=new Iw;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<Gc||t<0)return e?er(e,lt):lt;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Wi&&t!==Jt)return er(e,e.avail_out===0?$s:lt);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===_n)if(i.wrap===2)e.adler=0,pe(i,31),pe(i,139),pe(i,8),i.gzhead?(pe(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)),pe(i,i.gzhead.time&255),pe(i,i.gzhead.time>>8&255),pe(i,i.gzhead.time>>16&255),pe(i,i.gzhead.time>>24&255),pe(i,i.level===9?2:i.strategy>=pn||i.level<2?4:0),pe(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(pe(i,i.gzhead.extra.length&255),pe(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Gt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Us):(pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,i.level===9?2:i.strategy>=pn||i.level<2?4:0),pe(i,Sw),i.status=wr);else{var o=mn+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=pn||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=yw),o+=31-o%31,i.status=wr,ji(i,o),i.strstart!==0&&(ji(i,e.adler>>>16),ji(i,e.adler&65535)),e.adler=1}if(i.status===Us)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=Gt(e.adler,i.pending_buf,i.pending-a,a)),rr(e),a=i.pending,i.pending===i.pending_buf_size));)pe(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Gt(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=bn)}else i.status=bn;if(i.status===bn)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Gt(e.adler,i.pending_buf,i.pending-a,a)),rr(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Gt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.gzindex=0,i.status=wn)}else i.status=wn;if(i.status===wn)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Gt(e.adler,i.pending_buf,i.pending-a,a)),rr(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Gt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.status=xn)}else i.status=xn;if(i.status===xn&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&rr(e),i.pending+2<=i.pending_buf_size&&(pe(i,e.adler&255),pe(i,e.adler>>8&255),e.adler=0,i.status=wr)):i.status=wr),i.pending!==0){if(rr(e),e.avail_out===0)return i.last_flush=-1,Ct}else if(e.avail_in===0&&Qc(t)<=Qc(r)&&t!==Jt)return er(e,$s);if(i.status===Wi&&e.avail_in!==0)return er(e,$s);if(e.avail_in!==0||i.lookahead!==0||t!==br&&i.status!==Wi){var u=i.strategy===pn?Ow(i,t):i.strategy===uw?Cw(i,t):Qr[i.level].func(i,t);if((u===xr||u===Gr)&&(i.status=Wi),u===Le||u===xr)return e.avail_out===0&&(i.last_flush=-1),Ct;if(u===Vi&&(t===aw?st._tr_align(i):t!==Gc&&(st._tr_stored_block(i,0,0,!1),t===nw&&(tr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),rr(e),e.avail_out===0))return i.last_flush=-1,Ct}return t!==Jt?Ct:i.wrap<=0?Jc:(i.wrap===2?(pe(i,e.adler&255),pe(i,e.adler>>8&255),pe(i,e.adler>>16&255),pe(i,e.adler>>24&255),pe(i,e.total_in&255),pe(i,e.total_in>>8&255),pe(i,e.total_in>>16&255),pe(i,e.total_in>>24&255)):(ji(i,e.adler>>>16),ji(i,e.adler&65535)),rr(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ct:Jc)}function Lw(e){var t;return!e||!e.state?lt:(t=e.state.status,t!==_n&&t!==Us&&t!==bn&&t!==wn&&t!==xn&&t!==wr&&t!==Wi?er(e,lt):(e.state=null,t===wr?er(e,ow):Ct))}function Pw(e,t){var r=t.length,i,a,n,o,s,u,l,f;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==_n||i.lookahead))return lt;for(o===1&&(e.adler=Kc(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(tr(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,u=e.next_in,l=e.input,e.avail_in=r,e.next_in=0,e.input=t,yr(i);i.lookahead>=ve;){a=i.strstart,n=i.lookahead-(ve-1);do i.ins_h=(i.ins_h<=252?6:ir>=248?5:ir>=240?4:ir>=224?3:ir>=192?2:1;Yi[254]=Yi[254]=1,Sr.string2buf=function(e){var t,r,i,a,n,o=e.length,s=0;for(a=0;a>>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,yn.shrinkBuf(e,t));for(var r="",i=0;i4){s[i++]=65533,r+=n-1;continue}for(a&=n===2?31:n===3?15:7;n>1&&r1){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)},Sr.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+Yi[e[r]]>t?r:t};function Nw(){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=Nw,qi=Et,Xi=Ft,Ws=Sr,Vs=Fs,Dw=sv,lv=Object.prototype.toString,Bw=0,js=4,ei=0,uv=1,fv=2,Fw=-1,$w=0,zw=8;function Er(e){if(!(this instanceof Er))return new Er(e);this.options=Xi.assign({level:Fw,method:zw,chunkSize:16384,windowBits:15,memLevel:8,strategy:$w,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 Dw,this.strm.avail_out=0;var r=qi.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==ei)throw new Error(Vs[r]);if(t.header&&qi.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=Ws.string2buf(t.dictionary):lv.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=qi.deflateSetDictionary(this.strm,i),r!==ei)throw new Error(Vs[r]);this._dict_set=!0}}Er.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?js:Bw,typeof e=="string"?r.input=Ws.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 Xi.Buf8(i),r.next_out=0,r.avail_out=i),a=qi.deflate(r,n),a!==uv&&a!==ei)return this.onEnd(a),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===js||n===fv))&&(this.options.to==="string"?this.onData(Ws.buf2binstring(Xi.shrinkBuf(r.output,r.next_out))):this.onData(Xi.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&a!==uv);return n===js?(a=qi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ei):(n===fv&&(this.onEnd(ei),r.avail_out=0),!0)},Er.prototype.onData=function(e){this.chunks.push(e)},Er.prototype.onEnd=function(e){e===ei&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Xi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Ys(e,t){var r=new Er(t);if(r.push(e,!0),r.err)throw r.msg||Vs[r.err];return r.result}function Uw(e,t){return t=t||{},t.raw=!0,Ys(e,t)}function Hw(e,t){return t=t||{},t.gzip=!0,Ys(e,t)}Di.Deflate=Er,Di.deflate=Ys,Di.deflateRaw=Uw,Di.gzip=Hw;var Zi={},ht={},Sn=30,Ww=12,Vw=function(t,r){var i,a,n,o,s,u,l,f,d,g,h,x,_,w,m,b,c,v,p,y,E,C,O,P,M;i=t.state,a=t.next_in,P=t.input,n=a+(t.avail_in-5),o=t.next_out,M=t.output,s=o-(r-t.avail_out),u=o+(t.avail_out-257),l=i.dmax,f=i.wsize,d=i.whave,g=i.wnext,h=i.window,x=i.hold,_=i.bits,w=i.lencode,m=i.distcode,b=(1<>>24,x>>>=p,_-=p,p=v>>>16&255,p===0)M[o++]=v&65535;else if(p&16){y=v&65535,p&=15,p&&(_>>=p,_-=p),_<15&&(x+=P[a++]<<_,_+=8,x+=P[a++]<<_,_+=8),v=m[x&c];r:for(;;){if(p=v>>>24,x>>>=p,_-=p,p=v>>>16&255,p&16){if(E=v&65535,p&=15,_l){t.msg="invalid distance too far back",i.mode=Sn;break e}if(x>>>=p,_-=p,p=o-s,E>p){if(p=E-p,p>d&&i.sane){t.msg="invalid distance too far back",i.mode=Sn;break e}if(C=0,O=h,g===0){if(C+=f-p,p2;)M[o++]=O[C++],M[o++]=O[C++],M[o++]=O[C++],y-=3;y&&(M[o++]=O[C++],y>1&&(M[o++]=O[C++]))}else{C=o-E;do M[o++]=M[C++],M[o++]=M[C++],M[o++]=M[C++],y-=3;while(y>2);y&&(M[o++]=M[C++],y>1&&(M[o++]=M[C++]))}}else if((p&64)===0){v=m[(v&65535)+(x&(1<>3,a-=y,_-=y<<3,x&=(1<<_)-1,t.next_in=a,t.next_out=o,t.avail_in=a=1&&H[h]===0;h--);if(x>h&&(x=h),h===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,u.bits=1,0;for(g=1;g0&&(t===hv||h!==1))return-1;for(re[1]=0,f=1;fvv||t===gv&&b>dv)return 1;for(;;){X=f-w,s[d]M?(Q=R[B+s[d]],V=O[P+s[d]]):(Q=32+64,V=0),v=1<>w)+p]=X<<24|Q<<16|V|0;while(p!==0);for(v=1<>=1;if(v!==0?(c&=v-1,c+=v):c=0,d++,--H[f]===0){if(f===h)break;f=r[i+s[d]]}if(f>x&&(c&E)!==y){for(w===0&&(w=x),C+=g,_=f-w,m=1<<_;_+wvv||t===gv&&b>dv)return 1;y=c&E,n[y]=x<<24|_<<16|C-o|0}}return c!==0&&(n[C+c]=f-w<<24|64<<16|0),u.bits=x,0},rt=Ft,Xs=Xc,At=Zc,Kw=Vw,Ki=Zw,Gw=0,pv=1,mv=2,_v=4,Jw=5,En=6,Tr=0,Qw=1,e1=2,ut=-2,bv=-3,wv=-4,t1=-5,xv=8,yv=1,Sv=2,Ev=3,Tv=4,Cv=5,Ov=6,Av=7,Iv=8,kv=9,Mv=10,Tn=11,zt=12,Zs=13,Rv=14,Ks=15,Lv=16,Pv=17,Nv=18,Dv=19,Cn=20,On=21,Bv=22,Fv=23,$v=24,zv=25,Uv=26,Gs=27,Hv=28,Wv=29,Ce=30,Vv=31,r1=32,i1=852,a1=592,n1=15,o1=n1;function jv(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function s1(){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 rt.Buf16(320),this.work=new rt.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?ut:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=yv,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new rt.Buf32(i1),t.distcode=t.distdyn=new rt.Buf32(a1),t.sane=1,t.back=-1,Tr)}function qv(e){var t;return!e||!e.state?ut:(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))?ut:(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 s1,e.state=i,i.window=null,r=Xv(e,t),r!==Tr&&(e.state=null),r):ut}function l1(e){return Zv(e,o1)}var Kv=!0,Js,Qs;function u1(e){if(Kv){var t;for(Js=new rt.Buf32(512),Qs=new rt.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(Ki(pv,e.lens,0,288,Js,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ki(mv,e.lens,0,32,Qs,0,e.work,{bits:5}),Kv=!1}e.lencode=Js,e.lenbits=9,e.distcode=Qs,e.distbits=5}function Gv(e,t,r,i){var a,n=e.state;return n.window===null&&(n.wsize=1<=n.wsize?(rt.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),rt.arraySet(n.window,t,r-i,a,n.wnext),i-=a,i?(rt.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>>8&255,r.check=At(r.check,O,2,0),l=0,f=0,r.mode=Sv;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg="incorrect header check",r.mode=Ce;break}if((l&15)!==xv){e.msg="unknown compression method",r.mode=Ce;break}if(l>>>=4,f-=4,E=(l&15)+8,r.wbits===0)r.wbits=E;else if(E>r.wbits){e.msg="invalid window size",r.mode=Ce;break}r.dmax=1<>8&1),r.flags&512&&(O[0]=l&255,O[1]=l>>>8&255,r.check=At(r.check,O,2,0)),l=0,f=0,r.mode=Ev;case Ev:for(;f<32;){if(s===0)break e;s--,l+=i[n++]<>>8&255,O[2]=l>>>16&255,O[3]=l>>>24&255,r.check=At(r.check,O,4,0)),l=0,f=0,r.mode=Tv;case Tv:for(;f<16;){if(s===0)break e;s--,l+=i[n++]<>8),r.flags&512&&(O[0]=l&255,O[1]=l>>>8&255,r.check=At(r.check,O,2,0)),l=0,f=0,r.mode=Cv;case Cv:if(r.flags&1024){for(;f<16;){if(s===0)break e;s--,l+=i[n++]<>>8&255,r.check=At(r.check,O,2,0)),l=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)),rt.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=Av;case Av: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>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=zt;break;case Mv:for(;f<32;){if(s===0)break e;s--,l+=i[n++]<>>=f&7,f-=f&7,r.mode=Gs;break}for(;f<3;){if(s===0)break e;s--,l+=i[n++]<>>=1,f-=1,l&3){case 0:r.mode=Rv;break;case 1:if(u1(r),r.mode=Cn,t===En){l>>>=2,f-=2;break e}break;case 2:r.mode=Pv;break;case 3:e.msg="invalid block type",r.mode=Ce}l>>>=2,f-=2;break;case Rv:for(l>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,l+=i[n++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=Ce;break}if(r.length=l&65535,l=0,f=0,r.mode=Ks,t===En)break e;case Ks:r.mode=Lv;case Lv:if(h=r.length,h){if(h>s&&(h=s),h>u&&(h=u),h===0)break e;rt.arraySet(a,i,n,h,o),s-=h,n+=h,u-=h,o+=h,r.length-=h;break}r.mode=zt;break;case Pv:for(;f<14;){if(s===0)break e;s--,l+=i[n++]<>>=5,f-=5,r.ndist=(l&31)+1,l>>>=5,f-=5,r.ncode=(l&15)+4,l>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Ce;break}r.have=0,r.mode=Nv;case Nv:for(;r.have>>=3,f-=3}for(;r.have<19;)r.lens[H[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,P={bits:r.lenbits},C=Ki(Gw,r.lens,0,19,r.lencode,0,r.work,P),r.lenbits=P.bits,C){e.msg="invalid code lengths set",r.mode=Ce;break}r.have=0,r.mode=Dv;case Dv:for(;r.have>>24,b=w>>>16&255,c=w&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=m,f-=m,r.lens[r.have++]=c;else{if(c===16){for(M=m+2;f>>=m,f-=m,r.have===0){e.msg="invalid bit length repeat",r.mode=Ce;break}E=r.lens[r.have-1],h=3+(l&3),l>>>=2,f-=2}else if(c===17){for(M=m+3;f>>=m,f-=m,E=0,h=3+(l&7),l>>>=3,f-=3}else{for(M=m+7;f>>=m,f-=m,E=0,h=11+(l&127),l>>>=7,f-=7}if(r.have+h>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Ce;break}for(;h--;)r.lens[r.have++]=E}}if(r.mode===Ce)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Ce;break}if(r.lenbits=9,P={bits:r.lenbits},C=Ki(pv,r.lens,0,r.nlen,r.lencode,0,r.work,P),r.lenbits=P.bits,C){e.msg="invalid literal/lengths set",r.mode=Ce;break}if(r.distbits=6,r.distcode=r.distdyn,P={bits:r.distbits},C=Ki(mv,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,P),r.distbits=P.bits,C){e.msg="invalid distances set",r.mode=Ce;break}if(r.mode=Cn,t===En)break e;case Cn:r.mode=On;case On:if(s>=6&&u>=258){e.next_out=o,e.avail_out=u,e.next_in=n,e.avail_in=s,r.hold=l,r.bits=f,Kw(e,g),o=e.next_out,a=e.output,u=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,l=r.hold,f=r.bits,r.mode===zt&&(r.back=-1);break}for(r.back=0;w=r.lencode[l&(1<>>24,b=w>>>16&255,c=w&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>v)],m=w>>>24,b=w>>>16&255,c=w&65535,!(v+m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=v,f-=v,r.back+=v}if(l>>>=m,f-=m,r.back+=m,r.length=c,b===0){r.mode=Uv;break}if(b&32){r.back=-1,r.mode=zt;break}if(b&64){e.msg="invalid literal/length code",r.mode=Ce;break}r.extra=b&15,r.mode=Bv;case Bv:if(r.extra){for(M=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Fv;case Fv:for(;w=r.distcode[l&(1<>>24,b=w>>>16&255,c=w&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>v)],m=w>>>24,b=w>>>16&255,c=w&65535,!(v+m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=v,f-=v,r.back+=v}if(l>>>=m,f-=m,r.back+=m,b&64){e.msg="invalid distance code",r.mode=Ce;break}r.offset=c,r.extra=b&15,r.mode=$v;case $v:if(r.extra){for(M=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Ce;break}r.mode=zv;case zv:if(u===0)break e;if(h=g-u,r.offset>h){if(h=r.offset-h,h>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Ce;break}h>r.wnext?(h-=r.wnext,x=r.wsize-h):x=r.wnext-h,h>r.length&&(h=r.length),_=r.window}else _=a,x=o-r.offset,h=r.length;h>u&&(h=u),u-=h,r.length-=h;do a[o++]=_[x++];while(--h);r.length===0&&(r.mode=On);break;case Uv:if(u===0)break e;a[o++]=r.length,u--,r.mode=On;break;case Gs:if(r.wrap){for(;f<32;){if(s===0)break e;s--,l|=i[n++]<=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 p1,this.strm.avail_out=0;var r=ri.inflateInit2(this.strm,t.windowBits);if(r!==Me.Z_OK)throw new Error(el[r]);if(this.header=new m1,ri.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=An.string2buf(t.dictionary):Qv.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ri.inflateSetDictionary(this.strm,t.dictionary),r!==Me.Z_OK)))throw new Error(el[r])}Cr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a=this.options.dictionary,n,o,s,u,l,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=An.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 Gi.Buf8(i),r.next_out=0,r.avail_out=i),n=ri.inflate(r,Me.Z_NO_FLUSH),n===Me.Z_NEED_DICT&&a&&(n=ri.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=An.utf8border(r.output,r.next_out),u=r.next_out-s,l=An.buf2string(r.output,s),r.next_out=u,r.avail_out=i-u,u&&Gi.arraySet(r.output,r.output,s,u,0),this.onData(l)):this.onData(Gi.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=ri.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)},Cr.prototype.onData=function(e){this.chunks.push(e)},Cr.prototype.onEnd=function(e){e===Me.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Gi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function tl(e,t){var r=new Cr(t);if(r.push(e,!0),r.err)throw r.msg||el[r.err];return r.result}function _1(e,t){return t=t||{},t.raw=!0,tl(e,t)}Zi.Inflate=Cr,Zi.inflate=tl,Zi.inflateRaw=_1,Zi.ungzip=tl;var b1=Ft.assign,w1=Di,x1=Zi,y1=Jv,ed={};b1(ed,w1,x1,y1);var td=ed,S1="upx2px",E1=1e-4,T1=750,rd=!1,rl=0,id=0;function C1(){var{platform:e,pixelRatio:t,windowWidth:r}=Ec();rl=r,id=t,rd=e==="ios"}function ad(e,t){var r=Number(e);return isNaN(r)?t:r}var nd=Tb(S1,(e,t)=>{if(rl===0&&C1(),e=Number(e),e===0)return 0;var r=t||rl;{var i=__uniConfig.globalStyle||{},a=ad(i.rpxCalcMaxDeviceWidth,960),n=ad(i.rpxCalcBaseDeviceWidth,375);r=r<=a?r:n}var o=e/T1*r;return o<0&&(o=-o),o=Math.floor(o+E1),o===0&&(id===1||!rd?o=1:o=.5),e<0?-o:o});new Ru;var O1=[{name:"id",type:String,required:!0}];O1.concat({name:"componentInstance",type:Object});var od={};od.f={}.propertyIsEnumerable;var A1=ui,I1=uo,k1=ma,M1=od.f,R1=function(e){return function(t){for(var r=k1(t),i=I1(r),a=i.length,n=0,o=[],s;a>n;)s=i[n++],(!A1||M1.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},sd=so,L1=R1(!1);sd(sd.S,"Object",{values:function(t){return L1(t)}});var P1="setPageMeta",N1="loadFontFace",D1="pageScrollTo",B1=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,p=e(v);p;)v=p.ownerDocument,p=e(v);return v}(window.document),r=[],i=null,a=null;function n(c){this.time=c.time,this.target=c.target,this.rootBounds=x(c.rootBounds),this.boundingClientRect=x(c.boundingClientRect),this.intersectionRect=x(c.intersectionRect||h()),this.isIntersecting=!!c.intersectionRect;var v=this.boundingClientRect,p=v.width*v.height,y=this.intersectionRect,E=y.width*y.height;p?this.intersectionRatio=Number((E/p).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(c,v){var p=v||{};if(typeof c!="function")throw new Error("callback must be a function");if(p.root&&p.root.nodeType!=1&&p.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=u(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=c,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(p.rootMargin),this.thresholds=this._initThresholds(p.threshold),this.root=p.root||null,this.rootMargin=this._rootMarginValues.map(function(y){return y.value+y.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=_(c,v),r.forEach(function(p){p._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,a=null},o.prototype.observe=function(c){var v=this._observationTargets.some(function(p){return p.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(p,y,E){if(typeof p!="number"||isNaN(p)||p<0||p>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return p!==E[y-1]})},o.prototype._parseRootMargin=function(c){var v=c||"0px",p=v.split(/\s+/).map(function(y){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(y);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return p[1]=p[1]||p[0],p[2]=p[2]||p[0],p[3]=p[3]||p[1],p},o.prototype._monitorIntersections=function(c){var v=c.defaultView;if(!!v&&this._monitoringDocuments.indexOf(c)==-1){var p=this._checkForIntersections,y=null,E=null;this.POLL_INTERVAL?y=v.setInterval(p,this.POLL_INTERVAL):(l(v,"resize",p,!0),l(c,"scroll",p,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in v&&(E=new v.MutationObserver(p),E.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(c),this._monitoringUnsubscribes.push(function(){var P=c.defaultView;P&&(y&&P.clearInterval(y),f(P,"resize",p,!0)),f(c,"scroll",p,!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 p=this.root&&(this.root.ownerDocument||this.root)||t,y=this._observationTargets.some(function(O){var P=O.element.ownerDocument;if(P==c)return!0;for(;P&&P!=p;){var M=e(P);if(P=M&&M.ownerDocument,P==c)return!0}return!1});if(!y){var E=this._monitoringUnsubscribes[v];if(this._monitoringDocuments.splice(v,1),this._monitoringUnsubscribes.splice(v,1),E(),c!=p){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=0&&P>=0&&{top:p,bottom:y,left:E,right:C,width:O,height:P}||null}function g(c){var v;try{v=c.getBoundingClientRect()}catch(p){}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 x(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 _(c,v){var p=v.top-c.top,y=v.left-c.left;return{top:p,left:y,height:v.height,width:v.width,bottom:p+v.height,right:y+v.width}}function w(c,v){for(var p=v;p;){if(p==c)return!0;p=m(p)}return!1}function m(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 b(c){return c&&c.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=n};function il(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 F1(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 $1(e,t,r){B1();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,a=new IntersectionObserver(u=>{u.forEach(l=>{r({intersectionRatio:F1(l),intersectionRect:il(l.intersectionRect),boundingClientRect:il(l.boundingClientRect),relativeRect:il(l.rootBounds),time:Date.now(),dataset:Io(l.target),id:l.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{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 q1(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 X1(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=Z1(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function Z1(e,t){var r={};return e.forEach(i=>{var[a,[n,o]]=i;r[t(a)]=[t(n),o]}),r}function K1(e,t){return e.priority=t,e}var al=new Set,G1=1,nl=2,ld=3,ud=4;function ar(e,t){al.add(K1(e,t))}function J1(){try{[...al].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{al.clear()}}function fd(e,t){var r=window["__"+Cp],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var Q1=yu.length;function ex(e,t,r){var[i,a,n,o]=sl(t),s=ol(e,i);if(ne(r)||ne(o)){var[u,l]=n.split(".");return ll(s,a,u,l,r||o)}return ix(s,a,n)}function tx(e,t,r){var[i,a,n]=sl(t),[o,s]=n.split("."),u=ol(e,i);return ll(u,a,o,s,[nx(r,e),Ni(qr(u))])}function ol(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 sl(e){return JSON.parse(e.substr(Q1))}function rx(e,t,r,i){var[a,n,o]=sl(e),s=ol(t,a),[u,l]=o.split(".");return ll(s,n,u,l,[r,i,Ni(qr(s)),Ni(qr(t))])}function ll(e,t,r,i,a){var n=fd(t,e);if(!n)return console.error(Oo("wxs","module "+r+" not found"));var o=n[i];return se(o)?o.apply(n,a):console.error(r+"."+i+" is not a function")}function ix(e,t,r){var i=fd(t,e);return i?Eu(i,r.substr(r.indexOf(".")+1)):console.error(Oo("wxs","module "+r+" not found"))}function ax(e,t,r){var i=r;return a=>{try{rx(t,e.$,a,i)}catch(n){console.error(n)}i=a}}function nx(e,t){var r=qr(t);return Object.defineProperty(e,"instance",{get(){return Ni(r)}}),e}function cd(e,t){Object.keys(t).forEach(r=>{sx(e,t[r])})}function ox(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function sx(e,t){var r=lx(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=ux(i,r)}}function lx(e){var t=window["__"+Op],r=t&&t[e];return r||console.error(Oo("renderjs",e+" not found"))}function ux(e,t){return t=t.default||t,t.render=()=>{},sc(t).mixin({mounted(){this.$ownerInstance=Ni(qr(e))}}).mount(document.createElement("div"))}class ii{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=gT(i);n&&n.appendUniChild(this)}init(t){ie(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t}insert(t,r){var i=this.$,a=nt(t);r===-1?a.appendChild(i):a.insertBefore(i,nt(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Sh(this.id),ox(this),this.removeUniChildren()}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(Po)===0){var i=r.replace(Po,""),a=t[i],n=ax(this,t[r],a);ar(()=>n(a),ud),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(Po+t);if(a)return ar(()=>i?Hr(()=>a(r)):a(r),ud),!0}}function vd(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 dd(e,t){var r=e.style;if(Ee(t))t===""?e.removeAttribute("style"):r.cssText=mr(t,!0);else for(var i in t)ul(r,i,t[i]);var{__wxsStyle:a}=e;if(a)for(var n in a)ul(r,n,a[n])}var hd=/\s*!important$/;function ul(e,t,r){if(ne(r))r.forEach(a=>ul(e,t,a));else if(r=mr(r,!0),t.startsWith("--"))e.setProperty(t,r);else{var i=fx(e,t);hd.test(r)?e.setProperty(Ge(i),r.replace(hd,""),"important"):e[i]=r}}var gd=["Webkit"],fl={};function fx(e,t){var r=fl[t];if(r)return r;var i=Rt(t);if(i!=="filter"&&i in e)return fl[t]=i;i=Ma(i);for(var a=0;a{var[n]=_c(a);n.type=Up(a.type,r),UniViewJSBridge.publishHandler(xc,[[em,e,n]])};return t?bs(i,wd(t)):i}function wd(e){var t=[];return e&Ro.prevent&&t.push("prevent"),e&Ro.self&&t.push("self"),e&Ro.stop&&t.push("stop"),t}function cx(e,t,r,i){var[a,n]=Mo(t);i===-1?pd(e,a):md(e,a)||e.addEventListener(a,e.__listeners[a]=xd(e,r,i),n)}function xd(e,t,r){var i=a=>{tx(e,t,_c(a)[0])};return r?bs(i,wd(r)):i}var vx=Su.length;function cl(e,t){return Ee(t)&&(t.indexOf(Su)===0?t=JSON.parse(t.substr(vx)):t.indexOf(yu)===0&&(t=ex(e,t))),t}function In(e){return e.indexOf("--")===0}function vl(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class yd extends ii{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){ie(t,"a")&&this.setAttrs(t.a),ie(t,"s")&&this.setAttr("style",t.s),ie(t,"e")&&this.addEvents(t.e),ie(t,"w")&&this.addWxsEvents(t.w),super.init(t),W(this.$props,()=>{ar(this._update,G1)},{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){cx(this.$,t,r,i)}addEvent(t,r){_d(this.$,t,r)}removeEvent(t){_d(this.$,t,-1)}setAttr(t,r){t===Ou?vd(this.$,r):t===Lo?dd(this.$,r):t===Pa?vl(this.$,r):t===Au?this.$.__ownerId=r:t===Iu?ar(()=>cd(this,r),ld):t===Hp?this.$.innerHTML=r:t===Wp?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===Ou?vd(this.$,""):t===Lo?dd(this.$,""):this.removeAttribute(t)}setAttribute(t,r){r=cl(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:In(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]:In(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class dx extends ii{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var VT="";function Sd(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 hx(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function gx(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,u={},l=[];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(x=>parseFloat(x)+"deg"):d.startsWith("translate")&&(g=g.map(Sd)),r.indexOf(d)>=0&&(g.length=1),l.push("".concat(d,"(").concat(g.join(","),")"));else if(i.concat(a).includes(g[0])){d=g[0];var h=g[1];u[d]=a.includes(d)?Sd(h):h}}),u.transform=u.webkitTransform=l.join(" "),u.transition=u.webkitTransition=Object.keys(u).map(f=>"".concat(hx(f)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),u.transformOrigin=u.webkitTransformOrigin=o.transformOrigin,u}function Ed(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,u=gx(o);Object.keys(u).forEach(l=>{e.$el.style[l]=u[l]}),r+=1,r{n()},0)}var kn={props:["animation"],watch:{animation:{deep:!0,handler(){Ed(this)}}},mounted(){Ed(this)}},ge=e=>{e.__reserved=!0;var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(kn),px(e)},px=e=>(e.__reserved=!0,e.compatConfig={MODE:3},M0(e)),mx={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function dl(e){var t=U(!1),r=!1,i,a;function n(){requestAnimationFrame(()=>{clearTimeout(a),a=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(l){l._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||l.touches.length>1||(e.hoverStopPropagation&&(l._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||n()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&n()}function u(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:u}}}function ai(e,t){return Ee(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Or(e){return e.__wwe=!0,e}function Pe(e,t){return(r,i,a)=>{e.value&&t(r,bx(r,i,e.value,a||{}))}}function _x(e){return(t,r)=>{e(t,bc(r))}}function bx(e,t,r,i){var a=ko(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:i}}var It=un("uf"),wx=ge({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,a=U(null);return xx(Pe(a,i)),()=>I("uni-form",{ref:a},[I("span",null,[r.default&&r.default()])],512)}});function xx(e){var t=[];return ze(It,{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 yx={for:{type:String,default:""}},Ji=un("ul");function Sx(){var e=[];return ze(Ji,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}var Ex=ge({name:"Label",props:yx,setup(e,t){var{slots:r}=t,i=vn(),a=Sx(),n=te(()=>e.for||r.default&&r.default.length),o=Or(s=>{var u=s.target,l=/^uni-(checkbox|radio|switch)-/.test(u.className);l||(l=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(u.tagName)),!l&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,s,!0):a.length&&a[0](s,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":n},onClick:o},[r.default&&r.default()],10,["onClick"])}});function Mn(e,t){Td(e.id,t),W(()=>e.id,(r,i)=>{Cd(i,t,!0),Td(r,t,!0)}),Xt(()=>{Cd(e.id,t)})}function Td(e,t,r){var i=vn();r&&!e||!mt(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 Cd(e,t,r){var i=vn();r&&!e||!mt(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 Tx={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}},Cx=ge({name:"Button",props:Tx,setup(e,t){var{slots:r}=t,i=U(null);wm();var a=_e(It,!1),{hovering:n,binding:o}=dl(e),{t:s}=Je(),u=Or((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"&&Ox(s("uni.button.feedback.title"),s("uni.button.feedback.send"))}),l=_e(Ji,!1);return l&&(l.addHandler(u),Ae(()=>{l.removeHandler(u)})),Mn(e,{"label-click":u}),()=>{var f=e.hoverClass,d=ai(e,"disabled"),g=ai(e,"loading"),h=ai(e,"plain"),x=f&&f!=="none";return I("uni-button",tt({ref:i,onClick:u,class:x&&n.value?f:""},x&&o,d,g,h),[r.default&&r.default()],16,["onClick"])}}});function Ox(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 Ar=ge({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=U(null),a=Ix(i),n=Ax(i,r,a);return kx(i,e,n,a),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:n},[I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Ax(e,t,r){var i=ke({width:-1,height:-1});return W(()=>ce({},i),a=>t("resize",a)),()=>{var a=e.value;i.width=a.offsetWidth,i.height=a.offsetHeight,r()}}function Ix(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function kx(e,t,r,i){ns(i),Re(()=>{t.initial&&Hr(r);var a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var we=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 Od(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;e.width=e.offsetWidth*(t?we:1),e.height=e.offsetHeight*(t?we:1),e.getContext("2d").__hidpi__=t}var Ad=!1;function Mx(){if(!Ad){Ad=!0;var e=function(i,a){for(var n in i)ie(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",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(a,n,o,s,u,l,f,d,g,h){if(!this.__hidpi__)return i.apply(this,arguments);n*=we,o*=we,s*=we,u*=we,l*=we,f*=we,d=h?d*we:d,g=h?g*we:g,i.call(this,a,n,o,s,u,l,f,d,g)}}(r.drawImage),we!==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(u){return u*we});else if(Array.isArray(i))for(var s=0;sMx());function Id(e){return e&&vt(e)}function Rn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function kd(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 Qi;function Md(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Qi||(Qi=document.createElement("canvas")),Qi.width=e,Qi.height=t,Qi}var Lx={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},Px=ge({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:Lx,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;Rx();var a=U(null),n=U(null),o=U(!1),s=_x(r),{$attrs:u,$excludeAttrs:l,$listeners:f}=Kd({excludeListeners:!0}),{_listeners:d}=Nx(e,f,s),{_handleSubscribe:g,_resize:h}=Dx(e,a,o);return Wn(g,Vn(e.canvasId),!0),Re(()=>{h()}),()=>{var{canvasId:x,disableScroll:_}=e;return I("uni-canvas",tt({"canvas-id":x,"disable-scroll":_},u.value,l.value,d.value),[I("canvas",{ref:a,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),I("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),I(Ar,{ref:n,onResize:h},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Nx(e,t,r){var i=te(()=>{var a=["onTouchstart","onTouchmove","onTouchend"],n=t.value,o=ce({},(()=>{var s={};for(var u in n)if(Object.prototype.hasOwnProperty.call(n,u)){var l=n[u];s[u]=l}return s})());return a.forEach(s=>{var u=o[s],l=[];u&&l.push(Or(f=>{r(s.replace("on","").toLocaleLowerCase(),ce({},(()=>{var d={};for(var g in f)d[g]=f[g];return d})(),{touches:kd(f.currentTarget,f.touches),changedTouches:kd(f.currentTarget,f.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&l.push(fc),o[s]=l}),o});return{_listeners:i}}function Dx(e,t,r){var i=[],a={},n=te(()=>e.hidpi?we:1);function o(_){var w=t.value,m=!_||w.width!==Math.floor(_.width*n.value)||w.height!==Math.floor(_.height*n.value);if(!!m)if(w.width>0&&w.height>0){var b=w.getContext("2d"),c=b.getImageData(0,0,w.width,w.height);Od(w,e.hidpi),b.putImageData(c,0,0)}else Od(w,e.hidpi)}function s(_,w){var{actions:m,reserve:b}=_;if(!!m){if(r.value){i.push([m,b]);return}var c=t.value,v=c.getContext("2d");b||(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)),u(m);for(var p=function(C){var O=m[C],P=O.method,M=O.data,H=M[0];if(/^set/.test(P)&&P!=="setTransform"){var re=P[3].toLowerCase()+P.slice(4),R;if(re==="fillStyle"||re==="strokeStyle"){if(H==="normal")R=Rn(M[1]);else if(H==="linear"){var B=v.createLinearGradient(...M[1]);M[2].forEach(function(J){var ye=J[0],be=Rn(J[1]);B.addColorStop(ye,be)}),R=B}else if(H==="radial"){var X=M[1],Q=X[0],V=X[1],K=X[2],ae=v.createRadialGradient(Q,V,0,Q,V,K);M[2].forEach(function(J){var ye=J[0],be=Rn(J[1]);ae.addColorStop(ye,be)}),R=ae}else if(H==="pattern"){var Te=l(M[1],m.slice(C+1),w,function(J){J&&(v[re]=v.createPattern(J,M[2]))});return Te?"continue":"break"}v[re]=R}else if(re==="globalAlpha")v[re]=Number(H)/255;else if(re==="shadow"){var oe=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];M.forEach(function(J,ye){v[oe[ye]]=oe[ye]==="shadowColor"?Rn(J):J})}else if(re==="fontSize"){var de=v.__font__||v.font;v.__font__=v.font=de.replace(/\d+\.?\d*px/,H+"px")}else re==="lineDash"?(v.setLineDash(H),v.lineDashOffset=M[1]||0):re==="textBaseline"?(H==="normal"&&(M[0]="alphabetic"),v[re]=H):re==="font"?v.__font__=v.font=H:v[re]=H}else if(P==="fillPath"||P==="strokePath")P=P.replace(/Path/,""),v.beginPath(),M.forEach(function(J){v[J.method].apply(v,J.data)}),v[P]();else if(P==="fillText")v.fillText.apply(v,M);else if(P==="drawImage"){var le=function(){var J=[...M],ye=J[0],be=J.slice(1);if(a=a||{},l(ye,m.slice(C+1),w,function(Ve){Ve&&v.drawImage.apply(v,[Ve].concat([...be.slice(4,8)],[...be.slice(0,4)]))}))return"break"}();if(le==="break")return"break"}else P==="clip"?(M.forEach(function(J){v[J.method].apply(v,J.data)}),v.clip()):v[P].apply(v,M)},y=0;y{p.src=y}).catch(()=>{p.src=c})}})}function l(_,w,m,b){var c=a[_];return c.ready?(b(c),!0):(i.unshift([w,!0]),r.value=!0,c.onload=function(){c.ready=!0,b(c),r.value=!1;var v=i.slice(0);i=[];for(var p=v.shift();p;)s({actions:p[0],reserve:p[1]},m),p=v.shift()},!1)}function f(_,w){var{x:m=0,y:b=0,width:c,height:v,destWidth:p,destHeight:y,hidpi:E=!0,dataType:C,quality:O=1,type:P="png"}=_,M=t.value,H,re=M.offsetWidth-m;c=c?Math.min(c,re):re;var R=M.offsetHeight-b;v=v?Math.min(v,R):R,E?(p=c,y=v):!p&&!y?(p=Math.round(c*n.value),y=Math.round(v*n.value)):p?y||(y=Math.round(v/c*p)):p=Math.round(c/v*y);var B=Md(p,y),X=B.getContext("2d");(P==="jpeg"||P==="jpg")&&(P="jpeg",X.fillStyle="#fff",X.fillRect(0,0,p,y)),X.__hidpi__=!0,X.drawImageByCanvas(M,m,b,c,v,0,0,p,y,!1);var Q;try{var V;if(C==="base64")H=B.toDataURL("image/".concat(P),O);else{var K=X.getImageData(0,0,p,y);H=td.deflateRaw(K.data,{to:"string"}),V=!0}Q={data:H,compressed:V,width:p,height:y}}catch(ae){Q={errMsg:"canvasGetImageData:fail ".concat(ae)}}if(B.height=B.width=0,X.__hidpi__=!1,w)w(Q);else return Q}function d(_,w){var{data:m,x:b,y:c,width:v,height:p,compressed:y}=_;try{y&&(m=td.inflateRaw(m)),p||(p=Math.round(m.length/4/v));var E=Md(v,p),C=E.getContext("2d");C.putImageData(new ImageData(new Uint8ClampedArray(m),v,p),0,0),t.value.getContext("2d").drawImage(E,b,c,v,p),E.height=E.width=0}catch(O){w({errMsg:"canvasPutImageData:fail"});return}w({errMsg:"canvasPutImageData:ok"})}function g(_,w){var{x:m=0,y:b=0,width:c,height:v,destWidth:p,destHeight:y,fileType:E,quality:C,dirname:O}=_,P=f({x:m,y:b,width:c,height:v,destWidth:p,destHeight:y,hidpi:!1,dataType:"base64",type:E,quality:C});if(!P.data||!P.data.length){w({errMsg:P.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Ab(P.data,O,(M,H)=>{var re="toTempFilePath:".concat(M?"fail":"ok");M&&(re+=" ".concat(M.message)),w({errMsg:re,tempFilePath:H})})}var h={actionsChanged:s,getImageData:f,putImageData:d,toTempFilePath:g};function x(_,w,m){var b=h[_];_.indexOf("_")!==0&&typeof b=="function"&&b(w,m)}return ce(h,{_resize:o,_handleSubscribe:x})}var Rd=un("ucg"),Bx={name:{type:String,default:""}},Fx=ge({name:"CheckboxGroup",props:Bx,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return $x(e,n),()=>I("uni-checkbox-group",{ref:a},[i.default&&i.default()],512)}});function $x(e,t){var r=[],i=()=>r.reduce((n,o)=>(o.value.checkboxChecked&&n.push(o.value.value),n),new Array);ze(Rd,{addField(n){r.push(n)},removeField(n){r.splice(r.indexOf(n),1)},checkboxChange(n){t("change",n,{value:i()})}});var a=_e(It,!1);return a&&a.addField({submit:()=>{var n=["",null];return e.name!==""&&(n[0]=e.name,n[1]=i()),n}}),i}var zx={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:""}},Ux=ge({name:"Checkbox",props:zx,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value);W([()=>e.checked,()=>e.value],l=>{var[f,d]=l;i.value=f,a.value=d});var n=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:s}=Hx(i,a,n),u=l=>{e.disabled||(i.value=!i.value,o&&o.checkboxChange(l))};return s&&(s.addHandler(u),Ae(()=>{s.removeHandler(u)})),Mn(e,{"label-click":u}),()=>{var l=ai(e,"disabled");return I("uni-checkbox",tt(l,{onClick:u}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?cn(fn,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function Hx(e,t,r){var i=te(()=>({checkboxChecked:Boolean(e.value),value:t.value})),a={reset:r},n=_e(Rd,!1);n&&n.addField(i);var o=_e(It,!1);o&&o.addField(a);var s=_e(Ji,!1);return Ae(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s}}var Ld,ea,Ln,nr,Pn,hl;Dr(()=>{ea=plus.os.name==="Android",Ln=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){nr=e.height,Pn&&Pn()},!1);function Pd(){}function ta(e,t,r){Dr(()=>{var i="adjustResize",a="adjustPan",n="nothing",o=plus.webview.currentWebview(),s=hl||o.getStyle()||{},u={mode:r||s.softinputMode===i?i:e.adjustPosition?a:n,position:{top:0,height:0}};if(u.mode===a){var l=t.getBoundingClientRect();u.position.top=l.top,u.position.height=l.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(u)})}function Wx(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Dr(()=>{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 Vx(e){var t=e.softinputNavBar;t&&Dr(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var Nd={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},Dd=["keyboardheightchange"];function Bd(e,t,r){var i={};function a(n){var o,s=()=>{r("keyboardheightchange",{},{height:nr,duration:.25}),o&&nr===0&&ta(e,n),e.autoBlur&&o&&nr===0&&(ea||parseInt(Ln)>=13)&&document.activeElement.blur()};n.addEventListener("focus",()=>{o=!0,clearTimeout(Ld),document.addEventListener("click",Pd,!1),Pn=s,nr&&r("keyboardheightchange",{},{height:nr,duration:0}),Wx(e,i),ta(e,n)}),ea&&n.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&nr===0&&ta(e,n)}),ea||(parseInt(Ln)<12&&n.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&ta(e,n)}),parseFloat(Ln)>=14.6&&!hl&&Dr(()=>{var l=plus.webview.currentWebview();hl=l.getStyle()||{}}));var u=()=>{document.removeEventListener("click",Pd,!1),Pn=null,nr&&r("keyboardheightchange",{},{height:0,duration:0}),Vx(i),ea&&(Ld=setTimeout(()=>{ta(e,n,!0)},300)),String(navigator.vendor).indexOf("Apple")===0&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};n.addEventListener("blur",()=>{n.blur(),o=!1,u()})}W(()=>t.value,n=>a(n))}var Fd=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,$d=/^<\/([-A-Za-z0-9_]+)[^>]*>/,jx=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Yx=ni("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),qx=ni("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"),Xx=ni("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"),Zx=ni("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Kx=ni("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Gx=ni("script,style");function zd(e,t){var r,i,a,n=[],o=e;for(n.last=function(){return this[this.length-1]};e;){if(i=!0,!n.last()||!Gx[n.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(f,d){return d=d.replace(/|/g,"$1$2"),t.chars&&t.chars(d),""}),l("",n.last());if(e==o)throw"Parse Error: "+e;o=e}l();function u(f,d,g,h){if(d=d.toLowerCase(),qx[d])for(;n.last()&&Xx[n.last()];)l("",n.last());if(Zx[d]&&n.last()==d&&l("",d),h=Yx[d]||!!h,h||n.push(d),t.start){var x=[];g.replace(jx,function(_,w){var m=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Kx[w]?w:"";x.push({name:w,value:m,escaped:m.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(d,x,h)}}function l(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 ni(e){for(var t={},r=e.split(","),i=0;io()),delete gl[t]}}a.push(r)}function Jx(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function Qx(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function ey(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 ty(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 ry(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",u=super.create(s);return(o==="checked"||o==="unchecked")&&u.setAttribute("data-checked",o==="checked"),u}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=u=>{if(u.target.parentNode===o){var l=this.statics.formats(o),f=t.find(u.target);l==="checked"?f.format("list","unchecked"):l==="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 u=s==null?this.length():s.offset(this),l=this.split(u);l.parent.insertBefore(o,l)}}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 iy(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 ay(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,Ge(s),i)}),o}function ny(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,Ge(o),i)}),n}function oy(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,Ge(o),{scope:s})}),a}function sy(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=a=>a&&vt(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 ly(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 uy(e){var t={divider:Jx,ins:Qx,align:ey,direction:ty,list:ry,background:iy,box:ay,font:ny,text:oy,image:sy,link:ly},r={};Object.values(t).forEach(i=>ce(r,i(e))),e.register(r,!0)}function fy(e,t,r){var i,a,n,o=!1;W(()=>e.readOnly,x=>{i&&(n.enable(!x),x||n.blur())}),W(()=>e.placeholder,x=>{i&&l(x)});function s(x){var _=["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="",m;zd(x,{start:function(c,v,p){if(!_.includes(c)){m=!p;return}m=!1;var y=v.map(C=>{var{name:O,value:P}=C;return"".concat(O,'="').concat(P,'"')}).join(" "),E="<".concat(c," ").concat(y," ").concat(p?"/":"",">");w+=E},end:function(c){m||(w+=""))},chars:function(c){m||(w+=c)}}),a=!0;var b=n.clipboard.convert(w);return a=!1,b}function u(){var x=n.root.innerHTML,_=n.getText(),w=n.getContents();return{html:x,text:_,delta:w}}function l(x){var _="data-placeholder",w=n.root;w.getAttribute(_)!==x&&w.setAttribute(_,x)}var f={};function d(x){var _=x?n.getFormat(x):{},w=Object.keys(_);(w.length!==Object.keys(f).length||w.find(m=>_[m]!==f[m]))&&(f=_,r("statuschange",{},_))}function g(x){var _=window.Quill;uy(_);var w={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};x.length&&(_.register("modules/ImageResize",window.ImageResize.default),w.modules={ImageResize:{modules:x}});var m=t.value;n=new _(m,w);var b=n.root,c=["focus","blur","input"];c.forEach(v=>{b.addEventListener(v,p=>{var y=u();if(v==="input"){if(Ec().platform==="ios"){var E=(y.html.match(/([\s\S]*)<\/span>/)||[])[1],C=E&&E.replace(/\s/g,"")?"":e.placeholder;l(C)}p.stopPropagation()}else r(v,p,y)})}),n.on("text-change",()=>{o||r("input",{},u())}),n.on("selection-change",d),n.on("scroll-optimize",()=>{var v=n.selection.getRange()[0];d(v)}),n.clipboard.addMatcher(Node.ELEMENT_NODE,(v,p)=>(a||p.ops&&(p.ops=p.ops.filter(y=>{var{insert:E}=y;return typeof E=="string"}).map(y=>{var{insert:E}=y;return{insert:E}})),p)),i=!0,r("ready",{},{})}Re(()=>{var x=[];e.showImgSize&&x.push("DisplaySize"),e.showImgToolbar&&x.push("Toolbar"),e.showImgResize&&x.push("Resize");var _="./__uniappquill.js";Ud(window.Quill,_,()=>{if(x.length){var w="./__uniappquillimageresize.js";Ud(window.ImageResize,w,()=>{g(x)})}else g(x)})});var h=Vn();Wn((x,_,w)=>{var{options:m,callbackId:b}=_,c,v,p;if(i){var y=window.Quill;switch(x){case"format":{var{name:E="",value:C=!1}=m;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 P=n.getFormat(v).align;C==="rtl"&&!P?n.format("align","right","user"):!C&&P==="right"&&n.format("align",!1,"user")}else if(E==="indent"){var M=n.getFormat(v).direction==="rtl";C=C==="+1",M&&(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,gi,"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:H="",alt:re="",width:R="",height:B="",extClass:X="",data:Q={}}=m,V=vt(H);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",re),n.formatText(v.index,1,"width",R),n.formatText(v.index,1,"height",B),n.formatText(v.index,1,"class",X),o=!1,n.formatText(v.index,1,"data-custom",Object.keys(Q).map(le=>"".concat(le,"=").concat(Q[le])).join("&")),n.setSelection(v.index+1,0,"silent")}break;case"insertText":{v=n.getSelection(!0);var{text:ae=""}=m;n.insertText(v.index,ae,"user"),n.setSelection(v.index+ae.length,0,"silent")}break;case"setContents":{var{delta:Te,html:oe}=m;typeof Te=="object"?n.setContents(Te,"silent"):typeof oe=="string"?n.setContents(s(oe),"silent"):p="contents is missing"}break;case"getContents":c=u();break;case"clear":n.setText("");break;case"removeFormat":{v=n.getSelection(!0);var de=y.import("parchment");v.length?n.removeFormat(v.index,v.length,"user"):Object.keys(n.getFormat(v)).forEach(le=>{de.query(le,de.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 p="not ready";b&&w({callbackId:b,data:ce({},c,{errMsg:"".concat(x,":").concat(p?"fail "+p:"ok")})})},h,!0)}var cy=ce({},Nd,{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}}),vy=ge({name:"Editor",props:cy,emit:["ready","focus","blur","input","statuschange",...Dd],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r);return fy(e,i,a),Bd(e,i,a),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),Hd="#10aeff",dy="#f76260",Wd="#b2b2b2",hy="#f43530",gy={success:{d:tb,c:La},success_no_circle:{d:fn,c:La},info:{d:Q_,c:Hd},warn:{d:ib,c:dy},waiting:{d:rb,c:Hd},cancel:{d:K_,c:hy},download:{d:J_,c:La},search:{d:eb,c:Wd},clear:{d:G_,c:Wd}},py=ge({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=te(()=>gy[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&cn(r.d,e.color||r.c,mr(e.size))])}}}),my={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Nn={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},_y={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"]},by=ge({name:"Image",props:my,setup(e,t){var{emit:r}=t,i=U(null),a=wy(i,e),n=Pe(i,r),{fixSize:o}=Ey(i,e,a);return xy(a,o,n),()=>{var{mode:s}=e,{imgSrc:u,modeStyle:l,src:f}=a,d;return d=u?I("img",{src:u,draggable:e.draggable},null,8,["src","draggable"]):I("img",null,null),I("uni-image",{ref:i},[I("div",{style:l},null,4),d,Nn[s]?I(Ar,{onResize:o},null,8,["onResize"]):I("span",null,null)],512)}}});function wy(e,t){var r=U(""),i=te(()=>{var n="auto",o="",s=_y[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:te(()=>t.src?vt(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Re(()=>{var n=e.value,o=n.style;a.origWidth=Number(o.width)||0,a.origHeight=Number(o.height)||0}),a}function xy(e,t,r){var i,a=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=s,e.origHeight=u,e.imgSrc=l},n=s=>{if(!s){o(),a();return}i=i||new Image,i.onload=u=>{var{width:l,height:f}=i;a(l,f,s),t(),o(),r("load",u,{width:l,height:f})},i.onerror=u=>{a(),o(),r("error",u,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};W(()=>e.src,s=>n(s)),Re(()=>n(e.src)),Ae(()=>o())}var yy=navigator.vendor==="Google Inc.";function Sy(e){return yy&&e>10&&(e=Math.round(e/2)*2),e}function Ey(e,t,r){var i=()=>{var{mode:n}=t,o=Nn[n];if(!!o){var{origWidth:s,origHeight:u}=r,l=s&&u?s/u:0;if(!!l){var f=e.value,d=f[o[0]];d&&(f.style[o[1]]=Sy(o[2](d,l))+"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)=>{Nn[o]&&a(),Nn[n]&&i()}),{fixSize:i,resetSize:a}}function Ty(e,t){var r=0,i,a,n=function(){for(var o=arguments.length,s=new Array(o),u=0;u{a=null,r=l,e.apply(this,s)},l-rDn.forEach(t=>t.userAction=e);function Oy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!Vd){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!pl&&jd(!0),pl++,setTimeout(()=>{!--pl&&jd(!1)},0)},Cy)}),Vd=!0}Dn.push(e)}function Ay(e){var t=Dn.indexOf(e);t>=0&&Dn.splice(t,1)}function Iy(){var e=ke({userAction:!1});return Re(()=>{Oy(e)}),Ae(()=>{Ay(e)}),{state:e}}function Yd(){var e=ke({attrs:{}});return Re(()=>{for(var t=Bt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function ky(e,t){var r=_e(It,!1);if(!!r){var i=Bt(),a={submit(){var n=i.proxy;return[n[e],typeof t=="string"?n[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(a),Ae(()=>{r.removeField(a)})}}function My(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 Ry=function(){bt(Kt(),"getSelectedTextRange",My)},Ly=200,ml;function _l(e){return e===null?"":String(e)}var qd=ce({},{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}},Nd),Xd=["input","focus","blur","update:value","update:modelValue","update:focus",...Dd];function Py(e,t,r){var i=U(null),a=Pe(t,r),n=te(()=>{var d=Number(e.selectionStart);return isNaN(d)?-1:d}),o=te(()=>{var d=Number(e.selectionEnd);return isNaN(d)?-1:d}),s=te(()=>{var d=Number(e.cursor);return isNaN(d)?-1:d}),u=te(()=>{var d=Number(e.maxlength);return isNaN(d)?140:d}),l=_l(e.modelValue)||_l(e.value),f=ke({value:l,valueOrigin:l,maxlength:u,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 Ny(e,t,r,i){var a=tm(s=>{t.value=_l(s)},100);W(()=>e.modelValue,a),W(()=>e.value,a);var n=Ty((s,u)=>{a.cancel(),r("update:modelValue",u.value),r("update:value",u.value),i("input",s,u)},100),o=(s,u,l)=>{a.cancel(),n(s,u),l&&n.flush()};return Af(()=>{a.cancel(),n.cancel()}),{trigger:i,triggerInput:o}}function Dy(e,t){var{state:r}=Iy(),i=te(()=>e.autoFocus||e.focus);function a(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(a,100);return}{var s=Ly-(Date.now()-ml);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()}),Re(()=>{ml=ml||Date.now(),i.value&&Hr(a)})}function By(e,t,r,i,a){function n(){var l=e.value;l&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&l.type!=="number"&&(l.selectionStart=t.selectionStart,l.selectionEnd=t.selectionEnd)}function o(){var l=e.value;l&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&l.type!=="number"&&(l.selectionEnd=l.selectionStart=t.cursor)}function s(l){return l.type==="number"?null:l.selectionEnd}function u(){var l=e.value,f=function(h){t.focus=!0,r("focus",h,{value:t.value}),n(),o()},d=function(h,x){h.stopPropagation(),!(typeof a=="function"&&a(h,t)===!1)&&(t.value=l.value,t.composing||i(h,{value:l.value,cursor:s(l)},x))},g=function(h){t.composing&&(t.composing=!1,d(h,!0)),t.focus=!1,r("blur",h,{value:t.value,cursor:s(h.target)})};l.addEventListener("change",h=>h.stopPropagation()),l.addEventListener("focus",f),l.addEventListener("blur",g),l.addEventListener("input",d),l.addEventListener("compositionstart",h=>{h.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",h=>{h.stopPropagation(),t.composing&&(t.composing=!1,d(h))})}W([()=>t.selectionStart,()=>t.selectionEnd],n),W(()=>t.cursor,o),W(()=>e.value,u)}function Zd(e,t,r,i){Ry();var{fieldRef:a,state:n,trigger:o}=Py(e,t,r),{triggerInput:s}=Ny(e,n,r,o);Dy(e,a),Bd(e,a,o);var{state:u}=Yd();ky("name",n),By(a,n,o,s,i);var l=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:a,state:n,scopedAttrsState:u,fixDisabledColor:l,trigger:o}}var Fy=ce({},qd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),$y=ge({name:"Input",props:Fy,emits:["confirm",...Xd],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],n=te(()=>{var b="";switch(e.type){case"text":e.confirmType==="search"&&(b="search");break;case"idcard":b="text";break;case"digit":b="number";break;default:b=~i.includes(e.type)?e.type:"text";break}return e.password?"password":b}),o=te(()=>{var b=a.indexOf(e.textContentType),c=a.indexOf(Ge(e.textContentType)),v=b!==-1?b:c!==-1?c:0;return a[v]}),s=U(""),u,l=U(null),{fieldRef:f,state:d,scopedAttrsState:g,fixDisabledColor:h,trigger:x}=Zd(e,l,r,(b,c)=>{var v=b.target;if(n.value==="number"){if(u&&(v.removeEventListener("blur",u),u=null),v.validity&&!v.validity.valid)return!s.value&&b.data==="-"||s.value[0]==="-"&&b.inputType==="deleteContentBackward"?(s.value="-",c.value="",u=()=>{s.value=v.value=""},v.addEventListener("blur",u),!1):(s.value=c.value=v.value=s.value==="-"?"":s.value,!1);s.value=v.value;var p=c.maxlength;if(p>0&&v.value.length>p)return v.value=v.value.slice(0,p),c.value=v.value,!1}}),_=["number","digit"],w=te(()=>_.includes(e.type)?"0.000000000000000001":"");function m(b){if(b.key==="Enter"){var c=b.target;b.stopPropagation(),x("confirm",b,{value:c.value}),!e.confirmHold&&c.blur()}}return()=>{var b=e.disabled&&h?I("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"]):I("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:m},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:l},[I("div",{class:"uni-input-wrapper"},[Ii(I("div",tt(g.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Li,!(d.value.length||s.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:c=>c.preventDefault(),class:"uni-input-form"},[b],40,["onSubmit"]):b])],512)}}});function zy(e){return Object.keys(e).map(t=>[t,e[t]])}var Uy=["class","style"],Hy=/^on[A-Z]+/,Kd=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=Bt(),a=Ko({}),n=Ko({}),o=Ko({}),s=r.concat(Uy);return i.attrs=ke(i.attrs),I0(()=>{var u=zy(i.attrs).reduce((l,f)=>{var[d,g]=f;return s.includes(d)?l.exclude[d]=g:Hy.test(d)?(t||(l.attrs[d]=g),l.listeners[d]=g):l.attrs[d]=g,l},{exclude:{},attrs:{},listeners:{}});a.value=u.attrs,n.value=u.listeners,o.value=u.exclude}),{$attrs:a,$listeners:n,$excludeAttrs:o}},Bn,ra;function Fn(){Dr(()=>{Bn||(Bn=plus.webview.currentWebview()),ra||(ra=(Bn.getStyle()||{}).pullToRefresh||{})})}function or(e){var{disable:t}=e;ra&&ra.support&&Bn.setPullToRefresh(Object.assign({},ra,{support:!t}))}function bl(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{Ga(r)?r.type===xt?t.push(...bl(r.children)):t.push(r):Array.isArray(r)&&t.push(...bl(r))}),t}function ia(e){var t=Bt();t.rebuild=e}var Wy={scaleArea:{type:Boolean,default:!1}},Vy=ge({inheritAttrs:!1,name:"MovableArea",props:Wy,setup(e,t){var{slots:r}=t,i=U(null),a=U(!1),{setContexts:n,events:o}=jy(e,i),{$listeners:s,$attrs:u,$excludeAttrs:l}=Kd(),f=s.value,d=["onTouchstart","onTouchmove","onTouchend"];d.forEach(m=>{var b=f[m],c=o["_".concat(m)];f[m]=b?[].concat(b,c):c}),Re(()=>{o._resize(),Fn(),a.value=!0});var g=[],h=[];function x(){for(var m=[],b=function(v){var p=g[v];p instanceof Element||(p=p.el);var y=h.find(E=>p===E.rootRef.value);y&&m.push(ja(y))},c=0;c{g=i.value.children,x()});var _=m=>{h.push(m),x()},w=m=>{var b=h.indexOf(m);b>=0&&(h.splice(b,1),x())};return ze("_isMounted",a),ze("movableAreaRootRef",i),ze("addMovableViewContext",_),ze("removeMovableViewContext",w),()=>(r.default&&r.default(),I("uni-movable-area",tt({ref:i},u.value,l.value,f),[I(Ar,{onReize:o._resize},null,8,["onReize"]),g],16))}});function Gd(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function jy(e,t){var r=U(0),i=U(0),a=ke({x:null,y:null}),n=U(null),o=null,s=[];function u(_){_&&_!==1&&(e.scaleArea?s.forEach(function(w){w._setScale(_)}):o&&o._setScale(_))}function l(_){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,m=t.value;function b(c){for(var v=0;v{or({disable:!0});var w=_.touches;if(w&&w.length>1){var m={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(n.value=Gd(m),a.x=m.x,a.y=m.y,!e.scaleArea){var b=l(w[0].target),c=l(w[1].target);o=b&&b===c?b:null}}}),d=Or(_=>{var w=_.touches;if(w&&w.length>1){_.preventDefault();var m={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(a.x!==null&&n.value&&n.value>0){var b=Gd(m)/n.value;u(b)}a.x=m.x,a.y=m.y}}),g=Or(_=>{or({disable:!1});var w=_.touches;w&&w.length||_.changedTouches&&(a.x=0,a.y=0,n.value=null,e.scaleArea?s.forEach(function(m){m._endScale()}):o&&o._endScale())});function h(){x(),s.forEach(function(_,w){_.setParent()})}function x(){var _=window.getComputedStyle(t.value),w=t.value.getBoundingClientRect();r.value=w.width-["Left","Right"].reduce(function(m,b){var c="border"+b+"Width",v="padding"+b;return m+parseFloat(_[c])+parseFloat(_[v])},0),i.value=w.height-["Top","Bottom"].reduce(function(m,b){var c="border"+b+"Width",v="padding"+b;return m+parseFloat(_[c])+parseFloat(_[v])},0)}return ze("movableAreaWidth",r),ze("movableAreaHeight",i),{setContexts(_){s=_},events:{_onTouchstart:f,_onTouchmove:d,_onTouchend:g,_resize:h}}}var aa=function(e,t,r,i){e.addEventListener(t,a=>{typeof r=="function"&&r(a)===!1&&((typeof a.cancelable!="undefined"?a.cancelable:!0)&&a.preventDefault(),a.stopPropagation())},{passive:!1})},Jd,Qd;function $n(e,t,r){Ae(()=>{document.removeEventListener("mousemove",Jd),document.removeEventListener("mouseup",Qd)});var i=0,a=0,n=0,o=0,s=function(h,x,_,w){if(t({target:h.target,currentTarget:h.currentTarget,preventDefault:h.preventDefault.bind(h),stopPropagation:h.stopPropagation.bind(h),touches:h.touches,changedTouches:h.changedTouches,detail:{state:x,x:_,y:w,dx:_-i,dy:w-a,ddx:_-n,ddy:w-o,timeStamp:h.timeStamp}})===!1)return!1},u=null,l,f;aa(e,"touchstart",function(h){if(l=!0,h.touches.length===1&&!u)return u=h,i=n=h.touches[0].pageX,a=o=h.touches[0].pageY,s(h,"start",i,a)}),aa(e,"mousedown",function(h){if(f=!0,!l&&!u)return u=h,i=n=h.pageX,a=o=h.pageY,s(h,"start",i,a)}),aa(e,"touchmove",function(h){if(h.touches.length===1&&u){var x=s(h,"move",h.touches[0].pageX,h.touches[0].pageY);return n=h.touches[0].pageX,o=h.touches[0].pageY,x}});var d=Jd=function(h){if(!l&&f&&u){var x=s(h,"move",h.pageX,h.pageY);return n=h.pageX,o=h.pageY,x}};document.addEventListener("mousemove",d),aa(e,"touchend",function(h){if(h.touches.length===0&&u)return l=!1,u=null,s(h,"end",h.changedTouches[0].pageX,h.changedTouches[0].pageY)});var g=Qd=function(h){if(f=!1,!l&&u)return u=null,s(h,"end",h.pageX,h.pageY)};document.addEventListener("mouseup",g),aa(e,"touchcancel",function(h){if(u){l=!1;var x=u;return u=null,s(h,r?"cancel":"end",x.touches[0].pageX,x.touches[0].pageY)}})}function zn(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},kt.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}},kt.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}},kt.prototype.dt=function(){return-this._x_v/this._x_a},kt.prototype.done=function(){var e=zn(this.s().x,this._endPositionX)||zn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},kt.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},kt.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function it(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}it.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,u=t/(o*e);return{x:function(m){return(s+u*m)*Math.pow(Math.E,o*m)},dx:function(m){var b=Math.pow(Math.E,o*m);return o*(s+u*m)*b+u*b}}}if(n>0){var l=(-r-Math.sqrt(n))/(2*i),f=(-r+Math.sqrt(n))/(2*i),d=(t-l*e)/(f-l),g=e-d;return{x:function(m){var b,c;return m===this._t&&(b=this._powER1T,c=this._powER2T),this._t=m,b||(b=this._powER1T=Math.pow(Math.E,l*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),g*b+d*c},dx:function(m){var b,c;return m===this._t&&(b=this._powER1T,c=this._powER2T),this._t=m,b||(b=this._powER1T=Math.pow(Math.E,l*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),g*l*b+d*f*c}}}var h=Math.sqrt(4*i*a-r*r)/(2*i),x=-r/2*i,_=e,w=(t-x*e)/h;return{x:function(m){return Math.pow(Math.E,x*m)*(_*Math.cos(h*m)+w*Math.sin(h*m))},dx:function(m){var b=Math.pow(Math.E,x*m),c=Math.cos(h*m),v=Math.sin(h*m);return b*(w*h*c-_*h*v)+x*b*(w*v+_*c)}}},it.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},it.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},it.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)}},it.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},it.prototype.done=function(e){return e||(e=new Date().getTime()),zn(this.x(),this._endPosition,.1)&&Ir(this.dx(),.1)},it.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())},it.prototype.springConstant=function(){return this._k},it.prototype.damping=function(){return this._c},it.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 na(e,t,r){this._springX=new it(e,t,r),this._springY=new it(e,t,r),this._springScale=new it(e,t,r),this._startTime=0}na.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},na.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)}},na.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},na.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 Yy={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 eh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var qy=ge({name:"MovableView",props:Yy,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),{setParent:o}=Xy(e,n,a);return()=>I("uni-movable-view",{ref:a},[I(Ar,{onResize:o},null,8,["onResize"]),r.default&&r.default()],512)}}),xl=!1;function th(e){xl||(xl=!0,requestAnimationFrame(function(){e(),xl=!1}))}function rh(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=rh(e.offsetParent,t):0}function ih(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=ih(e.offsetParent,t):0}function ah(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,u,l){if(!o||!o.cancelled){u(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,u,l))),f&&l&&l(s)}}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}function Un(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function Xy(e,t,r){var i=_e("movableAreaWidth",U(0)),a=_e("movableAreaHeight",U(0)),n=_e("_isMounted",U(!1)),o=_e("movableAreaRootRef"),s=_e("addMovableViewContext",()=>{}),u=_e("removeMovableViewContext",()=>{}),l=U(Un(e.x)),f=U(Un(e.y)),d=U(Number(e.scaleValue)||1),g=U(0),h=U(0),x=U(0),_=U(0),w=U(0),m=U(0),b=null,c=null,v={x:0,y:0},p={x:0,y:0},y=1,E=1,C=0,O=0,P=!1,M=!1,H,re,R=null,B=null,X=new wl,Q=new wl,V={historyX:[0,0],historyY:[0,0],historyT:[0,0]},K=te(()=>{var A=Number(e.damping);return isNaN(A)?20:A}),ae=te(()=>{var A=Number(e.friction);return isNaN(A)||A<=0?2:A}),Te=te(()=>{var A=Number(e.scaleMin);return isNaN(A)?.5:A}),oe=te(()=>{var A=Number(e.scaleMax);return isNaN(A)?10:A}),de=te(()=>e.direction==="all"||e.direction==="horizontal"),le=te(()=>e.direction==="all"||e.direction==="vertical"),J=new na(1,9*Math.pow(K.value,2)/40,K.value),ye=new kt(1,ae.value);W(()=>e.x,A=>{l.value=Un(A)}),W(()=>e.y,A=>{f.value=Un(A)}),W(l,A=>{Ve(A)}),W(f,A=>{sr(A)}),W(()=>e.scaleValue,A=>{d.value=Number(A)||0}),W(d,A=>{ua(A)}),W(Te,()=>{Ne()}),W(oe,()=>{Ne()});function be(){c&&c.cancel(),b&&b.cancel()}function Ve(A){if(de.value){if(A+p.x===C)return C;b&&b.cancel(),ee(A+p.x,f.value+p.y,y)}return A}function sr(A){if(le.value){if(A+p.y===O)return O;b&&b.cancel(),ee(l.value+p.x,A+p.y,y)}return A}function Ne(){if(!e.scale)return!1;F(y,!0),z(y)}function ua(A){return e.scale?(A=D(A),F(A,!0),z(A),A):!1}function fa(){P||e.disabled||(or({disable:!0}),be(),V.historyX=[0,0],V.historyY=[0,0],V.historyT=[0,0],de.value&&(H=C),le.value&&(re=O),r.value.style.willChange="transform",R=null,B=null,M=!0)}function S(A){if(!P&&!e.disabled&&M){var Y=C,q=O;if(B===null&&(B=Math.abs(A.detail.dx/A.detail.dy)>1?"htouchmove":"vtouchmove"),de.value&&(Y=A.detail.dx+H,V.historyX.shift(),V.historyX.push(Y),!le.value&&R===null&&(R=Math.abs(A.detail.dx/A.detail.dy)<1)),le.value&&(q=A.detail.dy+re,V.historyY.shift(),V.historyY.push(q),!de.value&&R===null&&(R=Math.abs(A.detail.dy/A.detail.dx)<1)),V.historyT.shift(),V.historyT.push(A.detail.timeStamp),!R){A.preventDefault();var he="touch";Yw.value&&(e.outOfBounds?(he="touch-out-of-bounds",Y=w.value+X.x(Y-w.value)):Y=w.value),q<_.value?e.outOfBounds?(he="touch-out-of-bounds",q=_.value-Q.x(_.value-q)):q=_.value:q>m.value&&(e.outOfBounds?(he="touch-out-of-bounds",q=m.value+Q.x(q-m.value)):q=m.value),th(function(){Z(Y,q,y,he)})}}}function T(){if(!P&&!e.disabled&&M&&(or({disable:!1}),r.value.style.willChange="auto",M=!1,!R&&!G("out-of-bounds")&&e.inertia)){var A=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]);ye.setV(A,Y),ye.setS(C,O);var q=ye.delta().x,he=ye.delta().y,ue=q+C,Fe=he+O;uew.value&&(ue=w.value,Fe=O+(w.value-C)*he/q),Fe<_.value?(Fe=_.value,ue=C+(_.value-O)*q/he):Fe>m.value&&(Fe=m.value,ue=C+(m.value-O)*q/he),ye.setEnd(ue,Fe),c=ah(ye,function(){var Ke=ye.s(),De=Ke.x,gt=Ke.y;Z(De,gt,y,"friction")},function(){c.cancel()})}!e.outOfBounds&&!e.inertia&&be()}function k(A,Y){var q=!1;return A>w.value?(A=w.value,q=!0):Am.value?(Y=m.value,q=!0):Y<_.value&&(Y=_.value,q=!0),{x:A,y:Y,outOfBounds:q}}function L(){v.x=rh(r.value,o.value),v.y=ih(r.value,o.value)}function N(A){A=A||y,A=D(A);var Y=r.value.getBoundingClientRect();h.value=Y.height/y,g.value=Y.width/y;var q=h.value*A,he=g.value*A;p.x=(he-g.value)/2,p.y=(q-h.value)/2}function $(){var A=0-v.x+p.x,Y=i.value-g.value-v.x-p.x;x.value=Math.min(A,Y),w.value=Math.max(A,Y);var q=0-v.y+p.y,he=a.value-h.value-v.y-p.y;_.value=Math.min(q,he),m.value=Math.max(q,he)}function j(){P=!0}function F(A,Y){if(e.scale){A=D(A),N(A),$();var q=k(C,O),he=q.x,ue=q.y;Y?ee(he,ue,A,"",!0,!0):th(function(){Z(he,ue,A,"",!0,!0)})}}function z(A){E=A}function D(A){return A=Math.max(.5,Te.value,A),A=Math.min(10,oe.value,A),A}function ee(A,Y,q,he,ue,Fe){be(),de.value||(A=C),le.value||(Y=O),e.scale||(q=y);var Ke=k(A,Y);if(A=Ke.x,Y=Ke.y,!e.animation){Z(A,Y,q,he,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=y,J.setEnd(A,Y,q,1),b=ah(J,function(){var De=J.x(),gt=De.x,lr=De.y,Mt=De.scale;Z(gt,lr,Mt,he,ue,Fe)},function(){b.cancel()})}function G(A){var Y=k(C,O),q=Y.x,he=Y.y,ue=Y.outOfBounds;return ue&&ee(q,he,y,A),ue}function Z(A,Y,q){var he=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;A!==null&&A.toString()!=="NaN"&&typeof A=="number"||(A=C||0),Y!==null&&Y.toString()!=="NaN"&&typeof Y=="number"||(Y=O||0),A=Number(A.toFixed(1)),Y=Number(Y.toFixed(1)),q=Number(q.toFixed(1)),C===A&&O===Y||ue||t("change",{},{x:eh(A,p.x),y:eh(Y,p.y),source:he}),e.scale||(q=y),q=D(q),q=+q.toFixed(3),Fe&&q!==y&&t("scale",{},{x:A,y:Y,scale:q});var Ke="translateX("+A+"px) translateY("+Y+"px) translateZ(0px) scale("+q+")";r.value.style.transform=Ke,r.value.style.webkitTransform=Ke,C=A,O=Y,y=q}function fe(){if(!!n.value){be();var A=e.scale?d.value:1;L(),N(A),$(),C=l.value+p.x,O=f.value+p.y;var Y=k(C,O),q=Y.x,he=Y.y;Z(q,he,A,"",!0),z(A)}}function Be(){P=!1,z(y)}function Oe(A){A&&(A=E*A,j(),F(A))}return Re(()=>{$n(r.value,Y=>{switch(Y.detail.state){case"start":fa();break;case"move":S(Y);break;case"end":T()}}),fe(),ye.reconfigure(1,ae.value),J.reconfigure(1,9*Math.pow(K.value,2)/40,K.value),r.value.style.transformOrigin="center",Fn();var A={rootRef:r,setParent:fe,_endScale:Be,_setScale:Oe};s(A),Xt(()=>{u(A)})}),Xt(()=>{be()}),{setParent:fe}}var Zy=["navigate","redirect","switchTab","reLaunch","navigateBack"],Ky={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~Zy.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}};function Gy(e){return()=>{if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta});break}}}var Jy=ge({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:Ky,setup(e,t){var{slots:r}=t,i=Bt(),a=i&&i.root.type.__scopeId||"",{hovering:n,binding:o}=dl(e),s=Gy(e);return()=>{var{hoverClass:u,url:l}=e,f=e.hoverClass&&e.hoverClass!=="none";return I("a",{class:"navigator-wrap",href:l,onClick:fc},[I("uni-navigator",tt({class:f&&n.value?u:""},f&&o,i?i.attrs:{},{[a]:""},{onClick:s}),[r.default&&r.default()],16,["onClick"])],8,["href","onClick"])}}}),Qy={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function eS(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 tS=ge({name:"PickerView",props:Qy,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=Pe(a,i),s=eS(e),u=U(null),l=()=>{var x=u.value;s.height=x.$el.offsetHeight},f=U([]),d=U([]);function g(x){var _=d.value;if(_ instanceof HTMLCollection)return Array.prototype.indexOf.call(_,x.el);_=_.filter(m=>m.type!==Wr);var w=_.indexOf(x);return w!==-1?w:f.value.indexOf(x)}var h=function(x){var _=te({get(){var w=g(x.vnode);return s.value[w]||0},set(w){var m=g(x.vnode);if(!(m<0)){var b=s.value[m];if(b!==w){s.value[m]=w;var c=s.value.map(v=>v);i("update:value",c),o("change",{},{value:c})}}}});return _};return ze("getPickerViewColumn",h),ze("pickerViewProps",e),ze("pickerViewState",s),ia(()=>{l(),d.value=n.value.children}),()=>{var x=r.default&&r.default();return I("uni-picker-view",{ref:a},[I(Ar,{ref:u,onResize:_=>{var{height:w}=_;return s.height=w}},null,8,["onResize"]),I("div",{ref:n,class:"uni-picker-view-wrapper"},[x],512)],512)}}});class nh{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 oh(e,t,r){return e>t-r&&e0){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(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),h*c+g*v},dx:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),h*f*c+g*d*v}}}var x=Math.sqrt(4*a*n-i*i)/(2*a),_=-i/2*a,w=t,m=(r-_*t)/x;return{x:function(b){return Math.pow(Math.E,_*b)*(w*Math.cos(x*b)+m*Math.sin(x*b))},dx:function(b){var c=Math.pow(Math.E,_*b),v=Math.cos(x*b),p=Math.sin(x*b);return c*(m*x*v-w*x*p)+_*c*(m*p+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||!kr(r,.4)){r=r||0;var a=this._endPosition;this._solution&&(kr(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),a=this._solution.x((i-this._startTime)/1e3),kr(r,.4)&&(r=0),kr(a,.4)&&(a=0),a+=this._endPosition),this._solution&&kr(a-t,.4)&&kr(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()),oh(this.x(),this._endPosition,.4)&&kr(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 rS{constructor(t,r,i){this._extent=t,this._friction=r||new nh(.01),this._spring=i||new sh(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 iS(e,t,r){var i={id:0,cancelled:!1};function a(o,s,u,l){if(!o||!o.cancelled){u(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,u,l))),f&&l&&l(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 aS{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 rS(this._extent,r.friction,r.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?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=iS(this._scroll,()=>{var s=Date.now(),u=(s-this._scroll._startTime)/1e3,l=this._scroll.x(u);this._position=l,this.updatePosition();var f=this._scroll.dx(u);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()),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}}update(t,r,i){var 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(),typeof this._options.onSnap=="function"&&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 nS(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new aS(e,t);function a(u){var l=u,f=u;return l.detail.state==="move"||l.detail.state==="end"?{x:l.detail.dx,y:l.detail.dy}:{x:f.screenX-r.x,y:f.screenY-r.y}}function n(u){var l=u,f=u;l.detail.state==="start"?(r.trackingID="touch",r.x=l.detail.x,r.y=l.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=[l.detail.timeStamp||f.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),u.preventDefault()}function o(u){var l=u,f=u;if(r.trackingID!==-1){u.preventDefault();var d=a(u);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(l.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(u){if(r.trackingID!==-1){u.preventDefault();var l=a(u);if(l){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,x=r.historyTime[h],_=r.historyX[h],w=r.historyY[h];h>0;){h--;var m=r.historyTime[h],b=x-m;if(b>30&&b<50){g.x=(_-r.historyX[h])/(b/1e3),g.y=(w-r.historyY[h])/(b/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],f&&f.onTouchEnd&&f.onTouchEnd(l.x,l.y,g)}}}return{scroller:i,handleTouchStart:n,handleTouchMove:o,handleTouchEnd:s}}var oS=0;function sS(e){var t="uni-picker-view-content-".concat(oS++);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 lS(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){s[l]=n[l]}),a.target.dispatchEvent(s)}})}var uS=ge({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=_e("getPickerViewColumn"),s=Bt(),u=o?o(s):U(0),l=_e("pickerViewProps"),f=_e("pickerViewState"),d=U(34),g=U(null),h=()=>{var O=g.value;d.value=O.$el.offsetHeight},x=te(()=>(f.height-d.value)/2),{state:_}=Yd(),w=sS(d),m,b=ke({current:u.value,length:0}),c;function v(){m&&!c&&(c=!0,Hr(()=>{c=!1;var O=Math.min(b.current,b.length-1);O=Math.max(O,0),m.update(O*d.value,void 0,d.value)}))}W(()=>u.value,O=>{O!==b.current&&(b.current=O,v())}),W(()=>b.current,O=>u.value=O),W([()=>d.value,()=>b.length,()=>f.height],v);var p=0;function y(O){var P=p+O.deltaY;if(Math.abs(P)>10){p=0;var M=Math.min(b.current+(P<0?-1:1),b.length-1);b.current=M=Math.max(M,0),m.scrollTo(M*d.value)}else p=P;O.preventDefault()}function E(O){var{clientY:P}=O,M=a.value;if(!m.isScrolling()){var H=M.getBoundingClientRect(),re=P-H.top-f.height/2,R=d.value/2;if(!(Math.abs(re)<=R)){var B=Math.ceil((Math.abs(re)-R)/d.value),X=re<0?-B:B,Q=Math.min(b.current+X,b.length-1);b.current=Q=Math.max(Q,0),m.scrollTo(Q*d.value)}}}var C=()=>{var O=a.value,P=n.value,{scroller:M,handleTouchStart:H,handleTouchMove:re,handleTouchEnd:R}=nS(P,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:d.value,friction:new nh(1e-4),spring:new sh(2,90,20),onSnap:B=>{!isNaN(B)&&B!==b.current&&(b.current=B)}});m=M,$n(O,B=>{switch(B.detail.state){case"start":H(B),or({disable:!0});break;case"move":re(B),B.stopPropagation();break;case"end":case"cancel":R(B),or({disable:!1})}},!0),lS(O),Fn(),v()};return ia(()=>{b.length=n.value.children.length,h(),C()}),()=>{var O=r.default&&r.default(),P="".concat(x.value,"px 0");return I("uni-picker-view-column",{ref:a},[I("div",{onWheel:y,onClick:E,class:"uni-picker-view-group"},[I("div",tt(_.attrs,{class:["uni-picker-view-mask",l.maskClass],style:"background-size: 100% ".concat(x.value,"px;").concat(l.maskStyle)}),null,16),I("div",tt(_.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[I(Ar,{ref:g,onResize:M=>{var{height:H}=M;return d.value=H}},null,8,["onResize"])],16),I("div",{ref:n,class:["uni-picker-view-content",w],style:{padding:P}},[O],6)],40,["onWheel","onClick"])],512)}}}),Mr={activeColor:La,backgroundColor:"#EBEBEB",activeMode:"backwards"},fS={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:Mr.activeColor},activeColor:{type:String,default:Mr.activeColor},backgroundColor:{type:String,default:Mr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Mr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}}},cS=ge({name:"Progress",props:fS,setup(e){var t=vS(e);return lh(t,e),W(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,lh(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:n}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[n+"%"]):""])}}});function vS(e){var t=U(0),r=te(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=te(()=>{var o=e.color!==Mr.activeColor&&e.activeColor===Mr.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),a=te(()=>{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 lh(e,t){t.active?(e.currentPercent=t.activeMode===Mr.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 uh=un("ucg"),dS={name:{type:String,default:""}},hS=ge({name:"RadioGroup",props:dS,setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return gS(e,n),()=>I("uni-radio-group",{ref:a},[i.default&&i.default()],512)}});function gS(e,t){var r=[];Re(()=>{s(r.length-1)});var i=()=>{var u;return(u=r.find(l=>l.value.radioChecked))===null||u===void 0?void 0:u.value.value};ze(uh,{addField(u){r.push(u)},removeField(u){r.splice(r.indexOf(u),1)},radioChange(u,l){var f=r.indexOf(l);s(f,!0),t("change",u,{value:i()})}});var a=_e(It,!1),n={submit:()=>{var u=["",null];return e.name!==""&&(u[0]=e.name,u[1]=i()),u}};a&&(a.addField(n),Ae(()=>{a.removeField(n)}));function o(u,l){u.value={radioChecked:l,value:u.value.value}}function s(u,l){r.forEach((f,d)=>{d!==u&&(l?o(r[d],!1):r.forEach((g,h)=>{d>=h||r[h].value.radioChecked&&o(r[d],!1)}))})}return r}var pS={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:""}},mS=ge({name:"Radio",props:pS,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value),n=te(()=>"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:u,field:l}=_S(i,a,o),f=d=>{e.disabled||(i.value=!0,s&&s.radioChange(d,l))};return u&&(u.addHandler(f),Ae(()=>{u.removeHandler(f)})),Mn(e,{"label-click":f}),()=>{var d=ai(e,"disabled");return I("uni-radio",tt(d,{onClick:f}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?n.value:""},[i.value?cn(fn,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function _S(e,t,r){var i=te({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:u=>{var{radioChecked:l}=u;e.value=l}}),a={reset:r},n=_e(uh,!1);n&&n.addField(i);var o=_e(It,!1);o&&o.addField(a);var s=_e(Ji,!1);return Ae(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s,field:i}}function bS(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function wS(e){return e.reduce(function(t,r){var i=r.value,a=r.name;return i.match(/ /)&&a!=="style"&&(i=i.split(" ")),t[a]?Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]:t[a]=i,t},{})}function xS(e){e=bS(e);var t=[],r={node:"root",children:[]};return zd(e,{start:function(i,a,n){var o={name:i};if(a.length!==0&&(o.attrs=wS(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 fh={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:""},yl={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function yS(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(ie(yl,r)&&yl[r])return yl[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function SS(e,t,r){return e==="img"&&t==="src"?vt(r):r}function ch(e,t,r,i){return e.forEach(function(a){if(!!mt(a))if(!ie(a,"type")||a.type==="node"){if(!(typeof a.name=="string"&&a.name))return;var n=a.name.toLowerCase();if(!ie(fh,n))return;var o=document.createElement(n);if(!o)return;var s=a.attrs;if(mt(s)){var u=fh[n]||[];Object.keys(s).forEach(function(f){var d=s[f];switch(f){case"class":Array.isArray(d)&&(d=d.join(" "));case"style":o.setAttribute(f,d),r&&o.setAttribute(r,"");break;default:u.indexOf(f)!==-1&&o.setAttribute(f,SS(n,f,d))}})}ES(a,o,i);var l=a.children;Array.isArray(l)&&l.length&&ch(a.children,o,r,i),t.appendChild(o)}else a.type==="text"&&typeof a.text=="string"&&a.text!==""&&t.appendChild(document.createTextNode(yS(a.text)))}),t}function ES(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}var TS={nodes:{type:[Array,String],default:function(){return[]}}},CS=ge({name:"RichText",compatConfig:{MODE:3},props:TS,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,a=Bt(),n=U(null),o=Pe(n,r),s=!!i.onItemclick;function u(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o("itemclick",f,d)}function l(f){typeof f=="string"&&(f=xS(f));var d=ch(f,document.createDocumentFragment(),(a&&a.root.type).__scopeId||"",s&&u);n.value.firstElementChild.innerHTML="",n.value.firstElementChild.appendChild(d)}return W(()=>e.nodes,f=>{l(f)}),Re(()=>{l(e.nodes)}),()=>I("uni-rich-text",{ref:n},[I("div",null,null)],512)}}),vh=mi(!0),OS={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}},AS=ge({name:"ScrollView",compatConfig:{MODE:3},props:OS,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=U(null),o=U(null),s=U(null),u=U(null),l=Pe(a,r),{state:f,scrollTopNumber:d,scrollLeftNumber:g}=IS(e);kS(e,f,d,g,l,a,n,s,r);var h=te(()=>{var x="";return e.scrollX?x+="overflow-x:auto;":x+="overflow-x:hidden;",e.scrollY?x+="overflow-y:auto;":x+="overflow-y:hidden;",x});return()=>{var{refresherEnabled:x,refresherBackground:_,refresherDefaultStyle:w}=e,{refresherHeight:m,refreshState:b,refreshRotate:c}=f;return I("uni-scroll-view",{ref:a},[I("div",{ref:o,class:"uni-scroll-view"},[I("div",{ref:n,style:h.value,class:"uni-scroll-view"},[I("div",{ref:s,class:"uni-scroll-view-content"},[x?I("div",{ref:u,style:{backgroundColor:_,height:m+"px"},class:"uni-scroll-view-refresher"},[w!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[b=="pulling"?I("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"},[I("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),I("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,b=="refreshing"?I("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[I("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 IS(e){var t=te(()=>Number(e.scrollTop)||0),r=te(()=>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 kS(e,t,r,i,a,n,o,s,u){var l=!1,f=0,d=!1,g=()=>{},h=te(()=>{var y=Number(e.upperThreshold);return isNaN(y)?50:y}),x=te(()=>{var y=Number(e.lowerThreshold);return isNaN(y)?50:y});function _(y,E){var C=o.value,O=0,P="";if(y<0?y=0:E==="x"&&y>C.scrollWidth-C.offsetWidth?y=C.scrollWidth-C.offsetWidth:E==="y"&&y>C.scrollHeight-C.offsetHeight&&(y=C.scrollHeight-C.offsetHeight),E==="x"?O=C.scrollLeft-y:E==="y"&&(O=C.scrollTop-y),O!==0){var M=s.value;M.style.transition="transform .3s ease-out",M.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?P="translateX("+O+"px) translateZ(0)":E==="y"&&(P="translateY("+O+"px) translateZ(0)"),M.removeEventListener("transitionend",g),M.removeEventListener("webkitTransitionEnd",g),g=()=>v(y,E),M.addEventListener("transitionend",g),M.addEventListener("webkitTransitionEnd",g),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),M.style.transform=P,M.style.webkitTransform=P}}function w(y){var E=y.target;a("scroll",y,{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&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"top"}),t.lastScrollToUpperTime=y.timeStamp),E.scrollTop+E.offsetHeight+x.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"bottom"}),t.lastScrollToLowerTime=y.timeStamp)),e.scrollX&&(E.scrollLeft<=h.value&&t.lastScrollLeft-E.scrollLeft>0&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"left"}),t.lastScrollToUpperTime=y.timeStamp),E.scrollLeft+E.offsetWidth+x.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"right"}),t.lastScrollToLowerTime=y.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function m(y){e.scrollY&&(e.scrollWithAnimation?_(y,"y"):o.value.scrollTop=y)}function b(y){e.scrollX&&(e.scrollWithAnimation?_(y,"x"):o.value.scrollLeft=y)}function c(y){if(y){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(y)){console.error("id error: scroll-into-view=".concat(y));return}var E=n.value.querySelector("#"+y);if(E){var C=o.value.getBoundingClientRect(),O=E.getBoundingClientRect();if(e.scrollX){var P=O.left-C.left,M=o.value.scrollLeft,H=M+P;e.scrollWithAnimation?_(H,"x"):o.value.scrollLeft=H}if(e.scrollY){var re=O.top-C.top,R=o.value.scrollTop,B=R+re;e.scrollWithAnimation?_(B,"y"):o.value.scrollTop=B}}}}function v(y,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=y):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=y),s.value.removeEventListener("transitionend",g),s.value.removeEventListener("webkitTransitionEnd",g)}function p(y){switch(y){case"refreshing":t.refresherHeight=e.refresherThreshold,l||(l=!0,a("refresherrefresh",{},{}),u("update:refresherTriggered",!0));break;case"restore":case"refresherabort":l=!1,t.refresherHeight=f=0,y==="restore"&&(d=!1,a("refresherrestore",{},{})),y==="refresherabort"&&d&&(d=!1,a("refresherabort",{},{}));break}t.refreshState=y}Re(()=>{Hr(()=>{m(r.value),b(i.value)}),c(e.scrollIntoView);var y=function(H){H.preventDefault(),H.stopPropagation(),w(H)},E={x:0,y:0},C=null,O=function(H){if(E!==null){var re=H.touches[0].pageX,R=H.touches[0].pageY,B=o.value;if(Math.abs(re-E.x)>Math.abs(R-E.y))if(e.scrollX){if(B.scrollLeft===0&&re>E.x){C=!1;return}else if(B.scrollWidth===B.offsetWidth+B.scrollLeft&&reE.y)C=!1,e.refresherEnabled&&H.cancelable!==!1&&H.preventDefault();else if(B.scrollHeight===B.offsetHeight+B.scrollTop&&R0&&(d=!0,a("refresherpulling",H,{deltaY:X})));var Q=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(Q>1?1:Q)*360}}},P=function(H){H.touches.length===1&&(or({disable:!0}),E={x:H.touches[0].pageX,y:H.touches[0].pageY})},M=function(H){E=null,or({disable:!1}),t.refresherHeight>=e.refresherThreshold?p("refreshing"):p("refresherabort")};o.value.addEventListener("touchstart",P,vh),o.value.addEventListener("touchmove",O,mi(!1)),o.value.addEventListener("scroll",y,mi(!1)),o.value.addEventListener("touchend",M,vh),Fn(),Ae(()=>{o.value.removeEventListener("touchstart",P),o.value.removeEventListener("touchmove",O),o.value.removeEventListener("scroll",y),o.value.removeEventListener("touchend",M)})}),ns(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),W(r,y=>{m(y)}),W(i,y=>{b(y)}),W(()=>e.scrollIntoView,y=>{c(y)}),W(()=>e.refresherTriggered,y=>{y===!0?p("refreshing"):y===!1&&p("restore")})}var MS={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}},RS=ge({name:"Slider",props:MS,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=U(null),o=U(Number(e.value));W(()=>e.value,d=>{o.value=Number(d)});var s=Pe(i,r),u=LS(e,o),{_onClick:l,_onTrack:f}=PS(e,o,i,a,s);return Re(()=>{$n(n.value,f)}),()=>{var{setBgColor:d,setBlockBg:g,setActiveColor:h,setBlockStyle:x}=u;return I("uni-slider",{ref:i,onClick:Or(l)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:d.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:n,style:g.value,class:"uni-slider-handle"},null,4),I("div",{style:x.value,class:"uni-slider-thumb"},null,4),I("div",{style:h.value,class:"uni-slider-track"},null,4)],4)]),Ii(I("span",{ref:a,class:"uni-slider-value"},[o.value],512),[[Li,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function LS(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:te(()=>({backgroundColor:i()})),setBlockBg:te(()=>({left:r()})),setActiveColor:te(()=>({backgroundColor:a(),width:r()})),setBlockStyle:te(()=>({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 PS(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),x=Number(e.step);return dg?g:NS.mul.call(Math.round((d-h)/x),x)+h},s=d=>{var g=Number(e.max),h=Number(e.min),x=i.value,_=getComputedStyle(x,null).marginLeft,w=x.offsetWidth;w=w+parseInt(_);var m=r.value,b=m.offsetWidth-(e.showValue?w:0),c=m.getBoundingClientRect().left,v=(d.x-c)*(g-h)/b+h;t.value=o(v)},u=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})},l=_e(It,!1);if(l){var f={reset:()=>t.value=Number(e.min),submit:()=>{var d=["",null];return e.name!==""&&(d[0]=e.name,d[1]=t.value),d}};l.addField(f),Ae(()=>{l.removeField(f)})}return{_onClick:n,_onTrack:u}}var NS={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)}},DS={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 BS(e){var t=te(()=>{var n=Number(e.interval);return isNaN(n)?5e3:n}),r=te(()=>{var n=Number(e.duration);return isNaN(n)?500:n}),i=te(()=>{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 FS(e,t,r,i,a,n){function o(){s&&(clearTimeout(s),s=null)}var s=null,u=!0,l=0,f=1,d=null,g=!1,h=0,x,_="",w,m=te(()=>e.circular&&r.value.length>t.displayMultipleItems);function b(R){if(!u)for(var B=r.value,X=B.length,Q=R+t.displayMultipleItems,V=0;V=K.length&&(R-=K.length),R=x%1>.5||x<0?R-1:R,n("transition",{},{dx:e.vertical?0:R*V.offsetWidth,dy:e.vertical?R*V.offsetHeight:0})}function v(){d&&(c(d.toPos),d=null)}function p(R){var B=r.value.length;if(!B)return-1;var X=(Math.round(R)%B+B)%B;if(m.value){if(B<=t.displayMultipleItems)return 0}else if(X>B-t.displayMultipleItems)return B-t.displayMultipleItems;return X}function y(){d=null}function E(){if(!d){g=!1;return}var R=d,B=R.toPos,X=R.acc,Q=R.endTime,V=R.source,K=Q-Date.now();if(K<=0){c(B),d=null,g=!1,x=null;var ae=r.value[t.current];if(ae){var Te=ae.getItemId();n("animationfinish",{},{current:t.current,currentItemId:Te,source:V})}return}var oe=X*K*K/2,de=B+oe;c(de),w=requestAnimationFrame(E)}function C(R,B,X){y();var Q=t.duration,V=r.value.length,K=l;if(m.value)if(X<0){for(;KR;)K-=V}else if(X>0){for(;K>R;)K-=V;for(;K+VR;)K-=V;K+V-R0&&f<1||(f=1)}var K=l;l=-2;var ae=t.current;ae>=0?(u=!1,t.userTracking?(c(K+ae-h),h=ae):(c(ae),e.autoplay&&O())):(u=!0,c(-t.displayMultipleItems-1))}W([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var R=-1;if(e.currentItemId)for(var B=0,X=r.value;Be.vertical,()=>m.value,()=>t.displayMultipleItems,()=>[...r.value]],P),W(()=>t.interval,()=>{s&&(o(),O())});function M(R,B){var X=_;_="";var Q=r.value;if(!X){var V=Q.length;C(R,"",m.value&&B+(V-R)%V>V/2?1:0)}var K=Q[R];if(K){var ae=t.currentItemId=K.getItemId();n("change",{},{current:t.current,currentItemId:ae,source:X})}}W(()=>t.current,(R,B)=>{M(R,B),a("update:current",R)}),W(()=>t.currentItemId,R=>{a("update:currentItemId",R)});function H(R){R?O():o()}W(()=>e.autoplay&&!t.userTracking,H),H(e.autoplay&&!t.userTracking),Re(()=>{var R=!1,B=0,X=0;function Q(){o(),h=l,B=0,X=Date.now(),y()}function V(ae){var Te=X;X=Date.now();var oe=r.value.length,de=oe-t.displayMultipleItems;function le(Ve){return .5-.25/(Ve+.5)}function J(Ve,sr){var Ne=h+Ve;B=.6*B+.4*sr,m.value||(Ne<0||Ne>de)&&(Ne<0?Ne=-le(-Ne):Ne>de&&(Ne=de+le(Ne-de)),B=0),c(Ne)}var ye=X-Te||1,be=i.value;e.vertical?J(-ae.dy/be.offsetHeight,-ae.ddy/ye):J(-ae.dx/be.offsetWidth,-ae.ddx/ye)}function K(ae){t.userTracking=!1;var Te=B/Math.abs(B),oe=0;!ae&&Math.abs(B)>.2&&(oe=.5*Te);var de=p(l+oe);ae?c(h):(_="touch",t.current=de,C(de,"touch",oe!==0?oe:de===0&&m.value&&l>=1?1:0))}$n(i.value,ae=>{if(!e.disableTouch&&!u){if(ae.detail.state==="start")return t.userTracking=!0,R=!1,Q();if(ae.detail.state==="end")return K(!1);if(ae.detail.state==="cancel")return K(!0);if(t.userTracking){if(!R){R=!0;var Te=Math.abs(ae.detail.dx),oe=Math.abs(ae.detail.dy);if((Te>=oe&&e.vertical||Te<=oe&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&O();return}}return V(ae.detail),!1}}})}),Xt(()=>{o(),cancelAnimationFrame(w)});function re(R){C(t.current=R,_="click",m.value?1:0)}return{onSwiperDotClick:re}}var $S=ge({name:"Swiper",props:DS,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),o=U(null),s=U(null),u=BS(e),l=te(()=>{var b={};return(e.nextMargin||e.previousMargin)&&(b=e.vertical?{left:0,right:0,top:mr(e.previousMargin,!0),bottom:mr(e.nextMargin,!0)}:{top:0,bottom:0,left:mr(e.previousMargin,!0),right:mr(e.nextMargin,!0)}),b}),f=te(()=>{var b=Math.abs(100/u.displayMultipleItems)+"%";return{width:e.vertical?"100%":b,height:e.vertical?b:"100%"}}),d=[],g=[],h=U([]);function x(){for(var b=[],c=function(p){var y=d[p];y instanceof Element||(y=y.el);var E=g.find(C=>y===C.rootRef.value);E&&b.push(ja(E))},v=0;v{d=s.value.children,x()});var _=function(b){g.push(b),x()};ze("addSwiperContext",_);var w=function(b){var c=g.indexOf(b);c>=0&&(g.splice(c,1),x())};ze("removeSwiperContext",w);var{onSwiperDotClick:m}=FS(e,u,h,s,i,n);return()=>{var b=r.default&&r.default();return d=bl(b),I("uni-swiper",{ref:a},[I("div",{ref:o,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:l.value},[I("div",{ref:s,class:"uni-swiper-slide-frame",style:f.value},[b],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map((c,v,p)=>I("div",{onClick:()=>m(v),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":v=u.current||v{var n=_e("addSwiperContext");n&&n(a)}),Xt(()=>{var n=_e("removeSwiperContext");n&&n(a)}),()=>I("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),HS={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"}},WS=ge({name:"Switch",props:HS,emits:["change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(e.checked),n=VS(e,a),o=Pe(i,r);W(()=>e.checked,u=>{a.value=u});var s=u=>{e.disabled||(a.value=!a.value,o("change",u,{value:a.value}))};return n&&(n.addHandler(s),Ae(()=>{n.removeHandler(s)})),Mn(e,{"label-click":s}),()=>{var{color:u,type:l}=e,f=ai(e,"disabled");return I("uni-switch",tt({ref:i},f,{onClick:s}),[I("div",{class:"uni-switch-wrapper"},[Ii(I("div",{class:["uni-switch-input",[a.value?"uni-switch-input-checked":""]],style:{backgroundColor:a.value?u:"#DFDFDF",borderColor:a.value?u:"#DFDFDF"}},null,6),[[Li,l==="switch"]]),Ii(I("div",{class:"uni-checkbox-input"},[a.value?cn(fn,e.color,22):""],512),[[Li,l==="checkbox"]])])],16,["onClick"])}}});function VS(e,t){var r=_e(It,!1),i=_e(Ji,!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),Xt(()=>{r.removeField(a)})),i}var oa={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function jS(e,t){return e.replace(/\\n/g,gi).split(gi).map(r=>YS(r,t))}function YS(e,t){var{space:r,decode:i}=t;return!e||(r&&oa[r]&&(e=e.replace(/ /g,oa[r])),!i)?e:e.replace(/ /g,oa.nbsp).replace(/ /g,oa.ensp).replace(/ /g,oa.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var qS=ce({},qd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),Sl=!1;function XS(){var e="(prefers-color-scheme: dark)";Sl=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var ZS=ge({name:"Textarea",props:qS,emit:["confirm","linechange",...Xd],setup(e,t){var{emit:r}=t,i=U(null),{fieldRef:a,state:n,scopedAttrsState:o,fixDisabledColor:s,trigger:u}=Zd(e,i,r),l=te(()=>n.value.split(gi)),f=te(()=>["done","go","next","search","send"].includes(e.confirmType)),d=U(0),g=U(null);W(()=>d.value,m=>{var b=i.value,c=g.value,v=parseFloat(getComputedStyle(b).lineHeight);isNaN(v)&&(v=c.offsetHeight);var p=Math.round(m/v);u("linechange",{},{height:m,heightRpx:750/window.innerWidth*m,lineCount:p}),e.autoHeight&&(b.style.height=m+"px")});function h(m){var{height:b}=m;d.value=b}function x(m){u("confirm",m,{value:n.value})}function _(m){m.key==="Enter"&&f.value&&m.preventDefault()}function w(m){if(m.key==="Enter"&&f.value){x(m);var b=m.target;!e.confirmHold&&b.blur()}}return XS(),()=>{var m=e.disabled&&s?I("textarea",{ref:a,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Sl},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:b=>b.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:a,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Sl},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:_,onKeyup:w},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[Ii(I("div",tt(o.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Li,!n.value.length]]),I("div",{ref:g,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[l.value.map(b=>I("div",null,[b.trim()?b:"."])),I(Ar,{initial:!0,onResize:h},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[m],40,["onSubmit"]):m])],512)}}});ce({},mx);function Hn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function dh(e,t,r){!e||bt(r||Kt(),e,(i,a)=>{var{type:n,data:o}=i;t(n,o,a)})}function hh(e,t){!e||Tm(t||Kt(),e)}function Wn(e,t,r,i){var a=Bt(),n=a.proxy;Re(()=>{dh(t||Hn(n),e,i),(r||!t)&&W(()=>n.id,(o,s)=>{dh(Hn(n,o),e,i),hh(s&&Hn(n,s))})}),Ae(()=>{hh(t||Hn(n),i)})}var KS=0;function Vn(e){var t=vn(),r=Bt(),i=r.proxy,a=i.$options.name.toLowerCase(),n=e||i.id||"context".concat(KS++);return Re(()=>{var o=i.$el;o.__uniContextInfo={id:n,type:a,page:t}}),"".concat(a,".").concat(n)}function GS(e){return e.__uniContextInfo}class gh extends yd{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...kn.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(kn.mounted);this.$animate&&(this.$animate=!1,this.call(kn.watch.animation.handler))}}}var JS=["space","decode"];class QS extends gh{constructor(t,r,i,a){super(t,document.createElement("uni-text"),r,i,a,JS);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update()}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(gi),super.update(t)}}class eE extends ii{constructor(t,r,i,a){super(t,"#text",r,document.createTextNode(""));this.init(a),this.insert(r,i)}}var jT="",tE=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class rE extends gh{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...tE,...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 iE(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class iE{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 aE extends rE{constructor(t,r,i,a){super(t,document.createElement("uni-view"),r,i,a)}}function ph(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function mh(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?xu+ph():0}var _h=Symbol("onDraw");function nE(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 El(e,t){return te(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var a=e[i];a=i==="src"?vt(a):a,r[i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())]=a}}),r})}function sa(e){var t=ke({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=U(!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=nE(d)?"absolute":"static",h.push("top","left")),h.forEach(x=>{var _=g[x];_=x==="top"?_+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:mh()):_,t[x]=_+"px"})}var a=null;function n(){a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=null,i()})}window.addEventListener("updateview",n);var o=[],s=[];function u(d){s?s.push(d):d()}function l(d){var g=_e(_h),h=x=>{d(x),o.forEach(_=>_(t)),o=null};u(()=>{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 ze(_h,f),Re(()=>{i(),s.forEach(d=>d()),s=null}),Ae(()=>{window.removeEventListener("updateview",n)}),{position:t,hidden:r,onParentReady:l}}var oE=ge({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=U(null),a=U(null),n=Pe(i,r),o=El(e,["id"]),{position:s,onParentReady:u}=sa(a),l;return u(()=>{l=plus.ad.createAdView(Object.assign({},o.value,s)),plus.webview.currentWebview().append(l),l.setDislikeListener(d=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},d)}),l.setRenderingListener(d=>{d.result===0?(a.value.style.height=d.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:d.result})}),l.setAdClickedListener(()=>{n("adclicked",{},{})}),W(()=>s,d=>l.setStyle(d),{deep:!0}),W(()=>e.adpid,d=>{d&&f()}),W(()=>e.data,d=>{d&&l.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:x,message:_}=g;h===0?l.renderingBind(x):n("error",{},{errMsg:_})})}e.adpid&&f()}),Ae(()=>{l&&l.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class xe extends ii{constructor(t,r,i,a,n,o,s){super(t,r,a);var u=document.createElement("div");u.__vueParent=sE(this),this.$props=ke({}),this.init(o),this.$app=sc(hT(i,this.$props)),this.$app.mount(u),this.$=u.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),ie(o,"t")&&this.setText(o.t||""),o.a&&ie(o.a,Pa)&&vl(this.$,o.a[Pa]),this.insert(a,n),bf()}init(t){var{a:r,e:i,w:a}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(n=>{this.setAttr(n,r[n])})),ie(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}addWxsEvent(t,r,i){this.$props[t]=xd(this.$,r,i)}addEvent(t,r){this.$props[t]=bd(this.id,r,Mo(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===Pa)this.$&&vl(this.$,r);else if(t===Au)this.$.__ownerId=r;else if(t===Iu)ar(()=>cd(this,r),ld);else if(t===Lo){var i=cl(this.$||nt(this.pid).$,r),a=this.$props.style;mt(i)&&mt(a)?Object.keys(i).forEach(n=>{a[n]=i[n]}):this.$props.style=i}else In(t)?this.$.style.setProperty(t,r):(r=cl(this.$||nt(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r))}removeAttr(t){In(t)?this.$.style.removeProperty(t):this.$props[t]=null}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Sh(this.id),this.removeUniChildren()}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class la extends xe{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 ar(this.getRebuildFn(),nl),super.setText(t)}appendChild(t){return ar(this.getRebuildFn(),nl),super.appendChild(t)}insertBefore(t,r){return ar(this.getRebuildFn(),nl),super.insertBefore(t,r)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function sE(e){for(;e&&e.pid>0;)if(e=nt(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function Tl(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 lE=["value","modelValue"];function bh(e){lE.forEach(t=>{if(ie(e,t)){var r="onUpdate:"+t;ie(e,r)||(e[r]=i=>e[t]=i)}})}class uE extends xe{constructor(t,r,i,a){super(t,"uni-ad",oE,r,i,a)}}var YT="";class fE extends xe{constructor(t,r,i,a){super(t,"uni-button",Cx,r,i,a)}}class oi extends ii{constructor(t,r,i,a){super(t,r,i);this.insert(i,a)}}class cE extends oi{constructor(t,r,i){super(t,"uni-camera",r,i)}}var qT="";class vE extends xe{constructor(t,r,i,a){super(t,"uni-canvas",Px,r,i,a,"uni-canvas > div")}}var XT="";class dE extends xe{constructor(t,r,i,a){super(t,"uni-checkbox",Ux,r,i,a,".uni-checkbox-wrapper")}setText(t){Tl(this.$holder,"uni-checkbox-input",t)}}var ZT="";class hE extends xe{constructor(t,r,i,a){super(t,"uni-checkbox-group",Fx,r,i,a)}}var KT="",gE=0;function wh(e,t,r){var{position:i,hidden:a,onParentReady:n}=sa(e),o,s;n(u=>{var l=te(()=>{var c={};for(var v in i){var p=i[v],y=parseFloat(p),E=parseFloat(u[v]);if(v==="top"||v==="left")p=Math.max(y,E)+"px";else if(v==="width"||v==="height"){var C=v==="width"?"left":"top",O=parseFloat(u[C]),P=parseFloat(i[C]),M=Math.max(O-P,0),H=Math.max(P+y-(O+E),0);p=Math.max(y-M-H,0)+"px"}c[v]=p}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 x(c){var v=getComputedStyle(e.value);return f.concat(d,g).forEach(p=>{c[p]=v[p]}),c}var _=ke(x({})),w=null;s=function(){w&&cancelAnimationFrame(w),w=requestAnimationFrame(()=>{w=null,x(_)})},window.addEventListener("updateview",s);function m(){var c={};for(var v in c){var p=c[v];(v==="top"||v==="left")&&(p=Math.min(parseFloat(p)-parseFloat(u[v]),0)+"px"),c[v]=p}return c}var b=te(()=>{var c=m(),v=[{tag:"rect",position:c,rectStyles:{color:_.backgroundColor,radius:_.borderRadius,borderColor:_.borderColor,borderWidth:_.borderWidth}}];if("src"in r)r.src&&v.push({tag:"img",position:c,src:r.src});else{var p=parseFloat(_.lineHeight)-parseFloat(_.fontSize),y=parseFloat(c.width)-parseFloat(_.paddingLeft)-parseFloat(_.paddingRight);y=y<0?0:y;var E=parseFloat(c.height)-parseFloat(_.paddingTop)-p/2-parseFloat(_.paddingBottom);E=E<0?0:E,v.push({tag:"font",position:{top:"".concat(parseFloat(c.top)+parseFloat(_.paddingTop)+p/2,"px"),left:"".concat(parseFloat(c.left)+parseFloat(_.paddingLeft),"px"),width:"".concat(y,"px"),height:"".concat(E,"px")},textStyles:{align:h[_.textAlign]||_.textAlign,color:_.color,decoration:"none",lineSpacing:"".concat(p,"px"),margin:"0px",overflow:_.textOverflow,size:_.fontSize,verticalAlign:"top",weight:_.fontWeight,whiteSpace:_.whiteSpace},text:r.text})}return v});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(gE++),l.value,b.value),plus.webview.currentWebview().append(o),a.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),W(()=>a.value,c=>{o[c?"hide":"show"]()}),W(()=>l.value,c=>{o.setStyle(c)},{deep:!0}),W(()=>b.value,()=>{o.reset(),o.draw(b.value)},{deep:!0})}),Ae(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var pE="_doc/uniapp_temp/",mE={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function _E(e,t,r){var i=U(""),a;function n(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?vt(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(a=plus.downloader.createDownload(s,{filename:pE+"/download/"},(u,l)=>{l===200?o(u.filename):r("error",{},{errMsg:"error"})}),a.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:u=>{var{width:l,height:f}=u;e.autoSize&&(i.value="width:".concat(l,"px;height:").concat(f,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:l,height:f})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&n(),W(()=>e.src,n),Ae(()=>{a&&a.abort()}),i}var xh=ge({name:"CoverImage",props:mE,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=ke({src:""}),o=_E(e,n,a);return wh(i,a,n),()=>I("uni-cover-image",{ref:i,style:o.value},[I("div",{class:"uni-cover-image"},null)],4)}});class bE extends xe{constructor(t,r,i,a){super(t,"uni-cover-image",xh,r,i,a)}}var GT="",wE=ge({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=Pe(i,r),o=ke({text:""});return wh(i,n,o),ia(()=>{var s=a.value.childNodes[0];o.text=s&&s instanceof Text?s.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:a,class:"uni-cover-view"},null,512)],512)}});class xE extends la{constructor(t,r,i,a){super(t,"uni-cover-view",wE,r,i,a,".uni-cover-view")}}var JT="";class yE extends xe{constructor(t,r,i,a){super(t,"uni-editor",vy,r,i,a)}}var QT="";class SE extends xe{constructor(t,r,i,a){super(t,"uni-form",wx,r,i,a,"span")}}class EE extends oi{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var e2="";class TE extends xe{constructor(t,r,i,a){super(t,"uni-icon",py,r,i,a)}}var t2="";class CE extends xe{constructor(t,r,i,a){super(t,"uni-image",by,r,i,a)}}var r2="";class OE extends xe{constructor(t,r,i,a){super(t,"uni-input",$y,r,i,a)}init(t){super.init(t),bh(this.$props)}}var i2="";class AE extends xe{constructor(t,r,i,a){super(t,"uni-label",Ex,r,i,a)}}class IE extends oi{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class kE extends oi{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var a2="",ME=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function Cl(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.substr(7,2);return{color:e.substr(0,7),opacity:t?Number("0x"+t)/255:1}}var RE={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},LE=ge({name:"Map",props:RE,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=El(e,["id"]),{position:s,hidden:u,onParentReady:l}=sa(n),f,{_addMarkers:d,_addMapLines:g,_addMapCircles:h,_setMap:x}=PE(e,a);l(()=>{f=ce(plus.maps.create(Kt()+"-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__:[]}),f.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(f),u.value&&f.hide(),f.onclick=w=>{a("click",{},w)},f.onstatuschanged=w=>{a("regionchange",{},{})},x(f),d(e.markers),g(e.polyline),h(e.circles),W(()=>o.value,w=>f&&f.setStyles(w),{deep:!0}),W(()=>s,w=>f&&f.setStyles(w),{deep:!0}),W(u,w=>{f&&f[w?"hide":"show"]()}),W(()=>e.scale,w=>{f&&f.setZoom(parseInt(String(w)))}),W([()=>e.latitude,()=>e.longitude],w=>{var[m,b]=w;f&&f.setStyles({center:new plus.maps.Point(Number(m),Number(b))})}),W(()=>e.markers,w=>{d(w,!0)},{deep:!0}),W(()=>e.polyline,w=>{g(w)},{deep:!0}),W(()=>e.circles,w=>{h(w)},{deep:!0})});var _=te(()=>e.controls.map(w=>{var m={position:"absolute"};return["top","left","width","height"].forEach(b=>{w.position[b]&&(m[b]=w.position[b]+"px")}),{id:w.id,iconPath:vt(w.iconPath),position:m,clickable:w.clickable}}));return Ae(()=>{f&&(f.close(),x(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-map-container"},null,512),_.value.map((w,m)=>I(xh,{key:m,src:w.iconPath,style:w.position,"auto-size":!0,onClick:()=>w.clickable&&a("controltap",{},{controlId:w.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function PE(e,t){var r;function i(h){var{longitude:x,latitude:_}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(x||e.longitude),Number(_||e.latitude))),h({errMsg:"moveToLocation:ok"}))}function a(h){!r||r.getCurrentCenter((x,_)=>{h({longitude:_.getLng(),latitude:_.getLat(),errMsg:"getCenterLocation:ok"})})}function n(h){if(!!r){var x=r.getBounds();h({southwest:x.getSouthWest(),northeast:x.getNorthEast(),errMsg:"getRegion:ok"})}}function o(h){!r||h({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(h){if(!!r){var{id:x,latitude:_,longitude:w,iconPath:m,callout:b,label:c}=h;ME(w,_,v=>{var p,{latitude:y,longitude:E}=v.coord,C=new plus.maps.Marker(new plus.maps.Point(E,y));m&&C.setIcon(vt(m)),c&&c.content&&C.setLabel(c.content);var O=void 0;b&&b.content&&(O=new plus.maps.Bubble(b.content)),O&&C.setBubble(O),(x||x===0)&&(C.onclick=P=>{t("markertap",{},{markerId:x})},O&&(O.onclick=()=>{t("callouttap",{},{markerId:x})})),(p=r)===null||p===void 0||p.addOverlay(C),r.__markers__.push(C)})}}function u(){if(!!r){var h=r.__markers__;h.forEach(x=>{var _;(_=r)===null||_===void 0||_.removeOverlay(x)}),r.__markers__=[]}}function l(h,x){x&&u(),h.forEach(_=>{s(_)})}function f(h){!r||(r.__lines__.length>0&&(r.__lines__.forEach(x=>{var _;(_=r)===null||_===void 0||_.removeOverlay(x)}),r.__lines__=[]),h.forEach(x=>{var _,{color:w,width:m}=x,b=x.points.map(p=>new plus.maps.Point(p.longitude,p.latitude)),c=new plus.maps.Polyline(b);if(w){var v=Cl(w);c.setStrokeColor(v.color),c.setStrokeOpacity(v.opacity)}m&&c.setLineWidth(m),(_=r)===null||_===void 0||_.addOverlay(c),r.__lines__.push(c)}))}function d(h){!r||(r.__circles__.length>0&&(r.__circles__.forEach(x=>{var _;(_=r)===null||_===void 0||_.removeOverlay(x)}),r.__circles__=[]),h.forEach(x=>{var _,{latitude:w,longitude:m,color:b,fillColor:c,radius:v,strokeWidth:p}=x,y=new plus.maps.Circle(new plus.maps.Point(m,w),v);if(b){var E=Cl(b);y.setStrokeColor(E.color),y.setStrokeOpacity(E.opacity)}if(c){var C=Cl(c);y.setFillColor(C.color),y.setFillOpacity(C.opacity)}p&&y.setLineWidth(p),(_=r)===null||_===void 0||_.addOverlay(y),r.__circles__.push(y)}))}var g={moveToLocation:i,getCenterLocation:a,getRegion:n,getScale:o};return Wn((h,x,_)=>{g[h]&&g[h](_,x)},Vn(),!0),{_addMarkers:l,_addMapLines:f,_addMapCircles:d,_setMap(h){r=h}}}class NE extends xe{constructor(t,r,i,a){super(t,"uni-map",LE,r,i,a,".uni-map-slot")}}var n2="";class DE extends la{constructor(t,r,i,a){super(t,"uni-movable-area",Vy,r,i,a)}}var o2="";class BE extends xe{constructor(t,r,i,a){super(t,"uni-movable-view",qy,r,i,a)}}var s2="";class FE extends xe{constructor(t,r,i,a){super(t,"uni-navigator",Jy,r,i,a,"uni-navigator")}}class $E extends oi{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class zE extends oi{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var Ie={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},si={YEAR:"year",MONTH:"month",DAY:"day"};function jn(e){return e>9?e:"0".concat(e)}function Yn(e,t){e=String(e||"");var r=new Date;if(t===Ie.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 UE(e){if(e.mode===Ie.TIME)return"00:00";if(e.mode===Ie.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case si.YEAR:return t;case si.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function HE(e){if(e.mode===Ie.TIME)return"23:59";if(e.mode===Ie.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case si.YEAR:return t;case si.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var WE={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Ie.SELECTOR,validator(e){return Object.values(Ie).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:UE},end:{type:String,default:HE},disabled:{type:[Boolean,String],default:!1}},VE=ge({name:"Picker",props:WE,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;bm();var{t:i,getLocale:a}=Je(),n=U(null),o=Pe(n,r),s=U(null),u=U(null),l=()=>{var m=e.value;switch(e.mode){case Ie.MULTISELECTOR:{Array.isArray(m)||(m=[]),Array.isArray(s.value)||(s.value=[]);for(var b=s.value.length=Math.max(m.length,e.range.length),c=0;c{u.value&&u.value.sendMessage(m)},d=m=>{var b={event:"cancel"};u.value=ub({url:"__uniapppicker",data:m,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(m);return}if(v==="columnchange"){delete c.event,o(v,{},c);return}b=c},onClose:()=>{u.value=null;var c=b.event;delete b.event,c&&o(c,{},b)}})},g=(m,b)=>{plus.nativeUI[e.mode===Ie.TIME?"pickTime":"pickDate"](c=>{var v=c.date;o("change",{},{value:e.mode===Ie.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===Ie.TIME?{time:Yn(e.value,Ie.TIME),popover:b}:{date:Yn(e.value,Ie.DATE),minDate:Yn(e.start,Ie.DATE),maxDate:Yn(e.end,Ie.DATE),popover:b})},h=(m,b)=>{(m.mode===Ie.TIME||m.mode===Ie.DATE)&&!m.fields?g(m,b):(m.fields=Object.values(si).includes(m.fields)?m.fields:si.DAY,d(m))},x=m=>{if(!e.disabled){var b=m.currentTarget,c=b.getBoundingClientRect();h(Object.assign({},e,{value:s.value,locale:a(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:c.top+mh(),left:c.left,width:c.width,height:c.height})}},_=_e(It,!1),w={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Ie.SELECTOR:s.value=0;break;case Ie.MULTISELECTOR:Array.isArray(e.value)&&(s.value=e.value.map(m=>0));break;case Ie.DATE:case Ie.TIME:s.value="";break}}};return _&&(_.addField(w),Ae(()=>_.removeField(w))),Object.keys(e).forEach(m=>{m!=="name"&&W(()=>e[m],b=>{var c={};c[m]=b,f(c)},{deep:!0})}),W(()=>e.value,l,{deep:!0}),l(),()=>I("uni-picker",{ref:n,onClick:x},[I("slot",null,null)],8,["onClick"])}});class jE extends xe{constructor(t,r,i,a){super(t,"uni-picker",VE,r,i,a)}}var l2="";class YE extends la{constructor(t,r,i,a){super(t,"uni-picker-view",tS,r,i,a,".uni-picker-view-wrapper")}}var u2="";class qE extends la{constructor(t,r,i,a){super(t,"uni-picker-view-column",uS,r,i,a,".uni-picker-view-content")}}var f2="";class XE extends xe{constructor(t,r,i,a){super(t,"uni-progress",cS,r,i,a)}}var c2="";class ZE extends xe{constructor(t,r,i,a){super(t,"uni-radio",mS,r,i,a,".uni-radio-wrapper")}setText(t){Tl(this.$holder,"uni-radio-input",t)}}var v2="";class KE extends xe{constructor(t,r,i,a){super(t,"uni-radio-group",hS,r,i,a)}}var d2="";class GE extends xe{constructor(t,r,i,a){super(t,"uni-rich-text",CS,r,i,a)}}var h2="";class JE extends xe{constructor(t,r,i,a){super(t,"uni-scroll-view",AS,r,i,a,".uni-scroll-view-content")}setText(t){Tl(this.$holder,"uni-scroll-view-refresher",t)}}var g2="";class QE extends xe{constructor(t,r,i,a){super(t,"uni-slider",RS,r,i,a)}}var p2="";class eT extends la{constructor(t,r,i,a){super(t,"uni-swiper",$S,r,i,a,".uni-swiper-slide-frame")}}var m2="";class tT extends xe{constructor(t,r,i,a){super(t,"uni-swiper-item",US,r,i,a)}}var _2="";class rT extends xe{constructor(t,r,i,a){super(t,"uni-switch",WS,r,i,a)}}var b2="";class iT extends xe{constructor(t,r,i,a){super(t,"uni-textarea",ZS,r,i,a)}init(t){super.init(t),bh(this.$props)}}var w2="",aT={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},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[]}}},yh=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],nT=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],oT=ge({name:"Video",props:aT,emits:yh,setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=El(e,["id"]),{position:s,hidden:u,onParentReady:l}=sa(n),f;l(()=>{f=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),u.value&&f.hide(),yh.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(()=>u.value,g=>{f[g?"hide":"show"](),g||f.setStyles(s)})});var d=Vn();return Wn((g,h)=>{if(nT.includes(g)){var x;switch(g){case"seek":x=h.position;break;case"sendDanmu":x=h;break;case"playbackRate":x=h.rate;break;case"requestFullScreen":x=h.direction;break}f&&f[g](x)}},d,!0),Ae(()=>{f&&f.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class sT extends xe{constructor(t,r,i,a){super(t,"uni-video",oT,r,i,a,".uni-video-slot")}}var x2="",lT={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default(){return{}}}},at,uT=e=>{var{htmlId:t,src:r,webviewStyles:i,props:a}=e,n=plus.webview.currentWebview(),o=ce(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var u=xu+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(u+=ph()),o.top=String(u),o.bottom=o.bottom||"0"}at=plus.webview.create(r,t,o),s&&at.addEventListener("titleUpdate",function(){var l;if(!!a.updateTitle){var f=(l=at)===null||l===void 0?void 0:l.getTitle();n.setStyle({titleNView:{titleText:!f||f==="null"?" ":f}})}}),plus.webview.currentWebview().append(at)},fT=()=>{var e;plus.webview.currentWebview().remove(at),(e=at)===null||e===void 0||e.close("none"),at=null},cT=ge({name:"WebView",props:lT,setup(e){var t=Kt(),r=U(null),{hidden:i,onParentReady:a}=sa(r),n=te(()=>e.webviewStyles);return a(()=>{var o,s=U(bb+t);uT({htmlId:s.value,src:vt(e.src),webviewStyles:n.value,props:e}),UniViewJSBridge.publishHandler(mb,{},t),i.value&&((o=at)===null||o===void 0||o.hide())}),Ae(()=>{fT(),UniViewJSBridge.publishHandler(_b,{},t)}),W(()=>e.src,o=>{var s,u=vt(o)||"";if(!!u){if(/^(http|https):\/\//.test(u)&&e.webviewStyles.progress){var l;(l=at)===null||l===void 0||l.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=at)===null||s===void 0||s.loadURL(u)}}),W(n,o=>{var s;(s=at)===null||s===void 0||s.setStyle(o)}),W(i,o=>{at&&at[o?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class vT extends xe{constructor(t,r,i,a){super(t,"uni-web-view",cT,r,i,a)}}var dT={"#text":eE,"#comment":dx,VIEW:aE,IMAGE:CE,TEXT:QS,NAVIGATOR:FE,FORM:SE,BUTTON:fE,INPUT:OE,LABEL:AE,RADIO:ZE,CHECKBOX:dE,"CHECKBOX-GROUP":hE,AD:uE,CAMERA:cE,CANVAS:vE,"COVER-IMAGE":bE,"COVER-VIEW":xE,EDITOR:yE,"FUNCTIONAL-PAGE-NAVIGATOR":EE,ICON:TE,"RADIO-GROUP":KE,"LIVE-PLAYER":IE,"LIVE-PUSHER":kE,MAP:NE,"MOVABLE-AREA":DE,"MOVABLE-VIEW":BE,"OFFICIAL-ACCOUNT":$E,"OPEN-DATA":zE,PICKER:jE,"PICKER-VIEW":YE,"PICKER-VIEW-COLUMN":qE,PROGRESS:XE,"RICH-TEXT":GE,"SCROLL-VIEW":JE,SLIDER:QE,SWIPER:eT,"SWIPER-ITEM":tT,SWITCH:rT,TEXTAREA:iT,VIDEO:sT,"WEB-VIEW":vT};function hT(e,t){return()=>p_(e,t)}var qn=new Map;function nt(e){return qn.get(e)}function gT(e){return qn.get(e)}function Sh(e){return qn.delete(e)}function Eh(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n;if(e===0)n=new ii(e,t,r,document.createElement(t));else{var o=dT[t];o?n=new o(e,r,i,a):n=new yd(e,document.createElement(t),r,i,a)}return qn.set(e,n),n}var Ol=[],Th=!1;function Ch(e){if(Th)return e();Ol.push(e)}function Al(){Th=!0,Ol.forEach(e=>e()),Ol.length=0}function y2(){}function Oh(e){var{css:t,route:r,platform:i,pixelRatio:a,windowWidth:n,disableScroll:o,statusbarHeight:s,windowTop:u,windowBottom:l}=e;pT(r),mT(i,a,n),_T();var f=plus.webview.currentWebview().id;window.__id__=f,document.title="".concat(r,"[").concat(f,"]"),wT(s,u,l),o&&document.addEventListener("touchmove",nb),t?bT(r):Al()}function pT(e){window.__PAGE_INFO__={route:e}}function mT(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function _T(){Eh(0,"div",-1,-1).$=document.getElementById("app")}function bT(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Al,t.onerror=Al,document.head.appendChild(t)}function wT(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};X_(i)}var Ah=!1;function xT(e){if(!Ah){Ah=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(Ap,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(Ip)}};requestAnimationFrame(()=>document.addEventListener("scroll",ob(t)))}}function yT(e,t){var{scrollTop:r,selector:i,duration:a}=e;Dp(i||r||0,a),t()}function ST(e){var t=e[0];t[0]===ku?ET(t):Ch(()=>TT(e))}function ET(e){return Oh(e[1])}function TT(e){var t=e[0],r=q1(t[0]===pb?t[1]:[]);e.forEach(i=>{switch(i[0]){case ku:return Oh(i[1]);case Vp:return void 0;case jp:return Eh(i[1],r(i[2]),i[3],i[4],X1(r,i[5]));case Yp:return nt(i[1]).remove();case qp:return nt(i[1]).setAttr(r(i[2]),r(i[3]));case Xp:return nt(i[1]).removeAttr(r(i[2]));case Zp:return nt(i[1]).addEvent(r(i[2]),i[3]);case Jp:return nt(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case Kp:return nt(i[1]).removeEvent(r(i[2]));case Gp:return nt(i[1]).setText(r(i[2]));case Qp:return xT(i[1])}}),J1()}function CT(){var{subscribe:e}=UniViewJSBridge;e(xc,ST),e(wb,t=>Je().setLocale(t)),e(yc,OT)}function OT(){UniViewJSBridge.publishHandler("webviewReady")}function Ih(e){return window.__$__(e).$}function AT(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 Il(e,t){var r={},{top:i}=q_();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=Io(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(r.left=a.left,r.right=a.right,r.top=a.top-i,r.bottom=a.bottom-i),t.size&&(r.width=a.width,r.height=a.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(u,l){return l.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var n=e.children[0].children[0];r.scrollLeft=n.scrollLeft,r.scrollTop=n.scrollTop,r.scrollHeight=n.scrollHeight,r.scrollWidth=n.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=GS(e)),r}function IT(e,t){return e?window.__$__(e).$:t.$el}function kh(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 kT(e,t,r,i,a){var n=IT(t,e),o=n.parentElement;if(!o)return i?null:[];var{nodeType:s}=n,u=s===3||s===8;if(i){var l=u?o.querySelector(r):kh(n,r)?n:n.querySelector(r);return l?Il(l,a):null}else{var f=[],d=(u?o:n).querySelectorAll(r);return d&&d.length&&[].forEach.call(d,g=>{f.push(Il(g,a))}),!u&&kh(n,r)&&f.unshift(Il(n,a)),f}}function MT(e,t,r){var i=[];t.forEach(a=>{var{component:n,selector:o,single:s,fields:u}=a;n===null?i.push(AT(u)):i.push(kT(e,n,o,s,u))}),r(i)}function RT(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 LT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Ih(i);(o.__io||(o.__io={}))[r]=$1(o,a,n)}function PT(e,t){var{reqId:r,component:i}=e,a=Ih(i),n=a.__io&&a.__io[r];n&&(n.disconnect(),delete a.__io[r])}var kl={},Ml={};function NT(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(Mh(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Mh(i),": ").concat(e[i],")"));var a=t.join(" and ");return a}function Mh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function DT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=kl[r]=window.matchMedia(NT(a)),s=Ml[r]=u=>n(u.matches);s(o),o.addListener(s)}function BT(e,t){var{reqId:r,component:i}=e,a=Ml[r],n=kl[r];n&&(n.removeListener(a),delete Ml[r],delete kl[r])}function FT(e,t){var{family:r,source:i,desc:a}=e;Np(r,i,a).then(()=>{t()}).catch(n=>{t(n.toString())})}var $T={$el:document.body};function zT(){var e=Kt();Em(e,t=>function(){for(var r=arguments.length,i=new Array(r),a=0;a{t.apply(null,i)})}),bt(e,"requestComponentInfo",(t,r)=>{MT($T,t.reqs,r)}),bt(e,"addIntersectionObserver",t=>{LT(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeIntersectionObserver",t=>{PT(t)}),bt(e,"addMediaQueryObserver",t=>{DT(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeMediaQueryObserver",t=>{BT(t)}),bt(e,D1,yT),bt(e,N1,FT),bt(e,P1,t=>{RT(null,t)})}window.uni=j1,window.UniViewJSBridge=Sc,window.rpx2px=nd,window.__$__=nt,window.__f__=zp;function Rh(){Lm(),zT(),CT(),Y1(),Sc.publishHandler(yc)}typeof plus!="undefined"?Rh():document.addEventListener("plusready",Rh)});