imposium-js-sdk 3.2.4 → 3.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/CODEOWNERS +1 -0
- package/lib/imposium.js +8423 -6129
- package/lib/imposium.js.map +1 -1
- package/lib/imposium.min.js +1 -1
- package/lib/imposium.min.js.LICENSE.txt +1 -1
- package/lib/imposium.min.js.map +1 -1
- package/package.json +4 -2
- /package/examples/web/{pre-loaded-landing-lage.html → pre-loaded-landing-page.html} +0 -0
package/lib/imposium.min.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see imposium.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Imposium",[],t):"object"==typeof exports?exports.Imposium=t():e.Imposium=t()}(self,(function(){return(()=>{var e={8969:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BrowserClient:()=>Gt,Hub:()=>se,Integrations:()=>dn,SDK_NAME:()=>ln,SDK_VERSION:()=>je,Scope:()=>j,Severity:()=>c,Status:()=>u,Transports:()=>i,addBreadcrumb:()=>_e,addGlobalEventProcessor:()=>I,captureEvent:()=>ge,captureException:()=>ve,captureMessage:()=>ye,close:()=>cn,configureScope:()=>me,defaultIntegrations:()=>en,eventFromException:()=>rt,eventFromMessage:()=>ot,flush:()=>sn,forceLoad:()=>on,getCurrentHub:()=>le,getHubFromCarrier:()=>fe,init:()=>tn,injectReportDialog:()=>Tt,lastEventId:()=>rn,makeMain:()=>ue,onLoad:()=>an,setContext:()=>Ee,setExtra:()=>we,setExtras:()=>be,setTag:()=>Se,setTags:()=>xe,setUser:()=>Oe,showReportDialog:()=>nn,startTransaction:()=>Te,withScope:()=>ke,wrap:()=>un});var r={};n.r(r),n.d(r,{FunctionToString:()=>zt,InboundFilters:()=>Yt});var o={};n.r(o),n.d(o,{Breadcrumbs:()=>Ht,Dedupe:()=>$t,GlobalHandlers:()=>Xt,LinkedErrors:()=>Kt,TryCatch:()=>Vt,UserAgent:()=>Zt});var i={};n.r(i),n.d(i,{BaseTransport:()=>mt,FetchTransport:()=>_t,XHRTransport:()=>Et});var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function s(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var c,u,l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function p(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function d(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}function h(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return w(e,Error)}}function v(e){return"[object ErrorEvent]"===Object.prototype.toString.call(e)}function y(e){return"[object DOMError]"===Object.prototype.toString.call(e)}function g(e){return"[object String]"===Object.prototype.toString.call(e)}function m(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function _(e){return"[object Object]"===Object.prototype.toString.call(e)}function E(e){return"undefined"!=typeof Event&&w(e,Event)}function b(e){return"undefined"!=typeof Element&&w(e,Element)}function x(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function w(e,t){try{return e instanceof t}catch(e){return!1}}!function(e){e.Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical"}(c||(c={})),function(e){e.fromString=function(t){switch(t){case"debug":return e.Debug;case"info":return e.Info;case"warn":case"warning":return e.Warning;case"error":return e.Error;case"fatal":return e.Fatal;case"critical":return e.Critical;case"log":default:return e.Log}}}(c||(c={})),function(e){e.Unknown="unknown",e.Skipped="skipped",e.Success="success",e.RateLimit="rate_limit",e.Invalid="invalid",e.Failed="failed"}(u||(u={})),function(e){e.fromHttpCode=function(t){return t>=200&&t<300?e.Success:429===t?e.RateLimit:t>=400&&t<500?e.Invalid:t>=500?e.Failed:e.Unknown}}(u||(u={}));var S,O,k=n(1170),T=function(){function e(e){var t=this;this._state="PENDING",this._handlers=[],this._resolve=function(e){t._setResult("RESOLVED",e)},this._reject=function(e){t._setResult("REJECTED",e)},this._setResult=function(e,n){"PENDING"===t._state&&(x(n)?n.then(t._resolve,t._reject):(t._state=e,t._value=n,t._executeHandlers()))},this._attachHandler=function(e){t._handlers=t._handlers.concat(e),t._executeHandlers()},this._executeHandlers=function(){if("PENDING"!==t._state){var e=t._handlers.slice();t._handlers=[],e.forEach((function(e){e.done||("RESOLVED"===t._state&&e.onfulfilled&&e.onfulfilled(t._value),"REJECTED"===t._state&&e.onrejected&&e.onrejected(t._value),e.done=!0)}))}};try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}return e.resolve=function(t){return new e((function(e){e(t)}))},e.reject=function(t){return new e((function(e,n){n(t)}))},e.all=function(t){return new e((function(n,r){if(Array.isArray(t))if(0!==t.length){var o=t.length,i=[];t.forEach((function(t,a){e.resolve(t).then((function(e){i[a]=e,0==(o-=1)&&n(i)})).then(null,r)}))}else n([]);else r(new TypeError("Promise.all requires an array as input."))}))},e.prototype.then=function(t,n){var r=this;return new e((function(e,o){r._attachHandler({done:!1,onfulfilled:function(n){if(t)try{return void e(t(n))}catch(e){return void o(e)}else e(n)},onrejected:function(t){if(n)try{return void e(n(t))}catch(e){return void o(e)}else o(t)}})}))},e.prototype.catch=function(e){return this.then((function(e){return e}),e)},e.prototype.finally=function(t){var n=this;return new e((function(e,r){var o,i;return n.then((function(e){i=!1,o=e,t&&t()}),(function(e){i=!0,o=e,t&&t()})).then((function(){i?r(o):e(o)}))}))},e.prototype.toString=function(){return"[object SyncPromise]"},e}(),P=n(2991),j=function(){function e(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return e.clone=function(t){var n=new e;return t&&(n._breadcrumbs=d(t._breadcrumbs),n._tags=l({},t._tags),n._extra=l({},t._extra),n._contexts=l({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=d(t._eventProcessors),n._requestSession=t._requestSession),n},e.prototype.addScopeListener=function(e){this._scopeListeners.push(e)},e.prototype.addEventProcessor=function(e){return this._eventProcessors.push(e),this},e.prototype.setUser=function(e){return this._user=e||{},this._session&&this._session.update({user:e}),this._notifyScopeListeners(),this},e.prototype.getUser=function(){return this._user},e.prototype.getRequestSession=function(){return this._requestSession},e.prototype.setRequestSession=function(e){return this._requestSession=e,this},e.prototype.setTags=function(e){return this._tags=l(l({},this._tags),e),this._notifyScopeListeners(),this},e.prototype.setTag=function(e,t){var n;return this._tags=l(l({},this._tags),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setExtras=function(e){return this._extra=l(l({},this._extra),e),this._notifyScopeListeners(),this},e.prototype.setExtra=function(e,t){var n;return this._extra=l(l({},this._extra),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setFingerprint=function(e){return this._fingerprint=e,this._notifyScopeListeners(),this},e.prototype.setLevel=function(e){return this._level=e,this._notifyScopeListeners(),this},e.prototype.setTransactionName=function(e){return this._transactionName=e,this._notifyScopeListeners(),this},e.prototype.setTransaction=function(e){return this.setTransactionName(e)},e.prototype.setContext=function(e,t){var n;return null===t?delete this._contexts[e]:this._contexts=l(l({},this._contexts),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setSpan=function(e){return this._span=e,this._notifyScopeListeners(),this},e.prototype.getSpan=function(){return this._span},e.prototype.getTransaction=function(){var e,t,n,r,o=this.getSpan();return(null===(e=o)||void 0===e?void 0:e.transaction)?null===(t=o)||void 0===t?void 0:t.transaction:(null===(r=null===(n=o)||void 0===n?void 0:n.spanRecorder)||void 0===r?void 0:r.spans[0])?o.spanRecorder.spans[0]:void 0},e.prototype.setSession=function(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this},e.prototype.getSession=function(){return this._session},e.prototype.update=function(t){if(!t)return this;if("function"==typeof t){var n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags=l(l({},this._tags),t._tags),this._extra=l(l({},this._extra),t._extra),this._contexts=l(l({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):_(t)&&(t=t,this._tags=l(l({},this._tags),t.tags),this._extra=l(l({},this._extra),t.extra),this._contexts=l(l({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this},e.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},e.prototype.addBreadcrumb=function(e,t){var n="number"==typeof t?Math.min(t,100):100;if(n<=0)return this;var r=l({timestamp:(0,k.yW)()},e);return this._breadcrumbs=d(this._breadcrumbs,[r]).slice(-n),this._notifyScopeListeners(),this},e.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},e.prototype.applyToEvent=function(e,t){var n;if(this._extra&&Object.keys(this._extra).length&&(e.extra=l(l({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=l(l({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=l(l({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=l(l({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts=l({trace:this._span.getTraceContext()},e.contexts);var r=null===(n=this._span.transaction)||void 0===n?void 0:n.name;r&&(e.tags=l({transaction:r},e.tags))}return this._applyFingerprint(e),e.breadcrumbs=d(e.breadcrumbs||[],this._breadcrumbs),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,this._notifyEventProcessors(d(R(),this._eventProcessors),e,t)},e.prototype._notifyEventProcessors=function(e,t,n,r){var o=this;return void 0===r&&(r=0),new T((function(i,a){var s=e[r];if(null===t||"function"!=typeof s)i(t);else{var c=s(l({},t),n);x(c)?c.then((function(t){return o._notifyEventProcessors(e,t,n,r+1).then(i)})).then(null,a):o._notifyEventProcessors(e,c,n,r+1).then(i).then(null,a)}}))},e.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(t){t(e)})),this._notifyingListeners=!1)},e.prototype._applyFingerprint=function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint},e}();function R(){var e=(0,P.R)();return e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.globalEventProcessors=e.__SENTRY__.globalEventProcessors||[],e.__SENTRY__.globalEventProcessors}function I(e){R().push(e)}function C(){var e=(0,P.R)(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function A(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}function N(e){if(e.message)return e.message;if(e.exception&&e.exception.values&&e.exception.values[0]){var t=e.exception.values[0];return t.type&&t.value?t.type+": "+t.value:t.type||t.value||e.event_id||"<unknown>"}return e.event_id||"<unknown>"}function D(e,t,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||t||"",e.exception.values[0].type=e.exception.values[0].type||n||"Error"}function L(e,t){var n;if(e.exception&&e.exception.values){var r=e.exception.values[0],o=r.mechanism;if(r.mechanism=l(l(l({},{type:"generic",handled:!0}),o),t),t&&"data"in t){var i=l(l({},null===(n=o)||void 0===n?void 0:n.data),t.data);r.mechanism.data=i}}}function U(e){var t;if(null===(t=e)||void 0===t?void 0:t.__sentry_captured__)return!0;try{Object.defineProperty(e,"__sentry_captured__",{value:!0})}catch(e){}return!1}!function(e){e.Ok="ok",e.Exited="exited",e.Crashed="crashed",e.Abnormal="abnormal"}(S||(S={})),function(e){e.Ok="ok",e.Errored="errored",e.Crashed="crashed"}(O||(O={}));var M=(0,P.R)(),F="Sentry Logger ";function q(e){var t=(0,P.R)();if(!("console"in t))return e();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach((function(e){e in t.console&&n[e].__sentry_original__&&(r[e]=n[e],n[e]=n[e].__sentry_original__)}));var o=e();return Object.keys(r).forEach((function(e){n[e]=r[e]})),o}var B=function(){function e(){this._enabled=!1}return e.prototype.disable=function(){this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&q((function(){M.console.log(F+"[Log]: "+e.join(" "))}))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&q((function(){M.console.warn(F+"[Warn]: "+e.join(" "))}))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&q((function(){M.console.error(F+"[Error]: "+e.join(" "))}))},e}();M.__SENTRY__=M.__SENTRY__||{};var H=M.__SENTRY__.logger||(M.__SENTRY__.logger=new B),G=n(1422);function W(e,t){try{for(var n=e,r=[],o=0,i=0,a=" > ".length,s=void 0;n&&o++<5&&!("html"===(s=Y(n,t))||o>1&&i+r.length*a+s.length>=80);)r.push(s),i+=s.length,n=n.parentNode;return r.reverse().join(" > ")}catch(e){return"<unknown>"}}function Y(e,t){var n,r,o,i,a,s,c,u=e,l=[];if(!u||!u.tagName)return"";l.push(u.tagName.toLowerCase());var p=(null===(n=t)||void 0===n?void 0:n.length)?t.filter((function(e){return u.getAttribute(e)})).map((function(e){return[e,u.getAttribute(e)]})):null;if(null===(r=p)||void 0===r?void 0:r.length)p.forEach((function(e){l.push("["+e[0]+'="'+e[1]+'"]')}));else if(u.id&&l.push("#"+u.id),(o=u.className)&&g(o))for(i=o.split(/\s+/),c=0;c<i.length;c++)l.push("."+i[c]);var f=["type","name","title","alt"];for(c=0;c<f.length;c++)a=f[c],(s=u.getAttribute(a))&&l.push("["+a+'="'+s+'"]');return l.join("")}var z=function(){function e(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return e.prototype.memoize=function(e){if(this._hasWeakSet)return!!this._inner.has(e)||(this._inner.add(e),!1);for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e)return!0;return this._inner.push(e),!1},e.prototype.unmemoize=function(e){if(this._hasWeakSet)this._inner.delete(e);else for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e){this._inner.splice(t,1);break}},e}(),J="<anonymous>";function V(e){try{return e&&"function"==typeof e&&e.name||J}catch(e){return J}}function X(e,t){return void 0===t&&(t=0),"string"!=typeof e||0===t||e.length<=t?e:e.substr(0,t)+"..."}function K(e,t){if(!Array.isArray(e))return"";for(var n=[],r=0;r<e.length;r++){var o=e[r];try{n.push(String(o))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function $(e,t){return!!g(e)&&(n=t,"[object RegExp]"===Object.prototype.toString.call(n)?t.test(e):"string"==typeof t&&-1!==e.indexOf(t));var n}function Q(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry_original__:{enumerable:!1,value:r}})}catch(e){}e[t]=o}}function Z(e){if(h(e)){var t=e,n={message:t.message,name:t.name,stack:t.stack};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}if(E(e)){var o=e,i={};i.type=o.type;try{i.target=b(o.target)?W(o.target):Object.prototype.toString.call(o.target)}catch(e){i.target="<unknown>"}try{i.currentTarget=b(o.currentTarget)?W(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(e){i.currentTarget="<unknown>"}for(var a in"undefined"!=typeof CustomEvent&&w(e,CustomEvent)&&(i.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,a)&&(i[a]=o[a]);return i}return e}function ee(e,t,n){void 0===t&&(t=3),void 0===n&&(n=102400);var r,o=re(e,t);return r=o,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(r))>n?ee(e,t-1,n):o}function te(e,t){return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":void 0!==n.g&&e===n.g?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":_(r=e)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+V(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":e;var r}function ne(e,t,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new z),0===n)return function(e){var t=Object.prototype.toString.call(e);if("string"==typeof e)return e;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var n=te(e);return m(n)?n:t}(t);if(null!=t&&"function"==typeof t.toJSON)return t.toJSON();var o=te(t,e);if(m(o))return o;var i=Z(t),a=Array.isArray(t)?[]:{};if(r.memoize(t))return"[Circular ~]";for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(a[s]=ne(s,i[s],n-1,r));return r.unmemoize(t),a}function re(e,t){try{return JSON.parse(JSON.stringify(e,(function(e,n){return ne(e,n,t)})))}catch(e){return"**non-serializable**"}}function oe(e,t){void 0===t&&(t=40);var n=Object.keys(Z(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return X(n[0],t);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>t))return r===n.length?o:X(o,t)}return""}function ie(e){var t,n;if(_(e)){var r=e,o={};try{for(var i=p(Object.keys(r)),a=i.next();!a.done;a=i.next()){var s=a.value;void 0!==r[s]&&(o[s]=ie(r[s]))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o}return Array.isArray(e)?e.map(ie):e}var ae=function(){function e(e){this.errors=0,this.sid=C(),this.duration=0,this.status=S.Ok,this.init=!0,this.ignoreDuration=!1;var t=(0,k.ph)();this.timestamp=t,this.started=t,e&&this.update(e)}return e.prototype.update=function(e){if(void 0===e&&(e={}),e.user&&(!this.ipAddress&&e.user.ip_address&&(this.ipAddress=e.user.ip_address),this.did||e.did||(this.did=e.user.id||e.user.email||e.user.username)),this.timestamp=e.timestamp||(0,k.ph)(),e.ignoreDuration&&(this.ignoreDuration=e.ignoreDuration),e.sid&&(this.sid=32===e.sid.length?e.sid:C()),void 0!==e.init&&(this.init=e.init),!this.did&&e.did&&(this.did=""+e.did),"number"==typeof e.started&&(this.started=e.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof e.duration)this.duration=e.duration;else{var t=this.timestamp-this.started;this.duration=t>=0?t:0}e.release&&(this.release=e.release),e.environment&&(this.environment=e.environment),!this.ipAddress&&e.ipAddress&&(this.ipAddress=e.ipAddress),!this.userAgent&&e.userAgent&&(this.userAgent=e.userAgent),"number"==typeof e.errors&&(this.errors=e.errors),e.status&&(this.status=e.status)},e.prototype.close=function(e){e?this.update({status:e}):this.status===S.Ok?this.update({status:S.Exited}):this.update()},e.prototype.toJSON=function(){return ie({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:ie({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},e}(),se=function(){function e(e,t,n){void 0===t&&(t=new j),void 0===n&&(n=4),this._version=n,this._stack=[{}],this.getStackTop().scope=t,e&&this.bindClient(e)}return e.prototype.isOlderThan=function(e){return this._version<e},e.prototype.bindClient=function(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()},e.prototype.pushScope=function(){var e=j.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e},e.prototype.popScope=function(){return!(this.getStack().length<=1||!this.getStack().pop())},e.prototype.withScope=function(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}},e.prototype.getClient=function(){return this.getStackTop().client},e.prototype.getScope=function(){return this.getStackTop().scope},e.prototype.getStack=function(){return this._stack},e.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},e.prototype.captureException=function(e,t){var n=this._lastEventId=C(),r=t;if(!t){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(e){o=e}r={originalException:e,syntheticException:o}}return this._invokeClient("captureException",e,l(l({},r),{event_id:n})),n},e.prototype.captureMessage=function(e,t,n){var r=this._lastEventId=C(),o=n;if(!n){var i=void 0;try{throw new Error(e)}catch(e){i=e}o={originalException:e,syntheticException:i}}return this._invokeClient("captureMessage",e,t,l(l({},o),{event_id:r})),r},e.prototype.captureEvent=function(e,t){var n=C();return"transaction"!==e.type&&(this._lastEventId=n),this._invokeClient("captureEvent",e,l(l({},t),{event_id:n})),n},e.prototype.lastEventId=function(){return this._lastEventId},e.prototype.addBreadcrumb=function(e,t){var n=this.getStackTop(),r=n.scope,o=n.client;if(r&&o){var i=o.getOptions&&o.getOptions()||{},a=i.beforeBreadcrumb,s=void 0===a?null:a,c=i.maxBreadcrumbs,u=void 0===c?100:c;if(!(u<=0)){var p=(0,k.yW)(),f=l({timestamp:p},e),d=s?q((function(){return s(f,t)})):f;null!==d&&r.addBreadcrumb(d,u)}}},e.prototype.setUser=function(e){var t=this.getScope();t&&t.setUser(e)},e.prototype.setTags=function(e){var t=this.getScope();t&&t.setTags(e)},e.prototype.setExtras=function(e){var t=this.getScope();t&&t.setExtras(e)},e.prototype.setTag=function(e,t){var n=this.getScope();n&&n.setTag(e,t)},e.prototype.setExtra=function(e,t){var n=this.getScope();n&&n.setExtra(e,t)},e.prototype.setContext=function(e,t){var n=this.getScope();n&&n.setContext(e,t)},e.prototype.configureScope=function(e){var t=this.getStackTop(),n=t.scope,r=t.client;n&&r&&e(n)},e.prototype.run=function(e){var t=ue(this);try{e(this)}finally{ue(t)}},e.prototype.getIntegration=function(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return H.warn("Cannot retrieve integration "+e.id+" from the current Hub"),null}},e.prototype.startSpan=function(e){return this._callExtensionMethod("startSpan",e)},e.prototype.startTransaction=function(e,t){return this._callExtensionMethod("startTransaction",e,t)},e.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},e.prototype.captureSession=function(e){if(void 0===e&&(e=!1),e)return this.endSession();this._sendSessionUpdate()},e.prototype.endSession=function(){var e,t,n,r,o;null===(n=null===(t=null===(e=this.getStackTop())||void 0===e?void 0:e.scope)||void 0===t?void 0:t.getSession())||void 0===n||n.close(),this._sendSessionUpdate(),null===(o=null===(r=this.getStackTop())||void 0===r?void 0:r.scope)||void 0===o||o.setSession()},e.prototype.startSession=function(e){var t=this.getStackTop(),n=t.scope,r=t.client,o=r&&r.getOptions()||{},i=o.release,a=o.environment,s=((0,P.R)().navigator||{}).userAgent,c=new ae(l(l(l({release:i,environment:a},n&&{user:n.getUser()}),s&&{userAgent:s}),e));if(n){var u=n.getSession&&n.getSession();u&&u.status===S.Ok&&u.update({status:S.Exited}),this.endSession(),n.setSession(c)}return c},e.prototype._sendSessionUpdate=function(){var e=this.getStackTop(),t=e.scope,n=e.client;if(t){var r=t.getSession&&t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},e.prototype._invokeClient=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this.getStackTop(),i=o.scope,a=o.client;a&&a[e]&&(t=a)[e].apply(t,d(n,[i]))},e.prototype._callExtensionMethod=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=ce(),o=r.__SENTRY__;if(o&&o.extensions&&"function"==typeof o.extensions[e])return o.extensions[e].apply(this,t);H.warn("Extension method "+e+" couldn't be found, doing nothing.")},e}();function ce(){var e=(0,P.R)();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function ue(e){var t=ce(),n=fe(t);return de(t,e),n}function le(){var e=ce();return pe(e)&&!fe(e).isOlderThan(4)||de(e,new se),(0,G.KV)()?function(e){var t,n,r;try{var o=null===(r=null===(n=null===(t=ce().__SENTRY__)||void 0===t?void 0:t.extensions)||void 0===n?void 0:n.domain)||void 0===r?void 0:r.active;if(!o)return fe(e);if(!pe(o)||fe(o).isOlderThan(4)){var i=fe(e).getStackTop();de(o,new se(i.client,j.clone(i.scope)))}return fe(o)}catch(t){return fe(e)}}(e):fe(e)}function pe(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function fe(e){return e&&e.__SENTRY__&&e.__SENTRY__.hub||(e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.hub=new se),e.__SENTRY__.hub}function de(e,t){return!!e&&(e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.hub=t,!0)}function he(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=le();if(r&&r[e])return r[e].apply(r,d(t));throw new Error("No hub defined or "+e+" was not found on the hub, please open a bug report.")}function ve(e,t){var n;try{throw new Error("Sentry syntheticException")}catch(e){n=e}return he("captureException",e,{captureContext:t,originalException:e,syntheticException:n})}function ye(e,t){var n;try{throw new Error(e)}catch(e){n=e}return he("captureMessage",e,"string"==typeof t?t:void 0,l({originalException:e,syntheticException:n},"string"!=typeof t?{captureContext:t}:void 0))}function ge(e){return he("captureEvent",e)}function me(e){he("configureScope",e)}function _e(e){he("addBreadcrumb",e)}function Ee(e,t){he("setContext",e,t)}function be(e){he("setExtras",e)}function xe(e){he("setTags",e)}function we(e,t){he("setExtra",e,t)}function Se(e,t){he("setTag",e,t)}function Oe(e){he("setUser",e)}function ke(e){he("withScope",e)}function Te(e,t){return he("startTransaction",l({},e),t)}var Pe,je="6.16.0";!function(e){e.BeforeSend="before_send",e.EventProcessor="event_processor",e.NetworkError="network_error",e.QueueOverflow="queue_overflow",e.RateLimitBackoff="ratelimit_backoff",e.SampleRate="sample_rate"}(Pe||(Pe={}));var Re=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){return e.__proto__=t,e}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=t[n]);return e}),Ie=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return r.message=t,r.name=n.prototype.constructor.name,Re(r,n.prototype),r}return s(t,e),t}(Error),Ce=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,Ae=function(){function e(e){"string"==typeof e?this._fromString(e):this._fromComponents(e),this._validate()}return e.prototype.toString=function(e){void 0===e&&(e=!1);var t=this,n=t.host,r=t.path,o=t.pass,i=t.port,a=t.projectId;return t.protocol+"://"+t.publicKey+(e&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+a},e.prototype._fromString=function(e){var t=Ce.exec(e);if(!t)throw new Ie("Invalid Dsn");var n=f(t.slice(1),6),r=n[0],o=n[1],i=n[2],a=void 0===i?"":i,s=n[3],c=n[4],u=void 0===c?"":c,l="",p=n[5],d=p.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),p=d.pop()),p){var h=p.match(/^\d+/);h&&(p=h[0])}this._fromComponents({host:s,pass:a,path:l,projectId:p,port:u,protocol:r,publicKey:o})},e.prototype._fromComponents=function(e){"user"in e&&!("publicKey"in e)&&(e.publicKey=e.user),this.user=e.publicKey||"",this.protocol=e.protocol,this.publicKey=e.publicKey||"",this.pass=e.pass||"",this.host=e.host,this.port=e.port||"",this.path=e.path||"",this.projectId=e.projectId},e.prototype._validate=function(){var e=this;if(["protocol","publicKey","host","projectId"].forEach((function(t){if(!e[t])throw new Ie("Invalid Dsn: "+t+" missing")})),!this.projectId.match(/^\d+$/))throw new Ie("Invalid Dsn: Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new Ie("Invalid Dsn: Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new Ie("Invalid Dsn: Invalid port "+this.port)},e}(),Ne=[];function De(e){return e.reduce((function(e,t){return e.every((function(e){return t.name!==e.name}))&&e.push(t),e}),[])}var Le="Not capturing exception because it's already been captured.",Ue=function(){function e(e,t){this._integrations={},this._numProcessing=0,this._backend=new e(t),this._options=t,t.dsn&&(this._dsn=new Ae(t.dsn))}return e.prototype.captureException=function(e,t,n){var r=this;if(!U(e)){var o=t&&t.event_id;return this._process(this._getBackend().eventFromException(e,t).then((function(e){return r._captureEvent(e,t,n)})).then((function(e){o=e}))),o}H.log(Le)},e.prototype.captureMessage=function(e,t,n,r){var o=this,i=n&&n.event_id,a=m(e)?this._getBackend().eventFromMessage(String(e),t,n):this._getBackend().eventFromException(e,n);return this._process(a.then((function(e){return o._captureEvent(e,n,r)})).then((function(e){i=e}))),i},e.prototype.captureEvent=function(e,t,n){var r;if(!(null===(r=t)||void 0===r?void 0:r.originalException)||!U(t.originalException)){var o=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((function(e){o=e}))),o}H.log(Le)},e.prototype.captureSession=function(e){this._isEnabled()?"string"!=typeof e.release?H.warn("Discarded session because of missing or non-string release"):(this._sendSession(e),e.update({init:!1})):H.warn("SDK not enabled, will not capture session.")},e.prototype.getDsn=function(){return this._dsn},e.prototype.getOptions=function(){return this._options},e.prototype.getTransport=function(){return this._getBackend().getTransport()},e.prototype.flush=function(e){var t=this;return this._isClientDoneProcessing(e).then((function(n){return t.getTransport().close(e).then((function(e){return n&&e}))}))},e.prototype.close=function(e){var t=this;return this.flush(e).then((function(e){return t.getOptions().enabled=!1,e}))},e.prototype.setupIntegrations=function(){var e,t;this._isEnabled()&&!this._integrations.initialized&&(this._integrations=(e=this._options,t={},function(e){var t=e.defaultIntegrations&&d(e.defaultIntegrations)||[],n=e.integrations,r=d(De(t));Array.isArray(n)?r=d(r.filter((function(e){return n.every((function(t){return t.name!==e.name}))})),De(n)):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map((function(e){return e.name})),i="Debug";return-1!==o.indexOf(i)&&r.push.apply(r,d(r.splice(o.indexOf(i),1))),r}(e).forEach((function(e){t[e.name]=e,function(e){-1===Ne.indexOf(e.name)&&(e.setupOnce(I,le),Ne.push(e.name),H.log("Integration installed: "+e.name))}(e)})),Object.defineProperty(t,"initialized",{value:!0}),t))},e.prototype.getIntegration=function(e){try{return this._integrations[e.id]||null}catch(t){return H.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},e.prototype._updateSessionFromEvent=function(e,t){var n,r,o=!1,i=!1,a=t.exception&&t.exception.values;if(a){i=!0;try{for(var s=p(a),c=s.next();!c.done;c=s.next()){var u=c.value.mechanism;if(u&&!1===u.handled){o=!0;break}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}}var f=e.status===S.Ok;(f&&0===e.errors||f&&o)&&(e.update(l(l({},o&&{status:S.Crashed}),{errors:e.errors||Number(i||o)})),this.captureSession(e))},e.prototype._sendSession=function(e){this._getBackend().sendSession(e)},e.prototype._isClientDoneProcessing=function(e){var t=this;return new T((function(n){var r=0,o=setInterval((function(){0==t._numProcessing?(clearInterval(o),n(!0)):(r+=1,e&&r>=e&&(clearInterval(o),n(!1)))}),1)}))},e.prototype._getBackend=function(){return this._backend},e.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},e.prototype._prepareEvent=function(e,t,n){var r=this,o=this.getOptions().normalizeDepth,i=void 0===o?3:o,a=l(l({},e),{event_id:e.event_id||(n&&n.event_id?n.event_id:C()),timestamp:e.timestamp||(0,k.yW)()});this._applyClientOptions(a),this._applyIntegrationsMetadata(a);var s=t;n&&n.captureContext&&(s=j.clone(s).update(n.captureContext));var c=T.resolve(a);return s&&(c=s.applyToEvent(a,n)),c.then((function(e){return"number"==typeof i&&i>0?r._normalizeEvent(e,i):e}))},e.prototype._normalizeEvent=function(e,t){if(!e)return null;var n=l(l(l(l(l({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return l(l({},e),e.data&&{data:re(e.data,t)})}))}),e.user&&{user:re(e.user,t)}),e.contexts&&{contexts:re(e.contexts,t)}),e.extra&&{extra:re(e.extra,t)});e.contexts&&e.contexts.trace&&(n.contexts.trace=e.contexts.trace);var r=this.getOptions()._experiments;return(void 0===r?{}:r).ensureNoCircularStructures?re(n):n},e.prototype._applyClientOptions=function(e){var t=this.getOptions(),n=t.environment,r=t.release,o=t.dist,i=t.maxValueLength,a=void 0===i?250:i;"environment"in e||(e.environment="environment"in t?n:"production"),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=X(e.message,a));var s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=X(s.value,a));var c=e.request;c&&c.url&&(c.url=X(c.url,a))},e.prototype._applyIntegrationsMetadata=function(e){var t=Object.keys(this._integrations);t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=d(e.sdk.integrations||[],t))},e.prototype._sendEvent=function(e){this._getBackend().sendEvent(e)},e.prototype._captureEvent=function(e,t,n){return this._processEvent(e,t,n).then((function(e){return e.event_id}),(function(e){H.error(e)}))},e.prototype._processEvent=function(e,t,n){var r,o,i=this,a=this.getOptions(),s=a.beforeSend,c=a.sampleRate,u=this.getTransport();if(!this._isEnabled())return T.reject(new Ie("SDK not enabled, will not capture event."));var l="transaction"===e.type;return!l&&"number"==typeof c&&Math.random()>c?(null===(o=(r=u).recordLostEvent)||void 0===o||o.call(r,Pe.SampleRate,"event"),T.reject(new Ie("Discarding event because it's not included in the random sample (sampling rate = "+c+")"))):this._prepareEvent(e,n,t).then((function(n){var r,o;if(null===n)throw null===(o=(r=u).recordLostEvent)||void 0===o||o.call(r,Pe.EventProcessor,e.type||"event"),new Ie("An event processor returned null, will not send event.");if(t&&t.data&&!0===t.data.__sentry__||l||!s)return n;var a=s(n,t);return i._ensureBeforeSendRv(a)})).then((function(t){var r,o;if(null===t)throw null===(o=(r=u).recordLostEvent)||void 0===o||o.call(r,Pe.BeforeSend,e.type||"event"),new Ie("`beforeSend` returned `null`, will not send event.");var a=n&&n.getSession&&n.getSession();return!l&&a&&i._updateSessionFromEvent(a,t),i._sendEvent(t),t})).then(null,(function(e){if(e instanceof Ie)throw e;throw i.captureException(e,{data:{__sentry__:!0},originalException:e}),new Ie("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+e)}))},e.prototype._process=function(e){var t=this;this._numProcessing+=1,e.then((function(e){return t._numProcessing-=1,e}),(function(e){return t._numProcessing-=1,e}))},e.prototype._ensureBeforeSendRv=function(e){var t="`beforeSend` method has to return `null` or a valid event.";if(x(e))return e.then((function(e){if(!_(e)&&null!==e)throw new Ie(t);return e}),(function(e){throw new Ie("beforeSend rejected with "+e)}));if(!_(e)&&null!==e)throw new Ie(t);return e},e}(),Me=function(){function e(){}return e.prototype.sendEvent=function(e){return T.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:u.Skipped})},e.prototype.close=function(e){return T.resolve(!0)},e}(),Fe=function(){function e(e){this._options=e,this._options.dsn||H.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return e.prototype.eventFromException=function(e,t){throw new Ie("Backend has to implement `eventFromException` method")},e.prototype.eventFromMessage=function(e,t,n){throw new Ie("Backend has to implement `eventFromMessage` method")},e.prototype.sendEvent=function(e){this._transport.sendEvent(e).then(null,(function(e){H.error("Error while sending event: "+e)}))},e.prototype.sendSession=function(e){this._transport.sendSession?this._transport.sendSession(e).then(null,(function(e){H.error("Error while sending session: "+e)})):H.warn("Dropping session because custom transport doesn't implement sendSession")},e.prototype.getTransport=function(){return this._transport},e.prototype._setupTransport=function(){return new Me},e}();function qe(){if(!("fetch"in(0,P.R)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(e){return!1}}function Be(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function He(){if(!qe())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}}var Ge="?",We=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ye=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ze=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Je=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ve=/\((\S*)(?::(\d+))(?::(\d+))\)/,Xe=/Minified React error #\d+;/i;function Ke(e){var t=null,n=0;e&&("number"==typeof e.framesToPop?n=e.framesToPop:Xe.test(e.message)&&(n=1));try{if(t=function(e){if(!e||!e.stacktrace)return null;for(var t,n=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,r=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,o=e.stacktrace.split("\n"),i=[],a=0;a<o.length;a+=2){var s=null;(t=n.exec(o[a]))?s={url:t[2],func:t[3],args:[],line:+t[1],column:null}:(t=r.exec(o[a]))&&(s={url:t[6],func:t[3]||t[4],args:t[5]?t[5].split(","):[],line:+t[1],column:+t[2]}),s&&(!s.func&&s.line&&(s.func=Ge),i.push(s))}return i.length?{message:Ze(e),name:e.name,stack:i}:null}(e))return Qe(t,n)}catch(e){}try{if(t=function(e){var t,n;if(!e||!e.stack)return null;for(var r,o,i,a=[],s=e.stack.split("\n"),c=0;c<s.length;++c){if(o=We.exec(s[c])){var u=o[2]&&0===o[2].indexOf("native");o[2]&&0===o[2].indexOf("eval")&&(r=Ve.exec(o[2]))&&(o[2]=r[1],o[3]=r[2],o[4]=r[3]);var l=o[2]&&0===o[2].indexOf("address at ")?o[2].substr("address at ".length):o[2],p=o[1]||Ge;p=(t=f($e(p,l),2))[0],i={url:l=t[1],func:p,args:u?[o[2]]:[],line:o[3]?+o[3]:null,column:o[4]?+o[4]:null}}else if(o=ze.exec(s[c]))i={url:o[2],func:o[1]||Ge,args:[],line:+o[3],column:o[4]?+o[4]:null};else{if(!(o=Ye.exec(s[c])))continue;o[3]&&o[3].indexOf(" > eval")>-1&&(r=Je.exec(o[3]))?(o[1]=o[1]||"eval",o[3]=r[1],o[4]=r[2],o[5]=""):0!==c||o[5]||void 0===e.columnNumber||(a[0].column=e.columnNumber+1),l=o[3],p=o[1]||Ge,p=(n=f($e(p,l),2))[0],i={url:l=n[1],func:p,args:o[2]?o[2].split(","):[],line:o[4]?+o[4]:null,column:o[5]?+o[5]:null}}!i.func&&i.line&&(i.func=Ge),a.push(i)}return a.length?{message:Ze(e),name:e.name,stack:a}:null}(e))return Qe(t,n)}catch(e){}return{message:Ze(e),name:e&&e.name,stack:[],failed:!0}}var $e=function(e,t){var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:Ge,n?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]};function Qe(e,t){try{return l(l({},e),{stack:e.stack.slice(t)})}catch(t){return e}}function Ze(e){var t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function et(e){var t=nt(e.stack),n={type:e.name,value:e.message};return t&&t.length&&(n.stacktrace={frames:t}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function tt(e){return{exception:{values:[et(e)]}}}function nt(e){if(!e||!e.length)return[];var t=e,n=t[0].func||"",r=t[t.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(t=t.slice(1)),-1!==r.indexOf("sentryWrapped")&&(t=t.slice(0,-1)),t.slice(0,50).map((function(e){return{colno:null===e.column?void 0:e.column,filename:e.url||t[0].url,function:e.func||"?",in_app:!0,lineno:null===e.line?void 0:e.line}})).reverse()}function rt(e,t,n){var r=it(t,n&&n.syntheticException||void 0,{attachStacktrace:e.attachStacktrace});return L(r),r.level=c.Error,n&&n.event_id&&(r.event_id=n.event_id),T.resolve(r)}function ot(e,t,n,r){void 0===n&&(n=c.Info);var o=at(t,r&&r.syntheticException||void 0,{attachStacktrace:e.attachStacktrace});return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),T.resolve(o)}function it(e,t,n){var r,o;if(void 0===n&&(n={}),v(e)&&e.error)return tt(Ke(e=e.error));if(y(e)||(o=e,"[object DOMException]"===Object.prototype.toString.call(o))){var i=e;if("stack"in e)r=tt(Ke(e));else{var a=i.name||(y(i)?"DOMError":"DOMException"),s=i.message?a+": "+i.message:a;D(r=at(s,t,n),s)}return"code"in i&&(r.tags=l(l({},r.tags),{"DOMException.code":""+i.code})),r}return h(e)?r=tt(Ke(e)):_(e)||E(e)?(L(r=function(e,t,n){var r={exception:{values:[{type:E(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+oe(e)}]},extra:{__serialized__:ee(e)}};if(t){var o=nt(Ke(t).stack);r.stacktrace={frames:o}}return r}(e,t,n.rejection),{synthetic:!0}),r):(D(r=at(e,t,n),""+e,void 0),L(r,{synthetic:!0}),r)}function at(e,t,n){void 0===n&&(n={});var r={message:e};if(n.attachStacktrace&&t){var o=nt(Ke(t).stack);r.stacktrace={frames:o}}return r}function st(e){if(e.metadata&&e.metadata.sdk){var t=e.metadata.sdk;return{name:t.name,version:t.version}}}function ct(e,t){return t?(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=d(e.sdk.integrations||[],t.integrations||[]),e.sdk.packages=d(e.sdk.packages||[],t.packages||[]),e):e}function ut(e,t){var n=st(t),r="aggregates"in e?"sessions":"session";return{body:JSON.stringify(l(l({sent_at:(new Date).toISOString()},n&&{sdk:n}),t.forceEnvelope()&&{dsn:t.getDsn().toString()}))+"\n"+JSON.stringify({type:r})+"\n"+JSON.stringify(e),type:r,url:t.getEnvelopeEndpointWithUrlEncodedAuth()}}function lt(e,t){var n=st(t),r=e.type||"event",o="transaction"===r||t.forceEnvelope(),i=e.debug_meta||{},a=i.transactionSampling,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(i,["transactionSampling"]),c=a||{},u=c.method,p=c.rate;0===Object.keys(s).length?delete e.debug_meta:e.debug_meta=s;var f={body:JSON.stringify(n?ct(e,t.metadata.sdk):e),type:r,url:o?t.getEnvelopeEndpointWithUrlEncodedAuth():t.getStoreEndpointWithUrlEncodedAuth()};if(o){var d=JSON.stringify(l(l({event_id:e.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),t.forceEnvelope()&&{dsn:t.getDsn().toString()}))+"\n"+JSON.stringify({type:r,sample_rates:[{id:u,rate:p}]})+"\n"+f.body;f.body=d}return f}var pt,ft=function(){function e(e,t,n){void 0===t&&(t={}),this.dsn=e,this._dsnObject=new Ae(e),this.metadata=t,this._tunnel=n}return e.prototype.getDsn=function(){return this._dsnObject},e.prototype.forceEnvelope=function(){return!!this._tunnel},e.prototype.getBaseApiEndpoint=function(){var e=this.getDsn(),t=e.protocol?e.protocol+":":"",n=e.port?":"+e.port:"";return t+"//"+e.host+n+(e.path?"/"+e.path:"")+"/api/"},e.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},e.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},e.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this.forceEnvelope()?this._tunnel:this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},e.prototype.getStoreEndpointPath=function(){var e=this.getDsn();return(e.path?"/"+e.path:"")+"/api/"+e.projectId+"/store/"},e.prototype.getRequestHeaders=function(e,t){var n=this.getDsn(),r=["Sentry sentry_version=7"];return r.push("sentry_client="+e+"/"+t),r.push("sentry_key="+n.publicKey),n.pass&&r.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},e.prototype.getReportDialogEndpoint=function(e){void 0===e&&(e={});var t=this.getDsn(),n=this.getBaseApiEndpoint()+"embed/error-page/",r=[];for(var o in r.push("dsn="+t.toString()),e)if("dsn"!==o)if("user"===o){if(!e.user)continue;e.user.name&&r.push("name="+encodeURIComponent(e.user.name)),e.user.email&&r.push("email="+encodeURIComponent(e.user.email))}else r.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return r.length?n+"?"+r.join("&"):n},e.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},e.prototype._getIngestEndpoint=function(e){return this._tunnel?this._tunnel:""+this.getBaseApiEndpoint()+this.getDsn().projectId+"/"+e+"/"},e.prototype._encodedAuth=function(){var e,t={sentry_key:this.getDsn().publicKey,sentry_version:"7"};return e=t,Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")},e}(),dt=function(){function e(e){this._limit=e,this._buffer=[]}return e.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},e.prototype.add=function(e){var t=this;if(!this.isReady())return T.reject(new Ie("Not adding Promise due to buffer limit reached."));var n=e();return-1===this._buffer.indexOf(n)&&this._buffer.push(n),n.then((function(){return t.remove(n)})).then(null,(function(){return t.remove(n).then(null,(function(){}))})),n},e.prototype.remove=function(e){return this._buffer.splice(this._buffer.indexOf(e),1)[0]},e.prototype.length=function(){return this._buffer.length},e.prototype.drain=function(e){var t=this;return new T((function(n){var r=setTimeout((function(){e&&e>0&&n(!1)}),e);T.all(t._buffer).then((function(){clearTimeout(r),n(!0)})).then(null,(function(){n(!0)}))}))},e}(),ht=(0,P.R)();function vt(){var e,t;if(pt)return pt;if(Be(ht.fetch))return pt=ht.fetch.bind(ht);var n=ht.document,r=ht.fetch;if("function"==typeof(null===(e=n)||void 0===e?void 0:e.createElement))try{var o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o),(null===(t=o.contentWindow)||void 0===t?void 0:t.fetch)&&(r=o.contentWindow.fetch),n.head.removeChild(o)}catch(e){H.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return pt=r.bind(ht)}var yt={event:"error",transaction:"transaction",session:"session",attachment:"attachment"},gt=(0,P.R)(),mt=function(){function e(e){var t=this;this.options=e,this._buffer=new dt(30),this._rateLimits={},this._outcomes={},this._api=new ft(e.dsn,e._metadata,e.tunnel),this.url=this._api.getStoreEndpointWithUrlEncodedAuth(),this.options.sendClientReports&>.document&>.document.addEventListener("visibilitychange",(function(){"hidden"===gt.document.visibilityState&&t._flushOutcomes()}))}return e.prototype.sendEvent=function(e){throw new Ie("Transport Class has to implement `sendEvent` method")},e.prototype.close=function(e){return this._buffer.drain(e)},e.prototype.recordLostEvent=function(e,t){var n;if(this.options.sendClientReports){var r=yt[t]+":"+e;H.log("Adding outcome: "+r),this._outcomes[r]=(null!=(n=this._outcomes[r])?n:0)+1}},e.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var e=this._outcomes;if(this._outcomes={},Object.keys(e).length){H.log("Flushing outcomes:\n"+JSON.stringify(e,null,2));var t=this._api.getEnvelopeEndpointWithUrlEncodedAuth(),n=JSON.stringify(l({},this.options.tunnel&&{dsn:this._api.getDsn().toString()}))+"\n"+JSON.stringify({type:"client_report"})+"\n"+JSON.stringify({timestamp:(0,k.yW)(),discarded_events:Object.keys(e).map((function(t){var n=f(t.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:e[t]}}))});try{!function(e,t){if("[object Navigator]"===Object.prototype.toString.call(ht&&ht.navigator)&&"function"==typeof ht.navigator.sendBeacon)return ht.navigator.sendBeacon.bind(ht.navigator)(e,t);qe()&&vt()(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(e){console.error(e)}))}(t,n)}catch(e){H.error(e)}}else H.log("No outcomes to flush")}},e.prototype._handleResponse=function(e){var t=e.requestType,n=e.response,r=e.headers,o=e.resolve,i=e.reject,a=u.fromHttpCode(n.status);this._handleRateLimit(r)&&H.warn("Too many "+t+" requests, backing off until: "+this._disabledUntil(t)),a!==u.Success?i(n):o({status:a})},e.prototype._disabledUntil=function(e){var t=yt[e];return this._rateLimits[t]||this._rateLimits.all},e.prototype._isRateLimited=function(e){return this._disabledUntil(e)>new Date(Date.now())},e.prototype._handleRateLimit=function(e){var t,n,r,o,i=Date.now(),a=e["x-sentry-rate-limits"],s=e["retry-after"];if(a){try{for(var c=p(a.trim().split(",")),u=c.next();!u.done;u=c.next()){var l=u.value.split(":",2),f=parseInt(l[0],10),d=1e3*(isNaN(f)?60:f);try{for(var h=(r=void 0,p(l[1].split(";"))),v=h.next();!v.done;v=h.next()){var y=v.value;this._rateLimits[y||"all"]=new Date(i+d)}}catch(e){r={error:e}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}return!0}return!!s&&(this._rateLimits.all=new Date(i+function(e,t){if(!t)return 6e4;var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?6e4:r-e}(i,s)),!0)},e}(),_t=function(e){function t(t,n){void 0===n&&(n=vt());var r=e.call(this,t)||this;return r._fetch=n,r}return s(t,e),t.prototype.sendEvent=function(e){return this._sendRequest(lt(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(ut(e,this._api),e)},t.prototype._sendRequest=function(e,t){var n=this;if(this._isRateLimited(e.type))return this.recordLostEvent(Pe.RateLimitBackoff,e.type),Promise.reject({event:t,type:e.type,reason:"Transport for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429});var r={body:e.body,method:"POST",referrerPolicy:He()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add((function(){return new T((function(t,o){n._fetch(e.url,r).then((function(r){var i={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:e.type,response:r,headers:i,resolve:t,reject:o})})).catch(o)}))})).then(void 0,(function(t){throw t instanceof Ie?n.recordLostEvent(Pe.QueueOverflow,e.type):n.recordLostEvent(Pe.NetworkError,e.type),t}))},t}(mt),Et=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.sendEvent=function(e){return this._sendRequest(lt(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(ut(e,this._api),e)},t.prototype._sendRequest=function(e,t){var n=this;return this._isRateLimited(e.type)?(this.recordLostEvent(Pe.RateLimitBackoff,e.type),Promise.reject({event:t,type:e.type,reason:"Transport for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429})):this._buffer.add((function(){return new T((function(t,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};n._handleResponse({requestType:e.type,response:o,headers:i,resolve:t,reject:r})}},o.open("POST",e.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,i)&&o.setRequestHeader(i,n.options.headers[i]);o.send(e.body)}))})).then(void 0,(function(t){throw t instanceof Ie?n.recordLostEvent(Pe.QueueOverflow,e.type):n.recordLostEvent(Pe.NetworkError,e.type),t}))},t}(mt),bt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.eventFromException=function(e,t){return rt(this._options,e,t)},t.prototype.eventFromMessage=function(e,t,n){return void 0===t&&(t=c.Info),ot(this._options,e,t,n)},t.prototype._setupTransport=function(){if(!this._options.dsn)return e.prototype._setupTransport.call(this);var t=l(l({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(t):qe()?new _t(t):new Et(t)},t}(Fe),xt=(0,P.R)(),wt=0;function St(){return wt>0}function Ot(){wt+=1,setTimeout((function(){wt-=1}))}function kt(e,t,n){if(void 0===t&&(t={}),"function"!=typeof e)return e;try{if(e.__sentry__)return e;if(e.__sentry_wrapped__)return e.__sentry_wrapped__}catch(t){return e}var r=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((function(e){return kt(e,t)}));return e.handleEvent?e.handleEvent.apply(this,o):e.apply(this,o)}catch(e){throw Ot(),ke((function(n){n.addEventProcessor((function(e){var n=l({},e);return t.mechanism&&(D(n,void 0,void 0),L(n,t.mechanism)),n.extra=l(l({},n.extra),{arguments:r}),n})),ve(e)})),e}};try{for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}catch(e){}e.prototype=e.prototype||{},r.prototype=e.prototype,Object.defineProperty(e,"__sentry_wrapped__",{enumerable:!1,value:r}),Object.defineProperties(r,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:e}});try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:function(){return e.name}})}catch(e){}return r}function Tt(e){if(void 0===e&&(e={}),xt.document)if(e.eventId)if(e.dsn){var t=xt.document.createElement("script");t.async=!0,t.src=new ft(e.dsn).getReportDialogEndpoint(e),e.onLoad&&(t.onload=e.onLoad);var n=xt.document.head||xt.document.body;n&&n.appendChild(t)}else H.error("Missing dsn option in showReportDialog call");else H.error("Missing eventId option in showReportDialog call")}var Pt,jt,Rt,It=(0,P.R)(),Ct={},At={};function Nt(e){e&&"string"==typeof e.type&&"function"==typeof e.callback&&(Ct[e.type]=Ct[e.type]||[],Ct[e.type].push(e.callback),function(e){if(!At[e])switch(At[e]=!0,e){case"console":"console"in It&&["debug","info","warn","error","log","assert"].forEach((function(e){e in It.console&&Q(It.console,e,(function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];Dt("console",{args:n,level:e}),t&&Function.prototype.apply.call(t,It.console,n)}}))}));break;case"dom":!function(){if("document"in It){var e=Dt.bind(null,"dom"),t=Mt(e,!0);It.document.addEventListener("click",t,!1),It.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((function(t){var n=It[t]&&It[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Q(n,"addEventListener",(function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=i[n]=i[n]||{refCount:0};if(!a.handler){var s=Mt(e);a.handler=s,t.call(this,n,s,o)}a.refCount+=1}catch(e){}return t.call(this,n,r,o)}})),Q(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[t];i&&(i.refCount-=1,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete o[t]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}}();break;case"xhr":!function(){if("XMLHttpRequest"in It){var e=[],t=[],n=XMLHttpRequest.prototype;Q(n,"open",(function(n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=this,a=r[1];i.__sentry_xhr__={method:g(r[0])?r[0].toUpperCase():r[0],url:r[1]},g(a)&&"POST"===i.__sentry_xhr__.method&&a.match(/sentry_key/)&&(i.__sentry_own_request__=!0);var s=function(){if(4===i.readyState){try{i.__sentry_xhr__&&(i.__sentry_xhr__.status_code=i.status)}catch(e){}try{var n=e.indexOf(i);if(-1!==n){e.splice(n);var o=t.splice(n)[0];i.__sentry_xhr__&&void 0!==o[0]&&(i.__sentry_xhr__.body=o[0])}}catch(e){}Dt("xhr",{args:r,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:i})}};return"onreadystatechange"in i&&"function"==typeof i.onreadystatechange?Q(i,"onreadystatechange",(function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return s(),e.apply(i,t)}})):i.addEventListener("readystatechange",s),n.apply(i,r)}})),Q(n,"send",(function(n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.push(this),t.push(r),Dt("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),n.apply(this,r)}}))}}();break;case"fetch":(function(){if(!qe())return!1;var e=(0,P.R)();if(Be(e.fetch))return!0;var t=!1,n=e.document;if(n&&"function"==typeof n.createElement)try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=Be(r.contentWindow.fetch)),n.head.removeChild(r)}catch(e){H.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return t})()&&Q(It,"fetch",(function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r={args:t,fetchData:{method:Lt(t),url:Ut(t)},startTimestamp:Date.now()};return Dt("fetch",l({},r)),e.apply(It,t).then((function(e){return Dt("fetch",l(l({},r),{endTimestamp:Date.now(),response:e})),e}),(function(e){throw Dt("fetch",l(l({},r),{endTimestamp:Date.now(),error:e})),e}))}}));break;case"history":!function(){if(function(){var e=(0,P.R)(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}()){var e=It.onpopstate;It.onpopstate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=It.location.href,o=Pt;if(Pt=r,Dt("history",{from:o,to:r}),e)try{return e.apply(this,t)}catch(e){}},Q(It.history,"pushState",t),Q(It.history,"replaceState",t)}function t(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.length>2?t[2]:void 0;if(r){var o=Pt,i=String(r);Pt=i,Dt("history",{from:o,to:i})}return e.apply(this,t)}}}();break;case"error":qt=It.onerror,It.onerror=function(e,t,n,r,o){return Dt("error",{column:r,error:o,line:n,msg:e,url:t}),!!qt&&qt.apply(this,arguments)};break;case"unhandledrejection":Bt=It.onunhandledrejection,It.onunhandledrejection=function(e){return Dt("unhandledrejection",e),!Bt||Bt.apply(this,arguments)};break;default:H.warn("unknown instrumentation type:",e)}}(e.type))}function Dt(e,t){var n,r;if(e&&Ct[e])try{for(var o=p(Ct[e]||[]),i=o.next();!i.done;i=o.next()){var a=i.value;try{a(t)}catch(t){H.error("Error while triggering instrumentation handler.\nType: "+e+"\nName: "+V(a)+"\nError: "+t)}}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}function Lt(e){return void 0===e&&(e=[]),"Request"in It&&w(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function Ut(e){return void 0===e&&(e=[]),"string"==typeof e[0]?e[0]:"Request"in It&&w(e[0],Request)?e[0].url:String(e[0])}function Mt(e,t){return void 0===t&&(t=!1),function(n){if(n&&Rt!==n&&!function(e){if("keypress"!==e.type)return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(e){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===jt||function(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(e){}return!1}(Rt,n))&&(e({event:n,name:r,global:t}),Rt=n),clearTimeout(jt),jt=It.setTimeout((function(){jt=void 0}),1e3)}}}var Ft,qt=null,Bt=null,Ht=function(){function e(t){this.name=e.id,this._options=l({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return e.prototype.addSentryBreadcrumb=function(e){this._options.sentry&&le().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:N(e)},{event:e})},e.prototype.setupOnce=function(){var e=this;this._options.console&&Nt({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._consoleBreadcrumb.apply(e,d(t))},type:"console"}),this._options.dom&&Nt({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._domBreadcrumb.apply(e,d(t))},type:"dom"}),this._options.xhr&&Nt({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._xhrBreadcrumb.apply(e,d(t))},type:"xhr"}),this._options.fetch&&Nt({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._fetchBreadcrumb.apply(e,d(t))},type:"fetch"}),this._options.history&&Nt({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._historyBreadcrumb.apply(e,d(t))},type:"history"})},e.prototype._consoleBreadcrumb=function(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:c.fromString(e.level),message:K(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message="Assertion failed: "+(K(e.args.slice(1)," ")||"console.assert"),t.data.arguments=e.args.slice(1)}le().addBreadcrumb(t,{input:e.args,level:e.level})},e.prototype._domBreadcrumb=function(e){var t,n="object"==typeof this._options.dom?this._options.dom.serializeAttribute:void 0;"string"==typeof n&&(n=[n]);try{t=e.event.target?W(e.event.target,n):W(e.event,n)}catch(e){t="<unknown>"}0!==t.length&&le().addBreadcrumb({category:"ui."+e.name,message:t},{event:e.event,name:e.name,global:e.global})},e.prototype._xhrBreadcrumb=function(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;var t=e.xhr.__sentry_xhr__||{},n=t.method,r=t.url,o=t.status_code,i=t.body;le().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:e.xhr,input:i})}},e.prototype._fetchBreadcrumb=function(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?le().addBreadcrumb({category:"fetch",data:e.fetchData,level:c.Error,type:"http"},{data:e.error,input:e.args}):le().addBreadcrumb({category:"fetch",data:l(l({},e.fetchData),{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))},e.prototype._historyBreadcrumb=function(e){var t=(0,P.R)(),n=e.from,r=e.to,o=A(t.location.href),i=A(n),a=A(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),le().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},e.id="Breadcrumbs",e}(),Gt=function(e){function t(t){return void 0===t&&(t={}),t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:je}],version:je},e.call(this,bt,t)||this}return s(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),(0,P.R)().document&&(this._isEnabled()?Tt(l(l({},e),{dsn:e.dsn||this.getDsn()})):H.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,n,r){return t.platform=t.platform||"javascript",e.prototype._prepareEvent.call(this,t,n,r)},t.prototype._sendEvent=function(t){var n=this.getIntegration(Ht);n&&n.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(Ue),Wt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Yt=function(){function e(t){void 0===t&&(t={}),this._options=t,this.name=e.id}return e.prototype.setupOnce=function(){I((function(t){var n=le();if(!n)return t;var r=n.getIntegration(e);if(r){var o=n.getClient(),i=o?o.getOptions():{},a="function"==typeof r._mergeOptions?r._mergeOptions(i):{};return"function"!=typeof r._shouldDropEvent?t:r._shouldDropEvent(t,a)?null:t}return t}))},e.prototype._shouldDropEvent=function(e,t){return this._isSentryError(e,t)?(H.warn("Event dropped due to being internal Sentry Error.\nEvent: "+N(e)),!0):this._isIgnoredError(e,t)?(H.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+N(e)),!0):this._isDeniedUrl(e,t)?(H.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+N(e)+".\nUrl: "+this._getEventFilterUrl(e)),!0):!this._isAllowedUrl(e,t)&&(H.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+N(e)+".\nUrl: "+this._getEventFilterUrl(e)),!0)},e.prototype._isSentryError=function(e,t){if(!t.ignoreInternal)return!1;try{return e&&e.exception&&e.exception.values&&e.exception.values[0]&&"SentryError"===e.exception.values[0].type||!1}catch(e){return!1}},e.prototype._isIgnoredError=function(e,t){return!(!t.ignoreErrors||!t.ignoreErrors.length)&&this._getPossibleEventMessages(e).some((function(e){return t.ignoreErrors.some((function(t){return $(e,t)}))}))},e.prototype._isDeniedUrl=function(e,t){if(!t.denyUrls||!t.denyUrls.length)return!1;var n=this._getEventFilterUrl(e);return!!n&&t.denyUrls.some((function(e){return $(n,e)}))},e.prototype._isAllowedUrl=function(e,t){if(!t.allowUrls||!t.allowUrls.length)return!0;var n=this._getEventFilterUrl(e);return!n||t.allowUrls.some((function(e){return $(n,e)}))},e.prototype._mergeOptions=function(e){return void 0===e&&(e={}),{allowUrls:d(this._options.whitelistUrls||[],this._options.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:d(this._options.blacklistUrls||[],this._options.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:d(this._options.ignoreErrors||[],e.ignoreErrors||[],Wt),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal}},e.prototype._getPossibleEventMessages=function(e){if(e.message)return[e.message];if(e.exception)try{var t=e.exception.values&&e.exception.values[0]||{},n=t.type,r=void 0===n?"":n,o=t.value,i=void 0===o?"":o;return[""+i,r+": "+i]}catch(t){return H.error("Cannot extract message for event "+N(e)),[]}return[]},e.prototype._getLastValidUrl=function(e){var t,n;void 0===e&&(e=[]);for(var r=e.length-1;r>=0;r--){var o=e[r];if("<anonymous>"!==(null===(t=o)||void 0===t?void 0:t.filename)&&"[native code]"!==(null===(n=o)||void 0===n?void 0:n.filename))return o.filename||null}return null},e.prototype._getEventFilterUrl=function(e){try{if(e.stacktrace){var t=e.stacktrace.frames;return this._getLastValidUrl(t)}if(e.exception){var n=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return this._getLastValidUrl(n)}return null}catch(t){return H.error("Cannot extract url for event "+N(e)),null}},e.id="InboundFilters",e}(),zt=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){Ft=Function.prototype.toString,Function.prototype.toString=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.__sentry_original__||this;return Ft.apply(n,e)}},e.id="FunctionToString",e}(),Jt=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Vt=function(){function e(t){this.name=e.id,this._options=l({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}return e.prototype.setupOnce=function(){var e=(0,P.R)();this._options.setTimeout&&Q(e,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&Q(e,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&Q(e,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in e&&Q(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:Jt).forEach(this._wrapEventTarget.bind(this))},e.prototype._wrapTimeFunction=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0];return t[0]=kt(r,{mechanism:{data:{function:V(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}},e.prototype._wrapRAF=function(e){return function(t){return e.call(this,kt(t,{mechanism:{data:{function:"requestAnimationFrame",handler:V(e)},handled:!0,type:"instrument"}}))}},e.prototype._wrapEventTarget=function(e){var t=(0,P.R)(),n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Q(n,"addEventListener",(function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=kt(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:V(r),target:e},handled:!0,type:"instrument"}}))}catch(e){}return t.call(this,n,kt(r,{mechanism:{data:{function:"addEventListener",handler:V(r),target:e},handled:!0,type:"instrument"}}),o)}})),Q(n,"removeEventListener",(function(e){return function(t,n,r){var o,i=n;try{var a=null===(o=i)||void 0===o?void 0:o.__sentry_wrapped__;a&&e.call(this,t,a,r)}catch(e){}return e.call(this,t,i,r)}})))},e.prototype._wrapXHR=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this,o=["onload","onerror","onprogress","onreadystatechange"];return o.forEach((function(e){e in r&&"function"==typeof r[e]&&Q(r,e,(function(t){var n={mechanism:{data:{function:e,handler:V(t)},handled:!0,type:"instrument"}};return t.__sentry_original__&&(n.mechanism.data.handler=V(t.__sentry_original__)),kt(t,n)}))})),e.apply(this,t)}},e.id="TryCatch",e}(),Xt=function(){function e(t){this.name=e.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=l({onerror:!0,onunhandledrejection:!0},t)}return e.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(H.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(H.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},e.prototype._installGlobalOnErrorHandler=function(){var t=this;this._onErrorHandlerInstalled||(Nt({callback:function(n){var r=n.error,o=le(),i=o.getIntegration(e),a=r&&!0===r.__sentry_own_request__;if(i&&!St()&&!a){var s=o.getClient(),c=void 0===r&&g(n.msg)?t._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):t._enhanceEventWithInitialFrame(it(r||n.msg,void 0,{attachStacktrace:s&&s.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);L(c,{handled:!1,type:"onerror"}),o.captureEvent(c,{originalException:r})}},type:"error"}),this._onErrorHandlerInstalled=!0)},e.prototype._installGlobalOnUnhandledRejectionHandler=function(){var t=this;this._onUnhandledRejectionHandlerInstalled||(Nt({callback:function(n){var r=n;try{"reason"in n?r=n.reason:"detail"in n&&"reason"in n.detail&&(r=n.detail.reason)}catch(e){}var o=le(),i=o.getIntegration(e),a=r&&!0===r.__sentry_own_request__;if(!i||St()||a)return!0;var s=o.getClient(),u=m(r)?t._eventFromRejectionWithPrimitive(r):it(r,void 0,{attachStacktrace:s&&s.getOptions().attachStacktrace,rejection:!0});u.level=c.Error,L(u,{handled:!1,type:"onunhandledrejection"}),o.captureEvent(u,{originalException:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},e.prototype._eventFromIncompleteOnError=function(e,t,n,r){var o,i=v(e)?e.message:e,a=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);a&&(o=a[1],i=a[2]);var s={exception:{values:[{type:o||"Error",value:i}]}};return this._enhanceEventWithInitialFrame(s,t,n,r)},e.prototype._eventFromRejectionWithPrimitive=function(e){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(e)}]}}},e.prototype._enhanceEventWithInitialFrame=function(e,t,n,r){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].stacktrace=e.exception.values[0].stacktrace||{},e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames||[];var o=isNaN(parseInt(r,10))?void 0:r,i=isNaN(parseInt(n,10))?void 0:n,a=g(t)&&t.length>0?t:function(){var e=(0,P.R)();try{return e.document.location.href}catch(e){return""}}();return 0===e.exception.values[0].stacktrace.frames.length&&e.exception.values[0].stacktrace.frames.push({colno:o,filename:a,function:"?",in_app:!0,lineno:i}),e},e.id="GlobalHandlers",e}(),Kt=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._key=t.key||"cause",this._limit=t.limit||5}return e.prototype.setupOnce=function(){I((function(t,n){var r=le().getIntegration(e);if(r){var o=r._handler&&r._handler.bind(r);return"function"==typeof o?o(t,n):t}return t}))},e.prototype._handler=function(e,t){if(!(e.exception&&e.exception.values&&t&&w(t.originalException,Error)))return e;var n=this._walkErrorTree(t.originalException,this._key);return e.exception.values=d(n,e.exception.values),e},e.prototype._walkErrorTree=function(e,t,n){if(void 0===n&&(n=[]),!w(e[t],Error)||n.length+1>=this._limit)return n;var r=et(Ke(e[t]));return this._walkErrorTree(e[t],t,d([r],n))},e.id="LinkedErrors",e}(),$t=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n().getIntegration(e);if(r){try{if(r._shouldDropEvent(t,r._previousEvent))return H.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){return r._previousEvent=t}return r._previousEvent=t}return t}))},e.prototype._shouldDropEvent=function(e,t){return!(!t||!this._isSameMessageEvent(e,t)&&!this._isSameExceptionEvent(e,t))},e.prototype._isSameMessageEvent=function(e,t){var n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!this._isSameFingerprint(e,t)||!this._isSameStacktrace(e,t))},e.prototype._getFramesFromEvent=function(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}else if(e.stacktrace)return e.stacktrace.frames},e.prototype._isSameStacktrace=function(e,t){var n=this._getFramesFromEvent(e),r=this._getFramesFromEvent(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,(r=r).length!==n.length)return!1;for(var o=0;o<r.length;o++){var i=r[o],a=n[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0},e.prototype._getExceptionFromEvent=function(e){return e.exception&&e.exception.values&&e.exception.values[0]},e.prototype._isSameExceptionEvent=function(e,t){var n=this._getExceptionFromEvent(t),r=this._getExceptionFromEvent(e);return!!(n&&r&&n.type===r.type&&n.value===r.value&&this._isSameFingerprint(e,t)&&this._isSameStacktrace(e,t))},e.prototype._isSameFingerprint=function(e,t){var n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(e){return!1}},e.id="Dedupe",e}(),Qt=(0,P.R)(),Zt=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){I((function(t){var n,r,o;if(le().getIntegration(e)){if(!Qt.navigator&&!Qt.location&&!Qt.document)return t;var i=(null===(n=t.request)||void 0===n?void 0:n.url)||(null===(r=Qt.location)||void 0===r?void 0:r.href),a=(Qt.document||{}).referrer,s=(Qt.navigator||{}).userAgent,c=l(l(l({},null===(o=t.request)||void 0===o?void 0:o.headers),a&&{Referer:a}),s&&{"User-Agent":s}),u=l(l({},i&&{url:i}),{headers:c});return l(l({},t),{request:u})}return t}))},e.id="UserAgent",e}(),en=[new Yt,new zt,new Vt,new Ht,new Xt,new Kt,new $t,new Zt];function tn(e){if(void 0===e&&(e={}),void 0===e.defaultIntegrations&&(e.defaultIntegrations=en),void 0===e.release){var t=(0,P.R)();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0),function(e,t){var n;!0===t.debug&&H.enable();var r=le();null===(n=r.getScope())||void 0===n||n.update(t.initialScope);var o=new e(t);r.bindClient(o)}(Gt,e),e.autoSessionTracking&&function(){if(void 0!==(0,P.R)().document){var e=le();"function"==typeof e.startSession&&"function"==typeof e.captureSession&&(e.startSession({ignoreDuration:!0}),e.captureSession(),Nt({callback:function(t){var n=t.from,r=t.to;void 0!==n&&n!==r&&(e.startSession({ignoreDuration:!0}),e.captureSession())},type:"history"}))}else H.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}function nn(e){void 0===e&&(e={});var t=le(),n=t.getScope();n&&(e.user=l(l({},n.getUser()),e.user)),e.eventId||(e.eventId=t.lastEventId());var r=t.getClient();r&&r.showReportDialog(e)}function rn(){return le().lastEventId()}function on(){}function an(e){e()}function sn(e){var t=le().getClient();return t?t.flush(e):(H.warn("Cannot flush events. No client defined."),T.resolve(!1))}function cn(e){var t=le().getClient();return t?t.close(e):(H.warn("Cannot flush events and disable SDK. No client defined."),T.resolve(!1))}function un(e){return kt(e)()}var ln="sentry.javascript.browser",pn={},fn=(0,P.R)();fn.Sentry&&fn.Sentry.Integrations&&(pn=fn.Sentry.Integrations);var dn=l(l(l({},pn),r),o)},2991:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(1422),o={};function i(){return(0,r.KV)()?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}},1422:(e,t,n)=>{"use strict";function r(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(e,t){return e.require(t)}n.d(t,{KV:()=>r,l$:()=>o}),e=n.hmd(e)},1170:(e,t,n)=>{"use strict";n.d(t,{yW:()=>c,ph:()=>u});var r=n(2991),o=n(1422);e=n.hmd(e);var i={nowSeconds:function(){return Date.now()/1e3}},a=(0,o.KV)()?function(){try{return(0,o.l$)(e,"perf_hooks").performance}catch(e){return}}():function(){var e=(0,r.R)().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),s=void 0===a?i:{nowSeconds:function(){return(a.timeOrigin+a.now())/1e3}},c=i.nowSeconds.bind(i),u=s.nowSeconds.bind(s);!function(){var e=(0,r.R)().performance;if(e&&e.now){var t=36e5,n=e.now(),o=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-o):t,a=i<t,s=e.timing&&e.timing.navigationStart,c="number"==typeof s?Math.abs(s+n-o):t;(a||c<t)&&(i<=c&&e.timeOrigin)}}()},9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{"use strict";var r=n(4867),o=n(6026),i=n(4372),a=n(5327),s=n(4097),c=n(4109),u=n(7985),l=n(5061),p=n(5655),f=n(5263);e.exports=function(e){return new Promise((function(t,n){var d,h=e.data,v=e.headers,y=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}r.isFormData(h)&&delete v["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var _=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(_+":"+E)}var b=s(e.baseURL,e.url);function x(){if(m){var r="getAllResponseHeaders"in m?c(m.getAllResponseHeaders()):null,i={data:y&&"text"!==y&&"json"!==y?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m};o((function(e){t(e),g()}),(function(e){n(e),g()}),i),m=null}}if(m.open(e.method.toUpperCase(),a(b,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,"onloadend"in m?m.onloadend=x:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(x)},m.onabort=function(){m&&(n(l("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){n(l("Network Error",e,null,m)),m=null},m.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||p.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},r.isStandardBrowserEnv()){var w=(e.withCredentials||u(b))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;w&&(v[e.xsrfHeaderName]=w)}"setRequestHeader"in m&&r.forEach(v,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete v[t]:m.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),y&&"json"!==y&&(m.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){m&&(n(!e||e&&e.type?new f("canceled"):e),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),h||(h=null),m.send(h)}))}},1609:(e,t,n)=>{"use strict";var r=n(4867),o=n(1849),i=n(321),a=n(7185),s=function e(t){var n=new i(t),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(5655));s.Axios=i,s.Cancel=n(5263),s.CancelToken=n(4972),s.isCancel=n(6502),s.VERSION=n(7288).version,s.all=function(e){return Promise.all(e)},s.spread=n(8713),s.isAxiosError=n(6268),e.exports=s,e.exports.default=s},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,n)=>{"use strict";var r=n(5263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(4867),o=n(5327),i=n(782),a=n(3572),s=n(7185),c=n(4875),u=c.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var p=e;n.length;){var f=n.shift(),d=n.shift();try{p=f(p)}catch(e){d(e);break}}try{o=a(p)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=l},782:(e,t,n)=>{"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},4097:(e,t,n)=>{"use strict";var r=n(1793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},5061:(e,t,n)=>{"use strict";var r=n(481);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},3572:(e,t,n)=>{"use strict";var r=n(4867),o=n(8527),i=n(6502),a=n(5655),s=n(5263);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},7185:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function c(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||i,o=t(e);r.isUndefined(o)&&t!==c||(n[e]=o)})),n}},6026:(e,t,n)=>{"use strict";var r=n(5061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:(e,t,n)=>{"use strict";var r=n(4867),o=n(5655);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},5655:(e,t,n)=>{"use strict";var r=n(4867),o=n(6016),i=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=n(5448)),c),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(a)})),e.exports=u},7288:e=>{e.exports={version:"0.24.0"}},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},5327:(e,t,n)=>{"use strict";var r=n(4867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},7985:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:(e,t,n)=>{"use strict";var r=n(4867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4875:(e,t,n)=>{"use strict";var r=n(7288).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],c=void 0===s||a(s,i,e);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},4867:(e,t,n)=>{"use strict";var r=n(1849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return s(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},9116:(e,t,n)=>{n(9601);var r=n(857);e.exports=r.Object.assign},7633:(e,t,n)=>{n(9170),n(6992),n(1539),n(8674),n(7922),n(4668),n(7727),n(8783);var r=n(857);e.exports=r.Promise},1951:(e,t,n)=>{n(2526);var r=n(857);e.exports=r.Symbol.keyFor},6074:(e,t,n)=>{"use strict";n(6992),n(1532),n(4838);var r=n(857),o=n(2104),i=n(614),a=r.Map,s=a.of;e.exports=function(){return o(s,i(this)?this:a,arguments)}},7671:(e,t,n)=>{var r=n(4977);e.exports=r},8509:(e,t,n)=>{var r=n(6155);e.exports=r},9662:(e,t,n)=>{var r=n(7854),o=n(614),i=n(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},9483:(e,t,n)=>{var r=n(7854),o=n(4411),i=n(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},6077:(e,t,n)=>{var r=n(7854),o=n(614),i=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},1223:(e,t,n)=>{var r=n(5112),o=n(30),i=n(3070),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},5787:(e,t,n)=>{var r=n(7854),o=n(7976),i=r.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw i("Incorrect invocation")}},9670:(e,t,n)=>{var r=n(7854),o=n(111),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},7556:(e,t,n)=>{var r=n(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},1318:(e,t,n)=>{var r=n(5656),o=n(1400),i=n(6244),a=function(e){return function(t,n,a){var s,c=r(t),u=i(c),l=o(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:(e,t,n)=>{var r=n(9974),o=n(1702),i=n(8361),a=n(7908),s=n(6244),c=n(5417),u=o([].push),l=function(e){var t=1==e,n=2==e,o=3==e,l=4==e,p=6==e,f=7==e,d=5==e||p;return function(h,v,y,g){for(var m,_,E=a(h),b=i(E),x=r(v,y),w=s(b),S=0,O=g||c,k=t?O(h,w):n||f?O(h,0):void 0;w>S;S++)if((d||S in b)&&(_=x(m=b[S],S,E),e))if(t)k[S]=_;else if(_)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:u(k,m)}else switch(e){case 4:return!1;case 7:u(k,m)}return p?-1:o||l?l:k}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},1589:(e,t,n)=>{var r=n(7854),o=n(1400),i=n(6244),a=n(6135),s=r.Array,c=Math.max;e.exports=function(e,t,n){for(var r=i(e),u=o(t,r),l=o(void 0===n?r:n,r),p=s(c(l-u,0)),f=0;u<l;u++,f++)a(p,f,e[u]);return p.length=f,p}},206:(e,t,n)=>{var r=n(1702);e.exports=r([].slice)},7475:(e,t,n)=>{var r=n(7854),o=n(3157),i=n(4411),a=n(111),s=n(5112)("species"),c=r.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(i(t)&&(t===c||o(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?c:t}},5417:(e,t,n)=>{var r=n(7475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},7072:(e,t,n)=>{var r=n(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},4326:(e,t,n)=>{var r=n(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:(e,t,n)=>{var r=n(7854),o=n(1694),i=n(614),a=n(4326),s=n(5112)("toStringTag"),c=r.Object,u="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=c(e),s))?n:u?a(t):"Object"==(r=a(t))&&i(t.callee)?"Arguments":r}},7741:(e,t,n)=>{var r=n(1702),o=n(1589),i=r("".replace),a=r("".split),s=r([].join),c=String(Error("zxcasd").stack),u=/\n\s*at [^:]*:[^\n]*/,l=u.test(c),p=/@[^\n]*\n/.test(c)&&!/zxcasd/.test(c);e.exports=function(e,t){if("string"!=typeof e)return e;if(l)for(;t--;)e=i(e,u,"");else if(p)return s(o(a(e,"\n"),t),"\n");return e}},2044:(e,t,n)=>{"use strict";var r=n(206);e.exports=function(){return new this(r(arguments))}},5631:(e,t,n)=>{"use strict";var r=n(3070).f,o=n(30),i=n(2248),a=n(9974),s=n(5787),c=n(408),u=n(654),l=n(6340),p=n(9781),f=n(2423).fastKey,d=n(9909),h=d.set,v=d.getterFor;e.exports={getConstructor:function(e,t,n,u){var l=e((function(e,r){s(e,d),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),p||(e.size=0),null!=r&&c(r,e[u],{that:e,AS_ENTRIES:n})})),d=l.prototype,y=v(t),g=function(e,t,n){var r,o,i=y(e),a=m(e,t);return a?a.value=n:(i.last=a={index:o=f(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),p?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,t){var n,r=y(e),o=f(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(d,{clear:function(){for(var e=y(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,n=y(t),r=m(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=y(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!m(this,e)}}),i(d,n?{get:function(e){var t=m(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),p&&r(d,"size",{get:function(){return y(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",o=v(t),i=v(r);u(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},7710:(e,t,n)=>{"use strict";var r=n(2109),o=n(7854),i=n(1702),a=n(4705),s=n(1320),c=n(2423),u=n(408),l=n(5787),p=n(614),f=n(111),d=n(7293),h=n(7072),v=n(8003),y=n(9587);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),_=g?"set":"add",E=o[e],b=E&&E.prototype,x=E,w={},S=function(e){var t=i(b[e]);s(b,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(m&&!f(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return m&&!f(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(m&&!f(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!p(E)||!(m||b.forEach&&!d((function(){(new E).entries().next()})))))x=n.getConstructor(t,e,g,_),c.enable();else if(a(e,!0)){var O=new x,k=O[_](m?{}:-0,1)!=O,T=d((function(){O.has(1)})),P=h((function(e){new E(e)})),j=!m&&d((function(){for(var e=new E,t=5;t--;)e[_](t,t);return!e.has(-0)}));P||((x=t((function(e,t){l(e,b);var n=y(new E,e,x);return null!=t&&u(t,n[_],{that:n,AS_ENTRIES:g}),n}))).prototype=b,b.constructor=x),(T||j)&&(S("delete"),S("has"),g&&S("get")),(j||k)&&S(_),m&&b.clear&&delete b.clear}return w[e]=x,r({global:!0,forced:x!=E},w),v(x,e),m||n.setStrong(x,e,g),x}},9920:(e,t,n)=>{var r=n(2597),o=n(3887),i=n(1236),a=n(3070);e.exports=function(e,t){for(var n=o(t),s=a.f,c=i.f,u=0;u<n.length;u++){var l=n[u];r(e,l)||s(e,l,c(t,l))}}},8544:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:(e,t,n)=>{"use strict";var r=n(3383).IteratorPrototype,o=n(30),i=n(9114),a=n(8003),s=n(7497),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=o(r,{next:i(+!u,n)}),a(e,l,!1,!0),s[l]=c,e}},8880:(e,t,n)=>{var r=n(9781),o=n(3070),i=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:(e,t,n)=>{"use strict";var r=n(4948),o=n(3070),i=n(9114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},654:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),i=n(1913),a=n(6530),s=n(614),c=n(4994),u=n(9518),l=n(7674),p=n(8003),f=n(8880),d=n(1320),h=n(5112),v=n(7497),y=n(3383),g=a.PROPER,m=a.CONFIGURABLE,_=y.IteratorPrototype,E=y.BUGGY_SAFARI_ITERATORS,b=h("iterator"),x="keys",w="values",S="entries",O=function(){return this};e.exports=function(e,t,n,a,h,y,k){c(n,t,a);var T,P,j,R=function(e){if(e===h&&D)return D;if(!E&&e in A)return A[e];switch(e){case x:case w:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",C=!1,A=e.prototype,N=A[b]||A["@@iterator"]||h&&A[h],D=!E&&N||R(h),L="Array"==t&&A.entries||N;if(L&&(T=u(L.call(new e)))!==Object.prototype&&T.next&&(i||u(T)===_||(l?l(T,_):s(T[b])||d(T,b,O)),p(T,I,!0,!0),i&&(v[I]=O)),g&&h==w&&N&&N.name!==w&&(!i&&m?f(A,"name",w):(C=!0,D=function(){return o(N,this)})),h)if(P={values:R(w),keys:y?D:R(x),entries:R(S)},k)for(j in P)(E||C||!(j in A))&&d(A,j,P[j]);else r({target:t,proto:!0,forced:E||C},P);return i&&!k||A[b]===D||d(A,b,D,{name:h}),v[t]=D,P}},7235:(e,t,n)=>{var r=n(857),o=n(2597),i=n(6061),a=n(3070).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},9781:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,t,n)=>{var r=n(7854),o=n(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},7871:e=>{e.exports="object"==typeof window},1528:(e,t,n)=>{var r=n(8113),o=n(7854);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},6833:(e,t,n)=>{var r=n(8113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:(e,t,n)=>{var r=n(4326),o=n(7854);e.exports="process"==r(o.process)},1036:(e,t,n)=>{var r=n(8113);e.exports=/web0s(?!.*chrome)/i.test(r)},8113:(e,t,n)=>{var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,o,i=n(7854),a=n(8113),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2914:(e,t,n)=>{var r=n(7293),o=n(9114);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},2109:(e,t,n)=>{var r=n(7854),o=n(1236).f,i=n(8880),a=n(1320),s=n(3505),c=n(9920),u=n(4705);e.exports=function(e,t){var n,l,p,f,d,h=e.target,v=e.global,y=e.stat;if(n=v?r:y?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(f=t[l],p=e.noTargetGet?(d=o(n,l))&&d.value:n[l],!u(v?l:h+(y?".":"#")+l,e.forced)&&void 0!==p){if(typeof f==typeof p)continue;c(f,p)}(e.sham||p&&p.sham)&&i(f,"sham",!0),a(n,l,f,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6677:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:e=>{var t=Function.prototype,n=t.apply,r=t.bind,o=t.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(n):function(){return o.apply(n,arguments)})},9974:(e,t,n)=>{var r=n(1702),o=n(9662),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?i(e,t):function(){return e.apply(t,arguments)}}},6916:e=>{var t=Function.prototype.call;e.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},6530:(e,t,n)=>{var r=n(9781),o=n(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},1702:e=>{var t=Function.prototype,n=t.bind,r=t.call,o=n&&n.bind(r);e.exports=n?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},5005:(e,t,n)=>{var r=n(7854),o=n(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},1246:(e,t,n)=>{var r=n(648),o=n(8173),i=n(7497),a=n(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},8554:(e,t,n)=>{var r=n(7854),o=n(6916),i=n(9662),a=n(9670),s=n(6330),c=n(1246),u=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(i(n))return a(o(n,e));throw u(s(e)+" is not iterable")}},8173:(e,t,n)=>{var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},7854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(e,t,n)=>{var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:e=>{e.exports={}},842:(e,t,n)=>{var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},490:(e,t,n)=>{var r=n(5005);e.exports=r("document","documentElement")},4664:(e,t,n)=>{var r=n(9781),o=n(7293),i=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,n)=>{var r=n(7854),o=n(1702),i=n(7293),a=n(4326),s=r.Object,c=o("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):s(e)}:s},9587:(e,t,n)=>{var r=n(614),o=n(111),i=n(7674);e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},2788:(e,t,n)=>{var r=n(1702),o=n(614),i=n(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},8340:(e,t,n)=>{var r=n(111),o=n(8880);e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},2423:(e,t,n)=>{var r=n(2109),o=n(1702),i=n(3501),a=n(111),s=n(2597),c=n(3070).f,u=n(8006),l=n(1156),p=n(2050),f=n(9711),d=n(6677),h=!1,v=f("meta"),y=0,g=function(e){c(e,v,{value:{objectID:"O"+y++,weakData:{}}})},m=e.exports={enable:function(){m.enable=function(){},h=!0;var e=u.f,t=o([].splice),n={};n[v]=1,e(n).length&&(u.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===v){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,v)){if(!p(e))return"F";if(!t)return"E";g(e)}return e[v].objectID},getWeakData:function(e,t){if(!s(e,v)){if(!p(e))return!0;if(!t)return!1;g(e)}return e[v].weakData},onFreeze:function(e){return d&&h&&p(e)&&!s(e,v)&&g(e),e}};i[v]=!0},9909:(e,t,n)=>{var r,o,i,a=n(8536),s=n(7854),c=n(1702),u=n(111),l=n(8880),p=n(2597),f=n(5465),d=n(6200),h=n(3501),v="Object already initialized",y=s.TypeError,g=s.WeakMap;if(a||f.state){var m=f.state||(f.state=new g),_=c(m.get),E=c(m.has),b=c(m.set);r=function(e,t){if(E(m,e))throw new y(v);return t.facade=e,b(m,e,t),t},o=function(e){return _(m,e)||{}},i=function(e){return E(m,e)}}else{var x=d("state");h[x]=!0,r=function(e,t){if(p(e,x))throw new y(v);return t.facade=e,l(e,x,t),t},o=function(e){return p(e,x)?e[x]:{}},i=function(e){return p(e,x)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return n}}}},7659:(e,t,n)=>{var r=n(5112),o=n(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:(e,t,n)=>{var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(1702),o=n(7293),i=n(614),a=n(648),s=n(5005),c=n(2788),u=function(){},l=[],p=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=r(f.exec),h=!f.exec(u),v=function(e){if(!i(e))return!1;try{return p(u,l,e),!0}catch(e){return!1}};e.exports=!p||o((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!d(f,c(e))}:v},4705:(e,t,n)=>{var r=n(7293),o=n(614),i=/#|\.prototype\./,a=function(e,t){var n=c[s(e)];return n==l||n!=u&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},111:(e,t,n)=>{var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},2190:(e,t,n)=>{var r=n(7854),o=n(5005),i=n(614),a=n(7976),s=n(3307),c=r.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return i(t)&&a(t.prototype,c(e))}},408:(e,t,n)=>{var r=n(7854),o=n(9974),i=n(6916),a=n(9670),s=n(6330),c=n(7659),u=n(6244),l=n(7976),p=n(8554),f=n(1246),d=n(9212),h=r.TypeError,v=function(e,t){this.stopped=e,this.result=t},y=v.prototype;e.exports=function(e,t,n){var r,g,m,_,E,b,x,w=n&&n.that,S=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),T=o(t,w),P=function(e){return r&&d(r,"normal",e),new v(!0,e)},j=function(e){return S?(a(e),k?T(e[0],e[1],P):T(e[0],e[1])):k?T(e,P):T(e)};if(O)r=e;else{if(!(g=f(e)))throw h(s(e)+" is not iterable");if(c(g)){for(m=0,_=u(e);_>m;m++)if((E=j(e[m]))&&l(y,E))return E;return new v(!1)}r=p(e,g)}for(b=r.next;!(x=i(b,r)).done;){try{E=j(x.value)}catch(e){d(r,"throw",e)}if("object"==typeof E&&E&&l(y,E))return E}return new v(!1)}},9212:(e,t,n)=>{var r=n(6916),o=n(9670),i=n(8173);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},3383:(e,t,n)=>{"use strict";var r,o,i,a=n(7293),s=n(614),c=n(30),u=n(9518),l=n(1320),p=n(5112),f=n(1913),d=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[d].call(e)!==e}))?r={}:f&&(r=c(r)),s(r[d])||l(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,t,n)=>{var r=n(7466);e.exports=function(e){return r(e.length)}},5948:(e,t,n)=>{var r,o,i,a,s,c,u,l,p=n(7854),f=n(9974),d=n(1236).f,h=n(261).set,v=n(6833),y=n(1528),g=n(1036),m=n(5268),_=p.MutationObserver||p.WebKitMutationObserver,E=p.document,b=p.process,x=p.Promise,w=d(p,"queueMicrotask"),S=w&&w.value;S||(r=function(){var e,t;for(m&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},v||m||g||!_||!E?!y&&x&&x.resolve?((u=x.resolve(void 0)).constructor=x,l=f(u.then,u),a=function(){l(r)}):m?a=function(){b.nextTick(r)}:(h=f(h,p),a=function(){h(r)}):(s=!0,c=E.createTextNode(""),new _(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},3366:(e,t,n)=>{var r=n(7854);e.exports=r.Promise},133:(e,t,n)=>{var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,t,n)=>{var r=n(7854),o=n(614),i=n(2788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},8523:(e,t,n)=>{"use strict";var r=n(9662),o=function(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 o(e)}},6277:(e,t,n)=>{var r=n(1340);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},1574:(e,t,n)=>{"use strict";var r=n(9781),o=n(1702),i=n(6916),a=n(7293),s=n(1956),c=n(5181),u=n(5296),l=n(7908),p=n(8361),f=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!f||a((function(){if(r&&1!==f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||s(f({},t)).join("")!=o}))?function(e,t){for(var n=l(e),o=arguments.length,a=1,f=c.f,d=u.f;o>a;)for(var v,y=p(arguments[a++]),g=f?h(s(y),f(y)):s(y),m=g.length,_=0;m>_;)v=g[_++],r&&!i(d,y,v)||(n[v]=y[v]);return n}:f},30:(e,t,n)=>{var r,o=n(9670),i=n(6048),a=n(748),s=n(3501),c=n(490),u=n(317),l=n(6200)("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"<\/script>"},d=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},h=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;h="undefined"!=typeof document?document.domain&&r?d(r):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):d(r);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};s[l]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[l]=e):n=h(),void 0===t?n:i(n,t)}},6048:(e,t,n)=>{var r=n(9781),o=n(3070),i=n(9670),a=n(5656),s=n(1956);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),c=s(t),u=c.length,l=0;u>l;)o.f(e,n=c[l++],r[n]);return e}},3070:(e,t,n)=>{var r=n(7854),o=n(9781),i=n(4664),a=n(9670),s=n(4948),c=r.TypeError,u=Object.defineProperty;t.f=o?u:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:(e,t,n)=>{var r=n(9781),o=n(6916),i=n(5296),a=n(9114),s=n(5656),c=n(4948),u=n(2597),l=n(4664),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=s(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},1156:(e,t,n)=>{var r=n(4326),o=n(5656),i=n(8006).f,a=n(1589),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==r(e)?function(e){try{return i(e)}catch(e){return a(s)}}(e):i(o(e))}},8006:(e,t,n)=>{var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:(e,t)=>{t.f=Object.getOwnPropertySymbols},9518:(e,t,n)=>{var r=n(7854),o=n(2597),i=n(614),a=n(7908),s=n(6200),c=n(8544),u=s("IE_PROTO"),l=r.Object,p=l.prototype;e.exports=c?l.getPrototypeOf:function(e){var t=a(e);if(o(t,u))return t[u];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof l?p:null}},2050:(e,t,n)=>{var r=n(7293),o=n(111),i=n(4326),a=n(7556),s=Object.isExtensible,c=r((function(){s(1)}));e.exports=c||a?function(e){return!!o(e)&&(!a||"ArrayBuffer"!=i(e))&&(!s||s(e))}:s},7976:(e,t,n)=>{var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:(e,t,n)=>{var r=n(1702),o=n(2597),i=n(5656),a=n(1318).indexOf,s=n(3501),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);for(;t.length>u;)o(r,n=t[u++])&&(~a(l,n)||c(l,n));return l}},1956:(e,t,n)=>{var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:(e,t,n)=>{var r=n(1702),o=n(9670),i=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},288:(e,t,n)=>{"use strict";var r=n(1694),o=n(648);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},2140:(e,t,n)=>{var r=n(7854),o=n(6916),i=n(614),a=n(111),s=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&i(n=e.toString)&&!a(r=o(n,e)))return r;if(i(n=e.valueOf)&&!a(r=o(n,e)))return r;if("string"!==t&&i(n=e.toString)&&!a(r=o(n,e)))return r;throw s("Can't convert object to primitive value")}},3887:(e,t,n)=>{var r=n(5005),o=n(1702),i=n(8006),a=n(5181),s=n(9670),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?c(t,n(e)):t}},857:(e,t,n)=>{var r=n(7854);e.exports=r},2534:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9478:(e,t,n)=>{var r=n(9670),o=n(111),i=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},2248:(e,t,n)=>{var r=n(1320);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},1320:(e,t,n)=>{var r=n(7854),o=n(614),i=n(2597),a=n(8880),s=n(3505),c=n(2788),u=n(9909),l=n(6530).CONFIGURABLE,p=u.get,f=u.enforce,d=String(String).split("String");(e.exports=function(e,t,n,c){var u,p=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,v=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:t;o(n)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||l&&n.name!==y)&&a(n,"name",y),(u=f(n)).source||(u.source=d.join("string"==typeof y?y:""))),e!==r?(p?!v&&e[t]&&(h=!0):delete e[t],h?e[t]=n:a(e,t,n)):h?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||c(this)}))},4488:(e,t,n)=>{var r=n(7854).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},3505:(e,t,n)=>{var r=n(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6340:(e,t,n)=>{"use strict";var r=n(5005),o=n(3070),i=n(5112),a=n(9781),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},8003:(e,t,n)=>{var r=n(3070).f,o=n(2597),i=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},6200:(e,t,n)=>{var r=n(2309),o=n(9711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:(e,t,n)=>{var r=n(7854),o=n(3505),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2309:(e,t,n)=>{var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:(e,t,n)=>{var r=n(9670),o=n(9483),i=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},8710:(e,t,n)=>{var r=n(1702),o=n(9303),i=n(1340),a=n(4488),s=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,p=i(a(t)),f=o(n),d=p.length;return f<0||f>=d?e?"":void 0:(r=c(p,f))<55296||r>56319||f+1===d||(l=c(p,f+1))<56320||l>57343?e?s(p,f):r:e?u(p,f,f+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},261:(e,t,n)=>{var r,o,i,a,s=n(7854),c=n(2104),u=n(9974),l=n(614),p=n(2597),f=n(7293),d=n(490),h=n(206),v=n(317),y=n(6833),g=n(5268),m=s.setImmediate,_=s.clearImmediate,E=s.process,b=s.Dispatch,x=s.Function,w=s.MessageChannel,S=s.String,O=0,k={};try{r=s.location}catch(e){}var T=function(e){if(p(k,e)){var t=k[e];delete k[e],t()}},P=function(e){return function(){T(e)}},j=function(e){T(e.data)},R=function(e){s.postMessage(S(e),r.protocol+"//"+r.host)};m&&_||(m=function(e){var t=h(arguments,1);return k[++O]=function(){c(l(e)?e:x(e),void 0,t)},o(O),O},_=function(e){delete k[e]},g?o=function(e){E.nextTick(P(e))}:b&&b.now?o=function(e){b.now(P(e))}:w&&!y?(a=(i=new w).port2,i.port1.onmessage=j,o=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(R)?(o=R,s.addEventListener("message",j,!1)):o="onreadystatechange"in v("script")?function(e){d.appendChild(v("script")).onreadystatechange=function(){d.removeChild(this),T(e)}}:function(e){setTimeout(P(e),0)}),e.exports={set:m,clear:_}},1400:(e,t,n)=>{var r=n(9303),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5656:(e,t,n)=>{var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){var r=+e;return r!=r||0===r?0:(r>0?n:t)(r)}},7466:(e,t,n)=>{var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:(e,t,n)=>{var r=n(7854),o=n(4488),i=r.Object;e.exports=function(e){return i(o(e))}},7593:(e,t,n)=>{var r=n(7854),o=n(6916),i=n(111),a=n(2190),s=n(8173),c=n(2140),u=n(5112),l=r.TypeError,p=u("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n,r=s(e,p);if(r){if(void 0===t&&(t="default"),n=o(r,e,t),!i(n)||a(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},4948:(e,t,n)=>{var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1694:(e,t,n)=>{var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},1340:(e,t,n)=>{var r=n(7854),o=n(648),i=r.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},6330:(e,t,n)=>{var r=n(7854).String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},9711:(e,t,n)=>{var r=n(1702),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},3307:(e,t,n)=>{var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},6061:(e,t,n)=>{var r=n(5112);t.f=r},5112:(e,t,n)=>{var r=n(7854),o=n(2309),i=n(2597),a=n(9711),s=n(133),c=n(3307),u=o("wks"),l=r.Symbol,p=l&&l.for,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){if(!i(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&i(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):f(t)}return u[e]}},9170:(e,t,n)=>{"use strict";var r=n(2109),o=n(7854),i=n(7976),a=n(9518),s=n(7674),c=n(9920),u=n(30),l=n(8880),p=n(9114),f=n(7741),d=n(8340),h=n(408),v=n(6277),y=n(5112),g=n(2914),m=y("toStringTag"),_=o.Error,E=[].push,b=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=i(x,this);s?n=s(new _(void 0),o?a(this):x):(n=o?this:u(x),l(n,m,"Error")),l(n,"message",v(t,"")),g&&l(n,"stack",f(n.stack,1)),d(n,r);var c=[];return h(e,E,{that:c}),l(n,"errors",c),n};s?s(b,_):c(b,_);var x=b.prototype=u(_.prototype,{constructor:p(1,b),message:p(1,""),name:p(1,"AggregateError")});r({global:!0},{AggregateError:b})},6992:(e,t,n)=>{"use strict";var r=n(5656),o=n(1223),i=n(7497),a=n(9909),s=n(654),c="Array Iterator",u=a.set,l=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){u(this,{type:c,target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},1532:(e,t,n)=>{"use strict";n(7710)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(5631))},9601:(e,t,n)=>{var r=n(2109),o=n(1574);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},1539:(e,t,n)=>{var r=n(1694),o=n(1320),i=n(288);r||o(Object.prototype,"toString",i,{unsafe:!0})},7922:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),i=n(9662),a=n(8523),s=n(2534),c=n(408);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,l=s((function(){var n=i(t.resolve),a=[],s=0,u=1;c(e,(function(e){var i=s++,c=!1;u++,o(n,t,e).then((function(e){c||(c=!0,a[i]={status:"fulfilled",value:e},--u||r(a))}),(function(e){c||(c=!0,a[i]={status:"rejected",reason:e},--u||r(a))}))})),--u||r(a)}));return l.error&&u(l.value),n.promise}})},4668:(e,t,n)=>{"use strict";var r=n(2109),o=n(9662),i=n(5005),a=n(6916),s=n(8523),c=n(2534),u=n(408),l="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=i("AggregateError"),r=s.f(t),p=r.resolve,f=r.reject,d=c((function(){var r=o(t.resolve),i=[],s=0,c=1,d=!1;u(e,(function(e){var o=s++,u=!1;c++,a(r,t,e).then((function(e){u||d||(d=!0,p(e))}),(function(e){u||d||(u=!0,i[o]=e,--c||f(new n(i,l)))}))})),--c||f(new n(i,l))}));return d.error&&f(d.value),r.promise}})},7727:(e,t,n)=>{"use strict";var r=n(2109),o=n(1913),i=n(3366),a=n(7293),s=n(5005),c=n(614),u=n(6707),l=n(9478),p=n(1320);if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,s("Promise")),n=c(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!o&&c(i)){var f=s("Promise").prototype.finally;i.prototype.finally!==f&&p(i.prototype,"finally",f,{unsafe:!0})}},8674:(e,t,n)=>{"use strict";var r,o,i,a,s=n(2109),c=n(1913),u=n(7854),l=n(5005),p=n(6916),f=n(3366),d=n(1320),h=n(2248),v=n(7674),y=n(8003),g=n(6340),m=n(9662),_=n(614),E=n(111),b=n(5787),x=n(2788),w=n(408),S=n(7072),O=n(6707),k=n(261).set,T=n(5948),P=n(9478),j=n(842),R=n(8523),I=n(2534),C=n(9909),A=n(4705),N=n(5112),D=n(7871),L=n(5268),U=n(7392),M=N("species"),F="Promise",q=C.getterFor(F),B=C.set,H=C.getterFor(F),G=f&&f.prototype,W=f,Y=G,z=u.TypeError,J=u.document,V=u.process,X=R.f,K=X,$=!!(J&&J.createEvent&&u.dispatchEvent),Q=_(u.PromiseRejectionEvent),Z="unhandledrejection",ee=!1,te=A(F,(function(){var e=x(W),t=e!==String(W);if(!t&&66===U)return!0;if(c&&!Y.finally)return!0;if(U>=51&&/native code/.test(e))return!1;var n=new W((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[M]=r,!(ee=n.then((function(){}))instanceof r)||!t&&D&&!Q})),ne=te||!S((function(e){W.all(e).catch((function(){}))})),re=function(e){var t;return!(!E(e)||!_(t=e.then))&&t},oe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;T((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,s,c,u=n[i++],l=o?u.ok:u.fail,f=u.resolve,d=u.reject,h=u.domain;try{l?(o||(2===e.rejection&&ce(e),e.rejection=1),!0===l?a=r:(h&&h.enter(),a=l(r),h&&(h.exit(),c=!0)),a===u.promise?d(z("Promise-chain cycle")):(s=re(a))?p(s,a,f,d):f(a)):d(r)}catch(e){h&&!c&&h.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},ie=function(e,t,n){var r,o;$?((r=J.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!Q&&(o=u["on"+e])?o(r):e===Z&&j("Unhandled promise rejection",n)},ae=function(e){p(k,u,(function(){var t,n=e.facade,r=e.value;if(se(e)&&(t=I((function(){L?V.emit("unhandledRejection",r,n):ie(Z,n,r)})),e.rejection=L||se(e)?2:1,t.error))throw t.value}))},se=function(e){return 1!==e.rejection&&!e.parent},ce=function(e){p(k,u,(function(){var t=e.facade;L?V.emit("rejectionHandled",t):ie("rejectionhandled",t,e.value)}))},ue=function(e,t,n){return function(r){e(t,r,n)}},le=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,oe(e,!0))},pe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw z("Promise can't be resolved itself");var r=re(t);r?T((function(){var n={done:!1};try{p(r,t,ue(pe,n,e),ue(le,n,e))}catch(t){le(n,t,e)}})):(e.value=t,e.state=1,oe(e,!1))}catch(t){le({done:!1},t,e)}}};if(te&&(Y=(W=function(e){b(this,Y),m(e),p(r,this);var t=q(this);try{e(ue(pe,t),ue(le,t))}catch(e){le(t,e)}}).prototype,(r=function(e){B(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(Y,{then:function(e,t){var n=H(this),r=n.reactions,o=X(O(this,W));return o.ok=!_(e)||e,o.fail=_(t)&&t,o.domain=L?V.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&oe(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=q(e);this.promise=e,this.resolve=ue(pe,t),this.reject=ue(le,t)},R.f=X=function(e){return e===W||e===i?new o(e):K(e)},!c&&_(f)&&G!==Object.prototype)){a=G.then,ee||(d(G,"then",(function(e,t){var n=this;return new W((function(e,t){p(a,n,e,t)})).then(e,t)}),{unsafe:!0}),d(G,"catch",Y.catch,{unsafe:!0}));try{delete G.constructor}catch(e){}v&&v(G,Y)}s({global:!0,wrap:!0,forced:te},{Promise:W}),y(W,F,!1,!0),g(F),i=l(F),s({target:F,stat:!0,forced:te},{reject:function(e){var t=X(this);return p(t.reject,void 0,e),t.promise}}),s({target:F,stat:!0,forced:c||te},{resolve:function(e){return P(c&&this===i?W:this,e)}}),s({target:F,stat:!0,forced:ne},{all:function(e){var t=this,n=X(t),r=n.resolve,o=n.reject,i=I((function(){var n=m(t.resolve),i=[],a=0,s=1;w(e,(function(e){var c=a++,u=!1;s++,p(n,t,e).then((function(e){u||(u=!0,i[c]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=X(t),r=n.reject,o=I((function(){var o=m(t.resolve);w(e,(function(e){p(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},8783:(e,t,n)=>{"use strict";var r=n(8710).charAt,o=n(1340),i=n(9909),a=n(654),s="String Iterator",c=i.set,u=i.getterFor(s);a(String,"String",(function(e){c(this,{type:s,string:o(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},2526:(e,t,n)=>{"use strict";var r=n(2109),o=n(7854),i=n(5005),a=n(2104),s=n(6916),c=n(1702),u=n(1913),l=n(9781),p=n(133),f=n(7293),d=n(2597),h=n(3157),v=n(614),y=n(111),g=n(7976),m=n(2190),_=n(9670),E=n(7908),b=n(5656),x=n(4948),w=n(1340),S=n(9114),O=n(30),k=n(1956),T=n(8006),P=n(1156),j=n(5181),R=n(1236),I=n(3070),C=n(5296),A=n(206),N=n(1320),D=n(2309),L=n(6200),U=n(3501),M=n(9711),F=n(5112),q=n(6061),B=n(7235),H=n(8003),G=n(9909),W=n(2092).forEach,Y=L("hidden"),z="Symbol",J=F("toPrimitive"),V=G.set,X=G.getterFor(z),K=Object.prototype,$=o.Symbol,Q=$&&$.prototype,Z=o.TypeError,ee=o.QObject,te=i("JSON","stringify"),ne=R.f,re=I.f,oe=P.f,ie=C.f,ae=c([].push),se=D("symbols"),ce=D("op-symbols"),ue=D("string-to-symbol-registry"),le=D("symbol-to-string-registry"),pe=D("wks"),fe=!ee||!ee.prototype||!ee.prototype.findChild,de=l&&f((function(){return 7!=O(re({},"a",{get:function(){return re(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=ne(K,t);r&&delete K[t],re(e,t,n),r&&e!==K&&re(K,t,r)}:re,he=function(e,t){var n=se[e]=O(Q);return V(n,{type:z,tag:e,description:t}),l||(n.description=t),n},ve=function(e,t,n){e===K&&ve(ce,t,n),_(e);var r=x(t);return _(n),d(se,r)?(n.enumerable?(d(e,Y)&&e[Y][r]&&(e[Y][r]=!1),n=O(n,{enumerable:S(0,!1)})):(d(e,Y)||re(e,Y,S(1,{})),e[Y][r]=!0),de(e,r,n)):re(e,r,n)},ye=function(e,t){_(e);var n=b(t),r=k(n).concat(Ee(n));return W(r,(function(t){l&&!s(ge,n,t)||ve(e,t,n[t])})),e},ge=function(e){var t=x(e),n=s(ie,this,t);return!(this===K&&d(se,t)&&!d(ce,t))&&(!(n||!d(this,t)||!d(se,t)||d(this,Y)&&this[Y][t])||n)},me=function(e,t){var n=b(e),r=x(t);if(n!==K||!d(se,r)||d(ce,r)){var o=ne(n,r);return!o||!d(se,r)||d(n,Y)&&n[Y][r]||(o.enumerable=!0),o}},_e=function(e){var t=oe(b(e)),n=[];return W(t,(function(e){d(se,e)||d(U,e)||ae(n,e)})),n},Ee=function(e){var t=e===K,n=oe(t?ce:b(e)),r=[];return W(n,(function(e){!d(se,e)||t&&!d(K,e)||ae(r,se[e])})),r};if(p||(N(Q=($=function(){if(g(Q,this))throw Z("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?w(arguments[0]):void 0,t=M(e),n=function(e){this===K&&s(n,ce,e),d(this,Y)&&d(this[Y],t)&&(this[Y][t]=!1),de(this,t,S(1,e))};return l&&fe&&de(K,t,{configurable:!0,set:n}),he(t,e)}).prototype,"toString",(function(){return X(this).tag})),N($,"withoutSetter",(function(e){return he(M(e),e)})),C.f=ge,I.f=ve,R.f=me,T.f=P.f=_e,j.f=Ee,q.f=function(e){return he(F(e),e)},l&&(re(Q,"description",{configurable:!0,get:function(){return X(this).description}}),u||N(K,"propertyIsEnumerable",ge,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:$}),W(k(pe),(function(e){B(e)})),r({target:z,stat:!0,forced:!p},{for:function(e){var t=w(e);if(d(ue,t))return ue[t];var n=$(t);return ue[t]=n,le[n]=t,n},keyFor:function(e){if(!m(e))throw Z(e+" is not a symbol");if(d(le,e))return le[e]},useSetter:function(){fe=!0},useSimple:function(){fe=!1}}),r({target:"Object",stat:!0,forced:!p,sham:!l},{create:function(e,t){return void 0===t?O(e):ye(O(e),t)},defineProperty:ve,defineProperties:ye,getOwnPropertyDescriptor:me}),r({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:_e,getOwnPropertySymbols:Ee}),r({target:"Object",stat:!0,forced:f((function(){j.f(1)}))},{getOwnPropertySymbols:function(e){return j.f(E(e))}}),te&&r({target:"JSON",stat:!0,forced:!p||f((function(){var e=$();return"[null]"!=te([e])||"{}"!=te({a:e})||"{}"!=te(Object(e))}))},{stringify:function(e,t,n){var r=A(arguments),o=t;if((y(t)||void 0!==e)&&!m(e))return h(t)||(t=function(e,t){if(v(o)&&(t=s(o,this,e,t)),!m(t))return t}),r[1]=t,a(te,null,r)}}),!Q[J]){var be=Q.valueOf;N(Q,J,(function(e){return s(be,this)}))}H($,z),U[Y]=!0},4838:(e,t,n)=>{n(2109)({target:"Map",stat:!0},{of:n(2044)})},4977:(e,t,n)=>{var r=n(9116);e.exports=r},6155:(e,t,n)=>{var r=n(1951);e.exports=r},6245:(e,t,n)=>{"use strict";function r(e){this.message=e}n.r(t),n.d(t,{default:()=>s,InvalidTokenError:()=>a}),r.prototype=new Error,r.prototype.name="InvalidCharacterError";var o="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new r("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,i=0,a=0,s="";o=t.charAt(a++);~o&&(n=i%4?64*n+o:o,i++%4)?s+=String.fromCharCode(255&n>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return s};function i(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(o(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return o(t)}}function a(e){this.message=e}a.prototype=new Error,a.prototype.name="InvalidTokenError";const s=function(e,t){if("string"!=typeof e)throw new a("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(i(e.split(".")[n]))}catch(e){throw new a("Invalid token specified: "+e.message)}}},2081:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerEvents=t.Events=t.Player=t.Client=void 0,n(7633),n(8509),n(6074),n(7671);var i=n(9138);t.Client=i.default;var a=n(909);t.Player=a.default,(0,n(9773).printVersion)();var s=o([r({},i.default.eventNames),r({},a.default.events)],2),c=s[0],u=s[1];t.Events=c,t.PlayerEvents=u},9138:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var i=n(8237),a=n(1808),s=n(4479),c=n(3998),u=n(9259),l=n(3447),p=n(4348),f=o(n(4776).Lp,[]),d=function(){function e(t){var n=this;this.clientConfig=void 0,this.gaProperty="",this.directDeliveryPipe=void 0,this.player=void 0,this.renderHistory=f.emptyHistory,this.eventDelegateRefs=(0,p.cloneWithKeys)(e.eventNames),this.playerIsFallback=!1,this.setup=function(e){var t=f.defaultConfig,o=n.clientConfig||f.defaultConfig,a=new Map,d=null;try{if("object"!=typeof e)throw new l.ClientConfigurationError("badConfig",null);if(!e.hasOwnProperty("storyId")||"string"!=typeof e.storyId)throw new l.ClientConfigurationError("storyId",null);if(!e.hasOwnProperty("accessToken")||"string"!=typeof e.accessToken)throw new l.ClientConfigurationError("accessToken",null);(0,p.prepConfig)(e,t),n.clientConfig=r(r({},o),e),d=new i.default(n.clientConfig.accessToken,n.clientConfig.environment,n.clientConfig.storyId,n.clientConfig.compositionId),a.set("experienceCreated",(function(e){return n.experienceCreated(e)})),a.set("gotExperience",(function(e){return n.gotExperience(e)})),a.set("internalError",(function(e){return n.internalError(e)})),n.directDeliveryPipe=new u.default({api:d,clientDelegates:a,environment:n.clientConfig.environment}),d.getGAProperty().then((function(e){var t=e.gaTrackingId;"string"==typeof t&&t.length>0&&(s.default.initialize(n.clientConfig.gaPlacement),n.gaProperty=t,void 0!==n.player&&n.player.setGaProperty(t))})).catch((function(e){var t=new l.HTTPError("httpFailure",null,e);c.default.trapError(t,n.clientConfig.storyId,null)}))}catch(t){var h=e&&e.storyId?e.storyId:"";c.default.trapError(t,h)}},this.bindPlayer=function(e,t){if(void 0===t&&(t=!1),n.clientConfig){var r=n.clientConfig.storyId;n.playerIsFallback=t,n.player=e,e.setStoryId(r),n.gaProperty&&e.setGaProperty(n.gaProperty)}},this.on=function(t,r){var o=n,i=o.eventDelegateRefs,a=o.eventDelegateRefs.ERROR;if(n.clientConfig){var s=n.clientConfig.storyId;try{if(!(0,p.isFunc)(r))throw new l.ClientConfigurationError("invalidCallbackType",t);if(!(0,p.keyExists)(e.eventNames,t))throw new l.ClientConfigurationError("invalidEventName",t);i[t]=r}catch(e){c.default.trapError(e,s,a)}}},this.off=function(t){void 0===t&&(t="");var r=n,o=r.eventDelegateRefs,i=r.eventDelegateRefs.ERROR;if(n.clientConfig){var a=n.clientConfig.storyId;try{if(t){if(!(0,p.keyExists)(e.eventNames,t))throw new l.ClientConfigurationError("invalidEventName",t);o[t]=null}else Object.keys(e.eventNames).forEach((function(e){o[e]=null}))}catch(e){c.default.trapError(e,a,i)}}},this.captureAnalytics=function(e){void 0===e&&(e=null);var t=n.eventDelegateRefs.ERROR;if(n.clientConfig){var r=n.clientConfig.storyId;try{if(!(e instanceof HTMLVideoElement))throw new l.PlayerConfigurationError("invalidPlayerRef",null);n.bindPlayer(new a.default(e),!0)}catch(e){c.default.trapError(e,r,t)}}},this.getExperience=function(t){if(n.clientConfig){var r=n,o=r.player,i=r.clientConfig.storyId,a=r.eventDelegateRefs,s=a.GOT_EXPERIENCE,u=a.ERROR;try{if(null===o&&!(0,p.isFunc)(s))throw new l.ClientConfigurationError("badConfigOnGet",e.eventNames.GOT_EXPERIENCE);t.length>f.uuidLength&&(t=t.substring(0,f.uuidLength)),n.directDeliveryPipe.getExperience(t)}catch(e){c.default.trapError(e,i,u)}}},this.createExperience=function(t,r){if(void 0===r&&(r=!0),n.clientConfig){var o=n,i=o.player,a=o.playerIsFallback,s=o.clientConfig.storyId,u=o.eventDelegateRefs,f=u.GOT_EXPERIENCE,d=u.UPLOAD_PROGRESS,h=u.ERROR;try{if((null===i||a)&&!(0,p.isFunc)(f))throw new l.ClientConfigurationError("bagConfigOnPostRender",e.eventNames.GOT_EXPERIENCE);n.directDeliveryPipe.createExperience(t,r,d)}catch(e){c.default.trapError(e,s,h)}}},this.renderExperience=function(t){if(n.clientConfig){var r=n,o=r.player,i=r.playerIsFallback,a=r.clientConfig.storyId,s=r.eventDelegateRefs,u=s.GOT_EXPERIENCE,f=s.UPLOAD_PROGRESS,d=s.ERROR;try{if((null===o||i)&&!(0,p.isFunc)(u))throw new l.ClientConfigurationError("bagConfigOnPostRender",e.eventNames.GOT_EXPERIENCE);n.directDeliveryPipe.fetchExperience(t,f)}catch(e){c.default.trapError(e,a,d)}}},this.renderExperienceFromId=function(t){if(n.clientConfig){var r=n,o=r.player,i=r.playerIsFallback,a=r.clientConfig.storyId,s=r.eventDelegateRefs,u=s.GOT_EXPERIENCE,f=s.UPLOAD_PROGRESS,d=s.ERROR;try{if((null===o||i)&&!(0,p.isFunc)(u))throw new l.ClientConfigurationError("bagConfigOnPostRender",e.eventNames.GOT_EXPERIENCE);n.directDeliveryPipe.fetchExperience(null,f,1,t)}catch(e){c.default.trapError(e,a,d)}}},this.updateHistory=function(e,t){n.renderHistory[e]!==t&&(n.renderHistory[e]=t)},this.experienceCreated=function(e){var t=n.eventDelegateRefs.EXPERIENCE_CREATED,r=e.id;(0,p.isFunc)(t)&&t(e),n.updateHistory("prevExperienceId",r)},this.gotExperience=function(e){var t=n,r=t.player,o=t.clientConfig.storyId,i=t.eventDelegateRefs,a=i.GOT_EXPERIENCE,s=i.ERROR,u=e.id,f=e.moderation_status;try{if("rejected"===f)throw new l.ModerationError("rejection",u);(0,p.isFunc)(a)&&a(e),void 0!==r&&r.experienceGenerated(e),n.updateHistory("prevExperienceId",u),n.updateHistory("prevMessage","")}catch(e){c.default.trapError(e,o,s)}},this.internalError=function(e){var t=n,r=t.clientConfig.storyId,o=t.eventDelegateRefs.ERROR;c.default.trapError(e,r,o)},this.setup(t)}return e.eventNames=f.eventNames,e}();t.default=d},9259:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4348),o=n(3447),i=function(){function e(e){var t=this;this.api=null,this.clientDelegates=null,this.configCache=new Map,this.getExperience=function(e){clearTimeout(t.killPollTimeout),t.killPollTimeout=setTimeout((function(){return t.killPoll(e)}),18e4),t.pollForExperience(e,(function(e){clearTimeout(t.killPollTimeout),t.clientDelegates.get("gotExperience")(e)}),(function(n){clearTimeout(t.killPollTimeout);var r=new o.HTTPError("httpFailure",e,n);t.clientDelegates.get("internalError")(r)}))},this.fetchExperience=function(e,n,i,a){void 0===i&&(i=1),void 0===a&&(a=null);var s=a||(0,r.generateUUID)();t.api.fetch(e,s,n).then((function(e){if(e.error){var n=new o.RenderError(e.error,s);t.clientDelegates.get("internalError")(n)}else t.configCache.delete(s),t.clientDelegates.get("gotExperience")(e)})).catch((function(r){var c,u;if(null===(u=null===(c=null==r?void 0:r.response)||void 0===c?void 0:c.data)||void 0===u?void 0:u.error){var l=new o.RenderError(r.response.data.error,s);t.clientDelegates.get("internalError")(l)}else r.response&&408===r.response.status?t.getExperience(s):r.response&&r.response.status>=500&&i<3?(i+=1,t.fetchExperience(e,n,i,a)):(l=new o.HTTPError("httpFailure",s,r),t.clientDelegates.get("internalError")(l))}))},this.createExperience=function(e,n,i,a){void 0===a&&(a=0);var s=(0,r.generateUUID)();t.api.create(e,n,s,i).then((function(e){t.configCache.delete(s),t.clientDelegates.get("experienceCreated")(e)})).catch((function(r){if(r.response&&r.response.status>=500&&a<3)a+=1,t.createExperience(e,n,i,a);else{var c=new o.HTTPError("httpFailure",s,r);t.clientDelegates.get("internalError")(c)}}))},this.api=e.api,this.clientDelegates=e.clientDelegates}return e.prototype.killPoll=function(e){clearTimeout(this.pollTimeout);var t=new o.HTTPError("pollTimeout",e);this.clientDelegates.get("internalError")(t)},e.prototype.pollForExperience=function(e,t,n,r){var i=this;void 0===r&&(r=1),this.api.get(e).then((function(a){if(a.rendering)clearTimeout(i.pollTimeout),i.pollTimeout=setTimeout((function(){i.pollForExperience(e,t,n,r)}),5e3);else if(clearTimeout(i.pollTimeout),a.error){var s=new o.RenderError(a.error,e);i.clientDelegates.get("internalError")(s)}else t(a)})).catch((function(o){clearTimeout(i.pollTimeout),o.response&&o.response.status>=500&&r<3?(r+=1,i.pollForExperience(e,t,n,r)):n(o)}))},e}();t.default=i},8237:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var i=n(6245),a=n(9669),s=n(4348),c=o(n(4776).hi,[]);t.default=function(e,t,n,o){var u,l=this;void 0===o&&(o=null),this.http=null,this.storyId="",this.compositionId="",this.getGAProperty=function(){return new Promise((function(e,t){l.http.get("/story/".concat(l.storyId,"/property")).then((function(t){e(t.data)})).catch((function(e){t(e)}))}))},this.get=function(e){return new Promise((function(t,n){l.http.get("/story/".concat(l.storyId,"/experience/").concat(e,"?r=").concat(Math.random())).then((function(e){t(e.data)})).catch((function(e){n(e)}))}))},this.fetch=function(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=null);var o=(0,s.inventoryToFormData)(l.storyId,e,l.compositionId),i={onUploadProgress:function(e){return l.uploadProgress(e,n)}};return o.append("id",t),new Promise((function(e,t){l.http.post("/experience/fetch",o,i).then((function(t){e(t.data)})).catch((function(e){t(e)}))}))},this.create=function(e,t,n,r){void 0===r&&(r=null);var o=t?"/experience/render":"/experience",i=(0,s.inventoryToFormData)(l.storyId,e,l.compositionId),a={onUploadProgress:function(e){return l.uploadProgress(e,r)}};return i.append("id",n),new Promise((function(e,t){l.http.post(o,i,a).then((function(t){e(t.data)})).catch((function(e){t(e)}))}))},this.getAuthHeader=function(e){var t,n,r=c.jwt,o=c.hmac;try{return(0,i.default)(e),(t={})[r]=e,t}catch(t){return(n={})[o]=e,n}},this.uploadProgress=function(e,t){if(void 0===t&&(t=null),t){var n=e.loaded,r=e.total;t(Math.round(n/r*100))}};var p=c.version,f=c.currentVersion;this.storyId=n,this.compositionId=o,this.http=a.default.create({baseURL:c[t],headers:r(r({},this.getAuthHeader(e)),(u={},u[p]=f,u))})}},3998:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var o=n(8969),i=n(3447),a=n(9773),s=r(n(3199),[]),c=n(4776).D_,u=function(){function e(){}return e.logWarning=function(e,t){console.warn("IMPOSIUM\n".concat(s[e][t]))},e.trapError=function(t,n,r){void 0===r&&(r=null),t=t.log?t:new i.UncaughtError("generic",t),n&&t.setStoryId(n),r&&r(t),t.log(),e.hub.run((function(e){e.configureScope((function(r){r.setTag("type",t.type),r.setTag("version",t.version),r.setTag("storyId",n||"<not_set>"),t.experienceId&&r.setTag("experienceId",t.experienceId),t.axiosError&&("object"==typeof t.axiosError.response?r.setExtra("response",t.axiosError.response):"object"==typeof t.axiosError.request?(r.setExtra("request",t.axiosError.request),r.setExtra("reuqestConfig",t.axiosError.config)):(r.setExtra("axiosErrorMessage",t.axiosError.message),r.setExtra("reuqestConfig",t.axiosError.config))),t.closeEvent&&r.setExtra("socketCloseEvent",{code:t.closeEvent.code,type:t.closeEvent.type,timestamp:t.closeEvent.timeStamp,wsUrl:t.closeEvent.target.url,wsBufferedAmount:t.closeEvent.target.bufferedAmount}),e.captureException(t)}))}))},e.sentryClient=new o.BrowserClient({debug:!1,dsn:c.dsn,integrations:[new o.Integrations.UserAgent],beforeSend:function(t){return e.cleanDucktype(t)},release:"".concat(c.projectName,"@").concat(a.version)}),e.hub=new o.Hub(e.sentryClient),e.cleanDucktype=function(e){return void 0===e.extra||e.extra.Error&&(delete e.extra.Error.log,delete e.extra.Error.logHeader,delete e.extra.Error.setStoryId,e.extra.Error.axiosError&&delete e.extra.Error.axiosError,e.extra.Error.closeEvent&&delete e.extra.Error.closeEvent),e},e}();t.default=u},3447:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.UncaughtError=t.HTTPError=t.PlayerConfigurationError=t.ClientConfigurationError=t.ModerationError=t.RenderError=t.ImposiumError=void 0;var a=n(9773),s=i(n(4168),[]),c="moderation",u="clientConfiguration",l="playerConfiguration",p="network",f="uncaught",d=function(e){function t(n,r){var o=e.call(this,n)||this;return o.type="",o.version=a.version,o.storyId="<not_set>",o.logHeader="[IMPOSIUM ERROR]",o.setStoryId=function(e){o.storyId=e},Error.captureStackTrace&&Error.captureStackTrace(o,t),o.type=r,o}return o(t,e),t}(Error);t.ImposiumError=d;var h=function(e){function t(n,r){var o=e.call(this,n,"render")||this;return o.experienceId=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Error rendering dynamic video\n \nExperience ID: ").concat(o.experienceId,"\n \nMessage: ").concat(o.message))},Error.captureStackTrace&&Error.captureStackTrace(o,t),o.experienceId=r||"<not_set>",o}return o(t,e),t}(d);t.RenderError=h;var v=function(e){function t(n,r){var o=e.call(this,s.moderation[n],c)||this;return o.experienceId=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Failed to pass moderation\n \nExperience ID: ").concat(o.experienceId,"\n \nMessage: ").concat(o.message))},Error.captureStackTrace&&Error.captureStackTrace(o,t),o.experienceId=r||"<not_set>",o}return o(t,e),t}(d);t.ModerationError=v;var y=function(e){function t(n,r){var o=e.call(this,s.clientConfiguration[n],u)||this;return o.eventName="",o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Invalid client configuration\n \nMessage: ").concat(o.message,"\n \nEvent name: ").concat(o.eventName))},Error.captureStackTrace&&Error.captureStackTrace(o,t),o.eventName=r||"<not_set>",o}return o(t,e),t}(d);t.ClientConfigurationError=y;var g=function(e){function t(n,r){var o=e.call(this,s.playerConfiguration[n],l)||this;return o.eventName="",o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Invalid player configuration\n \nMessage: ").concat(o.message,"\n \nEvent name: ").concat(o.eventName))},Error.captureStackTrace&&Error.captureStackTrace(o,t),o.eventName=r||"<not_set>",o}return o(t,e),t}(d);t.PlayerConfigurationError=g;var m=function(e){function t(n,r,o){var i,a,c=e.call(this,s.network[n],p)||this;return c.experienceId=null,c.axiosError=null,c.log=function(){console.error("".concat(c.logHeader,"\n \nReason: HTTP error\n \nMessage: ").concat(c.message,"\n \nExperience ID: ").concat(c.experienceId,"\n \nNetwork Error: ").concat(c.axiosError," "))},Error.captureStackTrace&&Error.captureStackTrace(c,t),(null===(a=null===(i=null==o?void 0:o.response)||void 0===i?void 0:i.data)||void 0===a?void 0:a.error)&&(c.message=o.response.data.error),c.experienceId=r||"<not_set>",c.axiosError=o||"<not_set>",c}return o(t,e),t}(d);t.HTTPError=m;var _=function(e){function t(n,r){var o=e.call(this,s.uncaught[n],f)||this;return o.uncaughtError=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Unknown\n \nMessage: ").concat(o.message,"\n \nError: "),o.uncaughtError)},Error.captureStackTrace&&Error.captureStackTrace(o,t),o.uncaughtError=r,o}return o(t,e),t}(d);t.UncaughtError=_},4479:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var a=n(3998),s=n(9669),c=n(4348),u=o(n(4776).co,[]),l=function(){function e(){}return e.gaPlacement="",e.initialize=function(t){try{var n=new Date,r=JSON.parse(localStorage.getItem(e.CACHE_KEY))||{};if(e.gaPlacement=t,r.uuid&&r.expiry>=(new Date).valueOf())return void(e.CLIENT_ID=r.uuid);r.uuid=(0,c.generateUUID)(),r.expiry=n.setFullYear(n.getFullYear()+2),localStorage.setItem(e.CACHE_KEY,JSON.stringify(r)),e.CLIENT_ID=r.uuid}catch(t){e.CLIENT_ID=(0,c.generateUUID)()}},e.send=function(t){var n,o,c=e.BASE_URL,u=document.referrer;t=r({v:"1",ds:e.gaPlacement,cid:e.CLIENT_ID,z:"".concat(Math.round((new Date).getTime()/1e3))},t),""!==u&&(t.dr=u);try{for(var l=i(Object.keys(t)),p=l.next();!p.done;p=l.next()){var f=p.value,d=c===e.BASE_URL?"?":"&";c+="".concat(d).concat(f,"=").concat(encodeURIComponent(t[f]))}}catch(e){n={error:e}}finally{try{p&&!p.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}s.default.get(c).catch((function(){a.default.logWarning("analytics","requestFailed")}))},e.BASE_URL=u.baseUrl,e.CACHE_KEY=u.cacheKey,e.CLIENT_ID=u.cidPlaceholder,e}();t.default=l},4348:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inventoryToFormData=t.generateUUID=t.calculateAverageMbps=t.calculateMbps=t.cloneWithKeys=t.keyExists=t.isFunc=t.inRangeNumeric=t.prepConfig=void 0,t.prepConfig=function(e,t){var n=Object.keys(t);for(var r in e)-1===n.indexOf(r)&&delete e[r]},t.inRangeNumeric=function(e,t,n){return(e-t)*(e-n)<=0},t.isFunc=function(e){return"[object Function]"===Object.prototype.toString.call(e)},t.keyExists=function(e,t){return~Object.keys(e).map((function(t){return e[t]})).indexOf(t)},t.cloneWithKeys=function(e){return Object.keys(e).reduce((function(e,t){return e[t]=null,e}),{})},t.calculateMbps=function(e,t){return 8*t/(((new Date).getTime()-e)/1e3)/Math.pow(1024,2)},t.calculateAverageMbps=function(e){var t=e.reduce((function(e,t){return e+t}));return parseFloat((t/e.length).toFixed(2))},t.generateUUID=function(){var e=window.performance,t=(new Date).getTime();return void 0!==e&&"function"==typeof e.now&&(t+=e.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:7&n|8).toString(16)}))},t.inventoryToFormData=function(e,t,n){void 0===n&&(n=null);var r=new FormData;for(var o in r.append("story_id",e),n&&r.append("composition_id",n),t)if(t[o]){var i=t[o];if(i&&"file"===i.type){var a=i.files;a.length>0?(t[o]="",r.append(o,a[0])):t[o]=""}else i&&i instanceof File&&(t[o]="",r.append(o,i,i.name));r.append("inventory[".concat(o,"]"),t[o])}return r}},9773:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printVersion=t.version=void 0,t.version="3.2.4",t.printVersion=function(){console.log("%cPowered By%c Imposium%c v".concat("3.2.4","%c https://imposium.com"),"text-transform: uppercase; padding: 5px 0px 5px 5px; background-color: black; color: white;","text-transform: uppercase; padding: 5px 0px 5px 0px; background-color: black; color: #a1b83a;","padding: 5px 5px 5px 0px; background-color: black; color: white;","padding: 5px 5px 5px 0px;")}},1808:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=e.call(this,t)||this;return n.experienceGenerated=function(e){var t=e.id;n.setExperienceId(t)},n}return o(t,e),t}(n(917).default);t.default=i},909:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var s=n(9669),c=n(917),u=n(3998),l=n(3447),p=n(4348),f=n(4776).aq,d=window.hls,h=function(e){function t(n,r,o){void 0===o&&(o=f.defaultConfig);var c=e.call(this,n)||this;c.eventDelegateRefs={play:{callback:null,native:!0},pause:{callback:null,native:!0},ended:{callback:null,native:!0},error:{callback:null,native:!0},seeked:{callback:null,native:!0},timeupdate:{callback:null,native:!0},volumechanged:{callback:null,native:!0},muted:{callback:null,native:!1},controlsset:{callback:null,native:!1}},c.hlsSupport="",c.hlsPlayer=null,c.imposiumPlayerConfig=null,c.init=function(e){var t=f.defaultConfig;for(var n in(0,p.prepConfig)(e,t),c.imposiumPlayerConfig=i(i({},t),e),c.imposiumPlayerConfig)c.imposiumPlayerConfig[n]&&(c.node[n]=c.imposiumPlayerConfig[n])},c.experienceGenerated=function(e){var t=c.imposiumPlayerConfig.qualityOverride,n=e.id,r=e.output,o=r.videos,i=r.images,a="";c.setExperienceId(n),i&&i.hasOwnProperty("poster")&&(a=i.poster),t?c.doQualityOverride(o,a):c.doQualityAssessment(o,a)},c.on=function(e,n){var r=c,o=r.storyId,i=r.eventDelegateRefs;try{if(!(0,p.isFunc)(n))throw new l.PlayerConfigurationError("invalidCallbackType",e);if(!(0,p.keyExists)(t.events,e))throw new l.PlayerConfigurationError("invalidEventName",e);var a=i[e];a.callback=n,a.native&&c.node.addEventListener(e,a.callback)}catch(e){u.default.trapError(e,o)}},c.off=function(e){var n=c,r=n.storyId,o=n.eventDelegateRefs;try{if(!(0,p.keyExists)(t.events,e))throw new l.PlayerConfigurationError("invalidEventName",e);var i=o[e];i.native&&c.node.removeEventListener(e,i.callback),i.callback=null}catch(e){u.default.trapError(e,r)}},c.play=function(){c.node.play().catch((function(){console.error("Error playing video")}))},c.pause=function(){c.node.pause()},c.getPlaybackState=function(){return c.node.paused?"paused":"playing"},c.getPosition=function(){return c.node.currentTime},c.getDuration=function(){return c.node.duration},c.seek=function(e){var t=c.node.duration;isNaN(t)?u.default.logWarning("playerFailure","seekNotReady"):(e=Math.floor(e),(0,p.inRangeNumeric)(e,0,t)?c.node.currentTime=e:u.default.logWarning("playerFailure","invalidSeekTime"))},c.getMute=function(){return c.node.muted},c.setMute=function(e){var t=c.eventDelegateRefs.muted.callback;c.node.muted=e,t&&t()},c.getVolume=function(){return c.node.volume},c.setVolume=function(e){var t=f.volumeMin,n=f.volumeMax;e=Math.round(10*e)/10,(0,p.inRangeNumeric)(e,t,n)?c.node.volume=e:u.default.logWarning("playerFailure","invalidVolume")},c.getControls=function(){return c.node.controls},c.setControls=function(e){var t=c.eventDelegateRefs.controlsset;c.node.controls=e,t&&t.callback()},c.replay=function(){c.pauseIfPlaying(),c.node.currentTime=0,c.play()},c.remove=function(){var e,t,n=c.eventDelegateRefs,r=f.defaultConfig;c.pauseIfPlaying();try{for(var o=a(Object.keys(n)),s=o.next();!s.done;s=o.next()){var u=s.value;c.off(n[u])}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}c.imposiumPlayerConfig=i({},r),c.node=null},c.setupHls=function(){var e=t.hlsSupportLevels,n=e.NATIVE,r=e.HLSJS;c.node.canPlayType(t.STREAM_TYPE)?c.hlsSupport=n:void 0!==d&&d.isSupported()&&(c.hlsSupport=r)},c.doQualityOverride=function(e,t){var n=c.storyId,r=c.imposiumPlayerConfig.qualityOverride;try{if(!e.hasOwnProperty(r))throw new l.PlayerConfigurationError("badQualityOverride",null);c.setPlayerData(e[r].url,!0,t)}catch(e){u.default.trapError(e,n)}},c.doQualityAssessment=function(e,n){var r=c.hlsSupport,o=t.compressionLevels.STREAM;if(e.hasOwnProperty(o)&&r)c.setPlayerData(e[o].url,!0,n);else{var i=Object.keys(e);1===i.length?c.setPlayerData(e[i[0]].url,!1,n):c.checkBandwidth(e).then((function(t){c.setPlayerData(e[t].url,!1,n)})).catch((function(t){c.setPlayerData(e[t].url,!1,n)}))}},c.sampleBandwidth=function(){var e="".concat(t.TEST_IMAGE,"?bust=").concat(Math.random()),n={responseType:"blob",timeout:1500};return new Promise((function(t,r){var o=(new Date).getTime();s.default.get(e,n).then((function(e){var n=e.data.size;t((0,p.calculateMbps)(o,n))})).catch((function(e){r(e)}))}))},c.checkBandwidth=function(e){for(var n=t.BANDWIDTH_SAMPLES,r=[],o=Object.keys(e).filter((function(e){return"m3u8"!==e})),i=0;i<n;i++)r.push(c.sampleBandwidth());return new Promise((function(t,n){Promise.all(r).then((function(n){var r=(0,p.calculateAverageMbps)(n),i={};o.forEach((function(t){var n=e[t],r=n.width,o=n.height;i[r*o/1e5]=t}));var a=Object.keys(i).map((function(e){return parseFloat(e)})).reduce((function(e,t){return Math.abs(e-r)<Math.abs(t-r)?e:t}));t(i[a])})).catch((function(){n(o.slice(-1).pop())}))}))},c.setPlayerData=function(e,n,r){void 0===r&&(r=null);var o=c.hlsSupport,i=t.hlsSupportLevels.HLSJS;n&&o===i?(c.hlsPlayer&&c.hlsPlayer.destroy(),c.hlsPlayer=new d,c.hlsPlayer.attachMedia(c.node),c.hlsPlayer.loadSource(e)):c.node.src=e,r&&(c.node.poster=r)},c.pauseIfPlaying=function(){c.node.paused||c.node.pause()};var h=!(!r||!r.clientConfig);try{if(!h)throw new l.PlayerConfigurationError("badClient",null);n instanceof HTMLVideoElement&&(r.bindPlayer(c),c.init(o),c.setupHls())}catch(e){var v=h?r.clientConfig.storyId:"";u.default.trapError(e,v)}return c}return o(t,e),t.events={PLAY:"play",PAUSE:"pause",COMPLETE:"ended",ERROR:"error",SEEK:"seeked",TIME:"timeupdate",VOLUME:"volumechange",MUTE:"muted",CONTROLS:"controlsset"},t.STREAM_TYPE=f.streamType,t.BANDWIDTH_SAMPLES=f.bandwidthSamples,t.TEST_IMAGE=f.testImage,t.bandwidthRatings={LOW:f.bandwidth.low,MID:f.bandwidth.mid},t.compressionLevels={STREAM:f.compression.stream,LOW:f.compression.low,MID:f.compression.mid,HIGH:f.compression.high},t.hlsSupportLevels={NATIVE:f.hlsSupportLevels.native,HLSJS:f.hlsSupportLevels.hlsjs},t}(c.default);t.default=h},917:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3998),a=n(4479),s=n(3447),c=n(4776).aq,u=function(){function e(t){var n,c,u=this;this.node=null,this.storyId="",this.gaProperty="",this.playbackHandlers=new Map([["play",function(){return u.onPlay()}],["pause",function(){return u.onPause()}],["ended",function(){return u.onEnded()}],["loaded",function(){return u.onLoad()}],["volumechange",function(){return u.onVolumeChange()}]]),this.queuedGACalls=[],this.experienceId="",this.prevPlaybackEvent=0,this.playbackInterval=-1,this.muted=!1,this.remove=function(){var e,t;try{for(var n=r(u.playbackHandlers.entries()),i=n.next();!i.done;i=n.next()){var a=o(i.value,2),s=a[0],c=a[1];u.node.removeEventListener(s,c)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},this.setGaProperty=function(e){for(u.gaProperty&&u.gaProperty!==e&&u.queuedGACalls.length>0&&(u.queuedGACalls=[]),u.gaProperty=e;u.queuedGACalls.length;)a.default.send(u.queuedGACalls.pop())},this.setStoryId=function(e){u.storyId=e},this.setExperienceId=function(e){u.experienceId=e},this.emitGAEventAction=function(t){var n=e.GA_EMIT_TYPE,r=e.GA_EMIT_CATEGORY,o=u,i={t:n,tid:o.gaProperty,ec:r,el:o.experienceId,ea:t};u.gaProperty?a.default.send(i):u.queuedGACalls.push(i)},this.onLoad=function(){u.emitGAEventAction("loaded")},this.onVolumeChange=function(){!u.muted&&u.node.muted&&(u.emitGAEventAction("muted"),u.muted=!0),u.muted&&!u.node.muted&&(u.emitGAEventAction("unmuted"),u.muted=!1)},this.onPlay=function(){var t=window.setInterval;clearInterval(u.playbackInterval),u.playbackInterval=t((function(){return u.checkPlayback()}),e.INTERVAL_RATE),u.emitGAEventAction("play")},this.onPause=function(){clearInterval(u.playbackInterval),u.node.duration!==u.node.currentTime&&u.emitGAEventAction("pause")},this.onEnded=function(){clearInterval(u.playbackInterval),u.emitGAEventAction("playback_1"),u.prevPlaybackEvent=0},this.checkPlayback=function(){if(u.node){var t=u.node,n=t.currentTime/t.duration,r=e.PLAYBACK_EVENTS[u.prevPlaybackEvent];n>r&&(u.emitGAEventAction("playback_".concat(r)),u.prevPlaybackEvent++)}else clearInterval(u.playbackInterval)};try{if(!(t instanceof HTMLVideoElement))throw new s.PlayerConfigurationError("invalidPlayerRef",null);try{for(var l=r(this.playbackHandlers.entries()),p=l.next();!p.done;p=l.next()){var f=o(p.value,2),d=f[0],h=f[1];t.addEventListener(d,h)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(c=l.return)&&c.call(l)}finally{if(n)throw n.error}}this.node=t,this.muted=t.muted}catch(e){i.default.trapError(e,this.storyId)}}return e.INTERVAL_RATE=c.checkPlaybackRateMs,e.PLAYBACK_EVENTS=c.playbackEvents,e.GA_EMIT_TYPE="event",e.GA_EMIT_CATEGORY="video_player",e}();t.default=u},4168:e=>{"use strict";e.exports=JSON.parse('{"moderation":{"rejection":"This experience was rejected."},"clientConfiguration":{"badConfig":"Your Imposium configuration is an invalid type.","storyId":"An undefined or invalid storyId was set in your Imposium configuration.","accessToken":"An undefined or invalid accessToken was set in your Imposium configuration.","invalidEventName":"Invalid client event name.","invalidCallbackType":"The callback reference set for this client event is not of type function.","badConfigOnGet":"You cannot call client.getExperience(...) without using the Imposium player or setting the GOT_EXPERIENCE event.","bagConfigOnPostRender":"You cannot call client.createExperience({...}) without using the Imposium player or setting the GOT_EXPERIENCE event.","badConfigOnPostNoRender":"You cannot call client.createExperience({...}, false) without setting the EXPERIENCE_CREATED event."},"playerConfiguration":{"badClient":"You must provide a valid Imposium client reference to the player.","invalidPlayerRef":"No reference to an HTML5 video element was detected.","invalidEventName":"Invalid player event name.","invalidCallbackType":"The callback reference set for this player event is not of type function.","eventNotConfigured":"You cannot invoke this player event without a callback set.","badQualityOverride":"The quality specified does not exist for this experience."},"network":{"httpFailure":"Unable to process request to the Imposium API.","pollTimeout":"Polling timeout exceeded.","tcpFailure":"Socket connection failed while processing the experience.","errorOverTcp":"An error occured on the Imposium web servers while processing the experience.","messageParseFailure":"Message data from Imposium was malformed."},"uncaught":{"generic":"Something unexpected went wrong."}}')},4776:e=>{"use strict";e.exports=JSON.parse('{"Lp":{"uuidLength":36,"defaultConfig":{"accessToken":"","storyId":"","compositionId":"","environment":"production","gaPlacement":"web"},"emptyHistory":{"prevExperienceId":"","prevMessage":""},"clientEmits":{"adding":"Adding job to queue...","added":"Added job to queue...","finishedPolling":"Video ready for viewing."},"eventNames":{"EXPERIENCE_CREATED":"EXPERIENCE_CREATED","UPLOAD_PROGRESS":"UPLOAD_PROGRESS","GOT_EXPERIENCE":"GOT_EXPERIENCE","STATUS_UPDATE":"STATUS_UPDATE","ERROR":"ERROR"}},"hi":{"production":"https://api.imposium.com","staging":"https://api.staging.imposium.com","local":"https://api","currentVersion":"2.0.0","version":"X-Imposium-Api-Version","hmac":"X-Imposium-Access-Key","jwt":"Authorization"},"D_":{"dsn":"https://17ffe982179e4d60a1df2062198d7ade@sentry.io/1411258","projectName":"imposium-js-sdk"},"co":{"exceptionProp":"UA-123315989-1","baseUrl":"https://ssl.google-analytics.com/collect","lsLookup":"imposium_js_ga_cid","gaPropPlaceholder":"[id_placeholder]","cidPlaceholder":"[cid_placeholder]"},"aq":{"defaultConfig":{"volume":1,"preload":"auto","loop":false,"muted":false,"autoLoad":true,"autoPlay":true,"controls":true,"crossOrigin":"anonymous","qualityOverride":null},"testImage":"https://cdn.imposium.com/SampleJPGImage_1mb.jpg","playbackEvents":[0,0.25,0.5,0.75],"checkPlaybackRateMs":100,"volumeMin":0,"volumeMax":1,"bandwidth":{"low":2.4,"mid":8},"compression":{"stream":"m3u8","low":"mp4_480","mid":"mp4_720","high":"mp4_1080"},"bandwidthSamples":5,"hlsSupportLevels":{"native":"native","hlsjs":"hls-js"},"streamType":"application/vnd.apple.mpegurl"}}')},3199:e=>{"use strict";e.exports=JSON.parse('{"client":{"nodeAnalytics":"Sorry, analytics are not currently available in NodeJS."},"network":{"tcpFailure":"Unable to reach Imposium while processing this experience, retrying..."},"playerFailure":{"seekNotReady":"Seek can\'t be called until the video metadata has loaded, please try again shortly.","invalidSeekTime":"Could not seek to time outside of current video duration.","invalidVolume":"Could not set volume outside of range (double) 0.0 - 1.0."},"analytics":{"requestFailed":"Failed to record Imposium metric."}}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(2081)})()}));
|
|
2
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Imposium",[],e):"object"==typeof exports?exports.Imposium=e():t.Imposium=e()}(self,()=>(()=>{var t={34:(t,e,r)=>{"use strict";var n=r(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},67:(t,e,r)=>{"use strict";r(7145)},81:(t,e,r)=>{"use strict";var n=r(9565),o=r(9306),i=r(8551),s=r(6823),a=r(851),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(o(r))return i(n(r,t));throw new u(s(t)+" is not iterable")}},197:t=>{"use strict";t.exports=JSON.parse('{"client":{"nodeAnalytics":"Sorry, analytics are not currently available in NodeJS."},"network":{"tcpFailure":"Unable to reach Imposium while processing this experience, retrying..."},"playerFailure":{"seekNotReady":"Seek can\'t be called until the video metadata has loaded, please try again shortly.","invalidSeekTime":"Could not seek to time outside of current video duration.","invalidVolume":"Could not set volume outside of range (double) 0.0 - 1.0."},"analytics":{"requestFailed":"Failed to record Imposium metric."}}')},230:(t,e,r)=>{"use strict";var n=r(6518),o=r(9306),i=r(6194),s=r(6223),a=TypeError;n({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=i(this),r=arguments.length<2,n=r?void 0:arguments[1];if(o(t),s(e,function(o,i){r?(r=!1,n=o):n=t(n,o,i,e)}),r)throw new a("Reduce of empty map with no initial value");return n}})},258:(t,e,r)=>{"use strict";function n(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(t,e){return t.require(e)}r.d(e,{fj:()=>o,wD:()=>n}),t=r.hmd(t)},280:(t,e,r)=>{"use strict";var n=r(6518),o=r(7751),i=r(6395),s=r(550),a=r(916).CONSTRUCTOR,u=r(3438),c=o("Promise"),f=i&&!a;n({target:"Promise",stat:!0,forced:i||a},{resolve:function(t){return u(f&&this===c?s:this,t)}})},283:(t,e,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(9297),a=r(3724),u=r(350).CONFIGURABLE,c=r(3706),f=r(1181),l=f.enforce,p=f.get,d=String,h=Object.defineProperty,v=n("".slice),y=n("".replace),g=n([].join),m=a&&!o(function(){return 8!==h(function(){},"length",{value:8}).length}),_=String(String).split("String"),b=t.exports=function(t,e,r){"Symbol("===v(d(e),0,7)&&(e="["+y(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||u&&t.name!==e)&&(a?h(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&s(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return s(n,"source")||(n.source=g(_,"string"==typeof e?e:"")),t};Function.prototype.toString=b(function(){return i(this)&&p(this).source||c(this)},"toString")},298:(t,e,r)=>{"use strict";var n=r(2195),o=r(5397),i=r(8480).f,s=r(7680),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return s(a)}}(t):i(o(t))}},350:(t,e,r)=>{"use strict";var n=r(3724),o=r(9297),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),u=a&&"something"===function(){}.name,c=a&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:c}},397:(t,e,r)=>{"use strict";var n=r(7751);t.exports=n("document","documentElement")},421:t=>{"use strict";t.exports={}},436:(t,e,r)=>{"use strict";var n,o,i,s,a=r(6518),u=r(6395),c=r(8574),f=r(4576),l=r(9167),p=r(9565),d=r(6840),h=r(2967),v=r(687),y=r(7633),g=r(9306),m=r(4901),_=r(34),b=r(679),E=r(2293),x=r(9225).set,w=r(1955),S=r(3138),O=r(1103),T=r(8265),k=r(1181),P=r(550),j=r(916),C=r(6043),R="Promise",I=j.CONSTRUCTOR,N=j.REJECTION_EVENT,A=j.SUBCLASSING,D=k.getterFor(R),M=k.set,L=P&&P.prototype,U=P,F=L,B=f.TypeError,q=f.document,H=f.process,G=C.f,z=G,V=!!(q&&q.createEvent&&f.dispatchEvent),W="unhandledrejection",Y=function(t){var e;return!(!_(t)||!m(e=t.then))&&e},X=function(t,e){var r,n,o,i=e.value,s=1===e.state,a=s?t.ok:t.fail,u=t.resolve,c=t.reject,f=t.domain;try{a?(s||(2===e.rejection&&Z(e),e.rejection=1),!0===a?r=i:(f&&f.enter(),r=a(i),f&&(f.exit(),o=!0)),r===t.promise?c(new B("Promise-chain cycle")):(n=Y(r))?p(n,r,u,c):u(r)):c(i)}catch(t){f&&!o&&f.exit(),c(t)}},J=function(t,e){t.notified||(t.notified=!0,w(function(){for(var r,n=t.reactions;r=n.get();)X(r,t);t.notified=!1,e&&!t.rejection&&$(t)}))},K=function(t,e,r){var n,o;V?((n=q.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),f.dispatchEvent(n)):n={promise:e,reason:r},!N&&(o=f["on"+t])?o(n):t===W&&S("Unhandled promise rejection",r)},$=function(t){p(x,f,function(){var e,r=t.facade,n=t.value;if(Q(t)&&(e=O(function(){c?H.emit("unhandledRejection",n,r):K(W,r,n)}),t.rejection=c||Q(t)?2:1,e.error))throw e.value})},Q=function(t){return 1!==t.rejection&&!t.parent},Z=function(t){p(x,f,function(){var e=t.facade;c?H.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)})},tt=function(t,e,r){return function(n){t(e,n,r)}},et=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,J(t,!0))},rt=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new B("Promise can't be resolved itself");var n=Y(e);n?w(function(){var r={done:!1};try{p(n,e,tt(rt,r,t),tt(et,r,t))}catch(e){et(r,e,t)}}):(t.value=e,t.state=1,J(t,!1))}catch(e){et({done:!1},e,t)}}};if(I&&(F=(U=function(t){b(this,F),g(t),p(n,this);var e=D(this);try{t(tt(rt,e),tt(et,e))}catch(t){et(e,t)}}).prototype,(n=function(t){M(this,{type:R,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:0,value:null})}).prototype=d(F,"then",function(t,e){var r=D(this),n=G(E(this,U));return r.parent=!0,n.ok=!m(t)||t,n.fail=m(e)&&e,n.domain=c?H.domain:void 0,0===r.state?r.reactions.add(n):w(function(){X(n,r)}),n.promise}),o=function(){var t=new n,e=D(t);this.promise=t,this.resolve=tt(rt,e),this.reject=tt(et,e)},C.f=G=function(t){return t===U||t===i?new o(t):z(t)},!u&&m(P)&&L!==Object.prototype)){s=L.then,A||d(L,"then",function(t,e){var r=this;return new U(function(t,e){p(s,r,t,e)}).then(t,e)},{unsafe:!0});try{delete L.constructor}catch(t){}h&&h(L,F)}a({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:U}),i=l.Promise,v(U,R,!1,!0),y(R)},507:(t,e,r)=>{"use strict";var n=r(9565);t.exports=function(t,e,r){for(var o,i,s=r?t:t.iterator,a=t.next;!(o=n(a,s)).done;)if(void 0!==(i=e(o.value)))return i}},511:(t,e,r)=>{"use strict";var n=r(9167),o=r(9297),i=r(1951),s=r(4913).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||s(e,t,{value:i.f(t)})}},537:(t,e,r)=>{"use strict";var n=r(550),o=r(4428),i=r(916).CONSTRUCTOR;t.exports=i||!o(function(t){n.all(t).then(void 0,function(){})})},550:(t,e,r)=>{"use strict";var n=r(4576);t.exports=n.Promise},616:(t,e,r)=>{"use strict";var n=r(9039);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},632:function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},i=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var s=r(8368),a=r(2505),u=r(6612),c=o(r(3685).zS,[]),f=function(){function t(){}return t.gaPlacement="",t.initialize=function(e){try{var r=new Date,n=JSON.parse(localStorage.getItem(t.CACHE_KEY))||{};if(t.gaPlacement=e,n.uuid&&n.expiry>=(new Date).valueOf())return void(t.CLIENT_ID=n.uuid);n.uuid=(0,u.generateUUID)(),n.expiry=r.setFullYear(r.getFullYear()+2),localStorage.setItem(t.CACHE_KEY,JSON.stringify(n)),t.CLIENT_ID=n.uuid}catch(e){t.CLIENT_ID=(0,u.generateUUID)()}},t.send=function(e){var r,o,u=t.BASE_URL,c=document.referrer;e=n({v:"1",ds:t.gaPlacement,cid:t.CLIENT_ID,z:"".concat(Math.round((new Date).getTime()/1e3))},e),""!==c&&(e.dr=c);try{for(var f=i(Object.keys(e)),l=f.next();!l.done;l=f.next()){var p=l.value,d=u===t.BASE_URL?"?":"&";u+="".concat(d).concat(p,"=").concat(encodeURIComponent(e[p]))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}a.default.get(u).catch(function(){s.default.logWarning("analytics","requestFailed")})},t.BASE_URL=c.baseUrl,t.CACHE_KEY=c.cacheKey,t.CLIENT_ID=c.cidPlaceholder,t}();e.default=f},655:(t,e,r)=>{"use strict";var n=r(6955),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},679:(t,e,r)=>{"use strict";var n=r(1625),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},687:(t,e,r)=>{"use strict";var n=r(4913).f,o=r(9297),i=r(8227)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},741:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},747:(t,e,r)=>{"use strict";var n=r(6699),o=r(6193),i=r(4659),s=Error.captureStackTrace;t.exports=function(t,e,r,a){i&&(s?s(t,e):n(t,"stack",o(r,a)))}},757:(t,e,r)=>{"use strict";var n=r(7751),o=r(4901),i=r(1625),s=r(7040),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},851:(t,e,r)=>{"use strict";var n=r(6955),o=r(5966),i=r(4117),s=r(6269),a=r(8227)("iterator");t.exports=function(t){if(!i(t))return o(t,a)||o(t,"@@iterator")||s[n(t)]}},916:(t,e,r)=>{"use strict";var n=r(4576),o=r(550),i=r(4901),s=r(2796),a=r(3706),u=r(8227),c=r(4215),f=r(6395),l=r(9519),p=o&&o.prototype,d=u("species"),h=!1,v=i(n.PromiseRejectionEvent),y=s("Promise",function(){var t=a(o),e=t!==String(o);if(!e&&66===l)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!l||l<51||!/native code/.test(t)){var r=new o(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[d]=n,!(h=r.then(function(){})instanceof n))return!0}return!(e||"BROWSER"!==c&&"DENO"!==c||v)});t.exports={CONSTRUCTOR:y,REJECTION_EVENT:v,SUBCLASSING:h}},963:t=>{"use strict";t.exports=JSON.parse('{"moderation":{"rejection":"This experience was rejected."},"clientConfiguration":{"badConfig":"Your Imposium configuration is an invalid type.","storyId":"An undefined or invalid storyId was set in your Imposium configuration.","accessToken":"An undefined or invalid accessToken was set in your Imposium configuration.","invalidEventName":"Invalid client event name.","invalidCallbackType":"The callback reference set for this client event is not of type function.","badConfigOnGet":"You cannot call client.getExperience(...) without using the Imposium player or setting the GOT_EXPERIENCE event.","bagConfigOnPostRender":"You cannot call client.createExperience({...}) without using the Imposium player or setting the GOT_EXPERIENCE event.","badConfigOnPostNoRender":"You cannot call client.createExperience({...}, false) without setting the EXPERIENCE_CREATED event."},"playerConfiguration":{"badClient":"You must provide a valid Imposium client reference to the player.","invalidPlayerRef":"No reference to an HTML5 video element was detected.","invalidEventName":"Invalid player event name.","invalidCallbackType":"The callback reference set for this player event is not of type function.","eventNotConfigured":"You cannot invoke this player event without a callback set.","badQualityOverride":"The quality specified does not exist for this experience."},"network":{"httpFailure":"Unable to process request to the Imposium API.","pollTimeout":"Polling timeout exceeded.","tcpFailure":"Socket connection failed while processing the experience.","errorOverTcp":"An error occured on the Imposium web servers while processing the experience.","messageParseFailure":"Message data from Imposium was malformed."},"uncaught":{"generic":"Something unexpected went wrong."}}')},1015:(t,e,r)=>{"use strict";var n=r(8418);t.exports=n},1072:(t,e,r)=>{"use strict";var n=r(1828),o=r(8727);t.exports=Object.keys||function(t){return n(t,o)}},1088:(t,e,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(6395),s=r(350),a=r(4901),u=r(3994),c=r(2787),f=r(2967),l=r(687),p=r(6699),d=r(6840),h=r(8227),v=r(6269),y=r(7657),g=s.PROPER,m=s.CONFIGURABLE,_=y.IteratorPrototype,b=y.BUGGY_SAFARI_ITERATORS,E=h("iterator"),x="keys",w="values",S="entries",O=function(){return this};t.exports=function(t,e,r,s,h,y,T){u(r,e,s);var k,P,j,C=function(t){if(t===h&&D)return D;if(!b&&t&&t in N)return N[t];switch(t){case x:case w:case S:return function(){return new r(this,t)}}return function(){return new r(this)}},R=e+" Iterator",I=!1,N=t.prototype,A=N[E]||N["@@iterator"]||h&&N[h],D=!b&&A||C(h),M="Array"===e&&N.entries||A;if(M&&(k=c(M.call(new t)))!==Object.prototype&&k.next&&(i||c(k)===_||(f?f(k,_):a(k[E])||d(k,E,O)),l(k,R,!0,!0),i&&(v[R]=O)),g&&h===w&&A&&A.name!==w&&(!i&&m?p(N,"name",w):(I=!0,D=function(){return o(A,this)})),h)if(P={values:C(w),keys:y?D:C(x),entries:C(S)},T)for(j in P)(b||I||!(j in N))&&d(N,j,P[j]);else n({target:e,proto:!0,forced:b||I},P);return i&&!T||N[E]===D||d(N,E,D,{name:h}),v[e]=D,P}},1103:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},1155:(t,e,r)=>{"use strict";r(6099),r(3792),r(6033),r(6385),r(1517),r(1379),r(3777),r(4190),r(2359),r(6097),r(7254),r(7036),r(7273),r(7415),r(9929),r(7583),r(5122),r(230),r(7268),r(9733);var n=r(9167);t.exports=n.Map.of},1181:(t,e,r)=>{"use strict";var n,o,i,s=r(8622),a=r(4576),u=r(34),c=r(6699),f=r(9297),l=r(7629),p=r(6119),d=r(421),h="Object already initialized",v=a.TypeError,y=a.WeakMap;if(s||l.state){var g=l.state||(l.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw new v(h);return e.facade=t,g.set(t,e),e},o=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var m=p("state");d[m]=!0,n=function(t,e){if(f(t,m))throw new v(h);return e.facade=t,c(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}}}},1291:(t,e,r)=>{"use strict";var n=r(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},1296:(t,e,r)=>{"use strict";var n=r(4495);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},1379:(t,e,r)=>{"use strict";var n=r(6518),o=r(6194),i=r(2248),s=i.get,a=i.has,u=i.set;n({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var r,n,i=o(this);return a(i,t)?(r=s(i,t),"update"in e&&(r=e.update(r,t,i),u(i,t,r)),r):(n=e.insert(t,i),u(i,t,n),n)}})},1469:(t,e,r)=>{"use strict";var n=r(7433);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},1481:(t,e,r)=>{"use strict";var n=r(6518),o=r(6043);n({target:"Promise",stat:!0,forced:r(916).CONSTRUCTOR},{reject:function(t){var e=o.f(this);return(0,e.reject)(t),e.promise}})},1499:function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0}),e.UncaughtError=e.HTTPError=e.PlayerConfigurationError=e.ClientConfigurationError=e.ModerationError=e.RenderError=e.ImposiumError=void 0;var s=r(2121),a=i(r(963),[]),u="moderation",c="clientConfiguration",f="playerConfiguration",l="network",p="uncaught",d=function(t){function e(r,n){var o=t.call(this,r)||this;return o.type="",o.version=s.version,o.storyId="<not_set>",o.logHeader="[IMPOSIUM ERROR]",o.setStoryId=function(t){o.storyId=t},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.type=n,o}return o(e,t),e}(Error);e.ImposiumError=d;var h=function(t){function e(r,n){var o=t.call(this,r,"render")||this;return o.experienceId=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Error rendering dynamic video\n \nExperience ID: ").concat(o.experienceId,"\n \nMessage: ").concat(o.message))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.experienceId=n||"<not_set>",o}return o(e,t),e}(d);e.RenderError=h;var v=function(t){function e(r,n){var o=t.call(this,a[u][r],u)||this;return o.experienceId=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Failed to pass moderation\n \nExperience ID: ").concat(o.experienceId,"\n \nMessage: ").concat(o.message))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.experienceId=n||"<not_set>",o}return o(e,t),e}(d);e.ModerationError=v;var y=function(t){function e(r,n){var o=t.call(this,a[c][r],c)||this;return o.eventName="",o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Invalid client configuration\n \nMessage: ").concat(o.message,"\n \nEvent name: ").concat(o.eventName))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.eventName=n||"<not_set>",o}return o(e,t),e}(d);e.ClientConfigurationError=y;var g=function(t){function e(r,n){var o=t.call(this,a[f][r],f)||this;return o.eventName="",o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Invalid player configuration\n \nMessage: ").concat(o.message,"\n \nEvent name: ").concat(o.eventName))},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.eventName=n||"<not_set>",o}return o(e,t),e}(d);e.PlayerConfigurationError=g;var m=function(t){function e(r,n,o){var i,s,u=this;return(u=t.call(this,a[l][r],l)||this).experienceId=null,u.axiosError=null,u.log=function(){console.error("".concat(u.logHeader,"\n \nReason: HTTP error\n \nMessage: ").concat(u.message,"\n \nExperience ID: ").concat(u.experienceId,"\n \nNetwork Error: ").concat(u.axiosError," "))},Error.captureStackTrace&&Error.captureStackTrace(u,e),(null===(s=null===(i=null==o?void 0:o.response)||void 0===i?void 0:i.data)||void 0===s?void 0:s.error)&&(u.message=o.response.data.error),u.experienceId=n||"<not_set>",u.axiosError=o||"<not_set>",u}return o(e,t),e}(d);e.HTTPError=m;var _=function(t){function e(r,n){var o=t.call(this,a[p][r],p)||this;return o.uncaughtError=null,o.log=function(){console.error("".concat(o.logHeader,"\n \nReason: Unknown\n \nMessage: ").concat(o.message,"\n \nError: "),o.uncaughtError)},Error.captureStackTrace&&Error.captureStackTrace(o,e),o.uncaughtError=n,o}return o(e,t),e}(d);e.UncaughtError=_},1510:(t,e,r)=>{"use strict";var n=r(6518),o=r(7751),i=r(9297),s=r(655),a=r(5745),u=r(1296),c=a("string-to-symbol-registry"),f=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=s(t);if(i(c,e))return c[e];var r=o("Symbol")(e);return c[e]=r,f[r]=e,r}})},1517:(t,e,r)=>{"use strict";var n=r(6518),o=r(6194),i=r(2248).remove;n({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=o(this),r=!0,n=0,s=arguments.length;n<s;n++)t=i(e,arguments[n]),r=r&&t;return!!r}})},1625:(t,e,r)=>{"use strict";var n=r(9504);t.exports=n({}.isPrototypeOf)},1678:(t,e,r)=>{"use strict";r.d(e,{lu:()=>u,zf:()=>c});var n=r(6475),o=r(258);t=r.hmd(t);var i={nowSeconds:function(){return Date.now()/1e3}},s=(0,o.wD)()?function(){try{return(0,o.fj)(t,"perf_hooks").performance}catch(t){return}}():function(){var t=(0,n.V)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),a=void 0===s?i:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},u=i.nowSeconds.bind(i),c=a.nowSeconds.bind(a);!function(){var t=(0,n.V)().performance;if(t&&t.now){var e=36e5,r=t.now(),o=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+r-o):e,s=i<e,a=t.timing&&t.timing.navigationStart,u="number"==typeof a?Math.abs(a+r-o):e;(s||u<e)&&(i<=u&&t.timeOrigin)}}()},1689:(t,e,r)=>{"use strict";var n=r(6518),o=r(4576),i=r(8745),s=r(7680),a=r(6043),u=r(9306),c=r(1103),f=o.Promise,l=!1;n({target:"Promise",stat:!0,forced:!f||!f.try||c(function(){f.try(function(t){l=8===t},8)}).error||!l},{try:function(t){var e=arguments.length>1?s(arguments,1):[],r=a.f(this),n=c(function(){return i(u(t),void 0,e)});return(n.error?r.reject:r.resolve)(n.value),r.promise}})},1828:(t,e,r)=>{"use strict";var n=r(9504),o=r(9297),i=r(5397),s=r(9617).indexOf,a=r(421),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,f=[];for(r in n)!o(a,r)&&o(n,r)&&u(f,r);for(;e.length>c;)o(n,r=e[c++])&&(~s(f,r)||u(f,r));return f}},1928:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},1951:(t,e,r)=>{"use strict";var n=r(8227);e.f=n},1955:(t,e,r)=>{"use strict";var n,o,i,s,a,u=r(4576),c=r(3389),f=r(6080),l=r(9225).set,p=r(8265),d=r(9544),h=r(4265),v=r(7860),y=r(8574),g=u.MutationObserver||u.WebKitMutationObserver,m=u.document,_=u.process,b=u.Promise,E=c("queueMicrotask");if(!E){var x=new p,w=function(){var t,e;for(y&&(t=_.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};d||y||v||!g||!m?!h&&b&&b.resolve?((s=b.resolve(void 0)).constructor=b,a=f(s.then,s),n=function(){a(w)}):y?n=function(){_.nextTick(w)}:(l=f(l,u),n=function(){l(w)}):(o=!0,i=m.createTextNode(""),new g(w).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),E=function(t){x.head||n(),x.add(t)}}t.exports=E},2003:(t,e,r)=>{"use strict";var n=r(6518),o=r(6395),i=r(916).CONSTRUCTOR,s=r(550),a=r(7751),u=r(4901),c=r(6840),f=s&&s.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&u(s)){var l=a("Promise").prototype.catch;f.catch!==l&&c(f,"catch",l,{unsafe:!0})}},2012:(t,e,r)=>{"use strict";var n=r(9516),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,i,s={};return t?(n.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(s[e]&&o.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}}),s):s}},2106:(t,e,r)=>{"use strict";var n=r(283),o=r(4913);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},2121:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printVersion=e.version=void 0,e.version="3.5.5",e.printVersion=function(){console.log("%cPowered By%c Imposium%c v".concat("3.5.5","%c https://imposium.com"),"text-transform: uppercase; padding: 5px 0px 5px 5px; background-color: black; color: white;","text-transform: uppercase; padding: 5px 0px 5px 0px; background-color: black; color: #a1b83a;","padding: 5px 5px 5px 0px; background-color: black; color: white;","padding: 5px 5px 5px 0px;")}},2140:(t,e,r)=>{"use strict";var n={};n[r(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},2181:(t,e,r)=>{"use strict";var n=r(5648);t.exports=n},2195:(t,e,r)=>{"use strict";var n=r(9504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},2211:(t,e,r)=>{"use strict";var n=r(9039);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2248:(t,e,r)=>{"use strict";var n=r(9504),o=Map.prototype;t.exports={Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o.delete),proto:o}},2293:(t,e,r)=>{"use strict";var n=r(8551),o=r(5548),i=r(4117),s=r(8227)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||i(r=n(a)[s])?e:o(r)}},2359:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=s(e,function(t,n){if(r(t,n,e))return{value:t}},!0);return n&&n.value}})},2360:(t,e,r)=>{"use strict";var n,o=r(8551),i=r(6801),s=r(8727),a=r(421),u=r(397),c=r(4055),f=r(6119),l="prototype",p="script",d=f("IE_PROTO"),h=function(){},v=function(t){return"<"+p+">"+t+"</"+p+">"},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;g="undefined"!=typeof document?document.domain&&n?y(n):(e=c("iframe"),r="java"+p+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(n);for(var o=s.length;o--;)delete g[l][s[o]];return g()};a[d]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[l]=o(t),r=new h,h[l]=null,r[d]=t):r=g(),void 0===e?r:i.f(r,e)}},2505:(t,e,r)=>{t.exports=r(8015)},2511:function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var i=r(2955),s=r(6321),a=r(632),u=r(8368),c=r(7481),f=r(1499),l=r(6612),p=o(r(3685).Sn,[]),d=function(){function t(e){var r=this;this.clientConfig=void 0,this.gaProperty="",this.directDeliveryPipe=void 0,this.player=void 0,this.renderHistory=p.emptyHistory,this.eventDelegateRefs=(0,l.cloneWithKeys)(t.eventNames),this.playerIsFallback=!1,this.setup=function(t){var e=p.defaultConfig,o=r.clientConfig||p.defaultConfig,s=new Map,d=null;try{if("object"!=typeof t)throw new f.ClientConfigurationError("badConfig",null);if(!t.hasOwnProperty("storyId")||"string"!=typeof t.storyId)throw new f.ClientConfigurationError("storyId",null);if(!t.hasOwnProperty("accessToken")||"string"!=typeof t.accessToken)throw new f.ClientConfigurationError("accessToken",null);(0,l.prepConfig)(t,e),r.clientConfig=n(n({},o),t),d=new i.default(r.clientConfig.accessToken,r.clientConfig.environment,r.clientConfig.storyId,r.clientConfig.compositionId),s.set("experienceCreated",function(t){return r.experienceCreated(t)}),s.set("gotExperience",function(t){return r.gotExperience(t)}),s.set("internalError",function(t){return r.internalError(t)}),r.directDeliveryPipe=new c.default({api:d,clientDelegates:s,environment:r.clientConfig.environment}),d.getGAProperty().then(function(t){var e=t.gaTrackingId;"string"==typeof e&&e.length>0&&(a.default.initialize(r.clientConfig.gaPlacement),r.gaProperty=e,void 0!==r.player&&r.player.setGaProperty(e))}).catch(function(t){var e=new f.HTTPError("httpFailure",null,t);u.default.trapError(e,r.clientConfig.storyId,null)})}catch(e){var h=t&&t.storyId?t.storyId:"";u.default.trapError(e,h)}},this.bindPlayer=function(t,e){if(void 0===e&&(e=!1),r.clientConfig){var n=r.clientConfig.storyId;r.playerIsFallback=e,r.player=t,t.setStoryId(n),r.gaProperty&&t.setGaProperty(r.gaProperty)}},this.on=function(e,n){var o=r,i=o.eventDelegateRefs,s=o.eventDelegateRefs.ERROR;if(r.clientConfig){var a=r.clientConfig.storyId;try{if(!(0,l.isFunc)(n))throw new f.ClientConfigurationError("invalidCallbackType",e);if(!(0,l.keyExists)(t.eventNames,e))throw new f.ClientConfigurationError("invalidEventName",e);i[e]=n}catch(t){u.default.trapError(t,a,s)}}},this.off=function(e){void 0===e&&(e="");var n=r,o=n.eventDelegateRefs,i=n.eventDelegateRefs.ERROR;if(r.clientConfig){var s=r.clientConfig.storyId;try{if(e){if(!(0,l.keyExists)(t.eventNames,e))throw new f.ClientConfigurationError("invalidEventName",e);o[e]=null}else Object.keys(t.eventNames).forEach(function(t){o[t]=null})}catch(t){u.default.trapError(t,s,i)}}},this.captureAnalytics=function(t){void 0===t&&(t=null);var e=r.eventDelegateRefs.ERROR;if(r.clientConfig){var n=r.clientConfig.storyId;try{if(!(t instanceof HTMLVideoElement))throw new f.PlayerConfigurationError("invalidPlayerRef",null);r.bindPlayer(new s.default(t),!0)}catch(t){u.default.trapError(t,n,e)}}},this.getExperience=function(e){if(r.clientConfig){var n=r,o=n.player,i=n.clientConfig.storyId,s=n.eventDelegateRefs,a=s.GOT_EXPERIENCE,c=s.ERROR;try{if(null===o&&!(0,l.isFunc)(a))throw new f.ClientConfigurationError("badConfigOnGet",t.eventNames.GOT_EXPERIENCE);e.length>p.uuidLength&&(e=e.substring(0,p.uuidLength)),r.directDeliveryPipe.getExperience(e)}catch(t){u.default.trapError(t,i,c)}}},this.createExperience=function(e,n){if(void 0===n&&(n=!0),r.clientConfig){var o=r,i=o.player,s=o.playerIsFallback,a=o.clientConfig.storyId,c=o.eventDelegateRefs,p=c.GOT_EXPERIENCE,d=c.UPLOAD_PROGRESS,h=c.ERROR;try{if((null===i||s)&&!(0,l.isFunc)(p))throw new f.ClientConfigurationError("bagConfigOnPostRender",t.eventNames.GOT_EXPERIENCE);r.directDeliveryPipe.createExperience(e,n,d)}catch(t){u.default.trapError(t,a,h)}}},this.renderExperience=function(e){if(r.clientConfig){var n=r,o=n.player,i=n.playerIsFallback,s=n.clientConfig.storyId,a=n.eventDelegateRefs,c=a.GOT_EXPERIENCE,p=a.UPLOAD_PROGRESS,d=a.ERROR;try{if((null===o||i)&&!(0,l.isFunc)(c))throw new f.ClientConfigurationError("bagConfigOnPostRender",t.eventNames.GOT_EXPERIENCE);r.directDeliveryPipe.fetchExperience(e,p)}catch(t){u.default.trapError(t,s,d)}}},this.renderExperienceFromId=function(e){if(r.clientConfig){var n=r,o=n.player,i=n.playerIsFallback,s=n.clientConfig.storyId,a=n.eventDelegateRefs,c=a.GOT_EXPERIENCE,p=a.UPLOAD_PROGRESS,d=a.ERROR;try{if((null===o||i)&&!(0,l.isFunc)(c))throw new f.ClientConfigurationError("bagConfigOnPostRender",t.eventNames.GOT_EXPERIENCE);r.directDeliveryPipe.fetchExperience(null,p,1,e)}catch(t){u.default.trapError(t,s,d)}}},this.updateHistory=function(t,e){r.renderHistory[t]!==e&&(r.renderHistory[t]=e)},this.experienceCreated=function(t){var e=r.eventDelegateRefs.EXPERIENCE_CREATED,n=t.id;(0,l.isFunc)(e)&&e(t),r.updateHistory("prevExperienceId",n)},this.gotExperience=function(t){var e=r,n=e.player,o=e.clientConfig.storyId,i=e.eventDelegateRefs,s=i.GOT_EXPERIENCE,a=i.ERROR,c=t.id,p=t.moderation_status;try{if("rejected"===p)throw new f.ModerationError("rejection",c);(0,l.isFunc)(s)&&s(t),void 0!==n&&n.experienceGenerated(t),r.updateHistory("prevExperienceId",c),r.updateHistory("prevMessage","")}catch(t){u.default.trapError(t,o,a)}},this.internalError=function(t){var e=r,n=e.clientConfig.storyId,o=e.eventDelegateRefs.ERROR;u.default.trapError(t,n,o)},this.setup(e)}return t.eventNames=p.eventNames,t}();e.default=d},2529:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},2603:(t,e,r)=>{"use strict";var n=r(655);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},2652:(t,e,r)=>{"use strict";var n=r(6080),o=r(9565),i=r(8551),s=r(6823),a=r(4209),u=r(6198),c=r(1625),f=r(81),l=r(851),p=r(9539),d=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var y,g,m,_,b,E,x,w=r&&r.that,S=!(!r||!r.AS_ENTRIES),O=!(!r||!r.IS_RECORD),T=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),P=n(e,w),j=function(t){return y&&p(y,"normal"),new h(!0,t)},C=function(t){return S?(i(t),k?P(t[0],t[1],j):P(t[0],t[1])):k?P(t,j):P(t)};if(O)y=t.iterator;else if(T)y=t;else{if(!(g=l(t)))throw new d(s(t)+" is not iterable");if(a(g)){for(m=0,_=u(t);_>m;m++)if((b=C(t[m]))&&c(v,b))return b;return new h(!1)}y=f(t,g)}for(E=O?t.next:y.next;!(x=o(E,y)).done;){try{b=C(x.value)}catch(t){p(y,"throw",t)}if("object"==typeof b&&b&&c(v,b))return b}return new h(!1)}},2675:(t,e,r)=>{"use strict";r(6761),r(1510),r(7812),r(3110),r(9773)},2744:(t,e,r)=>{"use strict";var n=r(9039);t.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},2777:(t,e,r)=>{"use strict";var n=r(9565),o=r(34),i=r(757),s=r(5966),a=r(4270),u=r(8227),c=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=s(t,f);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},2787:(t,e,r)=>{"use strict";var n=r(9297),o=r(4901),i=r(8981),s=r(6119),a=r(2211),u=s("IE_PROTO"),c=Object,f=c.prototype;t.exports=a?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?f:null}},2796:(t,e,r)=>{"use strict";var n=r(9039),o=r(4901),i=/#|\.prototype\./,s=function(t,e){var r=u[a(t)];return r===f||r!==c&&(o(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=s.data={},c=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},2812:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},2839:(t,e,r)=>{"use strict";var n=r(4576).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},2881:(t,e,r)=>{"use strict";var n=r(9516),o=r(6987);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,function(r){t=r.call(i,t,e)}),t}},2955:function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var i=r(6765),s=r(2505),a=r(6612),u=o(r(3685).FH,[]);e.default=function(t,e,r,o){var c;void 0===o&&(o=null);var f=this;this.http=null,this.storyId="",this.compositionId="",this.getGAProperty=function(){return new Promise(function(t,e){f.http.get("/story/".concat(f.storyId,"/property")).then(function(e){t(e.data)}).catch(function(t){e(t)})})},this.get=function(t){return new Promise(function(e,r){f.http.get("/story/".concat(f.storyId,"/experience/").concat(t,"?r=").concat(Math.random())).then(function(t){e(t.data)}).catch(function(t){r(t)})})},this.fetch=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var o=(0,a.inventoryToFormData)(f.storyId,t,f.compositionId),i={onUploadProgress:function(t){return f.uploadProgress(t,r)}};return o.append("id",e),new Promise(function(t,e){f.http.post("/experience/fetch",o,i).then(function(e){t(e.data)}).catch(function(t){e(t)})})},this.create=function(t,e,r,n){void 0===n&&(n=null);var o=e?"/experience/render":"/experience",i=(0,a.inventoryToFormData)(f.storyId,t,f.compositionId),s={onUploadProgress:function(t){return f.uploadProgress(t,n)}};return i.append("id",r),new Promise(function(t,e){f.http.post(o,i,s).then(function(e){t(e.data)}).catch(function(t){e(t)})})},this.getAuthHeader=function(t){var e,r,n=u.jwt,o=u.hmac;try{return(0,i.default)(t),(e={})[n]=t,e}catch(e){return(r={})[o]=t,r}},this.uploadProgress=function(t,e){if(void 0===e&&(e=null),e){var r=t.loaded,n=t.total;e(Math.round(r/n*100))}};var l=u.version,p=u.currentVersion;this.storyId=r,this.compositionId=o,this.http=s.default.create({baseURL:u[e],headers:n(n({},this.getAuthHeader(t)),(c={},c[l]=p,c))})}},2967:(t,e,r)=>{"use strict";var n=r(6706),o=r(34),i=r(7750),s=r(3506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),s(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},2989:(t,e,r)=>{"use strict";t.exports=r(1155)},3110:(t,e,r)=>{"use strict";var n=r(6518),o=r(7751),i=r(8745),s=r(9565),a=r(9504),u=r(9039),c=r(4901),f=r(757),l=r(7680),p=r(6933),d=r(4495),h=String,v=o("JSON","stringify"),y=a(/./.exec),g=a("".charAt),m=a("".charCodeAt),_=a("".replace),b=a(1.1.toString),E=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,S=!d||u(function(){var t=o("Symbol")("stringify detection");return"[null]"!==v([t])||"{}"!==v({a:t})||"{}"!==v(Object(t))}),O=u(function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")}),T=function(t,e){var r=l(arguments),n=p(e);if(c(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(c(n)&&(e=s(n,this,h(t),e)),!f(e))return e},i(v,null,r)},k=function(t,e,r){var n=g(r,e-1),o=g(r,e+1);return y(x,t)&&!y(w,o)||y(w,t)&&!y(x,n)?"\\u"+b(m(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:S||O},{stringify:function(t,e,r){var n=l(arguments),o=i(S?T:v,null,n);return O&&"string"==typeof o?_(o,E,k):o}})},3138:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},3167:(t,e,r)=>{"use strict";var n=r(4901),o=r(34),i=r(2967);t.exports=function(t,e,r){var s,a;return i&&n(s=e.constructor)&&s!==r&&o(a=s.prototype)&&a!==r.prototype&&i(t,a),t}},3179:(t,e,r)=>{"use strict";var n=r(2140),o=r(6955);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},3191:(t,e,r)=>{"use strict";var n=r(1928);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var r=this;this.promise.then(function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}}),this.promise.then=function(t){var e,n=new Promise(function(t){r.subscribe(t),e=t}).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t(function(t){r.reason||(r.reason=new n(t),e(r.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},3317:t=>{"use strict";t.exports=function(t,e){return t===e||t!=t&&e!=e}},3362:(t,e,r)=>{"use strict";r(436),r(6499),r(2003),r(7743),r(1481),r(280)},3389:(t,e,r)=>{"use strict";var n=r(4576),o=r(3724),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!o)return n[t];var e=i(n,t);return e&&e.value}},3392:(t,e,r)=>{"use strict";var n=r(9504),o=0,i=Math.random(),s=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},3438:(t,e,r)=>{"use strict";var n=r(8551),o=r(34),i=r(6043);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},3451:(t,e,r)=>{"use strict";var n=r(6518),o=r(9504),i=r(421),s=r(34),a=r(9297),u=r(4913).f,c=r(8480),f=r(298),l=r(4124),p=r(3392),d=r(2744),h=!1,v=p("meta"),y=0,g=function(t){u(t,v,{value:{objectID:"O"+y++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},h=!0;var t=c.f,e=o([].splice),r={};r[v]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===v){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,v)){if(!l(t))return"F";if(!e)return"E";g(t)}return t[v].objectID},getWeakData:function(t,e){if(!a(t,v)){if(!l(t))return!0;if(!e)return!1;g(t)}return t[v].weakData},onFreeze:function(t){return d&&h&&l(t)&&!a(t,v)&&g(t),t}};i[v]=!0},3471:(t,e,r)=>{"use strict";var n=r(9516);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=o},3506:(t,e,r)=>{"use strict";var n=r(3925),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},3517:(t,e,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(6955),a=r(7751),u=r(3706),c=function(){},f=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),d=!l.test(c),h=function(t){if(!i(t))return!1;try{return f(c,[],t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(l,u(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o(function(){var t;return h(h.call)||!h(Object)||!h(function(){t=!0})||t})?v:h},3518:(t,e,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(7751),a=r(6043),u=r(1103),c=r(2652),f=r(537),l="No one promise resolved";n({target:"Promise",stat:!0,forced:f},{any:function(t){var e=this,r=s("AggregateError"),n=a.f(e),f=n.resolve,p=n.reject,d=u(function(){var n=i(e.resolve),s=[],a=0,u=1,d=!1;c(t,function(t){var i=a++,c=!1;u++,o(n,e,t).then(function(t){c||d||(d=!0,f(t))},function(t){c||d||(c=!0,s[i]=t,--u||p(new r(s,l)))})}),--u||p(new r(s,l))});return d.error&&p(d.value),n.promise}})},3685:t=>{"use strict";t.exports=JSON.parse('{"Sn":{"uuidLength":36,"defaultConfig":{"accessToken":"","storyId":"","compositionId":"","environment":"production","gaPlacement":"web"},"emptyHistory":{"prevExperienceId":"","prevMessage":""},"clientEmits":{"adding":"Adding job to queue...","added":"Added job to queue...","finishedPolling":"Video ready for viewing."},"eventNames":{"EXPERIENCE_CREATED":"EXPERIENCE_CREATED","UPLOAD_PROGRESS":"UPLOAD_PROGRESS","GOT_EXPERIENCE":"GOT_EXPERIENCE","STATUS_UPDATE":"STATUS_UPDATE","ERROR":"ERROR"}},"FH":{"production":"https://api.imposium.com","staging":"https://api.staging.imposium.com","local":"https://api","currentVersion":"2.0.0","version":"X-Imposium-Api-Version","hmac":"X-Imposium-Access-Key","jwt":"Authorization"},"e$":{"dsn":"https://17ffe982179e4d60a1df2062198d7ade@sentry.io/1411258","projectName":"imposium-js-sdk"},"zS":{"exceptionProp":"UA-123315989-1","baseUrl":"https://ssl.google-analytics.com/collect","lsLookup":"imposium_js_ga_cid","gaPropPlaceholder":"[id_placeholder]","cidPlaceholder":"[cid_placeholder]"},"xY":{"defaultConfig":{"volume":1,"preload":"auto","loop":false,"muted":false,"autoLoad":true,"autoPlay":true,"controls":true,"crossOrigin":"anonymous","qualityOverride":null},"testImage":"https://cdn.imposium.com/SampleJPGImage_1mb.jpg","playbackEvents":[0,0.25,0.5,0.75],"checkPlaybackRateMs":100,"volumeMin":0,"volumeMax":1,"bandwidth":{"low":2.4,"mid":8},"compression":{"stream":"m3u8","low":"mp4_480","mid":"mp4_720","high":"mp4_1080"},"bandwidthSamples":5,"hlsSupportLevels":{"native":"native","hlsjs":"hls-js"},"streamType":"application/vnd.apple.mpegurl"}}')},3706:(t,e,r)=>{"use strict";var n=r(9504),o=r(4901),i=r(7629),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},3717:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},3724:(t,e,r)=>{"use strict";var n=r(9039);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},3777:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{every:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0);return!1!==s(e,function(t,n){if(!r(t,n,e))return!1},!0)}})},3792:(t,e,r)=>{"use strict";var n=r(5397),o=r(6469),i=r(6269),s=r(1181),a=r(4913).f,u=r(1088),c=r(2529),f=r(6395),l=r(3724),p="Array Iterator",d=s.set,h=s.getterFor(p);t.exports=u(Array,"Array",function(t,e){d(this,{type:p,target:n(t),index:0,kind:e})},function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)},"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==v.name)try{a(v,"name",{value:"values"})}catch(t){}},3864:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},3925:(t,e,r)=>{"use strict";var n=r(34);t.exports=function(t){return n(t)||null===t}},3948:(t,e,r)=>{"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,i,s){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},3994:(t,e,r)=>{"use strict";var n=r(7657).IteratorPrototype,o=r(2360),i=r(6980),s=r(687),a=r(6269),u=function(){return this};t.exports=function(t,e,r,c){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),s(t,f,!1,!0),a[f]=u,t}},4055:(t,e,r)=>{"use strict";var n=r(4576),o=r(34),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},4117:t=>{"use strict";t.exports=function(t){return null==t}},4124:(t,e,r)=>{"use strict";var n=r(9039),o=r(34),i=r(2195),s=r(5652),a=Object.isExtensible,u=n(function(){a(1)});t.exports=u||s?function(t){return!!o(t)&&(!s||"ArrayBuffer"!==i(t))&&(!a||a(t))}:a},4190:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(2248),a=r(6223),u=s.Map,c=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new u;return a(e,function(t,o){r(t,o,e)&&c(n,o,t)}),n}})},4202:(t,e,r)=>{"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},4209:(t,e,r)=>{"use strict";var n=r(8227),o=r(6269),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},4213:(t,e,r)=>{"use strict";var n=r(3724),o=r(9504),i=r(9565),s=r(9039),a=r(1072),u=r(3717),c=r(8773),f=r(8981),l=r(7055),p=Object.assign,d=Object.defineProperty,h=o([].concat);t.exports=!p||s(function(){if(n&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach(function(t){e[t]=t}),7!==p({},t)[r]||a(p({},e)).join("")!==o})?function(t,e){for(var r=f(t),o=arguments.length,s=1,p=u.f,d=c.f;o>s;)for(var v,y=l(arguments[s++]),g=p?h(a(y),p(y)):a(y),m=g.length,_=0;m>_;)v=g[_++],n&&!i(d,y,v)||(r[v]=y[v]);return r}:p},4215:(t,e,r)=>{"use strict";var n=r(4576),o=r(2839),i=r(2195),s=function(t){return o.slice(0,t.length)===t};t.exports=s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},4265:(t,e,r)=>{"use strict";var n=r(2839);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},4270:(t,e,r)=>{"use strict";var n=r(9565),o=r(4901),i=r(34),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw new s("Can't convert object to primitive value")}},4376:(t,e,r)=>{"use strict";var n=r(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4428:(t,e,r)=>{"use strict";var n=r(8227)("iterator"),o=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){o=!0}};s[n]=function(){return this},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){try{if(!e&&!o)return!1}catch(t){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},4490:(t,e,r)=>{"use strict";var n=r(9516),o=r(2881),i=r(3864),s=r(6987),a=r(1928);function u(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new a("canceled")}t.exports=function(t){return u(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return u(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},4495:(t,e,r)=>{"use strict";var n=r(9519),o=r(9039),i=r(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},4576:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4628:(t,e,r)=>{"use strict";var n=r(6518),o=r(6043);n({target:"Promise",stat:!0},{withResolvers:function(){var t=o.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}})},4659:(t,e,r)=>{"use strict";var n=r(9039),o=r(6980);t.exports=!n(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)})},4680:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4841:(t,e,r)=>{"use strict";var n=r(9641).version,o={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){o[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});var i={};o.transitional=function(t,e,r){function o(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,n,s){if(!1===t)throw new Error(o(n," has been removed"+(e?" in "+e:"")));return e&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,s)}},t.exports={assertOptions:function(t,e,r){if("object"!=typeof t)throw new TypeError("options must be an object");for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],s=e[i];if(s){var a=t[i],u=void 0===a||s(a,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},4901:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},4912:(t,e,r)=>{"use strict";r.r(e),r.d(e,{BrowserClient:()=>Pr,Hub:()=>ct,Integrations:()=>yn,SDK_NAME:()=>dn,SDK_VERSION:()=>Ct,Scope:()=>j,Session:()=>at,Severity:()=>u,Transports:()=>i,addBreadcrumb:()=>Et,addGlobalEventProcessor:()=>R,captureEvent:()=>_t,captureException:()=>gt,captureMessage:()=>mt,close:()=>fn,configureScope:()=>bt,defaultIntegrations:()=>rn,eventFromException:()=>Re,eventFromMessage:()=>Ie,flush:()=>cn,forceLoad:()=>an,getCurrentHub:()=>pt,getHubFromCarrier:()=>ht,init:()=>nn,injectReportDialog:()=>ar,lastEventId:()=>sn,makeMain:()=>lt,onLoad:()=>un,setContext:()=>xt,setExtra:()=>Ot,setExtras:()=>wt,setTag:()=>Tt,setTags:()=>St,setUser:()=>kt,showReportDialog:()=>on,startTransaction:()=>jt,withScope:()=>Pt,wrap:()=>ln});var n={};r.r(n),r.d(n,{FunctionToString:()=>Nr,InboundFilters:()=>Cr});var o={};r.r(o),r.d(o,{Breadcrumbs:()=>xr,Dedupe:()=>Jr,GlobalHandlers:()=>Br,LinkedErrors:()=>Yr,TryCatch:()=>Dr,UserAgent:()=>en});var i={};r.r(i),r.d(i,{BaseTransport:()=>$e,FetchTransport:()=>Qe,XHRTransport:()=>er,makeNewFetchTransport:()=>Xe,makeNewXHRTransport:()=>tr});var s=function(t,e){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},s(t,e)};function a(t,e){function r(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var u,c=function(){return c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)};function f(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function p(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}!function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(u||(u={}));var d=Object.prototype.toString;function h(t){switch(d.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return w(t,Error)}}function v(t,e){return d.call(t)==="[object "+e+"]"}function y(t){return v(t,"ErrorEvent")}function g(t){return v(t,"DOMError")}function m(t){return v(t,"String")}function _(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function b(t){return v(t,"Object")}function E(t){return"undefined"!=typeof Event&&w(t,Event)}function x(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function w(t,e){try{return t instanceof e}catch(t){return!1}}var S=r(1678);function O(t){return new k(function(e){e(t)})}function T(t){return new k(function(e,r){r(t)})}var k=function(){function t(t){var e=this;this._state=0,this._handlers=[],this._resolve=function(t){e._setResult(1,t)},this._reject=function(t){e._setResult(2,t)},this._setResult=function(t,r){0===e._state&&(x(r)?r.then(e._resolve,e._reject):(e._state=t,e._value=r,e._executeHandlers()))},this._executeHandlers=function(){if(0!==e._state){var t=e._handlers.slice();e._handlers=[],t.forEach(function(t){t[0]||(1===e._state&&t[1](e._value),2===e._state&&t[2](e._value),t[0]=!0)})}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.prototype.then=function(e,r){var n=this;return new t(function(t,o){n._handlers.push([!1,function(r){if(e)try{t(e(r))}catch(t){o(t)}else t(r)},function(e){if(r)try{t(r(e))}catch(t){o(t)}else o(e)}]),n._executeHandlers()})},t.prototype.catch=function(t){return this.then(function(t){return t},t)},t.prototype.finally=function(e){var r=this;return new t(function(t,n){var o,i;return r.then(function(t){i=!1,o=t,e&&e()},function(t){i=!0,o=t,e&&e()}).then(function(){i?n(o):t(o)})})},t}(),P=r(6475),j=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return t.clone=function(e){var r=new t;return e&&(r._breadcrumbs=p(e._breadcrumbs),r._tags=c({},e._tags),r._extra=c({},e._extra),r._contexts=c({},e._contexts),r._user=e._user,r._level=e._level,r._span=e._span,r._session=e._session,r._transactionName=e._transactionName,r._fingerprint=e._fingerprint,r._eventProcessors=p(e._eventProcessors),r._requestSession=e._requestSession),r},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=c(c({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var r;return this._tags=c(c({},this._tags),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=c(c({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var r;return this._extra=c(c({},this._extra),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var r;return null===e?delete this._contexts[t]:this._contexts=c(c({},this._contexts),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t=this.getSpan();return t&&t.transaction},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"==typeof e){var r=e(this);return r instanceof t?r:this}return e instanceof t?(this._tags=c(c({},this._tags),e._tags),this._extra=c(c({},this._extra),e._extra),this._contexts=c(c({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):b(e)&&(this._tags=c(c({},this._tags),e.tags),this._extra=c(c({},this._extra),e.extra),this._contexts=c(c({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var r="number"==typeof e?Math.min(e,100):100;if(r<=0)return this;var n=c({timestamp:(0,S.lu)()},t);return this._breadcrumbs=p(this._breadcrumbs,[n]).slice(-r),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){if(this._extra&&Object.keys(this._extra).length&&(t.extra=c(c({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=c(c({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=c(c({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=c(c({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=c({trace:this._span.getTraceContext()},t.contexts);var r=this._span.transaction&&this._span.transaction.name;r&&(t.tags=c({transaction:r},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=p(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(p(C(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=c(c({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,r,n){var o=this;return void 0===n&&(n=0),new k(function(i,s){var a=t[n];if(null===e||"function"!=typeof a)i(e);else{var u=a(c({},e),r);x(u)?u.then(function(e){return o._notifyEventProcessors(t,e,r,n+1).then(i)}).then(null,s):o._notifyEventProcessors(t,u,r,n+1).then(i).then(null,s)}})},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(e){e(t)}),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function C(){return(0,P.B)("globalEventProcessors",function(){return[]})}function R(t){C().push(t)}function I(t,e){try{for(var r=t,n=[],o=0,i=0,s=void 0;r&&o++<5&&!("html"===(s=N(r,e))||o>1&&i+3*n.length+s.length>=80);)n.push(s),i+=s.length,r=r.parentNode;return n.reverse().join(" > ")}catch(t){return"<unknown>"}}function N(t,e){var r,n,o,i,s,a=t,u=[];if(!a||!a.tagName)return"";u.push(a.tagName.toLowerCase());var c=e&&e.length?e.filter(function(t){return a.getAttribute(t)}).map(function(t){return[t,a.getAttribute(t)]}):null;if(c&&c.length)c.forEach(function(t){u.push("["+t[0]+'="'+t[1]+'"]')});else if(a.id&&u.push("#"+a.id),(r=a.className)&&m(r))for(n=r.split(/\s+/),s=0;s<n.length;s++)u.push("."+n[s]);var f=["type","name","title","alt"];for(s=0;s<f.length;s++)o=f[s],(i=a.getAttribute(o))&&u.push("["+o+'="'+i+'"]');return u.join("")}function A(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function D(t,e){if(!Array.isArray(t))return"";for(var r=[],n=0;n<t.length;n++){var o=t[n];try{r.push(String(o))}catch(t){r.push("[value cannot be serialized]")}}return r.join(e)}function M(t,e){return!!m(t)&&(v(e,"RegExp")?e.test(t):"string"==typeof e&&-1!==t.indexOf(e))}function L(t,e,r){if(e in t){var n=t[e],o=r(n);if("function"==typeof o)try{F(o,n)}catch(t){}t[e]=o}}function U(t,e,r){Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0})}function F(t,e){var r=e.prototype||{};t.prototype=e.prototype=r,U(t,"__sentry_original__",e)}function B(t){return t.__sentry_original__}function q(t){var e=t;if(h(t))e=c({message:t.message,name:t.name,stack:t.stack},G(t));else if(E(t)){var r=t;e=c({type:r.type,target:H(r.target),currentTarget:H(r.currentTarget)},G(r)),"undefined"!=typeof CustomEvent&&w(t,CustomEvent)&&(e.detail=r.detail)}return e}function H(t){try{return"undefined"!=typeof Element&&w(t,Element)?I(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function G(t){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function z(t,e){void 0===e&&(e=40);var r=Object.keys(q(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=e)return A(r[0],e);for(var n=r.length;n>0;n--){var o=r.slice(0,n).join(", ");if(!(o.length>e))return n===r.length?o:A(o,e)}return""}function V(t){var e,r;if(b(t)){var n={};try{for(var o=f(Object.keys(t)),i=o.next();!i.done;i=o.next()){var s=i.value;void 0!==t[s]&&(n[s]=V(t[s]))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n}return Array.isArray(t)?t.map(V):t}function W(){var t=(0,P.V)(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var r=new Uint16Array(8);e.getRandomValues(r),r[3]=4095&r[3]|16384,r[4]=16383&r[4]|32768;var n=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return n(r[0])+n(r[1])+n(r[2])+n(r[3])+n(r[4])+n(r[5])+n(r[6])+n(r[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}function Y(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var r=e[6]||"",n=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+r+n}}function X(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function J(t){var e=t.message,r=t.event_id;if(e)return e;var n=X(t);return n?n.type&&n.value?n.type+": "+n.value:n.type||n.value||r||"<unknown>":r||"<unknown>"}function K(t,e,r){var n=t.exception=t.exception||{},o=n.values=n.values||[],i=o[0]=o[0]||{};i.value||(i.value=e||""),i.type||(i.type=r||"Error")}function $(t,e){var r=X(t);if(r){var n=r.mechanism;if(r.mechanism=c(c(c({},{type:"generic",handled:!0}),n),e),e&&"data"in e){var o=c(c({},n&&n.data),e.data);r.mechanism.data=o}}}function Q(t){if(t&&t.__sentry_captured__)return!0;try{U(t,"__sentry_captured__",!0)}catch(t){}return!1}var Z,tt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,et=(0,P.V)(),rt=["debug","info","warn","error","log","assert"];function nt(t){var e=(0,P.V)();if(!("console"in e))return t();var r=e.console,n={};rt.forEach(function(t){var o=r[t]&&r[t].__sentry_original__;t in e.console&&o&&(n[t]=r[t],r[t]=o)});try{return t()}finally{Object.keys(n).forEach(function(t){r[t]=n[t]})}}function ot(){var t=!1,e={enable:function(){t=!0},disable:function(){t=!1}};return tt?rt.forEach(function(r){e[r]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t&&nt(function(){var t;(t=et.console)[r].apply(t,p(["Sentry Logger ["+r+"]:"],e))})}}):rt.forEach(function(t){e[t]=function(){}}),e}Z=tt?(0,P.B)("logger",ot):ot();var it=r(258),st="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,at=function(){function t(t){this.errors=0,this.sid=W(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var e=(0,S.zf)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||(0,S.zf)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:W()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):"ok"===this.status?this.update({status:"exited"}):this.update()},t.prototype.toJSON=function(){return V({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}(),ut=4,ct=function(){function t(t,e,r){void 0===e&&(e=new j),void 0===r&&(r=ut),this._version=r,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=j.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1||!this.getStack().pop())},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var r=this._lastEventId=e&&e.event_id?e.event_id:W(),n=e;if(!e){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(t){o=t}n={originalException:t,syntheticException:o}}return this._invokeClient("captureException",t,c(c({},n),{event_id:r})),r},t.prototype.captureMessage=function(t,e,r){var n=this._lastEventId=r&&r.event_id?r.event_id:W(),o=r;if(!r){var i=void 0;try{throw new Error(t)}catch(t){i=t}o={originalException:t,syntheticException:i}}return this._invokeClient("captureMessage",t,e,c(c({},o),{event_id:n})),n},t.prototype.captureEvent=function(t,e){var r=e&&e.event_id?e.event_id:W();return"transaction"!==t.type&&(this._lastEventId=r),this._invokeClient("captureEvent",t,c(c({},e),{event_id:r})),r},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var r=this.getStackTop(),n=r.scope,o=r.client;if(n&&o){var i=o.getOptions&&o.getOptions()||{},s=i.beforeBreadcrumb,a=void 0===s?null:s,u=i.maxBreadcrumbs,f=void 0===u?100:u;if(!(f<=0)){var l=(0,S.lu)(),p=c({timestamp:l},t),d=a?nt(function(){return a(p,e)}):p;null!==d&&n.addBreadcrumb(d,f)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var r=this.getScope();r&&r.setTag(t,e)},t.prototype.setExtra=function(t,e){var r=this.getScope();r&&r.setExtra(t,e)},t.prototype.setContext=function(t,e){var r=this.getScope();r&&r.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),r=e.scope,n=e.client;r&&n&&t(r)},t.prototype.run=function(t){var e=lt(this);try{t(this)}finally{lt(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return st&&Z.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t=this.getStackTop(),e=t&&t.scope,r=e&&e.getSession();r&&r.close(),this._sendSessionUpdate(),e&&e.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),r=e.scope,n=e.client,o=n&&n.getOptions()||{},i=o.release,s=o.environment,a=((0,P.V)().navigator||{}).userAgent,u=new at(c(c(c({release:i,environment:s},r&&{user:r.getUser()}),a&&{userAgent:a}),t));if(r){var f=r.getSession&&r.getSession();f&&"ok"===f.status&&f.update({status:"exited"}),this.endSession(),r.setSession(u)}return u},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,r=t.client;if(e){var n=e.getSession&&e.getSession();n&&r&&r.captureSession&&r.captureSession(n)}},t.prototype._invokeClient=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=this.getStackTop(),i=o.scope,s=o.client;s&&s[t]&&(e=s)[t].apply(e,p(r,[i]))},t.prototype._callExtensionMethod=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=ft().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);st&&Z.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function ft(){var t=(0,P.V)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function lt(t){var e=ft(),r=ht(e);return vt(e,t),r}function pt(){var t=ft();return dt(t)&&!ht(t).isOlderThan(ut)||vt(t,new ct),(0,it.wD)()?function(t){try{var e=ft().__SENTRY__,r=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!r)return ht(t);if(!dt(r)||ht(r).isOlderThan(ut)){var n=ht(t).getStackTop();vt(r,new ct(n.client,j.clone(n.scope)))}return ht(r)}catch(e){return ht(t)}}(t):ht(t)}function dt(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function ht(t){return(0,P.B)("hub",function(){return new ct},t)}function vt(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}function yt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=pt();if(n&&n[t])return n[t].apply(n,p(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function gt(t,e){return yt("captureException",t,{captureContext:e,originalException:t,syntheticException:new Error("Sentry syntheticException")})}function mt(t,e){var r=new Error(t);return yt("captureMessage",t,"string"==typeof e?e:void 0,c({originalException:t,syntheticException:r},"string"!=typeof e?{captureContext:e}:void 0))}function _t(t){return yt("captureEvent",t)}function bt(t){yt("configureScope",t)}function Et(t){yt("addBreadcrumb",t)}function xt(t,e){yt("setContext",t,e)}function wt(t){yt("setExtras",t)}function St(t){yt("setTags",t)}function Ot(t,e){yt("setExtra",t,e)}function Tt(t,e){yt("setTag",t,e)}function kt(t){yt("setUser",t)}function Pt(t){yt("withScope",t)}function jt(t,e){return yt("startTransaction",c({},t),e)}var Ct="6.19.7",Rt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(t,r)||(t[r]=e[r]);return t}),It=function(t){function e(e){var r=this.constructor,n=t.call(this,e)||this;return n.message=e,n.name=r.prototype.constructor.name,Rt(n,r.prototype),n}return a(e,t),e}(Error),Nt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function At(t,e){void 0===e&&(e=!1);var r=t.host,n=t.path,o=t.pass,i=t.port,s=t.projectId;return t.protocol+"://"+t.publicKey+(e&&o?":"+o:"")+"@"+r+(i?":"+i:"")+"/"+(n?n+"/":n)+s}function Dt(t){return"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),{user:t.publicKey||"",protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Mt(t){var e="string"==typeof t?function(t){var e=Nt.exec(t);if(!e)throw new It("Invalid Sentry Dsn: "+t);var r=l(e.slice(1),6),n=r[0],o=r[1],i=r[2],s=void 0===i?"":i,a=r[3],u=r[4],c=void 0===u?"":u,f="",p=r[5],d=p.split("/");if(d.length>1&&(f=d.slice(0,-1).join("/"),p=d.pop()),p){var h=p.match(/^\d+/);h&&(p=h[0])}return Dt({host:a,pass:s,path:f,projectId:p,port:c,protocol:n,publicKey:o})}(t):Dt(t);return function(t){if(tt){var e=t.port,r=t.projectId,n=t.protocol;if(["protocol","publicKey","host","projectId"].forEach(function(e){if(!t[e])throw new It("Invalid Sentry Dsn: "+e+" missing")}),!r.match(/^\d+$/))throw new It("Invalid Sentry Dsn: Invalid projectId "+r);if(!function(t){return"http"===t||"https"===t}(n))throw new It("Invalid Sentry Dsn: Invalid protocol "+n);if(e&&isNaN(parseInt(e,10)))throw new It("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}var Lt=50;var Ut="<anonymous>";function Ft(t){try{return t&&"function"==typeof t&&t.name||Ut}catch(t){return Ut}}function Bt(t,e,r){void 0===e&&(e=1/0),void 0===r&&(r=1/0);try{return Ht("",t,e,r)}catch(t){return{ERROR:"**non-serializable** ("+t+")"}}}function qt(t,e,r){void 0===e&&(e=3),void 0===r&&(r=102400);var n,o=Bt(t,e);return n=o,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(n))>r?qt(t,e-1,r):o}function Ht(t,e,n,o,i){var s,a;void 0===n&&(n=1/0),void 0===o&&(o=1/0),void 0===i&&(s="function"==typeof WeakSet,a=s?new WeakSet:[],i=[function(t){if(s)return!!a.has(t)||(a.add(t),!1);for(var e=0;e<a.length;e++)if(a[e]===t)return!0;return a.push(t),!1},function(t){if(s)a.delete(t);else for(var e=0;e<a.length;e++)if(a[e]===t){a.splice(e,1);break}}]);var u,c=l(i,2),f=c[0],p=c[1],d=e;if(d&&"function"==typeof d.toJSON)try{return d.toJSON()}catch(t){}if(null===e||["number","boolean","string"].includes(typeof e)&&("number"!=typeof(u=e)||u==u))return e;var v=function(t,e){try{return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":void 0!==r.g&&e===r.g?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":function(t){return b(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+Ft(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":"[object "+Object.getPrototypeOf(e).constructor.name+"]"}catch(t){return"**non-serializable** ("+t+")"}}(t,e);if(!v.startsWith("[object "))return v;if(0===n)return v.replace("object ","");if(f(e))return"[Circular ~]";var y=Array.isArray(e)?[]:{},g=0,m=h(e)||E(e)?q(e):e;for(var _ in m)if(Object.prototype.hasOwnProperty.call(m,_)){if(g>=o){y[_]="[MaxProperties ~]";break}var x=m[_];y[_]=Ht(_,x,n-1,o,i),g+=1}return p(e),y}var Gt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,zt=[];function Vt(t){return t.reduce(function(t,e){return t.every(function(t){return e.name!==t.name})&&t.push(e),t},[])}var Wt="Not capturing exception because it's already been captured.",Yt=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=Mt(e.dsn))}return t.prototype.captureException=function(t,e,r){var n=this;if(!Q(t)){var o=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then(function(t){return n._captureEvent(t,e,r)}).then(function(t){o=t})),o}Gt&&Z.log(Wt)},t.prototype.captureMessage=function(t,e,r,n){var o=this,i=r&&r.event_id,s=_(t)?this._getBackend().eventFromMessage(String(t),e,r):this._getBackend().eventFromException(t,r);return this._process(s.then(function(t){return o._captureEvent(t,r,n)}).then(function(t){i=t})),i},t.prototype.captureEvent=function(t,e,r){if(!(e&&e.originalException&&Q(e.originalException))){var n=e&&e.event_id;return this._process(this._captureEvent(t,e,r).then(function(t){n=t})),n}Gt&&Z.log(Wt)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?Gt&&Z.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):Gt&&Z.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.getTransport=function(){return this._getBackend().getTransport()},t.prototype.flush=function(t){var e=this;return this._isClientDoneProcessing(t).then(function(r){return e.getTransport().close(t).then(function(t){return r&&t})})},t.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},t.prototype.setupIntegrations=function(){var t,e;this._isEnabled()&&!this._integrations.initialized&&(this._integrations=(t=this._options,e={},function(t){var e=t.defaultIntegrations&&p(t.defaultIntegrations)||[],r=t.integrations,n=p(Vt(e));Array.isArray(r)?n=p(n.filter(function(t){return r.every(function(e){return e.name!==t.name})}),Vt(r)):"function"==typeof r&&(n=r(n),n=Array.isArray(n)?n:[n]);var o=n.map(function(t){return t.name}),i="Debug";return-1!==o.indexOf(i)&&n.push.apply(n,p(n.splice(o.indexOf(i),1))),n}(t).forEach(function(t){e[t.name]=t,function(t){-1===zt.indexOf(t.name)&&(t.setupOnce(R,pt),zt.push(t.name),Gt&&Z.log("Integration installed: "+t.name))}(t)}),U(e,"initialized",!0),e))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return Gt&&Z.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var r,n,o=!1,i=!1,s=e.exception&&e.exception.values;if(s){i=!0;try{for(var a=f(s),u=a.next();!u.done;u=a.next()){var l=u.value.mechanism;if(l&&!1===l.handled){o=!0;break}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}var p="ok"===t.status;(p&&0===t.errors||p&&o)&&(t.update(c(c({},o&&{status:"crashed"}),{errors:t.errors||Number(i||o)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new k(function(r){var n=0,o=setInterval(function(){0==e._numProcessing?(clearInterval(o),r(!0)):(n+=1,t&&n>=t&&(clearInterval(o),r(!1)))},1)})},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,r){var n=this,o=this.getOptions(),i=o.normalizeDepth,s=void 0===i?3:i,a=o.normalizeMaxBreadth,u=void 0===a?1e3:a,f=c(c({},t),{event_id:t.event_id||(r&&r.event_id?r.event_id:W()),timestamp:t.timestamp||(0,S.lu)()});this._applyClientOptions(f),this._applyIntegrationsMetadata(f);var l=e;r&&r.captureContext&&(l=j.clone(l).update(r.captureContext));var p=O(f);return l&&(p=l.applyToEvent(f,r)),p.then(function(t){return t&&(t.sdkProcessingMetadata=c(c({},t.sdkProcessingMetadata),{normalizeDepth:Bt(s)+" ("+typeof s+")"})),"number"==typeof s&&s>0?n._normalizeEvent(t,s,u):t})},t.prototype._normalizeEvent=function(t,e,r){if(!t)return null;var n=c(c(c(c(c({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return c(c({},t),t.data&&{data:Bt(t.data,e,r)})})}),t.user&&{user:Bt(t.user,e,r)}),t.contexts&&{contexts:Bt(t.contexts,e,r)}),t.extra&&{extra:Bt(t.extra,e,r)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n.sdkProcessingMetadata=c(c({},n.sdkProcessingMetadata),{baseClientNormalized:!0}),n},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),r=e.environment,n=e.release,o=e.dist,i=e.maxValueLength,s=void 0===i?250:i;"environment"in t||(t.environment="environment"in e?r:"production"),void 0===t.release&&void 0!==n&&(t.release=n),void 0===t.dist&&void 0!==o&&(t.dist=o),t.message&&(t.message=A(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=A(a.value,s));var u=t.request;u&&u.url&&(u.url=A(u.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=p(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,r){return this._processEvent(t,e,r).then(function(t){return t.event_id},function(t){Gt&&Z.error(t)})},t.prototype._processEvent=function(t,e,r){var n=this,o=this.getOptions(),i=o.beforeSend,s=o.sampleRate,a=this.getTransport();function u(t,e){a.recordLostEvent&&a.recordLostEvent(t,e)}if(!this._isEnabled())return T(new It("SDK not enabled, will not capture event."));var c="transaction"===t.type;return!c&&"number"==typeof s&&Math.random()>s?(u("sample_rate","event"),T(new It("Discarding event because it's not included in the random sample (sampling rate = "+s+")"))):this._prepareEvent(t,r,e).then(function(r){if(null===r)throw u("event_processor",t.type||"event"),new It("An event processor returned null, will not send event.");return e&&e.data&&!0===e.data.__sentry__||c||!i?r:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(x(t))return t.then(function(t){if(!b(t)&&null!==t)throw new It(e);return t},function(t){throw new It("beforeSend rejected with "+t)});if(!b(t)&&null!==t)throw new It(e);return t}(i(r,e))}).then(function(e){if(null===e)throw u("before_send",t.type||"event"),new It("`beforeSend` returned `null`, will not send event.");var o=r&&r.getSession&&r.getSession();return!c&&o&&n._updateSessionFromEvent(o,e),n._sendEvent(e),e}).then(null,function(t){if(t instanceof It)throw t;throw n.captureException(t,{data:{__sentry__:!0},originalException:t}),new It("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})},t.prototype._process=function(t){var e=this;this._numProcessing+=1,t.then(function(t){return e._numProcessing-=1,t},function(t){return e._numProcessing-=1,t})},t}();function Xt(t,e,r){return{initDsn:t,metadata:e||{},dsn:Mt(t),tunnel:r}}function Jt(t){var e=t.protocol?t.protocol+":":"",r=t.port?":"+t.port:"";return e+"//"+t.host+r+(t.path?"/"+t.path:"")+"/api/"}function Kt(t,e){return""+Jt(t)+t.projectId+"/"+e+"/"}function $t(t){return e={sentry_key:t.publicKey,sentry_version:"7"},Object.keys(e).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])}).join("&");var e}function Qt(t){return Kt(t,"store")}function Zt(t){return Qt(t)+"?"+$t(t)}function te(t,e){return e||function(t){return Kt(t,"envelope")}(t)+"?"+$t(t)}function ee(t,e){return void 0===e&&(e=[]),[t,e]}function re(t){var e=l(t,2),r=e[0],n=e[1],o=JSON.stringify(r);return n.reduce(function(t,e){var r=l(e,2),n=r[0],o=r[1],i=_(o)?String(o):JSON.stringify(o);return t+"\n"+JSON.stringify(n)+"\n"+i},o)}function ne(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function oe(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=p(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=p(t.sdk.packages||[],e.packages||[]),t):t}function ie(t,e){var r=ne(e),n="aggregates"in t?"sessions":"session";return[ee(c(c({sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:At(e.dsn)}),[[{type:n},t]]),n]}!function(){function t(t,e,r){void 0===e&&(e={}),this.dsn=t,this._dsnObject=Mt(t),this.metadata=e,this._tunnel=r}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return Jt(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return Qt(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return Zt(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return te(this._dsnObject,this._tunnel)}}();var se=function(){function t(){}return t.prototype.sendEvent=function(t){return O({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return O(!0)},t}(),ae=function(){function t(t){this._options=t,this._options.dsn||Gt&&Z.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new It("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,r){throw new It("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=function(t,e){var r=ne(e),n=t.type||"event",o=(t.sdkProcessingMetadata||{}).transactionSampling||{},i=o.method,s=o.rate;return oe(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata,ee(c(c({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:At(e.dsn)}),[[{type:n,sample_rates:[{id:i,rate:s}]},t]])}(t,Xt(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,function(t){Gt&&Z.error("Error while sending event:",t)})}else this._transport.sendEvent(t).then(null,function(t){Gt&&Z.error("Error while sending event:",t)})},t.prototype.sendSession=function(t){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=l(ie(t,Xt(this._options.dsn,this._options._metadata,this._options.tunnel)),1)[0];this._newTransport.send(e).then(null,function(t){Gt&&Z.error("Error while sending session:",t)})}else this._transport.sendSession(t).then(null,function(t){Gt&&Z.error("Error while sending session:",t)});else Gt&&Z.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new se},t}();function ue(){if(!("fetch"in(0,P.V)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function ce(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function fe(){if(!ue())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var le="?";function pe(t,e,r,n){var o={filename:t,function:e,in_app:!0};return void 0!==r&&(o.lineno=r),void 0!==n&&(o.colno=n),o}var de=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,he=/\((\S*)(?::(\d+))(?::(\d+))\)/,ve=[30,function(t){var e=de.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var r=he.exec(e[2]);r&&(e[2]=r[1],e[3]=r[2],e[4]=r[3])}var n=l(Oe(e[1]||le,e[2]),2),o=n[0];return pe(n[1],o,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],ye=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ge=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,me=[50,function(t){var e,r=ye.exec(t);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){var n=ge.exec(r[3]);n&&(r[1]=r[1]||"eval",r[3]=n[1],r[4]=n[2],r[5]="")}var o=r[3],i=r[1]||le;return i=(e=l(Oe(i,o),2))[0],pe(o=e[1],i,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}}],_e=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,be=[40,function(t){var e=_e.exec(t);return e?pe(e[2],e[1]||le,+e[3],e[4]?+e[4]:void 0):void 0}],Ee=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,xe=[10,function(t){var e=Ee.exec(t);return e?pe(e[2],e[3]||le,+e[1]):void 0}],we=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Se=[20,function(t){var e=we.exec(t);return e?pe(e[5],e[3]||e[4]||le,+e[1],+e[2]):void 0}],Oe=function(t,e){var r=-1!==t.indexOf("safari-extension"),n=-1!==t.indexOf("safari-web-extension");return r||n?[-1!==t.indexOf("@")?t.split("@")[0]:le,r?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function Te(t){var e=Pe(t),r={type:t&&t.name,value:Ce(t)};return e.length&&(r.stacktrace={frames:e}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function ke(t){return{exception:{values:[Te(t)]}}}function Pe(t){var e=t.stacktrace||t.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(je.test(t.message))return 1}return 0}(t);try{return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t.sort(function(t,e){return t[0]-e[0]}).map(function(t){return t[1]});return function(t,e){var n,o,i,s;void 0===e&&(e=0);var a=[];try{for(var u=f(t.split("\n").slice(e)),l=u.next();!l.done;l=u.next()){var p=l.value;try{for(var d=(i=void 0,f(r)),h=d.next();!h.done;h=d.next()){var v=(0,h.value)(p);if(v){a.push(v);break}}}catch(t){i={error:t}}finally{try{h&&!h.done&&(s=d.return)&&s.call(d)}finally{if(i)throw i.error}}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}return function(t){if(!t.length)return[];var e=t,r=e[0].function||"",n=e[e.length-1].function||"";return-1===r.indexOf("captureMessage")&&-1===r.indexOf("captureException")||(e=e.slice(1)),-1!==n.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,Lt).map(function(t){return c(c({},t),{filename:t.filename||e[0].filename,function:t.function||"?"})}).reverse()}(a)}}(xe,Se,ve,be,me)(e,r)}catch(t){}return[]}var je=/Minified React error #\d+;/i;function Ce(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function Re(t,e,r){var n=Ne(t,e&&e.syntheticException||void 0,r);return $(n),n.level=u.Error,e&&e.event_id&&(n.event_id=e.event_id),O(n)}function Ie(t,e,r,n){void 0===e&&(e=u.Info);var o=Ae(t,r&&r.syntheticException||void 0,n);return o.level=e,r&&r.event_id&&(o.event_id=r.event_id),O(o)}function Ne(t,e,r,n){var o;if(y(t)&&t.error)return ke(t.error);if(g(t)||v(t,"DOMException")){var i=t;if("stack"in t)o=ke(t);else{var s=i.name||(g(i)?"DOMError":"DOMException"),a=i.message?s+": "+i.message:s;K(o=Ae(a,e,r),a)}return"code"in i&&(o.tags=c(c({},o.tags),{"DOMException.code":""+i.code})),o}return h(t)?ke(t):b(t)||E(t)?(o=function(t,e,r){var n={exception:{values:[{type:E(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error "+(r?"promise rejection":"exception")+" captured with keys: "+z(t)}]},extra:{__serialized__:qt(t)}};if(e){var o=Pe(e);o.length&&(n.stacktrace={frames:o})}return n}(t,e,n),$(o,{synthetic:!0}),o):(K(o=Ae(t,e,r),""+t,void 0),$(o,{synthetic:!0}),o)}function Ae(t,e,r){var n={message:t};if(r&&e){var o=Pe(e);o.length&&(n.stacktrace={frames:o})}return n}function De(t){var e=[];function r(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(n){if(!(void 0===t||e.length<t))return T(new It("Not adding Promise due to buffer limit reached."));var o=n();return-1===e.indexOf(o)&&e.push(o),o.then(function(){return r(o)}).then(null,function(){return r(o).then(null,function(){})}),o},drain:function(t){return new k(function(r,n){var o=e.length;if(!o)return r(!0);var i=setTimeout(function(){t&&t>0&&r(!1)},t);e.forEach(function(t){O(t).then(function(){--o||(clearTimeout(i),r(!0))},n)})})}}}var Me=6e4;function Le(t,e){return t[e]||t.all||0}function Ue(t,e,r){return void 0===r&&(r=Date.now()),Le(t,e)>r}function Fe(t,e,r){var n,o,i,s;void 0===r&&(r=Date.now());var a=c({},t),u=e["x-sentry-rate-limits"],l=e["retry-after"];if(u)try{for(var p=f(u.trim().split(",")),d=p.next();!d.done;d=p.next()){var h=d.value.split(":",2),v=parseInt(h[0],10),y=1e3*(isNaN(v)?60:v);if(h[1])try{for(var g=(i=void 0,f(h[1].split(";"))),m=g.next();!m.done;m=g.next())a[m.value]=r+y}catch(t){i={error:t}}finally{try{m&&!m.done&&(s=g.return)&&s.call(g)}finally{if(i)throw i.error}}else a.all=r+y}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}else l&&(a.all=r+function(t,e){void 0===e&&(e=Date.now());var r=parseInt(""+t,10);if(!isNaN(r))return 1e3*r;var n=Date.parse(""+t);return isNaN(n)?Me:n-e}(l,r));return a}function Be(t){return t>=200&&t<300?"success":429===t?"rate_limit":t>=400&&t<500?"invalid":t>=500?"failed":"unknown"}var qe=30;function He(t,e,r){void 0===r&&(r=De(t.bufferSize||qe));var n={};return{send:function(t){var o=function(t){var e=l(t,2),r=l(e[1],1);return l(r[0],1)[0].type}(t),i="event"===o?"error":o,s={category:i,body:re(t)};return Ue(n,i)?T({status:"rate_limit",reason:Ge(n,i)}):r.add(function(){return e(s).then(function(t){var e=t.body,r=t.headers,o=t.reason,s=Be(t.statusCode);return r&&(n=Fe(n,r)),"success"===s?O({status:s,reason:o}):T({status:s,reason:o||e||("rate_limit"===s?Ge(n,i):"Unknown transport error")})})})},flush:function(t){return r.drain(t)}}}function Ge(t,e){return"Too many "+e+" requests, backing off until: "+new Date(Le(t,e)).toISOString()}var ze,Ve="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,We=(0,P.V)();function Ye(){if(ze)return ze;if(ce(We.fetch))return ze=We.fetch.bind(We);var t=We.document,e=We.fetch;if(t&&"function"==typeof t.createElement)try{var r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r);var n=r.contentWindow;n&&n.fetch&&(e=n.fetch),t.head.removeChild(r)}catch(t){Ve&&Z.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return ze=e.bind(We)}function Xe(t,e){return void 0===e&&(e=Ye()),He({bufferSize:t.bufferSize},function(r){var n=c({body:r.body,method:"POST",referrerPolicy:"origin"},t.requestOptions);return e(t.url,n).then(function(t){return t.text().then(function(e){return{body:e,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")},reason:t.statusText,statusCode:t.status}})})})}function Je(t){return"event"===t?"error":t}var Ke=(0,P.V)(),$e=function(){function t(t){var e=this;this.options=t,this._buffer=De(30),this._rateLimits={},this._outcomes={},this._api=Xt(t.dsn,t._metadata,t.tunnel),this.url=Zt(this._api.dsn),this.options.sendClientReports&&Ke.document&&Ke.document.addEventListener("visibilitychange",function(){"hidden"===Ke.document.visibilityState&&e._flushOutcomes()})}return t.prototype.sendEvent=function(t){return this._sendRequest(function(t,e){var r,n=ne(e),o=t.type||"event",i="transaction"===o||!!e.tunnel,s=(t.sdkProcessingMetadata||{}).transactionSampling||{},a=s.method,u=s.rate;oe(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;try{r=JSON.stringify(t)}catch(e){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=e;try{r=JSON.stringify(Bt(t))}catch(t){var f=t;r=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:f.message,stack:f.stack}})}}var l={body:r,type:o,url:i?te(e.dsn,e.tunnel):Zt(e.dsn)};if(i){var p=ee(c(c({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:At(e.dsn)}),[[{type:o,sample_rates:[{id:a,rate:u}]},l.body]]);l.body=re(p)}return l}(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var r=l(ie(t,e),2),n=r[0],o=r[1];return{body:re(n),type:o,url:te(e.dsn,e.tunnel)}}(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,e){var r;if(this.options.sendClientReports){var n=Je(e)+":"+t;Ve&&Z.log("Adding outcome: "+n),this._outcomes[n]=(null!=(r=this._outcomes[n])?r:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){Ve&&Z.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,r,n=te(this._api.dsn,this._api.tunnel),o=(e=Object.keys(t).map(function(e){var r=l(e.split(":"),2),n=r[0];return{reason:r[1],category:n,quantity:t[e]}}),ee((r=this._api.tunnel&&At(this._api.dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:(0,S.lu)(),discarded_events:e}]]));try{!function(t,e){if("[object Navigator]"===Object.prototype.toString.call(We&&We.navigator)&&"function"==typeof We.navigator.sendBeacon)return We.navigator.sendBeacon.bind(We.navigator)(t,e);ue()&&Ye()(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,function(t){console.error(t)})}(n,re(o))}catch(t){Ve&&Z.error(t)}}else Ve&&Z.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e=t.requestType,r=t.response,n=t.headers,o=t.resolve,i=t.reject,s=Be(r.status);this._rateLimits=Fe(this._rateLimits,n),this._isRateLimited(e)&&Ve&&Z.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),"success"!==s?i(r):o({status:s})},t.prototype._disabledUntil=function(t){var e=Je(t);return new Date(Le(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=Je(t);return Ue(this._rateLimits,e)},t}(),Qe=function(t){function e(e,r){void 0===r&&(r=Ye());var n=t.call(this,e)||this;return n._fetch=r,n}return a(e,t),e.prototype._sendRequest=function(t,e){var r=this;if(this._isRateLimited(t.type))return this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var n={body:t.body,method:"POST",referrerPolicy:fe()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(n,this.options.fetchParameters),void 0!==this.options.headers&&(n.headers=this.options.headers),this._buffer.add(function(){return new k(function(e,o){r._fetch(t.url,n).then(function(n){var i={"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")};r._handleResponse({requestType:t.type,response:n,headers:i,resolve:e,reject:o})}).catch(o)})}).then(void 0,function(e){throw e instanceof It?r.recordLostEvent("queue_overflow",t.type):r.recordLostEvent("network_error",t.type),e})},e}($e),Ze=4;function tr(t){return He({bufferSize:t.bufferSize},function(e){return new k(function(r,n){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(o.readyState===Ze){var t={body:o.response,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")},reason:o.statusText,statusCode:o.status};r(t)}},o.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,i)&&o.setRequestHeader(i,t.headers[i]);o.send(e.body)})})}var er=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype._sendRequest=function(t,e){var r=this;return this._isRateLimited(t.type)?(this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add(function(){return new k(function(e,n){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};r._handleResponse({requestType:t.type,response:o,headers:i,resolve:e,reject:n})}},o.open("POST",t.url),r.options.headers)Object.prototype.hasOwnProperty.call(r.options.headers,i)&&o.setRequestHeader(i,r.options.headers[i]);o.send(t.body)})}).then(void 0,function(e){throw e instanceof It?r.recordLostEvent("queue_overflow",t.type):r.recordLostEvent("network_error",t.type),e})},e}($e),rr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.eventFromException=function(t,e){return Re(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,r){return void 0===e&&(e=u.Info),Ie(t,e,r,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=c(c({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),r=Xt(e.dsn,e._metadata,e.tunnel),n=te(r.dsn,r.tunnel);if(this._options.transport)return new this._options.transport(e);if(ue()){var o=c({},e.fetchParameters);return this._newTransport=Xe({requestOptions:o,url:n}),new Qe(e)}return this._newTransport=tr({url:n,headers:e.headers}),new er(e)},e}(ae),nr=(0,P.V)(),or=0;function ir(){return or>0}function sr(t,e,r){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var n=t.__sentry_wrapped__;if(n)return n;if(B(t))return t}catch(e){return t}var o=function(){var n=Array.prototype.slice.call(arguments);try{r&&"function"==typeof r&&r.apply(this,arguments);var o=n.map(function(t){return sr(t,e)});return t.apply(this,o)}catch(t){throw or+=1,setTimeout(function(){or-=1}),Pt(function(r){r.addEventProcessor(function(t){return e.mechanism&&(K(t,void 0,void 0),$(t,e.mechanism)),t.extra=c(c({},t.extra),{arguments:n}),t}),gt(t)}),t}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i])}catch(t){}F(o,t),U(t,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return t.name}})}catch(t){}return o}function ar(t){if(void 0===t&&(t={}),nr.document)if(t.eventId)if(t.dsn){var e=nr.document.createElement("script");e.async=!0,e.src=function(t,e){var r=Mt(t),n=Jt(r)+"embed/error-page/",o="dsn="+At(r);for(var i in e)if("dsn"!==i)if("user"===i){if(!e.user)continue;e.user.name&&(o+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(o+="&email="+encodeURIComponent(e.user.email))}else o+="&"+encodeURIComponent(i)+"="+encodeURIComponent(e[i]);return n+"?"+o}(t.dsn,t),t.onLoad&&(e.onload=t.onLoad);var r=nr.document.head||nr.document.body;r&&r.appendChild(e)}else Ve&&Z.error("Missing dsn option in showReportDialog call");else Ve&&Z.error("Missing eventId option in showReportDialog call")}var ur,cr=(0,P.V)(),fr={},lr={};function pr(t,e){fr[t]=fr[t]||[],fr[t].push(e),function(t){if(!lr[t])switch(lr[t]=!0,t){case"console":"console"in cr&&rt.forEach(function(t){t in cr.console&&L(cr.console,t,function(e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];dr("console",{args:r,level:t}),e&&e.apply(cr.console,r)}})});break;case"dom":!function(){if("document"in cr){var t=dr.bind(null,"dom"),e=mr(t,!0);cr.document.addEventListener("click",e,!1),cr.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(function(e){var r=cr[e]&&cr[e].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(L(r,"addEventListener",function(e){return function(r,n,o){if("click"===r||"keypress"==r)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=i[r]=i[r]||{refCount:0};if(!s.handler){var a=mr(t);s.handler=a,e.call(this,r,a,o)}s.refCount+=1}catch(t){}return e.call(this,r,n,o)}}),L(r,"removeEventListener",function(t){return function(e,r,n){if("click"===e||"keypress"==e)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[e];i&&(i.refCount-=1,i.refCount<=0&&(t.call(this,e,i.handler,n),i.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,r,n)}}))})}}();break;case"xhr":!function(){if("XMLHttpRequest"in cr){var t=XMLHttpRequest.prototype;L(t,"open",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=this,o=e[1],i=n.__sentry_xhr__={method:m(e[0])?e[0].toUpperCase():e[0],url:e[1]};m(o)&&"POST"===i.method&&o.match(/sentry_key/)&&(n.__sentry_own_request__=!0);var s=function(){if(4===n.readyState){try{i.status_code=n.status}catch(t){}dr("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?L(n,"onreadystatechange",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return s(),t.apply(n,e)}}):n.addEventListener("readystatechange",s),t.apply(n,e)}}),L(t,"send",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),dr("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}})}}();break;case"fetch":(function(){if(!ue())return!1;var t=(0,P.V)();if(ce(t.fetch))return!0;var e=!1,r=t.document;if(r&&"function"==typeof r.createElement)try{var n=r.createElement("iframe");n.hidden=!0,r.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=ce(n.contentWindow.fetch)),r.head.removeChild(n)}catch(t){tt&&Z.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return e})()&&L(cr,"fetch",function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n,o={args:e,fetchData:{method:(n=e,void 0===n&&(n=[]),"Request"in cr&&w(n[0],Request)&&n[0].method?String(n[0].method).toUpperCase():n[1]&&n[1].method?String(n[1].method).toUpperCase():"GET"),url:hr(e)},startTimestamp:Date.now()};return dr("fetch",c({},o)),t.apply(cr,e).then(function(t){return dr("fetch",c(c({},o),{endTimestamp:Date.now(),response:t})),t},function(t){throw dr("fetch",c(c({},o),{endTimestamp:Date.now(),error:t})),t})}});break;case"history":!function(){if(function(){var t=(0,P.V)(),e=t.chrome,r=e&&e.app&&e.app.runtime,n="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!r&&n}()){var t=cr.onpopstate;cr.onpopstate=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=cr.location.href,o=ur;if(ur=n,dr("history",{from:o,to:n}),t)try{return t.apply(this,e)}catch(t){}},L(cr.history,"pushState",e),L(cr.history,"replaceState",e)}function e(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e.length>2?e[2]:void 0;if(n){var o=ur,i=String(n);ur=i,dr("history",{from:o,to:i})}return t.apply(this,e)}}}();break;case"error":_r=cr.onerror,cr.onerror=function(t,e,r,n,o){return dr("error",{column:n,error:o,line:r,msg:t,url:e}),!!_r&&_r.apply(this,arguments)};break;case"unhandledrejection":br=cr.onunhandledrejection,cr.onunhandledrejection=function(t){return dr("unhandledrejection",t),!br||br.apply(this,arguments)};break;default:tt&&Z.warn("unknown instrumentation type:",t)}}(t)}function dr(t,e){var r,n;if(t&&fr[t])try{for(var o=f(fr[t]||[]),i=o.next();!i.done;i=o.next()){var s=i.value;try{s(e)}catch(e){tt&&Z.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Ft(s)+"\nError:",e)}}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}function hr(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in cr&&w(t[0],Request)?t[0].url:String(t[0])}var vr,yr,gr=1e3;function mr(t,e){return void 0===e&&(e=!1),function(r){if(r&&yr!==r&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(r)){var n="keypress"===r.type?"input":r.type;(void 0===vr||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(yr,r))&&(t({event:r,name:n,global:e}),yr=r),clearTimeout(vr),vr=cr.setTimeout(function(){vr=void 0},gr)}}}var _r=null,br=null,Er=["fatal","error","warning","log","info","debug","critical"];var xr=function(){function t(e){this.name=t.id,this._options=c({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&pt().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:J(t)},{event:t})},t.prototype.setupOnce=function(){var t;this._options.console&&pr("console",wr),this._options.dom&&pr("dom",(t=this._options.dom,function(e){var r,n="object"==typeof t?t.serializeAttribute:void 0;"string"==typeof n&&(n=[n]);try{r=e.event.target?I(e.event.target,n):I(e.event,n)}catch(t){r="<unknown>"}0!==r.length&&pt().addBreadcrumb({category:"ui."+e.name,message:r},{event:e.event,name:e.name,global:e.global})})),this._options.xhr&&pr("xhr",Sr),this._options.fetch&&pr("fetch",Or),this._options.history&&pr("history",Tr)},t.id="Breadcrumbs",t}();function wr(t){var e,r={category:"console",data:{arguments:t.args,logger:"console"},level:(e=t.level,"warn"===e?u.Warning:function(t){return-1!==Er.indexOf(t)}(e)?e:u.Log),message:D(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message="Assertion failed: "+(D(t.args.slice(1)," ")||"console.assert"),r.data.arguments=t.args.slice(1)}pt().addBreadcrumb(r,{input:t.args,level:t.level})}function Sr(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},r=e.method,n=e.url,o=e.status_code,i=e.body;pt().addBreadcrumb({category:"xhr",data:{method:r,url:n,status_code:o},type:"http"},{xhr:t.xhr,input:i})}}function Or(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?pt().addBreadcrumb({category:"fetch",data:t.fetchData,level:u.Error,type:"http"},{data:t.error,input:t.args}):pt().addBreadcrumb({category:"fetch",data:c(c({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function Tr(t){var e=(0,P.V)(),r=t.from,n=t.to,o=Y(e.location.href),i=Y(r),s=Y(n);i.path||(i=o),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),pt().addBreadcrumb({category:"navigation",data:{from:r,to:n}})}var kr,Pr=function(t){function e(e){return void 0===e&&(e={}),e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:Ct}],version:Ct},t.call(this,rr,e)||this}return a(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),(0,P.V)().document&&(this._isEnabled()?ar(c(c({},t),{dsn:t.dsn||this.getDsn()})):Ve&&Z.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,r,n){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,r,n)},e.prototype._sendEvent=function(e){var r=this.getIntegration(xr);r&&r.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(Yt),jr=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Cr=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(e,r){e(function(e){var n=r();if(n){var o=n.getIntegration(t);if(o){var i=n.getClient(),s=i?i.getOptions():{},a=function(t,e){return void 0===t&&(t={}),void 0===e&&(e={}),{allowUrls:p(t.whitelistUrls||[],t.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:p(t.blacklistUrls||[],t.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:p(t.ignoreErrors||[],e.ignoreErrors||[],jr),ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(o._options,s);return function(t,e){return e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?(Gt&&Z.warn("Event dropped due to being internal Sentry Error.\nEvent: "+J(t)),!0):function(t,e){return!(!e||!e.length)&&function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},r=e.type,n=void 0===r?"":r,o=e.value,i=void 0===o?"":o;return[""+i,n+": "+i]}catch(e){return Gt&&Z.error("Cannot extract message for event "+J(t)),[]}return[]}(t).some(function(t){return e.some(function(e){return M(t,e)})})}(t,e.ignoreErrors)?(Gt&&Z.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+J(t)),!0):function(t,e){if(!e||!e.length)return!1;var r=Ir(t);return!!r&&e.some(function(t){return M(r,t)})}(t,e.denyUrls)?(Gt&&Z.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+J(t)+".\nUrl: "+Ir(t)),!0):!function(t,e){if(!e||!e.length)return!0;var r=Ir(t);return!r||e.some(function(t){return M(r,t)})}(t,e.allowUrls)&&(Gt&&Z.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+J(t)+".\nUrl: "+Ir(t)),!0)}(e,a)?null:e}}return e})},t.id="InboundFilters",t}();function Rr(t){void 0===t&&(t=[]);for(var e=t.length-1;e>=0;e--){var r=t[e];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}function Ir(t){try{if(t.stacktrace)return Rr(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?Rr(e):null}catch(e){return Gt&&Z.error("Cannot extract url for event "+J(t)),null}}var Nr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){kr=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=B(this)||this;return kr.apply(r,t)}},t.id="FunctionToString",t}(),Ar=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Dr=function(){function t(e){this.name=t.id,this._options=c({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=(0,P.V)();this._options.setTimeout&&L(t,"setTimeout",Mr),this._options.setInterval&&L(t,"setInterval",Mr),this._options.requestAnimationFrame&&L(t,"requestAnimationFrame",Lr),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&L(XMLHttpRequest.prototype,"send",Ur);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:Ar).forEach(Fr)},t.id="TryCatch",t}();function Mr(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e[0];return e[0]=sr(n,{mechanism:{data:{function:Ft(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function Lr(t){return function(e){return t.apply(this,[sr(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Ft(t)},handled:!0,type:"instrument"}})])}}function Ur(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(function(t){t in n&&"function"==typeof n[t]&&L(n,t,function(e){var r={mechanism:{data:{function:t,handler:Ft(e)},handled:!0,type:"instrument"}},n=B(e);return n&&(r.mechanism.data.handler=Ft(n)),sr(e,r)})}),t.apply(this,e)}}function Fr(t){var e=(0,P.V)(),r=e[t]&&e[t].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(L(r,"addEventListener",function(e){return function(r,n,o){try{"function"==typeof n.handleEvent&&(n.handleEvent=sr(n.handleEvent.bind(n),{mechanism:{data:{function:"handleEvent",handler:Ft(n),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[r,sr(n,{mechanism:{data:{function:"addEventListener",handler:Ft(n),target:t},handled:!0,type:"instrument"}}),o])}}),L(r,"removeEventListener",function(t){return function(e,r,n){var o=r;try{var i=o&&o.__sentry_wrapped__;i&&t.call(this,e,i,n)}catch(t){}return t.call(this,e,o,n)}}))}var Br=function(){function t(e){this.name=t.id,this._installFunc={onerror:qr,onunhandledrejection:Hr},this._options=c({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50;var t=this._options;for(var e in t){var r=this._installFunc[e];r&&t[e]&&(zr(e),r(),this._installFunc[e]=void 0)}},t.id="GlobalHandlers",t}();function qr(){pr("error",function(t){var e=l(Wr(),2),r=e[0],n=e[1];if(r.getIntegration(Br)){var o=t.msg,i=t.url,s=t.line,a=t.column,c=t.error;if(!(ir()||c&&c.__sentry_own_request__)){var f=void 0===c&&m(o)?function(t,e,r,n){var o=y(t)?t.message:t,i="Error",s=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return s&&(i=s[1],o=s[2]),Gr({exception:{values:[{type:i,value:o}]}},e,r,n)}(o,i,s,a):Gr(Ne(c||o,void 0,n,!1),i,s,a);f.level=u.Error,Vr(r,c,f,"onerror")}}})}function Hr(){pr("unhandledrejection",function(t){var e=l(Wr(),2),r=e[0],n=e[1];if(r.getIntegration(Br)){var o=t;try{"reason"in t?o=t.reason:"detail"in t&&"reason"in t.detail&&(o=t.detail.reason)}catch(t){}if(ir()||o&&o.__sentry_own_request__)return!0;var i=_(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(o)}]}}:Ne(o,void 0,n,!0);i.level=u.Error,Vr(r,o,i,"onunhandledrejection")}})}function Gr(t,e,r,n){var o=t.exception=t.exception||{},i=o.values=o.values||[],s=i[0]=i[0]||{},a=s.stacktrace=s.stacktrace||{},u=a.frames=a.frames||[],c=isNaN(parseInt(n,10))?void 0:n,f=isNaN(parseInt(r,10))?void 0:r,l=m(e)&&e.length>0?e:function(){var t=(0,P.V)();try{return t.document.location.href}catch(t){return""}}();return 0===u.length&&u.push({colno:c,filename:l,function:"?",in_app:!0,lineno:f}),t}function zr(t){Ve&&Z.log("Global Handler attached: "+t)}function Vr(t,e,r,n){$(r,{handled:!1,type:n}),t.captureEvent(r,{originalException:e})}function Wr(){var t=pt(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var Yr=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){R(function(e,r){var n=pt().getIntegration(t);return n?function(t,e,r,n){if(!(r.exception&&r.exception.values&&n&&w(n.originalException,Error)))return r;var o=Xr(e,n.originalException,t);return r.exception.values=p(o,r.exception.values),r}(n._key,n._limit,e,r):e})},t.id="LinkedErrors",t}();function Xr(t,e,r,n){if(void 0===n&&(n=[]),!w(e[r],Error)||n.length+1>=t)return n;var o=Te(e[r]);return Xr(t,e[r],r,p([o],n))}var Jr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,r){e(function(e){var n=r().getIntegration(t);if(n){try{if(function(t,e){return!!e&&(!!function(t,e){var r=t.message,n=e.message;return!(!r&&!n)&&(!(r&&!n||!r&&n)&&(r===n&&(!!$r(t,e)&&!!Kr(t,e))))}(t,e)||!!function(t,e){var r=Qr(e),n=Qr(t);return!(!r||!n)&&(r.type===n.type&&r.value===n.value&&(!!$r(t,e)&&!!Kr(t,e)))}(t,e))}(e,n._previousEvent))return Ve&&Z.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return n._previousEvent=e}return n._previousEvent=e}return e})},t.id="Dedupe",t}();function Kr(t,e){var r=Zr(t),n=Zr(e);if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o],s=r[o];if(i.filename!==s.filename||i.lineno!==s.lineno||i.colno!==s.colno||i.function!==s.function)return!1}return!0}function $r(t,e){var r=t.fingerprint,n=e.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return!(r.join("")!==n.join(""))}catch(t){return!1}}function Qr(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Zr(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}else if(t.stacktrace)return t.stacktrace.frames}var tn=(0,P.V)(),en=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){R(function(e){if(pt().getIntegration(t)){if(!tn.navigator&&!tn.location&&!tn.document)return e;var r=e.request&&e.request.url||tn.location&&tn.location.href,n=(tn.document||{}).referrer,o=(tn.navigator||{}).userAgent,i=c(c(c({},e.request&&e.request.headers),n&&{Referer:n}),o&&{"User-Agent":o}),s=c(c({},r&&{url:r}),{headers:i});return c(c({},e),{request:s})}return e})},t.id="UserAgent",t}(),rn=[new Cr,new Nr,new Dr,new xr,new Br,new Yr,new Jr,new en];function nn(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=rn),void 0===t.release){var e=(0,P.V)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),function(t,e){!0===e.debug&&(Gt?Z.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var r=pt(),n=r.getScope();n&&n.update(e.initialScope);var o=new t(e);r.bindClient(o)}(Pr,t),t.autoSessionTracking&&function(){if(void 0!==(0,P.V)().document){var t=pt();t.captureSession&&(pn(t),pr("history",function(t){var e=t.from,r=t.to;void 0!==e&&e!==r&&pn(pt())}))}else Ve&&Z.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}function on(t){void 0===t&&(t={});var e=pt(),r=e.getScope();r&&(t.user=c(c({},r.getUser()),t.user)),t.eventId||(t.eventId=e.lastEventId());var n=e.getClient();n&&n.showReportDialog(t)}function sn(){return pt().lastEventId()}function an(){}function un(t){t()}function cn(t){var e=pt().getClient();return e?e.flush(t):(Ve&&Z.warn("Cannot flush events. No client defined."),O(!1))}function fn(t){var e=pt().getClient();return e?e.close(t):(Ve&&Z.warn("Cannot flush events and disable SDK. No client defined."),O(!1))}function ln(t){return sr(t)()}function pn(t){t.startSession({ignoreDuration:!0}),t.captureSession()}var dn="sentry.javascript.browser",hn={},vn=(0,P.V)();vn.Sentry&&vn.Sentry.Integrations&&(hn=vn.Sentry.Integrations);var yn=c(c(c({},hn),n),o)},4913:(t,e,r)=>{"use strict";var n=r(3724),o=r(5917),i=r(8686),s=r(8551),a=r(6969),u=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",d="writable";e.f=n?i?function(t,e,r){if(s(t),e=a(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=f(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(s(t),e=a(e),s(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},5019:t=>{"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},5031:(t,e,r)=>{"use strict";var n=r(7751),o=r(9504),i=r(8480),s=r(3717),a=r(8551),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=s.f;return r?u(e,r(t)):e}},5122:(t,e,r)=>{"use strict";var n=r(6518),o=r(6194),i=r(2652),s=r(2248).set;n({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=o(this),r=arguments.length,n=0;n<r;)i(arguments[n++],function(t,r){s(e,t,r)},{AS_ENTRIES:!0});return e}})},5155:(t,e,r)=>{"use strict";var n=r(9516),o=r(9106),i=r(3471),s=r(4490),a=r(5343),u=r(4841),c=u.validators;function f(t){this.defaults=t,this.interceptors={request:new i,response:new i}}f.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&u.assertOptions(e,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))});var o,i=[];if(this.interceptors.response.forEach(function(t){i.push(t.fulfilled,t.rejected)}),!n){var f=[s,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(i),o=Promise.resolve(t);f.length;)o=o.then(f.shift(),f.shift());return o}for(var l=t;r.length;){var p=r.shift(),d=r.shift();try{l=p(l)}catch(t){d(t);break}}try{o=s(l)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},f.prototype.getUri=function(t){return t=a(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],function(t){f.prototype[t]=function(e,r){return this.request(a(r||{},{method:t,url:e,data:(r||{}).data}))}}),n.forEach(["post","put","patch"],function(t){f.prototype[t]=function(e,r,n){return this.request(a(n||{},{method:t,url:e,data:r}))}}),t.exports=f},5343:(t,e,r)=>{"use strict";var n=r(9516);t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function s(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function a(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function u(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return n.forEach(Object.keys(t).concat(Object.keys(e)),function(t){var e=c[t]||i,o=e(t);n.isUndefined(o)&&e!==u||(r[t]=o)}),r}},5397:(t,e,r)=>{"use strict";var n=r(7055),o=r(7750);t.exports=function(t){return n(o(t))}},5449:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},5548:(t,e,r)=>{"use strict";var n=r(3517),o=r(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a constructor")}},5592:(t,e,r)=>{"use strict";var n=r(9516),o=r(7522),i=r(3948),s=r(9106),a=r(9615),u=r(2012),c=r(4202),f=r(7763),l=r(6987),p=r(1928);t.exports=function(t){return new Promise(function(e,r){var d,h=t.data,v=t.headers,y=t.responseType;function g(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete v["Content-Type"];var m=new XMLHttpRequest;if(t.auth){var _=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(_+":"+b)}var E=a(t.baseURL,t.url);function x(){if(m){var n="getAllResponseHeaders"in m?u(m.getAllResponseHeaders()):null,i={data:y&&"text"!==y&&"json"!==y?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:t,request:m};o(function(t){e(t),g()},function(t){r(t),g()},i),m=null}}if(m.open(t.method.toUpperCase(),s(E,t.params,t.paramsSerializer),!0),m.timeout=t.timeout,"onloadend"in m?m.onloadend=x:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(x)},m.onabort=function(){m&&(r(f("Request aborted",t,"ECONNABORTED",m)),m=null)},m.onerror=function(){r(f("Network Error",t,null,m)),m=null},m.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||l.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},n.isStandardBrowserEnv()){var w=(t.withCredentials||c(E))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;w&&(v[t.xsrfHeaderName]=w)}"setRequestHeader"in m&&n.forEach(v,function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete v[e]:m.setRequestHeader(e,t)}),n.isUndefined(t.withCredentials)||(m.withCredentials=!!t.withCredentials),y&&"json"!==y&&(m.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&m.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){m&&(r(!t||t&&t.type?new p("canceled"):t),m.abort(),m=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),h||(h=null),m.send(h)})}},5610:(t,e,r)=>{"use strict";var n=r(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5648:(t,e,r)=>{"use strict";r(2675);var n=r(9167);t.exports=n.Symbol.keyFor},5652:(t,e,r)=>{"use strict";var n=r(9039);t.exports=n(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})},5745:(t,e,r)=>{"use strict";var n=r(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},5917:(t,e,r)=>{"use strict";var n=r(3724),o=r(9039),i=r(4055);t.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},5966:(t,e,r)=>{"use strict";var n=r(9306),o=r(4117);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},5985:(t,e,r)=>{"use strict";t.exports=r(7267)},6008:(t,e,r)=>{"use strict";var n=r(1015);t.exports=n},6033:(t,e,r)=>{"use strict";r(8523)},6043:(t,e,r)=>{"use strict";var n=r(9306),o=TypeError,i=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new o("Bad Promise constructor");e=t,r=n}),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},6080:(t,e,r)=>{"use strict";var n=r(7476),o=r(9306),i=r(616),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},6097:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=s(e,function(t,n){if(r(t,n,e))return{key:n}},!0);return n&&n.key}})},6099:(t,e,r)=>{"use strict";var n=r(2140),o=r(6840),i=r(3179);n||o(Object.prototype,"toString",i,{unsafe:!0})},6119:(t,e,r)=>{"use strict";var n=r(5745),o=r(3392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},6167:(t,e,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(6043),a=r(1103),u=r(2652);n({target:"Promise",stat:!0,forced:r(537)},{allSettled:function(t){var e=this,r=s.f(e),n=r.resolve,c=r.reject,f=a(function(){var r=i(e.resolve),s=[],a=0,c=1;u(t,function(t){var i=a++,u=!1;c++,o(r,e,t).then(function(t){u||(u=!0,s[i]={status:"fulfilled",value:t},--c||n(s))},function(t){u||(u=!0,s[i]={status:"rejected",reason:t},--c||n(s))})}),--c||n(s)});return f.error&&c(f.value),r.promise}})},6193:(t,e,r)=>{"use strict";var n=r(9504),o=Error,i=n("".replace),s=String(new o("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,u=a.test(s);t.exports=function(t,e){if(u&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,a,"");return t}},6194:(t,e,r)=>{"use strict";var n=r(2248).has;t.exports=function(t){return n(t),t}},6198:(t,e,r)=>{"use strict";var n=r(8014);t.exports=function(t){return n(t.length)}},6223:(t,e,r)=>{"use strict";var n=r(9504),o=r(507),i=r(2248),s=i.Map,a=i.proto,u=n(a.forEach),c=n(a.entries),f=c(new s).next;t.exports=function(t,e,r){return r?o({iterator:c(t),next:f},function(t){return e(t[1],t[0])}):u(t,e)}},6269:t=>{"use strict";t.exports={}},6279:(t,e,r)=>{"use strict";var n=r(6840);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},6321:function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(e){var r=t.call(this,e)||this;return r.experienceGenerated=function(t){var e=t.id;r.setExperienceId(e)},r}return o(e,t),e}(r(9722).default);e.default=i},6385:(t,e,r)=>{"use strict";var n=r(6518),o=r(2248);n({target:"Map",stat:!0,forced:!0},{of:r(7500)(o.Map,o.set,!0)})},6395:t=>{"use strict";t.exports=!1},6398:(t,e,r)=>{"use strict";r(67),r(3792),r(6099),r(3362),r(6167),r(3518),r(1689),r(4628),r(9391),r(7764);var n=r(9167);t.exports=n.Promise},6468:(t,e,r)=>{"use strict";var n=r(6518),o=r(4576),i=r(9504),s=r(2796),a=r(6840),u=r(3451),c=r(2652),f=r(679),l=r(4901),p=r(4117),d=r(34),h=r(9039),v=r(4428),y=r(687),g=r(3167);t.exports=function(t,e,r){var m=-1!==t.indexOf("Map"),_=-1!==t.indexOf("Weak"),b=m?"set":"add",E=o[t],x=E&&E.prototype,w=E,S={},O=function(t){var e=i(x[t]);a(x,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(_&&!d(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return _&&!d(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(_&&!d(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(s(t,!l(E)||!(_||x.forEach&&!h(function(){(new E).entries().next()}))))w=r.getConstructor(e,t,m,b),u.enable();else if(s(t,!0)){var T=new w,k=T[b](_?{}:-0,1)!==T,P=h(function(){T.has(1)}),j=v(function(t){new E(t)}),C=!_&&h(function(){for(var t=new E,e=5;e--;)t[b](e,e);return!t.has(-0)});j||((w=e(function(t,e){f(t,x);var r=g(new E,t,w);return p(e)||c(e,r[b],{that:r,AS_ENTRIES:m}),r})).prototype=x,x.constructor=w),(P||C)&&(O("delete"),O("has"),m&&O("get")),(C||k)&&O(b),_&&x.clear&&delete x.clear}return S[t]=w,n({global:!0,constructor:!0,forced:w!==E},S),y(w,t),_||r.setStrong(w,t,m),w}},6469:(t,e,r)=>{"use strict";var n=r(8227),o=r(2360),i=r(4913).f,s=n("unscopables"),a=Array.prototype;void 0===a[s]&&i(a,s,{configurable:!0,value:o(null)}),t.exports=function(t){a[s][t]=!0}},6475:(t,e,r)=>{"use strict";r.d(e,{B:()=>s,V:()=>i});var n=r(258),o={};function i(){return(0,n.wD)()?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function s(t,e,r){var n=r||i(),o=n.__SENTRY__=n.__SENTRY__||{};return o[t]||(o[t]=e())}},6499:(t,e,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(6043),a=r(1103),u=r(2652);n({target:"Promise",stat:!0,forced:r(537)},{all:function(t){var e=this,r=s.f(e),n=r.resolve,c=r.reject,f=a(function(){var r=i(e.resolve),s=[],a=0,f=1;u(t,function(t){var i=a++,u=!1;f++,o(r,e,t).then(function(t){u||(u=!0,s[i]=t,--f||n(s))},c)}),--f||n(s)});return f.error&&c(f.value),r.promise}})},6518:(t,e,r)=>{"use strict";var n=r(4576),o=r(7347).f,i=r(6699),s=r(6840),a=r(9433),u=r(7740),c=r(2796);t.exports=function(t,e){var r,f,l,p,d,h=t.target,v=t.global,y=t.stat;if(r=v?n:y?n[h]||a(h,{}):n[h]&&n[h].prototype)for(f in e){if(p=e[f],l=t.dontCallGetSet?(d=o(r,f))&&d.value:r[f],!c(v?f:h+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),s(r,f,p,t)}}},6612:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.inventoryToFormData=e.generateUUID=e.calculateAverageMbps=e.calculateMbps=e.cloneWithKeys=e.keyExists=e.isFunc=e.inRangeNumeric=e.prepConfig=void 0,e.prepConfig=function(t,e){var r=Object.keys(e);for(var n in t)-1===r.indexOf(n)&&delete t[n]},e.inRangeNumeric=function(t,e,r){return(t-e)*(t-r)<=0},e.isFunc=function(t){return"[object Function]"===Object.prototype.toString.call(t)},e.keyExists=function(t,e){return~Object.keys(t).map(function(e){return t[e]}).indexOf(e)},e.cloneWithKeys=function(t){return Object.keys(t).reduce(function(t,e){return t[e]=null,t},{})},e.calculateMbps=function(t,e){return 8*e/(((new Date).getTime()-t)/1e3)/Math.pow(1024,2)},e.calculateAverageMbps=function(t){var e=t.reduce(function(t,e){return t+e});return parseFloat((e/t.length).toFixed(2))},e.generateUUID=function(){var t=window.performance,e=(new Date).getTime();return void 0!==t&&"function"==typeof t.now&&(e+=t.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var r=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?r:7&r|8).toString(16)})},e.inventoryToFormData=function(t,e,r){void 0===r&&(r=null);var n=new FormData;for(var o in n.append("story_id",t),r&&n.append("composition_id",r),e)if(e[o]){var i=e[o];if(i&&"file"===i.type){var s=i.files;s.length>0?(e[o]="",n.append(o,s[0])):e[o]=""}else i&&i instanceof File&&(e[o]="",n.append(o,i,i.name));n.append("inventory[".concat(o,"]"),e[o])}return n}},6624:function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(e,"__esModule",{value:!0}),e.PlayerEvents=e.Events=e.Player=e.Client=void 0,r(6398),r(5985),r(2989),r(7782);var i=r(2511);e.Client=i.default;var s=r(6671);e.Player=s.default,(0,r(2121).printVersion)();var a=o([n({},i.default.eventNames),n({},s.default.events)],2),u=a[0],c=a[1];e.Events=u,e.PlayerEvents=c},6671:function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)},s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var a=r(2505),u=r(9722),c=r(8368),f=r(1499),l=r(6612),p=r(3685).xY,d=window.hls,h=function(t){function e(r,n,o){void 0===o&&(o=p.defaultConfig);var u=t.call(this,r)||this;u.eventDelegateRefs={play:{callback:null,native:!0},pause:{callback:null,native:!0},ended:{callback:null,native:!0},error:{callback:null,native:!0},seeked:{callback:null,native:!0},timeupdate:{callback:null,native:!0},volumechanged:{callback:null,native:!0},muted:{callback:null,native:!1},controlsset:{callback:null,native:!1}},u.hlsSupport="",u.hlsPlayer=null,u.imposiumPlayerConfig=null,u.init=function(t){var e=p.defaultConfig;for(var r in(0,l.prepConfig)(t,e),u.imposiumPlayerConfig=i(i({},e),t),u.imposiumPlayerConfig)u.imposiumPlayerConfig[r]&&(u.node[r]=u.imposiumPlayerConfig[r])},u.experienceGenerated=function(t){var e=u.imposiumPlayerConfig.qualityOverride,r=t.id,n=t.output,o=n.videos,i=n.images,s="";u.setExperienceId(r),i&&i.hasOwnProperty("poster")&&(s=i.poster),e?u.doQualityOverride(o,s):u.doQualityAssessment(o,s)},u.on=function(t,r){var n=u,o=n.storyId,i=n.eventDelegateRefs;try{if(!(0,l.isFunc)(r))throw new f.PlayerConfigurationError("invalidCallbackType",t);if(!(0,l.keyExists)(e.events,t))throw new f.PlayerConfigurationError("invalidEventName",t);var s=i[t];s.callback=r,s.native&&u.node.addEventListener(t,s.callback)}catch(t){c.default.trapError(t,o)}},u.off=function(t){var r=u,n=r.storyId,o=r.eventDelegateRefs;try{if(!(0,l.keyExists)(e.events,t))throw new f.PlayerConfigurationError("invalidEventName",t);var i=o[t];i.native&&u.node.removeEventListener(t,i.callback),i.callback=null}catch(t){c.default.trapError(t,n)}},u.play=function(){u.node.play().catch(function(){console.error("Error playing video")})},u.pause=function(){u.node.pause()},u.getPlaybackState=function(){return u.node.paused?"paused":"playing"},u.getPosition=function(){return u.node.currentTime},u.getDuration=function(){return u.node.duration},u.seek=function(t){var e=u.node.duration;isNaN(e)?c.default.logWarning("playerFailure","seekNotReady"):(t=Math.floor(t),(0,l.inRangeNumeric)(t,0,e)?u.node.currentTime=t:c.default.logWarning("playerFailure","invalidSeekTime"))},u.getMute=function(){return u.node.muted},u.setMute=function(t){var e=u.eventDelegateRefs.muted.callback;u.node.muted=t,e&&e()},u.getVolume=function(){return u.node.volume},u.setVolume=function(t){var e=p.volumeMin,r=p.volumeMax;t=Math.round(10*t)/10,(0,l.inRangeNumeric)(t,e,r)?u.node.volume=t:c.default.logWarning("playerFailure","invalidVolume")},u.getControls=function(){return u.node.controls},u.setControls=function(t){var e=u.eventDelegateRefs.controlsset;u.node.controls=t,e&&e.callback()},u.replay=function(){u.pauseIfPlaying(),u.node.currentTime=0,u.play()},u.remove=function(){var t,e,r=u.eventDelegateRefs,n=p.defaultConfig;u.pauseIfPlaying();try{for(var o=s(Object.keys(r)),a=o.next();!a.done;a=o.next()){var c=a.value;u.off(r[c])}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}u.imposiumPlayerConfig=i({},n),u.node=null},u.setupHls=function(){var t=e.hlsSupportLevels,r=t.NATIVE,n=t.HLSJS;u.node.canPlayType(e.STREAM_TYPE)?u.hlsSupport=r:void 0!==d&&d.isSupported()&&(u.hlsSupport=n)},u.doQualityOverride=function(t,e){var r=u.storyId,n=u.imposiumPlayerConfig.qualityOverride;try{if(!t.hasOwnProperty(n))throw new f.PlayerConfigurationError("badQualityOverride",null);u.setPlayerData(t[n].url,!0,e)}catch(t){c.default.trapError(t,r)}},u.doQualityAssessment=function(t,r){var n=u.hlsSupport,o=e.compressionLevels.STREAM;if(t.hasOwnProperty(o)&&n)u.setPlayerData(t[o].url,!0,r);else{var i=Object.keys(t);1===i.length?u.setPlayerData(t[i[0]].url,!1,r):u.checkBandwidth(t).then(function(e){u.setPlayerData(t[e].url,!1,r)}).catch(function(e){u.setPlayerData(t[e].url,!1,r)})}},u.sampleBandwidth=function(){var t="".concat(e.TEST_IMAGE,"?bust=").concat(Math.random()),r={responseType:"blob",timeout:1500};return new Promise(function(e,n){var o=(new Date).getTime();a.default.get(t,r).then(function(t){var r=t.data.size;e((0,l.calculateMbps)(o,r))}).catch(function(t){n(t)})})},u.checkBandwidth=function(t){for(var r=e.BANDWIDTH_SAMPLES,n=[],o=Object.keys(t).filter(function(t){return"m3u8"!==t}),i=0;i<r;i++)n.push(u.sampleBandwidth());return new Promise(function(e,r){Promise.all(n).then(function(r){var n=(0,l.calculateAverageMbps)(r),i={};o.forEach(function(e){var r=t[e],n=r.width,o=r.height;i[n*o/1e5]=e});var s=Object.keys(i).map(function(t){return parseFloat(t)}).reduce(function(t,e){return Math.abs(t-n)<Math.abs(e-n)?t:e});e(i[s])}).catch(function(){r(o.slice(-1).pop())})})},u.setPlayerData=function(t,r,n){void 0===n&&(n=null);var o=u.hlsSupport,i=e.hlsSupportLevels.HLSJS;r&&o===i?(u.hlsPlayer&&u.hlsPlayer.destroy(),u.hlsPlayer=new d,u.hlsPlayer.attachMedia(u.node),u.hlsPlayer.loadSource(t)):u.node.src=t,n&&(u.node.poster=n)},u.pauseIfPlaying=function(){u.node.paused||u.node.pause()};var h=!(!n||!n.clientConfig);try{if(!h)throw new f.PlayerConfigurationError("badClient",null);r instanceof HTMLVideoElement&&(n.bindPlayer(u),u.init(o),u.setupHls())}catch(t){var v=h?n.clientConfig.storyId:"";c.default.trapError(t,v)}return u}return o(e,t),e.events={PLAY:"play",PAUSE:"pause",COMPLETE:"ended",ERROR:"error",SEEK:"seeked",TIME:"timeupdate",VOLUME:"volumechange",MUTE:"muted",CONTROLS:"controlsset"},e.STREAM_TYPE=p.streamType,e.BANDWIDTH_SAMPLES=p.bandwidthSamples,e.TEST_IMAGE=p.testImage,e.bandwidthRatings={LOW:p.bandwidth.low,MID:p.bandwidth.mid},e.compressionLevels={STREAM:p.compression.stream,LOW:p.compression.low,MID:p.compression.mid,HIGH:p.compression.high},e.hlsSupportLevels={NATIVE:p.hlsSupportLevels.native,HLSJS:p.hlsSupportLevels.hlsjs},e}(u.default);e.default=h},6699:(t,e,r)=>{"use strict";var n=r(3724),o=r(4913),i=r(6980);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},6706:(t,e,r)=>{"use strict";var n=r(9504),o=r(9306);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},6761:(t,e,r)=>{"use strict";var n=r(6518),o=r(4576),i=r(9565),s=r(9504),a=r(6395),u=r(3724),c=r(4495),f=r(9039),l=r(9297),p=r(1625),d=r(8551),h=r(5397),v=r(6969),y=r(655),g=r(6980),m=r(2360),_=r(1072),b=r(8480),E=r(298),x=r(3717),w=r(7347),S=r(4913),O=r(6801),T=r(8773),k=r(6840),P=r(2106),j=r(5745),C=r(6119),R=r(421),I=r(3392),N=r(8227),A=r(1951),D=r(511),M=r(8242),L=r(687),U=r(1181),F=r(9213).forEach,B=C("hidden"),q="Symbol",H="prototype",G=U.set,z=U.getterFor(q),V=Object[H],W=o.Symbol,Y=W&&W[H],X=o.RangeError,J=o.TypeError,K=o.QObject,$=w.f,Q=S.f,Z=E.f,tt=T.f,et=s([].push),rt=j("symbols"),nt=j("op-symbols"),ot=j("wks"),it=!K||!K[H]||!K[H].findChild,st=function(t,e,r){var n=$(V,e);n&&delete V[e],Q(t,e,r),n&&t!==V&&Q(V,e,n)},at=u&&f(function(){return 7!==m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a})?st:Q,ut=function(t,e){var r=rt[t]=m(Y);return G(r,{type:q,tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===V&&ct(nt,e,r),d(t);var n=v(e);return d(r),l(rt,n)?(r.enumerable?(l(t,B)&&t[B][n]&&(t[B][n]=!1),r=m(r,{enumerable:g(0,!1)})):(l(t,B)||Q(t,B,g(1,m(null))),t[B][n]=!0),at(t,n,r)):Q(t,n,r)},ft=function(t,e){d(t);var r=h(e),n=_(r).concat(ht(r));return F(n,function(e){u&&!i(lt,r,e)||ct(t,e,r[e])}),t},lt=function(t){var e=v(t),r=i(tt,this,e);return!(this===V&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,B)&&this[B][e])||r)},pt=function(t,e){var r=h(t),n=v(e);if(r!==V||!l(rt,n)||l(nt,n)){var o=$(r,n);return!o||!l(rt,n)||l(r,B)&&r[B][n]||(o.enumerable=!0),o}},dt=function(t){var e=Z(h(t)),r=[];return F(e,function(t){l(rt,t)||l(R,t)||et(r,t)}),r},ht=function(t){var e=t===V,r=Z(e?nt:h(t)),n=[];return F(r,function(t){!l(rt,t)||e&&!l(V,t)||et(n,rt[t])}),n};c||(k(Y=(W=function(){if(p(Y,this))throw new J("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=I(t),r=function(t){var n=void 0===this?o:this;n===V&&i(r,nt,t),l(n,B)&&l(n[B],e)&&(n[B][e]=!1);var s=g(1,t);try{at(n,e,s)}catch(t){if(!(t instanceof X))throw t;st(n,e,s)}};return u&&it&&at(V,e,{configurable:!0,set:r}),ut(e,t)})[H],"toString",function(){return z(this).tag}),k(W,"withoutSetter",function(t){return ut(I(t),t)}),T.f=lt,S.f=ct,O.f=ft,w.f=pt,b.f=E.f=dt,x.f=ht,A.f=function(t){return ut(N(t),t)},u&&(P(Y,"description",{configurable:!0,get:function(){return z(this).description}}),a||k(V,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),F(_(ot),function(t){D(t)}),n({target:q,stat:!0,forced:!c},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?m(t):ft(m(t),e)},defineProperty:ct,defineProperties:ft,getOwnPropertyDescriptor:pt}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt}),M(),L(W,q),R[B]=!0},6765:(t,e,r)=>{"use strict";function n(t){this.message=t}r.r(e),r.d(e,{InvalidTokenError:()=>s,default:()=>a}),n.prototype=new Error,n.prototype.name="InvalidCharacterError";var o="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,s=0,a="";o=e.charAt(s++);~o&&(r=i%4?64*r+o:o,i++%4)?a+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return a};function i(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(o(t).replace(/(.)/g,function(t,e){var r=e.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}(e)}catch(t){return o(e)}}function s(t){this.message=t}s.prototype=new Error,s.prototype.name="InvalidTokenError";const a=function(t,e){if("string"!=typeof t)throw new s("Invalid token specified");var r=!0===(e=e||{}).header?0:1;try{return JSON.parse(i(t.split(".")[r]))}catch(t){throw new s("Invalid token specified: "+t.message)}}},6801:(t,e,r)=>{"use strict";var n=r(3724),o=r(8686),i=r(4913),s=r(8551),a=r(5397),u=r(1072);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=a(e),o=u(e),c=o.length,f=0;c>f;)i.f(t,r=o[f++],n[r]);return t}},6823:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6840:(t,e,r)=>{"use strict";var n=r(4901),o=r(4913),i=r(283),s=r(9433);t.exports=function(t,e,r,a){a||(a={});var u=a.enumerable,c=void 0!==a.name?a.name:e;if(n(r)&&i(r,c,a),a.global)u?t[e]=r:s(e,r);else{try{a.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},6933:(t,e,r)=>{"use strict";var n=r(9504),o=r(4376),i=r(4901),s=r(2195),a=r(655),u=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var c=t[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==s(c)&&"String"!==s(c)||u(r,a(c))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},6938:(t,e,r)=>{"use strict";var n=r(2360),o=r(2106),i=r(6279),s=r(6080),a=r(679),u=r(4117),c=r(2652),f=r(1088),l=r(2529),p=r(7633),d=r(3724),h=r(3451).fastKey,v=r(1181),y=v.set,g=v.getterFor;t.exports={getConstructor:function(t,e,r,f){var l=t(function(t,o){a(t,p),y(t,{type:e,index:n(null),first:null,last:null,size:0}),d||(t.size=0),u(o)||c(o,t[f],{that:t,AS_ENTRIES:r})}),p=l.prototype,v=g(e),m=function(t,e,r){var n,o,i=v(t),s=_(t,e);return s?s.value=r:(i.last=s={index:o=h(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=s),n&&(n.next=s),d?i.size++:t.size++,"F"!==o&&(i.index[o]=s)),t},_=function(t,e){var r,n=v(t),o=h(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return i(p,{clear:function(){for(var t=v(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=n(null),d?t.size=0:this.size=0},delete:function(t){var e=this,r=v(e),n=_(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),d?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=v(this),n=s(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!_(this,t)}}),i(p,r?{get:function(t){var e=_(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),d&&o(p,"size",{configurable:!0,get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=g(e),i=g(n);f(t,e,function(t,e){y(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?l("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,l(void 0,!0))},r?"entries":"values",!r,!0),p(e)}}},6955:(t,e,r)=>{"use strict";var n=r(2140),o=r(4901),i=r(2195),s=r(8227)("toStringTag"),a=Object,u="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?r:u?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},6969:(t,e,r)=>{"use strict";var n=r(2777),o=r(757);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},6980:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6987:(t,e,r)=>{"use strict";var n=r(9516),o=r(7018),i=r(5449),s={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(5592)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(a(e,"application/json"),function(t){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||c.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(s){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],function(t){c.headers[t]={}}),n.forEach(["post","put","patch"],function(t){c.headers[t]=n.merge(s)}),t.exports=c},7018:(t,e,r)=>{"use strict";var n=r(9516);t.exports=function(t,e){n.forEach(t,function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])})}},7036:(t,e,r)=>{"use strict";var n=r(6518),o=r(9306),i=r(6194),s=r(2248),a=r(6395),u=s.get,c=s.has,f=s.set;n({target:"Map",proto:!0,real:!0,forced:a},{getOrInsertComputed:function(t,e){if(i(this),o(e),c(this,t))return u(this,t);0===t&&1/t==-1/0&&(t=0);var r=e(t);return f(this,t,r),r}})},7040:(t,e,r)=>{"use strict";var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:(t,e,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(2195),s=Object,a=n("".split);t.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?a(t,""):s(t)}:s},7145:(t,e,r)=>{"use strict";var n=r(6518),o=r(1625),i=r(2787),s=r(2967),a=r(7740),u=r(2360),c=r(6699),f=r(6980),l=r(7584),p=r(747),d=r(2652),h=r(2603),v=r(8227)("toStringTag"),y=Error,g=[].push,m=function(t,e){var r,n=o(_,this);s?r=s(new y,n?i(this):_):(r=n?this:u(_),c(r,v,"Error")),void 0!==e&&c(r,"message",h(e)),p(r,m,r.stack,1),arguments.length>2&&l(r,arguments[2]);var a=[];return d(t,g,{that:a}),c(r,"errors",a),r};s?s(m,y):a(m,y,{name:!0});var _=m.prototype=u(y.prototype,{constructor:f(1,m),message:f(1,""),name:f(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:m})},7254:(t,e,r)=>{"use strict";var n=r(6518),o=r(6194),i=r(2248),s=r(6395),a=i.get,u=i.has,c=i.set;n({target:"Map",proto:!0,real:!0,forced:s},{getOrInsert:function(t,e){return u(o(this),t)?a(this,t):(c(this,t,e),e)}})},7267:(t,e,r)=>{"use strict";var n=r(9062);t.exports=n},7268:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{some:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0);return!0===s(e,function(t,n){if(r(t,n,e))return!0},!0)}})},7273:(t,e,r)=>{"use strict";var n=r(6518),o=r(3317),i=r(6194),s=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===s(i(this),function(e){if(o(e,t))return!0},!0)}})},7347:(t,e,r)=>{"use strict";var n=r(3724),o=r(9565),i=r(8773),s=r(6980),a=r(5397),u=r(6969),c=r(9297),f=r(5917),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=u(e),f)try{return l(t,e)}catch(t){}if(c(t,e))return s(!o(i.f,t,e),t[e])}},7415:(t,e,r)=>{"use strict";var n=r(6518),o=r(6194),i=r(6223);n({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=i(o(this),function(e,r){if(e===t)return{key:r}},!0);return e&&e.key}})},7433:(t,e,r)=>{"use strict";var n=r(4376),o=r(3517),i=r(34),s=r(8227)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?a:e}},7476:(t,e,r)=>{"use strict";var n=r(2195),o=r(9504);t.exports=function(t){if("Function"===n(t))return o(t)}},7481:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(6612),o=r(1499),i=function(){function t(t){var e=this;this.api=null,this.clientDelegates=null,this.configCache=new Map,this.getExperience=function(t){clearTimeout(e.killPollTimeout),e.killPollTimeout=setTimeout(function(){return e.killPoll(t)},18e4),e.pollForExperience(t,function(t){clearTimeout(e.killPollTimeout),e.clientDelegates.get("gotExperience")(t)},function(r){clearTimeout(e.killPollTimeout);var n=new o.HTTPError("httpFailure",t,r);e.clientDelegates.get("internalError")(n)})},this.fetchExperience=function(t,r,i,s){void 0===i&&(i=1),void 0===s&&(s=null);var a=s||(0,n.generateUUID)();e.api.fetch(t,a,r).then(function(t){if(t.error){var r=new o.RenderError(t.error,a);e.clientDelegates.get("internalError")(r)}else e.configCache.delete(a),e.clientDelegates.get("gotExperience")(t)}).catch(function(n){var u,c;if(null===(c=null===(u=null==n?void 0:n.response)||void 0===u?void 0:u.data)||void 0===c?void 0:c.error){var f=new o.RenderError(n.response.data.error,a);e.clientDelegates.get("internalError")(f)}else n.response&&408===n.response.status?e.getExperience(a):n.response&&n.response.status>=500&&i<3?(i+=1,e.fetchExperience(t,r,i,s)):(f=new o.HTTPError("httpFailure",a,n),e.clientDelegates.get("internalError")(f))})},this.createExperience=function(t,r,i,s){void 0===s&&(s=0);var a=(0,n.generateUUID)();e.api.create(t,r,a,i).then(function(t){e.configCache.delete(a),e.clientDelegates.get("experienceCreated")(t)}).catch(function(n){if(n.response&&n.response.status>=500&&s<3)s+=1,e.createExperience(t,r,i,s);else{var u=new o.HTTPError("httpFailure",a,n);e.clientDelegates.get("internalError")(u)}})},this.api=t.api,this.clientDelegates=t.clientDelegates}return t.prototype.killPoll=function(t){clearTimeout(this.pollTimeout);var e=new o.HTTPError("pollTimeout",t);this.clientDelegates.get("internalError")(e)},t.prototype.pollForExperience=function(t,e,r,n){var i=this;void 0===n&&(n=1),this.api.get(t).then(function(s){if(s.rendering)clearTimeout(i.pollTimeout),i.pollTimeout=setTimeout(function(){i.pollForExperience(t,e,r,n)},5e3);else if(clearTimeout(i.pollTimeout),s.error){var a=new o.RenderError(s.error,t);i.clientDelegates.get("internalError")(a)}else e(s)}).catch(function(o){clearTimeout(i.pollTimeout),o.response&&o.response.status>=500&&n<3?(n+=1,i.pollForExperience(t,e,r,n)):r(o)})},t}();e.default=i},7500:(t,e,r)=>{"use strict";var n=r(8551);t.exports=function(t,e,r){return function(){for(var o=new t,i=arguments.length,s=0;s<i;s++){var a=arguments[s];r?e(o,n(a)[0],a[1]):e(o,a)}return o}}},7522:(t,e,r)=>{"use strict";var n=r(7763);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},7583:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(2248),a=r(6223),u=s.Map,c=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new u;return a(e,function(t,o){c(n,o,r(t,o,e))}),n}})},7584:(t,e,r)=>{"use strict";var n=r(34),o=r(6699);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},7629:(t,e,r)=>{"use strict";var n=r(6395),o=r(4576),i=r(9433),s="__core-js_shared__",a=t.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7633:(t,e,r)=>{"use strict";var n=r(7751),o=r(2106),i=r(8227),s=r(3724),a=i("species");t.exports=function(t){var e=n(t);s&&e&&!e[a]&&o(e,a,{configurable:!0,get:function(){return this}})}},7657:(t,e,r)=>{"use strict";var n,o,i,s=r(9039),a=r(4901),u=r(34),c=r(2360),f=r(2787),l=r(6840),p=r(8227),d=r(6395),h=p("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):v=!0),!u(n)||s(function(){var t={};return n[h].call(t)!==t})?n={}:d&&(n=c(n)),a(n[h])||l(n,h,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},7680:(t,e,r)=>{"use strict";var n=r(9504);t.exports=n([].slice)},7740:(t,e,r)=>{"use strict";var n=r(9297),o=r(5031),i=r(7347),s=r(4913);t.exports=function(t,e,r){for(var a=o(e),u=s.f,c=i.f,f=0;f<a.length;f++){var l=a[f];n(t,l)||r&&n(r,l)||u(t,l,c(e,l))}}},7743:(t,e,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(6043),a=r(1103),u=r(2652);n({target:"Promise",stat:!0,forced:r(537)},{race:function(t){var e=this,r=s.f(e),n=r.reject,c=a(function(){var s=i(e.resolve);u(t,function(t){o(s,e,t).then(r.resolve,n)})});return c.error&&n(c.value),r.promise}})},7750:(t,e,r)=>{"use strict";var n=r(4117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},7751:(t,e,r)=>{"use strict";var n=r(4576),o=r(4901);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},7763:(t,e,r)=>{"use strict";var n=r(5449);t.exports=function(t,e,r,o,i){var s=new Error(t);return n(s,e,r,o,i)}},7764:(t,e,r)=>{"use strict";var n=r(8183).charAt,o=r(655),i=r(1181),s=r(1088),a=r(2529),u="String Iterator",c=i.set,f=i.getterFor(u);s(String,"String",function(t){c(this,{type:u,string:o(t),index:0})},function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?a(void 0,!0):(t=n(r,o),e.index+=t.length,a(t,!1))})},7782:(t,e,r)=>{"use strict";t.exports=r(6008)},7812:(t,e,r)=>{"use strict";var n=r(6518),o=r(9297),i=r(757),s=r(6823),a=r(5745),u=r(1296),c=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw new TypeError(s(t)+" is not a symbol");if(o(c,t))return c[t]}})},7860:(t,e,r)=>{"use strict";var n=r(2839);t.exports=/web0s(?!.*chrome)/i.test(n)},7980:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},8014:(t,e,r)=>{"use strict";var n=r(1291),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},8015:(t,e,r)=>{"use strict";var n=r(9516),o=r(9012),i=r(5155),s=r(5343),a=function t(e){var r=new i(e),a=o(i.prototype.request,r);return n.extend(a,i.prototype,r),n.extend(a,r),a.create=function(r){return t(s(e,r))},a}(r(6987));a.Axios=i,a.Cancel=r(1928),a.CancelToken=r(3191),a.isCancel=r(3864),a.VERSION=r(9641).version,a.all=function(t){return Promise.all(t)},a.spread=r(7980),a.isAxiosError=r(5019),t.exports=a,t.exports.default=a},8183:(t,e,r)=>{"use strict";var n=r(9504),o=r(1291),i=r(655),s=r(7750),a=n("".charAt),u=n("".charCodeAt),c=n("".slice),f=function(t){return function(e,r){var n,f,l=i(s(e)),p=o(r),d=l.length;return p<0||p>=d?t?"":void 0:(n=u(l,p))<55296||n>56319||p+1===d||(f=u(l,p+1))<56320||f>57343?t?a(l,p):n:t?c(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},8227:(t,e,r)=>{"use strict";var n=r(4576),o=r(5745),i=r(9297),s=r(3392),a=r(4495),u=r(7040),c=n.Symbol,f=o("wks"),l=u?c.for||c:c&&c.withoutSetter||s;t.exports=function(t){return i(f,t)||(f[t]=a&&i(c,t)?c[t]:l("Symbol."+t)),f[t]}},8242:(t,e,r)=>{"use strict";var n=r(9565),o=r(7751),i=r(8227),s=r(6840);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,a=i("toPrimitive");e&&!e[a]&&s(e,a,function(t){return n(r,this)},{arity:1})}},8265:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},8368:function(t,e,r){"use strict";var n=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var o=r(4912),i=r(1499),s=r(2121),a=n(r(197),[]),u=r(3685).e$,c=function(){function t(){}return t.logWarning=function(t,e){console.warn("IMPOSIUM\n".concat(a[t][e]))},t.trapError=function(e,r,n){void 0===n&&(n=null),e=e.log?e:new i.UncaughtError("generic",e),r&&e.setStoryId(r),n&&n(e),e.log(),t.hub.run(function(t){t.configureScope(function(n){n.setTag("type",e.type),n.setTag("version",e.version),n.setTag("storyId",r||"<not_set>"),e.experienceId&&n.setTag("experienceId",e.experienceId),e.axiosError&&("object"==typeof e.axiosError.response?n.setExtra("response",e.axiosError.response):"object"==typeof e.axiosError.request?(n.setExtra("request",e.axiosError.request),n.setExtra("reuqestConfig",e.axiosError.config)):(n.setExtra("axiosErrorMessage",e.axiosError.message),n.setExtra("reuqestConfig",e.axiosError.config))),e.closeEvent&&n.setExtra("socketCloseEvent",{code:e.closeEvent.code,type:e.closeEvent.type,timestamp:e.closeEvent.timeStamp,wsUrl:e.closeEvent.target.url,wsBufferedAmount:e.closeEvent.target.bufferedAmount}),t.captureException(e)})})},t.sentryClient=new o.BrowserClient({debug:!1,dsn:u.dsn,integrations:[new o.Integrations.UserAgent],beforeSend:function(e){return t.cleanDucktype(e)},release:"".concat(u.projectName,"@").concat(s.version)}),t.hub=new o.Hub(t.sentryClient),t.cleanDucktype=function(t){return void 0===t.extra||t.extra.Error&&(delete t.extra.Error.log,delete t.extra.Error.logHeader,delete t.extra.Error.setStoryId,t.extra.Error.axiosError&&delete t.extra.Error.axiosError,t.extra.Error.closeEvent&&delete t.extra.Error.closeEvent),t},t}();e.default=c},8418:(t,e,r)=>{"use strict";var n=r(8473);t.exports=n},8473:(t,e,r)=>{"use strict";r(9085);var n=r(9167);t.exports=n.Object.assign},8480:(t,e,r)=>{"use strict";var n=r(1828),o=r(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},8523:(t,e,r)=>{"use strict";r(6468)("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},r(6938))},8551:(t,e,r)=>{"use strict";var n=r(34),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},8574:(t,e,r)=>{"use strict";var n=r(4215);t.exports="NODE"===n},8622:(t,e,r)=>{"use strict";var n=r(4576),o=r(4901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8686:(t,e,r)=>{"use strict";var n=r(3724),o=r(9039);t.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8727:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8745:(t,e,r)=>{"use strict";var n=r(616),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},8773:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},8981:(t,e,r)=>{"use strict";var n=r(7750),o=Object;t.exports=function(t){return o(n(t))}},9012:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},9039:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},9062:(t,e,r)=>{"use strict";var n=r(2181);t.exports=n},9085:(t,e,r)=>{"use strict";var n=r(6518),o=r(4213);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9106:(t,e,r)=>{"use strict";var n=r(9516);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var s=[];n.forEach(e,function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),s.push(o(e)+"="+o(t))}))}),i=s.join("&")}if(i){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},9137:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},9167:(t,e,r)=>{"use strict";var n=r(4576);t.exports=n},9213:(t,e,r)=>{"use strict";var n=r(6080),o=r(9504),i=r(7055),s=r(8981),a=r(6198),u=r(1469),c=o([].push),f=function(t){var e=1===t,r=2===t,o=3===t,f=4===t,l=6===t,p=7===t,d=5===t||l;return function(h,v,y,g){for(var m,_,b=s(h),E=i(b),x=a(E),w=n(v,y),S=0,O=g||u,T=e?O(h,x):r||p?O(h,0):void 0;x>S;S++)if((d||S in E)&&(_=w(m=E[S],S,b),t))if(e)T[S]=_;else if(_)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:c(T,m)}else switch(t){case 4:return!1;case 7:c(T,m)}return l?-1:o||f?f:T}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},9225:(t,e,r)=>{"use strict";var n,o,i,s,a=r(4576),u=r(8745),c=r(6080),f=r(4901),l=r(9297),p=r(9039),d=r(397),h=r(7680),v=r(4055),y=r(2812),g=r(9544),m=r(8574),_=a.setImmediate,b=a.clearImmediate,E=a.process,x=a.Dispatch,w=a.Function,S=a.MessageChannel,O=a.String,T=0,k={},P="onreadystatechange";p(function(){n=a.location});var j=function(t){if(l(k,t)){var e=k[t];delete k[t],e()}},C=function(t){return function(){j(t)}},R=function(t){j(t.data)},I=function(t){a.postMessage(O(t),n.protocol+"//"+n.host)};_&&b||(_=function(t){y(arguments.length,1);var e=f(t)?t:w(t),r=h(arguments,1);return k[++T]=function(){u(e,void 0,r)},o(T),T},b=function(t){delete k[t]},m?o=function(t){E.nextTick(C(t))}:x&&x.now?o=function(t){x.now(C(t))}:S&&!g?(s=(i=new S).port2,i.port1.onmessage=R,o=c(s.postMessage,s)):a.addEventListener&&f(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!p(I)?(o=I,a.addEventListener("message",R,!1)):o=P in v("script")?function(t){d.appendChild(v("script"))[P]=function(){d.removeChild(this),j(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:_,clear:b}},9297:(t,e,r)=>{"use strict";var n=r(9504),o=r(8981),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},9306:(t,e,r)=>{"use strict";var n=r(4901),o=r(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},9391:(t,e,r)=>{"use strict";var n=r(6518),o=r(6395),i=r(550),s=r(9039),a=r(7751),u=r(4901),c=r(2293),f=r(3438),l=r(6840),p=i&&i.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&s(function(){p.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=c(this,a("Promise")),r=u(t);return this.then(r?function(r){return f(e,t()).then(function(){return r})}:t,r?function(r){return f(e,t()).then(function(){throw r})}:t)}}),!o&&u(i)){var d=a("Promise").prototype.finally;p.finally!==d&&l(p,"finally",d,{unsafe:!0})}},9433:(t,e,r)=>{"use strict";var n=r(4576),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9504:(t,e,r)=>{"use strict";var n=r(616),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},9516:(t,e,r)=>{"use strict";var n=r(9012),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function s(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===o.call(t)}function f(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isPlainObject:u,isUndefined:s,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:c,isStream:function(t){return a(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function t(){var e={};function r(r,n){u(e[n])&&u(r)?e[n]=t(e[n],r):u(r)?e[n]=t({},r):i(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)f(arguments[n],r);return e},extend:function(t,e,r){return f(e,function(e,o){t[o]=r&&"function"==typeof e?n(e,r):e}),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},9519:(t,e,r)=>{"use strict";var n,o,i=r(4576),s=r(2839),a=i.process,u=i.Deno,c=a&&a.versions||u&&u.version,f=c&&c.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},9539:(t,e,r)=>{"use strict";var n=r(9565),o=r(8551),i=r(5966);t.exports=function(t,e,r){var s,a;o(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){a=!0,s=t}if("throw"===e)throw r;if(a)throw s;return o(s),r}},9544:(t,e,r)=>{"use strict";var n=r(2839);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},9565:(t,e,r)=>{"use strict";var n=r(616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},9615:(t,e,r)=>{"use strict";var n=r(9137),o=r(4680);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},9617:(t,e,r)=>{"use strict";var n=r(5397),o=r(5610),i=r(6198),s=function(t){return function(e,r,s){var a=n(e),u=i(a);if(0===u)return!t&&-1;var c,f=o(s,u);if(t&&r!=r){for(;u>f;)if((c=a[f++])!=c)return!0}else for(;u>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},9641:t=>{t.exports={version:"0.24.0"}},9722:function(t,e,r){"use strict";var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var i=r(8368),s=r(632),a=r(1499),u=r(3685).xY,c=function(){function t(e){var r,u,c=this;this.node=null,this.storyId="",this.gaProperty="",this.playbackHandlers=new Map([["play",function(){return c.onPlay()}],["pause",function(){return c.onPause()}],["ended",function(){return c.onEnded()}],["loaded",function(){return c.onLoad()}],["volumechange",function(){return c.onVolumeChange()}]]),this.queuedGACalls=[],this.experienceId="",this.prevPlaybackEvent=0,this.playbackInterval=-1,this.muted=!1,this.remove=function(){var t,e;try{for(var r=n(c.playbackHandlers.entries()),i=r.next();!i.done;i=r.next()){var s=o(i.value,2),a=s[0],u=s[1];c.node.removeEventListener(a,u)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},this.setGaProperty=function(t){for(c.gaProperty&&c.gaProperty!==t&&c.queuedGACalls.length>0&&(c.queuedGACalls=[]),c.gaProperty=t;c.queuedGACalls.length;)s.default.send(c.queuedGACalls.pop())},this.setStoryId=function(t){c.storyId=t},this.setExperienceId=function(t){c.experienceId=t},this.emitGAEventAction=function(e){var r=t.GA_EMIT_TYPE,n=t.GA_EMIT_CATEGORY,o=c,i={t:r,tid:o.gaProperty,ec:n,el:o.experienceId,ea:e};c.gaProperty?s.default.send(i):c.queuedGACalls.push(i)},this.onLoad=function(){c.emitGAEventAction("loaded")},this.onVolumeChange=function(){!c.muted&&c.node.muted&&(c.emitGAEventAction("muted"),c.muted=!0),c.muted&&!c.node.muted&&(c.emitGAEventAction("unmuted"),c.muted=!1)},this.onPlay=function(){var e=window.setInterval;clearInterval(c.playbackInterval),c.playbackInterval=e(function(){return c.checkPlayback()},t.INTERVAL_RATE),c.emitGAEventAction("play")},this.onPause=function(){clearInterval(c.playbackInterval),c.node.duration!==c.node.currentTime&&c.emitGAEventAction("pause")},this.onEnded=function(){clearInterval(c.playbackInterval),c.emitGAEventAction("playback_1"),c.prevPlaybackEvent=0},this.checkPlayback=function(){if(c.node){var e=c.node,r=e.currentTime/e.duration,n=t.PLAYBACK_EVENTS[c.prevPlaybackEvent];r>n&&(c.emitGAEventAction("playback_".concat(n)),c.prevPlaybackEvent++)}else clearInterval(c.playbackInterval)};try{if(!(e instanceof HTMLVideoElement))throw new a.PlayerConfigurationError("invalidPlayerRef",null);try{for(var f=n(this.playbackHandlers.entries()),l=f.next();!l.done;l=f.next()){var p=o(l.value,2),d=p[0],h=p[1];e.addEventListener(d,h)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(u=f.return)&&u.call(f)}finally{if(r)throw r.error}}this.node=e,this.muted=e.muted}catch(t){i.default.trapError(t,this.storyId)}}return t.INTERVAL_RATE=u.checkPlaybackRateMs,t.PLAYBACK_EVENTS=u.playbackEvents,t.GA_EMIT_TYPE="event",t.GA_EMIT_CATEGORY="video_player",t}();e.default=c},9733:(t,e,r)=>{"use strict";var n=r(6518),o=r(9306),i=r(6194),s=r(2248),a=TypeError,u=s.get,c=s.has,f=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,e){var r=i(this),n=arguments.length;o(e);var s=c(r,t);if(!s&&n<3)throw new a("Updating absent value");var l=s?u(r,t):o(n>2?arguments[2]:void 0)(t,r);return f(r,t,e(l,t,r)),r}})},9773:(t,e,r)=>{"use strict";var n=r(6518),o=r(4495),i=r(9039),s=r(3717),a=r(8981);n({target:"Object",stat:!0,forced:!o||i(function(){s.f(1)})},{getOwnPropertySymbols:function(t){var e=s.f;return e?e(a(t)):[]}})},9929:(t,e,r)=>{"use strict";var n=r(6518),o=r(6080),i=r(6194),s=r(2248),a=r(6223),u=s.Map,c=s.set;n({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=i(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new u;return a(e,function(t,o){c(n,r(t,o,e),t)}),n}})}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(6624)})());
|
|
3
3
|
//# sourceMappingURL=imposium.min.js.map
|