LocalCDN-Firefox-Chrome-Brave/resources/findify-bundle/7.1.36/sentry.jsm

2 lines
88 KiB
JavaScript

/*! For license information please see sentry.js.LICENSE.txt */
(self.findifyJsonp=self.findifyJsonp||[]).push([[897],{"m/UZ":function(t,e,n){"use strict";n.d(e,{BrowserBackend:function(){return p}});var r=n("XMIM"),o=n("uJqk"),i=n("2A+w"),s=n("hyKi"),a=n("2doF"),u=n("3dNi"),c=n("cgyE"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.eventFromException=function(t,e){return(0,a.eventFromException)(this._options,t,e)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=i.Severity.Info),(0,a.eventFromMessage)(this._options,t,e,n)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=(0,r.__assign)((0,r.__assign)({},this._options.transportOptions),{dsn:this._options.dsn,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(e):(0,s.supportsFetch)()?new u.FetchTransport(e):new c.XHRTransport(e)},e}(o.BaseBackend)},HcjI:function(t,e,n){"use strict";n.d(e,{BrowserClient:function(){return l}});var r=n("XMIM"),o=n("/Y1y"),i=n("QMoq"),s=n("dXN1"),a=n("kMmw"),u=n("m/UZ"),c=n("6de5"),p=n("9Fph"),l=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:o.SDK_VERSION}],version:o.SDK_VERSION},t.call(this,u.BrowserBackend,e)||this}return(0,r.__extends)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),(0,s.getGlobalObject)().document&&(this._isEnabled()?(0,c.injectReportDialog)((0,r.__assign)((0,r.__assign)({},t),{dsn:t.dsn||this.getDsn()})):a.logger.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(p.Breadcrumbs);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(i.BaseClient)},"2doF":function(t,e,n){"use strict";n.d(e,{eventFromException:function(){return p},eventFromMessage:function(){return l},eventFromUnknownInput:function(){return f}});var r=n("XMIM"),o=n("2A+w"),i=n("dXN1"),s=n("29qi"),a=n("kfBU"),u=n("s6PE"),c=n("pYdy");function p(t,e,n){var r=f(e,n&&n.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return(0,i.addExceptionMechanism)(r,{handled:!0,type:"generic"}),r.level=o.Severity.Error,n&&n.event_id&&(r.event_id=n.event_id),s.SyncPromise.resolve(r)}function l(t,e,n,r){void 0===n&&(n=o.Severity.Info);var i=d(e,r&&r.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),s.SyncPromise.resolve(i)}function f(t,e,n){var o;if(void 0===n&&(n={}),(0,a.isErrorEvent)(t)&&t.error)return t=t.error,o=(0,u.eventFromStacktrace)((0,c.computeStackTrace)(t));if((0,a.isDOMError)(t)||(0,a.isDOMException)(t)){var s=t,p=s.name||((0,a.isDOMError)(s)?"DOMError":"DOMException"),l=s.message?p+": "+s.message:p;return o=d(l,e,n),(0,i.addExceptionTypeValue)(o,l),"code"in s&&(o.tags=(0,r.__assign)((0,r.__assign)({},o.tags),{"DOMException.code":""+s.code})),o}if((0,a.isError)(t))return o=(0,u.eventFromStacktrace)((0,c.computeStackTrace)(t));if((0,a.isPlainObject)(t)||(0,a.isEvent)(t)){var f=t;return o=(0,u.eventFromPlainObject)(f,e,n.rejection),(0,i.addExceptionMechanism)(o,{synthetic:!0}),o}return o=d(t,e,n),(0,i.addExceptionTypeValue)(o,""+t,void 0),(0,i.addExceptionMechanism)(o,{synthetic:!0}),o}function d(t,e,n){void 0===n&&(n={});var r={message:t};if(n.attachStacktrace&&e){var o=(0,c.computeStackTrace)(e),i=(0,u.prepareFramesForEvent)(o.stack);r.stacktrace={frames:i}}return r}},"1trx":function(t,e,n){"use strict";n.d(e,{Severity:function(){return r.Severity},Status:function(){return o.Status},addGlobalEventProcessor:function(){return i.addGlobalEventProcessor},addBreadcrumb:function(){return s.addBreadcrumb},captureException:function(){return s.captureException},captureEvent:function(){return s.captureEvent},captureMessage:function(){return s.captureMessage},configureScope:function(){return s.configureScope},getHubFromCarrier:function(){return a.getHubFromCarrier},getCurrentHub:function(){return a.getCurrentHub},Hub:function(){return a.Hub},makeMain:function(){return a.makeMain},Scope:function(){return i.Scope},startTransaction:function(){return s.startTransaction},SDK_VERSION:function(){return u.SDK_VERSION},setContext:function(){return s.setContext},setExtra:function(){return s.setExtra},setExtras:function(){return s.setExtras},setTag:function(){return s.setTag},setTags:function(){return s.setTags},setUser:function(){return s.setUser},withScope:function(){return s.withScope},BrowserClient:function(){return c.BrowserClient},injectReportDialog:function(){return p.injectReportDialog},eventFromException:function(){return l.eventFromException},eventFromMessage:function(){return l.eventFromMessage},defaultIntegrations:function(){return f.defaultIntegrations},forceLoad:function(){return f.forceLoad},init:function(){return f.init},lastEventId:function(){return f.lastEventId},onLoad:function(){return f.onLoad},showReportDialog:function(){return f.showReportDialog},flush:function(){return f.flush},close:function(){return f.close},wrap:function(){return f.wrap},SDK_NAME:function(){return d.SDK_NAME}});var r=n("2A+w"),o=n("ixRf"),i=n("/PaG"),s=n("Xk6/"),a=n("5DM2"),u=n("/Y1y"),c=n("HcjI"),p=n("6de5"),l=n("2doF"),f=n("dwE5"),d=n("2X7T")},"6de5":function(t,e,n){"use strict";n.d(e,{shouldIgnoreOnError:function(){return c},wrap:function(){return l},injectReportDialog:function(){return f}});var r=n("XMIM"),o=n("Xk6/"),i=n("MM0u"),s=n("dXN1"),a=n("kMmw"),u=0;function c(){return u>0}function p(){u+=1,setTimeout((function(){u-=1}))}function l(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(e){return t}var i=function(){var i=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var a=i.map((function(t){return l(t,e)}));return t.handleEvent?t.handleEvent.apply(this,a):t.apply(this,a)}catch(t){throw p(),(0,o.withScope)((function(n){n.addEventProcessor((function(t){var n=(0,r.__assign)({},t);return e.mechanism&&((0,s.addExceptionTypeValue)(n,void 0,void 0),(0,s.addExceptionMechanism)(n,e.mechanism)),n.extra=(0,r.__assign)((0,r.__assign)({},n.extra),{arguments:i}),n})),(0,o.captureException)(t)})),t}};try{for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(i[a]=t[a])}catch(t){}t.prototype=t.prototype||{},i.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:i}),Object.defineProperties(i,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:function(){return t.name}})}catch(t){}return i}function f(t){if(void 0===t&&(t={}),t.eventId)if(t.dsn){var e=document.createElement("script");e.async=!0,e.src=new i.API(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(e.onload=t.onLoad),(document.head||document.body).appendChild(e)}else a.logger.error("Missing dsn option in showReportDialog call");else a.logger.error("Missing eventId option in showReportDialog call")}},ZWPJ:function(t,e,n){"use strict";n.r(e),n.d(e,{BrowserClient:function(){return o.BrowserClient},Hub:function(){return o.Hub},SDK_NAME:function(){return o.SDK_NAME},SDK_VERSION:function(){return o.SDK_VERSION},Scope:function(){return o.Scope},Severity:function(){return o.Severity},Status:function(){return o.Status},addBreadcrumb:function(){return o.addBreadcrumb},addGlobalEventProcessor:function(){return o.addGlobalEventProcessor},captureEvent:function(){return o.captureEvent},captureException:function(){return o.captureException},captureMessage:function(){return o.captureMessage},close:function(){return o.close},configureScope:function(){return o.configureScope},defaultIntegrations:function(){return o.defaultIntegrations},eventFromException:function(){return o.eventFromException},eventFromMessage:function(){return o.eventFromMessage},flush:function(){return o.flush},forceLoad:function(){return o.forceLoad},getCurrentHub:function(){return o.getCurrentHub},getHubFromCarrier:function(){return o.getHubFromCarrier},init:function(){return o.init},injectReportDialog:function(){return o.injectReportDialog},lastEventId:function(){return o.lastEventId},makeMain:function(){return o.makeMain},onLoad:function(){return o.onLoad},setContext:function(){return o.setContext},setExtra:function(){return o.setExtra},setExtras:function(){return o.setExtras},setTag:function(){return o.setTag},setTags:function(){return o.setTags},setUser:function(){return o.setUser},showReportDialog:function(){return o.showReportDialog},startTransaction:function(){return o.startTransaction},withScope:function(){return o.withScope},wrap:function(){return o.wrap},Integrations:function(){return l},Transports:function(){return u}});var r=n("XMIM"),o=n("1trx"),i=n("LLt0"),s=n("dXN1"),a=n("8eHm"),u=n("H7Du"),c={},p=(0,s.getGlobalObject)();p.Sentry&&p.Sentry.Integrations&&(c=p.Sentry.Integrations);var l=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},c),i),a)},"9Fph":function(t,e,n){"use strict";n.d(e,{Breadcrumbs:function(){return p}});var r=n("XMIM"),o=n("5DM2"),i=n("2A+w"),s=n("dXN1"),a=n("+Xxf"),u=n("/67D"),c=n("tY9h"),p=function(){function t(e){this.name=t.id,this._options=(0,r.__assign)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&(0,o.getCurrentHub)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,s.getEventDescription)(t)},{event:t})},t.prototype.setupOnce=function(){var t=this;this._options.console&&(0,a.addInstrumentationHandler)({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._consoleBreadcrumb.apply(t,(0,r.__spread)(e))},type:"console"}),this._options.dom&&(0,a.addInstrumentationHandler)({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._domBreadcrumb.apply(t,(0,r.__spread)(e))},type:"dom"}),this._options.xhr&&(0,a.addInstrumentationHandler)({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._xhrBreadcrumb.apply(t,(0,r.__spread)(e))},type:"xhr"}),this._options.fetch&&(0,a.addInstrumentationHandler)({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._fetchBreadcrumb.apply(t,(0,r.__spread)(e))},type:"fetch"}),this._options.history&&(0,a.addInstrumentationHandler)({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._historyBreadcrumb.apply(t,(0,r.__spread)(e))},type:"history"})},t.prototype._consoleBreadcrumb=function(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:i.Severity.fromString(t.level),message:(0,u.safeJoin)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+((0,u.safeJoin)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}(0,o.getCurrentHub)().addBreadcrumb(e,{input:t.args,level:t.level})},t.prototype._domBreadcrumb=function(t){var e;try{e=t.event.target?(0,c.htmlTreeAsString)(t.event.target):(0,c.htmlTreeAsString)(t.event)}catch(t){e="<unknown>"}0!==e.length&&(0,o.getCurrentHub)().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name,global:t.global})},t.prototype._xhrBreadcrumb=function(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,s=e.body;(0,o.getCurrentHub)().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:i},type:"http"},{xhr:t.xhr,input:s})}else;},t.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?(0,o.getCurrentHub)().addBreadcrumb({category:"fetch",data:t.fetchData,level:i.Severity.Error,type:"http"},{data:t.error,input:t.args}):(0,o.getCurrentHub)().addBreadcrumb({category:"fetch",data:(0,r.__assign)((0,r.__assign)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},t.prototype._historyBreadcrumb=function(t){var e=(0,s.getGlobalObject)(),n=t.from,r=t.to,i=(0,s.parseUrl)(e.location.href),a=(0,s.parseUrl)(n),u=(0,s.parseUrl)(r);a.path||(a=i),i.protocol===u.protocol&&i.host===u.host&&(r=u.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),(0,o.getCurrentHub)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},t.id="Breadcrumbs",t}()},Zspv:function(t,e,n){"use strict";n.d(e,{GlobalHandlers:function(){return f}});var r=n("XMIM"),o=n("5DM2"),i=n("2A+w"),s=n("kMmw"),a=n("+Xxf"),u=n("kfBU"),c=n("dXN1"),p=n("2doF"),l=n("6de5"),f=function(){function t(e){this.name=t.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=(0,r.__assign)({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(s.logger.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(s.logger.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},t.prototype._installGlobalOnErrorHandler=function(){var e=this;this._onErrorHandlerInstalled||((0,a.addInstrumentationHandler)({callback:function(n){var r=n.error,i=(0,o.getCurrentHub)(),s=i.getIntegration(t),a=r&&!0===r.__sentry_own_request__;if(s&&!(0,l.shouldIgnoreOnError)()&&!a){var f=i.getClient(),d=(0,u.isPrimitive)(r)?e._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):e._enhanceEventWithInitialFrame((0,p.eventFromUnknownInput)(r,void 0,{attachStacktrace:f&&f.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);(0,c.addExceptionMechanism)(d,{handled:!1,type:"onerror"}),i.captureEvent(d,{originalException:r})}},type:"error"}),this._onErrorHandlerInstalled=!0)},t.prototype._installGlobalOnUnhandledRejectionHandler=function(){var e=this;this._onUnhandledRejectionHandlerInstalled||((0,a.addInstrumentationHandler)({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(t){}var s=(0,o.getCurrentHub)(),a=s.getIntegration(t),f=r&&!0===r.__sentry_own_request__;if(!a||(0,l.shouldIgnoreOnError)()||f)return!0;var d=s.getClient(),h=(0,u.isPrimitive)(r)?e._eventFromRejectionWithPrimitive(r):(0,p.eventFromUnknownInput)(r,void 0,{attachStacktrace:d&&d.getOptions().attachStacktrace,rejection:!0});h.level=i.Severity.Error,(0,c.addExceptionMechanism)(h,{handled:!1,type:"onunhandledrejection"}),s.captureEvent(h,{originalException:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},t.prototype._eventFromIncompleteOnError=function(t,e,n,r){var o,i=(0,u.isErrorEvent)(t)?t.message:t;if((0,u.isString)(i)){var s=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);s&&(o=s[1],i=s[2])}var a={exception:{values:[{type:o||"Error",value:i}]}};return this._enhanceEventWithInitialFrame(a,e,n,r)},t.prototype._eventFromRejectionWithPrimitive=function(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(t)}]}}},t.prototype._enhanceEventWithInitialFrame=function(t,e,n,r){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].stacktrace=t.exception.values[0].stacktrace||{},t.exception.values[0].stacktrace.frames=t.exception.values[0].stacktrace.frames||[];var o=isNaN(parseInt(r,10))?void 0:r,i=isNaN(parseInt(n,10))?void 0:n,s=(0,u.isString)(e)&&e.length>0?e:(0,c.getLocationHref)();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:o,filename:s,function:"?",in_app:!0,lineno:i}),t},t.id="GlobalHandlers",t}()},"8eHm":function(t,e,n){"use strict";n.r(e),n.d(e,{GlobalHandlers:function(){return r.GlobalHandlers},TryCatch:function(){return o.TryCatch},Breadcrumbs:function(){return i.Breadcrumbs},LinkedErrors:function(){return s.LinkedErrors},UserAgent:function(){return a.UserAgent}});var r=n("Zspv"),o=n("PxKW"),i=n("9Fph"),s=n("+Sqj"),a=n("4oXL")},"+Sqj":function(t,e,n){"use strict";n.d(e,{LinkedErrors:function(){return c}});var r=n("XMIM"),o=n("/PaG"),i=n("5DM2"),s=n("kfBU"),a=n("s6PE"),u=n("pYdy"),c=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(){(0,o.addGlobalEventProcessor)((function(e,n){var r=(0,i.getCurrentHub)().getIntegration(t);return r?r._handler(e,n):e}))},t.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&(0,s.isInstanceOf)(e.originalException,Error)))return t;var n=this._walkErrorTree(e.originalException,this._key);return t.exception.values=(0,r.__spread)(n,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!(0,s.isInstanceOf)(t[e],Error)||n.length+1>=this._limit)return n;var o=(0,u.computeStackTrace)(t[e]),i=(0,a.exceptionFromStacktrace)(o);return this._walkErrorTree(t[e],e,(0,r.__spread)([i],n))},t.id="LinkedErrors",t}()},PxKW:function(t,e,n){"use strict";n.d(e,{TryCatch:function(){return c}});var r=n("XMIM"),o=n("dXN1"),i=n("k0Gh"),s=n("+TMu"),a=n("6de5"),u=["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"],c=function(){function t(e){this.name=t.id,this._options=(0,r.__assign)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=(0,o.getGlobalObject)();(this._options.setTimeout&&(0,i.fill)(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&(0,i.fill)(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&(0,i.fill)(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&(0,i.fill)(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget)&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:u).forEach(this._wrapEventTarget.bind(this))},t.prototype._wrapTimeFunction=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0];return e[0]=(0,a.wrap)(r,{mechanism:{data:{function:(0,s.getFunctionName)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}},t.prototype._wrapRAF=function(t){return function(e){return t.call(this,(0,a.wrap)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,s.getFunctionName)(t)},handled:!0,type:"instrument"}}))}},t.prototype._wrapEventTarget=function(t){var e=(0,o.getGlobalObject)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,i.fill)(n,"addEventListener",(function(e){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,a.wrap)(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:(0,s.getFunctionName)(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.call(this,n,(0,a.wrap)(r,{mechanism:{data:{function:"addEventListener",handler:(0,s.getFunctionName)(r),target:t},handled:!0,type:"instrument"}}),o)}})),(0,i.fill)(n,"removeEventListener",(function(t){return function(e,n,r){var o,i=n;try{var s=null===(o=i)||void 0===o?void 0:o.__sentry_wrapped__;s&&t.call(this,e,s,r)}catch(t){}return t.call(this,e,i,r)}})))},t.prototype._wrapXHR=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this,o=["onload","onerror","onprogress","onreadystatechange"];return o.forEach((function(t){t in r&&"function"==typeof r[t]&&(0,i.fill)(r,t,(function(e){var n={mechanism:{data:{function:t,handler:(0,s.getFunctionName)(e)},handled:!0,type:"instrument"}};return e.__sentry_original__&&(n.mechanism.data.handler=(0,s.getFunctionName)(e.__sentry_original__)),(0,a.wrap)(e,n)}))})),t.apply(this,e)}},t.id="TryCatch",t}()},"4oXL":function(t,e,n){"use strict";n.d(e,{UserAgent:function(){return a}});var r=n("XMIM"),o=n("/PaG"),i=n("5DM2"),s=(0,n("dXN1").getGlobalObject)(),a=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){(0,o.addGlobalEventProcessor)((function(e){var n,o,a;if((0,i.getCurrentHub)().getIntegration(t)){if(!s.navigator&&!s.location&&!s.document)return e;var u=(null===(n=e.request)||void 0===n?void 0:n.url)||(null===(o=s.location)||void 0===o?void 0:o.href),c=(s.document||{}).referrer,p=(s.navigator||{}).userAgent,l=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},null===(a=e.request)||void 0===a?void 0:a.headers),c&&{Referer:c}),p&&{"User-Agent":p}),f=(0,r.__assign)((0,r.__assign)({},u&&{url:u}),{headers:l});return(0,r.__assign)((0,r.__assign)({},e),{request:f})}return e}))},t.id="UserAgent",t}()},s6PE:function(t,e,n){"use strict";n.d(e,{exceptionFromStacktrace:function(){return s},eventFromPlainObject:function(){return a},eventFromStacktrace:function(){return u},prepareFramesForEvent:function(){return c}});var r=n("kfBU"),o=n("k0Gh"),i=n("pYdy");function s(t){var e=c(t.stack),n={type:t.name,value:t.message};return e&&e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function a(t,e,n){var s={exception:{values:[{type:(0,r.isEvent)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+(0,o.extractExceptionKeysForMessage)(t)}]},extra:{__serialized__:(0,o.normalizeToSize)(t)}};if(e){var a=c((0,i.computeStackTrace)(e).stack);s.stacktrace={frames:a}}return s}function u(t){return{exception:{values:[s(t)]}}}function c(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",r=e[e.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}})).reverse()}},dwE5:function(t,e,n){"use strict";n.d(e,{defaultIntegrations:function(){return y},init:function(){return m},showReportDialog:function(){return b},lastEventId:function(){return E},forceLoad:function(){return S},onLoad:function(){return x},flush:function(){return w},close:function(){return k},wrap:function(){return T}});var r=n("X9fI"),o=n("pyV8"),i=n("bu5v"),s=n("5DM2"),a=n("dXN1"),u=n("29qi"),c=n("kMmw"),p=n("+Xxf"),l=n("HcjI"),f=n("6de5"),d=n("PxKW"),h=n("9Fph"),_=n("Zspv"),v=n("+Sqj"),g=n("4oXL"),y=[new r.InboundFilters,new o.FunctionToString,new d.TryCatch,new h.Breadcrumbs,new _.GlobalHandlers,new v.LinkedErrors,new g.UserAgent];function m(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=y),void 0===t.release){var e=(0,a.getGlobalObject)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),(0,i.initAndBind)(l.BrowserClient,t),t.autoSessionTracking&&function(){if(void 0===(0,a.getGlobalObject)().document)return void c.logger.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");var t=(0,s.getCurrentHub)();"startSession"in t&&(t.startSession(),t.captureSession(),(0,p.addInstrumentationHandler)({callback:function(){t.startSession(),t.captureSession()},type:"history"}))}()}function b(t){void 0===t&&(t={}),t.eventId||(t.eventId=(0,s.getCurrentHub)().lastEventId());var e=(0,s.getCurrentHub)().getClient();e&&e.showReportDialog(t)}function E(){return(0,s.getCurrentHub)().lastEventId()}function S(){}function x(t){t()}function w(t){var e=(0,s.getCurrentHub)().getClient();return e?e.flush(t):u.SyncPromise.reject(!1)}function k(t){var e=(0,s.getCurrentHub)().getClient();return e?e.close(t):u.SyncPromise.reject(!1)}function T(t){return(0,f.wrap)(t)()}},pYdy:function(t,e,n){"use strict";n.d(e,{computeStackTrace:function(){return l}});var r=n("XMIM"),o="?",i=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,a=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,c=/\((\S*)(?::(\d+))(?::(\d+))\)/,p=/Minified React error #\d+;/i;function l(t){var e=null,n=0;t&&("number"==typeof t.framesToPop?n=t.framesToPop:p.test(t.message)&&(n=1));try{if(e=function(t){if(!t||!t.stacktrace)return null;for(var e,n=t.stacktrace,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,s=n.split("\n"),a=[],u=0;u<s.length;u+=2){var c=null;(e=r.exec(s[u]))?c={url:e[2],func:e[3],args:[],line:+e[1],column:null}:(e=i.exec(s[u]))&&(c={url:e[6],func:e[3]||e[4],args:e[5]?e[5].split(","):[],line:+e[1],column:+e[2]}),c&&(!c.func&&c.line&&(c.func=o),a.push(c))}if(!a.length)return null;return{message:d(t),name:t.name,stack:a}}(t))return f(e,n)}catch(t){}try{if(e=function(t){if(!t||!t.stack)return null;for(var e,n,r,p=[],l=t.stack.split("\n"),f=0;f<l.length;++f){if(n=i.exec(l[f])){var h=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=c.exec(n[2]))&&(n[2]=e[1],n[3]=e[2],n[4]=e[3]),r={url:n[2]&&0===n[2].indexOf("address at ")?n[2].substr("address at ".length):n[2],func:n[1]||o,args:h?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=a.exec(l[f]))r={url:n[2],func:n[1]||o,args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=s.exec(l[f])))continue;n[3]&&n[3].indexOf(" > eval")>-1&&(e=u.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==f||n[5]||void 0===t.columnNumber||(p[0].column=t.columnNumber+1),r={url:n[3],func:n[1]||o,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func=o),p.push(r)}if(!p.length)return null;return{message:d(t),name:t.name,stack:p}}(t))return f(e,n)}catch(t){}return{message:d(t),name:t&&t.name,stack:[],failed:!0}}function f(t,e){try{return(0,r.__assign)((0,r.__assign)({},t),{stack:t.stack.slice(e)})}catch(e){return t}}function d(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}},q7k6:function(t,e,n){"use strict";n.d(e,{BaseTransport:function(){return p}});var r=n("XMIM"),o=n("MM0u"),i=n("ixRf"),s=n("qKOu"),a=n("seRV"),u=n("kMmw"),c=n("dXN1"),p=function(){function t(t){this.options=t,this._buffer=new s.PromiseBuffer(30),this._rateLimits={},this._api=new o.API(t.dsn,t._metadata),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new a.SentryError("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,r=t.headers,o=t.resolve,s=t.reject,a=i.Status.fromHttpCode(n.status);this._handleRateLimit(r)&&u.logger.warn("Too many requests, backing off until: "+this._disabledUntil(e)),a!==i.Status.Success?s(n):o({status:a})},t.prototype._disabledUntil=function(t){return this._rateLimits[t]||this._rateLimits.all},t.prototype._isRateLimited=function(t){return this._disabledUntil(t)>new Date(Date.now())},t.prototype._handleRateLimit=function(t){var e,n,o,i,s=Date.now(),a=t["x-sentry-rate-limits"],u=t["retry-after"];if(a){try{for(var p=(0,r.__values)(a.trim().split(",")),l=p.next();!l.done;l=p.next()){var f=l.value.split(":",2),d=parseInt(f[0],10),h=1e3*(isNaN(d)?60:d);try{for(var _=(o=void 0,(0,r.__values)(f[1].split(";"))),v=_.next();!v.done;v=_.next()){var g=v.value;this._rateLimits[g||"all"]=new Date(s+h)}}catch(t){o={error:t}}finally{try{v&&!v.done&&(i=_.return)&&i.call(_)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}return!0}return!!u&&(this._rateLimits.all=new Date(s+(0,c.parseRetryAfterHeader)(s,u)),!0)},t}()},"3dNi":function(t,e,n){"use strict";n.d(e,{FetchTransport:function(){return c}});var r=n("XMIM"),o=n("SrYJ"),i=n("dXN1"),s=n("kMmw"),a=n("hyKi"),u=n("29qi");var c=function(t){function e(e,n){void 0===n&&(n=function(){var t,e,n=(0,i.getGlobalObject)(),r=n.document;if("function"==typeof(null===(t=r)||void 0===t?void 0:t.createElement))try{var o=r.createElement("iframe");if(o.hidden=!0,r.head.appendChild(o),null===(e=o.contentWindow)||void 0===e?void 0:e.fetch)return o.contentWindow.fetch.bind(n);r.head.removeChild(o)}catch(t){s.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return n.fetch.bind(n)}());var r=t.call(this,e)||this;return r._fetch=n,r}return(0,r.__extends)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest((0,o.eventToSentryRequest)(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest((0,o.sessionToSentryRequest)(t,this._api),t)},e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return Promise.reject({event:e,type:t.type,reason:"Transport locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var r={body:t.body,method:"POST",referrerPolicy:(0,a.supportsReferrerPolicy)()?"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(new u.SyncPromise((function(e,o){n._fetch(t.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:t.type,response:r,headers:i,resolve:e,reject:o})})).catch(o)})))},e}(n("q7k6").BaseTransport)},H7Du:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseTransport:function(){return r.BaseTransport},FetchTransport:function(){return o.FetchTransport},XHRTransport:function(){return i.XHRTransport}});var r=n("q7k6"),o=n("3dNi"),i=n("cgyE")},cgyE:function(t,e,n){"use strict";n.d(e,{XHRTransport:function(){return s}});var r=n("XMIM"),o=n("SrYJ"),i=n("29qi"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest((0,o.eventToSentryRequest)(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest((0,o.sessionToSentryRequest)(t,this._api),t)},e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?Promise.reject({event:e,type:t.type,reason:"Transport locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429}):this._buffer.add(new i.SyncPromise((function(e,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:t.type,response:o,headers:i,resolve:e,reject:r})}},o.open("POST",t.url),n.options.headers)n.options.headers.hasOwnProperty(i)&&o.setRequestHeader(i,n.options.headers[i]);o.send(t.body)})))},e}(n("q7k6").BaseTransport)},"2X7T":function(t,e,n){"use strict";n.d(e,{SDK_NAME:function(){return r}});var r="sentry.javascript.browser"},MM0u:function(t,e,n){"use strict";n.d(e,{API:function(){return i}});var r=n("/oby"),o=n("k0Gh"),i=function(){function t(t,e){void 0===e&&(e={}),this.dsn=t,this._dsnObject=new r.Dsn(t),this.metadata=e}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.getBaseApiEndpoint=function(){var t=this._dsnObject,e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"},t.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},t.prototype.getStoreEndpointPath=function(){var t=this._dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var n=this._dsnObject,r=["Sentry sentry_version=7"];return r.push("sentry_client="+t+"/"+e),r.push("sentry_key="+n.publicKey),n.pass&&r.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this._dsnObject,n=this.getBaseApiEndpoint()+"embed/error-page/",r=[];for(var o in r.push("dsn="+e.toString()),t)if("dsn"!==o)if("user"===o){if(!t.user)continue;t.user.name&&r.push("name="+encodeURIComponent(t.user.name)),t.user.email&&r.push("email="+encodeURIComponent(t.user.email))}else r.push(encodeURIComponent(o)+"="+encodeURIComponent(t[o]));return r.length?n+"?"+r.join("&"):n},t.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},t.prototype._getIngestEndpoint=function(t){return""+this.getBaseApiEndpoint()+this._dsnObject.projectId+"/"+t+"/"},t.prototype._encodedAuth=function(){var t={sentry_key:this._dsnObject.publicKey,sentry_version:"7"};return(0,o.urlEncode)(t)},t}()},uJqk:function(t,e,n){"use strict";n.d(e,{BaseBackend:function(){return s}});var r=n("kMmw"),o=n("seRV"),i=n("A+DZ"),s=function(){function t(t){this._options=t,this._options.dsn||r.logger.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new o.SentryError("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new o.SentryError("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,(function(t){r.logger.error("Error while sending event: "+t)}))},t.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,(function(t){r.logger.error("Error while sending session: "+t)})):r.logger.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new i.NoopTransport},t}()},QMoq:function(t,e,n){"use strict";n.d(e,{BaseClient:function(){return v}});var r=n("XMIM"),o=n("/PaG"),i=n("E15R"),s=n("/oby"),a=n("kfBU"),u=n("kMmw"),c=n("29qi"),p=n("dXN1"),l=n("Y1h2"),f=n("k0Gh"),d=n("/67D"),h=n("seRV"),_=n("t+I2"),v=function(){function t(t,e){this._integrations={},this._processing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=new s.Dsn(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this,o=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return r._captureEvent(t,e,n)})).then((function(t){o=t}))),o},t.prototype.captureMessage=function(t,e,n,r){var o=this,i=n&&n.event_id,s=(0,a.isPrimitive)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(s.then((function(t){return o._captureEvent(t,n,r)})).then((function(t){i=t}))),i},t.prototype.captureEvent=function(t,e,n){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((function(t){r=t}))),r},t.prototype.captureSession=function(t){t.release?(this._sendSession(t),t.update({init:!1})):u.logger.warn("Discarded session because of missing release")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(t){var e=this;return this._isClientProcessing(t).then((function(n){return e._getBackend().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=(0,_.setupIntegrations)(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return u.logger.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,o,s,a=!1,u=!1,c=e.exception&&e.exception.values;if(c){u=!0;try{for(var p=(0,r.__values)(c),l=p.next();!l.done;l=p.next()){var f=l.value.mechanism;if(f&&!1===f.handled){a=!0;break}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}}var d=e.user;if(!t.userAgent){var h=e.request?e.request.headers:{};for(var _ in h)if("user-agent"===_.toLowerCase()){s=h[_];break}}t.update((0,r.__assign)((0,r.__assign)({},a&&{status:i.SessionStatus.Crashed}),{user:d,userAgent:s,errors:t.errors+Number(u||a)})),this.captureSession(t)},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientProcessing=function(t){var e=this;return new c.SyncPromise((function(n){var r=0,o=setInterval((function(){0==e._processing?(clearInterval(o),n(!0)):(r+=1,t&&r>=t&&(clearInterval(o),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 i=this,s=this.getOptions().normalizeDepth,a=void 0===s?3:s,u=(0,r.__assign)((0,r.__assign)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:(0,p.uuid4)()),timestamp:t.timestamp||(0,l.dateTimestampInSeconds)()});this._applyClientOptions(u),this._applyIntegrationsMetadata(u);var f=e;n&&n.captureContext&&(f=o.Scope.clone(f).update(n.captureContext));var d=c.SyncPromise.resolve(u);return f&&(d=f.applyToEvent(u,n)),d.then((function(t){return"number"==typeof a&&a>0?i._normalizeEvent(t,a):t}))},t.prototype._normalizeEvent=function(t,e){if(!t)return null;var n=(0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return(0,r.__assign)((0,r.__assign)({},t),t.data&&{data:(0,f.normalize)(t.data,e)})}))}),t.user&&{user:(0,f.normalize)(t.user,e)}),t.contexts&&{contexts:(0,f.normalize)(t.contexts,e)}),t.extra&&{extra:(0,f.normalize)(t.extra,e)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,o=e.dist,i=e.maxValueLength,s=void 0===i?250:i;"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!==o&&(t.dist=o),t.message&&(t.message=(0,d.truncate)(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,d.truncate)(a.value,s));var u=t.request;u&&u.url&&(u.url=(0,d.truncate)(u.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=t.sdk,n=Object.keys(this._integrations);e&&n.length>0&&(e.integrations=n)},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){u.logger.error(t)}))},t.prototype._processEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.beforeSend,s=o.sampleRate;if(!this._isEnabled())return c.SyncPromise.reject(new h.SentryError("SDK not enabled, will not send event."));var u="transaction"===t.type;return!u&&"number"==typeof s&&Math.random()>s?c.SyncPromise.reject(new h.SentryError("Discarding event because it's not included in the random sample (sampling rate = "+s+")")):this._prepareEvent(t,n,e).then((function(t){if(null===t)throw new h.SentryError("An event processor returned null, will not send event.");if(e&&e.data&&!0===e.data.__sentry__||u||!i)return t;var n=i(t,e);if(void 0===n)throw new h.SentryError("`beforeSend` method has to return `null` or a valid event.");return(0,a.isThenable)(n)?n.then((function(t){return t}),(function(t){throw new h.SentryError("beforeSend rejected with "+t)})):n})).then((function(t){if(null===t)throw new h.SentryError("`beforeSend` returned `null`, will not send event.");var e=n&&n.getSession&&n.getSession();return!u&&e&&r._updateSessionFromEvent(e,t),r._sendEvent(t),t})).then(null,(function(t){if(t instanceof h.SentryError)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new h.SentryError("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._processing+=1,t.then((function(t){return e._processing-=1,t}),(function(t){return e._processing-=1,t}))},t}()},"t+I2":function(t,e,n){"use strict";n.d(e,{setupIntegrations:function(){return u}});var r=n("XMIM"),o=n("/PaG"),i=n("5DM2"),s=n("kMmw"),a=[];function u(t){var e={};return function(t){var e=t.defaultIntegrations&&(0,r.__spread)(t.defaultIntegrations)||[],n=t.integrations,o=[];if(Array.isArray(n)){var i=n.map((function(t){return t.name})),s=[];e.forEach((function(t){-1===i.indexOf(t.name)&&-1===s.indexOf(t.name)&&(o.push(t),s.push(t.name))})),n.forEach((function(t){-1===s.indexOf(t.name)&&(o.push(t),s.push(t.name))}))}else"function"==typeof n?(o=n(e),o=Array.isArray(o)?o:[o]):o=(0,r.__spread)(e);var a=o.map((function(t){return t.name})),u="Debug";return-1!==a.indexOf(u)&&o.push.apply(o,(0,r.__spread)(o.splice(a.indexOf(u),1))),o}(t).forEach((function(t){e[t.name]=t,function(t){-1===a.indexOf(t.name)&&(t.setupOnce(o.addGlobalEventProcessor,i.getCurrentHub),a.push(t.name),s.logger.log("Integration installed: "+t.name))}(t)})),e}},pyV8:function(t,e,n){"use strict";var r;n.d(e,{FunctionToString:function(){return o}});var o=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){r=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.__sentry_original__||this;return r.apply(n,t)}},t.id="FunctionToString",t}()},X9fI:function(t,e,n){"use strict";n.d(e,{InboundFilters:function(){return p}});var r=n("XMIM"),o=n("/PaG"),i=n("5DM2"),s=n("kMmw"),a=n("dXN1"),u=n("/67D"),c=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],p=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(){(0,o.addGlobalEventProcessor)((function(e){var n=(0,i.getCurrentHub)();if(!n)return e;var r=n.getIntegration(t);if(r){var o=n.getClient(),s=o?o.getOptions():{},a=r._mergeOptions(s);if(r._shouldDropEvent(e,a))return null}return e}))},t.prototype._shouldDropEvent=function(t,e){return this._isSentryError(t,e)?(s.logger.warn("Event dropped due to being internal Sentry Error.\nEvent: "+(0,a.getEventDescription)(t)),!0):this._isIgnoredError(t,e)?(s.logger.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+(0,a.getEventDescription)(t)),!0):this._isDeniedUrl(t,e)?(s.logger.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+(0,a.getEventDescription)(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0):!this._isAllowedUrl(t,e)&&(s.logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+(0,a.getEventDescription)(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0)},t.prototype._isSentryError=function(t,e){if(!e.ignoreInternal)return!1;try{return t&&t.exception&&t.exception.values&&t.exception.values[0]&&"SentryError"===t.exception.values[0].type||!1}catch(t){return!1}},t.prototype._isIgnoredError=function(t,e){return!(!e.ignoreErrors||!e.ignoreErrors.length)&&this._getPossibleEventMessages(t).some((function(t){return e.ignoreErrors.some((function(e){return(0,u.isMatchingPattern)(t,e)}))}))},t.prototype._isDeniedUrl=function(t,e){if(!e.denyUrls||!e.denyUrls.length)return!1;var n=this._getEventFilterUrl(t);return!!n&&e.denyUrls.some((function(t){return(0,u.isMatchingPattern)(n,t)}))},t.prototype._isAllowedUrl=function(t,e){if(!e.allowUrls||!e.allowUrls.length)return!0;var n=this._getEventFilterUrl(t);return!n||e.allowUrls.some((function(t){return(0,u.isMatchingPattern)(n,t)}))},t.prototype._mergeOptions=function(t){return void 0===t&&(t={}),{allowUrls:(0,r.__spread)(this._options.whitelistUrls||[],this._options.allowUrls||[],t.whitelistUrls||[],t.allowUrls||[]),denyUrls:(0,r.__spread)(this._options.blacklistUrls||[],this._options.denyUrls||[],t.blacklistUrls||[],t.denyUrls||[]),ignoreErrors:(0,r.__spread)(this._options.ignoreErrors||[],t.ignoreErrors||[],c),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal}},t.prototype._getPossibleEventMessages=function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},n=e.type,r=void 0===n?"":n,o=e.value,i=void 0===o?"":o;return[""+i,r+": "+i]}catch(e){return s.logger.error("Cannot extract message for event "+(0,a.getEventDescription)(t)),[]}return[]},t.prototype._getEventFilterUrl=function(t){try{if(t.stacktrace){var e=t.stacktrace.frames;return e&&e[e.length-1].filename||null}if(t.exception){var n=t.exception.values&&t.exception.values[0].stacktrace&&t.exception.values[0].stacktrace.frames;return n&&n[n.length-1].filename||null}return null}catch(e){return s.logger.error("Cannot extract url for event "+(0,a.getEventDescription)(t)),null}},t.id="InboundFilters",t}()},LLt0:function(t,e,n){"use strict";n.r(e),n.d(e,{FunctionToString:function(){return r.FunctionToString},InboundFilters:function(){return o.InboundFilters}});var r=n("pyV8"),o=n("X9fI")},SrYJ:function(t,e,n){"use strict";n.d(e,{sessionToSentryRequest:function(){return s},eventToSentryRequest:function(){return a}});var r=n("XMIM");function o(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function i(t,e){return e?(t.sdk=t.sdk||{name:e.name,version:e.version},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=(0,r.__spread)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=(0,r.__spread)(t.sdk.packages||[],e.packages||[]),t):t}function s(t,e){var n=o(e);return{body:JSON.stringify((0,r.__assign)({sent_at:(new Date).toISOString()},n&&{sdk:n}))+"\n"+JSON.stringify({type:"session"})+"\n"+JSON.stringify(t),type:"session",url:e.getEnvelopeEndpointWithUrlEncodedAuth()}}function a(t,e){var n=o(e),s=t.type||"event",a="transaction"===s,u=t.debug_meta||{},c=u.transactionSampling,p=(0,r.__rest)(u,["transactionSampling"]),l=c||{},f=l.method,d=l.rate;0===Object.keys(p).length?delete t.debug_meta:t.debug_meta=p;var h={body:JSON.stringify(n?i(t,e.metadata.sdk):t),type:s,url:a?e.getEnvelopeEndpointWithUrlEncodedAuth():e.getStoreEndpointWithUrlEncodedAuth()};if(a){var _=JSON.stringify((0,r.__assign)({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}))+"\n"+JSON.stringify({type:t.type,sample_rates:[{id:f,rate:d}]})+"\n"+h.body;h.body=_}return h}},bu5v:function(t,e,n){"use strict";n.d(e,{initAndBind:function(){return i}});var r=n("5DM2"),o=n("kMmw");function i(t,e){!0===e.debug&&o.logger.enable();var n=(0,r.getCurrentHub)(),i=new t(e);n.bindClient(i)}},"A+DZ":function(t,e,n){"use strict";n.d(e,{NoopTransport:function(){return i}});var r=n("ixRf"),o=n("29qi"),i=function(){function t(){}return t.prototype.sendEvent=function(t){return o.SyncPromise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:r.Status.Skipped})},t.prototype.close=function(t){return o.SyncPromise.resolve(!0)},t}()},"/Y1y":function(t,e,n){"use strict";n.d(e,{SDK_VERSION:function(){return r}});var r="6.2.2"},"5DM2":function(t,e,n){"use strict";n.d(e,{Hub:function(){return l},makeMain:function(){return d},getCurrentHub:function(){return h},getHubFromCarrier:function(){return v}});var r=n("XMIM"),o=n("E15R"),i=n("dXN1"),s=n("Y1h2"),a=n("kMmw"),u=n("8su4"),c=n("/PaG"),p=n("EIHw"),l=function(){function t(t,e,n){void 0===e&&(e=new c.Scope),void 0===n&&(n=3),this._version=n,this._stack=[{}],this.getStackTop().scope=e,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=c.Scope.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 n=this._lastEventId=(0,i.uuid4)(),o=e;if(!e){var s=void 0;try{throw new Error("Sentry syntheticException")}catch(t){s=t}o={originalException:t,syntheticException:s}}return this._invokeClient("captureException",t,(0,r.__assign)((0,r.__assign)({},o),{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var o=this._lastEventId=(0,i.uuid4)(),s=n;if(!n){var a=void 0;try{throw new Error(t)}catch(t){a=t}s={originalException:t,syntheticException:a}}return this._invokeClient("captureMessage",t,e,(0,r.__assign)((0,r.__assign)({},s),{event_id:o})),o},t.prototype.captureEvent=function(t,e){var n=this._lastEventId=(0,i.uuid4)();return this._invokeClient("captureEvent",t,(0,r.__assign)((0,r.__assign)({},e),{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop(),o=n.scope,a=n.client;if(o&&a){var u=a.getOptions&&a.getOptions()||{},c=u.beforeBreadcrumb,p=void 0===c?null:c,l=u.maxBreadcrumbs,f=void 0===l?100:l;if(!(f<=0)){var d=(0,s.dateTimestampInSeconds)(),h=(0,r.__assign)({timestamp:d},t),_=p?(0,i.consoleSandbox)((function(){return p(h,e)})):h;null!==_&&o.addBreadcrumb(_,Math.min(f,100))}}},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 n=this.getScope();n&&n.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getScope();n&&n.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getScope();n&&n.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope,r=e.client;n&&r&&t(n)},t.prototype.run=function(t){var e=d(this);try{t(this)}finally{d(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return a.logger.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,e,n,r,o;null===(n=null===(e=null===(t=this.getStackTop())||void 0===t?void 0:t.scope)||void 0===e?void 0:e.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()},t.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,i=e.client,s=i&&i.getOptions()||{},a=s.release,u=s.environment,c=new p.Session((0,r.__assign)((0,r.__assign)({release:a,environment:u},n&&{user:n.getUser()}),t));if(n){var l=n.getSession&&n.getSession();l&&l.status===o.SessionStatus.Ok&&l.update({status:o.SessionStatus.Exited}),this.endSession(),n.setSession(c)}return c},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,n=t.client;if(e){var r=e.getSession&&e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},t.prototype._invokeClient=function(t){for(var e,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=this.getStackTop(),s=i.scope,a=i.client;a&&a[t]&&(e=a)[t].apply(e,(0,r.__spread)(n,[s]))},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=f(),o=r.__SENTRY__;if(o&&o.extensions&&"function"==typeof o.extensions[t])return o.extensions[t].apply(this,e);a.logger.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function f(){var t=(0,i.getGlobalObject)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function d(t){var e=f(),n=v(e);return g(e,t),n}function h(){var t=f();return _(t)&&!v(t).isOlderThan(3)||g(t,new l),(0,u.isNodeEnv)()?function(t){var e,n,r;try{var o=null===(r=null===(n=null===(e=f().__SENTRY__)||void 0===e?void 0:e.extensions)||void 0===n?void 0:n.domain)||void 0===r?void 0:r.active;if(!o)return v(t);if(!_(o)||v(o).isOlderThan(3)){var i=v(t).getStackTop();g(o,new l(i.client,c.Scope.clone(i.scope)))}return v(o)}catch(e){return v(t)}}(t):v(t)}function _(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function v(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new l),t.__SENTRY__.hub}function g(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}},"/PaG":function(t,e,n){"use strict";n.d(e,{Scope:function(){return u},addGlobalEventProcessor:function(){return p}});var r=n("XMIM"),o=n("kfBU"),i=n("Y1h2"),s=n("29qi"),a=n("dXN1"),u=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=(0,r.__spread)(e._breadcrumbs),n._tags=(0,r.__assign)({},e._tags),n._extra=(0,r.__assign)({},e._extra),n._contexts=(0,r.__assign)({},e._contexts),n._user=e._user,n._level=e._level,n._span=e._span,n._session=e._session,n._transactionName=e._transactionName,n._fingerprint=e._fingerprint,n._eventProcessors=(0,r.__spread)(e._eventProcessors)),n},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.setTags=function(t){return this._tags=(0,r.__assign)((0,r.__assign)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=(0,r.__assign)((0,r.__assign)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=(0,r.__assign)((0,r.__assign)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=(0,r.__assign)((0,r.__assign)({},this._extra),((n={})[t]=e,n)),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 n;return null===e?delete this._contexts[t]:this._contexts=(0,r.__assign)((0,r.__assign)({},this._contexts),((n={})[t]=e,n)),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,e,n,r,o=this.getSpan();return(null===(t=o)||void 0===t?void 0:t.transaction)?null===(e=o)||void 0===e?void 0:e.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},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 n=e(this);return n instanceof t?n:this}return e instanceof t?(this._tags=(0,r.__assign)((0,r.__assign)({},this._tags),e._tags),this._extra=(0,r.__assign)((0,r.__assign)({},this._extra),e._extra),this._contexts=(0,r.__assign)((0,r.__assign)({},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)):(0,o.isPlainObject)(e)&&(e=e,this._tags=(0,r.__assign)((0,r.__assign)({},this._tags),e.tags),this._extra=(0,r.__assign)((0,r.__assign)({},this._extra),e.extra),this._contexts=(0,r.__assign)((0,r.__assign)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint)),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._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n=(0,r.__assign)({timestamp:(0,i.dateTimestampInSeconds)()},t);return this._breadcrumbs=void 0!==e&&e>=0?(0,r.__spread)(this._breadcrumbs,[n]).slice(-e):(0,r.__spread)(this._breadcrumbs,[n]),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){var n;if(this._extra&&Object.keys(this._extra).length&&(t.extra=(0,r.__assign)((0,r.__assign)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=(0,r.__assign)((0,r.__assign)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=(0,r.__assign)((0,r.__assign)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=(0,r.__assign)((0,r.__assign)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=(0,r.__assign)({trace:this._span.getTraceContext()},t.contexts);var o=null===(n=this._span.transaction)||void 0===n?void 0:n.name;o&&(t.tags=(0,r.__assign)({transaction:o},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=(0,r.__spread)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors((0,r.__spread)(c(),this._eventProcessors),t,e)},t.prototype._notifyEventProcessors=function(t,e,n,i){var a=this;return void 0===i&&(i=0),new s.SyncPromise((function(s,u){var c=t[i];if(null===e||"function"!=typeof c)s(e);else{var p=c((0,r.__assign)({},e),n);(0,o.isThenable)(p)?p.then((function(e){return a._notifyEventProcessors(t,e,n,i+1).then(s)})).then(null,u):a._notifyEventProcessors(t,p,n,i+1).then(s).then(null,u)}}))},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(){var t=(0,a.getGlobalObject)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function p(t){c().push(t)}},EIHw:function(t,e,n){"use strict";n.d(e,{Session:function(){return s}});var r=n("E15R"),o=n("dXN1"),i=n("k0Gh"),s=function(){function t(t){this.errors=0,this.sid=(0,o.uuid4)(),this.timestamp=Date.now(),this.started=Date.now(),this.duration=0,this.status=r.SessionStatus.Ok,this.init=!0,t&&this.update(t)}return t.prototype.update=function(t){void 0===t&&(t={}),t.user&&(t.user.ip_address&&(this.ipAddress=t.user.ip_address),t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Date.now(),t.sid&&(this.sid=32===t.sid.length?t.sid:(0,o.uuid4)()),void 0!==t.init&&(this.init=t.init),t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),"number"==typeof t.duration?this.duration=t.duration:this.duration=this.timestamp-this.started,t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),t.ipAddress&&(this.ipAddress=t.ipAddress),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}):this.status===r.SessionStatus.Ok?this.update({status:r.SessionStatus.Exited}):this.update()},t.prototype.toJSON=function(){return(0,i.dropUndefinedKeys)({sid:""+this.sid,init:this.init,started:new Date(this.started).toISOString(),timestamp:new Date(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:(0,i.dropUndefinedKeys)({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},t}()},"Xk6/":function(t,e,n){"use strict";n.d(e,{captureException:function(){return s},captureMessage:function(){return a},captureEvent:function(){return u},configureScope:function(){return c},addBreadcrumb:function(){return p},setContext:function(){return l},setExtras:function(){return f},setTags:function(){return d},setExtra:function(){return h},setTag:function(){return _},setUser:function(){return v},withScope:function(){return g},startTransaction:function(){return y}});var r=n("XMIM"),o=n("5DM2");function i(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=(0,o.getCurrentHub)();if(i&&i[t])return i[t].apply(i,(0,r.__spread)(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function s(t,e){var n;try{throw new Error("Sentry syntheticException")}catch(t){n=t}return i("captureException",t,{captureContext:e,originalException:t,syntheticException:n})}function a(t,e){var n;try{throw new Error(t)}catch(t){n=t}var o="string"!=typeof e?{captureContext:e}:void 0;return i("captureMessage",t,"string"==typeof e?e:void 0,(0,r.__assign)({originalException:t,syntheticException:n},o))}function u(t){return i("captureEvent",t)}function c(t){i("configureScope",t)}function p(t){i("addBreadcrumb",t)}function l(t,e){i("setContext",t,e)}function f(t){i("setExtras",t)}function d(t){i("setTags",t)}function h(t,e){i("setExtra",t,e)}function _(t,e){i("setTag",t,e)}function v(t){i("setUser",t)}function g(t){i("withScope",t)}function y(t,e){return i("startTransaction",(0,r.__assign)({},t),e)}},E15R:function(t,e,n){"use strict";var r;n.d(e,{SessionStatus:function(){return r}}),function(t){t.Ok="ok",t.Exited="exited",t.Crashed="crashed",t.Abnormal="abnormal"}(r||(r={}))},"2A+w":function(t,e,n){"use strict";var r;n.d(e,{Severity:function(){return r}}),function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(r||(r={})),function(t){t.fromString=function(e){switch(e){case"debug":return t.Debug;case"info":return t.Info;case"warn":case"warning":return t.Warning;case"error":return t.Error;case"fatal":return t.Fatal;case"critical":return t.Critical;case"log":default:return t.Log}}}(r||(r={}))},ixRf:function(t,e,n){"use strict";var r;n.d(e,{Status:function(){return r}}),function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(r||(r={})),function(t){t.fromHttpCode=function(e){return e>=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(r||(r={}))},tY9h:function(t,e,n){"use strict";n.d(e,{htmlTreeAsString:function(){return o}});var r=n("kfBU");function o(t){try{for(var e=t,n=[],r=0,o=0,s=" > ".length,a=void 0;e&&r++<5&&!("html"===(a=i(e))||r>1&&o+n.length*s+a.length>=80);)n.push(a),o+=a.length,e=e.parentNode;return n.reverse().join(" > ")}catch(t){return"<unknown>"}}function i(t){var e,n,o,i,s,a=t,u=[];if(!a||!a.tagName)return"";if(u.push(a.tagName.toLowerCase()),a.id&&u.push("#"+a.id),(e=a.className)&&(0,r.isString)(e))for(n=e.split(/\s+/),s=0;s<n.length;s++)u.push("."+n[s]);var c=["type","name","title","alt"];for(s=0;s<c.length;s++)o=c[s],(i=a.getAttribute(o))&&u.push("["+o+'="'+i+'"]');return u.join("")}},"/oby":function(t,e,n){"use strict";n.d(e,{Dsn:function(){return a}});var r=n("XMIM"),o=n("seRV"),i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,s="Invalid Dsn",a=function(){function t(t){"string"==typeof t?this._fromString(t):this._fromComponents(t),this._validate()}return t.prototype.toString=function(t){void 0===t&&(t=!1);var e=this,n=e.host,r=e.path,o=e.pass,i=e.port,s=e.projectId;return e.protocol+"://"+e.publicKey+(t&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+s},t.prototype._fromString=function(t){var e=i.exec(t);if(!e)throw new o.SentryError(s);var n=(0,r.__read)(e.slice(1),6),a=n[0],u=n[1],c=n[2],p=void 0===c?"":c,l=n[3],f=n[4],d=void 0===f?"":f,h="",_=n[5],v=_.split("/");if(v.length>1&&(h=v.slice(0,-1).join("/"),_=v.pop()),_){var g=_.match(/^\d+/);g&&(_=g[0])}this._fromComponents({host:l,pass:p,path:h,projectId:_,port:d,protocol:a,publicKey:u})},t.prototype._fromComponents=function(t){"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),this.user=t.publicKey||"",this.protocol=t.protocol,this.publicKey=t.publicKey||"",this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._validate=function(){var t=this;if(["protocol","publicKey","host","projectId"].forEach((function(e){if(!t[e])throw new o.SentryError("Invalid Dsn: "+e+" missing")})),!this.projectId.match(/^\d+$/))throw new o.SentryError("Invalid Dsn: Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new o.SentryError("Invalid Dsn: Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new o.SentryError("Invalid Dsn: Invalid port "+this.port)},t}()},seRV:function(t,e,n){"use strict";n.d(e,{SentryError:function(){return i}});var r=n("XMIM"),o=n("9TLE"),i=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return r.message=e,r.name=n.prototype.constructor.name,(0,o.setPrototypeOf)(r,n.prototype),r}return(0,r.__extends)(e,t),e}(Error)},"+Xxf":function(t,e,n){"use strict";n.d(e,{addInstrumentationHandler:function(){return _}});var r,o=n("XMIM"),i=n("kfBU"),s=n("kMmw"),a=n("dXN1"),u=n("k0Gh"),c=n("+TMu"),p=n("hyKi"),l=(0,a.getGlobalObject)(),f={},d={};function h(t){if(!d[t])switch(d[t]=!0,t){case"console":!function(){if(!("console"in l))return;["debug","info","warn","error","log","assert"].forEach((function(t){t in l.console&&(0,u.fill)(l.console,t,(function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];v("console",{args:n,level:t}),e&&Function.prototype.apply.call(e,l.console,n)}}))}))}();break;case"dom":!function(){if(!("document"in l))return;var t=v.bind(null,"dom"),e=E(t,!0);l.document.addEventListener("click",e,!1),l.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((function(e){var n=l[e]&&l[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,u.fill)(n,"addEventListener",(function(e){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this,s=i.__sentry_instrumentation_handlers__=i.__sentry_instrumentation_handlers__||{},a=s[n]=s[n]||{refCount:0};if(!a.handler){var u=E(t);a.handler=u,e.call(this,n,u,o)}a.refCount+=1}catch(t){}return e.call(this,n,r,o)}})),(0,u.fill)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var o=this,i=o.__sentry_instrumentation_handlers__||{},s=i[e];s&&(s.refCount-=1,s.refCount<=0&&(t.call(this,e,s.handler,r),s.handler=void 0,delete i[e]),0===Object.keys(i).length&&delete o.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in l))return;var t=[],e=[],n=XMLHttpRequest.prototype;(0,u.fill)(n,"open",(function(n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var s=this,a=r[1];s.__sentry_xhr__={method:(0,i.isString)(r[0])?r[0].toUpperCase():r[0],url:r[1]},(0,i.isString)(a)&&"POST"===s.__sentry_xhr__.method&&a.match(/sentry_key/)&&(s.__sentry_own_request__=!0);var c=function(){if(4===s.readyState){try{s.__sentry_xhr__&&(s.__sentry_xhr__.status_code=s.status)}catch(t){}try{var n=t.indexOf(s);if(-1!==n){t.splice(n);var o=e.splice(n)[0];s.__sentry_xhr__&&void 0!==o[0]&&(s.__sentry_xhr__.body=o[0])}}catch(t){}v("xhr",{args:r,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:s})}};return"onreadystatechange"in s&&"function"==typeof s.onreadystatechange?(0,u.fill)(s,"onreadystatechange",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return c(),t.apply(s,e)}})):s.addEventListener("readystatechange",c),n.apply(s,r)}})),(0,u.fill)(n,"send",(function(n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.push(this),e.push(r),v("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),n.apply(this,r)}}))}();break;case"fetch":!function(){if(!(0,p.supportsNativeFetch)())return;(0,u.fill)(l,"fetch",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r={args:e,fetchData:{method:g(e),url:y(e)},startTimestamp:Date.now()};return v("fetch",(0,o.__assign)({},r)),t.apply(l,e).then((function(t){return v("fetch",(0,o.__assign)((0,o.__assign)({},r),{endTimestamp:Date.now(),response:t})),t}),(function(t){throw v("fetch",(0,o.__assign)((0,o.__assign)({},r),{endTimestamp:Date.now(),error:t})),t}))}}))}();break;case"history":!function(){if(!(0,p.supportsHistory)())return;var t=l.onpopstate;function e(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=e.length>2?e[2]:void 0;if(o){var i=r,s=String(o);r=s,v("history",{from:i,to:s})}return t.apply(this,e)}}l.onpopstate=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=l.location.href,i=r;if(r=o,v("history",{from:i,to:o}),t)return t.apply(this,e)},(0,u.fill)(l.history,"pushState",e),(0,u.fill)(l.history,"replaceState",e)}();break;case"error":S=l.onerror,l.onerror=function(t,e,n,r,o){return v("error",{column:r,error:o,line:n,msg:t,url:e}),!!S&&S.apply(this,arguments)};break;case"unhandledrejection":x=l.onunhandledrejection,l.onunhandledrejection=function(t){return v("unhandledrejection",t),!x||x.apply(this,arguments)};break;default:s.logger.warn("unknown instrumentation type:",t)}}function _(t){t&&"string"==typeof t.type&&"function"==typeof t.callback&&(f[t.type]=f[t.type]||[],f[t.type].push(t.callback),h(t.type))}function v(t,e){var n,r;if(t&&f[t])try{for(var i=(0,o.__values)(f[t]||[]),a=i.next();!a.done;a=i.next()){var u=a.value;try{u(e)}catch(e){s.logger.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+(0,c.getFunctionName)(u)+"\nError: "+e)}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function g(t){return void 0===t&&(t=[]),"Request"in l&&(0,i.isInstanceOf)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function y(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in l&&(0,i.isInstanceOf)(t[0],Request)?t[0].url:String(t[0])}var m,b;function E(t,e){return void 0===e&&(e=!1),function(n){if(n&&b!==n&&!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}(n)){var r="keypress"===n.type?"input":n.type;(void 0===m||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}(b,n))&&(t({event:n,name:r,global:e}),b=n),clearTimeout(m),m=l.setTimeout((function(){m=void 0}),1e3)}}}var S=null;var x=null},kfBU:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(t,Error)}}function i(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function s(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function a(t){return"[object DOMException]"===Object.prototype.toString.call(t)}function u(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return null===t||"object"!==r(t)&&"function"!=typeof t}function p(t){return"[object Object]"===Object.prototype.toString.call(t)}function l(t){return"undefined"!=typeof Event&&v(t,Event)}function f(t){return"undefined"!=typeof Element&&v(t,Element)}function d(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function h(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function _(t){return p(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function v(t,e){try{return t instanceof e}catch(t){return!1}}n.d(e,{isError:function(){return o},isErrorEvent:function(){return i},isDOMError:function(){return s},isDOMException:function(){return a},isString:function(){return u},isPrimitive:function(){return c},isPlainObject:function(){return p},isEvent:function(){return l},isElement:function(){return f},isRegExp:function(){return d},isThenable:function(){return h},isSyntheticEvent:function(){return _},isInstanceOf:function(){return v}})},kMmw:function(t,e,n){"use strict";n.d(e,{logger:function(){return a}});var r=n("dXN1"),o=(0,r.getGlobalObject)(),i="Sentry Logger ",s=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&(0,r.consoleSandbox)((function(){o.console.log(i+"[Log]: "+t.join(" "))}))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&(0,r.consoleSandbox)((function(){o.console.warn(i+"[Warn]: "+t.join(" "))}))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&(0,r.consoleSandbox)((function(){o.console.error(i+"[Error]: "+t.join(" "))}))},t}();o.__SENTRY__=o.__SENTRY__||{};var a=o.__SENTRY__.logger||(o.__SENTRY__.logger=new s)},nY8L:function(t,e,n){"use strict";n.d(e,{Memo:function(){return r}});var r=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var e=0;e<this._inner.length;e++){if(this._inner[e]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var e=0;e<this._inner.length;e++)if(this._inner[e]===t){this._inner.splice(e,1);break}},t}()},dXN1:function(t,e,n){"use strict";n.d(e,{getGlobalObject:function(){return i},uuid4:function(){return s},parseUrl:function(){return a},getEventDescription:function(){return u},consoleSandbox:function(){return c},addExceptionTypeValue:function(){return p},addExceptionMechanism:function(){return l},getLocationHref:function(){return f},parseRetryAfterHeader:function(){return d}});var r=n("8su4"),o={};function i(){return(0,r.isNodeEnv)()?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function s(){var t=i(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};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(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function a(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}function u(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function c(t){var e=i();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach((function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)}));var o=t();return Object.keys(r).forEach((function(t){n[t]=r[t]})),o}function p(t,e,n){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||e||"",t.exception.values[0].type=t.exception.values[0].type||n||"Error"}function l(t,e){void 0===e&&(e={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(e).forEach((function(n){t.exception.values[0].mechanism[n]=e[n]}))}catch(t){}}function f(){try{return document.location.href}catch(t){return""}}function d(t,e){if(!e)return 6e4;var n=parseInt(""+e,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+e);return isNaN(r)?6e4:r-t}},"8su4":function(t,e,n){"use strict";function r(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(t,e){return t.require(e)}n.d(e,{isNodeEnv:function(){return r},dynamicRequire:function(){return o}})},k0Gh:function(t,e,n){"use strict";n.d(e,{fill:function(){return p},urlEncode:function(){return l},normalizeToSize:function(){return h},normalize:function(){return g},extractExceptionKeysForMessage:function(){return y},dropUndefinedKeys:function(){return m}});var r=n("XMIM"),o=n("tY9h"),i=n("kfBU"),s=n("nY8L"),a=n("+TMu"),u=n("/67D");function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e,n){if(e in t){var r=t[e],o=n(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry_original__:{enumerable:!1,value:r}})}catch(t){}t[e]=o}}function l(t){return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")}function f(t){if((0,i.isError)(t)){var e=t,n={message:e.message,name:e.name,stack:e.stack};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}if((0,i.isEvent)(t)){var s=t,a={};a.type=s.type;try{a.target=(0,i.isElement)(s.target)?(0,o.htmlTreeAsString)(s.target):Object.prototype.toString.call(s.target)}catch(t){a.target="<unknown>"}try{a.currentTarget=(0,i.isElement)(s.currentTarget)?(0,o.htmlTreeAsString)(s.currentTarget):Object.prototype.toString.call(s.currentTarget)}catch(t){a.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&(0,i.isInstanceOf)(t,CustomEvent)&&(a.detail=s.detail),s)Object.prototype.hasOwnProperty.call(s,r)&&(a[r]=s);return a}return t}function d(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function h(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r=g(t,e);return d(r)>n?h(t,e-1,n):r}function _(t,e){return"domain"===e&&t&&"object"===c(t)&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==n.g&&t===n.g?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":(0,i.isSyntheticEvent)(t)?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+(0,a.getFunctionName)(t)+"]":"symbol"===c(t)?"["+String(t)+"]":"bigint"==typeof t?"[BigInt: "+String(t)+"]":t}function v(t,e,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new s.Memo),0===n)return function(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=_(t);return(0,i.isPrimitive)(n)?n:e}(e);if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();var o=_(e,t);if((0,i.isPrimitive)(o))return o;var a=f(e),u=Array.isArray(e)?[]:{};if(r.memoize(e))return"[Circular ~]";for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(u[c]=v(c,a[c],n-1,r));return r.unmemoize(e),u}function g(t,e){try{return JSON.parse(JSON.stringify(t,(function(t,n){return v(t,n,e)})))}catch(t){return"**non-serializable**"}}function y(t,e){void 0===e&&(e=40);var n=Object.keys(f(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,u.truncate)(n[0],e);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>e))return r===n.length?o:(0,u.truncate)(o,e)}return""}function m(t){var e,n;if((0,i.isPlainObject)(t)){var o=t,s={};try{for(var a=(0,r.__values)(Object.keys(o)),u=a.next();!u.done;u=a.next()){var c=u.value;void 0!==o[c]&&(s[c]=m(o[c]))}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return s}return Array.isArray(t)?t.map(m):t}},"9TLE":function(t,e,n){"use strict";n.d(e,{setPrototypeOf:function(){return r}});var r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n]);return t})},qKOu:function(t,e,n){"use strict";n.d(e,{PromiseBuffer:function(){return i}});var r=n("seRV"),o=n("29qi"),i=function(){function t(t){this._limit=t,this._buffer=[]}return t.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},t.prototype.add=function(t){var e=this;return this.isReady()?(-1===this._buffer.indexOf(t)&&this._buffer.push(t),t.then((function(){return e.remove(t)})).then(null,(function(){return e.remove(t).then(null,(function(){}))})),t):o.SyncPromise.reject(new r.SentryError("Not adding Promise due to buffer limit reached."))},t.prototype.remove=function(t){return this._buffer.splice(this._buffer.indexOf(t),1)[0]},t.prototype.length=function(){return this._buffer.length},t.prototype.drain=function(t){var e=this;return new o.SyncPromise((function(n){var r=setTimeout((function(){t&&t>0&&n(!1)}),t);o.SyncPromise.all(e._buffer).then((function(){clearTimeout(r),n(!0)})).then(null,(function(){n(!0)}))}))},t}()},"+TMu":function(t,e,n){"use strict";n.d(e,{getFunctionName:function(){return o}});var r="<anonymous>";function o(t){try{return t&&"function"==typeof t&&t.name||r}catch(t){return r}}},"/67D":function(t,e,n){"use strict";n.d(e,{truncate:function(){return o},safeJoin:function(){return i},isMatchingPattern:function(){return s}});var r=n("kfBU");function o(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function i(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var o=t[r];try{n.push(String(o))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function s(t,e){return!!(0,r.isString)(t)&&((0,r.isRegExp)(e)?e.test(t):"string"==typeof e&&-1!==t.indexOf(e))}},hyKi:function(t,e,n){"use strict";n.d(e,{supportsFetch:function(){return i},supportsNativeFetch:function(){return a},supportsReferrerPolicy:function(){return u},supportsHistory:function(){return c}});var r=n("kMmw"),o=n("dXN1");function i(){if(!("fetch"in(0,o.getGlobalObject)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function s(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function a(){if(!i())return!1;var t=(0,o.getGlobalObject)();if(s(t.fetch))return!0;var e=!1,n=t.document;if(n&&"function"==typeof n.createElement)try{var a=n.createElement("iframe");a.hidden=!0,n.head.appendChild(a),a.contentWindow&&a.contentWindow.fetch&&(e=s(a.contentWindow.fetch)),n.head.removeChild(a)}catch(t){r.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return e}function u(){if(!i())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}function c(){var t=(0,o.getGlobalObject)(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&r}},"29qi":function(t,e,n){"use strict";n.d(e,{SyncPromise:function(){return i}});var r,o=n("kfBU");!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(r||(r={}));var i=function(){function t(t){var e=this;this._state=r.PENDING,this._handlers=[],this._resolve=function(t){e._setResult(r.RESOLVED,t)},this._reject=function(t){e._setResult(r.REJECTED,t)},this._setResult=function(t,n){e._state===r.PENDING&&((0,o.isThenable)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._attachHandler=function(t){e._handlers=e._handlers.concat(t),e._executeHandlers()},this._executeHandlers=function(){if(e._state!==r.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t.done||(e._state===r.RESOLVED&&t.onfulfilled&&t.onfulfilled(e._value),e._state===r.REJECTED&&t.onrejected&&t.onrejected(e._value),t.done=!0)}))}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.resolve=function(e){return new t((function(t){t(e)}))},t.reject=function(e){return new t((function(t,n){n(e)}))},t.all=function(e){return new t((function(n,r){if(Array.isArray(e))if(0!==e.length){var o=e.length,i=[];e.forEach((function(e,s){t.resolve(e).then((function(t){i[s]=t,0===(o-=1)&&n(i)})).then(null,r)}))}else n([]);else r(new TypeError("Promise.all requires an array as input."))}))},t.prototype.then=function(e,n){var r=this;return new t((function(t,o){r._attachHandler({done:!1,onfulfilled:function(n){if(e)try{return void t(e(n))}catch(t){return void o(t)}else t(n)},onrejected:function(e){if(n)try{return void t(n(e))}catch(t){return void o(t)}else o(e)}})}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(e){var n=this;return new t((function(t,r){var o,i;return n.then((function(t){i=!1,o=t,e&&e()}),(function(t){i=!0,o=t,e&&e()})).then((function(){i?r(o):t(o)}))}))},t.prototype.toString=function(){return"[object SyncPromise]"},t}()},Y1h2:function(t,e,n){"use strict";n.d(e,{dateTimestampInSeconds:function(){return u}});var r=n("dXN1"),o=n("8su4");t=n.hmd(t);var i={nowSeconds:function(){return Date.now()/1e3}};var s=(0,o.isNodeEnv)()?function(){try{return(0,o.dynamicRequire)(t,"perf_hooks").performance}catch(t){return}}():function(){var t=(0,r.getGlobalObject)().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);a.nowSeconds.bind(a),function(){var t=(0,r.getGlobalObject)().performance;if(t)t.timeOrigin?t.timeOrigin:t.timing&&t.timing.navigationStart||Date.now()}()},XMIM:function(t,e,n){"use strict";n.d(e,{__extends:function(){return o},__assign:function(){return i},__rest:function(){return s},__values:function(){return a},__read:function(){return u},__spread:function(){return c}});var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function a(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(u(arguments[e]));return t}}}]);