LiveChat – WP live chat plugin for WordPress - Version 4.4.8

Version Description

  • CDN for connect-bridge script
Download this release

Release Info

Developer livechat
Plugin Icon 128x128 LiveChat – WP live chat plugin for WordPress
Version 4.4.8
Comparing to
See all releases

Code changes from version 4.4.7 to 4.4.8

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  == Changelog ==
2
 
 
 
 
3
  = 4.4.7 =
4
  * connect-bridge update
5
  * tested WordPress version bump
1
  == Changelog ==
2
 
3
+ = 4.4.8 =
4
+ * CDN for connect-bridge script
5
+
6
  = 4.4.7 =
7
  * connect-bridge update
8
  * tested WordPress version bump
composer.lock CHANGED
@@ -63,16 +63,16 @@
63
  "packages-dev": [
64
  {
65
  "name": "antecedent/patchwork",
66
- "version": "2.1.12",
67
  "source": {
68
  "type": "git",
69
  "url": "https://github.com/antecedent/patchwork.git",
70
- "reference": "b98e046dd4c0acc34a0846604f06f6111654d9ea"
71
  },
72
  "dist": {
73
  "type": "zip",
74
- "url": "https://api.github.com/repos/antecedent/patchwork/zipball/b98e046dd4c0acc34a0846604f06f6111654d9ea",
75
- "reference": "b98e046dd4c0acc34a0846604f06f6111654d9ea",
76
  "shasum": ""
77
  },
78
  "require": {
@@ -103,7 +103,7 @@
103
  "runkit",
104
  "testing"
105
  ],
106
- "time": "2019-12-22T17:52:09+00:00"
107
  },
108
  {
109
  "name": "brain/monkey",
@@ -1683,6 +1683,7 @@
1683
  ],
1684
  "description": "Provides a list of PHP built-in functions that operate on resources",
1685
  "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
 
1686
  "time": "2015-07-28T20:34:47+00:00"
1687
  },
