2 lines
No EOL
90 KiB
JavaScript
2 lines
No EOL
90 KiB
JavaScript
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=26)}([function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return i}),n.d(e,"d",function(){return s}),n.d(e,"f",function(){return a}),n.d(e,"c",function(){return c}),n.d(e,"e",function(){return u});var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function a(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function u(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t}},,,function(t,e,n){"use strict";function r(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(t,Error)}}function o(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function i(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function s(t){return"[object DOMException]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return null===t||"object"!==typeof t&&"function"!==typeof t}function u(t){return"[object Object]"===Object.prototype.toString.call(t)}function p(t){return"undefined"!==typeof Event&&v(t,Event)}function l(t){return"undefined"!==typeof Element&&v(t,Element)}function f(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function d(t){return Boolean(t&&t.then&&"function"===typeof t.then)}function h(t){return u(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function v(t,e){try{return t instanceof e}catch(n){return!1}}n.d(e,"d",function(){return r}),n.d(e,"e",function(){return o}),n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s}),n.d(e,"k",function(){return a}),n.d(e,"i",function(){return c}),n.d(e,"h",function(){return u}),n.d(e,"f",function(){return p}),n.d(e,"c",function(){return l}),n.d(e,"j",function(){return f}),n.d(e,"m",function(){return d}),n.d(e,"l",function(){return h}),n.d(e,"g",function(){return v})},function(t,e,n){"use strict";function r(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return f(t,Error)}}function o(t){return"[object String]"===Object.prototype.toString.call(t)}function i(t){return null===t||"object"!==typeof t&&"function"!==typeof t}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function a(t){return"undefined"!==typeof Event&&f(t,Event)}function c(t){return"undefined"!==typeof Element&&f(t,Element)}function u(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function p(t){return Boolean(t&&t.then&&"function"===typeof t.then)}function l(t){return s(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function f(t,e){try{return t instanceof e}catch(n){return!1}}n.d(e,"b",function(){return r}),n.d(e,"h",function(){return o}),n.d(e,"f",function(){return i}),n.d(e,"e",function(){return s}),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return c}),n.d(e,"g",function(){return u}),n.d(e,"j",function(){return p}),n.d(e,"i",function(){return l}),n.d(e,"d",function(){return f})},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(r){"object"===typeof window&&(n=window)}t.exports=n},,function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){"use strict";(function(t){n.d(e,"e",function(){return i}),n.d(e,"h",function(){return s}),n.d(e,"d",function(){return a}),n.d(e,"c",function(){return c}),n.d(e,"b",function(){return u}),n.d(e,"a",function(){return p}),n.d(e,"f",function(){return l}),n.d(e,"g",function(){return d});var r=n(19),o=(n(9),{});function i(){return Object(r.a)()?t:"undefined"!==typeof window?window:"undefined"!==typeof self?self:o}function s(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}function a(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function c(t){var e=i();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),o}function u(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 p(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(n){}}function l(){try{return document.location.href}catch(t){return""}}var f=6e4;function d(t,e){if(!e)return f;var n=parseInt(""+e,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+e);return isNaN(r)?f:r-t}}).call(this,n(5))},function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"b",function(){return o}),n.d(e,"a",function(){return i});n(3);function r(t,e){return void 0===e&&(e=0),"string"!==typeof t||0===e?t:t.length<=e?t:t.substr(0,e)+"..."}function o(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var o=Math.max(e-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),i<r&&(n+=" {snip}"),n}function i(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var o=t[r];try{n.push(String(o))}catch(i){n.push("[value cannot be serialized]")}}return n.join(e)}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(4);function o(t,e){try{for(var n=t,r=[],o=0,s=0,a=" > ".length,c=void 0;n&&o++<5&&!("html"===(c=i(n,e))||o>1&&s+r.length*a+c.length>=80);)r.push(c),s+=c.length,n=n.parentNode;return r.reverse().join(" > ")}catch(u){return"<unknown>"}}function i(t,e){var n,o,i,s,a,c=t,u=[];if(!c||!c.tagName)return"";u.push(c.tagName.toLowerCase());var p=e?c.getAttribute(e):null;if(p)u.push("["+e+'="'+p+'"]');else if(c.id&&u.push("#"+c.id),(n=c.className)&&Object(r.h)(n))for(o=n.split(/\s+/),a=0;a<o.length;a++)u.push("."+o[a]);var l=["type","name","title","alt"];for(a=0;a<l.length;a++)i=l[a],(s=c.getAttribute(i))&&u.push("["+i+'="'+s+'"]');return u.join("")}},,function(t,e,n){"use strict";(function(t){n.d(e,"c",function(){return i}),n.d(e,"d",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"a",function(){return c});var r=n(13),o=(n(15),{});function i(){return Object(r.b)()?t:"undefined"!==typeof window?window:"undefined"!==typeof self?self:o}function s(){var t=i(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}function a(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function c(t){var e=i();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),o}}).call(this,n(5))},function(t,e,n){"use strict";(function(t,r){function o(){return"[object process]"===Object.prototype.toString.call("undefined"!==typeof t?t:0)}function i(t,e){return t.require(e)}n.d(e,"b",function(){return o}),n.d(e,"a",function(){return i})}).call(this,n(14),n(7)(t))},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(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:s}catch(t){r=s}}();var c,u=[],p=!1,l=-1;function f(){p&&c&&(p=!1,c.length?u=c.concat(u):l=-1,u.length&&d())}function d(){if(!p){var t=a(f);p=!0;for(var e=u.length;e;){for(c=u,u=[];++l<e;)c&&c[l].run();l=-1,e=u.length}c=null,p=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===s||!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];u.push(new h(t,e)),1!==u.length||p||a(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}},function(t,e,n){"use strict";n.d(e,"c",function(){return o}),n.d(e,"b",function(){return i}),n.d(e,"a",function(){return s});var r=n(4);function o(t,e){return void 0===e&&(e=0),"string"!==typeof t||0===e?t:t.length<=e?t:t.substr(0,e)+"..."}function i(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var o=Math.max(e-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),i<r&&(n+=" {snip}"),n}function s(t,e){return!!Object(r.h)(t)&&(Object(r.g)(e)?e.test(t):"string"===typeof e&&-1!==t.indexOf(e))}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r="<anonymous>";function o(t){try{return t&&"function"===typeof t&&t.name||r}catch(e){return r}}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r="<anonymous>";function o(t){try{return t&&"function"===typeof t&&t.name||r}catch(e){return r}}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(){this._hasWeakSet="function"===typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var e=0;e<this._inner.length;e++){if(this._inner[e]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var e=0;e<this._inner.length;e++)if(this._inner[e]===t){this._inner.splice(e,1);break}},t}()},function(t,e,n){"use strict";(function(t,r){function o(){return"[object process]"===Object.prototype.toString.call("undefined"!==typeof t?t:0)}n.d(e,"a",function(){return o})}).call(this,n(14),n(7)(t))},,,,function(t,e,n){"use strict";(function(t){n.d(e,"b",function(){return c}),n.d(e,"c",function(){return l}),n.d(e,"a",function(){return d});n(0);var r=n(24),o=n(3),i=n(25),s=n(16),a=n(9);function c(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(i){}t[e]=o}}function u(t){if(Object(o.d)(t)){var e=t,n={message:e.message,name:e.name,stack:e.stack};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}if(Object(o.f)(t)){var s=t,a={};a.type=s.type;try{a.target=Object(o.c)(s.target)?Object(r.a)(s.target):Object.prototype.toString.call(s.target)}catch(c){a.target="<unknown>"}try{a.currentTarget=Object(o.c)(s.currentTarget)?Object(r.a)(s.currentTarget):Object.prototype.toString.call(s.currentTarget)}catch(c){a.currentTarget="<unknown>"}for(var i in"undefined"!==typeof CustomEvent&&Object(o.g)(t,CustomEvent)&&(a.detail=s.detail),s)Object.prototype.hasOwnProperty.call(s,i)&&(a[i]=s);return a}return t}function p(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function l(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r=function(t,e){try{return JSON.parse(JSON.stringify(t,function(t,n){return function t(e,n,r,s){void 0===r&&(r=1/0);void 0===s&&(s=new i.a);if(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=f(t);return Object(o.i)(n)?n:e}(n);if(null!==n&&void 0!==n&&"function"===typeof n.toJSON)return n.toJSON();var a=f(n,e);if(Object(o.i)(a))return a;var c=u(n);var p=Array.isArray(n)?[]:{};if(s.memoize(n))return"[Circular ~]";for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(p[l]=t(l,c[l],r-1,s));s.unmemoize(n);return p}(t,n,e)}))}catch(n){return"**non-serializable**"}}(t,e);return p(r)>n?l(t,e-1,n):r}function f(e,n){return"domain"===n&&e&&"object"===typeof e&&e._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!==typeof t&&e===t?"[Global]":"undefined"!==typeof window&&e===window?"[Window]":"undefined"!==typeof document&&e===document?"[Document]":Object(o.l)(e)?"[SyntheticEvent]":"number"===typeof e&&e!==e?"[NaN]":void 0===e?"[undefined]":"function"===typeof e?"[Function: "+Object(s.a)(e)+"]":"symbol"===typeof e?"["+String(e)+"]":"bigint"===typeof e?"[BigInt: "+String(e)+"]":e}function d(t,e){void 0===e&&(e=40);var n=Object.keys(u(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return Object(a.c)(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(a.c)(o,e)}return""}}).call(this,n(5))},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(3);function o(t,e){try{for(var n=t,r=[],o=0,s=0,a=" > ".length,c=void 0;n&&o++<5&&!("html"===(c=i(n,e))||o>1&&s+r.length*a+c.length>=80);)r.push(c),s+=c.length,n=n.parentNode;return r.reverse().join(" > ")}catch(u){return"<unknown>"}}function i(t,e){var n,o,i,s,a,c=t,u=[];if(!c||!c.tagName)return"";u.push(c.tagName.toLowerCase());var p=e?c.getAttribute(e):null;if(p)u.push("["+e+'="'+p+'"]');else if(c.id&&u.push("#"+c.id),(n=c.className)&&Object(r.k)(n))for(o=n.split(/\s+/),a=0;a<o.length;a++)u.push("."+o[a]);var l=["type","name","title","alt"];for(a=0;a<l.length;a++)i=l[a],(s=c.getAttribute(i))&&u.push("["+i+'="'+s+'"]');return u.join("")}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(){this._hasWeakSet="function"===typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var e=0;e<this._inner.length;e++){if(this._inner[e]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var e=0;e<this._inner.length;e++)if(this._inner[e]===t){this._inner.splice(e,1);break}},t}()},function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"FunctionToString",function(){return K}),n.d(r,"InboundFilters",function(){return Q});var o={};n.r(o),n.d(o,"GlobalHandlers",function(){return xe}),n.d(o,"TryCatch",function(){return we}),n.d(o,"Breadcrumbs",function(){return je}),n.d(o,"LinkedErrors",function(){return Re}),n.d(o,"UserAgent",function(){return De});var i={};n.r(i),n.d(i,"BaseTransport",function(){return fe}),n.d(i,"FetchTransport",function(){return de}),n.d(i,"XHRTransport",function(){return he});var s={};n.r(s),n.d(s,"Integrations",function(){return Ye}),n.d(s,"Transports",function(){return i}),n.d(s,"Severity",function(){return Pt}),n.d(s,"Status",function(){return se}),n.d(s,"addGlobalEventProcessor",function(){return j}),n.d(s,"addBreadcrumb",function(){return M}),n.d(s,"captureException",function(){return L}),n.d(s,"captureEvent",function(){return A}),n.d(s,"captureMessage",function(){return P}),n.d(s,"configureScope",function(){return U}),n.d(s,"getHubFromCarrier",function(){return D}),n.d(s,"getCurrentHub",function(){return R}),n.d(s,"Hub",function(){return x}),n.d(s,"makeMain",function(){return T}),n.d(s,"Scope",function(){return m}),n.d(s,"startTransaction",function(){return G}),n.d(s,"SDK_VERSION",function(){return X}),n.d(s,"setContext",function(){return q}),n.d(s,"setExtra",function(){return H}),n.d(s,"setExtras",function(){return F}),n.d(s,"setTag",function(){return W}),n.d(s,"setTags",function(){return B}),n.d(s,"setUser",function(){return Y}),n.d(s,"withScope",function(){return J}),n.d(s,"BrowserClient",function(){return Ee}),n.d(s,"injectReportDialog",function(){return ge}),n.d(s,"eventFromException",function(){return Qt}),n.d(s,"eventFromMessage",function(){return Zt}),n.d(s,"defaultIntegrations",function(){return Ne}),n.d(s,"forceLoad",function(){return Ae}),n.d(s,"init",function(){return Ce}),n.d(s,"lastEventId",function(){return Pe}),n.d(s,"onLoad",function(){return Ue}),n.d(s,"showReportDialog",function(){return Le}),n.d(s,"flush",function(){return Me}),n.d(s,"close",function(){return qe}),n.d(s,"wrap",function(){return Fe}),n.d(s,"SDK_NAME",function(){return Be});var a,c,u=n(0);!function(t){t.Ok="ok",t.Exited="exited",t.Crashed="crashed",t.Abnormal="abnormal"}(a||(a={})),function(t){t.Ok="ok",t.Errored="errored",t.Crashed="crashed"}(c||(c={}));var p=n(12),l=n(27),f=Object(p.c)(),d="Sentry Logger ",h=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&Object(p.a)(function(){f.console.log(d+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&Object(p.a)(function(){f.console.warn(d+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&Object(p.a)(function(){f.console.error(d+"[Error]: "+t.join(" "))})},t}();f.__SENTRY__=f.__SENTRY__||{};var v,_=f.__SENTRY__.logger||(f.__SENTRY__.logger=new h),y=n(13),b=n(4);!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(v||(v={}));var g=function(){function t(t){var e=this;this._state=v.PENDING,this._handlers=[],this._resolve=function(t){e._setResult(v.RESOLVED,t)},this._reject=function(t){e._setResult(v.REJECTED,t)},this._setResult=function(t,n){e._state===v.PENDING&&(Object(b.j)(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!==v.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach(function(t){t.done||(e._state===v.RESOLVED&&t.onfulfilled&&t.onfulfilled(e._value),e._state===v.REJECTED&&t.onrejected&&t.onrejected(e._value),t.done=!0)})}};try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}return t.resolve=function(e){return new t(function(t){t(e)})},t.reject=function(e){return new t(function(t,n){n(e)})},t.all=function(e){return new t(function(n,r){if(Array.isArray(e))if(0!==e.length){var o=e.length,i=[];e.forEach(function(e,s){t.resolve(e).then(function(t){i[s]=t,0===(o-=1)&&n(i)}).then(null,r)})}else n([]);else r(new TypeError("Promise.all requires an array as input."))})},t.prototype.then=function(e,n){var r=this;return new t(function(t,o){r._attachHandler({done:!1,onfulfilled:function(n){if(e)try{return void t(e(n))}catch(r){return void o(r)}else t(n)},onrejected:function(e){if(n)try{return void t(n(e))}catch(r){return void o(r)}else o(e)}})})},t.prototype.catch=function(t){return this.then(function(t){return t},t)},t.prototype.finally=function(e){var n=this;return new t(function(t,r){var o,i;return n.then(function(t){i=!1,o=t,e&&e()},function(t){i=!0,o=t,e&&e()}).then(function(){i?r(o):t(o)})})},t.prototype.toString=function(){return"[object SyncPromise]"},t}(),m=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=Object(u.e)(e._breadcrumbs),n._tags=Object(u.a)({},e._tags),n._extra=Object(u.a)({},e._extra),n._contexts=Object(u.a)({},e._contexts),n._user=e._user,n._level=e._level,n._span=e._span,n._session=e._session,n._transactionName=e._transactionName,n._fingerprint=e._fingerprint,n._eventProcessors=Object(u.e)(e._eventProcessors),n._requestSession=e._requestSession),n},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=Object(u.a)(Object(u.a)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=Object(u.a)(Object(u.a)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=Object(u.a)(Object(u.a)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=Object(u.a)(Object(u.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.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=Object(u.a)(Object(u.a)({},this._contexts),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t,e,n,r,o=this.getSpan();return(null===(t=o)||void 0===t?void 0:t.transaction)?null===(e=o)||void 0===e?void 0:e.transaction:(null===(r=null===(n=o)||void 0===n?void 0:n.spanRecorder)||void 0===r?void 0:r.spans[0])?o.spanRecorder.spans[0]:void 0},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"===typeof e){var n=e(this);return n instanceof t?n:this}return e instanceof t?(this._tags=Object(u.a)(Object(u.a)({},this._tags),e._tags),this._extra=Object(u.a)(Object(u.a)({},this._extra),e._extra),this._contexts=Object(u.a)(Object(u.a)({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):Object(b.e)(e)&&(e=e,this._tags=Object(u.a)(Object(u.a)({},this._tags),e.tags),this._extra=Object(u.a)(Object(u.a)({},this._extra),e.extra),this._contexts=Object(u.a)(Object(u.a)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n="number"===typeof e?Math.min(e,100):100;if(n<=0)return this;var r=Object(u.a)({timestamp:Object(l.a)()},t);return this._breadcrumbs=Object(u.e)(this._breadcrumbs,[r]).slice(-n),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){var n;if(this._extra&&Object.keys(this._extra).length&&(t.extra=Object(u.a)(Object(u.a)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=Object(u.a)(Object(u.a)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=Object(u.a)(Object(u.a)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=Object(u.a)(Object(u.a)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=Object(u.a)({trace:this._span.getTraceContext()},t.contexts);var r=null===(n=this._span.transaction)||void 0===n?void 0:n.name;r&&(t.tags=Object(u.a)({transaction:r},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=Object(u.e)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors(Object(u.e)(O(),this._eventProcessors),t,e)},t.prototype._notifyEventProcessors=function(t,e,n,r){var o=this;return void 0===r&&(r=0),new g(function(i,s){var a=t[r];if(null===e||"function"!==typeof a)i(e);else{var c=a(Object(u.a)({},e),n);Object(b.j)(c)?c.then(function(e){return o._notifyEventProcessors(t,e,n,r+1).then(i)}).then(null,s):o._notifyEventProcessors(t,c,n,r+1).then(i).then(null,s)}})},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(e){e(t)}),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function O(){var t=Object(p.c)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function j(t){O().push(t)}var E=n(28),S=function(){function t(t){this.errors=0,this.sid=Object(p.d)(),this.duration=0,this.status=a.Ok,this.init=!0,this.ignoreDuration=!1;var e=Object(l.b)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(t.user.ip_address&&(this.ipAddress=t.user.ip_address),t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Object(l.b)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:Object(p.d)()),void 0!==t.init&&(this.init=t.init),t.did&&(this.did=""+t.did),"number"===typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"===typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),t.ipAddress&&(this.ipAddress=t.ipAddress),t.userAgent&&(this.userAgent=t.userAgent),"number"===typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):this.status===a.Ok?this.update({status:a.Exited}):this.update()},t.prototype.toJSON=function(){return Object(E.a)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"===typeof this.did||"string"===typeof this.did?""+this.did:void 0,duration:this.duration,attrs:Object(E.a)({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},t}(),w=4,x=function(){function t(t,e,n){void 0===e&&(e=new m),void 0===n&&(n=w),this._version=n,this._stack=[{}],this.getStackTop().scope=e,this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=m.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var n=this._lastEventId=Object(p.d)(),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,Object(u.a)(Object(u.a)({},r),{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var r=this._lastEventId=Object(p.d)(),o=n;if(!n){var i=void 0;try{throw new Error(t)}catch(s){i=s}o={originalException:t,syntheticException:i}}return this._invokeClient("captureMessage",t,e,Object(u.a)(Object(u.a)({},o),{event_id:r})),r},t.prototype.captureEvent=function(t,e){var n=this._lastEventId=Object(p.d)();return this._invokeClient("captureEvent",t,Object(u.a)(Object(u.a)({},e),{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop(),r=n.scope,o=n.client;if(r&&o){var i=o.getOptions&&o.getOptions()||{},s=i.beforeBreadcrumb,a=void 0===s?null:s,c=i.maxBreadcrumbs,f=void 0===c?100:c;if(!(f<=0)){var d=Object(l.a)(),h=Object(u.a)({timestamp:d},t),v=a?Object(p.a)(function(){return a(h,e)}):h;null!==v&&r.addBreadcrumb(v,f)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getScope();n&&n.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getScope();n&&n.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getScope();n&&n.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope,r=e.client;n&&r&&t(n)},t.prototype.run=function(t){var e=T(this);try{t(this)}finally{T(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(n){return _.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t,e,n,r,o;null===(n=null===(e=null===(t=this.getStackTop())||void 0===t?void 0:t.scope)||void 0===e?void 0:e.getSession())||void 0===n||n.close(),this._sendSessionUpdate(),null===(o=null===(r=this.getStackTop())||void 0===r?void 0:r.scope)||void 0===o||o.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,r=e.client,o=r&&r.getOptions()||{},i=o.release,s=o.environment,c=new S(Object(u.a)(Object(u.a)({release:i,environment:s},n&&{user:n.getUser()}),t));if(n){var p=n.getSession&&n.getSession();p&&p.status===a.Ok&&p.update({status:a.Exited}),this.endSession(),n.setSession(c)}return c},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,n=t.client;if(e){var r=e.getSession&&e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},t.prototype._invokeClient=function(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this.getStackTop(),i=o.scope,s=o.client;s&&s[t]&&(e=s)[t].apply(e,Object(u.e)(n,[i]))},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=k().__SENTRY__;if(r&&r.extensions&&"function"===typeof r.extensions[t])return r.extensions[t].apply(this,e);_.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function k(){var t=Object(p.c)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function T(t){var e=k(),n=D(e);return N(e,t),n}function R(){var t=k();return I(t)&&!D(t).isOlderThan(w)||N(t,new x),Object(y.b)()?function(t){var e,n,r;try{var o=null===(r=null===(n=null===(e=k().__SENTRY__)||void 0===e?void 0:e.extensions)||void 0===n?void 0:n.domain)||void 0===r?void 0:r.active;if(!o)return D(t);if(!I(o)||D(o).isOlderThan(w)){var i=D(t).getStackTop();N(o,new x(i.client,m.clone(i.scope)))}return D(o)}catch(s){return D(t)}}(t):D(t)}function I(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function D(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub?t.__SENTRY__.hub:(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new x,t.__SENTRY__.hub)}function N(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}function C(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=R();if(r&&r[t])return r[t].apply(r,Object(u.e)(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function L(t,e){var n;try{throw new Error("Sentry syntheticException")}catch(t){n=t}return C("captureException",t,{captureContext:e,originalException:t,syntheticException:n})}function P(t,e){var n;try{throw new Error(t)}catch(o){n=o}var r="string"!==typeof e?{captureContext:e}:void 0;return C("captureMessage",t,"string"===typeof e?e:void 0,Object(u.a)({originalException:t,syntheticException:n},r))}function A(t){return C("captureEvent",t)}function U(t){C("configureScope",t)}function M(t){C("addBreadcrumb",t)}function q(t,e){C("setContext",t,e)}function F(t){C("setExtras",t)}function B(t){C("setTags",t)}function H(t,e){C("setExtra",t,e)}function W(t,e){C("setTag",t,e)}function Y(t){C("setUser",t)}function J(t){C("withScope",t)}function G(t,e){return C("startTransaction",Object(u.a)({},t),e)}var z,X="6.7.1",K=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){z=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.__sentry_original__||this;return z.apply(n,t)}},t.id="FunctionToString",t}(),V=n(15),$=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Q=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(){j(function(e){var n=R();if(!n)return e;var r=n.getIntegration(t);if(r){var o=n.getClient(),i=o?o.getOptions():{},s="function"===typeof r._mergeOptions?r._mergeOptions(i):{};return"function"!==typeof r._shouldDropEvent?e:r._shouldDropEvent(e,s)?null:e}return e})},t.prototype._shouldDropEvent=function(t,e){return this._isSentryError(t,e)?(_.warn("Event dropped due to being internal Sentry Error.\nEvent: "+Object(p.b)(t)),!0):this._isIgnoredError(t,e)?(_.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+Object(p.b)(t)),!0):this._isDeniedUrl(t,e)?(_.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+Object(p.b)(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0):!this._isAllowedUrl(t,e)&&(_.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+Object(p.b)(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0)},t.prototype._isSentryError=function(t,e){if(!e.ignoreInternal)return!1;try{return t&&t.exception&&t.exception.values&&t.exception.values[0]&&"SentryError"===t.exception.values[0].type||!1}catch(n){return!1}},t.prototype._isIgnoredError=function(t,e){return!(!e.ignoreErrors||!e.ignoreErrors.length)&&this._getPossibleEventMessages(t).some(function(t){return e.ignoreErrors.some(function(e){return Object(V.a)(t,e)})})},t.prototype._isDeniedUrl=function(t,e){if(!e.denyUrls||!e.denyUrls.length)return!1;var n=this._getEventFilterUrl(t);return!!n&&e.denyUrls.some(function(t){return Object(V.a)(n,t)})},t.prototype._isAllowedUrl=function(t,e){if(!e.allowUrls||!e.allowUrls.length)return!0;var n=this._getEventFilterUrl(t);return!n||e.allowUrls.some(function(t){return Object(V.a)(n,t)})},t.prototype._mergeOptions=function(t){return void 0===t&&(t={}),{allowUrls:Object(u.e)(this._options.whitelistUrls||[],this._options.allowUrls||[],t.whitelistUrls||[],t.allowUrls||[]),denyUrls:Object(u.e)(this._options.blacklistUrls||[],this._options.denyUrls||[],t.blacklistUrls||[],t.denyUrls||[]),ignoreErrors:Object(u.e)(this._options.ignoreErrors||[],t.ignoreErrors||[],$),ignoreInternal:"undefined"===typeof this._options.ignoreInternal||this._options.ignoreInternal}},t.prototype._getPossibleEventMessages=function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},n=e.type,r=void 0===n?"":n,o=e.value,i=void 0===o?"":o;return[""+i,r+": "+i]}catch(s){return _.error("Cannot extract message for event "+Object(p.b)(t)),[]}return[]},t.prototype._getEventFilterUrl=function(t){try{if(t.stacktrace){var e=t.stacktrace.frames;return e&&e[e.length-1].filename||null}if(t.exception){var n=t.exception.values&&t.exception.values[0].stacktrace&&t.exception.values[0].stacktrace.frames;return n&&n[n.length-1].filename||null}return null}catch(r){return _.error("Cannot extract url for event "+Object(p.b)(t)),null}},t.id="InboundFilters",t}();var Z,tt=n(8),et=n(3);!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(Z||(Z={}));var nt=function(){function t(t){var e=this;this._state=Z.PENDING,this._handlers=[],this._resolve=function(t){e._setResult(Z.RESOLVED,t)},this._reject=function(t){e._setResult(Z.REJECTED,t)},this._setResult=function(t,n){e._state===Z.PENDING&&(Object(et.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!==Z.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach(function(t){t.done||(e._state===Z.RESOLVED&&t.onfulfilled&&t.onfulfilled(e._value),e._state===Z.REJECTED&&t.onrejected&&t.onrejected(e._value),t.done=!0)})}};try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}return t.resolve=function(e){return new t(function(t){t(e)})},t.reject=function(e){return new t(function(t,n){n(e)})},t.all=function(e){return new t(function(n,r){if(Array.isArray(e))if(0!==e.length){var o=e.length,i=[];e.forEach(function(e,s){t.resolve(e).then(function(t){i[s]=t,0===(o-=1)&&n(i)}).then(null,r)})}else n([]);else r(new TypeError("Promise.all requires an array as input."))})},t.prototype.then=function(e,n){var r=this;return new t(function(t,o){r._attachHandler({done:!1,onfulfilled:function(n){if(e)try{return void t(e(n))}catch(r){return void o(r)}else t(n)},onrejected:function(e){if(n)try{return void t(n(e))}catch(r){return void o(r)}else o(e)}})})},t.prototype.catch=function(t){return this.then(function(t){return t},t)},t.prototype.finally=function(e){var n=this;return new t(function(t,r){var o,i;return n.then(function(t){i=!1,o=t,e&&e()},function(t){i=!0,o=t,e&&e()}).then(function(){i?r(o):t(o)})})},t.prototype.toString=function(){return"[object SyncPromise]"},t}(),rt=Object(tt.e)(),ot=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&Object(tt.c)(function(){rt.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&&Object(tt.c)(function(){rt.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&&Object(tt.c)(function(){rt.console.error("Sentry Logger [Error]: "+t.join(" "))})},t}();rt.__SENTRY__=rt.__SENTRY__||{};var it=rt.__SENTRY__.logger||(rt.__SENTRY__.logger=new ot),st=n(23),at=n(16);function ct(){if(!("fetch"in Object(tt.e)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function ut(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function pt(){if(!ct())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var lt,ft=Object(tt.e)(),dt={},ht={};function vt(t){if(!ht[t])switch(ht[t]=!0,t){case"console":!function(){if(!("console"in ft))return;["debug","info","warn","error","log","assert"].forEach(function(t){t in ft.console&&Object(st.b)(ft.console,t,function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];yt("console",{args:n,level:t}),e&&Function.prototype.apply.call(e,ft.console,n)}})})}();break;case"dom":!function(){if(!("document"in ft))return;var t=yt.bind(null,"dom"),e=Et(t,!0);ft.document.addEventListener("click",e,!1),ft.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(function(e){var n=ft[e]&&ft[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(st.b)(n,"addEventListener",function(e){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=i[n]=i[n]||{refCount:0};if(!s.handler){var a=Et(t);s.handler=a,e.call(this,n,a,o)}s.refCount+=1}catch(c){}return e.call(this,n,r,o)}}),Object(st.b)(n,"removeEventListener",function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[e];i&&(i.refCount-=1,i.refCount<=0&&(t.call(this,e,i.handler,r),i.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(s){}return t.call(this,e,n,r)}}))})}();break;case"xhr":!function(){if(!("XMLHttpRequest"in ft))return;var t=[],e=[],n=XMLHttpRequest.prototype;Object(st.b)(n,"open",function(n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=this,s=r[1];i.__sentry_xhr__={method:Object(et.k)(r[0])?r[0].toUpperCase():r[0],url:r[1]},Object(et.k)(s)&&"POST"===i.__sentry_xhr__.method&&s.match(/sentry_key/)&&(i.__sentry_own_request__=!0);var a=function(){if(4===i.readyState){try{i.__sentry_xhr__&&(i.__sentry_xhr__.status_code=i.status)}catch(s){}try{var n=t.indexOf(i);if(-1!==n){t.splice(n);var o=e.splice(n)[0];i.__sentry_xhr__&&void 0!==o[0]&&(i.__sentry_xhr__.body=o[0])}}catch(s){}yt("xhr",{args:r,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:i})}};return"onreadystatechange"in i&&"function"===typeof i.onreadystatechange?Object(st.b)(i,"onreadystatechange",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return a(),t.apply(i,e)}}):i.addEventListener("readystatechange",a),n.apply(i,r)}}),Object(st.b)(n,"send",function(n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.push(this),e.push(r),yt("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),n.apply(this,r)}})}();break;case"fetch":!function(){if(!function(){if(!ct())return!1;var t=Object(tt.e)();if(ut(t.fetch))return!0;var e=!1,n=t.document;if(n&&"function"===typeof n.createElement)try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=ut(r.contentWindow.fetch)),n.head.removeChild(r)}catch(o){it.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return e}())return;Object(st.b)(ft,"fetch",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r={args:e,fetchData:{method:bt(e),url:gt(e)},startTimestamp:Date.now()};return yt("fetch",Object(u.a)({},r)),t.apply(ft,e).then(function(t){return yt("fetch",Object(u.a)(Object(u.a)({},r),{endTimestamp:Date.now(),response:t})),t},function(t){throw yt("fetch",Object(u.a)(Object(u.a)({},r),{endTimestamp:Date.now(),error:t})),t})}})}();break;case"history":!function(){if(!function(){var t=Object(tt.e)(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&r}())return;var t=ft.onpopstate;function e(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.length>2?e[2]:void 0;if(r){var o=lt,i=String(r);lt=i,yt("history",{from:o,to:i})}return t.apply(this,e)}}ft.onpopstate=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=ft.location.href,o=lt;if(lt=r,yt("history",{from:o,to:r}),t)try{return t.apply(this,e)}catch(i){}},Object(st.b)(ft.history,"pushState",e),Object(st.b)(ft.history,"replaceState",e)}();break;case"error":St=ft.onerror,ft.onerror=function(t,e,n,r,o){return yt("error",{column:r,error:o,line:n,msg:t,url:e}),!!St&&St.apply(this,arguments)};break;case"unhandledrejection":wt=ft.onunhandledrejection,ft.onunhandledrejection=function(t){return yt("unhandledrejection",t),!wt||wt.apply(this,arguments)};break;default:it.warn("unknown instrumentation type:",t)}}function _t(t){t&&"string"===typeof t.type&&"function"===typeof t.callback&&(dt[t.type]=dt[t.type]||[],dt[t.type].push(t.callback),vt(t.type))}function yt(t,e){var n,r;if(t&&dt[t])try{for(var o=Object(u.f)(dt[t]||[]),i=o.next();!i.done;i=o.next()){var s=i.value;try{s(e)}catch(a){it.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Object(at.a)(s)+"\nError: "+a)}}}catch(c){n={error:c}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}function bt(t){return void 0===t&&(t=[]),"Request"in ft&&Object(et.g)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function gt(t){return void 0===t&&(t=[]),"string"===typeof t[0]?t[0]:"Request"in ft&&Object(et.g)(t[0],Request)?t[0].url:String(t[0])}var mt,Ot,jt=1e3;function Et(t,e){return void 0===e&&(e=!1),function(n){if(n&&Ot!==n&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(n){}return!0}(n)){var r="keypress"===n.type?"input":n.type;void 0===mt?(t({event:n,name:r,global:e}),Ot=n):function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(n){}return!1}(Ot,n)&&(t({event:n,name:r,global:e}),Ot=n),clearTimeout(mt),mt=ft.setTimeout(function(){mt=void 0},jt)}}}var St=null;var wt=null;var xt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n]);return t});var kt=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,xt(r,n.prototype),r}return Object(u.b)(e,t),e}(Error),Tt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,Rt=function(){function t(t){"string"===typeof t?this._fromString(t):this._fromComponents(t),this._validate()}return t.prototype.toString=function(t){void 0===t&&(t=!1);var e=this,n=e.host,r=e.path,o=e.pass,i=e.port,s=e.projectId;return e.protocol+"://"+e.publicKey+(t&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+s},t.prototype._fromString=function(t){var e=Tt.exec(t);if(!e)throw new kt("Invalid Dsn");var n=Object(u.c)(e.slice(1),6),r=n[0],o=n[1],i=n[2],s=void 0===i?"":i,a=n[3],c=n[4],p=void 0===c?"":c,l="",f=n[5],d=f.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),f=d.pop()),f){var h=f.match(/^\d+/);h&&(f=h[0])}this._fromComponents({host:a,pass:s,path:l,projectId:f,port:p,protocol:r,publicKey:o})},t.prototype._fromComponents=function(t){"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),this.user=t.publicKey||"",this.protocol=t.protocol,this.publicKey=t.publicKey||"",this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._validate=function(){var t=this;if(["protocol","publicKey","host","projectId"].forEach(function(e){if(!t[e])throw new kt("Invalid Dsn: "+e+" missing")}),!this.projectId.match(/^\d+$/))throw new kt("Invalid Dsn: Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new kt("Invalid Dsn: Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new kt("Invalid Dsn: Invalid port "+this.port)},t}(),It=[];function Dt(t){return t.reduce(function(t,e){return t.every(function(t){return e.name!==t.name})&&t.push(e),t},[])}function Nt(t){var e={};return function(t){var e=t.defaultIntegrations&&Object(u.e)(t.defaultIntegrations)||[],n=t.integrations,r=Object(u.e)(Dt(e));Array.isArray(n)?r=Object(u.e)(r.filter(function(t){return n.every(function(e){return e.name!==t.name})}),Dt(n)):"function"===typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map(function(t){return t.name});return-1!==o.indexOf("Debug")&&r.push.apply(r,Object(u.e)(r.splice(o.indexOf("Debug"),1))),r}(t).forEach(function(t){e[t.name]=t,function(t){-1===It.indexOf(t.name)&&(t.setupOnce(j,R),It.push(t.name),_.log("Integration installed: "+t.name))}(t)}),e}var Ct,Lt=function(){function t(t,e){this._integrations={},this._processing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=new Rt(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this,o=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then(function(t){return r._captureEvent(t,e,n)}).then(function(t){o=t})),o},t.prototype.captureMessage=function(t,e,n,r){var o=this,i=n&&n.event_id,s=Object(b.f)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(s.then(function(t){return o._captureEvent(t,n,r)}).then(function(t){i=t})),i},t.prototype.captureEvent=function(t,e,n){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then(function(t){r=t})),r},t.prototype.captureSession=function(t){"string"!==typeof t.release?_.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1}))},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(t){var e=this;return this._isClientProcessing(t).then(function(n){return e._getBackend().getTransport().close(t).then(function(t){return n&&t})})},t.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},t.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=Nt(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return _.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,r,o,i=!1,s=!1,c=e.exception&&e.exception.values;if(c){s=!0;try{for(var p=Object(u.f)(c),l=p.next();!l.done;l=p.next()){var f=l.value.mechanism;if(f&&!1===f.handled){i=!0;break}}}catch(_){n={error:_}}finally{try{l&&!l.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}}var d=e.user;if(!t.userAgent){var h=e.request?e.request.headers:{};for(var v in h)if("user-agent"===v.toLowerCase()){o=h[v];break}}t.update(Object(u.a)(Object(u.a)({},i&&{status:a.Crashed}),{user:d,userAgent:o,errors:t.errors+Number(s||i)})),this.captureSession(t)},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientProcessing=function(t){var e=this;return new g(function(n){var r=0,o=setInterval(function(){0==e._processing?(clearInterval(o),n(!0)):(r+=1,t&&r>=t&&(clearInterval(o),n(!1)))},1)})},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,o=this.getOptions().normalizeDepth,i=void 0===o?3:o,s=Object(u.a)(Object(u.a)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:Object(p.d)()),timestamp:t.timestamp||Object(l.a)()});this._applyClientOptions(s),this._applyIntegrationsMetadata(s);var a=e;n&&n.captureContext&&(a=m.clone(a).update(n.captureContext));var c=g.resolve(s);return a&&(c=a.applyToEvent(s,n)),c.then(function(t){return"number"===typeof i&&i>0?r._normalizeEvent(t,i):t})},t.prototype._normalizeEvent=function(t,e){if(!t)return null;var n=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return Object(u.a)(Object(u.a)({},t),t.data&&{data:Object(E.b)(t.data,e)})})}),t.user&&{user:Object(E.b)(t.user,e)}),t.contexts&&{contexts:Object(E.b)(t.contexts,e)}),t.extra&&{extra:Object(E.b)(t.extra,e)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,o=e.dist,i=e.maxValueLength,s=void 0===i?250:i;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==o&&(t.dist=o),t.message&&(t.message=Object(V.c)(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=Object(V.c)(a.value,s));var c=t.request;c&&c.url&&(c.url=Object(V.c)(c.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=Object(u.e)(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then(function(t){return t.event_id},function(t){_.error(t)})},t.prototype._processEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.beforeSend,s=o.sampleRate;if(!this._isEnabled())return g.reject(new kt("SDK not enabled, will not send event."));var a="transaction"===t.type;return!a&&"number"===typeof s&&Math.random()>s?g.reject(new kt("Discarding event because it's not included in the random sample (sampling rate = "+s+")")):this._prepareEvent(t,n,e).then(function(t){if(null===t)throw new kt("An event processor returned null, will not send event.");if(e&&e.data&&!0===e.data.__sentry__||a||!i)return t;var n=i(t,e);if("undefined"===typeof n)throw new kt("`beforeSend` method has to return `null` or a valid event.");return Object(b.j)(n)?n.then(function(t){return t},function(t){throw new kt("beforeSend rejected with "+t)}):n}).then(function(t){if(null===t)throw new kt("`beforeSend` returned `null`, will not send event.");var e=n&&n.getSession&&n.getSession();return!a&&e&&r._updateSessionFromEvent(e,t),r._sendEvent(t),t}).then(null,function(t){if(t instanceof kt)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new kt("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})},t.prototype._process=function(t){var e=this;this._processing+=1,t.then(function(t){return e._processing-=1,t},function(t){return e._processing-=1,t})},t}();!function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(Ct||(Ct={})),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}}(Ct||(Ct={}));var Pt,At=function(){function t(){}return t.prototype.sendEvent=function(t){return g.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:Ct.Skipped})},t.prototype.close=function(t){return g.resolve(!0)},t}(),Ut=function(){function t(t){this._options=t,this._options.dsn||_.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new kt("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new kt("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,function(t){_.error("Error while sending event: "+t)})},t.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,function(t){_.error("Error while sending session: "+t)}):_.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new At},t}();!function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(Pt||(Pt={})),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}}}(Pt||(Pt={}));var Mt="?",qt=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ft=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Bt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Ht=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Wt=/\((\S*)(?::(\d+))(?::(\d+))\)/,Yt=/Minified React error #\d+;/i;function Jt(t){var e=null,n=0;t&&("number"===typeof t.framesToPop?n=t.framesToPop:Yt.test(t.message)&&(n=1));try{if(e=function(t){if(!t||!t.stacktrace)return null;for(var e,n=t.stacktrace,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,o=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,i=n.split("\n"),s=[],a=0;a<i.length;a+=2){var c=null;(e=r.exec(i[a]))?c={url:e[2],func:e[3],args:[],line:+e[1],column:null}:(e=o.exec(i[a]))&&(c={url:e[6],func:e[3]||e[4],args:e[5]?e[5].split(","):[],line:+e[1],column:+e[2]}),c&&(!c.func&&c.line&&(c.func=Mt),s.push(c))}if(!s.length)return null;return{message:zt(t),name:t.name,stack:s}}(t))return Gt(e,n)}catch(r){}try{if(e=function(t){if(!t||!t.stack)return null;for(var e,n,r,o=[],i=t.stack.split("\n"),s=0;s<i.length;++s){if(n=qt.exec(i[s])){var a=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=Wt.exec(n[2]))&&(n[2]=e[1],n[3]=e[2],n[4]=e[3]);var c=n[2]&&0===n[2].indexOf("address at ")?n[2].substr("address at ".length):n[2],u=n[1]||Mt,p=-1!==u.indexOf("safari-extension"),l=-1!==u.indexOf("safari-web-extension");(p||l)&&(u=-1!==u.indexOf("@")?u.split("@")[0]:Mt,c=p?"safari-extension:"+c:"safari-web-extension:"+c),r={url:c,func:u,args:a?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=Bt.exec(i[s]))r={url:n[2],func:n[1]||Mt,args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=Ft.exec(i[s])))continue;n[3]&&n[3].indexOf(" > eval")>-1&&(e=Ht.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==s||n[5]||void 0===t.columnNumber||(o[0].column=t.columnNumber+1),r={url:n[3],func:n[1]||Mt,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func=Mt),o.push(r)}if(!o.length)return null;return{message:zt(t),name:t.name,stack:o}}(t))return Gt(e,n)}catch(r){}return{message:zt(t),name:t&&t.name,stack:[],failed:!0}}function Gt(t,e){try{return Object(u.a)(Object(u.a)({},t),{stack:t.stack.slice(e)})}catch(n){return t}}function zt(t){var e=t&&t.message;return e?e.error&&"string"===typeof e.error.message?e.error.message:e:"No error message"}var Xt=50;function Kt(t){var e=$t(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 Vt(t){return{exception:{values:[Kt(t)]}}}function $t(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",r=e[e.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,Xt).map(function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}}).reverse()}function Qt(t,e,n){var r=te(e,n&&n.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return Object(tt.a)(r,{handled:!0,type:"generic"}),r.level=Pt.Error,n&&n.event_id&&(r.event_id=n.event_id),nt.resolve(r)}function Zt(t,e,n,r){void 0===n&&(n=Pt.Info);var o=ee(e,r&&r.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),nt.resolve(o)}function te(t,e,n){var r;if(void 0===n&&(n={}),Object(et.e)(t)&&t.error)return r=Vt(Jt(t=t.error));if(Object(et.a)(t)||Object(et.b)(t)){var o=t,i=o.name||(Object(et.a)(o)?"DOMError":"DOMException"),s=o.message?i+": "+o.message:i;return r=ee(s,e,n),Object(tt.b)(r,s),"code"in o&&(r.tags=Object(u.a)(Object(u.a)({},r.tags),{"DOMException.code":""+o.code})),r}return Object(et.d)(t)?r=Vt(Jt(t)):Object(et.h)(t)||Object(et.f)(t)?(r=function(t,e,n){var r={exception:{values:[{type:Object(et.f)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+Object(st.a)(t)}]},extra:{__serialized__:Object(st.c)(t)}};if(e){var o=$t(Jt(e).stack);r.stacktrace={frames:o}}return r}(t,e,n.rejection),Object(tt.a)(r,{synthetic:!0}),r):(r=ee(t,e,n),Object(tt.b)(r,""+t,void 0),Object(tt.a)(r,{synthetic:!0}),r)}function ee(t,e,n){void 0===n&&(n={});var r={message:t};if(n.attachStacktrace&&e){var o=$t(Jt(e).stack);r.stacktrace={frames:o}}return r}function ne(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function re(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=Object(u.e)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=Object(u.e)(t.sdk.packages||[],e.packages||[]),t):t}function oe(t,e){var n=ne(e),r="aggregates"in t?"sessions":"session";return{body:JSON.stringify(Object(u.a)(Object(u.a)({sent_at:(new Date).toISOString()},n&&{sdk:n}),e.forceEnvelope()&&{dsn:e.getDsn().toString()}))+"\n"+JSON.stringify({type:r})+"\n"+JSON.stringify(t),type:r,url:e.getEnvelopeEndpointWithUrlEncodedAuth()}}function ie(t,e){var n=ne(e),r=t.type||"event",o="transaction"===r||e.forceEnvelope(),i=t.debug_meta||{},s=i.transactionSampling,a=Object(u.d)(i,["transactionSampling"]),c=s||{},p=c.method,l=c.rate;0===Object.keys(a).length?delete t.debug_meta:t.debug_meta=a;var f={body:JSON.stringify(n?re(t,e.metadata.sdk):t),type:r,url:o?e.getEnvelopeEndpointWithUrlEncodedAuth():e.getStoreEndpointWithUrlEncodedAuth()};if(o){var d=JSON.stringify(Object(u.a)(Object(u.a)({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),e.forceEnvelope()&&{dsn:e.getDsn().toString()}))+"\n"+JSON.stringify({type:r,sample_rates:[{id:p,rate:l}]})+"\n"+f.body;f.body=d}return f}var se,ae=function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=new Rt(t),this.metadata=e,this._tunnel=n}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){var t=this.getDsn(),e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"},t.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this.forceEnvelope()?this._tunnel:this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},t.prototype.getStoreEndpointPath=function(){var t=this.getDsn();return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var n=this.getDsn(),r=["Sentry sentry_version=7"];return r.push("sentry_client="+t+"/"+e),r.push("sentry_key="+n.publicKey),n.pass&&r.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this.getDsn(),n=this.getBaseApiEndpoint()+"embed/error-page/",r=[];for(var o in r.push("dsn="+e.toString()),t)if("dsn"!==o)if("user"===o){if(!t.user)continue;t.user.name&&r.push("name="+encodeURIComponent(t.user.name)),t.user.email&&r.push("email="+encodeURIComponent(t.user.email))}else r.push(encodeURIComponent(o)+"="+encodeURIComponent(t[o]));return r.length?n+"?"+r.join("&"):n},t.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},t.prototype._getIngestEndpoint=function(t){return this._tunnel?this._tunnel:""+this.getBaseApiEndpoint()+this.getDsn().projectId+"/"+t+"/"},t.prototype._encodedAuth=function(){var t={sentry_key:this.getDsn().publicKey,sentry_version:"7"};return Object(E.c)(t)},t}();!function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(se||(se={})),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}}(se||(se={}));var ce=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n]);return t});var ue=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,ce(r,n.prototype),r}return Object(u.b)(e,t),e}(Error),pe=function(){function t(t){this._limit=t,this._buffer=[]}return t.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},t.prototype.add=function(t){var e=this;return this.isReady()?(-1===this._buffer.indexOf(t)&&this._buffer.push(t),t.then(function(){return e.remove(t)}).then(null,function(){return e.remove(t).then(null,function(){})}),t):nt.reject(new ue("Not adding Promise due to buffer limit reached."))},t.prototype.remove=function(t){return this._buffer.splice(this._buffer.indexOf(t),1)[0]},t.prototype.length=function(){return this._buffer.length},t.prototype.drain=function(t){var e=this;return new nt(function(n){var r=setTimeout(function(){t&&t>0&&n(!1)},t);nt.all(e._buffer).then(function(){clearTimeout(r),n(!0)}).then(null,function(){n(!0)})})},t}(),le={event:"error",transaction:"transaction",session:"session",attachment:"attachment"},fe=function(){function t(t){this.options=t,this._buffer=new pe(30),this._rateLimits={},this._api=new ae(t.dsn,t._metadata,t.tunnel),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new ue("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,r=t.headers,o=t.resolve,i=t.reject,s=se.fromHttpCode(n.status);this._handleRateLimit(r)&&it.warn("Too many requests, backing off until: "+this._disabledUntil(e)),s!==se.Success?i(n):o({status:s})},t.prototype._disabledUntil=function(t){var e=le[t];return this._rateLimits[e]||this._rateLimits.all},t.prototype._isRateLimited=function(t){return this._disabledUntil(t)>new Date(Date.now())},t.prototype._handleRateLimit=function(t){var e,n,r,o,i=Date.now(),s=t["x-sentry-rate-limits"],a=t["retry-after"];if(s){try{for(var c=Object(u.f)(s.trim().split(",")),p=c.next();!p.done;p=c.next()){var l=p.value.split(":",2),f=parseInt(l[0],10),d=1e3*(isNaN(f)?60:f);try{for(var h=(r=void 0,Object(u.f)(l[1].split(";"))),v=h.next();!v.done;v=h.next()){var _=v.value;this._rateLimits[_||"all"]=new Date(i+d)}}catch(y){r={error:y}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}}}catch(b){e={error:b}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}return!0}return!!a&&(this._rateLimits.all=new Date(i+Object(tt.g)(i,a)),!0)},t}();var de=function(t){function e(e,n){void 0===n&&(n=function(){var t,e,n=Object(tt.e)();if(ut(n.fetch))return n.fetch.bind(n);var r=n.document,o=n.fetch;if("function"===typeof(null===(t=r)||void 0===t?void 0:t.createElement))try{var i=r.createElement("iframe");i.hidden=!0,r.head.appendChild(i),(null===(e=i.contentWindow)||void 0===e?void 0:e.fetch)&&(o=i.contentWindow.fetch),r.head.removeChild(i)}catch(s){it.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",s)}return o.bind(n)}());var r=t.call(this,e)||this;return r._fetch=n,r}return Object(u.b)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest(ie(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest(oe(t,this._api),t)},e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return Promise.reject({event:e,type:t.type,reason:"Transport locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var r={body:t.body,method:"POST",referrerPolicy:pt()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add(new nt(function(e,o){n._fetch(t.url,r).then(function(r){var i={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:t.type,response:r,headers:i,resolve:e,reject:o})}).catch(o)}))},e}(fe),he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(u.b)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest(ie(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest(oe(t,this._api),t)},e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?Promise.reject({event:e,type:t.type,reason:"Transport locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429}):this._buffer.add(new nt(function(e,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:o,headers:i,resolve:e,reject:r})}},o.open("POST",t.url),n.options.headers)n.options.headers.hasOwnProperty(i)&&o.setRequestHeader(i,n.options.headers[i]);o.send(t.body)}))},e}(fe),ve=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(u.b)(e,t),e.prototype.eventFromException=function(t,e){return Qt(this._options,t,e)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=Pt.Info),Zt(this._options,t,e,n)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=Object(u.a)(Object(u.a)({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(e):ct()?new de(e):new he(e)},e}(Ut),_e=0;function ye(){return _e>0}function be(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(i){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 be(t,e)});return t.handleEvent?t.handleEvent.apply(this,o):t.apply(this,o)}catch(i){throw _e+=1,setTimeout(function(){_e-=1}),J(function(t){t.addEventProcessor(function(t){var n=Object(u.a)({},t);return e.mechanism&&(Object(tt.b)(n,void 0,void 0),Object(tt.a)(n,e.mechanism)),n.extra=Object(u.a)(Object(u.a)({},n.extra),{arguments:r}),n}),L(i)}),i}};try{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}catch(s){}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(s){}return r}function ge(t){if(void 0===t&&(t={}),t.eventId)if(t.dsn){var e=document.createElement("script");e.async=!0,e.src=new ae(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(e.onload=t.onLoad),(document.head||document.body).appendChild(e)}else it.error("Missing dsn option in showReportDialog call");else it.error("Missing eventId option in showReportDialog call")}var me=n(9),Oe=n(24),je=function(){function t(e){this.name=t.id,this._options=Object(u.a)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&R().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Object(tt.d)(t)},{event:t})},t.prototype.setupOnce=function(){var t=this;this._options.console&&_t({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._consoleBreadcrumb.apply(t,Object(u.e)(e))},type:"console"}),this._options.dom&&_t({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._domBreadcrumb.apply(t,Object(u.e)(e))},type:"dom"}),this._options.xhr&&_t({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._xhrBreadcrumb.apply(t,Object(u.e)(e))},type:"xhr"}),this._options.fetch&&_t({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._fetchBreadcrumb.apply(t,Object(u.e)(e))},type:"fetch"}),this._options.history&&_t({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._historyBreadcrumb.apply(t,Object(u.e)(e))},type:"history"})},t.prototype._consoleBreadcrumb=function(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:Pt.fromString(t.level),message:Object(me.a)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+(Object(me.a)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}R().addBreadcrumb(e,{input:t.args,level:t.level})},t.prototype._domBreadcrumb=function(t){var e,n="object"===typeof this._options.dom?this._options.dom.serializeAttribute:void 0;try{e=t.event.target?Object(Oe.a)(t.event.target,n):Object(Oe.a)(t.event,n)}catch(r){e="<unknown>"}0!==e.length&&R().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name,global:t.global})},t.prototype._xhrBreadcrumb=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,r=e.url,o=e.status_code,i=e.body;R().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:t.xhr,input:i})}else;},t.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?R().addBreadcrumb({category:"fetch",data:t.fetchData,level:Pt.Error,type:"http"},{data:t.error,input:t.args}):R().addBreadcrumb({category:"fetch",data:Object(u.a)(Object(u.a)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},t.prototype._historyBreadcrumb=function(t){var e=Object(tt.e)(),n=t.from,r=t.to,o=Object(tt.h)(e.location.href),i=Object(tt.h)(n),s=Object(tt.h)(r);i.path||(i=o),o.protocol===s.protocol&&o.host===s.host&&(r=s.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),R().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},t.id="Breadcrumbs",t}(),Ee=function(t){function e(e){void 0===e&&(e={});return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:X}],version:X},t.call(this,ve,e)||this}return Object(u.b)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),Object(tt.e)().document&&(this._isEnabled()?ge(Object(u.a)(Object(u.a)({},t),{dsn:t.dsn||this.getDsn()})):it.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,n,r)},e.prototype._sendEvent=function(e){var n=this.getIntegration(je);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(Lt),Se=["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"],we=function(){function t(e){this.name=t.id,this._options=Object(u.a)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=Object(tt.e)();(this._options.setTimeout&&Object(st.b)(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&Object(st.b)(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&Object(st.b)(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(st.b)(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget)&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:Se).forEach(this._wrapEventTarget.bind(this))},t.prototype._wrapTimeFunction=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0];return e[0]=be(r,{mechanism:{data:{function:Object(at.a)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}},t.prototype._wrapRAF=function(t){return function(e){return t.call(this,be(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(at.a)(t)},handled:!0,type:"instrument"}}))}},t.prototype._wrapEventTarget=function(t){var e=Object(tt.e)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(st.b)(n,"addEventListener",function(e){return function(n,r,o){try{"function"===typeof r.handleEvent&&(r.handleEvent=be(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:Object(at.a)(r),target:t},handled:!0,type:"instrument"}}))}catch(i){}return e.call(this,n,be(r,{mechanism:{data:{function:"addEventListener",handler:Object(at.a)(r),target:t},handled:!0,type:"instrument"}}),o)}}),Object(st.b)(n,"removeEventListener",function(t){return function(e,n,r){var o,i=n;try{var s=null===(o=i)||void 0===o?void 0:o.__sentry_wrapped__;s&&t.call(this,e,s,r)}catch(a){}return t.call(this,e,i,r)}}))},t.prototype._wrapXHR=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(function(t){t in r&&"function"===typeof r[t]&&Object(st.b)(r,t,function(e){var n={mechanism:{data:{function:t,handler:Object(at.a)(e)},handled:!0,type:"instrument"}};return e.__sentry_original__&&(n.mechanism.data.handler=Object(at.a)(e.__sentry_original__)),be(e,n)})}),t.apply(this,e)}},t.id="TryCatch",t}(),xe=function(){function t(e){this.name=t.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=Object(u.a)({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(it.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(it.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},t.prototype._installGlobalOnErrorHandler=function(){var e=this;this._onErrorHandlerInstalled||(_t({callback:function(n){var r=n.error,o=R(),i=o.getIntegration(t),s=r&&!0===r.__sentry_own_request__;if(i&&!ye()&&!s){var a=o.getClient(),c=Object(et.i)(r)?e._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):e._enhanceEventWithInitialFrame(te(r,void 0,{attachStacktrace:a&&a.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);Object(tt.a)(c,{handled:!1,type:"onerror"}),o.captureEvent(c,{originalException:r})}},type:"error"}),this._onErrorHandlerInstalled=!0)},t.prototype._installGlobalOnUnhandledRejectionHandler=function(){var e=this;this._onUnhandledRejectionHandlerInstalled||(_t({callback:function(n){var r=n;try{"reason"in n?r=n.reason:"detail"in n&&"reason"in n.detail&&(r=n.detail.reason)}catch(u){}var o=R(),i=o.getIntegration(t),s=r&&!0===r.__sentry_own_request__;if(!i||ye()||s)return!0;var a=o.getClient(),c=Object(et.i)(r)?e._eventFromRejectionWithPrimitive(r):te(r,void 0,{attachStacktrace:a&&a.getOptions().attachStacktrace,rejection:!0});c.level=Pt.Error,Object(tt.a)(c,{handled:!1,type:"onunhandledrejection"}),o.captureEvent(c,{originalException:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},t.prototype._eventFromIncompleteOnError=function(t,e,n,r){var o,i=Object(et.e)(t)?t.message:t;if(Object(et.k)(i)){var s=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);s&&(o=s[1],i=s[2])}var a={exception:{values:[{type:o||"Error",value:i}]}};return this._enhanceEventWithInitialFrame(a,e,n,r)},t.prototype._eventFromRejectionWithPrimitive=function(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(t)}]}}},t.prototype._enhanceEventWithInitialFrame=function(t,e,n,r){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].stacktrace=t.exception.values[0].stacktrace||{},t.exception.values[0].stacktrace.frames=t.exception.values[0].stacktrace.frames||[];var o=isNaN(parseInt(r,10))?void 0:r,i=isNaN(parseInt(n,10))?void 0:n,s=Object(et.k)(e)&&e.length>0?e:Object(tt.f)();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:o,filename:s,function:"?",in_app:!0,lineno:i}),t},t.id="GlobalHandlers",t}(),ke="cause",Te=5,Re=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||ke,this._limit=e.limit||Te}return t.prototype.setupOnce=function(){j(function(e,n){var r=R().getIntegration(t);return r?r._handler(e,n):e})},t.prototype._handler=function(t,e){if(!t.exception||!t.exception.values||!e||!Object(et.g)(e.originalException,Error))return t;var n=this._walkErrorTree(e.originalException,this._key);return t.exception.values=Object(u.e)(n,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!Object(et.g)(t[e],Error)||n.length+1>=this._limit)return n;var r=Kt(Jt(t[e]));return this._walkErrorTree(t[e],e,Object(u.e)([r],n))},t.id="LinkedErrors",t}(),Ie=Object(tt.e)(),De=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){j(function(e){var n,r,o;if(R().getIntegration(t)){if(!Ie.navigator&&!Ie.location&&!Ie.document)return e;var i=(null===(n=e.request)||void 0===n?void 0:n.url)||(null===(r=Ie.location)||void 0===r?void 0:r.href),s=(Ie.document||{}).referrer,a=(Ie.navigator||{}).userAgent,c=Object(u.a)(Object(u.a)(Object(u.a)({},null===(o=e.request)||void 0===o?void 0:o.headers),s&&{Referer:s}),a&&{"User-Agent":a}),p=Object(u.a)(Object(u.a)({},i&&{url:i}),{headers:c});return Object(u.a)(Object(u.a)({},e),{request:p})}return e})},t.id="UserAgent",t}(),Ne=[new r.InboundFilters,new r.FunctionToString,new we,new je,new xe,new Re,new De];function Ce(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Ne),void 0===t.release){var e=Object(tt.e)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),function(t,e){var n;!0===e.debug&&_.enable();var r=R();null===(n=r.getScope())||void 0===n||n.update(e.initialScope);var o=new t(e);r.bindClient(o)}(Ee,t),t.autoSessionTracking&&function(){if("undefined"===typeof Object(tt.e)().document)return void it.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");var t=R();if("function"!==typeof t.startSession||"function"!==typeof t.captureSession)return;t.startSession({ignoreDuration:!0}),t.captureSession(),_t({callback:function(e){var n=e.from,r=e.to;void 0!==n&&n!==r&&(t.startSession({ignoreDuration:!0}),t.captureSession())},type:"history"})}()}function Le(t){void 0===t&&(t={}),t.eventId||(t.eventId=R().lastEventId());var e=R().getClient();e&&e.showReportDialog(t)}function Pe(){return R().lastEventId()}function Ae(){}function Ue(t){t()}function Me(t){var e=R().getClient();return e?e.flush(t):nt.reject(!1)}function qe(t){var e=R().getClient();return e?e.close(t):nt.reject(!1)}function Fe(t){return be(t)()}var Be="sentry.javascript.browser",He={},We=Object(tt.e)();We.Sentry&&We.Sentry.Integrations&&(He=We.Sentry.Integrations);var Ye=Object(u.a)(Object(u.a)(Object(u.a)({},He),r),o);let Je=!1;self.addEventListener("message",t=>{if(!Je){let e=t.data;if("init"===e.type){Je=!0;let t=!!e.isDev,n=e.version,r=e.hash;t||function(t){Ce({dsn:"https://9e6094adfc9f43b5b5b9994cee44d7c2@sentry.io/5169928",release:t}),globalThis.SentryClient=s}(n),importScripts(`/kcab/kcab.worker.${r}.js`),backend.init(n,t,self).then(()=>{t&&(console.log("Backend running!"),self.postMessage({type:"__actual:backend-running"}))},t=>{console.log(t);let e={type:"app-init-failure",IDBFailure:t.message.includes("indexeddb-failure")};throw self.postMessage(e),t})}}})},function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return c}),n.d(e,"b",function(){return u});var r=n(12),o=n(13),i={nowSeconds:function(){return Date.now()/1e3}};var s=Object(o.b)()?function(){try{return Object(o.a)(t,"perf_hooks").performance}catch(e){return}}():function(){var t=Object(r.c)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),a=void 0===s?i:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},c=i.nowSeconds.bind(i),u=a.nowSeconds.bind(a);!function(){var t=Object(r.c)().performance;if(t&&t.now){var e=t.now(),n=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,i=o<36e5,s=t.timing&&t.timing.navigationStart,a="number"===typeof s?Math.abs(s+e-n):36e5;return i||a<36e5?o<=a?("timeOrigin",t.timeOrigin):("navigationStart",s):("dateNow",n)}"none"}()}).call(this,n(7)(t))},function(t,e,n){"use strict";(function(t){n.d(e,"c",function(){return c}),n.d(e,"b",function(){return f}),n.d(e,"a",function(){return d});var r=n(0),o=n(10),i=n(4),s=n(18),a=n(17);n(15);function c(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")}function u(t){if(Object(i.b)(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(i.c)(t)){var s=t,a={};a.type=s.type;try{a.target=Object(i.a)(s.target)?Object(o.a)(s.target):Object.prototype.toString.call(s.target)}catch(c){a.target="<unknown>"}try{a.currentTarget=Object(i.a)(s.currentTarget)?Object(o.a)(s.currentTarget):Object.prototype.toString.call(s.currentTarget)}catch(c){a.currentTarget="<unknown>"}for(var r in"undefined"!==typeof CustomEvent&&Object(i.d)(t,CustomEvent)&&(a.detail=s.detail),s)Object.prototype.hasOwnProperty.call(s,r)&&(a[r]=s);return a}return t}function p(e,n){return"domain"===n&&e&&"object"===typeof e&&e._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!==typeof t&&e===t?"[Global]":"undefined"!==typeof window&&e===window?"[Window]":"undefined"!==typeof document&&e===document?"[Document]":Object(i.i)(e)?"[SyntheticEvent]":"number"===typeof e&&e!==e?"[NaN]":void 0===e?"[undefined]":"function"===typeof e?"[Function: "+Object(a.a)(e)+"]":"symbol"===typeof e?"["+String(e)+"]":"bigint"===typeof e?"[BigInt: "+String(e)+"]":e}function l(t,e,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new s.a),0===n)return function(t){var e=Object.prototype.toString.call(t);if("string"===typeof t)return t;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=p(t);return Object(i.f)(n)?n:e}(e);if(null!==e&&void 0!==e&&"function"===typeof e.toJSON)return e.toJSON();var o=p(e,t);if(Object(i.f)(o))return o;var a=u(e),c=Array.isArray(e)?[]:{};if(r.memoize(e))return"[Circular ~]";for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(c[f]=l(f,a[f],n-1,r));return r.unmemoize(e),c}function f(t,e){try{return JSON.parse(JSON.stringify(t,function(t,n){return l(t,n,e)}))}catch(n){return"**non-serializable**"}}function d(t){var e,n;if(Object(i.e)(t)){var o=t,s={};try{for(var a=Object(r.f)(Object.keys(o)),c=a.next();!c.done;c=a.next()){var u=c.value;"undefined"!==typeof o[u]&&(s[u]=d(o[u]))}}catch(p){e={error:p}}finally{try{c&&!c.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return s}return Array.isArray(t)?t.map(d):t}}).call(this,n(5))}]);
|
|
//# sourceMappingURL=browser-server.50678a55.worker.js.map
|