(this.webpackJsonpLivePlayer=this.webpackJsonpLivePlayer||[]).push([[5],{13:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return s})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"j",(function(){return f})),n.d(e,"i",(function(){return p})),n.d(e,"f",(function(){return d})),n.d(e,"c",(function(){return l})),n.d(e,"k",(function(){return h})),n.d(e,"n",(function(){return v})),n.d(e,"m",(function(){return b})),n.d(e,"h",(function(){return _})),n.d(e,"g",(function(){return y}));var r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}function o(t,e){return r.call(t)==="[object "+e+"]"}function s(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function f(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function p(t){return o(t,"Object")}function d(t){return"undefined"!=typeof Event&&y(t,Event)}function l(t){return"undefined"!=typeof Element&&y(t,Element)}function h(t){return o(t,"RegExp")}function v(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function b(t){return p(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function _(t){return"number"==typeof t&&t!=t}function y(t,e){try{return t instanceof e}catch(t){return!1}}},199:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n(20),i=n(13);function o(t,e){try{for(var n=t,r=[],i=0,o=0,a=void 0;n&&i++<5&&!("html"===(a=s(n,e))||i>1&&o+3*r.length+a.length>=80);)r.push(a),o+=a.length,n=n.parentNode;return r.reverse().join(" > ")}catch(t){return""}}function s(t,e){var n,r,o,s,a,c=t,u=[];if(!c||!c.tagName)return"";u.push(c.tagName.toLowerCase());var f=e&&e.length?e.filter((function(t){return c.getAttribute(t)})).map((function(t){return[t,c.getAttribute(t)]})):null;if(f&&f.length)f.forEach((function(t){u.push("["+t[0]+'="'+t[1]+'"]')}));else if(c.id&&u.push("#"+c.id),(n=c.className)&&Object(i.l)(n))for(r=n.split(/\s+/),a=0;a=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 Object(o.c)({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}()},202:function(t,e,n){"use strict";function r(){var t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(var r=0;r":n||""}function f(t,e,n){var r=t.exception=t.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function p(t,e){var n=c(t);if(n){var i=n.mechanism;if(n.mechanism=Object(r.a)(Object(r.a)(Object(r.a)({},{type:"generic",handled:!0}),i),e),e&&"data"in e){var o=Object(r.a)(Object(r.a)({},i&&i.data),e.data);n.mechanism.data=o}}}function d(t){if(t&&t.__sentry_captured__)return!0;try{Object(o.a)(t,"__sentry_captured__",!0)}catch(t){}return!1}},22:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return a}));var r=n(0),i=n(409);function o(t){for(var e=[],n=1;n"}}function h(t){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(t,e){void 0===e&&(e=40);var n=Object.keys(d(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return Object(s.d)(n[0],e);for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(!(i.length>e))return r===n.length?i:Object(s.d)(i,e)}return""}function b(t){var e,n;if(Object(o.i)(t)){var i={};try{for(var s=Object(r.e)(Object.keys(t)),a=s.next();!a.done;a=s.next()){var c=a.value;void 0!==t[c]&&(i[c]=b(t[c]))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return i}return Array.isArray(t)?t.map(b):t}},36:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},408:function(t,e,n){"use strict";n.d(e,"a",(function(){return Ae}));var r={};n.r(r),n.d(r,"FunctionToString",(function(){return a})),n.d(r,"InboundFilters",(function(){return l}));var i,o=n(0),s=n(23),a=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){i=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e=0;e--){var n=t[e];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}function v(t){try{if(t.stacktrace)return h(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?h(e):null}catch(e){return p&&c.c.error("Cannot extract url for event "+Object(u.d)(t)),null}}var b=n(409);var _=n(20),y=n(73),g=n(36),m=n(13),O=n(92);function j(){if(!("fetch"in Object(_.a)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function x(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function E(){if(!j())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var S,w=Object(_.a)(),k={},T={};function R(t){if(!T[t])switch(T[t]=!0,t){case"console":!function(){if(!("console"in w))return;c.a.forEach((function(t){t in w.console&&Object(s.e)(w.console,t,(function(e){return function(){for(var n=[],r=0;r2?e[2]:void 0;if(r){var i=S,o=String(r);S=o,D("history",{from:i,to:o})}return t.apply(this,e)}}w.onpopstate=function(){for(var t=[],e=0;e1&&(p=l.slice(0,-1).join("/"),d=l.pop()),d){var h=d.match(/^\d+/);h&&(d=h[0])}return J({host:c,pass:a,path:p,projectId:d,port:f,protocol:r,publicKey:i})}(t):J(t);return function(t){if(g.a){var e=t.port,n=t.projectId,r=t.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(e){if(!t[e])throw new H("Invalid Sentry Dsn: "+e+" missing")})),!n.match(/^\d+$/))throw new H("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(t){return"http"===t||"https"===t}(r))throw new H("Invalid Sentry Dsn: Invalid protocol "+r);if(e&&isNaN(parseInt(e,10)))throw new H("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}var K=n(72),G=n(412),$=[];function V(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}function Q(t){var e={};return function(t){var e=t.defaultIntegrations&&Object(o.d)(t.defaultIntegrations)||[],n=t.integrations,r=Object(o.d)(V(e));Array.isArray(n)?r=Object(o.d)(r.filter((function(t){return n.every((function(e){return e.name!==t.name}))})),V(n)):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map((function(t){return t.name})),s="Debug";return-1!==i.indexOf(s)&&r.push.apply(r,Object(o.d)(r.splice(i.indexOf(s),1))),r}(t).forEach((function(t){e[t.name]=t,function(t){-1===$.indexOf(t.name)&&(t.setupOnce(F.b,b.a),$.push(t.name),p&&c.c.log("Integration installed: "+t.name))}(t)})),Object(s.a)(e,"initialized",!0),e}var Z="Not capturing exception because it's already been captured.",tt=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=X(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this;if(!Object(u.c)(t)){var i=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return r._captureEvent(t,e,n)})).then((function(t){i=t}))),i}p&&c.c.log(Z)},t.prototype.captureMessage=function(t,e,n,r){var i=this,o=n&&n.event_id,s=Object(m.j)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(s.then((function(t){return i._captureEvent(t,n,r)})).then((function(t){o=t}))),o},t.prototype.captureEvent=function(t,e,n){if(!(e&&e.originalException&&Object(u.c)(e.originalException))){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((function(t){r=t}))),r}p&&c.c.log(Z)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?p&&c.c.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):p&&c.c.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(n){return e.getTransport().close(t).then((function(t){return n&&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(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=Q(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return p&&c.c.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,r,i=!1,s=!1,a=e.exception&&e.exception.values;if(a){s=!0;try{for(var c=Object(o.e)(a),u=c.next();!u.done;u=c.next()){var f=u.value.mechanism;if(f&&!1===f.handled){i=!0;break}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}var p="ok"===t.status;(p&&0===t.errors||p&&i)&&(t.update(Object(o.a)(Object(o.a)({},i&&{status:"crashed"}),{errors:t.errors||Number(s||i)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new y.a((function(n){var r=0,i=setInterval((function(){0==e._numProcessing?(clearInterval(i),n(!0)):(r+=1,t&&r>=t&&(clearInterval(i),n(!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,n){var r=this,i=this.getOptions(),s=i.normalizeDepth,a=void 0===s?3:s,c=i.normalizeMaxBreadth,f=void 0===c?1e3:c,p=Object(o.a)(Object(o.a)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:Object(u.f)()),timestamp:t.timestamp||Object(K.a)()});this._applyClientOptions(p),this._applyIntegrationsMetadata(p);var d=e;n&&n.captureContext&&(d=F.a.clone(d).update(n.captureContext));var l=Object(y.c)(p);return d&&(l=d.applyToEvent(p,n)),l.then((function(t){return t&&(t.sdkProcessingMetadata=Object(o.a)(Object(o.a)({},t.sdkProcessingMetadata),{normalizeDepth:Object(G.a)(a)+" ("+typeof a+")"})),"number"==typeof a&&a>0?r._normalizeEvent(t,a,f):t}))},t.prototype._normalizeEvent=function(t,e,n){if(!t)return null;var r=Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return Object(o.a)(Object(o.a)({},t),t.data&&{data:Object(G.a)(t.data,e,n)})}))}),t.user&&{user:Object(G.a)(t.user,e,n)}),t.contexts&&{contexts:Object(G.a)(t.contexts,e,n)}),t.extra&&{extra:Object(G.a)(t.extra,e,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r.sdkProcessingMetadata=Object(o.a)(Object(o.a)({},r.sdkProcessingMetadata),{baseClientNormalized:!0}),r},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,i=e.dist,o=e.maxValueLength,s=void 0===o?250:o;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=Object(f.d)(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=Object(f.d)(a.value,s));var c=t.request;c&&c.url&&(c.url=Object(f.d)(c.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=Object(o.d)(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then((function(t){return t.event_id}),(function(t){p&&c.c.error(t)}))},t.prototype._processEvent=function(t,e,n){var r=this,i=this.getOptions(),o=i.beforeSend,s=i.sampleRate,a=this.getTransport();function c(t,e){a.recordLostEvent&&a.recordLostEvent(t,e)}if(!this._isEnabled())return Object(y.b)(new H("SDK not enabled, will not capture event."));var u="transaction"===t.type;return!u&&"number"==typeof s&&Math.random()>s?(c("sample_rate","event"),Object(y.b)(new H("Discarding event because it's not included in the random sample (sampling rate = "+s+")"))):this._prepareEvent(t,n,e).then((function(n){if(null===n)throw c("event_processor",t.type||"event"),new H("An event processor returned null, will not send event.");return e&&e.data&&!0===e.data.__sentry__||u||!o?n:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(Object(m.n)(t))return t.then((function(t){if(!Object(m.i)(t)&&null!==t)throw new H(e);return t}),(function(t){throw new H("beforeSend rejected with "+t)}));if(!Object(m.i)(t)&&null!==t)throw new H(e);return t}(o(n,e))})).then((function(e){if(null===e)throw c("before_send",t.type||"event"),new H("`beforeSend` returned `null`, will not send event.");var i=n&&n.getSession&&n.getSession();return!u&&i&&r._updateSessionFromEvent(i,e),r._sendEvent(e),e})).then(null,(function(t){if(t instanceof H)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new H("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(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=X(t),this.metadata=e,this._tunnel=n}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return nt(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return ot(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return st(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return at(this._dsnObject,this._tunnel)}}();function et(t,e,n){return{initDsn:t,metadata:e||{},dsn:X(t),tunnel:n}}function nt(t){var e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"}function rt(t,e){return""+nt(t)+t.projectId+"/"+e+"/"}function it(t){return Object(s.h)({sentry_key:t.publicKey,sentry_version:"7"})}function ot(t){return rt(t,"store")}function st(t){return ot(t)+"?"+it(t)}function at(t,e){return e||function(t){return rt(t,"envelope")}(t)+"?"+it(t)}function ct(t,e){return void 0===e&&(e=[]),[t,e]}function ut(t){var e=Object(o.c)(t,2),n=e[0],r=e[1],i=JSON.stringify(n);return r.reduce((function(t,e){var n=Object(o.c)(e,2),r=n[0],i=n[1],s=Object(m.j)(i)?String(i):JSON.stringify(i);return t+"\n"+JSON.stringify(r)+"\n"+s}),i)}function ft(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function pt(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=Object(o.d)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=Object(o.d)(t.sdk.packages||[],e.packages||[]),t):t}function dt(t,e){var n=ft(e),r="aggregates"in t?"sessions":"session";return[ct(Object(o.a)(Object(o.a)({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:W(e.dsn)}),[[{type:r},t]]),r]}var lt,ht=function(){function t(){}return t.prototype.sendEvent=function(t){return Object(y.c)({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return Object(y.c)(!0)},t}(),vt=function(){function t(t){this._options=t,this._options.dsn||p&&c.c.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new H("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new H("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 n=ft(e),r=t.type||"event",i=(t.sdkProcessingMetadata||{}).transactionSampling||{},s=i.method,a=i.rate;return pt(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,ct(Object(o.a)(Object(o.a)({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:W(e.dsn)}),[[{type:r,sample_rates:[{id:s,rate:a}]},t]])}(t,et(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,(function(t){p&&c.c.error("Error while sending event:",t)}))}else this._transport.sendEvent(t).then(null,(function(t){p&&c.c.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=et(this._options.dsn,this._options._metadata,this._options.tunnel),n=Object(o.c)(dt(t,e),1)[0];this._newTransport.send(n).then(null,(function(t){p&&c.c.error("Error while sending session:",t)}))}else this._transport.sendSession(t).then(null,(function(t){p&&c.c.error("Error while sending session:",t)}));else p&&c.c.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new ht},t}();!function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(lt||(lt={}));var bt="?";function _t(t,e,n,r){var i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}var yt=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gt=/\((\S*)(?::(\d+))(?::(\d+))\)/,mt=[30,function(t){var e=yt.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var n=gt.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}var r=Object(o.c)(Nt(e[1]||bt,e[2]),2),i=r[0];return _t(r[1],i,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],Ot=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,jt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,xt=[50,function(t){var e,n=Ot.exec(t);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=jt.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var i=n[3],s=n[1]||bt;return s=(e=Object(o.c)(Nt(s,i),2))[0],_t(i=e[1],s,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],Et=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,St=[40,function(t){var e=Et.exec(t);return e?_t(e[2],e[1]||bt,+e[3],e[4]?+e[4]:void 0):void 0}],wt=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,kt=[10,function(t){var e=wt.exec(t);return e?_t(e[2],e[3]||bt,+e[1]):void 0}],Tt=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Rt=[20,function(t){var e=Tt.exec(t);return e?_t(e[5],e[3]||e[4]||bt,+e[1],+e[2]):void 0}],Nt=function(t,e){var n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:bt,n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function Dt(t){var e=It(t),n={type:t&&t.name,value:Ct(t)};return e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function Lt(t){return{exception:{values:[Dt(t)]}}}function It(t){var e=t.stacktrace||t.stack||"",n=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(Pt.test(t.message))return 1}return 0}(t);try{return Object(O.a)(kt,Rt,mt,St,xt)(e,n)}catch(t){}return[]}var Pt=/Minified React error #\d+;/i;function Ct(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function Mt(t,e,n,r){var i;if(Object(m.e)(t)&&t.error)return Lt(t.error);if(Object(m.a)(t)||Object(m.b)(t)){var a=t;if("stack"in t)i=Lt(t);else{var c=a.name||(Object(m.a)(a)?"DOMError":"DOMException"),f=a.message?c+": "+a.message:c;i=qt(f,e,n),Object(u.b)(i,f)}return"code"in a&&(i.tags=Object(o.a)(Object(o.a)({},i.tags),{"DOMException.code":""+a.code})),i}return Object(m.d)(t)?Lt(t):Object(m.i)(t)||Object(m.f)(t)?(i=function(t,e,n){var r={exception:{values:[{type:Object(m.f)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+Object(s.d)(t)}]},extra:{__serialized__:Object(G.b)(t)}};if(e){var i=It(e);i.length&&(r.stacktrace={frames:i})}return r}(t,e,r),Object(u.a)(i,{synthetic:!0}),i):(i=qt(t,e,n),Object(u.b)(i,""+t,void 0),Object(u.a)(i,{synthetic:!0}),i)}function qt(t,e,n){var r={message:t};if(n&&e){var i=It(e);i.length&&(r.stacktrace={frames:i})}return r}function Ut(t){var e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length0&&n(!1)}),t);e.forEach((function(t){Object(y.c)(t).then((function(){--i||(clearTimeout(o),n(!0))}),r)}))}))}}}function At(t,e){return t[e]||t.all||0}function Bt(t,e,n){return void 0===n&&(n=Date.now()),At(t,e)>n}function Ft(t,e,n){var r,i,s,a;void 0===n&&(n=Date.now());var c=Object(o.a)({},t),u=e["x-sentry-rate-limits"],f=e["retry-after"];if(u)try{for(var p=Object(o.e)(u.trim().split(",")),d=p.next();!d.done;d=p.next()){var l=d.value.split(":",2),h=parseInt(l[0],10),v=1e3*(isNaN(h)?60:h);if(l[1])try{for(var b=(s=void 0,Object(o.e)(l[1].split(";"))),_=b.next();!_.done;_=b.next()){c[_.value]=n+v}}catch(t){s={error:t}}finally{try{_&&!_.done&&(a=b.return)&&a.call(b)}finally{if(s)throw s.error}}else c.all=n+v}}catch(t){r={error:t}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}else f&&(c.all=n+function(t,e){void 0===e&&(e=Date.now());var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?6e4:r-e}(f,n));return c}function zt(t){return t>=200&&t<300?"success":429===t?"rate_limit":t>=400&&t<500?"invalid":t>=500?"failed":"unknown"}function Ht(t,e,n){void 0===n&&(n=Ut(t.bufferSize||30));var r={};return{send:function(t){var i=function(t){var e=Object(o.c)(t,2),n=Object(o.c)(e[1],1);return Object(o.c)(n[0],1)[0].type}(t),s="event"===i?"error":i,a={category:s,body:ut(t)};return Bt(r,s)?Object(y.b)({status:"rate_limit",reason:Yt(r,s)}):n.add((function(){return e(a).then((function(t){var e=t.body,n=t.headers,i=t.reason,o=zt(t.statusCode);return n&&(r=Ft(r,n)),"success"===o?Object(y.c)({status:o,reason:i}):Object(y.b)({status:o,reason:i||e||("rate_limit"===o?Yt(r,s):"Unknown transport error")})}))}))},flush:function(t){return n.drain(t)}}}function Yt(t,e){return"Too many "+e+" requests, backing off until: "+new Date(At(t,e)).toISOString()}var Wt,Jt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Xt=Object(_.a)();function Kt(){if(Wt)return Wt;if(x(Xt.fetch))return Wt=Xt.fetch.bind(Xt);var t=Xt.document,e=Xt.fetch;if(t&&"function"==typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){Jt&&c.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return Wt=e.bind(Xt)}function Gt(t,e){if("[object Navigator]"===Object.prototype.toString.call(Xt&&Xt.navigator)&&"function"==typeof Xt.navigator.sendBeacon)return Xt.navigator.sendBeacon.bind(Xt.navigator)(t,e);if(j()){var n=Kt();n(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(t){console.error(t)}))}else;}function $t(t){return"event"===t?"error":t}var Vt=Object(_.a)(),Qt=function(){function t(t){var e=this;this.options=t,this._buffer=Ut(30),this._rateLimits={},this._outcomes={},this._api=et(t.dsn,t._metadata,t.tunnel),this.url=st(this._api.dsn),this.options.sendClientReports&&Vt.document&&Vt.document.addEventListener("visibilitychange",(function(){"hidden"===Vt.document.visibilityState&&e._flushOutcomes()}))}return t.prototype.sendEvent=function(t){return this._sendRequest(function(t,e){var n,r=ft(e),i=t.type||"event",s="transaction"===i||!!e.tunnel,a=(t.sdkProcessingMetadata||{}).transactionSampling||{},c=a.method,u=a.rate;pt(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{n=JSON.stringify(t)}catch(e){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=e;try{n=JSON.stringify(Object(G.a)(t))}catch(t){var f=t;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:f.message,stack:f.stack}})}}var p={body:n,type:i,url:s?at(e.dsn,e.tunnel):st(e.dsn)};if(s){var d=ct(Object(o.a)(Object(o.a)({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:W(e.dsn)}),[[{type:i,sample_rates:[{id:c,rate:u}]},p.body]]);p.body=ut(d)}return p}(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var n=Object(o.c)(dt(t,e),2),r=n[0],i=n[1];return{body:ut(r),type:i,url:at(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 n;if(this.options.sendClientReports){var r=$t(e)+":"+t;Jt&&c.c.log("Adding outcome: "+r),this._outcomes[r]=(null!=(n=this._outcomes[r])?n:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){Jt&&c.c.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,n,r,i=at(this._api.dsn,this._api.tunnel),s=Object.keys(t).map((function(e){var n=Object(o.c)(e.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:t[e]}})),a=(e=s,ct((n=this._api.tunnel&&W(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||Object(K.a)(),discarded_events:e}]]));try{Gt(i,ut(a))}catch(t){Jt&&c.c.error(t)}}else Jt&&c.c.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,r=t.headers,i=t.resolve,o=t.reject,s=zt(n.status);this._rateLimits=Ft(this._rateLimits,r),this._isRateLimited(e)&&Jt&&c.c.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),"success"!==s?o(n):i({status:s})},t.prototype._disabledUntil=function(t){var e=$t(t);return new Date(At(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=$t(t);return Bt(this._rateLimits,e)},t}(),Zt=function(t){function e(e,n){void 0===n&&(n=Kt());var r=t.call(this,e)||this;return r._fetch=n,r}return Object(o.b)(e,t),e.prototype._sendRequest=function(t,e){var n=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 r={body:t.body,method:"POST",referrerPolicy:E()?"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 y.a((function(e,i){n._fetch(t.url,r).then((function(r){var o={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:t.type,response:r,headers:o,resolve:e,reject:i})})).catch(i)}))})).then(void 0,(function(e){throw e instanceof H?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Qt);var te=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype._sendRequest=function(t,e){var n=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 y.a((function(e,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var o={"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:i,headers:o,resolve:e,reject:r})}},i.open("POST",t.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,o)&&i.setRequestHeader(o,n.options.headers[o]);i.send(t.body)}))})).then(void 0,(function(e){throw e instanceof H?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Qt),ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.eventFromException=function(t,e){return function(t,e,n){var r=Mt(t,e&&e.syntheticException||void 0,n);return Object(u.a)(r),r.level=lt.Error,e&&e.event_id&&(r.event_id=e.event_id),Object(y.c)(r)}(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=lt.Info),function(t,e,n,r){void 0===e&&(e=lt.Info);var i=qt(t,n&&n.syntheticException||void 0,r);return i.level=e,n&&n.event_id&&(i.event_id=n.event_id),Object(y.c)(i)}(t,e,n,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e,n,r=Object(o.a)(Object(o.a)({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),i=et(r.dsn,r._metadata,r.tunnel),s=at(i.dsn,i.tunnel);if(this._options.transport)return new this._options.transport(r);if(j()){var a=Object(o.a)({},r.fetchParameters);return this._newTransport=(e={requestOptions:a,url:s},void 0===n&&(n=Kt()),Ht({bufferSize:e.bufferSize},(function(t){var r=Object(o.a)({body:t.body,method:"POST",referrerPolicy:"origin"},e.requestOptions);return n(e.url,r).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}}))}))}))),new Zt(r)}return this._newTransport=function(t){return Ht({bufferSize:t.bufferSize},(function(e){return new y.a((function(n,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var t={body:i.response,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")},reason:i.statusText,statusCode:i.status};n(t)}},i.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,o)&&i.setRequestHeader(o,t.headers[o]);i.send(e.body)}))}))}({url:s,headers:r.headers}),new te(r)},e}(vt),ne=n(22),re=Object(_.a)(),ie=0;function oe(){return ie>0}function se(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if(Object(s.f)(t))return t}catch(e){return t}var i=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var i=r.map((function(t){return se(t,e)}));return t.apply(this,i)}catch(t){throw ie+=1,setTimeout((function(){ie-=1})),Object(ne.b)((function(n){n.addEventProcessor((function(t){return e.mechanism&&(Object(u.b)(t,void 0,void 0),Object(u.a)(t,e.mechanism)),t.extra=Object(o.a)(Object(o.a)({},t.extra),{arguments:r}),t})),Object(ne.a)(t)})),t}};try{for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(i[a]=t[a])}catch(t){}Object(s.g)(i,t),Object(s.a)(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:function(){return t.name}})}catch(t){}return i}function ae(t){if(void 0===t&&(t={}),re.document)if(t.eventId)if(t.dsn){var e=re.document.createElement("script");e.async=!0,e.src=function(t,e){var n=X(t),r=nt(n)+"embed/error-page/",i="dsn="+W(n);for(var o in e)if("dsn"!==o)if("user"===o){if(!e.user)continue;e.user.name&&(i+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(i+="&email="+encodeURIComponent(e.user.email))}else i+="&"+encodeURIComponent(o)+"="+encodeURIComponent(e[o]);return r+"?"+i}(t.dsn,t),t.onLoad&&(e.onload=t.onLoad);var n=re.document.head||re.document.body;n&&n.appendChild(e)}else Jt&&c.c.error("Missing dsn option in showReportDialog call");else Jt&&c.c.error("Missing eventId option in showReportDialog call")}var ce=n(199),ue=["fatal","error","warning","log","info","debug","critical"];function fe(t){return"warn"===t?lt.Warning:function(t){return-1!==ue.indexOf(t)}(t)?t:lt.Log}var pe=function(){function t(e){this.name=t.id,this._options=Object(o.a)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&Object(b.a)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Object(u.d)(t)},{event:t})},t.prototype.setupOnce=function(){this._options.console&&N("console",de),this._options.dom&&N("dom",function(t){function e(e){var n,r="object"==typeof t?t.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=e.event.target?Object(ce.b)(e.event.target,r):Object(ce.b)(e.event,r)}catch(t){n=""}0!==n.length&&Object(b.a)().addBreadcrumb({category:"ui."+e.name,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this._options.dom)),this._options.xhr&&N("xhr",le),this._options.fetch&&N("fetch",he),this._options.history&&N("history",ve)},t.id="Breadcrumbs",t}();function de(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:fe(t.level),message:Object(f.b)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+(Object(f.b)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}Object(b.a)().addBreadcrumb(e,{input:t.args,level:t.level})}function le(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,r=e.url,i=e.status_code,o=e.body;Object(b.a)().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:i},type:"http"},{xhr:t.xhr,input:o})}else;}function he(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?Object(b.a)().addBreadcrumb({category:"fetch",data:t.fetchData,level:lt.Error,type:"http"},{data:t.error,input:t.args}):Object(b.a)().addBreadcrumb({category:"fetch",data:Object(o.a)(Object(o.a)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function ve(t){var e=Object(_.a)(),n=t.from,r=t.to,i=Object(u.e)(e.location.href),o=Object(u.e)(n),s=Object(u.e)(r);o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Object(b.a)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var be=function(t){function e(e){void 0===e&&(e={});return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:B}],version:B},t.call(this,ee,e)||this}return Object(o.b)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),Object(_.a)().document&&(this._isEnabled()?ae(Object(o.a)(Object(o.a)({},t),{dsn:t.dsn||this.getDsn()})):Jt&&c.c.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,n,r)},e.prototype._sendEvent=function(e){var n=this.getIntegration(pe);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(tt),_e=["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"],ye=function(){function t(e){this.name=t.id,this._options=Object(o.a)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=Object(_.a)();this._options.setTimeout&&Object(s.e)(t,"setTimeout",ge),this._options.setInterval&&Object(s.e)(t,"setInterval",ge),this._options.requestAnimationFrame&&Object(s.e)(t,"requestAnimationFrame",me),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(s.e)(XMLHttpRequest.prototype,"send",Oe);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:_e).forEach(je)},t.id="TryCatch",t}();function ge(t){return function(){for(var e=[],n=0;n0?e:Object(ce.a)();return 0===c.length&&c.push({colno:u,filename:p,function:"?",in_app:!0,lineno:f}),t}function ke(t,e,n,r){Object(u.a)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function Te(){var t=Object(b.a)(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var Re=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(){Object(F.b)((function(e,n){var r=Object(b.a)().getIntegration(t);return r?function(t,e,n,r){if(!(n.exception&&n.exception.values&&r&&Object(m.g)(r.originalException,Error)))return n;var i=Ne(e,r.originalException,t);return n.exception.values=Object(o.d)(i,n.exception.values),n}(r._key,r._limit,e,n):e}))},t.id="LinkedErrors",t}();function Ne(t,e,n,r){if(void 0===r&&(r=[]),!Object(m.g)(e[n],Error)||r.length+1>=t)return r;var i=Dt(e[n]);return Ne(t,e[n],n,Object(o.d)([i],r))}var De=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var r=n().getIntegration(t);if(r){try{if(function(t,e){if(!e)return!1;if(function(t,e){var n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!Ie(t,e))return!1;if(!Le(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){var n=Pe(e),r=Pe(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Ie(t,e))return!1;if(!Le(t,e))return!1;return!0}(t,e))return!0;return!1}(e,r._previousEvent))return Jt&&c.c.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return r._previousEvent=e}return r._previousEvent=e}return e}))},t.id="Dedupe",t}();function Le(t,e){var n=Ce(t),r=Ce(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var i=0;in?u(t,e-1,n):i}function f(e,n,c,u,p){void 0===c&&(c=1/0),void 0===u&&(u=1/0),void 0===p&&(p=Object(o.a)());var d=Object(r.c)(p,2),l=d[0],h=d[1],v=n;if(v&&"function"==typeof v.toJSON)try{return v.toJSON()}catch(t){}if(null===n||["number","boolean","string"].includes(typeof n)&&!Object(i.h)(n))return n;var b=function(e,n){try{return"domain"===e&&n&&"object"==typeof n&&n._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==t&&n===t?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":Object(i.m)(n)?"[SyntheticEvent]":"number"==typeof n&&n!=n?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+Object(a.b)(n)+"]":"symbol"==typeof n?"["+String(n)+"]":"bigint"==typeof n?"[BigInt: "+String(n)+"]":"[object "+Object.getPrototypeOf(n).constructor.name+"]"}catch(t){return"**non-serializable** ("+t+")"}}(e,n);if(!b.startsWith("[object "))return b;if(0===c)return b.replace("object ","");if(l(n))return"[Circular ~]";var _=Array.isArray(n)?[]:{},y=0,g=Object(i.d)(n)||Object(i.f)(n)?Object(s.b)(n):n;for(var m in g)if(Object.prototype.hasOwnProperty.call(g,m)){if(y>=u){_[m]="[MaxProperties ~]";break}var O=g[m];_[m]=f(m,O,c-1,u,p),y+=1}return h(n),_}}).call(this,n(31))},54:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a}));var r=n(13);function i(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function o(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var i=Math.max(e-60,0);i<5&&(i=0);var o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n="'{snip} "+n),o0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(Object(r.d)(u(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=Object(r.a)(Object(r.a)({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,n,o){var a=this;return void 0===o&&(o=0),new s.a((function(s,c){var u=t[o];if(null===e||"function"!=typeof u)s(e);else{var f=u(Object(r.a)({},e),n);Object(i.n)(f)?f.then((function(e){return a._notifyEventProcessors(t,e,n,o+1).then(s)})).then(null,c):a._notifyEventProcessors(t,f,n,o+1).then(s).then(null,c)}}))},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 u(){return Object(a.b)("globalEventProcessors",(function(){return[]}))}function f(t){u().push(t)}}}]);