/*! * webchat.js v3.0.0-beta.29 * https://github.com/Cognigy/WebchatWidget/tree/v3.0.0-beta.29 * https://github.com/Cognigy/WebchatWidget/tree/v3.0.0-beta.29/OSS_LICENSES.txt */(()=>{var e,t,n={82191:(e,t,n)=>{"use strict";n(73578);var r,a=(r=n(53766))&&r.__esModule?r:{default:r};a.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),a.default._babelPolyfill=!0},73578:(e,t,n)=>{"use strict";n(76505),n(84554),n(19955),n(60583),n(31610),n(77286),n(67899),n(59561),n(21951),n(10607),n(32029),n(76232),n(46725),n(85178)},85178:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),s=new D(r||[]);return a(o,"_invoke",{value:S(e,n,s)}),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",y={};function g(){}function _(){}function v(){}var b={};u(b,o,(function(){return this}));var A=Object.getPrototypeOf,w=A&&A(A(E([])));w&&w!==n&&r.call(w,o)&&(b=w);var M=v.prototype=g.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function n(a,i,o,s){var l=c(e[a],e,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,o,s)}),(function(e){n("throw",e,o,s)})):t.resolve(d).then((function(e){u.value=e,o(u)}),(function(e){return n("throw",e,o,s)}))}s(l.arg)}var i;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return i=i?i.then(a,a):a()}})}function S(e,t,n){var r=p;return function(a,i){if(r===f)throw new Error("Generator is already running");if(r===m){if("throw"===a)throw i;return C()}for(n.method=a,n.arg=i;;){var o=n.delegate;if(o){var s=T(o,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=c(e,t,n);if("normal"===l.type){if(r=n.done?m:h,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=m,n.method="throw",n.arg=l.arg)}}}function T(e,n){var r=n.method,a=e.iterator[r];if(a===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=c(a,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function n(){for(;++a=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),u=r.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Y(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;Y(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:E(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},81510:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldForceWebsockets=void 0;const r=(0,n(88809).detect)();t.shouldForceWebsockets=()=>{switch(r.name){case"ie":case"ios":case"ios-webview":case"crios":case"safari":case"chrome":case"chromium-webview":case"node":return console.log('[SocketClient] Enabling "forceWebsockets" by default for compatibility with this environment.'),!0;default:return!0}}},72166:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.SocketClient=void 0;const a=n(98657),i=n(35325),o=n(34845),s=n(81510);class l extends a.EventEmitter{static createDefaultSocketOptions(){return{channel:"socket-client",userId:`user-${(0,o.v4)()}`,sessionId:`session-${(0,o.v4)()}`,testMode:!1,expiresIn:null,forceWebsockets:!1,disableWebsockets:!1,interval:1e4,passthroughIP:null,reconnection:!0,reconnectionLimit:5,enableInnerSocketHandshake:!1,resetFlow:!1}}static completeSocketOptions(e={}){const t=Object.assign(Object.assign({},l.createDefaultSocketOptions()),e);return e.forceWebsockets||e.disableWebsockets||(t.forceWebsockets=(0,s.shouldForceWebsockets)()),t}constructor(e,t,n){super(),this.messageBuffer=[],this.socketUrl=e,this.socketURLToken=t,this.socketOptions=l.completeSocketOptions(n),this.reconnectCounter=0,this.updateLastUsed()}resetReconnectionCounter(){this.reconnectCounter=0}registerReconnectionAttempt(){this.reconnectCounter++,console.log("[SocketClient] Trying to reconnect"),this.shouldStopReconnecting()&&(console.log("[SocketClient] Reconnection attempts limit reached. Giving up."),this.emit("socket/error",{type:"RECONNECTION_LIMIT"}))}shouldStopReconnecting(){const{reconnectionLimit:e}=this.socketOptions;return 0!==e&&e<=this.reconnectCounter}flushMessageBuffer(){if(this.messageBuffer.length>0)if(this.connected){console.log("[SocketClient] Starting to send your buffered messages...");for(let e of this.messageBuffer)this.sendMessage(e.text,e.data);console.log(`[SocketClient] Finished sending ${this.messageBuffer.length} buffered messages.`),this.messageBuffer=[]}else console.log("[SocketClient] Could not send your buffered messages because we are not connected")}setupReconnectInterval(){this.socketReconnectInterval||(this.socketReconnectInterval=setInterval((()=>r(this,void 0,void 0,(function*(){if(!this.connected&&!this.shouldStopReconnecting()){this.registerReconnectionAttempt();try{const e=!0;yield this.connect(e),console.log("[SocketClient] Successfully reconnected.")}catch(e){console.error(`[SocketClient] Failed to reconnect, error was: ${JSON.stringify(e)}`)}}}))),this.socketOptions.interval))}updateLastUsed(){this.lastUsed=Date.now()}get connected(){return!!this.socket&&this.socket.connected}get expired(){return null!==this.socketOptions.expiresIn&&Date.now()-this.lastUsed>this.socketOptions.expiresIn}connect(e=!1){return r(this,void 0,void 0,(function*(){const e=new URL(this.socketUrl),t={path:e.pathname&&"/"!==e.pathname?e.pathname+"/socket.io":null,reconnection:!1,upgrade:!0,transports:["polling","websocket"],autoConnect:!1};this.socketOptions.forceWebsockets?t.transports=["websocket"]:this.socketOptions.disableWebsockets&&(t.transports=["polling"],t.upgrade=!1),this.socketOptions.enableInnerSocketHandshake?t.query={handshake:"true"}:t.query={sessionId:encodeURIComponent(this.socketOptions.sessionId),urlToken:encodeURIComponent(this.socketURLToken),userId:encodeURIComponent(this.socketOptions.userId),testMode:encodeURIComponent(this.socketOptions.testMode?"true":"false")};const n=(0,i.io)(e.origin,t);return["connect","connect_error","connect_timeout","error","disconnect","reconnect","reconnect_attempt","reconnecting","reconnect_error","reconnect_failed","ping","pong"].forEach((e=>{n.on(e,(t=>{this.emit(`socket/${e}`,t)}))})),n.on("exception",(e=>this.emit("exception",e))),n.on("typingStatus",(e=>this.emit("typingStatus",e))),n.on("finalPing",(e=>this.emit("finalPing",e))),n.on("output",(e=>{if(e&&"error"===e.type)return this.emit("error",e.data.error);if(e&&"output"===e.type){let t=e.data;this.emit("output",t)}e&&"finalPing"===e.type&&this.emit("finalPing",e.data)})),yield new Promise(((e,t)=>{n.on("connect_error",(()=>t(new Error("[SocketClient] Error connecting")))),n.on("connect_timeout",(()=>t(new Error("[SocketClient] Error connecting")))),this.socketOptions.enableInnerSocketHandshake&&n.on("handshake",(t=>{const{userId:n,sessionId:r,testMode:a}=this.socketOptions,i={userId:n,sessionId:r,urlToken:this.socketURLToken,testMode:a};console.log("[SocketClient] completing session handshake"),t(i),e()})),n.on("connect",(()=>{this.socket=n,this.flushMessageBuffer(),this.socketOptions.reconnection&&this.setupReconnectInterval(),this.socketOptions.enableInnerSocketHandshake||e()})),n.connect()})),console.log("[SocketClient] connection established"),this}))}switchSession(e){return r(this,void 0,void 0,(function*(){return this.disconnect(),this.socketOptions.sessionId=e||`session-${(0,o.v4)()}`,this.reconnectCounter=0,this.updateLastUsed(),yield this.connect(),console.log("[SocketClient] switched session"),this}))}disconnect(){return clearInterval(this.socketReconnectInterval),this.socketReconnectInterval=null,this.socket&&(this.socket.disconnect(),this.socket=null),this}sendMessage(e,t){return this.connected?(this.resetReconnectionCounter(),this.updateLastUsed(),this.socket.emit("processInput",{URLToken:this.socketURLToken,userId:this.socketOptions.userId,sessionId:this.socketOptions.sessionId,channel:this.socketOptions.channel,source:"device",passthroughIP:this.socketOptions.passthroughIP,resetFlow:!!this.socketOptions.resetFlow,text:e,data:t})):(this.messageBuffer.push({text:e,data:t}),console.log("[SocketClient] Unable to directly send your message since we are not connected. Your message will be buffered and sent later on.")),this}}t.SocketClient=l},2715:(e,t)=>{var n; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{n(12088),n(87161),n(92770),n(58446),n(87240),n(35002),n(87073),n(97133),n(91026),n(60012),n(85038),n(17868),n(32814),n(34183),n(94400),n(18065),n(30510),n(28596),n(6999),n(86267),n(95224),n(99477),n(84210),n(77007),n(43893),n(17163),n(49393),n(95139),n(86752),n(81019),n(66666),n(24028),n(44278),n(69575),n(58968),n(57970),n(57577),n(59154),n(44765),n(90198),n(87231),n(71273),n(47664),n(77186),n(44609),n(20603),n(36475),n(70478),n(55367),n(32600),n(5563),n(50338),n(93942),n(8633),n(16619),n(22645),n(50723),n(45610),n(96950),n(21148),n(25743),n(1042),n(70113),n(88601),n(32728),n(13205),n(37319),n(49147),n(55026),n(44423),n(19468),n(43717),n(68477),n(16427),n(99494),n(89052),n(71167),n(20411),n(74757),n(78773),n(13913),n(65464),n(52585),n(71823),n(85173),n(80918),n(61731),n(79331),n(94453),n(51850),n(80887),n(57992),n(31707),n(75388),n(63614),n(35396),n(12878),n(37603),n(50039),n(19831),n(8619),n(57130),n(9438),n(10896),n(74170),n(88479),n(93251),n(1055),n(22503),n(26624),n(43642),n(88519),n(37849),n(31e3),n(76214),n(66973),n(45836),n(48023),n(94246),n(91949),n(18880),n(99339),n(7823),n(40136),n(397),n(82784),n(66050),n(22010),n(80863),n(23145),n(84584),n(11610),n(6917),n(40871),n(67318),n(48910),n(63085),n(86862),e.exports=n(63736)},19955:(e,t,n)=>{n(11272),e.exports=n(63736).Array.flatMap},84554:(e,t,n)=>{n(50329),e.exports=n(63736).Array.includes},32029:(e,t,n)=>{n(31180),e.exports=n(63736).Object.entries},21951:(e,t,n)=>{n(15020),e.exports=n(63736).Object.getOwnPropertyDescriptors},10607:(e,t,n)=>{n(32020),e.exports=n(63736).Object.values},76232:(e,t,n)=>{"use strict";n(22503),n(41981),e.exports=n(63736).Promise.finally},31610:(e,t,n)=>{n(30399),e.exports=n(63736).String.padEnd},60583:(e,t,n)=>{n(54850),e.exports=n(63736).String.padStart},67899:(e,t,n)=>{n(3455),e.exports=n(63736).String.trimRight},77286:(e,t,n)=>{n(30628),e.exports=n(63736).String.trimLeft},59561:(e,t,n)=>{n(82586),e.exports=n(24062).f("asyncIterator")},53766:(e,t,n)=>{n(86234),e.exports=n(96656).global},16573:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},16226:(e,t,n)=>{var r=n(63719);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},96656:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},56978:(e,t,n)=>{var r=n(16573);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},51877:(e,t,n)=>{e.exports=!n(74202)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},83212:(e,t,n)=>{var r=n(63719),a=n(53704).document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},85253:(e,t,n)=>{var r=n(53704),a=n(96656),i=n(56978),o=n(68931),s=n(6459),l="prototype",u=function(e,t,n){var d,c,p,h=e&u.F,f=e&u.G,m=e&u.S,y=e&u.P,g=e&u.B,_=e&u.W,v=f?a:a[t]||(a[t]={}),b=v[l],A=f?r:m?r[t]:(r[t]||{})[l];for(d in f&&(n=t),n)(c=!h&&A&&void 0!==A[d])&&s(v,d)||(p=c?A[d]:n[d],v[d]=f&&"function"!=typeof A[d]?n[d]:g&&c?i(p,r):_&&A[d]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(p):y&&"function"==typeof p?i(Function.call,p):p,y&&((v.virtual||(v.virtual={}))[d]=p,e&u.R&&b&&!b[d]&&o(b,d,p)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},74202:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},53704:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},6459:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},68931:(e,t,n)=>{var r=n(16417),a=n(57698);e.exports=n(51877)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},85214:(e,t,n)=>{e.exports=!n(51877)&&!n(74202)((function(){return 7!=Object.defineProperty(n(83212)("div"),"a",{get:function(){return 7}}).a}))},63719:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},16417:(e,t,n)=>{var r=n(16226),a=n(85214),i=n(22442),o=Object.defineProperty;t.f=n(51877)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),a)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},57698:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},22442:(e,t,n)=>{var r=n(63719);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},86234:(e,t,n)=>{var r=n(85253);r(r.G,{global:n(53704)})},14309:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},69672:(e,t,n)=>{var r=n(22719);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},73842:(e,t,n)=>{var r=n(72844)("unscopables"),a=Array.prototype;null==a[r]&&n(48955)(a,r,{}),e.exports=function(e){a[r][e]=!0}},47242:(e,t,n)=>{"use strict";var r=n(79390)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},33902:e=>{e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},61578:(e,t,n)=>{var r=n(26863);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},81728:(e,t,n)=>{"use strict";var r=n(52412),a=n(61443),i=n(34203);e.exports=[].copyWithin||function(e,t){var n=r(this),o=i(n.length),s=a(e,o),l=a(t,o),u=arguments.length>2?arguments[2]:void 0,d=Math.min((void 0===u?o:a(u,o))-l,o-s),c=1;for(l0;)l in n?n[s]=n[l]:delete n[s],s+=c,l+=c;return n}},21526:(e,t,n)=>{"use strict";var r=n(52412),a=n(61443),i=n(34203);e.exports=function(e){for(var t=r(this),n=i(t.length),o=arguments.length,s=a(o>1?arguments[1]:void 0,n),l=o>2?arguments[2]:void 0,u=void 0===l?n:a(l,n);u>s;)t[s++]=e;return t}},9570:(e,t,n)=>{var r=n(72175),a=n(34203),i=n(61443);e.exports=function(e){return function(t,n,o){var s,l=r(t),u=a(l.length),d=i(o,u);if(e&&n!=n){for(;u>d;)if((s=l[d++])!=s)return!0}else for(;u>d;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}}},48701:(e,t,n)=>{var r=n(86634),a=n(11963),i=n(52412),o=n(34203),s=n(13374);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,d=4==e,c=6==e,p=5==e||c,h=t||s;return function(t,s,f){for(var m,y,g=i(t),_=a(g),v=r(s,f,3),b=o(_.length),A=0,w=n?h(t,b):l?h(t,0):void 0;b>A;A++)if((p||A in _)&&(y=v(m=_[A],A,g),e))if(n)w[A]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return A;case 2:w.push(m)}else if(d)return!1;return c?-1:u||d?d:w}}},40949:(e,t,n)=>{var r=n(14309),a=n(52412),i=n(11963),o=n(34203);e.exports=function(e,t,n,s,l){r(t);var u=a(e),d=i(u),c=o(u.length),p=l?c-1:0,h=l?-1:1;if(n<2)for(;;){if(p in d){s=d[p],p+=h;break}if(p+=h,l?p<0:c<=p)throw TypeError("Reduce of empty array with no initial value")}for(;l?p>=0:c>p;p+=h)p in d&&(s=t(s,d[p],p,u));return s}},31852:(e,t,n)=>{var r=n(26863),a=n(4719),i=n(72844)("species");e.exports=function(e){var t;return a(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!a(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},13374:(e,t,n)=>{var r=n(31852);e.exports=function(e,t){return new(r(e))(t)}},28160:(e,t,n)=>{"use strict";var r=n(14309),a=n(26863),i=n(57787),o=[].slice,s={};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),l=function(){var r=n.concat(o.call(arguments));return this instanceof l?function(e,t,n){if(!(t in s)){for(var r=[],a=0;a{var r=n(22719),a=n(72844)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},22719:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},21327:(e,t,n)=>{"use strict";var r=n(65593).f,a=n(29849),i=n(46571),o=n(86634),s=n(33902),l=n(39040),u=n(28821),d=n(25588),c=n(33068),p=n(83629),h=n(68114).fastKey,f=n(75074),m=p?"_s":"size",y=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var d=e((function(e,r){s(e,d,t,"_i"),e._t=t,e._i=a(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&l(r,n,e[u],e)}));return i(d.prototype,{clear:function(){for(var e=f(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=f(this,t),r=y(n,e);if(r){var a=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=a),a&&(a.p=i),n._f==r&&(n._f=a),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(e){f(this,t);for(var n,r=o(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!y(f(this,t),e)}}),p&&r(d.prototype,"size",{get:function(){return f(this,t)[m]}}),d},def:function(e,t,n){var r,a,i=y(e,t);return i?i.v=n:(e._l=i={i:a=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==a&&(e._i[a]=i)),e},getEntry:y,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=f(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?d(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,d(1))}),n?"entries":"values",!n,!0),c(t)}}},28648:(e,t,n)=>{"use strict";var r=n(46571),a=n(68114).getWeak,i=n(61578),o=n(26863),s=n(33902),l=n(39040),u=n(48701),d=n(9427),c=n(75074),p=u(5),h=u(6),f=0,m=function(e){return e._l||(e._l=new y)},y=function(){this.a=[]},g=function(e,t){return p(e.a,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=h(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i=f++,e._l=void 0,null!=r&&l(r,n,e[i],e)}));return r(u.prototype,{delete:function(e){if(!o(e))return!1;var n=a(e);return!0===n?m(c(this,t)).delete(e):n&&d(n,this._i)&&delete n[this._i]},has:function(e){if(!o(e))return!1;var n=a(e);return!0===n?m(c(this,t)).has(e):n&&d(n,this._i)}}),u},def:function(e,t,n){var r=a(i(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},10383:(e,t,n)=>{"use strict";var r=n(33136),a=n(28893),i=n(4405),o=n(46571),s=n(68114),l=n(39040),u=n(33902),d=n(26863),c=n(96546),p=n(27429),h=n(47594),f=n(73782);e.exports=function(e,t,n,m,y,g){var _=r[e],v=_,b=y?"set":"add",A=v&&v.prototype,w={},M=function(e){var t=A[e];i(A,e,"delete"==e||"has"==e?function(e){return!(g&&!d(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!d(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof v&&(g||A.forEach&&!c((function(){(new v).entries().next()})))){var k=new v,L=k[b](g?{}:-0,1)!=k,S=c((function(){k.has(1)})),T=p((function(e){new v(e)})),x=!g&&c((function(){for(var e=new v,t=5;t--;)e[b](t,t);return!e.has(-0)}));T||((v=t((function(t,n){u(t,v,e);var r=f(new _,t,v);return null!=n&&l(n,y,r[b],r),r}))).prototype=A,A.constructor=v),(S||x)&&(M("delete"),M("has"),y&&M("get")),(x||L)&&M(b),g&&A.clear&&delete A.clear}else v=m.getConstructor(t,e,y,b),o(v.prototype,n),s.NEED=!0;return h(v,e),w[e]=v,a(a.G+a.W+a.F*(v!=_),w),g||m.setStrong(v,e,y),v}},63736:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},50689:(e,t,n)=>{"use strict";var r=n(65593),a=n(77082);e.exports=function(e,t,n){t in e?r.f(e,t,a(0,n)):e[t]=n}},86634:(e,t,n)=>{var r=n(14309);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},99523:(e,t,n)=>{"use strict";var r=n(96546),a=Date.prototype.getTime,i=Date.prototype.toISOString,o=function(e){return e>9?e:"0"+e};e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-50000000000001))}))||!r((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(a.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+o(e.getUTCMonth()+1)+"-"+o(e.getUTCDate())+"T"+o(e.getUTCHours())+":"+o(e.getUTCMinutes())+":"+o(e.getUTCSeconds())+"."+(n>99?n:"0"+o(n))+"Z"}:i},70409:(e,t,n)=>{"use strict";var r=n(61578),a=n(46978),i="number";e.exports=function(e){if("string"!==e&&e!==i&&"default"!==e)throw TypeError("Incorrect hint");return a(r(this),e!=i)}},87194:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},83629:(e,t,n)=>{e.exports=!n(96546)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},95220:(e,t,n)=>{var r=n(26863),a=n(33136).document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},88874:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},61543:(e,t,n)=>{var r=n(49249),a=n(31186),i=n(61175);e.exports=function(e){var t=r(e),n=a.f;if(n)for(var o,s=n(e),l=i.f,u=0;s.length>u;)l.call(e,o=s[u++])&&t.push(o);return t}},28893:(e,t,n)=>{var r=n(33136),a=n(63736),i=n(48955),o=n(4405),s=n(86634),l="prototype",u=function(e,t,n){var d,c,p,h,f=e&u.F,m=e&u.G,y=e&u.S,g=e&u.P,_=e&u.B,v=m?r:y?r[t]||(r[t]={}):(r[t]||{})[l],b=m?a:a[t]||(a[t]={}),A=b[l]||(b[l]={});for(d in m&&(n=t),n)p=((c=!f&&v&&void 0!==v[d])?v:n)[d],h=_&&c?s(p,r):g&&"function"==typeof p?s(Function.call,p):p,v&&o(v,d,p,e&u.U),b[d]!=p&&i(b,d,h),g&&A[d]!=p&&(A[d]=p)};r.core=a,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},65921:(e,t,n)=>{var r=n(72844)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},96546:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},89878:(e,t,n)=>{"use strict";n(57130);var r=n(4405),a=n(48955),i=n(96546),o=n(87194),s=n(72844),l=n(14830),u=s("species"),d=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),c=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var p=s(e),h=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),f=h?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[p](""),!t})):void 0;if(!h||!f||"replace"===e&&!d||"split"===e&&!c){var m=/./[p],y=n(o,p,""[e],(function(e,t,n,r,a){return t.exec===l?h&&!a?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),g=y[0],_=y[1];r(String.prototype,e,g),a(RegExp.prototype,p,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}}},26036:(e,t,n)=>{"use strict";var r=n(61578);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},28464:(e,t,n)=>{"use strict";var r=n(4719),a=n(26863),i=n(34203),o=n(86634),s=n(72844)("isConcatSpreadable");e.exports=function e(t,n,l,u,d,c,p,h){for(var f,m,y=d,g=0,_=!!p&&o(p,h,3);g0)y=e(t,n,f,i(f.length),y,c-1)-1;else{if(y>=9007199254740991)throw TypeError();t[y]=f}y++}g++}return y}},39040:(e,t,n)=>{var r=n(86634),a=n(73754),i=n(89166),o=n(61578),s=n(34203),l=n(28268),u={},d={},c=e.exports=function(e,t,n,c,p){var h,f,m,y,g=p?function(){return e}:l(e),_=r(n,c,t?2:1),v=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(h=s(e.length);h>v;v++)if((y=t?_(o(f=e[v])[0],f[1]):_(e[v]))===u||y===d)return y}else for(m=g.call(e);!(f=m.next()).done;)if((y=a(m,_,f.value,t))===u||y===d)return y};c.BREAK=u,c.RETURN=d},19843:(e,t,n)=>{e.exports=n(56842)("native-function-to-string",Function.toString)},33136:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},9427:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},48955:(e,t,n)=>{var r=n(65593),a=n(77082);e.exports=n(83629)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},84306:(e,t,n)=>{var r=n(33136).document;e.exports=r&&r.documentElement},1878:(e,t,n)=>{e.exports=!n(83629)&&!n(96546)((function(){return 7!=Object.defineProperty(n(95220)("div"),"a",{get:function(){return 7}}).a}))},73782:(e,t,n)=>{var r=n(26863),a=n(74436).set;e.exports=function(e,t,n){var i,o=t.constructor;return o!==n&&"function"==typeof o&&(i=o.prototype)!==n.prototype&&r(i)&&a&&a(e,i),e}},57787:e=>{e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},11963:(e,t,n)=>{var r=n(22719);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},89166:(e,t,n)=>{var r=n(59868),a=n(72844)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},4719:(e,t,n)=>{var r=n(22719);e.exports=Array.isArray||function(e){return"Array"==r(e)}},90584:(e,t,n)=>{var r=n(26863),a=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&a(e)===e}},26863:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},73753:(e,t,n)=>{var r=n(26863),a=n(22719),i=n(72844)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},73754:(e,t,n)=>{var r=n(61578);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},19838:(e,t,n)=>{"use strict";var r=n(29849),a=n(77082),i=n(47594),o={};n(48955)(o,n(72844)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:a(1,n)}),i(e,t+" Iterator")}},28821:(e,t,n)=>{"use strict";var r=n(82972),a=n(28893),i=n(4405),o=n(48955),s=n(59868),l=n(19838),u=n(47594),d=n(35705),c=n(72844)("iterator"),p=!([].keys&&"next"in[].keys()),h="keys",f="values",m=function(){return this};e.exports=function(e,t,n,y,g,_,v){l(n,t,y);var b,A,w,M=function(e){if(!p&&e in T)return T[e];switch(e){case h:case f:return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",L=g==f,S=!1,T=e.prototype,x=T[c]||T["@@iterator"]||g&&T[g],Y=x||M(g),D=g?L?M("entries"):Y:void 0,E="Array"==t&&T.entries||x;if(E&&(w=d(E.call(new e)))!==Object.prototype&&w.next&&(u(w,k,!0),r||"function"==typeof w[c]||o(w,c,m)),L&&x&&x.name!==f&&(S=!0,Y=function(){return x.call(this)}),r&&!v||!p&&!S&&T[c]||o(T,c,Y),s[t]=Y,s[k]=m,g)if(b={values:L?Y:M(f),keys:_?Y:M(h),entries:D},v)for(A in b)A in T||i(T,A,b[A]);else a(a.P+a.F*(p||S),t,b);return b}},27429:(e,t,n)=>{var r=n(72844)("iterator"),a=!1;try{var i=[7][r]();i.return=function(){a=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var i=[7],o=i[r]();o.next=function(){return{done:n=!0}},i[r]=function(){return o},e(i)}catch(e){}return n}},25588:e=>{e.exports=function(e,t){return{value:t,done:!!e}}},59868:e=>{e.exports={}},82972:e=>{e.exports=!1},14717:e=>{var t=Math.expm1;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:t},2276:(e,t,n)=>{var r=n(6099),a=Math.pow,i=a(2,-52),o=a(2,-23),s=a(2,127)*(2-o),l=a(2,-126);e.exports=Math.fround||function(e){var t,n,a=Math.abs(e),u=r(e);return as||n!=n?u*(1/0):u*n}},89959:e=>{e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},6099:e=>{e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},68114:(e,t,n)=>{var r=n(66289)("meta"),a=n(26863),i=n(9427),o=n(65593).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(96546)((function(){return l(Object.preventExtensions({}))})),d=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},c=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";d(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;d(e)}return e[r].w},onFreeze:function(e){return u&&c.NEED&&l(e)&&!i(e,r)&&d(e),e}}},64478:(e,t,n)=>{var r=n(33136),a=n(3970).set,i=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,l="process"==n(22719)(o);e.exports=function(){var e,t,n,u=function(){var r,a;for(l&&(r=o.domain)&&r.exit();e;){a=e.fn,e=e.next;try{a()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){o.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var d=s.resolve(void 0);n=function(){d.then(u)}}else n=function(){a.call(r,u)};else{var c=!0,p=document.createTextNode("");new i(u).observe(p,{characterData:!0}),n=function(){p.data=c=!c}}return function(r){var a={fn:r,next:void 0};t&&(t.next=a),e||(e=a,n()),t=a}}},25700:(e,t,n)=>{"use strict";var r=n(14309);function a(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new a(e)}},39360:(e,t,n)=>{"use strict";var r=n(83629),a=n(49249),i=n(31186),o=n(61175),s=n(52412),l=n(11963),u=Object.assign;e.exports=!u||n(96546)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=s(e),u=arguments.length,d=1,c=i.f,p=o.f;u>d;)for(var h,f=l(arguments[d++]),m=c?a(f).concat(c(f)):a(f),y=m.length,g=0;y>g;)h=m[g++],r&&!p.call(f,h)||(n[h]=f[h]);return n}:u},29849:(e,t,n)=>{var r=n(61578),a=n(34108),i=n(88874),o=n(51384)("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n(95220)("iframe"),r=i.length;for(t.style.display="none",n(84306).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("