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

2 lines
78 KiB
JavaScript

(window.findifyJsonp=window.findifyJsonp||[]).push([[7],{"+Sqj":function(t,e,n){"use strict";n.r(e),n.d(e,"LinkedErrors",(function(){return l}));var r=n("XMIM"),o=n("/PaG"),i=n("5DM2"),c=n("s6PE"),s=n("pYdy"),u="cause",a=5,l=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||u,this._limit=e.limit||a}return t.prototype.setupOnce=function(){Object(o.addGlobalEventProcessor)((function(e,n){var r=Object(i.getCurrentHub)().getIntegration(t);return r?r._handler(e,n):e}))},t.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&e.originalException instanceof Error))return t;var n=this._walkErrorTree(e.originalException,this._key);return t.exception.values=r.__spread(n,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!(t[e]instanceof Error)||n.length+1>=this._limit)return n;var o=Object(s._computeStackTrace)(t[e]),i=Object(c.exceptionFromStacktrace)(o);return this._walkErrorTree(t[e],e,r.__spread([i],n))},t.id="LinkedErrors",t}()},"/67D":function(t,e,n){"use strict";n.r(e),n.d(e,"truncate",(function(){return o})),n.d(e,"snipLine",(function(){return i})),n.d(e,"safeJoin",(function(){return c})),n.d(e,"keysToEventMessage",(function(){return s})),n.d(e,"isMatchingPattern",(function(){return u}));var r=n("kfBU");function o(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e?t:t.length<=e?t:t.substr(0,e)+"..."}function i(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var o=Math.max(e-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),i<r&&(n+=" {snip}"),n}function c(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){if(void 0===e&&(e=40),!t.length)return"[object has no keys]";if(t[0].length>=e)return o(t[0],e);for(var n=t.length;n>0;n--){var r=t.slice(0,n).join(", ");if(!(r.length>e))return n===t.length?r:o(r,e)}return""}function u(t,e){return Object(r.isRegExp)(e)?e.test(t):"string"==typeof e&&t.includes(e)}},"/PaG":function(t,e,n){"use strict";n.r(e),n.d(e,"Scope",(function(){return a})),n.d(e,"addGlobalEventProcessor",(function(){return f}));var r=n("XMIM"),o=n("29qi"),i=n("kfBU"),c=n("k0Gh"),s=n("dXN1"),u=n("ymWa"),a=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._context={}}return t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,setTimeout((function(){t._scopeListeners.forEach((function(e){e(t)})),t._notifyingListeners=!1})))},t.prototype._notifyEventProcessors=function(t,e,n,c){var s=this;return void 0===c&&(c=0),new o.SyncPromise((function(o,u){var a=t[c];if(null===e||"function"!=typeof a)o(e);else{var l=a(r.__assign({},e),n);Object(i.isThenable)(l)?l.then((function(e){return s._notifyEventProcessors(t,e,n,c+1).then(o)})).catch(u):s._notifyEventProcessors(t,l,n,c+1).then(o).catch(u)}}))},t.prototype.setUser=function(t){return this._user=Object(c.normalize)(t),this._notifyScopeListeners(),this},t.prototype.setTags=function(t){return this._tags=r.__assign({},this._tags,Object(c.normalize)(t)),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=r.__assign({},this._tags,((n={})[t]=Object(c.normalize)(e),n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=r.__assign({},this._extra,Object(c.normalize)(t)),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=r.__assign({},this._extra,((n={})[t]=Object(c.normalize)(e),n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=Object(c.normalize)(t),this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=Object(c.normalize)(t),this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this._transaction=t,this._notifyScopeListeners(),this},t.prototype.setContext=function(t,e){return this._context[t]=e?Object(c.normalize)(e):void 0,this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.startSpan=function(t){var e=new u.Span;return e.setParent(t),this.setSpan(e),e},t.prototype.getSpan=function(){return this._span},t.clone=function(e){var n=new t;return Object.assign(n,e,{_scopeListeners:[]}),e&&(n._breadcrumbs=r.__spread(e._breadcrumbs),n._tags=r.__assign({},e._tags),n._extra=r.__assign({},e._extra),n._context=r.__assign({},e._context),n._user=e._user,n._level=e._level,n._span=e._span,n._transaction=e._transaction,n._fingerprint=e._fingerprint,n._eventProcessors=r.__spread(e._eventProcessors)),n},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._context={},this._level=void 0,this._transaction=void 0,this._fingerprint=void 0,this._span=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n=(new Date).getTime()/1e3,o=r.__assign({timestamp:n},t);return this._breadcrumbs=void 0!==e&&e>=0?r.__spread(this._breadcrumbs,[Object(c.normalize)(o)]).slice(-e):r.__spread(this._breadcrumbs,[Object(c.normalize)(o)]),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},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.prototype.applyToEvent=function(t,e){return this._extra&&Object.keys(this._extra).length&&(t.extra=r.__assign({},this._extra,t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=r.__assign({},this._tags,t.tags)),this._user&&Object.keys(this._user).length&&(t.user=r.__assign({},this._user,t.user)),this._context&&Object.keys(this._context).length&&(t.contexts=r.__assign({},this._context,t.contexts)),this._level&&(t.level=this._level),this._transaction&&(t.transaction=this._transaction),this._span&&(t.contexts=t.contexts||{},t.contexts.trace=this._span),this._applyFingerprint(t),t.breadcrumbs=r.__spread(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors(r.__spread(l(),this._eventProcessors),t,e)},t}();function l(){var t=Object(s.getGlobalObject)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function f(t){l().push(t)}},"29qi":function(t,e,n){"use strict";n.r(e),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(t,r.RESOLVED)},this._reject=function(t){e._setResult(t,r.REJECTED)},this._setResult=function(t,n){e._state===r.PENDING&&(Object(o.isThenable)(t)?t.then(e._resolve,e._reject):(e._value=t,e._state=n,e._executeHandlers()))},this._executeHandlers=function(){e._state!==r.PENDING&&(e._state===r.REJECTED?e._handlers.forEach((function(t){return t.onFail&&t.onFail(e._value)})):e._handlers.forEach((function(t){return t.onSuccess&&t.onSuccess(e._value)})),e._handlers=[])},this._attachHandler=function(t){e._handlers=e._handlers.concat(t),e._executeHandlers()};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.prototype.then=function(e,n){var r=this;return new t((function(t,o){r._attachHandler({onFail:function(e){if(n)try{return void t(n(e))}catch(t){return void o(t)}else o(e)},onSuccess:function(n){if(e)try{return void t(e(n))}catch(t){return void o(t)}else t(n)}})}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.toString=function(){return"[object SyncPromise]"},t.resolve=function(e){return new t((function(t){t(e)}))},t.reject=function(e){return new t((function(t,n){n(e)}))},t}()},"2A+w":function(t,e,n){"use strict";var r;n.r(e),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={}))},"2X7T":function(t,e,n){"use strict";n.r(e),n.d(e,"SDK_NAME",(function(){return r})),n.d(e,"SDK_VERSION",(function(){return o}));var r="sentry.javascript.browser",o="5.6.3"},"3dNi":function(t,e,n){"use strict";n.r(e),n.d(e,"FetchTransport",(function(){return a}));var r=n("XMIM"),o=n("ixRf"),i=n("dXN1"),c=n("hyKi"),s=n("q7k6"),u=Object(i.getGlobalObject)(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.sendEvent=function(t){var e={body:JSON.stringify(t),method:"POST",referrerPolicy:Object(c.supportsReferrerPolicy)()?"origin":""};return this._buffer.add(u.fetch(this.url,e).then((function(t){return{status:o.Status.fromHttpCode(t.status)}})))},e}(s.BaseTransport)},"4oXL":function(t,e,n){"use strict";n.r(e),n.d(e,"UserAgent",(function(){return u}));var r=n("XMIM"),o=n("/PaG"),i=n("5DM2"),c=n("dXN1"),s=Object(c.getGlobalObject)(),u=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Object(o.addGlobalEventProcessor)((function(e){if(Object(i.getCurrentHub)().getIntegration(t)){if(!s.navigator||!s.location)return e;var n=e.request||{};return n.url=n.url||s.location.href,n.headers=n.headers||{},n.headers["User-Agent"]=s.navigator.userAgent,r.__assign({},e,{request:n})}return e}))},t.id="UserAgent",t}()},"5DM2":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"API_VERSION",(function(){return s})),n.d(e,"Hub",(function(){return u})),n.d(e,"getMainCarrier",(function(){return a})),n.d(e,"makeMain",(function(){return l})),n.d(e,"getCurrentHub",(function(){return f})),n.d(e,"getHubFromCarrier",(function(){return d})),n.d(e,"setHubOnCarrier",(function(){return h}));var r=n("XMIM"),o=n("dXN1"),i=n("kMmw"),c=n("/PaG"),s=3,u=function(){function t(t,e,n){void 0===e&&(e=new c.Scope),void 0===n&&(n=s),this._version=n,this._stack=[],this._stack.push({client:t,scope:e})}return t.prototype._invokeClient=function(t){for(var e,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=this.getStackTop();i&&i.client&&i.client[t]&&(e=i.client)[t].apply(e,r.__spread(n,[i.scope]))},t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t},t.prototype.pushScope=function(){var t=this.getStack(),e=t.length>0?t[t.length-1].scope:void 0,n=c.Scope.clone(e);return this.getStack().push({client:this.getClient(),scope:n}),n},t.prototype.popScope=function(){return void 0!==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=Object(o.uuid4)(),i=e;if(!e){var c=void 0;try{throw new Error("Sentry syntheticException")}catch(t){c=t}i={originalException:t,syntheticException:c}}return this._invokeClient("captureException",t,r.__assign({},i,{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var i=this._lastEventId=Object(o.uuid4)(),c=n;if(!n){var s=void 0;try{throw new Error(t)}catch(t){s=t}c={originalException:t,syntheticException:s}}return this._invokeClient("captureMessage",t,e,r.__assign({},c,{event_id:i})),i},t.prototype.captureEvent=function(t,e){var n=this._lastEventId=Object(o.uuid4)();return this._invokeClient("captureEvent",t,r.__assign({},e,{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop();if(n.scope&&n.client){var i=n.client.getOptions&&n.client.getOptions()||{},c=i.beforeBreadcrumb,s=void 0===c?null:c,u=i.maxBreadcrumbs,a=void 0===u?30:u;if(!(a<=0)){var l=(new Date).getTime()/1e3,f=r.__assign({timestamp:l},t),p=s?Object(o.consoleSandbox)((function(){return s(f,e)})):f;null!==p&&n.scope.addBreadcrumb(p,Math.min(a,100))}}},t.prototype.setUser=function(t){var e=this.getStackTop();e.scope&&e.scope.setUser(t)},t.prototype.setTags=function(t){var e=this.getStackTop();e.scope&&e.scope.setTags(t)},t.prototype.setExtras=function(t){var e=this.getStackTop();e.scope&&e.scope.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop();e.scope&&e.client&&t(e.scope)},t.prototype.run=function(t){var e=l(this);try{t(this)}finally{l(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return i.logger.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.traceHeaders=function(){var t=this.getStackTop();if(t.scope&&t.client){var e=t.scope.getSpan();if(e)return{"sentry-trace":e.toTraceparent()}}return{}},t}();function a(){var t=Object(o.getGlobalObject)();return t.__SENTRY__=t.__SENTRY__||{hub:void 0},t}function l(t){var e=a(),n=d(e);return h(e,t),n}function f(){var e=a();p(e)&&!d(e).isOlderThan(s)||h(e,new u);try{var n=Object(o.dynamicRequire)(t,"domain").active;if(!n)return d(e);if(!p(n)||d(n).isOlderThan(s)){var r=d(e).getStackTop();h(n,new u(r.client,c.Scope.clone(r.scope)))}return d(n)}catch(t){return d(e)}}function p(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function d(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub?t.__SENTRY__.hub:(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new u,t.__SENTRY__.hub)}function h(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}}.call(this,n("OhAj")(t))},"6de5":function(t,e,n){"use strict";n.r(e),n.d(e,"shouldIgnoreOnError",(function(){return d})),n.d(e,"ignoreNextOnError",(function(){return h})),n.d(e,"wrap",(function(){return _})),n.d(e,"breadcrumbEventHandler",(function(){return g})),n.d(e,"keypressEventHandler",(function(){return y}));var r,o,i=n("XMIM"),c=n("Xk6/"),s=n("5DM2"),u=n("dXN1"),a=n("k0Gh"),l=n("kfBU"),f=1e3,p=0;function d(){return p>0}function h(){p+=1,setTimeout((function(){p-=1}))}function _(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 r=function(){n&&"function"==typeof n&&n.apply(this,arguments);var r=Array.prototype.slice.call(arguments);try{var o=r.map((function(t){return _(t,e)}));return t.handleEvent?t.handleEvent.apply(this,o):t.apply(this,o)}catch(t){throw h(),Object(c.withScope)((function(n){n.addEventProcessor((function(t){var n=i.__assign({},t);return e.mechanism&&Object(u.addExceptionTypeValue)(n,void 0,void 0,e.mechanism),n.extra=i.__assign({},n.extra,{arguments:Object(a.normalize)(r,3)}),n})),Object(c.captureException)(t)})),t}};try{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}catch(t){}t.prototype=t.prototype||{},r.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:r}),Object.defineProperties(r,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:function(){return t.name}})}catch(t){}return r}var v=0;function g(t,e){return void 0===e&&(e=!1),function(n){if(r=void 0,n&&o!==n){o=n;var i=function(){var e;try{e=n.target?b(n.target):b(n)}catch(t){e="<unknown>"}0!==e.length&&Object(s.getCurrentHub)().addBreadcrumb({category:"ui."+t,message:e},{event:n,name:t})};v&&clearTimeout(v),e?v=setTimeout(i):i()}}}function y(){return function(t){var e;try{e=t.target}catch(t){return}var n=e&&e.tagName;n&&("INPUT"===n||"TEXTAREA"===n||e.isContentEditable)&&(r||g("input")(t),clearTimeout(r),r=setTimeout((function(){r=void 0}),f))}}function b(t){for(var e,n=t,r=[],o=0,i=0,c=" > ".length;n&&o++<5&&!("html"===(e=m(n))||o>1&&i+r.length*c+e.length>=80);)r.push(e),i+=e.length,n=n.parentNode;return r.reverse().join(" > ")}function m(t){var e,n,r,o,i,c=[];if(!t||!t.tagName)return"";if(c.push(t.tagName.toLowerCase()),t.id&&c.push("#"+t.id),(e=t.className)&&Object(l.isString)(e))for(n=e.split(/\s+/),i=0;i<n.length;i++)c.push("."+n[i]);var s=["type","name","title","alt"];for(i=0;i<s.length;i++)r=s[i],(o=t.getAttribute(r))&&c.push("["+r+'="'+o+'"]');return c.join("")}},"8eHm":function(t,e,n){"use strict";n.r(e);var r=n("Zspv");n.d(e,"GlobalHandlers",(function(){return r.GlobalHandlers}));var o=n("PxKW");n.d(e,"TryCatch",(function(){return o.TryCatch}));var i=n("9Fph");n.d(e,"Breadcrumbs",(function(){return i.Breadcrumbs}));var c=n("+Sqj");n.d(e,"LinkedErrors",(function(){return c.LinkedErrors}));var s=n("4oXL");n.d(e,"UserAgent",(function(){return s.UserAgent}))},"9Fph":function(t,e,n){"use strict";n.r(e),n.d(e,"Breadcrumbs",(function(){return v}));var r,o=n("XMIM"),i=n("5DM2"),c=n("MM0u"),s=n("2A+w"),u=n("dXN1"),a=n("k0Gh"),l=n("/67D"),f=n("hyKi"),p=n("kfBU"),d=n("kMmw"),h=n("6de5"),_=Object(u.getGlobalObject)(),v=function(){function t(e){this.name=t.id,this._options=o.__assign({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype._instrumentConsole=function(){"console"in _&&["debug","info","warn","error","log","assert"].forEach((function(e){e in _.console&&Object(a.fill)(_.console,e,(function(n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i={category:"console",data:{extra:{arguments:Object(a.normalize)(r,3)},logger:"console"},level:s.Severity.fromString(e),message:Object(l.safeJoin)(r," ")};"assert"===e&&!1===r[0]&&(i.message="Assertion failed: "+(Object(l.safeJoin)(r.slice(1)," ")||"console.assert"),i.data.extra.arguments=Object(a.normalize)(r.slice(1),3)),t.addBreadcrumb(i,{input:r,level:e}),n&&Function.prototype.apply.call(n,_.console,r)}}))}))},t.prototype._instrumentDOM=function(){"document"in _&&(_.document.addEventListener("click",Object(h.breadcrumbEventHandler)("click"),!1),_.document.addEventListener("keypress",Object(h.keypressEventHandler)(),!1),["EventTarget","Node"].forEach((function(t){var e=_[t]&&_[t].prototype;e&&e.hasOwnProperty&&e.hasOwnProperty("addEventListener")&&(Object(a.fill)(e,"addEventListener",(function(t){return function(e,n,r){return n&&n.handleEvent?("click"===e&&Object(a.fill)(n,"handleEvent",(function(t){return function(e){return Object(h.breadcrumbEventHandler)("click")(e),t.call(this,e)}})),"keypress"===e&&Object(a.fill)(n,"handleEvent",(function(t){return function(e){return Object(h.keypressEventHandler)()(e),t.call(this,e)}}))):("click"===e&&Object(h.breadcrumbEventHandler)("click",!0)(this),"keypress"===e&&Object(h.keypressEventHandler)()(this)),t.call(this,e,n,r)}})),Object(a.fill)(e,"removeEventListener",(function(t){return function(e,n,r){var o=n;try{o=o&&(o.__sentry_wrapped__||o)}catch(t){}return t.call(this,e,o,r)}})))})))},t.prototype._instrumentFetch=function(){Object(f.supportsNativeFetch)()&&Object(a.fill)(_,"fetch",(function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o,u=n[0],a="GET";"string"==typeof u?o=u:"Request"in _&&u instanceof Request?(o=u.url,u.method&&(a=u.method)):o=String(u),n[1]&&n[1].method&&(a=n[1].method);var l=Object(i.getCurrentHub)().getClient(),f=l&&l.getDsn();if(f){var d=new c.API(f).getStoreEndpoint();if(d&&o.includes(d))return"POST"===a&&n[1]&&n[1].body&&g(n[1].body),e.apply(_,n)}var h={method:Object(p.isString)(a)?a.toUpperCase():a,url:o};return e.apply(_,n).then((function(e){return h.status_code=e.status,t.addBreadcrumb({category:"fetch",data:h,type:"http"},{input:n,response:e}),e})).catch((function(e){throw t.addBreadcrumb({category:"fetch",data:h,level:s.Severity.Error,type:"http"},{error:e,input:n}),e}))}}))},t.prototype._instrumentHistory=function(){var e=this;if(Object(f.supportsHistory)()){var n=function(e,n){var o=Object(u.parseUrl)(_.location.href),i=Object(u.parseUrl)(n),c=Object(u.parseUrl)(e);c.path||(c=o),r=n,o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),o.protocol===c.protocol&&o.host===c.host&&(e=c.relative),t.addBreadcrumb({category:"navigation",data:{from:e,to:n}})},o=_.onpopstate;_.onpopstate=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var c=_.location.href;if(n(r,c),o)return o.apply(e,t)},Object(a.fill)(_.history,"pushState",i),Object(a.fill)(_.history,"replaceState",i)}function i(t){return function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];var i=e.length>2?e[2]:void 0;return i&&n(r,String(i)),t.apply(this,e)}}},t.prototype._instrumentXHR=function(){if("XMLHttpRequest"in _){var e=XMLHttpRequest.prototype;Object(a.fill)(e,"open",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[1];this.__sentry_xhr__={method:Object(p.isString)(e[0])?e[0].toUpperCase():e[0],url:e[1]};var o=Object(i.getCurrentHub)().getClient(),s=o&&o.getDsn();if(s){var u=new c.API(s).getStoreEndpoint();Object(p.isString)(r)&&u&&r.includes(u)&&(this.__sentry_own_request__=!0)}return t.apply(this,e)}})),Object(a.fill)(e,"send",(function(e){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=this;function c(){if(4===i.readyState){if(i.__sentry_own_request__)return;try{i.__sentry_xhr__&&(i.__sentry_xhr__.status_code=i.status)}catch(t){}t.addBreadcrumb({category:"xhr",data:i.__sentry_xhr__,type:"http"},{xhr:i})}}return i.__sentry_own_request__&&g(r[0]),["onload","onerror","onprogress"].forEach((function(t){n(t,i)})),"onreadystatechange"in i&&"function"==typeof i.onreadystatechange?Object(a.fill)(i,"onreadystatechange",(function(t){return Object(h.wrap)(t,{mechanism:{data:{function:"onreadystatechange",handler:t&&t.name||"<anonymous>"},handled:!0,type:"instrument"}},c)})):i.onreadystatechange=c,e.apply(this,r)}}))}function n(t,e){t in e&&"function"==typeof e[t]&&Object(a.fill)(e,t,(function(e){return Object(h.wrap)(e,{mechanism:{data:{function:t,handler:e&&e.name||"<anonymous>"},handled:!0,type:"instrument"}})}))}},t.addBreadcrumb=function(e,n){Object(i.getCurrentHub)().getIntegration(t)&&Object(i.getCurrentHub)().addBreadcrumb(e,n)},t.prototype.setupOnce=function(){this._options.console&&this._instrumentConsole(),this._options.dom&&this._instrumentDOM(),this._options.xhr&&this._instrumentXHR(),this._options.fetch&&this._instrumentFetch(),this._options.history&&this._instrumentHistory()},t.id="Breadcrumbs",t}();function g(t){try{var e=JSON.parse(t);v.addBreadcrumb({category:"sentry",event_id:e.event_id,level:e.level||s.Severity.fromString("error"),message:Object(u.getEventDescription)(e)},{event:e})}catch(t){d.logger.error("Error while adding sentry type breadcrumb")}}},"9TLE":function(t,e,n){"use strict";n.r(e),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})},"A+DZ":function(t,e,n){"use strict";n.r(e),n.d(e,"NoopTransport",(function(){return o}));var r=n("ixRf"),o=function(){function t(){}return t.prototype.sendEvent=function(t){return Promise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:r.Status.Skipped})},t.prototype.close=function(t){return Promise.resolve(!0)},t}()},H7Du:function(t,e,n){"use strict";n.r(e);var r=n("q7k6");n.d(e,"BaseTransport",(function(){return r.BaseTransport}));var o=n("3dNi");n.d(e,"FetchTransport",(function(){return o.FetchTransport}));var i=n("cgyE");n.d(e,"XHRTransport",(function(){return i.XHRTransport}))},HcjI:function(t,e,n){"use strict";n.r(e),n.d(e,"BrowserClient",(function(){return l}));var r=n("XMIM"),o=n("MM0u"),i=n("QMoq"),c=n("dXN1"),s=n("kMmw"),u=n("m/UZ"),a=n("2X7T"),l=function(t){function e(e){return void 0===e&&(e={}),t.call(this,u.BrowserBackend,e)||this}return r.__extends(e,t),e.prototype._prepareEvent=function(e,n,o){return e.platform=e.platform||"javascript",e.sdk=r.__assign({},e.sdk,{name:a.SDK_NAME,packages:r.__spread(e.sdk&&e.sdk.packages||[],[{name:"npm:@sentry/browser",version:a.SDK_VERSION}]),version:a.SDK_VERSION}),t.prototype._prepareEvent.call(this,e,n,o)},e.prototype.showReportDialog=function(t){void 0===t&&(t={});var e=Object(c.getGlobalObject)().document;if(e)if(this._isEnabled()){var n=t.dsn||this.getDsn();if(t.eventId)if(n){var r=e.createElement("script");r.async=!0,r.src=new o.API(n).getReportDialogEndpoint(t),t.onLoad&&(r.onload=t.onLoad),(e.head||e.body).appendChild(r)}else s.logger.error("Missing `Dsn` option in showReportDialog call");else s.logger.error("Missing `eventId` option in showReportDialog call")}else s.logger.error("Trying to call showReportDialog with Sentry Client is disabled")},e}(i.BaseClient)},JOKM:function(t,e,n){"use strict";n.r(e),n.d(e,"Dsn",(function(){return c}));var r=n("XMIM"),o=n("seRV"),i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,c=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,c=e.projectId;return e.protocol+"://"+e.user+(t&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+c},t.prototype._fromString=function(t){var e=i.exec(t);if(!e)throw new o.SentryError("Invalid Dsn");var n=r.__read(e.slice(1),6),c=n[0],s=n[1],u=n[2],a=void 0===u?"":u,l=n[3],f=n[4],p=void 0===f?"":f,d="",h=n[5],_=h.split("/");_.length>1&&(d=_.slice(0,-1).join("/"),h=_.pop()),Object.assign(this,{host:l,pass:a,path:d,projectId:h,port:p,protocol:c,user:s})},t.prototype._fromComponents=function(t){this.protocol=t.protocol,this.user=t.user,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","user","host","projectId"].forEach((function(e){if(!t[e])throw new o.SentryError("Invalid Dsn")})),"http"!==this.protocol&&"https"!==this.protocol)throw new o.SentryError("Invalid Dsn");if(this.port&&Number.isNaN(parseInt(this.port,10)))throw new o.SentryError("Invalid Dsn")},t}()},LLt0:function(t,e,n){"use strict";n.r(e);var r=n("pyV8");n.d(e,"FunctionToString",(function(){return r.FunctionToString}));var o=n("X9fI");n.d(e,"InboundFilters",(function(){return o.InboundFilters}))},MM0u:function(t,e,n){"use strict";n.r(e),n.d(e,"API",(function(){return i}));var r=n("k0Gh"),o=n("JOKM"),i=function(){function t(t){this.dsn=t,this._dsnObject=new o.Dsn(t)}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.getStoreEndpoint=function(){return""+this._getBaseUrl()+this.getStoreEndpointPath()},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){var t={sentry_key:this._dsnObject.user,sentry_version:"7"};return this.getStoreEndpoint()+"?"+Object(r.urlEncode)(t)},t.prototype._getBaseUrl=function(){var t=this._dsnObject,e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n},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_timestamp="+(new Date).getTime()),r.push("sentry_client="+t+"/"+e),r.push("sentry_key="+n.user),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._getBaseUrl()+(e.path?"/"+e.path:"")+"/api/embed/error-page/",r=[];for(var o in r.push("dsn="+e.toString()),t)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}()},PxKW:function(t,e,n){"use strict";n.r(e),n.d(e,"TryCatch",(function(){return c}));var r=n("dXN1"),o=n("k0Gh"),i=n("6de5"),c=function(){function t(){this._ignoreOnError=0,this.name=t.id}return 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]=Object(i.wrap)(r,{mechanism:{data:{function:s(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}},t.prototype._wrapRAF=function(t){return function(e){return t(Object(i.wrap)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:s(t)},handled:!0,type:"instrument"}}))}},t.prototype._wrapEventTarget=function(t){var e=Object(r.getGlobalObject)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(o.fill)(n,"addEventListener",(function(e){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=Object(i.wrap)(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:s(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.call(this,n,Object(i.wrap)(r,{mechanism:{data:{function:"addEventListener",handler:s(r),target:t},handled:!0,type:"instrument"}}),o)}})),Object(o.fill)(n,"removeEventListener",(function(t){return function(e,n,r){var o=n;try{o=o&&(o.__sentry_wrapped__||o)}catch(t){}return t.call(this,e,o,r)}})))},t.prototype.setupOnce=function(){this._ignoreOnError=this._ignoreOnError;var t=Object(r.getGlobalObject)();Object(o.fill)(t,"setTimeout",this._wrapTimeFunction.bind(this)),Object(o.fill)(t,"setInterval",this._wrapTimeFunction.bind(this)),Object(o.fill)(t,"requestAnimationFrame",this._wrapRAF.bind(this)),["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"].forEach(this._wrapEventTarget.bind(this))},t.id="TryCatch",t}();function s(t){try{return t&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}},QMoq:function(t,e,n){"use strict";n.r(e),n.d(e,"BaseClient",(function(){return f}));var r=n("XMIM"),o=n("kMmw"),i=n("kfBU"),c=n("/67D"),s=n("dXN1"),u=n("29qi"),a=n("JOKM"),l=n("t+I2"),f=function(){function t(t,e){this._integrations={},this._processing=!1,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=new a.Dsn(e.dsn)),this._isEnabled()&&(this._integrations=Object(l.setupIntegrations)(this._options))}return t.prototype.captureException=function(t,e,n){var r=this,i=e&&e.event_id;return this._processing=!0,this._getBackend().eventFromException(t,e).then((function(t){return r._processEvent(t,e,n)})).then((function(t){i=t&&t.event_id,r._processing=!1})).catch((function(t){o.logger.error(t),r._processing=!1})),i},t.prototype.captureMessage=function(t,e,n,r){var c=this,s=n&&n.event_id;return this._processing=!0,(Object(i.isPrimitive)(t)?this._getBackend().eventFromMessage(""+t,e,n):this._getBackend().eventFromException(t,n)).then((function(t){return c._processEvent(t,n,r)})).then((function(t){s=t&&t.event_id,c._processing=!1})).catch((function(t){o.logger.error(t),c._processing=!1})),s},t.prototype.captureEvent=function(t,e,n){var r=this,i=e&&e.event_id;return this._processing=!0,this._processEvent(t,e,n).then((function(t){i=t&&t.event_id,r._processing=!1})).catch((function(t){o.logger.error(t),r._processing=!1})),i},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 clearInterval(n.interval),e._getBackend().getTransport().close(t).then((function(t){return n.ready&&t}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.getIntegrations=function(){return this._integrations||{}},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return o.logger.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._isClientProcessing=function(t){var e=this;return new Promise((function(n){var r=0,o=0;clearInterval(o),o=setInterval((function(){e._processing?(r+=1,t&&r>=t&&n({interval:o,ready:!1})):n({interval:o,ready:!0})}),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 o=this.getOptions(),i=o.environment,a=o.release,l=o.dist,f=o.maxValueLength,p=void 0===f?250:f,d=r.__assign({},t);void 0===d.environment&&void 0!==i&&(d.environment=i),void 0===d.release&&void 0!==a&&(d.release=a),void 0===d.dist&&void 0!==l&&(d.dist=l),d.message&&(d.message=Object(c.truncate)(d.message,p));var h=d.exception&&d.exception.values&&d.exception.values[0];h&&h.value&&(h.value=Object(c.truncate)(h.value,p));var _=d.request;_&&_.url&&(_.url=Object(c.truncate)(_.url,p)),void 0===d.event_id&&(d.event_id=Object(s.uuid4)()),this._addIntegrations(d.sdk);var v=u.SyncPromise.resolve(d);return e&&(v=e.applyToEvent(d,n)),v},t.prototype._addIntegrations=function(t){var e=Object.keys(this._integrations);t&&e.length>0&&(t.integrations=e)},t.prototype._processEvent=function(t,e,n){var r=this,c=this.getOptions(),s=c.beforeSend,a=c.sampleRate;return this._isEnabled()?"number"==typeof a&&Math.random()>a?u.SyncPromise.reject("This event has been sampled, will not send event."):new u.SyncPromise((function(c,u){r._prepareEvent(t,n,e).then((function(t){if(null!==t){var n=t;try{if(e&&e.data&&!0===e.data.__sentry__||!s)return r._getBackend().sendEvent(n),void c(n);var a=s(t,e);if(void 0===a)o.logger.error("`beforeSend` method has to return `null` or a valid event.");else if(Object(i.isThenable)(a))r._handleAsyncBeforeSend(a,c,u);else{if(null===(n=a))return o.logger.log("`beforeSend` returned `null`, will not send event."),void c(null);r._getBackend().sendEvent(n),c(n)}}catch(t){r.captureException(t,{data:{__sentry__:!0},originalException:t}),u("`beforeSend` throw an error, will not send event.")}}else u("An event processor returned null, will not send event.")}))})):u.SyncPromise.reject("SDK not enabled, will not send event.")},t.prototype._handleAsyncBeforeSend=function(t,e,n){var r=this;t.then((function(t){null!==t?(r._getBackend().sendEvent(t),e(t)):n("`beforeSend` returned `null`, will not send event.")})).catch((function(t){n("beforeSend rejected with "+t)}))},t}()},"Qd/u":function(t,e,n){"use strict";n.r(e);var r=n("Xk6/");n.d(e,"addBreadcrumb",(function(){return r.addBreadcrumb})),n.d(e,"captureException",(function(){return r.captureException})),n.d(e,"captureEvent",(function(){return r.captureEvent})),n.d(e,"captureMessage",(function(){return r.captureMessage})),n.d(e,"configureScope",(function(){return r.configureScope})),n.d(e,"setContext",(function(){return r.setContext})),n.d(e,"setExtra",(function(){return r.setExtra})),n.d(e,"setExtras",(function(){return r.setExtras})),n.d(e,"setTag",(function(){return r.setTag})),n.d(e,"setTags",(function(){return r.setTags})),n.d(e,"setUser",(function(){return r.setUser})),n.d(e,"withScope",(function(){return r.withScope}));var o=n("/PaG");n.d(e,"addGlobalEventProcessor",(function(){return o.addGlobalEventProcessor}));var i=n("5DM2");n.d(e,"getCurrentHub",(function(){return i.getCurrentHub})),n.d(e,"getHubFromCarrier",(function(){return i.getHubFromCarrier})),n.d(e,"Hub",(function(){return i.Hub})),n.d(e,"Scope",(function(){return o.Scope}));var c=n("ymWa");n.d(e,"Span",(function(){return c.Span}));var s=n("MM0u");n.d(e,"API",(function(){return s.API}));var u=n("QMoq");n.d(e,"BaseClient",(function(){return u.BaseClient}));var a=n("uJqk");n.d(e,"BaseBackend",(function(){return a.BaseBackend}));var l=n("JOKM");n.d(e,"Dsn",(function(){return l.Dsn}));var f=n("bu5v");n.d(e,"initAndBind",(function(){return f.initAndBind}));var p=n("A+DZ");n.d(e,"NoopTransport",(function(){return p.NoopTransport}));var d=n("LLt0");n.d(e,"Integrations",(function(){return d}))},X9fI:function(t,e,n){"use strict";n.r(e),n.d(e,"InboundFilters",(function(){return l}));var r=n("XMIM"),o=n("/PaG"),i=n("5DM2"),c=n("kMmw"),s=n("dXN1"),u=n("/67D"),a=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],l=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(){Object(o.addGlobalEventProcessor)((function(e){var n=Object(i.getCurrentHub)();if(!n)return e;var r=n.getIntegration(t);if(r){var o=n.getClient(),c=o?o.getOptions():{},s=r._mergeOptions(c);if(r._shouldDropEvent(e,s))return null}return e}))},t.prototype._shouldDropEvent=function(t,e){return this._isSentryError(t,e)?(c.logger.warn("Event dropped due to being internal Sentry Error.\nEvent: "+Object(s.getEventDescription)(t)),!0):this._isIgnoredError(t,e)?(c.logger.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+Object(s.getEventDescription)(t)),!0):this._isBlacklistedUrl(t,e)?(c.logger.warn("Event dropped due to being matched by `blacklistUrls` option.\nEvent: "+Object(s.getEventDescription)(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0):!this._isWhitelistedUrl(t,e)&&(c.logger.warn("Event dropped due to not being matched by `whitelistUrls` option.\nEvent: "+Object(s.getEventDescription)(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0)},t.prototype._isSentryError=function(t,e){if(void 0===e&&(e={}),!e.ignoreInternal)return!1;try{return"SentryError"===t.exception.values[0].type}catch(t){return!1}},t.prototype._isIgnoredError=function(t,e){return void 0===e&&(e={}),!(!e.ignoreErrors||!e.ignoreErrors.length)&&this._getPossibleEventMessages(t).some((function(t){return e.ignoreErrors.some((function(e){return Object(u.isMatchingPattern)(t,e)}))}))},t.prototype._isBlacklistedUrl=function(t,e){if(void 0===e&&(e={}),!e.blacklistUrls||!e.blacklistUrls.length)return!1;var n=this._getEventFilterUrl(t);return!!n&&e.blacklistUrls.some((function(t){return Object(u.isMatchingPattern)(n,t)}))},t.prototype._isWhitelistedUrl=function(t,e){if(void 0===e&&(e={}),!e.whitelistUrls||!e.whitelistUrls.length)return!0;var n=this._getEventFilterUrl(t);return!n||e.whitelistUrls.some((function(t){return Object(u.isMatchingPattern)(n,t)}))},t.prototype._mergeOptions=function(t){return void 0===t&&(t={}),{blacklistUrls:r.__spread(this._options.blacklistUrls||[],t.blacklistUrls||[]),ignoreErrors:r.__spread(this._options.ignoreErrors||[],t.ignoreErrors||[],a),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal,whitelistUrls:r.__spread(this._options.whitelistUrls||[],t.whitelistUrls||[])}},t.prototype._getPossibleEventMessages=function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values[0],n=e.type,r=e.value;return[""+r,n+": "+r]}catch(e){return c.logger.error("Cannot extract message for event "+Object(s.getEventDescription)(t)),[]}return[]},t.prototype._getEventFilterUrl=function(t){try{if(t.stacktrace){var e=t.stacktrace.frames;return e[e.length-1].filename}if(t.exception){var n=t.exception.values[0].stacktrace.frames;return n[n.length-1].filename}return null}catch(e){return c.logger.error("Cannot extract url for event "+Object(s.getEventDescription)(t)),null}},t.id="InboundFilters",t}()},XMIM:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",(function(){return c})),n.d(e,"__assign",(function(){return s})),n.d(e,"__rest",(function(){return u})),n.d(e,"__decorate",(function(){return a})),n.d(e,"__param",(function(){return l})),n.d(e,"__metadata",(function(){return f})),n.d(e,"__awaiter",(function(){return p})),n.d(e,"__generator",(function(){return d})),n.d(e,"__exportStar",(function(){return h})),n.d(e,"__values",(function(){return _})),n.d(e,"__read",(function(){return v})),n.d(e,"__spread",(function(){return g})),n.d(e,"__spreadArrays",(function(){return y})),n.d(e,"__await",(function(){return b})),n.d(e,"__asyncGenerator",(function(){return m})),n.d(e,"__asyncDelegator",(function(){return E})),n.d(e,"__asyncValues",(function(){return O})),n.d(e,"__makeTemplateObject",(function(){return S})),n.d(e,"__importStar",(function(){return j})),n.d(e,"__importDefault",(function(){return w}));var r=n("kg4F"),o=n.n(r),i=function(t,e){return(i=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 c(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var s=function(){return(s=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 u(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,e,n,r){var i,c=arguments.length,s=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"==typeof Reflect?"undefined":o()(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(s=(c<3?i(s):c>3?i(e,n,s):i(e,n))||s);return c>3&&s&&Object.defineProperty(e,n,s),s}function l(t,e){return function(n,r){e(n,r,t)}}function f(t,e){if("object"===("undefined"==typeof Reflect?"undefined":o()(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function p(t,e,n,r){return new(n||(n=Promise))((function(o,i){function c(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):new n((function(e){e(t.value)})).then(c,s)}u((r=r.apply(t,e||[])).next())}))}function d(t,e){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=e.call(t,c)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function h(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}function _(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function v(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),c=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)c.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 c}function g(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(v(arguments[e]));return t}function y(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),o=0;for(e=0;e<n;e++)for(var i=arguments[e],c=0,s=i.length;c<s;c++,o++)r[o]=i[c];return r}function b(t){return this instanceof b?(this.v=t,this):new b(t)}function m(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(t,e||[]),i=[];return r={},c("next"),c("throw"),c("return"),r[Symbol.asyncIterator]=function(){return this},r;function c(t){o[t]&&(r[t]=function(e){return new Promise((function(n,r){i.push([t,e,n,r])>1||s(t,e)}))})}function s(t,e){try{(n=o[t](e)).value instanceof b?Promise.resolve(n.value.v).then(u,a):l(i[0][2],n)}catch(t){l(i[0][3],t)}var n}function u(t){s("next",t)}function a(t){s("throw",t)}function l(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function E(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:b(t[r](e)),done:"return"===r}:o?o(e):e}:o}}function O(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=_(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,o,(e=t[n](e)).done,e.value)}))}}}function S(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function j(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function w(t){return t&&t.__esModule?t:{default:t}}},"Xk6/":function(t,e,n){"use strict";n.r(e),n.d(e,"captureException",(function(){return c})),n.d(e,"captureMessage",(function(){return s})),n.d(e,"captureEvent",(function(){return u})),n.d(e,"configureScope",(function(){return a})),n.d(e,"addBreadcrumb",(function(){return l})),n.d(e,"setContext",(function(){return f})),n.d(e,"setExtras",(function(){return p})),n.d(e,"setTags",(function(){return d})),n.d(e,"setExtra",(function(){return h})),n.d(e,"setTag",(function(){return _})),n.d(e,"setUser",(function(){return v})),n.d(e,"withScope",(function(){return g})),n.d(e,"_callOnClient",(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=Object(o.getCurrentHub)();if(i&&i[t])return i[t].apply(i,r.__spread(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function c(t){var e;try{throw new Error("Sentry syntheticException")}catch(t){e=t}return i("captureException",t,{originalException:t,syntheticException:e})}function s(t,e){var n;try{throw new Error(t)}catch(t){n=t}return i("captureMessage",t,e,{originalException:t,syntheticException:n})}function u(t){return i("captureEvent",t)}function a(t){i("configureScope",t)}function l(t){i("addBreadcrumb",t)}function f(t,e){i("setContext",t,e)}function p(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){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];i.apply(void 0,r.__spread(["_invokeClient",t],e))}},ZWPJ:function(t,e,n){"use strict";n.r(e),n.d(e,"Integrations",(function(){return b}));var r=n("XMIM"),o=n("2A+w");n.d(e,"Severity",(function(){return o.Severity}));var i=n("ixRf");n.d(e,"Status",(function(){return i.Status}));var c=n("/PaG");n.d(e,"addGlobalEventProcessor",(function(){return c.addGlobalEventProcessor}));var s=n("Xk6/");n.d(e,"addBreadcrumb",(function(){return s.addBreadcrumb})),n.d(e,"captureException",(function(){return s.captureException})),n.d(e,"captureEvent",(function(){return s.captureEvent})),n.d(e,"captureMessage",(function(){return s.captureMessage})),n.d(e,"configureScope",(function(){return s.configureScope}));var u=n("5DM2");n.d(e,"getHubFromCarrier",(function(){return u.getHubFromCarrier})),n.d(e,"getCurrentHub",(function(){return u.getCurrentHub})),n.d(e,"Hub",(function(){return u.Hub})),n.d(e,"Scope",(function(){return c.Scope})),n.d(e,"setContext",(function(){return s.setContext})),n.d(e,"setExtra",(function(){return s.setExtra})),n.d(e,"setExtras",(function(){return s.setExtras})),n.d(e,"setTag",(function(){return s.setTag})),n.d(e,"setTags",(function(){return s.setTags})),n.d(e,"setUser",(function(){return s.setUser}));var a=n("ymWa");n.d(e,"Span",(function(){return a.Span})),n.d(e,"withScope",(function(){return s.withScope}));var l=n("HcjI");n.d(e,"BrowserClient",(function(){return l.BrowserClient}));var f=n("dwE5");n.d(e,"defaultIntegrations",(function(){return f.defaultIntegrations})),n.d(e,"forceLoad",(function(){return f.forceLoad})),n.d(e,"init",(function(){return f.init})),n.d(e,"lastEventId",(function(){return f.lastEventId})),n.d(e,"onLoad",(function(){return f.onLoad})),n.d(e,"showReportDialog",(function(){return f.showReportDialog})),n.d(e,"flush",(function(){return f.flush})),n.d(e,"close",(function(){return f.close})),n.d(e,"wrap",(function(){return f.wrap}));var p=n("2X7T");n.d(e,"SDK_NAME",(function(){return p.SDK_NAME})),n.d(e,"SDK_VERSION",(function(){return p.SDK_VERSION}));var d=n("Qd/u"),h=n("dXN1"),_=n("8eHm"),v=n("H7Du");n.d(e,"Transports",(function(){return v}));var g={},y=Object(h.getGlobalObject)();y.Sentry&&y.Sentry.Integrations&&(g=y.Sentry.Integrations);var b=r.__assign({},g,d.Integrations,_)},Zspv:function(t,e,n){"use strict";n.r(e),n.d(e,"GlobalHandlers",(function(){return h}));var r=n("XMIM"),o=n("5DM2"),i=n("2A+w"),c=n("kMmw"),s=n("kfBU"),u=n("/67D"),a=n("k0Gh"),l=n("dXN1"),f=n("6de5"),p=n("s6PE"),d=n("pYdy"),h=function(){function t(e){this.name=t.id,this._options=r.__assign({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50,Object(d._subscribe)((function(e,n,r){var i=r&&!0===r.__sentry_own_request__;if(!Object(f.shouldIgnoreOnError)()&&!i){var c=Object(o.getCurrentHub)().getIntegration(t);c&&Object(o.getCurrentHub)().captureEvent(c._eventFromGlobalHandler(e,r),{data:{stack:e},originalException:r})}})),this._options.onerror&&(c.logger.log("Global Handler attached: onerror"),Object(d._installGlobalHandler)()),this._options.onunhandledrejection&&(c.logger.log("Global Handler attached: onunhandledrejection"),Object(d._installGlobalUnhandledRejectionHandler)())},t.prototype._eventFromGlobalHandler=function(t,e){if(!Object(s.isString)(t.message)&&"onunhandledrejection"!==t.mechanism){var n=t.message;t.message=n.error&&Object(s.isString)(n.error.message)?n.error.message:"No error message"}if("onunhandledrejection"===t.mechanism&&(t.incomplete||"failed"===t.mode))return this._eventFromIncompleteRejection(t,e);var r=Object(p.eventFromStacktrace)(t),i={mode:t.mode};t.message&&(i.message=t.message),t.name&&(i.name=t.name);var c=Object(o.getCurrentHub)().getClient(),f=c&&c.getOptions().maxValueLength||250,d=t.original?Object(u.truncate)(JSON.stringify(Object(a.normalize)(t.original)),f):"",h="onunhandledrejection"===t.mechanism?"UnhandledRejection":"Error";return Object(l.addExceptionTypeValue)(r,d,h,{data:i,handled:!1,type:t.mechanism}),r},t.prototype._eventFromIncompleteRejection=function(t,e){var n={level:i.Severity.Error};return Object(s.isPrimitive)(e)?n.exception={values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+e}]}:(n.exception={values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with keys: "+Object(u.keysToEventMessage)(Object.keys(e).sort())}]},n.extra={__serialized__:Object(a.normalizeToSize)(e)}),n.exception.values&&n.exception.values[0]&&(n.exception.values[0].mechanism={data:r.__assign({mode:t.mode},t.incomplete&&{incomplete:t.incomplete},t.message&&{message:t.message},t.name&&{name:t.name}),handled:!1,type:t.mechanism}),n},t.id="GlobalHandlers",t}()},bu5v:function(t,e,n){"use strict";n.r(e),n.d(e,"initAndBind",(function(){return i}));var r=n("5DM2"),o=n("kMmw");function i(t,e){!0===e.debug&&o.logger.enable(),Object(r.getCurrentHub)().bindClient(new t(e))}},cgyE:function(t,e,n){"use strict";n.r(e),n.d(e,"XHRTransport",(function(){return i}));var r=n("XMIM"),o=n("ixRf"),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.sendEvent=function(t){var e=this;return this._buffer.add(new Promise((function(n,r){var i=new XMLHttpRequest;i.onreadystatechange=function(){4===i.readyState&&(200===i.status&&n({status:o.Status.fromHttpCode(i.status)}),r(i))},i.open("POST",e.url),i.send(JSON.stringify(t))})))},e}(n("q7k6").BaseTransport)},dXN1:function(t,e,n){"use strict";n.r(e),function(t,r){function o(t,e){return t.require(e)}function i(){return"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}n.d(e,"dynamicRequire",(function(){return o})),n.d(e,"isNodeEnv",(function(){return i})),n.d(e,"getGlobalObject",(function(){return s})),n.d(e,"uuid4",(function(){return u})),n.d(e,"parseUrl",(function(){return a})),n.d(e,"getEventDescription",(function(){return l})),n.d(e,"consoleSandbox",(function(){return f})),n.d(e,"addExceptionTypeValue",(function(){return p}));var c={};function s(){return i()?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:c}function u(){var t=s(),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 l(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 f(t){var e=s();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__&&(r[t]=n[t].__sentry_wrapped__,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,r){void 0===r&&(r={handled:!0,type:"generic"}),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",t.exception.values[0].mechanism=t.exception.values[0].mechanism||r}}.call(this,n("Qi+u"),n("wFps"))},dwE5:function(t,e,n){"use strict";n.r(e),n.d(e,"defaultIntegrations",(function(){return h})),n.d(e,"init",(function(){return _})),n.d(e,"showReportDialog",(function(){return v})),n.d(e,"lastEventId",(function(){return g})),n.d(e,"forceLoad",(function(){return y})),n.d(e,"onLoad",(function(){return b})),n.d(e,"flush",(function(){return m})),n.d(e,"close",(function(){return E})),n.d(e,"wrap",(function(){return O}));var r=n("Qd/u"),o=n("bu5v"),i=n("5DM2"),c=n("dXN1"),s=n("HcjI"),u=n("6de5"),a=n("PxKW"),l=n("9Fph"),f=n("Zspv"),p=n("+Sqj"),d=n("4oXL"),h=[new r.Integrations.InboundFilters,new r.Integrations.FunctionToString,new a.TryCatch,new l.Breadcrumbs,new f.GlobalHandlers,new p.LinkedErrors,new d.UserAgent];function _(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=h),void 0===t.release){var e=Object(c.getGlobalObject)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}Object(o.initAndBind)(s.BrowserClient,t)}function v(t){void 0===t&&(t={}),t.eventId||(t.eventId=Object(i.getCurrentHub)().lastEventId());var e=Object(i.getCurrentHub)().getClient();e&&e.showReportDialog(t)}function g(){return Object(i.getCurrentHub)().lastEventId()}function y(){}function b(t){t()}function m(t){var e=Object(i.getCurrentHub)().getClient();return e?e.flush(t):Promise.reject(!1)}function E(t){var e=Object(i.getCurrentHub)().getClient();return e?e.close(t):Promise.reject(!1)}function O(t){return Object(u.wrap)(t)()}},hyKi:function(t,e,n){"use strict";n.r(e),n.d(e,"supportsErrorEvent",(function(){return i})),n.d(e,"supportsDOMError",(function(){return c})),n.d(e,"supportsDOMException",(function(){return s})),n.d(e,"supportsFetch",(function(){return u})),n.d(e,"supportsNativeFetch",(function(){return a})),n.d(e,"supportsReportingObserver",(function(){return l})),n.d(e,"supportsReferrerPolicy",(function(){return f})),n.d(e,"supportsHistory",(function(){return p}));var r=n("kMmw"),o=n("dXN1");function i(){try{return new ErrorEvent(""),!0}catch(t){return!1}}function c(){try{return new DOMError(""),!0}catch(t){return!1}}function s(){try{return new DOMException(""),!0}catch(t){return!1}}function u(){if(!("fetch"in Object(o.getGlobalObject)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function a(){if(!u())return!1;var t=function(t){return-1!==t.toString().indexOf("native")},e=Object(o.getGlobalObject)(),n=null,i=e.document;if(i){var c=i.createElement("iframe");c.hidden=!0;try{i.head.appendChild(c),c.contentWindow&&c.contentWindow.fetch&&(n=t(c.contentWindow.fetch)),i.head.removeChild(c)}catch(t){r.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}}return null===n&&(n=t(e.fetch)),n}function l(){return"ReportingObserver"in Object(o.getGlobalObject)()}function f(){if(!u())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}function p(){var t=Object(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}},ixRf:function(t,e,n){"use strict";var r;n.r(e),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={}))},k0Gh:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"fill",(function(){return s})),n.d(e,"urlEncode",(function(){return u})),n.d(e,"normalizeToSize",(function(){return l})),n.d(e,"walk",(function(){return p})),n.d(e,"normalize",(function(){return d}));var r=n("kg4F"),o=n.n(r),i=n("kfBU"),c=n("nY8L");function s(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__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})}catch(t){}t[e]=o}}function u(t){return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")}function a(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function l(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r=d(t,e);return a(r)>n?l(t,e-1,n):r}function f(e,n){return"domain"===n&&"object"===o()(e)&&e._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":void 0!==t&&e===t?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":"undefined"!=typeof Event&&e instanceof Event?Object.getPrototypeOf(e)?e.constructor.name:"Event":Object(i.isSyntheticEvent)(e)?"[SyntheticEvent]":Number.isNaN(e)?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+(e.name||"<unknown-function-name>")+"]":e}function p(t,e,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new c.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=f(t);return Object(i.isPrimitive)(n)?n:e}(e);if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();var o=f(e,t);if(Object(i.isPrimitive)(o))return o;var s=Object(i.isError)(e)?function(t){var e={message:t.message,name:t.name,stack:t.stack};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}(e):e,u=Array.isArray(e)?[]:{};if(r.memoize(e))return"[Circular ~]";for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(u[a]=p(a,s[a],n-1,r));return r.unmemoize(e),u}function d(t,e){try{return JSON.parse(JSON.stringify(t,(function(t,n){return p(t,n,e)})))}catch(t){return"**non-serializable**"}}}.call(this,n("wFps"))},kMmw:function(t,e,n){"use strict";n.r(e),n.d(e,"logger",(function(){return s}));var r=n("dXN1"),o=Object(r.getGlobalObject)(),i="Sentry Logger ",c=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&&Object(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&&Object(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&&Object(r.consoleSandbox)((function(){o.console.error(i+"[Error]: "+t.join(" "))}))},t}();o.__SENTRY__=o.__SENTRY__||{};var s=o.__SENTRY__.logger||(o.__SENTRY__.logger=new c)},kfBU:function(t,e,n){"use strict";n.r(e),n.d(e,"isError",(function(){return i})),n.d(e,"isErrorEvent",(function(){return c})),n.d(e,"isDOMError",(function(){return s})),n.d(e,"isDOMException",(function(){return u})),n.d(e,"isString",(function(){return a})),n.d(e,"isPrimitive",(function(){return l})),n.d(e,"isPlainObject",(function(){return f})),n.d(e,"isRegExp",(function(){return p})),n.d(e,"isThenable",(function(){return d})),n.d(e,"isSyntheticEvent",(function(){return h}));var r=n("kg4F"),o=n.n(r);function i(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function c(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function s(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function u(t){return"[object DOMException]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function l(t){return null===t||"object"!==o()(t)&&"function"!=typeof t}function f(t){return"[object Object]"===Object.prototype.toString.call(t)}function p(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function d(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function h(t){return f(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}},"m/UZ":function(t,e,n){"use strict";n.r(e),n.d(e,"BrowserBackend",(function(){return h}));var r=n("XMIM"),o=n("uJqk"),i=n("2A+w"),c=n("hyKi"),s=n("kfBU"),u=n("29qi"),a=n("dXN1"),l=n("s6PE"),f=n("pYdy"),p=n("3dNi"),d=n("cgyE"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=r.__assign({},this._options.transportOptions,{dsn:this._options.dsn});return this._options.transport?new this._options.transport(e):Object(c.supportsFetch)()?new p.FetchTransport(e):new d.XHRTransport(e)},e.prototype.eventFromException=function(t,e){var n,r=this;if(Object(s.isErrorEvent)(t)&&t.error)return t=t.error,n=Object(l.eventFromStacktrace)(Object(f._computeStackTrace)(t)),u.SyncPromise.resolve(this._buildEvent(n,e));if(Object(s.isDOMError)(t)||Object(s.isDOMException)(t)){var o=t,c=o.name||(Object(s.isDOMError)(o)?"DOMError":"DOMException"),p=o.message?c+": "+o.message:c;return this.eventFromMessage(p,i.Severity.Error,e).then((function(t){return Object(a.addExceptionTypeValue)(t,p),u.SyncPromise.resolve(r._buildEvent(t,e))}))}if(Object(s.isError)(t))return n=Object(l.eventFromStacktrace)(Object(f._computeStackTrace)(t)),u.SyncPromise.resolve(this._buildEvent(n,e));if(Object(s.isPlainObject)(t)&&e&&e.syntheticException){var d=t;return n=Object(l.eventFromPlainObject)(d,e.syntheticException),Object(a.addExceptionTypeValue)(n,"Custom Object",void 0,{handled:!0,synthetic:!0,type:"generic"}),n.level=i.Severity.Error,u.SyncPromise.resolve(this._buildEvent(n,e))}var h=t;return this.eventFromMessage(h,void 0,e).then((function(t){return Object(a.addExceptionTypeValue)(t,""+h,void 0,{handled:!0,synthetic:!0,type:"generic"}),t.level=i.Severity.Error,u.SyncPromise.resolve(r._buildEvent(t,e))}))},e.prototype._buildEvent=function(t,e){return r.__assign({},t,{event_id:e&&e.event_id})},e.prototype.eventFromMessage=function(t,e,n){void 0===e&&(e=i.Severity.Info);var r={event_id:n&&n.event_id,level:e,message:t};if(this._options.attachStacktrace&&n&&n.syntheticException){var o=Object(f._computeStackTrace)(n.syntheticException),c=Object(l.prepareFramesForEvent)(o.stack);r.stacktrace={frames:c}}return u.SyncPromise.resolve(r)},e}(o.BaseBackend)},nY8L:function(t,e,n){"use strict";n.r(e),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}()},pYdy:function(t,e,n){"use strict";n.r(e),n.d(e,"_subscribe",(function(){return p})),n.d(e,"_installGlobalHandler",(function(){return d})),n.d(e,"_installGlobalUnhandledRejectionHandler",(function(){return h})),n.d(e,"_computeStackTrace",(function(){return _}));var r=n("XMIM"),o=n("dXN1"),i=n("kfBU"),c=Object(o.getGlobalObject)(),s={_report:!1,_collectWindowErrors:!1,_computeStackTrace:!1,_linesOfContext:!1},u="?",a=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function f(){return"undefined"==typeof document||null==document.location?"":document.location.href}s._report=function(){var t,e,n=[],o=null,p=null;function d(t,e,r){var o=null;if(!e||s._collectWindowErrors){for(var i in n)if(l(n,i))try{n[i](t,e,r)}catch(t){o=t}if(o)throw o}}function h(e,n,o,c,l){var h=null;if(l=Object(i.isErrorEvent)(l)?l.error:l,e=Object(i.isErrorEvent)(e)?e.message:e,p)s._computeStackTrace._augmentStackTraceWithInitialElement(p,n,o,e),v();else if(l&&Object(i.isError)(l))(h=s._computeStackTrace(l)).mechanism="onerror",d(h,!0,l);else{var _,g={url:n,line:o,column:c},y=e;if("[object String]"==={}.toString.call(e)){var b=e.match(a);b&&(_=b[1],y=b[2])}g.func=u,g.context=null,d(h={name:_,message:y,mode:"onerror",mechanism:"onerror",stack:[r.__assign({},g,{url:g.url||f()})]},!0,null)}return!!t&&t.apply(this,arguments)}function _(t){var e=t;try{e=t&&"reason"in t?t.reason:t}catch(t){}var n=s._computeStackTrace(e);n.mechanism="onunhandledrejection",d(n,!0,e)}function v(){var t=p,e=o;p=null,o=null,d(t,!1,e)}function g(t){if(p){if(o===t)return;v()}var e=s._computeStackTrace(t);throw p=e,o=t,setTimeout((function(){o===t&&v()}),e.incomplete?2e3:0),t}return g._subscribe=function(t){n.push(t)},g._installGlobalHandler=function(){!0!==e&&(t=c.onerror,c.onerror=h,e=!0)},g._installGlobalUnhandledRejectionHandler=function(){c.onunhandledrejection=_},g}(),s._computeStackTrace=function(){function t(t){if(!t||!t.stack)return null;for(var e,n,r,o=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[-a-z]+:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,l=t.stack.split("\n"),f=[],p=/^(.*) is undefined$/.exec(t.message),d=0,h=l.length;d<h;++d){if(n=o.exec(l[d])){var _=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=a.exec(n[2]))&&(n[2]=e[1],n[3]=e[2],n[4]=e[3]),r={url:n[2],func:n[1]||u,args:_?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=c.exec(l[d]))r={url:n[2],func:n[1]||u,args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=i.exec(l[d])))continue;n[3]&&n[3].indexOf(" > eval")>-1&&(e=s.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==d||n[5]||void 0===t.columnNumber||(f[0].column=t.columnNumber+1),r={url:n[3],func:n[1]||u,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func=u),r.context=null,f.push(r)}return f.length?(f[0]&&f[0].line&&!f[0].column&&p&&(f[0].column=null),{mode:"stack",name:t.name,message:t.message,stack:f}):null}function e(t,e,n,r){var o={url:e,line:n};if(o.url&&o.line){if(t.incomplete=!1,o.func||(o.func=u),o.context||(o.context=null),/ '([^']+)' /.exec(r)&&(o.column=null),t.stack.length>0&&t.stack[0].url===o.url){if(t.stack[0].line===o.line)return!1;if(!t.stack[0].line&&t.stack[0].func===o.func)return t.stack[0].line=o.line,t.stack[0].context=o.context,!1}return t.stack.unshift(o),t.partial=!0,!0}return t.incomplete=!0,!1}function n(t,r){for(var o,i,c=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,a=[],l={},f=!1,p=n.caller;p&&!f;p=p.caller)if(p!==_&&p!==s._report){if(i={url:null,func:u,args:[],line:null,column:null},p.name?i.func=p.name:(o=c.exec(p.toString()))&&(i.func=o[1]),void 0===i.func)try{i.func=o.input.substring(0,o.input.indexOf("{"))}catch(t){}l[""+p]?f=!0:l[""+p]=!0,a.push(i)}r&&a.splice(0,r);var d={mode:"callers",name:t.name,message:t.message,stack:a};return e(d,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),d}function o(e,r){var o=null,s=e&&e.framesToPop;r=null==r?0:+r;try{if(o=function(t){var e=t.stacktrace;if(e){for(var n,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,o=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,i=e.split("\n"),c=[],s=0;s<i.length;s+=2){var a=null;(n=r.exec(i[s]))?a={url:n[2],line:+n[1],column:null,func:n[3],args:[]}:(n=o.exec(i[s]))&&(a={url:n[6],line:+n[1],column:+n[2],func:n[3]||n[4],args:n[5]?n[5].split(","):[]}),a&&(!a.func&&a.line&&(a.func=u),a.line&&(a.context=null),a.context||(a.context=[i[s+1]]),c.push(a))}return c.length?{mode:"stacktrace",name:t.name,message:t.message,stack:c}:null}}(e))return i(o,s)}catch(t){}try{if(o=t(e))return i(o,s)}catch(t){}try{if(o=function(t){var e=t.message.split("\n");if(e.length<4)return null;var n,r=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,o=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,i=/^\s*Line (\d+) of function script\s*$/i,s=[],a=c&&c.document&&c.document.getElementsByTagName("script"),p=[];for(var d in a)l(a,d)&&!a[d].src&&p.push(a[d]);for(var h=2;h<e.length;h+=2){var _=null;if(n=r.exec(e[h]))_={url:n[2],func:n[3],args:[],line:+n[1],column:null};else if(n=o.exec(e[h]))_={url:n[3],func:n[4],args:[],line:+n[1],column:null};else if(n=i.exec(e[h])){_={url:f().replace(/#.*$/,""),func:"",args:[],line:n[1],column:null}}_&&(_.func||(_.func=u),_.context=[e[h+1]],s.push(_))}return s.length?{mode:"multiline",name:t.name,message:e[0],stack:s}:null}(e))return i(o,s)}catch(t){}try{if(o=n(e,r+1))return i(o,s)}catch(t){}return{original:e,name:e&&e.name,message:e&&e.message,mode:"failed"}}function i(t,e){if(Number.isNaN(e))return t;try{return r.__assign({},t,{stack:t.stack.slice(e)})}catch(e){return t}}return o._augmentStackTraceWithInitialElement=e,o._computeStackTraceFromStackProp=t,o}(),s._collectWindowErrors=!0,s._linesOfContext=11;var p=s._report._subscribe,d=s._report._installGlobalHandler,h=s._report._installGlobalUnhandledRejectionHandler,_=s._computeStackTrace},pyV8:function(t,e,n){"use strict";var r;n.r(e),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__?this.__sentry_original__:this;return r.apply(n,t)}},t.id="FunctionToString",t}()},q7k6:function(t,e,n){"use strict";n.r(e),n.d(e,"BaseTransport",(function(){return c}));var r=n("MM0u"),o=n("qKOu"),i=n("seRV"),c=function(){function t(t){this.options=t,this._buffer=new o.PromiseBuffer(30),this.url=new r.API(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new i.SentryError("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t}()},qKOu:function(t,e,n){"use strict";n.r(e),n.d(e,"PromiseBuffer",(function(){return o}));var r=n("seRV"),o=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)})).catch((function(){return e.remove(t).catch((function(){}))})),t):Promise.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 Promise((function(n){var r=setTimeout((function(){t&&t>0&&n(!1)}),t);Promise.all(e._buffer).then((function(){clearTimeout(r),n(!0)})).catch((function(){n(!0)}))}))},t}()},s6PE:function(t,e,n){"use strict";n.r(e),n.d(e,"exceptionFromStacktrace",(function(){return s})),n.d(e,"eventFromPlainObject",(function(){return u})),n.d(e,"eventFromStacktrace",(function(){return a})),n.d(e,"prepareFramesForEvent",(function(){return l}));var r=n("k0Gh"),o=n("/67D"),i=n("pYdy"),c=50;function s(t){var e=l(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 u(t,e){var n=Object.keys(t).sort(),c={extra:{__serialized__:Object(r.normalizeToSize)(t)},message:"Non-Error exception captured with keys: "+Object(o.keysToEventMessage)(n)};if(e){var s=l(Object(i._computeStackTrace)(e).stack);c.stacktrace={frames:s}}return c}function a(t){return{exception:{values:[s(t)]}}}function l(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",r=e[e.length-1].func||"";return(n.includes("captureMessage")||n.includes("captureException"))&&(e=e.slice(1)),r.includes("sentryWrapped")&&(e=e.slice(0,-1)),e.map((function(t){return{colno:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:t.line}})).slice(0,c).reverse()}},seRV:function(t,e,n){"use strict";n.r(e),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,Object(o.setPrototypeOf)(r,n.prototype),r}return r.__extends(e,t),e}(Error)},"t+I2":function(t,e,n){"use strict";n.r(e),n.d(e,"installedIntegrations",(function(){return s})),n.d(e,"getIntegrationsToSetup",(function(){return u})),n.d(e,"setupIntegration",(function(){return a})),n.d(e,"setupIntegrations",(function(){return l}));var r=n("XMIM"),o=n("/PaG"),i=n("5DM2"),c=n("kMmw"),s=[];function u(t){var e=t.defaultIntegrations&&r.__spread(t.defaultIntegrations)||[],n=t.integrations,o=[];if(Array.isArray(n)){var i=n.map((function(t){return t.name})),c=[];e.forEach((function(t){-1===i.indexOf(t.name)&&-1===c.indexOf(t.name)&&(o.push(t),c.push(t.name))})),n.forEach((function(t){-1===c.indexOf(t.name)&&(o.push(t),c.push(t.name))}))}else{if("function"!=typeof n)return r.__spread(e);o=n(e),o=Array.isArray(o)?o:[o]}return o}function a(t){-1===s.indexOf(t.name)&&(t.setupOnce(o.addGlobalEventProcessor,i.getCurrentHub),s.push(t.name),c.logger.log("Integration installed: "+t.name))}function l(t){var e={};return u(t).forEach((function(t){e[t.name]=t,a(t)})),e}},uJqk:function(t,e,n){"use strict";n.r(e),n.d(e,"BaseBackend",(function(){return c}));var r=n("kMmw"),o=n("seRV"),i=n("A+DZ"),c=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._setupTransport=function(){return new i.NoopTransport},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).catch((function(t){r.logger.error("Error while sending event: "+t)}))},t.prototype.getTransport=function(){return this._transport},t}()},ymWa:function(t,e,n){"use strict";n.r(e),n.d(e,"TRACEPARENT_REGEXP",(function(){return o})),n.d(e,"Span",(function(){return i}));var r=n("dXN1"),o=/^[ \t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \t]*$/,i=function(){function t(t,e,n,o){void 0===t&&(t=Object(r.uuid4)()),void 0===e&&(e=Object(r.uuid4)().substring(16)),this._traceId=t,this._spanId=e,this._sampled=n,this._parent=o}return t.prototype.setParent=function(t){return this._parent=t,this},t.prototype.setSampled=function(t){return this._sampled=t,this},t.fromTraceparent=function(e){var n=e.match(o);if(n){var r=void 0;"1"===n[3]?r=!0:"0"===n[3]&&(r=!1);var i=new t(n[1],n[2],r);return new t(n[1],void 0,r,i)}},t.prototype.toTraceparent=function(){var t="";return!0===this._sampled?t="-1":!1===this._sampled&&(t="-0"),this._traceId+"-"+this._spanId+t},t.prototype.toJSON=function(){return{parent:this._parent&&this._parent.toJSON()||void 0,sampled:this._sampled,span_id:this._spanId,trace_id:this._traceId}},t}()}}]);
//# sourceMappingURL=sentry.js.map