/*! For license information please see bundle.b009d.esm.js.LICENSE.txt */ !function(t){function e(e){for(var n,r,o=e[0],a=e[1],c=0,s=[];c"}return t.event_id||""}function u(t){var e=i();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach((function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)}));var o=t();return Object.keys(r).forEach((function(t){n[t]=r[t]})),o}function l(t,e,n){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||e||"",t.exception.values[0].type=t.exception.values[0].type||n||"Error"}function f(t,e){void 0===e&&(e={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(e).forEach((function(n){t.exception.values[0].mechanism[n]=e[n]}))}catch(t){}}function p(){try{return document.location.href}catch(t){return""}}function h(t){try{for(var e=t,n=[],r=0,o=0,i=" > ".length,a=void 0;e&&r++<5&&!("html"===(a=d(e))||r>1&&o+n.length*i+a.length>=80);)n.push(a),o+=a.length,e=e.parentNode;return n.reverse().join(" > ")}catch(t){return""}}function d(t){var e,n,r,o,i,a=t,c=[];if(!a||!a.tagName)return"";if(c.push(a.tagName.toLowerCase()),a.id&&c.push("#"+a.id),(e=a.className)&&Object(y.k)(e))for(n=e.split(/\s+/),i=0;i"}catch(t){return""}}n.d(e,"i",(function(){return o})),n.d(e,"f",(function(){return i})),n.d(e,"m",(function(){return a})),n.d(e,"k",(function(){return c})),n.d(e,"d",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return f})),n.d(e,"g",(function(){return p})),n.d(e,"h",(function(){return h})),n.d(e,"l",(function(){return _})),n.d(e,"j",(function(){return v})),n.d(e,"e",(function(){return g}));var y=n("E6vx"),m=(n("dbjm"),{}),b=Date.now(),E=0,O={now:function(){var t=Date.now()-b;return t=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}function o(){for(var t=[],e=0;e=-1&&!o;i--){var a=i>=0?t[i]:"/";a&&(n=a+"/"+n,o="/"===a.charAt(0))}return(o?"/":"")+(n=r(n.split("/").filter((function(t){return!!t})),!o).join("/"))||"."}function i(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}n.r(e),n.d(e,"Angular",(function(){return f})),n.d(e,"CaptureConsole",(function(){return v})),n.d(e,"Debug",(function(){return g})),n.d(e,"Dedupe",(function(){return y})),n.d(e,"Ember",(function(){return b})),n.d(e,"ExtraErrorData",(function(){return E})),n.d(e,"ReportingObserver",(function(){return x})),n.d(e,"RewriteFrames",(function(){return j})),n.d(e,"SessionTiming",(function(){return S})),n.d(e,"Transaction",(function(){return k})),n.d(e,"Vue",(function(){return T}));var a,c=n("bb6g"),s=n("3ZRO"),u=n("HhP1"),l=/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.*?)\n?(\S+)$/,f=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._angular=e.angular||Object(s.f)().angular}return t.prototype.setupOnce=function(e,n){var r=this;this._angular?(this._getCurrentHub=n,this._angular.module(t.moduleName,[]).config(["$provide",function(t){t.decorator("$exceptionHandler",["$delegate",r._$exceptionHandlerDecorator.bind(r)])}])):u.a.error("AngularIntegration is missing an Angular instance")},t.prototype._$exceptionHandlerDecorator=function(e){var n=this;return function(r,o){var i=n._getCurrentHub&&n._getCurrentHub();i&&i.getIntegration(t)&&i.withScope((function(t){o&&t.setExtra("cause",o),t.addEventProcessor((function(t){var e=t.exception&&t.exception.values&&t.exception.values[0];if(e){var n=l.exec(e.value||"");n&&(e.type=n[1],e.value=n[2],t.message=e.type+": "+e.value,t.extra=c.a({},t.extra,{angularDocs:n[3].substr(0,250)}))}return t})),i.captureException(r)})),e(r,o)}},t.id="AngularJS",t.moduleName="ngSentry",t}(),p=n("MK6T"),h=n("tZ4O"),d=n("dbjm"),_=Object(s.f)(),v=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._levels=["log","info","warn","error","debug","assert"],e.levels&&(this._levels=e.levels)}return t.prototype.setupOnce=function(e,n){"console"in _&&this._levels.forEach((function(e){e in _.console&&Object(h.b)(_.console,e,(function(r){return function(){for(var o=[],i=0;i=0;n--){var r=e[n];if(!0===r.in_app){t.transaction=this._getTransaction(r);break}}return t},t.prototype._getFramesFromEvent=function(t){var e=t.exception&&t.exception.values&&t.exception.values[0];return e&&e.stacktrace&&e.stacktrace.frames||[]},t.prototype._getTransaction=function(t){return t.module||t.function?(t.module||"?")+"/"+(t.function||"?"):""},t.id="Transaction",t}(),T=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._attachProps=!0,this._logErrors=!1,this._Vue=e.Vue||Object(s.f)().Vue,void 0!==e.logErrors&&(this._logErrors=e.logErrors),!1===e.attachProps&&(this._attachProps=!1)}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(e,n){var r=this;if(this._Vue&&this._Vue.config){var o=this._Vue.config.errorHandler;this._Vue.config.errorHandler=function(e,i,a){var c={};Object(m.h)(i)&&(c.componentName=r._formatComponentName(i),r._attachProps&&(c.propsData=i.$options.propsData)),void 0!==a&&(c.lifecycleHook=a),n().getIntegration(t)&&setTimeout((function(){n().withScope((function(t){t.setContext("vue",c),n().captureException(e)}))})),"function"==typeof o&&o.call(r._Vue,e,i,a),r._logErrors&&(r._Vue.util.warn("Error in "+a+': "'+e.toString()+'"',i),console.error(e))}}else u.a.error("VueIntegration is missing a Vue instance")},t.id="Vue",t}()},HKXi:function(t,e,n){"use strict";var r=n("SdNZ");e.a=Object(r.a)((function(t){n.e(2).then(function(){t(n("hasd"))}.bind(null,n)).catch(n.oe)}))},HhP1:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("3ZRO"),o=Object(r.f)(),i="Sentry Logger ",a=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(e.exception&&t.showReportDialog({eventId:e.event_id}),e)}),e.default=function(){throw new Error("Sentry Test")}}.call(this,n("hosL").h)},SdNZ:function(t,e,n){"use strict";var r=n("hosL");e.a=function(t){function e(){let e,n;r.Component.call(this),this.componentWillMount=()=>{e=this.base=this.nextBase||this.__b,t(t=>{this.setState({child:t.default||t})})},this.shouldComponentUpdate=(t,o)=>(n=(o=void 0===o.child)&&void 0===n&&e?3===e.nodeType?e.data:Object(r.h)(e.nodeName,{dangerouslySetInnerHTML:{__html:e.innerHTML}}):"",!o),this.render=(t,e)=>e.child?Object(r.h)(e.child,t):n}return(e.prototype=new r.Component).constructor=e,e}},Vh2B:function(t,e,n){"use strict";var r=n("SdNZ");e.a=Object(r.a)((function(t){n.e(4).then(function(){t(n("HmML"))}.bind(null,n)).catch(n.oe)}))},WC2o:function(t,e,n){"use strict";var r=n("SdNZ");e.a=Object(r.a)((function(t){n.e(7).then(function(){t(n("EIZr"))}.bind(null,n)).catch(n.oe)}))},Y3FI:function(t,e,n){"use strict";function r(t,e){for(var n in e)t[n]=e[n];return t}function o(t,e,n){var r,o=/(?:\?([^#]*))?(#.*)?$/,i=t.match(o),a={};if(i&&i[1])for(var s=i[1].split("&"),u=0;ue.rank?-1:t.index-e.index}function a(t,e){return t.index=e,t.rank=function(t){return t.props.default?0:c(t.props.path).map(s).join("")}(t),t.props}function c(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")}function s(t){return":"==t.charAt(0)?1+"*+?".indexOf(t.charAt(t.length-1))||4:5}function u(){var t;return""+((t=y&&y.location?y.location:y&&y.getCurrentLocation?y.getCurrentLocation():"undefined"!=typeof location?location:E).pathname||"")+(t.search||"")}function l(t,e){return void 0===e&&(e=!1),"string"!=typeof t&&t.url&&(e=t.replace,t=t.url),function(t){for(var e=m.length;e--;)if(m[e].canRoute(t))return!0;return!1}(t)&&function(t,e){void 0===e&&(e="push"),y&&y[e]?y[e](t):"undefined"!=typeof history&&history[e+"State"]&&history[e+"State"](null,null,t)}(t,e?"replace":"push"),f(t)}function f(t){for(var e=!1,n=0;n0},e.prototype.routeTo=function(t){this.setState({url:t});var e=this.canRoute(t);return this.updating||this.forceUpdate(),e},e.prototype.componentWillMount=function(){m.push(this),this.updating=!0},e.prototype.componentDidMount=function(){var t=this;y&&(this.unlisten=y.listen((function(e){t.routeTo(""+(e.pathname||"")+(e.search||""))}))),this.updating=!1},e.prototype.componentWillUnmount=function(){"function"==typeof this.unlisten&&this.unlisten(),m.splice(m.indexOf(this),1)},e.prototype.componentWillUpdate=function(){this.updating=!0},e.prototype.componentDidUpdate=function(){this.updating=!1},e.prototype.getMatchingChildren=function(t,e,n){return t.filter(a).sort(i).map((function(t){var i=o(e,t.props.path,t.props);if(i){if(!1!==n){var a={url:e,matches:i};return r(a,i),delete a.ref,delete a.key,Object(v.cloneElement)(t,a)}return t}})).filter(Boolean)},e.prototype.render=function(t,e){var n=t.children,r=t.onChange,o=e.url,i=this.getMatchingChildren(Object(v.toChildArray)(n),o,!0),a=i[0]||null,c=this.previousUrl;return o!==c&&(this.previousUrl=o,"function"==typeof r&&r({router:this,url:o,previous:c,active:i,current:a})),a},e}(v.Component);x.subscribers=b,x.getCurrentUrl=u,x.route=l,x.Router=x,x.Route=function(t){return Object(v.createElement)(t.component,t)},x.Link=function(t){return Object(v.createElement)("a",r({onClick:h},t))},x.exec=o,e.a=x},afj4:function(){},bb6g:function(t,e,n){"use strict";function r(t,e){function n(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function o(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(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 a(){for(var t=[],e=0;er&&(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),i3)for(n=[n],r=3;r2&&(e.children=F.slice.call(arguments,2)),n={},e)"key"!==o&&"ref"!==o&&(n[o]=e[o]);return a(t.type,n,e.key||t.key,e.ref||t.ref,null)}function T(t){var e={},n={__c:"__cC"+A++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var r,o=this;return this.getChildContext||(r=[],this.getChildContext=function(){return e[n.__c]=o,e},this.shouldComponentUpdate=function(t){o.props.value!==t.value&&r.some((function(e){e.context=t.value,p(e)}))},this.sub=function(t){r.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){r.splice(r.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Consumer.contextType=n,n.Provider.__=n,n}n.r(e),n.d(e,"render",(function(){return j})),n.d(e,"hydrate",(function(){return S})),n.d(e,"createElement",(function(){return i})),n.d(e,"h",(function(){return i})),n.d(e,"Fragment",(function(){return s})),n.d(e,"createRef",(function(){return c})),n.d(e,"isValidElement",(function(){return R})),n.d(e,"Component",(function(){return u})),n.d(e,"cloneElement",(function(){return k})),n.d(e,"createContext",(function(){return T})),n.d(e,"toChildArray",(function(){return _})),n.d(e,"_unmount",(function(){return x})),n.d(e,"options",(function(){return C}));var C,R,I,P,D,N,L,A,U={},F=[],M=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;C={__e:function(t,e){for(var n,r;e=e.__;)if((n=e.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(t))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(t)),r)return p(n.__E=n)}catch(e){t=e}throw t}},R=function(t){return null!=t&&void 0===t.constructor},u.prototype.setState=function(t,e){var n;n=this.__s!==this.state?this.__s:this.__s=r({},this.state),"function"==typeof t&&(t=t(n,this.props)),t&&r(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),p(this))},u.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),p(this))},u.prototype.render=s,I=[],P=0,D="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,L=U,A=0},mdyV:function(t,e,n){"use strict";n.r(e);var r=n("hosL");const{h:o,render:i}=r,a=t=>t&&t.default?t.default:t;if("serviceWorker"in navigator&&navigator.serviceWorker.register(n.p+"sw-esm.js"),"function"==typeof a(n("QfWi"))){let t=document.getElementById("preact_root")||document.body.firstElementChild;(()=>{let e=a(n("QfWi")),r={};const c=document.querySelector('[type="__PREACT_CLI_DATA__"]');c&&(r=JSON.parse(c.innerHTML).preRenderData||r),t=i(o(e,{CLI_DATA:{preRenderData:r}}),document.body,t)})()}},pCvA:function(t){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},tZ4O:function(t,e,n){"use strict";(function(t){function r(t,e,n){if(e in t){var r=t[e],o=n(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry_original__:{enumerable:!1,value:r}})}catch(t){}t[e]=o}}function o(t){return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")}function i(t){if(Object(l.d)(t)){var e=t,n={message:e.message,name:e.name,stack:e.stack};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}if(Object(l.f)(t)){var o=t,i={};i.type=o.type;try{i.target=Object(l.c)(o.target)?Object(p.h)(o.target):Object.prototype.toString.call(o.target)}catch(t){i.target=""}try{i.currentTarget=Object(l.c)(o.currentTarget)?Object(p.h)(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(t){i.currentTarget=""}for(var r in"undefined"!=typeof CustomEvent&&Object(l.g)(t,CustomEvent)&&(i.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,r)&&(i[r]=o);return i}return t}function a(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r=s(t,e);return function(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}(r)>n?a(t,e-1,n):r}function c(e,n){return"domain"===n&&e&&"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]":Object(l.l)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+Object(p.e)(e)+"]":e}function s(t,e){try{return JSON.parse(JSON.stringify(t,(function(t,n){return function t(e,n,r,o){if(void 0===r&&(r=1/0),void 0===o&&(o=new f.a),0===r)return function(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=c(t);return Object(l.i)(n)?n:e}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var a=c(n,e);if(Object(l.i)(a))return a;var s=i(n),u=Array.isArray(n)?[]:{};if(o.memoize(n))return"[Circular ~]";for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(u[p]=t(p,s[p],r-1,o));return o.unmemoize(n),u}(t,n,e)})))}catch(t){return"**non-serializable**"}}function u(t,e){void 0===e&&(e=40);var n=Object.keys(i(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return Object(h.d)(n[0],e);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>e))return r===n.length?o:Object(h.d)(o,e)}return""}n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return u})),n("bb6g");var l=n("E6vx"),f=n("7UEW"),p=n("3ZRO"),h=n("dbjm")}).call(this,n("pCvA"))},ve3R:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e=0;p--){var h=a[p];"."===h?i(a,p):".."===h?(i(a,p),f++):f&&(i(a,p),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&o(a[0])||a.unshift("");var d=a.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d},v=function(t){if(!t)throw new Error("Invariant failed")},g=!("undefined"==typeof window||!window.document||!window.document.createElement),y={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+c(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:c,decodePath:a},slash:{encodePath:a,decodePath:a}}},xhzY:function(t,e,n){(function(t){("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"0.2.14"}}).call(this,n("pCvA"))},z8zl:function(t,e,n){"use strict";function r(){var t=Object(ut.f)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function o(t){r().push(t)}function i(){var t=Object(ut.f)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function a(t){var e=i(),n=u(e);return l(e,t),n}function c(){var t=i();return s(t)&&!u(t).isOlderThan(3)||l(t,new pt),Object(ut.i)()?function(t){try{var e=i().__SENTRY__;if(!e||!e.extensions||!e.extensions.domain)return u(t);var n=e.extensions.domain.active;if(!n)return u(t);if(!s(n)||u(n).isOlderThan(3)){var r=u(t).getStackTop();l(n,new pt(r.client,lt.clone(r.scope)))}return u(n)}catch(e){return u(t)}}(t):u(t)}function s(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function u(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new pt),t.__SENTRY__.hub}function l(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}function f(t){for(var e=[],n=1;n]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=t.stacktrace.split("\n"),i=[],a=0;a eval")>-1&&(e=Tt.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==a||n[5]||void 0===t.columnNumber||(o[0].column=t.columnNumber+1),r={url:n[3],func:n[1]||"?",args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func="?"),o.push(r)}return o.length?{message:S(t),name:t.name,stack:o}:null}(t))return j(e,n)}catch(t){}return{message:S(t),name:t&&t.name,stack:[],failed:!0}}function j(t,e){try{return tt.a({},t,{stack:t.stack.slice(e)})}catch(e){return t}}function S(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function k(t){var e=C(t.stack),n={type:t.name,value:t.message};return e&&e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function T(t){return{exception:{values:[k(t)]}}}function C(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",r=e[e.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.map((function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}})).slice(0,50).reverse()}function R(t,e,n){var r;if(void 0===n&&(n={}),Object(rt.e)(t)&&t.error)return T(w(t=t.error));if(Object(rt.a)(t)||Object(rt.b)(t)){var o=t,i=o.name||(Object(rt.a)(o)?"DOMError":"DOMException"),a=o.message?i+": "+o.message:i;return r=I(a,e,n),Object(ut.b)(r,a),r}return Object(rt.d)(t)?r=T(w(t)):Object(rt.h)(t)||Object(rt.f)(t)?(r=function(t,e,n){var r={exception:{values:[{type:Object(rt.f)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+Object(gt.a)(t)}]},extra:{__serialized__:Object(gt.d)(t)}};if(e){var o=C(w(e).stack);r.stacktrace={frames:o}}return r}(t,e,n.rejection),Object(ut.a)(r,{synthetic:!0}),r):(r=I(t,e,n),Object(ut.b)(r,""+t,void 0),Object(ut.a)(r,{synthetic:!0}),r)}function I(t,e,n){void 0===n&&(n={});var r={message:t};if(n.attachStacktrace&&e){var o=C(w(e).stack);r.stacktrace={frames:o}}return r}function P(){return Wt>0}function D(){Wt+=1,setTimeout((function(){Wt-=1}))}function N(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(e){return t}var r=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((function(t){return N(t,e)}));return t.handleEvent?t.handleEvent.apply(this,o):t.apply(this,o)}catch(t){throw D(),x((function(n){n.addEventProcessor((function(t){var n=tt.a({},t);return e.mechanism&&(Object(ut.b)(n,void 0,void 0),Object(ut.a)(n,e.mechanism)),n.extra=tt.a({},n.extra,{arguments:r}),n})),p(t)})),t}};try{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}catch(t){}t.prototype=t.prototype||{},r.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:r}),Object.defineProperties(r,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:function(){return t.name}})}catch(t){}return r}function L(t){t&&"string"==typeof t.type&&"function"==typeof t.callback&&(Yt[t.type]=Yt[t.type]||[],Yt[t.type].push(t.callback),function(t){if(!Vt[t])switch(Vt[t]=!0,t){case"console":"console"in zt&&["debug","info","warn","error","log","assert"].forEach((function(t){t in zt.console&&Object(gt.b)(zt.console,t,(function(e){return function(){for(var n=[],r=0;r2?e[2]:void 0;if(r){var o=it,i=String(r);it=i,A("history",{from:o,to:i})}return t.apply(this,e)}}if(Object(wt.b)()){var e=zt.onpopstate;zt.onpopstate=function(){for(var t=[],n=0;n=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(Q||(Q={}));var nt,rt=n("E6vx");!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(nt||(nt={}));var ot,it,at,ct,st=function(){function t(t){var e=this;this._state=nt.PENDING,this._handlers=[],this._resolve=function(t){e._setResult(nt.RESOLVED,t)},this._reject=function(t){e._setResult(nt.REJECTED,t)},this._setResult=function(t,n){e._state===nt.PENDING&&(Object(rt.m)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._attachHandler=function(t){e._handlers=e._handlers.concat(t),e._executeHandlers()},this._executeHandlers=function(){if(e._state!==nt.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t.done||(e._state===nt.RESOLVED&&t.onfulfilled&&t.onfulfilled(e._value),e._state===nt.REJECTED&&t.onrejected&&t.onrejected(e._value),t.done=!0)}))}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.prototype.toString=function(){return"[object SyncPromise]"},t.resolve=function(e){return new t((function(t){t(e)}))},t.reject=function(e){return new t((function(t,n){n(e)}))},t.all=function(e){return new t((function(n,r){if(Array.isArray(e))if(0!==e.length){var o=e.length,i=[];e.forEach((function(e,a){t.resolve(e).then((function(t){i[a]=t,0==(o-=1)&&n(i)})).then(null,r)}))}else n([]);else r(new TypeError("Promise.all requires an array as input."))}))},t.prototype.then=function(e,n){var r=this;return new t((function(t,o){r._attachHandler({done:!1,onfulfilled:function(n){if(e)try{return void t(e(n))}catch(t){return void o(t)}else t(n)},onrejected:function(e){if(n)try{return void t(n(e))}catch(t){return void o(t)}else o(e)}})}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(e){var n=this;return new t((function(t,r){var o,i;return n.then((function(t){i=!1,o=t,e&&e()}),(function(t){i=!0,o=t,e&&e()})).then((function(){i?r(o):t(o)}))}))},t}(),ut=n("3ZRO"),lt=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._context={}}return t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,setTimeout((function(){t._scopeListeners.forEach((function(e){e(t)})),t._notifyingListeners=!1})))},t.prototype._notifyEventProcessors=function(t,e,n,r){var o=this;return void 0===r&&(r=0),new st((function(i,a){var c=t[r];if(null===e||"function"!=typeof c)i(e);else{var s=c(tt.a({},e),n);Object(rt.m)(s)?s.then((function(e){return o._notifyEventProcessors(t,e,n,r+1).then(i)})).then(null,a):o._notifyEventProcessors(t,s,n,r+1).then(i).then(null,a)}}))},t.prototype.setUser=function(t){return this._user=t||{},this._notifyScopeListeners(),this},t.prototype.setTags=function(t){return this._tags=tt.a({},this._tags,t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=tt.a({},this._tags,((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=tt.a({},this._extra,t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=tt.a({},this._extra,((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this._transaction=t,this._span&&(this._span.transaction=t),this._notifyScopeListeners(),this},t.prototype.setContext=function(t,e){var n;return this._context=tt.a({},this._context,((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=tt.d(e._breadcrumbs),n._tags=tt.a({},e._tags),n._extra=tt.a({},e._extra),n._context=tt.a({},e._context),n._user=e._user,n._level=e._level,n._span=e._span,n._transaction=e._transaction,n._fingerprint=e._fingerprint,n._eventProcessors=tt.d(e._eventProcessors)),n},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._context={},this._level=void 0,this._transaction=void 0,this._fingerprint=void 0,this._span=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n=tt.a({timestamp:Object(ut.l)()},t);return this._breadcrumbs=void 0!==e&&e>=0?tt.d(this._breadcrumbs,[n]).slice(-e):tt.d(this._breadcrumbs,[n]),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t.prototype.applyToEvent=function(t,e){return this._extra&&Object.keys(this._extra).length&&(t.extra=tt.a({},this._extra,t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=tt.a({},this._tags,t.tags)),this._user&&Object.keys(this._user).length&&(t.user=tt.a({},this._user,t.user)),this._context&&Object.keys(this._context).length&&(t.contexts=tt.a({},this._context,t.contexts)),this._level&&(t.level=this._level),this._transaction&&(t.transaction=this._transaction),this._span&&(t.contexts=tt.a({trace:this._span.getTraceContext()},t.contexts)),this._applyFingerprint(t),t.breadcrumbs=tt.d(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors(tt.d(r(),this._eventProcessors),t,e)},t}(),ft=n("HhP1"),pt=function(){function t(t,e,n){void 0===e&&(e=new lt),void 0===n&&(n=3),this._version=n,this._stack=[],this._stack.push({client:t,scope:e})}return t.prototype._invokeClient=function(t){for(var e,n=[],r=1;r0?t[t.length-1].scope:void 0);return this.getStack().push({client:this.getClient(),scope:e}),e},t.prototype.popScope=function(){return void 0!==this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var n=this._lastEventId=Object(ut.m)(),r=e;if(!e){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(t){o=t}r={originalException:t,syntheticException:o}}return this._invokeClient("captureException",t,tt.a({},r,{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var r=this._lastEventId=Object(ut.m)(),o=n;if(!n){var i=void 0;try{throw new Error(t)}catch(t){i=t}o={originalException:t,syntheticException:i}}return this._invokeClient("captureMessage",t,e,tt.a({},o,{event_id:r})),r},t.prototype.captureEvent=function(t,e){var n=this._lastEventId=Object(ut.m)();return this._invokeClient("captureEvent",t,tt.a({},e,{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop();if(n.scope&&n.client){var r=n.client.getOptions&&n.client.getOptions()||{},o=r.beforeBreadcrumb,i=void 0===o?null:o,a=r.maxBreadcrumbs,c=void 0===a?100:a;if(!(c<=0)){var s=Object(ut.l)(),u=tt.a({timestamp:s},t),l=i?Object(ut.c)((function(){return i(u,e)})):u;null!==l&&n.scope.addBreadcrumb(l,Math.min(c,100))}}},t.prototype.setUser=function(t){var e=this.getStackTop();e.scope&&e.scope.setUser(t)},t.prototype.setTags=function(t){var e=this.getStackTop();e.scope&&e.scope.setTags(t)},t.prototype.setExtras=function(t){var e=this.getStackTop();e.scope&&e.scope.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop();e.scope&&e.client&&t(e.scope)},t.prototype.run=function(t){var e=a(this);try{t(this)}finally{a(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return ft.a.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t,e){return void 0===e&&(e=!1),this._callExtensionMethod("startSpan",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n1&&(l=p.slice(0,-1).join("/"),f=p.pop()),this._fromComponents({host:c,pass:a,path:l,projectId:f,port:u,protocol:r,user:o})},t.prototype._fromComponents=function(t){this.protocol=t.protocol,this.user=t.user,this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._validate=function(){var t=this;if(["protocol","user","host","projectId"].forEach((function(e){if(!t[e])throw new dt("Invalid Dsn")})),"http"!==this.protocol&&"https"!==this.protocol)throw new dt("Invalid Dsn");if(this.port&&isNaN(parseInt(this.port,10)))throw new dt("Invalid Dsn")},t}(),gt=n("tZ4O"),yt=function(){function t(t){this.dsn=t,this._dsnObject=new vt(t)}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.getStoreEndpoint=function(){return""+this._getBaseUrl()+this.getStoreEndpointPath()},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){var t={sentry_key:this._dsnObject.user,sentry_version:"7"};return this.getStoreEndpoint()+"?"+Object(gt.e)(t)},t.prototype._getBaseUrl=function(){var t=this._dsnObject;return(t.protocol?t.protocol+":":"")+"//"+t.host+(t.port?":"+t.port:"")},t.prototype.getStoreEndpointPath=function(){var t=this._dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var n=this._dsnObject,r=["Sentry sentry_version=7"];return r.push("sentry_client="+t+"/"+e),r.push("sentry_key="+n.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}(),mt=n("dbjm"),bt=[],Et=function(){function t(t,e){this._integrations={},this._processing=!1,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=new vt(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this,o=e&&e.event_id;return this._processing=!0,this._getBackend().eventFromException(t,e).then((function(t){return r._processEvent(t,e,n)})).then((function(t){o=t&&t.event_id,r._processing=!1})).then(null,(function(t){ft.a.error(t),r._processing=!1})),o},t.prototype.captureMessage=function(t,e,n,r){var o=this,i=n&&n.event_id;return this._processing=!0,(Object(rt.i)(t)?this._getBackend().eventFromMessage(""+t,e,n):this._getBackend().eventFromException(t,n)).then((function(t){return o._processEvent(t,n,r)})).then((function(t){i=t&&t.event_id,o._processing=!1})).then(null,(function(t){ft.a.error(t),o._processing=!1})),i},t.prototype.captureEvent=function(t,e,n){var r=this,o=e&&e.event_id;return this._processing=!0,this._processEvent(t,e,n).then((function(t){o=t&&t.event_id,r._processing=!1})).then(null,(function(t){ft.a.error(t),r._processing=!1})),o},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(t){var e=this;return this._isClientProcessing(t).then((function(n){return clearInterval(n.interval),e._getBackend().getTransport().close(t).then((function(t){return n.ready&&t}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=function(t){var e={};return function(t){var e=t.defaultIntegrations&&tt.d(t.defaultIntegrations)||[],n=t.integrations,r=[];if(Array.isArray(n)){var o=n.map((function(t){return t.name})),i=[];e.forEach((function(t){-1===o.indexOf(t.name)&&-1===i.indexOf(t.name)&&(r.push(t),i.push(t.name))})),n.forEach((function(t){-1===i.indexOf(t.name)&&(r.push(t),i.push(t.name))}))}else"function"==typeof n?(r=n(e),r=Array.isArray(r)?r:[r]):r=tt.d(e);var a=r.map((function(t){return t.name}));return-1!==a.indexOf("Debug")&&r.push.apply(r,tt.d(r.splice(a.indexOf("Debug"),1))),r}(t).forEach((function(t){e[t.name]=t,function(t){-1===bt.indexOf(t.name)&&(t.setupOnce(o,c),bt.push(t.name),ft.a.log("Integration installed: "+t.name))}(t)})),e}(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return ft.a.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._isClientProcessing=function(t){var e=this;return new st((function(n){var r=0,o=0;clearInterval(o),o=setInterval((function(){e._processing?(r+=1,t&&r>=t&&n({interval:o,ready:!1})):n({interval:o,ready:!0})}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.environment,a=o.release,c=o.dist,s=o.maxValueLength,u=void 0===s?250:s,l=o.normalizeDepth,f=void 0===l?3:l,p=tt.a({},t);void 0===p.environment&&void 0!==i&&(p.environment=i),void 0===p.release&&void 0!==a&&(p.release=a),void 0===p.dist&&void 0!==c&&(p.dist=c),p.message&&(p.message=Object(mt.d)(p.message,u));var h=p.exception&&p.exception.values&&p.exception.values[0];h&&h.value&&(h.value=Object(mt.d)(h.value,u));var d=p.request;d&&d.url&&(d.url=Object(mt.d)(d.url,u)),void 0===p.event_id&&(p.event_id=n&&n.event_id?n.event_id:Object(ut.m)()),this._addIntegrations(p.sdk);var _=st.resolve(p);return e&&(_=e.applyToEvent(p,n)),_.then((function(t){return"number"==typeof f&&f>0?r._normalizeEvent(t,f):t}))},t.prototype._normalizeEvent=function(t,e){return t?tt.a({},t,t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return tt.a({},t,t.data&&{data:Object(gt.c)(t.data,e)})}))},t.user&&{user:Object(gt.c)(t.user,e)},t.contexts&&{contexts:Object(gt.c)(t.contexts,e)},t.extra&&{extra:Object(gt.c)(t.extra,e)}):null},t.prototype._addIntegrations=function(t){var e=Object.keys(this._integrations);t&&e.length>0&&(t.integrations=e)},t.prototype._processEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.beforeSend,a=o.sampleRate;return this._isEnabled()?"number"==typeof a&&Math.random()>a?st.reject("This event has been sampled, will not send event."):new st((function(o,a){r._prepareEvent(t,n,e).then((function(t){if(null!==t){var n=t;if(e&&e.data&&!0===e.data.__sentry__||!i)return r._getBackend().sendEvent(n),void o(n);var c=i(t,e);if(void 0===c)ft.a.error("`beforeSend` method has to return `null` or a valid event.");else if(Object(rt.m)(c))r._handleAsyncBeforeSend(c,o,a);else{if(null===(n=c))return ft.a.log("`beforeSend` returned `null`, will not send event."),void o(null);r._getBackend().sendEvent(n),o(n)}}else a("An event processor returned null, will not send event.")})).then(null,(function(t){r.captureException(t,{data:{__sentry__:!0},originalException:t}),a("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))})):st.reject("SDK not enabled, will not send event.")},t.prototype._handleAsyncBeforeSend=function(t,e,n){var r=this;t.then((function(t){null!==t?(r._getBackend().sendEvent(t),e(t)):n("`beforeSend` returned `null`, will not send event.")})).then(null,(function(t){n("beforeSend rejected with "+t)}))},t}(),Ot=function(){function t(){}return t.prototype.sendEvent=function(){return st.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:Q.Skipped})},t.prototype.close=function(){return st.resolve(!0)},t}(),xt=function(){function t(t){this._options=t,this._options.dsn||ft.a.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype._setupTransport=function(){return new Ot},t.prototype.eventFromException=function(){throw new dt("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(){throw new dt("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,(function(t){ft.a.error("Error while sending event: "+t)}))},t.prototype.getTransport=function(){return this._transport},t}(),wt=n("M0dJ"),jt=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,St=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,kt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Tt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ct=/\((\S*)(?::(\d+))(?::(\d+))\)/,Rt=function(){function t(t){this._limit=t,this._buffer=[]}return t.prototype.isReady=function(){return void 0===this._limit||this.length()0&&n(!1)}),t);st.all(e._buffer).then((function(){clearTimeout(r),n(!0)})).then(null,(function(){n(!0)}))}))},t}(),It=function(){function t(t){this.options=t,this._buffer=new Rt(30),this.url=new yt(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(){throw new dt("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t}(),Pt=Object(ut.f)(),Dt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._disabledUntil=new Date(Date.now()),e}return tt.b(e,t),e.prototype.sendEvent=function(t){var e=this;if(new Date(Date.now())"}0!==e.length&&c().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name})},t.prototype._xhrBreadcrumb=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;c().addBreadcrumb({category:"xhr",data:t.xhr.__sentry_xhr__,type:"http"},{xhr:t.xhr})}else this._options.sentry&&t.xhr.__sentry_own_request__&&B(t.args[0])},t.prototype._fetchBreadcrumb=function(t){if(t.endTimestamp){var e=c().getClient(),n=e&&e.getDsn();if(this._options.sentry&&n){var r=new yt(n).getStoreEndpoint();if(r&&-1!==t.fetchData.url.indexOf(r)&&"POST"===t.fetchData.method&&t.args[1]&&t.args[1].body)return void B(t.args[1].body)}t.error?c().addBreadcrumb({category:"fetch",data:tt.a({},t.fetchData,{status_code:t.response.status}),level:et.a.Error,type:"http"},{data:t.error,input:t.args}):c().addBreadcrumb({category:"fetch",data:tt.a({},t.fetchData,{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})}},t.prototype._historyBreadcrumb=function(t){var e=Object(ut.f)(),n=t.from,r=t.to,o=Object(ut.k)(e.location.href),i=Object(ut.k)(n),a=Object(ut.k)(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),c().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},t.prototype.setupOnce=function(){var t=this;this._options.console&&L({callback:function(){for(var e=[],n=0;n0?e:Object(ut.g)();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:o,filename:a,function:"?",in_app:!0,lineno:i}),t},t.id="GlobalHandlers",t}(),Xt=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){o((function(e,n){var r=c().getIntegration(t);return r?r._handler(e,n):e}))},t.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&Object(rt.g)(e.originalException,Error)))return t;var n=this._walkErrorTree(e.originalException,this._key);return t.exception.values=tt.d(n,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!Object(rt.g)(t[e],Error)||n.length+1>=this._limit)return n;var r=k(w(t[e]));return this._walkErrorTree(t[e],e,tt.d([r],n))},t.id="LinkedErrors",t}(),Qt=Object(ut.f)(),te=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){o((function(e){if(c().getIntegration(t)){if(!Qt.navigator||!Qt.location)return e;var n=e.request||{};return n.url=n.url||Qt.location.href,n.headers=n.headers||{},n.headers["User-Agent"]=Qt.navigator.userAgent,tt.a({},e,{request:n})}return e}))},t.id="UserAgent",t}(),ee=[new G.InboundFilters,new G.FunctionToString,new qt,new Gt,new Kt,new Xt,new te],ne={},re=Object(ut.f)();re.Sentry&&re.Sentry.Integrations&&(ne=re.Sentry.Integrations);var oe=tt.a({},ne,G,K)},zCbC:function(t,e,n){"use strict";var r=n("SdNZ");e.a=Object(r.a)((function(t){n.e(6).then(function(){t(n("YJDv"))}.bind(null,n)).catch(n.oe)}))}}); //# sourceMappingURL=bundle.b009d.esm.js.map