@botfabrik/engine-webclient 4.10.0 → 4.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- var app=function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var n=function(t){return t&&t.Math==Math&&t},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,u={f:a&&!c.call({1:2},1)?function(t){var e=a(this,t);return!!e&&e.enumerable}:c},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},s={}.toString,l=function(t){return s.call(t).slice(8,-1)},v="".split,p=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==l(t)?v.call(t,""):Object(t)}:Object,d=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},h=function(t){return p(d(t))},g=function(t){return"object"==typeof t?null!==t:"function"==typeof t},y=function(t,e){if(!g(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!g(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!g(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!g(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},m={}.hasOwnProperty,b=function(t,e){return m.call(t,e)},x=r.document,w=g(x)&&g(x.createElement),S=function(t){return w?x.createElement(t):{}},E=!i&&!o((function(){return 7!=Object.defineProperty(S("div"),"a",{get:function(){return 7}}).a})),O=Object.getOwnPropertyDescriptor,j={f:i?O:function(t,e){if(t=h(t),e=y(e,!0),E)try{return O(t,e)}catch(t){}if(b(t,e))return f(!u.f.call(t,e),t[e])}},A=function(t){if(!g(t))throw TypeError(String(t)+" is not an object");return t},k=Object.defineProperty,R={f:i?k:function(t,e,n){if(A(t),e=y(e,!0),A(n),E)try{return k(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},P=i?function(t,e,n){return R.f(t,e,f(1,n))}:function(t,e,n){return t[e]=n,t},I=function(t,e){try{P(r,t,e)}catch(n){r[t]=e}return e},T=r["__core-js_shared__"]||I("__core-js_shared__",{}),$=Function.toString;"function"!=typeof T.inspectSource&&(T.inspectSource=function(t){return $.call(t)});var _,q,C,L=T.inspectSource,M=r.WeakMap,U="function"==typeof M&&/native code/.test(L(M)),D=e((function(t){(t.exports=function(t,e){return T[t]||(T[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),z=0,N=Math.random(),F=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+N).toString(36)},B=D("keys"),G=function(t){return B[t]||(B[t]=F(t))},W={},K=r.WeakMap;if(U){var V=new K,Y=V.get,H=V.has,J=V.set;_=function(t,e){return J.call(V,t,e),e},q=function(t){return Y.call(V,t)||{}},C=function(t){return H.call(V,t)}}else{var Q=G("state");W[Q]=!0,_=function(t,e){return P(t,Q,e),e},q=function(t){return b(t,Q)?t[Q]:{}},C=function(t){return b(t,Q)}}var X={set:_,get:q,has:C,enforce:function(t){return C(t)?q(t):_(t,{})},getterFor:function(t){return function(e){var n;if(!g(e)||(n=q(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},Z=e((function(t){var e=X.get,n=X.enforce,o=String(String).split("String");(t.exports=function(t,e,i,c){var a=!!c&&!!c.unsafe,u=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof i&&("string"!=typeof e||b(i,"name")||P(i,"name",e),n(i).source=o.join("string"==typeof e?e:"")),t!==r?(a?!f&&t[e]&&(u=!0):delete t[e],u?t[e]=i:P(t,e,i)):u?t[e]=i:I(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||L(this)}))})),tt=r,et=function(t){return"function"==typeof t?t:void 0},nt=function(t,e){return arguments.length<2?et(tt[t])||et(r[t]):tt[t]&&tt[t][e]||r[t]&&r[t][e]},rt=Math.ceil,ot=Math.floor,it=function(t){return isNaN(t=+t)?0:(t>0?ot:rt)(t)},ct=Math.min,at=function(t){return t>0?ct(it(t),9007199254740991):0},ut=Math.max,ft=Math.min,st=function(t,e){var n=it(t);return n<0?ut(n+e,0):ft(n,e)},lt=function(t){return function(e,n,r){var o,i=h(e),c=at(i.length),a=st(r,c);if(t&&n!=n){for(;c>a;)if((o=i[a++])!=o)return!0}else for(;c>a;a++)if((t||a in i)&&i[a]===n)return t||a||0;return!t&&-1}},vt={includes:lt(!0),indexOf:lt(!1)},pt=vt.indexOf,dt=function(t,e){var n,r=h(t),o=0,i=[];for(n in r)!b(W,n)&&b(r,n)&&i.push(n);for(;e.length>o;)b(r,n=e[o++])&&(~pt(i,n)||i.push(n));return i},ht=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],gt=ht.concat("length","prototype"),yt={f:Object.getOwnPropertyNames||function(t){return dt(t,gt)}},mt={f:Object.getOwnPropertySymbols},bt=nt("Reflect","ownKeys")||function(t){var e=yt.f(A(t)),n=mt.f;return n?e.concat(n(t)):e},xt=function(t,e){for(var n=bt(e),r=R.f,o=j.f,i=0;i<n.length;i++){var c=n[i];b(t,c)||r(t,c,o(e,c))}},wt=/#|\.prototype\./,St=function(t,e){var n=Ot[Et(t)];return n==At||n!=jt&&("function"==typeof e?o(e):!!e)},Et=St.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},Ot=St.data={},jt=St.NATIVE="N",At=St.POLYFILL="P",kt=St,Rt=j.f,Pt=function(t,e){var n,o,i,c,a,u=t.target,f=t.global,s=t.stat;if(n=f?r:s?r[u]||I(u,{}):(r[u]||{}).prototype)for(o in e){if(c=e[o],i=t.noTargetGet?(a=Rt(n,o))&&a.value:n[o],!kt(f?o:u+(s?".":"#")+o,t.forced)&&void 0!==i){if(typeof c==typeof i)continue;xt(c,i)}(t.sham||i&&i.sham)&&P(c,"sham",!0),Z(n,o,c,t)}},It=function(){var t=A(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};function Tt(t,e){return RegExp(t,e)}var $t,_t,qt={UNSUPPORTED_Y:o((function(){var t=Tt("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:o((function(){var t=Tt("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},Ct=RegExp.prototype.exec,Lt=String.prototype.replace,Mt=Ct,Ut=($t=/a/,_t=/b*/g,Ct.call($t,"a"),Ct.call(_t,"a"),0!==$t.lastIndex||0!==_t.lastIndex),Dt=qt.UNSUPPORTED_Y||qt.BROKEN_CARET,zt=void 0!==/()??/.exec("")[1];(Ut||zt||Dt)&&(Mt=function(t){var e,n,r,o,i=this,c=Dt&&i.sticky,a=It.call(i),u=i.source,f=0,s=t;return c&&(-1===(a=a.replace("y","")).indexOf("g")&&(a+="g"),s=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",s=" "+s,f++),n=new RegExp("^(?:"+u+")",a)),zt&&(n=new RegExp("^"+u+"$(?!\\s)",a)),Ut&&(e=i.lastIndex),r=Ct.call(c?n:i,s),c?r?(r.input=r.input.slice(f),r[0]=r[0].slice(f),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Ut&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),zt&&r&&r.length>1&&Lt.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var Nt=Mt;Pt({target:"RegExp",proto:!0,forced:/./.exec!==Nt},{exec:Nt});var Ft=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),Bt=Ft&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Gt=D("wks"),Wt=r.Symbol,Kt=Bt?Wt:Wt&&Wt.withoutSetter||F,Vt=function(t){return b(Gt,t)||(Ft&&b(Wt,t)?Gt[t]=Wt[t]:Gt[t]=Kt("Symbol."+t)),Gt[t]},Yt=Vt("species"),Ht=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Jt="$0"==="a".replace(/./,"$0"),Qt=Vt("replace"),Xt=!!/./[Qt]&&""===/./[Qt]("a","$0"),Zt=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),te=function(t,e,n,r){var i=Vt(t),c=!o((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),a=c&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Yt]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return e=!0,null},n[i](""),!e}));if(!c||!a||"replace"===t&&(!Ht||!Jt||Xt)||"split"===t&&!Zt){var u=/./[i],f=n(i,""[t],(function(t,e,n,r,o){return e.exec===Nt?c&&!o?{done:!0,value:u.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Jt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Xt}),s=f[0],l=f[1];Z(String.prototype,t,s),Z(RegExp.prototype,i,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}r&&P(RegExp.prototype[i],"sham",!0)},ee=Vt("match"),ne=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},re=Vt("species"),oe=function(t,e){var n,r=A(t).constructor;return void 0===r||null==(n=A(r)[re])?e:ne(n)},ie=function(t){return function(e,n){var r,o,i=String(d(e)),c=it(n),a=i.length;return c<0||c>=a?t?"":void 0:(r=i.charCodeAt(c))<55296||r>56319||c+1===a||(o=i.charCodeAt(c+1))<56320||o>57343?t?i.charAt(c):r:t?i.slice(c,c+2):o-56320+(r-55296<<10)+65536}},ce={codeAt:ie(!1),charAt:ie(!0)},ae=ce.charAt,ue=function(t,e,n){return e+(n?ae(t,e).length:1)},fe=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==l(t))throw TypeError("RegExp#exec called on incompatible receiver");return Nt.call(t,e)},se=[].push,le=Math.min,ve=!o((function(){return!RegExp(4294967295,"y")}));function pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function he(t,e){return(he=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ge(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&&he(t,e)}function ye(t){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function me(t,e){return!e||"object"!==ye(e)&&"function"!=typeof e?de(t):e}function be(t){return(be=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function we(t,e){if(t){if("string"==typeof t)return xe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xe(t,e):void 0}}function Se(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,e)||we(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}te("split",2,(function(t,e,n){var r;return r="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,n){var r,o,i=String(d(this)),c=void 0===n?4294967295:n>>>0;if(0===c)return[];if(void 0===t)return[i];if(!g(r=t)||!(void 0!==(o=r[ee])?o:"RegExp"==l(r)))return e.call(i,t,c);for(var a,u,f,s=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,h=new RegExp(t.source,v+"g");(a=Nt.call(h,i))&&!((u=h.lastIndex)>p&&(s.push(i.slice(p,a.index)),a.length>1&&a.index<i.length&&se.apply(s,a.slice(1)),f=a[0].length,p=u,s.length>=c));)h.lastIndex===a.index&&h.lastIndex++;return p===i.length?!f&&h.test("")||s.push(""):s.push(i.slice(p)),s.length>c?s.slice(0,c):s}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=d(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var i=n(r,t,this,o,r!==e);if(i.done)return i.value;var c=A(t),a=String(this),u=oe(c,RegExp),f=c.unicode,s=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(ve?"y":"g"),l=new u(ve?c:"^(?:"+c.source+")",s),v=void 0===o?4294967295:o>>>0;if(0===v)return[];if(0===a.length)return null===fe(l,a)?[a]:[];for(var p=0,d=0,h=[];d<a.length;){l.lastIndex=ve?d:0;var g,y=fe(l,ve?a:a.slice(d));if(null===y||(g=le(at(l.lastIndex+(ve?0:d)),a.length))===p)d=ue(a,d,f);else{if(h.push(a.slice(p,d)),h.length===v)return h;for(var m=1;m<=y.length-1;m++)if(h.push(y[m]),h.length===v)return h;d=p=g}}return h.push(a.slice(p)),h}]}),!ve);var Ee,Oe=Array.isArray||function(t){return"Array"==l(t)},je=function(t){return Object(d(t))},Ae=Object.keys||function(t){return dt(t,ht)},ke=i?Object.defineProperties:function(t,e){A(t);for(var n,r=Ae(e),o=r.length,i=0;o>i;)R.f(t,n=r[i++],e[n]);return t},Re=nt("document","documentElement"),Pe=G("IE_PROTO"),Ie=function(){},Te=function(t){return"<script>"+t+"<\/script>"},$e=function(){try{Ee=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;$e=Ee?function(t){t.write(Te("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Ee):((e=S("iframe")).style.display="none",Re.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Te("document.F=Object")),t.close(),t.F);for(var n=ht.length;n--;)delete $e.prototype[ht[n]];return $e()};W[Pe]=!0;var _e=Object.create||function(t,e){var n;return null!==t?(Ie.prototype=A(t),n=new Ie,Ie.prototype=null,n[Pe]=t):n=$e(),void 0===e?n:ke(n,e)},qe=yt.f,Ce={}.toString,Le="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Me={f:function(t){return Le&&"[object Window]"==Ce.call(t)?function(t){try{return qe(t)}catch(t){return Le.slice()}}(t):qe(h(t))}},Ue={f:Vt},De=R.f,ze=function(t){var e=tt.Symbol||(tt.Symbol={});b(e,t)||De(e,t,{value:Ue.f(t)})},Ne=R.f,Fe=Vt("toStringTag"),Be=function(t,e,n){t&&!b(t=n?t:t.prototype,Fe)&&Ne(t,Fe,{configurable:!0,value:e})},Ge=function(t,e,n){if(ne(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},We=Vt("species"),Ke=function(t,e){var n;return Oe(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Oe(n.prototype)?g(n)&&null===(n=n[We])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Ve=[].push,Ye=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,c=5==t||i;return function(a,u,f,s){for(var l,v,d=je(a),h=p(d),g=Ge(u,f,3),y=at(h.length),m=0,b=s||Ke,x=e?b(a,y):n?b(a,0):void 0;y>m;m++)if((c||m in h)&&(v=g(l=h[m],m,d),t))if(e)x[m]=v;else if(v)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:Ve.call(x,l)}else if(o)return!1;return i?-1:r||o?o:x}},He={forEach:Ye(0),map:Ye(1),filter:Ye(2),some:Ye(3),every:Ye(4),find:Ye(5),findIndex:Ye(6)},Je=He.forEach,Qe=G("hidden"),Xe=Vt("toPrimitive"),Ze=X.set,tn=X.getterFor("Symbol"),en=Object.prototype,nn=r.Symbol,rn=nt("JSON","stringify"),on=j.f,cn=R.f,an=Me.f,un=u.f,fn=D("symbols"),sn=D("op-symbols"),ln=D("string-to-symbol-registry"),vn=D("symbol-to-string-registry"),pn=D("wks"),dn=r.QObject,hn=!dn||!dn.prototype||!dn.prototype.findChild,gn=i&&o((function(){return 7!=_e(cn({},"a",{get:function(){return cn(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=on(en,e);r&&delete en[e],cn(t,e,n),r&&t!==en&&cn(en,e,r)}:cn,yn=function(t,e){var n=fn[t]=_e(nn.prototype);return Ze(n,{type:"Symbol",tag:t,description:e}),i||(n.description=e),n},mn=Bt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof nn},bn=function(t,e,n){t===en&&bn(sn,e,n),A(t);var r=y(e,!0);return A(n),b(fn,r)?(n.enumerable?(b(t,Qe)&&t[Qe][r]&&(t[Qe][r]=!1),n=_e(n,{enumerable:f(0,!1)})):(b(t,Qe)||cn(t,Qe,f(1,{})),t[Qe][r]=!0),gn(t,r,n)):cn(t,r,n)},xn=function(t,e){A(t);var n=h(e),r=Ae(n).concat(On(n));return Je(r,(function(e){i&&!wn.call(n,e)||bn(t,e,n[e])})),t},wn=function(t){var e=y(t,!0),n=un.call(this,e);return!(this===en&&b(fn,e)&&!b(sn,e))&&(!(n||!b(this,e)||!b(fn,e)||b(this,Qe)&&this[Qe][e])||n)},Sn=function(t,e){var n=h(t),r=y(e,!0);if(n!==en||!b(fn,r)||b(sn,r)){var o=on(n,r);return!o||!b(fn,r)||b(n,Qe)&&n[Qe][r]||(o.enumerable=!0),o}},En=function(t){var e=an(h(t)),n=[];return Je(e,(function(t){b(fn,t)||b(W,t)||n.push(t)})),n},On=function(t){var e=t===en,n=an(e?sn:h(t)),r=[];return Je(n,(function(t){!b(fn,t)||e&&!b(en,t)||r.push(fn[t])})),r};if(Ft||(Z((nn=function(){if(this instanceof nn)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=F(t),n=function(t){this===en&&n.call(sn,t),b(this,Qe)&&b(this[Qe],e)&&(this[Qe][e]=!1),gn(this,e,f(1,t))};return i&&hn&&gn(en,e,{configurable:!0,set:n}),yn(e,t)}).prototype,"toString",(function(){return tn(this).tag})),Z(nn,"withoutSetter",(function(t){return yn(F(t),t)})),u.f=wn,R.f=bn,j.f=Sn,yt.f=Me.f=En,mt.f=On,Ue.f=function(t){return yn(Vt(t),t)},i&&(cn(nn.prototype,"description",{configurable:!0,get:function(){return tn(this).description}}),Z(en,"propertyIsEnumerable",wn,{unsafe:!0}))),Pt({global:!0,wrap:!0,forced:!Ft,sham:!Ft},{Symbol:nn}),Je(Ae(pn),(function(t){ze(t)})),Pt({target:"Symbol",stat:!0,forced:!Ft},{for:function(t){var e=String(t);if(b(ln,e))return ln[e];var n=nn(e);return ln[e]=n,vn[n]=e,n},keyFor:function(t){if(!mn(t))throw TypeError(t+" is not a symbol");if(b(vn,t))return vn[t]},useSetter:function(){hn=!0},useSimple:function(){hn=!1}}),Pt({target:"Object",stat:!0,forced:!Ft,sham:!i},{create:function(t,e){return void 0===e?_e(t):xn(_e(t),e)},defineProperty:bn,defineProperties:xn,getOwnPropertyDescriptor:Sn}),Pt({target:"Object",stat:!0,forced:!Ft},{getOwnPropertyNames:En,getOwnPropertySymbols:On}),Pt({target:"Object",stat:!0,forced:o((function(){mt.f(1)}))},{getOwnPropertySymbols:function(t){return mt.f(je(t))}}),rn){var jn=!Ft||o((function(){var t=nn();return"[null]"!=rn([t])||"{}"!=rn({a:t})||"{}"!=rn(Object(t))}));Pt({target:"JSON",stat:!0,forced:jn},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(g(e)||void 0!==t)&&!mn(t))return Oe(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!mn(e))return e}),o[1]=e,rn.apply(null,o)}})}nn.prototype[Xe]||P(nn.prototype,Xe,nn.prototype.valueOf),Be(nn,"Symbol"),W[Qe]=!0;var An=R.f,kn=r.Symbol;if(i&&"function"==typeof kn&&(!("description"in kn.prototype)||void 0!==kn().description)){var Rn={},Pn=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof Pn?new kn(t):void 0===t?kn():kn(t);return""===t&&(Rn[e]=!0),e};xt(Pn,kn);var In=Pn.prototype=kn.prototype;In.constructor=Pn;var Tn=In.toString,$n="Symbol(test)"==String(kn("test")),_n=/^Symbol\((.*)\)[^)]+$/;An(In,"description",{configurable:!0,get:function(){var t=g(this)?this.valueOf():this,e=Tn.call(t);if(b(Rn,t))return"";var n=$n?e.slice(7,-1):e.replace(_n,"$1");return""===n?void 0:n}}),Pt({global:!0,forced:!0},{Symbol:Pn})}ze("iterator");var qn,Cn,Ln=function(t,e,n){var r=y(e);r in t?R.f(t,r,f(0,n)):t[r]=n},Mn=nt("navigator","userAgent")||"",Un=r.process,Dn=Un&&Un.versions,zn=Dn&&Dn.v8;zn?Cn=(qn=zn.split("."))[0]+qn[1]:Mn&&(!(qn=Mn.match(/Edge\/(\d+)/))||qn[1]>=74)&&(qn=Mn.match(/Chrome\/(\d+)/))&&(Cn=qn[1]);var Nn=Cn&&+Cn,Fn=Vt("species"),Bn=function(t){return Nn>=51||!o((function(){var e=[];return(e.constructor={})[Fn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Gn=Vt("isConcatSpreadable"),Wn=Nn>=51||!o((function(){var t=[];return t[Gn]=!1,t.concat()[0]!==t})),Kn=Bn("concat"),Vn=function(t){if(!g(t))return!1;var e=t[Gn];return void 0!==e?!!e:Oe(t)};Pt({target:"Array",proto:!0,forced:!Wn||!Kn},{concat:function(t){var e,n,r,o,i,c=je(this),a=Ke(c,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(Vn(i=-1===e?c:arguments[e])){if(u+(o=at(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,u++)n in i&&Ln(a,u,i[n])}else{if(u>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Ln(a,u++,i)}return a.length=u,a}});var Yn=Vt("unscopables"),Hn=Array.prototype;null==Hn[Yn]&&R.f(Hn,Yn,{configurable:!0,value:_e(null)});var Jn=function(t){Hn[Yn][t]=!0};Pt({target:"Array",proto:!0},{fill:function(t){for(var e=je(this),n=at(e.length),r=arguments.length,o=st(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,c=void 0===i?n:st(i,n);c>o;)e[o++]=t;return e}}),Jn("fill");var Qn=Object.defineProperty,Xn={},Zn=function(t){throw t},tr=function(t,e){if(b(Xn,t))return Xn[t];e||(e={});var n=[][t],r=!!b(e,"ACCESSORS")&&e.ACCESSORS,c=b(e,0)?e[0]:Zn,a=b(e,1)?e[1]:void 0;return Xn[t]=!!n&&!o((function(){if(r&&!i)return!0;var t={length:-1};r?Qn(t,1,{enumerable:!0,get:Zn}):t[1]=1,n.call(t,c,a)}))},er=He.filter,nr=Bn("filter"),rr=tr("filter");Pt({target:"Array",proto:!0,forced:!nr||!rr},{filter:function(t){return er(this,t,arguments.length>1?arguments[1]:void 0)}});var or=function(t,e){var n=[][t];return!!n&&o((function(){n.call(null,e||function(){throw 1},1)}))},ir=He.forEach,cr=or("forEach"),ar=tr("forEach"),ur=cr&&ar?[].forEach:function(t){return ir(this,t,arguments.length>1?arguments[1]:void 0)};Pt({target:"Array",proto:!0,forced:[].forEach!=ur},{forEach:ur});var fr=function(t,e,n,r){try{return r?e(A(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&A(o.call(t)),e}},sr={},lr=Vt("iterator"),vr=Array.prototype,pr=function(t){return void 0!==t&&(sr.Array===t||vr[lr]===t)},dr={};dr[Vt("toStringTag")]="z";var hr="[object z]"===String(dr),gr=Vt("toStringTag"),yr="Arguments"==l(function(){return arguments}()),mr=hr?l:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),gr))?n:yr?l(e):"Object"==(r=l(e))&&"function"==typeof e.callee?"Arguments":r},br=Vt("iterator"),xr=function(t){if(null!=t)return t[br]||t["@@iterator"]||sr[mr(t)]},wr=Vt("iterator"),Sr=!1;try{var Er=0,Or={next:function(){return{done:!!Er++}},return:function(){Sr=!0}};Or[wr]=function(){return this},Array.from(Or,(function(){throw 2}))}catch(t){}var jr=function(t,e){if(!e&&!Sr)return!1;var n=!1;try{var r={};r[wr]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Ar=!jr((function(t){Array.from(t)}));Pt({target:"Array",stat:!0,forced:Ar},{from:function(t){var e,n,r,o,i,c,a=je(t),u="function"==typeof this?this:Array,f=arguments.length,s=f>1?arguments[1]:void 0,l=void 0!==s,v=xr(a),p=0;if(l&&(s=Ge(s,f>2?arguments[2]:void 0,2)),null==v||u==Array&&pr(v))for(n=new u(e=at(a.length));e>p;p++)c=l?s(a[p],p):a[p],Ln(n,p,c);else for(i=(o=v.call(a)).next,n=new u;!(r=i.call(o)).done;p++)c=l?fr(o,s,[r.value,p],!0):r.value,Ln(n,p,c);return n.length=p,n}});var kr=vt.indexOf,Rr=[].indexOf,Pr=!!Rr&&1/[1].indexOf(1,-0)<0,Ir=or("indexOf"),Tr=tr("indexOf",{ACCESSORS:!0,1:0});Pt({target:"Array",proto:!0,forced:Pr||!Ir||!Tr},{indexOf:function(t){return Pr?Rr.apply(this,arguments)||0:kr(this,t,arguments.length>1?arguments[1]:void 0)}});var $r,_r,qr,Cr=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Lr=G("IE_PROTO"),Mr=Object.prototype,Ur=Cr?Object.getPrototypeOf:function(t){return t=je(t),b(t,Lr)?t[Lr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Mr:null},Dr=Vt("iterator"),zr=!1;[].keys&&("next"in(qr=[].keys())?(_r=Ur(Ur(qr)))!==Object.prototype&&($r=_r):zr=!0),null==$r&&($r={}),b($r,Dr)||P($r,Dr,(function(){return this}));var Nr={IteratorPrototype:$r,BUGGY_SAFARI_ITERATORS:zr},Fr=Nr.IteratorPrototype,Br=function(){return this},Gr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return A(n),function(t){if(!g(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),Wr=Nr.IteratorPrototype,Kr=Nr.BUGGY_SAFARI_ITERATORS,Vr=Vt("iterator"),Yr=function(){return this},Hr=function(t,e,n,r,o,i,c){!function(t,e,n){var r=e+" Iterator";t.prototype=_e(Fr,{next:f(1,n)}),Be(t,r,!1),sr[r]=Br}(n,e,r);var a,u,s,l=function(t){if(t===o&&g)return g;if(!Kr&&t in d)return d[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},v=e+" Iterator",p=!1,d=t.prototype,h=d[Vr]||d["@@iterator"]||o&&d[o],g=!Kr&&h||l(o),y="Array"==e&&d.entries||h;if(y&&(a=Ur(y.call(new t)),Wr!==Object.prototype&&a.next&&(Ur(a)!==Wr&&(Gr?Gr(a,Wr):"function"!=typeof a[Vr]&&P(a,Vr,Yr)),Be(a,v,!0))),"values"==o&&h&&"values"!==h.name&&(p=!0,g=function(){return h.call(this)}),d[Vr]!==g&&P(d,Vr,g),sr[e]=g,o)if(u={values:l("values"),keys:i?g:l("keys"),entries:l("entries")},c)for(s in u)(Kr||p||!(s in d))&&Z(d,s,u[s]);else Pt({target:e,proto:!0,forced:Kr||p},u);return u},Jr=X.set,Qr=X.getterFor("Array Iterator"),Xr=Hr(Array,"Array",(function(t,e){Jr(this,{type:"Array Iterator",target:h(t),index:0,kind:e})}),(function(){var t=Qr(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");sr.Arguments=sr.Array,Jn("keys"),Jn("values"),Jn("entries");var Zr=[].join,to=p!=Object,eo=or("join",",");Pt({target:"Array",proto:!0,forced:to||!eo},{join:function(t){return Zr.call(h(this),void 0===t?",":t)}});var no=He.map,ro=Bn("map"),oo=tr("map");Pt({target:"Array",proto:!0,forced:!ro||!oo},{map:function(t){return no(this,t,arguments.length>1?arguments[1]:void 0)}});var io=Bn("slice"),co=tr("slice",{ACCESSORS:!0,0:0,1:2}),ao=Vt("species"),uo=[].slice,fo=Math.max;Pt({target:"Array",proto:!0,forced:!io||!co},{slice:function(t,e){var n,r,o,i=h(this),c=at(i.length),a=st(t,c),u=st(void 0===e?c:e,c);if(Oe(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!Oe(n.prototype)?g(n)&&null===(n=n[ao])&&(n=void 0):n=void 0,n===Array||void 0===n))return uo.call(i,a,u);for(r=new(void 0===n?Array:n)(fo(u-a,0)),o=0;a<u;a++,o++)a in i&&Ln(r,o,i[a]);return r.length=o,r}});var so=Bn("splice"),lo=tr("splice",{ACCESSORS:!0,0:0,1:2}),vo=Math.max,po=Math.min;Pt({target:"Array",proto:!0,forced:!so||!lo},{splice:function(t,e){var n,r,o,i,c,a,u=je(this),f=at(u.length),s=st(t,f),l=arguments.length;if(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=po(vo(it(e),0),f-s)),f+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=Ke(u,r),i=0;i<r;i++)(c=s+i)in u&&Ln(o,i,u[c]);if(o.length=r,n<r){for(i=s;i<f-r;i++)a=i+n,(c=i+r)in u?u[a]=u[c]:delete u[a];for(i=f;i>f-r+n;i--)delete u[i-1]}else if(n>r)for(i=f-r;i>s;i--)a=i+n-1,(c=i+r-1)in u?u[a]=u[c]:delete u[a];for(i=0;i<n;i++)u[i+s]=arguments[i+2];return u.length=f-r+n,o}});var ho=R.f,go=Function.prototype,yo=go.toString,mo=/^\s*function ([^ (]*)/;i&&!("name"in go)&&ho(go,"name",{configurable:!0,get:function(){try{return yo.call(this).match(mo)[1]}catch(t){return""}}});var bo=!o((function(){return Object.isExtensible(Object.preventExtensions({}))})),xo=e((function(t){var e=R.f,n=F("meta"),r=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},c=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!g(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!b(t,n)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[n].objectID},getWeakData:function(t,e){if(!b(t,n)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[n].weakData},onFreeze:function(t){return bo&&c.REQUIRED&&o(t)&&!b(t,n)&&i(t),t}};W[n]=!0})),wo=(xo.REQUIRED,xo.fastKey,xo.getWeakData,xo.onFreeze,e((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,n,r,o,i){var c,a,u,f,s,l,v,p=Ge(n,r,o?2:1);if(i)c=t;else{if("function"!=typeof(a=xr(t)))throw TypeError("Target is not iterable");if(pr(a)){for(u=0,f=at(t.length);f>u;u++)if((s=o?p(A(v=t[u])[0],v[1]):p(t[u]))&&s instanceof e)return s;return new e(!1)}c=a.call(t)}for(l=c.next;!(v=l.call(c)).done;)if("object"==typeof(s=fr(c,p,v.value,o))&&s&&s instanceof e)return s;return new e(!1)}).stop=function(t){return new e(!0,t)}}))),So=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Eo=function(t,e,n){var i=-1!==t.indexOf("Map"),c=-1!==t.indexOf("Weak"),a=i?"set":"add",u=r[t],f=u&&u.prototype,s=u,l={},v=function(t){var e=f[t];Z(f,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(c&&!g(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return c&&!g(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(c&&!g(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(kt(t,"function"!=typeof u||!(c||f.forEach&&!o((function(){(new u).entries().next()})))))s=n.getConstructor(e,t,i,a),xo.REQUIRED=!0;else if(kt(t,!0)){var p=new s,d=p[a](c?{}:-0,1)!=p,h=o((function(){p.has(1)})),y=jr((function(t){new u(t)})),m=!c&&o((function(){for(var t=new u,e=5;e--;)t[a](e,e);return!t.has(-0)}));y||((s=e((function(e,n){So(e,s,t);var r=function(t,e,n){var r,o;return Gr&&"function"==typeof(r=e.constructor)&&r!==n&&g(o=r.prototype)&&o!==n.prototype&&Gr(t,o),t}(new u,e,s);return null!=n&&wo(n,r[a],r,i),r}))).prototype=f,f.constructor=s),(h||m)&&(v("delete"),v("has"),i&&v("get")),(m||d)&&v(a),c&&f.clear&&delete f.clear}return l[t]=s,Pt({global:!0,forced:s!=u},l),Be(s,t),c||n.setStrong(s,t,i),s},Oo=function(t,e,n){for(var r in e)Z(t,r,e[r],n);return t},jo=Vt("species"),Ao=function(t){var e=nt(t),n=R.f;i&&e&&!e[jo]&&n(e,jo,{configurable:!0,get:function(){return this}})},ko=R.f,Ro=xo.fastKey,Po=X.set,Io=X.getterFor,To={getConstructor:function(t,e,n,r){var o=t((function(t,c){So(t,o,e),Po(t,{type:e,index:_e(null),first:void 0,last:void 0,size:0}),i||(t.size=0),null!=c&&wo(c,t[r],t,n)})),c=Io(e),a=function(t,e,n){var r,o,a=c(t),f=u(t,e);return f?f.value=n:(a.last=f={index:o=Ro(e,!0),key:e,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=f),r&&(r.next=f),i?a.size++:t.size++,"F"!==o&&(a.index[o]=f)),t},u=function(t,e){var n,r=c(t),o=Ro(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return Oo(o.prototype,{clear:function(){for(var t=c(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,i?t.size=0:this.size=0},delete:function(t){var e=c(this),n=u(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),i?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=c(this),r=Ge(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!u(this,t)}}),Oo(o.prototype,n?{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)}}),i&&ko(o.prototype,"size",{get:function(){return c(this).size}}),o},setStrong:function(t,e,n){var r=e+" Iterator",o=Io(e),i=Io(r);Hr(t,e,(function(t,e){Po(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Ao(e)}},$o=(Eo("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),To),Object.assign),_o=Object.defineProperty,qo=!$o||o((function(){if(i&&1!==$o({b:1},$o(_o({},"a",{enumerable:!0,get:function(){_o(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=$o({},t)[n]||"abcdefghijklmnopqrst"!=Ae($o({},e)).join("")}))?function(t,e){for(var n=je(t),r=arguments.length,o=1,c=mt.f,a=u.f;r>o;)for(var f,s=p(arguments[o++]),l=c?Ae(s).concat(c(s)):Ae(s),v=l.length,d=0;v>d;)f=l[d++],i&&!a.call(s,f)||(n[f]=s[f]);return n}:$o;Pt({target:"Object",stat:!0,forced:Object.assign!==qo},{assign:qo}),Pt({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=h(t),o=j.f,i=bt(r),c={},a=0;i.length>a;)void 0!==(n=o(r,e=i[a++]))&&Ln(c,e,n);return c}});var Co=o((function(){Ae(1)}));Pt({target:"Object",stat:!0,forced:Co},{keys:function(t){return Ae(je(t))}});var Lo=hr?{}.toString:function(){return"[object "+mr(this)+"]"};hr||Z(Object.prototype,"toString",Lo,{unsafe:!0});var Mo,Uo,Do,zo=r.Promise,No=/(iphone|ipod|ipad).*applewebkit/i.test(Mn),Fo=r.location,Bo=r.setImmediate,Go=r.clearImmediate,Wo=r.process,Ko=r.MessageChannel,Vo=r.Dispatch,Yo=0,Ho={},Jo=function(t){if(Ho.hasOwnProperty(t)){var e=Ho[t];delete Ho[t],e()}},Qo=function(t){return function(){Jo(t)}},Xo=function(t){Jo(t.data)},Zo=function(t){r.postMessage(t+"",Fo.protocol+"//"+Fo.host)};Bo&&Go||(Bo=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return Ho[++Yo]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},Mo(Yo),Yo},Go=function(t){delete Ho[t]},"process"==l(Wo)?Mo=function(t){Wo.nextTick(Qo(t))}:Vo&&Vo.now?Mo=function(t){Vo.now(Qo(t))}:Ko&&!No?(Do=(Uo=new Ko).port2,Uo.port1.onmessage=Xo,Mo=Ge(Do.postMessage,Do,1)):!r.addEventListener||"function"!=typeof postMessage||r.importScripts||o(Zo)||"file:"===Fo.protocol?Mo="onreadystatechange"in S("script")?function(t){Re.appendChild(S("script")).onreadystatechange=function(){Re.removeChild(this),Jo(t)}}:function(t){setTimeout(Qo(t),0)}:(Mo=Zo,r.addEventListener("message",Xo,!1)));var ti,ei,ni,ri,oi,ii,ci,ai,ui={set:Bo,clear:Go},fi=j.f,si=ui.set,li=r.MutationObserver||r.WebKitMutationObserver,vi=r.process,pi=r.Promise,di="process"==l(vi),hi=fi(r,"queueMicrotask"),gi=hi&&hi.value;gi||(ti=function(){var t,e;for(di&&(t=vi.domain)&&t.exit();ei;){e=ei.fn,ei=ei.next;try{e()}catch(t){throw ei?ri():ni=void 0,t}}ni=void 0,t&&t.enter()},di?ri=function(){vi.nextTick(ti)}:li&&!No?(oi=!0,ii=document.createTextNode(""),new li(ti).observe(ii,{characterData:!0}),ri=function(){ii.data=oi=!oi}):pi&&pi.resolve?(ci=pi.resolve(void 0),ai=ci.then,ri=function(){ai.call(ci,ti)}):ri=function(){si.call(r,ti)});var yi,mi,bi,xi,wi=gi||function(t){var e={fn:t,next:void 0};ni&&(ni.next=e),ei||(ei=e,ri()),ni=e},Si=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=ne(e),this.reject=ne(n)},Ei={f:function(t){return new Si(t)}},Oi=function(t,e){if(A(t),g(e)&&e.constructor===t)return e;var n=Ei.f(t);return(0,n.resolve)(e),n.promise},ji=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ai=ui.set,ki=Vt("species"),Ri="Promise",Pi=X.get,Ii=X.set,Ti=X.getterFor(Ri),$i=zo,_i=r.TypeError,qi=r.document,Ci=r.process,Li=nt("fetch"),Mi=Ei.f,Ui=Mi,Di="process"==l(Ci),zi=!!(qi&&qi.createEvent&&r.dispatchEvent),Ni=kt(Ri,(function(){if(!(L($i)!==String($i))){if(66===Nn)return!0;if(!Di&&"function"!=typeof PromiseRejectionEvent)return!0}if(Nn>=51&&/native code/.test($i))return!1;var t=$i.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[ki]=e,!(t.then((function(){}))instanceof e)})),Fi=Ni||!jr((function(t){$i.all(t).catch((function(){}))})),Bi=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},Gi=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;wi((function(){for(var o=e.value,i=1==e.state,c=0;r.length>c;){var a,u,f,s=r[c++],l=i?s.ok:s.fail,v=s.resolve,p=s.reject,d=s.domain;try{l?(i||(2===e.rejection&&Yi(t,e),e.rejection=1),!0===l?a=o:(d&&d.enter(),a=l(o),d&&(d.exit(),f=!0)),a===s.promise?p(_i("Promise-chain cycle")):(u=Bi(a))?u.call(a,v,p):v(a)):p(o)}catch(t){d&&!f&&d.exit(),p(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&Ki(t,e)}))}},Wi=function(t,e,n){var o,i;zi?((o=qi.createEvent("Event")).promise=e,o.reason=n,o.initEvent(t,!1,!0),r.dispatchEvent(o)):o={promise:e,reason:n},(i=r["on"+t])?i(o):"unhandledrejection"===t&&function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},Ki=function(t,e){Ai.call(r,(function(){var n,r=e.value;if(Vi(e)&&(n=ji((function(){Di?Ci.emit("unhandledRejection",r,t):Wi("unhandledrejection",t,r)})),e.rejection=Di||Vi(e)?2:1,n.error))throw n.value}))},Vi=function(t){return 1!==t.rejection&&!t.parent},Yi=function(t,e){Ai.call(r,(function(){Di?Ci.emit("rejectionHandled",t):Wi("rejectionhandled",t,e.value)}))},Hi=function(t,e,n,r){return function(o){t(e,n,o,r)}},Ji=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,Gi(t,e,!0))},Qi=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw _i("Promise can't be resolved itself");var o=Bi(n);o?wi((function(){var r={done:!1};try{o.call(n,Hi(Qi,t,r,e),Hi(Ji,t,r,e))}catch(n){Ji(t,r,n,e)}})):(e.value=n,e.state=1,Gi(t,e,!1))}catch(n){Ji(t,{done:!1},n,e)}}};Ni&&($i=function(t){So(this,$i,Ri),ne(t),yi.call(this);var e=Pi(this);try{t(Hi(Qi,this,e),Hi(Ji,this,e))}catch(t){Ji(this,e,t)}},(yi=function(t){Ii(this,{type:Ri,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Oo($i.prototype,{then:function(t,e){var n=Ti(this),r=Mi(oe(this,$i));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Di?Ci.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Gi(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),mi=function(){var t=new yi,e=Pi(t);this.promise=t,this.resolve=Hi(Qi,t,e),this.reject=Hi(Ji,t,e)},Ei.f=Mi=function(t){return t===$i||t===bi?new mi(t):Ui(t)},"function"==typeof zo&&(xi=zo.prototype.then,Z(zo.prototype,"then",(function(t,e){var n=this;return new $i((function(t,e){xi.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof Li&&Pt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Oi($i,Li.apply(r,arguments))}}))),Pt({global:!0,wrap:!0,forced:Ni},{Promise:$i}),Be($i,Ri,!1),Ao(Ri),bi=nt(Ri),Pt({target:Ri,stat:!0,forced:Ni},{reject:function(t){var e=Mi(this);return e.reject.call(void 0,t),e.promise}}),Pt({target:Ri,stat:!0,forced:Ni},{resolve:function(t){return Oi(this,t)}}),Pt({target:Ri,stat:!0,forced:Fi},{all:function(t){var e=this,n=Mi(e),r=n.resolve,o=n.reject,i=ji((function(){var n=ne(e.resolve),i=[],c=0,a=1;wo(t,(function(t){var u=c++,f=!1;i.push(void 0),a++,n.call(e,t).then((function(t){f||(f=!0,i[u]=t,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Mi(e),r=n.reject,o=ji((function(){var o=ne(e.resolve);wo(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});Eo("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),To);var Xi=ce.charAt,Zi=X.set,tc=X.getterFor("String Iterator");Hr(String,"String",(function(t){Zi(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=tc(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Xi(n,r),e.index+=t.length,{value:t,done:!1})}));var ec=Math.max,nc=Math.min,rc=Math.floor,oc=/\$([$&'`]|\d\d?|<[^>]*>)/g,ic=/\$([$&'`]|\d\d?)/g;te("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,c=o?"$":"$0";return[function(n,r){var o=d(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(c)){var u=n(e,t,this,r);if(u.done)return u.value}var f=A(t),s=String(this),l="function"==typeof r;l||(r=String(r));var v=f.global;if(v){var p=f.unicode;f.lastIndex=0}for(var d=[];;){var h=fe(f,s);if(null===h)break;if(d.push(h),!v)break;""===String(h[0])&&(f.lastIndex=ue(s,at(f.lastIndex),p))}for(var g,y="",m=0,b=0;b<d.length;b++){h=d[b];for(var x=String(h[0]),w=ec(nc(it(h.index),s.length),0),S=[],E=1;E<h.length;E++)S.push(void 0===(g=h[E])?g:String(g));var O=h.groups;if(l){var j=[x].concat(S,w,s);void 0!==O&&j.push(O);var k=String(r.apply(void 0,j))}else k=a(x,s,w,S,O,r);w>=m&&(y+=s.slice(m,w)+k,m=w+x.length)}return y+s.slice(m)}];function a(t,n,r,o,i,c){var a=r+t.length,u=o.length,f=ic;return void 0!==i&&(i=je(i),f=oc),e.call(c,f,(function(e,c){var f;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(a);case"<":f=i[c.slice(1,-1)];break;default:var s=+c;if(0===s)return e;if(s>u){var l=rc(s/10);return 0===l?e:l<=u?void 0===o[l-1]?c.charAt(1):o[l-1]+c.charAt(1):e}f=o[s-1]}return void 0===f?"":f}))}}));var cc=/"/g;Pt({target:"String",proto:!0,forced:function(t){return o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}("anchor")},{anchor:function(t){return e="a",n="name",r=t,o=String(d(this)),i="<"+e,""!==n&&(i+=" "+n+'="'+String(r).replace(cc,"&quot;")+'"'),i+">"+o+"</"+e+">";var e,n,r,o,i}});var ac={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};for(var uc in ac){var fc=r[uc],sc=fc&&fc.prototype;if(sc&&sc.forEach!==ur)try{P(sc,"forEach",ur)}catch(t){sc.forEach=ur}}var lc,vc=Vt("iterator"),pc=Vt("toStringTag"),dc=Xr.values;for(var hc in ac){var gc=r[hc],yc=gc&&gc.prototype;if(yc){if(yc[vc]!==dc)try{P(yc,vc,dc)}catch(t){yc[vc]=dc}if(yc[pc]||P(yc,pc,hc),ac[hc])for(var mc in Xr)if(yc[mc]!==Xr[mc])try{P(yc,mc,Xr[mc])}catch(t){yc[mc]=Xr[mc]}}}function bc(t){return function(t){if(Array.isArray(t))return xe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||we(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xc(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function wc(){}function Sc(t){return t()}function Ec(){return Object.create(null)}function Oc(t){t.forEach(Sc)}function jc(t){return"function"==typeof t}function Ac(t,e){return t!=t?e==e:t!==e||t&&"object"===ye(t)||"function"==typeof t}function kc(t,e){t.appendChild(e)}function Rc(t,e,n){t.insertBefore(e,n||null)}function Pc(t){t.parentNode.removeChild(t)}function Ic(t){return document.createElement(t)}function Tc(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function $c(t){return document.createTextNode(t)}function _c(){return $c(" ")}function qc(t,e,n,r){return t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n,r)}}function Cc(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Lc(t){return Array.from(t.childNodes)}function Mc(t,e,n){t.classList[n?"add":"remove"](e)}function Uc(t){lc=t}function Dc(t,e){var n=t.$$.callbacks[e.type];n&&n.slice().forEach((function(t){return t(e)}))}var zc=[],Nc=[],Fc=[],Bc=[],Gc=Promise.resolve(),Wc=!1;function Kc(t){Fc.push(t)}var Vc=!1,Yc=new Set;function Hc(){if(!Vc){Vc=!0;do{for(var t=0;t<zc.length;t+=1){var e=zc[t];Uc(e),Jc(e.$$)}for(zc.length=0;Nc.length;)Nc.pop()();for(var n=0;n<Fc.length;n+=1){var r=Fc[n];Yc.has(r)||(Yc.add(r),r())}Fc.length=0}while(zc.length);for(;Bc.length;)Bc.pop()();Wc=!1,Vc=!1,Yc.clear()}}function Jc(t){if(null!==t.fragment){t.update(),Oc(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Kc)}}var Qc=new Set;function Xc(t,e){t&&t.i&&(Qc.delete(t),t.i(e))}function Zc(t,e,n,r){if(t&&t.o){if(Qc.has(t))return;Qc.add(t),(void 0).c.push((function(){Qc.delete(t),r&&(n&&t.d(1),r())})),t.o(e)}}var ta="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ea(t){t&&t.c()}function na(t,e,n){var r=t.$$,o=r.fragment,i=r.on_mount,c=r.on_destroy,a=r.after_update;o&&o.m(e,n),Kc((function(){var e=i.map(Sc).filter(jc);c?c.push.apply(c,bc(e)):Oc(e),t.$$.on_mount=[]})),a.forEach(Kc)}function ra(t,e){var n=t.$$;null!==n.fragment&&(Oc(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function oa(t,e){-1===t.$$.dirty[0]&&(zc.push(t),Wc||(Wc=!0,Gc.then(Hc)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ia(t,e,n,r,o,i){var c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[-1],a=lc;Uc(t);var u=e.props||{},f=t.$$={fragment:null,ctx:null,props:i,update:wc,not_equal:o,bound:Ec(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:[]),callbacks:Ec(),dirty:c},s=!1;if(f.ctx=n?n(t,u,(function(e,n){var r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return f.ctx&&o(f.ctx[e],f.ctx[e]=r)&&(f.bound[e]&&f.bound[e](r),s&&oa(t,e)),n})):[],f.update(),s=!0,Oc(f.before_update),f.fragment=!!r&&r(f.ctx),e.target){if(e.hydrate){var l=Lc(e.target);f.fragment&&f.fragment.l(l),l.forEach(Pc)}else f.fragment&&f.fragment.c();e.intro&&Xc(t.$$.fragment),na(t,e.target,e.anchor),Hc()}Uc(a)}var ca=function(){function t(){pe(this,t)}var e,n,r;return e=t,(n=[{key:"$destroy",value:function(){ra(this,1),this.$destroy=wc}},{key:"$on",value:function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}},{key:"$set",value:function(){}}])&&xc(e.prototype,n),r&&xc(e,r),t}();function aa(t){var e=function(){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}}();return function(){var n,r=be(t);if(e){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return me(this,n)}}function ua(t){var e,n,r;return{c:function(){(e=Ic("p")).textContent="Please make sure that the script tag has 'id=\"chatbot\"' and the attribute\n 'data-server' with the full qualified URL to the chatbot-server.",n=_c(),(r=Ic("pre")).innerHTML='<code class="svelte-19qvehx">&lt;script\n <br class="svelte-19qvehx">\n id=&quot;chatbot&quot;\n <br class="svelte-19qvehx">\n data-server=&quot;https://server.com/webclient&quot;\n <br class="svelte-19qvehx">\n defer\n <br class="svelte-19qvehx">\n src=&quot;https://server.com/webclient/embed/bundle.js&quot;&gt; &lt;/script&gt;</code>',Cc(e,"class","svelte-19qvehx"),Cc(r,"class","svelte-19qvehx")},m:function(t,o){Rc(t,e,o),Rc(t,n,o),Rc(t,r,o)},p:wc,d:function(t){t&&Pc(e),t&&Pc(n),t&&Pc(r)}}}function fa(t){var e,n,r,o,i,c,a,u,f,s,l,v;return{c:function(){e=Ic("div"),n=Ic("div"),r=Ic("img"),i=_c(),c=Tc("svg"),a=Tc("path"),u=_c(),f=Ic("iframe"),r.src!==(o="".concat(t[2],"/embed/logo.svg"))&&Cc(r,"src",o),Cc(r,"alt","Logo"),Cc(r,"class","svelte-19qvehx"),Cc(a,"d","M0,0L20,20M20,0L0,20"),Cc(a,"class","svelte-19qvehx"),Cc(c,"viewBox","-2 -2 24 24"),Cc(c,"class","svelte-19qvehx"),Cc(n,"class","header svelte-19qvehx"),Cc(f,"id","chat-frame"),Cc(f,"title","chatbot"),Cc(f,"class","bot svelte-19qvehx"),f.src!==(s=t[0])&&Cc(f,"src",s),Cc(f,"frameborder","0"),f.allowFullscreen="",Cc(e,"class","bot-border svelte-19qvehx"),Mc(e,"closed",!t[1])},m:function(o,s){Rc(o,e,s),kc(e,n),kc(n,r),kc(n,i),kc(n,c),kc(c,a),kc(e,u),kc(e,f),l||(v=qc(c,"click",t[3]),l=!0)},p:function(t,n){4&n&&r.src!==(o="".concat(t[2],"/embed/logo.svg"))&&Cc(r,"src",o),1&n&&f.src!==(s=t[0])&&Cc(f,"src",s),2&n&&Mc(e,"closed",!t[1])},d:function(t){t&&Pc(e),l=!1,v()}}}function sa(t){var e;function n(t,e){return t[0]?fa:ua}var r=n(t),o=r(t);return{c:function(){o.c(),e=$c("")},m:function(t,n){o.m(t,n),Rc(t,e,n)},p:function(t,i){var c=Se(i,1)[0];r===(r=n(t))&&o?o.p(t,c):(o.d(1),(o=r(t))&&(o.c(),o.m(e.parentNode,e)))},i:wc,o:wc,d:function(t){o.d(t),t&&Pc(e)}}}function la(t,e,n){var r=e.server,o=e.open,i=e.assetsUrl;return t.$set=function(t){"server"in t&&n(0,r=t.server),"open"in t&&n(1,o=t.open),"assetsUrl"in t&&n(2,i=t.assetsUrl)},[r,o,i,function(e){Dc(t,e)}]}var va=function(t){ge(n,t);var e=aa(n);function n(t){var r,o;return pe(this,n),r=e.call(this),document.getElementById("svelte-19qvehx-style")||((o=Ic("style")).id="svelte-19qvehx-style",o.textContent=".svelte-19qvehx.svelte-19qvehx,.svelte-19qvehx.svelte-19qvehx:before,.svelte-19qvehx.svelte-19qvehx:after{box-sizing:border-box}.bot-border.svelte-19qvehx.svelte-19qvehx{position:fixed !important;display:flex;flex-direction:column;bottom:0;height:85vh;width:100%;border-width:0;border-radius:12px;box-shadow:rgba(0, 0, 0, 0.24) 0px 16px 40px;background:rgba(255, 255, 255, 0.93);opacity:1;transition:transform 200ms, opacity 100ms 100ms, all 150ms;z-index:1000}.bot-border.closed.svelte-19qvehx.svelte-19qvehx{transform:translateY(85vh);opacity:0}.header.svelte-19qvehx.svelte-19qvehx{display:flex;justify-content:space-between;width:100%;height:3.5em;padding:0.5em 1em;color:white;background-color:#3f4143}.bot.svelte-19qvehx.svelte-19qvehx{display:block;width:100%;flex:1 0 auto}@media screen and (min-width: 768px){.bot-border.svelte-19qvehx.svelte-19qvehx{height:38em;max-height:calc(100vh - 2rem);width:23em;right:1em;bottom:1em;left:auto}.bot-border.closed.svelte-19qvehx.svelte-19qvehx{transform:translateY(38em);opacity:0}}img.svelte-19qvehx.svelte-19qvehx{display:block;height:100%}svg.svelte-19qvehx.svelte-19qvehx{height:100%;padding:0.4em;cursor:pointer}svg.svelte-19qvehx path.svelte-19qvehx{transition:stroke-width 100ms;stroke:white;stroke-width:2px}svg.svelte-19qvehx:hover path.svelte-19qvehx{stroke-width:3px}p.svelte-19qvehx.svelte-19qvehx,pre.svelte-19qvehx.svelte-19qvehx{max-width:300px}pre.svelte-19qvehx.svelte-19qvehx{font-size:0.6em;line-height:0.5}",kc(document.head,o)),ia(de(r),t,la,sa,Ac,{server:0,open:1,assetsUrl:2}),r}return n}(ca);function pa(t){var e=function(){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}}();return function(){var n,r=be(t);if(e){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return me(this,n)}}function da(t){var e,n,r,o,i;return{c:function(){e=Ic("div"),Cc(n=Ic("img"),"class","chat-button svelte-xlhtz"),Cc(n,"alt","Open chatbot"),n.src!==(r="".concat(t[0],"/embed/open-button.svg"))&&Cc(n,"src",r),Cc(e,"class","chat-button-wrapper svelte-xlhtz")},m:function(r,c){Rc(r,e,c),kc(e,n),o||(i=qc(n,"click",t[1]),o=!0)},p:function(t,e){1&Se(e,1)[0]&&n.src!==(r="".concat(t[0],"/embed/open-button.svg"))&&Cc(n,"src",r)},i:wc,o:wc,d:function(t){t&&Pc(e),o=!1,i()}}}function ha(t,e,n){var r=e.assetsUrl;return t.$set=function(t){"assetsUrl"in t&&n(0,r=t.assetsUrl)},[r,function(e){Dc(t,e)}]}var ga=function(t){ge(n,t);var e=pa(n);function n(t){var r,o;return pe(this,n),r=e.call(this),document.getElementById("svelte-xlhtz-style")||((o=Ic("style")).id="svelte-xlhtz-style",o.textContent=".svelte-xlhtz,.svelte-xlhtz:before,.svelte-xlhtz:after{box-sizing:border-box}.chat-button-wrapper.svelte-xlhtz{position:fixed !important;right:2em;bottom:2em;width:6em;height:6em;z-index:999}.chat-button.svelte-xlhtz{display:block;height:100%;cursor:pointer;border-radius:50%;box-shadow:9px 9px 16px rgba(0, 0, 0, 0.25);transition:transform 100ms, box-shadow 100ms}.chat-button.svelte-xlhtz:hover{box-shadow:16px 16px 16px rgba(0, 0, 0, 0.2);transform:translateY(-2px)}",kc(document.head,o)),ia(de(r),t,ha,da,Ac,{assetsUrl:0}),r}return n}(ca),ya=function(t,e){var n=window.addEventListener?"addEventListener":"attachEvent";(0,window[n])("attachEvent"===n?"onmessage":"message",(function(n){var r,o=n.data;switch(o.type){case"webclient.expand.window":t(o.devices);break;case"webclient.change.url":e(o.url);break;case"google.tag.event":r=o.payload,window.gtag?window.gtag("event","",r):window.dataLayer&&window.dataLayer.push(r)}}),!1)};te("match",1,(function(t,e,n){return[function(e){var n=d(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=A(t),i=String(this);if(!o.global)return fe(o,i);var c=o.unicode;o.lastIndex=0;for(var a,u=[],f=0;null!==(a=fe(o,i));){var s=String(a[0]);u[f]=s,""===s&&(o.lastIndex=ue(i,at(o.lastIndex),c)),f++}return 0===f?null:u}]}));var ma=function(){navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&document.querySelectorAll("html, body").forEach((function(t){t.classList.add("iOS-device")}))},ba=e((function(t,e){var n;n=function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(e,n,i){if("undefined"!=typeof document){"number"==typeof(i=t({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var c=JSON.stringify(n);/^[\{\[]/.test(c)&&(n=c)}catch(t){}n=r.write?r.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var u in i)i[u]&&(a+="; "+u,!0!==i[u]&&(a+="="+i[u].split(";")[0]));return document.cookie=e+"="+n+a}}function c(t,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],c=0;c<i.length;c++){var a=i[c].split("="),u=a.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var f=e(a[0]);if(u=(r.read||r)(u,f)||e(u),n)try{u=JSON.parse(u)}catch(t){}if(o[f]=u,t===f)break}catch(t){}}return t?o[t]:o}}return o.set=i,o.get=function(t){return c(t,!1)},o.getJSON=function(t){return c(t,!0)},o.remove=function(e,n){i(e,"",t(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))},t.exports=n()})),xa=function(t){ba.set("bot-window",t)};function wa(t){var e=function(){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}}();return function(){var n,r=be(t);if(e){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return me(this,n)}}var Sa=ta.document;function Ea(t){var e,n,r,o,i,c,a,u;return(i=new ga({props:{server:t[0],assetsUrl:t[1]}})).$on("click",t[3]),(a=new va({props:{server:t[0],assetsUrl:t[1],open:t[2]}})).$on("click",t[3]),{c:function(){e=Ic("link"),r=_c(),o=Ic("div"),ea(i.$$.fragment),c=_c(),ea(a.$$.fragment),Cc(e,"rel","stylesheet"),Cc(e,"href",n="".concat(t[1],"/embed/custom.css")),Cc(o,"id","chatbot-window"),Cc(o,"class","svelte-sr5aex")},m:function(t,n){kc(Sa.head,e),Rc(t,r,n),Rc(t,o,n),na(i,o,null),kc(o,c),na(a,o,null),u=!0},p:function(t,r){var o=Se(r,1)[0];(!u||2&o&&n!==(n="".concat(t[1],"/embed/custom.css")))&&Cc(e,"href",n);var c={};1&o&&(c.server=t[0]),2&o&&(c.assetsUrl=t[1]),i.$set(c);var f={};1&o&&(f.server=t[0]),2&o&&(f.assetsUrl=t[1]),4&o&&(f.open=t[2]),a.$set(f)},i:function(t){u||(Xc(i.$$.fragment,t),Xc(a.$$.fragment,t),u=!0)},o:function(t){Zc(i.$$.fragment,t),Zc(a.$$.fragment,t),u=!1},d:function(t){Pc(e),t&&Pc(r),t&&Pc(o),ra(i),ra(a)}}}function Oa(t,e,n){var r=e.server,o=e.assetsUrl,i=void 0===o?r?r.split("?")[0]:void 0:o;ma();var c=function(){switch(ba.get("bot-window")){case"open":return!0;case"closed":default:return!1}}();function a(){n(2,c=!0),xa("open")}function u(){n(2,c=!1),xa("closed")}return ya((function(t){var e=window.innerWidth;(null==t||"all"===t||"desktop"===t&&e>=768||"mobile"===t&&e<768)&&a()}),(function(t){window.innerWidth<768&&u(),document.location.href=t})),t.$set=function(t){"server"in t&&n(0,r=t.server),"assetsUrl"in t&&n(1,i=t.assetsUrl)},[r,i,c,function(){c?u():a()}]}var ja=function(t){ge(n,t);var e=wa(n);function n(t){var r,o;return pe(this,n),r=e.call(this),Sa.getElementById("svelte-sr5aex-style")||((o=Ic("style")).id="svelte-sr5aex-style",o.textContent="#chatbot-window.svelte-sr5aex{font-size:16px}",kc(Sa.head,o)),ia(de(r),t,Oa,Ea,Ac,{server:0,assetsUrl:1}),r}return n}(ca),Aa=function(t){if(t&&void 0!==t.src)return function(t){return t.dataset&&t.dataset.server}(t)||function(t){return t.src.replace(/\/embed\/bundle\.js/,"")}(t)}(document.querySelector("script#chatbot"));return console.log("Chatbot is loading from",Aa),new ja({target:document.body,props:{server:Aa}})}();
1
+ var app=function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var n=function(t){return t&&t.Math==Math&&t},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,u={f:a&&!c.call({1:2},1)?function(t){var e=a(this,t);return!!e&&e.enumerable}:c},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},s={}.toString,l=function(t){return s.call(t).slice(8,-1)},v="".split,p=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==l(t)?v.call(t,""):Object(t)}:Object,d=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},h=function(t){return p(d(t))},g=function(t){return"object"==typeof t?null!==t:"function"==typeof t},y=function(t,e){if(!g(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!g(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!g(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!g(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},m={}.hasOwnProperty,b=function(t,e){return m.call(t,e)},x=r.document,w=g(x)&&g(x.createElement),S=function(t){return w?x.createElement(t):{}},E=!i&&!o((function(){return 7!=Object.defineProperty(S("div"),"a",{get:function(){return 7}}).a})),O=Object.getOwnPropertyDescriptor,j={f:i?O:function(t,e){if(t=h(t),e=y(e,!0),E)try{return O(t,e)}catch(t){}if(b(t,e))return f(!u.f.call(t,e),t[e])}},A=function(t){if(!g(t))throw TypeError(String(t)+" is not an object");return t},k=Object.defineProperty,R={f:i?k:function(t,e,n){if(A(t),e=y(e,!0),A(n),E)try{return k(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},P=i?function(t,e,n){return R.f(t,e,f(1,n))}:function(t,e,n){return t[e]=n,t},I=function(t,e){try{P(r,t,e)}catch(n){r[t]=e}return e},T=r["__core-js_shared__"]||I("__core-js_shared__",{}),$=Function.toString;"function"!=typeof T.inspectSource&&(T.inspectSource=function(t){return $.call(t)});var _,q,C,L=T.inspectSource,M=r.WeakMap,U="function"==typeof M&&/native code/.test(L(M)),D=e((function(t){(t.exports=function(t,e){return T[t]||(T[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),z=0,N=Math.random(),F=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+N).toString(36)},B=D("keys"),G=function(t){return B[t]||(B[t]=F(t))},W={},K=r.WeakMap;if(U){var V=new K,Y=V.get,H=V.has,J=V.set;_=function(t,e){return J.call(V,t,e),e},q=function(t){return Y.call(V,t)||{}},C=function(t){return H.call(V,t)}}else{var Q=G("state");W[Q]=!0,_=function(t,e){return P(t,Q,e),e},q=function(t){return b(t,Q)?t[Q]:{}},C=function(t){return b(t,Q)}}var X={set:_,get:q,has:C,enforce:function(t){return C(t)?q(t):_(t,{})},getterFor:function(t){return function(e){var n;if(!g(e)||(n=q(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},Z=e((function(t){var e=X.get,n=X.enforce,o=String(String).split("String");(t.exports=function(t,e,i,c){var a=!!c&&!!c.unsafe,u=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof i&&("string"!=typeof e||b(i,"name")||P(i,"name",e),n(i).source=o.join("string"==typeof e?e:"")),t!==r?(a?!f&&t[e]&&(u=!0):delete t[e],u?t[e]=i:P(t,e,i)):u?t[e]=i:I(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||L(this)}))})),tt=r,et=function(t){return"function"==typeof t?t:void 0},nt=function(t,e){return arguments.length<2?et(tt[t])||et(r[t]):tt[t]&&tt[t][e]||r[t]&&r[t][e]},rt=Math.ceil,ot=Math.floor,it=function(t){return isNaN(t=+t)?0:(t>0?ot:rt)(t)},ct=Math.min,at=function(t){return t>0?ct(it(t),9007199254740991):0},ut=Math.max,ft=Math.min,st=function(t,e){var n=it(t);return n<0?ut(n+e,0):ft(n,e)},lt=function(t){return function(e,n,r){var o,i=h(e),c=at(i.length),a=st(r,c);if(t&&n!=n){for(;c>a;)if((o=i[a++])!=o)return!0}else for(;c>a;a++)if((t||a in i)&&i[a]===n)return t||a||0;return!t&&-1}},vt={includes:lt(!0),indexOf:lt(!1)},pt=vt.indexOf,dt=function(t,e){var n,r=h(t),o=0,i=[];for(n in r)!b(W,n)&&b(r,n)&&i.push(n);for(;e.length>o;)b(r,n=e[o++])&&(~pt(i,n)||i.push(n));return i},ht=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],gt=ht.concat("length","prototype"),yt={f:Object.getOwnPropertyNames||function(t){return dt(t,gt)}},mt={f:Object.getOwnPropertySymbols},bt=nt("Reflect","ownKeys")||function(t){var e=yt.f(A(t)),n=mt.f;return n?e.concat(n(t)):e},xt=function(t,e){for(var n=bt(e),r=R.f,o=j.f,i=0;i<n.length;i++){var c=n[i];b(t,c)||r(t,c,o(e,c))}},wt=/#|\.prototype\./,St=function(t,e){var n=Ot[Et(t)];return n==At||n!=jt&&("function"==typeof e?o(e):!!e)},Et=St.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},Ot=St.data={},jt=St.NATIVE="N",At=St.POLYFILL="P",kt=St,Rt=j.f,Pt=function(t,e){var n,o,i,c,a,u=t.target,f=t.global,s=t.stat;if(n=f?r:s?r[u]||I(u,{}):(r[u]||{}).prototype)for(o in e){if(c=e[o],i=t.noTargetGet?(a=Rt(n,o))&&a.value:n[o],!kt(f?o:u+(s?".":"#")+o,t.forced)&&void 0!==i){if(typeof c==typeof i)continue;xt(c,i)}(t.sham||i&&i.sham)&&P(c,"sham",!0),Z(n,o,c,t)}},It=function(){var t=A(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};function Tt(t,e){return RegExp(t,e)}var $t,_t,qt={UNSUPPORTED_Y:o((function(){var t=Tt("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:o((function(){var t=Tt("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},Ct=RegExp.prototype.exec,Lt=String.prototype.replace,Mt=Ct,Ut=($t=/a/,_t=/b*/g,Ct.call($t,"a"),Ct.call(_t,"a"),0!==$t.lastIndex||0!==_t.lastIndex),Dt=qt.UNSUPPORTED_Y||qt.BROKEN_CARET,zt=void 0!==/()??/.exec("")[1];(Ut||zt||Dt)&&(Mt=function(t){var e,n,r,o,i=this,c=Dt&&i.sticky,a=It.call(i),u=i.source,f=0,s=t;return c&&(-1===(a=a.replace("y","")).indexOf("g")&&(a+="g"),s=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",s=" "+s,f++),n=new RegExp("^(?:"+u+")",a)),zt&&(n=new RegExp("^"+u+"$(?!\\s)",a)),Ut&&(e=i.lastIndex),r=Ct.call(c?n:i,s),c?r?(r.input=r.input.slice(f),r[0]=r[0].slice(f),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Ut&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),zt&&r&&r.length>1&&Lt.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var Nt=Mt;Pt({target:"RegExp",proto:!0,forced:/./.exec!==Nt},{exec:Nt});var Ft=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),Bt=Ft&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Gt=D("wks"),Wt=r.Symbol,Kt=Bt?Wt:Wt&&Wt.withoutSetter||F,Vt=function(t){return b(Gt,t)||(Ft&&b(Wt,t)?Gt[t]=Wt[t]:Gt[t]=Kt("Symbol."+t)),Gt[t]},Yt=Vt("species"),Ht=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Jt="$0"==="a".replace(/./,"$0"),Qt=Vt("replace"),Xt=!!/./[Qt]&&""===/./[Qt]("a","$0"),Zt=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),te=function(t,e,n,r){var i=Vt(t),c=!o((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),a=c&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Yt]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return e=!0,null},n[i](""),!e}));if(!c||!a||"replace"===t&&(!Ht||!Jt||Xt)||"split"===t&&!Zt){var u=/./[i],f=n(i,""[t],(function(t,e,n,r,o){return e.exec===Nt?c&&!o?{done:!0,value:u.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Jt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Xt}),s=f[0],l=f[1];Z(String.prototype,t,s),Z(RegExp.prototype,i,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}r&&P(RegExp.prototype[i],"sham",!0)},ee=Vt("match"),ne=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},re=Vt("species"),oe=function(t,e){var n,r=A(t).constructor;return void 0===r||null==(n=A(r)[re])?e:ne(n)},ie=function(t){return function(e,n){var r,o,i=String(d(e)),c=it(n),a=i.length;return c<0||c>=a?t?"":void 0:(r=i.charCodeAt(c))<55296||r>56319||c+1===a||(o=i.charCodeAt(c+1))<56320||o>57343?t?i.charAt(c):r:t?i.slice(c,c+2):o-56320+(r-55296<<10)+65536}},ce={codeAt:ie(!1),charAt:ie(!0)},ae=ce.charAt,ue=function(t,e,n){return e+(n?ae(t,e).length:1)},fe=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==l(t))throw TypeError("RegExp#exec called on incompatible receiver");return Nt.call(t,e)},se=[].push,le=Math.min,ve=!o((function(){return!RegExp(4294967295,"y")}));function pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function he(t,e){return(he=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ge(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&&he(t,e)}function ye(t){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function me(t,e){return!e||"object"!==ye(e)&&"function"!=typeof e?de(t):e}function be(t){return(be=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function we(t,e){if(t){if("string"==typeof t)return xe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xe(t,e):void 0}}function Se(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,e)||we(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}te("split",2,(function(t,e,n){var r;return r="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,n){var r,o,i=String(d(this)),c=void 0===n?4294967295:n>>>0;if(0===c)return[];if(void 0===t)return[i];if(!g(r=t)||!(void 0!==(o=r[ee])?o:"RegExp"==l(r)))return e.call(i,t,c);for(var a,u,f,s=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,h=new RegExp(t.source,v+"g");(a=Nt.call(h,i))&&!((u=h.lastIndex)>p&&(s.push(i.slice(p,a.index)),a.length>1&&a.index<i.length&&se.apply(s,a.slice(1)),f=a[0].length,p=u,s.length>=c));)h.lastIndex===a.index&&h.lastIndex++;return p===i.length?!f&&h.test("")||s.push(""):s.push(i.slice(p)),s.length>c?s.slice(0,c):s}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=d(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var i=n(r,t,this,o,r!==e);if(i.done)return i.value;var c=A(t),a=String(this),u=oe(c,RegExp),f=c.unicode,s=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(ve?"y":"g"),l=new u(ve?c:"^(?:"+c.source+")",s),v=void 0===o?4294967295:o>>>0;if(0===v)return[];if(0===a.length)return null===fe(l,a)?[a]:[];for(var p=0,d=0,h=[];d<a.length;){l.lastIndex=ve?d:0;var g,y=fe(l,ve?a:a.slice(d));if(null===y||(g=le(at(l.lastIndex+(ve?0:d)),a.length))===p)d=ue(a,d,f);else{if(h.push(a.slice(p,d)),h.length===v)return h;for(var m=1;m<=y.length-1;m++)if(h.push(y[m]),h.length===v)return h;d=p=g}}return h.push(a.slice(p)),h}]}),!ve);var Ee,Oe=Array.isArray||function(t){return"Array"==l(t)},je=function(t){return Object(d(t))},Ae=Object.keys||function(t){return dt(t,ht)},ke=i?Object.defineProperties:function(t,e){A(t);for(var n,r=Ae(e),o=r.length,i=0;o>i;)R.f(t,n=r[i++],e[n]);return t},Re=nt("document","documentElement"),Pe=G("IE_PROTO"),Ie=function(){},Te=function(t){return"<script>"+t+"<\/script>"},$e=function(){try{Ee=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;$e=Ee?function(t){t.write(Te("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Ee):((e=S("iframe")).style.display="none",Re.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Te("document.F=Object")),t.close(),t.F);for(var n=ht.length;n--;)delete $e.prototype[ht[n]];return $e()};W[Pe]=!0;var _e=Object.create||function(t,e){var n;return null!==t?(Ie.prototype=A(t),n=new Ie,Ie.prototype=null,n[Pe]=t):n=$e(),void 0===e?n:ke(n,e)},qe=yt.f,Ce={}.toString,Le="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Me={f:function(t){return Le&&"[object Window]"==Ce.call(t)?function(t){try{return qe(t)}catch(t){return Le.slice()}}(t):qe(h(t))}},Ue={f:Vt},De=R.f,ze=function(t){var e=tt.Symbol||(tt.Symbol={});b(e,t)||De(e,t,{value:Ue.f(t)})},Ne=R.f,Fe=Vt("toStringTag"),Be=function(t,e,n){t&&!b(t=n?t:t.prototype,Fe)&&Ne(t,Fe,{configurable:!0,value:e})},Ge=function(t,e,n){if(ne(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},We=Vt("species"),Ke=function(t,e){var n;return Oe(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Oe(n.prototype)?g(n)&&null===(n=n[We])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Ve=[].push,Ye=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,c=5==t||i;return function(a,u,f,s){for(var l,v,d=je(a),h=p(d),g=Ge(u,f,3),y=at(h.length),m=0,b=s||Ke,x=e?b(a,y):n?b(a,0):void 0;y>m;m++)if((c||m in h)&&(v=g(l=h[m],m,d),t))if(e)x[m]=v;else if(v)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:Ve.call(x,l)}else if(o)return!1;return i?-1:r||o?o:x}},He={forEach:Ye(0),map:Ye(1),filter:Ye(2),some:Ye(3),every:Ye(4),find:Ye(5),findIndex:Ye(6)},Je=He.forEach,Qe=G("hidden"),Xe=Vt("toPrimitive"),Ze=X.set,tn=X.getterFor("Symbol"),en=Object.prototype,nn=r.Symbol,rn=nt("JSON","stringify"),on=j.f,cn=R.f,an=Me.f,un=u.f,fn=D("symbols"),sn=D("op-symbols"),ln=D("string-to-symbol-registry"),vn=D("symbol-to-string-registry"),pn=D("wks"),dn=r.QObject,hn=!dn||!dn.prototype||!dn.prototype.findChild,gn=i&&o((function(){return 7!=_e(cn({},"a",{get:function(){return cn(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=on(en,e);r&&delete en[e],cn(t,e,n),r&&t!==en&&cn(en,e,r)}:cn,yn=function(t,e){var n=fn[t]=_e(nn.prototype);return Ze(n,{type:"Symbol",tag:t,description:e}),i||(n.description=e),n},mn=Bt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof nn},bn=function(t,e,n){t===en&&bn(sn,e,n),A(t);var r=y(e,!0);return A(n),b(fn,r)?(n.enumerable?(b(t,Qe)&&t[Qe][r]&&(t[Qe][r]=!1),n=_e(n,{enumerable:f(0,!1)})):(b(t,Qe)||cn(t,Qe,f(1,{})),t[Qe][r]=!0),gn(t,r,n)):cn(t,r,n)},xn=function(t,e){A(t);var n=h(e),r=Ae(n).concat(On(n));return Je(r,(function(e){i&&!wn.call(n,e)||bn(t,e,n[e])})),t},wn=function(t){var e=y(t,!0),n=un.call(this,e);return!(this===en&&b(fn,e)&&!b(sn,e))&&(!(n||!b(this,e)||!b(fn,e)||b(this,Qe)&&this[Qe][e])||n)},Sn=function(t,e){var n=h(t),r=y(e,!0);if(n!==en||!b(fn,r)||b(sn,r)){var o=on(n,r);return!o||!b(fn,r)||b(n,Qe)&&n[Qe][r]||(o.enumerable=!0),o}},En=function(t){var e=an(h(t)),n=[];return Je(e,(function(t){b(fn,t)||b(W,t)||n.push(t)})),n},On=function(t){var e=t===en,n=an(e?sn:h(t)),r=[];return Je(n,(function(t){!b(fn,t)||e&&!b(en,t)||r.push(fn[t])})),r};if(Ft||(Z((nn=function(){if(this instanceof nn)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=F(t),n=function(t){this===en&&n.call(sn,t),b(this,Qe)&&b(this[Qe],e)&&(this[Qe][e]=!1),gn(this,e,f(1,t))};return i&&hn&&gn(en,e,{configurable:!0,set:n}),yn(e,t)}).prototype,"toString",(function(){return tn(this).tag})),Z(nn,"withoutSetter",(function(t){return yn(F(t),t)})),u.f=wn,R.f=bn,j.f=Sn,yt.f=Me.f=En,mt.f=On,Ue.f=function(t){return yn(Vt(t),t)},i&&(cn(nn.prototype,"description",{configurable:!0,get:function(){return tn(this).description}}),Z(en,"propertyIsEnumerable",wn,{unsafe:!0}))),Pt({global:!0,wrap:!0,forced:!Ft,sham:!Ft},{Symbol:nn}),Je(Ae(pn),(function(t){ze(t)})),Pt({target:"Symbol",stat:!0,forced:!Ft},{for:function(t){var e=String(t);if(b(ln,e))return ln[e];var n=nn(e);return ln[e]=n,vn[n]=e,n},keyFor:function(t){if(!mn(t))throw TypeError(t+" is not a symbol");if(b(vn,t))return vn[t]},useSetter:function(){hn=!0},useSimple:function(){hn=!1}}),Pt({target:"Object",stat:!0,forced:!Ft,sham:!i},{create:function(t,e){return void 0===e?_e(t):xn(_e(t),e)},defineProperty:bn,defineProperties:xn,getOwnPropertyDescriptor:Sn}),Pt({target:"Object",stat:!0,forced:!Ft},{getOwnPropertyNames:En,getOwnPropertySymbols:On}),Pt({target:"Object",stat:!0,forced:o((function(){mt.f(1)}))},{getOwnPropertySymbols:function(t){return mt.f(je(t))}}),rn){var jn=!Ft||o((function(){var t=nn();return"[null]"!=rn([t])||"{}"!=rn({a:t})||"{}"!=rn(Object(t))}));Pt({target:"JSON",stat:!0,forced:jn},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(g(e)||void 0!==t)&&!mn(t))return Oe(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!mn(e))return e}),o[1]=e,rn.apply(null,o)}})}nn.prototype[Xe]||P(nn.prototype,Xe,nn.prototype.valueOf),Be(nn,"Symbol"),W[Qe]=!0;var An=R.f,kn=r.Symbol;if(i&&"function"==typeof kn&&(!("description"in kn.prototype)||void 0!==kn().description)){var Rn={},Pn=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof Pn?new kn(t):void 0===t?kn():kn(t);return""===t&&(Rn[e]=!0),e};xt(Pn,kn);var In=Pn.prototype=kn.prototype;In.constructor=Pn;var Tn=In.toString,$n="Symbol(test)"==String(kn("test")),_n=/^Symbol\((.*)\)[^)]+$/;An(In,"description",{configurable:!0,get:function(){var t=g(this)?this.valueOf():this,e=Tn.call(t);if(b(Rn,t))return"";var n=$n?e.slice(7,-1):e.replace(_n,"$1");return""===n?void 0:n}}),Pt({global:!0,forced:!0},{Symbol:Pn})}ze("iterator");var qn,Cn,Ln=function(t,e,n){var r=y(e);r in t?R.f(t,r,f(0,n)):t[r]=n},Mn=nt("navigator","userAgent")||"",Un=r.process,Dn=Un&&Un.versions,zn=Dn&&Dn.v8;zn?Cn=(qn=zn.split("."))[0]+qn[1]:Mn&&(!(qn=Mn.match(/Edge\/(\d+)/))||qn[1]>=74)&&(qn=Mn.match(/Chrome\/(\d+)/))&&(Cn=qn[1]);var Nn=Cn&&+Cn,Fn=Vt("species"),Bn=function(t){return Nn>=51||!o((function(){var e=[];return(e.constructor={})[Fn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Gn=Vt("isConcatSpreadable"),Wn=Nn>=51||!o((function(){var t=[];return t[Gn]=!1,t.concat()[0]!==t})),Kn=Bn("concat"),Vn=function(t){if(!g(t))return!1;var e=t[Gn];return void 0!==e?!!e:Oe(t)};Pt({target:"Array",proto:!0,forced:!Wn||!Kn},{concat:function(t){var e,n,r,o,i,c=je(this),a=Ke(c,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(Vn(i=-1===e?c:arguments[e])){if(u+(o=at(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,u++)n in i&&Ln(a,u,i[n])}else{if(u>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Ln(a,u++,i)}return a.length=u,a}});var Yn=Vt("unscopables"),Hn=Array.prototype;null==Hn[Yn]&&R.f(Hn,Yn,{configurable:!0,value:_e(null)});var Jn=function(t){Hn[Yn][t]=!0};Pt({target:"Array",proto:!0},{fill:function(t){for(var e=je(this),n=at(e.length),r=arguments.length,o=st(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,c=void 0===i?n:st(i,n);c>o;)e[o++]=t;return e}}),Jn("fill");var Qn=Object.defineProperty,Xn={},Zn=function(t){throw t},tr=function(t,e){if(b(Xn,t))return Xn[t];e||(e={});var n=[][t],r=!!b(e,"ACCESSORS")&&e.ACCESSORS,c=b(e,0)?e[0]:Zn,a=b(e,1)?e[1]:void 0;return Xn[t]=!!n&&!o((function(){if(r&&!i)return!0;var t={length:-1};r?Qn(t,1,{enumerable:!0,get:Zn}):t[1]=1,n.call(t,c,a)}))},er=He.filter,nr=Bn("filter"),rr=tr("filter");Pt({target:"Array",proto:!0,forced:!nr||!rr},{filter:function(t){return er(this,t,arguments.length>1?arguments[1]:void 0)}});var or=function(t,e){var n=[][t];return!!n&&o((function(){n.call(null,e||function(){throw 1},1)}))},ir=He.forEach,cr=or("forEach"),ar=tr("forEach"),ur=cr&&ar?[].forEach:function(t){return ir(this,t,arguments.length>1?arguments[1]:void 0)};Pt({target:"Array",proto:!0,forced:[].forEach!=ur},{forEach:ur});var fr=function(t,e,n,r){try{return r?e(A(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&A(o.call(t)),e}},sr={},lr=Vt("iterator"),vr=Array.prototype,pr=function(t){return void 0!==t&&(sr.Array===t||vr[lr]===t)},dr={};dr[Vt("toStringTag")]="z";var hr="[object z]"===String(dr),gr=Vt("toStringTag"),yr="Arguments"==l(function(){return arguments}()),mr=hr?l:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),gr))?n:yr?l(e):"Object"==(r=l(e))&&"function"==typeof e.callee?"Arguments":r},br=Vt("iterator"),xr=function(t){if(null!=t)return t[br]||t["@@iterator"]||sr[mr(t)]},wr=Vt("iterator"),Sr=!1;try{var Er=0,Or={next:function(){return{done:!!Er++}},return:function(){Sr=!0}};Or[wr]=function(){return this},Array.from(Or,(function(){throw 2}))}catch(t){}var jr=function(t,e){if(!e&&!Sr)return!1;var n=!1;try{var r={};r[wr]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Ar=!jr((function(t){Array.from(t)}));Pt({target:"Array",stat:!0,forced:Ar},{from:function(t){var e,n,r,o,i,c,a=je(t),u="function"==typeof this?this:Array,f=arguments.length,s=f>1?arguments[1]:void 0,l=void 0!==s,v=xr(a),p=0;if(l&&(s=Ge(s,f>2?arguments[2]:void 0,2)),null==v||u==Array&&pr(v))for(n=new u(e=at(a.length));e>p;p++)c=l?s(a[p],p):a[p],Ln(n,p,c);else for(i=(o=v.call(a)).next,n=new u;!(r=i.call(o)).done;p++)c=l?fr(o,s,[r.value,p],!0):r.value,Ln(n,p,c);return n.length=p,n}});var kr=vt.indexOf,Rr=[].indexOf,Pr=!!Rr&&1/[1].indexOf(1,-0)<0,Ir=or("indexOf"),Tr=tr("indexOf",{ACCESSORS:!0,1:0});Pt({target:"Array",proto:!0,forced:Pr||!Ir||!Tr},{indexOf:function(t){return Pr?Rr.apply(this,arguments)||0:kr(this,t,arguments.length>1?arguments[1]:void 0)}});var $r,_r,qr,Cr=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Lr=G("IE_PROTO"),Mr=Object.prototype,Ur=Cr?Object.getPrototypeOf:function(t){return t=je(t),b(t,Lr)?t[Lr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Mr:null},Dr=Vt("iterator"),zr=!1;[].keys&&("next"in(qr=[].keys())?(_r=Ur(Ur(qr)))!==Object.prototype&&($r=_r):zr=!0),null==$r&&($r={}),b($r,Dr)||P($r,Dr,(function(){return this}));var Nr={IteratorPrototype:$r,BUGGY_SAFARI_ITERATORS:zr},Fr=Nr.IteratorPrototype,Br=function(){return this},Gr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return A(n),function(t){if(!g(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),Wr=Nr.IteratorPrototype,Kr=Nr.BUGGY_SAFARI_ITERATORS,Vr=Vt("iterator"),Yr=function(){return this},Hr=function(t,e,n,r,o,i,c){!function(t,e,n){var r=e+" Iterator";t.prototype=_e(Fr,{next:f(1,n)}),Be(t,r,!1),sr[r]=Br}(n,e,r);var a,u,s,l=function(t){if(t===o&&g)return g;if(!Kr&&t in d)return d[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},v=e+" Iterator",p=!1,d=t.prototype,h=d[Vr]||d["@@iterator"]||o&&d[o],g=!Kr&&h||l(o),y="Array"==e&&d.entries||h;if(y&&(a=Ur(y.call(new t)),Wr!==Object.prototype&&a.next&&(Ur(a)!==Wr&&(Gr?Gr(a,Wr):"function"!=typeof a[Vr]&&P(a,Vr,Yr)),Be(a,v,!0))),"values"==o&&h&&"values"!==h.name&&(p=!0,g=function(){return h.call(this)}),d[Vr]!==g&&P(d,Vr,g),sr[e]=g,o)if(u={values:l("values"),keys:i?g:l("keys"),entries:l("entries")},c)for(s in u)(Kr||p||!(s in d))&&Z(d,s,u[s]);else Pt({target:e,proto:!0,forced:Kr||p},u);return u},Jr=X.set,Qr=X.getterFor("Array Iterator"),Xr=Hr(Array,"Array",(function(t,e){Jr(this,{type:"Array Iterator",target:h(t),index:0,kind:e})}),(function(){var t=Qr(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");sr.Arguments=sr.Array,Jn("keys"),Jn("values"),Jn("entries");var Zr=[].join,to=p!=Object,eo=or("join",",");Pt({target:"Array",proto:!0,forced:to||!eo},{join:function(t){return Zr.call(h(this),void 0===t?",":t)}});var no=He.map,ro=Bn("map"),oo=tr("map");Pt({target:"Array",proto:!0,forced:!ro||!oo},{map:function(t){return no(this,t,arguments.length>1?arguments[1]:void 0)}});var io=Bn("slice"),co=tr("slice",{ACCESSORS:!0,0:0,1:2}),ao=Vt("species"),uo=[].slice,fo=Math.max;Pt({target:"Array",proto:!0,forced:!io||!co},{slice:function(t,e){var n,r,o,i=h(this),c=at(i.length),a=st(t,c),u=st(void 0===e?c:e,c);if(Oe(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!Oe(n.prototype)?g(n)&&null===(n=n[ao])&&(n=void 0):n=void 0,n===Array||void 0===n))return uo.call(i,a,u);for(r=new(void 0===n?Array:n)(fo(u-a,0)),o=0;a<u;a++,o++)a in i&&Ln(r,o,i[a]);return r.length=o,r}});var so=Bn("splice"),lo=tr("splice",{ACCESSORS:!0,0:0,1:2}),vo=Math.max,po=Math.min;Pt({target:"Array",proto:!0,forced:!so||!lo},{splice:function(t,e){var n,r,o,i,c,a,u=je(this),f=at(u.length),s=st(t,f),l=arguments.length;if(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=po(vo(it(e),0),f-s)),f+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=Ke(u,r),i=0;i<r;i++)(c=s+i)in u&&Ln(o,i,u[c]);if(o.length=r,n<r){for(i=s;i<f-r;i++)a=i+n,(c=i+r)in u?u[a]=u[c]:delete u[a];for(i=f;i>f-r+n;i--)delete u[i-1]}else if(n>r)for(i=f-r;i>s;i--)a=i+n-1,(c=i+r-1)in u?u[a]=u[c]:delete u[a];for(i=0;i<n;i++)u[i+s]=arguments[i+2];return u.length=f-r+n,o}});var ho=R.f,go=Function.prototype,yo=go.toString,mo=/^\s*function ([^ (]*)/;i&&!("name"in go)&&ho(go,"name",{configurable:!0,get:function(){try{return yo.call(this).match(mo)[1]}catch(t){return""}}});var bo=!o((function(){return Object.isExtensible(Object.preventExtensions({}))})),xo=e((function(t){var e=R.f,n=F("meta"),r=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},c=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!g(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!b(t,n)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[n].objectID},getWeakData:function(t,e){if(!b(t,n)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[n].weakData},onFreeze:function(t){return bo&&c.REQUIRED&&o(t)&&!b(t,n)&&i(t),t}};W[n]=!0})),wo=(xo.REQUIRED,xo.fastKey,xo.getWeakData,xo.onFreeze,e((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,n,r,o,i){var c,a,u,f,s,l,v,p=Ge(n,r,o?2:1);if(i)c=t;else{if("function"!=typeof(a=xr(t)))throw TypeError("Target is not iterable");if(pr(a)){for(u=0,f=at(t.length);f>u;u++)if((s=o?p(A(v=t[u])[0],v[1]):p(t[u]))&&s instanceof e)return s;return new e(!1)}c=a.call(t)}for(l=c.next;!(v=l.call(c)).done;)if("object"==typeof(s=fr(c,p,v.value,o))&&s&&s instanceof e)return s;return new e(!1)}).stop=function(t){return new e(!0,t)}}))),So=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Eo=function(t,e,n){var i=-1!==t.indexOf("Map"),c=-1!==t.indexOf("Weak"),a=i?"set":"add",u=r[t],f=u&&u.prototype,s=u,l={},v=function(t){var e=f[t];Z(f,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(c&&!g(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return c&&!g(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(c&&!g(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(kt(t,"function"!=typeof u||!(c||f.forEach&&!o((function(){(new u).entries().next()})))))s=n.getConstructor(e,t,i,a),xo.REQUIRED=!0;else if(kt(t,!0)){var p=new s,d=p[a](c?{}:-0,1)!=p,h=o((function(){p.has(1)})),y=jr((function(t){new u(t)})),m=!c&&o((function(){for(var t=new u,e=5;e--;)t[a](e,e);return!t.has(-0)}));y||((s=e((function(e,n){So(e,s,t);var r=function(t,e,n){var r,o;return Gr&&"function"==typeof(r=e.constructor)&&r!==n&&g(o=r.prototype)&&o!==n.prototype&&Gr(t,o),t}(new u,e,s);return null!=n&&wo(n,r[a],r,i),r}))).prototype=f,f.constructor=s),(h||m)&&(v("delete"),v("has"),i&&v("get")),(m||d)&&v(a),c&&f.clear&&delete f.clear}return l[t]=s,Pt({global:!0,forced:s!=u},l),Be(s,t),c||n.setStrong(s,t,i),s},Oo=function(t,e,n){for(var r in e)Z(t,r,e[r],n);return t},jo=Vt("species"),Ao=function(t){var e=nt(t),n=R.f;i&&e&&!e[jo]&&n(e,jo,{configurable:!0,get:function(){return this}})},ko=R.f,Ro=xo.fastKey,Po=X.set,Io=X.getterFor,To={getConstructor:function(t,e,n,r){var o=t((function(t,c){So(t,o,e),Po(t,{type:e,index:_e(null),first:void 0,last:void 0,size:0}),i||(t.size=0),null!=c&&wo(c,t[r],t,n)})),c=Io(e),a=function(t,e,n){var r,o,a=c(t),f=u(t,e);return f?f.value=n:(a.last=f={index:o=Ro(e,!0),key:e,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=f),r&&(r.next=f),i?a.size++:t.size++,"F"!==o&&(a.index[o]=f)),t},u=function(t,e){var n,r=c(t),o=Ro(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return Oo(o.prototype,{clear:function(){for(var t=c(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,i?t.size=0:this.size=0},delete:function(t){var e=c(this),n=u(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),i?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=c(this),r=Ge(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!u(this,t)}}),Oo(o.prototype,n?{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)}}),i&&ko(o.prototype,"size",{get:function(){return c(this).size}}),o},setStrong:function(t,e,n){var r=e+" Iterator",o=Io(e),i=Io(r);Hr(t,e,(function(t,e){Po(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Ao(e)}},$o=(Eo("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),To),Object.assign),_o=Object.defineProperty,qo=!$o||o((function(){if(i&&1!==$o({b:1},$o(_o({},"a",{enumerable:!0,get:function(){_o(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=$o({},t)[n]||"abcdefghijklmnopqrst"!=Ae($o({},e)).join("")}))?function(t,e){for(var n=je(t),r=arguments.length,o=1,c=mt.f,a=u.f;r>o;)for(var f,s=p(arguments[o++]),l=c?Ae(s).concat(c(s)):Ae(s),v=l.length,d=0;v>d;)f=l[d++],i&&!a.call(s,f)||(n[f]=s[f]);return n}:$o;Pt({target:"Object",stat:!0,forced:Object.assign!==qo},{assign:qo}),Pt({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=h(t),o=j.f,i=bt(r),c={},a=0;i.length>a;)void 0!==(n=o(r,e=i[a++]))&&Ln(c,e,n);return c}});var Co=o((function(){Ae(1)}));Pt({target:"Object",stat:!0,forced:Co},{keys:function(t){return Ae(je(t))}});var Lo=hr?{}.toString:function(){return"[object "+mr(this)+"]"};hr||Z(Object.prototype,"toString",Lo,{unsafe:!0});var Mo,Uo,Do,zo=r.Promise,No=/(iphone|ipod|ipad).*applewebkit/i.test(Mn),Fo=r.location,Bo=r.setImmediate,Go=r.clearImmediate,Wo=r.process,Ko=r.MessageChannel,Vo=r.Dispatch,Yo=0,Ho={},Jo=function(t){if(Ho.hasOwnProperty(t)){var e=Ho[t];delete Ho[t],e()}},Qo=function(t){return function(){Jo(t)}},Xo=function(t){Jo(t.data)},Zo=function(t){r.postMessage(t+"",Fo.protocol+"//"+Fo.host)};Bo&&Go||(Bo=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return Ho[++Yo]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},Mo(Yo),Yo},Go=function(t){delete Ho[t]},"process"==l(Wo)?Mo=function(t){Wo.nextTick(Qo(t))}:Vo&&Vo.now?Mo=function(t){Vo.now(Qo(t))}:Ko&&!No?(Do=(Uo=new Ko).port2,Uo.port1.onmessage=Xo,Mo=Ge(Do.postMessage,Do,1)):!r.addEventListener||"function"!=typeof postMessage||r.importScripts||o(Zo)||"file:"===Fo.protocol?Mo="onreadystatechange"in S("script")?function(t){Re.appendChild(S("script")).onreadystatechange=function(){Re.removeChild(this),Jo(t)}}:function(t){setTimeout(Qo(t),0)}:(Mo=Zo,r.addEventListener("message",Xo,!1)));var ti,ei,ni,ri,oi,ii,ci,ai,ui={set:Bo,clear:Go},fi=j.f,si=ui.set,li=r.MutationObserver||r.WebKitMutationObserver,vi=r.process,pi=r.Promise,di="process"==l(vi),hi=fi(r,"queueMicrotask"),gi=hi&&hi.value;gi||(ti=function(){var t,e;for(di&&(t=vi.domain)&&t.exit();ei;){e=ei.fn,ei=ei.next;try{e()}catch(t){throw ei?ri():ni=void 0,t}}ni=void 0,t&&t.enter()},di?ri=function(){vi.nextTick(ti)}:li&&!No?(oi=!0,ii=document.createTextNode(""),new li(ti).observe(ii,{characterData:!0}),ri=function(){ii.data=oi=!oi}):pi&&pi.resolve?(ci=pi.resolve(void 0),ai=ci.then,ri=function(){ai.call(ci,ti)}):ri=function(){si.call(r,ti)});var yi,mi,bi,xi,wi=gi||function(t){var e={fn:t,next:void 0};ni&&(ni.next=e),ei||(ei=e,ri()),ni=e},Si=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=ne(e),this.reject=ne(n)},Ei={f:function(t){return new Si(t)}},Oi=function(t,e){if(A(t),g(e)&&e.constructor===t)return e;var n=Ei.f(t);return(0,n.resolve)(e),n.promise},ji=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ai=ui.set,ki=Vt("species"),Ri="Promise",Pi=X.get,Ii=X.set,Ti=X.getterFor(Ri),$i=zo,_i=r.TypeError,qi=r.document,Ci=r.process,Li=nt("fetch"),Mi=Ei.f,Ui=Mi,Di="process"==l(Ci),zi=!!(qi&&qi.createEvent&&r.dispatchEvent),Ni=kt(Ri,(function(){if(!(L($i)!==String($i))){if(66===Nn)return!0;if(!Di&&"function"!=typeof PromiseRejectionEvent)return!0}if(Nn>=51&&/native code/.test($i))return!1;var t=$i.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[ki]=e,!(t.then((function(){}))instanceof e)})),Fi=Ni||!jr((function(t){$i.all(t).catch((function(){}))})),Bi=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},Gi=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;wi((function(){for(var o=e.value,i=1==e.state,c=0;r.length>c;){var a,u,f,s=r[c++],l=i?s.ok:s.fail,v=s.resolve,p=s.reject,d=s.domain;try{l?(i||(2===e.rejection&&Yi(t,e),e.rejection=1),!0===l?a=o:(d&&d.enter(),a=l(o),d&&(d.exit(),f=!0)),a===s.promise?p(_i("Promise-chain cycle")):(u=Bi(a))?u.call(a,v,p):v(a)):p(o)}catch(t){d&&!f&&d.exit(),p(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&Ki(t,e)}))}},Wi=function(t,e,n){var o,i;zi?((o=qi.createEvent("Event")).promise=e,o.reason=n,o.initEvent(t,!1,!0),r.dispatchEvent(o)):o={promise:e,reason:n},(i=r["on"+t])?i(o):"unhandledrejection"===t&&function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},Ki=function(t,e){Ai.call(r,(function(){var n,r=e.value;if(Vi(e)&&(n=ji((function(){Di?Ci.emit("unhandledRejection",r,t):Wi("unhandledrejection",t,r)})),e.rejection=Di||Vi(e)?2:1,n.error))throw n.value}))},Vi=function(t){return 1!==t.rejection&&!t.parent},Yi=function(t,e){Ai.call(r,(function(){Di?Ci.emit("rejectionHandled",t):Wi("rejectionhandled",t,e.value)}))},Hi=function(t,e,n,r){return function(o){t(e,n,o,r)}},Ji=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,Gi(t,e,!0))},Qi=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw _i("Promise can't be resolved itself");var o=Bi(n);o?wi((function(){var r={done:!1};try{o.call(n,Hi(Qi,t,r,e),Hi(Ji,t,r,e))}catch(n){Ji(t,r,n,e)}})):(e.value=n,e.state=1,Gi(t,e,!1))}catch(n){Ji(t,{done:!1},n,e)}}};Ni&&($i=function(t){So(this,$i,Ri),ne(t),yi.call(this);var e=Pi(this);try{t(Hi(Qi,this,e),Hi(Ji,this,e))}catch(t){Ji(this,e,t)}},(yi=function(t){Ii(this,{type:Ri,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Oo($i.prototype,{then:function(t,e){var n=Ti(this),r=Mi(oe(this,$i));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Di?Ci.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Gi(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),mi=function(){var t=new yi,e=Pi(t);this.promise=t,this.resolve=Hi(Qi,t,e),this.reject=Hi(Ji,t,e)},Ei.f=Mi=function(t){return t===$i||t===bi?new mi(t):Ui(t)},"function"==typeof zo&&(xi=zo.prototype.then,Z(zo.prototype,"then",(function(t,e){var n=this;return new $i((function(t,e){xi.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof Li&&Pt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Oi($i,Li.apply(r,arguments))}}))),Pt({global:!0,wrap:!0,forced:Ni},{Promise:$i}),Be($i,Ri,!1),Ao(Ri),bi=nt(Ri),Pt({target:Ri,stat:!0,forced:Ni},{reject:function(t){var e=Mi(this);return e.reject.call(void 0,t),e.promise}}),Pt({target:Ri,stat:!0,forced:Ni},{resolve:function(t){return Oi(this,t)}}),Pt({target:Ri,stat:!0,forced:Fi},{all:function(t){var e=this,n=Mi(e),r=n.resolve,o=n.reject,i=ji((function(){var n=ne(e.resolve),i=[],c=0,a=1;wo(t,(function(t){var u=c++,f=!1;i.push(void 0),a++,n.call(e,t).then((function(t){f||(f=!0,i[u]=t,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Mi(e),r=n.reject,o=ji((function(){var o=ne(e.resolve);wo(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});Eo("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),To);var Xi=ce.charAt,Zi=X.set,tc=X.getterFor("String Iterator");Hr(String,"String",(function(t){Zi(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=tc(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Xi(n,r),e.index+=t.length,{value:t,done:!1})}));var ec=Math.max,nc=Math.min,rc=Math.floor,oc=/\$([$&'`]|\d\d?|<[^>]*>)/g,ic=/\$([$&'`]|\d\d?)/g;te("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,c=o?"$":"$0";return[function(n,r){var o=d(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(c)){var u=n(e,t,this,r);if(u.done)return u.value}var f=A(t),s=String(this),l="function"==typeof r;l||(r=String(r));var v=f.global;if(v){var p=f.unicode;f.lastIndex=0}for(var d=[];;){var h=fe(f,s);if(null===h)break;if(d.push(h),!v)break;""===String(h[0])&&(f.lastIndex=ue(s,at(f.lastIndex),p))}for(var g,y="",m=0,b=0;b<d.length;b++){h=d[b];for(var x=String(h[0]),w=ec(nc(it(h.index),s.length),0),S=[],E=1;E<h.length;E++)S.push(void 0===(g=h[E])?g:String(g));var O=h.groups;if(l){var j=[x].concat(S,w,s);void 0!==O&&j.push(O);var k=String(r.apply(void 0,j))}else k=a(x,s,w,S,O,r);w>=m&&(y+=s.slice(m,w)+k,m=w+x.length)}return y+s.slice(m)}];function a(t,n,r,o,i,c){var a=r+t.length,u=o.length,f=ic;return void 0!==i&&(i=je(i),f=oc),e.call(c,f,(function(e,c){var f;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(a);case"<":f=i[c.slice(1,-1)];break;default:var s=+c;if(0===s)return e;if(s>u){var l=rc(s/10);return 0===l?e:l<=u?void 0===o[l-1]?c.charAt(1):o[l-1]+c.charAt(1):e}f=o[s-1]}return void 0===f?"":f}))}}));var cc=/"/g;Pt({target:"String",proto:!0,forced:function(t){return o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}("anchor")},{anchor:function(t){return e="a",n="name",r=t,o=String(d(this)),i="<"+e,""!==n&&(i+=" "+n+'="'+String(r).replace(cc,"&quot;")+'"'),i+">"+o+"</"+e+">";var e,n,r,o,i}});var ac={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};for(var uc in ac){var fc=r[uc],sc=fc&&fc.prototype;if(sc&&sc.forEach!==ur)try{P(sc,"forEach",ur)}catch(t){sc.forEach=ur}}var lc,vc=Vt("iterator"),pc=Vt("toStringTag"),dc=Xr.values;for(var hc in ac){var gc=r[hc],yc=gc&&gc.prototype;if(yc){if(yc[vc]!==dc)try{P(yc,vc,dc)}catch(t){yc[vc]=dc}if(yc[pc]||P(yc,pc,hc),ac[hc])for(var mc in Xr)if(yc[mc]!==Xr[mc])try{P(yc,mc,Xr[mc])}catch(t){yc[mc]=Xr[mc]}}}function bc(t){return function(t){if(Array.isArray(t))return xe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||we(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xc(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function wc(){}function Sc(t){return t()}function Ec(){return Object.create(null)}function Oc(t){t.forEach(Sc)}function jc(t){return"function"==typeof t}function Ac(t,e){return t!=t?e==e:t!==e||t&&"object"===ye(t)||"function"==typeof t}function kc(t,e){t.appendChild(e)}function Rc(t,e,n){t.insertBefore(e,n||null)}function Pc(t){t.parentNode.removeChild(t)}function Ic(t){return document.createElement(t)}function Tc(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function $c(t){return document.createTextNode(t)}function _c(){return $c(" ")}function qc(t,e,n,r){return t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n,r)}}function Cc(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Lc(t){return Array.from(t.childNodes)}function Mc(t,e,n){t.classList[n?"add":"remove"](e)}function Uc(t){lc=t}function Dc(t,e){var n=t.$$.callbacks[e.type];n&&n.slice().forEach((function(t){return t(e)}))}var zc=[],Nc=[],Fc=[],Bc=[],Gc=Promise.resolve(),Wc=!1;function Kc(t){Fc.push(t)}var Vc=!1,Yc=new Set;function Hc(){if(!Vc){Vc=!0;do{for(var t=0;t<zc.length;t+=1){var e=zc[t];Uc(e),Jc(e.$$)}for(zc.length=0;Nc.length;)Nc.pop()();for(var n=0;n<Fc.length;n+=1){var r=Fc[n];Yc.has(r)||(Yc.add(r),r())}Fc.length=0}while(zc.length);for(;Bc.length;)Bc.pop()();Wc=!1,Vc=!1,Yc.clear()}}function Jc(t){if(null!==t.fragment){t.update(),Oc(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Kc)}}var Qc=new Set;function Xc(t,e){t&&t.i&&(Qc.delete(t),t.i(e))}function Zc(t,e,n,r){if(t&&t.o){if(Qc.has(t))return;Qc.add(t),(void 0).c.push((function(){Qc.delete(t),r&&(n&&t.d(1),r())})),t.o(e)}}var ta="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ea(t){t&&t.c()}function na(t,e,n){var r=t.$$,o=r.fragment,i=r.on_mount,c=r.on_destroy,a=r.after_update;o&&o.m(e,n),Kc((function(){var e=i.map(Sc).filter(jc);c?c.push.apply(c,bc(e)):Oc(e),t.$$.on_mount=[]})),a.forEach(Kc)}function ra(t,e){var n=t.$$;null!==n.fragment&&(Oc(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function oa(t,e){-1===t.$$.dirty[0]&&(zc.push(t),Wc||(Wc=!0,Gc.then(Hc)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ia(t,e,n,r,o,i){var c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[-1],a=lc;Uc(t);var u=e.props||{},f=t.$$={fragment:null,ctx:null,props:i,update:wc,not_equal:o,bound:Ec(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:[]),callbacks:Ec(),dirty:c},s=!1;if(f.ctx=n?n(t,u,(function(e,n){var r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return f.ctx&&o(f.ctx[e],f.ctx[e]=r)&&(f.bound[e]&&f.bound[e](r),s&&oa(t,e)),n})):[],f.update(),s=!0,Oc(f.before_update),f.fragment=!!r&&r(f.ctx),e.target){if(e.hydrate){var l=Lc(e.target);f.fragment&&f.fragment.l(l),l.forEach(Pc)}else f.fragment&&f.fragment.c();e.intro&&Xc(t.$$.fragment),na(t,e.target,e.anchor),Hc()}Uc(a)}var ca=function(){function t(){pe(this,t)}var e,n,r;return e=t,(n=[{key:"$destroy",value:function(){ra(this,1),this.$destroy=wc}},{key:"$on",value:function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}},{key:"$set",value:function(){}}])&&xc(e.prototype,n),r&&xc(e,r),t}();function aa(t){var e=function(){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}}();return function(){var n,r=be(t);if(e){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return me(this,n)}}function ua(t){var e,n,r;return{c:function(){(e=Ic("p")).textContent="Please make sure that the script tag has 'id=\"chatbot\"' and the attribute\n 'data-server' with the full qualified URL to the chatbot-server.",n=_c(),(r=Ic("pre")).innerHTML='<code class="svelte-19qvehx">&lt;script\n <br class="svelte-19qvehx">\n id=&quot;chatbot&quot;\n <br class="svelte-19qvehx">\n data-server=&quot;https://server.com/webclient&quot;\n <br class="svelte-19qvehx">\n defer\n <br class="svelte-19qvehx">\n src=&quot;https://server.com/webclient/embed/bundle.js&quot;&gt; &lt;/script&gt;</code>',Cc(e,"class","svelte-19qvehx"),Cc(r,"class","svelte-19qvehx")},m:function(t,o){Rc(t,e,o),Rc(t,n,o),Rc(t,r,o)},p:wc,d:function(t){t&&Pc(e),t&&Pc(n),t&&Pc(r)}}}function fa(t){var e,n,r,o,i,c,a,u,f,s,l,v;return{c:function(){e=Ic("div"),n=Ic("div"),r=Ic("img"),i=_c(),c=Tc("svg"),a=Tc("path"),u=_c(),f=Ic("iframe"),r.src!==(o="".concat(t[2],"/embed/logo.svg"))&&Cc(r,"src",o),Cc(r,"alt","Logo"),Cc(r,"class","svelte-19qvehx"),Cc(a,"d","M0,0L20,20M20,0L0,20"),Cc(a,"class","svelte-19qvehx"),Cc(c,"viewBox","-2 -2 24 24"),Cc(c,"class","svelte-19qvehx"),Cc(n,"class","header svelte-19qvehx"),Cc(f,"id","chat-frame"),Cc(f,"title","chatbot"),Cc(f,"class","bot svelte-19qvehx"),f.src!==(s=t[0])&&Cc(f,"src",s),Cc(f,"frameborder","0"),Cc(f,"allow","microphone"),f.allowFullscreen="",Cc(e,"class","bot-border svelte-19qvehx"),Mc(e,"closed",!t[1])},m:function(o,s){Rc(o,e,s),kc(e,n),kc(n,r),kc(n,i),kc(n,c),kc(c,a),kc(e,u),kc(e,f),l||(v=qc(c,"click",t[3]),l=!0)},p:function(t,n){4&n&&r.src!==(o="".concat(t[2],"/embed/logo.svg"))&&Cc(r,"src",o),1&n&&f.src!==(s=t[0])&&Cc(f,"src",s),2&n&&Mc(e,"closed",!t[1])},d:function(t){t&&Pc(e),l=!1,v()}}}function sa(t){var e;function n(t,e){return t[0]?fa:ua}var r=n(t),o=r(t);return{c:function(){o.c(),e=$c("")},m:function(t,n){o.m(t,n),Rc(t,e,n)},p:function(t,i){var c=Se(i,1)[0];r===(r=n(t))&&o?o.p(t,c):(o.d(1),(o=r(t))&&(o.c(),o.m(e.parentNode,e)))},i:wc,o:wc,d:function(t){o.d(t),t&&Pc(e)}}}function la(t,e,n){var r=e.server,o=e.open,i=e.assetsUrl;return t.$set=function(t){"server"in t&&n(0,r=t.server),"open"in t&&n(1,o=t.open),"assetsUrl"in t&&n(2,i=t.assetsUrl)},[r,o,i,function(e){Dc(t,e)}]}var va=function(t){ge(n,t);var e=aa(n);function n(t){var r,o;return pe(this,n),r=e.call(this),document.getElementById("svelte-19qvehx-style")||((o=Ic("style")).id="svelte-19qvehx-style",o.textContent=".svelte-19qvehx.svelte-19qvehx,.svelte-19qvehx.svelte-19qvehx:before,.svelte-19qvehx.svelte-19qvehx:after{box-sizing:border-box}.bot-border.svelte-19qvehx.svelte-19qvehx{position:fixed !important;display:flex;flex-direction:column;bottom:0;height:85vh;width:100%;border-width:0;border-radius:12px;box-shadow:rgba(0, 0, 0, 0.24) 0px 16px 40px;background:rgba(255, 255, 255, 0.93);opacity:1;transition:transform 200ms, opacity 100ms 100ms, all 150ms;z-index:1000}.bot-border.closed.svelte-19qvehx.svelte-19qvehx{transform:translateY(85vh);opacity:0}.header.svelte-19qvehx.svelte-19qvehx{display:flex;justify-content:space-between;width:100%;height:3.5em;padding:0.5em 1em;color:white;background-color:#3f4143}.bot.svelte-19qvehx.svelte-19qvehx{display:block;width:100%;flex:1 0 auto}@media screen and (min-width: 768px){.bot-border.svelte-19qvehx.svelte-19qvehx{height:38em;max-height:calc(100vh - 2rem);width:23em;right:1em;bottom:1em;left:auto}.bot-border.closed.svelte-19qvehx.svelte-19qvehx{transform:translateY(38em);opacity:0}}img.svelte-19qvehx.svelte-19qvehx{display:block;height:100%}svg.svelte-19qvehx.svelte-19qvehx{height:100%;padding:0.4em;cursor:pointer}svg.svelte-19qvehx path.svelte-19qvehx{transition:stroke-width 100ms;stroke:white;stroke-width:2px}svg.svelte-19qvehx:hover path.svelte-19qvehx{stroke-width:3px}p.svelte-19qvehx.svelte-19qvehx,pre.svelte-19qvehx.svelte-19qvehx{max-width:300px}pre.svelte-19qvehx.svelte-19qvehx{font-size:0.6em;line-height:0.5}",kc(document.head,o)),ia(de(r),t,la,sa,Ac,{server:0,open:1,assetsUrl:2}),r}return n}(ca);function pa(t){var e=function(){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}}();return function(){var n,r=be(t);if(e){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return me(this,n)}}function da(t){var e,n,r,o,i;return{c:function(){e=Ic("div"),Cc(n=Ic("img"),"class","chat-button svelte-xlhtz"),Cc(n,"alt","Open chatbot"),Cc(n,"aria-label","close"),n.src!==(r="".concat(t[0],"/embed/open-button.svg"))&&Cc(n,"src",r),Cc(e,"class","chat-button-wrapper svelte-xlhtz")},m:function(r,c){Rc(r,e,c),kc(e,n),o||(i=qc(n,"click",t[1]),o=!0)},p:function(t,e){1&Se(e,1)[0]&&n.src!==(r="".concat(t[0],"/embed/open-button.svg"))&&Cc(n,"src",r)},i:wc,o:wc,d:function(t){t&&Pc(e),o=!1,i()}}}function ha(t,e,n){var r=e.assetsUrl;return t.$set=function(t){"assetsUrl"in t&&n(0,r=t.assetsUrl)},[r,function(e){Dc(t,e)}]}var ga=function(t){ge(n,t);var e=pa(n);function n(t){var r,o;return pe(this,n),r=e.call(this),document.getElementById("svelte-xlhtz-style")||((o=Ic("style")).id="svelte-xlhtz-style",o.textContent=".svelte-xlhtz,.svelte-xlhtz:before,.svelte-xlhtz:after{box-sizing:border-box}.chat-button-wrapper.svelte-xlhtz{position:fixed !important;right:2em;bottom:2em;width:6em;height:6em;z-index:999}.chat-button.svelte-xlhtz{display:block;height:100%;cursor:pointer;border-radius:50%;box-shadow:9px 9px 16px rgba(0, 0, 0, 0.25);transition:transform 100ms, box-shadow 100ms}.chat-button.svelte-xlhtz:hover{box-shadow:16px 16px 16px rgba(0, 0, 0, 0.2);transform:translateY(-2px)}",kc(document.head,o)),ia(de(r),t,ha,da,Ac,{assetsUrl:0}),r}return n}(ca),ya=function(t,e){var n=window.addEventListener?"addEventListener":"attachEvent";(0,window[n])("attachEvent"===n?"onmessage":"message",(function(n){var r,o=n.data;switch(o.type){case"webclient.expand.window":t(o.devices);break;case"webclient.change.url":e(o.url);break;case"google.tag.event":r=o.payload,window.gtag?window.gtag("event","",r):window.dataLayer&&window.dataLayer.push(r)}}),!1)};te("match",1,(function(t,e,n){return[function(e){var n=d(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=A(t),i=String(this);if(!o.global)return fe(o,i);var c=o.unicode;o.lastIndex=0;for(var a,u=[],f=0;null!==(a=fe(o,i));){var s=String(a[0]);u[f]=s,""===s&&(o.lastIndex=ue(i,at(o.lastIndex),c)),f++}return 0===f?null:u}]}));var ma=function(){navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&document.querySelectorAll("html, body").forEach((function(t){t.classList.add("iOS-device")}))},ba=e((function(t,e){var n;n=function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(e,n,i){if("undefined"!=typeof document){"number"==typeof(i=t({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var c=JSON.stringify(n);/^[\{\[]/.test(c)&&(n=c)}catch(t){}n=r.write?r.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var u in i)i[u]&&(a+="; "+u,!0!==i[u]&&(a+="="+i[u].split(";")[0]));return document.cookie=e+"="+n+a}}function c(t,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],c=0;c<i.length;c++){var a=i[c].split("="),u=a.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var f=e(a[0]);if(u=(r.read||r)(u,f)||e(u),n)try{u=JSON.parse(u)}catch(t){}if(o[f]=u,t===f)break}catch(t){}}return t?o[t]:o}}return o.set=i,o.get=function(t){return c(t,!1)},o.getJSON=function(t){return c(t,!0)},o.remove=function(e,n){i(e,"",t(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))},t.exports=n()})),xa=function(t){ba.set("bot-window",t)};function wa(t){var e=function(){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}}();return function(){var n,r=be(t);if(e){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return me(this,n)}}var Sa=ta.document;function Ea(t){var e,n,r,o,i,c,a,u;return(i=new ga({props:{server:t[0],assetsUrl:t[1]}})).$on("click",t[3]),(a=new va({props:{server:t[0],assetsUrl:t[1],open:t[2]}})).$on("click",t[3]),{c:function(){e=Ic("link"),r=_c(),o=Ic("div"),ea(i.$$.fragment),c=_c(),ea(a.$$.fragment),Cc(e,"rel","stylesheet"),Cc(e,"href",n="".concat(t[1],"/embed/custom.css")),Cc(o,"id","chatbot-window"),Cc(o,"class","svelte-sr5aex")},m:function(t,n){kc(Sa.head,e),Rc(t,r,n),Rc(t,o,n),na(i,o,null),kc(o,c),na(a,o,null),u=!0},p:function(t,r){var o=Se(r,1)[0];(!u||2&o&&n!==(n="".concat(t[1],"/embed/custom.css")))&&Cc(e,"href",n);var c={};1&o&&(c.server=t[0]),2&o&&(c.assetsUrl=t[1]),i.$set(c);var f={};1&o&&(f.server=t[0]),2&o&&(f.assetsUrl=t[1]),4&o&&(f.open=t[2]),a.$set(f)},i:function(t){u||(Xc(i.$$.fragment,t),Xc(a.$$.fragment,t),u=!0)},o:function(t){Zc(i.$$.fragment,t),Zc(a.$$.fragment,t),u=!1},d:function(t){Pc(e),t&&Pc(r),t&&Pc(o),ra(i),ra(a)}}}function Oa(t,e,n){var r=e.server,o=e.assetsUrl,i=void 0===o?r?r.split("?")[0]:void 0:o;ma();var c=function(){switch(ba.get("bot-window")){case"open":return!0;case"closed":default:return!1}}();function a(){n(2,c=!0),xa("open")}function u(){n(2,c=!1),xa("closed")}return ya((function(t){var e=window.innerWidth;(null==t||"all"===t||"desktop"===t&&e>=768||"mobile"===t&&e<768)&&a()}),(function(t){window.innerWidth<768&&u(),document.location.href=t})),t.$set=function(t){"server"in t&&n(0,r=t.server),"assetsUrl"in t&&n(1,i=t.assetsUrl)},[r,i,c,function(){c?u():a()}]}var ja=function(t){ge(n,t);var e=wa(n);function n(t){var r,o;return pe(this,n),r=e.call(this),Sa.getElementById("svelte-sr5aex-style")||((o=Ic("style")).id="svelte-sr5aex-style",o.textContent="#chatbot-window.svelte-sr5aex{font-size:16px}",kc(Sa.head,o)),ia(de(r),t,Oa,Ea,Ac,{server:0,assetsUrl:1}),r}return n}(ca),Aa=function(t){if(t&&void 0!==t.src)return function(t){return t.dataset&&t.dataset.server}(t)||function(t){return t.src.replace(/\/embed\/bundle\.js/,"")}(t)}(document.querySelector("script#chatbot"));return console.log("Chatbot is loading from",Aa),new ja({target:document.body,props:{server:Aa}})}();
2
2
  //# sourceMappingURL=bundle.js.map