mazey-wechat-launch-app 2.2.6 → 2.3.1-mini.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/lib/index.cjs.js +2 -2
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.esm.js +2 -2
- package/lib/launch-app.min.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
- [Install](#install)
|
|
17
17
|
- [Usage](#usage)
|
|
18
|
-
- [
|
|
19
|
-
- [
|
|
18
|
+
- [使用 npm](#使用-npm)
|
|
19
|
+
- [使用 CDN](#使用-cdn)
|
|
20
20
|
- [API](#api)
|
|
21
21
|
- [参数](#参数)
|
|
22
22
|
- [方法](#方法)
|
|
@@ -36,7 +36,7 @@ npm install mazey-wechat-launch-app --save
|
|
|
36
36
|
|
|
37
37
|
## Usage
|
|
38
38
|
|
|
39
|
-
###
|
|
39
|
+
### 使用 npm
|
|
40
40
|
|
|
41
41
|
```javascript
|
|
42
42
|
import LAUNCH_APP from 'mazey-wechat-launch-app';
|
|
@@ -73,7 +73,7 @@ app.start();
|
|
|
73
73
|
|
|
74
74
|
注意:本项目依赖 [WeChat JS-SDK](https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html#3),请确保已经引入,程序会在初始化的时候探测 `window.wx`。
|
|
75
75
|
|
|
76
|
-
###
|
|
76
|
+
### 使用 CDN
|
|
77
77
|
|
|
78
78
|
```html
|
|
79
79
|
<script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
|
@@ -102,7 +102,7 @@ app.start();
|
|
|
102
102
|
| `weixinJsSdkTicket` | [jsapi_ticket](https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html#62) 公众号用于调用微信 JS 接口的临时票据 | string | (必填)例如:`bxLdikRXVb` |
|
|
103
103
|
| `launchContainerQuery` | [selectors](https://developer.mozilla.org/zh-CN/docs/Web/CSS/CSS_Selectors) 有效的 CSS 选择器字符串,通常是填充按钮的父容器 | string | (必填)例如:`.example-btn`, `#example-btn` |
|
|
104
104
|
| `serviceAccountAppId` | 公众号的唯一标识 AppId | string | (必填)例如:`wx123` |
|
|
105
|
-
| `openPlatformMobileAppId` | 开放平台内所需跳转的移动应用的 AppId | string |
|
|
105
|
+
| `openPlatformMobileAppId` | 开放平台内所需跳转的移动应用的 AppId | string | (可选)例如:`wx456` |
|
|
106
106
|
| `extInfo` | [extinfo](https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_Open_Tag.html#%E8%B7%B3%E8%BD%ACAPP%EF%BC%9Awx-open-launch-app) 跳转所需额外信息 | string | (可选)例如:`example://example/example` |
|
|
107
107
|
| `launchBtnStyle` | 按钮内联样式 | string | (可选)例如:`top:0;right:0;bottom:0;left:0;` |
|
|
108
108
|
| `launchBtnText` | 按钮文字 | string | (可选)例如:`打开 App` |
|
package/lib/index.cjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* mazey-wechat-launch-app v2.
|
|
2
|
+
* mazey-wechat-launch-app v2.3.1-mini.0 https://www.npmjs.com/package/mazey-wechat-launch-app
|
|
3
3
|
* (c) 2018-2025 Cheng
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
"use strict";var t=require("mazey"),e=require("jquery"),n=require("js-sha1");function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=r(e),i=r(n),a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(t,e){return t(e={exports:{}},e.exports),e.exports}var u,f,l=function(t){return t&&t.Math==Math&&t},s=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof a&&a)||function(){return this}()||Function("return this")(),p=function(t){try{return!!t()}catch(t){return!0}},d=!p((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!p((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),v=Function.prototype.call,y=h?v.bind(v):function(){return v.apply(v,arguments)},g={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,b=m&&!g.call({1:2},1)?function(t){var e=m(this,t);return!!e&&e.enumerable}:g,w={f:b},S=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},A=Function.prototype,O=A.call,E=h&&A.bind.bind(O,O),P=h?E:function(t){return function(){return O.apply(t,arguments)}},T=P({}.toString),_=P("".slice),j=function(t){return _(T(t),8,-1)},L=Object,x=P("".split),C=p((function(){return!L("z").propertyIsEnumerable(0)}))?function(t){return"String"==j(t)?x(t,""):L(t)}:L,I=function(t){return null==t},R=TypeError,k=function(t){if(I(t))throw R("Can't call method on "+t);return t},N=function(t){return C(k(t))},M="object"==typeof document&&document.all,U={all:M,IS_HTMLDDA:void 0===M&&void 0!==M},D=U.all,H=U.IS_HTMLDDA?function(t){return"function"==typeof t||t===D}:function(t){return"function"==typeof t},B=U.all,W=U.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:H(t)||t===B}:function(t){return"object"==typeof t?null!==t:H(t)},F=function(t,e){return arguments.length<2?(n=s[t],H(n)?n:void 0):s[t]&&s[t][e];var n},z=P({}.isPrototypeOf),G="undefined"!=typeof navigator&&String(navigator.userAgent)||"",q=s.process,V=s.Deno,X=q&&q.versions||V&&V.version,Y=X&&X.v8;Y&&(f=(u=Y.split("."))[0]>0&&u[0]<4?1:+(u[0]+u[1])),!f&&G&&(!(u=G.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=G.match(/Chrome\/(\d+)/))&&(f=+u[1]);var J=f,K=!!Object.getOwnPropertySymbols&&!p((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&J&&J<41})),Q=K&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,$=Object,Z=Q?function(t){return"symbol"==typeof t}:function(t){var e=F("Symbol");return H(e)&&z(e.prototype,$(t))},tt=String,et=function(t){try{return tt(t)}catch(t){return"Object"}},nt=TypeError,rt=function(t){if(H(t))return t;throw nt(et(t)+" is not a function")},ot=function(t,e){var n=t[e];return I(n)?void 0:rt(n)},it=TypeError,at=Object.defineProperty,ct=function(t,e){try{at(s,t,{value:e,configurable:!0,writable:!0})}catch(n){s[t]=e}return e},ut="__core-js_shared__",ft=s[ut]||ct(ut,{}),lt=c((function(t){(t.exports=function(t,e){return ft[t]||(ft[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),st=Object,pt=function(t){return st(k(t))},dt=P({}.hasOwnProperty),ht=Object.hasOwn||function(t,e){return dt(pt(t),e)},vt=0,yt=Math.random(),gt=P(1..toString),mt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+gt(++vt+yt,36)},bt=s.Symbol,wt=lt("wks"),St=Q?bt.for||bt:bt&&bt.withoutSetter||mt,At=function(t){return ht(wt,t)||(wt[t]=K&&ht(bt,t)?bt[t]:St("Symbol."+t)),wt[t]},Ot=TypeError,Et=At("toPrimitive"),Pt=function(t,e){if(!W(t)||Z(t))return t;var n,r=ot(t,Et);if(r){if(void 0===e&&(e="default"),n=y(r,t,e),!W(n)||Z(n))return n;throw Ot("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&H(n=t.toString)&&!W(r=y(n,t)))return r;if(H(n=t.valueOf)&&!W(r=y(n,t)))return r;if("string"!==e&&H(n=t.toString)&&!W(r=y(n,t)))return r;throw it("Can't convert object to primitive value")}(t,e)},Tt=function(t){var e=Pt(t,"string");return Z(e)?e:e+""},_t=s.document,jt=W(_t)&&W(_t.createElement),Lt=function(t){return jt?_t.createElement(t):{}},xt=!d&&!p((function(){return 7!=Object.defineProperty(Lt("div"),"a",{get:function(){return 7}}).a})),Ct=Object.getOwnPropertyDescriptor,It={f:d?Ct:function(t,e){if(t=N(t),e=Tt(e),xt)try{return Ct(t,e)}catch(t){}if(ht(t,e))return S(!y(w.f,t,e),t[e])}},Rt=d&&p((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),kt=String,Nt=TypeError,Mt=function(t){if(W(t))return t;throw Nt(kt(t)+" is not an object")},Ut=TypeError,Dt=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,Bt="enumerable",Wt="configurable",Ft="writable",zt={f:d?Rt?function(t,e,n){if(Mt(t),e=Tt(e),Mt(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ft in n&&!n[Ft]){var r=Ht(t,e);r&&r[Ft]&&(t[e]=n.value,n={configurable:Wt in n?n[Wt]:r[Wt],enumerable:Bt in n?n[Bt]:r[Bt],writable:!1})}return Dt(t,e,n)}:Dt:function(t,e,n){if(Mt(t),e=Tt(e),Mt(n),xt)try{return Dt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Ut("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Gt=d?function(t,e,n){return zt.f(t,e,S(1,n))}:function(t,e,n){return t[e]=n,t},qt=Function.prototype,Vt=d&&Object.getOwnPropertyDescriptor,Xt=ht(qt,"name"),Yt={EXISTS:Xt,PROPER:Xt&&"something"===function(){}.name,CONFIGURABLE:Xt&&(!d||d&&Vt(qt,"name").configurable)},Jt=P(Function.toString);H(ft.inspectSource)||(ft.inspectSource=function(t){return Jt(t)});var Kt,Qt,$t,Zt=ft.inspectSource,te=s.WeakMap,ee=H(te)&&/native code/.test(String(te)),ne=lt("keys"),re=function(t){return ne[t]||(ne[t]=mt(t))},oe={},ie="Object already initialized",ae=s.TypeError,ce=s.WeakMap;if(ee||ft.state){var ue=ft.state||(ft.state=new ce);ue.get=ue.get,ue.has=ue.has,ue.set=ue.set,Kt=function(t,e){if(ue.has(t))throw ae(ie);return e.facade=t,ue.set(t,e),e},Qt=function(t){return ue.get(t)||{}},$t=function(t){return ue.has(t)}}else{var fe=re("state");oe[fe]=!0,Kt=function(t,e){if(ht(t,fe))throw ae(ie);return e.facade=t,Gt(t,fe,e),e},Qt=function(t){return ht(t,fe)?t[fe]:{}},$t=function(t){return ht(t,fe)}}var le={set:Kt,get:Qt,has:$t,enforce:function(t){return $t(t)?Qt(t):Kt(t,{})},getterFor:function(t){return function(e){var n;if(!W(e)||(n=Qt(e)).type!==t)throw ae("Incompatible receiver, "+t+" required");return n}}},se=c((function(t){var e=Yt.CONFIGURABLE,n=le.enforce,r=le.get,o=String,i=Object.defineProperty,a=P("".slice),c=P("".replace),u=P([].join),f=d&&!p((function(){return 8!==i((function(){}),"length",{value:8}).length})),l=String(String).split("String"),s=t.exports=function(t,r,s){"Symbol("===a(o(r),0,7)&&(r="["+c(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(r="get "+r),s&&s.setter&&(r="set "+r),(!ht(t,"name")||e&&t.name!==r)&&(d?i(t,"name",{value:r,configurable:!0}):t.name=r),f&&s&&ht(s,"arity")&&t.length!==s.arity&&i(t,"length",{value:s.arity});try{s&&ht(s,"constructor")&&s.constructor?d&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=n(t);return ht(p,"source")||(p.source=u(l,"string"==typeof r?r:"")),t};Function.prototype.toString=s((function(){return H(this)&&r(this).source||Zt(this)}),"toString")})),pe=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(H(n)&&se(n,i,r),r.global)o?t[e]=n:ct(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:zt.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},de=Math.ceil,he=Math.floor,ve=Math.trunc||function(t){var e=+t;return(e>0?he:de)(e)},ye=function(t){var e=+t;return e!=e||0===e?0:ve(e)},ge=Math.max,me=Math.min,be=Math.min,we=function(t){return(e=t.length)>0?be(ye(e),9007199254740991):0;var e},Se=function(t){return function(e,n,r){var o,i=N(e),a=we(i),c=function(t,e){var n=ye(t);return n<0?ge(n+e,0):me(n,e)}(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},Ae={includes:Se(!0),indexOf:Se(!1)}.indexOf,Oe=P([].push),Ee=function(t,e){var n,r=N(t),o=0,i=[];for(n in r)!ht(oe,n)&&ht(r,n)&&Oe(i,n);for(;e.length>o;)ht(r,n=e[o++])&&(~Ae(i,n)||Oe(i,n));return i},Pe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Te=Pe.concat("length","prototype"),_e={f:Object.getOwnPropertyNames||function(t){return Ee(t,Te)}},je={f:Object.getOwnPropertySymbols},Le=P([].concat),xe=F("Reflect","ownKeys")||function(t){var e=_e.f(Mt(t)),n=je.f;return n?Le(e,n(t)):e},Ce=function(t,e,n){for(var r=xe(e),o=zt.f,i=It.f,a=0;a<r.length;a++){var c=r[a];ht(t,c)||n&&ht(n,c)||o(t,c,i(e,c))}},Ie=/#|\.prototype\./,Re=function(t,e){var n=Ne[ke(t)];return n==Ue||n!=Me&&(H(e)?p(e):!!e)},ke=Re.normalize=function(t){return String(t).replace(Ie,".").toLowerCase()},Ne=Re.data={},Me=Re.NATIVE="N",Ue=Re.POLYFILL="P",De=Re,He=It.f,Be=function(t,e){var n,r,o,i,a,c=t.target,u=t.global,f=t.stat;if(n=u?s:f?s[c]||ct(c,{}):(s[c]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(a=He(n,r))&&a.value:n[r],!De(u?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ce(i,o)}(t.sham||o&&o.sham)&&Gt(i,"sham",!0),pe(n,r,i,t)}},We=Object.keys||function(t){return Ee(t,Pe)},Fe=Object.assign,ze=Object.defineProperty,Ge=P([].concat),qe=!Fe||p((function(){if(d&&1!==Fe({b:1},Fe(ze({},"a",{enumerable:!0,get:function(){ze(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Fe({},t)[n]||We(Fe({},e)).join("")!=r}))?function(t,e){for(var n=pt(t),r=arguments.length,o=1,i=je.f,a=w.f;r>o;)for(var c,u=C(arguments[o++]),f=i?Ge(We(u),i(u)):We(u),l=f.length,s=0;l>s;)c=f[s++],d&&!y(a,u,c)||(n[c]=u[c]);return n}:Fe;Be({target:"Object",stat:!0,arity:2,forced:Object.assign!==qe},{assign:qe});var Ve=Array.isArray||function(t){return"Array"==j(t)},Xe=TypeError,Ye=function(t){if(t>9007199254740991)throw Xe("Maximum allowed index exceeded");return t},Je=function(t,e,n){var r=Tt(e);r in t?zt.f(t,r,S(0,n)):t[r]=n},Ke={};Ke[At("toStringTag")]="z";var Qe="[object z]"===String(Ke),$e=At("toStringTag"),Ze=Object,tn="Arguments"==j(function(){return arguments}()),en=Qe?j:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Ze(t),$e))?n:tn?j(e):"Object"==(r=j(e))&&H(e.callee)?"Arguments":r},nn=function(){},rn=[],on=F("Reflect","construct"),an=/^\s*(?:class|function)\b/,cn=P(an.exec),un=!an.exec(nn),fn=function(t){if(!H(t))return!1;try{return on(nn,rn,t),!0}catch(t){return!1}},ln=function(t){if(!H(t))return!1;switch(en(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return un||!!cn(an,Zt(t))}catch(t){return!0}};ln.sham=!0;var sn,pn=!on||p((function(){var t;return fn(fn.call)||!fn(Object)||!fn((function(){t=!0}))||t}))?ln:fn,dn=At("species"),hn=Array,vn=function(t,e){return new(function(t){var e;return Ve(t)&&(e=t.constructor,(pn(e)&&(e===hn||Ve(e.prototype))||W(e)&&null===(e=e[dn]))&&(e=void 0)),void 0===e?hn:e}(t))(0===e?0:e)},yn=At("species"),gn=At("isConcatSpreadable"),mn=J>=51||!p((function(){var t=[];return t[gn]=!1,t.concat()[0]!==t})),bn=function(t){if(!W(t))return!1;var e=t[gn];return void 0!==e?!!e:Ve(t)},wn=!(mn&&(sn="concat",J>=51||!p((function(){var t=[];return(t.constructor={})[yn]=function(){return{foo:1}},1!==t[sn](Boolean).foo}))));Be({target:"Array",proto:!0,arity:1,forced:wn},{concat:function(t){var e,n,r,o,i,a=pt(this),c=vn(a,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(bn(i=-1===e?a:arguments[e]))for(o=we(i),Ye(u+o),n=0;n<o;n++,u++)n in i&&Je(c,u,i[n]);else Ye(u+1),Je(c,u++,i);return c.length=u,c}});var Sn,An=d&&!Rt?Object.defineProperties:function(t,e){Mt(t);for(var n,r=N(e),o=We(e),i=o.length,a=0;i>a;)zt.f(t,n=o[a++],r[n]);return t},On={f:An},En=F("document","documentElement"),Pn="prototype",Tn="script",_n=re("IE_PROTO"),jn=function(){},Ln=function(t){return"<"+Tn+">"+t+"</"+Tn+">"},xn=function(t){t.write(Ln("")),t.close();var e=t.parentWindow.Object;return t=null,e},Cn=function(){try{Sn=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;Cn="undefined"!=typeof document?document.domain&&Sn?xn(Sn):(e=Lt("iframe"),n="java"+Tn+":",e.style.display="none",En.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Ln("document.F=Object")),t.close(),t.F):xn(Sn);for(var r=Pe.length;r--;)delete Cn[Pn][Pe[r]];return Cn()};oe[_n]=!0;var In=Object.create||function(t,e){var n;return null!==t?(jn[Pn]=Mt(t),n=new jn,jn[Pn]=null,n[_n]=t):n=Cn(),void 0===e?n:On.f(n,e)},Rn=zt.f,kn=At("unscopables"),Nn=Array.prototype;null==Nn[kn]&&Rn(Nn,kn,{configurable:!0,value:In(null)});var Mn,Un,Dn,Hn=function(t){Nn[kn][t]=!0},Bn={},Wn=!p((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Fn=re("IE_PROTO"),zn=Object,Gn=zn.prototype,qn=Wn?zn.getPrototypeOf:function(t){var e=pt(t);if(ht(e,Fn))return e[Fn];var n=e.constructor;return H(n)&&e instanceof n?n.prototype:e instanceof zn?Gn:null},Vn=At("iterator"),Xn=!1;[].keys&&("next"in(Dn=[].keys())?(Un=qn(qn(Dn)))!==Object.prototype&&(Mn=Un):Xn=!0);var Yn=!W(Mn)||p((function(){var t={};return Mn[Vn].call(t)!==t}));Yn&&(Mn={}),H(Mn[Vn])||pe(Mn,Vn,(function(){return this}));var Jn={IteratorPrototype:Mn,BUGGY_SAFARI_ITERATORS:Xn},Kn=zt.f,Qn=At("toStringTag"),$n=function(t,e,n){t&&!n&&(t=t.prototype),t&&!ht(t,Qn)&&Kn(t,Qn,{configurable:!0,value:e})},Zn=Jn.IteratorPrototype,tr=function(){return this},er=String,nr=TypeError,rr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return P(rt(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return Mt(n),function(t){if("object"==typeof t||H(t))return t;throw nr("Can't set "+er(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),or=Yt.PROPER,ir=Yt.CONFIGURABLE,ar=Jn.IteratorPrototype,cr=Jn.BUGGY_SAFARI_ITERATORS,ur=At("iterator"),fr="keys",lr="values",sr="entries",pr=function(){return this},dr=function(t,e,n,r,o,i,a){!function(t,e,n,r){var o=e+" Iterator";t.prototype=In(Zn,{next:S(+!r,n)}),$n(t,o,!1),Bn[o]=tr}(n,e,r);var c,u,f,l=function(t){if(t===o&&v)return v;if(!cr&&t in d)return d[t];switch(t){case fr:case lr:case sr:return function(){return new n(this,t)}}return function(){return new n(this)}},s=e+" Iterator",p=!1,d=t.prototype,h=d[ur]||d["@@iterator"]||o&&d[o],v=!cr&&h||l(o),g="Array"==e&&d.entries||h;if(g&&(c=qn(g.call(new t)))!==Object.prototype&&c.next&&(qn(c)!==ar&&(rr?rr(c,ar):H(c[ur])||pe(c,ur,pr)),$n(c,s,!0)),or&&o==lr&&h&&h.name!==lr&&(ir?Gt(d,"name",lr):(p=!0,v=function(){return y(h,this)})),o)if(u={values:l(lr),keys:i?v:l(fr),entries:l(sr)},a)for(f in u)(cr||p||!(f in d))&&pe(d,f,u[f]);else Be({target:e,proto:!0,forced:cr||p},u);return d[ur]!==v&&pe(d,ur,v,{name:o}),Bn[e]=v,u},hr=function(t,e){return{value:t,done:e}},vr=zt.f,yr="Array Iterator",gr=le.set,mr=le.getterFor(yr),br=dr(Array,"Array",(function(t,e){gr(this,{type:yr,target:N(t),index:0,kind:e})}),(function(){var t=mr(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,hr(void 0,!0)):hr("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values"),wr=Bn.Arguments=Bn.Array;if(Hn("keys"),Hn("values"),Hn("entries"),d&&"values"!==wr.name)try{vr(wr,"name",{value:"values"})}catch(t){}var Sr=Qe?{}.toString:function(){return"[object "+en(this)+"]"};Qe||pe(Object.prototype,"toString",Sr,{unsafe:!0});var Ar,Or,Er,Pr,Tr="undefined"!=typeof process&&"process"==j(process),_r=At("species"),jr=TypeError,Lr=TypeError,xr=At("species"),Cr=function(t,e){var n,r=Mt(t).constructor;return void 0===r||I(n=Mt(r)[xr])?e:function(t){if(pn(t))return t;throw Lr(et(t)+" is not a constructor")}(n)},Ir=Function.prototype,Rr=Ir.apply,kr=Ir.call,Nr="object"==typeof Reflect&&Reflect.apply||(h?kr.bind(Rr):function(){return kr.apply(Rr,arguments)}),Mr=function(t){if("Function"===j(t))return P(t)},Ur=Mr(Mr.bind),Dr=function(t,e){return rt(t),void 0===e?t:h?Ur(t,e):function(){return t.apply(e,arguments)}},Hr=P([].slice),Br=TypeError,Wr=/(?:ipad|iphone|ipod).*applewebkit/i.test(G),Fr=s.setImmediate,zr=s.clearImmediate,Gr=s.process,qr=s.Dispatch,Vr=s.Function,Xr=s.MessageChannel,Yr=s.String,Jr=0,Kr={},Qr="onreadystatechange";p((function(){Ar=s.location}));var $r=function(t){if(ht(Kr,t)){var e=Kr[t];delete Kr[t],e()}},Zr=function(t){return function(){$r(t)}},to=function(t){$r(t.data)},eo=function(t){s.postMessage(Yr(t),Ar.protocol+"//"+Ar.host)};Fr&&zr||(Fr=function(t){!function(t,e){if(t<e)throw Br("Not enough arguments")}(arguments.length,1);var e=H(t)?t:Vr(t),n=Hr(arguments,1);return Kr[++Jr]=function(){Nr(e,void 0,n)},Or(Jr),Jr},zr=function(t){delete Kr[t]},Tr?Or=function(t){Gr.nextTick(Zr(t))}:qr&&qr.now?Or=function(t){qr.now(Zr(t))}:Xr&&!Wr?(Pr=(Er=new Xr).port2,Er.port1.onmessage=to,Or=Dr(Pr.postMessage,Pr)):s.addEventListener&&H(s.postMessage)&&!s.importScripts&&Ar&&"file:"!==Ar.protocol&&!p(eo)?(Or=eo,s.addEventListener("message",to,!1)):Or=Qr in Lt("script")?function(t){En.appendChild(Lt("script"))[Qr]=function(){En.removeChild(this),$r(t)}}:function(t){setTimeout(Zr(t),0)});var no={set:Fr,clear:zr},ro=function(){this.head=null,this.tail=null};ro.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var oo,io,ao,co,uo,fo=ro,lo=/ipad|iphone|ipod/i.test(G)&&"undefined"!=typeof Pebble,so=/web0s(?!.*chrome)/i.test(G),po=It.f,ho=no.set,vo=s.MutationObserver||s.WebKitMutationObserver,yo=s.document,go=s.process,mo=s.Promise,bo=po(s,"queueMicrotask"),wo=bo&&bo.value;if(!wo){var So=new fo,Ao=function(){var t,e;for(Tr&&(t=go.domain)&&t.exit();e=So.get();)try{e()}catch(t){throw So.head&&oo(),t}t&&t.enter()};Wr||Tr||so||!vo||!yo?!lo&&mo&&mo.resolve?((co=mo.resolve(void 0)).constructor=mo,uo=Dr(co.then,co),oo=function(){uo(Ao)}):Tr?oo=function(){go.nextTick(Ao)}:(ho=Dr(ho,s),oo=function(){ho(Ao)}):(io=!0,ao=yo.createTextNode(""),new vo(Ao).observe(ao,{characterData:!0}),oo=function(){ao.data=io=!io}),wo=function(t){So.head||oo(),So.add(t)}}var Oo=wo,Eo=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Po=s.Promise,To="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,_o=!To&&!Tr&&"object"==typeof window&&"object"==typeof document;Po&&Po.prototype;var jo,Lo,xo,Co,Io,Ro,ko,No=At("species"),Mo=!1,Uo=H(s.PromiseRejectionEvent),Do=De("Promise",(function(){var t=Zt(Po),e=t!==String(Po);if(!e&&66===J)return!0;if(!J||J<51||!/native code/.test(t)){var n=new Po((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[No]=r,!(Mo=n.then((function(){}))instanceof r))return!0}return!e&&(_o||To)&&!Uo})),Ho={CONSTRUCTOR:Do,REJECTION_EVENT:Uo,SUBCLASSING:Mo},Bo=TypeError,Wo=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw Bo("Bad Promise constructor");e=t,n=r})),this.resolve=rt(e),this.reject=rt(n)},Fo={f:function(t){return new Wo(t)}},zo=no.set,Go="Promise",qo=Ho.CONSTRUCTOR,Vo=Ho.REJECTION_EVENT,Xo=Ho.SUBCLASSING,Yo=le.getterFor(Go),Jo=le.set,Ko=Po&&Po.prototype,Qo=Po,$o=Ko,Zo=s.TypeError,ti=s.document,ei=s.process,ni=Fo.f,ri=ni,oi=!!(ti&&ti.createEvent&&s.dispatchEvent),ii="unhandledrejection",ai=function(t){var e;return!(!W(t)||!H(e=t.then))&&e},ci=function(t,e){var n,r,o,i=e.value,a=1==e.state,c=a?t.ok:t.fail,u=t.resolve,f=t.reject,l=t.domain;try{c?(a||(2===e.rejection&&pi(e),e.rejection=1),!0===c?n=i:(l&&l.enter(),n=c(i),l&&(l.exit(),o=!0)),n===t.promise?f(Zo("Promise-chain cycle")):(r=ai(n))?y(r,n,u,f):u(n)):f(i)}catch(t){l&&!o&&l.exit(),f(t)}},ui=function(t,e){t.notified||(t.notified=!0,Oo((function(){for(var n,r=t.reactions;n=r.get();)ci(n,t);t.notified=!1,e&&!t.rejection&&li(t)})))},fi=function(t,e,n){var r,o;oi?((r=ti.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!Vo&&(o=s["on"+t])?o(r):t===ii&&function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",n)},li=function(t){y(zo,s,(function(){var e,n=t.facade,r=t.value;if(si(t)&&(e=Eo((function(){Tr?ei.emit("unhandledRejection",r,n):fi(ii,n,r)})),t.rejection=Tr||si(t)?2:1,e.error))throw e.value}))},si=function(t){return 1!==t.rejection&&!t.parent},pi=function(t){y(zo,s,(function(){var e=t.facade;Tr?ei.emit("rejectionHandled",e):fi("rejectionhandled",e,t.value)}))},di=function(t,e,n){return function(r){t(e,r,n)}},hi=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,ui(t,!0))},vi=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Zo("Promise can't be resolved itself");var r=ai(e);r?Oo((function(){var n={done:!1};try{y(r,e,di(vi,n,t),di(hi,n,t))}catch(e){hi(n,e,t)}})):(t.value=e,t.state=1,ui(t,!1))}catch(e){hi({done:!1},e,t)}}};if(qo&&($o=(Qo=function(t){!function(t,e){if(z(e,t))return t;throw jr("Incorrect invocation")}(this,$o),rt(t),y(jo,this);var e=Yo(this);try{t(di(vi,e),di(hi,e))}catch(t){hi(e,t)}}).prototype,(jo=function(t){Jo(this,{type:Go,done:!1,notified:!1,parent:!1,reactions:new fo,rejection:!1,state:0,value:void 0})}).prototype=pe($o,"then",(function(t,e){var n=Yo(this),r=ni(Cr(this,Qo));return n.parent=!0,r.ok=!H(t)||t,r.fail=H(e)&&e,r.domain=Tr?ei.domain:void 0,0==n.state?n.reactions.add(r):Oo((function(){ci(r,n)})),r.promise})),Lo=function(){var t=new jo,e=Yo(t);this.promise=t,this.resolve=di(vi,e),this.reject=di(hi,e)},Fo.f=ni=function(t){return t===Qo||undefined===t?new Lo(t):ri(t)},H(Po)&&Ko!==Object.prototype)){xo=Ko.then,Xo||pe(Ko,"then",(function(t,e){var n=this;return new Qo((function(t,e){y(xo,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete Ko.constructor}catch(t){}rr&&rr(Ko,$o)}Be({global:!0,constructor:!0,wrap:!0,forced:qo},{Promise:Qo}),$n(Qo,Go,!1),ko=F(Go),d&&ko&&!ko[_r]&&(Co=ko,Io=_r,(Ro={configurable:!0,get:function(){return this}}).get&&se(Ro.get,Io,{getter:!0}),Ro.set&&se(Ro.set,Io,{setter:!0}),zt.f(Co,Io,Ro));var yi=At("iterator"),gi=Array.prototype,mi=At("iterator"),bi=function(t){if(!I(t))return ot(t,mi)||ot(t,"@@iterator")||Bn[en(t)]},wi=TypeError,Si=function(t,e,n){var r,o;Mt(t);try{if(!(r=ot(t,"return"))){if("throw"===e)throw n;return n}r=y(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return Mt(r),n},Ai=TypeError,Oi=function(t,e){this.stopped=t,this.result=e},Ei=Oi.prototype,Pi=function(t,e,n){var r,o,i,a,c,u,f,l,s=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),h=!(!n||!n.IS_ITERATOR),v=!(!n||!n.INTERRUPTED),g=Dr(e,s),m=function(t){return r&&Si(r,"normal",t),new Oi(!0,t)},b=function(t){return p?(Mt(t),v?g(t[0],t[1],m):g(t[0],t[1])):v?g(t,m):g(t)};if(d)r=t.iterator;else if(h)r=t;else{if(!(o=bi(t)))throw Ai(et(t)+" is not iterable");if(void 0!==(l=o)&&(Bn.Array===l||gi[yi]===l)){for(i=0,a=we(t);a>i;i++)if((c=b(t[i]))&&z(Ei,c))return c;return new Oi(!1)}r=function(t,e){var n=arguments.length<2?bi(t):e;if(rt(n))return Mt(y(n,t));throw wi(et(t)+" is not iterable")}(t,o)}for(u=d?t.next:r.next;!(f=y(u,r)).done;){try{c=b(f.value)}catch(t){Si(r,"throw",t)}if("object"==typeof c&&c&&z(Ei,c))return c}return new Oi(!1)},Ti=At("iterator"),_i=!1;try{var ji=0,Li={next:function(){return{done:!!ji++}},return:function(){_i=!0}};Li[Ti]=function(){return this},Array.from(Li,(function(){throw 2}))}catch(t){}var xi=Ho.CONSTRUCTOR||!function(t,e){if(!e&&!_i)return!1;var n=!1;try{var r={};r[Ti]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}((function(t){Po.all(t).then(void 0,(function(){}))}));Be({target:"Promise",stat:!0,forced:xi},{all:function(t){var e=this,n=Fo.f(e),r=n.resolve,o=n.reject,i=Eo((function(){var n=rt(e.resolve),i=[],a=0,c=1;Pi(t,(function(t){var u=a++,f=!1;c++,y(n,e,t).then((function(t){f||(f=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var Ci=Ho.CONSTRUCTOR,Ii=Po&&Po.prototype;if(Be({target:"Promise",proto:!0,forced:Ci,real:!0},{catch:function(t){return this.then(void 0,t)}}),H(Po)){var Ri=F("Promise").prototype.catch;Ii.catch!==Ri&&pe(Ii,"catch",Ri,{unsafe:!0})}Be({target:"Promise",stat:!0,forced:xi},{race:function(t){var e=this,n=Fo.f(e),r=n.reject,o=Eo((function(){var o=rt(e.resolve);Pi(t,(function(t){y(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),Be({target:"Promise",stat:!0,forced:Ho.CONSTRUCTOR},{reject:function(t){var e=Fo.f(this);return y(e.reject,void 0,t),e.promise}});var ki=Ho.CONSTRUCTOR;F("Promise"),Be({target:"Promise",stat:!0,forced:ki},{resolve:function(t){return function(t,e){if(Mt(t),W(e)&&e.constructor===t)return e;var n=Fo.f(t);return(0,n.resolve)(e),n.promise}(this,t)}});var Ni=String,Mi=function(t){if("Symbol"===en(t))throw TypeError("Cannot convert a Symbol value to a string");return Ni(t)},Ui=P("".charAt),Di=P("".charCodeAt),Hi=P("".slice),Bi=function(t){return function(e,n){var r,o,i=Mi(k(e)),a=ye(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=Di(i,a))<55296||r>56319||a+1===c||(o=Di(i,a+1))<56320||o>57343?t?Ui(i,a):r:t?Hi(i,a,a+2):o-56320+(r-55296<<10)+65536}},Wi={codeAt:Bi(!1),charAt:Bi(!0)}.charAt,Fi="String Iterator",zi=le.set,Gi=le.getterFor(Fi);dr(String,"String",(function(t){zi(this,{type:Fi,string:Mi(t),index:0})}),(function(){var t,e=Gi(this),n=e.string,r=e.index;return r>=n.length?hr(void 0,!0):(t=Wi(n,r),e.index+=t.length,hr(t,!1))}));var qi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Vi=Lt("span").classList,Xi=Vi&&Vi.constructor&&Vi.constructor.prototype,Yi=Xi===Object.prototype?void 0:Xi,Ji=At("iterator"),Ki=At("toStringTag"),Qi=br.values,$i=function(t,e){if(t){if(t[Ji]!==Qi)try{Gt(t,Ji,Qi)}catch(e){t[Ji]=Qi}if(t[Ki]||Gt(t,Ki,e),qi[e])for(var n in br)if(t[n]!==br[n])try{Gt(t,n,br[n])}catch(e){t[n]=br[n]}}};for(var Zi in qi)$i(s[Zi]&&s[Zi].prototype,Zi);$i(Yi,"DOMTokenList");var ta=function(){return ta=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},ta.apply(this,arguments)},ea={weixinJsSdkTicket:"",launchContainerQuery:".mazey-launch-app-selector",launchShowWeixinToBrowserImgUrl:"",canShowWeixinToBrowser:!1,extInfo:"",serviceAccountAppId:"",wexinServiceAccountAppId:"",openPlatformMobileAppId:"",genTagPrefixStr:"mazey-launch-app-btn-prefix-",launchShowWeixinToBrowserClassName:"mazey-launch-app-wx-to-browser",launchBtnClassName:"mazey-launch-app-inner-btn",launchBtnStyle:"",launchBtnText:"Launch App <br /><br /><br />",launchErrorLink:"",canContinuousUpdating:!1,onMenuShareTimelineOptions:void 0,onMenuShareAppMessageOptions:void 0,isConClosed:!0,isWxDebug:!1,canLaunchApp:function(){return!0},canFireErrorLinkDirectly:function(){return!1},launchBtnClick:function(){},launchReady:function(){}};module.exports=function(e){void 0===e&&(e=ea);var n=Object.assign(ea,e),r=n.weixinJsSdkTicket,a=n.launchContainerQuery,c=n.genTagPrefixStr,u=n.launchShowWeixinToBrowserImgUrl,f=n.canShowWeixinToBrowser,l=n.launchShowWeixinToBrowserClassName,s=n.launchBtnClassName,p=n.launchBtnStyle,d=n.launchBtnText,h=n.launchErrorLink,v=n.wexinServiceAccountAppId,y=n.openPlatformMobileAppId,g=n.canContinuousUpdating,m=n.onMenuShareTimelineOptions,b=n.onMenuShareAppMessageOptions,w=n.isConClosed,S=n.isWxDebug,A=n.canLaunchApp,O=n.canFireErrorLinkDirectly,E=n.launchBtnClick,P=n.launchReady,T=n.serviceAccountAppId,_=n.extInfo,j=window.wx;j||console.error("Launch App: wx is not found");var L=function(){},x=t.genCustomConsole("LaunchCon:",{isClosed:w});x.log("Launch App");var C={title:"",link:"",imgUrl:"",success:function(){},cancel:function(){}},I={title:"",desc:"",link:"",imgUrl:"",type:"",dataUrl:"",success:function(){},cancel:function(){}},R={title:document.title,link:location.href};C=ta(ta({},C),R),I=ta(ta({},I),R);var k=function(t,e,n){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n="button"),"<style>.".concat(s,"{")+"opacity: 0;width: 100%;height: 100%;backgroud: transparent;color: #300f54;border: none;box-sizing: border-box;text-align: center;vertical-align: middle;"+p+e+"}</style>"+"<".concat(n,' class="').concat(s,'"')+(t&&"button"===n?' onclick="'.concat(t,'"'):"")+(t&&"a"===n?' target="_self" href="'.concat(t,'"'):"")+">"+d+"</".concat(n,">")},N=k();function M(){t.addStyle('.mazey-launch-app-mask{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, .5);text-align:right;font-size:0;white-space:nowrap;overflow:auto;z-index:999;}.mazey-launch-app-img{display:inline-block;vertical-align:middle;text-align:left;font-size:14px;white-space:normal;width:50vw;margin:0.5rem 0.5rem 0 0;}.mazey-launch-app-img:after{content:"";display:inline-block;height:100%;vertical-align:middle;}',{id:"mazey-launch-app-mask-style"}),window.LAUNCH_APP_HIDE_WEIXIN_BROWSER||(window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=function(){o.default(".mazey-launch-app-mask").hide()}),0===o.default(".mazey-launch-app-mask").length?o.default("body").append("<div class='mazey-launch-app-mask' onclick='window.LAUNCH_APP_HIDE_WEIXIN_BROWSER()'><img "+"class='mazey-launch-app-img ".concat(l,"' ")+"src='".concat(u,"' ")+"alt='Launch App' /></div>"):o.default(".mazey-launch-app-mask").show()}function U(){x.log("renderWeixinLaunchTemplate"),!T&&v&&(console.warn("wexinServiceAccountAppId will be deprecated, use serviceAccountAppId instead."),T=v),function(e,n){void 0===e&&(e=""),void 0===n&&(n=""),x.log("renderWXOpenLaunchApp"),Promise.all([Promise.resolve(r||window.LAUNCH_APP_WEIXIN_JS_SDK_TICKET),Promise.resolve(i.default)]).then((function(r){x.log("allRes",r);var i=r[0],u=r[1],l=t.generateRndNum(7),s=i,p=(new Date).getTime(),d=u("jsapi_ticket="+s+"&noncestr="+l+"×tamp="+p+"&url="+location.href);return j.config({debug:S,appId:e,timestamp:p,nonceStr:l,signature:d,jsApiList:["showOptionMenu","onMenuShareTimeline","onMenuShareAppMessage"],openTagList:["wx-open-launch-app"]}),j.ready((function(){m&&(x.log("onMenuShareTimelineOptions",m),j.onMenuShareTimeline(m)),window.LAUNCH_APP_SHARE_TIMELINE=function(t){t=ta(ta({},C),t),x.log("window LAUNCH_APP_SHARE_TIMELINE",t),j.onMenuShareTimeline(t)},b&&(x.log("onMenuShareAppMessageOptions",b),j.onMenuShareAppMessage(b)),window.LAUNCH_APP_SHARE_APP_MESSAGE=function(t){t=ta(ta({},I),t),x.log("window LAUNCH_APP_SHARE_APP_MESSAGE",t),j.onMenuShareAppMessage(t)},window.LAUNCH_APP_READY=!0,P&&P();var t=function(){var t=o.default(a);x.log("containers",a,t,t.length),t.length>0&&t.each((function(t,e){var r=o.default(e).attr("data-launch-app-key");if(!r){var i=o.default(e).parents("[data-launch-app-key]:eq(0)");i.length>0&&(r=i.attr("data-launch-app-key"),x.log("keyEle",i,r))}r||(r=String(t));var a="mazey-launch-app-tag-".concat(r),u=o.default(".".concat(a," wx-open-launch-app")),l=o.default(e).attr("data-launch-app-ext-info");if(!l){var s=o.default(e).parents("[data-launch-app-ext-info]:eq(0)");s.length>0&&(l=s.attr("data-launch-app-ext-info"),x.log("eleExtInfoEle parents",s,l))}l&&(_=l);var p=o.default(e).attr("data-launch-app-error-link");if(!p){var d=o.default(e).parents("[data-launch-app-error-link]:eq(0)");d.length>0&&(p=d.attr("data-launch-app-error-link"),x.log("eleErrorLinkEle parents",d,p))}var v=h;p&&(v=p),0===u.length&&(o.default(e).addClass(a),x.log("success:",a),function(t){var e=c,r=e+t,i="<wx-open-launch-app id='"+r+"' appid='"+n+"' extinfo='".concat(_)+"' style='z-index:99;position:absolute;width:100%;height:100%;opacity:1;background:transparent;overflow:hidden;left:0;'><script type='text/wxtag-template'>"+N+"<\/script></wx-open-launch-app>";o.default("."+t+":eq(0)").append(i);var a=document.getElementById(r);a&&(a.addEventListener("ready",(function(t){x.log("ready event",t)})),a.addEventListener("launch",(function(t){x.log("launch event",t),t.detail&&t.detail.extInfo&&x.log("launch extInfo",t.detail.extInfo)})),a.addEventListener("error",(function(t){x.error(t.detail),o.default("[id^='"+e+"']").hide(),f&&M(),v&&(x.log("realErrorLink",v),location.href=v)})),a.addEventListener("click",(function(t){x.log("click event",t),E&&E()})))}(a))}))};t(),L=t})),j.error((function(t){x.error(t)})),"success:launch_app"})).catch((function(t){x.error(t)}))}(T,y)}function D(t){if(x.log("appUpdated",t),!window.LAUNCH_APP_LOAD&&A(t)&&(U(),window.LAUNCH_APP_LOAD=!0),g&&window.LAUNCH_APP_LOAD&&A(t)&&L(),O()){var e=o.default(a);e.length>0&&e.each((function(t,e){var n=o.default(e).children("."+s);if(!n||!n.length){var r=o.default(e).attr("data-launch-app-error-link");if(!r){var i=o.default(e).parents("[data-launch-app-error-link]:eq(0)");i.length>0&&(r=i.attr("data-launch-app-error-link"))}if(r&&"string"==typeof r&&r.length){var a=k(r,"position:absolute;left:0;z-index:999;","a");o.default(e).append(a)}}}))}}function H(){x.log("appBeforeDestroy",H),window.LAUNCH_APP_LOAD=null,window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=null}return window.LAUNCH_APP_UPDATE=D,window.LAUNCH_APP_BEFORE_DESTROY=H,window.LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER=M,{LAUNCH_APP_UPDATE:D,LAUNCH_APP_BEFORE_DESTROY:H,LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER:M,LAUNCH_APP_SHARE_TIMELINE:function(t){x.log("opt",t)},LAUNCH_APP_SHARE_APP_MESSAGE:function(t){x.log("opt",t)},start:D,update:D,destroy:H}};
|
|
6
|
+
"use strict";var t=require("mazey"),e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r,o,i=function(t){return t&&t.Math==Math&&t},a=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},u=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f=!c((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),s=Function.prototype.call,l=f?s.bind(s):function(){return s.apply(s,arguments)},p={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,h=d&&!p.call({1:2},1)?function(t){var e=d(this,t);return!!e&&e.enumerable}:p,v={f:h},y=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g=Function.prototype,m=g.call,b=f&&g.bind.bind(m,m),w=f?b:function(t){return function(){return m.apply(t,arguments)}},S=w({}.toString),A=w("".slice),O=function(t){return A(S(t),8,-1)},E=Object,P=w("".split),T=c((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"==O(t)?P(t,""):E(t)}:E,_=function(t){return null==t},L=TypeError,j=function(t){if(_(t))throw L("Can't call method on "+t);return t},x=function(t){return T(j(t))},C="object"==typeof document&&document.all,I={all:C,IS_HTMLDDA:void 0===C&&void 0!==C},k=I.all,R=I.IS_HTMLDDA?function(t){return"function"==typeof t||t===k}:function(t){return"function"==typeof t},N=I.all,M=I.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:R(t)||t===N}:function(t){return"object"==typeof t?null!==t:R(t)},U=function(t,e){return arguments.length<2?(n=a[t],R(n)?n:void 0):a[t]&&a[t][e];var n},D=w({}.isPrototypeOf),H="undefined"!=typeof navigator&&String(navigator.userAgent)||"",B=a.process,W=a.Deno,F=B&&B.versions||W&&W.version,z=F&&F.v8;z&&(o=(r=z.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&H&&(!(r=H.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=H.match(/Chrome\/(\d+)/))&&(o=+r[1]);var G=o,q=!!Object.getOwnPropertySymbols&&!c((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&G&&G<41})),V=q&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,X=Object,J=V?function(t){return"symbol"==typeof t}:function(t){var e=U("Symbol");return R(e)&&D(e.prototype,X(t))},Y=String,K=function(t){try{return Y(t)}catch(t){return"Object"}},Q=TypeError,$=function(t){if(R(t))return t;throw Q(K(t)+" is not a function")},Z=function(t,e){var n=t[e];return _(n)?void 0:$(n)},tt=TypeError,et=Object.defineProperty,nt=function(t,e){try{et(a,t,{value:e,configurable:!0,writable:!0})}catch(n){a[t]=e}return e},rt="__core-js_shared__",ot=a[rt]||nt(rt,{}),it=n((function(t){(t.exports=function(t,e){return ot[t]||(ot[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),at=Object,ct=function(t){return at(j(t))},ut=w({}.hasOwnProperty),ft=Object.hasOwn||function(t,e){return ut(ct(t),e)},st=0,lt=Math.random(),pt=w(1..toString),dt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+pt(++st+lt,36)},ht=a.Symbol,vt=it("wks"),yt=V?ht.for||ht:ht&&ht.withoutSetter||dt,gt=function(t){return ft(vt,t)||(vt[t]=q&&ft(ht,t)?ht[t]:yt("Symbol."+t)),vt[t]},mt=TypeError,bt=gt("toPrimitive"),wt=function(t,e){if(!M(t)||J(t))return t;var n,r=Z(t,bt);if(r){if(void 0===e&&(e="default"),n=l(r,t,e),!M(n)||J(n))return n;throw mt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&R(n=t.toString)&&!M(r=l(n,t)))return r;if(R(n=t.valueOf)&&!M(r=l(n,t)))return r;if("string"!==e&&R(n=t.toString)&&!M(r=l(n,t)))return r;throw tt("Can't convert object to primitive value")}(t,e)},St=function(t){var e=wt(t,"string");return J(e)?e:e+""},At=a.document,Ot=M(At)&&M(At.createElement),Et=function(t){return Ot?At.createElement(t):{}},Pt=!u&&!c((function(){return 7!=Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a})),Tt=Object.getOwnPropertyDescriptor,_t={f:u?Tt:function(t,e){if(t=x(t),e=St(e),Pt)try{return Tt(t,e)}catch(t){}if(ft(t,e))return y(!l(v.f,t,e),t[e])}},Lt=u&&c((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),jt=String,xt=TypeError,Ct=function(t){if(M(t))return t;throw xt(jt(t)+" is not an object")},It=TypeError,kt=Object.defineProperty,Rt=Object.getOwnPropertyDescriptor,Nt="enumerable",Mt="configurable",Ut="writable",Dt={f:u?Lt?function(t,e,n){if(Ct(t),e=St(e),Ct(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ut in n&&!n[Ut]){var r=Rt(t,e);r&&r[Ut]&&(t[e]=n.value,n={configurable:Mt in n?n[Mt]:r[Mt],enumerable:Nt in n?n[Nt]:r[Nt],writable:!1})}return kt(t,e,n)}:kt:function(t,e,n){if(Ct(t),e=St(e),Ct(n),Pt)try{return kt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw It("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Ht=u?function(t,e,n){return Dt.f(t,e,y(1,n))}:function(t,e,n){return t[e]=n,t},Bt=Function.prototype,Wt=u&&Object.getOwnPropertyDescriptor,Ft=ft(Bt,"name"),zt={EXISTS:Ft,PROPER:Ft&&"something"===function(){}.name,CONFIGURABLE:Ft&&(!u||u&&Wt(Bt,"name").configurable)},Gt=w(Function.toString);R(ot.inspectSource)||(ot.inspectSource=function(t){return Gt(t)});var qt,Vt,Xt,Jt=ot.inspectSource,Yt=a.WeakMap,Kt=R(Yt)&&/native code/.test(String(Yt)),Qt=it("keys"),$t=function(t){return Qt[t]||(Qt[t]=dt(t))},Zt={},te="Object already initialized",ee=a.TypeError,ne=a.WeakMap;if(Kt||ot.state){var re=ot.state||(ot.state=new ne);re.get=re.get,re.has=re.has,re.set=re.set,qt=function(t,e){if(re.has(t))throw ee(te);return e.facade=t,re.set(t,e),e},Vt=function(t){return re.get(t)||{}},Xt=function(t){return re.has(t)}}else{var oe=$t("state");Zt[oe]=!0,qt=function(t,e){if(ft(t,oe))throw ee(te);return e.facade=t,Ht(t,oe,e),e},Vt=function(t){return ft(t,oe)?t[oe]:{}},Xt=function(t){return ft(t,oe)}}var ie={set:qt,get:Vt,has:Xt,enforce:function(t){return Xt(t)?Vt(t):qt(t,{})},getterFor:function(t){return function(e){var n;if(!M(e)||(n=Vt(e)).type!==t)throw ee("Incompatible receiver, "+t+" required");return n}}},ae=n((function(t){var e=zt.CONFIGURABLE,n=ie.enforce,r=ie.get,o=String,i=Object.defineProperty,a=w("".slice),f=w("".replace),s=w([].join),l=u&&!c((function(){return 8!==i((function(){}),"length",{value:8}).length})),p=String(String).split("String"),d=t.exports=function(t,r,c){"Symbol("===a(o(r),0,7)&&(r="["+f(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),c&&c.getter&&(r="get "+r),c&&c.setter&&(r="set "+r),(!ft(t,"name")||e&&t.name!==r)&&(u?i(t,"name",{value:r,configurable:!0}):t.name=r),l&&c&&ft(c,"arity")&&t.length!==c.arity&&i(t,"length",{value:c.arity});try{c&&ft(c,"constructor")&&c.constructor?u&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var d=n(t);return ft(d,"source")||(d.source=s(p,"string"==typeof r?r:"")),t};Function.prototype.toString=d((function(){return R(this)&&r(this).source||Jt(this)}),"toString")})),ce=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(R(n)&&ae(n,i,r),r.global)o?t[e]=n:nt(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:Dt.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},ue=Math.ceil,fe=Math.floor,se=Math.trunc||function(t){var e=+t;return(e>0?fe:ue)(e)},le=function(t){var e=+t;return e!=e||0===e?0:se(e)},pe=Math.max,de=Math.min,he=Math.min,ve=function(t){return(e=t.length)>0?he(le(e),9007199254740991):0;var e},ye=function(t){return function(e,n,r){var o,i=x(e),a=ve(i),c=function(t,e){var n=le(t);return n<0?pe(n+e,0):de(n,e)}(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},ge={includes:ye(!0),indexOf:ye(!1)}.indexOf,me=w([].push),be=function(t,e){var n,r=x(t),o=0,i=[];for(n in r)!ft(Zt,n)&&ft(r,n)&&me(i,n);for(;e.length>o;)ft(r,n=e[o++])&&(~ge(i,n)||me(i,n));return i},we=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Se=we.concat("length","prototype"),Ae={f:Object.getOwnPropertyNames||function(t){return be(t,Se)}},Oe={f:Object.getOwnPropertySymbols},Ee=w([].concat),Pe=U("Reflect","ownKeys")||function(t){var e=Ae.f(Ct(t)),n=Oe.f;return n?Ee(e,n(t)):e},Te=function(t,e,n){for(var r=Pe(e),o=Dt.f,i=_t.f,a=0;a<r.length;a++){var c=r[a];ft(t,c)||n&&ft(n,c)||o(t,c,i(e,c))}},_e=/#|\.prototype\./,Le=function(t,e){var n=xe[je(t)];return n==Ie||n!=Ce&&(R(e)?c(e):!!e)},je=Le.normalize=function(t){return String(t).replace(_e,".").toLowerCase()},xe=Le.data={},Ce=Le.NATIVE="N",Ie=Le.POLYFILL="P",ke=Le,Re=_t.f,Ne=function(t,e){var n,r,o,i,c,u=t.target,f=t.global,s=t.stat;if(n=f?a:s?a[u]||nt(u,{}):(a[u]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(c=Re(n,r))&&c.value:n[r],!ke(f?r:u+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Te(i,o)}(t.sham||o&&o.sham)&&Ht(i,"sham",!0),ce(n,r,i,t)}},Me=Object.keys||function(t){return be(t,we)},Ue=Object.assign,De=Object.defineProperty,He=w([].concat),Be=!Ue||c((function(){if(u&&1!==Ue({b:1},Ue(De({},"a",{enumerable:!0,get:function(){De(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Ue({},t)[n]||Me(Ue({},e)).join("")!=r}))?function(t,e){for(var n=ct(t),r=arguments.length,o=1,i=Oe.f,a=v.f;r>o;)for(var c,f=T(arguments[o++]),s=i?He(Me(f),i(f)):Me(f),p=s.length,d=0;p>d;)c=s[d++],u&&!l(a,f,c)||(n[c]=f[c]);return n}:Ue;Ne({target:"Object",stat:!0,arity:2,forced:Object.assign!==Be},{assign:Be});var We=Array.isArray||function(t){return"Array"==O(t)},Fe=TypeError,ze=function(t){if(t>9007199254740991)throw Fe("Maximum allowed index exceeded");return t},Ge=function(t,e,n){var r=St(e);r in t?Dt.f(t,r,y(0,n)):t[r]=n},qe={};qe[gt("toStringTag")]="z";var Ve="[object z]"===String(qe),Xe=gt("toStringTag"),Je=Object,Ye="Arguments"==O(function(){return arguments}()),Ke=Ve?O:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Je(t),Xe))?n:Ye?O(e):"Object"==(r=O(e))&&R(e.callee)?"Arguments":r},Qe=function(){},$e=[],Ze=U("Reflect","construct"),tn=/^\s*(?:class|function)\b/,en=w(tn.exec),nn=!tn.exec(Qe),rn=function(t){if(!R(t))return!1;try{return Ze(Qe,$e,t),!0}catch(t){return!1}},on=function(t){if(!R(t))return!1;switch(Ke(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return nn||!!en(tn,Jt(t))}catch(t){return!0}};on.sham=!0;var an,cn=!Ze||c((function(){var t;return rn(rn.call)||!rn(Object)||!rn((function(){t=!0}))||t}))?on:rn,un=gt("species"),fn=Array,sn=function(t,e){return new(function(t){var e;return We(t)&&(e=t.constructor,(cn(e)&&(e===fn||We(e.prototype))||M(e)&&null===(e=e[un]))&&(e=void 0)),void 0===e?fn:e}(t))(0===e?0:e)},ln=gt("species"),pn=gt("isConcatSpreadable"),dn=G>=51||!c((function(){var t=[];return t[pn]=!1,t.concat()[0]!==t})),hn=function(t){if(!M(t))return!1;var e=t[pn];return void 0!==e?!!e:We(t)},vn=!(dn&&(an="concat",G>=51||!c((function(){var t=[];return(t.constructor={})[ln]=function(){return{foo:1}},1!==t[an](Boolean).foo}))));Ne({target:"Array",proto:!0,arity:1,forced:vn},{concat:function(t){var e,n,r,o,i,a=ct(this),c=sn(a,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(hn(i=-1===e?a:arguments[e]))for(o=ve(i),ze(u+o),n=0;n<o;n++,u++)n in i&&Ge(c,u,i[n]);else ze(u+1),Ge(c,u++,i);return c.length=u,c}});var yn,gn=u&&!Lt?Object.defineProperties:function(t,e){Ct(t);for(var n,r=x(e),o=Me(e),i=o.length,a=0;i>a;)Dt.f(t,n=o[a++],r[n]);return t},mn={f:gn},bn=U("document","documentElement"),wn="prototype",Sn="script",An=$t("IE_PROTO"),On=function(){},En=function(t){return"<"+Sn+">"+t+"</"+Sn+">"},Pn=function(t){t.write(En("")),t.close();var e=t.parentWindow.Object;return t=null,e},Tn=function(){try{yn=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;Tn="undefined"!=typeof document?document.domain&&yn?Pn(yn):(e=Et("iframe"),n="java"+Sn+":",e.style.display="none",bn.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(En("document.F=Object")),t.close(),t.F):Pn(yn);for(var r=we.length;r--;)delete Tn[wn][we[r]];return Tn()};Zt[An]=!0;var _n=Object.create||function(t,e){var n;return null!==t?(On[wn]=Ct(t),n=new On,On[wn]=null,n[An]=t):n=Tn(),void 0===e?n:mn.f(n,e)},Ln=Dt.f,jn=gt("unscopables"),xn=Array.prototype;null==xn[jn]&&Ln(xn,jn,{configurable:!0,value:_n(null)});var Cn,In,kn,Rn=function(t){xn[jn][t]=!0},Nn={},Mn=!c((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Un=$t("IE_PROTO"),Dn=Object,Hn=Dn.prototype,Bn=Mn?Dn.getPrototypeOf:function(t){var e=ct(t);if(ft(e,Un))return e[Un];var n=e.constructor;return R(n)&&e instanceof n?n.prototype:e instanceof Dn?Hn:null},Wn=gt("iterator"),Fn=!1;[].keys&&("next"in(kn=[].keys())?(In=Bn(Bn(kn)))!==Object.prototype&&(Cn=In):Fn=!0);var zn=!M(Cn)||c((function(){var t={};return Cn[Wn].call(t)!==t}));zn&&(Cn={}),R(Cn[Wn])||ce(Cn,Wn,(function(){return this}));var Gn={IteratorPrototype:Cn,BUGGY_SAFARI_ITERATORS:Fn},qn=Dt.f,Vn=gt("toStringTag"),Xn=function(t,e,n){t&&!n&&(t=t.prototype),t&&!ft(t,Vn)&&qn(t,Vn,{configurable:!0,value:e})},Jn=Gn.IteratorPrototype,Yn=function(){return this},Kn=String,Qn=TypeError,$n=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return w($(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return Ct(n),function(t){if("object"==typeof t||R(t))return t;throw Qn("Can't set "+Kn(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),Zn=zt.PROPER,tr=zt.CONFIGURABLE,er=Gn.IteratorPrototype,nr=Gn.BUGGY_SAFARI_ITERATORS,rr=gt("iterator"),or="keys",ir="values",ar="entries",cr=function(){return this},ur=function(t,e,n,r,o,i,a){!function(t,e,n,r){var o=e+" Iterator";t.prototype=_n(Jn,{next:y(+!r,n)}),Xn(t,o,!1),Nn[o]=Yn}(n,e,r);var c,u,f,s=function(t){if(t===o&&g)return g;if(!nr&&t in h)return h[t];switch(t){case or:case ir:case ar:return function(){return new n(this,t)}}return function(){return new n(this)}},p=e+" Iterator",d=!1,h=t.prototype,v=h[rr]||h["@@iterator"]||o&&h[o],g=!nr&&v||s(o),m="Array"==e&&h.entries||v;if(m&&(c=Bn(m.call(new t)))!==Object.prototype&&c.next&&(Bn(c)!==er&&($n?$n(c,er):R(c[rr])||ce(c,rr,cr)),Xn(c,p,!0)),Zn&&o==ir&&v&&v.name!==ir&&(tr?Ht(h,"name",ir):(d=!0,g=function(){return l(v,this)})),o)if(u={values:s(ir),keys:i?g:s(or),entries:s(ar)},a)for(f in u)(nr||d||!(f in h))&&ce(h,f,u[f]);else Ne({target:e,proto:!0,forced:nr||d},u);return h[rr]!==g&&ce(h,rr,g,{name:o}),Nn[e]=g,u},fr=function(t,e){return{value:t,done:e}},sr=Dt.f,lr="Array Iterator",pr=ie.set,dr=ie.getterFor(lr),hr=ur(Array,"Array",(function(t,e){pr(this,{type:lr,target:x(t),index:0,kind:e})}),(function(){var t=dr(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,fr(void 0,!0)):fr("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values"),vr=Nn.Arguments=Nn.Array;if(Rn("keys"),Rn("values"),Rn("entries"),u&&"values"!==vr.name)try{sr(vr,"name",{value:"values"})}catch(t){}var yr=Ve?{}.toString:function(){return"[object "+Ke(this)+"]"};Ve||ce(Object.prototype,"toString",yr,{unsafe:!0});var gr,mr,br,wr,Sr="undefined"!=typeof process&&"process"==O(process),Ar=gt("species"),Or=TypeError,Er=TypeError,Pr=gt("species"),Tr=function(t,e){var n,r=Ct(t).constructor;return void 0===r||_(n=Ct(r)[Pr])?e:function(t){if(cn(t))return t;throw Er(K(t)+" is not a constructor")}(n)},_r=Function.prototype,Lr=_r.apply,jr=_r.call,xr="object"==typeof Reflect&&Reflect.apply||(f?jr.bind(Lr):function(){return jr.apply(Lr,arguments)}),Cr=function(t){if("Function"===O(t))return w(t)},Ir=Cr(Cr.bind),kr=function(t,e){return $(t),void 0===e?t:f?Ir(t,e):function(){return t.apply(e,arguments)}},Rr=w([].slice),Nr=TypeError,Mr=/(?:ipad|iphone|ipod).*applewebkit/i.test(H),Ur=a.setImmediate,Dr=a.clearImmediate,Hr=a.process,Br=a.Dispatch,Wr=a.Function,Fr=a.MessageChannel,zr=a.String,Gr=0,qr={},Vr="onreadystatechange";c((function(){gr=a.location}));var Xr=function(t){if(ft(qr,t)){var e=qr[t];delete qr[t],e()}},Jr=function(t){return function(){Xr(t)}},Yr=function(t){Xr(t.data)},Kr=function(t){a.postMessage(zr(t),gr.protocol+"//"+gr.host)};Ur&&Dr||(Ur=function(t){!function(t,e){if(t<e)throw Nr("Not enough arguments")}(arguments.length,1);var e=R(t)?t:Wr(t),n=Rr(arguments,1);return qr[++Gr]=function(){xr(e,void 0,n)},mr(Gr),Gr},Dr=function(t){delete qr[t]},Sr?mr=function(t){Hr.nextTick(Jr(t))}:Br&&Br.now?mr=function(t){Br.now(Jr(t))}:Fr&&!Mr?(wr=(br=new Fr).port2,br.port1.onmessage=Yr,mr=kr(wr.postMessage,wr)):a.addEventListener&&R(a.postMessage)&&!a.importScripts&&gr&&"file:"!==gr.protocol&&!c(Kr)?(mr=Kr,a.addEventListener("message",Yr,!1)):mr=Vr in Et("script")?function(t){bn.appendChild(Et("script"))[Vr]=function(){bn.removeChild(this),Xr(t)}}:function(t){setTimeout(Jr(t),0)});var Qr={set:Ur,clear:Dr},$r=function(){this.head=null,this.tail=null};$r.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Zr,to,eo,no,ro,oo=$r,io=/ipad|iphone|ipod/i.test(H)&&"undefined"!=typeof Pebble,ao=/web0s(?!.*chrome)/i.test(H),co=_t.f,uo=Qr.set,fo=a.MutationObserver||a.WebKitMutationObserver,so=a.document,lo=a.process,po=a.Promise,ho=co(a,"queueMicrotask"),vo=ho&&ho.value;if(!vo){var yo=new oo,go=function(){var t,e;for(Sr&&(t=lo.domain)&&t.exit();e=yo.get();)try{e()}catch(t){throw yo.head&&Zr(),t}t&&t.enter()};Mr||Sr||ao||!fo||!so?!io&&po&&po.resolve?((no=po.resolve(void 0)).constructor=po,ro=kr(no.then,no),Zr=function(){ro(go)}):Sr?Zr=function(){lo.nextTick(go)}:(uo=kr(uo,a),Zr=function(){uo(go)}):(to=!0,eo=so.createTextNode(""),new fo(go).observe(eo,{characterData:!0}),Zr=function(){eo.data=to=!to}),vo=function(t){yo.head||Zr(),yo.add(t)}}var mo=vo,bo=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},wo=a.Promise,So="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Ao=!So&&!Sr&&"object"==typeof window&&"object"==typeof document;wo&&wo.prototype;var Oo,Eo,Po,To,_o,Lo,jo,xo=gt("species"),Co=!1,Io=R(a.PromiseRejectionEvent),ko=ke("Promise",(function(){var t=Jt(wo),e=t!==String(wo);if(!e&&66===G)return!0;if(!G||G<51||!/native code/.test(t)){var n=new wo((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[xo]=r,!(Co=n.then((function(){}))instanceof r))return!0}return!e&&(Ao||So)&&!Io})),Ro={CONSTRUCTOR:ko,REJECTION_EVENT:Io,SUBCLASSING:Co},No=TypeError,Mo=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw No("Bad Promise constructor");e=t,n=r})),this.resolve=$(e),this.reject=$(n)},Uo={f:function(t){return new Mo(t)}},Do=Qr.set,Ho="Promise",Bo=Ro.CONSTRUCTOR,Wo=Ro.REJECTION_EVENT,Fo=Ro.SUBCLASSING,zo=ie.getterFor(Ho),Go=ie.set,qo=wo&&wo.prototype,Vo=wo,Xo=qo,Jo=a.TypeError,Yo=a.document,Ko=a.process,Qo=Uo.f,$o=Qo,Zo=!!(Yo&&Yo.createEvent&&a.dispatchEvent),ti="unhandledrejection",ei=function(t){var e;return!(!M(t)||!R(e=t.then))&&e},ni=function(t,e){var n,r,o,i=e.value,a=1==e.state,c=a?t.ok:t.fail,u=t.resolve,f=t.reject,s=t.domain;try{c?(a||(2===e.rejection&&ci(e),e.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===t.promise?f(Jo("Promise-chain cycle")):(r=ei(n))?l(r,n,u,f):u(n)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},ri=function(t,e){t.notified||(t.notified=!0,mo((function(){for(var n,r=t.reactions;n=r.get();)ni(n,t);t.notified=!1,e&&!t.rejection&&ii(t)})))},oi=function(t,e,n){var r,o;Zo?((r=Yo.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),a.dispatchEvent(r)):r={promise:e,reason:n},!Wo&&(o=a["on"+t])?o(r):t===ti&&function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",n)},ii=function(t){l(Do,a,(function(){var e,n=t.facade,r=t.value;if(ai(t)&&(e=bo((function(){Sr?Ko.emit("unhandledRejection",r,n):oi(ti,n,r)})),t.rejection=Sr||ai(t)?2:1,e.error))throw e.value}))},ai=function(t){return 1!==t.rejection&&!t.parent},ci=function(t){l(Do,a,(function(){var e=t.facade;Sr?Ko.emit("rejectionHandled",e):oi("rejectionhandled",e,t.value)}))},ui=function(t,e,n){return function(r){t(e,r,n)}},fi=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,ri(t,!0))},si=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Jo("Promise can't be resolved itself");var r=ei(e);r?mo((function(){var n={done:!1};try{l(r,e,ui(si,n,t),ui(fi,n,t))}catch(e){fi(n,e,t)}})):(t.value=e,t.state=1,ri(t,!1))}catch(e){fi({done:!1},e,t)}}};if(Bo&&(Xo=(Vo=function(t){!function(t,e){if(D(e,t))return t;throw Or("Incorrect invocation")}(this,Xo),$(t),l(Oo,this);var e=zo(this);try{t(ui(si,e),ui(fi,e))}catch(t){fi(e,t)}}).prototype,(Oo=function(t){Go(this,{type:Ho,done:!1,notified:!1,parent:!1,reactions:new oo,rejection:!1,state:0,value:void 0})}).prototype=ce(Xo,"then",(function(t,e){var n=zo(this),r=Qo(Tr(this,Vo));return n.parent=!0,r.ok=!R(t)||t,r.fail=R(e)&&e,r.domain=Sr?Ko.domain:void 0,0==n.state?n.reactions.add(r):mo((function(){ni(r,n)})),r.promise})),Eo=function(){var t=new Oo,e=zo(t);this.promise=t,this.resolve=ui(si,e),this.reject=ui(fi,e)},Uo.f=Qo=function(t){return t===Vo||undefined===t?new Eo(t):$o(t)},R(wo)&&qo!==Object.prototype)){Po=qo.then,Fo||ce(qo,"then",(function(t,e){var n=this;return new Vo((function(t,e){l(Po,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete qo.constructor}catch(t){}$n&&$n(qo,Xo)}Ne({global:!0,constructor:!0,wrap:!0,forced:Bo},{Promise:Vo}),Xn(Vo,Ho,!1),jo=U(Ho),u&&jo&&!jo[Ar]&&(To=jo,_o=Ar,(Lo={configurable:!0,get:function(){return this}}).get&&ae(Lo.get,_o,{getter:!0}),Lo.set&&ae(Lo.set,_o,{setter:!0}),Dt.f(To,_o,Lo));var li=gt("iterator"),pi=Array.prototype,di=gt("iterator"),hi=function(t){if(!_(t))return Z(t,di)||Z(t,"@@iterator")||Nn[Ke(t)]},vi=TypeError,yi=function(t,e,n){var r,o;Ct(t);try{if(!(r=Z(t,"return"))){if("throw"===e)throw n;return n}r=l(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return Ct(r),n},gi=TypeError,mi=function(t,e){this.stopped=t,this.result=e},bi=mi.prototype,wi=function(t,e,n){var r,o,i,a,c,u,f,s,p=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_RECORD),v=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),g=kr(e,p),m=function(t){return r&&yi(r,"normal",t),new mi(!0,t)},b=function(t){return d?(Ct(t),y?g(t[0],t[1],m):g(t[0],t[1])):y?g(t,m):g(t)};if(h)r=t.iterator;else if(v)r=t;else{if(!(o=hi(t)))throw gi(K(t)+" is not iterable");if(void 0!==(s=o)&&(Nn.Array===s||pi[li]===s)){for(i=0,a=ve(t);a>i;i++)if((c=b(t[i]))&&D(bi,c))return c;return new mi(!1)}r=function(t,e){var n=arguments.length<2?hi(t):e;if($(n))return Ct(l(n,t));throw vi(K(t)+" is not iterable")}(t,o)}for(u=h?t.next:r.next;!(f=l(u,r)).done;){try{c=b(f.value)}catch(t){yi(r,"throw",t)}if("object"==typeof c&&c&&D(bi,c))return c}return new mi(!1)},Si=gt("iterator"),Ai=!1;try{var Oi=0,Ei={next:function(){return{done:!!Oi++}},return:function(){Ai=!0}};Ei[Si]=function(){return this},Array.from(Ei,(function(){throw 2}))}catch(t){}var Pi=Ro.CONSTRUCTOR||!function(t,e){if(!e&&!Ai)return!1;var n=!1;try{var r={};r[Si]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}((function(t){wo.all(t).then(void 0,(function(){}))}));Ne({target:"Promise",stat:!0,forced:Pi},{all:function(t){var e=this,n=Uo.f(e),r=n.resolve,o=n.reject,i=bo((function(){var n=$(e.resolve),i=[],a=0,c=1;wi(t,(function(t){var u=a++,f=!1;c++,l(n,e,t).then((function(t){f||(f=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var Ti=Ro.CONSTRUCTOR,_i=wo&&wo.prototype;if(Ne({target:"Promise",proto:!0,forced:Ti,real:!0},{catch:function(t){return this.then(void 0,t)}}),R(wo)){var Li=U("Promise").prototype.catch;_i.catch!==Li&&ce(_i,"catch",Li,{unsafe:!0})}Ne({target:"Promise",stat:!0,forced:Pi},{race:function(t){var e=this,n=Uo.f(e),r=n.reject,o=bo((function(){var o=$(e.resolve);wi(t,(function(t){l(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),Ne({target:"Promise",stat:!0,forced:Ro.CONSTRUCTOR},{reject:function(t){var e=Uo.f(this);return l(e.reject,void 0,t),e.promise}});var ji=Ro.CONSTRUCTOR;U("Promise"),Ne({target:"Promise",stat:!0,forced:ji},{resolve:function(t){return function(t,e){if(Ct(t),M(e)&&e.constructor===t)return e;var n=Uo.f(t);return(0,n.resolve)(e),n.promise}(this,t)}});var xi=String,Ci=function(t){if("Symbol"===Ke(t))throw TypeError("Cannot convert a Symbol value to a string");return xi(t)},Ii=w("".charAt),ki=w("".charCodeAt),Ri=w("".slice),Ni=function(t){return function(e,n){var r,o,i=Ci(j(e)),a=le(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=ki(i,a))<55296||r>56319||a+1===c||(o=ki(i,a+1))<56320||o>57343?t?Ii(i,a):r:t?Ri(i,a,a+2):o-56320+(r-55296<<10)+65536}},Mi={codeAt:Ni(!1),charAt:Ni(!0)}.charAt,Ui="String Iterator",Di=ie.set,Hi=ie.getterFor(Ui);ur(String,"String",(function(t){Di(this,{type:Ui,string:Ci(t),index:0})}),(function(){var t,e=Hi(this),n=e.string,r=e.index;return r>=n.length?fr(void 0,!0):(t=Mi(n,r),e.index+=t.length,fr(t,!1))}));var Bi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Wi=Et("span").classList,Fi=Wi&&Wi.constructor&&Wi.constructor.prototype,zi=Fi===Object.prototype?void 0:Fi,Gi=gt("iterator"),qi=gt("toStringTag"),Vi=hr.values,Xi=function(t,e){if(t){if(t[Gi]!==Vi)try{Ht(t,Gi,Vi)}catch(e){t[Gi]=Vi}if(t[qi]||Ht(t,qi,e),Bi[e])for(var n in hr)if(t[n]!==hr[n])try{Ht(t,n,hr[n])}catch(e){t[n]=hr[n]}}};for(var Ji in Bi)Xi(a[Ji]&&a[Ji].prototype,Ji);Xi(zi,"DOMTokenList");var Yi=function(){return Yi=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Yi.apply(this,arguments)},Ki={weixinJsSdkTicket:"",launchContainerQuery:".mazey-launch-app-selector",launchShowWeixinToBrowserImgUrl:"",canShowWeixinToBrowser:!1,extInfo:"",serviceAccountAppId:"",wexinServiceAccountAppId:"",openPlatformMobileAppId:"",genTagPrefixStr:"mazey-launch-app-btn-prefix-",launchShowWeixinToBrowserClassName:"mazey-launch-app-wx-to-browser",launchBtnClassName:"mazey-launch-app-inner-btn",launchBtnStyle:"",launchBtnText:"Launch App <br /><br /><br />",launchErrorLink:"",canContinuousUpdating:!1,onMenuShareTimelineOptions:void 0,onMenuShareAppMessageOptions:void 0,isConClosed:!0,isWxDebug:!1,openTagList:["wx-open-launch-app"],canLaunchApp:function(){return!0},canFireErrorLinkDirectly:function(){return!1},launchBtnClick:function(){},launchReady:function(){}};module.exports=function(e){void 0===e&&(e=Ki);var n=Object.assign(Ki,e),r=n.weixinJsSdkTicket,o=n.launchContainerQuery,i=n.genTagPrefixStr,a=n.launchShowWeixinToBrowserImgUrl,c=n.canShowWeixinToBrowser,u=n.launchShowWeixinToBrowserClassName,f=n.launchBtnClassName,s=n.launchBtnStyle,l=n.launchBtnText,p=n.launchErrorLink,d=n.wexinServiceAccountAppId,h=n.openPlatformMobileAppId,v=n.canContinuousUpdating,y=n.onMenuShareTimelineOptions,g=n.onMenuShareAppMessageOptions,m=n.isConClosed,b=n.isWxDebug,w=n.openTagList,S=n.canLaunchApp,A=n.canFireErrorLinkDirectly,O=n.launchBtnClick,E=n.launchReady,P=n.serviceAccountAppId,T=n.extInfo,_=window.wx;_||console.error("Launch App: wx is not found");var L=window.$||window.jQuery;L||console.error("Launch App: $ is not found");var j=window.sha1;j||console.error("Launch App: sha1 is not found");var x=function(){},C=t.genCustomConsole("LaunchCon:",{isClosed:m});C.log("Launch App");var I={title:"",link:"",imgUrl:"",success:function(){},cancel:function(){}},k={title:"",desc:"",link:"",imgUrl:"",type:"",dataUrl:"",success:function(){},cancel:function(){}},R={title:document.title,link:location.href};I=Yi(Yi({},I),R),k=Yi(Yi({},k),R);var N=function(t,e,n){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n="button"),"<style>.".concat(f,"{")+"opacity: 0;width: 100%;height: 100%;backgroud: transparent;color: #300f54;border: none;box-sizing: border-box;text-align: center;vertical-align: middle;"+s+e+"}</style>"+"<".concat(n,' class="').concat(f,'"')+(t&&"button"===n?' onclick="'.concat(t,'"'):"")+(t&&"a"===n?' target="_self" href="'.concat(t,'"'):"")+">"+l+"</".concat(n,">")},M=N();function U(){t.addStyle('.mazey-launch-app-mask{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, .5);text-align:right;font-size:0;white-space:nowrap;overflow:auto;z-index:999;}.mazey-launch-app-img{display:inline-block;vertical-align:middle;text-align:left;font-size:14px;white-space:normal;width:50vw;margin:0.5rem 0.5rem 0 0;}.mazey-launch-app-img:after{content:"";display:inline-block;height:100%;vertical-align:middle;}',{id:"mazey-launch-app-mask-style"}),window.LAUNCH_APP_HIDE_WEIXIN_BROWSER||(window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=function(){L(".mazey-launch-app-mask").hide()}),0===L(".mazey-launch-app-mask").length?L("body").append("<div class='mazey-launch-app-mask' onclick='window.LAUNCH_APP_HIDE_WEIXIN_BROWSER()'><img "+"class='mazey-launch-app-img ".concat(u,"' ")+"src='".concat(a,"' ")+"alt='Launch App' /></div>"):L(".mazey-launch-app-mask").show()}function D(){C.log("renderWeixinLaunchTemplate"),!P&&d&&(console.warn("wexinServiceAccountAppId will be deprecated, use serviceAccountAppId instead."),P=d),function(e,n){void 0===e&&(e=""),void 0===n&&(n=""),C.log("renderWXOpenLaunchApp"),Promise.all([Promise.resolve(r||window.LAUNCH_APP_WEIXIN_JS_SDK_TICKET||t.getQueryParam("weixinJsSdkTicket")||""),Promise.resolve(j)]).then((function(r){C.log("allRes",r);var a=r[0];if(a){var u=r[1];if(u){var f=t.generateRndNum(7),s=a,l=(new Date).getTime(),d=u("jsapi_ticket="+s+"&noncestr="+f+"×tamp="+l+"&url="+location.href);return _.config({debug:b,appId:e,timestamp:l,nonceStr:f,signature:d,jsApiList:["showOptionMenu","onMenuShareTimeline","onMenuShareAppMessage"],openTagList:w}),_.ready((function(){if(g&&(C.log("onMenuShareAppMessageOptions",g),_.onMenuShareAppMessage(g)),window.LAUNCH_APP_SHARE_APP_MESSAGE=function(t){t=Yi(Yi({},k),t),C.log("window LAUNCH_APP_SHARE_APP_MESSAGE",t),_.onMenuShareAppMessage(t)},y&&(C.log("onMenuShareTimelineOptions",y),_.onMenuShareTimeline(y)),window.LAUNCH_APP_SHARE_TIMELINE=function(t){t=Yi(Yi({},I),t),C.log("window LAUNCH_APP_SHARE_TIMELINE",t),_.onMenuShareTimeline(t)},n){window.LAUNCH_APP_READY=!0,E&&E();var t=function(){var t=L(o);C.log("containers",o,t,t.length),t.length>0&&t.each((function(t,e){var r=L(e).attr("data-launch-app-key");if(!r){var o=L(e).parents("[data-launch-app-key]:eq(0)");o.length>0&&(r=o.attr("data-launch-app-key"),C.log("keyEle",o,r))}r||(r=String(t));var a="mazey-launch-app-tag-".concat(r),u=L(".".concat(a," wx-open-launch-app")),f=L(e).attr("data-launch-app-ext-info");if(!f){var s=L(e).parents("[data-launch-app-ext-info]:eq(0)");s.length>0&&(f=s.attr("data-launch-app-ext-info"),C.log("eleExtInfoEle parents",s,f))}f&&(T=f);var l=L(e).attr("data-launch-app-error-link");if(!l){var d=L(e).parents("[data-launch-app-error-link]:eq(0)");d.length>0&&(l=d.attr("data-launch-app-error-link"),C.log("eleErrorLinkEle parents",d,l))}var h=p;l&&(h=l),0===u.length&&(L(e).addClass(a),C.log("success:",a),function(t){var e=i,r=e+t,o="<wx-open-launch-app id='"+r+"' appid='"+n+"' extinfo='".concat(T)+"' style='z-index:99;position:absolute;width:100%;height:100%;opacity:1;background:transparent;overflow:hidden;left:0;'><script type='text/wxtag-template'>"+M+"<\/script></wx-open-launch-app>";L("."+t+":eq(0)").append(o);var a=document.getElementById(r);a&&(a.addEventListener("ready",(function(t){C.log("ready event",t)})),a.addEventListener("launch",(function(t){C.log("launch event",t),t.detail&&t.detail.extInfo&&C.log("launch extInfo",t.detail.extInfo)})),a.addEventListener("error",(function(t){C.error(t.detail),L("[id^='"+e+"']").hide(),c&&U(),h&&(C.log("realErrorLink",h),location.href=h)})),a.addEventListener("click",(function(t){C.log("click event",t),O&&O()})))}(a))}))};t(),x=t}else C.log("openPlatformMobileAppId is required for weixin launch app")})),_.error((function(t){C.error(t)})),"success:launch_app"}C.error("sha1 is required")}else C.error("weixinJsSdkTicket is required")})).catch((function(t){C.error(t)}))}(P,h)}function H(t){if(C.log("appUpdated",t),!window.LAUNCH_APP_LOAD&&S(t)&&(D(),window.LAUNCH_APP_LOAD=!0),v&&window.LAUNCH_APP_LOAD&&S(t)&&x(),A()){var e=L(o);e.length>0&&e.each((function(t,e){var n=L(e).children("."+f);if(!n||!n.length){var r=L(e).attr("data-launch-app-error-link");if(!r){var o=L(e).parents("[data-launch-app-error-link]:eq(0)");o.length>0&&(r=o.attr("data-launch-app-error-link"))}if(r&&"string"==typeof r&&r.length){var i=N(r,"position:absolute;left:0;z-index:999;","a");L(e).append(i)}}}))}}function B(){C.log("appBeforeDestroy",B),window.LAUNCH_APP_LOAD=null,window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=null}return window.LAUNCH_APP_UPDATE=H,window.LAUNCH_APP_BEFORE_DESTROY=B,window.LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER=U,{LAUNCH_APP_UPDATE:H,LAUNCH_APP_BEFORE_DESTROY:B,LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER:U,LAUNCH_APP_SHARE_TIMELINE:function(t){C.log("opt",t)},LAUNCH_APP_SHARE_APP_MESSAGE:function(t){C.log("opt",t)},start:H,update:H,destroy:B}};
|
package/lib/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ declare const _default: (options?: {
|
|
|
23
23
|
onMenuShareAppMessageOptions?: MenuShareAppMessageOptions | undefined;
|
|
24
24
|
isConClosed?: boolean | undefined;
|
|
25
25
|
isWxDebug?: boolean | undefined;
|
|
26
|
+
openTagList?: string[] | undefined;
|
|
26
27
|
canLaunchApp?: ((data: any) => boolean) | undefined;
|
|
27
28
|
canFireErrorLinkDirectly?: (() => boolean) | undefined;
|
|
28
29
|
launchBtnClick?: (() => void) | undefined;
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAqCA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;2BAuBuB,GAAG,KAAK,OAAO;sCACJ,OAAO;4BACjB,IAAI;yBACP,IAAI;MAEzB,MAAM;AA3BT,wBA4fE"}
|
package/lib/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* mazey-wechat-launch-app v2.
|
|
2
|
+
* mazey-wechat-launch-app v2.3.1-mini.0 https://www.npmjs.com/package/mazey-wechat-launch-app
|
|
3
3
|
* (c) 2018-2025 Cheng
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import{genCustomConsole as t,addStyle as e,generateRndNum as n}from"mazey";import r from"jquery";import o from"js-sha1";var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function a(t,e){return t(e={exports:{}},e.exports),e.exports}var c,u,f=function(t){return t&&t.Math==Math&&t},s=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof i&&i)||function(){return this}()||Function("return this")(),l=function(t){try{return!!t()}catch(t){return!0}},p=!l((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!l((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),d=Function.prototype.call,v=h?d.bind(d):function(){return d.apply(d,arguments)},y={}.propertyIsEnumerable,g=Object.getOwnPropertyDescriptor,m=g&&!y.call({1:2},1)?function(t){var e=g(this,t);return!!e&&e.enumerable}:y,b={f:m},w=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},S=Function.prototype,A=S.call,O=h&&S.bind.bind(A,A),E=h?O:function(t){return function(){return A.apply(t,arguments)}},P=E({}.toString),T=E("".slice),_=function(t){return T(P(t),8,-1)},j=Object,L=E("".split),x=l((function(){return!j("z").propertyIsEnumerable(0)}))?function(t){return"String"==_(t)?L(t,""):j(t)}:j,C=function(t){return null==t},I=TypeError,R=function(t){if(C(t))throw I("Can't call method on "+t);return t},k=function(t){return x(R(t))},N="object"==typeof document&&document.all,M={all:N,IS_HTMLDDA:void 0===N&&void 0!==N},U=M.all,D=M.IS_HTMLDDA?function(t){return"function"==typeof t||t===U}:function(t){return"function"==typeof t},H=M.all,B=M.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:D(t)||t===H}:function(t){return"object"==typeof t?null!==t:D(t)},W=function(t,e){return arguments.length<2?(n=s[t],D(n)?n:void 0):s[t]&&s[t][e];var n},F=E({}.isPrototypeOf),z="undefined"!=typeof navigator&&String(navigator.userAgent)||"",G=s.process,q=s.Deno,V=G&&G.versions||q&&q.version,X=V&&V.v8;X&&(u=(c=X.split("."))[0]>0&&c[0]<4?1:+(c[0]+c[1])),!u&&z&&(!(c=z.match(/Edge\/(\d+)/))||c[1]>=74)&&(c=z.match(/Chrome\/(\d+)/))&&(u=+c[1]);var Y=u,J=!!Object.getOwnPropertySymbols&&!l((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Y&&Y<41})),K=J&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Q=Object,$=K?function(t){return"symbol"==typeof t}:function(t){var e=W("Symbol");return D(e)&&F(e.prototype,Q(t))},Z=String,tt=function(t){try{return Z(t)}catch(t){return"Object"}},et=TypeError,nt=function(t){if(D(t))return t;throw et(tt(t)+" is not a function")},rt=function(t,e){var n=t[e];return C(n)?void 0:nt(n)},ot=TypeError,it=Object.defineProperty,at=function(t,e){try{it(s,t,{value:e,configurable:!0,writable:!0})}catch(n){s[t]=e}return e},ct="__core-js_shared__",ut=s[ct]||at(ct,{}),ft=a((function(t){(t.exports=function(t,e){return ut[t]||(ut[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),st=Object,lt=function(t){return st(R(t))},pt=E({}.hasOwnProperty),ht=Object.hasOwn||function(t,e){return pt(lt(t),e)},dt=0,vt=Math.random(),yt=E(1..toString),gt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+yt(++dt+vt,36)},mt=s.Symbol,bt=ft("wks"),wt=K?mt.for||mt:mt&&mt.withoutSetter||gt,St=function(t){return ht(bt,t)||(bt[t]=J&&ht(mt,t)?mt[t]:wt("Symbol."+t)),bt[t]},At=TypeError,Ot=St("toPrimitive"),Et=function(t,e){if(!B(t)||$(t))return t;var n,r=rt(t,Ot);if(r){if(void 0===e&&(e="default"),n=v(r,t,e),!B(n)||$(n))return n;throw At("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&D(n=t.toString)&&!B(r=v(n,t)))return r;if(D(n=t.valueOf)&&!B(r=v(n,t)))return r;if("string"!==e&&D(n=t.toString)&&!B(r=v(n,t)))return r;throw ot("Can't convert object to primitive value")}(t,e)},Pt=function(t){var e=Et(t,"string");return $(e)?e:e+""},Tt=s.document,_t=B(Tt)&&B(Tt.createElement),jt=function(t){return _t?Tt.createElement(t):{}},Lt=!p&&!l((function(){return 7!=Object.defineProperty(jt("div"),"a",{get:function(){return 7}}).a})),xt=Object.getOwnPropertyDescriptor,Ct={f:p?xt:function(t,e){if(t=k(t),e=Pt(e),Lt)try{return xt(t,e)}catch(t){}if(ht(t,e))return w(!v(b.f,t,e),t[e])}},It=p&&l((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Rt=String,kt=TypeError,Nt=function(t){if(B(t))return t;throw kt(Rt(t)+" is not an object")},Mt=TypeError,Ut=Object.defineProperty,Dt=Object.getOwnPropertyDescriptor,Ht="enumerable",Bt="configurable",Wt="writable",Ft={f:p?It?function(t,e,n){if(Nt(t),e=Pt(e),Nt(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Wt in n&&!n[Wt]){var r=Dt(t,e);r&&r[Wt]&&(t[e]=n.value,n={configurable:Bt in n?n[Bt]:r[Bt],enumerable:Ht in n?n[Ht]:r[Ht],writable:!1})}return Ut(t,e,n)}:Ut:function(t,e,n){if(Nt(t),e=Pt(e),Nt(n),Lt)try{return Ut(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Mt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},zt=p?function(t,e,n){return Ft.f(t,e,w(1,n))}:function(t,e,n){return t[e]=n,t},Gt=Function.prototype,qt=p&&Object.getOwnPropertyDescriptor,Vt=ht(Gt,"name"),Xt={EXISTS:Vt,PROPER:Vt&&"something"===function(){}.name,CONFIGURABLE:Vt&&(!p||p&&qt(Gt,"name").configurable)},Yt=E(Function.toString);D(ut.inspectSource)||(ut.inspectSource=function(t){return Yt(t)});var Jt,Kt,Qt,$t=ut.inspectSource,Zt=s.WeakMap,te=D(Zt)&&/native code/.test(String(Zt)),ee=ft("keys"),ne=function(t){return ee[t]||(ee[t]=gt(t))},re={},oe="Object already initialized",ie=s.TypeError,ae=s.WeakMap;if(te||ut.state){var ce=ut.state||(ut.state=new ae);ce.get=ce.get,ce.has=ce.has,ce.set=ce.set,Jt=function(t,e){if(ce.has(t))throw ie(oe);return e.facade=t,ce.set(t,e),e},Kt=function(t){return ce.get(t)||{}},Qt=function(t){return ce.has(t)}}else{var ue=ne("state");re[ue]=!0,Jt=function(t,e){if(ht(t,ue))throw ie(oe);return e.facade=t,zt(t,ue,e),e},Kt=function(t){return ht(t,ue)?t[ue]:{}},Qt=function(t){return ht(t,ue)}}var fe={set:Jt,get:Kt,has:Qt,enforce:function(t){return Qt(t)?Kt(t):Jt(t,{})},getterFor:function(t){return function(e){var n;if(!B(e)||(n=Kt(e)).type!==t)throw ie("Incompatible receiver, "+t+" required");return n}}},se=a((function(t){var e=Xt.CONFIGURABLE,n=fe.enforce,r=fe.get,o=String,i=Object.defineProperty,a=E("".slice),c=E("".replace),u=E([].join),f=p&&!l((function(){return 8!==i((function(){}),"length",{value:8}).length})),s=String(String).split("String"),h=t.exports=function(t,r,l){"Symbol("===a(o(r),0,7)&&(r="["+c(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),l&&l.getter&&(r="get "+r),l&&l.setter&&(r="set "+r),(!ht(t,"name")||e&&t.name!==r)&&(p?i(t,"name",{value:r,configurable:!0}):t.name=r),f&&l&&ht(l,"arity")&&t.length!==l.arity&&i(t,"length",{value:l.arity});try{l&&ht(l,"constructor")&&l.constructor?p&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var h=n(t);return ht(h,"source")||(h.source=u(s,"string"==typeof r?r:"")),t};Function.prototype.toString=h((function(){return D(this)&&r(this).source||$t(this)}),"toString")})),le=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(D(n)&&se(n,i,r),r.global)o?t[e]=n:at(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:Ft.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},pe=Math.ceil,he=Math.floor,de=Math.trunc||function(t){var e=+t;return(e>0?he:pe)(e)},ve=function(t){var e=+t;return e!=e||0===e?0:de(e)},ye=Math.max,ge=Math.min,me=Math.min,be=function(t){return(e=t.length)>0?me(ve(e),9007199254740991):0;var e},we=function(t){return function(e,n,r){var o,i=k(e),a=be(i),c=function(t,e){var n=ve(t);return n<0?ye(n+e,0):ge(n,e)}(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},Se={includes:we(!0),indexOf:we(!1)}.indexOf,Ae=E([].push),Oe=function(t,e){var n,r=k(t),o=0,i=[];for(n in r)!ht(re,n)&&ht(r,n)&&Ae(i,n);for(;e.length>o;)ht(r,n=e[o++])&&(~Se(i,n)||Ae(i,n));return i},Ee=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Pe=Ee.concat("length","prototype"),Te={f:Object.getOwnPropertyNames||function(t){return Oe(t,Pe)}},_e={f:Object.getOwnPropertySymbols},je=E([].concat),Le=W("Reflect","ownKeys")||function(t){var e=Te.f(Nt(t)),n=_e.f;return n?je(e,n(t)):e},xe=function(t,e,n){for(var r=Le(e),o=Ft.f,i=Ct.f,a=0;a<r.length;a++){var c=r[a];ht(t,c)||n&&ht(n,c)||o(t,c,i(e,c))}},Ce=/#|\.prototype\./,Ie=function(t,e){var n=ke[Re(t)];return n==Me||n!=Ne&&(D(e)?l(e):!!e)},Re=Ie.normalize=function(t){return String(t).replace(Ce,".").toLowerCase()},ke=Ie.data={},Ne=Ie.NATIVE="N",Me=Ie.POLYFILL="P",Ue=Ie,De=Ct.f,He=function(t,e){var n,r,o,i,a,c=t.target,u=t.global,f=t.stat;if(n=u?s:f?s[c]||at(c,{}):(s[c]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(a=De(n,r))&&a.value:n[r],!Ue(u?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;xe(i,o)}(t.sham||o&&o.sham)&&zt(i,"sham",!0),le(n,r,i,t)}},Be=Object.keys||function(t){return Oe(t,Ee)},We=Object.assign,Fe=Object.defineProperty,ze=E([].concat),Ge=!We||l((function(){if(p&&1!==We({b:1},We(Fe({},"a",{enumerable:!0,get:function(){Fe(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=We({},t)[n]||Be(We({},e)).join("")!=r}))?function(t,e){for(var n=lt(t),r=arguments.length,o=1,i=_e.f,a=b.f;r>o;)for(var c,u=x(arguments[o++]),f=i?ze(Be(u),i(u)):Be(u),s=f.length,l=0;s>l;)c=f[l++],p&&!v(a,u,c)||(n[c]=u[c]);return n}:We;He({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ge},{assign:Ge});var qe=Array.isArray||function(t){return"Array"==_(t)},Ve=TypeError,Xe=function(t){if(t>9007199254740991)throw Ve("Maximum allowed index exceeded");return t},Ye=function(t,e,n){var r=Pt(e);r in t?Ft.f(t,r,w(0,n)):t[r]=n},Je={};Je[St("toStringTag")]="z";var Ke="[object z]"===String(Je),Qe=St("toStringTag"),$e=Object,Ze="Arguments"==_(function(){return arguments}()),tn=Ke?_:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=$e(t),Qe))?n:Ze?_(e):"Object"==(r=_(e))&&D(e.callee)?"Arguments":r},en=function(){},nn=[],rn=W("Reflect","construct"),on=/^\s*(?:class|function)\b/,an=E(on.exec),cn=!on.exec(en),un=function(t){if(!D(t))return!1;try{return rn(en,nn,t),!0}catch(t){return!1}},fn=function(t){if(!D(t))return!1;switch(tn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return cn||!!an(on,$t(t))}catch(t){return!0}};fn.sham=!0;var sn,ln=!rn||l((function(){var t;return un(un.call)||!un(Object)||!un((function(){t=!0}))||t}))?fn:un,pn=St("species"),hn=Array,dn=function(t,e){return new(function(t){var e;return qe(t)&&(e=t.constructor,(ln(e)&&(e===hn||qe(e.prototype))||B(e)&&null===(e=e[pn]))&&(e=void 0)),void 0===e?hn:e}(t))(0===e?0:e)},vn=St("species"),yn=St("isConcatSpreadable"),gn=Y>=51||!l((function(){var t=[];return t[yn]=!1,t.concat()[0]!==t})),mn=function(t){if(!B(t))return!1;var e=t[yn];return void 0!==e?!!e:qe(t)},bn=!(gn&&(sn="concat",Y>=51||!l((function(){var t=[];return(t.constructor={})[vn]=function(){return{foo:1}},1!==t[sn](Boolean).foo}))));He({target:"Array",proto:!0,arity:1,forced:bn},{concat:function(t){var e,n,r,o,i,a=lt(this),c=dn(a,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(mn(i=-1===e?a:arguments[e]))for(o=be(i),Xe(u+o),n=0;n<o;n++,u++)n in i&&Ye(c,u,i[n]);else Xe(u+1),Ye(c,u++,i);return c.length=u,c}});var wn,Sn=p&&!It?Object.defineProperties:function(t,e){Nt(t);for(var n,r=k(e),o=Be(e),i=o.length,a=0;i>a;)Ft.f(t,n=o[a++],r[n]);return t},An={f:Sn},On=W("document","documentElement"),En="prototype",Pn="script",Tn=ne("IE_PROTO"),_n=function(){},jn=function(t){return"<"+Pn+">"+t+"</"+Pn+">"},Ln=function(t){t.write(jn("")),t.close();var e=t.parentWindow.Object;return t=null,e},xn=function(){try{wn=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;xn="undefined"!=typeof document?document.domain&&wn?Ln(wn):(e=jt("iframe"),n="java"+Pn+":",e.style.display="none",On.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(jn("document.F=Object")),t.close(),t.F):Ln(wn);for(var r=Ee.length;r--;)delete xn[En][Ee[r]];return xn()};re[Tn]=!0;var Cn=Object.create||function(t,e){var n;return null!==t?(_n[En]=Nt(t),n=new _n,_n[En]=null,n[Tn]=t):n=xn(),void 0===e?n:An.f(n,e)},In=Ft.f,Rn=St("unscopables"),kn=Array.prototype;null==kn[Rn]&&In(kn,Rn,{configurable:!0,value:Cn(null)});var Nn,Mn,Un,Dn=function(t){kn[Rn][t]=!0},Hn={},Bn=!l((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Wn=ne("IE_PROTO"),Fn=Object,zn=Fn.prototype,Gn=Bn?Fn.getPrototypeOf:function(t){var e=lt(t);if(ht(e,Wn))return e[Wn];var n=e.constructor;return D(n)&&e instanceof n?n.prototype:e instanceof Fn?zn:null},qn=St("iterator"),Vn=!1;[].keys&&("next"in(Un=[].keys())?(Mn=Gn(Gn(Un)))!==Object.prototype&&(Nn=Mn):Vn=!0);var Xn=!B(Nn)||l((function(){var t={};return Nn[qn].call(t)!==t}));Xn&&(Nn={}),D(Nn[qn])||le(Nn,qn,(function(){return this}));var Yn={IteratorPrototype:Nn,BUGGY_SAFARI_ITERATORS:Vn},Jn=Ft.f,Kn=St("toStringTag"),Qn=function(t,e,n){t&&!n&&(t=t.prototype),t&&!ht(t,Kn)&&Jn(t,Kn,{configurable:!0,value:e})},$n=Yn.IteratorPrototype,Zn=function(){return this},tr=String,er=TypeError,nr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return E(nt(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return Nt(n),function(t){if("object"==typeof t||D(t))return t;throw er("Can't set "+tr(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),rr=Xt.PROPER,or=Xt.CONFIGURABLE,ir=Yn.IteratorPrototype,ar=Yn.BUGGY_SAFARI_ITERATORS,cr=St("iterator"),ur="keys",fr="values",sr="entries",lr=function(){return this},pr=function(t,e,n,r,o,i,a){!function(t,e,n,r){var o=e+" Iterator";t.prototype=Cn($n,{next:w(+!r,n)}),Qn(t,o,!1),Hn[o]=Zn}(n,e,r);var c,u,f,s=function(t){if(t===o&&y)return y;if(!ar&&t in h)return h[t];switch(t){case ur:case fr:case sr:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",p=!1,h=t.prototype,d=h[cr]||h["@@iterator"]||o&&h[o],y=!ar&&d||s(o),g="Array"==e&&h.entries||d;if(g&&(c=Gn(g.call(new t)))!==Object.prototype&&c.next&&(Gn(c)!==ir&&(nr?nr(c,ir):D(c[cr])||le(c,cr,lr)),Qn(c,l,!0)),rr&&o==fr&&d&&d.name!==fr&&(or?zt(h,"name",fr):(p=!0,y=function(){return v(d,this)})),o)if(u={values:s(fr),keys:i?y:s(ur),entries:s(sr)},a)for(f in u)(ar||p||!(f in h))&&le(h,f,u[f]);else He({target:e,proto:!0,forced:ar||p},u);return h[cr]!==y&&le(h,cr,y,{name:o}),Hn[e]=y,u},hr=function(t,e){return{value:t,done:e}},dr=Ft.f,vr="Array Iterator",yr=fe.set,gr=fe.getterFor(vr),mr=pr(Array,"Array",(function(t,e){yr(this,{type:vr,target:k(t),index:0,kind:e})}),(function(){var t=gr(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,hr(void 0,!0)):hr("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values"),br=Hn.Arguments=Hn.Array;if(Dn("keys"),Dn("values"),Dn("entries"),p&&"values"!==br.name)try{dr(br,"name",{value:"values"})}catch(t){}var wr=Ke?{}.toString:function(){return"[object "+tn(this)+"]"};Ke||le(Object.prototype,"toString",wr,{unsafe:!0});var Sr,Ar,Or,Er,Pr="undefined"!=typeof process&&"process"==_(process),Tr=St("species"),_r=TypeError,jr=TypeError,Lr=St("species"),xr=function(t,e){var n,r=Nt(t).constructor;return void 0===r||C(n=Nt(r)[Lr])?e:function(t){if(ln(t))return t;throw jr(tt(t)+" is not a constructor")}(n)},Cr=Function.prototype,Ir=Cr.apply,Rr=Cr.call,kr="object"==typeof Reflect&&Reflect.apply||(h?Rr.bind(Ir):function(){return Rr.apply(Ir,arguments)}),Nr=function(t){if("Function"===_(t))return E(t)},Mr=Nr(Nr.bind),Ur=function(t,e){return nt(t),void 0===e?t:h?Mr(t,e):function(){return t.apply(e,arguments)}},Dr=E([].slice),Hr=TypeError,Br=/(?:ipad|iphone|ipod).*applewebkit/i.test(z),Wr=s.setImmediate,Fr=s.clearImmediate,zr=s.process,Gr=s.Dispatch,qr=s.Function,Vr=s.MessageChannel,Xr=s.String,Yr=0,Jr={},Kr="onreadystatechange";l((function(){Sr=s.location}));var Qr=function(t){if(ht(Jr,t)){var e=Jr[t];delete Jr[t],e()}},$r=function(t){return function(){Qr(t)}},Zr=function(t){Qr(t.data)},to=function(t){s.postMessage(Xr(t),Sr.protocol+"//"+Sr.host)};Wr&&Fr||(Wr=function(t){!function(t,e){if(t<e)throw Hr("Not enough arguments")}(arguments.length,1);var e=D(t)?t:qr(t),n=Dr(arguments,1);return Jr[++Yr]=function(){kr(e,void 0,n)},Ar(Yr),Yr},Fr=function(t){delete Jr[t]},Pr?Ar=function(t){zr.nextTick($r(t))}:Gr&&Gr.now?Ar=function(t){Gr.now($r(t))}:Vr&&!Br?(Er=(Or=new Vr).port2,Or.port1.onmessage=Zr,Ar=Ur(Er.postMessage,Er)):s.addEventListener&&D(s.postMessage)&&!s.importScripts&&Sr&&"file:"!==Sr.protocol&&!l(to)?(Ar=to,s.addEventListener("message",Zr,!1)):Ar=Kr in jt("script")?function(t){On.appendChild(jt("script"))[Kr]=function(){On.removeChild(this),Qr(t)}}:function(t){setTimeout($r(t),0)});var eo={set:Wr,clear:Fr},no=function(){this.head=null,this.tail=null};no.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var ro,oo,io,ao,co,uo=no,fo=/ipad|iphone|ipod/i.test(z)&&"undefined"!=typeof Pebble,so=/web0s(?!.*chrome)/i.test(z),lo=Ct.f,po=eo.set,ho=s.MutationObserver||s.WebKitMutationObserver,vo=s.document,yo=s.process,go=s.Promise,mo=lo(s,"queueMicrotask"),bo=mo&&mo.value;if(!bo){var wo=new uo,So=function(){var t,e;for(Pr&&(t=yo.domain)&&t.exit();e=wo.get();)try{e()}catch(t){throw wo.head&&ro(),t}t&&t.enter()};Br||Pr||so||!ho||!vo?!fo&&go&&go.resolve?((ao=go.resolve(void 0)).constructor=go,co=Ur(ao.then,ao),ro=function(){co(So)}):Pr?ro=function(){yo.nextTick(So)}:(po=Ur(po,s),ro=function(){po(So)}):(oo=!0,io=vo.createTextNode(""),new ho(So).observe(io,{characterData:!0}),ro=function(){io.data=oo=!oo}),bo=function(t){wo.head||ro(),wo.add(t)}}var Ao=bo,Oo=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Eo=s.Promise,Po="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,To=!Po&&!Pr&&"object"==typeof window&&"object"==typeof document;Eo&&Eo.prototype;var _o,jo,Lo,xo,Co,Io,Ro,ko=St("species"),No=!1,Mo=D(s.PromiseRejectionEvent),Uo=Ue("Promise",(function(){var t=$t(Eo),e=t!==String(Eo);if(!e&&66===Y)return!0;if(!Y||Y<51||!/native code/.test(t)){var n=new Eo((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[ko]=r,!(No=n.then((function(){}))instanceof r))return!0}return!e&&(To||Po)&&!Mo})),Do={CONSTRUCTOR:Uo,REJECTION_EVENT:Mo,SUBCLASSING:No},Ho=TypeError,Bo=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw Ho("Bad Promise constructor");e=t,n=r})),this.resolve=nt(e),this.reject=nt(n)},Wo={f:function(t){return new Bo(t)}},Fo=eo.set,zo="Promise",Go=Do.CONSTRUCTOR,qo=Do.REJECTION_EVENT,Vo=Do.SUBCLASSING,Xo=fe.getterFor(zo),Yo=fe.set,Jo=Eo&&Eo.prototype,Ko=Eo,Qo=Jo,$o=s.TypeError,Zo=s.document,ti=s.process,ei=Wo.f,ni=ei,ri=!!(Zo&&Zo.createEvent&&s.dispatchEvent),oi="unhandledrejection",ii=function(t){var e;return!(!B(t)||!D(e=t.then))&&e},ai=function(t,e){var n,r,o,i=e.value,a=1==e.state,c=a?t.ok:t.fail,u=t.resolve,f=t.reject,s=t.domain;try{c?(a||(2===e.rejection&&li(e),e.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===t.promise?f($o("Promise-chain cycle")):(r=ii(n))?v(r,n,u,f):u(n)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},ci=function(t,e){t.notified||(t.notified=!0,Ao((function(){for(var n,r=t.reactions;n=r.get();)ai(n,t);t.notified=!1,e&&!t.rejection&&fi(t)})))},ui=function(t,e,n){var r,o;ri?((r=Zo.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!qo&&(o=s["on"+t])?o(r):t===oi&&function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",n)},fi=function(t){v(Fo,s,(function(){var e,n=t.facade,r=t.value;if(si(t)&&(e=Oo((function(){Pr?ti.emit("unhandledRejection",r,n):ui(oi,n,r)})),t.rejection=Pr||si(t)?2:1,e.error))throw e.value}))},si=function(t){return 1!==t.rejection&&!t.parent},li=function(t){v(Fo,s,(function(){var e=t.facade;Pr?ti.emit("rejectionHandled",e):ui("rejectionhandled",e,t.value)}))},pi=function(t,e,n){return function(r){t(e,r,n)}},hi=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,ci(t,!0))},di=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw $o("Promise can't be resolved itself");var r=ii(e);r?Ao((function(){var n={done:!1};try{v(r,e,pi(di,n,t),pi(hi,n,t))}catch(e){hi(n,e,t)}})):(t.value=e,t.state=1,ci(t,!1))}catch(e){hi({done:!1},e,t)}}};if(Go&&(Qo=(Ko=function(t){!function(t,e){if(F(e,t))return t;throw _r("Incorrect invocation")}(this,Qo),nt(t),v(_o,this);var e=Xo(this);try{t(pi(di,e),pi(hi,e))}catch(t){hi(e,t)}}).prototype,(_o=function(t){Yo(this,{type:zo,done:!1,notified:!1,parent:!1,reactions:new uo,rejection:!1,state:0,value:void 0})}).prototype=le(Qo,"then",(function(t,e){var n=Xo(this),r=ei(xr(this,Ko));return n.parent=!0,r.ok=!D(t)||t,r.fail=D(e)&&e,r.domain=Pr?ti.domain:void 0,0==n.state?n.reactions.add(r):Ao((function(){ai(r,n)})),r.promise})),jo=function(){var t=new _o,e=Xo(t);this.promise=t,this.resolve=pi(di,e),this.reject=pi(hi,e)},Wo.f=ei=function(t){return t===Ko||undefined===t?new jo(t):ni(t)},D(Eo)&&Jo!==Object.prototype)){Lo=Jo.then,Vo||le(Jo,"then",(function(t,e){var n=this;return new Ko((function(t,e){v(Lo,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete Jo.constructor}catch(t){}nr&&nr(Jo,Qo)}He({global:!0,constructor:!0,wrap:!0,forced:Go},{Promise:Ko}),Qn(Ko,zo,!1),Ro=W(zo),p&&Ro&&!Ro[Tr]&&(xo=Ro,Co=Tr,(Io={configurable:!0,get:function(){return this}}).get&&se(Io.get,Co,{getter:!0}),Io.set&&se(Io.set,Co,{setter:!0}),Ft.f(xo,Co,Io));var vi=St("iterator"),yi=Array.prototype,gi=St("iterator"),mi=function(t){if(!C(t))return rt(t,gi)||rt(t,"@@iterator")||Hn[tn(t)]},bi=TypeError,wi=function(t,e,n){var r,o;Nt(t);try{if(!(r=rt(t,"return"))){if("throw"===e)throw n;return n}r=v(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return Nt(r),n},Si=TypeError,Ai=function(t,e){this.stopped=t,this.result=e},Oi=Ai.prototype,Ei=function(t,e,n){var r,o,i,a,c,u,f,s,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),g=Ur(e,l),m=function(t){return r&&wi(r,"normal",t),new Ai(!0,t)},b=function(t){return p?(Nt(t),y?g(t[0],t[1],m):g(t[0],t[1])):y?g(t,m):g(t)};if(h)r=t.iterator;else if(d)r=t;else{if(!(o=mi(t)))throw Si(tt(t)+" is not iterable");if(void 0!==(s=o)&&(Hn.Array===s||yi[vi]===s)){for(i=0,a=be(t);a>i;i++)if((c=b(t[i]))&&F(Oi,c))return c;return new Ai(!1)}r=function(t,e){var n=arguments.length<2?mi(t):e;if(nt(n))return Nt(v(n,t));throw bi(tt(t)+" is not iterable")}(t,o)}for(u=h?t.next:r.next;!(f=v(u,r)).done;){try{c=b(f.value)}catch(t){wi(r,"throw",t)}if("object"==typeof c&&c&&F(Oi,c))return c}return new Ai(!1)},Pi=St("iterator"),Ti=!1;try{var _i=0,ji={next:function(){return{done:!!_i++}},return:function(){Ti=!0}};ji[Pi]=function(){return this},Array.from(ji,(function(){throw 2}))}catch(t){}var Li=Do.CONSTRUCTOR||!function(t,e){if(!e&&!Ti)return!1;var n=!1;try{var r={};r[Pi]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}((function(t){Eo.all(t).then(void 0,(function(){}))}));He({target:"Promise",stat:!0,forced:Li},{all:function(t){var e=this,n=Wo.f(e),r=n.resolve,o=n.reject,i=Oo((function(){var n=nt(e.resolve),i=[],a=0,c=1;Ei(t,(function(t){var u=a++,f=!1;c++,v(n,e,t).then((function(t){f||(f=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var xi=Do.CONSTRUCTOR,Ci=Eo&&Eo.prototype;if(He({target:"Promise",proto:!0,forced:xi,real:!0},{catch:function(t){return this.then(void 0,t)}}),D(Eo)){var Ii=W("Promise").prototype.catch;Ci.catch!==Ii&&le(Ci,"catch",Ii,{unsafe:!0})}He({target:"Promise",stat:!0,forced:Li},{race:function(t){var e=this,n=Wo.f(e),r=n.reject,o=Oo((function(){var o=nt(e.resolve);Ei(t,(function(t){v(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),He({target:"Promise",stat:!0,forced:Do.CONSTRUCTOR},{reject:function(t){var e=Wo.f(this);return v(e.reject,void 0,t),e.promise}});var Ri=Do.CONSTRUCTOR;W("Promise"),He({target:"Promise",stat:!0,forced:Ri},{resolve:function(t){return function(t,e){if(Nt(t),B(e)&&e.constructor===t)return e;var n=Wo.f(t);return(0,n.resolve)(e),n.promise}(this,t)}});var ki=String,Ni=function(t){if("Symbol"===tn(t))throw TypeError("Cannot convert a Symbol value to a string");return ki(t)},Mi=E("".charAt),Ui=E("".charCodeAt),Di=E("".slice),Hi=function(t){return function(e,n){var r,o,i=Ni(R(e)),a=ve(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=Ui(i,a))<55296||r>56319||a+1===c||(o=Ui(i,a+1))<56320||o>57343?t?Mi(i,a):r:t?Di(i,a,a+2):o-56320+(r-55296<<10)+65536}},Bi={codeAt:Hi(!1),charAt:Hi(!0)}.charAt,Wi="String Iterator",Fi=fe.set,zi=fe.getterFor(Wi);pr(String,"String",(function(t){Fi(this,{type:Wi,string:Ni(t),index:0})}),(function(){var t,e=zi(this),n=e.string,r=e.index;return r>=n.length?hr(void 0,!0):(t=Bi(n,r),e.index+=t.length,hr(t,!1))}));var Gi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},qi=jt("span").classList,Vi=qi&&qi.constructor&&qi.constructor.prototype,Xi=Vi===Object.prototype?void 0:Vi,Yi=St("iterator"),Ji=St("toStringTag"),Ki=mr.values,Qi=function(t,e){if(t){if(t[Yi]!==Ki)try{zt(t,Yi,Ki)}catch(e){t[Yi]=Ki}if(t[Ji]||zt(t,Ji,e),Gi[e])for(var n in mr)if(t[n]!==mr[n])try{zt(t,n,mr[n])}catch(e){t[n]=mr[n]}}};for(var $i in Gi)Qi(s[$i]&&s[$i].prototype,$i);Qi(Xi,"DOMTokenList");var Zi=function(){return Zi=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Zi.apply(this,arguments)},ta={weixinJsSdkTicket:"",launchContainerQuery:".mazey-launch-app-selector",launchShowWeixinToBrowserImgUrl:"",canShowWeixinToBrowser:!1,extInfo:"",serviceAccountAppId:"",wexinServiceAccountAppId:"",openPlatformMobileAppId:"",genTagPrefixStr:"mazey-launch-app-btn-prefix-",launchShowWeixinToBrowserClassName:"mazey-launch-app-wx-to-browser",launchBtnClassName:"mazey-launch-app-inner-btn",launchBtnStyle:"",launchBtnText:"Launch App <br /><br /><br />",launchErrorLink:"",canContinuousUpdating:!1,onMenuShareTimelineOptions:void 0,onMenuShareAppMessageOptions:void 0,isConClosed:!0,isWxDebug:!1,canLaunchApp:function(){return!0},canFireErrorLinkDirectly:function(){return!1},launchBtnClick:function(){},launchReady:function(){}},ea=function(i){void 0===i&&(i=ta);var a=Object.assign(ta,i),c=a.weixinJsSdkTicket,u=a.launchContainerQuery,f=a.genTagPrefixStr,s=a.launchShowWeixinToBrowserImgUrl,l=a.canShowWeixinToBrowser,p=a.launchShowWeixinToBrowserClassName,h=a.launchBtnClassName,d=a.launchBtnStyle,v=a.launchBtnText,y=a.launchErrorLink,g=a.wexinServiceAccountAppId,m=a.openPlatformMobileAppId,b=a.canContinuousUpdating,w=a.onMenuShareTimelineOptions,S=a.onMenuShareAppMessageOptions,A=a.isConClosed,O=a.isWxDebug,E=a.canLaunchApp,P=a.canFireErrorLinkDirectly,T=a.launchBtnClick,_=a.launchReady,j=a.serviceAccountAppId,L=a.extInfo,x=window.wx;x||console.error("Launch App: wx is not found");var C=function(){},I=t("LaunchCon:",{isClosed:A});I.log("Launch App");var R={title:"",link:"",imgUrl:"",success:function(){},cancel:function(){}},k={title:"",desc:"",link:"",imgUrl:"",type:"",dataUrl:"",success:function(){},cancel:function(){}},N={title:document.title,link:location.href};R=Zi(Zi({},R),N),k=Zi(Zi({},k),N);var M=function(t,e,n){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n="button"),"<style>.".concat(h,"{")+"opacity: 0;width: 100%;height: 100%;backgroud: transparent;color: #300f54;border: none;box-sizing: border-box;text-align: center;vertical-align: middle;"+d+e+"}</style>"+"<".concat(n,' class="').concat(h,'"')+(t&&"button"===n?' onclick="'.concat(t,'"'):"")+(t&&"a"===n?' target="_self" href="'.concat(t,'"'):"")+">"+v+"</".concat(n,">")},U=M();function D(){e('.mazey-launch-app-mask{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, .5);text-align:right;font-size:0;white-space:nowrap;overflow:auto;z-index:999;}.mazey-launch-app-img{display:inline-block;vertical-align:middle;text-align:left;font-size:14px;white-space:normal;width:50vw;margin:0.5rem 0.5rem 0 0;}.mazey-launch-app-img:after{content:"";display:inline-block;height:100%;vertical-align:middle;}',{id:"mazey-launch-app-mask-style"}),window.LAUNCH_APP_HIDE_WEIXIN_BROWSER||(window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=function(){r(".mazey-launch-app-mask").hide()}),0===r(".mazey-launch-app-mask").length?r("body").append("<div class='mazey-launch-app-mask' onclick='window.LAUNCH_APP_HIDE_WEIXIN_BROWSER()'><img "+"class='mazey-launch-app-img ".concat(p,"' ")+"src='".concat(s,"' ")+"alt='Launch App' /></div>"):r(".mazey-launch-app-mask").show()}function H(){I.log("renderWeixinLaunchTemplate"),!j&&g&&(console.warn("wexinServiceAccountAppId will be deprecated, use serviceAccountAppId instead."),j=g),function(t,e){void 0===t&&(t=""),void 0===e&&(e=""),I.log("renderWXOpenLaunchApp"),Promise.all([Promise.resolve(c||window.LAUNCH_APP_WEIXIN_JS_SDK_TICKET),Promise.resolve(o)]).then((function(o){I.log("allRes",o);var i=o[0],a=o[1],c=n(7),s=i,p=(new Date).getTime(),h=a("jsapi_ticket="+s+"&noncestr="+c+"×tamp="+p+"&url="+location.href);return x.config({debug:O,appId:t,timestamp:p,nonceStr:c,signature:h,jsApiList:["showOptionMenu","onMenuShareTimeline","onMenuShareAppMessage"],openTagList:["wx-open-launch-app"]}),x.ready((function(){w&&(I.log("onMenuShareTimelineOptions",w),x.onMenuShareTimeline(w)),window.LAUNCH_APP_SHARE_TIMELINE=function(t){t=Zi(Zi({},R),t),I.log("window LAUNCH_APP_SHARE_TIMELINE",t),x.onMenuShareTimeline(t)},S&&(I.log("onMenuShareAppMessageOptions",S),x.onMenuShareAppMessage(S)),window.LAUNCH_APP_SHARE_APP_MESSAGE=function(t){t=Zi(Zi({},k),t),I.log("window LAUNCH_APP_SHARE_APP_MESSAGE",t),x.onMenuShareAppMessage(t)},window.LAUNCH_APP_READY=!0,_&&_();var t=function(){var t=r(u);I.log("containers",u,t,t.length),t.length>0&&t.each((function(t,n){var o=r(n).attr("data-launch-app-key");if(!o){var i=r(n).parents("[data-launch-app-key]:eq(0)");i.length>0&&(o=i.attr("data-launch-app-key"),I.log("keyEle",i,o))}o||(o=String(t));var a="mazey-launch-app-tag-".concat(o),c=r(".".concat(a," wx-open-launch-app")),u=r(n).attr("data-launch-app-ext-info");if(!u){var s=r(n).parents("[data-launch-app-ext-info]:eq(0)");s.length>0&&(u=s.attr("data-launch-app-ext-info"),I.log("eleExtInfoEle parents",s,u))}u&&(L=u);var p=r(n).attr("data-launch-app-error-link");if(!p){var h=r(n).parents("[data-launch-app-error-link]:eq(0)");h.length>0&&(p=h.attr("data-launch-app-error-link"),I.log("eleErrorLinkEle parents",h,p))}var d=y;p&&(d=p),0===c.length&&(r(n).addClass(a),I.log("success:",a),function(t){var n=f,o=n+t,i="<wx-open-launch-app id='"+o+"' appid='"+e+"' extinfo='".concat(L)+"' style='z-index:99;position:absolute;width:100%;height:100%;opacity:1;background:transparent;overflow:hidden;left:0;'><script type='text/wxtag-template'>"+U+"<\/script></wx-open-launch-app>";r("."+t+":eq(0)").append(i);var a=document.getElementById(o);a&&(a.addEventListener("ready",(function(t){I.log("ready event",t)})),a.addEventListener("launch",(function(t){I.log("launch event",t),t.detail&&t.detail.extInfo&&I.log("launch extInfo",t.detail.extInfo)})),a.addEventListener("error",(function(t){I.error(t.detail),r("[id^='"+n+"']").hide(),l&&D(),d&&(I.log("realErrorLink",d),location.href=d)})),a.addEventListener("click",(function(t){I.log("click event",t),T&&T()})))}(a))}))};t(),C=t})),x.error((function(t){I.error(t)})),"success:launch_app"})).catch((function(t){I.error(t)}))}(j,m)}function B(t){if(I.log("appUpdated",t),!window.LAUNCH_APP_LOAD&&E(t)&&(H(),window.LAUNCH_APP_LOAD=!0),b&&window.LAUNCH_APP_LOAD&&E(t)&&C(),P()){var e=r(u);e.length>0&&e.each((function(t,e){var n=r(e).children("."+h);if(!n||!n.length){var o=r(e).attr("data-launch-app-error-link");if(!o){var i=r(e).parents("[data-launch-app-error-link]:eq(0)");i.length>0&&(o=i.attr("data-launch-app-error-link"))}if(o&&"string"==typeof o&&o.length){var a=M(o,"position:absolute;left:0;z-index:999;","a");r(e).append(a)}}}))}}function W(){I.log("appBeforeDestroy",W),window.LAUNCH_APP_LOAD=null,window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=null}return window.LAUNCH_APP_UPDATE=B,window.LAUNCH_APP_BEFORE_DESTROY=W,window.LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER=D,{LAUNCH_APP_UPDATE:B,LAUNCH_APP_BEFORE_DESTROY:W,LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER:D,LAUNCH_APP_SHARE_TIMELINE:function(t){I.log("opt",t)},LAUNCH_APP_SHARE_APP_MESSAGE:function(t){I.log("opt",t)},start:B,update:B,destroy:W}};export{ea as default};
|
|
6
|
+
import{genCustomConsole as t,addStyle as e,generateRndNum as n,getQueryParam as r}from"mazey";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t,e){return t(e={exports:{}},e.exports),e.exports}var a,c,u=function(t){return t&&t.Math==Math&&t},f=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof o&&o)||function(){return this}()||Function("return this")(),s=function(t){try{return!!t()}catch(t){return!0}},l=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),p=!s((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),h=Function.prototype.call,d=p?h.bind(h):function(){return h.apply(h,arguments)},v={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,g=y&&!v.call({1:2},1)?function(t){var e=y(this,t);return!!e&&e.enumerable}:v,m={f:g},b=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},w=Function.prototype,S=w.call,A=p&&w.bind.bind(S,S),O=p?A:function(t){return function(){return S.apply(t,arguments)}},E=O({}.toString),P=O("".slice),T=function(t){return P(E(t),8,-1)},_=Object,L=O("".split),j=s((function(){return!_("z").propertyIsEnumerable(0)}))?function(t){return"String"==T(t)?L(t,""):_(t)}:_,x=function(t){return null==t},I=TypeError,C=function(t){if(x(t))throw I("Can't call method on "+t);return t},k=function(t){return j(C(t))},R="object"==typeof document&&document.all,N={all:R,IS_HTMLDDA:void 0===R&&void 0!==R},M=N.all,U=N.IS_HTMLDDA?function(t){return"function"==typeof t||t===M}:function(t){return"function"==typeof t},D=N.all,H=N.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:U(t)||t===D}:function(t){return"object"==typeof t?null!==t:U(t)},B=function(t,e){return arguments.length<2?(n=f[t],U(n)?n:void 0):f[t]&&f[t][e];var n},W=O({}.isPrototypeOf),F="undefined"!=typeof navigator&&String(navigator.userAgent)||"",z=f.process,G=f.Deno,q=z&&z.versions||G&&G.version,V=q&&q.v8;V&&(c=(a=V.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!c&&F&&(!(a=F.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=F.match(/Chrome\/(\d+)/))&&(c=+a[1]);var X=c,J=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&X&&X<41})),Y=J&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K=Object,Q=Y?function(t){return"symbol"==typeof t}:function(t){var e=B("Symbol");return U(e)&&W(e.prototype,K(t))},$=String,Z=function(t){try{return $(t)}catch(t){return"Object"}},tt=TypeError,et=function(t){if(U(t))return t;throw tt(Z(t)+" is not a function")},nt=function(t,e){var n=t[e];return x(n)?void 0:et(n)},rt=TypeError,ot=Object.defineProperty,it=function(t,e){try{ot(f,t,{value:e,configurable:!0,writable:!0})}catch(n){f[t]=e}return e},at="__core-js_shared__",ct=f[at]||it(at,{}),ut=i((function(t){(t.exports=function(t,e){return ct[t]||(ct[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),ft=Object,st=function(t){return ft(C(t))},lt=O({}.hasOwnProperty),pt=Object.hasOwn||function(t,e){return lt(st(t),e)},ht=0,dt=Math.random(),vt=O(1..toString),yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+vt(++ht+dt,36)},gt=f.Symbol,mt=ut("wks"),bt=Y?gt.for||gt:gt&>.withoutSetter||yt,wt=function(t){return pt(mt,t)||(mt[t]=J&&pt(gt,t)?gt[t]:bt("Symbol."+t)),mt[t]},St=TypeError,At=wt("toPrimitive"),Ot=function(t,e){if(!H(t)||Q(t))return t;var n,r=nt(t,At);if(r){if(void 0===e&&(e="default"),n=d(r,t,e),!H(n)||Q(n))return n;throw St("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&U(n=t.toString)&&!H(r=d(n,t)))return r;if(U(n=t.valueOf)&&!H(r=d(n,t)))return r;if("string"!==e&&U(n=t.toString)&&!H(r=d(n,t)))return r;throw rt("Can't convert object to primitive value")}(t,e)},Et=function(t){var e=Ot(t,"string");return Q(e)?e:e+""},Pt=f.document,Tt=H(Pt)&&H(Pt.createElement),_t=function(t){return Tt?Pt.createElement(t):{}},Lt=!l&&!s((function(){return 7!=Object.defineProperty(_t("div"),"a",{get:function(){return 7}}).a})),jt=Object.getOwnPropertyDescriptor,xt={f:l?jt:function(t,e){if(t=k(t),e=Et(e),Lt)try{return jt(t,e)}catch(t){}if(pt(t,e))return b(!d(m.f,t,e),t[e])}},It=l&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ct=String,kt=TypeError,Rt=function(t){if(H(t))return t;throw kt(Ct(t)+" is not an object")},Nt=TypeError,Mt=Object.defineProperty,Ut=Object.getOwnPropertyDescriptor,Dt="enumerable",Ht="configurable",Bt="writable",Wt={f:l?It?function(t,e,n){if(Rt(t),e=Et(e),Rt(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Bt in n&&!n[Bt]){var r=Ut(t,e);r&&r[Bt]&&(t[e]=n.value,n={configurable:Ht in n?n[Ht]:r[Ht],enumerable:Dt in n?n[Dt]:r[Dt],writable:!1})}return Mt(t,e,n)}:Mt:function(t,e,n){if(Rt(t),e=Et(e),Rt(n),Lt)try{return Mt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Nt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Ft=l?function(t,e,n){return Wt.f(t,e,b(1,n))}:function(t,e,n){return t[e]=n,t},zt=Function.prototype,Gt=l&&Object.getOwnPropertyDescriptor,qt=pt(zt,"name"),Vt={EXISTS:qt,PROPER:qt&&"something"===function(){}.name,CONFIGURABLE:qt&&(!l||l&&Gt(zt,"name").configurable)},Xt=O(Function.toString);U(ct.inspectSource)||(ct.inspectSource=function(t){return Xt(t)});var Jt,Yt,Kt,Qt=ct.inspectSource,$t=f.WeakMap,Zt=U($t)&&/native code/.test(String($t)),te=ut("keys"),ee=function(t){return te[t]||(te[t]=yt(t))},ne={},re="Object already initialized",oe=f.TypeError,ie=f.WeakMap;if(Zt||ct.state){var ae=ct.state||(ct.state=new ie);ae.get=ae.get,ae.has=ae.has,ae.set=ae.set,Jt=function(t,e){if(ae.has(t))throw oe(re);return e.facade=t,ae.set(t,e),e},Yt=function(t){return ae.get(t)||{}},Kt=function(t){return ae.has(t)}}else{var ce=ee("state");ne[ce]=!0,Jt=function(t,e){if(pt(t,ce))throw oe(re);return e.facade=t,Ft(t,ce,e),e},Yt=function(t){return pt(t,ce)?t[ce]:{}},Kt=function(t){return pt(t,ce)}}var ue={set:Jt,get:Yt,has:Kt,enforce:function(t){return Kt(t)?Yt(t):Jt(t,{})},getterFor:function(t){return function(e){var n;if(!H(e)||(n=Yt(e)).type!==t)throw oe("Incompatible receiver, "+t+" required");return n}}},fe=i((function(t){var e=Vt.CONFIGURABLE,n=ue.enforce,r=ue.get,o=String,i=Object.defineProperty,a=O("".slice),c=O("".replace),u=O([].join),f=l&&!s((function(){return 8!==i((function(){}),"length",{value:8}).length})),p=String(String).split("String"),h=t.exports=function(t,r,s){"Symbol("===a(o(r),0,7)&&(r="["+c(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(r="get "+r),s&&s.setter&&(r="set "+r),(!pt(t,"name")||e&&t.name!==r)&&(l?i(t,"name",{value:r,configurable:!0}):t.name=r),f&&s&&pt(s,"arity")&&t.length!==s.arity&&i(t,"length",{value:s.arity});try{s&&pt(s,"constructor")&&s.constructor?l&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var h=n(t);return pt(h,"source")||(h.source=u(p,"string"==typeof r?r:"")),t};Function.prototype.toString=h((function(){return U(this)&&r(this).source||Qt(this)}),"toString")})),se=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(U(n)&&fe(n,i,r),r.global)o?t[e]=n:it(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:Wt.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},le=Math.ceil,pe=Math.floor,he=Math.trunc||function(t){var e=+t;return(e>0?pe:le)(e)},de=function(t){var e=+t;return e!=e||0===e?0:he(e)},ve=Math.max,ye=Math.min,ge=Math.min,me=function(t){return(e=t.length)>0?ge(de(e),9007199254740991):0;var e},be=function(t){return function(e,n,r){var o,i=k(e),a=me(i),c=function(t,e){var n=de(t);return n<0?ve(n+e,0):ye(n,e)}(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},we={includes:be(!0),indexOf:be(!1)}.indexOf,Se=O([].push),Ae=function(t,e){var n,r=k(t),o=0,i=[];for(n in r)!pt(ne,n)&&pt(r,n)&&Se(i,n);for(;e.length>o;)pt(r,n=e[o++])&&(~we(i,n)||Se(i,n));return i},Oe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=Oe.concat("length","prototype"),Pe={f:Object.getOwnPropertyNames||function(t){return Ae(t,Ee)}},Te={f:Object.getOwnPropertySymbols},_e=O([].concat),Le=B("Reflect","ownKeys")||function(t){var e=Pe.f(Rt(t)),n=Te.f;return n?_e(e,n(t)):e},je=function(t,e,n){for(var r=Le(e),o=Wt.f,i=xt.f,a=0;a<r.length;a++){var c=r[a];pt(t,c)||n&&pt(n,c)||o(t,c,i(e,c))}},xe=/#|\.prototype\./,Ie=function(t,e){var n=ke[Ce(t)];return n==Ne||n!=Re&&(U(e)?s(e):!!e)},Ce=Ie.normalize=function(t){return String(t).replace(xe,".").toLowerCase()},ke=Ie.data={},Re=Ie.NATIVE="N",Ne=Ie.POLYFILL="P",Me=Ie,Ue=xt.f,De=function(t,e){var n,r,o,i,a,c=t.target,u=t.global,s=t.stat;if(n=u?f:s?f[c]||it(c,{}):(f[c]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(a=Ue(n,r))&&a.value:n[r],!Me(u?r:c+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;je(i,o)}(t.sham||o&&o.sham)&&Ft(i,"sham",!0),se(n,r,i,t)}},He=Object.keys||function(t){return Ae(t,Oe)},Be=Object.assign,We=Object.defineProperty,Fe=O([].concat),ze=!Be||s((function(){if(l&&1!==Be({b:1},Be(We({},"a",{enumerable:!0,get:function(){We(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Be({},t)[n]||He(Be({},e)).join("")!=r}))?function(t,e){for(var n=st(t),r=arguments.length,o=1,i=Te.f,a=m.f;r>o;)for(var c,u=j(arguments[o++]),f=i?Fe(He(u),i(u)):He(u),s=f.length,p=0;s>p;)c=f[p++],l&&!d(a,u,c)||(n[c]=u[c]);return n}:Be;De({target:"Object",stat:!0,arity:2,forced:Object.assign!==ze},{assign:ze});var Ge=Array.isArray||function(t){return"Array"==T(t)},qe=TypeError,Ve=function(t){if(t>9007199254740991)throw qe("Maximum allowed index exceeded");return t},Xe=function(t,e,n){var r=Et(e);r in t?Wt.f(t,r,b(0,n)):t[r]=n},Je={};Je[wt("toStringTag")]="z";var Ye="[object z]"===String(Je),Ke=wt("toStringTag"),Qe=Object,$e="Arguments"==T(function(){return arguments}()),Ze=Ye?T:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Qe(t),Ke))?n:$e?T(e):"Object"==(r=T(e))&&U(e.callee)?"Arguments":r},tn=function(){},en=[],nn=B("Reflect","construct"),rn=/^\s*(?:class|function)\b/,on=O(rn.exec),an=!rn.exec(tn),cn=function(t){if(!U(t))return!1;try{return nn(tn,en,t),!0}catch(t){return!1}},un=function(t){if(!U(t))return!1;switch(Ze(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return an||!!on(rn,Qt(t))}catch(t){return!0}};un.sham=!0;var fn,sn=!nn||s((function(){var t;return cn(cn.call)||!cn(Object)||!cn((function(){t=!0}))||t}))?un:cn,ln=wt("species"),pn=Array,hn=function(t,e){return new(function(t){var e;return Ge(t)&&(e=t.constructor,(sn(e)&&(e===pn||Ge(e.prototype))||H(e)&&null===(e=e[ln]))&&(e=void 0)),void 0===e?pn:e}(t))(0===e?0:e)},dn=wt("species"),vn=wt("isConcatSpreadable"),yn=X>=51||!s((function(){var t=[];return t[vn]=!1,t.concat()[0]!==t})),gn=function(t){if(!H(t))return!1;var e=t[vn];return void 0!==e?!!e:Ge(t)},mn=!(yn&&(fn="concat",X>=51||!s((function(){var t=[];return(t.constructor={})[dn]=function(){return{foo:1}},1!==t[fn](Boolean).foo}))));De({target:"Array",proto:!0,arity:1,forced:mn},{concat:function(t){var e,n,r,o,i,a=st(this),c=hn(a,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(gn(i=-1===e?a:arguments[e]))for(o=me(i),Ve(u+o),n=0;n<o;n++,u++)n in i&&Xe(c,u,i[n]);else Ve(u+1),Xe(c,u++,i);return c.length=u,c}});var bn,wn=l&&!It?Object.defineProperties:function(t,e){Rt(t);for(var n,r=k(e),o=He(e),i=o.length,a=0;i>a;)Wt.f(t,n=o[a++],r[n]);return t},Sn={f:wn},An=B("document","documentElement"),On="prototype",En="script",Pn=ee("IE_PROTO"),Tn=function(){},_n=function(t){return"<"+En+">"+t+"</"+En+">"},Ln=function(t){t.write(_n("")),t.close();var e=t.parentWindow.Object;return t=null,e},jn=function(){try{bn=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;jn="undefined"!=typeof document?document.domain&&bn?Ln(bn):(e=_t("iframe"),n="java"+En+":",e.style.display="none",An.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(_n("document.F=Object")),t.close(),t.F):Ln(bn);for(var r=Oe.length;r--;)delete jn[On][Oe[r]];return jn()};ne[Pn]=!0;var xn=Object.create||function(t,e){var n;return null!==t?(Tn[On]=Rt(t),n=new Tn,Tn[On]=null,n[Pn]=t):n=jn(),void 0===e?n:Sn.f(n,e)},In=Wt.f,Cn=wt("unscopables"),kn=Array.prototype;null==kn[Cn]&&In(kn,Cn,{configurable:!0,value:xn(null)});var Rn,Nn,Mn,Un=function(t){kn[Cn][t]=!0},Dn={},Hn=!s((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Bn=ee("IE_PROTO"),Wn=Object,Fn=Wn.prototype,zn=Hn?Wn.getPrototypeOf:function(t){var e=st(t);if(pt(e,Bn))return e[Bn];var n=e.constructor;return U(n)&&e instanceof n?n.prototype:e instanceof Wn?Fn:null},Gn=wt("iterator"),qn=!1;[].keys&&("next"in(Mn=[].keys())?(Nn=zn(zn(Mn)))!==Object.prototype&&(Rn=Nn):qn=!0);var Vn=!H(Rn)||s((function(){var t={};return Rn[Gn].call(t)!==t}));Vn&&(Rn={}),U(Rn[Gn])||se(Rn,Gn,(function(){return this}));var Xn={IteratorPrototype:Rn,BUGGY_SAFARI_ITERATORS:qn},Jn=Wt.f,Yn=wt("toStringTag"),Kn=function(t,e,n){t&&!n&&(t=t.prototype),t&&!pt(t,Yn)&&Jn(t,Yn,{configurable:!0,value:e})},Qn=Xn.IteratorPrototype,$n=function(){return this},Zn=String,tr=TypeError,er=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return O(et(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return Rt(n),function(t){if("object"==typeof t||U(t))return t;throw tr("Can't set "+Zn(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),nr=Vt.PROPER,rr=Vt.CONFIGURABLE,or=Xn.IteratorPrototype,ir=Xn.BUGGY_SAFARI_ITERATORS,ar=wt("iterator"),cr="keys",ur="values",fr="entries",sr=function(){return this},lr=function(t,e,n,r,o,i,a){!function(t,e,n,r){var o=e+" Iterator";t.prototype=xn(Qn,{next:b(+!r,n)}),Kn(t,o,!1),Dn[o]=$n}(n,e,r);var c,u,f,s=function(t){if(t===o&&y)return y;if(!ir&&t in h)return h[t];switch(t){case cr:case ur:case fr:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",p=!1,h=t.prototype,v=h[ar]||h["@@iterator"]||o&&h[o],y=!ir&&v||s(o),g="Array"==e&&h.entries||v;if(g&&(c=zn(g.call(new t)))!==Object.prototype&&c.next&&(zn(c)!==or&&(er?er(c,or):U(c[ar])||se(c,ar,sr)),Kn(c,l,!0)),nr&&o==ur&&v&&v.name!==ur&&(rr?Ft(h,"name",ur):(p=!0,y=function(){return d(v,this)})),o)if(u={values:s(ur),keys:i?y:s(cr),entries:s(fr)},a)for(f in u)(ir||p||!(f in h))&&se(h,f,u[f]);else De({target:e,proto:!0,forced:ir||p},u);return h[ar]!==y&&se(h,ar,y,{name:o}),Dn[e]=y,u},pr=function(t,e){return{value:t,done:e}},hr=Wt.f,dr="Array Iterator",vr=ue.set,yr=ue.getterFor(dr),gr=lr(Array,"Array",(function(t,e){vr(this,{type:dr,target:k(t),index:0,kind:e})}),(function(){var t=yr(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,pr(void 0,!0)):pr("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values"),mr=Dn.Arguments=Dn.Array;if(Un("keys"),Un("values"),Un("entries"),l&&"values"!==mr.name)try{hr(mr,"name",{value:"values"})}catch(t){}var br=Ye?{}.toString:function(){return"[object "+Ze(this)+"]"};Ye||se(Object.prototype,"toString",br,{unsafe:!0});var wr,Sr,Ar,Or,Er="undefined"!=typeof process&&"process"==T(process),Pr=wt("species"),Tr=TypeError,_r=TypeError,Lr=wt("species"),jr=function(t,e){var n,r=Rt(t).constructor;return void 0===r||x(n=Rt(r)[Lr])?e:function(t){if(sn(t))return t;throw _r(Z(t)+" is not a constructor")}(n)},xr=Function.prototype,Ir=xr.apply,Cr=xr.call,kr="object"==typeof Reflect&&Reflect.apply||(p?Cr.bind(Ir):function(){return Cr.apply(Ir,arguments)}),Rr=function(t){if("Function"===T(t))return O(t)},Nr=Rr(Rr.bind),Mr=function(t,e){return et(t),void 0===e?t:p?Nr(t,e):function(){return t.apply(e,arguments)}},Ur=O([].slice),Dr=TypeError,Hr=/(?:ipad|iphone|ipod).*applewebkit/i.test(F),Br=f.setImmediate,Wr=f.clearImmediate,Fr=f.process,zr=f.Dispatch,Gr=f.Function,qr=f.MessageChannel,Vr=f.String,Xr=0,Jr={},Yr="onreadystatechange";s((function(){wr=f.location}));var Kr=function(t){if(pt(Jr,t)){var e=Jr[t];delete Jr[t],e()}},Qr=function(t){return function(){Kr(t)}},$r=function(t){Kr(t.data)},Zr=function(t){f.postMessage(Vr(t),wr.protocol+"//"+wr.host)};Br&&Wr||(Br=function(t){!function(t,e){if(t<e)throw Dr("Not enough arguments")}(arguments.length,1);var e=U(t)?t:Gr(t),n=Ur(arguments,1);return Jr[++Xr]=function(){kr(e,void 0,n)},Sr(Xr),Xr},Wr=function(t){delete Jr[t]},Er?Sr=function(t){Fr.nextTick(Qr(t))}:zr&&zr.now?Sr=function(t){zr.now(Qr(t))}:qr&&!Hr?(Or=(Ar=new qr).port2,Ar.port1.onmessage=$r,Sr=Mr(Or.postMessage,Or)):f.addEventListener&&U(f.postMessage)&&!f.importScripts&&wr&&"file:"!==wr.protocol&&!s(Zr)?(Sr=Zr,f.addEventListener("message",$r,!1)):Sr=Yr in _t("script")?function(t){An.appendChild(_t("script"))[Yr]=function(){An.removeChild(this),Kr(t)}}:function(t){setTimeout(Qr(t),0)});var to={set:Br,clear:Wr},eo=function(){this.head=null,this.tail=null};eo.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var no,ro,oo,io,ao,co=eo,uo=/ipad|iphone|ipod/i.test(F)&&"undefined"!=typeof Pebble,fo=/web0s(?!.*chrome)/i.test(F),so=xt.f,lo=to.set,po=f.MutationObserver||f.WebKitMutationObserver,ho=f.document,vo=f.process,yo=f.Promise,go=so(f,"queueMicrotask"),mo=go&&go.value;if(!mo){var bo=new co,wo=function(){var t,e;for(Er&&(t=vo.domain)&&t.exit();e=bo.get();)try{e()}catch(t){throw bo.head&&no(),t}t&&t.enter()};Hr||Er||fo||!po||!ho?!uo&&yo&&yo.resolve?((io=yo.resolve(void 0)).constructor=yo,ao=Mr(io.then,io),no=function(){ao(wo)}):Er?no=function(){vo.nextTick(wo)}:(lo=Mr(lo,f),no=function(){lo(wo)}):(ro=!0,oo=ho.createTextNode(""),new po(wo).observe(oo,{characterData:!0}),no=function(){oo.data=ro=!ro}),mo=function(t){bo.head||no(),bo.add(t)}}var So=mo,Ao=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Oo=f.Promise,Eo="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Po=!Eo&&!Er&&"object"==typeof window&&"object"==typeof document;Oo&&Oo.prototype;var To,_o,Lo,jo,xo,Io,Co,ko=wt("species"),Ro=!1,No=U(f.PromiseRejectionEvent),Mo=Me("Promise",(function(){var t=Qt(Oo),e=t!==String(Oo);if(!e&&66===X)return!0;if(!X||X<51||!/native code/.test(t)){var n=new Oo((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[ko]=r,!(Ro=n.then((function(){}))instanceof r))return!0}return!e&&(Po||Eo)&&!No})),Uo={CONSTRUCTOR:Mo,REJECTION_EVENT:No,SUBCLASSING:Ro},Do=TypeError,Ho=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw Do("Bad Promise constructor");e=t,n=r})),this.resolve=et(e),this.reject=et(n)},Bo={f:function(t){return new Ho(t)}},Wo=to.set,Fo="Promise",zo=Uo.CONSTRUCTOR,Go=Uo.REJECTION_EVENT,qo=Uo.SUBCLASSING,Vo=ue.getterFor(Fo),Xo=ue.set,Jo=Oo&&Oo.prototype,Yo=Oo,Ko=Jo,Qo=f.TypeError,$o=f.document,Zo=f.process,ti=Bo.f,ei=ti,ni=!!($o&&$o.createEvent&&f.dispatchEvent),ri="unhandledrejection",oi=function(t){var e;return!(!H(t)||!U(e=t.then))&&e},ii=function(t,e){var n,r,o,i=e.value,a=1==e.state,c=a?t.ok:t.fail,u=t.resolve,f=t.reject,s=t.domain;try{c?(a||(2===e.rejection&&si(e),e.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===t.promise?f(Qo("Promise-chain cycle")):(r=oi(n))?d(r,n,u,f):u(n)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},ai=function(t,e){t.notified||(t.notified=!0,So((function(){for(var n,r=t.reactions;n=r.get();)ii(n,t);t.notified=!1,e&&!t.rejection&&ui(t)})))},ci=function(t,e,n){var r,o;ni?((r=$o.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:e,reason:n},!Go&&(o=f["on"+t])?o(r):t===ri&&function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",n)},ui=function(t){d(Wo,f,(function(){var e,n=t.facade,r=t.value;if(fi(t)&&(e=Ao((function(){Er?Zo.emit("unhandledRejection",r,n):ci(ri,n,r)})),t.rejection=Er||fi(t)?2:1,e.error))throw e.value}))},fi=function(t){return 1!==t.rejection&&!t.parent},si=function(t){d(Wo,f,(function(){var e=t.facade;Er?Zo.emit("rejectionHandled",e):ci("rejectionhandled",e,t.value)}))},li=function(t,e,n){return function(r){t(e,r,n)}},pi=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,ai(t,!0))},hi=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Qo("Promise can't be resolved itself");var r=oi(e);r?So((function(){var n={done:!1};try{d(r,e,li(hi,n,t),li(pi,n,t))}catch(e){pi(n,e,t)}})):(t.value=e,t.state=1,ai(t,!1))}catch(e){pi({done:!1},e,t)}}};if(zo&&(Ko=(Yo=function(t){!function(t,e){if(W(e,t))return t;throw Tr("Incorrect invocation")}(this,Ko),et(t),d(To,this);var e=Vo(this);try{t(li(hi,e),li(pi,e))}catch(t){pi(e,t)}}).prototype,(To=function(t){Xo(this,{type:Fo,done:!1,notified:!1,parent:!1,reactions:new co,rejection:!1,state:0,value:void 0})}).prototype=se(Ko,"then",(function(t,e){var n=Vo(this),r=ti(jr(this,Yo));return n.parent=!0,r.ok=!U(t)||t,r.fail=U(e)&&e,r.domain=Er?Zo.domain:void 0,0==n.state?n.reactions.add(r):So((function(){ii(r,n)})),r.promise})),_o=function(){var t=new To,e=Vo(t);this.promise=t,this.resolve=li(hi,e),this.reject=li(pi,e)},Bo.f=ti=function(t){return t===Yo||undefined===t?new _o(t):ei(t)},U(Oo)&&Jo!==Object.prototype)){Lo=Jo.then,qo||se(Jo,"then",(function(t,e){var n=this;return new Yo((function(t,e){d(Lo,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete Jo.constructor}catch(t){}er&&er(Jo,Ko)}De({global:!0,constructor:!0,wrap:!0,forced:zo},{Promise:Yo}),Kn(Yo,Fo,!1),Co=B(Fo),l&&Co&&!Co[Pr]&&(jo=Co,xo=Pr,(Io={configurable:!0,get:function(){return this}}).get&&fe(Io.get,xo,{getter:!0}),Io.set&&fe(Io.set,xo,{setter:!0}),Wt.f(jo,xo,Io));var di=wt("iterator"),vi=Array.prototype,yi=wt("iterator"),gi=function(t){if(!x(t))return nt(t,yi)||nt(t,"@@iterator")||Dn[Ze(t)]},mi=TypeError,bi=function(t,e,n){var r,o;Rt(t);try{if(!(r=nt(t,"return"))){if("throw"===e)throw n;return n}r=d(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return Rt(r),n},wi=TypeError,Si=function(t,e){this.stopped=t,this.result=e},Ai=Si.prototype,Oi=function(t,e,n){var r,o,i,a,c,u,f,s,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_RECORD),v=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),g=Mr(e,l),m=function(t){return r&&bi(r,"normal",t),new Si(!0,t)},b=function(t){return p?(Rt(t),y?g(t[0],t[1],m):g(t[0],t[1])):y?g(t,m):g(t)};if(h)r=t.iterator;else if(v)r=t;else{if(!(o=gi(t)))throw wi(Z(t)+" is not iterable");if(void 0!==(s=o)&&(Dn.Array===s||vi[di]===s)){for(i=0,a=me(t);a>i;i++)if((c=b(t[i]))&&W(Ai,c))return c;return new Si(!1)}r=function(t,e){var n=arguments.length<2?gi(t):e;if(et(n))return Rt(d(n,t));throw mi(Z(t)+" is not iterable")}(t,o)}for(u=h?t.next:r.next;!(f=d(u,r)).done;){try{c=b(f.value)}catch(t){bi(r,"throw",t)}if("object"==typeof c&&c&&W(Ai,c))return c}return new Si(!1)},Ei=wt("iterator"),Pi=!1;try{var Ti=0,_i={next:function(){return{done:!!Ti++}},return:function(){Pi=!0}};_i[Ei]=function(){return this},Array.from(_i,(function(){throw 2}))}catch(t){}var Li=Uo.CONSTRUCTOR||!function(t,e){if(!e&&!Pi)return!1;var n=!1;try{var r={};r[Ei]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}((function(t){Oo.all(t).then(void 0,(function(){}))}));De({target:"Promise",stat:!0,forced:Li},{all:function(t){var e=this,n=Bo.f(e),r=n.resolve,o=n.reject,i=Ao((function(){var n=et(e.resolve),i=[],a=0,c=1;Oi(t,(function(t){var u=a++,f=!1;c++,d(n,e,t).then((function(t){f||(f=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var ji=Uo.CONSTRUCTOR,xi=Oo&&Oo.prototype;if(De({target:"Promise",proto:!0,forced:ji,real:!0},{catch:function(t){return this.then(void 0,t)}}),U(Oo)){var Ii=B("Promise").prototype.catch;xi.catch!==Ii&&se(xi,"catch",Ii,{unsafe:!0})}De({target:"Promise",stat:!0,forced:Li},{race:function(t){var e=this,n=Bo.f(e),r=n.reject,o=Ao((function(){var o=et(e.resolve);Oi(t,(function(t){d(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),De({target:"Promise",stat:!0,forced:Uo.CONSTRUCTOR},{reject:function(t){var e=Bo.f(this);return d(e.reject,void 0,t),e.promise}});var Ci=Uo.CONSTRUCTOR;B("Promise"),De({target:"Promise",stat:!0,forced:Ci},{resolve:function(t){return function(t,e){if(Rt(t),H(e)&&e.constructor===t)return e;var n=Bo.f(t);return(0,n.resolve)(e),n.promise}(this,t)}});var ki=String,Ri=function(t){if("Symbol"===Ze(t))throw TypeError("Cannot convert a Symbol value to a string");return ki(t)},Ni=O("".charAt),Mi=O("".charCodeAt),Ui=O("".slice),Di=function(t){return function(e,n){var r,o,i=Ri(C(e)),a=de(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=Mi(i,a))<55296||r>56319||a+1===c||(o=Mi(i,a+1))<56320||o>57343?t?Ni(i,a):r:t?Ui(i,a,a+2):o-56320+(r-55296<<10)+65536}},Hi={codeAt:Di(!1),charAt:Di(!0)}.charAt,Bi="String Iterator",Wi=ue.set,Fi=ue.getterFor(Bi);lr(String,"String",(function(t){Wi(this,{type:Bi,string:Ri(t),index:0})}),(function(){var t,e=Fi(this),n=e.string,r=e.index;return r>=n.length?pr(void 0,!0):(t=Hi(n,r),e.index+=t.length,pr(t,!1))}));var zi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Gi=_t("span").classList,qi=Gi&&Gi.constructor&&Gi.constructor.prototype,Vi=qi===Object.prototype?void 0:qi,Xi=wt("iterator"),Ji=wt("toStringTag"),Yi=gr.values,Ki=function(t,e){if(t){if(t[Xi]!==Yi)try{Ft(t,Xi,Yi)}catch(e){t[Xi]=Yi}if(t[Ji]||Ft(t,Ji,e),zi[e])for(var n in gr)if(t[n]!==gr[n])try{Ft(t,n,gr[n])}catch(e){t[n]=gr[n]}}};for(var Qi in zi)Ki(f[Qi]&&f[Qi].prototype,Qi);Ki(Vi,"DOMTokenList");var $i=function(){return $i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},$i.apply(this,arguments)},Zi={weixinJsSdkTicket:"",launchContainerQuery:".mazey-launch-app-selector",launchShowWeixinToBrowserImgUrl:"",canShowWeixinToBrowser:!1,extInfo:"",serviceAccountAppId:"",wexinServiceAccountAppId:"",openPlatformMobileAppId:"",genTagPrefixStr:"mazey-launch-app-btn-prefix-",launchShowWeixinToBrowserClassName:"mazey-launch-app-wx-to-browser",launchBtnClassName:"mazey-launch-app-inner-btn",launchBtnStyle:"",launchBtnText:"Launch App <br /><br /><br />",launchErrorLink:"",canContinuousUpdating:!1,onMenuShareTimelineOptions:void 0,onMenuShareAppMessageOptions:void 0,isConClosed:!0,isWxDebug:!1,openTagList:["wx-open-launch-app"],canLaunchApp:function(){return!0},canFireErrorLinkDirectly:function(){return!1},launchBtnClick:function(){},launchReady:function(){}},ta=function(o){void 0===o&&(o=Zi);var i=Object.assign(Zi,o),a=i.weixinJsSdkTicket,c=i.launchContainerQuery,u=i.genTagPrefixStr,f=i.launchShowWeixinToBrowserImgUrl,s=i.canShowWeixinToBrowser,l=i.launchShowWeixinToBrowserClassName,p=i.launchBtnClassName,h=i.launchBtnStyle,d=i.launchBtnText,v=i.launchErrorLink,y=i.wexinServiceAccountAppId,g=i.openPlatformMobileAppId,m=i.canContinuousUpdating,b=i.onMenuShareTimelineOptions,w=i.onMenuShareAppMessageOptions,S=i.isConClosed,A=i.isWxDebug,O=i.openTagList,E=i.canLaunchApp,P=i.canFireErrorLinkDirectly,T=i.launchBtnClick,_=i.launchReady,L=i.serviceAccountAppId,j=i.extInfo,x=window.wx;x||console.error("Launch App: wx is not found");var I=window.$||window.jQuery;I||console.error("Launch App: $ is not found");var C=window.sha1;C||console.error("Launch App: sha1 is not found");var k=function(){},R=t("LaunchCon:",{isClosed:S});R.log("Launch App");var N={title:"",link:"",imgUrl:"",success:function(){},cancel:function(){}},M={title:"",desc:"",link:"",imgUrl:"",type:"",dataUrl:"",success:function(){},cancel:function(){}},U={title:document.title,link:location.href};N=$i($i({},N),U),M=$i($i({},M),U);var D=function(t,e,n){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n="button"),"<style>.".concat(p,"{")+"opacity: 0;width: 100%;height: 100%;backgroud: transparent;color: #300f54;border: none;box-sizing: border-box;text-align: center;vertical-align: middle;"+h+e+"}</style>"+"<".concat(n,' class="').concat(p,'"')+(t&&"button"===n?' onclick="'.concat(t,'"'):"")+(t&&"a"===n?' target="_self" href="'.concat(t,'"'):"")+">"+d+"</".concat(n,">")},H=D();function B(){e('.mazey-launch-app-mask{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, .5);text-align:right;font-size:0;white-space:nowrap;overflow:auto;z-index:999;}.mazey-launch-app-img{display:inline-block;vertical-align:middle;text-align:left;font-size:14px;white-space:normal;width:50vw;margin:0.5rem 0.5rem 0 0;}.mazey-launch-app-img:after{content:"";display:inline-block;height:100%;vertical-align:middle;}',{id:"mazey-launch-app-mask-style"}),window.LAUNCH_APP_HIDE_WEIXIN_BROWSER||(window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=function(){I(".mazey-launch-app-mask").hide()}),0===I(".mazey-launch-app-mask").length?I("body").append("<div class='mazey-launch-app-mask' onclick='window.LAUNCH_APP_HIDE_WEIXIN_BROWSER()'><img "+"class='mazey-launch-app-img ".concat(l,"' ")+"src='".concat(f,"' ")+"alt='Launch App' /></div>"):I(".mazey-launch-app-mask").show()}function W(){R.log("renderWeixinLaunchTemplate"),!L&&y&&(console.warn("wexinServiceAccountAppId will be deprecated, use serviceAccountAppId instead."),L=y),function(t,e){void 0===t&&(t=""),void 0===e&&(e=""),R.log("renderWXOpenLaunchApp"),Promise.all([Promise.resolve(a||window.LAUNCH_APP_WEIXIN_JS_SDK_TICKET||r("weixinJsSdkTicket")||""),Promise.resolve(C)]).then((function(r){R.log("allRes",r);var o=r[0];if(o){var i=r[1];if(i){var a=n(7),f=o,l=(new Date).getTime(),p=i("jsapi_ticket="+f+"&noncestr="+a+"×tamp="+l+"&url="+location.href);return x.config({debug:A,appId:t,timestamp:l,nonceStr:a,signature:p,jsApiList:["showOptionMenu","onMenuShareTimeline","onMenuShareAppMessage"],openTagList:O}),x.ready((function(){if(w&&(R.log("onMenuShareAppMessageOptions",w),x.onMenuShareAppMessage(w)),window.LAUNCH_APP_SHARE_APP_MESSAGE=function(t){t=$i($i({},M),t),R.log("window LAUNCH_APP_SHARE_APP_MESSAGE",t),x.onMenuShareAppMessage(t)},b&&(R.log("onMenuShareTimelineOptions",b),x.onMenuShareTimeline(b)),window.LAUNCH_APP_SHARE_TIMELINE=function(t){t=$i($i({},N),t),R.log("window LAUNCH_APP_SHARE_TIMELINE",t),x.onMenuShareTimeline(t)},e){window.LAUNCH_APP_READY=!0,_&&_();var t=function(){var t=I(c);R.log("containers",c,t,t.length),t.length>0&&t.each((function(t,n){var r=I(n).attr("data-launch-app-key");if(!r){var o=I(n).parents("[data-launch-app-key]:eq(0)");o.length>0&&(r=o.attr("data-launch-app-key"),R.log("keyEle",o,r))}r||(r=String(t));var i="mazey-launch-app-tag-".concat(r),a=I(".".concat(i," wx-open-launch-app")),c=I(n).attr("data-launch-app-ext-info");if(!c){var f=I(n).parents("[data-launch-app-ext-info]:eq(0)");f.length>0&&(c=f.attr("data-launch-app-ext-info"),R.log("eleExtInfoEle parents",f,c))}c&&(j=c);var l=I(n).attr("data-launch-app-error-link");if(!l){var p=I(n).parents("[data-launch-app-error-link]:eq(0)");p.length>0&&(l=p.attr("data-launch-app-error-link"),R.log("eleErrorLinkEle parents",p,l))}var h=v;l&&(h=l),0===a.length&&(I(n).addClass(i),R.log("success:",i),function(t){var n=u,r=n+t,o="<wx-open-launch-app id='"+r+"' appid='"+e+"' extinfo='".concat(j)+"' style='z-index:99;position:absolute;width:100%;height:100%;opacity:1;background:transparent;overflow:hidden;left:0;'><script type='text/wxtag-template'>"+H+"<\/script></wx-open-launch-app>";I("."+t+":eq(0)").append(o);var i=document.getElementById(r);i&&(i.addEventListener("ready",(function(t){R.log("ready event",t)})),i.addEventListener("launch",(function(t){R.log("launch event",t),t.detail&&t.detail.extInfo&&R.log("launch extInfo",t.detail.extInfo)})),i.addEventListener("error",(function(t){R.error(t.detail),I("[id^='"+n+"']").hide(),s&&B(),h&&(R.log("realErrorLink",h),location.href=h)})),i.addEventListener("click",(function(t){R.log("click event",t),T&&T()})))}(i))}))};t(),k=t}else R.log("openPlatformMobileAppId is required for weixin launch app")})),x.error((function(t){R.error(t)})),"success:launch_app"}R.error("sha1 is required")}else R.error("weixinJsSdkTicket is required")})).catch((function(t){R.error(t)}))}(L,g)}function F(t){if(R.log("appUpdated",t),!window.LAUNCH_APP_LOAD&&E(t)&&(W(),window.LAUNCH_APP_LOAD=!0),m&&window.LAUNCH_APP_LOAD&&E(t)&&k(),P()){var e=I(c);e.length>0&&e.each((function(t,e){var n=I(e).children("."+p);if(!n||!n.length){var r=I(e).attr("data-launch-app-error-link");if(!r){var o=I(e).parents("[data-launch-app-error-link]:eq(0)");o.length>0&&(r=o.attr("data-launch-app-error-link"))}if(r&&"string"==typeof r&&r.length){var i=D(r,"position:absolute;left:0;z-index:999;","a");I(e).append(i)}}}))}}function z(){R.log("appBeforeDestroy",z),window.LAUNCH_APP_LOAD=null,window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=null}return window.LAUNCH_APP_UPDATE=F,window.LAUNCH_APP_BEFORE_DESTROY=z,window.LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER=B,{LAUNCH_APP_UPDATE:F,LAUNCH_APP_BEFORE_DESTROY:z,LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER:B,LAUNCH_APP_SHARE_TIMELINE:function(t){R.log("opt",t)},LAUNCH_APP_SHARE_APP_MESSAGE:function(t){R.log("opt",t)},start:F,update:F,destroy:z}};export{ta as default};
|
package/lib/launch-app.min.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* mazey-wechat-launch-app v2.
|
|
2
|
+
* mazey-wechat-launch-app v2.3.1-mini.0 https://www.npmjs.com/package/mazey-wechat-launch-app
|
|
3
3
|
* (c) 2018-2025 Cheng
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
var LAUNCH_APP=function(){"use strict";var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var check=function(e){return e&&e.Math==Math&&e},global_1=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),fails=function(e){try{return!!e()}catch(e){return!0}},descriptors=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),functionBindNative=!fails((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),call$2=Function.prototype.call,functionCall=functionBindNative?call$2.bind(call$2):function(){return call$2.apply(call$2,arguments)},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1),f$6=NASHORN_BUG?function(e){var t=getOwnPropertyDescriptor$2(this,e);return!!t&&t.enumerable}:$propertyIsEnumerable,objectPropertyIsEnumerable={f:f$6},createPropertyDescriptor=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},FunctionPrototype$2=Function.prototype,call$1=FunctionPrototype$2.call,uncurryThisWithBind=functionBindNative&&FunctionPrototype$2.bind.bind(call$1,call$1),functionUncurryThis=functionBindNative?uncurryThisWithBind:function(e){return function(){return call$1.apply(e,arguments)}},toString$1=functionUncurryThis({}.toString),stringSlice$1=functionUncurryThis("".slice),classofRaw=function(e){return stringSlice$1(toString$1(e),8,-1)},$Object$4=Object,split=functionUncurryThis("".split),indexedObject=fails((function(){return!$Object$4("z").propertyIsEnumerable(0)}))?function(e){return"String"==classofRaw(e)?split(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined=function(e){return null==e},$TypeError$d=TypeError,requireObjectCoercible=function(e){if(isNullOrUndefined(e))throw $TypeError$d("Can't call method on "+e);return e},toIndexedObject=function(e){return indexedObject(requireObjectCoercible(e))},documentAll$2="object"==typeof document&&document.all,IS_HTMLDDA=void 0===documentAll$2&&void 0!==documentAll$2,documentAll_1={all:documentAll$2,IS_HTMLDDA:IS_HTMLDDA},documentAll$1=documentAll_1.all,isCallable=documentAll_1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},documentAll=documentAll_1.all,isObject=documentAll_1.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable(e)},aFunction=function(e){return isCallable(e)?e:void 0},getBuiltIn=function(e,t){return arguments.length<2?aFunction(global_1[e]):global_1[e]&&global_1[e][t]},objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",process$4=global_1.process,Deno$1=global_1.Deno,versions=process$4&&process$4.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1])),!version&&engineUserAgent&&(match=engineUserAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=engineUserAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));var engineV8Version=version,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&engineV8Version&&engineV8Version<41})),useSymbolAsUid=symbolConstructorDetection&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,$Object$3=Object,isSymbol=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn("Symbol");return isCallable(t)&&objectIsPrototypeOf(t.prototype,$Object$3(e))},$String$3=String,tryToString=function(e){try{return $String$3(e)}catch(e){return"Object"}},$TypeError$c=TypeError,aCallable=function(e){if(isCallable(e))return e;throw $TypeError$c(tryToString(e)+" is not a function")},getMethod=function(e,t){var n=e[t];return isNullOrUndefined(n)?void 0:aCallable(n)},$TypeError$b=TypeError,ordinaryToPrimitive=function(e,t){var n,r;if("string"===t&&isCallable(n=e.toString)&&!isObject(r=functionCall(n,e)))return r;if(isCallable(n=e.valueOf)&&!isObject(r=functionCall(n,e)))return r;if("string"!==t&&isCallable(n=e.toString)&&!isObject(r=functionCall(n,e)))return r;throw $TypeError$b("Can't convert object to primitive value")},defineProperty$4=Object.defineProperty,defineGlobalProperty=function(e,t){try{defineProperty$4(global_1,e,{value:t,configurable:!0,writable:!0})}catch(n){global_1[e]=t}return t},SHARED="__core-js_shared__",store$1=global_1[SHARED]||defineGlobalProperty(SHARED,{}),sharedStore=store$1,shared=createCommonjsModule((function(e){(e.exports=function(e,t){return sharedStore[e]||(sharedStore[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),$Object$2=Object,toObject=function(e){return $Object$2(requireObjectCoercible(e))},hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject(e),t)},id=0,postfix=Math.random(),toString=functionUncurryThis(1..toString),uid=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString(++id+postfix,36)},Symbol$1=global_1.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=useSymbolAsUid?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid,wellKnownSymbol=function(e){return hasOwnProperty_1(WellKnownSymbolsStore,e)||(WellKnownSymbolsStore[e]=symbolConstructorDetection&&hasOwnProperty_1(Symbol$1,e)?Symbol$1[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore[e]},$TypeError$a=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive"),toPrimitive=function(e,t){if(!isObject(e)||isSymbol(e))return e;var n,r=getMethod(e,TO_PRIMITIVE);if(r){if(void 0===t&&(t="default"),n=functionCall(r,e,t),!isObject(n)||isSymbol(n))return n;throw $TypeError$a("Can't convert object to primitive value")}return void 0===t&&(t="number"),ordinaryToPrimitive(e,t)},toPropertyKey=function(e){var t=toPrimitive(e,"string");return isSymbol(t)?t:t+""},document$3=global_1.document,EXISTS$1=isObject(document$3)&&isObject(document$3.createElement),documentCreateElement=function(e){return EXISTS$1?document$3.createElement(e):{}},ie8DomDefine=!descriptors&&!fails((function(){return 7!=Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a})),$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,f$5=descriptors?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject(e),t=toPropertyKey(t),ie8DomDefine)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwnProperty_1(e,t))return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f,e,t),e[t])},objectGetOwnPropertyDescriptor={f:f$5},v8PrototypeDefineBug=descriptors&&fails((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),$String$2=String,$TypeError$9=TypeError,anObject=function(e){if(isObject(e))return e;throw $TypeError$9($String$2(e)+" is not an object")},$TypeError$8=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",f$4=descriptors?v8PrototypeDefineBug?function(e,t,n){if(anObject(e),t=toPropertyKey(t),anObject(n),"function"==typeof e&&"prototype"===t&&"value"in n&&WRITABLE in n&&!n[WRITABLE]){var r=$getOwnPropertyDescriptor(e,t);r&&r[WRITABLE]&&(e[t]=n.value,n={configurable:CONFIGURABLE$1 in n?n[CONFIGURABLE$1]:r[CONFIGURABLE$1],enumerable:ENUMERABLE in n?n[ENUMERABLE]:r[ENUMERABLE],writable:!1})}return $defineProperty(e,t,n)}:$defineProperty:function(e,t,n){if(anObject(e),t=toPropertyKey(t),anObject(n),ie8DomDefine)try{return $defineProperty(e,t,n)}catch(e){}if("get"in n||"set"in n)throw $TypeError$8("Accessors not supported");return"value"in n&&(e[t]=n.value),e},objectDefineProperty={f:f$4},createNonEnumerableProperty=descriptors?function(e,t,n){return objectDefineProperty.f(e,t,createPropertyDescriptor(1,n))}:function(e,t,n){return e[t]=n,e},FunctionPrototype$1=Function.prototype,getDescriptor=descriptors&&Object.getOwnPropertyDescriptor,EXISTS=hasOwnProperty_1(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!descriptors||descriptors&&getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},functionToString=functionUncurryThis(Function.toString);isCallable(sharedStore.inspectSource)||(sharedStore.inspectSource=function(e){return functionToString(e)});var inspectSource=sharedStore.inspectSource,WeakMap$1=global_1.WeakMap,weakMapBasicDetection=isCallable(WeakMap$1)&&/native code/.test(String(WeakMap$1)),keys=shared("keys"),sharedKey=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$1={},OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$2=global_1.TypeError,WeakMap=global_1.WeakMap,set$1,get,has,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(e){return function(t){var n;if(!isObject(t)||(n=get(t)).type!==e)throw TypeError$2("Incompatible receiver, "+e+" required");return n}};if(weakMapBasicDetection||sharedStore.state){var store=sharedStore.state||(sharedStore.state=new WeakMap);store.get=store.get,store.has=store.has,store.set=store.set,set$1=function(e,t){if(store.has(e))throw TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,store.set(e,t),t},get=function(e){return store.get(e)||{}},has=function(e){return store.has(e)}}else{var STATE=sharedKey("state");hiddenKeys$1[STATE]=!0,set$1=function(e,t){if(hasOwnProperty_1(e,STATE))throw TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty(e,STATE,t),t},get=function(e){return hasOwnProperty_1(e,STATE)?e[STATE]:{}},has=function(e){return hasOwnProperty_1(e,STATE)}}var internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},makeBuiltIn_1=createCommonjsModule((function(e){var t=functionName.CONFIGURABLE,n=internalState.enforce,r=internalState.get,o=String,i=Object.defineProperty,a=functionUncurryThis("".slice),s=functionUncurryThis("".replace),c=functionUncurryThis([].join),u=descriptors&&!fails((function(){return 8!==i((function(){}),"length",{value:8}).length})),l=String(String).split("String"),f=e.exports=function(e,r,f){"Symbol("===a(o(r),0,7)&&(r="["+s(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),f&&f.getter&&(r="get "+r),f&&f.setter&&(r="set "+r),(!hasOwnProperty_1(e,"name")||t&&e.name!==r)&&(descriptors?i(e,"name",{value:r,configurable:!0}):e.name=r),u&&f&&hasOwnProperty_1(f,"arity")&&e.length!==f.arity&&i(e,"length",{value:f.arity});try{f&&hasOwnProperty_1(f,"constructor")&&f.constructor?descriptors&&i(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var p=n(e);return hasOwnProperty_1(p,"source")||(p.source=c(l,"string"==typeof r?r:"")),e};Function.prototype.toString=f((function(){return isCallable(this)&&r(this).source||inspectSource(this)}),"toString")})),defineBuiltIn=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(isCallable(n)&&makeBuiltIn_1(n,i,r),r.global)o?e[t]=n:defineGlobalProperty(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:objectDefineProperty.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function(e){var t=+e;return(t>0?floor:ceil)(t)},toIntegerOrInfinity=function(e){var t=+e;return t!=t||0===t?0:mathTrunc(t)},max=Math.max,min$1=Math.min,toAbsoluteIndex=function(e,t){var n=toIntegerOrInfinity(e);return n<0?max(n+t,0):min$1(n,t)},min=Math.min,toLength=function(e){return e>0?min(toIntegerOrInfinity(e),9007199254740991):0},lengthOfArrayLike=function(e){return toLength(e.length)},createMethod$1=function(e){return function(t,n,r){var o,i=toIndexedObject(t),a=lengthOfArrayLike(i),s=toAbsoluteIndex(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},arrayIncludes={includes:createMethod$1(!0),indexOf:createMethod$1(!1)},indexOf=arrayIncludes.indexOf,push=functionUncurryThis([].push),objectKeysInternal=function(e,t){var n,r=toIndexedObject(e),o=0,i=[];for(n in r)!hasOwnProperty_1(hiddenKeys$1,n)&&hasOwnProperty_1(r,n)&&push(i,n);for(;t.length>o;)hasOwnProperty_1(r,n=t[o++])&&(~indexOf(i,n)||push(i,n));return i},enumBugKeys=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],hiddenKeys=enumBugKeys.concat("length","prototype"),f$3=Object.getOwnPropertyNames||function(e){return objectKeysInternal(e,hiddenKeys)},objectGetOwnPropertyNames={f:f$3},f$2=Object.getOwnPropertySymbols,objectGetOwnPropertySymbols={f:f$2},concat$1=functionUncurryThis([].concat),ownKeys=getBuiltIn("Reflect","ownKeys")||function(e){var t=objectGetOwnPropertyNames.f(anObject(e)),n=objectGetOwnPropertySymbols.f;return n?concat$1(t,n(e)):t},copyConstructorProperties=function(e,t,n){for(var r=ownKeys(t),o=objectDefineProperty.f,i=objectGetOwnPropertyDescriptor.f,a=0;a<r.length;a++){var s=r[a];hasOwnProperty_1(e,s)||n&&hasOwnProperty_1(n,s)||o(e,s,i(t,s))}},replacement=/#|\.prototype\./,isForced=function(e,t){var n=data[normalize(e)];return n==POLYFILL||n!=NATIVE&&(isCallable(t)?fails(t):!!t)},normalize=isForced.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P",isForced_1=isForced,getOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,_export=function(e,t){var n,r,o,i,a,s=e.target,c=e.global,u=e.stat;if(n=c?global_1:u?global_1[s]||defineGlobalProperty(s,{}):(global_1[s]||{}).prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(a=getOwnPropertyDescriptor$1(n,r))&&a.value:n[r],!isForced_1(c?r:s+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;copyConstructorProperties(i,o)}(e.sham||o&&o.sham)&&createNonEnumerableProperty(i,"sham",!0),defineBuiltIn(n,r,i,e)}},objectKeys=Object.keys||function(e){return objectKeysInternal(e,enumBugKeys)},$assign=Object.assign,defineProperty$3=Object.defineProperty,concat=functionUncurryThis([].concat),objectAssign=!$assign||fails((function(){if(descriptors&&1!==$assign({b:1},$assign(defineProperty$3({},"a",{enumerable:!0,get:function(){defineProperty$3(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=$assign({},e)[n]||objectKeys($assign({},t)).join("")!=r}))?function(e,t){for(var n=toObject(e),r=arguments.length,o=1,i=objectGetOwnPropertySymbols.f,a=objectPropertyIsEnumerable.f;r>o;)for(var s,c=indexedObject(arguments[o++]),u=i?concat(objectKeys(c),i(c)):objectKeys(c),l=u.length,f=0;l>f;)s=u[f++],descriptors&&!functionCall(a,c,s)||(n[s]=c[s]);return n}:$assign;_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==objectAssign},{assign:objectAssign});var isArray=Array.isArray||function(e){return"Array"==classofRaw(e)},$TypeError$7=TypeError,MAX_SAFE_INTEGER=9007199254740991,doesNotExceedSafeInteger=function(e){if(e>MAX_SAFE_INTEGER)throw $TypeError$7("Maximum allowed index exceeded");return e},createProperty=function(e,t,n){var r=toPropertyKey(t);r in e?objectDefineProperty.f(e,r,createPropertyDescriptor(0,n)):e[r]=n},TO_STRING_TAG$3=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG$3]="z";var toStringTagSupport="[object z]"===String(test),TO_STRING_TAG$2=wellKnownSymbol("toStringTag"),$Object$1=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof=toStringTagSupport?classofRaw:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=tryGet(t=$Object$1(e),TO_STRING_TAG$2))?n:CORRECT_ARGUMENTS?classofRaw(t):"Object"==(r=classofRaw(t))&&isCallable(t.callee)?"Arguments":r},noop=function(){},empty=[],construct=getBuiltIn("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=functionUncurryThis(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable(e))return!1;try{return construct(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable(e))return!1;switch(classof(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource(e))}catch(e){return!0}};isConstructorLegacy.sham=!0;var isConstructor=!construct||fails((function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){e=!0}))||e}))?isConstructorLegacy:isConstructorModern,SPECIES$4=wellKnownSymbol("species"),$Array=Array,arraySpeciesConstructor=function(e){var t;return isArray(e)&&(t=e.constructor,(isConstructor(t)&&(t===$Array||isArray(t.prototype))||isObject(t)&&null===(t=t[SPECIES$4]))&&(t=void 0)),void 0===t?$Array:t},arraySpeciesCreate=function(e,t){return new(arraySpeciesConstructor(e))(0===t?0:t)},SPECIES$3=wellKnownSymbol("species"),arrayMethodHasSpeciesSupport=function(e){return engineV8Version>=51||!fails((function(){var t=[];return(t.constructor={})[SPECIES$3]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},IS_CONCAT_SPREADABLE=wellKnownSymbol("isConcatSpreadable"),IS_CONCAT_SPREADABLE_SUPPORT=engineV8Version>=51||!fails((function(){var e=[];return e[IS_CONCAT_SPREADABLE]=!1,e.concat()[0]!==e})),isConcatSpreadable=function(e){if(!isObject(e))return!1;var t=e[IS_CONCAT_SPREADABLE];return void 0!==t?!!t:isArray(e)},FORCED=!IS_CONCAT_SPREADABLE_SUPPORT||!arrayMethodHasSpeciesSupport("concat");_export({target:"Array",proto:!0,arity:1,forced:FORCED},{concat:function(e){var t,n,r,o,i,a=toObject(this),s=arraySpeciesCreate(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(isConcatSpreadable(i=-1===t?a:arguments[t]))for(o=lengthOfArrayLike(i),doesNotExceedSafeInteger(c+o),n=0;n<o;n++,c++)n in i&&createProperty(s,c,i[n]);else doesNotExceedSafeInteger(c+1),createProperty(s,c++,i);return s.length=c,s}});var f$1=descriptors&&!v8PrototypeDefineBug?Object.defineProperties:function(e,t){anObject(e);for(var n,r=toIndexedObject(t),o=objectKeys(t),i=o.length,a=0;i>a;)objectDefineProperty.f(e,n=o[a++],r[n]);return e},objectDefineProperties={f:f$1},html=getBuiltIn("document","documentElement"),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO$1=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return LT+SCRIPT+GT+e+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e,t=documentCreateElement("iframe"),n="java"+SCRIPT+":";return t.style.display="none",html.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"!=typeof document?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var e=enumBugKeys.length;e--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[e]];return NullProtoObject()};hiddenKeys$1[IE_PROTO$1]=!0;var objectCreate=Object.create||function(e,t){var n;return null!==e?(EmptyConstructor[PROTOTYPE]=anObject(e),n=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,n[IE_PROTO$1]=e):n=NullProtoObject(),void 0===t?n:objectDefineProperties.f(n,t)},defineProperty$2=objectDefineProperty.f,UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype$1=Array.prototype;null==ArrayPrototype$1[UNSCOPABLES]&&defineProperty$2(ArrayPrototype$1,UNSCOPABLES,{configurable:!0,value:objectCreate(null)});var addToUnscopables=function(e){ArrayPrototype$1[UNSCOPABLES][e]=!0},iterators={},correctPrototypeGetter=!fails((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype,objectGetPrototypeOf=correctPrototypeGetter?$Object.getPrototypeOf:function(e){var t=toObject(e);if(hasOwnProperty_1(t,IE_PROTO))return t[IE_PROTO];var n=t.constructor;return isCallable(n)&&t instanceof n?n.prototype:t instanceof $Object?ObjectPrototype:null},ITERATOR$5=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS$1=!1,IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype$2=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS$1=!0);var NEW_ITERATOR_PROTOTYPE=!isObject(IteratorPrototype$2)||fails((function(){var e={};return IteratorPrototype$2[ITERATOR$5].call(e)!==e}));NEW_ITERATOR_PROTOTYPE&&(IteratorPrototype$2={}),isCallable(IteratorPrototype$2[ITERATOR$5])||defineBuiltIn(IteratorPrototype$2,ITERATOR$5,(function(){return this}));var iteratorsCore={IteratorPrototype:IteratorPrototype$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1},defineProperty$1=objectDefineProperty.f,TO_STRING_TAG$1=wellKnownSymbol("toStringTag"),setToStringTag=function(e,t,n){e&&!n&&(e=e.prototype),e&&!hasOwnProperty_1(e,TO_STRING_TAG$1)&&defineProperty$1(e,TO_STRING_TAG$1,{configurable:!0,value:t})},IteratorPrototype$1=iteratorsCore.IteratorPrototype,returnThis$1=function(){return this},iteratorCreateConstructor=function(e,t,n,r){var o=t+" Iterator";return e.prototype=objectCreate(IteratorPrototype$1,{next:createPropertyDescriptor(+!r,n)}),setToStringTag(e,o,!1),iterators[o]=returnThis$1,e},functionUncurryThisAccessor=function(e,t,n){try{return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},$String$1=String,$TypeError$6=TypeError,aPossiblePrototype=function(e){if("object"==typeof e||isCallable(e))return e;throw $TypeError$6("Can't set "+$String$1(e)+" as a prototype")},objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=functionUncurryThisAccessor(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return anObject(n),aPossiblePrototype(r),t?e(n,r):n.__proto__=r,n}}():void 0),PROPER_FUNCTION_NAME=functionName.PROPER,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,IteratorPrototype=iteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=iteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$4=wellKnownSymbol("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,n,r,o,i,a){iteratorCreateConstructor(n,t,r);var s,c,u,l=function(e){if(e===o&&y)return y;if(!BUGGY_SAFARI_ITERATORS&&e in d)return d[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",p=!1,d=e.prototype,h=d[ITERATOR$4]||d["@@iterator"]||o&&d[o],y=!BUGGY_SAFARI_ITERATORS&&h||l(o),g="Array"==t&&d.entries||h;if(g&&(s=objectGetPrototypeOf(g.call(new e)))!==Object.prototype&&s.next&&(objectGetPrototypeOf(s)!==IteratorPrototype&&(objectSetPrototypeOf?objectSetPrototypeOf(s,IteratorPrototype):isCallable(s[ITERATOR$4])||defineBuiltIn(s,ITERATOR$4,returnThis)),setToStringTag(s,f,!0)),PROPER_FUNCTION_NAME&&o==VALUES&&h&&h.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty(d,"name",VALUES):(p=!0,y=function(){return functionCall(h,this)})),o)if(c={values:l(VALUES),keys:i?y:l(KEYS),entries:l(ENTRIES)},a)for(u in c)(BUGGY_SAFARI_ITERATORS||p||!(u in d))&&defineBuiltIn(d,u,c[u]);else _export({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||p},c);return d[ITERATOR$4]!==y&&defineBuiltIn(d,ITERATOR$4,y,{name:o}),iterators[t]=y,c},createIterResultObject=function(e,t){return{value:e,done:t}},defineProperty=objectDefineProperty.f,ARRAY_ITERATOR="Array Iterator",setInternalState$2=internalState.set,getInternalState$1=internalState.getterFor(ARRAY_ITERATOR),es_array_iterator=iteratorDefine(Array,"Array",(function(e,t){setInternalState$2(this,{type:ARRAY_ITERATOR,target:toIndexedObject(e),index:0,kind:t})}),(function(){var e=getInternalState$1(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,createIterResultObject(void 0,!0)):createIterResultObject("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),values=iterators.Arguments=iterators.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),descriptors&&"values"!==values.name)try{defineProperty(values,"name",{value:"values"})}catch(e){}var objectToString=toStringTagSupport?{}.toString:function(){return"[object "+classof(this)+"]"};toStringTagSupport||defineBuiltIn(Object.prototype,"toString",objectToString,{unsafe:!0});var engineIsNode="undefined"!=typeof process&&"process"==classofRaw(process),defineBuiltInAccessor=function(e,t,n){return n.get&&makeBuiltIn_1(n.get,t,{getter:!0}),n.set&&makeBuiltIn_1(n.set,t,{setter:!0}),objectDefineProperty.f(e,t,n)},SPECIES$2=wellKnownSymbol("species"),setSpecies=function(e){var t=getBuiltIn(e);descriptors&&t&&!t[SPECIES$2]&&defineBuiltInAccessor(t,SPECIES$2,{configurable:!0,get:function(){return this}})},$TypeError$5=TypeError,anInstance=function(e,t){if(objectIsPrototypeOf(t,e))return e;throw $TypeError$5("Incorrect invocation")},$TypeError$4=TypeError,aConstructor=function(e){if(isConstructor(e))return e;throw $TypeError$4(tryToString(e)+" is not a constructor")},SPECIES$1=wellKnownSymbol("species"),speciesConstructor=function(e,t){var n,r=anObject(e).constructor;return void 0===r||isNullOrUndefined(n=anObject(r)[SPECIES$1])?t:aConstructor(n)},FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call,functionApply="object"==typeof Reflect&&Reflect.apply||(functionBindNative?call.bind(apply):function(){return call.apply(apply,arguments)}),functionUncurryThisClause=function(e){if("Function"===classofRaw(e))return functionUncurryThis(e)},bind$1=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable(e),void 0===t?e:functionBindNative?bind$1(e,t):function(){return e.apply(t,arguments)}},arraySlice=functionUncurryThis([].slice),$TypeError$3=TypeError,validateArgumentsLength=function(e,t){if(e<t)throw $TypeError$3("Not enough arguments");return e},engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(engineUserAgent),set=global_1.setImmediate,clear=global_1.clearImmediate,process$3=global_1.process,Dispatch=global_1.Dispatch,Function$1=global_1.Function,MessageChannel=global_1.MessageChannel,String$1=global_1.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange",$location,defer,channel,port;fails((function(){$location=global_1.location}));var run=function(e){if(hasOwnProperty_1(queue$2,e)){var t=queue$2[e];delete queue$2[e],t()}},runner=function(e){return function(){run(e)}},eventListener=function(e){run(e.data)},globalPostMessageDefer=function(e){global_1.postMessage(String$1(e),$location.protocol+"//"+$location.host)};set&&clear||(set=function(e){validateArgumentsLength(arguments.length,1);var t=isCallable(e)?e:Function$1(e),n=arraySlice(arguments,1);return queue$2[++counter]=function(){functionApply(t,void 0,n)},defer(counter),counter},clear=function(e){delete queue$2[e]},engineIsNode?defer=function(e){process$3.nextTick(runner(e))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(runner(e))}:MessageChannel&&!engineIsIos?(channel=new MessageChannel,port=channel.port2,channel.port1.onmessage=eventListener,defer=functionBindContext(port.postMessage,port)):global_1.addEventListener&&isCallable(global_1.postMessage)&&!global_1.importScripts&&$location&&"file:"!==$location.protocol&&!fails(globalPostMessageDefer)?(defer=globalPostMessageDefer,global_1.addEventListener("message",eventListener,!1)):defer=ONREADYSTATECHANGE in documentCreateElement("script")?function(e){html.appendChild(documentCreateElement("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this),run(e)}}:function(e){setTimeout(runner(e),0)});var task$1={set:set,clear:clear},Queue=function(){this.head=null,this.tail=null};Queue.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var queue$1=Queue,engineIsIosPebble=/ipad|iphone|ipod/i.test(engineUserAgent)&&"undefined"!=typeof Pebble,engineIsWebosWebkit=/web0s(?!.*chrome)/i.test(engineUserAgent),getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,macrotask=task$1.set,MutationObserver=global_1.MutationObserver||global_1.WebKitMutationObserver,document$2=global_1.document,process$2=global_1.process,Promise$1=global_1.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor(global_1,"queueMicrotask"),microtask=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value,notify$1,toggle,node,promise,then;if(!microtask){var queue=new queue$1,flush=function(){var e,t;for(engineIsNode&&(e=process$2.domain)&&e.exit();t=queue.get();)try{t()}catch(e){throw queue.head&¬ify$1(),e}e&&e.enter()};engineIsIos||engineIsNode||engineIsWebosWebkit||!MutationObserver||!document$2?!engineIsIosPebble&&Promise$1&&Promise$1.resolve?(promise=Promise$1.resolve(void 0),promise.constructor=Promise$1,then=functionBindContext(promise.then,promise),notify$1=function(){then(flush)}):engineIsNode?notify$1=function(){process$2.nextTick(flush)}:(macrotask=functionBindContext(macrotask,global_1),notify$1=function(){macrotask(flush)}):(toggle=!0,node=document$2.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),notify$1=function(){node.data=toggle=!toggle}),microtask=function(e){queue.head||notify$1(),queue.add(e)}}var microtask_1=microtask,hostReportErrors=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}},perform=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},promiseNativeConstructor=global_1.Promise,engineIsDeno="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,engineIsBrowser=!engineIsDeno&&!engineIsNode&&"object"==typeof window&&"object"==typeof document;promiseNativeConstructor&&promiseNativeConstructor.prototype;var SPECIES=wellKnownSymbol("species"),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable(global_1.PromiseRejectionEvent),FORCED_PROMISE_CONSTRUCTOR$5=isForced_1("Promise",(function(){var e=inspectSource(promiseNativeConstructor),t=e!==String(promiseNativeConstructor);if(!t&&66===engineV8Version)return!0;if(!engineV8Version||engineV8Version<51||!/native code/.test(e)){var n=new promiseNativeConstructor((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[SPECIES]=r,!(SUBCLASSING=n.then((function(){}))instanceof r))return!0}return!t&&(engineIsBrowser||engineIsDeno)&&!NATIVE_PROMISE_REJECTION_EVENT$1})),promiseConstructorDetection={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR$5,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT$1,SUBCLASSING:SUBCLASSING},$TypeError$2=TypeError,PromiseCapability=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw $TypeError$2("Bad Promise constructor");t=e,n=r})),this.resolve=aCallable(t),this.reject=aCallable(n)},f=function(e){return new PromiseCapability(e)},newPromiseCapability$1={f:f},task=task$1.set,PROMISE="Promise",FORCED_PROMISE_CONSTRUCTOR$4=promiseConstructorDetection.CONSTRUCTOR,NATIVE_PROMISE_REJECTION_EVENT=promiseConstructorDetection.REJECTION_EVENT,NATIVE_PROMISE_SUBCLASSING=promiseConstructorDetection.SUBCLASSING,getInternalPromiseState=internalState.getterFor(PROMISE),setInternalState$1=internalState.set,NativePromisePrototype$1=promiseNativeConstructor&&promiseNativeConstructor.prototype,PromiseConstructor=promiseNativeConstructor,PromisePrototype=NativePromisePrototype$1,TypeError$1=global_1.TypeError,document$1=global_1.document,process$1=global_1.process,newPromiseCapability=newPromiseCapability$1.f,newGenericPromiseCapability=newPromiseCapability,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global_1.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,isThenable=function(e){var t;return!(!isObject(e)||!isCallable(t=e.then))&&t},callReaction=function(e,t){var n,r,o,i=t.value,a=t.state==FULFILLED,s=a?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(a||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===s?n=i:(l&&l.enter(),n=s(i),l&&(l.exit(),o=!0)),n===e.promise?u(TypeError$1("Promise-chain cycle")):(r=isThenable(n))?functionCall(r,n,c,u):c(n)):u(i)}catch(e){l&&!o&&l.exit(),u(e)}},notify=function(e,t){e.notified||(e.notified=!0,microtask_1((function(){for(var n,r=e.reactions;n=r.get();)callReaction(n,e);e.notified=!1,t&&!e.rejection&&onUnhandled(e)})))},dispatchEvent=function(e,t,n){var r,o;DISPATCH_EVENT?((r=document$1.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),global_1.dispatchEvent(r)):r={promise:t,reason:n},!NATIVE_PROMISE_REJECTION_EVENT&&(o=global_1["on"+e])?o(r):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",n)},onUnhandled=function(e){functionCall(task,global_1,(function(){var t,n=e.facade,r=e.value;if(isUnhandled(e)&&(t=perform((function(){engineIsNode?process$1.emit("unhandledRejection",r,n):dispatchEvent(UNHANDLED_REJECTION,n,r)})),e.rejection=engineIsNode||isUnhandled(e)?UNHANDLED:HANDLED,t.error))throw t.value}))},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(e){functionCall(task,global_1,(function(){var t=e.facade;engineIsNode?process$1.emit("rejectionHandled",t):dispatchEvent(REJECTION_HANDLED,t,e.value)}))},bind=function(e,t,n){return function(r){e(t,r,n)}},internalReject=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw TypeError$1("Promise can't be resolved itself");var r=isThenable(t);r?microtask_1((function(){var n={done:!1};try{functionCall(r,t,bind(internalResolve,n,e),bind(internalReject,n,e))}catch(t){internalReject(n,t,e)}})):(e.value=t,e.state=FULFILLED,notify(e,!1))}catch(t){internalReject({done:!1},t,e)}}};if(FORCED_PROMISE_CONSTRUCTOR$4&&(PromiseConstructor=function(e){anInstance(this,PromisePrototype),aCallable(e),functionCall(Internal,this);var t=getInternalPromiseState(this);try{e(bind(internalResolve,t),bind(internalReject,t))}catch(e){internalReject(t,e)}},PromisePrototype=PromiseConstructor.prototype,Internal=function(e){setInternalState$1(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new queue$1,rejection:!1,state:PENDING,value:void 0})},Internal.prototype=defineBuiltIn(PromisePrototype,"then",(function(e,t){var n=getInternalPromiseState(this),r=newPromiseCapability(speciesConstructor(this,PromiseConstructor));return n.parent=!0,r.ok=!isCallable(e)||e,r.fail=isCallable(t)&&t,r.domain=engineIsNode?process$1.domain:void 0,n.state==PENDING?n.reactions.add(r):microtask_1((function(){callReaction(r,n)})),r.promise})),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind(internalResolve,t),this.reject=bind(internalReject,t)},newPromiseCapability$1.f=newPromiseCapability=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable(promiseNativeConstructor)&&NativePromisePrototype$1!==Object.prototype)){nativeThen=NativePromisePrototype$1.then,NATIVE_PROMISE_SUBCLASSING||defineBuiltIn(NativePromisePrototype$1,"then",(function(e,t){var n=this;return new PromiseConstructor((function(e,t){functionCall(nativeThen,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete NativePromisePrototype$1.constructor}catch(e){}objectSetPrototypeOf&&objectSetPrototypeOf(NativePromisePrototype$1,PromisePrototype)}_export({global:!0,constructor:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR$4},{Promise:PromiseConstructor}),setToStringTag(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE);var ITERATOR$3=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype,isArrayIteratorMethod=function(e){return void 0!==e&&(iterators.Array===e||ArrayPrototype[ITERATOR$3]===e)},ITERATOR$2=wellKnownSymbol("iterator"),getIteratorMethod=function(e){if(!isNullOrUndefined(e))return getMethod(e,ITERATOR$2)||getMethod(e,"@@iterator")||iterators[classof(e)]},$TypeError$1=TypeError,getIterator=function(e,t){var n=arguments.length<2?getIteratorMethod(e):t;if(aCallable(n))return anObject(functionCall(n,e));throw $TypeError$1(tryToString(e)+" is not iterable")},iteratorClose=function(e,t,n){var r,o;anObject(e);try{if(!(r=getMethod(e,"return"))){if("throw"===t)throw n;return n}r=functionCall(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return anObject(r),n},$TypeError=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate=function(e,t,n){var r,o,i,a,s,c,u,l=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),y=functionBindContext(t,l),g=function(e){return r&&iteratorClose(r,"normal",e),new Result(!0,e)},m=function(e){return f?(anObject(e),h?y(e[0],e[1],g):y(e[0],e[1])):h?y(e,g):y(e)};if(p)r=e.iterator;else if(d)r=e;else{if(!(o=getIteratorMethod(e)))throw $TypeError(tryToString(e)+" is not iterable");if(isArrayIteratorMethod(o)){for(i=0,a=lengthOfArrayLike(e);a>i;i++)if((s=m(e[i]))&&objectIsPrototypeOf(ResultPrototype,s))return s;return new Result(!1)}r=getIterator(e,o)}for(c=p?e.next:r.next;!(u=functionCall(c,r)).done;){try{s=m(u.value)}catch(e){iteratorClose(r,"throw",e)}if("object"==typeof s&&s&&objectIsPrototypeOf(ResultPrototype,s))return s}return new Result(!1)},ITERATOR$1=wellKnownSymbol("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR$1]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(e){}var checkCorrectnessOfIteration=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var n=!1;try{var r={};r[ITERATOR$1]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration((function(e){promiseNativeConstructor.all(e).then(void 0,(function(){}))}));_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{all:function(e){var t=this,n=newPromiseCapability$1.f(t),r=n.resolve,o=n.reject,i=perform((function(){var n=aCallable(t.resolve),i=[],a=0,s=1;iterate(e,(function(e){var c=a++,u=!1;s++,functionCall(n,t,e).then((function(e){u||(u=!0,i[c]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise}});var FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromisePrototype=promiseNativeConstructor&&promiseNativeConstructor.prototype;if(_export({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR$2,real:!0},{catch:function(e){return this.then(void 0,e)}}),isCallable(promiseNativeConstructor)){var method=getBuiltIn("Promise").prototype.catch;NativePromisePrototype.catch!==method&&defineBuiltIn(NativePromisePrototype,"catch",method,{unsafe:!0})}_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{race:function(e){var t=this,n=newPromiseCapability$1.f(t),r=n.reject,o=perform((function(){var o=aCallable(t.resolve);iterate(e,(function(e){functionCall(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR;_export({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapability$1.f(this);return functionCall(t.reject,void 0,e),t.promise}});var promiseResolve=function(e,t){if(anObject(e),isObject(t)&&t.constructor===e)return t;var n=newPromiseCapability$1.f(e);return(0,n.resolve)(t),n.promise},FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR;getBuiltIn("Promise"),_export({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR},{resolve:function(e){return promiseResolve(this,e)}});var $String=String,toString_1=function(e){if("Symbol"===classof(e))throw TypeError("Cannot convert a Symbol value to a string");return $String(e)},charAt$1=functionUncurryThis("".charAt),charCodeAt=functionUncurryThis("".charCodeAt),stringSlice=functionUncurryThis("".slice),createMethod=function(e){return function(t,n){var r,o,i=toString_1(requireObjectCoercible(t)),a=toIntegerOrInfinity(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=charCodeAt(i,a))<55296||r>56319||a+1===s||(o=charCodeAt(i,a+1))<56320||o>57343?e?charAt$1(i,a):r:e?stringSlice(i,a,a+2):o-56320+(r-55296<<10)+65536}},stringMultibyte={codeAt:createMethod(!1),charAt:createMethod(!0)},charAt=stringMultibyte.charAt,STRING_ITERATOR="String Iterator",setInternalState=internalState.set,getInternalState=internalState.getterFor(STRING_ITERATOR);iteratorDefine(String,"String",(function(e){setInternalState(this,{type:STRING_ITERATOR,string:toString_1(e),index:0})}),(function(){var e,t=getInternalState(this),n=t.string,r=t.index;return r>=n.length?createIterResultObject(void 0,!0):(e=charAt(n,r),t.index+=e.length,createIterResultObject(e,!1))}));var domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},classList=documentCreateElement("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype,ITERATOR=wellKnownSymbol("iterator"),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ArrayValues=es_array_iterator.values,handlePrototype=function(e,t){if(e){if(e[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(e,ITERATOR,ArrayValues)}catch(t){e[ITERATOR]=ArrayValues}if(e[TO_STRING_TAG]||createNonEnumerableProperty(e,TO_STRING_TAG,t),domIterables[t])for(var n in es_array_iterator)if(e[n]!==es_array_iterator[n])try{createNonEnumerableProperty(e,n,es_array_iterator[n])}catch(t){e[n]=es_array_iterator[n]}}};for(var COLLECTION_NAME in domIterables)handlePrototype(global_1[COLLECTION_NAME]&&global_1[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(domTokenListPrototype,"DOMTokenList");var __assign=function(){return __assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},__assign.apply(this,arguments)},e=function(){return e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},e.apply(this,arguments)};function r(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function g(e){void 0===e&&(e=5);for(var t="";e--;)t+=Math.floor(10*Math.random());return t}function h(e){return void 0===e&&(e=5),g(e)}function k(e){var t=Boolean(e),n="object"==typeof e,r="[object Object]"===Object.prototype.toString.call(e);return t&&n&&r}"function"==typeof SuppressedError&&SuppressedError;var Ne={isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",isStringifyObject:!1,logFn:function(){},errorFn:function(){}};function Re(t,n){void 0===t&&(t=""),void 0===n&&(n=e({},Ne));var o=Object.assign(e({},Ne),n),i=o.isClosed,a=o.showWrap,s=o.showDate,c=o.locales,u=o.isStringifyObject,l=o.logFn,f=o.errorFn,p=Object.create(null),d=function(){return(new Date).toLocaleDateString(c,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})};return["log","info","warn","error"].forEach((function(e){p[e]=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(i)return!1;var c=t,p=t;if("string"==typeof t&&t.length>=2){var h=t.length;c=":"===t[h-1]?t.substring(0,h-1):t}a&&console.log("--- ".concat(c," - begin ---")),s&&(p=t?"".concat(d()," ").concat(t):"".concat(d())),u&&(n=n.map((function(e){return k(e)?JSON.stringify(e):e}))),t||s?console[e].apply(console,r([p],n,!1)):console[e].apply(console,n),"log"===e&&l(),"error"===e&&f(),a&&console.log("--- ".concat(c," - end ---"))}})),p}function ze(e,t){if(void 0===t&&(t={id:""}),!e)return!1;var n=document.createDocumentFragment(),r=null,o="",i=document.createElement("style");return t.id?(o="".concat(t.id),(r=document.getElementById(o))?r.innerHTML=e:(i.setAttribute("id",t.id),i.innerHTML=e,n.appendChild(i),document.head.appendChild(n))):(i.innerHTML=e,n.appendChild(i),document.head.appendChild(n)),!0}Re("[Mazey]"),Re("",{showDate:!0,locales:"zh-CN",isStringifyObject:!0});var jquery=createCommonjsModule((function(e){!function(t,n){e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}}("undefined"!=typeof window?window:commonjsGlobal,(function(e,t){var n=[],r=Object.getPrototypeOf,o=n.slice,i=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},a=n.push,s=n.indexOf,c={},u=c.toString,l=c.hasOwnProperty,f=l.toString,p=f.call(Object),d={},h=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},g=e.document,m={type:!0,src:!0,nonce:!0,noModule:!0};function v(e,t,n){var r,o,i=(n=n||g).createElement("script");if(i.text=e,t)for(r in m)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[u.call(e)]||"object":typeof e}var S="3.7.1",T=/HTML$/i,E=function(e,t){return new E.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!h(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}E.fn=E.prototype={jquery:S,constructor:E,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},E.extend=E.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||h(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(E.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||E.isPlainObject(n)?n:{},o=!1,a[t]=E.extend(u,i,r)):void 0!==r&&(a[t]=r));return a},E.extend({expando:"jQuery"+(S+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==u.call(e))&&(!(t=r(e))||"function"==typeof(n=l.call(t,"constructor")&&t.constructor)&&f.call(n)===p)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){v(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(C(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,o=e.nodeType;if(!o)for(;t=e[r++];)n+=E.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?E.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!T.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,a=0,s=[];if(C(e))for(r=e.length;a<r;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return i(s)},guid:1,support:d}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=n[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){c["[object "+t+"]"]=t.toLowerCase()}));var A=n.pop,w=n.sort,x=n.splice,P="[\\x20\\t\\r\\n\\f]",I=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g");E.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var R=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function _(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}E.escapeSelector=function(e){return(e+"").replace(R,_)};var j=g,N=a;!function(){var t,r,i,a,c,u,f,p,h,y,g=N,m=E.expando,v=0,b=0,S=ee(),T=ee(),C=ee(),R=ee(),_=function(e,t){return e===t&&(c=!0),0},$="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",D="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",k="\\["+P+"*("+D+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+D+"))|)"+P+"*\\]",L=":("+D+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+k+")*)|.*)\\)|)",H=new RegExp(P+"+","g"),M=new RegExp("^"+P+"*,"+P+"*"),U=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),B=new RegExp(P+"|>"),F=new RegExp(L),q=new RegExp("^"+D+"$"),G={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+k),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+$+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,z=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),Y=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},J=function(){ce()},Q=pe((function(e){return!0===e.disabled&&O(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(n=o.call(j.childNodes),j.childNodes),n[j.childNodes.length].nodeType}catch(e){g={apply:function(e,t){N.apply(e,o.call(t))},call:function(e){N.apply(e,o.call(arguments,1))}}}function Z(e,t,n,r){var o,i,a,s,c,l,f,y=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!r&&(ce(t),t=t||u,p)){if(11!==v&&(c=V.exec(e)))if(o=c[1]){if(9===v){if(!(a=t.getElementById(o)))return n;if(a.id===o)return g.call(n,a),n}else if(y&&(a=y.getElementById(o))&&Z.contains(t,a)&&a.id===o)return g.call(n,a),n}else{if(c[2])return g.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&t.getElementsByClassName)return g.apply(n,t.getElementsByClassName(o)),n}if(!(R[e+" "]||h&&h.test(e))){if(f=e,y=t,1===v&&(B.test(e)||U.test(e))){for((y=z.test(e)&&se(t.parentNode)||t)==t&&d.scope||((s=t.getAttribute("id"))?s=E.escapeSelector(s):t.setAttribute("id",s=m)),i=(l=le(e)).length;i--;)l[i]=(s?"#"+s:":scope")+" "+fe(l[i]);f=l.join(",")}try{return g.apply(n,y.querySelectorAll(f)),n}catch(t){R(e,!0)}finally{s===m&&t.removeAttribute("id")}}}return ve(e.replace(I,"$1"),t,n,r)}function ee(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function te(e){return e[m]=!0,e}function ne(e){var t=u.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return O(t,"input")&&t.type===e}}function oe(e){return function(t){return(O(t,"input")||O(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Q(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function ce(e){var t,n=e?e.ownerDocument||e:j;return n!=u&&9===n.nodeType&&n.documentElement?(f=(u=n).documentElement,p=!E.isXMLDoc(u),y=f.matches||f.webkitMatchesSelector||f.msMatchesSelector,f.msMatchesSelector&&j!=u&&(t=u.defaultView)&&t.top!==t&&t.addEventListener("unload",J),d.getById=ne((function(e){return f.appendChild(e).id=E.expando,!u.getElementsByName||!u.getElementsByName(E.expando).length})),d.disconnectedMatch=ne((function(e){return y.call(e,"*")})),d.scope=ne((function(){return u.querySelectorAll(":scope")})),d.cssHas=ne((function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),d.getById?(r.filter.ID=function(e){var t=e.replace(K,Y);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(K,Y);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},r.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},h=[],ne((function(e){var t;f.appendChild(e).innerHTML="<a id='"+m+"' href='' disabled='disabled'></a><select id='"+m+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+P+"*(?:value|"+$+")"),e.querySelectorAll("[id~="+m+"-]").length||h.push("~="),e.querySelectorAll("a#"+m+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=u.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=u.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")")})),d.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),_=function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===u||e.ownerDocument==j&&Z.contains(j,e)?-1:t===u||t.ownerDocument==j&&Z.contains(j,t)?1:a?s.call(a,e)-s.call(a,t):0:4&n?-1:1)},u):u}for(t in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(ce(e),p&&!R[t+" "]&&(!h||!h.test(t)))try{var n=y.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){R(t,!0)}return Z(t,u,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=u&&ce(e),E.contains(e,t)},Z.attr=function(e,t){(e.ownerDocument||e)!=u&&ce(e);var n=r.attrHandle[t.toLowerCase()],o=n&&l.call(r.attrHandle,t.toLowerCase())?n(e,t,!p):void 0;return void 0!==o?o:e.getAttribute(t)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},E.uniqueSort=function(e){var t,n=[],r=0,i=0;if(c=!d.sortStable,a=!d.sortStable&&o.call(e,0),w.call(e,_),c){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)x.call(e,n[r],1)}return a=null,e},E.fn.uniqueSort=function(){return this.pushStack(E.uniqueSort(o.apply(this)))},r=E.expr={cacheLength:50,createPseudo:te,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(K,Y),e[3]=(e[3]||e[4]||e[5]||"").replace(K,Y),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Z.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Z.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&F.test(n)&&(t=le(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(K,Y).toLowerCase();return"*"===e?function(){return!0}:function(e){return O(e,t)}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=Z.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(H," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var u,l,f,p,d,h=i!==a?"nextSibling":"previousSibling",y=t.parentNode,g=s&&t.nodeName.toLowerCase(),b=!c&&!s,S=!1;if(y){if(i){for(;h;){for(f=t;f=f[h];)if(s?O(f,g):1===f.nodeType)return!1;d=h="only"===e&&!d&&"nextSibling"}return!0}if(d=[a?y.firstChild:y.lastChild],a&&b){for(S=(p=(u=(l=y[m]||(y[m]={}))[e]||[])[0]===v&&u[1])&&u[2],f=p&&y.childNodes[p];f=++p&&f&&f[h]||(S=p=0)||d.pop();)if(1===f.nodeType&&++S&&f===t){l[e]=[v,p,S];break}}else if(b&&(S=p=(u=(l=t[m]||(t[m]={}))[e]||[])[0]===v&&u[1]),!1===S)for(;(f=++p&&f&&f[h]||(S=p=0)||d.pop())&&(!(s?O(f,g):1===f.nodeType)||!++S||(b&&((l=f[m]||(f[m]={}))[e]=[v,S]),f!==t)););return(S-=o)===r||S%r==0&&S/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return o[m]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=s.call(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:te((function(e){var t=[],n=[],r=me(e.replace(I,"$1"));return r[m]?te((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Z(e,t).length>0}})),contains:te((function(e){return e=e.replace(K,Y),function(t){return(t.textContent||E.text(t)).indexOf(e)>-1}})),lang:te((function(e){return q.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(K,Y).toLowerCase(),function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===function(){try{return u.activeElement}catch(e){}}()&&u.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return O(e,"input")&&!!e.checked||O(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){return O(e,"input")&&"button"===e.type||O(e,"button")},text:function(e){var t;return O(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=re(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=oe(t);function ue(){}function le(e,t){var n,o,i,a,s,c,u,l=T[e+" "];if(l)return t?0:l.slice(0);for(s=e,c=[],u=r.preFilter;s;){for(a in n&&!(o=M.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(i=[])),n=!1,(o=U.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(I," ")}),s=s.slice(n.length)),r.filter)!(o=G[a].exec(s))||u[a]&&!(o=u[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?Z.error(e):T(e,c).slice(0)}function fe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function pe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=b++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,c){var u,l,f=[v,s];if(c){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=t[m]||(t[m]={}),o&&O(t,o))t=t[r]||t;else{if((u=l[i])&&u[0]===v&&u[1]===s)return f[2]=u[2];if(l[i]=f,f[2]=e(t,n,c))return!0}return!1}}function de(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,u=null!=t;s<c;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),u&&t.push(s)));return a}function ye(e,t,n,r,o,i){return r&&!r[m]&&(r=ye(r)),o&&!o[m]&&(o=ye(o,i)),te((function(i,a,c,u){var l,f,p,d,h=[],y=[],m=a.length,v=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)Z(e,t[r],n);return n}(t||"*",c.nodeType?[c]:c,[]),b=!e||!i&&t?v:he(v,h,e,c,u);if(n?n(b,d=o||(i?e:m||r)?[]:a,c,u):d=b,r)for(l=he(d,y),r(l,[],c,u),f=l.length;f--;)(p=l[f])&&(d[y[f]]=!(b[y[f]]=p));if(i){if(o||e){if(o){for(l=[],f=d.length;f--;)(p=d[f])&&l.push(b[f]=p);o(null,d=[],l,u)}for(f=d.length;f--;)(p=d[f])&&(l=o?s.call(i,p):h[f])>-1&&(i[l]=!(a[l]=p))}}else d=he(d===a?d.splice(m,d.length):d),o?o(null,a,d,u):g.apply(a,d)}))}function ge(e){for(var t,n,o,a=e.length,c=r.relative[e[0].type],u=c||r.relative[" "],l=c?1:0,f=pe((function(e){return e===t}),u,!0),p=pe((function(e){return s.call(t,e)>-1}),u,!0),d=[function(e,n,r){var o=!c&&(r||n!=i)||((t=n).nodeType?f(e,n,r):p(e,n,r));return t=null,o}];l<a;l++)if(n=r.relative[e[l].type])d=[pe(de(d),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[m]){for(o=++l;o<a&&!r.relative[e[o].type];o++);return ye(l>1&&de(d),l>1&&fe(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(I,"$1"),n,l<o&&ge(e.slice(l,o)),o<a&&ge(e=e.slice(o)),o<a&&fe(e))}d.push(n)}return de(d)}function me(e,t){var n,o=[],a=[],s=C[e+" "];if(!s){for(t||(t=le(e)),n=t.length;n--;)(s=ge(t[n]))[m]?o.push(s):a.push(s);s=C(e,function(e,t){var n=t.length>0,o=e.length>0,a=function(a,s,c,l,f){var d,h,y,m=0,b="0",S=a&&[],T=[],C=i,O=a||o&&r.find.TAG("*",f),w=v+=null==C?1:Math.random()||.1,x=O.length;for(f&&(i=s==u||s||f);b!==x&&null!=(d=O[b]);b++){if(o&&d){for(h=0,s||d.ownerDocument==u||(ce(d),c=!p);y=e[h++];)if(y(d,s||u,c)){g.call(l,d);break}f&&(v=w)}n&&((d=!y&&d)&&m--,a&&S.push(d))}if(m+=b,n&&b!==m){for(h=0;y=t[h++];)y(S,T,s,c);if(a){if(m>0)for(;b--;)S[b]||T[b]||(T[b]=A.call(l));T=he(T)}g.apply(l,T),f&&!a&&T.length>0&&m+t.length>1&&E.uniqueSort(l)}return f&&(v=w,i=C),S};return n?te(a):a}(a,o)),s.selector=e}return s}function ve(e,t,n,o){var i,a,s,c,u,l="function"==typeof e&&e,f=!o&&le(e=l.selector||e);if(n=n||[],1===f.length){if((a=f[0]=f[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===t.nodeType&&p&&r.relative[a[1].type]){if(!(t=(r.find.ID(s.matches[0].replace(K,Y),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(i=G.needsContext.test(e)?0:a.length;i--&&(s=a[i],!r.relative[c=s.type]);)if((u=r.find[c])&&(o=u(s.matches[0].replace(K,Y),z.test(a[0].type)&&se(t.parentNode)||t))){if(a.splice(i,1),!(e=o.length&&fe(a)))return g.apply(n,o),n;break}}return(l||me(e,f))(o,t,!p,n,!t||z.test(e)&&se(t.parentNode)||t),n}ue.prototype=r.filters=r.pseudos,r.setFilters=new ue,d.sortStable=m.split("").sort(_).join("")===m,ce(),d.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(u.createElement("fieldset"))})),E.find=Z,E.expr[":"]=E.expr.pseudos,E.unique=E.uniqueSort,Z.compile=me,Z.select=ve,Z.setDocument=ce,Z.tokenize=le,Z.escape=E.escapeSelector,Z.getText=E.text,Z.isXML=E.isXMLDoc,Z.selectors=E.expr,Z.support=E.support,Z.uniqueSort=E.uniqueSort}();var $=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&E(e).is(n))break;r.push(e)}return r},D=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=E.expr.match.needsContext,L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function H(e,t,n){return h(t)?E.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?E.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?E.grep(e,(function(e){return s.call(t,e)>-1!==n})):E.filter(t,e,n)}E.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?E.find.matchesSelector(r,e)?[r]:[]:E.find.matches(e,E.grep(t,(function(e){return 1===e.nodeType})))},E.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(E(e).filter((function(){for(t=0;t<r;t++)if(E.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)E.find(e,o[t],n);return r>1?E.uniqueSort(n):n},filter:function(e){return this.pushStack(H(this,e||[],!1))},not:function(e){return this.pushStack(H(this,e||[],!0))},is:function(e){return!!H(this,"string"==typeof e&&k.test(e)?E(e):e||[],!1).length}});var M,U=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,B=E.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:U.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),L.test(r[1])&&E.isPlainObject(t))for(r in t)h(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=g.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):h(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this)};B.prototype=E.fn,M=E(g);var F=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function G(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(E.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&E(e);if(!k.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&E.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?E.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?s.call(E(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return $(e,"parentNode")},parentsUntil:function(e,t,n){return $(e,"parentNode",n)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return $(e,"nextSibling")},prevAll:function(e){return $(e,"previousSibling")},nextUntil:function(e,t,n){return $(e,"nextSibling",n)},prevUntil:function(e,t,n){return $(e,"previousSibling",n)},siblings:function(e){return D((e.parentNode||{}).firstChild,e)},children:function(e){return D(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(O(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},(function(e,t){E.fn[e]=function(n,r){var o=E.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=E.filter(r,o)),this.length>1&&(q[e]||E.uniqueSort(o),F.test(e)&&o.reverse()),this.pushStack(o)}}));var W=/[^\x20\t\r\n\f]+/g;function X(e){return e}function V(e){throw e}function z(e,t,n,r){var o;try{e&&h(o=e.promise)?o.call(e).done(t).fail(n):e&&h(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}E.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return E.each(e.match(W)||[],(function(e,n){t[n]=!0})),t}(e):E.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){E.each(n,(function(n,r){h(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==b(r)&&t(r)}))}(arguments),n&&!t&&c()),this},remove:function(){return E.each(arguments,(function(e,t){for(var n;(n=E.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?E.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},E.extend({Deferred:function(t){var n=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return E.Deferred((function(t){E.each(n,(function(n,r){var o=h(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&h(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(t,r,o){var i=0;function a(t,n,r,o){return function(){var s=this,c=arguments,u=function(){var e,u;if(!(t<i)){if((e=r.apply(s,c))===n.promise())throw new TypeError("Thenable self-resolution");u=e&&("object"==typeof e||"function"==typeof e)&&e.then,h(u)?o?u.call(e,a(i,n,X,o),a(i,n,V,o)):(i++,u.call(e,a(i,n,X,o),a(i,n,V,o),a(i,n,X,n.notifyWith))):(r!==X&&(s=void 0,c=[e]),(o||n.resolveWith)(s,c))}},l=o?u:function(){try{u()}catch(e){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(e,l.error),t+1>=i&&(r!==V&&(s=void 0,c=[e]),n.rejectWith(s,c))}};t?l():(E.Deferred.getErrorHook?l.error=E.Deferred.getErrorHook():E.Deferred.getStackHook&&(l.error=E.Deferred.getStackHook()),e.setTimeout(l))}}return E.Deferred((function(e){n[0][3].add(a(0,e,h(o)?o:X,e.notifyWith)),n[1][3].add(a(0,e,h(t)?t:X)),n[2][3].add(a(0,e,h(r)?r:V))})).promise()},promise:function(e){return null!=e?E.extend(e,o):o}},i={};return E.each(n,(function(e,t){var a=t[2],s=t[5];o[t[1]]=a.add,s&&a.add((function(){r=s}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),i[t[0]]=function(){return i[t[0]+"With"](this===i?void 0:this,arguments),this},i[t[0]+"With"]=a.fireWith})),o.promise(i),t&&t.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=E.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&(z(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||h(i[n]&&i[n].then)))return a.then();for(;n--;)z(i[n],s(n),a.reject);return a.promise()}});var K=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&K.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},E.readyException=function(t){e.setTimeout((function(){throw t}))};var Y=E.Deferred();function J(){g.removeEventListener("DOMContentLoaded",J),e.removeEventListener("load",J),E.ready()}E.fn.ready=function(e){return Y.then(e).catch((function(e){E.readyException(e)})),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==e&&--E.readyWait>0||Y.resolveWith(g,[E]))}}),E.ready.then=Y.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?e.setTimeout(E.ready):(g.addEventListener("DOMContentLoaded",J),e.addEventListener("load",J));var Q=function(e,t,n,r,o,i,a){var s=0,c=e.length,u=null==n;if("object"===b(n))for(s in o=!0,n)Q(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,h(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(E(e),n)})),t))for(;s<c;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):c?t(e[0],n):i},Z=/^-ms-/,ee=/-([a-z])/g;function te(e,t){return t.toUpperCase()}function ne(e){return e.replace(Z,"ms-").replace(ee,te)}var re=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function oe(){this.expando=E.expando+oe.uid++}oe.uid=1,oe.prototype={cache:function(e){var t=e[this.expando];return t||(t={},re(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[ne(t)]=n;else for(r in t)o[ne(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ne(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(ne):(t=ne(t))in r?[t]:t.match(W)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||E.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!E.isEmptyObject(t)}};var ie=new oe,ae=new oe,se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ce=/[A-Z]/g;function ue(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ce,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:se.test(e)?JSON.parse(e):e)}(n)}catch(e){}ae.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return ae.hasData(e)||ie.hasData(e)},data:function(e,t,n){return ae.access(e,t,n)},removeData:function(e,t){ae.remove(e,t)},_data:function(e,t,n){return ie.access(e,t,n)},_removeData:function(e,t){ie.remove(e,t)}}),E.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=ae.get(i),1===i.nodeType&&!ie.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=ne(r.slice(5)),ue(i,r,o[r]));ie.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){ae.set(this,e)})):Q(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=ae.get(i,e))||void 0!==(n=ue(i,e))?n:void 0;this.each((function(){ae.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){ae.remove(this,e)}))}}),E.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ie.get(e,t),n&&(!r||Array.isArray(n)?r=ie.access(e,t,E.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),r=n.length,o=n.shift(),i=E._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){E.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ie.get(e,n)||ie.access(e,n,{empty:E.Callbacks("once memory").add((function(){ie.remove(e,[t+"queue",n])}))})}}),E.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?E.queue(this[0],e):void 0===t?this:this.each((function(){var n=E.queue(this,e,t);E._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&E.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){E.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=E.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=ie.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var le=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=new RegExp("^(?:([+-])=|)("+le+")([a-z%]*)$","i"),pe=["Top","Right","Bottom","Left"],de=g.documentElement,he=function(e){return E.contains(e.ownerDocument,e)},ye={composed:!0};de.getRootNode&&(he=function(e){return E.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var ge=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&he(e)&&"none"===E.css(e,"display")};function me(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return E.css(e,t,"")},c=s(),u=n&&n[3]||(E.cssNumber[t]?"":"px"),l=e.nodeType&&(E.cssNumber[t]||"px"!==u&&+c)&&fe.exec(E.css(e,t));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;a--;)E.style(e,t,l+u),(1-i)*(1-(i=s()/c||.5))<=0&&(a=0),l/=i;l*=2,E.style(e,t,l+u),n=n||[]}return n&&(l=+l||+c||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=l,r.end=o)),o}var ve={};function be(e){var t,n=e.ownerDocument,r=e.nodeName,o=ve[r];return o||(t=n.body.appendChild(n.createElement(r)),o=E.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),ve[r]=o,o)}function Se(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=ie.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ge(r)&&(o[i]=be(r))):"none"!==n&&(o[i]="none",ie.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}E.fn.extend({show:function(){return Se(this,!0)},hide:function(){return Se(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ge(this)?E(this).show():E(this).hide()}))}});var Te,Ee,Ce=/^(?:checkbox|radio)$/i,Oe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ae=/^$|^module$|\/(?:java|ecma)script/i;Te=g.createDocumentFragment().appendChild(g.createElement("div")),(Ee=g.createElement("input")).setAttribute("type","radio"),Ee.setAttribute("checked","checked"),Ee.setAttribute("name","t"),Te.appendChild(Ee),d.checkClone=Te.cloneNode(!0).cloneNode(!0).lastChild.checked,Te.innerHTML="<textarea>x</textarea>",d.noCloneChecked=!!Te.cloneNode(!0).lastChild.defaultValue,Te.innerHTML="<option></option>",d.option=!!Te.lastChild;var we={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function xe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?E.merge([e],n):n}function Pe(e,t){for(var n=0,r=e.length;n<r;n++)ie.set(e[n],"globalEval",!t||ie.get(t[n],"globalEval"))}we.tbody=we.tfoot=we.colgroup=we.caption=we.thead,we.th=we.td,d.option||(we.optgroup=we.option=[1,"<select multiple='multiple'>","</select>"]);var Ie=/<|&#?\w+;/;function Re(e,t,n,r,o){for(var i,a,s,c,u,l,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((i=e[d])||0===i)if("object"===b(i))E.merge(p,i.nodeType?[i]:i);else if(Ie.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(Oe.exec(i)||["",""])[1].toLowerCase(),c=we[s]||we._default,a.innerHTML=c[1]+E.htmlPrefilter(i)+c[2],l=c[0];l--;)a=a.lastChild;E.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(i));for(f.textContent="",d=0;i=p[d++];)if(r&&E.inArray(i,r)>-1)o&&o.push(i);else if(u=he(i),a=xe(f.appendChild(i),"script"),u&&Pe(a),n)for(l=0;i=a[l++];)Ae.test(i.type||"")&&n.push(i);return f}var _e=/^([^.]*)(?:\.(.+)|)/;function je(){return!0}function Ne(){return!1}function $e(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)$e(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ne;else if(!o)return e;return 1===i&&(a=o,o=function(e){return E().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=E.guid++)),e.each((function(){E.event.add(this,t,o,r,n)}))}function De(e,t,n){n?(ie.set(e,t,!1),E.event.add(e,t,{namespace:!1,handler:function(e){var n,r=ie.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(E.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=o.call(arguments),ie.set(this,t,r),this[t](),n=ie.get(this,t),ie.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(ie.set(this,t,E.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=je)}})):void 0===ie.get(e,t)&&E.event.add(e,t,je)}E.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,u,l,f,p,d,h,y,g=ie.get(e);if(re(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&E.find.matchesSelector(de,o),n.guid||(n.guid=E.guid++),(c=g.events)||(c=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(W)||[""]).length;u--;)d=y=(s=_e.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=E.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=E.event.special[d]||{},l=E.extend({type:d,origType:y,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&E.expr.match.needsContext.test(o),namespace:h.join(".")},i),(p=c[d])||((p=c[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,l):p.push(l),E.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,a,s,c,u,l,f,p,d,h,y,g=ie.hasData(e)&&ie.get(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(W)||[""]).length;u--;)if(d=y=(s=_e.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=E.event.special[d]||{},p=c[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)l=p[i],!o&&y!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(i,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(e,l));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||E.removeEvent(e,d,g.handle),delete c[d])}else for(d in c)E.event.remove(e,d+t[u],n,r,!0);E.isEmptyObject(c)&&ie.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),c=E.event.fix(e),u=(ie.get(this,"events")||Object.create(null))[c.type]||[],l=E.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,c)){for(a=E.event.handlers.call(this,c,u),t=0;(o=a[t++])&&!c.isPropagationStopped();)for(c.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==i.namespace&&!c.rnamespace.test(i.namespace)||(c.handleObj=i,c.data=i.data,void 0!==(r=((E.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,o,i,a,s=[],c=t.delegateCount,u=e.target;if(c&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],a={},n=0;n<c;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?E(o,this).index(u)>-1:E.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,c<t.length&&s.push({elem:u,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(E.Event.prototype,e,{enumerable:!0,configurable:!0,get:h(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[E.expando]?e:new E.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ce.test(t.type)&&t.click&&O(t,"input")&&De(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ce.test(t.type)&&t.click&&O(t,"input")&&De(t,"click"),!0},_default:function(e){var t=e.target;return Ce.test(t.type)&&t.click&&O(t,"input")&&ie.get(t,"click")||O(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?je:Ne,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:Ne,isPropagationStopped:Ne,isImmediatePropagationStopped:Ne,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=je,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=je,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=je,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(g.documentMode){var n=ie.get(this,"handle"),r=E.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else E.event.simulate(t,e.target,E.event.fix(e))}E.event.special[e]={setup:function(){var r;if(De(this,e,!0),!g.documentMode)return!1;(r=ie.get(this,t))||this.addEventListener(t,n),ie.set(this,t,(r||0)+1)},trigger:function(){return De(this,e),!0},teardown:function(){var e;if(!g.documentMode)return!1;(e=ie.get(this,t)-1)?ie.set(this,t,e):(this.removeEventListener(t,n),ie.remove(this,t))},_default:function(t){return ie.get(t.target,e)},delegateType:t},E.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=g.documentMode?this:r,i=ie.get(o,t);i||(g.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),ie.set(o,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=g.documentMode?this:r,i=ie.get(o,t)-1;i?ie.set(o,t,i):(g.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),ie.remove(o,t))}}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){E.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||E.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),E.fn.extend({on:function(e,t,n,r){return $e(this,e,t,n,r)},one:function(e,t,n,r){return $e(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,E(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ne),this.each((function(){E.event.remove(this,e,n,t)}))}});var ke=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,He=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Me(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Ue(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Be(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(ie.hasData(e)&&(s=ie.get(e).events))for(o in ie.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)E.event.add(t,o,s[o][n]);ae.hasData(e)&&(i=ae.access(e),a=E.extend({},i),ae.set(t,a))}}function qe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ce.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ge(e,t,n,r){t=i(t);var o,a,s,c,u,l,f=0,p=e.length,y=p-1,g=t[0],m=h(g);if(m||p>1&&"string"==typeof g&&!d.checkClone&&Le.test(g))return e.each((function(o){var i=e.eq(o);m&&(t[0]=g.call(this,o,i.html())),Ge(i,t,n,r)}));if(p&&(a=(o=Re(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=a),a||r)){for(c=(s=E.map(xe(o,"script"),Ue)).length;f<p;f++)u=o,f!==y&&(u=E.clone(u,!0,!0),c&&E.merge(s,xe(u,"script"))),n.call(e[f],u,f);if(c)for(l=s[s.length-1].ownerDocument,E.map(s,Be),f=0;f<c;f++)u=s[f],Ae.test(u.type||"")&&!ie.access(u,"globalEval")&&E.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?E._evalUrl&&!u.noModule&&E._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):v(u.textContent.replace(He,""),u,l))}return e}function We(e,t,n){for(var r,o=t?E.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||E.cleanData(xe(r)),r.parentNode&&(n&&he(r)&&Pe(xe(r,"script")),r.parentNode.removeChild(r));return e}E.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),c=he(e);if(!(d.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(a=xe(s),r=0,o=(i=xe(e)).length;r<o;r++)qe(i[r],a[r]);if(t)if(n)for(i=i||xe(e),a=a||xe(s),r=0,o=i.length;r<o;r++)Fe(i[r],a[r]);else Fe(e,s);return(a=xe(s,"script")).length>0&&Pe(a,!c&&xe(e,"script")),s},cleanData:function(e){for(var t,n,r,o=E.event.special,i=0;void 0!==(n=e[i]);i++)if(re(n)){if(t=n[ie.expando]){if(t.events)for(r in t.events)o[r]?E.event.remove(n,r):E.removeEvent(n,r,t.handle);n[ie.expando]=void 0}n[ae.expando]&&(n[ae.expando]=void 0)}}}),E.fn.extend({detach:function(e){return We(this,e,!0)},remove:function(e){return We(this,e)},text:function(e){return Q(this,(function(e){return void 0===e?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ge(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)}))},prepend:function(){return Ge(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ge(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ge(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(xe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return E.clone(this,e,t)}))},html:function(e){return Q(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!we[(Oe.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(E.cleanData(xe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ge(this,arguments,(function(t){var n=this.parentNode;E.inArray(this,e)<0&&(E.cleanData(xe(this)),n&&n.replaceChild(t,this))}),e)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){E.fn[e]=function(e){for(var n,r=[],o=E(e),i=o.length-1,s=0;s<=i;s++)n=s===i?this:this.clone(!0),E(o[s])[t](n),a.apply(r,n.get());return this.pushStack(r)}}));var Xe=new RegExp("^("+le+")(?!px)[a-z%]+$","i"),Ve=/^--/,ze=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Ke=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Ye=new RegExp(pe.join("|"),"i");function Je(e,t,n){var r,o,i,a,s=Ve.test(t),c=e.style;return(n=n||ze(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(I,"$1")||void 0),""!==a||he(e)||(a=E.style(e,t)),!d.pixelBoxStyles()&&Xe.test(a)&&Ye.test(t)&&(r=c.width,o=c.minWidth,i=c.maxWidth,c.minWidth=c.maxWidth=c.width=a,a=n.width,c.width=r,c.minWidth=o,c.maxWidth=i)),void 0!==a?a+"":a}function Qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",de.appendChild(u).appendChild(l);var t=e.getComputedStyle(l);r="1%"!==t.top,c=12===n(t.marginLeft),l.style.right="60%",a=36===n(t.right),o=36===n(t.width),l.style.position="absolute",i=12===n(l.offsetWidth/3),de.removeChild(u),l=null}}function n(e){return Math.round(parseFloat(e))}var r,o,i,a,s,c,u=g.createElement("div"),l=g.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",d.clearCloneStyle="content-box"===l.style.backgroundClip,E.extend(d,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),i},reliableTrDimensions:function(){var t,n,r,o;return null==s&&(t=g.createElement("table"),n=g.createElement("tr"),r=g.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",de.appendChild(t).appendChild(n).appendChild(r),o=e.getComputedStyle(n),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===n.offsetHeight,de.removeChild(t)),s}}))}();var Ze=["Webkit","Moz","ms"],et=g.createElement("div").style,tt={};function nt(e){var t=E.cssProps[e]||tt[e];return t||(e in et?e:tt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ze.length;n--;)if((e=Ze[n]+t)in et)return e}(e)||e)}var rt=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"};function at(e,t,n){var r=fe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function st(e,t,n,r,o,i){var a="width"===t?1:0,s=0,c=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=E.css(e,n+pe[a],!0,o)),r?("content"===n&&(c-=E.css(e,"padding"+pe[a],!0,o)),"margin"!==n&&(c-=E.css(e,"border"+pe[a]+"Width",!0,o))):(c+=E.css(e,"padding"+pe[a],!0,o),"padding"!==n?c+=E.css(e,"border"+pe[a]+"Width",!0,o):s+=E.css(e,"border"+pe[a]+"Width",!0,o));return!r&&i>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c+u}function ct(e,t,n){var r=ze(e),o=(!d.boxSizingReliable()||n)&&"border-box"===E.css(e,"boxSizing",!1,r),i=o,a=Je(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(a)){if(!n)return a;a="auto"}return(!d.boxSizingReliable()&&o||!d.reliableTrDimensions()&&O(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===E.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===E.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+st(e,t,n||(o?"border":"content"),i,r,a)+"px"}function ut(e,t,n,r,o){return new ut.prototype.init(e,t,n,r,o)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Je(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=ne(t),c=Ve.test(t),u=e.style;if(c||(t=nt(s)),a=E.cssHooks[t]||E.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t];"string"===(i=typeof n)&&(o=fe.exec(n))&&o[1]&&(n=me(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||c||(n+=o&&o[3]||(E.cssNumber[s]?"":"px")),d.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,i,a,s=ne(t);return Ve.test(t)||(t=nt(s)),(a=E.cssHooks[t]||E.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Je(e,t,r)),"normal"===o&&t in it&&(o=it[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),E.each(["height","width"],(function(e,t){E.cssHooks[t]={get:function(e,n,r){if(n)return!rt.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,r):Ke(e,ot,(function(){return ct(e,t,r)}))},set:function(e,n,r){var o,i=ze(e),a=!d.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===E.css(e,"boxSizing",!1,i),c=r?st(e,t,r,s,i):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-st(e,t,"border",!1,i)-.5)),c&&(o=fe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=E.css(e,t)),at(0,n,c)}}})),E.cssHooks.marginLeft=Qe(d.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Je(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(e,t){E.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+pe[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(E.cssHooks[e+t].set=at)})),E.fn.extend({css:function(e,t){return Q(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=ze(e),o=t.length;a<o;a++)i[t[a]]=E.css(e,t[a],!1,r);return i}return void 0!==n?E.style(e,t,n):E.css(e,t)}),e,t,arguments.length>1)}}),E.Tween=ut,ut.prototype={constructor:ut,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(E.cssNumber[n]?"":"px")},cur:function(){var e=ut.propHooks[this.prop];return e&&e.get?e.get(this):ut.propHooks._default.get(this)},run:function(e){var t,n=ut.propHooks[this.prop];return this.options.duration?this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ut.propHooks._default.set(this),this}},ut.prototype.init.prototype=ut.prototype,ut.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[nt(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}},ut.propHooks.scrollTop=ut.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=ut.prototype.init,E.fx.step={};var lt,ft,pt=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;function ht(){ft&&(!1===g.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(ht):e.setTimeout(ht,E.fx.interval),E.fx.tick())}function yt(){return e.setTimeout((function(){lt=void 0})),lt=Date.now()}function gt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=pe[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function mt(e,t,n){for(var r,o=(vt.tweeners[t]||[]).concat(vt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function vt(e,t,n){var r,o,i=0,a=vt.prefilters.length,s=E.Deferred().always((function(){delete c.elem})),c=function(){if(o)return!1;for(var t=lt||yt(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:E.extend({},t),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},n),originalProperties:t,originalOptions:n,startTime:lt||yt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=E.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),l=u.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=ne(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=E.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(l,u.opts.specialEasing);i<a;i++)if(r=vt.prefilters[i].call(u,e,l,u.opts))return h(r.stop)&&(E._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return E.map(l,mt,u),h(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),E.fx.timer(E.extend(c,{elem:e,anim:u,queue:u.opts.queue})),u}E.Animation=E.extend(vt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return me(n.elem,e,fe.exec(t),n),n}]},tweener:function(e,t){h(e)?(t=e,e=["*"]):e=e.match(W);for(var n,r=0,o=e.length;r<o;r++)n=e[r],vt.tweeners[n]=vt.tweeners[n]||[],vt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,c,u,l,f="width"in t||"height"in t,p=this,d={},h=e.style,y=e.nodeType&&ge(e),g=ie.get(e,"fxshow");for(r in n.queue||(null==(a=E._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always((function(){p.always((function(){a.unqueued--,E.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],pt.test(o)){if(delete t[r],i=i||"toggle"===o,o===(y?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;y=!0}d[r]=g&&g[r]||E.style(e,r)}if((c=!E.isEmptyObject(t))||!E.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=g&&g.display)&&(u=ie.get(e,"display")),"none"===(l=E.css(e,"display"))&&(u?l=u:(Se([e],!0),u=e.style.display||u,l=E.css(e,"display"),Se([e]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===E.css(e,"float")&&(c||(p.done((function(){h.display=u})),null==u&&(l=h.display,u="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),c=!1,d)c||(g?"hidden"in g&&(y=g.hidden):g=ie.access(e,"fxshow",{display:u}),i&&(g.hidden=!y),y&&Se([e],!0),p.done((function(){for(r in y||Se([e]),ie.remove(e,"fxshow"),d)E.style(e,r,d[r])}))),c=mt(y?g[r]:0,r,p),r in g||(g[r]=c.start,y&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?vt.prefilters.unshift(e):vt.prefilters.push(e)}}),E.speed=function(e,t,n){var r=e&&"object"==typeof e?E.extend({},e):{complete:n||!n&&t||h(e)&&e,duration:e,easing:n&&t||t&&!h(t)&&t};return E.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in E.fx.speeds?r.duration=E.fx.speeds[r.duration]:r.duration=E.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){h(r.old)&&r.old.call(this),r.queue&&E.dequeue(this,r.queue)},r},E.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ge).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=E.isEmptyObject(e),i=E.speed(t,n,r),a=function(){var t=vt(this,E.extend({},e),i);(o||ie.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=E.timers,a=ie.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&dt.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||E.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=ie.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=E.timers,a=r?r.length:0;for(n.finish=!0,E.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),E.each(["toggle","show","hide"],(function(e,t){var n=E.fn[t];E.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(gt(t,!0),e,r,o)}})),E.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){E.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),E.timers=[],E.fx.tick=function(){var e,t=0,n=E.timers;for(lt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||E.fx.stop(),lt=void 0},E.fx.timer=function(e){E.timers.push(e),E.fx.start()},E.fx.interval=13,E.fx.start=function(){ft||(ft=!0,ht())},E.fx.stop=function(){ft=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(t,n){return t=E.fx&&E.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,r){var o=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(o)}}))},function(){var e=g.createElement("input"),t=g.createElement("select").appendChild(g.createElement("option"));e.type="checkbox",d.checkOn=""!==e.value,d.optSelected=t.selected,(e=g.createElement("input")).value="t",e.type="radio",d.radioValue="t"===e.value}();var bt,St=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return Q(this,E.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){E.removeAttr(this,e)}))}}),E.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?E.prop(e,t,n):(1===i&&E.isXMLDoc(e)||(o=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?bt:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=E.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!d.radioValue&&"radio"===t&&O(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(W);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),bt={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=St[t]||E.find.attr;St[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=St[a],St[a]=o,o=null!=n(e,t,r)?a:null,St[a]=i),o}}));var Tt=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;function Ct(e){return(e.match(W)||[]).join(" ")}function Ot(e){return e.getAttribute&&e.getAttribute("class")||""}function At(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(W)||[]}E.fn.extend({prop:function(e,t){return Q(this,E.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[E.propFix[e]||e]}))}}),E.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&E.isXMLDoc(e)||(t=E.propFix[t]||t,o=E.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):Tt.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),d.optSelected||(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(e){var t,n,r,o,i,a;return h(e)?this.each((function(t){E(this).addClass(e.call(this,t,Ot(this)))})):(t=At(e)).length?this.each((function(){if(r=Ot(this),n=1===this.nodeType&&" "+Ct(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=Ct(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return h(e)?this.each((function(t){E(this).removeClass(e.call(this,t,Ot(this)))})):arguments.length?(t=At(e)).length?this.each((function(){if(r=Ot(this),n=1===this.nodeType&&" "+Ct(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=Ct(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return h(e)?this.each((function(n){E(this).toggleClass(e.call(this,n,Ot(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=At(e),this.each((function(){if(s)for(i=E(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==a||((r=Ot(this))&&ie.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":ie.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Ct(Ot(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;E.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=h(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,E(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=E.map(o,(function(e){return null==e?"":e+""}))),(t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=E.valHooks[o.type]||E.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(wt,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:Ct(E.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r<c;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){if(t=E(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=E.makeArray(t),a=o.length;a--;)((r=o[a]).selected=E.inArray(E.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=E.inArray(E(e).val(),t)>-1}},d.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var xt=e.location,Pt={guid:Date.now()},It=/\?/;E.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return r=n&&n.getElementsByTagName("parsererror")[0],n&&!r||E.error("Invalid XML: "+(r?E.map(r.childNodes,(function(e){return e.textContent})).join("\n"):t)),n};var Rt=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(t,n,r,o){var i,a,s,c,u,f,p,d,m=[r||g],v=l.call(t,"type")?t.type:t,b=l.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||g,3!==r.nodeType&&8!==r.nodeType&&!Rt.test(v+E.event.triggered)&&(v.indexOf(".")>-1&&(b=v.split("."),v=b.shift(),b.sort()),u=v.indexOf(":")<0&&"on"+v,(t=t[E.expando]?t:new E.Event(v,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:E.makeArray(n,[t]),p=E.event.special[v]||{},o||!p.trigger||!1!==p.trigger.apply(r,n))){if(!o&&!p.noBubble&&!y(r)){for(c=p.delegateType||v,Rt.test(c+v)||(a=a.parentNode);a;a=a.parentNode)m.push(a),s=a;s===(r.ownerDocument||g)&&m.push(s.defaultView||s.parentWindow||e)}for(i=0;(a=m[i++])&&!t.isPropagationStopped();)d=a,t.type=i>1?c:p.bindType||v,(f=(ie.get(a,"events")||Object.create(null))[t.type]&&ie.get(a,"handle"))&&f.apply(a,n),(f=u&&a[u])&&f.apply&&re(a)&&(t.result=f.apply(a,n),!1===t.result&&t.preventDefault());return t.type=v,o||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(m.pop(),n)||!re(r)||u&&h(r[v])&&!y(r)&&((s=r[u])&&(r[u]=null),E.event.triggered=v,t.isPropagationStopped()&&d.addEventListener(v,_t),r[v](),t.isPropagationStopped()&&d.removeEventListener(v,_t),E.event.triggered=void 0,s&&(r[u]=s)),t.result}},simulate:function(e,t,n){var r=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(r,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each((function(){E.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}});var jt=/\[\]$/,Nt=/\r?\n/g,$t=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function kt(e,t,n,r){var o;if(Array.isArray(t))E.each(t,(function(t,o){n||jt.test(e)?r(e,o):kt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==b(t))r(e,t);else for(o in t)kt(e+"["+o+"]",t[o],n,r)}E.param=function(e,t){var n,r=[],o=function(e,t){var n=h(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,(function(){o(this.name,this.value)}));else for(n in e)kt(n,e[n],t,o);return r.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Dt.test(this.nodeName)&&!$t.test(e)&&(this.checked||!Ce.test(e))})).map((function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:n.replace(Nt,"\r\n")}})).get()}});var Lt=/%20/g,Ht=/#.*$/,Mt=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:GET|HEAD)$/,Ft=/^\/\//,qt={},Gt={},Wt="*/".concat("*"),Xt=g.createElement("a");function Vt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(W)||[];if(h(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function zt(e,t,n,r){var o={},i=e===Gt;function a(s){var c;return o[s]=!0,E.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||o[u]?i?!(c=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Kt(e,t){var n,r,o=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&E.extend(!0,e,r),e}Xt.href=xt.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Kt(Kt(e,E.ajaxSettings),t):Kt(E.ajaxSettings,e)},ajaxPrefilter:Vt(qt),ajaxTransport:Vt(Gt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,o,i,a,s,c,u,l,f,p,d=E.ajaxSetup({},n),h=d.context||d,y=d.context&&(h.nodeType||h.jquery)?E(h):E.event,m=E.Deferred(),v=E.Callbacks("once memory"),b=d.statusCode||{},S={},T={},C="canceled",O={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Ut.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(e,t){return null==u&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,S[e]=t),this},overrideMimeType:function(e){return null==u&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)O.always(e[O.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),A(0,t),this}};if(m.promise(O),d.url=((t||d.url||xt.href)+"").replace(Ft,xt.protocol+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(W)||[""],null==d.crossDomain){c=g.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=Xt.protocol+"//"+Xt.host!=c.protocol+"//"+c.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=E.param(d.data,d.traditional)),zt(qt,d,n,O),u)return O;for(f in(l=E.event&&d.global)&&0==E.active++&&E.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Bt.test(d.type),o=d.url.replace(Ht,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Lt,"+")):(p=d.url.slice(o.length),d.data&&(d.processData||"string"==typeof d.data)&&(o+=(It.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(o=o.replace(Mt,"$1"),p=(It.test(o)?"&":"?")+"_="+Pt.guid+++p),d.url=o+p),d.ifModified&&(E.lastModified[o]&&O.setRequestHeader("If-Modified-Since",E.lastModified[o]),E.etag[o]&&O.setRequestHeader("If-None-Match",E.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||n.contentType)&&O.setRequestHeader("Content-Type",d.contentType),O.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Wt+"; q=0.01":""):d.accepts["*"]),d.headers)O.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(h,O,d)||u))return O.abort();if(C="abort",v.add(d.complete),O.done(d.success),O.fail(d.error),r=zt(Gt,d,n,O)){if(O.readyState=1,l&&y.trigger("ajaxSend",[O,d]),u)return O;d.async&&d.timeout>0&&(s=e.setTimeout((function(){O.abort("timeout")}),d.timeout));try{u=!1,r.send(S,A)}catch(e){if(u)throw e;A(-1,e)}}else A(-1,"No Transport");function A(t,n,a,c){var f,p,g,S,T,C=n;u||(u=!0,s&&e.clearTimeout(s),r=void 0,i=c||"",O.readyState=t>0?4:0,f=t>=200&&t<300||304===t,a&&(S=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(d,O,a)),!f&&E.inArray("script",d.dataTypes)>-1&&E.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),S=function(e,t,n,r){var o,i,a,s,c,u={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=l.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=u[c+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+c+" to "+i}}}return{state:"success",data:t}}(d,S,O,f),f?(d.ifModified&&((T=O.getResponseHeader("Last-Modified"))&&(E.lastModified[o]=T),(T=O.getResponseHeader("etag"))&&(E.etag[o]=T)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=S.state,p=S.data,f=!(g=S.error))):(g=C,!t&&C||(C="error",t<0&&(t=0))),O.status=t,O.statusText=(n||C)+"",f?m.resolveWith(h,[p,C,O]):m.rejectWith(h,[O,C,g]),O.statusCode(b),b=void 0,l&&y.trigger(f?"ajaxSuccess":"ajaxError",[O,d,f?p:g]),v.fireWith(h,[O,C]),l&&(y.trigger("ajaxComplete",[O,d]),--E.active||E.event.trigger("ajaxStop")))}return O},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],(function(e,t){E[t]=function(e,n,r,o){return h(n)&&(o=o||r,r=n,n=void 0),E.ajax(E.extend({url:e,type:t,dataType:o,data:n,success:r},E.isPlainObject(e)&&e))}})),E.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),E._evalUrl=function(e,t,n){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,n)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&(h(e)&&(e=e.call(this[0])),t=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return h(e)?this.each((function(t){E(this).wrapInner(e.call(this,t))})):this.each((function(){var t=E(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=h(e);return this.each((function(n){E(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Jt=E.ajaxSettings.xhr();d.cors=!!Jt&&"withCredentials"in Jt,d.ajax=Jt=!!Jt,E.ajaxTransport((function(t){var n,r;if(d.cors||Jt&&!t.crossDomain)return{send:function(o,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Yt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout((function(){n&&r()}))},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}})),E.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),E.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=E("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),g.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Qt,Zt=[],en=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Zt.pop()||E.expando+"_"+Pt.guid++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",(function(t,n,r){var o,i,a,s=!1!==t.jsonp&&(en.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&en.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=h(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(en,"$1"+o):!1!==t.jsonp&&(t.url+=(It.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||E.error(o+" was not called"),a[0]},t.dataTypes[0]="json",i=e[o],e[o]=function(){a=arguments},r.always((function(){void 0===i?E(e).removeProp(o):e[o]=i,t[o]&&(t.jsonpCallback=n.jsonpCallback,Zt.push(o)),a&&h(i)&&i(a[0]),a=i=void 0})),"script"})),d.createHTMLDocument=((Qt=g.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Qt.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(d.createHTMLDocument?((r=(t=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,t.head.appendChild(r)):t=g),i=!n&&[],(o=L.exec(e))?[t.createElement(o[1])]:(o=Re([e],t,i),i&&i.length&&E(i).remove(),E.merge([],o.childNodes)));var r,o,i},E.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=Ct(e.slice(s)),e=e.slice(0,s)),h(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&E.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?E("<div>").append(E.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},E.expr.pseudos.animated=function(e){return E.grep(E.timers,(function(t){return e===t.elem})).length},E.offset={setOffset:function(e,t,n){var r,o,i,a,s,c,u=E.css(e,"position"),l=E(e),f={};"static"===u&&(e.style.position="relative"),s=l.offset(),i=E.css(e,"top"),c=E.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+c).indexOf("auto")>-1?(a=(r=l.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(c)||0),h(t)&&(t=t.call(e,n,E.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):l.css(f)}},E.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){E.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),o.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-E.css(r,"marginTop",!0),left:t.left-o.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||de}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;E.fn[e]=function(r){return Q(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),E.each(["top","left"],(function(e,t){E.cssHooks[t]=Qe(d.pixelPosition,(function(e,n){if(n)return n=Je(e,t),Xe.test(n)?E(e).position()[t]+"px":n}))})),E.each({Height:"height",Width:"width"},(function(e,t){E.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){E.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return Q(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?E.css(t,n,s):E.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){E.fn[t]=function(e){return this.on(t,e)}})),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){E.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var tn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),h(e))return r=o.call(arguments,2),i=function(){return e.apply(t||this,r.concat(o.call(arguments)))},i.guid=e.guid=e.guid||E.guid++,i},E.holdReady=function(e){e?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=O,E.isFunction=h,E.isWindow=y,E.camelCase=ne,E.type=b,E.now=Date.now,E.isNumeric=function(e){var t=E.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},E.trim=function(e){return null==e?"":(e+"").replace(tn,"$1")};var nn=e.jQuery,rn=e.$;return E.noConflict=function(t){return e.$===E&&(e.$=rn),t&&e.jQuery===E&&(e.jQuery=nn),E},void 0===t&&(e.jQuery=e.$=E),E}))})),sha1=createCommonjsModule((function(module){(function(){var root="object"==typeof window?window:{},NODE_JS=!root.JS_SHA1_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS&&(root=commonjsGlobal);var COMMON_JS=!root.JS_SHA1_NO_COMMON_JS&&module.exports,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[],createOutputMethod=function(e){return function(t){return new Sha1(!0).update(t)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Sha1},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var n=OUTPUT_TYPES[t];e[n]=createOutputMethod(n)}return e},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"==typeof e)return crypto.createHash("sha1").update(e,"utf8").digest("hex");if(e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(void 0===e.length)return method(e);return crypto.createHash("sha1").update(new Buffer(e)).digest("hex")};return nodeMethod};function Sha1(e){e?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Sha1.prototype.update=function(e){if(!this.finalized){var t="string"!=typeof e;t&&e.constructor===root.ArrayBuffer&&(e=new Uint8Array(e));for(var n,r,o=0,i=e.length||0,a=this.blocks;o<i;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),t)for(r=this.start;o<i&&r<64;++o)a[r>>2]|=e[o]<<SHIFT[3&r++];else for(r=this.start;o<i&&r<64;++o)(n=e.charCodeAt(o))<128?a[r>>2]|=n<<SHIFT[3&r++]:n<2048?(a[r>>2]|=(192|n>>6)<<SHIFT[3&r++],a[r>>2]|=(128|63&n)<<SHIFT[3&r++]):n<55296||n>=57344?(a[r>>2]|=(224|n>>12)<<SHIFT[3&r++],a[r>>2]|=(128|n>>6&63)<<SHIFT[3&r++],a[r>>2]|=(128|63&n)<<SHIFT[3&r++]):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++o)),a[r>>2]|=(240|n>>18)<<SHIFT[3&r++],a[r>>2]|=(128|n>>12&63)<<SHIFT[3&r++],a[r>>2]|=(128|n>>6&63)<<SHIFT[3&r++],a[r>>2]|=(128|63&n)<<SHIFT[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.block=a[16],this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha1.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha1.prototype.hash=function(){var e,t,n=this.h0,r=this.h1,o=this.h2,i=this.h3,a=this.h4,s=this.blocks;for(e=16;e<80;++e)t=s[e-3]^s[e-8]^s[e-14]^s[e-16],s[e]=t<<1|t>>>31;for(e=0;e<20;e+=5)n=(t=(r=(t=(o=(t=(i=(t=(a=(t=n<<5|n>>>27)+(r&o|~r&i)+a+1518500249+s[e]<<0)<<5|a>>>27)+(n&(r=r<<30|r>>>2)|~n&o)+i+1518500249+s[e+1]<<0)<<5|i>>>27)+(a&(n=n<<30|n>>>2)|~a&r)+o+1518500249+s[e+2]<<0)<<5|o>>>27)+(i&(a=a<<30|a>>>2)|~i&n)+r+1518500249+s[e+3]<<0)<<5|r>>>27)+(o&(i=i<<30|i>>>2)|~o&a)+n+1518500249+s[e+4]<<0,o=o<<30|o>>>2;for(;e<40;e+=5)n=(t=(r=(t=(o=(t=(i=(t=(a=(t=n<<5|n>>>27)+(r^o^i)+a+1859775393+s[e]<<0)<<5|a>>>27)+(n^(r=r<<30|r>>>2)^o)+i+1859775393+s[e+1]<<0)<<5|i>>>27)+(a^(n=n<<30|n>>>2)^r)+o+1859775393+s[e+2]<<0)<<5|o>>>27)+(i^(a=a<<30|a>>>2)^n)+r+1859775393+s[e+3]<<0)<<5|r>>>27)+(o^(i=i<<30|i>>>2)^a)+n+1859775393+s[e+4]<<0,o=o<<30|o>>>2;for(;e<60;e+=5)n=(t=(r=(t=(o=(t=(i=(t=(a=(t=n<<5|n>>>27)+(r&o|r&i|o&i)+a-1894007588+s[e]<<0)<<5|a>>>27)+(n&(r=r<<30|r>>>2)|n&o|r&o)+i-1894007588+s[e+1]<<0)<<5|i>>>27)+(a&(n=n<<30|n>>>2)|a&r|n&r)+o-1894007588+s[e+2]<<0)<<5|o>>>27)+(i&(a=a<<30|a>>>2)|i&n|a&n)+r-1894007588+s[e+3]<<0)<<5|r>>>27)+(o&(i=i<<30|i>>>2)|o&a|i&a)+n-1894007588+s[e+4]<<0,o=o<<30|o>>>2;for(;e<80;e+=5)n=(t=(r=(t=(o=(t=(i=(t=(a=(t=n<<5|n>>>27)+(r^o^i)+a-899497514+s[e]<<0)<<5|a>>>27)+(n^(r=r<<30|r>>>2)^o)+i-899497514+s[e+1]<<0)<<5|i>>>27)+(a^(n=n<<30|n>>>2)^r)+o-899497514+s[e+2]<<0)<<5|o>>>27)+(i^(a=a<<30|a>>>2)^n)+r-899497514+s[e+3]<<0)<<5|r>>>27)+(o^(i=i<<30|i>>>2)^a)+n-899497514+s[e+4]<<0,o=o<<30|o>>>2;this.h0=this.h0+n<<0,this.h1=this.h1+r<<0,this.h2=this.h2+o<<0,this.h3=this.h3+i<<0,this.h4=this.h4+a<<0},Sha1.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,o=this.h4;return HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]},Sha1.prototype.toString=Sha1.prototype.hex,Sha1.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,o=this.h4;return[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,n>>24&255,n>>16&255,n>>8&255,255&n,r>>24&255,r>>16&255,r>>8&255,255&r,o>>24&255,o>>16&255,o>>8&255,255&o]},Sha1.prototype.array=Sha1.prototype.digest,Sha1.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(20),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),e};var exports=createMethod();COMMON_JS?module.exports=exports:root.sha1=exports})()})),defaultOptions={weixinJsSdkTicket:"",launchContainerQuery:".mazey-launch-app-selector",launchShowWeixinToBrowserImgUrl:"",canShowWeixinToBrowser:!1,extInfo:"",serviceAccountAppId:"",wexinServiceAccountAppId:"",openPlatformMobileAppId:"",genTagPrefixStr:"mazey-launch-app-btn-prefix-",launchShowWeixinToBrowserClassName:"mazey-launch-app-wx-to-browser",launchBtnClassName:"mazey-launch-app-inner-btn",launchBtnStyle:"",launchBtnText:"Launch App <br /><br /><br />",launchErrorLink:"",canContinuousUpdating:!1,onMenuShareTimelineOptions:void 0,onMenuShareAppMessageOptions:void 0,isConClosed:!0,isWxDebug:!1,canLaunchApp:function(){return!0},canFireErrorLinkDirectly:function(){return!1},launchBtnClick:function(){},launchReady:function(){}},index=function(e){void 0===e&&(e=defaultOptions);var t=Object.assign(defaultOptions,e),n=t.weixinJsSdkTicket,r=t.launchContainerQuery,o=t.genTagPrefixStr,i=t.launchShowWeixinToBrowserImgUrl,a=t.canShowWeixinToBrowser,s=t.launchShowWeixinToBrowserClassName,c=t.launchBtnClassName,u=t.launchBtnStyle,l=t.launchBtnText,f=t.launchErrorLink,p=t.wexinServiceAccountAppId,d=t.openPlatformMobileAppId,y=t.canContinuousUpdating,g=t.onMenuShareTimelineOptions,m=t.onMenuShareAppMessageOptions,v=t.isConClosed,b=t.isWxDebug,S=t.canLaunchApp,T=t.canFireErrorLinkDirectly,E=t.launchBtnClick,C=t.launchReady,O=t.serviceAccountAppId,A=t.extInfo,w=window.wx;w||console.error("Launch App: wx is not found");var x=function(){},P=Re("LaunchCon:",{isClosed:v});P.log("Launch App");var I={title:"",link:"",imgUrl:"",success:function(){},cancel:function(){}},R={title:"",desc:"",link:"",imgUrl:"",type:"",dataUrl:"",success:function(){},cancel:function(){}},_={title:document.title,link:location.href};I=__assign(__assign({},I),_),R=__assign(__assign({},R),_);var j=function(e,t,n){return void 0===e&&(e=""),void 0===t&&(t=""),void 0===n&&(n="button"),"<style>.".concat(c,"{")+"opacity: 0;width: 100%;height: 100%;backgroud: transparent;color: #300f54;border: none;box-sizing: border-box;text-align: center;vertical-align: middle;"+u+t+"}</style>"+"<".concat(n,' class="').concat(c,'"')+(e&&"button"===n?' onclick="'.concat(e,'"'):"")+(e&&"a"===n?' target="_self" href="'.concat(e,'"'):"")+">"+l+"</".concat(n,">")},N=j();function $(){ze('.mazey-launch-app-mask{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, .5);text-align:right;font-size:0;white-space:nowrap;overflow:auto;z-index:999;}.mazey-launch-app-img{display:inline-block;vertical-align:middle;text-align:left;font-size:14px;white-space:normal;width:50vw;margin:0.5rem 0.5rem 0 0;}.mazey-launch-app-img:after{content:"";display:inline-block;height:100%;vertical-align:middle;}',{id:"mazey-launch-app-mask-style"}),window.LAUNCH_APP_HIDE_WEIXIN_BROWSER||(window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=function(){jquery(".mazey-launch-app-mask").hide()}),0===jquery(".mazey-launch-app-mask").length?jquery("body").append("<div class='mazey-launch-app-mask' onclick='window.LAUNCH_APP_HIDE_WEIXIN_BROWSER()'><img "+"class='mazey-launch-app-img ".concat(s,"' ")+"src='".concat(i,"' ")+"alt='Launch App' /></div>"):jquery(".mazey-launch-app-mask").show()}function D(){P.log("renderWeixinLaunchTemplate"),!O&&p&&(console.warn("wexinServiceAccountAppId will be deprecated, use serviceAccountAppId instead."),O=p),function(e,t){void 0===e&&(e=""),void 0===t&&(t=""),P.log("renderWXOpenLaunchApp"),Promise.all([Promise.resolve(n||window.LAUNCH_APP_WEIXIN_JS_SDK_TICKET),Promise.resolve(sha1)]).then((function(n){P.log("allRes",n);var i=n[0],s=n[1],c=h(7),u=i,l=(new Date).getTime(),p=s("jsapi_ticket="+u+"&noncestr="+c+"×tamp="+l+"&url="+location.href);return w.config({debug:b,appId:e,timestamp:l,nonceStr:c,signature:p,jsApiList:["showOptionMenu","onMenuShareTimeline","onMenuShareAppMessage"],openTagList:["wx-open-launch-app"]}),w.ready((function(){g&&(P.log("onMenuShareTimelineOptions",g),w.onMenuShareTimeline(g)),window.LAUNCH_APP_SHARE_TIMELINE=function(e){e=__assign(__assign({},I),e),P.log("window LAUNCH_APP_SHARE_TIMELINE",e),w.onMenuShareTimeline(e)},m&&(P.log("onMenuShareAppMessageOptions",m),w.onMenuShareAppMessage(m)),window.LAUNCH_APP_SHARE_APP_MESSAGE=function(e){e=__assign(__assign({},R),e),P.log("window LAUNCH_APP_SHARE_APP_MESSAGE",e),w.onMenuShareAppMessage(e)},window.LAUNCH_APP_READY=!0,C&&C();var e=function(){var e=jquery(r);P.log("containers",r,e,e.length),e.length>0&&e.each((function(e,n){var r=jquery(n).attr("data-launch-app-key");if(!r){var i=jquery(n).parents("[data-launch-app-key]:eq(0)");i.length>0&&(r=i.attr("data-launch-app-key"),P.log("keyEle",i,r))}r||(r=String(e));var s="mazey-launch-app-tag-".concat(r),c=jquery(".".concat(s," wx-open-launch-app")),u=jquery(n).attr("data-launch-app-ext-info");if(!u){var l=jquery(n).parents("[data-launch-app-ext-info]:eq(0)");l.length>0&&(u=l.attr("data-launch-app-ext-info"),P.log("eleExtInfoEle parents",l,u))}u&&(A=u);var p=jquery(n).attr("data-launch-app-error-link");if(!p){var d=jquery(n).parents("[data-launch-app-error-link]:eq(0)");d.length>0&&(p=d.attr("data-launch-app-error-link"),P.log("eleErrorLinkEle parents",d,p))}var h=f;p&&(h=p),0===c.length&&(jquery(n).addClass(s),P.log("success:",s),function(e){var n=o,r=n+e,i="<wx-open-launch-app id='"+r+"' appid='"+t+"' extinfo='".concat(A)+"' style='z-index:99;position:absolute;width:100%;height:100%;opacity:1;background:transparent;overflow:hidden;left:0;'><script type='text/wxtag-template'>"+N+"<\/script></wx-open-launch-app>";jquery("."+e+":eq(0)").append(i);var s=document.getElementById(r);s&&(s.addEventListener("ready",(function(e){P.log("ready event",e)})),s.addEventListener("launch",(function(e){P.log("launch event",e),e.detail&&e.detail.extInfo&&P.log("launch extInfo",e.detail.extInfo)})),s.addEventListener("error",(function(e){P.error(e.detail),jquery("[id^='"+n+"']").hide(),a&&$(),h&&(P.log("realErrorLink",h),location.href=h)})),s.addEventListener("click",(function(e){P.log("click event",e),E&&E()})))}(s))}))};e(),x=e})),w.error((function(e){P.error(e)})),"success:launch_app"})).catch((function(e){P.error(e)}))}(O,d)}function k(e){if(P.log("appUpdated",e),!window.LAUNCH_APP_LOAD&&S(e)&&(D(),window.LAUNCH_APP_LOAD=!0),y&&window.LAUNCH_APP_LOAD&&S(e)&&x(),T()){var t=jquery(r);t.length>0&&t.each((function(e,t){var n=jquery(t).children("."+c);if(!n||!n.length){var r=jquery(t).attr("data-launch-app-error-link");if(!r){var o=jquery(t).parents("[data-launch-app-error-link]:eq(0)");o.length>0&&(r=o.attr("data-launch-app-error-link"))}if(r&&"string"==typeof r&&r.length){var i=j(r,"position:absolute;left:0;z-index:999;","a");jquery(t).append(i)}}}))}}function L(){P.log("appBeforeDestroy",L),window.LAUNCH_APP_LOAD=null,window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=null}return window.LAUNCH_APP_UPDATE=k,window.LAUNCH_APP_BEFORE_DESTROY=L,window.LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER=$,{LAUNCH_APP_UPDATE:k,LAUNCH_APP_BEFORE_DESTROY:L,LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER:$,LAUNCH_APP_SHARE_TIMELINE:function(e){P.log("opt",e)},LAUNCH_APP_SHARE_APP_MESSAGE:function(e){P.log("opt",e)},start:k,update:k,destroy:L}};return index}();
|
|
6
|
+
var LAUNCH_APP=function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var n,r,o=function(t){return t&&t.Math==Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof t&&t)||function(){return this}()||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},c=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),s=Function.prototype.call,f=u?s.bind(s):function(){return s.apply(s,arguments)},l={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,d=p&&!l.call({1:2},1)?function(t){var e=p(this,t);return!!e&&e.enumerable}:l,h={f:d},v=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},y=Function.prototype,g=y.call,m=u&&y.bind.bind(g,g),b=u?m:function(t){return function(){return g.apply(t,arguments)}},w=b({}.toString),S=b("".slice),A=function(t){return S(w(t),8,-1)},O=Object,E=b("".split),P=a((function(){return!O("z").propertyIsEnumerable(0)}))?function(t){return"String"==A(t)?E(t,""):O(t)}:O,T=function(t){return null==t},_=TypeError,j=function(t){if(T(t))throw _("Can't call method on "+t);return t},L=function(t){return P(j(t))},C="object"==typeof document&&document.all,x={all:C,IS_HTMLDDA:void 0===C&&void 0!==C},I=x.all,k=x.IS_HTMLDDA?function(t){return"function"==typeof t||t===I}:function(t){return"function"==typeof t},R=x.all,M=x.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:k(t)||t===R}:function(t){return"object"==typeof t?null!==t:k(t)},N=function(t,e){return arguments.length<2?(n=i[t],k(n)?n:void 0):i[t]&&i[t][e];var n},D=b({}.isPrototypeOf),U="undefined"!=typeof navigator&&String(navigator.userAgent)||"",H=i.process,B=i.Deno,F=H&&H.versions||B&&B.version,W=F&&F.v8;W&&(r=(n=W.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&U&&(!(n=U.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=U.match(/Chrome\/(\d+)/))&&(r=+n[1]);var z=r,G=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&z&&z<41})),q=G&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,V=Object,X=q?function(t){return"symbol"==typeof t}:function(t){var e=N("Symbol");return k(e)&&D(e.prototype,V(t))},J=String,Y=function(t){try{return J(t)}catch(t){return"Object"}},K=TypeError,$=function(t){if(k(t))return t;throw K(Y(t)+" is not a function")},Q=function(t,e){var n=t[e];return T(n)?void 0:$(n)},Z=TypeError,tt=Object.defineProperty,et=function(t,e){try{tt(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e},nt="__core-js_shared__",rt=i[nt]||et(nt,{}),ot=e((function(t){(t.exports=function(t,e){return rt[t]||(rt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),it=Object,at=function(t){return it(j(t))},ct=b({}.hasOwnProperty),ut=Object.hasOwn||function(t,e){return ct(at(t),e)},st=0,ft=Math.random(),lt=b(1..toString),pt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+lt(++st+ft,36)},dt=i.Symbol,ht=ot("wks"),vt=q?dt.for||dt:dt&&dt.withoutSetter||pt,yt=function(t){return ut(ht,t)||(ht[t]=G&&ut(dt,t)?dt[t]:vt("Symbol."+t)),ht[t]},gt=TypeError,mt=yt("toPrimitive"),bt=function(t,e){if(!M(t)||X(t))return t;var n,r=Q(t,mt);if(r){if(void 0===e&&(e="default"),n=f(r,t,e),!M(n)||X(n))return n;throw gt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&k(n=t.toString)&&!M(r=f(n,t)))return r;if(k(n=t.valueOf)&&!M(r=f(n,t)))return r;if("string"!==e&&k(n=t.toString)&&!M(r=f(n,t)))return r;throw Z("Can't convert object to primitive value")}(t,e)},wt=function(t){var e=bt(t,"string");return X(e)?e:e+""},St=i.document,At=M(St)&&M(St.createElement),Ot=function(t){return At?St.createElement(t):{}},Et=!c&&!a((function(){return 7!=Object.defineProperty(Ot("div"),"a",{get:function(){return 7}}).a})),Pt=Object.getOwnPropertyDescriptor,Tt={f:c?Pt:function(t,e){if(t=L(t),e=wt(e),Et)try{return Pt(t,e)}catch(t){}if(ut(t,e))return v(!f(h.f,t,e),t[e])}},_t=c&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),jt=String,Lt=TypeError,Ct=function(t){if(M(t))return t;throw Lt(jt(t)+" is not an object")},xt=TypeError,It=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,Rt="enumerable",Mt="configurable",Nt="writable",Dt={f:c?_t?function(t,e,n){if(Ct(t),e=wt(e),Ct(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Nt in n&&!n[Nt]){var r=kt(t,e);r&&r[Nt]&&(t[e]=n.value,n={configurable:Mt in n?n[Mt]:r[Mt],enumerable:Rt in n?n[Rt]:r[Rt],writable:!1})}return It(t,e,n)}:It:function(t,e,n){if(Ct(t),e=wt(e),Ct(n),Et)try{return It(t,e,n)}catch(t){}if("get"in n||"set"in n)throw xt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Ut=c?function(t,e,n){return Dt.f(t,e,v(1,n))}:function(t,e,n){return t[e]=n,t},Ht=Function.prototype,Bt=c&&Object.getOwnPropertyDescriptor,Ft=ut(Ht,"name"),Wt={EXISTS:Ft,PROPER:Ft&&"something"===function(){}.name,CONFIGURABLE:Ft&&(!c||c&&Bt(Ht,"name").configurable)},zt=b(Function.toString);k(rt.inspectSource)||(rt.inspectSource=function(t){return zt(t)});var Gt,qt,Vt,Xt=rt.inspectSource,Jt=i.WeakMap,Yt=k(Jt)&&/native code/.test(String(Jt)),Kt=ot("keys"),$t=function(t){return Kt[t]||(Kt[t]=pt(t))},Qt={},Zt="Object already initialized",te=i.TypeError,ee=i.WeakMap;if(Yt||rt.state){var ne=rt.state||(rt.state=new ee);ne.get=ne.get,ne.has=ne.has,ne.set=ne.set,Gt=function(t,e){if(ne.has(t))throw te(Zt);return e.facade=t,ne.set(t,e),e},qt=function(t){return ne.get(t)||{}},Vt=function(t){return ne.has(t)}}else{var re=$t("state");Qt[re]=!0,Gt=function(t,e){if(ut(t,re))throw te(Zt);return e.facade=t,Ut(t,re,e),e},qt=function(t){return ut(t,re)?t[re]:{}},Vt=function(t){return ut(t,re)}}var oe={set:Gt,get:qt,has:Vt,enforce:function(t){return Vt(t)?qt(t):Gt(t,{})},getterFor:function(t){return function(e){var n;if(!M(e)||(n=qt(e)).type!==t)throw te("Incompatible receiver, "+t+" required");return n}}},ie=e((function(t){var e=Wt.CONFIGURABLE,n=oe.enforce,r=oe.get,o=String,i=Object.defineProperty,u=b("".slice),s=b("".replace),f=b([].join),l=c&&!a((function(){return 8!==i((function(){}),"length",{value:8}).length})),p=String(String).split("String"),d=t.exports=function(t,r,a){"Symbol("===u(o(r),0,7)&&(r="["+s(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),a&&a.getter&&(r="get "+r),a&&a.setter&&(r="set "+r),(!ut(t,"name")||e&&t.name!==r)&&(c?i(t,"name",{value:r,configurable:!0}):t.name=r),l&&a&&ut(a,"arity")&&t.length!==a.arity&&i(t,"length",{value:a.arity});try{a&&ut(a,"constructor")&&a.constructor?c&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var d=n(t);return ut(d,"source")||(d.source=f(p,"string"==typeof r?r:"")),t};Function.prototype.toString=d((function(){return k(this)&&r(this).source||Xt(this)}),"toString")})),ae=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(k(n)&&ie(n,i,r),r.global)o?t[e]=n:et(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:Dt.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},ce=Math.ceil,ue=Math.floor,se=Math.trunc||function(t){var e=+t;return(e>0?ue:ce)(e)},fe=function(t){var e=+t;return e!=e||0===e?0:se(e)},le=Math.max,pe=Math.min,de=Math.min,he=function(t){return(e=t.length)>0?de(fe(e),9007199254740991):0;var e},ve=function(t){return function(e,n,r){var o,i=L(e),a=he(i),c=function(t,e){var n=fe(t);return n<0?le(n+e,0):pe(n,e)}(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},ye={includes:ve(!0),indexOf:ve(!1)}.indexOf,ge=b([].push),me=function(t,e){var n,r=L(t),o=0,i=[];for(n in r)!ut(Qt,n)&&ut(r,n)&&ge(i,n);for(;e.length>o;)ut(r,n=e[o++])&&(~ye(i,n)||ge(i,n));return i},be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],we=be.concat("length","prototype"),Se={f:Object.getOwnPropertyNames||function(t){return me(t,we)}},Ae={f:Object.getOwnPropertySymbols},Oe=b([].concat),Ee=N("Reflect","ownKeys")||function(t){var e=Se.f(Ct(t)),n=Ae.f;return n?Oe(e,n(t)):e},Pe=function(t,e,n){for(var r=Ee(e),o=Dt.f,i=Tt.f,a=0;a<r.length;a++){var c=r[a];ut(t,c)||n&&ut(n,c)||o(t,c,i(e,c))}},Te=/#|\.prototype\./,_e=function(t,e){var n=Le[je(t)];return n==xe||n!=Ce&&(k(e)?a(e):!!e)},je=_e.normalize=function(t){return String(t).replace(Te,".").toLowerCase()},Le=_e.data={},Ce=_e.NATIVE="N",xe=_e.POLYFILL="P",Ie=_e,ke=Tt.f,Re=function(t,e){var n,r,o,a,c,u=t.target,s=t.global,f=t.stat;if(n=s?i:f?i[u]||et(u,{}):(i[u]||{}).prototype)for(r in e){if(a=e[r],o=t.dontCallGetSet?(c=ke(n,r))&&c.value:n[r],!Ie(s?r:u+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof a==typeof o)continue;Pe(a,o)}(t.sham||o&&o.sham)&&Ut(a,"sham",!0),ae(n,r,a,t)}},Me=Object.keys||function(t){return me(t,be)},Ne=Object.assign,De=Object.defineProperty,Ue=b([].concat),He=!Ne||a((function(){if(c&&1!==Ne({b:1},Ne(De({},"a",{enumerable:!0,get:function(){De(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Ne({},t)[n]||Me(Ne({},e)).join("")!=r}))?function(t,e){for(var n=at(t),r=arguments.length,o=1,i=Ae.f,a=h.f;r>o;)for(var u,s=P(arguments[o++]),l=i?Ue(Me(s),i(s)):Me(s),p=l.length,d=0;p>d;)u=l[d++],c&&!f(a,s,u)||(n[u]=s[u]);return n}:Ne;Re({target:"Object",stat:!0,arity:2,forced:Object.assign!==He},{assign:He});var Be=Array.isArray||function(t){return"Array"==A(t)},Fe=TypeError,We=function(t){if(t>9007199254740991)throw Fe("Maximum allowed index exceeded");return t},ze=function(t,e,n){var r=wt(e);r in t?Dt.f(t,r,v(0,n)):t[r]=n},Ge={};Ge[yt("toStringTag")]="z";var qe="[object z]"===String(Ge),Ve=yt("toStringTag"),Xe=Object,Je="Arguments"==A(function(){return arguments}()),Ye=qe?A:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Xe(t),Ve))?n:Je?A(e):"Object"==(r=A(e))&&k(e.callee)?"Arguments":r},Ke=function(){},$e=[],Qe=N("Reflect","construct"),Ze=/^\s*(?:class|function)\b/,tn=b(Ze.exec),en=!Ze.exec(Ke),nn=function(t){if(!k(t))return!1;try{return Qe(Ke,$e,t),!0}catch(t){return!1}},rn=function(t){if(!k(t))return!1;switch(Ye(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return en||!!tn(Ze,Xt(t))}catch(t){return!0}};rn.sham=!0;var on,an=!Qe||a((function(){var t;return nn(nn.call)||!nn(Object)||!nn((function(){t=!0}))||t}))?rn:nn,cn=yt("species"),un=Array,sn=function(t,e){return new(function(t){var e;return Be(t)&&(e=t.constructor,(an(e)&&(e===un||Be(e.prototype))||M(e)&&null===(e=e[cn]))&&(e=void 0)),void 0===e?un:e}(t))(0===e?0:e)},fn=yt("species"),ln=yt("isConcatSpreadable"),pn=z>=51||!a((function(){var t=[];return t[ln]=!1,t.concat()[0]!==t})),dn=function(t){if(!M(t))return!1;var e=t[ln];return void 0!==e?!!e:Be(t)},hn=!(pn&&(on="concat",z>=51||!a((function(){var t=[];return(t.constructor={})[fn]=function(){return{foo:1}},1!==t[on](Boolean).foo}))));Re({target:"Array",proto:!0,arity:1,forced:hn},{concat:function(t){var e,n,r,o,i,a=at(this),c=sn(a,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(dn(i=-1===e?a:arguments[e]))for(o=he(i),We(u+o),n=0;n<o;n++,u++)n in i&&ze(c,u,i[n]);else We(u+1),ze(c,u++,i);return c.length=u,c}});var vn,yn=c&&!_t?Object.defineProperties:function(t,e){Ct(t);for(var n,r=L(e),o=Me(e),i=o.length,a=0;i>a;)Dt.f(t,n=o[a++],r[n]);return t},gn={f:yn},mn=N("document","documentElement"),bn="prototype",wn="script",Sn=$t("IE_PROTO"),An=function(){},On=function(t){return"<"+wn+">"+t+"</"+wn+">"},En=function(t){t.write(On("")),t.close();var e=t.parentWindow.Object;return t=null,e},Pn=function(){try{vn=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;Pn="undefined"!=typeof document?document.domain&&vn?En(vn):(e=Ot("iframe"),n="java"+wn+":",e.style.display="none",mn.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(On("document.F=Object")),t.close(),t.F):En(vn);for(var r=be.length;r--;)delete Pn[bn][be[r]];return Pn()};Qt[Sn]=!0;var Tn=Object.create||function(t,e){var n;return null!==t?(An[bn]=Ct(t),n=new An,An[bn]=null,n[Sn]=t):n=Pn(),void 0===e?n:gn.f(n,e)},_n=Dt.f,jn=yt("unscopables"),Ln=Array.prototype;null==Ln[jn]&&_n(Ln,jn,{configurable:!0,value:Tn(null)});var Cn,xn,In,kn=function(t){Ln[jn][t]=!0},Rn={},Mn=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Nn=$t("IE_PROTO"),Dn=Object,Un=Dn.prototype,Hn=Mn?Dn.getPrototypeOf:function(t){var e=at(t);if(ut(e,Nn))return e[Nn];var n=e.constructor;return k(n)&&e instanceof n?n.prototype:e instanceof Dn?Un:null},Bn=yt("iterator"),Fn=!1;[].keys&&("next"in(In=[].keys())?(xn=Hn(Hn(In)))!==Object.prototype&&(Cn=xn):Fn=!0);var Wn=!M(Cn)||a((function(){var t={};return Cn[Bn].call(t)!==t}));Wn&&(Cn={}),k(Cn[Bn])||ae(Cn,Bn,(function(){return this}));var zn={IteratorPrototype:Cn,BUGGY_SAFARI_ITERATORS:Fn},Gn=Dt.f,qn=yt("toStringTag"),Vn=function(t,e,n){t&&!n&&(t=t.prototype),t&&!ut(t,qn)&&Gn(t,qn,{configurable:!0,value:e})},Xn=zn.IteratorPrototype,Jn=function(){return this},Yn=String,Kn=TypeError,$n=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return b($(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return Ct(n),function(t){if("object"==typeof t||k(t))return t;throw Kn("Can't set "+Yn(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),Qn=Wt.PROPER,Zn=Wt.CONFIGURABLE,tr=zn.IteratorPrototype,er=zn.BUGGY_SAFARI_ITERATORS,nr=yt("iterator"),rr="keys",or="values",ir="entries",ar=function(){return this},cr=function(t,e,n,r,o,i,a){!function(t,e,n,r){var o=e+" Iterator";t.prototype=Tn(Xn,{next:v(+!r,n)}),Vn(t,o,!1),Rn[o]=Jn}(n,e,r);var c,u,s,l=function(t){if(t===o&&g)return g;if(!er&&t in h)return h[t];switch(t){case rr:case or:case ir:return function(){return new n(this,t)}}return function(){return new n(this)}},p=e+" Iterator",d=!1,h=t.prototype,y=h[nr]||h["@@iterator"]||o&&h[o],g=!er&&y||l(o),m="Array"==e&&h.entries||y;if(m&&(c=Hn(m.call(new t)))!==Object.prototype&&c.next&&(Hn(c)!==tr&&($n?$n(c,tr):k(c[nr])||ae(c,nr,ar)),Vn(c,p,!0)),Qn&&o==or&&y&&y.name!==or&&(Zn?Ut(h,"name",or):(d=!0,g=function(){return f(y,this)})),o)if(u={values:l(or),keys:i?g:l(rr),entries:l(ir)},a)for(s in u)(er||d||!(s in h))&&ae(h,s,u[s]);else Re({target:e,proto:!0,forced:er||d},u);return h[nr]!==g&&ae(h,nr,g,{name:o}),Rn[e]=g,u},ur=function(t,e){return{value:t,done:e}},sr=Dt.f,fr="Array Iterator",lr=oe.set,pr=oe.getterFor(fr),dr=cr(Array,"Array",(function(t,e){lr(this,{type:fr,target:L(t),index:0,kind:e})}),(function(){var t=pr(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,ur(void 0,!0)):ur("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values"),hr=Rn.Arguments=Rn.Array;if(kn("keys"),kn("values"),kn("entries"),c&&"values"!==hr.name)try{sr(hr,"name",{value:"values"})}catch(t){}var vr=qe?{}.toString:function(){return"[object "+Ye(this)+"]"};qe||ae(Object.prototype,"toString",vr,{unsafe:!0});var yr,gr,mr,br,wr="undefined"!=typeof process&&"process"==A(process),Sr=yt("species"),Ar=TypeError,Or=TypeError,Er=yt("species"),Pr=function(t,e){var n,r=Ct(t).constructor;return void 0===r||T(n=Ct(r)[Er])?e:function(t){if(an(t))return t;throw Or(Y(t)+" is not a constructor")}(n)},Tr=Function.prototype,_r=Tr.apply,jr=Tr.call,Lr="object"==typeof Reflect&&Reflect.apply||(u?jr.bind(_r):function(){return jr.apply(_r,arguments)}),Cr=function(t){if("Function"===A(t))return b(t)},xr=Cr(Cr.bind),Ir=function(t,e){return $(t),void 0===e?t:u?xr(t,e):function(){return t.apply(e,arguments)}},kr=b([].slice),Rr=TypeError,Mr=/(?:ipad|iphone|ipod).*applewebkit/i.test(U),Nr=i.setImmediate,Dr=i.clearImmediate,Ur=i.process,Hr=i.Dispatch,Br=i.Function,Fr=i.MessageChannel,Wr=i.String,zr=0,Gr={},qr="onreadystatechange";a((function(){yr=i.location}));var Vr=function(t){if(ut(Gr,t)){var e=Gr[t];delete Gr[t],e()}},Xr=function(t){return function(){Vr(t)}},Jr=function(t){Vr(t.data)},Yr=function(t){i.postMessage(Wr(t),yr.protocol+"//"+yr.host)};Nr&&Dr||(Nr=function(t){!function(t,e){if(t<e)throw Rr("Not enough arguments")}(arguments.length,1);var e=k(t)?t:Br(t),n=kr(arguments,1);return Gr[++zr]=function(){Lr(e,void 0,n)},gr(zr),zr},Dr=function(t){delete Gr[t]},wr?gr=function(t){Ur.nextTick(Xr(t))}:Hr&&Hr.now?gr=function(t){Hr.now(Xr(t))}:Fr&&!Mr?(br=(mr=new Fr).port2,mr.port1.onmessage=Jr,gr=Ir(br.postMessage,br)):i.addEventListener&&k(i.postMessage)&&!i.importScripts&&yr&&"file:"!==yr.protocol&&!a(Yr)?(gr=Yr,i.addEventListener("message",Jr,!1)):gr=qr in Ot("script")?function(t){mn.appendChild(Ot("script"))[qr]=function(){mn.removeChild(this),Vr(t)}}:function(t){setTimeout(Xr(t),0)});var Kr={set:Nr,clear:Dr},$r=function(){this.head=null,this.tail=null};$r.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Qr,Zr,to,eo,no,ro=$r,oo=/ipad|iphone|ipod/i.test(U)&&"undefined"!=typeof Pebble,io=/web0s(?!.*chrome)/i.test(U),ao=Tt.f,co=Kr.set,uo=i.MutationObserver||i.WebKitMutationObserver,so=i.document,fo=i.process,lo=i.Promise,po=ao(i,"queueMicrotask"),ho=po&&po.value;if(!ho){var vo=new ro,yo=function(){var t,e;for(wr&&(t=fo.domain)&&t.exit();e=vo.get();)try{e()}catch(t){throw vo.head&&Qr(),t}t&&t.enter()};Mr||wr||io||!uo||!so?!oo&&lo&&lo.resolve?((eo=lo.resolve(void 0)).constructor=lo,no=Ir(eo.then,eo),Qr=function(){no(yo)}):wr?Qr=function(){fo.nextTick(yo)}:(co=Ir(co,i),Qr=function(){co(yo)}):(Zr=!0,to=so.createTextNode(""),new uo(yo).observe(to,{characterData:!0}),Qr=function(){to.data=Zr=!Zr}),ho=function(t){vo.head||Qr(),vo.add(t)}}var go=ho,mo=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},bo=i.Promise,wo="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,So=!wo&&!wr&&"object"==typeof window&&"object"==typeof document;bo&&bo.prototype;var Ao,Oo,Eo,Po,To,_o,jo,Lo=yt("species"),Co=!1,xo=k(i.PromiseRejectionEvent),Io=Ie("Promise",(function(){var t=Xt(bo),e=t!==String(bo);if(!e&&66===z)return!0;if(!z||z<51||!/native code/.test(t)){var n=new bo((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[Lo]=r,!(Co=n.then((function(){}))instanceof r))return!0}return!e&&(So||wo)&&!xo})),ko={CONSTRUCTOR:Io,REJECTION_EVENT:xo,SUBCLASSING:Co},Ro=TypeError,Mo=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw Ro("Bad Promise constructor");e=t,n=r})),this.resolve=$(e),this.reject=$(n)},No={f:function(t){return new Mo(t)}},Do=Kr.set,Uo="Promise",Ho=ko.CONSTRUCTOR,Bo=ko.REJECTION_EVENT,Fo=ko.SUBCLASSING,Wo=oe.getterFor(Uo),zo=oe.set,Go=bo&&bo.prototype,qo=bo,Vo=Go,Xo=i.TypeError,Jo=i.document,Yo=i.process,Ko=No.f,$o=Ko,Qo=!!(Jo&&Jo.createEvent&&i.dispatchEvent),Zo="unhandledrejection",ti=function(t){var e;return!(!M(t)||!k(e=t.then))&&e},ei=function(t,e){var n,r,o,i=e.value,a=1==e.state,c=a?t.ok:t.fail,u=t.resolve,s=t.reject,l=t.domain;try{c?(a||(2===e.rejection&&ai(e),e.rejection=1),!0===c?n=i:(l&&l.enter(),n=c(i),l&&(l.exit(),o=!0)),n===t.promise?s(Xo("Promise-chain cycle")):(r=ti(n))?f(r,n,u,s):u(n)):s(i)}catch(t){l&&!o&&l.exit(),s(t)}},ni=function(t,e){t.notified||(t.notified=!0,go((function(){for(var n,r=t.reactions;n=r.get();)ei(n,t);t.notified=!1,e&&!t.rejection&&oi(t)})))},ri=function(t,e,n){var r,o;Qo?((r=Jo.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),i.dispatchEvent(r)):r={promise:e,reason:n},!Bo&&(o=i["on"+t])?o(r):t===Zo&&function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",n)},oi=function(t){f(Do,i,(function(){var e,n=t.facade,r=t.value;if(ii(t)&&(e=mo((function(){wr?Yo.emit("unhandledRejection",r,n):ri(Zo,n,r)})),t.rejection=wr||ii(t)?2:1,e.error))throw e.value}))},ii=function(t){return 1!==t.rejection&&!t.parent},ai=function(t){f(Do,i,(function(){var e=t.facade;wr?Yo.emit("rejectionHandled",e):ri("rejectionhandled",e,t.value)}))},ci=function(t,e,n){return function(r){t(e,r,n)}},ui=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,ni(t,!0))},si=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Xo("Promise can't be resolved itself");var r=ti(e);r?go((function(){var n={done:!1};try{f(r,e,ci(si,n,t),ci(ui,n,t))}catch(e){ui(n,e,t)}})):(t.value=e,t.state=1,ni(t,!1))}catch(e){ui({done:!1},e,t)}}};if(Ho&&(Vo=(qo=function(t){!function(t,e){if(D(e,t))return t;throw Ar("Incorrect invocation")}(this,Vo),$(t),f(Ao,this);var e=Wo(this);try{t(ci(si,e),ci(ui,e))}catch(t){ui(e,t)}}).prototype,(Ao=function(t){zo(this,{type:Uo,done:!1,notified:!1,parent:!1,reactions:new ro,rejection:!1,state:0,value:void 0})}).prototype=ae(Vo,"then",(function(t,e){var n=Wo(this),r=Ko(Pr(this,qo));return n.parent=!0,r.ok=!k(t)||t,r.fail=k(e)&&e,r.domain=wr?Yo.domain:void 0,0==n.state?n.reactions.add(r):go((function(){ei(r,n)})),r.promise})),Oo=function(){var t=new Ao,e=Wo(t);this.promise=t,this.resolve=ci(si,e),this.reject=ci(ui,e)},No.f=Ko=function(t){return t===qo||undefined===t?new Oo(t):$o(t)},k(bo)&&Go!==Object.prototype)){Eo=Go.then,Fo||ae(Go,"then",(function(t,e){var n=this;return new qo((function(t,e){f(Eo,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete Go.constructor}catch(t){}$n&&$n(Go,Vo)}Re({global:!0,constructor:!0,wrap:!0,forced:Ho},{Promise:qo}),Vn(qo,Uo,!1),jo=N(Uo),c&&jo&&!jo[Sr]&&(Po=jo,To=Sr,(_o={configurable:!0,get:function(){return this}}).get&&ie(_o.get,To,{getter:!0}),_o.set&&ie(_o.set,To,{setter:!0}),Dt.f(Po,To,_o));var fi=yt("iterator"),li=Array.prototype,pi=yt("iterator"),di=function(t){if(!T(t))return Q(t,pi)||Q(t,"@@iterator")||Rn[Ye(t)]},hi=TypeError,vi=function(t,e,n){var r,o;Ct(t);try{if(!(r=Q(t,"return"))){if("throw"===e)throw n;return n}r=f(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return Ct(r),n},yi=TypeError,gi=function(t,e){this.stopped=t,this.result=e},mi=gi.prototype,bi=function(t,e,n){var r,o,i,a,c,u,s,l,p=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_RECORD),v=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),g=Ir(e,p),m=function(t){return r&&vi(r,"normal",t),new gi(!0,t)},b=function(t){return d?(Ct(t),y?g(t[0],t[1],m):g(t[0],t[1])):y?g(t,m):g(t)};if(h)r=t.iterator;else if(v)r=t;else{if(!(o=di(t)))throw yi(Y(t)+" is not iterable");if(void 0!==(l=o)&&(Rn.Array===l||li[fi]===l)){for(i=0,a=he(t);a>i;i++)if((c=b(t[i]))&&D(mi,c))return c;return new gi(!1)}r=function(t,e){var n=arguments.length<2?di(t):e;if($(n))return Ct(f(n,t));throw hi(Y(t)+" is not iterable")}(t,o)}for(u=h?t.next:r.next;!(s=f(u,r)).done;){try{c=b(s.value)}catch(t){vi(r,"throw",t)}if("object"==typeof c&&c&&D(mi,c))return c}return new gi(!1)},wi=yt("iterator"),Si=!1;try{var Ai=0,Oi={next:function(){return{done:!!Ai++}},return:function(){Si=!0}};Oi[wi]=function(){return this},Array.from(Oi,(function(){throw 2}))}catch(t){}var Ei=ko.CONSTRUCTOR||!function(t,e){if(!e&&!Si)return!1;var n=!1;try{var r={};r[wi]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}((function(t){bo.all(t).then(void 0,(function(){}))}));Re({target:"Promise",stat:!0,forced:Ei},{all:function(t){var e=this,n=No.f(e),r=n.resolve,o=n.reject,i=mo((function(){var n=$(e.resolve),i=[],a=0,c=1;bi(t,(function(t){var u=a++,s=!1;c++,f(n,e,t).then((function(t){s||(s=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var Pi=ko.CONSTRUCTOR,Ti=bo&&bo.prototype;if(Re({target:"Promise",proto:!0,forced:Pi,real:!0},{catch:function(t){return this.then(void 0,t)}}),k(bo)){var _i=N("Promise").prototype.catch;Ti.catch!==_i&&ae(Ti,"catch",_i,{unsafe:!0})}Re({target:"Promise",stat:!0,forced:Ei},{race:function(t){var e=this,n=No.f(e),r=n.reject,o=mo((function(){var o=$(e.resolve);bi(t,(function(t){f(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),Re({target:"Promise",stat:!0,forced:ko.CONSTRUCTOR},{reject:function(t){var e=No.f(this);return f(e.reject,void 0,t),e.promise}});var ji=ko.CONSTRUCTOR;N("Promise"),Re({target:"Promise",stat:!0,forced:ji},{resolve:function(t){return function(t,e){if(Ct(t),M(e)&&e.constructor===t)return e;var n=No.f(t);return(0,n.resolve)(e),n.promise}(this,t)}});var Li=String,Ci=function(t){if("Symbol"===Ye(t))throw TypeError("Cannot convert a Symbol value to a string");return Li(t)},xi=b("".charAt),Ii=b("".charCodeAt),ki=b("".slice),Ri=function(t){return function(e,n){var r,o,i=Ci(j(e)),a=fe(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=Ii(i,a))<55296||r>56319||a+1===c||(o=Ii(i,a+1))<56320||o>57343?t?xi(i,a):r:t?ki(i,a,a+2):o-56320+(r-55296<<10)+65536}},Mi={codeAt:Ri(!1),charAt:Ri(!0)}.charAt,Ni="String Iterator",Di=oe.set,Ui=oe.getterFor(Ni);cr(String,"String",(function(t){Di(this,{type:Ni,string:Ci(t),index:0})}),(function(){var t,e=Ui(this),n=e.string,r=e.index;return r>=n.length?ur(void 0,!0):(t=Mi(n,r),e.index+=t.length,ur(t,!1))}));var Hi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Bi=Ot("span").classList,Fi=Bi&&Bi.constructor&&Bi.constructor.prototype,Wi=Fi===Object.prototype?void 0:Fi,zi=yt("iterator"),Gi=yt("toStringTag"),qi=dr.values,Vi=function(t,e){if(t){if(t[zi]!==qi)try{Ut(t,zi,qi)}catch(e){t[zi]=qi}if(t[Gi]||Ut(t,Gi,e),Hi[e])for(var n in dr)if(t[n]!==dr[n])try{Ut(t,n,dr[n])}catch(e){t[n]=dr[n]}}};for(var Xi in Hi)Vi(i[Xi]&&i[Xi].prototype,Xi);Vi(Wi,"DOMTokenList");var Ji=function(){return Ji=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Ji.apply(this,arguments)},Yi=function(){return Yi=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Yi.apply(this,arguments)};function Ki(t){return void 0===t&&(t=5),function(t){void 0===t&&(t=5);for(var e="";t--;)e+=Math.floor(10*Math.random());return e}(t)}function $i(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),n=location.search.substring(1).match(e);return null!==n?decodeURIComponent(n[2]):""}"function"==typeof SuppressedError&&SuppressedError;var Qi={isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",isStringifyObject:!1,logFn:function(){},errorFn:function(){}};function Zi(t,e){void 0===t&&(t=""),void 0===e&&(e=Yi({},Qi));var n=Object.assign(Yi({},Qi),e),r=n.isClosed,o=n.showWrap,i=n.showDate,a=n.locales,c=n.isStringifyObject,u=n.logFn,s=n.errorFn,f=Object.create(null),l=function(){return(new Date).toLocaleDateString(a,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})};return["log","info","warn","error"].forEach((function(e){f[e]=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r)return!1;var f=t,p=t;if("string"==typeof t&&t.length>=2){var d=t.length;f=":"===t[d-1]?t.substring(0,d-1):t}o&&console.log("--- ".concat(f," - begin ---")),i&&(p=t?"".concat(l()," ").concat(t):"".concat(l())),c&&(n=n.map((function(t){return function(t){var e=Boolean(t),n="object"==typeof t,r="[object Object]"===Object.prototype.toString.call(t);return e&&n&&r}(t)?JSON.stringify(t):t}))),t||i?console[e].apply(console,function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}([p],n,!1)):console[e].apply(console,n),"log"===e&&u(),"error"===e&&s(),o&&console.log("--- ".concat(f," - end ---"))}})),f}Zi("[Mazey]"),Zi("",{showDate:!0,locales:"zh-CN",isStringifyObject:!0});var ta={weixinJsSdkTicket:"",launchContainerQuery:".mazey-launch-app-selector",launchShowWeixinToBrowserImgUrl:"",canShowWeixinToBrowser:!1,extInfo:"",serviceAccountAppId:"",wexinServiceAccountAppId:"",openPlatformMobileAppId:"",genTagPrefixStr:"mazey-launch-app-btn-prefix-",launchShowWeixinToBrowserClassName:"mazey-launch-app-wx-to-browser",launchBtnClassName:"mazey-launch-app-inner-btn",launchBtnStyle:"",launchBtnText:"Launch App <br /><br /><br />",launchErrorLink:"",canContinuousUpdating:!1,onMenuShareTimelineOptions:void 0,onMenuShareAppMessageOptions:void 0,isConClosed:!0,isWxDebug:!1,openTagList:["wx-open-launch-app"],canLaunchApp:function(){return!0},canFireErrorLinkDirectly:function(){return!1},launchBtnClick:function(){},launchReady:function(){}};return function(t){void 0===t&&(t=ta);var e=Object.assign(ta,t),n=e.weixinJsSdkTicket,r=e.launchContainerQuery,o=e.genTagPrefixStr,i=e.launchShowWeixinToBrowserImgUrl,a=e.canShowWeixinToBrowser,c=e.launchShowWeixinToBrowserClassName,u=e.launchBtnClassName,s=e.launchBtnStyle,f=e.launchBtnText,l=e.launchErrorLink,p=e.wexinServiceAccountAppId,d=e.openPlatformMobileAppId,h=e.canContinuousUpdating,v=e.onMenuShareTimelineOptions,y=e.onMenuShareAppMessageOptions,g=e.isConClosed,m=e.isWxDebug,b=e.openTagList,w=e.canLaunchApp,S=e.canFireErrorLinkDirectly,A=e.launchBtnClick,O=e.launchReady,E=e.serviceAccountAppId,P=e.extInfo,T=window.wx;T||console.error("Launch App: wx is not found");var _=window.$||window.jQuery;_||console.error("Launch App: $ is not found");var j=window.sha1;j||console.error("Launch App: sha1 is not found");var L=function(){},C=Zi("LaunchCon:",{isClosed:g});C.log("Launch App");var x={title:"",link:"",imgUrl:"",success:function(){},cancel:function(){}},I={title:"",desc:"",link:"",imgUrl:"",type:"",dataUrl:"",success:function(){},cancel:function(){}},k={title:document.title,link:location.href};x=Ji(Ji({},x),k),I=Ji(Ji({},I),k);var R=function(t,e,n){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n="button"),"<style>.".concat(u,"{")+"opacity: 0;width: 100%;height: 100%;backgroud: transparent;color: #300f54;border: none;box-sizing: border-box;text-align: center;vertical-align: middle;"+s+e+"}</style>"+"<".concat(n,' class="').concat(u,'"')+(t&&"button"===n?' onclick="'.concat(t,'"'):"")+(t&&"a"===n?' target="_self" href="'.concat(t,'"'):"")+">"+f+"</".concat(n,">")},M=R();function N(){!function(t,e){if(void 0===e&&(e={id:""}),!t)return!1;var n=document.createDocumentFragment(),r=null,o="",i=document.createElement("style");e.id?(o="".concat(e.id),(r=document.getElementById(o))?r.innerHTML=t:(i.setAttribute("id",e.id),i.innerHTML=t,n.appendChild(i),document.head.appendChild(n))):(i.innerHTML=t,n.appendChild(i),document.head.appendChild(n))}('.mazey-launch-app-mask{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, .5);text-align:right;font-size:0;white-space:nowrap;overflow:auto;z-index:999;}.mazey-launch-app-img{display:inline-block;vertical-align:middle;text-align:left;font-size:14px;white-space:normal;width:50vw;margin:0.5rem 0.5rem 0 0;}.mazey-launch-app-img:after{content:"";display:inline-block;height:100%;vertical-align:middle;}',{id:"mazey-launch-app-mask-style"}),window.LAUNCH_APP_HIDE_WEIXIN_BROWSER||(window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=function(){_(".mazey-launch-app-mask").hide()}),0===_(".mazey-launch-app-mask").length?_("body").append("<div class='mazey-launch-app-mask' onclick='window.LAUNCH_APP_HIDE_WEIXIN_BROWSER()'><img "+"class='mazey-launch-app-img ".concat(c,"' ")+"src='".concat(i,"' ")+"alt='Launch App' /></div>"):_(".mazey-launch-app-mask").show()}function D(){C.log("renderWeixinLaunchTemplate"),!E&&p&&(console.warn("wexinServiceAccountAppId will be deprecated, use serviceAccountAppId instead."),E=p),function(t,e){void 0===t&&(t=""),void 0===e&&(e=""),C.log("renderWXOpenLaunchApp"),Promise.all([Promise.resolve(n||window.LAUNCH_APP_WEIXIN_JS_SDK_TICKET||$i("weixinJsSdkTicket")||""),Promise.resolve(j)]).then((function(n){C.log("allRes",n);var i=n[0];if(i){var c=n[1];if(c){var u=Ki(7),s=i,f=(new Date).getTime(),p=c("jsapi_ticket="+s+"&noncestr="+u+"×tamp="+f+"&url="+location.href);return T.config({debug:m,appId:t,timestamp:f,nonceStr:u,signature:p,jsApiList:["showOptionMenu","onMenuShareTimeline","onMenuShareAppMessage"],openTagList:b}),T.ready((function(){if(y&&(C.log("onMenuShareAppMessageOptions",y),T.onMenuShareAppMessage(y)),window.LAUNCH_APP_SHARE_APP_MESSAGE=function(t){t=Ji(Ji({},I),t),C.log("window LAUNCH_APP_SHARE_APP_MESSAGE",t),T.onMenuShareAppMessage(t)},v&&(C.log("onMenuShareTimelineOptions",v),T.onMenuShareTimeline(v)),window.LAUNCH_APP_SHARE_TIMELINE=function(t){t=Ji(Ji({},x),t),C.log("window LAUNCH_APP_SHARE_TIMELINE",t),T.onMenuShareTimeline(t)},e){window.LAUNCH_APP_READY=!0,O&&O();var t=function(){var t=_(r);C.log("containers",r,t,t.length),t.length>0&&t.each((function(t,n){var r=_(n).attr("data-launch-app-key");if(!r){var i=_(n).parents("[data-launch-app-key]:eq(0)");i.length>0&&(r=i.attr("data-launch-app-key"),C.log("keyEle",i,r))}r||(r=String(t));var c="mazey-launch-app-tag-".concat(r),u=_(".".concat(c," wx-open-launch-app")),s=_(n).attr("data-launch-app-ext-info");if(!s){var f=_(n).parents("[data-launch-app-ext-info]:eq(0)");f.length>0&&(s=f.attr("data-launch-app-ext-info"),C.log("eleExtInfoEle parents",f,s))}s&&(P=s);var p=_(n).attr("data-launch-app-error-link");if(!p){var d=_(n).parents("[data-launch-app-error-link]:eq(0)");d.length>0&&(p=d.attr("data-launch-app-error-link"),C.log("eleErrorLinkEle parents",d,p))}var h=l;p&&(h=p),0===u.length&&(_(n).addClass(c),C.log("success:",c),function(t){var n=o,r=n+t,i="<wx-open-launch-app id='"+r+"' appid='"+e+"' extinfo='".concat(P)+"' style='z-index:99;position:absolute;width:100%;height:100%;opacity:1;background:transparent;overflow:hidden;left:0;'><script type='text/wxtag-template'>"+M+"<\/script></wx-open-launch-app>";_("."+t+":eq(0)").append(i);var c=document.getElementById(r);c&&(c.addEventListener("ready",(function(t){C.log("ready event",t)})),c.addEventListener("launch",(function(t){C.log("launch event",t),t.detail&&t.detail.extInfo&&C.log("launch extInfo",t.detail.extInfo)})),c.addEventListener("error",(function(t){C.error(t.detail),_("[id^='"+n+"']").hide(),a&&N(),h&&(C.log("realErrorLink",h),location.href=h)})),c.addEventListener("click",(function(t){C.log("click event",t),A&&A()})))}(c))}))};t(),L=t}else C.log("openPlatformMobileAppId is required for weixin launch app")})),T.error((function(t){C.error(t)})),"success:launch_app"}C.error("sha1 is required")}else C.error("weixinJsSdkTicket is required")})).catch((function(t){C.error(t)}))}(E,d)}function U(t){if(C.log("appUpdated",t),!window.LAUNCH_APP_LOAD&&w(t)&&(D(),window.LAUNCH_APP_LOAD=!0),h&&window.LAUNCH_APP_LOAD&&w(t)&&L(),S()){var e=_(r);e.length>0&&e.each((function(t,e){var n=_(e).children("."+u);if(!n||!n.length){var r=_(e).attr("data-launch-app-error-link");if(!r){var o=_(e).parents("[data-launch-app-error-link]:eq(0)");o.length>0&&(r=o.attr("data-launch-app-error-link"))}if(r&&"string"==typeof r&&r.length){var i=R(r,"position:absolute;left:0;z-index:999;","a");_(e).append(i)}}}))}}function H(){C.log("appBeforeDestroy",H),window.LAUNCH_APP_LOAD=null,window.LAUNCH_APP_HIDE_WEIXIN_BROWSER=null}return window.LAUNCH_APP_UPDATE=U,window.LAUNCH_APP_BEFORE_DESTROY=H,window.LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER=N,{LAUNCH_APP_UPDATE:U,LAUNCH_APP_BEFORE_DESTROY:H,LAUNCH_APP_SHOW_WEIXIN_TO_BROWSER:N,LAUNCH_APP_SHARE_TIMELINE:function(t){C.log("opt",t)},LAUNCH_APP_SHARE_APP_MESSAGE:function(t){C.log("opt",t)},start:U,update:U,destroy:H}}}();
|