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