!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));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=36)}([function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c}));var r=n(3),i=Object(r.a)(),s=["debug","info","warn","error","log","assert","trace"];function a(t){var e=Object(r.a)();if(!("console"in e))return t();var n=e.console,i={};s.forEach(t=>{var r=n[t]&&n[t].__sentry_original__;t in e.console&&r&&(i[t]=n[t],n[t]=r)});try{return t()}finally{Object.keys(i).forEach(t=>{n[t]=i[t]})}}function o(){let t=!1;var e={enable:()=>{t=!0},disable:()=>{t=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?s.forEach(n=>{e[n]=(...e)=>{t&&a(()=>{i.console[n](`Sentry Logger [${n}]:`,...e)})}}):s.forEach(t=>{e[t]=()=>{}}),e}let c;c="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Object(r.b)("logger",o):o()},,function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return m})),n.d(e,"h",(function(){return v})),n.d(e,"i",(function(){return _})),n.d(e,"j",(function(){return d})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return u})),n.d(e,"m",(function(){return g})),n.d(e,"n",(function(){return f}));var r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return m(t,Error)}}function s(t,e){return r.call(t)===`[object ${e}]`}function a(t){return s(t,"ErrorEvent")}function o(t){return s(t,"DOMError")}function c(t){return s(t,"DOMException")}function u(t){return s(t,"String")}function d(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function _(t){return s(t,"Object")}function p(t){return"undefined"!=typeof Event&&m(t,Event)}function l(t){return"undefined"!=typeof Element&&m(t,Element)}function h(t){return s(t,"RegExp")}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function g(t){return _(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function v(t){return"number"==typeof t&&t!=t}function m(t,e){try{return t instanceof e}catch(t){return!1}}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return a}));var r=n(6),i={};function s(){return Object(r.b)()?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function a(t,e,n){var r=n||s(),i=r.__SENTRY__=r.__SENTRY__||{};return i[t]||(i[t]=e())}}).call(this,n(27))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return _})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return d}));var r=n(29),i=n(2),s=n(10);function a(t,e,n){if(e in t){var r=t[e],i=n(r);if("function"==typeof i)try{c(i,r)}catch(t){}t[e]=i}}function o(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function c(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,o(t,"__sentry_original__",e)}function u(t){return t.__sentry_original__}function d(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function _(t){if(Object(i.d)(t))return{message:t.message,name:t.name,stack:t.stack,...l(t)};if(Object(i.f)(t)){var e={type:t.type,target:p(t.target),currentTarget:p(t.currentTarget),...l(t)};return"undefined"!=typeof CustomEvent&&Object(i.g)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function p(t){try{return Object(i.c)(t)?Object(r.b)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function l(t){if("object"==typeof t&&null!==t){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function h(t,e=40){var n=Object.keys(_(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return Object(s.d)(n[0],e);for(let t=n.length;t>0;t--){var r=n.slice(0,t).join(", ");if(!(r.length>e))return t===n.length?r:Object(s.d)(r,e)}return""}function f(t){return function t(e,n){if(Object(i.i)(e)){if(void 0!==(a=n.get(e)))return a;var r={};for(var s of(n.set(e,r),Object.keys(e)))void 0!==e[s]&&(r[s]=t(e[s],n));return r}if(Array.isArray(e)){var a;if(void 0!==(a=n.get(e)))return a;r=[];return n.set(e,r),e.forEach(e=>{r.push(t(e,n))}),r}return e}(t,new Map)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return p}));var r=n(11),i=n(7),s=n(0),a=n(3),o=n(6),c=n(20),u=n(14),d=100;class _{__init(){this._stack=[{}]}constructor(t,e=new c.a,n=4){this._version=n,_.prototype.__init.call(this),this.getStackTop().scope=e,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){var t=c.a.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){var n=this._lastEventId=e&&e.event_id?e.event_id:Object(r.e)(),i=new Error("Sentry syntheticException");return this._withClient((r,s)=>{r.captureException(t,{originalException:t,syntheticException:i,...e,event_id:n},s)}),n}captureMessage(t,e,n){var i=this._lastEventId=n&&n.event_id?n.event_id:Object(r.e)(),s=new Error(t);return this._withClient((r,a)=>{r.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:i},a)}),i}captureEvent(t,e){var n=e&&e.event_id?e.event_id:Object(r.e)();return"transaction"!==t.type&&(this._lastEventId=n),this._withClient((r,i)=>{r.captureEvent(t,{...e,event_id:n},i)}),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!n||!r)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:o=d}=r.getOptions&&r.getOptions()||{};if(!(o<=0)){var c={timestamp:Object(i.a)(),...t},u=a?Object(s.b)(()=>a(c,e)):c;null!==u&&n.addBreadcrumb(u,o)}}setUser(t){var e=this.getScope();e&&e.setUser(t)}setTags(t){var e=this.getScope();e&&e.setTags(t)}setExtras(t){var e=this.getScope();e&&e.setExtras(t)}setTag(t,e){var n=this.getScope();n&&n.setTag(t,e)}setExtra(t,e){var n=this.getScope();n&&n.setExtra(t,e)}setContext(t,e){var n=this.getScope();n&&n.setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();e&&n&&t(e)}run(t){var e=l(this);try{t(this)}finally{l(e)}}getIntegration(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){return this._callExtensionMethod("startTransaction",t,e)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){var t=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();n&&Object(u.a)(n),this._sendSessionUpdate(),e&&e.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:i}=n&&n.getOptions()||{};var s=Object(a.a)();const{userAgent:o}=s.navigator||{};var c=Object(u.b)({release:r,environment:i,...e&&{user:e.getUser()},...o&&{userAgent:o},...t});if(e){var d=e.getSession&&e.getSession();d&&"ok"===d.status&&Object(u.c)(d,{status:"exited"}),this.endSession(),e.setSession(c)}return c}shouldSendDefaultPii(){var t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop();if(t){var n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){var n=p().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function p(){var t=Object(a.a)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function l(t){var e=p(),n=g(e);return v(e,t),n}function h(){var t=p();return f(t)&&!g(t).isOlderThan(4)||v(t,new _),Object(o.b)()?function(t){try{var e=p().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return g(t);if(!f(n)||g(n).isOlderThan(4)){var r=g(t).getStackTop();v(n,new _(r.client,c.a.clone(r.scope)))}return g(n)}catch(e){return g(t)}}(t):g(t)}function f(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function g(t){return Object(a.b)("hub",()=>new _,t)}function v(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}},function(t,e,n){"use strict";(function(t,r){n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return o}));var i=n(28);function s(){return!Object(i.a)()&&"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}function a(t,e){return t.require(e)}function o(t){let e;try{e=a(r,t)}catch(t){}try{const{cwd:n}=a(r,"process");e=a(r,`${n()}/node_modules/${t}`)}catch(t){}return e}}).call(this,n(38),n(22)(t))},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return d}));var r=n(3),i=n(6),s={nowSeconds:()=>Date.now()/1e3};var a=Object(i.b)()?function(){try{return Object(i.a)(t,"perf_hooks").performance}catch(t){return}}():function(){const{performance:t}=Object(r.a)();if(t&&t.now)return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),o=void 0===a?s:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},c=s.nowSeconds.bind(s),u=o.nowSeconds.bind(o),d=u;let _;(()=>{const{performance:t}=Object(r.a)();if(t&&t.now){var e=t.now(),n=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,s=i<36e5,a=t.timing&&t.timing.navigationStart,o="number"==typeof a?Math.abs(a+e-n):36e5;return s||o<36e5?i<=o?(_="timeOrigin",t.timeOrigin):(_="navigationStart",a):(_="dateNow",n)}_="none"})()}).call(this,n(22)(t))},function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return c}));var r=n(15),i=n(11),s=n(7),a=n(0),o=n(4);class c{__init(){this.spans=[]}constructor(t=1e3){c.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class u{__init2(){this.traceId=Object(i.e)()}__init3(){this.spanId=Object(i.e)().substring(16)}__init4(){this.startTimestamp=Object(s.c)()}__init5(){this.tags={}}__init6(){this.data={}}constructor(t){if(u.prototype.__init2.call(this),u.prototype.__init3.call(this),u.prototype.__init4.call(this),u.prototype.__init5.call(this),u.prototype.__init6.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}startChild(t){var e=new u({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(e.spanRecorder=this.spanRecorder,e.spanRecorder&&e.spanRecorder.add(e),e.transaction=this.transaction,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&e.transaction){var n=`[Tracing] Starting '${t&&t.op||"< unknown op >"}' span on transaction '${e.transaction.name||"< unknown name >"}' (${e.transaction.spanId}).`;e.transaction.metadata.spanMetadata[e.spanId]={logMessage:n},a.c.log(n)}return e}setTag(t,e){return this.tags={...this.tags,[t]:e},this}setData(t,e){return this.data={...this.data,[t]:e},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));var e=function(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(t);return"unknown_error"!==e&&this.setStatus(e),this}isSuccess(){return"ok"===this.status}finish(t){if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:t}=this.transaction.metadata.spanMetadata[this.spanId];t&&a.c.log(t.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof t?t:Object(s.c)()}toTraceparent(){let t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return Object(o.c)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=Object(r.a)(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=Object(r.a)(t.spanId,()=>this.spanId),this.startTimestamp=Object(r.a)(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=Object(r.a)(t.tags,()=>({})),this.traceId=Object(r.a)(t.traceId,()=>this.traceId),this}getTraceContext(){return Object(o.c)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return Object(o.c)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return i}));var r=n(5);function i(t){var e=Object(r.a)().getClient(),n=t||e&&e.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function s(t){var e=(t||Object(r.a)()).getScope();return e&&e.getTransaction()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return i}));var r=n(2);function i(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function s(t,e){let n=t;var r=n.length;if(r<=150)return n;e>r&&(e=r);let i=Math.max(e-60,0);i<5&&(i=0);let s=Math.min(i+140,r);return s>r-5&&(s=r),s===r&&(i=Math.max(s-140,0)),n=n.slice(i,s),i>0&&(n="'{snip} "+n),s<r&&(n+=" {snip}"),n}function a(t,e){if(!Array.isArray(t))return"";var n=[];for(let e=0;e<t.length;e++){var r=t[e];try{n.push(String(r))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function o(t,e){return!!Object(r.l)(t)&&(Object(r.k)(e)?e.test(t):"string"==typeof e&&-1!==t.indexOf(e))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return o})),n.d(e,"e",(function(){return s}));var r=n(3),i=n(4);n(10);function s(){var t=Object(r.a)(),e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");var n=e&&e.getRandomValues?()=>e.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,t=>(t^(15&n())>>t/4).toString(16))}function a(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function o(t){const{message:e,event_id:n}=t;if(e)return e;var r=a(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(t,e,n){var r=t.exception=t.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")}function u(t,e){var n=a(t);if(n){var r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){var i={...r&&r.data,...e.data};n.mechanism.data=i}}}function d(t){if(t&&t.__sentry_captured__)return!0;try{Object(i.a)(t,"__sentry_captured__",!0)}catch(t){}return!1}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(15),i=n(5),s=n(0),a=n(4),o=n(21),c=n(8);class u extends c.a{__init(){this._measurements={}}constructor(t,e){super(t),u.prototype.__init.call(this),this._hub=e||Object(i.a)(),this._name=t.name||"",this.metadata={...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this}get name(){return this._name}set name(t){this._name=t,this.metadata.source="custom"}setName(t,e="custom"){this.name=t,this.metadata.source=e}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new c.b(t)),this.spanRecorder.add(this)}setMeasurement(t,e,n=""){this._measurements[t]={value:e,unit:n}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(void 0===this.endTimestamp){if(this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),!0===this.sampled){var e=this.spanRecorder?this.spanRecorder.spans.filter(t=>t!==this&&t.endTimestamp):[];this._trimEnd&&e.length>0&&(this.endTimestamp=e.reduce((t,e)=>t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t).endTimestamp);var n=this.metadata,r={contexts:{trace:this.getTraceContext()},spans:e,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...n,baggage:this.getBaggage()},...n.source&&{transaction_info:{source:n.source}}};return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),r.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(r)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var i=this._hub.getClient();i&&i.recordDroppedEvent("sample_rate","transaction")}}toContext(){var t=super.toContext();return Object(a.c)({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=Object(r.a)(t.name,()=>""),this._trimEnd=t.trimEnd,this}getBaggage(){var t=this.metadata.baggage,e=!t||Object(o.c)(t)?this._populateBaggageWithSentryValues(t):t;return this.metadata.baggage=e,e}_populateBaggageWithSentryValues(t=Object(o.a)({})){var e=this._hub||Object(i.a)(),n=e&&e.getClient();if(!n)return t;const{environment:r,release:s}=n.getOptions()||{},{publicKey:c}=n.getDsn()||{};var u=this.metadata&&this.metadata.transactionSampling&&this.metadata.transactionSampling.rate&&this.metadata.transactionSampling.rate.toString(),d=e.getScope();const{segment:_}=d&&d.getUser()||{};var p=this.metadata.source,l=p&&"url"!==p?this.name:void 0;return Object(o.a)(Object(a.c)({environment:r,release:s,transaction:l,user_segment:_,public_key:c,trace_id:this.traceId,sample_rate:u,...Object(o.b)(t)}),"",!1)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o}));var r=n(7),i=n(11),s=n(4);function a(t){var e=Object(r.b)(),n={sid:Object(i.e)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return Object(s.c)({sid:""+t.sid,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?""+t.did:void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&o(n,t),n}function o(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||Object(r.b)(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:Object(i.e)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=""+e.did),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{var n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),o(t,n)}},function(t,e,n){"use strict";function r(t,e){return null!=t?t:e()}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return l}));var r=n(5),i=n(0),s=n(2),a=n(6),o=n(30),c=(n(18),n(13)),u=n(9);function d(){var t=this.getScope();if(t){var e=t.getSpan();if(e)return{"sentry-trace":e.toTraceparent()}}return{}}function _(t,e,n){if(!Object(u.b)(e))return t.sampled=!1,t;if(void 0!==t.sampled)return t.setMetadata({transactionSampling:{method:"explicitly_set"}}),t;let r;return"function"==typeof e.tracesSampler?(r=e.tracesSampler(n),t.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(r)}})):void 0!==n.parentSampled?(r=n.parentSampled,t.setMetadata({transactionSampling:{method:"inheritance"}})):(r=e.tracesSampleRate,t.setMetadata({transactionSampling:{method:"client_rate",rate:Number(r)}})),function(t){if(Object(s.h)(t)||"number"!=typeof t&&"boolean"!=typeof t)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`),!1;if(t<0||t>1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${t}.`),!1;return!0}(r)?r?(t.sampled=Math.random()<r,t.sampled?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(`[Tracing] starting ${t.op} transaction - ${t.name}`),t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),t)):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] Discarding transaction because "+("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),t.sampled=!1,t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)}function p(t,e){var n=this.getClient(),r=n&&n.getOptions()||{};let i=new c.a(t,this);return i=_(i,r,{parentSampled:t.parentSampled,transactionContext:t,...e}),i.sampled&&i.initSpanRecorder(r._experiments&&r._experiments.maxSpans),i}function l(){var e;(e=Object(r.b)()).__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=p),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=d)),Object(a.b)()&&function(){var e=Object(r.b)();if(e.__SENTRY__){var n={mongodb:()=>new(Object(a.a)(t,"./integrations/node/mongo").Mongo),mongoose:()=>new(Object(a.a)(t,"./integrations/node/mongo").Mongo)({mongoose:!0}),mysql:()=>new(Object(a.a)(t,"./integrations/node/mysql").Mysql),pg:()=>new(Object(a.a)(t,"./integrations/node/postgres").Postgres)},i=Object.keys(n).filter(t=>!!Object(a.c)(t)).map(t=>{try{return n[t]()}catch(t){return}}).filter(t=>t);i.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...i])}}(),Object(o.a)()}}).call(this,n(22)(t))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var r,i=n(2);function s(t){return new o(e=>{e(t)})}function a(t){return new o((e,n)=>{n(t)})}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));class o{__init(){this._state=r.PENDING}__init2(){this._handlers=[]}constructor(t){o.prototype.__init.call(this),o.prototype.__init2.call(this),o.prototype.__init3.call(this),o.prototype.__init4.call(this),o.prototype.__init5.call(this),o.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new o((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new o((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{i?n(r):e(r)})})}__init3(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init5(){this._setResult=(t,e)=>{this._state===r.PENDING&&(Object(i.n)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state!==r.PENDING){var t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)})}}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(7),i=n(0),s=n(8),a=n(13);class o extends s.b{constructor(t,e,n,r){super(r),this._pushActivity=t,this._popActivity=e,this.transactionSpanId=n}add(t){t.spanId!==this.transactionSpanId&&(t.finish=e=>{t.endTimestamp="number"==typeof e?e:Object(r.c)(),this._popActivity(t.spanId)},void 0===t.endTimestamp&&this._pushActivity(t.spanId)),super.add(t)}}class c extends a.a{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,e,n=1e3,r=3e4,s=!1){super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=r,this._onScope=s,c.prototype.__init.call(this),c.prototype.__init2.call(this),c.prototype.__init3.call(this),c.prototype.__init4.call(this),s&&(u(e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("Setting idle transaction on scope. Span ID: "+this.spanId),e.configureScope(t=>t.setSpan(this))),this._startIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=Object(r.c)()){if(this._finished=!0,this.activities={},this.spanRecorder){for(var e of(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op),this._beforeFinishCallbacks))e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(e=>{if(e.spanId===this.spanId)return!0;e.endTimestamp||(e.endTimestamp=t,e.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));var n=e.startTimestamp<t;return n||("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(e,void 0,2)),n}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] No active IdleTransaction");return this._onScope&&u(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){this.spanRecorder=new o(t=>{this._finished||this._pushActivity(t)},t=>{this._finished||this._popActivity(t)},this.spanId,t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{this._finished||0!==Object.keys(this.activities).length||this.finish(t)},this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] pushActivity: "+t),this.activities[t]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] popActivity "+t),delete this.activities[t],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var e=Object(r.c)()+this._idleTimeout/1e3;this._startIdleTimeout(e)}}_beat(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("pinging Heartbeat -> current counter: "+this._heartbeatCounter),setTimeout(()=>{this._beat()},5e3)}}function u(t){var e=t.getScope();e&&(e.getTransaction()&&e.setSpan(void 0))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return i}));function r(...t){var e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0)=>{var r=[];for(var i of t.split("\n").slice(n)){var s=i.replace(/\(error: (.*)\)/,"$1");for(var a of e){var o=a(s);if(o){r.push(o);break}}}return function(t){if(!t.length)return[];let e=t;var n=e[0].function||"",r=e[e.length-1].function||"";-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1));-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1));return e.slice(0,50).map(t=>({...t,filename:t.filename||e[0].filename,function:t.function||"?"})).reverse()}(r)}}function i(t){return Array.isArray(t)?r(...t):t}function s(t){try{return t&&"function"==typeof t&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return _}));var r=n(2),i=n(7),s=n(17),a=n(0),o=n(3),c=n(14);class u{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){var e=new u;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...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=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments]),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&Object(c.c)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts={...this._contexts,[t]:e},this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){var e=t(this);return e instanceof u?e:this}return t instanceof u?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...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)):Object(r.i)(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...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}clear(){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._attachments=[],this}addBreadcrumb(t,e){var n="number"==typeof e?Math.min(e,100):100;if(n<=0)return this;var r={timestamp:Object(i.a)(),...t};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};var n=this._span.transaction&&this._span.transaction.name;n&&(t.tags={transaction:n,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...d(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,e,n,i=0){return new s.a((s,o)=>{var c=t[i];if(null===e||"function"!=typeof c)s(e);else{var u=c({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===u&&a.c.log(`Event processor "${c.id}" dropped event`),Object(r.n)(u)?u.then(e=>this._notifyEventProcessors(t,e,n,i+1).then(s)).then(null,o):this._notifyEventProcessors(t,u,n,i+1).then(s).then(null,o)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(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}}function d(){return Object(o.b)("globalEventProcessors",()=>[])}function _(t){d().push(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s}));n(2),n(0);function r(t,e="",n=!0){return[{...t},e,n]}function i(t){return t[0]}function s(t){return t[2]}},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";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return o}));var r=n(3),i=n(0);function s(){if(!("fetch"in Object(r.a)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function a(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function o(){if(!s())return!1;var t=Object(r.a)();if(a(t.fetch))return!0;let e=!1;var n=t.document;if(n&&"function"==typeof n.createElement)try{var o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o),o.contentWindow&&o.contentWindow.fetch&&(e=a(o.contentWindow.fetch)),n.head.removeChild(o)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return e}function c(){var t=Object(r.a)(),e=t.chrome,n=e&&e.app&&e.app.runtime,i="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&i}},,,,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s}));var r=n(3),i=n(2);function s(t,e){try{let i=t;var n=[];let s=0,o=0;var r=" > ".length;let c;for(;i&&s++<5&&(c=a(i,e),!("html"===c||s>1&&o+n.length*r+c.length>=80));)n.push(c),o+=c.length,i=i.parentNode;return n.reverse().join(" > ")}catch(t){return"<unknown>"}}function a(t,e){var n=t,r=[];let s,a,o,c,u;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var d=e&&e.length?e.filter(t=>n.getAttribute(t)).map(t=>[t,n.getAttribute(t)]):null;if(d&&d.length)d.forEach(t=>{r.push(`[${t[0]}="${t[1]}"]`)});else if(n.id&&r.push("#"+n.id),s=n.className,s&&Object(i.l)(s))for(a=s.split(/\s+/),u=0;u<a.length;u++)r.push("."+a[u]);var _=["type","name","title","alt"];for(u=0;u<_.length;u++)o=_[u],c=n.getAttribute(o),c&&r.push(`[${o}="${c}"]`);return r.join("")}function o(){var t=Object(r.a)();try{return t.document.location.href}catch(t){return""}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(32),i=n(0),s=n(9);function a(){Object(r.a)("error",o),Object(r.a)("unhandledrejection",o)}function o(){var t=Object(s.a)();if(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] Transaction: internal_error -> Global error occured"),t.setStatus("internal_error")}}},function(t,e,n){"use strict";function r(){var t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++){if(e[t]===n)return!0}return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(3),i=n(2),s=n(0),a=n(4),o=n(19),c=n(23),u=Object(r.a)(),d={},_={};function p(t){if(!_[t])switch(_[t]=!0,t){case"console":!function(){if(!("console"in u))return;s.a.forEach((function(t){t in u.console&&Object(a.e)(u.console,t,(function(e){return function(...n){h("console",{args:n,level:t}),e&&e.apply(u.console,n)}}))}))}();break;case"dom":!function(){if(!("document"in u))return;var t=h.bind(null,"dom"),e=y(t,!0);u.document.addEventListener("click",e,!1),u.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(e=>{var n=u[e]&&u[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(a.e)(n,"addEventListener",(function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{var s=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=s[n]=s[n]||{refCount:0};if(!a.handler){var o=y(t);a.handler=o,e.call(this,n,o,i)}a.refCount+=1}catch(t){}return e.call(this,n,r,i)}})),Object(a.e)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var i=this.__sentry_instrumentation_handlers__||{},s=i[e];s&&(s.refCount-=1,s.refCount<=0&&(t.call(this,e,s.handler,r),s.handler=void 0,delete i[e]),0===Object.keys(i).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))})}();break;case"xhr":!function(){if(!("XMLHttpRequest"in u))return;var t=XMLHttpRequest.prototype;Object(a.e)(t,"open",(function(t){return function(...e){var n=this,r=e[1],s=n.__sentry_xhr__={method:Object(i.l)(e[0])?e[0].toUpperCase():e[0],url:e[1]};Object(i.l)(r)&&"POST"===s.method&&r.match(/sentry_key/)&&(n.__sentry_own_request__=!0);var o=function(){if(4===n.readyState){try{s.status_code=n.status}catch(t){}h("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?Object(a.e)(n,"onreadystatechange",(function(t){return function(...e){return o(),t.apply(n,e)}})):n.addEventListener("readystatechange",o),t.apply(n,e)}})),Object(a.e)(t,"send",(function(t){return function(...e){return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),h("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!Object(c.d)())return;Object(a.e)(u,"fetch",(function(t){return function(...e){var n={args:e,fetchData:{method:f(e),url:g(e)},startTimestamp:Date.now()};return h("fetch",{...n}),t.apply(u,e).then(t=>(h("fetch",{...n,endTimestamp:Date.now(),response:t}),t),t=>{throw h("fetch",{...n,endTimestamp:Date.now(),error:t}),t})}}))}();break;case"history":!function(){if(!Object(c.c)())return;var t=u.onpopstate;function e(t){return function(...e){var n=e.length>2?e[2]:void 0;if(n){var r=v,i=String(n);v=i,h("history",{from:r,to:i})}return t.apply(this,e)}}u.onpopstate=function(...e){var n=u.location.href,r=v;if(v=n,h("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},Object(a.e)(u.history,"pushState",e),Object(a.e)(u.history,"replaceState",e)}();break;case"error":E=u.onerror,u.onerror=function(t,e,n,r,i){return h("error",{column:r,error:i,line:n,msg:t,url:e}),!!E&&E.apply(this,arguments)};break;case"unhandledrejection":S=u.onunhandledrejection,u.onunhandledrejection=function(t){return h("unhandledrejection",t),!S||S.apply(this,arguments)};break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.warn("unknown instrumentation type:",t))}}function l(t,e){d[t]=d[t]||[],d[t].push(e),p(t)}function h(t,e){if(t&&d[t])for(var n of d[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${Object(o.b)(n)}\nError:`,e)}}function f(t=[]){return"Request"in u&&Object(i.g)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function g(t=[]){return"string"==typeof t[0]?t[0]:"Request"in u&&Object(i.g)(t[0],Request)?t[0].url:String(t[0])}let v;let m,b;function y(t,e=!1){return n=>{if(n&&b!==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(t){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===m||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(b,n))&&(t({event:n,name:r,global:e}),b=n),clearTimeout(m),m=u.setTimeout(()=>{m=void 0},1e3)}}}let E=null;let S=null},,,,function(t,e,n){t.exports=n(37)},function(t,e,n){n(41),n(40)},function(t,e){var n,r,i=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(t){if(n===setTimeout)return setTimeout(t,0);if((n===s||!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:s}catch(t){n=s}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],d=!1,_=-1;function p(){d&&c&&(d=!1,c.length?u=c.concat(u):_=-1,u.length&&l())}function l(){if(!d){var t=o(p);d=!0;for(var e=u.length;e;){for(c=u,u=[];++_<e;)c&&c[_].run();_=-1,e=u.length}c=null,d=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function f(){}i.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||d||o(l)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";function r(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}}n.d(e,"a",(function(){return r}))},function(t,e){function n(t){return"[object String]"===Object.prototype.toString.call(t)}String.prototype.capitalize=function(){return n(this)?this.toLowerCase().replace(/\b\w/g,(function(t){return t.toUpperCase()})):this},String.prototype.capitalizeFirstLetter=function(){return n(this)?this.charAt(0).toUpperCase()+this.slice(1):null}},function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"FunctionToString",(function(){return a})),n.d(r,"InboundFilters",(function(){return _}));var i=n(4);let s;class a{constructor(){a.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=a.id}setupOnce(){s=Function.prototype.toString,Function.prototype.toString=function(...t){var e=Object(i.f)(this)||this;return s.apply(e,t)}}}a.__initStatic();var o=n(0),c=n(11),u=n(10),d=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class _{static __initStatic(){this.id="InboundFilters"}__init(){this.name=_.id}constructor(t={}){this._options=t,_.prototype.__init.call(this)}setupOnce(t,e){var n=t=>{var n=e();if(n){var r=n.getIntegration(_);if(r){var i=n.getClient(),s=i?i.getOptions():{};return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn("Event dropped due to being internal Sentry Error.\nEvent: "+Object(c.d)(t)),!0;if(function(t,e){if(!e||!e.length)return!1;return function(t){if(t.message)return[t.message];if(t.exception)try{const{type:e="",value:n=""}=t.exception.values&&t.exception.values[0]||{};return[""+n,`${e}: ${n}`]}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.error("Cannot extract message for event "+Object(c.d)(t)),[]}return[]}(t).some(t=>e.some(e=>Object(u.a)(t,e)))}(t,e.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+Object(c.d)(t)),!0;if(function(t,e){if(!e||!e.length)return!1;var n=p(t);return!!n&&e.some(t=>Object(u.a)(n,t))}(t,e.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${Object(c.d)(t)}.\nUrl: ${p(t)}`),!0;if(!function(t,e){if(!e||!e.length)return!0;var n=p(t);return!n||e.some(t=>Object(u.a)(n,t))}(t,e.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${Object(c.d)(t)}.\nUrl: ${p(t)}`),!0;return!1}(t,function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...d],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(r._options,s))?null:t}}return t};n.id=this.name,t(n)}}function p(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let n=t.length-1;n>=0;n--){var e=t[n];if(e&&"<anonymous>"!==e.filename&&"[native code]"!==e.filename)return e.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.error("Cannot extract url for event "+Object(c.d)(t)),null}}_.__initStatic();var l=n(20),h=n(5),f=[];function g(t){return t.reduce((t,e)=>(t.every(t=>e.name!==t.name)&&t.push(e),t),[])}function v(t){var e=t.defaultIntegrations&&[...t.defaultIntegrations]||[],n=t.integrations;let r=[...g(e)];Array.isArray(n)?r=[...r.filter(t=>n.every(e=>e.name!==t.name)),...g(n)]:"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map(t=>t.name);return-1!==i.indexOf("Debug")&&r.push(...r.splice(i.indexOf("Debug"),1)),r}class m extends Error{constructor(t){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype)}}var b=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function y(t,e=!1){const{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:c}=t;return`${o}://${c}${e&&i?":"+i:""}@${n}${s?":"+s:""}/${r?r+"/":r}${a}`}function E(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function S(t){var e="string"==typeof t?function(t){var e=b.exec(t);if(!e)throw new m("Invalid Sentry Dsn: "+t);const[n,r,i="",s,a="",o]=e.slice(1);let c="",u=o;var d=u.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),u=d.pop()),u){var _=u.match(/^\d+/);_&&(u=_[0])}return E({host:s,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}(t):E(t);return function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:e,projectId:n,protocol:r}=t;if(["protocol","publicKey","host","projectId"].forEach(e=>{if(!t[e])throw new m(`Invalid Sentry Dsn: ${e} missing`)}),!n.match(/^\d+$/))throw new m("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(t){return"http"===t||"https"===t}(r))throw new m("Invalid Sentry Dsn: Invalid protocol "+r);if(e&&isNaN(parseInt(e,10)))throw new m("Invalid Sentry Dsn: Invalid port "+e)}(e),e}function O(t){var e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return`${e}//${t.host}${n}${t.path?"/"+t.path:""}/api/`}function j(t,e={}){var n="string"==typeof e?e:e.tunnel,r="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${O(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return Object(i.h)({sentry_key:t.publicKey,sentry_version:"7",...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,r)}`}var T=n(3),w=n(19),x=n(23),R=n(17),N=n(32),D=n(14),k=n(2);function U(t,e=[]){return[t,e]}function B(t,e){const[n,r]=t;return[n,[...r,e]]}function I(t,e){t[1].forEach(t=>{var n=t[0].type;e(t,n)})}function Y(t,e){return(e||new TextEncoder).encode(t)}function G(t,e){const[n,r]=t;let i=JSON.stringify(n);function s(t){"string"==typeof i?i="string"==typeof t?i+t:[Y(i,e),t]:i.push("string"==typeof t?Y(t,e):t)}for(var a of r){const[t,e]=a;s(`\n${JSON.stringify(t)}\n`),s("string"==typeof e||e instanceof Uint8Array?e:JSON.stringify(e))}return"string"==typeof i?i:function(t){var e=t.reduce((t,e)=>t+e.length,0),n=new Uint8Array(e);let r=0;for(var i of t)n.set(i,r),r+=i.length;return n}(i)}function C(t,e){var n="string"==typeof t.data?Y(t.data,e):t.data;return[Object(i.c)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}var $={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function P(t){return $[t]}var M=n(7),A=n(46),L=n(21);function q(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function F(t,e,n,r){var s=q(n),a=t.type||"event";const{transactionSampling:o}=t.sdkProcessingMetadata||{},{method:c,rate:u}=o||{};!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);var d=function(t,e,n,r){var s=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baggage,a=s&&Object(L.b)(s);return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&{dsn:y(r)},..."transaction"===t.type&&a&&{trace:Object(i.c)({...a})}}}(t,s,r,e);return delete t.sdkProcessingMetadata,U(d,[[{type:a,sample_rates:[{id:c,rate:u}]},t]])}var H="Not capturing exception because it's already been captured.";class W{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(W.prototype.__init.call(this),W.prototype.__init2.call(this),W.prototype.__init3.call(this),W.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=S(t.dsn);var e=j(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn("No DSN provided, client will not do anything.")}captureException(t,e,n){if(Object(c.c)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.log(H));let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then(t=>this._captureEvent(t,e,n)).then(t=>{r=t})),r}captureMessage(t,e,n,r){let i=n&&n.event_id;var s=Object(k.j)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(s.then(t=>this._captureEvent(t,n,r)).then(t=>{i=t})),i}captureEvent(t,e,n){if(e&&e.originalException&&Object(c.c)(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.log(H));let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then(t=>{r=t})),r}captureSession(t){this._isEnabled()?"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Object(D.c)(t,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getTransport(){return this._transport}flush(t){var e=this._transport;return e?this._isClientDoneProcessing(t).then(n=>e.flush(t).then(t=>n&&t)):Object(R.c)(!0)}close(t){return this.flush(t).then(t=>(this.getOptions().enabled=!1,t))}setupIntegrations(){var t,e;this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=(t=this._options.integrations,e={},t.forEach(t=>{e[t.name]=t,-1===f.indexOf(t.name)&&(t.setupOnce(l.b,h.a),f.push(t.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.log("Integration installed: "+t.name))}),e),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}sendEvent(t,e={}){if(this._dsn){let r=F(t,this._dsn,this._options._metadata,this._options.tunnel);for(var n of e.attachments||[])r=B(r,C(n,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(r)}}sendSession(t){if(this._dsn){var e=function(t,e,n,r){var i=q(n);return U({sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&{dsn:y(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t]])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}}recordDroppedEvent(t,e){if(this._options.sendClientReports){var n=`${t}:${e}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}_updateSessionFromEvent(t,e){let n=!1,r=!1;var i=e.exception&&e.exception.values;if(i)for(var s of(r=!0,i)){var a=s.mechanism;if(a&&!1===a.handled){n=!0;break}}var o="ok"===t.status;(o&&0===t.errors||o&&n)&&(Object(D.c)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new R.a(e=>{let n=0;var r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(t,e,n){const{normalizeDepth:r=3,normalizeMaxBreadth:i=1e3}=this.getOptions();var s={...t,event_id:t.event_id||e.event_id||Object(c.e)(),timestamp:t.timestamp||Object(M.a)()};this._applyClientOptions(s),this._applyIntegrationsMetadata(s);let a=n;e.captureContext&&(a=l.a.clone(a).update(e.captureContext));let o=Object(R.c)(s);if(a){var u=[...e.attachments||[],...a.getAttachments()];u.length&&(e.attachments=u),o=a.applyToEvent(s,e)}return o.then(t=>"number"==typeof r&&r>0?this._normalizeEvent(t,r,i):t)}_normalizeEvent(t,e,n){if(!t)return null;var r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:Object(A.a)(t.data,e,n)}}))},...t.user&&{user:Object(A.a)(t.user,e,n)},...t.contexts&&{contexts:Object(A.a)(t.contexts,e,n)},...t.extra&&{extra:Object(A.a)(t.extra,e,n)}};return t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=Object(A.a)(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>(t.data&&(t.data=Object(A.a)(t.data,e,n)),t))),r}_applyClientOptions(t){var e=this.getOptions();const{environment:n,release:r,dist:i,maxValueLength:s=250}=e;"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!==i&&(t.dist=i),t.message&&(t.message=Object(u.d)(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=Object(u.d)(a.value,s));var o=t.request;o&&o.url&&(o.url=Object(u.d)(o.url,s))}_applyIntegrationsMetadata(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then(t=>t.event_id,t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn(t)})}_processEvent(t,e,n){const{beforeSend:r,sampleRate:i}=this.getOptions();if(!this._isEnabled())return Object(R.b)(new m("SDK not enabled, will not capture event."));var s="transaction"===t.type;return!s&&"number"==typeof i&&Math.random()>i?(this.recordDroppedEvent("sample_rate","error"),Object(R.b)(new m(`Discarding event because it's not included in the random sample (sampling rate = ${i})`))):this._prepareEvent(t,e,n).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",t.type||"error"),new m("An event processor returned null, will not send event.");return e.data&&!0===e.data.__sentry__||s||!r?n:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(Object(k.n)(t))return t.then(t=>{if(!Object(k.i)(t)&&null!==t)throw new m(e);return t},t=>{throw new m("beforeSend rejected with "+t)});if(!Object(k.i)(t)&&null!==t)throw new m(e);return t}(r(n,e))}).then(r=>{if(null===r)throw this.recordDroppedEvent("before_send",t.type||"error"),new m("`beforeSend` returned `null`, will not send event.");var i=n&&n.getSession();return!s&&i&&this._updateSessionFromEvent(i,r),this.sendEvent(r,e),r}).then(null,t=>{if(t instanceof m)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new m("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})}_process(t){this._numProcessing+=1,t.then(t=>(this._numProcessing-=1,t),t=>(this._numProcessing-=1,t))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.error("Error while sending event:",t)}):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.error("Transport disabled")}_clearOutcomes(){var t=this._outcomes;return this._outcomes={},Object.keys(t).map(e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}})}}function z(t,e){var n=X(t,e),r={type:e&&e.name,value:V(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function J(t,e){return{exception:{values:[z(t,e)]}}}function X(t,e){var n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(K.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}var K=/Minified React error #\d+;/i;function V(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function Q(t,e,n,r,s){let a;if(Object(k.e)(e)&&e.error)return J(t,e.error);if(Object(k.a)(e)||Object(k.b)(e)){var o=e;if("stack"in e)a=J(t,e);else{var u=o.name||(Object(k.a)(o)?"DOMError":"DOMException"),d=o.message?`${u}: ${o.message}`:u;a=Z(t,d,n,r),Object(c.b)(a,d)}return"code"in o&&(a.tags={...a.tags,"DOMException.code":""+o.code}),a}return Object(k.d)(e)?J(t,e):Object(k.i)(e)||Object(k.f)(e)?(a=function(t,e,n,r){var s={exception:{values:[{type:Object(k.f)(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${Object(i.d)(e)}`}]},extra:{__serialized__:Object(A.b)(e)}};if(n){var a=X(t,n);a.length&&(s.exception.values[0].stacktrace={frames:a})}return s}(t,e,n,s),Object(c.a)(a,{synthetic:!0}),a):(a=Z(t,e,n,r),Object(c.b)(a,""+e,void 0),Object(c.a)(a,{synthetic:!0}),a)}function Z(t,e,n,r){var i={message:e};if(r&&n){var s=X(t,n);s.length&&(i.exception={values:[{value:e,stacktrace:{frames:s}}]})}return i}var tt=n(29),et=["fatal","error","warning","log","info","debug"];function nt(t){return"warn"===t?"warning":et.includes(t)?t:"log"}var rt=n(39);class it{static __initStatic(){this.id="Breadcrumbs"}__init(){this.name=it.id}constructor(t){it.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){var t;this.options.console&&Object(N.a)("console",st),this.options.dom&&Object(N.a)("dom",(t=this.options.dom,function(e){let n,r="object"==typeof t?t.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=e.event.target?Object(tt.b)(e.event.target,r):Object(tt.b)(e.event,r)}catch(t){n="<unknown>"}0!==n.length&&Object(h.a)().addBreadcrumb({category:"ui."+e.name,message:n},{event:e.event,name:e.name,global:e.global})})),this.options.xhr&&Object(N.a)("xhr",at),this.options.fetch&&Object(N.a)("fetch",ot),this.options.history&&Object(N.a)("history",ct)}}function st(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:nt(t.level),message:Object(u.b)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+(Object(u.b)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}Object(h.a)().addBreadcrumb(e,{input:t.args,level:t.level})}function at(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;const{method:e,url:n,status_code:r,body:i}=t.xhr.__sentry_xhr__||{};Object(h.a)().addBreadcrumb({category:"xhr",data:{method:e,url:n,status_code:r},type:"http"},{xhr:t.xhr,input:i})}else;}function ot(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?Object(h.a)().addBreadcrumb({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args}):Object(h.a)().addBreadcrumb({category:"fetch",data:{...t.fetchData,status_code:t.response.status},type:"http"},{input:t.args,response:t.response})))}function ct(t){var e=Object(T.a)();let n=t.from,r=t.to;var i=Object(rt.a)(e.location.href);let s=Object(rt.a)(n);var a=Object(rt.a)(r);s.path||(s=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===s.protocol&&i.host===s.host&&(n=s.relative),Object(h.a)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}it.__initStatic();var ut=Object(T.a)();let dt;function _t(){if(dt)return dt;if(Object(x.a)(ut.fetch))return dt=ut.fetch.bind(ut);var t=ut.document;let e=ut.fetch;if(t&&"function"==typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return dt=e.bind(ut)}var pt=Object(T.a)();class lt extends W{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:"7.9.0"}],version:"7.9.0"},super(t),t.sendClientReports&&pt.document&&pt.document.addEventListener("visibilitychange",()=>{"hidden"===pt.document.visibilityState&&this._flushOutcomes()})}eventFromException(t,e){return function(t,e,n,r){var i=Q(t,e,n&&n.syntheticException||void 0,r);return Object(c.a)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),Object(R.c)(i)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",r,i){var s=Z(t,e,r&&r.syntheticException||void 0,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),Object(R.c)(s)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}sendEvent(t,e){var n=this.getIntegrationById("Breadcrumbs");n&&n.options&&n.options.sentry&&Object(h.a)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Object(c.d)(t)},{event:t}),super.sendEvent(t,e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){var t=this._clearOutcomes();if(0!==t.length)if(this._dsn){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.log("Sending outcomes:",t);var e,n,r,i=j(this._dsn,this._options),s=(e=t,U((n=this._options.tunnel&&y(this._dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||Object(M.a)(),discarded_events:e}]]));try{!function(t,e){if("[object Navigator]"===Object.prototype.toString.call(ut&&ut.navigator)&&"function"==typeof ut.navigator.sendBeacon)ut.navigator.sendBeacon.bind(ut.navigator)(t,e);else if(Object(x.b)()){_t()(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.error(t)})}}(i,G(s))}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.error(t)}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.log("No dsn provided, will not send outcomes");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.log("No outcomes to send")}}function ht(t,e){return Object(h.a)().captureException(t,{captureContext:e})}function ft(t){Object(h.a)().withScope(t)}let gt=0;function vt(){return gt>0}function mt(){gt+=1,setTimeout(()=>{gt-=1})}function bt(t,e={},n){if("function"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if(Object(i.f)(t))return t}catch(e){return t}var s=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var i=r.map(t=>bt(t,e));return t.apply(this,i)}catch(t){throw mt(),ft(n=>{n.addEventProcessor(t=>(e.mechanism&&(Object(c.b)(t,void 0,void 0),Object(c.a)(t,e.mechanism)),t.extra={...t.extra,arguments:r},t)),ht(t)}),t}};try{for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(s[a]=t[a])}catch(t){}Object(i.g)(s,t),Object(i.a)(t,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get:()=>t.name})}catch(t){}return s}function yt(t,e,n,r){var i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}var Et=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,St=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ot=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,jt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Tt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,wt=[[30,t=>{var e=Et.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var n=St.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}const[t,r]=Rt(e[1]||"?",e[2]);return yt(r,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],[50,t=>{var e=Ot.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){var n=jt.exec(e[3]);n&&(e[1]=e[1]||"eval",e[3]=n[1],e[4]=n[2],e[5]="")}let t=e[3],r=e[1]||"?";return[r,t]=Rt(r,t),yt(t,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],[40,t=>{var e=Tt.exec(t);return e?yt(e[2],e[1]||"?",+e[3],e[4]?+e[4]:void 0):void 0}]],xt=Object(w.a)(...wt),Rt=(t,e)=>{var n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:"?",n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]},Nt=["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"];class Dt{static __initStatic(){this.id="TryCatch"}__init(){this.name=Dt.id}constructor(t){Dt.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){var t=Object(T.a)();this._options.setTimeout&&Object(i.e)(t,"setTimeout",kt),this._options.setInterval&&Object(i.e)(t,"setInterval",kt),this._options.requestAnimationFrame&&Object(i.e)(t,"requestAnimationFrame",Ut),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(i.e)(XMLHttpRequest.prototype,"send",Bt);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:Nt).forEach(It)}}function kt(t){return function(...e){var n=e[0];return e[0]=bt(n,{mechanism:{data:{function:Object(w.b)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function Ut(t){return function(e){return t.apply(this,[bt(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(w.b)(t)},handled:!0,type:"instrument"}})])}}function Bt(t){return function(...e){var n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(t=>{t in n&&"function"==typeof n[t]&&Object(i.e)(n,t,(function(e){var n={mechanism:{data:{function:t,handler:Object(w.b)(e)},handled:!0,type:"instrument"}},r=Object(i.f)(e);return r&&(n.mechanism.data.handler=Object(w.b)(r)),bt(e,n)}))}),t.apply(this,e)}}function It(t){var e=Object(T.a)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(i.e)(n,"addEventListener",(function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=bt(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Object(w.b)(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[n,bt(r,{mechanism:{data:{function:"addEventListener",handler:Object(w.b)(r),target:t},handled:!0,type:"instrument"}}),i])}})),Object(i.e)(n,"removeEventListener",(function(t){return function(e,n,r){var i=n;try{var s=i&&i.__sentry_wrapped__;s&&t.call(this,e,s,r)}catch(t){}return t.call(this,e,i,r)}})))}Dt.__initStatic();class Yt{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Yt.id}__init2(){this._installFunc={onerror:Gt,onunhandledrejection:Ct}}constructor(t){Yt.prototype.__init.call(this),Yt.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;var t,e=this._options;for(var n in e){var r=this._installFunc[n];r&&e[n]&&(t=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.log("Global Handler attached: "+t),r(),this._installFunc[n]=void 0)}}}function Gt(){Object(N.a)("error",t=>{const[e,n,r]=Mt();if(!e.getIntegration(Yt))return;const{msg:i,url:s,line:a,column:o,error:c}=t;if(!(vt()||c&&c.__sentry_own_request__)){var u=void 0===c&&Object(k.l)(i)?function(t,e,n,r){let i=Object(k.e)(t)?t.message:t,s="Error";var a=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);a&&(s=a[1],i=a[2]);return $t({exception:{values:[{type:s,value:i}]}},e,n,r)}(i,s,a,o):$t(Q(n,c||i,void 0,r,!1),s,a,o);u.level="error",Pt(e,c,u,"onerror")}})}function Ct(){Object(N.a)("unhandledrejection",t=>{const[e,n,r]=Mt();if(!e.getIntegration(Yt))return;let i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch(t){}if(vt()||i&&i.__sentry_own_request__)return!0;var s=Object(k.j)(i)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(i)}]}}:Q(n,i,void 0,r,!0);s.level="error",Pt(e,i,s,"onunhandledrejection")})}function $t(t,e,n,r){var i=t.exception=t.exception||{},s=i.values=i.values||[],a=s[0]=s[0]||{},o=a.stacktrace=a.stacktrace||{},c=o.frames=o.frames||[],u=isNaN(parseInt(r,10))?void 0:r,d=isNaN(parseInt(n,10))?void 0:n,_=Object(k.l)(e)&&e.length>0?e:Object(tt.a)();return 0===c.length&&c.push({colno:u,filename:_,function:"?",in_app:!0,lineno:d}),t}function Pt(t,e,n,r){Object(c.a)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function Mt(){var t=Object(h.a)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}Yt.__initStatic();class At{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=At.id}constructor(t={}){At.prototype.__init.call(this),this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){var t=Object(h.a)().getClient();t&&Object(l.b)((e,n)=>{var r=Object(h.a)().getIntegration(At);return r?function(t,e,n,r,i){if(!(r.exception&&r.exception.values&&i&&Object(k.g)(i.originalException,Error)))return r;var s=function t(e,n,r,i,s=[]){if(!Object(k.g)(r[i],Error)||s.length+1>=n)return s;var a=z(e,r[i]);return t(e,n,r[i],i,[a,...s])}(t,n,i.originalException,e);return r.exception.values=[...s,...r.exception.values],r}(t.getOptions().stackParser,r._key,r._limit,e,n):e})}}At.__initStatic();class Lt{constructor(){Lt.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Lt.id}setupOnce(t,e){var n=t=>{var n=e().getIntegration(Lt);if(n){try{if(function(t,e){if(!e)return!1;if(function(t,e){var n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!Ft(t,e))return!1;if(!qt(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){var n=Ht(e),r=Ht(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Ft(t,e))return!1;if(!qt(t,e))return!1;return!0}(t,e))return!0;return!1}(t,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){return n._previousEvent=t}return n._previousEvent=t}return t};n.id=this.name,t(n)}}function qt(t,e){let n=Wt(t),r=Wt(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,r=r,r.length!==n.length)return!1;for(let t=0;t<r.length;t++){var i=r[t],s=n[t];if(i.filename!==s.filename||i.lineno!==s.lineno||i.colno!==s.colno||i.function!==s.function)return!1}return!0}function Ft(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function Ht(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Wt(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}}Lt.__initStatic();var zt=Object(T.a)();class Jt{constructor(){Jt.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Jt.id}setupOnce(){Object(l.b)(t=>{if(Object(h.a)().getIntegration(Jt)){if(!zt.navigator&&!zt.location&&!zt.document)return t;var e=t.request&&t.request.url||zt.location&&zt.location.href;const{referrer:r}=zt.document||{},{userAgent:i}=zt.navigator||{};var n={...e&&{url:e},headers:{...t.request&&t.request.headers,...r&&{Referer:r},...i&&{"User-Agent":i}}};return{...t,request:n}}return t})}}function Xt(t){var e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return Object(R.b)(new m("Not adding Promise due to buffer limit reached."));var i=r();return-1===e.indexOf(i)&&e.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(t){return new R.a((n,r)=>{let i=e.length;if(!i)return n(!0);var s=setTimeout(()=>{t&&t>0&&n(!1)},t);e.forEach(t=>{Object(R.c)(t).then(()=>{--i||(clearTimeout(s),n(!0))},r)})})}}}Jt.__initStatic();function Kt(t,{statusCode:e,headers:n},r=Date.now()){var i={...t},s=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(s)for(var o of s.trim().split(",")){const[t,e]=o.split(":",2);var c=parseInt(t,10),u=1e3*(isNaN(c)?60:c);if(e)for(var d of e.split(";"))i[d]=r+u;else i.all=r+u}else a?i.all=r+function(t,e=Date.now()){var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?6e4:r-e}(a,r):429===e&&(i.all=r+6e4);return i}function Vt(t,e,n=Xt(t.bufferSize||30)){let r={};return{send:function(i){var s=[];if(I(i,(e,n)=>{var i=P(n);!function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(r,i)?s.push(e):t.recordDroppedEvent("ratelimit_backoff",i)}),0===s.length)return Object(R.c)();var a=U(i[0],s),c=e=>{I(a,(n,r)=>{t.recordDroppedEvent(e,P(r))})};return n.add(()=>e({body:G(a,t.textEncoder)}).then(t=>{void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=Kt(r,t)},t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.error("Failed while sending event:",t),c("network_error")})).then(t=>t,t=>{if(t instanceof m)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.error("Skipped sending event due to full buffer"),c("queue_overflow"),Object(R.c)();throw t})},flush:t=>n.drain(t)}}function Qt(t,e=_t()){return Vt(t,(function(n){var r={body:n.body,method:"POST",referrerPolicy:"origin",headers:t.headers,...t.fetchOptions};return e(t.url,r).then(t=>({statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}}))}))}function Zt(t){return Vt(t,(function(e){return new R.a((n,r)=>{var i=new XMLHttpRequest;for(var s in i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,s)&&i.setRequestHeader(s,t.headers[s]);i.send(e.body)})}))}var te=[new r.InboundFilters,new r.FunctionToString,new Dt,new it,new Yt,new At,new Lt,new Jt];function ee(t){t.startSession({ignoreDuration:!0}),t.captureSession()}var ne=n(16);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&Object(ne.a)(),function(t={}){if(void 0===t.defaultIntegrations&&(t.defaultIntegrations=te),void 0===t.release){var e=Object(T.a)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);var n={...t,stackParser:Object(w.c)(t.stackParser||xt),integrations:v(t),transport:t.transport||(Object(x.b)()?Qt:Zt)};!function(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?o.c.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Object(h.a)(),r=n.getScope();r&&r.update(e.initialScope);var i=new t(e);n.bindClient(i)}(lt,n),t.autoSessionTracking&&function(){if(void 0===Object(T.a)().document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));var t=Object(h.a)();if(!t.captureSession)return;ee(t),Object(N.a)("history",({from:t,to:e})=>{void 0!==t&&t!==e&&ee(Object(h.a)())})}()}({dsn:"https://7d0b9fd815f74d21a0411d0527f3c430@o147222.ingest.sentry.io/4504961837891584",environment:"production",autoSessionTracking:!1,release:"opeiu174",attachStacktrace:!0,integrations:[],initialScope:function(t){return t.setTag("logger","js"),t.setTag("client","opeiu174"),t.setTag("server_name","opeiu174"),t},ignoreErrors:["Non-Error promise rejection captured with value: timer","Cannot read properties of null (reading 'test')","Cannot read properties of undefined (reading 'begin')",'JSON Parse error: Unexpected identifier "Unauthorized"',"Non-Error promise rejection captured with value: cancel","Non-Error promise rejection captured with value: false","Cannot read properties of null (reading 'insertBefore')","Non-Error promise rejection captured with value: esc","Unexpected token U in JSON at position 0","Unexpected token u in JSON at position 0","Unexpected token 'U', \"Unauthorized.\" is not valid JSON","INDEX_SIZE_ERR","google is not defined","Non-Error promise rejection captured with value: Timeout","Request failed with status code 419","Request failed with status code 403","undefined is not an object (evaluating 'response.responseJSON.message')","jQuery is not defined","Bootstrap's JavaScript requires jQuery","Cannot read properties of undefined (reading 'fn')","Cannot read properties of undefined (reading 'ajaxTransport')","WKWebView API client did not respond to this postMessage","Non-Error promise rejection captured with value: Could not inject tron provider because it's not your default extension","null is not an object (evaluating 'p.ja.Fc().zoom')","Cannot read properties of undefined (reading 'message')","$ is not defined","DOCS_timing is not defined","UnknownError: Attempt to get a record from database without an in-progress transaction","Non-Error promise rejection captured with value: null","undefined is not an object (evaluating '__gCrWeb.instantSearch.clearHighlight')","Request failed with status code 401","Network Error","AbortError: The transaction was aborted, so the request cannot be fulfilled.","UnknownError: Internal error opening backing store for indexedDB.open.","TypeError: undefined is not an object (evaluating '__gCrWeb.edgeImmersiveReaderDOM.retrieveFeatures')","Cannot read property 'test' of null","Cannot read property 'begin' of undefined","Cannot read properties of null (reading 'zoom')","Non-Error promise rejection captured",/^Failed to execute 'setEnd' on 'Range'$/,/^Failed to execute 'setStart' on 'Range'$/,'Could not load "util"',"The index is not in the allowed range.","No available storage method found.","Driver not found.","undefined is not an object (evaluating 'ceCurrentVideo.currentTime')","undefined is not an object (evaluating '__gCrWeb.instantSearch.setIOSParameters')","undefined is not an object (evaluating 'a.getDiv().hasAttribute')",/^Failed to execute 'splitText' on 'Text': The offset$/,'Could not load "onion"',"null is not an object (evaluating 'v.fa.Md().zoom')","((n.event.special[g.origType] || {}).handle || g.handler).apply is not a function","Failed to execute 'start' on 'MediaRecorder': There was an error starting the MediaRecorder.","undefined is not an object (evaluating '__gCrWeb.edgeTranslate.detectPageState')","Cannot read properties of undefined (reading 'version')"],tracesSampleRate:0})},,,,,function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return c}));var r=n(2),i=n(31),s=n(4),a=n(19);function o(e,n=1/0,o=1/0){try{return function e(n,o,c=1/0,u=1/0,d=Object(i.a)()){const[_,p]=d;if(null===o||["number","boolean","string"].includes(typeof o)&&!Object(r.h)(o))return o;var l=function(e,n){try{return"domain"===e&&n&&"object"==typeof n&&n._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==t&&n===t?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":Object(r.m)(n)?"[SyntheticEvent]":"number"==typeof n&&n!=n?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?`[Function: ${Object(a.b)(n)}]`:"symbol"==typeof n?`[${String(n)}]`:"bigint"==typeof n?`[BigInt: ${String(n)}]`:`[object ${Object.getPrototypeOf(n).constructor.name}]`}catch(t){return`**non-serializable** (${t})`}}(n,o);if(!l.startsWith("[object "))return l;if(o.__sentry_skip_normalization__)return o;if(0===c)return l.replace("object ","");if(_(o))return"[Circular ~]";var h=o;if(h&&"function"==typeof h.toJSON)try{var f=h.toJSON();return e("",f,c-1,u,d)}catch(t){}var g=Array.isArray(o)?[]:{};let v=0;var m=Object(s.b)(o);for(var b in m)if(Object.prototype.hasOwnProperty.call(m,b)){if(v>=u){g[b]="[MaxProperties ~]";break}var y=m[b];g[b]=e(b,y,c-1,u,d),v+=1}return p(o),g}("",e,n,o)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function c(t,e=3,n=102400){var r,i=o(t,e);return r=i,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?c(t,e-1,n):i}}).call(this,n(27))}]);