1688
  {
63
  "packages-dev": [
64
  {
65
  "name": "antecedent/patchwork",
66
+ "version": "2.1.15",
67
  "source": {
68
  "type": "git",
69
  "url": "https://github.com/antecedent/patchwork.git",
70
+ "reference": "0430ceaac7f447f1778c199ec19d7e4362a6f961"
71
  },
72
  "dist": {
73
  "type": "zip",
74
+ "url": "https://api.github.com/repos/antecedent/patchwork/zipball/0430ceaac7f447f1778c199ec19d7e4362a6f961",
75
+ "reference": "0430ceaac7f447f1778c199ec19d7e4362a6f961",
76
  "shasum": ""
77
  },
78
  "require": {
103
  "runkit",
104
  "testing"
105
  ],
106
+ "time": "2021-08-22T08:00:13+00:00"
107
  },
108
  {
109
  "name": "brain/monkey",
1683
  ],
1684
  "description": "Provides a list of PHP built-in functions that operate on resources",
1685
  "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
1686
+ "abandoned": true,
1687
  "time": "2015-07-28T20:34:47+00:00"
1688
  },
1689
  {
config.php CHANGED
@@ -11,6 +11,7 @@ define( 'LC_APP_URL_PATTERN', 'https://connect.livechatinc.com/%s/%s%s' );
11
  define( 'LC_API_URL_PATTERN', 'https://%s.livechatinc.com' );
12
  define( 'LC_WIDGET_URL_REGEX', '/^https:\/\/connect(-eu)?\.livechatinc\.com\/api\/v1\/script\/([a-z]|[A-Z]|[0-9]|[-]){36}\/widget\.js(\?lcv=([a-z]|[A-Z]|[0-9]|[-]){36})?$/' );
13
  define( 'LC_AA_URL', 'https://my.livechatinc.com' );
 
14
 
15
  // Below has to be done this way because of PHP 5.6 limitations for using arrays in define.
16
  const DEPRECATED_OPTION_PREFIXES = array(
11
  define( 'LC_API_URL_PATTERN', 'https://%s.livechatinc.com' );
12
  define( 'LC_WIDGET_URL_REGEX', '/^https:\/\/connect(-eu)?\.livechatinc\.com\/api\/v1\/script\/([a-z]|[A-Z]|[0-9]|[-]){36}\/widget\.js(\?lcv=([a-z]|[A-Z]|[0-9]|[-]){36})?$/' );
13
  define( 'LC_AA_URL', 'https://my.livechatinc.com' );
14
+ define( 'CONNECT_BRIDGE_SCRIPT_URL', 'https://cdn.livechat-static.com/integrations/integrations-connect/connect-bridge.js' );
15
 
16
  // Below has to be done this way because of PHP 5.6 limitations for using arrays in define.
17
  const DEPRECATED_OPTION_PREFIXES = array(
livechat.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: LiveChat
4
  * Plugin URI: https://www.livechat.com/marketplace/apps/wordpress/
5
  * Description: Live chat software for live help, online sales and customer support. This plugin allows to quickly install LiveChat on any WordPress website.
6
- * Version: 4.4.7
7
  * Author: LiveChat
8
  * Author URI: https://www.livechat.com
9
  * Text Domain: wp-live-chat-software-for-wordpress
3
  * Plugin Name: LiveChat
4
  * Plugin URI: https://www.livechat.com/marketplace/apps/wordpress/
5
  * Description: Live chat software for live help, online sales and customer support. This plugin allows to quickly install LiveChat on any WordPress website.
6
+ * Version: 4.4.8
7
  * Author: LiveChat
8
  * Author URI: https://www.livechat.com
9
  * Text Domain: wp-live-chat-software-for-wordpress
plugin_files/Services/SetupProvider.class.php CHANGED
@@ -92,7 +92,7 @@ class SetupProvider {
92
  $this->load_design_system_styles();
93
  wp_enqueue_script( 'livechat', $this->plugin_url . 'js/livechat.js', 'jquery', $this->plugin_version, true );
94
  wp_enqueue_style( 'livechat', $this->plugin_url . 'css/livechat-general.css', false, $this->plugin_version );
95
- wp_enqueue_script( 'bridge', $this->plugin_url . 'js/connect.js', 'jquery', $this->plugin_version, false );
96
 
97
  $config = array(
98
  'slug' => $this->plugin_slug,
92
  $this->load_design_system_styles();
93
  wp_enqueue_script( 'livechat', $this->plugin_url . 'js/livechat.js', 'jquery', $this->plugin_version, true );
94
  wp_enqueue_style( 'livechat', $this->plugin_url . 'css/livechat-general.css', false, $this->plugin_version );
95
+ wp_enqueue_script( 'bridge', CONNECT_BRIDGE_SCRIPT_URL . '?lcv=' . $this->plugin_slug . '-' . $this->plugin_version, 'jquery');
96
 
97
  $config = array(
98
  'slug' => $this->plugin_slug,
plugin_files/js/connect.js DELETED
@@ -1,9 +0,0 @@
1
- // Version: "3.0.2"
2
- !function(){function t(t,e){return Object.keys(e).forEach((function(r){"default"!==r&&"__esModule"!==r&&Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})),t}var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function r(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var n,o,i={},a={},u=function(t){return t&&t.Math==Math&&t};a=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof e&&e)||function(){return this}()||Function("return this")();var c,s,f;c=!(s=function(t){try{return!!t()}catch(t){return!0}})((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}));var l={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,p=h&&!l.call({1:2},1);f=p?function(t){var e=h(this,t);return!!e&&e.enumerable}:l;var v;v=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}};var d,g,y={},m={}.toString;g=function(t){return m.call(t).slice(8,-1)};var b="".split;y=s((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==g(t)?b.call(t,""):Object(t)}:Object;var w;w=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},d=function(t){return y(w(t))};var S,x;x=function(t){return"object"==typeof t?null!==t:"function"==typeof t},S=function(t,e){if(!x(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!x(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!x(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!x(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")};var A,E={};A=function(t){return Object(w(t))};var O={}.hasOwnProperty;E=Object.hasOwn||function(t,e){return O.call(A(t),e)};var k,j,T=a.document,I=x(T)&&x(T.createElement);j=function(t){return I?T.createElement(t):{}},k=!c&&!s((function(){return 7!=Object.defineProperty(j("div"),"a",{get:function(){return 7}}).a}));var M,R,L=Object.getOwnPropertyDescriptor,P=o=c?L:function(t,e){if(t=d(t),e=S(e,!0),k)try{return L(t,e)}catch(t){}if(E(t,e))return v(!f.call(t,e),t[e])},N={};R=function(t){if(!x(t))throw TypeError(String(t)+" is not an object");return t};var _=Object.defineProperty;M=c?_:function(t,e,r){if(R(t),e=S(e,!0),R(r),k)try{return _(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t},N=c?function(t,e,r){return M(t,e,v(1,r))}:function(t,e,r){return t[e]=r,t};var F,U;U=function(t,e){try{N(a,t,e)}catch(r){a[t]=e}return e};var C={},B={},D="__core-js_shared__",W=a["__core-js_shared__"]||U(D,{});B=W;var z=Function.toString;"function"!=typeof B.inspectSource&&(B.inspectSource=function(t){return z.call(t)}),C=B.inspectSource;var V,q,G=a.WeakMap;q="function"==typeof G&&/native code/.test(C(G));var $,H;(H=function(t,e){return B[t]||(B[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.15.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var Y,J=0,X=Math.random();Y=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++J+X).toString(36)};var K=H("keys");$=function(t){return K[t]||(K[t]=Y(t))};var Q={};Q={};var Z,tt,et,rt="Object already initialized",nt=a.WeakMap;if(q||B.state){var ot=B.state||(B.state=new nt),it=ot.get,at=ot.has,ut=ot.set;Z=function(t,e){if(at.call(ot,t))throw new TypeError(rt);return e.facade=t,ut.call(ot,t,e),e},tt=function(t){return it.call(ot,t)||{}},et=function(t){return at.call(ot,t)}}else{var ct=$("state");Q[ct]=!0,Z=function(t,e){if(E(t,ct))throw new TypeError(rt);return e.facade=t,N(t,ct,e),e},tt=function(t){return E(t,ct)?t[ct]:{}},et=function(t){return E(t,ct)}}var st=(V={set:Z,get:tt,has:et,enforce:function(t){return et(t)?tt(t):Z(t,{})},getterFor:function(t){return function(e){var r;if(!x(e)||(r=tt(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}).get,ft=V.enforce,lt=String(String).split("String");(F=function(t,e,r,n){var o,i=!!n&&!!n.unsafe,u=!!n&&!!n.enumerable,c=!!n&&!!n.noTargetGet;"function"==typeof r&&("string"!=typeof e||E(r,"name")||N(r,"name",e),(o=ft(r)).source||(o.source=lt.join("string"==typeof e?e:""))),t!==a?(i?!c&&t[e]&&(u=!0):delete t[e],u?t[e]=r:N(t,e,r)):u?t[e]=r:U(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&st(this).source||C(this)}));var ht,pt,vt={},dt={};dt=a;var gt,yt=function(t){return"function"==typeof t?t:void 0};pt=function(t,e){return arguments.length<2?yt(dt[t])||yt(a[t]):dt[t]&&dt[t][e]||a[t]&&a[t][e]};var mt,bt,wt,St,xt=Math.ceil,At=Math.floor;St=function(t){return isNaN(t=+t)?0:(t>0?At:xt)(t)};var Et=Math.min;wt=function(t){return t>0?Et(St(t),9007199254740991):0};var Ot,kt=Math.max,jt=Math.min;Ot=function(t,e){var r=St(t);return r<0?kt(r+e,0):jt(r,e)};var Tt=function(t){return function(e,r,n){var o,i=d(e),a=wt(i.length),u=Ot(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},It=(bt={includes:Tt(!0),indexOf:Tt(!1)}).indexOf;mt=function(t,e){var r,n=d(t),o=0,i=[];for(r in n)!E(Q,r)&&E(n,r)&&i.push(r);for(;e.length>o;)E(n,r=e[o++])&&(~It(i,r)||i.push(r));return i};var Mt,Rt={},Lt=(Rt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]).concat("length","prototype");gt=Object.getOwnPropertyNames||function(t){return mt(t,Lt)},Mt=Object.getOwnPropertySymbols,vt=pt("Reflect","ownKeys")||function(t){var e=gt(R(t)),r=Mt;return r?e.concat(r(t)):e},ht=function(t,e){for(var r=vt(e),n=M,i=o,a=0;a<r.length;a++){var u=r[a];E(t,u)||n(t,u,i(e,u))}};var Pt={},Nt=/#|\.prototype\./,_t=function(t,e){var r=Ut[Ft(t)];return r==Bt||r!=Ct&&("function"==typeof e?s(e):!!e)},Ft=_t.normalize=function(t){return String(t).replace(Nt,".").toLowerCase()},Ut=_t.data={},Ct=_t.NATIVE="N",Bt=_t.POLYFILL="P";Pt=_t,n=function(t,e){var r,n,o,i,u,c=t.target,s=t.global,f=t.stat;if(r=s?a:f?a[c]||U(c,{}):(a[c]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(u=P(r,n))&&u.value:r[n],!Pt(s?n:c+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;ht(i,o)}(t.sham||o&&o.sham)&&N(i,"sham",!0),F(r,n,i,t)}};var Dt,Wt,zt={};zt=pt("navigator","userAgent")||"";var Vt,qt,Gt=a.process,$t=Gt&&Gt.versions,Ht=$t&&$t.v8;Ht?qt=(Vt=Ht.split("."))[0]<4?1:Vt[0]+Vt[1]:zt&&(!(Vt=zt.match(/Edge\/(\d+)/))||Vt[1]>=74)&&(Vt=zt.match(/Chrome\/(\d+)/))&&(qt=Vt[1]),Wt=qt&&+qt;var Yt;Yt=(Dt=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Wt&&Wt<41})))&&!Symbol.sham&&"symbol"==typeof Symbol.iterator;var Jt={};Jt=Array.isArray||function(t){return"Array"==g(t)};var Xt={},Kt={},Qt={};Qt=Object.keys||function(t){return mt(t,Rt)},Kt=c?Object.defineProperties:function(t,e){R(t);for(var r,n=Qt(e),o=n.length,i=0;o>i;)M(t,r=n[i++],e[r]);return t};var Zt={};Zt=pt("document","documentElement");var te,ee,re=$("IE_PROTO"),ne=function(){},oe=function(t){return"<script>"+t+"</"+"script>"},ie=function(){try{te=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;ie=te?function(t){t.write(oe("")),t.close();var e=t.parentWindow.Object;return t=null,e}(te):((e=j("iframe")).style.display="none",Zt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(oe("document.F=Object")),t.close(),t.F);for(var r=Rt.length;r--;)delete ie.prototype[Rt[r]];return ie()};Q[re]=!0,Xt=Object.create||function(t,e){var r;return null!==t?(ne.prototype=R(t),r=new ne,ne.prototype=null,r[re]=t):r=ie(),void 0===e?r:Kt(r,e)};var ae=gt,ue={}.toString,ce="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];ee=function(t){return ce&&"[object Window]"==ue.call(t)?function(t){try{return ae(t)}catch(t){return ce.slice()}}(t):ae(d(t))};var se,fe,le=H("wks"),he=a.Symbol,pe=Yt?he:he&&he.withoutSetter||Y;fe=se=function(t){return E(le,t)&&(Dt||"string"==typeof le[t])||(Dt&&E(he,t)?le[t]=he[t]:le[t]=pe("Symbol."+t)),le[t]};var ve,de=M;ve=function(t){var e=dt.Symbol||(dt.Symbol={});E(e,t)||de(e,t,{value:fe(t)})};var ge,ye=M,me=se("toStringTag");ge=function(t,e,r){t&&!E(t=r?t:t.prototype,me)&&ye(t,me,{configurable:!0,value:e})};var be,we,Se;Se=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},we=function(t,e,r){if(Se(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}};var xe,Ae=se("species");xe=function(t,e){var r;return Jt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Jt(r.prototype)?x(r)&&null===(r=r[Ae])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)};var Ee=[].push,Oe=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,s,f,l){for(var h,p,v=A(c),d=y(v),g=we(s,f,3),m=wt(d.length),b=0,w=l||xe,S=e?w(c,m):r||a?w(c,0):void 0;m>b;b++)if((u||b in d)&&(p=g(h=d[b],b,v),t))if(e)S[b]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return b;case 2:Ee.call(S,h)}else switch(t){case 4:return!1;case 7:Ee.call(S,h)}return i?-1:n||o?o:S}},ke=(be={forEach:Oe(0),map:Oe(1),filter:Oe(2),some:Oe(3),every:Oe(4),find:Oe(5),findIndex:Oe(6),filterOut:Oe(7)}).forEach,je=$("hidden"),Te="Symbol",Ie=se("toPrimitive"),Me=V.set,Re=V.getterFor(Te),Le=Object.prototype,Pe=a.Symbol,Ne=pt("JSON","stringify"),_e=o,Fe=M,Ue=ee,Ce=f,Be=H("symbols"),De=H("op-symbols"),We=H("string-to-symbol-registry"),ze=H("symbol-to-string-registry"),Ve=H("wks"),qe=a.QObject,Ge=!qe||!qe.prototype||!qe.prototype.findChild,$e=c&&s((function(){return 7!=Xt(Fe({},"a",{get:function(){return Fe(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=_e(Le,e);n&&delete Le[e],Fe(t,e,r),n&&t!==Le&&Fe(Le,e,n)}:Fe,He=function(t,e){var r=Be[t]=Xt(Pe.prototype);return Me(r,{type:Te,tag:t,description:e}),c||(r.description=e),r},Ye=Yt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Pe},Je=function(t,e,r){t===Le&&Je(De,e,r),R(t);var n=S(e,!0);return R(r),E(Be,n)?(r.enumerable?(E(t,je)&&t[je][n]&&(t[je][n]=!1),r=Xt(r,{enumerable:v(0,!1)})):(E(t,je)||Fe(t,je,v(1,{})),t[je][n]=!0),$e(t,n,r)):Fe(t,n,r)},Xe=function(t,e){R(t);var r=d(e),n=Qt(r).concat(tr(r));return ke(n,(function(e){c&&!Ke.call(r,e)||Je(t,e,r[e])})),t},Ke=function(t){var e=S(t,!0),r=Ce.call(this,e);return!(this===Le&&E(Be,e)&&!E(De,e))&&(!(r||!E(this,e)||!E(Be,e)||E(this,je)&&this[je][e])||r)},Qe=function(t,e){var r=d(t),n=S(e,!0);if(r!==Le||!E(Be,n)||E(De,n)){var o=_e(r,n);return!o||!E(Be,n)||E(r,je)&&r[je][n]||(o.enumerable=!0),o}},Ze=function(t){var e=Ue(d(t)),r=[];return ke(e,(function(t){E(Be,t)||E(Q,t)||r.push(t)})),r},tr=function(t){var e=t===Le,r=Ue(e?De:d(t)),n=[];return ke(r,(function(t){!E(Be,t)||e&&!E(Le,t)||n.push(Be[t])})),n};if(Dt||(F((Pe=function(){if(this instanceof Pe)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=Y(t),r=function(t){this===Le&&r.call(De,t),E(this,je)&&E(this[je],e)&&(this[je][e]=!1),$e(this,e,v(1,t))};return c&&Ge&&$e(Le,e,{configurable:!0,set:r}),He(e,t)}).prototype,"toString",(function(){return Re(this).tag})),F(Pe,"withoutSetter",(function(t){return He(Y(t),t)})),f=Ke,M=Je,o=Qe,gt=ee=Ze,Mt=tr,fe=function(t){return He(se(t),t)},c&&(Fe(Pe.prototype,"description",{configurable:!0,get:function(){return Re(this).description}}),F(Le,"propertyIsEnumerable",Ke,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!Dt,sham:!Dt},{Symbol:Pe}),ke(Qt(Ve),(function(t){ve(t)})),n({target:Te,stat:!0,forced:!Dt},{for:function(t){var e=String(t);if(E(We,e))return We[e];var r=Pe(e);return We[e]=r,ze[r]=e,r},keyFor:function(t){if(!Ye(t))throw TypeError(t+" is not a symbol");if(E(ze,t))return ze[t]},useSetter:function(){Ge=!0},useSimple:function(){Ge=!1}}),n({target:"Object",stat:!0,forced:!Dt,sham:!c},{create:function(t,e){return void 0===e?Xt(t):Xe(Xt(t),e)},defineProperty:Je,defineProperties:Xe,getOwnPropertyDescriptor:Qe}),n({target:"Object",stat:!0,forced:!Dt},{getOwnPropertyNames:Ze,getOwnPropertySymbols:tr}),n({target:"Object",stat:!0,forced:s((function(){Mt(1)}))},{getOwnPropertySymbols:function(t){return Mt(A(t))}}),Ne){var er=!Dt||s((function(){var t=Pe();return"[null]"!=Ne([t])||"{}"!=Ne({a:t})||"{}"!=Ne(Object(t))}));n({target:"JSON",stat:!0,forced:er},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(x(e)||void 0!==t)&&!Ye(t))return Jt(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Ye(e))return e}),o[1]=e,Ne.apply(null,o)}})}Pe.prototype[Ie]||N(Pe.prototype,Ie,Pe.prototype.valueOf),ge(Pe,Te),Q[je]=!0;var rr=M,nr=a.Symbol;if(c&&"function"==typeof nr&&(!("description"in nr.prototype)||void 0!==nr().description)){var or={},ir=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof ir?new nr(t):void 0===t?nr():nr(t);return""===t&&(or[e]=!0),e};ht(ir,nr);var ar=ir.prototype=nr.prototype;ar.constructor=ir;var ur=ar.toString,cr="Symbol(test)"==String(nr("test")),sr=/^Symbol\((.*)\)[^)]+$/;rr(ar,"description",{configurable:!0,get:function(){var t=x(this)?this.valueOf():this,e=ur.call(t);if(E(or,t))return"";var r=cr?e.slice(7,-1):e.replace(sr,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:ir})}ve("asyncIterator"),ve("hasInstance"),ve("isConcatSpreadable"),ve("iterator"),ve("match"),ve("replace"),ve("search"),ve("species"),ve("split"),ve("toPrimitive"),ve("toStringTag"),ve("unscopables");var fr;fr=function(t,e,r){var n=S(e);n in t?M(t,n,v(0,r)):t[n]=r};var lr,hr=se("species");lr=function(t){return Wt>=51||!s((function(){var e=[];return(e.constructor={})[hr]=function(){return{foo:1}},1!==e[t](Boolean).foo}))};var pr=se("isConcatSpreadable"),vr=9007199254740991,dr="Maximum allowed index exceeded",gr=Wt>=51||!s((function(){var t=[];return t[pr]=!1,t.concat()[0]!==t})),yr=lr("concat"),mr=function(t){if(!x(t))return!1;var e=t[pr];return void 0!==e?!!e:Jt(t)};n({target:"Array",proto:!0,forced:!gr||!yr},{concat:function(t){var e,r,n,o,i,a=A(this),u=xe(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(mr(i=-1===e?a:arguments[e])){if(c+(o=wt(i.length))>vr)throw TypeError(dr);for(r=0;r<o;r++,c++)r in i&&fr(u,c,i[r])}else{if(c>=vr)throw TypeError(dr);fr(u,c++,i)}return u.length=c,u}});var br={},wr=Math.min;br=[].copyWithin||function(t,e){var r=A(this),n=wt(r.length),o=Ot(t,n),i=Ot(e,n),a=arguments.length>2?arguments[2]:void 0,u=wr((void 0===a?n:Ot(a,n))-i,n-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in r?r[o]=r[i]:delete r[o],o+=c,i+=c;return r};var Sr,xr=se("unscopables"),Ar=Array.prototype;null==Ar[xr]&&M(Ar,xr,{configurable:!0,value:Xt(null)}),Sr=function(t){Ar[xr][t]=!0},n({target:"Array",proto:!0},{copyWithin:br}),Sr("copyWithin");var Er,Or=be.every,kr=(Er=function(t,e){var r=[][t];return!!r&&s((function(){r.call(null,e||function(){throw 1},1)}))})("every");n({target:"Array",proto:!0,forced:!kr},{every:function(t){return Or(this,t,arguments.length>1?arguments[1]:void 0)}});var jr;n({target:"Array",proto:!0},{fill:jr=function(t){for(var e=A(this),r=wt(e.length),n=arguments.length,o=Ot(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:Ot(i,r);a>o;)e[o++]=t;return e}}),Sr("fill");var Tr=be.filter,Ir=lr("filter");n({target:"Array",proto:!0,forced:!Ir},{filter:function(t){return Tr(this,t,arguments.length>1?arguments[1]:void 0)}});var Mr=be.find,Rr="find",Lr=!0;Rr in[]&&Array(1).find((function(){Lr=!1})),n({target:"Array",proto:!0,forced:Lr},{find:function(t){return Mr(this,t,arguments.length>1?arguments[1]:void 0)}}),Sr(Rr);var Pr=be.findIndex,Nr="findIndex",_r=!0;Nr in[]&&Array(1).findIndex((function(){_r=!1})),n({target:"Array",proto:!0,forced:_r},{findIndex:function(t){return Pr(this,t,arguments.length>1?arguments[1]:void 0)}}),Sr(Nr);var Fr={},Ur=function(t,e,r,n,o,i,a,u){for(var c,s=o,f=0,l=!!a&&we(a,u,3);f<n;){if(f in r){if(c=l?l(r[f],f,e):r[f],i>0&&Jt(c))s=Ur(t,e,c,wt(c.length),s,i-1)-1;else{if(s>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[s]=c}s++}f++}return s};Fr=Ur,n({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=A(this),r=wt(e.length),n=xe(e,0);return n.length=Fr(n,e,e,r,0,void 0===t?1:St(t)),n}}),n({target:"Array",proto:!0},{flatMap:function(t){var e,r=A(this),n=wt(r.length);return Se(t),(e=xe(r,0)).length=Fr(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}});var Cr,Br=be.forEach,Dr=Er("forEach");n({target:"Array",proto:!0,forced:[].forEach!=(Cr=Dr?[].forEach:function(t){return Br(this,t,arguments.length>1?arguments[1]:void 0)})},{forEach:Cr});var Wr,zr,Vr;Vr=function(t){var e=t.return;if(void 0!==e)return R(e.call(t)).value},zr=function(t,e,r,n){try{return n?e(R(r)[0],r[1]):e(r)}catch(e){throw Vr(t),e}};var qr,Gr={};Gr={};var $r=se("iterator"),Hr=Array.prototype;qr=function(t){return void 0!==t&&(Gr.Array===t||Hr[$r]===t)};var Yr,Jr,Xr={},Kr={};Kr[se("toStringTag")]="z",Jr="[object z]"===String(Kr);var Qr=se("toStringTag"),Zr="Arguments"==g(function(){return arguments}());Xr=Jr?g:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Qr))?r:Zr?g(e):"Object"==(n=g(e))&&"function"==typeof e.callee?"Arguments":n};var tn=se("iterator");Yr=function(t){if(null!=t)return t[tn]||t["@@iterator"]||Gr[Xr(t)]},Wr=function(t){var e,r,n,o,i,a,u=A(t),c="function"==typeof this?this:Array,s=arguments.length,f=s>1?arguments[1]:void 0,l=void 0!==f,h=Yr(u),p=0;if(l&&(f=we(f,s>2?arguments[2]:void 0,2)),null==h||c==Array&&qr(h))for(r=new c(e=wt(u.length));e>p;p++)a=l?f(u[p],p):u[p],fr(r,p,a);else for(i=(o=h.call(u)).next,r=new c;!(n=i.call(o)).done;p++)a=l?zr(o,f,[n.value,p],!0):n.value,fr(r,p,a);return r.length=p,r};var en,rn=se("iterator"),nn=!1;try{var on=0,an={next:function(){return{done:!!on++}},return:function(){nn=!0}};an[rn]=function(){return this},Array.from(an,(function(){throw 2}))}catch(t){}var un=!(en=function(t,e){if(!e&&!nn)return!1;var r=!1;try{var n={};n[rn]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r})((function(t){Array.from(t)}));n({target:"Array",stat:!0,forced:un},{from:Wr});var cn=bt.includes;n({target:"Array",proto:!0},{includes:function(t){return cn(this,t,arguments.length>1?arguments[1]:void 0)}}),Sr("includes");var sn=bt.indexOf,fn=[].indexOf,ln=!!fn&&1/[1].indexOf(1,-0)<0,hn=Er("indexOf");n({target:"Array",proto:!0,forced:ln||!hn},{indexOf:function(t){return ln?fn.apply(this,arguments)||0:sn(this,t,arguments.length>1?arguments[1]:void 0)}});var pn,vn,dn,gn,yn,mn={};yn=!s((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}));var bn=$("IE_PROTO"),wn=Object.prototype;mn=yn?Object.getPrototypeOf:function(t){return t=A(t),E(t,bn)?t[bn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?wn:null};var Sn,xn,An,En=se("iterator"),On=!1;[].keys&&("next"in(An=[].keys())?(xn=mn(mn(An)))!==Object.prototype&&(Sn=xn):On=!0);var kn=null==Sn||s((function(){var t={};return Sn[En].call(t)!==t}));kn&&(Sn={}),E(Sn,En)||N(Sn,En,(function(){return this}));var jn=(gn={IteratorPrototype:Sn,BUGGY_SAFARI_ITERATORS:On}).IteratorPrototype,Tn=function(){return this};dn=function(t,e,r){var n=e+" Iterator";return t.prototype=Xt(jn,{next:v(1,r)}),ge(t,n,!1),Gr[n]=Tn,t};var In,Mn={};In=function(t){if(!x(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},Mn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return R(r),In(n),e?t.call(r,n):r.__proto__=n,r}}():void 0);var Rn=gn.IteratorPrototype,Ln=gn.BUGGY_SAFARI_ITERATORS,Pn=se("iterator"),Nn="keys",_n="values",Fn="entries",Un=function(){return this};vn=function(t,e,r,o,i,a,u){dn(r,e,o);var c,s,f,l=function(t){if(t===i&&g)return g;if(!Ln&&t in v)return v[t];switch(t){case Nn:case _n:case Fn:return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",p=!1,v=t.prototype,d=v[Pn]||v["@@iterator"]||i&&v[i],g=!Ln&&d||l(i),y="Array"==e&&v.entries||d;if(y&&(c=mn(y.call(new t)),Rn!==Object.prototype&&c.next&&(mn(c)!==Rn&&(Mn?Mn(c,Rn):"function"!=typeof c[Pn]&&N(c,Pn,Un)),ge(c,h,!0))),i==_n&&d&&d.name!==_n&&(p=!0,g=function(){return d.call(this)}),v[Pn]!==g&&N(v,Pn,g),Gr[e]=g,i&&(s={values:l(_n),keys:a?g:l(Nn),entries:l(Fn)},u))for(f in s)Ln||p||!(f in v)?F(v,f,s[f]):n({target:e,proto:!0,forced:Ln||p},s);return s};var Cn="Array Iterator",Bn=V.set,Dn=V.getterFor(Cn);pn=vn(Array,"Array",(function(t,e){Bn(this,{type:Cn,target:d(t),index:0,kind:e})}),(function(){var t=Dn(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),Gr.Arguments=Gr.Array,Sr("keys"),Sr("values"),Sr("entries");var Wn=[].join,zn=y!=Object,Vn=Er("join",",");n({target:"Array",proto:!0,forced:zn||!Vn},{join:function(t){return Wn.call(d(this),void 0===t?",":t)}});var qn={},Gn=Math.min,$n=[].lastIndexOf,Hn=!!$n&&1/[1].lastIndexOf(1,-0)<0,Yn=Er("lastIndexOf");n({target:"Array",proto:!0,forced:(qn=Hn||!Yn?function(t){if(Hn)return $n.apply(this,arguments)||0;var e=d(this),r=wt(e.length),n=r-1;for(arguments.length>1&&(n=Gn(n,St(arguments[1]))),n<0&&(n=r+n);n>=0;n--)if(n in e&&e[n]===t)return n||0;return-1}:$n)!==[].lastIndexOf},{lastIndexOf:qn});var Jn=be.map,Xn=lr("map");n({target:"Array",proto:!0,forced:!Xn},{map:function(t){return Jn(this,t,arguments.length>1?arguments[1]:void 0)}});var Kn=s((function(){function t(){}return!(Array.of.call(t)instanceof t)}));n({target:"Array",stat:!0,forced:Kn},{of:function(){for(var t=0,e=arguments.length,r=new("function"==typeof this?this:Array)(e);e>t;)fr(r,t,arguments[t++]);return r.length=e,r}});var Qn,Zn,to=function(t){return function(e,r,n,o){Se(r);var i=A(e),a=y(i),u=wt(i.length),c=t?u-1:0,s=t?-1:1;if(n<2)for(;;){if(c in a){o=a[c],c+=s;break}if(c+=s,t?c<0:u<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:u>c;c+=s)c in a&&(o=r(o,a[c],c,i));return o}},eo=(Qn={left:to(!1),right:to(!0)}).left;Zn="process"==g(a.process);var ro=Er("reduce");n({target:"Array",proto:!0,forced:!ro||!Zn&&Wt>79&&Wt<83},{reduce:function(t){return eo(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var no=Qn.right,oo=Er("reduceRight");n({target:"Array",proto:!0,forced:!oo||!Zn&&Wt>79&&Wt<83},{reduceRight:function(t){return no(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var io=lr("slice"),ao=se("species"),uo=[].slice,co=Math.max;n({target:"Array",proto:!0,forced:!io},{slice:function(t,e){var r,n,o,i=d(this),a=wt(i.length),u=Ot(t,a),c=Ot(void 0===e?a:e,a);if(Jt(i)&&("function"!=typeof(r=i.constructor)||r!==Array&&!Jt(r.prototype)?x(r)&&null===(r=r[ao])&&(r=void 0):r=void 0,r===Array||void 0===r))return uo.call(i,u,c);for(n=new(void 0===r?Array:r)(co(c-u,0)),o=0;u<c;u++,o++)u in i&&fr(n,o,i[u]);return n.length=o,n}});var so=be.some,fo=Er("some");n({target:"Array",proto:!0,forced:!fo},{some:function(t){return so(this,t,arguments.length>1?arguments[1]:void 0)}});var lo,ho=se("species");(lo=function(t){var e=pt(t),r=M;c&&e&&!e[ho]&&r(e,ho,{configurable:!0,get:function(){return this}})})("Array");var po=lr("splice"),vo=Math.max,go=Math.min,yo=9007199254740991,mo="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!po},{splice:function(t,e){var r,n,o,i,a,u,c=A(this),s=wt(c.length),f=Ot(t,s),l=arguments.length;if(0===l?r=n=0:1===l?(r=0,n=s-f):(r=l-2,n=go(vo(St(e),0),s-f)),s+r-n>yo)throw TypeError(mo);for(o=xe(c,n),i=0;i<n;i++)(a=f+i)in c&&fr(o,i,c[a]);if(o.length=n,r<n){for(i=f;i<s-n;i++)u=i+r,(a=i+n)in c?c[u]=c[a]:delete c[u];for(i=s;i>s-n+r;i--)delete c[i-1]}else if(r>n)for(i=s-n;i>f;i--)u=i+r-1,(a=i+n-1)in c?c[u]=c[a]:delete c[u];for(i=0;i<r;i++)c[i+f]=arguments[i+2];return c.length=s-n+r,o}}),Sr("flat"),Sr("flatMap");var bo,wo;wo="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView;var So;So=function(t,e,r){for(var n in e)F(t,n,e[n],r);return t};var xo;xo=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t};var Ao;Ao=function(t){if(void 0===t)return 0;var e=St(t),r=wt(e);if(e!==r)throw RangeError("Wrong length or index");return r};var Eo,Oo=Math.abs,ko=Math.pow,jo=Math.floor,To=Math.log,Io=Math.LN2;Eo={pack:function(t,e,r){var n,o,i,a=new Array(r),u=8*r-e-1,c=(1<<u)-1,s=c>>1,f=23===e?ko(2,-24)-ko(2,-77):0,l=t<0||0===t&&1/t<0?1:0,h=0;for((t=Oo(t))!=t||t===1/0?(o=t!=t?1:0,n=c):(n=jo(To(t)/Io),t*(i=ko(2,-n))<1&&(n--,i*=2),(t+=n+s>=1?f/i:f*ko(2,1-s))*i>=2&&(n++,i/=2),n+s>=c?(o=0,n=c):n+s>=1?(o=(t*i-1)*ko(2,e),n+=s):(o=t*ko(2,s-1)*ko(2,e),n=0));e>=8;a[h++]=255&o,o/=256,e-=8);for(n=n<<e|o,u+=e;u>0;a[h++]=255&n,n/=256,u-=8);return a[--h]|=128*l,a},unpack:function(t,e){var r,n=t.length,o=8*n-e-1,i=(1<<o)-1,a=i>>1,u=o-7,c=n-1,s=t[c--],f=127&s;for(s>>=7;u>0;f=256*f+t[c],c--,u-=8);for(r=f&(1<<-u)-1,f>>=-u,u+=e;u>0;r=256*r+t[c],c--,u-=8);if(0===f)f=1-a;else{if(f===i)return r?NaN:s?-1/0:1/0;r+=ko(2,e),f-=a}return(s?-1:1)*r*ko(2,f-e)}};var Mo=gt,Ro=M,Lo=V.get,Po=V.set,No="ArrayBuffer",_o="DataView",Fo="Wrong index",Uo=a.ArrayBuffer,Co=Uo,Bo=a.DataView,Do=Bo&&Bo.prototype,Wo=Object.prototype,zo=a.RangeError,Vo=Eo.pack,qo=Eo.unpack,Go=function(t){return[255&t]},$o=function(t){return[255&t,t>>8&255]},Ho=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Yo=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},Jo=function(t){return Vo(t,23,4)},Xo=function(t){return Vo(t,52,8)},Ko=function(t,e){Ro(t.prototype,e,{get:function(){return Lo(this)[e]}})},Qo=function(t,e,r,n){var o=Ao(r),i=Lo(t);if(o+e>i.byteLength)throw zo(Fo);var a=Lo(i.buffer).bytes,u=o+i.byteOffset,c=a.slice(u,u+e);return n?c:c.reverse()},Zo=function(t,e,r,n,o,i){var a=Ao(r),u=Lo(t);if(a+e>u.byteLength)throw zo(Fo);for(var c=Lo(u.buffer).bytes,s=a+u.byteOffset,f=n(+o),l=0;l<e;l++)c[s+l]=f[i?l:e-l-1]};if(wo){if(!s((function(){Uo(1)}))||!s((function(){new Uo(-1)}))||s((function(){return new Uo,new Uo(1.5),new Uo(NaN),Uo.name!=No}))){for(var ti,ei=(Co=function(t){return xo(this,Co),new Uo(Ao(t))}).prototype=Uo.prototype,ri=Mo(Uo),ni=0;ri.length>ni;)(ti=ri[ni++])in Co||N(Co,ti,Uo[ti]);ei.constructor=Co}Mn&&mn(Do)!==Wo&&Mn(Do,Wo);var oi=new Bo(new Co(2)),ii=Do.setInt8;oi.setInt8(0,2147483648),oi.setInt8(1,2147483649),!oi.getInt8(0)&&oi.getInt8(1)||So(Do,{setInt8:function(t,e){ii.call(this,t,e<<24>>24)},setUint8:function(t,e){ii.call(this,t,e<<24>>24)}},{unsafe:!0})}else Co=function(t){xo(this,Co,No);var e=Ao(t);Po(this,{bytes:jr.call(new Array(e),0),byteLength:e}),c||(this.byteLength=e)},Bo=function(t,e,r){xo(this,Bo,_o),xo(t,Co,_o);var n=Lo(t).byteLength,o=St(e);if(o<0||o>n)throw zo("Wrong offset");if(o+(r=void 0===r?n-o:wt(r))>n)throw zo("Wrong length");Po(this,{buffer:t,byteLength:r,byteOffset:o}),c||(this.buffer=t,this.byteLength=r,this.byteOffset=o)},c&&(Ko(Co,"byteLength"),Ko(Bo,"buffer"),Ko(Bo,"byteLength"),Ko(Bo,"byteOffset")),So(Bo.prototype,{getInt8:function(t){return Qo(this,1,t)[0]<<24>>24},getUint8:function(t){return Qo(this,1,t)[0]},getInt16:function(t){var e=Qo(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Qo(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return Yo(Qo(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return Yo(Qo(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return qo(Qo(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return qo(Qo(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){Zo(this,1,t,Go,e)},setUint8:function(t,e){Zo(this,1,t,Go,e)},setInt16:function(t,e){Zo(this,2,t,$o,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){Zo(this,2,t,$o,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){Zo(this,4,t,Ho,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){Zo(this,4,t,Ho,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){Zo(this,4,t,Jo,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){Zo(this,8,t,Xo,e,arguments.length>2?arguments[2]:void 0)}});ge(Co,No),ge(Bo,_o);var ai="ArrayBuffer",ui=(bo={ArrayBuffer:Co,DataView:Bo}).ArrayBuffer,ci=a.ArrayBuffer;n({global:!0,forced:ci!==ui},{ArrayBuffer:ui}),lo(ai);var si;si=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return S(R(this),"number"!==t)};var fi=se("toPrimitive"),li=Date.prototype;fi in li||N(li,fi,si);var hi=se("hasInstance"),pi=Function.prototype;hi in pi||M(pi,hi,{value:function(t){if("function"!=typeof this||!x(t))return!1;if(!x(this.prototype))return t instanceof this;for(;t=mn(t);)if(this.prototype===t)return!0;return!1}});var vi=M,di=Function.prototype,gi=di.toString,yi=/^\s*function ([^ (]*)/,mi="name";c&&!(mi in di)&&vi(di,mi,{configurable:!0,get:function(){try{return gi.call(this).match(yi)[1]}catch(t){return""}}}),ge(a.JSON,"JSON",!0);var bi,wi,Si={},xi=M;wi=!s((function(){return Object.isExtensible(Object.preventExtensions({}))}));var Ai=Y("meta"),Ei=0,Oi=Object.isExtensible||function(){return!0},ki=function(t){xi(t,Ai,{value:{objectID:"O"+Ei++,weakData:{}}})},ji=Si={REQUIRED:!1,fastKey:function(t,e){if(!x(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!E(t,Ai)){if(!Oi(t))return"F";if(!e)return"E";ki(t)}return t[Ai].objectID},getWeakData:function(t,e){if(!E(t,Ai)){if(!Oi(t))return!0;if(!e)return!1;ki(t)}return t[Ai].weakData},onFreeze:function(t){return wi&&ji.REQUIRED&&Oi(t)&&!E(t,Ai)&&ki(t),t}};Q[Ai]=!0;var Ti,Ii=function(t,e){this.stopped=t,this.result=e};Ti=function(t,e,r){var n,o,i,a,u,c,s,f=r&&r.that,l=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_ITERATOR),p=!(!r||!r.INTERRUPTED),v=we(e,f,1+l+p),d=function(t){return n&&Vr(n),new Ii(!0,t)},g=function(t){return l?(R(t),p?v(t[0],t[1],d):v(t[0],t[1])):p?v(t,d):v(t)};if(h)n=t;else{if("function"!=typeof(o=Yr(t)))throw TypeError("Target is not iterable");if(qr(o)){for(i=0,a=wt(t.length);a>i;i++)if((u=g(t[i]))&&u instanceof Ii)return u;return new Ii(!1)}n=o.call(t)}for(c=n.next;!(s=c.call(n)).done;){try{u=g(s.value)}catch(t){throw Vr(n),t}if("object"==typeof u&&u&&u instanceof Ii)return u}return new Ii(!1)};var Mi;Mi=function(t,e,r){var n,o;return Mn&&"function"==typeof(n=e.constructor)&&n!==r&&x(o=n.prototype)&&o!==r.prototype&&Mn(t,o),t},bi=function(t,e,r){var o=-1!==t.indexOf("Map"),i=-1!==t.indexOf("Weak"),u=o?"set":"add",c=a[t],f=c&&c.prototype,l=c,h={},p=function(t){var e=f[t];F(f,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(i&&!x(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return i&&!x(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(i&&!x(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(Pt(t,"function"!=typeof c||!(i||f.forEach&&!s((function(){(new c).entries().next()})))))l=r.getConstructor(e,t,o,u),Si.REQUIRED=!0;else if(Pt(t,!0)){var v=new l,d=v[u](i?{}:-0,1)!=v,g=s((function(){v.has(1)})),y=en((function(t){new c(t)})),m=!i&&s((function(){for(var t=new c,e=5;e--;)t[u](e,e);return!t.has(-0)}));y||((l=e((function(e,r){xo(e,l,t);var n=Mi(new c,e,l);return null!=r&&Ti(r,n[u],{that:n,AS_ENTRIES:o}),n}))).prototype=f,f.constructor=l),(g||m)&&(p("delete"),p("has"),o&&p("get")),(m||d)&&p(u),i&&f.clear&&delete f.clear}return h[t]=l,n({global:!0,forced:l!=c},h),ge(l,t),i||r.setStrong(l,t,o),l};var Ri,Li=M,Pi=Si.fastKey,Ni=V.set,_i=V.getterFor;bi("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Ri={getConstructor:function(t,e,r,n){var o=t((function(t,i){xo(t,o,e),Ni(t,{type:e,index:Xt(null),first:void 0,last:void 0,size:0}),c||(t.size=0),null!=i&&Ti(i,t[n],{that:t,AS_ENTRIES:r})})),i=_i(e),a=function(t,e,r){var n,o,a=i(t),s=u(t,e);return s?s.value=r:(a.last=s={index:o=Pi(e,!0),key:e,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=s),n&&(n.next=s),c?a.size++:t.size++,"F"!==o&&(a.index[o]=s)),t},u=function(t,e){var r,n=i(t),o=Pi(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return So(o.prototype,{clear:function(){for(var t=i(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,c?t.size=0:this.size=0},delete:function(t){var e=this,r=i(e),n=u(e,t);if(n){var o=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=o),o&&(o.previous=a),r.first==n&&(r.first=o),r.last==n&&(r.last=a),c?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=i(this),n=we(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!u(this,t)}}),So(o.prototype,r?{get:function(t){var e=u(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),c&&Li(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=_i(e),i=_i(n);vn(t,e,(function(t,e){Ni(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),lo(e)}});var Fi={},Ui=Math.log;Fi=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Ui(1+t)};var Ci=Math.acosh,Bi=Math.log,Di=Math.sqrt,Wi=Math.LN2,zi=!Ci||710!=Math.floor(Ci(Number.MAX_VALUE))||Ci(1/0)!=1/0;n({target:"Math",stat:!0,forced:zi},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Bi(t)+Wi:Fi(t-1+Di(t-1)*Di(t+1))}});var Vi=Math.asinh,qi=Math.log,Gi=Math.sqrt;n({target:"Math",stat:!0,forced:!(Vi&&1/Vi(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):qi(e+Gi(e*e+1)):e}});var $i=Math.atanh,Hi=Math.log;n({target:"Math",stat:!0,forced:!($i&&1/$i(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:Hi((1+t)/(1-t))/2}});var Yi={};Yi=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1};var Ji=Math.abs,Xi=Math.pow;n({target:"Math",stat:!0},{cbrt:function(t){return Yi(t=+t)*Xi(Ji(t),1/3)}});Math.floor,Math.log,Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(t){return 0,32}});var Ki={},Qi=Math.expm1,Zi=Math.exp;Ki=!Qi||Qi(10)>22025.465794806718||Qi(10)<22025.465794806718||-2e-17!=Qi(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Zi(t)-1}:Qi;var ta=Math.cosh,ea=Math.abs,ra=Math.E;n({target:"Math",stat:!0,forced:!ta||ta(710)===1/0},{cosh:function(t){var e=Ki(ea(t)-1)+1;return(e+1/(e*ra*ra))*(ra/2)}}),n({target:"Math",stat:!0,forced:Ki!=Math.expm1},{expm1:Ki});var na,oa=Math.abs,ia=Math.pow,aa=ia(2,-52),ua=ia(2,-23),ca=ia(2,127)*(2-ua),sa=ia(2,-126);na=Math.fround||function(t){var e,r,n=oa(t),o=Yi(t);return n<sa?o*(n/sa/ua+1/aa-1/aa)*sa*ua:(r=(e=(1+ua/aa)*n)-(e-n))>ca||r!=r?o*(1/0):o*r},n({target:"Math",stat:!0},{fround:na});var fa=Math.hypot,la=Math.abs,ha=Math.sqrt,pa=!!fa&&fa(1/0,NaN)!==1/0;n({target:"Math",stat:!0,forced:pa},{hypot:function(t,e){for(var r,n,o=0,i=0,a=arguments.length,u=0;i<a;)u<(r=la(arguments[i++]))?(o=o*(n=u/r)*n+1,u=r):o+=r>0?(n=r/u)*n:r;return u===1/0?1/0:u*ha(o)}});var va=Math.imul,da=s((function(){return-5!=va(4294967295,5)||2!=va.length}));n({target:"Math",stat:!0,forced:da},{imul:function(t,e){var r=65535,n=+t,o=+e,i=r&n,a=r&o;return 0|i*a+((r&n>>>16)*a+i*(r&o>>>16)<<16>>>0)}});var ga=Math.log,ya=Math.LOG10E;n({target:"Math",stat:!0},{log10:function(t){return ga(t)*ya}}),n({target:"Math",stat:!0},{log1p:Fi});var ma=Math.log,ba=Math.LN2;n({target:"Math",stat:!0},{log2:function(t){return ma(t)/ba}}),n({target:"Math",stat:!0},{sign:Yi});var wa=Math.abs,Sa=Math.exp,xa=Math.E,Aa=s((function(){return-2e-17!=Math.sinh(-2e-17)}));n({target:"Math",stat:!0,forced:Aa},{sinh:function(t){return wa(t=+t)<1?(Ki(t)-Ki(-t))/2:(Sa(t-1)-Sa(-t-1))*(xa/2)}});var Ea=Math.exp;n({target:"Math",stat:!0},{tanh:function(t){var e=Ki(t=+t),r=Ki(-t);return e==1/0?1:r==1/0?-1:(e-r)/(Ea(t)+Ea(-t))}}),ge(Math,"Math",!0);var Oa=Math.ceil,ka=Math.floor;n({target:"Math",stat:!0},{trunc:function(t){return(t>0?ka:Oa)(t)}});var ja,Ta,Ia=gt,Ma=o,Ra=M;Ta="\t\n\v\f\r                \u2028\u2029\ufeff";var La=RegExp("^[\t\n\v\f\r                \u2028\u2029\ufeff][\t\n\v\f\r                \u2028\u2029\ufeff]*"),Pa=RegExp("[\t\n\v\f\r                \u2028\u2029\ufeff][\t\n\v\f\r                \u2028\u2029\ufeff]*$"),Na=function(t){return function(e){var r=String(w(e));return 1&t&&(r=r.replace(La,"")),2&t&&(r=r.replace(Pa,"")),r}},_a=(ja={start:Na(1),end:Na(2),trim:Na(3)}).trim,Fa="Number",Ua=a.Number,Ca=Ua.prototype,Ba=g(Xt(Ca))==Fa,Da=function(t){var e,r,n,o,i,a,u,c,s=S(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=_a(s)).charCodeAt(0))||45===e){if(88===(r=s.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,u=0;u<a;u++)if((c=i.charCodeAt(u))<48||c>o)return NaN;return parseInt(i,n)}return+s};if(Pt(Fa,!Ua(" 0o1")||!Ua("0b1")||Ua("+0x1"))){for(var Wa,za=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof za&&(Ba?s((function(){Ca.valueOf.call(r)})):g(r)!=Fa)?Mi(new Ua(Da(e)),r,za):Da(e)},Va=c?Ia(Ua):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),qa=0;Va.length>qa;qa++)E(Ua,Wa=Va[qa])&&!E(za,Wa)&&Ra(za,Wa,Ma(Ua,Wa));za.prototype=Ca,Ca.constructor=za,F(a,Fa,za)}n({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)});var Ga,$a=a.isFinite;Ga=Number.isFinite||function(t){return"number"==typeof t&&$a(t)},n({target:"Number",stat:!0},{isFinite:Ga});var Ha,Ya=Math.floor;n({target:"Number",stat:!0},{isInteger:Ha=function(t){return!x(t)&&isFinite(t)&&Ya(t)===t}}),n({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Ja=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(t){return Ha(t)&&Ja(t)<=9007199254740991}}),n({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991}),n({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991});var Xa,Ka=ja.trim,Qa=a.parseFloat;Xa=1/Qa("\t\n\v\f\r                \u2028\u2029\ufeff-0")!=-1/0?function(t){var e=Ka(String(t)),r=Qa(e);return 0===r&&"-"==e.charAt(0)?-0:r}:Qa,n({target:"Number",stat:!0,forced:Number.parseFloat!=Xa},{parseFloat:Xa});var Za,tu=ja.trim,eu=a.parseInt,ru=/^[+-]?0[Xx]/;Za=8!==eu("\t\n\v\f\r                \u2028\u2029\ufeff08")||22!==eu("\t\n\v\f\r                \u2028\u2029\ufeff0x16")?function(t,e){var r=tu(String(t));return eu(r,e>>>0||(ru.test(r)?16:10))}:eu,n({target:"Number",stat:!0,forced:Number.parseInt!=Za},{parseInt:Za});var nu;nu=function(t){if("number"!=typeof t&&"Number"!=g(t))throw TypeError("Incorrect invocation");return+t};var ou;ou=function(t){var e=String(w(this)),r="",n=St(t);if(n<0||n==1/0)throw RangeError("Wrong number of repetitions");for(;n>0;n>>>=1,e+=e)1&n&&(r+=e);return r};var iu=1..toFixed,au=Math.floor,uu=function(t,e,r){return 0===e?r:e%2==1?uu(t,e-1,r*t):uu(t*t,e/2,r)},cu=function(t,e,r){for(var n=-1,o=r;++n<6;)o+=e*t[n],t[n]=o%1e7,o=au(o/1e7)},su=function(t,e){for(var r=6,n=0;--r>=0;)n+=t[r],t[r]=au(n/e),n=n%e*1e7},fu=function(t){for(var e=6,r="";--e>=0;)if(""!==r||0===e||0!==t[e]){var n=String(t[e]);r=""===r?n:r+ou.call("0",7-n.length)+n}return r},lu=iu&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==1e18.toFixed(0))||!s((function(){iu.call({})}));n({target:"Number",proto:!0,forced:lu},{toFixed:function(t){var e,r,n,o,i=nu(this),a=St(t),u=[0,0,0,0,0,0],c="",s="0";if(a<0||a>20)throw RangeError("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return String(i);if(i<0&&(c="-",i=-i),i>1e-21)if(r=(e=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e}(i*uu(2,69,1))-69)<0?i*uu(2,-e,1):i/uu(2,e,1),r*=4503599627370496,(e=52-e)>0){for(cu(u,0,r),n=a;n>=7;)cu(u,1e7,0),n-=7;for(cu(u,uu(10,n,1),0),n=e-1;n>=23;)su(u,8388608),n-=23;su(u,1<<n),cu(u,1,1),su(u,2),s=fu(u)}else cu(u,0,r),cu(u,1<<-e,0),s=fu(u)+ou.call("0",a);return s=a>0?c+((o=s.length)<=a?"0."+ou.call("0",a-o)+s:s.slice(0,o-a)+"."+s.slice(o-a)):c+s}});var hu={},pu=Object.assign,vu=Object.defineProperty;hu=!pu||s((function(){if(c&&1!==pu({b:1},pu(vu({},"a",{enumerable:!0,get:function(){vu(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=pu({},t)[r]||Qt(pu({},e)).join("")!=n}))?function(t,e){for(var r=A(t),n=arguments.length,o=1,i=Mt,a=f;n>o;)for(var u,s=y(arguments[o++]),l=i?Qt(s).concat(i(s)):Qt(s),h=l.length,p=0;h>p;)u=l[p++],c&&!a.call(s,u)||(r[u]=s[u]);return r}:pu,n({target:"Object",stat:!0,forced:Object.assign!==hu},{assign:hu});var du,gu,yu=zt.match(/AppleWebKit\/(\d+)\./);gu=!!yu&&+yu[1],du=!s((function(){if(!(gu&&gu<535)){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete a[t]}})),c&&n({target:"Object",proto:!0,forced:du},{__defineGetter__:function(t,e){M(A(this),t,{get:Se(e),enumerable:!0,configurable:!0})}}),c&&n({target:"Object",proto:!0,forced:du},{__defineSetter__:function(t,e){M(A(this),t,{set:Se(e),enumerable:!0,configurable:!0})}});var mu,bu=f,wu=function(t){return function(e){for(var r,n=d(e),o=Qt(n),i=o.length,a=0,u=[];i>a;)r=o[a++],c&&!bu.call(n,r)||u.push(t?[r,n[r]]:n[r]);return u}},Su=(mu={entries:wu(!0),values:wu(!1)}).entries;n({target:"Object",stat:!0},{entries:function(t){return Su(t)}});var xu=Si.onFreeze,Au=Object.freeze,Eu=s((function(){Au(1)}));n({target:"Object",stat:!0,forced:Eu,sham:!wi},{freeze:function(t){return Au&&x(t)?Au(xu(t)):t}}),n({target:"Object",stat:!0},{fromEntries:function(t){var e={};return Ti(t,(function(t,r){fr(e,t,r)}),{AS_ENTRIES:!0}),e}});var Ou=o,ku=s((function(){Ou(1)}));n({target:"Object",stat:!0,forced:!c||ku,sham:!c},{getOwnPropertyDescriptor:function(t,e){return Ou(d(t),e)}}),n({target:"Object",stat:!0,sham:!c},{getOwnPropertyDescriptors:function(t){for(var e,r,n=d(t),i=o,a=vt(n),u={},c=0;a.length>c;)void 0!==(r=i(n,e=a[c++]))&&fr(u,e,r);return u}});var ju=ee,Tu=s((function(){return!Object.getOwnPropertyNames(1)}));n({target:"Object",stat:!0,forced:Tu},{getOwnPropertyNames:ju});var Iu=s((function(){mn(1)}));n({target:"Object",stat:!0,forced:Iu,sham:!yn},{getPrototypeOf:function(t){return mn(A(t))}});var Mu={};Mu=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e},n({target:"Object",stat:!0},{is:Mu});var Ru=Object.isExtensible,Lu=s((function(){Ru(1)}));n({target:"Object",stat:!0,forced:Lu},{isExtensible:function(t){return!!x(t)&&(!Ru||Ru(t))}});var Pu=Object.isFrozen,Nu=s((function(){Pu(1)}));n({target:"Object",stat:!0,forced:Nu},{isFrozen:function(t){return!x(t)||!!Pu&&Pu(t)}});var _u=Object.isSealed,Fu=s((function(){_u(1)}));n({target:"Object",stat:!0,forced:Fu},{isSealed:function(t){return!x(t)||!!_u&&_u(t)}});var Uu=s((function(){Qt(1)}));n({target:"Object",stat:!0,forced:Uu},{keys:function(t){return Qt(A(t))}});var Cu=o;c&&n({target:"Object",proto:!0,forced:du},{__lookupGetter__:function(t){var e,r=A(this),n=S(t,!0);do{if(e=Cu(r,n))return e.get}while(r=mn(r))}});var Bu=o;c&&n({target:"Object",proto:!0,forced:du},{__lookupSetter__:function(t){var e,r=A(this),n=S(t,!0);do{if(e=Bu(r,n))return e.set}while(r=mn(r))}});var Du=Si.onFreeze,Wu=Object.preventExtensions,zu=s((function(){Wu(1)}));n({target:"Object",stat:!0,forced:zu,sham:!wi},{preventExtensions:function(t){return Wu&&x(t)?Wu(Du(t)):t}});var Vu=Si.onFreeze,qu=Object.seal,Gu=s((function(){qu(1)}));n({target:"Object",stat:!0,forced:Gu,sham:!wi},{seal:function(t){return qu&&x(t)?qu(Vu(t)):t}});var $u;$u=Jr?{}.toString:function(){return"[object "+Xr(this)+"]"},Jr||F(Object.prototype,"toString",$u,{unsafe:!0});var Hu=mu.values;n({target:"Object",stat:!0},{values:function(t){return Hu(t)}});var Yu={};Yu=a.Promise;var Ju,Xu=se("species");Ju=function(t,e){var r,n=R(t).constructor;return void 0===n||null==(r=R(n)[Xu])?e:Se(r)};var Ku,Qu;Qu=/(?:iphone|ipod|ipad).*applewebkit/i.test(zt);var Zu,tc,ec,rc=a.location,nc=a.setImmediate,oc=a.clearImmediate,ic=a.process,ac=a.MessageChannel,uc=a.Dispatch,cc=0,sc={},fc="onreadystatechange",lc=function(t){if(sc.hasOwnProperty(t)){var e=sc[t];delete sc[t],e()}},hc=function(t){return function(){lc(t)}},pc=function(t){lc(t.data)},vc=function(t){a.postMessage(t+"",rc.protocol+"//"+rc.host)};nc&&oc||(nc=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return sc[++cc]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},Zu(cc),cc},oc=function(t){delete sc[t]},Zn?Zu=function(t){ic.nextTick(hc(t))}:uc&&uc.now?Zu=function(t){uc.now(hc(t))}:ac&&!Qu?(ec=(tc=new ac).port2,tc.port1.onmessage=pc,Zu=we(ec.postMessage,ec,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&rc&&"file:"!==rc.protocol&&!s(vc)?(Zu=vc,a.addEventListener("message",pc,!1)):Zu=fc in j("script")?function(t){Zt.appendChild(j("script")).onreadystatechange=function(){Zt.removeChild(this),lc(t)}}:function(t){setTimeout(hc(t),0)});var dc,gc=(Ku={set:nc,clear:oc}).set,yc={},mc=o,bc=Ku.set;dc=/web0s(?!.*chrome)/i.test(zt);var wc,Sc,xc,Ac,Ec,Oc,kc,jc,Tc=a.MutationObserver||a.WebKitMutationObserver,Ic=a.document,Mc=a.process,Rc=a.Promise,Lc=mc(a,"queueMicrotask"),Pc=Lc&&Lc.value;Pc||(wc=function(){var t,e;for(Zn&&(t=Mc.domain)&&t.exit();Sc;){e=Sc.fn,Sc=Sc.next;try{e()}catch(t){throw Sc?Ac():xc=void 0,t}}xc=void 0,t&&t.enter()},Qu||Zn||dc||!Tc||!Ic?Rc&&Rc.resolve?((kc=Rc.resolve(void 0)).constructor=Rc,jc=kc.then,Ac=function(){jc.call(kc,wc)}):Ac=Zn?function(){Mc.nextTick(wc)}:function(){bc.call(a,wc)}:(Ec=!0,Oc=Ic.createTextNode(""),new Tc(wc).observe(Oc,{characterData:!0}),Ac=function(){Oc.data=Ec=!Ec})),yc=Pc||function(t){var e={fn:t,next:void 0};xc&&(xc.next=e),Sc||(Sc=e,Ac()),xc=e};var Nc,_c,Fc=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=Se(e),this.reject=Se(r)};_c=function(t){return new Fc(t)},Nc=function(t,e){if(R(t),x(e)&&e.constructor===t)return e;var r=_c(t);return(0,r.resolve)(e),r.promise};var Uc;Uc=function(t,e){var r=a.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))};var Cc;Cc=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}};var Bc;Bc="object"==typeof window;var Dc,Wc,zc,Vc,qc=se("species"),Gc="Promise",$c=V.get,Hc=V.set,Yc=V.getterFor(Gc),Jc=Yu&&Yu.prototype,Xc=Yu,Kc=Jc,Qc=a.TypeError,Zc=a.document,ts=a.process,es=_c,rs=es,ns=!!(Zc&&Zc.createEvent&&a.dispatchEvent),os="function"==typeof PromiseRejectionEvent,is="unhandledrejection",as=!1,us=Pt(Gc,(function(){var t=C(Xc),e=t!==String(Xc);if(!e&&66===Wt)return!0;if(Wt>=51&&/native code/.test(t))return!1;var r=new Xc((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(r.constructor={})[qc]=n,!(as=r.then((function(){}))instanceof n)||!e&&Bc&&!os})),cs=us||!en((function(t){Xc.all(t).catch((function(){}))})),ss=function(t){var e;return!(!x(t)||"function"!=typeof(e=t.then))&&e},fs=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;yc((function(){for(var n=t.value,o=1==t.state,i=0;r.length>i;){var a,u,c,s=r[i++],f=o?s.ok:s.fail,l=s.resolve,h=s.reject,p=s.domain;try{f?(o||(2===t.rejection&&vs(t),t.rejection=1),!0===f?a=n:(p&&p.enter(),a=f(n),p&&(p.exit(),c=!0)),a===s.promise?h(Qc("Promise-chain cycle")):(u=ss(a))?u.call(a,l,h):l(a)):h(n)}catch(t){p&&!c&&p.exit(),h(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&hs(t)}))}},ls=function(t,e,r){var n,o;ns?((n=Zc.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),a.dispatchEvent(n)):n={promise:e,reason:r},!os&&(o=a["on"+t])?o(n):t===is&&Uc("Unhandled promise rejection",r)},hs=function(t){gc.call(a,(function(){var e,r=t.facade,n=t.value;if(ps(t)&&(e=Cc((function(){Zn?ts.emit("unhandledRejection",n,r):ls(is,r,n)})),t.rejection=Zn||ps(t)?2:1,e.error))throw e.value}))},ps=function(t){return 1!==t.rejection&&!t.parent},vs=function(t){gc.call(a,(function(){var e=t.facade;Zn?ts.emit("rejectionHandled",e):ls("rejectionhandled",e,t.value)}))},ds=function(t,e,r){return function(n){t(e,n,r)}},gs=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,fs(t,!0))},ys=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw Qc("Promise can't be resolved itself");var n=ss(e);n?yc((function(){var r={done:!1};try{n.call(e,ds(ys,r,t),ds(gs,r,t))}catch(e){gs(r,e,t)}})):(t.value=e,t.state=1,fs(t,!1))}catch(e){gs({done:!1},e,t)}}};if(us&&(Kc=(Xc=function(t){xo(this,Xc,Gc),Se(t),Dc.call(this);var e=$c(this);try{t(ds(ys,e),ds(gs,e))}catch(t){gs(e,t)}}).prototype,(Dc=function(t){Hc(this,{type:Gc,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=So(Kc,{then:function(t,e){var r=Yc(this),n=es(Ju(this,Xc));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=Zn?ts.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&fs(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Wc=function(){var t=new Dc,e=$c(t);this.promise=t,this.resolve=ds(ys,e),this.reject=ds(gs,e)},_c=es=function(t){return t===Xc||t===zc?new Wc(t):rs(t)},"function"==typeof Yu&&Jc!==Object.prototype)){Vc=Jc.then,as||(F(Jc,"then",(function(t,e){var r=this;return new Xc((function(t,e){Vc.call(r,t,e)})).then(t,e)}),{unsafe:!0}),F(Jc,"catch",Kc.catch,{unsafe:!0}));try{delete Jc.constructor}catch(t){}Mn&&Mn(Jc,Kc)}n({global:!0,wrap:!0,forced:us},{Promise:Xc}),ge(Xc,Gc,!1),lo(Gc),zc=pt(Gc),n({target:Gc,stat:!0,forced:us},{reject:function(t){var e=es(this);return e.reject.call(void 0,t),e.promise}}),n({target:Gc,stat:!0,forced:us},{resolve:function(t){return Nc(this,t)}}),n({target:Gc,stat:!0,forced:cs},{all:function(t){var e=this,r=es(e),n=r.resolve,o=r.reject,i=Cc((function(){var r=Se(e.resolve),i=[],a=0,u=1;Ti(t,(function(t){var c=a++,s=!1;i.push(void 0),u++,r.call(e,t).then((function(t){s||(s=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=es(e),n=r.reject,o=Cc((function(){var o=Se(e.resolve);Ti(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var ms=!!Yu&&s((function(){Yu.prototype.finally.call({then:function(){}},(function(){}))}));if(n({target:"Promise",proto:!0,real:!0,forced:ms},{finally:function(t){var e=Ju(this,pt("Promise")),r="function"==typeof t;return this.then(r?function(r){return Nc(e,t()).then((function(){return r}))}:t,r?function(r){return Nc(e,t()).then((function(){throw r}))}:t)}}),"function"==typeof Yu){var bs=pt("Promise").prototype.finally;Yu.prototype.finally!==bs&&F(Yu.prototype,"finally",bs,{unsafe:!0})}var ws=pt("Reflect","apply"),Ss=Function.apply,xs=!s((function(){ws((function(){}))}));n({target:"Reflect",stat:!0,forced:xs},{apply:function(t,e,r){return Se(t),R(r),ws?ws(t,e,r):Ss.call(t,e,r)}});var As={},Es=[].slice,Os={},ks=function(t,e,r){if(!(e in Os)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";Os[e]=Function("C,a","return new C("+n.join(",")+")")}return Os[e](t,r)};As=Function.bind||function(t){var e=Se(this),r=Es.call(arguments,1),n=function(){var o=r.concat(Es.call(arguments));return this instanceof n?ks(e,o.length,o):e.apply(t,o)};return x(e.prototype)&&(n.prototype=e.prototype),n};var js=pt("Reflect","construct"),Ts=s((function(){function t(){}return!(js((function(){}),[],t)instanceof t)})),Is=!s((function(){js((function(){}))})),Ms=Ts||Is;n({target:"Reflect",stat:!0,forced:Ms,sham:Ms},{construct:function(t,e){Se(t),R(e);var r=arguments.length<3?t:Se(arguments[2]);if(Is&&!Ts)return js(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(As.apply(t,n))}var o=r.prototype,i=Xt(x(o)?o:Object.prototype),a=Function.apply.call(t,i,e);return x(a)?a:i}});var Rs=s((function(){Reflect.defineProperty(M({},1,{value:1}),1,{value:2})}));n({target:"Reflect",stat:!0,forced:Rs,sham:!c},{defineProperty:function(t,e,r){R(t);var n=S(e,!0);R(r);try{return M(t,n,r),!0}catch(t){return!1}}});var Ls=o;n({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var r=Ls(R(t),e);return!(r&&!r.configurable)&&delete t[e]}}),n({target:"Reflect",stat:!0},{get:function t(e,r){var n,i,a=arguments.length<3?e:arguments[2];return R(e)===a?e[r]:(n=o(e,r))?E(n,"value")?n.value:void 0===n.get?void 0:n.get.call(a):x(i=mn(e))?t(i,r,a):void 0}}),n({target:"Reflect",stat:!0,sham:!c},{getOwnPropertyDescriptor:function(t,e){return o(R(t),e)}}),n({target:"Reflect",stat:!0,sham:!yn},{getPrototypeOf:function(t){return mn(R(t))}}),n({target:"Reflect",stat:!0},{has:function(t,e){return e in t}});var Ps=Object.isExtensible;n({target:"Reflect",stat:!0},{isExtensible:function(t){return R(t),!Ps||Ps(t)}}),n({target:"Reflect",stat:!0},{ownKeys:vt}),n({target:"Reflect",stat:!0,sham:!wi},{preventExtensions:function(t){R(t);try{var e=pt("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}});var Ns=s((function(){var t=function(){},e=M(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)}));n({target:"Reflect",stat:!0,forced:Ns},{set:function t(e,r,n){var i,a,u=arguments.length<4?e:arguments[3],c=o(R(e),r);if(!c){if(x(a=mn(e)))return t(a,r,n,u);c=v(0)}if(E(c,"value")){if(!1===c.writable||!x(u))return!1;if(i=o(u,r)){if(i.get||i.set||!1===i.writable)return!1;i.value=n,M(u,r,i)}else M(u,r,v(0,n));return!0}return void 0!==c.set&&(c.set.call(u,n),!0)}}),Mn&&n({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){R(t),In(e);try{return Mn(t,e),!0}catch(t){return!1}}});var _s,Fs=M,Us=gt,Cs=se("match");_s=function(t){var e;return x(t)&&(void 0!==(e=t[Cs])?!!e:"RegExp"==g(t))};var Bs,Ds,Ws;Bs=function(){var t=R(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};var zs=function(t,e){return RegExp(t,e)};Ws=s((function(){var t=zs("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Ds=s((function(){var t=zs("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));var Vs,qs=V.enforce;Vs=s((function(){var t=RegExp(".","string".charAt(0));return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}));var Gs;Gs=s((function(){var t=RegExp("(?<a>b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}));var $s=se("match"),Hs=a.RegExp,Ys=Hs.prototype,Js=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Xs=/a/g,Ks=/a/g,Qs=new Hs(Xs)!==Xs,Zs=Ws,tf=c&&(!Qs||Zs||Vs||Gs||s((function(){return Ks[$s]=!1,Hs(Xs)!=Xs||Hs(Ks)==Ks||"/a/i"!=Hs(Xs,"i")})));if(Pt("RegExp",tf)){for(var ef=function(t,e){var r,n,o,i,a,u,c=this instanceof ef,s=_s(t),f=void 0===e,l=[],h=t;if(!c&&s&&f&&t.constructor===ef)return t;if((s||t instanceof ef)&&(t=t.source,f&&(e="flags"in h?h.flags:Bs.call(h))),t=void 0===t?"":String(t),e=void 0===e?"":String(e),h=t,Vs&&"dotAll"in Xs&&(n=!!e&&e.indexOf("s")>-1)&&(e=e.replace(/s/g,"")),r=e,Zs&&"sticky"in Xs&&(o=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,"")),Gs&&(t=(i=function(t){for(var e,r=t.length,n=0,o="",i=[],a={},u=!1,c=!1,s=0,f="";n<=r;n++){if("\\"===(e=t.charAt(n)))e+=t.charAt(++n);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:Js.test(t.slice(n+1))&&(n+=2,c=!0),o+=e,s++;continue;case">"===e&&c:if(""===f||E(a,f))throw new SyntaxError("Invalid capture group name");a[f]=!0,i.push([f,s]),c=!1,f="";continue}c?f+=e:o+=e}return[o,i]}(t))[0],l=i[1]),a=Mi(Hs(t,e),c?this:Ys,ef),(n||o||l.length)&&(u=qs(a),n&&(u.dotAll=!0,u.raw=ef(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=t.charAt(n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+t.charAt(++n);return o}(t),r)),o&&(u.sticky=!0),l.length&&(u.groups=l)),t!==h)try{N(a,"source",""===h?"(?:)":h)}catch(t){}return a},rf=function(t){t in ef||Fs(ef,t,{configurable:!0,get:function(){return Hs[t]},set:function(e){Hs[t]=e}})},nf=Us(Hs),of=0;nf.length>of;)rf(nf[of++]);Ys.constructor=ef,ef.prototype=Ys,F(a,"RegExp",ef)}lo("RegExp");var af,uf,cf={},sf=V.get,ff=RegExp.prototype.exec,lf=H("native-string-replace",String.prototype.replace),hf=ff,pf=(af=/a/,uf=/b*/g,ff.call(af,"a"),ff.call(uf,"a"),0!==af.lastIndex||0!==uf.lastIndex),vf=Ws||Ds,df=void 0!==/()??/.exec("")[1];(pf||df||vf||Vs||Gs)&&(hf=function(t){var e,r,n,o,i,a,u,c=this,s=sf(c),f=s.raw;if(f)return f.lastIndex=c.lastIndex,e=hf.call(f,t),c.lastIndex=f.lastIndex,e;var l=s.groups,h=vf&&c.sticky,p=Bs.call(c),v=c.source,d=0,g=t;if(h&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),g=String(t).slice(c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==t[c.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,d++),r=new RegExp("^(?:"+v+")",p)),df&&(r=new RegExp("^"+v+"$(?!\\s)",p)),pf&&(n=c.lastIndex),o=ff.call(h?r:c,g),h?o?(o.input=o.input.slice(d),o[0]=o[0].slice(d),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:pf&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),df&&o&&o.length>1&&lf.call(o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&l)for(o.groups=a=Xt(null),i=0;i<l.length;i++)a[(u=l[i])[0]]=o[u[1]];return o}),n({target:"RegExp",proto:!0,forced:/./.exec!==(cf=hf)},{exec:cf}),c&&s((function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})}))&&M(RegExp.prototype,"flags",{configurable:!0,get:Bs});var gf="toString",yf=RegExp.prototype,mf=yf.toString,bf=s((function(){return"/a/b"!=mf.call({source:"a",flags:"b"})})),wf=mf.name!=gf;(bf||wf)&&F(RegExp.prototype,gf,(function(){var t=R(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in yf)?Bs.call(t):r)}),{unsafe:!0});bi("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Ri);var Sf,xf=function(t){return function(e,r){var n,o,i=String(w(e)),a=St(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},Af=(Sf={codeAt:xf(!1),charAt:xf(!0)}).codeAt;n({target:"String",proto:!0},{codePointAt:function(t){return Af(this,t)}});var Ef,Of=o;Ef=function(t){if(_s(t))throw TypeError("The method doesn't accept regular expressions");return t};var kf,jf=se("match");kf=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[jf]=!1,"/./"[t](e)}catch(t){}}return!1};var Tf,If="".endsWith,Mf=Math.min,Rf=kf("endsWith"),Lf=!(Rf||(Tf=Of(String.prototype,"endsWith"),!Tf||Tf.writable));n({target:"String",proto:!0,forced:!Lf&&!Rf},{endsWith:function(t){var e=String(w(this));Ef(t);var r=arguments.length>1?arguments[1]:void 0,n=wt(e.length),o=void 0===r?n:Mf(wt(r),n),i=String(t);return If?If.call(e,i,o):e.slice(o-i.length,o)===i}});var Pf=String.fromCharCode,Nf=String.fromCodePoint,_f=!!Nf&&1!=Nf.length;n({target:"String",stat:!0,forced:_f},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],Ot(e,1114111)!==e)throw RangeError(e+" is not a valid code point");r.push(e<65536?Pf(e):Pf(55296+((e-=65536)>>10),e%1024+56320))}return r.join("")}}),n({target:"String",proto:!0,forced:!kf("includes")},{includes:function(t){return!!~String(w(this)).indexOf(Ef(t),arguments.length>1?arguments[1]:void 0)}});var Ff=Sf.charAt,Uf="String Iterator",Cf=V.set,Bf=V.getterFor(Uf);vn(String,"String",(function(t){Cf(this,{type:Uf,string:String(t),index:0})}),(function(){var t,e=Bf(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Ff(r,n),e.index+=t.length,{value:t,done:!1})}));var Df,Wf,zf=se("species"),Vf=RegExp.prototype,qf=Sf.charAt;Wf=function(t,e,r){return e+(r?qf(t,e).length:1)};var Gf;Gf=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==g(t))throw TypeError("RegExp#exec called on incompatible receiver");return cf.call(t,e)},(Df=function(t,e,r,n){var o=se(t),i=!s((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!s((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[zf]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var u=/./[o],c=e(o,""[t],(function(t,e,r,n,o){var a=e.exec;return a===cf||a===Vf.exec?i&&!o?{done:!0,value:u.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}));F(String.prototype,t,c[0]),F(Vf,o,c[1])}n&&N(Vf[o],"sham",!0)})("match",(function(t,e,r){return[function(e){var r=w(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,this,t);if(n.done)return n.value;var o=R(this),i=String(t);if(!o.global)return Gf(o,i);var a=o.unicode;o.lastIndex=0;for(var u,c=[],s=0;null!==(u=Gf(o,i));){var f=String(u[0]);c[s]=f,""===f&&(o.lastIndex=Wf(i,wt(o.lastIndex),a)),s++}return 0===s?null:c}]}));var $f,Hf,Yf=Math.ceil,Jf=function(t){return function(e,r,n){var o,i,a=String(w(e)),u=a.length,c=void 0===n?" ":String(n),s=wt(r);return s<=u||""==c?a:((i=ou.call(c,Yf((o=s-u)/c.length))).length>o&&(i=i.slice(0,o)),t?a+i:i+a)}},Xf=($f={start:Jf(!1),end:Jf(!0)}).end;Hf=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(zt),n({target:"String",proto:!0,forced:Hf},{padEnd:function(t){return Xf(this,t,arguments.length>1?arguments[1]:void 0)}});var Kf=$f.start;n({target:"String",proto:!0,forced:Hf},{padStart:function(t){return Kf(this,t,arguments.length>1?arguments[1]:void 0)}}),n({target:"String",stat:!0},{raw:function(t){for(var e=d(t.raw),r=wt(e.length),n=arguments.length,o=[],i=0;r>i;)o.push(String(e[i++])),i<n&&o.push(String(arguments[i]));return o.join("")}}),n({target:"String",proto:!0},{repeat:ou});var Qf,Zf=Math.floor,tl="".replace,el=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,rl=/\$([$&'`]|\d{1,2})/g;Qf=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,c=rl;return void 0!==o&&(o=A(o),c=el),tl.call(i,c,(function(i,c){var s;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(a);case"<":s=o[c.slice(1,-1)];break;default:var f=+c;if(0===f)return i;if(f>u){var l=Zf(f/10);return 0===l?i:l<=u?void 0===n[l-1]?c.charAt(1):n[l-1]+c.charAt(1):i}s=n[f-1]}return void 0===s?"":s}))};var nl=se("replace"),ol=Math.max,il=Math.min,al="$0"==="a".replace(/./,"$0"),ul=!!/./[nl]&&""===/./[nl]("a","$0");Df("replace",(function(t,e,r){var n=ul?"$":"$0";return[function(t,r){var n=w(this),o=null==t?void 0:t[nl];return void 0!==o?o.call(t,n,r):e.call(String(n),t,r)},function(t,o){if("string"==typeof o&&-1===o.indexOf(n)&&-1===o.indexOf("$<")){var i=r(e,this,t,o);if(i.done)return i.value}var a=R(this),u=String(t),c="function"==typeof o;c||(o=String(o));var s=a.global;if(s){var f=a.unicode;a.lastIndex=0}for(var l=[];;){var h=Gf(a,u);if(null===h)break;if(l.push(h),!s)break;""===String(h[0])&&(a.lastIndex=Wf(u,wt(a.lastIndex),f))}for(var p,v="",d=0,g=0;g<l.length;g++){h=l[g];for(var y=String(h[0]),m=ol(il(St(h.index),u.length),0),b=[],w=1;w<h.length;w++)b.push(void 0===(p=h[w])?p:String(p));var S=h.groups;if(c){var x=[y].concat(b,m,u);void 0!==S&&x.push(S);var A=String(o.apply(void 0,x))}else A=Qf(y,u,m,b,S,o);m>=d&&(v+=u.slice(d,m)+A,d=m+y.length)}return v+u.slice(d)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!al||ul),Df("search",(function(t,e,r){return[function(e){var r=w(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,this,t);if(n.done)return n.value;var o=R(this),i=String(t),a=o.lastIndex;Mu(a,0)||(o.lastIndex=0);var u=Gf(o,i);return Mu(o.lastIndex,a)||(o.lastIndex=a),null===u?-1:u.index}]}));var cl=Ws,sl=[].push,fl=Math.min,ll=4294967295;Df("split",(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(w(this)),o=void 0===r?ll:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!_s(t))return e.call(n,t,o);for(var i,a,u,c=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,l=new RegExp(t.source,s+"g");(i=cf.call(l,n))&&!((a=l.lastIndex)>f&&(c.push(n.slice(f,i.index)),i.length>1&&i.index<n.length&&sl.apply(c,i.slice(1)),u=i[0].length,f=a,c.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return f===n.length?!u&&l.test("")||c.push(""):c.push(n.slice(f)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var o=w(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,o){var i=r(n,this,t,o,n!==e);if(i.done)return i.value;var a=R(this),u=String(t),c=Ju(a,RegExp),s=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(cl?"g":"y"),l=new c(cl?"^(?:"+a.source+")":a,f),h=void 0===o?ll:o>>>0;if(0===h)return[];if(0===u.length)return null===Gf(l,u)?[u]:[];for(var p=0,v=0,d=[];v<u.length;){l.lastIndex=cl?0:v;var g,y=Gf(l,cl?u.slice(v):u);if(null===y||(g=fl(wt(l.lastIndex+(cl?v:0)),u.length))===p)v=Wf(u,v,s);else{if(d.push(u.slice(p,v)),d.length===h)return d;for(var m=1;m<=y.length-1;m++)if(d.push(y[m]),d.length===h)return d;v=p=g}}return d.push(u.slice(p)),d}]}),!!s((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),cl);var hl=o,pl="".startsWith,vl=Math.min,dl=kf("startsWith"),gl=!dl&&!!function(){var t=hl(String.prototype,"startsWith");return t&&!t.writable}();n({target:"String",proto:!0,forced:!gl&&!dl},{startsWith:function(t){var e=String(w(this));Ef(t);var r=wt(vl(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return pl?pl.call(e,n,r):e.slice(r,r+n.length)===n}});var yl,ml=ja.trim;n({target:"String",proto:!0,forced:(yl=function(t){return s((function(){return!!Ta[t]()||"​…᠎"!="​…᠎"[t]()||Ta[t].name!==t}))})("trim")},{trim:function(){return ml(this)}});var bl=ja.end,wl=yl("trimEnd"),Sl=wl?function(){return bl(this)}:"".trimEnd;n({target:"String",proto:!0,forced:wl},{trimEnd:Sl,trimRight:Sl});var xl=ja.start,Al=yl("trimStart"),El=Al?function(){return xl(this)}:"".trimStart;n({target:"String",proto:!0,forced:Al},{trimStart:El,trimLeft:El});var Ol,kl=/"/g;Ol=function(t,e,r,n){var o=String(w(t)),i="<"+e;return""!==r&&(i+=" "+r+'="'+String(n).replace(kl,"&quot;")+'"'),i+">"+o+"</"+e+">"};var jl;n({target:"String",proto:!0,forced:(jl=function(t){return s((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))})("anchor")},{anchor:function(t){return Ol(this,"a","name",t)}}),n({target:"String",proto:!0,forced:jl("big")},{big:function(){return Ol(this,"big","","")}}),n({target:"String",proto:!0,forced:jl("blink")},{blink:function(){return Ol(this,"blink","","")}}),n({target:"String",proto:!0,forced:jl("bold")},{bold:function(){return Ol(this,"b","","")}}),n({target:"String",proto:!0,forced:jl("fixed")},{fixed:function(){return Ol(this,"tt","","")}}),n({target:"String",proto:!0,forced:jl("fontcolor")},{fontcolor:function(t){return Ol(this,"font","color",t)}}),n({target:"String",proto:!0,forced:jl("fontsize")},{fontsize:function(t){return Ol(this,"font","size",t)}}),n({target:"String",proto:!0,forced:jl("italics")},{italics:function(){return Ol(this,"i","","")}}),n({target:"String",proto:!0,forced:jl("link")},{link:function(t){return Ol(this,"a","href",t)}}),n({target:"String",proto:!0,forced:jl("small")},{small:function(){return Ol(this,"small","","")}}),n({target:"String",proto:!0,forced:jl("strike")},{strike:function(){return Ol(this,"strike","","")}}),n({target:"String",proto:!0,forced:jl("sub")},{sub:function(){return Ol(this,"sub","","")}}),n({target:"String",proto:!0,forced:jl("sup")},{sup:function(){return Ol(this,"sup","","")}});var Tl,Il,Ml,Rl={},Ll=M,Pl=a.Int8Array,Nl=Pl&&Pl.prototype,_l=a.Uint8ClampedArray,Fl=_l&&_l.prototype,Ul=Pl&&mn(Pl),Cl=Nl&&mn(Nl),Bl=Object.prototype,Dl=Bl.isPrototypeOf,Wl=se("toStringTag"),zl=Y("TYPED_ARRAY_TAG"),Vl=wo&&!!Mn&&"Opera"!==Xr(a.opera),ql=!1,Gl={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$l={BigInt64Array:8,BigUint64Array:8},Hl=function(t){if(!x(t))return!1;var e=Xr(t);return E(Gl,e)||E($l,e)};for(Ml in Gl)a[Ml]||(Vl=!1);if((!Vl||"function"!=typeof Ul||Ul===Function.prototype)&&(Ul=function(){throw TypeError("Incorrect invocation")},Vl))for(Ml in Gl)a[Ml]&&Mn(a[Ml],Ul);if((!Vl||!Cl||Cl===Bl)&&(Cl=Ul.prototype,Vl))for(Ml in Gl)a[Ml]&&Mn(a[Ml].prototype,Cl);if(Vl&&mn(Fl)!==Cl&&Mn(Fl,Cl),c&&!E(Cl,Wl))for(Ml in ql=!0,Ll(Cl,Wl,{get:function(){return x(this)?this[zl]:void 0}}),Gl)a[Ml]&&N(a[Ml],zl,Ml);var Yl=(Il={NATIVE_ARRAY_BUFFER_VIEWS:Vl,TYPED_ARRAY_TAG:ql&&zl,aTypedArray:function(t){if(Hl(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(Mn){if(Dl.call(Ul,t))return t}else for(var e in Gl)if(E(Gl,Ml)){var r=a[e];if(r&&(t===r||Dl.call(r,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r){if(c){if(r)for(var n in Gl){var o=a[n];if(o&&E(o.prototype,t))try{delete o.prototype[t]}catch(t){}}Cl[t]&&!r||F(Cl,t,r?e:Vl&&Nl[t]||e)}},exportTypedArrayStaticMethod:function(t,e,r){var n,o;if(c){if(Mn){if(r)for(n in Gl)if((o=a[n])&&E(o,t))try{delete o[t]}catch(t){}if(Ul[t]&&!r)return;try{return F(Ul,t,r?e:Vl&&Ul[t]||e)}catch(t){}}for(n in Gl)!(o=a[n])||o[t]&&!r||F(o,t,e)}},isView:function(t){if(!x(t))return!1;var e=Xr(t);return"DataView"===e||E(Gl,e)||E($l,e)},isTypedArray:Hl,TypedArray:Ul,TypedArrayPrototype:Cl}).NATIVE_ARRAY_BUFFER_VIEWS,Jl=a.ArrayBuffer,Xl=a.Int8Array;Tl=!Yl||!s((function(){Xl(1)}))||!s((function(){new Xl(-1)}))||!en((function(t){new Xl,new Xl(null),new Xl(1.5),new Xl(t)}),!0)||s((function(){return 1!==new Xl(new Jl(2),1,void 0).length}));var Kl,Ql;Ql=function(t){var e=St(t);if(e<0)throw RangeError("The argument can't be less than 0");return e},Kl=function(t,e){var r=Ql(t);if(r%e)throw RangeError("Wrong offset");return r};var Zl,th=gt,eh=Il.aTypedArrayConstructor;Zl=function(t){var e,r,n,o,i,a,u=A(t),c=arguments.length,s=c>1?arguments[1]:void 0,f=void 0!==s,l=Yr(u);if(null!=l&&!qr(l))for(a=(i=l.call(u)).next,u=[];!(o=a.call(i)).done;)u.push(o.value);for(f&&c>2&&(s=we(s,arguments[2],2)),r=wt(u.length),n=new(eh(this))(r),e=0;r>e;e++)n[e]=f?s(u[e],e):u[e];return n};var rh=be.forEach,nh=V.get,oh=V.set,ih=M,ah=o,uh=Math.round,ch=a.RangeError,sh=bo.ArrayBuffer,fh=bo.DataView,lh=Il.NATIVE_ARRAY_BUFFER_VIEWS,hh=Il.TYPED_ARRAY_TAG,ph=Il.TypedArray,vh=Il.TypedArrayPrototype,dh=Il.aTypedArrayConstructor,gh=Il.isTypedArray,yh="BYTES_PER_ELEMENT",mh="Wrong length",bh=function(t,e){for(var r=0,n=e.length,o=new(dh(t))(n);n>r;)o[r]=e[r++];return o},wh=function(t,e){ih(t,e,{get:function(){return nh(this)[e]}})},Sh=function(t){var e;return t instanceof sh||"ArrayBuffer"==(e=Xr(t))||"SharedArrayBuffer"==e},xh=function(t,e){return gh(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Ah=function(t,e){return xh(t,e=S(e,!0))?v(2,t[e]):ah(t,e)},Eh=function(t,e,r){return!(xh(t,e=S(e,!0))&&x(r)&&E(r,"value"))||E(r,"get")||E(r,"set")||r.configurable||E(r,"writable")&&!r.writable||E(r,"enumerable")&&!r.enumerable?ih(t,e,r):(t[e]=r.value,t)};c?(lh||(o=Ah,M=Eh,wh(vh,"buffer"),wh(vh,"byteOffset"),wh(vh,"byteLength"),wh(vh,"length")),n({target:"Object",stat:!0,forced:!lh},{getOwnPropertyDescriptor:Ah,defineProperty:Eh}),Rl=function(t,e,r){var o=t.match(/\d+$/)[0]/8,i=t+(r?"Clamped":"")+"Array",u="get"+t,c="set"+t,s=a[i],f=s,l=f&&f.prototype,h={},p=function(t,e){ih(t,e,{get:function(){return function(t,e){var r=nh(t);return r.view[u](e*o+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,n){var i=nh(t);r&&(n=(n=uh(n))<0?0:n>255?255:255&n),i.view[c](e*o+i.byteOffset,n,!0)}(this,e,t)},enumerable:!0})};lh?Tl&&(f=e((function(t,e,r,n){return xo(t,f,i),Mi(x(e)?Sh(e)?void 0!==n?new s(e,Kl(r,o),n):void 0!==r?new s(e,Kl(r,o)):new s(e):gh(e)?bh(f,e):Zl.call(f,e):new s(Ao(e)),t,f)})),Mn&&Mn(f,ph),rh(th(s),(function(t){t in f||N(f,t,s[t])})),f.prototype=l):(f=e((function(t,e,r,n){xo(t,f,i);var a,u,c,s=0,l=0;if(x(e)){if(!Sh(e))return gh(e)?bh(f,e):Zl.call(f,e);a=e,l=Kl(r,o);var h=e.byteLength;if(void 0===n){if(h%o)throw ch(mh);if((u=h-l)<0)throw ch(mh)}else if((u=wt(n)*o)+l>h)throw ch(mh);c=u/o}else c=Ao(e),a=new sh(u=c*o);for(oh(t,{buffer:a,byteOffset:l,byteLength:u,length:c,view:new fh(a)});s<c;)p(t,s++)})),Mn&&Mn(f,ph),l=f.prototype=Xt(vh)),l.constructor!==f&&N(l,"constructor",f),hh&&N(l,hh,i),h[i]=f,n({global:!0,forced:f!=s,sham:!lh},h),yh in f||N(f,yh,o),yh in l||N(l,yh,o),lo(i)}):Rl=function(){},Rl("Float32",(function(t){return function(e,r,n){return t(this,e,r,n)}})),Rl("Float64",(function(t){return function(e,r,n){return t(this,e,r,n)}})),Rl("Int8",(function(t){return function(e,r,n){return t(this,e,r,n)}})),Rl("Int16",(function(t){return function(e,r,n){return t(this,e,r,n)}})),Rl("Int32",(function(t){return function(e,r,n){return t(this,e,r,n)}})),Rl("Uint8",(function(t){return function(e,r,n){return t(this,e,r,n)}})),Rl("Uint8",(function(t){return function(e,r,n){return t(this,e,r,n)}}),!0),Rl("Uint16",(function(t){return function(e,r,n){return t(this,e,r,n)}})),Rl("Uint32",(function(t){return function(e,r,n){return t(this,e,r,n)}}));var Oh=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("copyWithin",(function(t,e){return br.call(Oh(this),t,e,arguments.length>2?arguments[2]:void 0)}));var kh=be.every,jh=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("every",(function(t){return kh(jh(this),t,arguments.length>1?arguments[1]:void 0)}));var Th=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("fill",(function(t){return jr.apply(Th(this),arguments)}));var Ih,Mh=be.filter,Rh=Il.aTypedArrayConstructor;Ih=function(t,e){for(var r=Ju(t,t.constructor),n=0,o=e.length,i=new(Rh(r))(o);o>n;)i[n]=e[n++];return i};var Lh=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("filter",(function(t){var e=Mh(Lh(this),t,arguments.length>1?arguments[1]:void 0);return Ih(this,e)}));var Ph=be.find,Nh=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("find",(function(t){return Ph(Nh(this),t,arguments.length>1?arguments[1]:void 0)}));var _h=be.findIndex,Fh=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("findIndex",(function(t){return _h(Fh(this),t,arguments.length>1?arguments[1]:void 0)}));var Uh=be.forEach,Ch=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("forEach",(function(t){Uh(Ch(this),t,arguments.length>1?arguments[1]:void 0)})),(0,Il.exportTypedArrayStaticMethod)("from",Zl,Tl);var Bh=bt.includes,Dh=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("includes",(function(t){return Bh(Dh(this),t,arguments.length>1?arguments[1]:void 0)}));var Wh=bt.indexOf,zh=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("indexOf",(function(t){return Wh(zh(this),t,arguments.length>1?arguments[1]:void 0)}));var Vh=se("iterator"),qh=a.Uint8Array,Gh=pn.values,$h=pn.keys,Hh=pn.entries,Yh=Il.aTypedArray,Jh=Il.exportTypedArrayMethod,Xh=qh&&qh.prototype[Vh],Kh=!!Xh&&("values"==Xh.name||null==Xh.name),Qh=function(){return Gh.call(Yh(this))};Jh("entries",(function(){return Hh.call(Yh(this))})),Jh("keys",(function(){return $h.call(Yh(this))})),Jh("values",Qh,!Kh),Jh(Vh,Qh,!Kh);var Zh=Il.aTypedArray,tp=[].join;(0,Il.exportTypedArrayMethod)("join",(function(t){return tp.apply(Zh(this),arguments)}));var ep=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("lastIndexOf",(function(t){return qn.apply(ep(this),arguments)}));var rp=be.map,np=Il.aTypedArray,op=Il.aTypedArrayConstructor;(0,Il.exportTypedArrayMethod)("map",(function(t){return rp(np(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(op(Ju(t,t.constructor)))(e)}))}));var ip=Il.aTypedArrayConstructor;(0,Il.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,e=arguments.length,r=new(ip(this))(e);e>t;)r[t]=arguments[t++];return r}),Tl);var ap=Qn.left,up=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("reduce",(function(t){return ap(up(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}));var cp=Qn.right,sp=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("reduceRight",(function(t){return cp(sp(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}));var fp=Il.aTypedArray,lp=Il.exportTypedArrayMethod,hp=Math.floor;lp("reverse",(function(){for(var t,e=this,r=fp(e).length,n=hp(r/2),o=0;o<n;)t=e[o],e[o++]=e[--r],e[r]=t;return e}));var pp=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("set",(function(t){pp(this);var e=Kl(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=A(t),o=wt(n.length),i=0;if(o+e>r)throw RangeError("Wrong length");for(;i<o;)this[e+i]=n[i++]}),s((function(){new Int8Array(1).set({})})));var vp=Il.aTypedArray,dp=Il.aTypedArrayConstructor,gp=[].slice;(0,Il.exportTypedArrayMethod)("slice",(function(t,e){for(var r=gp.call(vp(this),t,e),n=Ju(this,this.constructor),o=0,i=r.length,a=new(dp(n))(i);i>o;)a[o]=r[o++];return a}),s((function(){new Int8Array(1).slice()})));var yp=be.some,mp=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("some",(function(t){return yp(mp(this),t,arguments.length>1?arguments[1]:void 0)}));var bp={},wp=Math.floor,Sp=function(t,e){var r=t.length,n=wp(r/2);return r<8?xp(t,e):Ap(Sp(t.slice(0,n),e),Sp(t.slice(n),e),e)},xp=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},Ap=function(t,e,r){for(var n=t.length,o=e.length,i=0,a=0,u=[];i<n||a<o;)i<n&&a<o?u.push(r(t[i],e[a])<=0?t[i++]:e[a++]):u.push(i<n?t[i++]:e[a++]);return u};bp=Sp;var Ep,Op=zt.match(/firefox\/(\d+)/i);Ep=!!Op&&+Op[1];var kp;kp=/MSIE|Trident/.test(zt);var jp=Il.aTypedArray,Tp=Il.exportTypedArrayMethod,Ip=a.Uint16Array,Mp=Ip&&Ip.prototype.sort,Rp=!!Mp&&!s((function(){var t=new Ip(2);t.sort(null),t.sort({})})),Lp=!!Mp&&!s((function(){if(Wt)return Wt<74;if(Ep)return Ep<67;if(kp)return!0;if(gu)return gu<602;var t,e,r=new Ip(516),n=Array(516);for(t=0;t<516;t++)e=t%4,r[t]=515-t,n[t]=t-2*e+3;for(r.sort((function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(r[t]!==n[t])return!0}));Tp("sort",(function(t){var e=this;if(void 0!==t&&Se(t),Lp)return Mp.call(e,t);jp(e);var r,n=wt(e.length),o=Array(n);for(r=0;r<n;r++)o[r]=e[r];for(o=bp(e,function(t){return function(e,r){return void 0!==t?+t(e,r)||0:r!=r?-1:e!=e?1:0===e&&0===r?1/e>0&&1/r<0?1:-1:e>r}}(t)),r=0;r<n;r++)e[r]=o[r];return e}),!Lp||Rp);var Pp=Il.aTypedArray;(0,Il.exportTypedArrayMethod)("subarray",(function(t,e){var r=Pp(this),n=r.length,o=Ot(t,n);return new(Ju(r,r.constructor))(r.buffer,r.byteOffset+o*r.BYTES_PER_ELEMENT,wt((void 0===e?n:Ot(e,n))-o))}));var Np=a.Int8Array,_p=Il.aTypedArray,Fp=Il.exportTypedArrayMethod,Up=[].toLocaleString,Cp=[].slice,Bp=!!Np&&s((function(){Up.call(new Np(1))}));Fp("toLocaleString",(function(){return Up.apply(Bp?Cp.call(_p(this)):_p(this),arguments)}),s((function(){return[1,2].toLocaleString()!=new Np([1,2]).toLocaleString()}))||!s((function(){Np.prototype.toLocaleString.call([1,2])})));var Dp=Il.exportTypedArrayMethod,Wp=a.Uint8Array,zp=Wp&&Wp.prototype||{},Vp=[].toString,qp=[].join;s((function(){Vp.call({})}))&&(Vp=function(){return qp.call(this)});var Gp=zp.toString!=Vp;Dp("toString",Vp,Gp);var $p,Hp=Si.getWeakData,Yp=V.set,Jp=V.getterFor,Xp=be.find,Kp=be.findIndex,Qp=0,Zp=function(t){return t.frozen||(t.frozen=new tv)},tv=function(){this.entries=[]},ev=function(t,e){return Xp(t.entries,(function(t){return t[0]===e}))};tv.prototype={get:function(t){var e=ev(this,t);if(e)return e[1]},has:function(t){return!!ev(this,t)},set:function(t,e){var r=ev(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=Kp(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},$p={getConstructor:function(t,e,r,n){var o=t((function(t,i){xo(t,o,e),Yp(t,{type:e,id:Qp++,frozen:void 0}),null!=i&&Ti(i,t[n],{that:t,AS_ENTRIES:r})})),i=Jp(e),a=function(t,e,r){var n=i(t),o=Hp(R(e),!0);return!0===o?Zp(n).set(e,r):o[n.id]=r,t};return So(o.prototype,{delete:function(t){var e=i(this);if(!x(t))return!1;var r=Hp(t);return!0===r?Zp(e).delete(t):r&&E(r,e.id)&&delete r[e.id]},has:function(t){var e=i(this);if(!x(t))return!1;var r=Hp(t);return!0===r?Zp(e).has(t):r&&E(r,e.id)}}),So(o.prototype,r?{get:function(t){var e=i(this);if(x(t)){var r=Hp(t);return!0===r?Zp(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}};var rv,nv=V.enforce,ov=!a.ActiveXObject&&"ActiveXObject"in a,iv=Object.isExtensible,av=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},uv=bi("WeakMap",av,$p);if(q&&ov){rv=$p.getConstructor(av,"WeakMap",!0),Si.REQUIRED=!0;var cv=uv.prototype,sv=cv.delete,fv=cv.has,lv=cv.get,hv=cv.set;So(cv,{delete:function(t){if(x(t)&&!iv(t)){var e=nv(this);return e.frozen||(e.frozen=new rv),sv.call(this,t)||e.frozen.delete(t)}return sv.call(this,t)},has:function(t){if(x(t)&&!iv(t)){var e=nv(this);return e.frozen||(e.frozen=new rv),fv.call(this,t)||e.frozen.has(t)}return fv.call(this,t)},get:function(t){if(x(t)&&!iv(t)){var e=nv(this);return e.frozen||(e.frozen=new rv),fv.call(this,t)?lv.call(this,t):e.frozen.get(t)}return lv.call(this,t)},set:function(t,e){if(x(t)&&!iv(t)){var r=nv(this);r.frozen||(r.frozen=new rv),fv.call(this,t)?hv.call(this,t,e):r.frozen.set(t,e)}else hv.call(this,t,e);return this}})}bi("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),$p);var pv;for(var vv in pv={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}){var dv=a[vv],gv=dv&&dv.prototype;if(gv&&gv.forEach!==Cr)try{N(gv,"forEach",Cr)}catch(t){gv.forEach=Cr}}var yv=se("iterator"),mv=se("toStringTag"),bv=pn.values;for(var wv in pv){var Sv=a[wv],xv=Sv&&Sv.prototype;if(xv){if(xv[yv]!==bv)try{N(xv,yv,bv)}catch(t){xv[yv]=bv}if(xv[mv]||N(xv,mv,wv),pv[wv])for(var Av in pn)if(xv[Av]!==pn[Av])try{N(xv,Av,pn[Av])}catch(t){xv[Av]=pn[Av]}}}var Ev=!a.setImmediate||!a.clearImmediate;n({global:!0,bind:!0,enumerable:!0,forced:Ev},{setImmediate:Ku.set,clearImmediate:Ku.clear});var Ov=a.process;n({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){var e=Zn&&Ov.domain;yc(e?e.bind(t):t)}});var kv,jv=se("iterator");kv=!s((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[jv]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}));var Tv,Iv=Sf.codeAt,Mv=2147483647,Rv=/[^\0-\u007E]/,Lv=/[.\u3002\uFF0E\uFF61]/g,Pv="Overflow: input needs wider integers to process",Nv=Math.floor,_v=String.fromCharCode,Fv=function(t){return t+22+75*(t<26)},Uv=function(t,e,r){var n=0;for(t=r?Nv(t/700):t>>1,t+=Nv(t/e);t>455;n+=36)t=Nv(t/35);return Nv(n+36*t/(t+38))},Cv=function(t){var e,r,n=[],o=(t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=t.charCodeAt(r++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),r--)}else e.push(o)}return e}(t)).length,i=128,a=0,u=72;for(e=0;e<t.length;e++)(r=t[e])<128&&n.push(_v(r));var c=n.length,s=c;for(c&&n.push("-");s<o;){var f=Mv;for(e=0;e<t.length;e++)(r=t[e])>=i&&r<f&&(f=r);var l=s+1;if(f-i>Nv((Mv-a)/l))throw RangeError(Pv);for(a+=(f-i)*l,i=f,e=0;e<t.length;e++){if((r=t[e])<i&&++a>Mv)throw RangeError(Pv);if(r==i){for(var h=a,p=36;;p+=36){var v=p<=u?1:p>=u+26?26:p-u;if(h<v)break;var d=h-v,g=36-v;n.push(_v(Fv(v+d%g))),h=Nv(d/g)}n.push(_v(Fv(h))),u=Uv(a,l,s==c),a=0,++s}}++a,++i}return n.join("")};Tv=function(t){var e,r,n=[],o=t.toLowerCase().replace(Lv,".").split(".");for(e=0;e<o.length;e++)r=o[e],n.push(Rv.test(r)?"xn--"+Cv(r):r);return n.join(".")};var Bv,Dv;Dv=function(t){var e=Yr(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return R(e.call(t))};var Wv=pt("fetch"),zv=pt("Headers"),Vv=se("iterator"),qv="URLSearchParams",Gv="URLSearchParamsIterator",$v=V.set,Hv=V.getterFor(qv),Yv=V.getterFor(Gv),Jv=/\+/g,Xv=Array(4),Kv=function(t){return Xv[t-1]||(Xv[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},Qv=function(t){try{return decodeURIComponent(t)}catch(e){return t}},Zv=function(t){var e=t.replace(Jv," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(Kv(r--),Qv);return e}},td=/[!'()~]|%20/g,ed={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},rd=function(t){return ed[t]},nd=function(t){return encodeURIComponent(t).replace(td,rd)},od=function(t,e){if(e)for(var r,n,o=e.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),t.push({key:Zv(n.shift()),value:Zv(n.join("="))}))},id=function(t){this.entries.length=0,od(this.entries,t)},ad=function(t,e){if(t<e)throw TypeError("Not enough arguments")},ud=dn((function(t,e){$v(this,{type:Gv,iterator:Dv(Hv(t).entries),kind:e})}),"Iterator",(function(){var t=Yv(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r})),cd=function(){xo(this,cd,qv);var t,e,r,n,o,i,a,u,c,s=arguments.length>0?arguments[0]:void 0,f=this,l=[];if($v(f,{type:qv,entries:l,updateURL:function(){},updateSearchParams:id}),void 0!==s)if(x(s))if("function"==typeof(t=Yr(s)))for(r=(e=t.call(s)).next;!(n=r.call(e)).done;){if((a=(i=(o=Dv(R(n.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");l.push({key:a.value+"",value:u.value+""})}else for(c in s)E(s,c)&&l.push({key:c,value:s[c]+""});else od(l,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},sd=cd.prototype;So(sd,{append:function(t,e){ad(arguments.length,2);var r=Hv(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){ad(arguments.length,1);for(var e=Hv(this),r=e.entries,n=t+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;e.updateURL()},get:function(t){ad(arguments.length,1);for(var e=Hv(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){ad(arguments.length,1);for(var e=Hv(this).entries,r=t+"",n=[],o=0;o<e.length;o++)e[o].key===r&&n.push(e[o].value);return n},has:function(t){ad(arguments.length,1);for(var e=Hv(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){ad(arguments.length,1);for(var r,n=Hv(this),o=n.entries,i=!1,a=t+"",u=e+"",c=0;c<o.length;c++)(r=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,r.value=u));i||o.push({key:a,value:u}),n.updateURL()},sort:function(){var t,e,r,n=Hv(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(t=i[r],e=0;e<r;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=Hv(this).entries,n=we(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new ud(this,"keys")},values:function(){return new ud(this,"values")},entries:function(){return new ud(this,"entries")}},{enumerable:!0}),F(sd,Vv,sd.entries),F(sd,"toString",(function(){for(var t,e=Hv(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(nd(t.key)+"="+nd(t.value));return r.join("&")}),{enumerable:!0}),ge(cd,qv),n({global:!0,forced:!kv},{URLSearchParams:cd}),kv||"function"!=typeof Wv||"function"!=typeof zv||n({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,o=[t];return arguments.length>1&&(x(e=arguments[1])&&(r=e.body,Xr(r)===qv&&((n=e.headers?new zv(e.headers):new zv).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=Xt(e,{body:v(0,String(r)),headers:v(0,n)}))),o.push(e)),Wv.apply(this,o)}}),Bv={URLSearchParams:cd,getState:Hv};var fd,ld=a.URL,hd=Bv.URLSearchParams,pd=Bv.getState,vd=V.set,dd=V.getterFor("URL"),gd=Math.floor,yd=Math.pow,md="Invalid scheme",bd="Invalid host",wd="Invalid port",Sd=/[A-Za-z]/,xd=/[\d+-.A-Za-z]/,Ad=/\d/,Ed=/^0x/i,Od=/^[0-7]+$/,kd=/^\d+$/,jd=/^[\dA-Fa-f]+$/,Td=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Id=/[\0\t\n\r #/:<>?@[\\\]^|]/,Md=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Rd=/[\t\n\r]/g,Ld=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return bd;if(!(r=Nd(e.slice(1,-1))))return bd;t.host=r}else if(zd(t)){if(e=Tv(e),Td.test(e))return bd;if(null===(r=Pd(e)))return bd;t.host=r}else{if(Id.test(e))return bd;for(r="",n=Wr(e),o=0;o<n.length;o++)r+=Dd(n[o],Fd);t.host=r}},Pd=function(t){var e,r,n,o,i,a,u,c=t.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(e=c.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=c[n]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=Ed.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?kd:8==i?Od:jd).test(o))return t;a=parseInt(o,i)}r.push(a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=yd(256,5-e))return null}else if(a>255)return null;for(u=r.pop(),n=0;n<r.length;n++)u+=r[n]*yd(256,3-n);return u},Nd=function(t){var e,r,n,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,f=null,l=0,h=function(){return t.charAt(l)};if(":"==h()){if(":"!=t.charAt(1))return;l+=2,f=++s}for(;h();){if(8==s)return;if(":"!=h()){for(e=r=0;r<4&&jd.test(h());)e=16*e+parseInt(h(),16),l++,r++;if("."==h()){if(0==r)return;if(l-=r,s>6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;l++}if(!Ad.test(h()))return;for(;Ad.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}c[s]=256*c[s]+o,2!=++n&&4!=n||s++}if(4!=n)return;break}if(":"==h()){if(l++,!h())return}else if(h())return;c[s++]=e}else{if(null!==f)return;l++,f=++s}}if(null!==f)for(a=s-f,s=7;0!=s&&a>0;)u=c[s],c[s--]=c[f+a-1],c[f+--a]=u;else if(8!=s)return;return c},_d=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)e.unshift(t%256),t=gd(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},Fd={},Ud=hu({},Fd,{" ":1,'"':1,"<":1,">":1,"`":1}),Cd=hu({},Ud,{"#":1,"?":1,"{":1,"}":1}),Bd=hu({},Cd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Dd=function(t,e){var r=Iv(t,0);return r>32&&r<127&&!E(e,t)?t:encodeURIComponent(t)},Wd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},zd=function(t){return E(Wd,t.scheme)},Vd=function(t){return""!=t.username||""!=t.password},qd=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},Gd=function(t,e){var r;return 2==t.length&&Sd.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},$d=function(t){var e;return t.length>1&&Gd(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Hd=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&Gd(e[0],!0)||e.pop()},Yd=function(t){return"."===t||"%2e"===t.toLowerCase()},Jd={},Xd={},Kd={},Qd={},Zd={},tg={},eg={},rg={},ng={},og={},ig={},ag={},ug={},cg={},sg={},fg={},lg={},hg={},pg={},vg={},dg={},gg=function(t,e,r,n){var o,i,a,u,c,s=r||Jd,f=0,l="",h=!1,p=!1,v=!1;for(r||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(Md,"")),e=e.replace(Rd,""),o=Wr(e);f<=o.length;){switch(i=o[f],s){case Jd:if(!i||!Sd.test(i)){if(r)return md;s=Kd;continue}l+=i.toLowerCase(),s=Xd;break;case Xd:if(i&&(xd.test(i)||"+"==i||"-"==i||"."==i))l+=i.toLowerCase();else{if(":"!=i){if(r)return md;l="",s=Kd,f=0;continue}if(r&&(zd(t)!=E(Wd,l)||"file"==l&&(Vd(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=l,r)return void(zd(t)&&Wd[t.scheme]==t.port&&(t.port=null));l="","file"==t.scheme?s=cg:zd(t)&&n&&n.scheme==t.scheme?s=Qd:zd(t)?s=rg:"/"==o[f+1]?(s=Zd,f++):(t.cannotBeABaseURL=!0,t.path.push(""),s=pg)}break;case Kd:if(!n||n.cannotBeABaseURL&&"#"!=i)return md;if(n.cannotBeABaseURL&&"#"==i){t.scheme=n.scheme,t.path=n.path.slice(),t.query=n.query,t.fragment="",t.cannotBeABaseURL=!0,s=dg;break}s="file"==n.scheme?cg:tg;continue;case Qd:if("/"!=i||"/"!=o[f+1]){s=tg;continue}s=ng,f++;break;case Zd:if("/"==i){s=og;break}s=hg;continue;case tg:if(t.scheme=n.scheme,i==fd)t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query=n.query;else if("/"==i||"\\"==i&&zd(t))s=eg;else if("?"==i)t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query="",s=vg;else{if("#"!=i){t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.path.pop(),s=hg;continue}t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query=n.query,t.fragment="",s=dg}break;case eg:if(!zd(t)||"/"!=i&&"\\"!=i){if("/"!=i){t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,s=hg;continue}s=og}else s=ng;break;case rg:if(s=ng,"/"!=i||"/"!=l.charAt(f+1))continue;f++;break;case ng:if("/"!=i&&"\\"!=i){s=og;continue}break;case og:if("@"==i){h&&(l="%40"+l),h=!0,a=Wr(l);for(var d=0;d<a.length;d++){var g=a[d];if(":"!=g||v){var y=Dd(g,Bd);v?t.password+=y:t.username+=y}else v=!0}l=""}else if(i==fd||"/"==i||"?"==i||"#"==i||"\\"==i&&zd(t)){if(h&&""==l)return"Invalid authority";f-=Wr(l).length+1,l="",s=ig}else l+=i;break;case ig:case ag:if(r&&"file"==t.scheme){s=fg;continue}if(":"!=i||p){if(i==fd||"/"==i||"?"==i||"#"==i||"\\"==i&&zd(t)){if(zd(t)&&""==l)return bd;if(r&&""==l&&(Vd(t)||null!==t.port))return;if(u=Ld(t,l))return u;if(l="",s=lg,r)return;continue}"["==i?p=!0:"]"==i&&(p=!1),l+=i}else{if(""==l)return bd;if(u=Ld(t,l))return u;if(l="",s=ug,r==ag)return}break;case ug:if(!Ad.test(i)){if(i==fd||"/"==i||"?"==i||"#"==i||"\\"==i&&zd(t)||r){if(""!=l){var m=parseInt(l,10);if(m>65535)return wd;t.port=zd(t)&&m===Wd[t.scheme]?null:m,l=""}if(r)return;s=lg;continue}return wd}l+=i;break;case cg:if(t.scheme="file","/"==i||"\\"==i)s=sg;else{if(!n||"file"!=n.scheme){s=hg;continue}if(i==fd)t.host=n.host,t.path=n.path.slice(),t.query=n.query;else if("?"==i)t.host=n.host,t.path=n.path.slice(),t.query="",s=vg;else{if("#"!=i){$d(o.slice(f).join(""))||(t.host=n.host,t.path=n.path.slice(),Hd(t)),s=hg;continue}t.host=n.host,t.path=n.path.slice(),t.query=n.query,t.fragment="",s=dg}}break;case sg:if("/"==i||"\\"==i){s=fg;break}n&&"file"==n.scheme&&!$d(o.slice(f).join(""))&&(Gd(n.path[0],!0)?t.path.push(n.path[0]):t.host=n.host),s=hg;continue;case fg:if(i==fd||"/"==i||"\\"==i||"?"==i||"#"==i){if(!r&&Gd(l))s=hg;else if(""==l){if(t.host="",r)return;s=lg}else{if(u=Ld(t,l))return u;if("localhost"==t.host&&(t.host=""),r)return;l="",s=lg}continue}l+=i;break;case lg:if(zd(t)){if(s=hg,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=fd&&(s=hg,"/"!=i))continue}else t.fragment="",s=dg;else t.query="",s=vg;break;case hg:if(i==fd||"/"==i||"\\"==i&&zd(t)||!r&&("?"==i||"#"==i)){if(".."===(c=(c=l).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(Hd(t),"/"==i||"\\"==i&&zd(t)||t.path.push("")):Yd(l)?"/"==i||"\\"==i&&zd(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&Gd(l)&&(t.host&&(t.host=""),l=l.charAt(0)+":"),t.path.push(l)),l="","file"==t.scheme&&(i==fd||"?"==i||"#"==i))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==i?(t.query="",s=vg):"#"==i&&(t.fragment="",s=dg)}else l+=Dd(i,Cd);break;case pg:"?"==i?(t.query="",s=vg):"#"==i?(t.fragment="",s=dg):i!=fd&&(t.path[0]+=Dd(i,Fd));break;case vg:r||"#"!=i?i!=fd&&("'"==i&&zd(t)?t.query+="%27":t.query+="#"==i?"%23":Dd(i,Fd)):(t.fragment="",s=dg);break;case dg:i!=fd&&(t.fragment+=Dd(i,Ud))}f++}},yg=function(t){var e,r,n=xo(this,yg,"URL"),o=arguments.length>1?arguments[1]:void 0,i=String(t),a=vd(n,{type:"URL"});if(void 0!==o)if(o instanceof yg)e=dd(o);else if(r=gg(e={},String(o)))throw TypeError(r);if(r=gg(a,i,null,e))throw TypeError(r);var u=a.searchParams=new hd,s=pd(u);s.updateSearchParams(a.query),s.updateURL=function(){a.query=String(u)||null},c||(n.href=bg.call(n),n.origin=wg.call(n),n.protocol=Sg.call(n),n.username=xg.call(n),n.password=Ag.call(n),n.host=Eg.call(n),n.hostname=Og.call(n),n.port=kg.call(n),n.pathname=jg.call(n),n.search=Tg.call(n),n.searchParams=Ig.call(n),n.hash=Mg.call(n))},mg=yg.prototype,bg=function(){var t=dd(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,u=t.query,c=t.fragment,s=e+":";return null!==o?(s+="//",Vd(t)&&(s+=r+(n?":"+n:"")+"@"),s+=_d(o),null!==i&&(s+=":"+i)):"file"==e&&(s+="//"),s+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(s+="?"+u),null!==c&&(s+="#"+c),s},wg=function(){var t=dd(this),e=t.scheme,r=t.port;if("blob"==e)try{return new yg(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&zd(t)?e+"://"+_d(t.host)+(null!==r?":"+r:""):"null"},Sg=function(){return dd(this).scheme+":"},xg=function(){return dd(this).username},Ag=function(){return dd(this).password},Eg=function(){var t=dd(this),e=t.host,r=t.port;return null===e?"":null===r?_d(e):_d(e)+":"+r},Og=function(){var t=dd(this).host;return null===t?"":_d(t)},kg=function(){var t=dd(this).port;return null===t?"":String(t)},jg=function(){var t=dd(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Tg=function(){var t=dd(this).query;return t?"?"+t:""},Ig=function(){return dd(this).searchParams},Mg=function(){var t=dd(this).fragment;return t?"#"+t:""},Rg=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(c&&Kt(mg,{href:Rg(bg,(function(t){var e=dd(this),r=String(t),n=gg(e,r);if(n)throw TypeError(n);pd(e.searchParams).updateSearchParams(e.query)})),origin:Rg(wg),protocol:Rg(Sg,(function(t){var e=dd(this);gg(e,String(t)+":",Jd)})),username:Rg(xg,(function(t){var e=dd(this),r=Wr(String(t));if(!qd(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=Dd(r[n],Bd)}})),password:Rg(Ag,(function(t){var e=dd(this),r=Wr(String(t));if(!qd(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=Dd(r[n],Bd)}})),host:Rg(Eg,(function(t){var e=dd(this);e.cannotBeABaseURL||gg(e,String(t),ig)})),hostname:Rg(Og,(function(t){var e=dd(this);e.cannotBeABaseURL||gg(e,String(t),ag)})),port:Rg(kg,(function(t){var e=dd(this);qd(e)||(""==(t=String(t))?e.port=null:gg(e,t,ug))})),pathname:Rg(jg,(function(t){var e=dd(this);e.cannotBeABaseURL||(e.path=[],gg(e,t+"",lg))})),search:Rg(Tg,(function(t){var e=dd(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",gg(e,t,vg)),pd(e.searchParams).updateSearchParams(e.query)})),searchParams:Rg(Ig),hash:Rg(Mg,(function(t){var e=dd(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",gg(e,t,dg)):e.fragment=null}))}),F(mg,"toJSON",(function(){return bg.call(this)}),{enumerable:!0}),F(mg,"toString",(function(){return bg.call(this)}),{enumerable:!0}),ld){var Lg=ld.createObjectURL,Pg=ld.revokeObjectURL;Lg&&F(yg,"createObjectURL",(function(t){return Lg.apply(ld,arguments)})),Pg&&F(yg,"revokeObjectURL",(function(t){return Pg.apply(ld,arguments)}))}ge(yg,"URL"),n({global:!0,forced:!kv,sham:!c},{URL:yg}),n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}});var Ng={},_g=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),a=new T(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return M()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=f(t,e,r);if("normal"===c.type){if(n=r.done?v:h,c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=v,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",h="suspendedYield",p="executing",v="completed",d={};function g(){}function y(){}function m(){}var b={};c(b,i,(function(){return this}));var w=Object.getPrototypeOf,S=w&&w(w(I([])));S&&S!==r&&n.call(S,i)&&(b=S);var x=m.prototype=g.prototype=Object.create(b);function A(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function O(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,O(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function I(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:M}}function M(){return{value:e,done:!0}}return y.prototype=m,c(x,"constructor",m),c(m,"constructor",y),y.displayName=c(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},A(E.prototype),c(E.prototype,a,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new E(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},A(x),c(x,u,"Generator"),c(x,i,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=I,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(j),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(Ng);try{regeneratorRuntime=_g}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=_g:Function("r","regeneratorRuntime = r")(_g)}var Fg={},Ug={};function Cg(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function Bg(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Cg(i,n,o,a,u,"next",t)}function u(t){Cg(i,n,o,a,u,"throw",t)}a(void 0)}))}}function Dg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wg(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function zg(t,e,r){return e&&Wg(t.prototype,e),r&&Wg(t,r),t}function Vg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qg(t){return(qg=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Gg(t){return qg(t)}function $g(t,e,r){return($g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Gg(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r||t):o.value}})(t,e,r)}function Hg(t,e,r){return $g(t,e,r)}function Yg(t,e){return(Yg=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Jg(t,e){return Yg(t,e)}function Xg(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jg(t,e)}function Kg(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){Vg(t,e,r[e])}))}return t}function Qg(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Zg(t,e){return!e||"object"!=((r=e)&&r.constructor===Symbol?"symbol":typeof r)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e;var r}function ty(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function ey(t,e){return function(t){if(Array.isArray(t))return t}(t)||ty(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ry(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||ty(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ny(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function oy(t,e,r){return(oy=ny()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&_setPrototypeOf(o,r.prototype),o}).apply(null,arguments)}function iy(t,e,r){return oy.apply(null,arguments)}function ay(t){var e="function"==typeof Map?new Map:void 0;return(ay=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return iy(t,arguments,Gg(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Jg(n,t)})(t)}function uy(t){return ay(t)}
3
- /**
4
- postmate - A powerful, simple, promise-based postMessage library
5
- @version v1.5.2
6
- @link https://github.com/dollarshaveclub/postmate
7
- @author Jacob Kelley <jakie8@gmail.com>
8
- @license MIT
9
- **/r(Ug,"AppBridgeChild",(()=>Wy));var cy="application/x-postmate-v1+json",sy=0,fy={handshake:1,"handshake-reply":1,call:1,emit:1,reply:1,request:1},ly=function(t,e){return("string"!=typeof e||t.origin===e)&&(!!t.data&&(("object"!=typeof t.data||"postmate"in t.data)&&(t.data.type===cy&&!!fy[t.data.postmate])))},hy=function(){function t(t){var e=this;this.parent=t.parent,this.frame=t.frame,this.child=t.child,this.childOrigin=t.childOrigin,this.events={},this.listener=function(t){if(!ly(t,e.childOrigin))return!1;var r=((t||{}).data||{}).value||{},n=r.data,o=r.name;"emit"===t.data.postmate&&o in e.events&&e.events[o].call(e,n)},this.parent.addEventListener("message",this.listener,!1)}var e=t.prototype;return e.get=function(t){var e=this;return new vy.Promise((function(r){var n=++sy;e.parent.addEventListener("message",(function t(o){o.data.uid===n&&"reply"===o.data.postmate&&(e.parent.removeEventListener("message",t,!1),r(o.data.value))}),!1),e.child.postMessage({postmate:"request",type:cy,property:t,uid:n},e.childOrigin)}))},e.call=function(t,e){this.child.postMessage({postmate:"call",type:cy,property:t,data:e},this.childOrigin)},e.on=function(t,e){this.events[t]=e},e.destroy=function(){window.removeEventListener("message",this.listener,!1),this.frame.parentNode.removeChild(this.frame)},t}(),py=function(){function t(t){var e=this;this.model=t.model,this.parent=t.parent,this.parentOrigin=t.parentOrigin,this.child=t.child,this.child.addEventListener("message",(function(t){if(ly(t,e.parentOrigin)){var r=t.data,n=r.property,o=r.uid,i=r.data;"call"!==t.data.postmate?function(t,e){var r="function"==typeof t[e]?t[e]():t[e];return vy.Promise.resolve(r)}(e.model,n).then((function(e){return t.source.postMessage({property:n,postmate:"reply",type:cy,uid:o,value:e},t.origin)})):n in e.model&&"function"==typeof e.model[n]&&e.model[n](i)}}))}return t.prototype.emit=function(t,e){this.parent.postMessage({postmate:"emit",type:cy,value:{name:t,data:e}},this.parentOrigin)},t}(),vy=function(){function t(t){var e=t.container,r=void 0===e?void 0!==r?r:document.body:e,n=t.model,o=t.url,i=t.name,a=t.classListArray,u=void 0===a?[]:a;return this.parent=window,this.frame=document.createElement("iframe"),this.frame.name=i||"",this.frame.classList.add.apply(this.frame.classList,u),r.appendChild(this.frame),this.child=this.frame.contentWindow||this.frame.contentDocument.parentWindow,this.model=n||{},this.sendHandshake(o)}return t.prototype.sendHandshake=function(e){var r,n=this,o=function(t){var e=document.createElement("a");e.href=t;var r=e.protocol.length>4?e.protocol:window.location.protocol,n=e.host.length?"80"===e.port||"443"===e.port?e.hostname:e.host:window.location.host;return e.origin||r+"//"+n}(e),i=0;return new t.Promise((function(t,a){n.parent.addEventListener("message",(function e(i){return!!ly(i,o)&&("handshake-reply"===i.data.postmate?(clearInterval(r),n.parent.removeEventListener("message",e,!1),n.childOrigin=i.origin,t(new hy(n))):a("Failed handshake"))}),!1);var u=function(){i++,n.child.postMessage({postmate:"handshake",type:cy,model:n.model},o),5===i&&clearInterval(r)},c=function(){u(),r=setInterval(u,500)};n.frame.attachEvent?n.frame.attachEvent("onload",c):n.frame.onload=c,n.frame.src=e}))},t}();vy.debug=!1,vy.Promise=function(){try{return window?window.Promise:Promise}catch(t){return null}}(),vy.Model=function(){function t(t){return this.child=window,this.model=t,this.parent=this.child.parent,this.sendHandshakeReply()}return t.prototype.sendHandshakeReply=function(){var t=this;return new vy.Promise((function(e,r){t.child.addEventListener("message",(function n(o){if(o.data.postmate){if("handshake"===o.data.postmate){t.child.removeEventListener("message",n,!1),o.source.postMessage({postmate:"handshake-reply",type:cy},o.origin),t.parentOrigin=o.origin;var i=o.data.model;return i&&Object.keys(i).forEach((function(e){t.model[e]=i[e]})),e(new py(t))}return r("Handshake Reply Failed")}}),!1)}))},t}();var dy=vy,gy={};r(gy,"AppBridgeComponent",(()=>yy));var yy=function(){"use strict";function t(){Dg(this,t),this.postmate=null,this.handshake=null}return zg(t,[{key:"sendHandshake",value:function(t){var e=void 0===t?1:t;return Bg(Ng.mark((function t(){return Ng.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=Math.max(0,e),t.prev=1,t.next=4,this.postmate;case 4:this.handshake=t.sent,t.next=12;break;case 7:if(t.prev=7,t.t0=t.catch(1),!(e>0)){t.next=11;break}return t.abrupt("return",this.sendHandshake(--e));case 11:throw t.t0;case 12:case"end":return t.stop()}}),t,this,[[1,7]])})).bind(this))()}},{key:"getHandshake",value:function(){return this.handshake}}],[{key:"init",value:function(){throw new Error("Method 'init' has to be implemented")}}]),t}(),my={},by={};r(by,"Event",(()=>Sy));var wy=function(){"use strict";function t(){Dg(this,t)}return zg(t,[{key:"setProperty",value:function(t,e){this[t]=e}},{key:"setProperties",value:function(t){Object.entries(t).forEach(function(t){var e=ey(t),r=e[0],n=e[1];this.setProperty(r,n)}.bind(this))}}],[{key:"getName",value:function(){throw new Error('Method "getName" has to be implemented')}},{key:"fromObject",value:function(t){throw new Error('Method "fromObject" has to be implmeneted')}}]),t}(),Sy=function(t){"use strict";function e(){var t;return Dg(this,e),(t=Zg(this,Gg(e).call(this))).createdAt=new Date,t.extraPayload={},t}return Xg(e,t),zg(e,[{key:"addExtraPayload",value:function(t,e){this.extraPayload[t]=e}}]),e}(wy),xy={};r(xy,"UserSignedInEvent",(()=>Ay));var Ay=function(t){"use strict";function e(t,r){var n;return Dg(this,e),(n=Zg(this,Gg(e).call(this))).userToken=t,n.storeToken=r,n}return Xg(e,t),zg(e,null,[{key:"getName",value:function(){return"UserSignedInEvent"}},{key:"fromObject",value:function(t){var r=t.userToken,n=t.storeToken,o=Qg(t,["userToken","storeToken"]),i=new e(r,n);return i.setProperties(o),i}}]),e}(uy(Sy)),Ey={};r(Ey,"AgentWasCreatedEvent",(()=>Oy));var Oy=function(t){"use strict";function e(t){var r;return Dg(this,e),(r=Zg(this,Gg(e).call(this))).userToken=t,r}return Xg(e,t),zg(e,null,[{key:"getName",value:function(){return"AgentWasCreatedEvent"}},{key:"fromObject",value:function(t){var r=t.userToken,n=Qg(t,["userToken"]),o=new e(r);return o.setProperties(n),o}}]),e}(uy(Sy)),ky={};r(ky,"ErrorOccurredEvent",(()=>jy));var jy=function(t){"use strict";function e(t,r,n){var o,i=void 0===n?null:n;return Dg(this,e),(o=Zg(this,Gg(e).call(this))).errorMessage=t,o.statusCode=r,o.metadata=i,o}return Xg(e,t),zg(e,null,[{key:"getName",value:function(){return"ErrorOccurredEvent"}},{key:"fromObject",value:function(t){var r=t.errorMessage,n=t.statusCode,o=t.metadata,i=void 0===o?null:o,a=Qg(t,["errorMessage","statusCode","metadata"]),u=new e(r,n,i);return u.setProperties(a),u}}]),e}(uy(Sy)),Ty={};r(Ty,"AppWasDisconnectedEvent",(()=>Iy));var Iy=function(t){"use strict";function e(){return Dg(this,e),Zg(this,Gg(e).call(this))}return Xg(e,t),zg(e,null,[{key:"getName",value:function(){return"AppWasDisconnectedEvent"}},{key:"fromObject",value:function(t){var r=new e;return r.setProperties(t),r}}]),e}(uy(Sy)),My={};r(My,"WidgetScriptUpdatedEvent",(()=>Ry));var Ry=function(t){"use strict";function e(t){var r;return Dg(this,e),(r=Zg(this,Gg(e).call(this))).widgetURL=t,r}return Xg(e,t),zg(e,null,[{key:"getName",value:function(){return"WidgetScriptUpdatedEvent"}},{key:"fromObject",value:function(t){var r=t.widgetURL,n=Qg(t,["widgetURL"]),o=new e(r);return o.setProperties(n),o}}]),e}(uy(Sy)),Ly={};r(Ly,"NoticeFetchedEvent",(()=>Py));var Py=function(t){"use strict";function e(t){var r;return Dg(this,e),(r=Zg(this,Gg(e).call(this))).maxHeight=t,r}return Xg(e,t),zg(e,null,[{key:"getName",value:function(){return"NoticeFetchedEvent"}},{key:"fromObject",value:function(t){var r=t.maxHeight,n=Qg(t,["maxHeight"]),o=new e(r);return o.setProperties(n),o}}]),e}(uy(Sy));t(my,by),t(my,xy),t(my,Ey),t(my,ky),t(my,Ty),t(my,My),t(my,Ly);var Ny={},_y={};r(_y,"Register",(()=>Fy));var Fy=function(){"use strict";function t(){Dg(this,t),this.registeredObjects={}}return zg(t,[{key:"register",value:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];this.registeredObjects[t.getName()]=r}},{key:"on",value:function(t){if(!this.registeredObjects[t.type])throw new Error("Object is not registered");return Promise.all(this.registeredObjects[t.type].map((function(e){return e(t.entries)})))}}]),t}(),Uy={};r(Uy,"CommandsRegister",(()=>Cy));var Cy=function(t){"use strict";function e(){return Dg(this,e),Zg(this,Gg(e).apply(this,arguments))}return Xg(e,t),zg(e,[{key:"toProperties",value:function(){return Object.keys(this.registeredObjects).reduce(function(t,e){return Kg({},t,Vg({},e,function(t){return this.on(t)}.bind(this)))}.bind(this),{})}}]),e}(Fy),By={};r(By,"EventsRegister",(()=>Dy));var Dy=function(t){"use strict";function e(){return Dg(this,e),Zg(this,Gg(e).apply(this,arguments))}return Xg(e,t),zg(e,[{key:"setListeners",value:function(t){Object.keys(this.registeredObjects).map(function(e){return t.on(e,function(t){return this.on(t)}.bind(this))}.bind(this))}}]),e}(Fy);t(Ny,_y),t(Ny,Uy),t(Ny,By);var Wy=function(t){"use strict";function e(t){var r;return Dg(this,e),(r=Zg(this,Gg(e).call(this))).properties=t.toProperties(),r.postmate=new dy.Model(r.properties),r}return Xg(e,t),zg(e,[{key:"addProperty",value:function(t,e){this.properties[t]=e}},{key:"emitEvent",value:function(t){this.handshake.emit(t.constructor.getName(),{type:t.constructor.getName(),entries:Kg({},t)})}}],[{key:"init",value:function(t,r){var n=void 0===r?1:r;return Bg(Ng.mark((function r(){var o;return Ng.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=new e(t),r.next=3,o.sendHandshake(n);case 3:return r.abrupt("return",o);case 4:case"end":return r.stop()}}),r)})))()}}]),e}(yy),zy={};r(zy,"AppBridgeParent",(()=>tm));var Vy={},qy={};r(qy,"Command",(()=>Gy));var Gy=function(t){"use strict";function e(t,r,n){var o;return Dg(this,e),(o=Zg(this,Gg(e).call(this))).platform=t,o.platformVer=r,o.moduleVer=n,o}return Xg(e,t),zg(e,[{key:"setPlatform",value:function(t){this.platform=t}}]),e}(wy),$y={};r($y,"ConnectCommand",(()=>Hy));var Hy=function(t){"use strict";function e(t,r,n,o,i,a,u){var c,s=void 0===u?null:u;return Dg(this,e),(c=Zg(this,Gg(e).call(this,o,i,a))).storeUrl=t,c.userId=r,c.userName=n,c.partnerId=s,c}return Xg(e,t),zg(e,null,[{key:"getName",value:function(){return"ConnectCommand"}},{key:"fromObject",value:function(t){var r=t.storeUrl,n=t.userId,o=t.userName,i=t.platform,a=t.platformVer,u=t.moduleVer,c=t.partnerId,s=void 0===c?null:c,f=Qg(t,["storeUrl","userId","userName","platform","platformVer","moduleVer","partnerId"]),l=new e(r,n,o,i,a,u,s);return l.setProperties(f),l}}]),e}(Gy),Yy={};r(Yy,"SignInCommand",(()=>Jy));var Jy=function(t){"use strict";function e(t,r,n,o){var i;return Dg(this,e),(i=Zg(this,Gg(e).call(this,r,n,o))).userToken=t,i}return Xg(e,t),zg(e,null,[{key:"getName",value:function(){return"SignInCommand"}},{key:"fromObject",value:function(t){var r=t.userToken,n=t.platform,o=t.platformVer,i=t.moduleVer,a=Qg(t,["userToken","platform","platformVer","moduleVer"]),u=new e(r,n,o,i);return u.setProperties(a),u}}]),e}(Gy),Xy={};r(Xy,"JoinCommand",(()=>Ky));var Ky=function(t){"use strict";function e(t,r,n,o,i,a){var u;return Dg(this,e),(u=Zg(this,Gg(e).call(this,o,i,a))).storeToken=t,u.userId=r,u.userName=n,u}return Xg(e,t),zg(e,null,[{key:"getName",value:function(){return"JoinCommand"}},{key:"fromObject",value:function(t){var r=t.storeToken,n=t.userId,o=t.userName,i=t.platform,a=t.platformVer,u=t.moduleVer,c=Qg(t,["storeToken","userId","userName","platform","platformVer","moduleVer"]),s=new e(r,n,o,i,a,u);return s.setProperties(c),s}}]),e}(Gy),Qy={};r(Qy,"GetNoticeCommand",(()=>Zy));var Zy=function(t){"use strict";function e(t,r,n,o,i,a){var u;return Dg(this,e),(u=Zg(this,Gg(e).call(this,o,i,a))).storeToken=t,u.userToken=r,u.maxWidth=n,u}return Xg(e,t),zg(e,null,[{key:"getName",value:function(){return"GetNoticeCommand"}},{key:"fromObject",value:function(t){var r=t.storeToken,n=t.userToken,o=t.maxWidth,i=t.platform,a=t.platformVer,u=t.moduleVer,c=Qg(t,["storeToken","userToken","maxWidth","platform","platformVer","moduleVer"]),s=new e(r,n,o,i,a,u);return s.setProperties(c),s}}]),e}(Gy);t(Vy,qy),t(Vy,$y),t(Vy,Yy),t(Vy,Xy),t(Vy,Qy);var tm=function(t){"use strict";function e(t,r,n,o,i,a){var u,c=void 0===n?document.body:n,s=void 0===o?null:o,f=void 0===i?null:i,l=void 0===a?null:a;return Dg(this,e),(u=Zg(this,Gg(e).call(this))).platform=t,u.events=r,u.postmateConfig={container:c,url:s,classListArray:f,model:l},u.postmate=new dy(u.postmateConfig),u}return Xg(e,t),zg(e,[{key:"sendHandshake",value:function(t){var r=void 0===t?1:t,n=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Hg(Gg(e.prototype),"sendHandshake",this).apply(this,ry(r))}.bind(this);return Bg(Ng.mark((function t(){return Ng.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n(r);case 2:this.events.setListeners(this.handshake);case 3:case"end":return t.stop()}}),t,this)})).bind(this))()}},{key:"onEvent",value:function(t){this.events.on(t)}},{key:"call",value:function(t){t.setPlatform(this.platform),this.handshake.call(t.constructor.getName(),{type:t.constructor.getName(),entries:Kg({},t)})}},{key:"get",value:function(t){return this.handshake.get(t).then((function(t){return t}))}},{key:"destroy",value:function(){this.handshake.destroy()}}],[{key:"init",value:function(t,r,n,o,i,a,u){var c=void 0===o?null:o,s=void 0===i?null:i,f=void 0===a?null:a,l=void 0===u?1:u;return Bg(Ng.mark((function o(){var i;return Ng.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i=new e(t,r,n,c,s,f),o.next=3,i.sendHandshake(l);case 3:return o.abrupt("return",i);case 4:case"end":return o.stop()}}),o)})))()}}]),e}(yy);t(Fg,Ug),t(Fg,zy),t(Fg,gy),t(i,Fg),t(i,Vy),t(i,my),t(i,Ny),window.AppBridge=i}();
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === LiveChat - WP live chat plugin for WordPress ===
2
  Contributors: LiveChat
