LocalCDN-Firefox-Chrome-Brave/resources/findify-bundle/6.9.15/vendors~sentry.js

31 lines
97 KiB
JavaScript

(window.findifyJsonp=window.findifyJsonp||[]).push([[2],{"1Hxs":function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0});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}();e.FunctionToString=o},"9EIM":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(e.Severity||(e.Severity={})),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}}}(e.Severity||(e.Severity={})),function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(e.Status||(e.Status={})),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}}(e.Status||(e.Status={}))},"9mya":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("rFKW"),i=n("NBgs"),a=n("MoD/"),s=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){var e=this;o.addGlobalEventProcessor(function(n){return r.__awaiter(e,void 0,void 0,function(){var e;return r.__generator(this,function(r){if(e=o.getCurrentHub().getIntegration(t)){try{if(e.shouldDropEvent(n,e.previousEvent))return[2,null]}catch(t){return[2,e.previousEvent=n]}return[2,e.previousEvent=n]}return[2,n]})})})},t.prototype.shouldDropEvent=function(t,e){return!(!e||(this.isSameMessageEvent(t,e)?(i.logger.warn("Event dropped due to being a duplicate of previous event (same message).\nEvent: "+a.getEventDescription(t)),0):!this.isSameExceptionEvent(t,e)||(i.logger.warn("Event dropped due to being a duplicate of previous event (same exception).\nEvent: "+a.getEventDescription(t)),0)))},t.prototype.isSameMessageEvent=function(t,e){var n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!this.isSameFingerprint(t,e)||!this.isSameStacktrace(t,e))},t.prototype.getFramesFromEvent=function(t){var e=t.exception;if(!e)return t.stacktrace?t.stacktrace.frames:void 0;try{return e.values[0].stacktrace.frames}catch(t){return}},t.prototype.isSameStacktrace=function(t,e){var n=this.getFramesFromEvent(t),r=this.getFramesFromEvent(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,(r=r).length!==n.length)return!1;for(var o=0;o<r.length;o++){var i=r[o],a=n[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0},t.prototype.getExceptionFromEvent=function(t){return t.exception&&t.exception.values&&t.exception.values[0]},t.prototype.isSameExceptionEvent=function(t,e){var n=this.getExceptionFromEvent(e),r=this.getExceptionFromEvent(t);return!!(n&&r&&n.type===r.type&&n.value===r.value&&this.isSameFingerprint(t,e)&&this.isSameStacktrace(t,e))},t.prototype.isSameFingerprint=function(t,e){var n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(t){return!1}},t.id="Dedupe",t}();e.Dedupe=s},Bux2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("uRv/");e.addBreadcrumb=r.addBreadcrumb,e.captureException=r.captureException,e.captureEvent=r.captureEvent,e.captureMessage=r.captureMessage,e.configureScope=r.configureScope,e.withScope=r.withScope;var o=n("rFKW");e.addGlobalEventProcessor=o.addGlobalEventProcessor,e.getCurrentHub=o.getCurrentHub,e.Hub=o.Hub,e.getHubFromCarrier=o.getHubFromCarrier,e.Scope=o.Scope;var i=n("rc12");e.API=i.API;var a=n("CPqQ");e.BaseClient=a.BaseClient;var s=n("ddDu");e.BaseBackend=s.BaseBackend;var u=n("Z+By");e.Dsn=u.Dsn;var c=n("F9tV");e.SentryError=c.SentryError;var l=n("C+5q");e.PromiseBuffer=l.PromiseBuffer;var f=n("Rv5R");e.LogLevel=f.LogLevel;var p=n("kLcx");e.initAndBind=p.initAndBind;var d=n("eW+Q");e.NoopTransport=d.NoopTransport;var h=n("hiTO");e.Integrations=h},"C+5q":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("F9tV"),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){return r.__awaiter(this,void 0,void 0,function(){var e=this;return r.__generator(this,function(n){return this.isReady()?(-1===this.buffer.indexOf(t)&&this.buffer.push(t),t.then(function(){return r.__awaiter(e,void 0,void 0,function(){return r.__generator(this,function(e){return[2,this.remove(t)]})})}).catch(function(){return r.__awaiter(e,void 0,void 0,function(){return r.__generator(this,function(e){return[2,this.remove(t).catch(function(){})]})})}),[2,t]):[2,Promise.reject(new o.SentryError("Not adding Promise due to buffer limit reached."))]})})},t.prototype.remove=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){return[2,this.buffer.splice(this.buffer.indexOf(t),1)[0]]})})},t.prototype.length=function(){return this.buffer.length},t.prototype.drain=function(t){return r.__awaiter(this,void 0,void 0,function(){var e=this;return r.__generator(this,function(n){return[2,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}();e.PromiseBuffer=i},CPqQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("9EIM"),i=n("H/kl"),a=n("g4Tb"),s=n("NBgs"),u=n("MoD/"),c=n("dJ+I"),l=n("Z+By"),f=n("QrN2"),p=n("C+5q"),d=function(){function t(t,e){this.buffer=new p.PromiseBuffer,this.backend=new t(e),this.options=e,e.dsn&&(this.dsn=new l.Dsn(e.dsn)),this.integrations=f.setupIntegrations(this.options)}return t.prototype.install=function(){if(!this.isEnabled())return this.installed=!1;var t=this.getBackend();return!this.installed&&t.install&&t.install(),this.installed=!0},t.prototype.captureException=function(t,e,n){return r.__awaiter(this,void 0,void 0,function(){var o=this;return r.__generator(this,function(i){return[2,this.buffer.add(r.__awaiter(o,void 0,void 0,function(){var o;return r.__generator(this,function(r){switch(r.label){case 0:return[4,this.getBackend().eventFromException(t,e)];case 1:return o=r.sent(),[2,this.captureEvent(o,e,n)]}})}))]})})},t.prototype.captureMessage=function(t,e,n,o){return r.__awaiter(this,void 0,void 0,function(){var i=this;return r.__generator(this,function(s){return[2,this.buffer.add(r.__awaiter(i,void 0,void 0,function(){var i,s;return r.__generator(this,function(r){switch(r.label){case 0:return a.isPrimitive(t)?[4,this.getBackend().eventFromMessage(""+t,e,n)]:[3,2];case 1:return s=r.sent(),[3,4];case 2:return[4,this.getBackend().eventFromException(t,n)];case 3:s=r.sent(),r.label=4;case 4:return i=s,[2,this.captureEvent(i,n,o)]}})}))]})})},t.prototype.captureEvent=function(t,e,n){return r.__awaiter(this,void 0,void 0,function(){var o=this;return r.__generator(this,function(i){return[2,this.buffer.add(r.__awaiter(o,void 0,void 0,function(){var o=this;return r.__generator(this,function(i){return[2,this.processEvent(t,function(t){return r.__awaiter(o,void 0,void 0,function(){return r.__generator(this,function(e){return[2,this.getBackend().sendEvent(t)]})})},e,n)]})}))]})})},t.prototype.addBreadcrumb=function(t,e,n){var o=this.getOptions(),i=o.beforeBreadcrumb,a=o.maxBreadcrumbs,s=void 0===a?30:a;if(!(s<=0)){var c=(new Date).getTime()/1e3,l=r.__assign({timestamp:c},t),f=i?u.consoleSandbox(function(){return i(l,e)}):l;null!==f&&this.getBackend().storeBreadcrumb(f)&&n&&n.addBreadcrumb(f,Math.min(s,100))}},t.prototype.getDsn=function(){return this.dsn},t.prototype.getOptions=function(){return this.options},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){return r.__awaiter(this,void 0,void 0,function(){var o,i,a,s,l,f,p,d,h;return r.__generator(this,function(v){return o=this.getOptions(),i=o.environment,a=o.maxBreadcrumbs,s=void 0===a?30:a,l=o.release,f=o.dist,void 0===(p=r.__assign({},t)).environment&&void 0!==i&&(p.environment=i),void 0===p.release&&void 0!==l&&(p.release=l),void 0===p.dist&&void 0!==f&&(p.dist=f),p.message&&(p.message=c.truncate(p.message,250)),(d=p.exception&&p.exception.values&&p.exception.values[0])&&d.value&&(d.value=c.truncate(d.value,250)),(h=p.request)&&h.url&&(h.url=c.truncate(h.url,250)),void 0===p.event_id&&(p.event_id=u.uuid4()),this._addIntegrations(p.sdk),e?[2,e.applyToEvent(p,n,Math.min(s,100))]:[2,p]})})},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,a){return r.__awaiter(this,void 0,void 0,function(){var u,c,l,f,p,d,h,v;return r.__generator(this,function(r){switch(r.label){case 0:return this.isEnabled()?(u=this.getOptions(),c=u.beforeSend,"number"==typeof(l=u.sampleRate)&&Math.random()>l?[2,{status:o.Status.Skipped}]:[4,this.prepareEvent(t,a,n)]):[2,{status:o.Status.Skipped}];case 1:if(null===(f=r.sent()))return[2,{status:o.Status.Skipped}];p=f,r.label=2;case 2:return r.trys.push([2,5,,6]),n&&n.data&&!0===n.data.__sentry__||!c?[3,4]:[4,c(f,n)];case 3:void 0===(p=r.sent())&&s.logger.error("`beforeSend` method has to return `null` or a valid event"),r.label=4;case 4:return[3,6];case 5:return d=r.sent(),i.forget(this.captureException(d,{data:{__sentry__:!0},originalException:d})),[2,{reason:"Event processing in beforeSend method threw an exception",status:o.Status.Invalid}];case 6:if(null===p)return[2,{reason:"Event dropped due to being discarded by beforeSend method",status:o.Status.Skipped}];r.label=7;case 7:return r.trys.push([7,9,,10]),[4,e(p)];case 8:return(h=r.sent()).event=p,h.status,o.Status.RateLimit,[2,h];case 9:return v=r.sent(),s.logger.error(""+v),[2,{reason:""+v,status:o.Status.Failed}];case 10:return[2]}})})},t.prototype.flush=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){switch(e.label){case 0:return[4,Promise.all([this.getBackend().getTransport().close(t),this.buffer.drain(t)])];case 1:return[2,e.sent().reduce(function(t,e){return t&&e})]}})})},t.prototype.close=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){return[2,this.flush(t)]})})},t.prototype.getIntegrations=function(){return this.integrations||{}},t.prototype.getIntegration=function(t){try{return this.integrations[t.id]||null}catch(e){return s.logger.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t}();e.BaseClient=d},CbfU:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});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}();e.Memo=r},F9tV:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=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.setPrototypeOf(r,n.prototype),r}return r.__extends(e,t),e}(Error);e.SentryError=o},"H/kl":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM");e.forget=function(t){t.catch(function(t){console.error(t)})},e.filterAsync=function(t,e,n){return r.__awaiter(this,void 0,void 0,function(){var o;return r.__generator(this,function(r){switch(r.label){case 0:return[4,Promise.all(t.map(e,n))];case 1:return o=r.sent(),[2,t.filter(function(t,e){return o[e]})]}})})}},LSR8:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("rFKW"),i=n("g4Tb"),a=n("NBgs"),s=n("MoD/"),u=n("dJ+I"),c=[/^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(){var e=this;o.addGlobalEventProcessor(function(n){return r.__awaiter(e,void 0,void 0,function(){var e,i,a,s,u;return r.__generator(this,function(r){return(e=o.getCurrentHub())&&(i=e.getIntegration(t))&&(a=e.getClient(),s=a?a.getOptions():{},u=i.mergeOptions(s),i.shouldDropEvent(n,u))?[2,null]:[2,n]})})})},t.prototype.shouldDropEvent=function(t,e){return this.isSentryError(t,e)?(a.logger.warn("Event dropped due to being internal Sentry Error.\nEvent: "+s.getEventDescription(t)),!0):this.isIgnoredError(t,e)?(a.logger.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+s.getEventDescription(t)),!0):this.isBlacklistedUrl(t,e)?(a.logger.warn("Event dropped due to being matched by `blacklistUrls` option.\nEvent: "+s.getEventDescription(t)+".\nUrl: "+this.getEventFilterUrl(t)),!0):!this.isWhitelistedUrl(t,e)&&(a.logger.warn("Event dropped due to not being matched by `whitelistUrls` option.\nEvent: "+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){var n=this;return void 0===e&&(e={}),!(!e.ignoreErrors||!e.ignoreErrors.length)&&this.getPossibleEventMessages(t).some(function(t){return e.ignoreErrors.some(function(e){return n.isMatchingPattern(t,e)})})},t.prototype.isBlacklistedUrl=function(t,e){var n=this;if(void 0===e&&(e={}),!e.blacklistUrls||!e.blacklistUrls.length)return!1;var r=this.getEventFilterUrl(t);return!!r&&e.blacklistUrls.some(function(t){return n.isMatchingPattern(r,t)})},t.prototype.isWhitelistedUrl=function(t,e){var n=this;if(void 0===e&&(e={}),!e.whitelistUrls||!e.whitelistUrls.length)return!0;var r=this.getEventFilterUrl(t);return!r||e.whitelistUrls.some(function(t){return n.isMatchingPattern(r,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||[],c),ignoreInternal:void 0===this.options.ignoreInternal||this.options.ignoreInternal,whitelistUrls:r.__spread(this.options.whitelistUrls||[],t.whitelistUrls||[])}},t.prototype.isMatchingPattern=function(t,e){return i.isRegExp(e)?e.test(t):"string"==typeof e&&u.includes(t,e)},t.prototype.getPossibleEventMessages=function(t){if(t.message)return[t.message];if(!t.exception)return[];try{var e=t.exception.values[0],n=e.type,r=e.value;return[""+r,n+": "+r]}catch(e){return a.logger.error("Cannot extract message for event "+s.getEventDescription(t)),[]}},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 a.logger.error("Cannot extract url for event "+s.getEventDescription(t)),null}},t.id="InboundFilters",t}();e.InboundFilters=l},"MoD/":function(t,e,n){"use strict";(function(t,r){Object.defineProperty(e,"__esModule",{value:!0});var o=n("g4Tb");function i(){return"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}e.dynamicRequire=function(t,e){return t.require(e)},e.isNodeEnv=i;var a={};function s(){return i()?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:a}function u(t){var e,n,r,i,a,s=[];if(!t||!t.tagName)return"";if(s.push(t.tagName.toLowerCase()),t.id&&s.push("#"+t.id),(e=t.className)&&o.isString(e))for(n=e.split(/\s+/),a=0;a<n.length;a++)s.push("."+n[a]);var u=["type","name","title","alt"];for(a=0;a<u.length;a++)r=u[a],(i=t.getAttribute(r))&&s.push("["+r+'="'+i+'"]');return s.join("")}e.getGlobalObject=s,e.uuid4=function(){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)})},e.htmlTreeAsString=function(t){for(var e,n=t,r=[],o=0,i=0,a=" > ".length;n&&o++<5&&!("html"===(e=u(n))||o>1&&i+r.length*a+e.length>=80);)r.push(e),i+=e.length,n=n.parentNode;return r.reverse().join(" > ")},e.htmlElementAsString=u,e.parseUrl=function(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}},e.getEventDescription=function(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>"},e.consoleSandbox=function(t){var e=s();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log"].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}}).call(this,n("Qi+u"),n("wFps"))},NBgs:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("MoD/"),o=r.getGlobalObject(),i=new(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&&r.consoleSandbox(function(){o.console.log("Sentry Logger [Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&r.consoleSandbox(function(){o.console.warn("Sentry Logger [Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&r.consoleSandbox(function(){o.console.error("Sentry Logger [Error]: "+t.join(" "))})},t}());e.logger=i},Pa7q:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"Qi+u":function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},QrN2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("NBgs");function i(t){var e,n,o,i,a=t.defaultIntegrations&&r.__spread(t.defaultIntegrations)||[],u=t.integrations,c=[];if(Array.isArray(u)){var l=u.map(function(t){return t.name}),f=[];try{for(var p=r.__values(a),d=p.next();!d.done;d=p.next()){var h=d.value;-1===l.indexOf(s(h))&&-1===f.indexOf(s(h))&&(c.push(h),f.push(s(h)))}}catch(t){e={error:t}}finally{try{d&&!d.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}try{for(var v=r.__values(u),g=v.next();!g.done;g=v.next()){var y=g.value;-1===f.indexOf(s(y))&&(c.push(y),f.push(s(y)))}}catch(t){o={error:t}}finally{try{g&&!g.done&&(i=v.return)&&i.call(v)}finally{if(o)throw o.error}}}else{if("function"!=typeof u)return r.__spread(a);c=u(a),c=Array.isArray(c)?c:[c]}return c}function a(t,n){if(-1===e.installedIntegrations.indexOf(s(t))){try{t.setupOnce()}catch(e){t.install&&(o.logger.warn("Integration "+s(t)+': The install method is deprecated. Use "setupOnce".'),t.install(n))}e.installedIntegrations.push(s(t)),o.logger.log("Integration installed: "+s(t))}}function s(t){return t.constructor.id||t.name}e.installedIntegrations=[],e.getIntegrationsToSetup=i,e.setupIntegration=a,e.setupIntegrations=function(t){var e={};return i(t).forEach(function(n){e[s(n)]=n,a(n,t)}),e}},Rv5R:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.None=0]="None",t[t.Error=1]="Error",t[t.Debug=2]="Debug",t[t.Verbose=3]="Verbose"}(e.LogLevel||(e.LogLevel={}))},X7QM:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("rFKW"),i=n("tgq3"),a=function(){function t(e){void 0===e&&(e={});var n=this;this.name=t.id,this.iteratee=function(t){return r.__awaiter(n,void 0,void 0,function(){var e;return r.__generator(this,function(n){return t.filename&&t.filename.startsWith("/")&&(e=this.root?i.relative(this.root,t.filename):i.basename(t.filename),t.filename="app:///"+e),[2,t]})})},e.root&&(this.root=e.root),e.iteratee&&(this.iteratee=e.iteratee)}return t.prototype.setupOnce=function(){var e=this;o.addGlobalEventProcessor(function(n){return r.__awaiter(e,void 0,void 0,function(){var e;return r.__generator(this,function(r){return(e=o.getCurrentHub().getIntegration(t))?[2,e.process(n)]:[2,n]})})})},t.prototype.process=function(t){return r.__awaiter(this,void 0,void 0,function(){var e,n,o,i,a,s,u;return r.__generator(this,function(r){switch(r.label){case 0:if(!(e=this.getFramesFromEvent(t)))return[3,4];for(o in n=[],e)n.push(o);i=0,r.label=1;case 1:return i<n.length?(a=n[i],s=e,u=a,[4,this.iteratee(e[a])]):[3,4];case 2:s[u]=r.sent(),r.label=3;case 3:return i++,[3,1];case 4:return[2,t]}})})},t.prototype.getFramesFromEvent=function(t){var e=t.exception;if(!e)return t.stacktrace?t.stacktrace.frames:void 0;try{return e.values[0].stacktrace.frames}catch(t){return}},t.id="RewriteFrames",t}();e.RewriteFrames=a},XMIM:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",function(){return o}),n.d(e,"__assign",function(){return i}),n.d(e,"__rest",function(){return a}),n.d(e,"__decorate",function(){return s}),n.d(e,"__param",function(){return u}),n.d(e,"__metadata",function(){return c}),n.d(e,"__awaiter",function(){return l}),n.d(e,"__generator",function(){return f}),n.d(e,"__exportStar",function(){return p}),n.d(e,"__values",function(){return d}),n.d(e,"__read",function(){return h}),n.d(e,"__spread",function(){return v}),n.d(e,"__await",function(){return g}),n.d(e,"__asyncGenerator",function(){return y}),n.d(e,"__asyncDelegator",function(){return m}),n.d(e,"__asyncValues",function(){return _}),n.d(e,"__makeTemplateObject",function(){return b}),n.d(e,"__importStar",function(){return E}),n.d(e,"__importDefault",function(){return w});
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
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 a(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&&(n[r[o]]=t[r[o]])}return n}function s(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(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(a,s)}u((r=r.apply(t,e||[])).next())})}function f(t,e){var n,r,o,i,a={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(;a;)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 a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}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 p(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}function d(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 h(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.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 a}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}function g(t){return this instanceof g?(this.v=t,this):new g(t)}function y(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(t,e||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(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 g?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(t){l(i[0][3],t)}var n}function u(t){s("next",t)}function c(t){s("throw",t)}function l(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function m(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:g(t[r](e)),done:"return"===r}:o?o(e):e}:o}}function _(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=d(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 b(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function E(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}}},"Z+By":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("g4Tb"),i=n("oOxp"),a=n("F9tV"),s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,u=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,a=e.projectId;return e.protocol+"://"+e.user+(t&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+a},t.prototype.fromString=function(t){var e=s.exec(t);if(!e)throw new a.SentryError("Invalid Dsn");var n=r.__read(e.slice(1),6),o=n[0],u=n[1],c=n[2],l=void 0===c?"":c,f=n[3],p=n[4],d=void 0===p?"":p,h="",v=n[5],g=v.split("/");g.length>1&&(h=g.slice(0,-1).join("/"),v=g.pop()),i.assign(this,{host:f,pass:l,path:h,projectId:v,port:d,protocol:o,user:u})},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,e;try{for(var n=r.__values(["protocol","user","host","projectId"]),i=n.next();!i.done;i=n.next()){var s=i.value;if(!this[s])throw new a.SentryError("Invalid Dsn: Missing "+s)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}if("http"!==this.protocol&&"https"!==this.protocol)throw new a.SentryError('Invalid Dsn: Unsupported protocol "'+this.protocol+'"');if(this.port&&o.isNaN(parseInt(this.port,10)))throw new a.SentryError('Invalid Dsn: Invalid port number "'+this.port+'"')},t}();e.Dsn=u},Z3LN:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("MoD/"),i=n("oOxp"),a=function(){function t(){this.notifyingListeners=!1,this.scopeListeners=[],this.eventProcessors=[],this.breadcrumbs=[],this.user={},this.tags={},this.extra={}}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){return r.__awaiter(this,void 0,void 0,function(){var n,o,i,a,u,c,l;return r.__generator(this,function(f){switch(f.label){case 0:i=t,f.label=1;case 1:f.trys.push([1,8,9,10]),a=r.__values(r.__spread(s(),this.eventProcessors)),u=a.next(),f.label=2;case 2:if(u.done)return[3,7];c=u.value,f.label=3;case 3:return f.trys.push([3,5,,6]),[4,c(r.__assign({},i),e)];case 4:return null===(i=f.sent())?[2,null]:[3,6];case 5:return f.sent(),[3,6];case 6:return u=a.next(),[3,2];case 7:return[3,10];case 8:return l=f.sent(),n={error:l},[3,10];case 9:try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}return[7];case 10:return[2,i]}})})},t.prototype.setUser=function(t){return this.user=i.safeNormalize(t),this.notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this.tags=r.__assign({},this.tags,((n={})[t]=i.safeNormalize(e),n)),this.notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this.extra=r.__assign({},this.extra,((n={})[t]=i.safeNormalize(e),n)),this.notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this.fingerprint=i.safeNormalize(t),this.notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this.level=i.safeNormalize(t),this.notifyScopeListeners(),this},t.clone=function(e){var n=new t;return i.assign(n,e,{scopeListeners:[]}),e&&(n.extra=i.assign(e.extra),n.tags=i.assign(e.tags),n.breadcrumbs=r.__spread(e.breadcrumbs),n.eventProcessors=r.__spread(e.eventProcessors)),n},t.prototype.clear=function(){this.breadcrumbs=[],this.tags={},this.extra={},this.user={},this.level=void 0,this.fingerprint=void 0,this.notifyScopeListeners()},t.prototype.addBreadcrumb=function(t,e){this.breadcrumbs=void 0!==e&&e>=0?r.__spread(this.breadcrumbs,[i.safeNormalize(t)]).slice(-e):r.__spread(this.breadcrumbs,[i.safeNormalize(t)]),this.notifyScopeListeners()},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.message&&(t.fingerprint=t.fingerprint.concat(t.message)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t.prototype.applyToEvent=function(t,e,n){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(o){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.level&&(t.level=this.level),this.applyFingerprint(t),(!t.breadcrumbs||0===t.breadcrumbs.length)&&this.breadcrumbs.length>0&&(t.breadcrumbs=void 0!==n&&n>=0?this.breadcrumbs.slice(-n):this.breadcrumbs),[2,this.notifyEventProcessors(t,e)]})})},t}();function s(){var t=o.getGlobalObject();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}e.Scope=a,e.addGlobalEventProcessor=function(t){s().push(t)}},ZWPJ:function(t,e,n){"use strict";(function(t,r){Object.defineProperty(e,"__esModule",{value:!0});var o=n("XMIM"),i=n("Bux2"),a="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function s(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function u(t,e){return t(e={exports:{}},e.exports),e.exports}var c=u(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(e.Severity||(e.Severity={})),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}}}(e.Severity||(e.Severity={})),function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(e.Status||(e.Status={})),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}}(e.Status||(e.Status={}))});s(c);var l=c.Severity,f=c.Status,p=u(function(t,e){function n(t){return"[object Object]"===Object.prototype.toString.call(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.isError=function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}},e.isErrorEvent=function(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)},e.isDOMError=function(t){return"[object DOMError]"===Object.prototype.toString.call(t)},e.isDOMException=function(t){return"[object DOMException]"===Object.prototype.toString.call(t)},e.isUndefined=function(t){return void 0===t},e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isPrimitive=function(t){return null===t||"object"!=typeof t&&"function"!=typeof t},e.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},e.isPlainObject=n,e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},e.isNaN=function(t){return t!=t},e.isSyntheticEvent=function(t){return n(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}});s(p);var d=p.isError,h=p.isErrorEvent,v=p.isDOMError,g=p.isDOMException,y=p.isUndefined,m=p.isFunction,_=p.isString,b=(p.isPrimitive,p.isArray,p.isPlainObject),E=(p.isRegExp,p.isNaN,p.isSyntheticEvent,u(function(t,e){function n(){return"[object process]"===Object.prototype.toString.call(void 0!==r?r:0)}Object.defineProperty(e,"__esModule",{value:!0}),e.dynamicRequire=function(t,e){return t.require(e)},e.isNodeEnv=n;var o={};function i(){return n()?a:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function s(t){var e,n,r,o,i,a=[];if(!t||!t.tagName)return"";if(a.push(t.tagName.toLowerCase()),t.id&&a.push("#"+t.id),(e=t.className)&&p.isString(e))for(n=e.split(/\s+/),i=0;i<n.length;i++)a.push("."+n[i]);var s=["type","name","title","alt"];for(i=0;i<s.length;i++)r=s[i],(o=t.getAttribute(r))&&a.push("["+r+'="'+o+'"]');return a.join("")}e.getGlobalObject=i,e.uuid4=function(){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)})},e.htmlTreeAsString=function(t){for(var e,n=t,r=[],o=0,i=0,a=" > ".length;n&&o++<5&&!("html"===(e=s(n))||o>1&&i+r.length*a+e.length>=80);)r.push(e),i+=e.length,n=n.parentNode;return r.reverse().join(" > ")},e.htmlElementAsString=s,e.parseUrl=function(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}},e.getEventDescription=function(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>"},e.consoleSandbox=function(t){var e=i();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log"].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}}));s(E),E.dynamicRequire,E.isNodeEnv;var w=E.getGlobalObject,x=(E.uuid4,E.htmlTreeAsString),S=(E.htmlElementAsString,E.parseUrl),O=E.getEventDescription,j=(E.consoleSandbox,u(function(t,e){function n(){if(!("fetch"in E.getGlobalObject()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}Object.defineProperty(e,"__esModule",{value:!0}),e.supportsErrorEvent=function(){try{return new ErrorEvent(""),!0}catch(t){return!1}},e.supportsDOMError=function(){try{return new DOMError(""),!0}catch(t){return!1}},e.supportsDOMException=function(){try{return new DOMException(""),!0}catch(t){return!1}},e.supportsFetch=n,e.supportsNativeFetch=function(){return!!n()&&-1!==E.getGlobalObject().fetch.toString().indexOf("native")},e.supportsReportingObserver=function(){return"ReportingObserver"in E.getGlobalObject()},e.supportsReferrerPolicy=function(){if(!n())return!1;try{return new Request("pickleRick",{referrerPolicy:"origin"}),!0}catch(t){return!1}},e.supportsHistory=function(){var t=E.getGlobalObject(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&r}}));s(j),j.supportsErrorEvent,j.supportsDOMError,j.supportsDOMException;var k=j.supportsFetch,M=j.supportsNativeFetch,P=j.supportsReportingObserver,I=j.supportsReferrerPolicy,T=j.supportsHistory,C=u(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=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}();e.Memo=n});s(C),C.Memo;var R=u(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.truncate=function(t,e){return void 0===e&&(e=0),0!==e&&p.isString(t)?t.length<=e?t:t.substr(0,e)+"...":t},e.snipLine=function(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},e.safeJoin=function(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)},e.includes=function(t,e){return!(e.length>t.length)&&-1!==t.indexOf(e)}});s(R);var D=R.truncate,N=(R.snipLine,R.safeJoin),F=R.includes,H=u(function(t,e){function n(t){return JSON.stringify(t,c({normalize:!1}))}function r(t){return JSON.parse(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.serialize=n,e.deserialize=r,e.clone=function(t){return r(n(t))},e.fill=function(t,e,n){if(e in t&&!t[e].__sentry__){var r=t[e],o=n(r);"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})),t[e]=o}},e.urlEncode=function(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")};function o(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return R.truncate(t,40);if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=s(t);return p.isPrimitive(n)?""+n:e}function i(t,e){if(0===e)return o(t);if(p.isPlainObject(t)){var n={},r=t;return Object.keys(r).forEach(function(t){n[t]=i(r[t],e-1)}),n}return p.isArray(t)?t.map(function(t){return i(t,e-1)}):o(t)}function s(t,e){return"domain"===e&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==a&&t===a?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":"undefined"!=typeof Event&&t instanceof Event?Object.getPrototypeOf(t)?t.constructor.name:"Event":p.isSyntheticEvent(t)?"[SyntheticEvent]":p.isNaN(t)?"[NaN]":p.isUndefined(t)?"[undefined]":"function"==typeof t?"[Function: "+(t.name||"<unknown-function-name>")+"]":t}function u(t,e,n){if(void 0===e&&(e=1/0),void 0===n&&(n=new C.Memo),0===e)return o(t);var r=s(t);if(p.isPrimitive(r))return r;var i=p.isError(t)?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}(t):t,a=p.isArray(t)?[]:{};if(n.memoize(t))return"[Circular ~]";for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(a[c]=u(i[c],e-1,n));return n.unmemoize(t),a}function c(t){return void 0===t&&(t={normalize:!0}),function(e,n){return t.normalize?s(u(n,t.depth),e):u(n,t.depth)}}e.serializeObject=i,e.limitObjectDepthToSize=function t(e,r,o){void 0===r&&(r=3),void 0===o&&(o=102400);var a=i(e,r);return function(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}(n(a))>o?t(e,r-1):a},e.serializeKeysToEventMessage=function(t,e){if(void 0===e&&(e=40),!t.length)return"[object has no keys]";if(t[0].length>=e)return R.truncate(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:R.truncate(r,e)}return""},e.assign=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(null===t||void 0===t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),o=0;o<e.length;o++){var i=e[o];if(null!==i)for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])}return r},e.decycle=u,e.safeNormalize=function(t,e){try{return JSON.parse(JSON.stringify(t,c({normalize:!0,depth:e})))}catch(t){return"**non-serializable**"}}});s(H);var A=H.serialize,B=H.deserialize,L=(H.clone,H.fill),U=(H.urlEncode,H.serializeObject,H.limitObjectDepthToSize),z=H.serializeKeysToEventMessage,W=(H.assign,H.decycle,H.safeNormalize);function G(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function q(t,e,n,r,o,i){return G((a=G(G(e,t),G(r,i)))<<(s=o)|a>>>32-s,n);var a,s}function X(t,e,n,r,o,i,a){return q(e&n|~e&r,t,e,o,i,a)}function V(t,e,n,r,o,i,a){return q(e&r|n&~r,t,e,o,i,a)}function $(t,e,n,r,o,i,a){return q(e^n^r,t,e,o,i,a)}function J(t,e,n,r,o,i,a){return q(n^(e|~r),t,e,o,i,a)}function Y(t,e){var n,r,o,i,a;t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;var s=1732584193,u=-271733879,c=-1732584194,l=271733878;for(n=0;n<t.length;n+=16)r=s,o=u,i=c,a=l,u=J(u=J(u=J(u=J(u=$(u=$(u=$(u=$(u=V(u=V(u=V(u=V(u=X(u=X(u=X(u=X(u,c=X(c,l=X(l,s=X(s,u,c,l,t[n],7,-680876936),u,c,t[n+1],12,-389564586),s,u,t[n+2],17,606105819),l,s,t[n+3],22,-1044525330),c=X(c,l=X(l,s=X(s,u,c,l,t[n+4],7,-176418897),u,c,t[n+5],12,1200080426),s,u,t[n+6],17,-1473231341),l,s,t[n+7],22,-45705983),c=X(c,l=X(l,s=X(s,u,c,l,t[n+8],7,1770035416),u,c,t[n+9],12,-1958414417),s,u,t[n+10],17,-42063),l,s,t[n+11],22,-1990404162),c=X(c,l=X(l,s=X(s,u,c,l,t[n+12],7,1804603682),u,c,t[n+13],12,-40341101),s,u,t[n+14],17,-1502002290),l,s,t[n+15],22,1236535329),c=V(c,l=V(l,s=V(s,u,c,l,t[n+1],5,-165796510),u,c,t[n+6],9,-1069501632),s,u,t[n+11],14,643717713),l,s,t[n],20,-373897302),c=V(c,l=V(l,s=V(s,u,c,l,t[n+5],5,-701558691),u,c,t[n+10],9,38016083),s,u,t[n+15],14,-660478335),l,s,t[n+4],20,-405537848),c=V(c,l=V(l,s=V(s,u,c,l,t[n+9],5,568446438),u,c,t[n+14],9,-1019803690),s,u,t[n+3],14,-187363961),l,s,t[n+8],20,1163531501),c=V(c,l=V(l,s=V(s,u,c,l,t[n+13],5,-1444681467),u,c,t[n+2],9,-51403784),s,u,t[n+7],14,1735328473),l,s,t[n+12],20,-1926607734),c=$(c,l=$(l,s=$(s,u,c,l,t[n+5],4,-378558),u,c,t[n+8],11,-2022574463),s,u,t[n+11],16,1839030562),l,s,t[n+14],23,-35309556),c=$(c,l=$(l,s=$(s,u,c,l,t[n+1],4,-1530992060),u,c,t[n+4],11,1272893353),s,u,t[n+7],16,-155497632),l,s,t[n+10],23,-1094730640),c=$(c,l=$(l,s=$(s,u,c,l,t[n+13],4,681279174),u,c,t[n],11,-358537222),s,u,t[n+3],16,-722521979),l,s,t[n+6],23,76029189),c=$(c,l=$(l,s=$(s,u,c,l,t[n+9],4,-640364487),u,c,t[n+12],11,-421815835),s,u,t[n+15],16,530742520),l,s,t[n+2],23,-995338651),c=J(c,l=J(l,s=J(s,u,c,l,t[n],6,-198630844),u,c,t[n+7],10,1126891415),s,u,t[n+14],15,-1416354905),l,s,t[n+5],21,-57434055),c=J(c,l=J(l,s=J(s,u,c,l,t[n+12],6,1700485571),u,c,t[n+3],10,-1894986606),s,u,t[n+10],15,-1051523),l,s,t[n+1],21,-2054922799),c=J(c,l=J(l,s=J(s,u,c,l,t[n+8],6,1873313359),u,c,t[n+15],10,-30611744),s,u,t[n+6],15,-1560198380),l,s,t[n+13],21,1309151649),c=J(c,l=J(l,s=J(s,u,c,l,t[n+4],6,-145523070),u,c,t[n+11],10,-1120210379),s,u,t[n+2],15,718787259),l,s,t[n+9],21,-343485551),s=G(s,r),u=G(u,o),c=G(c,i),l=G(l,a);return[s,u,c,l]}function K(t){var e,n="",r=32*t.length;for(e=0;e<r;e+=8)n+=String.fromCharCode(t[e>>5]>>>e%32&255);return n}function Z(t){var e,n=[];for(n[(t.length>>2)-1]=void 0,e=0;e<n.length;e+=1)n[e]=0;var r=8*t.length;for(e=0;e<r;e+=8)n[e>>5]|=(255&t.charCodeAt(e/8))<<e%32;return n}function Q(t){var e,n,r="";for(n=0;n<t.length;n+=1)e=t.charCodeAt(n),r+="0123456789abcdef".charAt(e>>>4&15)+"0123456789abcdef".charAt(15&e);return r}function tt(t){return unescape(encodeURIComponent(t))}function et(t){return function(t){return K(Y(Z(t),8*t.length))}(tt(t))}function nt(t,e){return function(t,e){var n,r,o=Z(t),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=Y(o,8*t.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=Y(i.concat(Z(e)),512+8*e.length),K(Y(a.concat(r),640))}(tt(t),tt(e))}
/**
* TraceKit - Cross brower stack traces
*
* This was originally forked from github.com/occ/TraceKit, but has since been
* largely modified and is now maintained as part of Sentry JS SDK.
*
* NOTE: Last merge with upstream repository
* Jul 11,2018 - #f03357c
*
* https://github.com/csnover/TraceKit
* @license MIT
* @namespace TraceKit
*/
var rt=w(),ot={wrap:function(){return function(){}},report:!1,collectWindowErrors:!1,computeStackTrace:!1,remoteFetching:!1,linesOfContext:!1,extendToAsynchronousCallbacks:!1},it=[].slice,at="?",st=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function ut(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ct(){return"undefined"==typeof document||null==document.location?"":document.location.href}ot.wrap=function(t){return function(){try{return t.apply(this,arguments)}catch(t){throw ot.report(t),t}}},ot.report=function(){var t,e,n,r,i=[],a=null,s=null;function u(t,e,n){var r=null;if(!e||ot.collectWindowErrors){for(var o in i)if(ut(i,o))try{i[o](t,e,n)}catch(t){r=t}if(r)throw r}}function c(e,n,r,i,a){var c=null;if(a=h(a)?a.error:a,e=h(e)?e.message:e,s)ot.computeStackTrace.augmentStackTraceWithInitialElement(s,n,r,e),f();else if(a&&d(a))(c=ot.computeStackTrace(a)).mechanism="onerror",u(c,!0,a);else{var l,p={url:n,line:r,column:i},v=e;if("[object String]"==={}.toString.call(e)){var g=e.match(st);g&&(l=g[1],v=g[2])}p.func=ot.computeStackTrace.guessFunctionName(p.url,p.line),p.context=ot.computeStackTrace.gatherContext(p.url,p.line),u(c={name:l,message:v,mode:"onerror",mechanism:"onerror",stack:[o.__assign({},p,{url:p.url||ct()})]},!0,null)}return!!t&&t.apply(this,arguments)}function l(t){var e=t&&(t.detail?t.detail.reason:t.reason)||t,n=ot.computeStackTrace(e);n.mechanism="onunhandledrejection",u(n,!0,e)}function f(){var t=s,e=a;s=null,a=null,u(t,!1,e)}function p(t){if(s){if(a===t)return;f()}var e=ot.computeStackTrace(t);throw s=e,a=t,setTimeout(function(){a===t&&f()},e.incomplete?2e3:0),t}return p.subscribe=function(t){i.push(t)},p.unsubscribe=function(o){for(var a=i.length-1;a>=0;--a)i[a]===o&&i.splice(a,1);0===i.length&&(e&&(rt.onerror=t,e=!1),r&&(rt.onunhandledrejection=n,r=!1))},p.installGlobalHandler=function(){!0!==e&&(t=rt.onerror,rt.onerror=c,e=!0)},p.installGlobalUnhandledRejectionHandler=function(){!0!==r&&(n=rt.onunhandledrejection,rt.onunhandledrejection=l,r=!0)},p}(),ot.computeStackTrace=function(){var t=!1,e={};function n(t){if("string"!=typeof t)return[];if(!ut(e,t)){var n="",r="";try{r=rt.document.domain}catch(t){}var o=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(t);o&&o[2]===r&&(n=function(t){if(!ot.remoteFetching)return"";try{var e=function(){try{return new rt.XMLHttpRequest}catch(t){return new rt.ActiveXObject("Microsoft.XMLHTTP")}}();return e.open("GET",t,!1),e.send(""),e.responseText}catch(t){return""}}(t)),e[t]=n?n.split("\n"):[]}return e[t]}function r(t,e){var r,o=/function ([^(]*)\(([^)]*)\)/,i=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,a="",s=n(t);if(!s.length)return at;for(var u=0;u<10;++u)if(a=s[e-u]+a,!y(a)){if(r=i.exec(a))return r[1];if(r=o.exec(a))return r[1]}return at}function o(t,e){var r=n(t);if(!r.length)return null;var o=[],i=Math.floor(ot.linesOfContext/2),a=i+ot.linesOfContext%2,s=Math.max(0,e-i-1),u=Math.min(r.length,e+a-1);e-=1;for(var c=s;c<u;++c)y(r[c])||o.push(r[c]);return o.length>0?o:null}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function a(t){return i(t).replace("<","(?:<|&lt;)").replace(">","(?:>|&gt;)").replace("&","(?:&|&amp;)").replace('"','(?:"|&quot;)').replace(/\s+/g,"\\s+")}function s(t,e){for(var r,o,i=0,a=e.length;i<a;++i)if((r=n(e[i])).length&&(r=r.join("\n"),o=t.exec(r)))return{url:e[i],line:r.substring(0,o.index).split("\n").length,column:o.index-r.lastIndexOf("\n",o.index)-1};return null}function u(t,e,r){var o,a=n(e),s=new RegExp("\\b"+i(t)+"\\b");return r-=1,a&&a.length>r&&(o=s.exec(a[r]))?o.index:null}function c(t){if(!y(rt&&rt.document)){for(var e,n,r,o,u=[ct()],c=rt.document.getElementsByTagName("script"),l=""+t,f=0;f<c.length;++f){var p=c[f];p.src&&u.push(p.src)}if(r=/^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.exec(l)){var d=r[1]?"\\s+"+r[1]:"",h=r[2].split(",").join("\\s*,\\s*");e=i(r[3]).replace(/;$/,";?"),n=new RegExp("function"+d+"\\s*\\(\\s*"+h+"\\s*\\)\\s*{\\s*"+e+"\\s*}")}else n=new RegExp(i(l).replace(/\s+/g,"\\s+"));if(o=s(n,u))return o;if(r=/^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.exec(l)){var v=r[1];if(e=a(r[2]),o=s(n=new RegExp("on"+v+"=[\\'\"]\\s*"+e+"\\s*[\\'\"]","i"),u[0]))return o;if(o=s(n=new RegExp(e),u))return o}return null}}function l(t){if(!t.stack)return null;for(var e,n,i,a=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,f=/\((\S*)(?::(\d+))(?::(\d+))\)/,p=t.stack.split("\n"),d=[],h=/^(.*) is undefined$/.exec(t.message),v=0,g=p.length;v<g;++v){if(n=a.exec(p[v])){var m=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=f.exec(n[2]))&&(n[2]=e[1]),i={url:m?null:n[2],func:n[1]||at,args:m?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=c.exec(p[v]))i={url:n[2],func:n[1]||at,args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=s.exec(p[v])))continue;n[3]&&n[3].indexOf(" > eval")>-1&&(e=l.exec(n[3]))?n[3]=e[1]:0!==v||n[5]||y(t.columnNumber)||(d[0].column=t.columnNumber+1),i={url:n[3],func:n[1]||at,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}if(!i.func&&i.line&&(i.func=r(i.url,i.line)),ot.remoteFetching&&i.url&&"blob:"===i.url.substr(0,5)){var _=new XMLHttpRequest;if(_.open("GET",i.url,!1),_.send(""),200===_.status){var b=_.responseText||"",E=(b=b.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(E){var w=E[1];"~"===w.charAt(0)&&(w=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+w.slice(1)),i.url=w.slice(0,-4)}}}i.context=i.line?o(i.url,i.line):null,d.push(i)}return d.length?(d[0]&&d[0].line&&!d[0].column&&h&&(d[0].column=u(h[1],d[0].url,d[0].line)),{mode:"stack",name:t.name,message:t.message,stack:d}):null}function f(t,e,n,i){var a={url:e,line:n};if(a.url&&a.line){t.incomplete=!1,a.func||(a.func=r(a.url,a.line)),a.context||(a.context=o(a.url,a.line));var s=/ '([^']+)' /.exec(i);if(s&&(a.column=u(s[1],a.url,a.line)),t.stack.length>0&&t.stack[0].url===a.url){if(t.stack[0].line===a.line)return!1;if(!t.stack[0].line&&t.stack[0].func===a.func)return t.stack[0].line=a.line,t.stack[0].context=a.context,!1}return t.stack.unshift(a),t.partial=!0,!0}return t.incomplete=!0,!1}function p(t,e){for(var n,o,i,a=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,s=[],l={},h=!1,v=p.caller;v&&!h;v=v.caller)if(v!==d&&v!==ot.report){if(o={url:null,func:at,args:[],line:null,column:null},v.name?o.func=v.name:(n=a.exec(v.toString()))&&(o.func=n[1]),void 0===o.func)try{o.func=n.input.substring(0,n.input.indexOf("{"))}catch(t){}if(i=c(v)){o.url=i.url,o.line=i.line,o.func===at&&(o.func=r(o.url,o.line));var g=/ '([^']+)' /.exec(t.message||t.description);g&&(o.column=u(g[1],i.url,i.line))}l[""+v]?h=!0:l[""+v]=!0,s.push(o)}e&&s.splice(0,e);var y={mode:"callers",name:t.name,message:t.message,stack:s};return f(y,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),y}function d(e,i){var u=null;i=null==i?0:+i;try{if(u=function(t){var e=t.stacktrace;if(e){for(var n,i=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,a=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,s=e.split("\n"),u=[],c=0;c<s.length;c+=2){var l=null;if((n=i.exec(s[c]))?l={url:n[2],line:+n[1],column:null,func:n[3],args:[]}:(n=a.exec(s[c]))&&(l={url:n[6],line:+n[1],column:+n[2],func:n[3]||n[4],args:n[5]?n[5].split(","):[]}),l){if(!l.func&&l.line&&(l.func=r(l.url,l.line)),l.line)try{l.context=o(l.url,l.line)}catch(t){}l.context||(l.context=[s[c+1]]),u.push(l)}}return u.length?{mode:"stacktrace",name:t.name,message:t.message,stack:u}:null}}(e))return u}catch(e){if(t)throw e}try{if(u=l(e))return u}catch(e){if(t)throw e}try{if(u=function(t){var e=t.message.split("\n");if(e.length<4)return null;var i,u=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,c=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,l=/^\s*Line (\d+) of function script\s*$/i,f=[],p=rt&&rt.document&&rt.document.getElementsByTagName("script"),d=[];for(var h in p)ut(p,h)&&!p[h].src&&d.push(p[h]);for(var v=2;v<e.length;v+=2){var g=null;if(i=u.exec(e[v]))g={url:i[2],func:i[3],args:[],line:+i[1],column:null};else if(i=c.exec(e[v])){g={url:i[3],func:i[4],args:[],line:+i[1],column:null};var y=+i[1],m=d[i[2]-1];if(m){var _=n(g.url);if(_){var b=(_=_.join("\n")).indexOf(m.innerText);b>=0&&(g.line=y+_.substring(0,b).split("\n").length)}}}else if(i=l.exec(e[v])){var E=ct().replace(/#.*$/,""),w=s(new RegExp(a(e[v+1])),[E]);g={url:E,func:"",args:[],line:w?w.line:i[1],column:null}}if(g){g.func||(g.func=r(g.url,g.line));var x=o(g.url,g.line),S=x?x[Math.floor(x.length/2)]:null;x&&S.replace(/^\s*/,"")===e[v+1].replace(/^\s*/,"")?g.context=x:g.context=[e[v+1]],f.push(g)}}return f.length?{mode:"multiline",name:t.name,message:e[0],stack:f}:null}(e))return u}catch(e){if(t)throw e}try{if(u=p(e,i+1))return u}catch(e){if(t)throw e}return{original:e,name:e.name,message:e.message,mode:"failed"}}return d.augmentStackTraceWithInitialElement=f,d.computeStackTraceFromStackProp=l,d.guessFunctionName=r,d.gatherContext=o,d.ofCaller=function(t){t=1+(null==t?0:+t);try{throw new Error}catch(e){return d(e,t+1)}},d.getSource=n,d}(),ot.extendToAsynchronousCallbacks=function(){var t=function(t){var e=rt[t];rt[t]=function(){var t=it.call(arguments),n=t[0];return"function"==typeof n&&(t[0]=ot.wrap(n)),e.apply?e.apply(this,t):e(t[0],t[1])}};t("setTimeout"),t("setInterval")},ot.remoteFetching=!1,ot.collectWindowErrors=!0,ot.linesOfContext=11;var lt=ot.report.subscribe,ft=ot.report.installGlobalHandler,pt=ot.report.installGlobalUnhandledRejectionHandler,dt=ot.computeStackTrace,ht=50;function vt(t){var e=yt(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 gt(t){return{exception:{values:[vt(t)]}}}function yt(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",r=e[e.length-1].func||"";return(F(n,"captureMessage")||F(n,"captureException"))&&(e=e.slice(1)),F(r,"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,ht).reverse()}function mt(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"}var _t=function(){function t(t){this.options=t,this.buffer=new i.PromiseBuffer(30),this.url=new i.API(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){return o.__awaiter(this,void 0,void 0,function(){return o.__generator(this,function(t){throw new i.SentryError("Transport Class has to implement `sendEvent` method")})})},t.prototype.close=function(t){return o.__awaiter(this,void 0,void 0,function(){return o.__generator(this,function(e){return[2,this.buffer.drain(t)]})})},t}(),bt=w(),Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o.__extends(e,t),e.prototype.sendEvent=function(t){return o.__awaiter(this,void 0,void 0,function(){var e;return o.__generator(this,function(n){return e={body:t,method:"POST",referrerPolicy:I()?"origin":""},[2,this.buffer.add(bt.fetch(this.url,e).then(function(t){return{status:f.fromHttpCode(t.status)}}))]})})},e}(_t),wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o.__extends(e,t),e.prototype.sendEvent=function(t){return o.__awaiter(this,void 0,void 0,function(){var e=this;return o.__generator(this,function(n){return[2,this.buffer.add(new Promise(function(n,r){var o=new XMLHttpRequest;o.onreadystatechange=function(){4===o.readyState&&(200===o.status&&n({status:f.fromHttpCode(o.status)}),r(o))},o.open("POST",e.url),o.send(t)}))]})})},e}(_t),xt=Object.freeze({BaseTransport:_t,FetchTransport:Et,XHRTransport:wt}),St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o.__extends(e,t),e.prototype.install=function(){if(!this.options.dsn)throw new i.SentryError("Invariant exception: install() must not be called when disabled");return Error.stackTraceLimit=50,!0},e.prototype.setupTransport=function(){if(!this.options.dsn)return t.prototype.setupTransport.call(this);var e=this.options.transportOptions?this.options.transportOptions:{dsn:this.options.dsn};return this.options.transport?new this.options.transport(e):k()?new Et(e):new wt(e)},e.prototype.eventFromException=function(t,e){return o.__awaiter(this,void 0,void 0,function(){var n,r,i,a;return o.__generator(this,function(s){switch(s.label){case 0:return h(t)&&t.error?(t=(a=t).error,n=gt(dt(t)),[3,7]):[3,1];case 1:return v(t)||g(t)?(r=(a=t).name||(v(a)?"DOMError":"DOMException"),i=a.message?r+": "+a.message:r,[4,this.eventFromMessage(i,l.Error,e)]):[3,3];case 2:return mt(n=s.sent(),i),[3,7];case 3:return d(t)?(n=gt(dt(t)),[3,7]):[3,4];case 4:return b(t)&&e&&e.syntheticException?(mt(n=function(t,e){var n=Object.keys(t).sort(),r={extra:{__serialized__:U(t)},fingerprint:[function(t,e,n){return e?n?nt(e,t):Q(nt(e,t)):n?et(t):Q(et(t))}(n.join(""))],message:"Non-Error exception captured with keys: "+z(n)};if(e){var o=yt(dt(e).stack);r.stacktrace={frames:o}}return r}(a=t,e.syntheticException),"Custom Object"),[3,7]):[3,5];case 5:return a=t,[4,this.eventFromMessage(a,void 0,e)];case 6:mt(n=s.sent(),""+a),s.label=7;case 7:return[2,n=o.__assign({},n,{event_id:e&&e.event_id,exception:o.__assign({},n.exception,{mechanism:{handled:!0,type:"generic"}})})]}})})},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=l.Info),o.__awaiter(this,void 0,void 0,function(){var r,i,a;return o.__generator(this,function(o){return r={event_id:n&&n.event_id,level:e,message:t},this.options.attachStacktrace&&n&&n.syntheticException&&(i=dt(n.syntheticException),a=yt(i.stack),r.stacktrace={frames:a}),[2,r]})})},e}(i.BaseBackend),Ot=u(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=E.getGlobalObject(),r=new(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&&E.consoleSandbox(function(){n.console.log("Sentry Logger [Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&E.consoleSandbox(function(){n.console.warn("Sentry Logger [Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&E.consoleSandbox(function(){n.console.error("Sentry Logger [Error]: "+t.join(" "))})},t}());e.logger=r});s(Ot);var jt,kt,Mt=Ot.logger,Pt="sentry.javascript.browser",It=function(t){function e(e){return t.call(this,St,e)||this}return o.__extends(e,t),e.prototype.prepareEvent=function(e,n,r){return o.__awaiter(this,void 0,void 0,function(){return o.__generator(this,function(i){return e.platform=e.platform||"javascript",e.sdk=o.__assign({},e.sdk,{name:Pt,packages:o.__spread(e.sdk&&e.sdk.packages||[],[{name:"npm:@sentry/browser",version:"4.6.6"}]),version:"4.6.6"}),[2,t.prototype.prepareEvent.call(this,e,n,r)]})})},e.prototype.showReportDialog=function(t){void 0===t&&(t={});var e=w().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 i.API(n).getReportDialogEndpoint(t),(e.head||e.body).appendChild(r)}else Mt.error("Missing `Dsn` option in showReportDialog call");else Mt.error("Missing `eventId` option in showReportDialog call")}else Mt.error("Trying to call showReportDialog with Sentry Client is disabled")},e}(i.BaseClient),Tt=1e3,Ct=0;function Rt(t,e,n){if(void 0===e&&(e={}),!m(t))return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(e){return t}var r=function(){var r=this;n&&m(n)&&n.apply(this,arguments);var a=Array.prototype.slice.call(arguments);try{var s=a.map(function(t){return Rt(t,e)});return t.handleEvent?t.handleEvent.apply(this,s):t.apply(this,s)}catch(t){throw Ct+=1,setTimeout(function(){Ct-=1}),i.withScope(function(n){return o.__awaiter(r,void 0,void 0,function(){var r=this;return o.__generator(this,function(s){return n.addEventProcessor(function(t){return o.__awaiter(r,void 0,void 0,function(){var n;return o.__generator(this,function(r){return n=o.__assign({},t),e.mechanism&&(n.exception=n.exception||{},n.exception.mechanism=e.mechanism),n.extra=o.__assign({},n.extra,{arguments:W(a,3)}),[2,n]})})}),i.captureException(t),[2]})})}),t}};try{for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])}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.defineProperty(r,"name",{get:function(){return t.name}})}catch(t){}return r}function Dt(t){return function(e){if(jt=void 0,kt!==e){var n;kt=e;try{n=x(e.target)}catch(t){n="<unknown>"}i.getCurrentHub().addBreadcrumb({category:"ui."+t,message:n},{event:e,name:t})}}}function Nt(){return function(t){var e;try{e=t.target}catch(t){return}var n=e&&e.tagName;n&&("INPUT"===n||"TEXTAREA"===n||e.isContentEditable)&&(jt||Dt("input")(t),clearTimeout(jt),jt=setTimeout(function(){jt=void 0},Tt))}}var Ft=function(){function t(e){this.name=t.id,this.options=o.__assign({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){lt(function(e,n,r){if(!(Ct>0)){var o=i.getCurrentHub().getIntegration(t);o&&i.getCurrentHub().captureEvent(o.eventFromGlobalHandler(e),{originalException:r,data:{stack:e}})}}),this.options.onerror&&(Mt.log("Global Handler attached: onerror"),ft()),this.options.onunhandledrejection&&(Mt.log("Global Handler attached: onunhandledrejection"),pt())},t.prototype.eventFromGlobalHandler=function(t){var e=gt(t),n={mode:t.mode};t.message&&(n.message=t.message),t.name&&(n.name=t.name);var r=o.__assign({},e,{exception:o.__assign({},e.exception,{mechanism:{data:n,handled:!1,type:t.mechanism}})});return mt(r,void 0!==t.original?""+D(A(W(t.original)),300):"","onunhandledrejection"===t.mechanism?"UnhandledRejection":"Error"),r},t.id="GlobalHandlers",t}(),Ht=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]=Rt(r,{mechanism:{data:{function:At(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}},t.prototype.wrapRAF=function(t){return function(e){return t(Rt(e,{mechanism:{data:{function:"requestAnimationFrame",handler:At(t)},handled:!0,type:"instrument"}}))}},t.prototype.wrapEventTarget=function(t){var e=w(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(L(n,"addEventListener",function(e){return function(n,r,o){try{r.handleEvent=Rt(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:At(r),target:t},handled:!0,type:"instrument"}})}catch(t){}var i,a,s;return"EventTarget"!==t&&"Node"!==t||(a=Dt("click"),s=Nt(),i=function(t){if(t){var e;try{e=t.type}catch(t){return}return"click"===e?a(t):"keypress"===e?s(t):void 0}}),e.call(this,n,Rt(r,{mechanism:{data:{function:"addEventListener",handler:At(r),target:t},handled:!0,type:"instrument"}},i),o)}}),L(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=w();L(t,"setTimeout",this.wrapTimeFunction.bind(this)),L(t,"setInterval",this.wrapTimeFunction.bind(this)),L(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 At(t){try{return t&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}var Bt,Lt=w(),Ut=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 Lt&&["debug","info","warn","error","log"].forEach(function(e){e in Lt.console&&L(Lt.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:W(r,3)},logger:"console"},level:l.fromString(e),message:N(r," ")};"assert"===e&&!1===r[0]&&(i.message="Assertion failed: "+(N(r.slice(1)," ")||"console.assert"),i.data.extra.arguments=W(r.slice(1),3)),t.addBreadcrumb(i,{input:r,level:e}),n&&Function.prototype.apply.call(n,Lt.console,r)}})})},t.prototype.instrumentDOM=function(){"document"in Lt&&(Lt.document.addEventListener("click",Dt("click"),!1),Lt.document.addEventListener("keypress",Nt(),!1))},t.prototype.instrumentFetch=function(){M()&&L(Lt,"fetch",function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o,a=n[0],s="GET";"string"==typeof a?o=a:"Request"in Lt&&a instanceof Request?(o=a.url,a.method&&(s=a.method)):o=String(a),n[1]&&n[1].method&&(s=n[1].method);var u=i.getCurrentHub().getClient(),c=u&&u.getDsn();if(c){var f=new i.API(c).getStoreEndpoint();if(f&&F(o,f))return"POST"===s&&n[1]&&n[1].body&&zt(n[1].body),e.apply(Lt,n)}var p={method:s,url:o};return e.apply(Lt,n).then(function(e){return p.status_code=e.status,t.addBreadcrumb({category:"fetch",data:p,type:"http"},{input:n,response:e}),e}).catch(function(e){throw t.addBreadcrumb({category:"fetch",data:p,level:l.Error,type:"http"},{error:e,input:n}),e})}})},t.prototype.instrumentHistory=function(){var e=this;if(T()){var n=function(e,n){var r=S(Lt.location.href),o=S(n),i=S(e);i.path||(i=r),Bt=n,r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),r.protocol===i.protocol&&r.host===i.host&&(e=i.relative),t.addBreadcrumb({category:"navigation",data:{from:e,to:n}})},r=Lt.onpopstate;Lt.onpopstate=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var i=Lt.location.href;if(n(Bt,i),r)return r.apply(e,t)},L(Lt.history,"pushState",o),L(Lt.history,"replaceState",o)}function o(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=e.length>2?e[2]:void 0;return o&&n(Bt,String(o)),t.apply(this,e)}}},t.prototype.instrumentXHR=function(){if("XMLHttpRequest"in Lt){var e=XMLHttpRequest.prototype;L(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:e[0],url:e[1]};var o=i.getCurrentHub().getClient(),a=o&&o.getDsn();if(a){var s=new i.API(a).getStoreEndpoint();_(r)&&s&&F(r,s)&&(this.__sentry_own_request__=!0)}return t.apply(this,e)}}),L(e,"send",function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=this;function i(){if(4===o.readyState){if(o.__sentry_own_request__)return;try{o.__sentry_xhr__&&(o.__sentry_xhr__.status_code=o.status)}catch(t){}t.addBreadcrumb({category:"xhr",data:o.__sentry_xhr__,type:"http"},{xhr:o})}}return o.__sentry_own_request__&&zt(n[0]),["onload","onerror","onprogress"].forEach(function(t){!function(t,e){t in e&&m(e[t])&&L(e,t,function(e){return Rt(e,{mechanism:{data:{function:t,handler:e&&e.name||"<anonymous>"},handled:!0,type:"instrument"}})})}(t,o)}),"onreadystatechange"in o&&m(o.onreadystatechange)?L(o,"onreadystatechange",function(t){return Rt(t,{mechanism:{data:{function:"onreadystatechange",handler:t&&t.name||"<anonymous>"},handled:!0,type:"instrument"}},i)}):o.onreadystatechange=i,e.apply(this,n)}})}},t.addBreadcrumb=function(e,n){i.getCurrentHub().getIntegration(t)&&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 zt(t){try{var e=B(t);Ut.addBreadcrumb({category:"sentry",event_id:e.event_id,level:e.level||l.fromString("error"),message:O(e)},{event:e})}catch(t){Mt.error("Error while adding sentry type breadcrumb")}}var Wt,Gt="cause",qt=5,Xt=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this.key=e.key||Gt,this.limit=e.limit||qt}return t.prototype.setupOnce=function(){var e=this;i.addGlobalEventProcessor(function(n,r){return o.__awaiter(e,void 0,void 0,function(){var e;return o.__generator(this,function(o){return(e=i.getCurrentHub().getIntegration(t))?[2,e.handler(n,r)]:[2,n]})})})},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=o.__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 r=vt(dt(t[e]));return this.walkErrorTree(t[e],e,o.__spread([r],n))},t.id="LinkedErrors",t}(),Vt=w(),$t=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){var e=this;i.addGlobalEventProcessor(function(n){return o.__awaiter(e,void 0,void 0,function(){var e;return o.__generator(this,function(r){return i.getCurrentHub().getIntegration(t)&&Vt.navigator&&Vt.location?((e=n.request||{}).url=e.url||Vt.location.href,e.headers=e.headers||{},e.headers["User-Agent"]=Vt.navigator.userAgent,[2,o.__assign({},n,{request:e})]):[2,n]})})})},t.id="UserAgent",t}(),Jt=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this.Ember=e.Ember||w().Ember}return t.prototype.setupOnce=function(){var e=this;if(this.Ember){var n=this.Ember.onerror;this.Ember.onerror=function(r){if(i.getCurrentHub().getIntegration(t)&&i.withScope(function(t){e.addIntegrationToSdkInfo(t),i.captureException(r)}),"function"==typeof n)n.call(e.Ember,r);else if(e.Ember.testing)throw r},this.Ember.RSVP.on("error",function(n){i.getCurrentHub().getIntegration(t)&&i.withScope(function(t){n instanceof Error?(t.setExtra("context","Unhandled Promise error detected"),e.addIntegrationToSdkInfo(t),i.captureException(n)):(t.setExtra("reason",n),e.addIntegrationToSdkInfo(t),i.captureMessage("Unhandled Promise error detected"))})})}else Mt.error("EmberIntegration is missing an Ember instance")},t.prototype.addIntegrationToSdkInfo=function(t){var e=this;t.addEventProcessor(function(t){return o.__awaiter(e,void 0,void 0,function(){var e;return o.__generator(this,function(n){return t.sdk&&(e=t.sdk.integrations||[],t.sdk=o.__assign({},t.sdk,{integrations:o.__spread(e,["ember"])})),[2,t]})})})},t.id="Ember",t}(),Yt=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this.Vue=e.Vue||w().Vue,this.attachProps=e.attachProps||!0}return t.prototype.formatComponentName=function(t){if(t.$root===t)return"root instance";var e=t._isVue?t.$options.name||t.$options._componentTag:t.name;return(e?"component <"+e+">":"anonymous component")+(t._isVue&&t.$options.__file?" at "+t.$options.__file:"")},t.prototype.setupOnce=function(){var e=this;if(this.Vue&&this.Vue.config){var n=this.Vue.config.errorHandler;this.Vue.config.errorHandler=function(r,a,s){var u={};b(a)&&(u.componentName=e.formatComponentName(a),e.attachProps&&(u.propsData=a.$options.propsData)),y(s)||(u.lifecycleHook=s),i.getCurrentHub().getIntegration(t)&&i.withScope(function(t){Object.keys(u).forEach(function(e){t.setExtra(e,u[e])}),t.addEventProcessor(function(t){return o.__awaiter(e,void 0,void 0,function(){var e;return o.__generator(this,function(n){return t.sdk&&(e=t.sdk.integrations||[],t.sdk=o.__assign({},t.sdk,{integrations:o.__spread(e,["vue"])})),[2,t]})})}),i.captureException(r)}),"function"==typeof n&&n.call(e.Vue,r,a,s)}}else Mt.error("VueIntegration is missing a Vue instance")},t.id="Vue",t}();!function(t){t.Crash="crash",t.Deprecation="deprecation",t.Intervention="intervention"}(Wt||(Wt={}));var Kt=function(){function t(e){void 0===e&&(e={types:[Wt.Crash,Wt.Deprecation,Wt.Intervention]}),this.options=e,this.name=t.id}return t.prototype.setupOnce=function(){P()&&new(w().ReportingObserver)(this.handler.bind(this),{buffered:!0,types:this.options.types}).observe()},t.prototype.handler=function(e){var n,r;if(i.getCurrentHub().getIntegration(t)){var a=function(t){i.withScope(function(e){e.setExtra("url",t.url);var n="ReportingObserver ["+t.type+"]",r="No details available";if(t.body){var o,a={};for(var s in t.body)a[s]=t.body[s];e.setExtra("body",a),r=t.type===Wt.Crash?[(o=t.body).crashId||"",o.reason||""].join(" ").trim()||r:(o=t.body).message||r}i.captureMessage(n+": "+r)})};try{for(var s=o.__values(e),u=s.next();!u.done;u=s.next())a(u.value)}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}}},t.id="ReportingObserver",t}(),Zt=Object.freeze({GlobalHandlers:Ft,TryCatch:Ht,Breadcrumbs:Ut,LinkedErrors:Xt,UserAgent:$t,Ember:Jt,Vue:Yt,ReportingObserver:Kt}),Qt=[new i.Integrations.Dedupe,new i.Integrations.InboundFilters,new i.Integrations.FunctionToString,new i.Integrations.ExtraErrorData,new Ht,new Ut,new Ft,new Xt,new $t],te=o.__assign({},i.Integrations,Zt);e.addGlobalEventProcessor=i.addGlobalEventProcessor,e.addBreadcrumb=i.addBreadcrumb,e.captureException=i.captureException,e.captureEvent=i.captureEvent,e.captureMessage=i.captureMessage,e.configureScope=i.configureScope,e.withScope=i.withScope,e.getHubFromCarrier=i.getHubFromCarrier,e.getCurrentHub=i.getCurrentHub,e.Hub=i.Hub,e.Scope=i.Scope,e.Integrations=te,e.Transports=xt,e.Severity=l,e.Status=f,e.BrowserBackend=St,e.BrowserClient=It,e.defaultIntegrations=Qt,e.forceLoad=function(){},e.init=function(t){void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Qt),i.initAndBind(It,t)},e.lastEventId=function(){return i.getCurrentHub().lastEventId()},e.onLoad=function(t){t()},e.showReportDialog=function(t){void 0===t&&(t={}),t.eventId||(t.eventId=i.getCurrentHub().lastEventId()),i.getCurrentHub().getClient().showReportDialog(t)},e.flush=function(t){return o.__awaiter(this,void 0,void 0,function(){return o.__generator(this,function(e){return[2,i.getCurrentHub().getClient().flush(t)]})})},e.close=function(t){return o.__awaiter(this,void 0,void 0,function(){return o.__generator(this,function(e){return[2,i.getCurrentHub().getClient().close(t)]})})},e.SDK_NAME=Pt,e.SDK_VERSION="4.6.6"}).call(this,n("wFps"),n("Qi+u"))},ZYmo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("rFKW"),i=function(){function t(e){this.name=t.id,this.options=r.__assign({debugger:!1,stringify:!1},e)}return t.prototype.setupOnce=function(){var e=this;o.addGlobalEventProcessor(function(n,i){return r.__awaiter(e,void 0,void 0,function(){var e;return r.__generator(this,function(r){return(e=o.getCurrentHub().getIntegration(t))&&(e.options.debugger,e.options.stringify&&(JSON.stringify(n,null,2),i&&JSON.stringify(i,null,2))),[2,n]})})})},t.id="Debug",t}();e.Debug=i},aR6X:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("rFKW"),i=n("g4Tb"),a=n("NBgs"),s=n("oOxp"),u=function(){function t(e){void 0===e&&(e={depth:3}),this.options=e,this.name=t.id}return t.prototype.setupOnce=function(){var e=this;o.addGlobalEventProcessor(function(n,i){return r.__awaiter(e,void 0,void 0,function(){var e;return r.__generator(this,function(r){return(e=o.getCurrentHub().getIntegration(t))?[2,e.enhanceEventWithErrorData(n,i)]:[2,n]})})})},t.prototype.enhanceEventWithErrorData=function(t,e){if(!e||!e.originalException||!i.isError(e.originalException))return t;var n=this.extractErrorData(e.originalException);if(n){var o=r.__assign({},t.extra),a=s.safeNormalize(n,this.options.depth);return i.isString(a)||(o=r.__assign({},t.extra,a)),r.__assign({},t,{extra:o})}return t},t.prototype.extractErrorData=function(t){var e,n,o,s=null;try{var u=["name","message","stack","line","column","fileName","lineNumber","columnNumber"],c=t.name||t.constructor.name,l=Object.getOwnPropertyNames(t).filter(function(t){return-1===u.indexOf(t)});if(l.length){var f={};try{for(var p=r.__values(l),d=p.next();!d.done;d=p.next()){var h=d.value,v=t[h];i.isError(v)&&(v=v.toString()),f[h]=v}}catch(t){e={error:t}}finally{try{d&&!d.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}(o={})[c]=f,s=o}}catch(t){a.logger.error("Unable to extract extra data from the Error object:",t)}return s},t.id="ExtraErrorData",t}();e.ExtraErrorData=u},cJYR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("NBgs"),o=function(){function t(){this.name="SDKInformation"}return t.prototype.setupOnce=function(){r.logger.warn("SDKInformation Integration is deprecated and can be safely removed. It's functionality has been merged into the SDK's core.")},t}();e.SDKInformation=o},"dJ+I":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("g4Tb");e.truncate=function(t,e){return void 0===e&&(e=0),0!==e&&r.isString(t)?t.length<=e?t:t.substr(0,e)+"...":t},e.snipLine=function(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},e.safeJoin=function(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)},e.includes=function(t,e){return!(e.length>t.length)&&-1!==t.indexOf(e)}},ddDu:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("NBgs"),i=n("oOxp"),a=n("F9tV"),s=n("eW+Q"),u=function(){function t(t){this.options=t,this.options.dsn||o.logger.warn("No DSN provided, backend will not do anything."),this.transport=this.setupTransport()}return t.prototype.setupTransport=function(){return new s.NoopTransport},t.prototype.eventFromException=function(t,e){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){throw new a.SentryError("Backend has to implement `eventFromException` method")})})},t.prototype.eventFromMessage=function(t,e,n){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){throw new a.SentryError("Backend has to implement `eventFromMessage` method")})})},t.prototype.sendEvent=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){return this.transport.captureEvent?[2,this.transport.captureEvent(t)]:[2,this.transport.sendEvent(i.serialize(t))]})})},t.prototype.storeBreadcrumb=function(t){return!0},t.prototype.storeScope=function(t){},t.prototype.getTransport=function(){return this.transport},t}();e.BaseBackend=u},"eW+Q":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("9EIM"),i=function(){function t(){}return t.prototype.sendEvent=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){return[2,Promise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:o.Status.Skipped})]})})},t.prototype.close=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){return[2,Promise.resolve(!0)]})})},t}();e.NoopTransport=i},g4Tb:function(t,e,n){"use strict";function r(t){return"[object Object]"===Object.prototype.toString.call(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.isError=function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}},e.isErrorEvent=function(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)},e.isDOMError=function(t){return"[object DOMError]"===Object.prototype.toString.call(t)},e.isDOMException=function(t){return"[object DOMException]"===Object.prototype.toString.call(t)},e.isUndefined=function(t){return void 0===t},e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isPrimitive=function(t){return null===t||"object"!=typeof t&&"function"!=typeof t},e.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},e.isPlainObject=r,e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},e.isNaN=function(t){return t!=t},e.isSyntheticEvent=function(t){return r(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}},hiTO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("9mya");e.Dedupe=r.Dedupe;var o=n("1Hxs");e.FunctionToString=o.FunctionToString;var i=n("cJYR");e.SDKInformation=i.SDKInformation;var a=n("LSR8");e.InboundFilters=a.InboundFilters;var s=n("aR6X");e.ExtraErrorData=s.ExtraErrorData;var u=n("ZYmo");e.Debug=u.Debug;var c=n("X7QM");e.RewriteFrames=c.RewriteFrames},i0q3:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("NBgs"),i=n("MoD/"),a=n("Z3LN");e.API_VERSION=3;var s=function(){function t(t,n,r){void 0===n&&(n=new a.Scope),void 0===r&&(r=e.API_VERSION),this.version=r,this.stack=[],this.stack.push({client:t,scope:n})}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.invokeClientAsync=function(t){for(var e,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var a=this.getStackTop();a&&a.client&&a.client[t]&&(e=a.client)[t].apply(e,r.__spread(n,[a.scope])).catch(function(t){o.logger.error(t)})},t.prototype.isOlderThan=function(t){return this.version<t},t.prototype.bindClient=function(t){var e=this.getStackTop();e.client=t,e&&e.scope&&t&&e.scope.addScopeListener(function(e){if(t.getBackend)try{t.getBackend().storeScope(e)}catch(t){}})},t.prototype.pushScope=function(){var t=this.getStack(),e=t.length>0?t[t.length-1].scope:void 0,n=a.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=i.uuid4();return this.invokeClientAsync("captureException",t,r.__assign({},e,{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var o=this._lastEventId=i.uuid4();return this.invokeClientAsync("captureMessage",t,e,r.__assign({},n,{event_id:o})),o},t.prototype.captureEvent=function(t,e){var n=this._lastEventId=i.uuid4();return this.invokeClientAsync("captureEvent",t,r.__assign({},e,{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){this.invokeClient("addBreadcrumb",t,r.__assign({},e))},t.prototype.configureScope=function(t){var e=this.getStackTop();e.scope&&e.client&&t(e.scope)},t.prototype.run=function(t){var e=c(this);try{t(this)}finally{c(e)}},t.prototype.getIntegration=function(t){try{return this.getClient().getIntegration(t)}catch(e){return o.logger.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t}();function u(){var t=i.getGlobalObject();return t.__SENTRY__=t.__SENTRY__||{hub:void 0},t}function c(t){var e=u(),n=f(e);return p(e,t),n}function l(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function f(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub?t.__SENTRY__.hub:(t.__SENTRY__={},t.__SENTRY__.hub=new s,t.__SENTRY__.hub)}function p(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}e.Hub=s,e.getMainCarrier=u,e.makeMain=c,e.getCurrentHub=function(){var n=u();l(n)&&!f(n).isOlderThan(e.API_VERSION)||p(n,new s);try{var r=i.dynamicRequire(t,"domain").active;if(!r)return f(n);if(!l(r)||f(r).isOlderThan(e.API_VERSION)){var o=f(n).getStackTop();p(r,new s(o.client,a.Scope.clone(o.scope)))}return f(r)}catch(t){return f(n)}},e.hasHubOnCarrier=l,e.getHubFromCarrier=f,e.setHubOnCarrier=p}).call(this,n("Pa7q")(t))},kLcx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("rFKW"),o=n("NBgs");e.initAndBind=function(t,e){!0===e.debug&&o.logger.enable();var n=new t(e);r.getCurrentHub().bindClient(n),n.install()}},oOxp:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var r=n("g4Tb"),o=n("CbfU"),i=n("dJ+I");function a(t){return JSON.stringify(t,p({normalize:!1}))}function s(t){return JSON.parse(t)}e.serialize=a,e.deserialize=s,e.clone=function(t){return s(a(t))},e.fill=function(t,e,n){if(e in t&&!t[e].__sentry__){var r=t[e],o=n(r);"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})),t[e]=o}},e.urlEncode=function(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")};function u(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return i.truncate(t,40);if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=l(t);return r.isPrimitive(n)?""+n:e}function c(t,e){if(0===e)return u(t);if(r.isPlainObject(t)){var n={},o=t;return Object.keys(o).forEach(function(t){n[t]=c(o[t],e-1)}),n}return r.isArray(t)?t.map(function(t){return c(t,e-1)}):u(t)}function l(e,n){return"domain"===n&&"object"==typeof 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":r.isSyntheticEvent(e)?"[SyntheticEvent]":r.isNaN(e)?"[NaN]":r.isUndefined(e)?"[undefined]":"function"==typeof e?"[Function: "+(e.name||"<unknown-function-name>")+"]":e}function f(t,e,n){if(void 0===e&&(e=1/0),void 0===n&&(n=new o.Memo),0===e)return u(t);var i=l(t);if(r.isPrimitive(i))return i;var a=r.isError(t)?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}(t):t,s=r.isArray(t)?[]:{};if(n.memoize(t))return"[Circular ~]";for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=f(a[c],e-1,n));return n.unmemoize(t),s}function p(t){return void 0===t&&(t={normalize:!0}),function(e,n){return t.normalize?l(f(n,t.depth),e):f(n,t.depth)}}e.serializeObject=c,e.limitObjectDepthToSize=function t(e,n,r){void 0===n&&(n=3),void 0===r&&(r=102400);var o=c(e,n);return function(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}(a(o))>r?t(e,n-1):o},e.serializeKeysToEventMessage=function(t,e){if(void 0===e&&(e=40),!t.length)return"[object has no keys]";if(t[0].length>=e)return i.truncate(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:i.truncate(r,e)}return""},e.assign=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(null===t||void 0===t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),o=0;o<e.length;o++){var i=e[o];if(null!==i)for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])}return r},e.decycle=f,e.safeNormalize=function(t,e){try{return JSON.parse(JSON.stringify(t,p({normalize:!0,depth:e})))}catch(t){return"**non-serializable**"}}}).call(this,n("wFps"))},rFKW:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("Z3LN");e.addGlobalEventProcessor=r.addGlobalEventProcessor,e.Scope=r.Scope;var o=n("i0q3");e.getCurrentHub=o.getCurrentHub,e.getHubFromCarrier=o.getHubFromCarrier,e.getMainCarrier=o.getMainCarrier,e.Hub=o.Hub,e.setHubOnCarrier=o.setHubOnCarrier},rc12:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("oOxp"),o=n("Z+By"),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()+"?"+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}();e.API=i},tgq3:function(t,e,n){"use strict";function r(t,e){for(var n=0,r=t.length-1;r>=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}Object.defineProperty(e,"__esModule",{value:!0});var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;function i(t){var e=o.exec(t);return e?e.slice(1):[]}function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n="",o=!1,i=t.length-1;i>=-1&&!o;i--){var a=i>=0?t[i]:"/";a&&(n=a+"/"+n,o="/"===a.charAt(0))}return n=r(n.split("/").filter(function(t){return!!t}),!o).join("/"),(o?"/":"")+n||"."}function s(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}function u(t){var e=c(t),n="/"===t.substr(-1),o=r(t.split("/").filter(function(t){return!!t}),!e).join("/");return o||e||(o="."),o&&n&&(o+="/"),(e?"/":"")+o}function c(t){return"/"===t.charAt(0)}e.resolve=a,e.relative=function(t,e){t=a(t).substr(1),e=a(e).substr(1);for(var n=s(t.split("/")),r=s(e.split("/")),o=Math.min(n.length,r.length),i=o,u=0;u<o;u++)if(n[u]!==r[u]){i=u;break}var c=[];for(u=i;u<n.length;u++)c.push("..");return(c=c.concat(r.slice(i))).join("/")},e.normalize=u,e.isAbsolute=c,e.join=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return u(t.join("/"))},e.dirname=function(t){var e=i(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},e.basename=function(t,e){var n=i(t)[2];return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n}},"uRv/":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("rFKW");function i(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=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.")}e.captureException=function(t){var e;try{throw new Error("Sentry syntheticException")}catch(t){e=t}return i("captureException",t,{originalException:t,syntheticException:e})},e.captureMessage=function(t,e){var n;try{throw new Error(t)}catch(t){n=t}return i("captureMessage",t,e,{originalException:t,syntheticException:n})},e.captureEvent=function(t){return i("captureEvent",t)},e.addBreadcrumb=function(t){i("addBreadcrumb",t)},e.configureScope=function(t){i("configureScope",t)},e.withScope=function(t){i("withScope",t)},e._callOnClient=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];i.apply(void 0,r.__spread(["invokeClient",t],e))}}}]);
//# sourceMappingURL=vendors~sentry.js.map