3
  Tags: live chat, chat plugin, live chat plugin, wordpress live chat, wordpress chat,
4
- Stable tag: 4.4.7
5
  Requires PHP: 5.6
6
  Tested up to: 5.8
7
  Requires at least: 4.4
@@ -352,6 +352,9 @@ For more detailed instructions, go to the [live chat plugin page](https://www.li
352
 
353
  == Changelog ==
354
 
 
 
 
355
  = 4.4.7 =
356
  * connect-bridge update
357
  * tested WordPress version bump
1
  === LiveChat - WP live chat plugin for WordPress ===
2
  Contributors: LiveChat
3
  Tags: live chat, chat plugin, live chat plugin, wordpress live chat, wordpress chat,
4
+ Stable tag: 4.4.8
5
  Requires PHP: 5.6
6
  Tested up to: 5.8
7
  Requires at least: 4.4
352
 
353
  == Changelog ==
354
 
355
+ = 4.4.8 =
356
+ * CDN for connect-bridge script
357
+
358
  = 4.4.7 =
359
  * connect-bridge update
360
  * tested WordPress version bump
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit89367a4f9888a9cf585d4459d65577a0::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit3c354eeb2267a0113fc9c3ce9c7a7dfa::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit89367a4f9888a9cf585d4459d65577a0
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit89367a4f9888a9cf585d4459d65577a0
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit89367a4f9888a9cf585d4459d65577a0', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit89367a4f9888a9cf585d4459d65577a0', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit89367a4f9888a9cf585d4459d65577a0::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit3c354eeb2267a0113fc9c3ce9c7a7dfa
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit3c354eeb2267a0113fc9c3ce9c7a7dfa', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit3c354eeb2267a0113fc9c3ce9c7a7dfa', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit3c354eeb2267a0113fc9c3ce9c7a7dfa::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit89367a4f9888a9cf585d4459d65577a0
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'L' =>
@@ -156,9 +156,9 @@ class ComposerStaticInit89367a4f9888a9cf585d4459d65577a0
156
  public static function getInitializer(ClassLoader $loader)
157
  {
158
  return \Closure::bind(function () use ($loader) {
159
- $loader->prefixLengthsPsr4 = ComposerStaticInit89367a4f9888a9cf585d4459d65577a0::$prefixLengthsPsr4;
160
- $loader->prefixDirsPsr4 = ComposerStaticInit89367a4f9888a9cf585d4459d65577a0::$prefixDirsPsr4;
161
- $loader->classMap = ComposerStaticInit89367a4f9888a9cf585d4459d65577a0::$classMap;
162
 
163
  }, null, ClassLoader::class);
164
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit3c354eeb2267a0113fc9c3ce9c7a7dfa
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'L' =>
156
  public static function getInitializer(ClassLoader $loader)
157
  {
158
  return \Closure::bind(function () use ($loader) {
159
+ $loader->prefixLengthsPsr4 = ComposerStaticInit3c354eeb2267a0113fc9c3ce9c7a7dfa::$prefixLengthsPsr4;
160
+ $loader->prefixDirsPsr4 = ComposerStaticInit3c354eeb2267a0113fc9c3ce9c7a7dfa::$prefixDirsPsr4;
161
+ $loader->classMap = ComposerStaticInit3c354eeb2267a0113fc9c3ce9c7a7dfa::$classMap;
162
 
163
  }, null, ClassLoader::class);
164
  }