"use strict";(self.webpackChunk_ada_support_embed2=self.webpackChunk_ada_support_embed2||[]).push([[326],{1049:function(t,e,n){n.d(e,{y:function(){return T}});var r=n(1447),o=n(3932),s=n(9888),i=n(6752),a=n(1114),c=n(4984),u=n(179),f=n(3420),p=n(1305);function l(t,e,n){const r=[{type:"client_report"},{timestamp:n||(0,p.lu)(),discarded_events:t}];return(0,c.h4)(e?{dsn:e}:{},[r])}var d=n(1186),h=n(6674),g=n(8826),m=n(9328),_=n(5394),v=n(204);const y="Not capturing exception because it's already been captured.";function b(t){return void 0===t.type}function E(t){return"transaction"===t.type}var S=n(8074),x=n(9431),w=n(1738),k=n(452);function O(t,{metadata:e,tunnel:n,dsn:o}){const s={event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!o&&{dsn:(0,r.SB)(o)}},i=function(t){return[{type:"user_report"},t]}(t);return(0,c.h4)(s,[i])}class T extends class{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=(0,r.AD)(t.dsn):h.T&&o.vF.warn("No DSN provided, client will not send events."),this._dsn){const r=(e=this._dsn,n=t.tunnel,s=t._metadata?t._metadata.sdk:void 0,n||`${function(t){return`${function(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}(t)}${t.projectId}/envelope/`}(e)}?${function(t,e){return(0,u.u4)({sentry_key:t.publicKey,sentry_version:"7",...e&&{sentry_client:`${e.name}/${e.version}`}})}(e,s)}`);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:r})}var e,n,s}captureException(t,e,n){const r=(0,s.eJ)();if((0,s.GR)(t))return h.T&&o.vF.log(y),r;const i={event_id:r,...e};return this._process(this.eventFromException(t,i).then((t=>this._captureEvent(t,i,n)))),i.event_id}captureMessage(t,e,n,r){const o={event_id:(0,s.eJ)(),...n},a=(0,i.NF)(t)?t:String(t),c=(0,i.sO)(t)?this.eventFromMessage(a,e,o):this.eventFromException(t,o);return this._process(c.then((t=>this._captureEvent(t,o,r)))),o.event_id}captureEvent(t,e,n){const r=(0,s.eJ)();if(e&&e.originalException&&(0,s.GR)(e.originalException))return h.T&&o.vF.log(y),r;const i={event_id:r,...e},a=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,i,a||n)),i.event_id}captureSession(t){"string"!=typeof t.release?h.T&&o.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,m.qO)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?(this.emit("flush"),this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t))))):(0,a.XW)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,this.emit("close"),t)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some((({name:t})=>t.startsWith("Spotlight"))))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const e=this._integrations[t.name];(0,g.qm)(this,t,this._integrations),e||(0,g.lc)(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=function(t,e,n,r){const o=(0,c.Cj)(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!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);const i=(0,c.n2)(t,o,r,e);delete t.sdkProcessingMetadata;const a=[{type:s},t];return(0,c.h4)(i,[a])}(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=(0,c.W3)(n,(0,c.bm)(t));const r=this.sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}sendSession(t){const e=function(t,e,n,o){const s=(0,c.Cj)(n),i={sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!o&&e&&{dsn:(0,r.SB)(e)}},a="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,c.h4)(i,[a])}(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const r="number"==typeof n?n:1,s=`${t}:${e}`;h.T&&o.vF.log(`Recording outcome: "${s}"${r>1?` (${r} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+r}}on(t,e){const n=this._hooks[t]=this._hooks[t]||[];return n.push(e),()=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach((t=>t(...e)))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,(t=>(h.T&&o.vF.error("Error while sending event:",t),t))):(h.T&&o.vF.error("Transport disabled"),(0,a.XW)({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=(0,g.P$)(this,t),(0,g.lc)(this,t)}_updateSessionFromEvent(t,e){let n=!1,r=!1;const o=e.exception&&e.exception.values;if(o){r=!0;for(const t of o){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const s="ok"===t.status;(s&&0===t.errors||s&&n)&&((0,m.qO)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new a.T2((e=>{let n=0;const 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._transport}_prepareEvent(t,e,n,r=(0,d.rm)()){const o=this.getOptions(),s=Object.keys(this._integrations);return!e.integrations&&s.length>0&&(e.integrations=s),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),(0,v.mG)(o,t,e,n,this,r).then((t=>{if(null===t)return t;const e={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if((!t.contexts||!t.contexts.trace)&&e){const{traceId:n,spanId:r,parentSpanId:o,dsc:s}=e;t.contexts={trace:(0,u.Ce)({trace_id:n,span_id:r,parent_span_id:o}),...t.contexts};const i=s||(0,_.lF)(n,this);t.sdkProcessingMetadata={dynamicSamplingContext:i,...t.sdkProcessingMetadata}}return t}))}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if(h.T){const e=t;"log"===e.logLevel?o.vF.log(e.message):o.vF.warn(e)}}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:s}=r,c=E(t),u=b(t),p=t.type||"error",l=`before send for type \`${p}\``,d=void 0===s?void 0:function(t){if("boolean"==typeof t)return Number(t);const e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e)||e<0||e>1))return e;h.T&&o.vF.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)}.`)}(s);if(u&&"number"==typeof d&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error",t),(0,a.xg)(new f.U(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const g="replay_event"===p?"replay":p,m=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,e,n,m).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",g,t),new f.U("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const o=function(t,e,n,r){const{beforeSend:o,beforeSendTransaction:s,beforeSendSpan:i}=e;if(b(n)&&o)return o(n,r);if(E(n)){if(n.spans&&i){const e=[];for(const r of n.spans){const n=i(r);n?e.push(n):t.recordDroppedEvent("before_send","span")}n.spans=e}if(s){if(n.spans){const t=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:t}}return s(n,r)}}return n}(this,r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,i.Qg)(t))return t.then((t=>{if(!(0,i.Qd)(t)&&null!==t)throw new f.U(n);return t}),(t=>{throw new f.U(`${e} rejected with ${t}`)}));if(!(0,i.Qd)(t)&&null!==t)throw new f.U(n);return t}(o,l)})).then((r=>{if(null===r){if(this.recordDroppedEvent("before_send",g,t),c){const e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw new f.U(`${l} returned \`null\`, will not send event.`,"log")}const o=n&&n.getSession();if(!c&&o&&this._updateSessionFromEvent(o,r),c){const t=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);t>0&&this.recordDroppedEvent("before_send","span",t)}const s=r.transaction_info;if(c&&s&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...s,source:t}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof f.U)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new f.U(`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++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map((([t,e])=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e}}))}_flushOutcomes(){h.T&&o.vF.log("Flushing outcomes...");const t=this._clearOutcomes();if(0===t.length)return void(h.T&&o.vF.log("No outcomes to send"));if(!this._dsn)return void(h.T&&o.vF.log("No dsn provided, will not send outcomes"));h.T&&o.vF.log("Sending outcomes:",t);const e=l(t,this._options.tunnel&&(0,r.SB)(this._dsn));this.sendEnvelope(e)}}{constructor(t){const e={parentSpanIsAlwaysRootSpan:!0,...t};!function(t,e,n=[e],r="npm"){const o=t._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${e}`,packages:n.map((t=>({name:`${r}:@sentry/${t}`,version:S.M}))),version:S.M}),t._metadata=o}(e,"browser",["browser"],k.jf.SENTRY_SDK_SOURCE||"npm"),super(e),e.sendClientReports&&k.jf.document&&k.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===k.jf.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return(0,w.u)(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return(0,w.qv)(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return void(x.T&&o.vF.warn("SDK not enabled, will not capture user feedback."));const e=O(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}}},9431:function(t,e,n){n.d(e,{T:function(){return r}});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},1738:function(t,e,n){n.d(e,{H7:function(){return m},K8:function(){return u},qv:function(){return g},u:function(){return h}});var r=n(1186),o=n(6845),s=n(6752),i=n(9888),a=n(1114),c=n(179);function u(t,e){const n=p(t,e),r={type:e&&e.name,value:d(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function f(t,e){return{exception:{values:[u(t,e)]}}}function p(t,e){const n=e.stacktrace||e.stack||"",r=function(t){return t&&l.test(t.message)?1:0}(e),o=function(t){return"number"==typeof t.framesToPop?t.framesToPop:0}(e);try{return t(n,r,o)}catch(t){}return[]}const l=/Minified React error #\d+;/i;function d(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function h(t,e,n,r){const o=m(t,e,n&&n.syntheticException||void 0,r);return(0,i.M6)(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),(0,a.XW)(o)}function g(t,e,n="info",r,o){const s=_(t,e,r&&r.syntheticException||void 0,o);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),(0,a.XW)(s)}function m(t,e,n,a,c){let l;if((0,s.T2)(e)&&e.error)return f(t,e.error);if((0,s.BD)(e)||(0,s.W6)(e)){const r=e;if("stack"in e)l=f(t,e);else{const e=r.name||((0,s.BD)(r)?"DOMError":"DOMException"),o=r.message?`${e}: ${r.message}`:e;l=_(t,o,n,a),(0,i.gO)(l,o)}return"code"in r&&(l.tags={...l.tags,"DOMException.code":`${r.code}`}),l}return(0,s.bJ)(e)?f(t,e):(0,s.Qd)(e)||(0,s.xH)(e)?(l=function(t,e,n,i){const a=(0,r.KU)(),c=a&&a.getOptions().normalizeDepth,f=function(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}}(e),l={__serialized__:(0,o.cd)(e,c)};if(f)return{exception:{values:[u(t,f)]},extra:l};const d={exception:{values:[{type:(0,s.xH)(e)?e.constructor.name:i?"UnhandledRejection":"Error",value:v(e,{isUnhandledRejection:i})}]},extra:l};if(n){const e=p(t,n);e.length&&(d.exception.values[0].stacktrace={frames:e})}return d}(t,e,n,c),(0,i.M6)(l,{synthetic:!0}),l):(l=_(t,e,n,a),(0,i.gO)(l,`${e}`,void 0),(0,i.M6)(l,{synthetic:!0}),l)}function _(t,e,n,r){const o={};if(r&&n){const r=p(t,n);r.length&&(o.exception={values:[{value:e,stacktrace:{frames:r}}]})}if((0,s.NF)(e)){const{__sentry_template_string__:t,__sentry_template_values__:n}=e;return o.logentry={message:t,params:n},o}return o.message=e,o}function v(t,{isUnhandledRejection:e}){const n=(0,c.HF)(t),r=e?"promise rejection":"exception";return(0,s.T2)(t)?`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``:(0,s.xH)(t)?`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}},452:function(t,e,n){n.d(e,{LV:function(){return l},jN:function(){return f},jf:function(){return c}});var r=n(1186),o=n(4251),s=n(9085),i=n(179),a=n(9888);const c=s.O;let u=0;function f(){return u>0}function p(){u++,setTimeout((()=>{u--}))}function l(t,e={},n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return"function"==typeof e?e:t;if((0,i.sp)(t))return t}catch(e){return t}const s=function(){const s=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=s.map((t=>l(t,e)));return t.apply(this,r)}catch(t){throw p(),(0,r.v4)((n=>{n.addEventProcessor((t=>(e.mechanism&&((0,a.gO)(t,void 0,void 0),(0,a.M6)(t,e.mechanism)),t.extra={...t.extra,arguments:s},t))),(0,o.Cp)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(s[e]=t[e])}catch(t){}(0,i.pO)(s,t),(0,i.my)(t,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get(){return t.name}})}catch(t){}return s}},5101:function(t,e,n){n.d(e,{F:function(){return T}});var r=n(1221),o=n(5947),s=n(5761),i=n(8826),a=n(1186),c=n(6810),u=n(3932),f=n(179),p=n(9085),l=n(2433);function d(){"console"in p.O&&u.Ow.forEach((function(t){t in p.O.console&&(0,f.GS)(p.O.console,t,(function(e){return u.Z9[t]=e,function(...e){const n={args:e,level:t};(0,l.aj)("console",n);const r=u.Z9[t];r&&r.apply(p.O.console,e)}}))}))}var h=n(6752),g=n(2544),m=n(1305);function _(t,e){return!!t&&"object"==typeof t&&!!t[e]}function v(t){return"string"==typeof t?t:t?_(t,"url")?t.url:t.toString?t.toString():"":""}var y=n(9888),b=n(5166);const E=["fatal","error","warning","log","info","debug"];var S=n(6013);function x(t){return void 0===t?void 0:t>=400&&t<500?"warning":t>=500?"error":void 0}function w(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}var k=n(9431),O=n(452);const T=(0,i._C)(((t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:"Breadcrumbs",setup(t){e.console&&function(t){const e="console";(0,l.s5)(e,t),(0,l.AS)(e,d)}(function(t){return function(e){if((0,a.KU)()!==t)return;const n={category:"console",data:{arguments:e.args,logger:"console"},level:(r=e.level,"warn"===r?"warning":E.includes(r)?r:"log"),message:(0,S.gt)(e.args," ")};var r;if("assert"===e.level){if(!1!==e.args[0])return;n.message=`Assertion failed: ${(0,S.gt)(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1)}(0,c.Z)(n,{input:e.args,level:e.level})}}(t)),e.dom&&(0,r.i)(function(t,e){return function(n){if((0,a.KU)()!==t)return;let r,o,s="object"==typeof e?e.serializeAttribute:void 0,i="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;i&&i>1024&&(k.T&&u.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=1024),"string"==typeof s&&(s=[s]);try{const t=n.event,e=function(t){return!!t&&!!t.target}(t)?t.target:t;r=(0,b.Hd)(e,{keyAttrs:s,maxStringLength:i}),o=(0,b.xE)(e)}catch(t){r=""}if(0===r.length)return;const f={category:`ui.${n.name}`,message:r};o&&(f.data={"ui.component_name":o}),(0,c.Z)(f,{event:n.event,name:n.name,global:n.global})}}(t,e.dom)),e.xhr&&(0,o.Mn)(function(t){return function(e){if((0,a.KU)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e,s=e.xhr[o.Er];if(!n||!r||!s)return;const{method:i,url:u,status_code:f,body:p}=s,l={method:i,url:u,status_code:f},d={xhr:e.xhr,input:p,startTimestamp:n,endTimestamp:r},h=x(f);(0,c.Z)({category:"xhr",data:l,type:"http",level:h},d)}}(t)),e.fetch&&function(t,e){const n="fetch";(0,l.s5)(n,t),(0,l.AS)(n,(()=>function(t,e=!1){e&&!(0,g.m7)()||(0,f.GS)(p.O,"fetch",(function(e){return function(...n){const{method:r,url:o}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:v(e),method:_(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:v(e),method:_(e,"method")?String(e.method).toUpperCase():"GET"}}(n),s={args:n,fetchData:{method:r,url:o},startTimestamp:1e3*(0,m.zf)()};t||(0,l.aj)("fetch",{...s});const i=(new Error).stack;return e.apply(p.O,n).then((async e=>(t?t(e):(0,l.aj)("fetch",{...s,endTimestamp:1e3*(0,m.zf)(),response:e}),e)),(t=>{throw(0,l.aj)("fetch",{...s,endTimestamp:1e3*(0,m.zf)(),error:t}),(0,h.bJ)(t)&&void 0===t.stack&&(t.stack=i,(0,f.my)(t,"framesToPop",1)),t}))}}))}(void 0,undefined)))}(function(t){return function(e){if((0,a.KU)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e;if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){const t=e.fetchData,o={data:e.error,input:e.args,startTimestamp:n,endTimestamp:r};(0,c.Z)({category:"fetch",data:t,level:"error",type:"http"},o)}else{const t=e.response,o={...e.fetchData,status_code:t&&t.status},s={input:e.args,response:t,startTimestamp:n,endTimestamp:r},i=x(o.status_code);(0,c.Z)({category:"fetch",data:o,type:"http",level:i},s)}}}(t)),e.history&&(0,s._)(function(t){return function(e){if((0,a.KU)()!==t)return;let n=e.from,r=e.to;const o=w(O.jf.location.href);let s=n?w(n):void 0;const i=w(r);s&&s.path||(s=o),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),(0,c.Z)({category:"navigation",data:{from:n,to:r}})}}(t)),e.sentry&&t.on("beforeSendEvent",function(t){return function(e){(0,a.KU)()===t&&(0,c.Z)({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,y.$X)(e)},{event:e})}}(t))}}}))},9274:function(t,e,n){n.d(e,{M:function(){return s}});var r=n(8826),o=n(452);const s=(0,r._C)((()=>({name:"HttpContext",preprocessEvent(t){if(!o.jf.navigator&&!o.jf.location&&!o.jf.document)return;const e=t.request&&t.request.url||o.jf.location&&o.jf.location.href,{referrer:n}=o.jf.document||{},{userAgent:r}=o.jf.navigator||{},s={...t.request&&t.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...t.request,...e&&{url:e},headers:s};t.request=i}})))},8061:function(t,e,n){n.d(e,{Ts:function(){return Y}});var r=n(5896),o=n(179),s=n(1186),i=n(8826);let a;const c=new WeakMap,u=(0,i._C)((()=>({name:"FunctionToString",setupOnce(){a=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=(0,o.sp)(this),n=c.has((0,s.KU)())&&void 0!==e?e:this;return a.apply(n,t)}}catch(t){}},setup(t){c.set(t,!0)}})));var f=n(3932),p=n(6453),l=n(6674);const d=(0,i._C)((()=>{let t;return{name:"Dedupe",processEvent(e){if(e.type)return e;try{if(function(t,e){return!!e&&(!!function(t,e){const n=t.message,r=e.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!g(t,e)&&!!h(t,e))))}(t,e)||!!function(t,e){const n=m(e),r=m(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!g(t,e)&&!!h(t,e)))}(t,e))}(e,t))return l.T&&f.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return t=e}}}));function h(t,e){let n=(0,p.RV)(t),r=(0,p.RV)(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t};return{name:"BrowserApiErrors",setupOnce(){e.setTimeout&&(0,o.GS)(S.jf,"setTimeout",O),e.setInterval&&(0,o.GS)(S.jf,"setInterval",O),e.requestAnimationFrame&&(0,o.GS)(S.jf,"requestAnimationFrame",T),e.XMLHttpRequest&&"XMLHttpRequest"in S.jf&&(0,o.GS)(XMLHttpRequest.prototype,"send",j);const t=e.eventTarget;t&&(Array.isArray(t)?t:w).forEach($)}}}));function O(t){return function(...e){const n=e[0];return e[0]=(0,S.LV)(n,{mechanism:{data:{function:(0,p.qQ)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function T(t){return function(e){return t.apply(this,[(0,S.LV)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,p.qQ)(t)},handled:!1,type:"instrument"}})])}}function j(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,o.GS)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,p.qQ)(e)},handled:!1,type:"instrument"}},r=(0,o.sp)(e);return r&&(n.mechanism.data.handler=(0,p.qQ)(r)),(0,S.LV)(e,n)}))})),t.apply(this,e)}}function $(t){const e=S.jf,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,o.GS)(n,"addEventListener",(function(e){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,S.LV)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,p.qQ)(r),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,(0,S.LV)(r,{mechanism:{data:{function:"addEventListener",handler:(0,p.qQ)(r),target:t},handled:!1,type:"instrument"}}),o])}})),(0,o.GS)(n,"removeEventListener",(function(t){return function(e,n,r){const o=n;try{const n=o&&o.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(t){}return t.call(this,e,o,r)}})))}var D=n(9085),N=n(2433);let C=null;function P(){C=D.O.onerror,D.O.onerror=function(t,e,n,r,o){const s={column:r,error:o,line:n,msg:t,url:e};return(0,N.aj)("error",s),!(!C||C.__SENTRY_LOADER__)&&C.apply(this,arguments)},D.O.onerror.__SENTRY_INSTRUMENTED__=!0}let I=null;function R(){I=D.O.onunhandledrejection,D.O.onunhandledrejection=function(t){const e=t;return(0,N.aj)("unhandledrejection",e),!(I&&!I.__SENTRY_LOADER__)||I.apply(this,arguments)},D.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var A=n(6752),M=n(5166),F=n(1738);const L=(0,i._C)(((t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&(function(t){!function(e){const n="error";(0,N.s5)(n,(e=>{const{stackParser:n,attachStacktrace:r}=q();if((0,s.KU)()!==t||(0,S.jN)())return;const{msg:o,url:i,line:a,column:c,error:u}=e,f=function(t,e,n,r){const o=t.exception=t.exception||{},s=o.values=o.values||[],i=s[0]=s[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,f=isNaN(parseInt(n,10))?void 0:n,l=(0,A.Kg)(e)&&e.length>0?e:(0,M.$N)();return 0===c.length&&c.push({colno:u,filename:l,function:p.yF,in_app:!0,lineno:f}),t}((0,F.H7)(n,u||o,void 0,r,!1),i,a,c);f.level="error",(0,_.r)(f,{originalException:u,mechanism:{handled:!1,type:"onerror"}})})),(0,N.AS)(n,P)}()}(t),U("onerror")),e.onunhandledrejection&&(function(t){!function(e){const n="unhandledrejection";(0,N.s5)(n,(e=>{const{stackParser:n,attachStacktrace:r}=q();if((0,s.KU)()!==t||(0,S.jN)())return;const o=function(t){if((0,A.sO)(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(t){}return t}(e),i=(0,A.sO)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:(0,F.H7)(n,o,void 0,r,!0);i.level="error",(0,_.r)(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})),(0,N.AS)(n,R)}()}(t),U("onunhandledrejection"))}}}));function U(t){E.T&&f.vF.log(`Global Handler attached: ${t}`)}function q(){const t=(0,s.KU)();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}var H=n(9274),J=n(6013);function K(t,e,n=250,r,o,s,i){if(!(s.exception&&s.exception.values&&i&&(0,A.tH)(i.originalException,Error)))return;const a=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;var c,u;a&&(s.exception.values=(c=G(t,e,o,i.originalException,r,s.exception.values,a,0),u=n,c.map((t=>(t.value&&(t.value=(0,J.xv)(t.value,u)),t)))))}function G(t,e,n,r,o,s,i,a){if(s.length>=n+1)return s;let c=[...s];if((0,A.tH)(r[o],Error)){B(i,a);const s=t(e,r[o]),u=c.length;W(s,o,u,a),c=G(t,e,n,r[o],o,[s,...c],s,u)}return Array.isArray(r.errors)&&r.errors.forEach(((r,s)=>{if((0,A.tH)(r,Error)){B(i,a);const u=t(e,r),f=c.length;W(u,`errors[${s}]`,f,a),c=G(t,e,n,r,o,[u,...c],u,f)}})),c}function B(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,..."AggregateError"===t.type&&{is_exception_group:!0},exception_id:e}}function W(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}const X=(0,i._C)(((t={})=>{const e=t.limit||5,n=t.key||"cause";return{name:"LinkedErrors",preprocessEvent(t,r,o){const s=o.getOptions();K(F.K8,s.stackParser,s.maxValueLength,n,e,t,r)}}}));var z=n(4720),V=n(9224);function Y(t={}){const e=function(t={}){const e={defaultIntegrations:[(0,r.D)(),u(),k(),(0,x.F)(),L(),X(),d(),(0,H.M)()],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:S.jf.SENTRY_RELEASE&&S.jf.SENTRY_RELEASE.id?S.jf.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==t.defaultIntegrations&&delete t.defaultIntegrations,{...e,...t}}(t);if(function(){const t=void 0!==S.jf.window&&S.jf;if(!t)return!1;const e=t[t.chrome?"chrome":"browser"],n=e&&e.runtime&&e.runtime.id,r=S.jf.location&&S.jf.location.href||"",o=!!n&&S.jf===S.jf.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some((t=>r.startsWith(`${t}//`))),s=void 0!==t.nw;return!!n&&!o&&!s}())return void(0,f.pq)((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}));E.T&&((0,v.vm)()||f.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...e,stackParser:(0,p.vk)(e.stackParser||z.lG),integrations:(0,i.mH)(e),transport:e.transport||V._},o=function(t,e){!0===e.debug&&(l.T?f.vF.enable():(0,f.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))),(0,s.o5)().update(e.initialScope);const n=new t(e);return function(t){(0,s.o5)().setClient(t)}(n),n.init(),n}(b.y,n);return e.autoSessionTracking&&(void 0!==S.jf.document?((0,_.J0)({ignoreDuration:!0}),(0,_.J5)(),(0,y._)((({from:t,to:e})=>{void 0!==t&&t!==e&&((0,_.J0)({ignoreDuration:!0}),(0,_.J5)())}))):E.T&&f.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")),o}},4720:function(t,e,n){n.d(e,{lG:function(){return p}});var r=n(6453);function o(t,e,n,o){const s={filename:t,function:""===e?r.yF:e,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==o&&(s.colno=o),s}const s=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,f=[[30,t=>{const e=s.exec(t);if(e){const[,t,n,s]=e;return o(t,r.yF,+n,+s)}const n=i.exec(t);if(n){if(n[2]&&0===n[2].indexOf("eval")){const t=a.exec(n[2]);t&&(n[2]=t[1],n[3]=t[2],n[4]=t[3])}const[t,e]=l(n[1]||r.yF,n[2]);return o(e,t,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,t=>{const e=c.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=u.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||r.yF;return[n,t]=l(n,t),o(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}]],p=(0,r.gd)(...f),l=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),o=-1!==t.indexOf("safari-web-extension");return n||o?[-1!==t.indexOf("@")?t.split("@")[0]:r.yF,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]}},9224:function(t,e,n){n.d(e,{_:function(){return p}});var r=n(1108),o=n(3420),s=n(1114);var i=n(4984);var a=n(3932),c=n(6674);function u(t,e,n=function(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]||Promise.resolve(void 0)}return{$:e,add:function(r){if(!(void 0===t||e.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(t){return new s.T2(((n,r)=>{let o=e.length;if(!o)return n(!0);const i=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,s.XW)(t).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}(t.bufferSize||64)){let r={};return{send:function(u){const p=[];if((0,i.yH)(u,((e,n)=>{const o=(0,i.zk)(n);if(function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(r,o)){const r=f(e,n);t.recordDroppedEvent("ratelimit_backoff",o,r)}else p.push(e)})),0===p.length)return(0,s.XW)({});const l=(0,i.h4)(u[0],p),d=e=>{(0,i.yH)(l,((n,r)=>{const o=f(n,r);t.recordDroppedEvent(e,(0,i.zk)(r),o)}))};return n.add((()=>e({body:(0,i.bN)(l)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&c.T&&a.vF.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=function(t,{statusCode:e,headers:n},r=Date.now()){const o={...t},s=n&&n["x-sentry-rate-limits"],i=n&&n["retry-after"];if(s)for(const t of s.trim().split(",")){const[e,n,,,s]=t.split(":",5),i=parseInt(e,10),a=1e3*(isNaN(i)?60:i);if(n)for(const t of n.split(";"))"metric_bucket"===t&&s&&!s.split(";").includes("custom")||(o[t]=r+a);else o.all=r+a}else i?o.all=r+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${t}`);return isNaN(r)?6e4:r-e}(i,r):429===e&&(o.all=r+6e4);return o}(r,t),t)),(t=>{throw d("network_error"),t})))).then((t=>t),(t=>{if(t instanceof o.U)return c.T&&a.vF.error("Skipped sending event because buffer is full."),d("queue_overflow"),(0,s.XW)({});throw t}))},flush:t=>n.drain(t)}}function f(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}function p(t,e=(0,r.qd)("fetch")){let n=0,o=0;return u(t,(function(i){const a=i.body.length;n+=a,o++;const c={body:i.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&o<15,...t.fetchOptions};if(!e)return(0,r.y7)("fetch"),(0,s.xg)("No fetch implementation available");try{return e(t.url,c).then((t=>(n-=a,o--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return(0,r.y7)("fetch"),n-=a,o--,(0,s.xg)(t)}}))}},6810:function(t,e,n){n.d(e,{Z:function(){return a}});var r=n(1305),o=n(3932),s=n(1186);const i=100;function a(t,e){const n=(0,s.KU)(),a=(0,s.rm)();if(!n)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:u=i}=n.getOptions();if(u<=0)return;const f={timestamp:(0,r.lu)(),...t},p=c?(0,o.pq)((()=>c(f,e))):f;null!==p&&(n.emit&&n.emit("beforeAddBreadcrumb",p,e),a.addBreadcrumb(p,u))}},7313:function(t,e,n){n.d(e,{U:function(){return r}});const r="production"},1186:function(t,e,n){n.d(e,{KU:function(){return y},o5:function(){return g},m6:function(){return _},rm:function(){return m},v4:function(){return v}});var r=n(9085),o=n(8074);function s(){return i(r.O),r.O}function i(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||o.M,e[o.M]=e[o.M]||{}}var a=n(6752),c=n(133);class u{constructor(t,e){let n,r;n=t||new c.H,r=e||new c.H,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(t){throw this._popScope(),t}return(0,a.Qg)(n)?n.then((t=>(this._popScope(),t)),(t=>{throw this._popScope(),t})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function f(){const t=i(s());return t.stack=t.stack||new u((0,r.B)("defaultCurrentScope",(()=>new c.H)),(0,r.B)("defaultIsolationScope",(()=>new c.H)))}function p(t){return f().withScope(t)}function l(t,e){const n=f();return n.withScope((()=>(n.getStackTop().scope=t,e(t))))}function d(t){return f().withScope((()=>t(f().getIsolationScope())))}function h(t){const e=i(t);return e.acs?e.acs:{withIsolationScope:d,withScope:p,withSetScope:l,withSetIsolationScope:(t,e)=>d(e),getCurrentScope:()=>f().getScope(),getIsolationScope:()=>f().getIsolationScope()}}function g(){return h(s()).getCurrentScope()}function m(){return h(s()).getIsolationScope()}function _(){return(0,r.B)("globalScope",(()=>new c.H))}function v(...t){const e=h(s());if(2===t.length){const[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])}function y(){return g().getClient()}},6674:function(t,e,n){n.d(e,{T:function(){return r}});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},4251:function(t,e,n){n.d(e,{Cp:function(){return c},J0:function(){return p},J5:function(){return h},NA:function(){return f},r:function(){return u}});var r=n(9085),o=n(7313),s=n(1186),i=n(9328),a=n(204);function c(t,e){return(0,s.o5)().captureException(t,(0,a.li)(e))}function u(t,e){return(0,s.o5)().captureEvent(t,e)}function f(t,e){(0,s.rm)().setTag(t,e)}function p(t){const e=(0,s.KU)(),n=(0,s.rm)(),a=(0,s.o5)(),{release:c,environment:u=o.U}=e&&e.getOptions()||{},{userAgent:f}=r.O.navigator||{},p=(0,i.fj)({release:c,environment:u,user:a.getUser()||n.getUser(),...f&&{userAgent:f},...t}),d=n.getSession();return d&&"ok"===d.status&&(0,i.qO)(d,{status:"exited"}),l(),n.setSession(p),a.setSession(p),p}function l(){const t=(0,s.rm)(),e=(0,s.o5)(),n=e.getSession()||t.getSession();n&&(0,i.Vu)(n),d(),t.setSession(),e.setSession()}function d(){const t=(0,s.rm)(),e=(0,s.o5)(),n=(0,s.KU)(),r=e.getSession()||t.getSession();r&&n&&n.captureSession(r)}function h(t=!1){t?l():d()}},8826:function(t,e,n){n.d(e,{P$:function(){return c},_C:function(){return p},lc:function(){return u},mH:function(){return a},qm:function(){return f}});var r=n(9888),o=n(3932),s=n(6674);const i=[];function a(t){const e=t.defaultIntegrations||[],n=t.integrations;let o;e.forEach((t=>{t.isDefaultInstance=!0})),o=Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,r.k9)(n(e)):e;const s=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.values(e)}(o),i=s.findIndex((t=>"Debug"===t.name));if(i>-1){const[t]=s.splice(i,1);s.push(t)}return s}function c(t,e){const n={};return e.forEach((e=>{e&&f(t,e,n)})),n}function u(t,e){for(const n of e)n&&n.afterAllSetup&&n.afterAllSetup(t)}function f(t,e,n){if(n[e.name])s.T&&o.vF.log(`Integration skipped because it was already installed: ${e.name}`);else{if(n[e.name]=e,-1===i.indexOf(e.name)&&"function"==typeof e.setupOnce&&(e.setupOnce(),i.push(e.name)),e.setup&&"function"==typeof e.setup&&e.setup(t),"function"==typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",((e,r)=>n(e,r,t)))}if("function"==typeof e.processEvent){const n=e.processEvent.bind(e),r=Object.assign(((e,r)=>n(e,r,t)),{id:e.name});t.addEventProcessor(r)}s.T&&o.vF.log(`Integration installed: ${e.name}`)}}function p(t){return t}},5896:function(t,e,n){n.d(e,{D:function(){return u}});var r=n(3932),o=n(9888),s=n(6013),i=n(6674),a=n(8826);const c=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],u=(0,a._C)(((t={})=>({name:"InboundFilters",processEvent(e,n,a){const u=a.getOptions(),p=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:c],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(t,u);return function(t,e){return e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?(i.T&&r.vF.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,o.$X)(t)}`),!0):function(t,e){return!(t.type||!e||!e.length)&&function(t){const e=[];let n;t.message&&e.push(t.message);try{n=t.exception.values[t.exception.values.length-1]}catch(t){}return n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`)),e}(t).some((t=>(0,s.Xr)(t,e)))}(t,e.ignoreErrors)?(i.T&&r.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,o.$X)(t)}`),!0):function(t){return!t.type&&(!(!t.exception||!t.exception.values||0===t.exception.values.length)&&(!t.message&&!t.exception.values.some((t=>t.stacktrace||t.type&&"Error"!==t.type||t.value))))}(t)?(i.T&&r.vF.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,o.$X)(t)}`),!0):function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&(0,s.Xr)(n,e)}(t,e.ignoreTransactions)?(i.T&&r.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,o.$X)(t)}`),!0):function(t,e){if(!e||!e.length)return!1;const n=f(t);return!!n&&(0,s.Xr)(n,e)}(t,e.denyUrls)?(i.T&&r.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,o.$X)(t)}.\nUrl: ${f(t)}`),!0):!function(t,e){if(!e||!e.length)return!0;const n=f(t);return!n||(0,s.Xr)(n,e)}(t,e.allowUrls)&&(i.T&&r.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,o.$X)(t)}.\nUrl: ${f(t)}`),!0)}(e,p)?null:e}})));function f(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return i.T&&r.vF.error(`Cannot extract url for event ${(0,o.$X)(t)}`),null}}},133:function(t,e,n){n.d(e,{H:function(){return d}});var r=n(9888);function o(){return{traceId:(0,r.eJ)(),spanId:(0,r.eJ)().substring(16)}}var s=n(6752),i=n(1305),a=n(3932),c=n(9328),u=n(179);function f(t,e){e?(0,u.my)(t,"_sentrySpan",e):delete t._sentrySpan}function p(t){return t._sentrySpan}class l{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=o()}clone(){const t=new l;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,f(t,p(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,c.qO)(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[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t,[n,r]=e instanceof d?[e.getScopeData(),e.getRequestSession()]:(0,s.Qd)(e)?[t,t.requestSession]:[],{tags:o,extra:i,user:a,contexts:c,level:u,fingerprint:f=[],propagationContext:p}=n||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),f.length&&(this._fingerprint=f),p&&(this._propagationContext=p),r&&(this._requestSession=r),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._session=void 0,f(this,void 0),this._attachments=[],this._propagationContext=o(),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,i.lu)(),...t},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:p(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){const n=e&&e.event_id?e.event_id:(0,r.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture exception!"),n;const o=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:o,...e,event_id:n},this),n}captureMessage(t,e,n){const o=n&&n.event_id?n.event_id:(0,r.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture message!"),o;const s=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:o},this),o}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,r.eJ)();return this._client?(this._client.captureEvent(t,{...e,event_id:n},this),n):(a.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}}const d=l},4611:function(t,e,n){n.d(e,{JD:function(){return i},i_:function(){return r},sy:function(){return o},uT:function(){return s}});const r="sentry.source",o="sentry.sample_rate",s="sentry.op",i="sentry.origin"},9328:function(t,e,n){n.d(e,{Vu:function(){return c},fj:function(){return i},qO:function(){return a}});var r=n(1305),o=n(9888),s=n(179);function i(t){const e=(0,r.zf)(),n={sid:(0,o.eJ)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,s.Ce)({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,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&a(n,t),n}function a(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||(0,r.zf)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,o.eJ)()),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{const e=t.timestamp-t.started;t.duration=e>=0?e: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"}),a(t,n)}},5394:function(t,e,n){n.d(e,{lF:function(){return p},k1:function(){return l}});var r=n(179),o=n(6752);const s=/^sentry-/;function i(t){return t.split(",").map((t=>t.split("=").map((t=>decodeURIComponent(t.trim()))))).reduce(((t,[e,n])=>(e&&n&&(t[e]=n),t)),{})}var a=n(7313),c=n(1186),u=n(4611),f=n(4248);function p(t,e){const n=e.getOptions(),{publicKey:o}=e.getDsn()||{},s=(0,r.Ce)({environment:n.environment||a.U,release:n.release,public_key:o,trace_id:t});return e.emit("createDsc",s),s}function l(t){const e=(0,c.KU)();if(!e)return{};const n=p((0,f.et)(t).trace_id||"",e),r=(0,f.zU)(t),a=r._frozenDsc;if(a)return a;const l=r.spanContext().traceState,d=l&&l.get("sentry.dsc"),h=d&&function(t){const e=function(t){if(t&&((0,o.Kg)(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce(((t,e)=>{const n=i(e);return Object.entries(n).forEach((([e,n])=>{t[e]=n})),t}),{}):i(t)}(t);if(!e)return;const n=Object.entries(e).reduce(((t,[e,n])=>(e.match(s)&&(t[e.slice("sentry-".length)]=n),t)),{});return Object.keys(n).length>0?n:void 0}(d);if(h)return h;const g=(0,f.et)(r),m=g.data||{},_=m[u.sy];null!=_&&(n.sample_rate=`${_}`);const v=m[u.i_],y=g.description;return"url"!==v&&y&&(n.transaction=y),function(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=(0,c.KU)(),n=e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}()&&(n.sampled=String((0,f.pK)(r))),e.emit("createDsc",n,r),n}},204:function(t,e,n){n.d(e,{li:function(){return x},mG:function(){return E}});var r=n(9888),o=n(1305),s=n(6013),i=n(9085),a=n(6845),c=n(7313),u=n(1186),f=n(1114),p=n(3932),l=n(6752),d=n(6674);function h(t,e,n,r=0){return new f.T2(((o,s)=>{const i=t[r];if(null===e||"function"!=typeof i)o(e);else{const a=i({...e},n);d.T&&i.id&&null===a&&p.vF.log(`Event processor "${i.id}" dropped event`),(0,l.Qg)(a)?a.then((e=>h(t,e,n,r+1).then(o))).then(null,s):h(t,a,n,r+1).then(o).then(null,s)}}))}var g=n(133),m=n(179),_=n(5394),v=n(4248);function y(t,e){const{extra:n,tags:r,user:o,contexts:s,level:i,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:u,eventProcessors:f,attachments:p,propagationContext:l,transactionName:d,span:h}=e;b(t,"extra",n),b(t,"tags",r),b(t,"user",o),b(t,"contexts",s),b(t,"sdkProcessingMetadata",a),i&&(t.level=i),d&&(t.transactionName=d),h&&(t.span=h),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),u.length&&(t.fingerprint=[...t.fingerprint,...u]),f.length&&(t.eventProcessors=[...t.eventProcessors,...f]),p.length&&(t.attachments=[...t.attachments,...p]),t.propagationContext={...t.propagationContext,...l}}function b(t,e,n){if(n&&Object.keys(n).length){t[e]={...t[e]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[e][r]=n[r])}}function E(t,e,n,f,p,l){const{normalizeDepth:d=3,normalizeMaxBreadth:b=1e3}=t,E={...e,event_id:e.event_id||n.event_id||(0,r.eJ)(),timestamp:e.timestamp||(0,o.lu)()},x=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:o,maxValueLength:i=250}=e;"environment"in t||(t.environment="environment"in e?n:c.U),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==o&&(t.dist=o),t.message&&(t.message=(0,s.xv)(t.message,i));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,s.xv)(a.value,i));const u=t.request;u&&u.url&&(u.url=(0,s.xv)(u.url,i))}(E,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(E,x),p&&p.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){const n=i.O._sentryDebugIds;if(!n)return;let r;const o=S.get(e);o?r=o:(r=new Map,S.set(e,r));const s=Object.entries(n).reduce(((t,[n,o])=>{let s;const i=r.get(n);i?s=i:(s=e(n),r.set(n,s));for(let e=s.length-1;e>=0;e--){const n=s[e];if(n.filename){t[n.filename]=o;break}}return t}),{});try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.filename&&(t.debug_id=s[t.filename])}))}))}catch(t){}}(E,t.stackParser);const w=function(t,e){if(!e)return t;const n=t?t.clone():new g.H;return n.update(e),n}(f,n.captureContext);n.mechanism&&(0,r.M6)(E,n.mechanism);const k=p?p.getEventProcessors():[],O=(0,u.m6)().getScopeData();l&&y(O,l.getScopeData()),w&&y(O,w.getScopeData());const T=[...n.attachments||[],...O.attachments];return T.length&&(n.attachments=T),function(t,e){const{fingerprint:n,span:o,breadcrumbs:s,sdkProcessingMetadata:i}=e;!function(t,e){const{extra:n,tags:r,user:o,contexts:s,level:i,transactionName:a}=e,c=(0,m.Ce)(n);c&&Object.keys(c).length&&(t.extra={...c,...t.extra});const u=(0,m.Ce)(r);u&&Object.keys(u).length&&(t.tags={...u,...t.tags});const f=(0,m.Ce)(o);f&&Object.keys(f).length&&(t.user={...f,...t.user});const p=(0,m.Ce)(s);p&&Object.keys(p).length&&(t.contexts={...p,...t.contexts}),i&&(t.level=i),a&&"transaction"!==t.type&&(t.transaction=a)}(t,e),o&&function(t,e){t.contexts={trace:(0,v.kX)(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:(0,_.k1)(e),...t.sdkProcessingMetadata};const n=(0,v.zU)(e),r=(0,v.et)(n).description;r&&!t.transaction&&"transaction"===t.type&&(t.transaction=r)}(t,o),function(t,e){t.fingerprint=t.fingerprint?(0,r.k9)(t.fingerprint):[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}(t,n),function(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,s),function(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}(t,i)}(E,O),h([...k,...O.eventProcessors],E,n).then((t=>(t&&function(t){const e={};try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)}))}))}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach((([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})}))}(t),"number"==typeof d&&d>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,a.S8)(t.data,e,n)}})))},...t.user&&{user:(0,a.S8)(t.user,e,n)},...t.contexts&&{contexts:(0,a.S8)(t.contexts,e,n)},...t.extra&&{extra:(0,a.S8)(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=(0,a.S8)(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map((t=>({...t,...t.data&&{data:(0,a.S8)(t.data,e,n)}})))),r}(t,d,b):t)))}const S=new WeakMap;function x(t){if(t)return function(t){return t instanceof g.H||"function"==typeof t}(t)||function(t){return Object.keys(t).some((t=>w.includes(t)))}(t)?{captureContext:t}:t}const w=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},4248:function(t,e,n){n.d(e,{zU:function(){return d},pK:function(){return p},et:function(){return f},kX:function(){return a}});var r=n(179),o=n(1305);function s(t){const e=t._sentryMetrics;if(!e)return;const n={};for(const[,[t,o]]of e)(n[t]||(n[t]=[])).push((0,r.Ce)(o));return n}var i=n(4611);function a(t){const{spanId:e,traceId:n}=t.spanContext(),{parent_span_id:o}=f(t);return(0,r.Ce)({parent_span_id:o,span_id:e,trace_id:n})}function c(t){return"number"==typeof t?u(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?u(t.getTime()):(0,o.zf)()}function u(t){return t>9999999999?t/1e3:t}function f(t){if(function(t){return"function"==typeof t.getSpanJSON}(t))return t.getSpanJSON();try{const{spanId:e,traceId:n}=t.spanContext();if(function(t){const e=t;return!!(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status)}(t)){const{attributes:o,startTime:a,name:u,endTime:f,parentSpanId:p,status:d}=t;return(0,r.Ce)({span_id:e,trace_id:n,data:o,description:u,parent_span_id:p,start_timestamp:c(a),timestamp:c(f)||void 0,status:l(d),op:o[i.uT],origin:o[i.JD],_metrics_summary:s(t)})}return{span_id:e,trace_id:n}}catch(t){return{}}}function p(t){const{traceFlags:e}=t.spanContext();return 1===e}function l(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"unknown_error"}function d(t){return t._sentryRootSpan||t}},5166:function(t,e,n){n.d(e,{$N:function(){return a},Hd:function(){return s},xE:function(){return c}});var r=n(6752);const o=n(9085).O;function s(t,e={}){if(!t)return"";try{let n=t;const r=5,o=[];let s=0,a=0;const c=" > ",u=c.length;let f;const p=Array.isArray(e)?e:e.keyAttrs,l=!Array.isArray(e)&&e.maxStringLength||80;for(;n&&s++1&&a+o.length*u+f.length>=l));)o.push(f),a+=f.length,n=n.parentNode;return o.reverse().join(c)}catch(t){return""}}function i(t,e){const n=t,s=[];if(!n||!n.tagName)return"";if(o.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}s.push(n.tagName.toLowerCase());const i=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(i&&i.length)i.forEach((t=>{s.push(`[${t[0]}="${t[1]}"]`)}));else{n.id&&s.push(`#${n.id}`);const t=n.className;if(t&&(0,r.Kg)(t)){const e=t.split(/\s+/);for(const t of e)s.push(`.${t}`)}}const a=["aria-label","type","name","title","alt"];for(const t of a){const e=n.getAttribute(t);e&&s.push(`[${t}="${e}"]`)}return s.join("")}function a(){try{return o.document.location.href}catch(t){return""}}function c(t){if(!o.HTMLElement)return null;let e=t;for(let t=0;t<5;t++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}},3364:function(t,e,n){n.d(e,{T:function(){return r}});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},1447:function(t,e,n){n.d(e,{AD:function(){return c},SB:function(){return i}});var r=n(3364),o=n(3932);const s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function i(t,e=!1){const{host:n,path:r,pass:o,port:s,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&o?`:${o}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${i}`}function a(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function c(t){const e="string"==typeof t?function(t){const e=s.exec(t);if(!e)return void(0,o.pq)((()=>{console.error(`Invalid Sentry Dsn: ${t}`)}));const[n,r,i="",c="",u="",f=""]=e.slice(1);let p="",l=f;const d=l.split("/");if(d.length>1&&(p=d.slice(0,-1).join("/"),l=d.pop()),l){const t=l.match(/^\d+/);t&&(l=t[0])}return a({host:c,pass:i,path:p,projectId:l,port:u,protocol:n,publicKey:r})}(t):a(t);if(e&&function(t){if(!r.T)return!0;const{port:e,projectId:n,protocol:s}=t;return!(["protocol","publicKey","host","projectId"].find((e=>!t[e]&&(o.vF.error(`Invalid Sentry Dsn: ${e} missing`),!0)))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(s)?e&&isNaN(parseInt(e,10))&&(o.vF.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(o.vF.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),1):(o.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},4984:function(t,e,n){n.d(e,{Cj:function(){return g},W3:function(){return c},bN:function(){return p},bm:function(){return l},h4:function(){return a},n2:function(){return m},yH:function(){return u},zk:function(){return h}});var r=n(1447),o=n(6845),s=n(179),i=n(9085);function a(t,e=[]){return[t,e]}function c(t,e){const[n,r]=t;return[n,[...r,e]]}function u(t,e){const n=t[1];for(const t of n)if(e(t,t[0].type))return!0;return!1}function f(t){return i.O.__SENTRY__&&i.O.__SENTRY__.encodePolyfill?i.O.__SENTRY__.encodePolyfill(t):(new TextEncoder).encode(t)}function p(t){const[e,n]=t;let r=JSON.stringify(e);function s(t){"string"==typeof r?r="string"==typeof t?r+t:[f(r),t]:r.push("string"==typeof t?f(t):t)}for(const t of n){const[e,n]=t;if(s(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)s(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,o.S8)(n))}s(t)}}return"string"==typeof r?r:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(r)}function l(t){const e="string"==typeof t.data?f(t.data):t.data;return[(0,s.Ce)({type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),e]}const d={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function h(t){return d[t]}function g(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function m(t,e,n,o){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&o&&{dsn:(0,r.SB)(o)},...i&&{trace:(0,s.Ce)({...i})}}}},3420:function(t,e,n){n.d(e,{U:function(){return r}});class r extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}},2433:function(t,e,n){n.d(e,{AS:function(){return u},aj:function(){return f},s5:function(){return c}});var r=n(3364),o=n(3932),s=n(6453);const i={},a={};function c(t,e){i[t]=i[t]||[],i[t].push(e)}function u(t,e){a[t]||(e(),a[t]=!0)}function f(t,e){const n=t&&i[t];if(n)for(const i of n)try{i(e)}catch(e){r.T&&o.vF.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,s.qQ)(i)}\nError:`,e)}}},6752:function(t,e,n){n.d(e,{BD:function(){return a},Kg:function(){return u},L2:function(){return y},NF:function(){return f},Qd:function(){return l},Qg:function(){return m},T2:function(){return i},W6:function(){return c},bJ:function(){return o},gd:function(){return g},mE:function(){return _},sO:function(){return p},tH:function(){return v},vq:function(){return h},xH:function(){return d}});const r=Object.prototype.toString;function o(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(t,Error)}}function s(t,e){return r.call(t)===`[object ${e}]`}function i(t){return s(t,"ErrorEvent")}function a(t){return s(t,"DOMError")}function c(t){return s(t,"DOMException")}function u(t){return s(t,"String")}function f(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function p(t){return null===t||f(t)||"object"!=typeof t&&"function"!=typeof t}function l(t){return s(t,"Object")}function d(t){return"undefined"!=typeof Event&&v(t,Event)}function h(t){return"undefined"!=typeof Element&&v(t,Element)}function g(t){return s(t,"RegExp")}function m(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function _(t){return l(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function v(t,e){try{return t instanceof e}catch(t){return!1}}function y(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}},3932:function(t,e,n){n.d(e,{Ow:function(){return s},Z9:function(){return i},pq:function(){return a},vF:function(){return c}});var r=n(3364),o=n(9085);const s=["debug","info","warn","error","log","assert","trace"],i={};function a(t){if(!("console"in o.O))return t();const e=o.O.console,n={},r=Object.keys(i);r.forEach((t=>{const r=i[t];n[t]=e[t],e[t]=r}));try{return t()}finally{r.forEach((t=>{e[t]=n[t]}))}}const c=(0,o.B)("logger",(function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return r.T?s.forEach((n=>{e[n]=(...e)=>{t&&a((()=>{o.O.console[n](`Sentry Logger [${n}]:`,...e)}))}})):s.forEach((t=>{e[t]=()=>{}})),e}))},9888:function(t,e,n){n.d(e,{$X:function(){return a},GR:function(){return f},M6:function(){return u},eJ:function(){return s},gO:function(){return c},k9:function(){return p}});var r=n(179),o=n(9085);function s(){const t=o.O,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function i(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function a(t){const{message:e,event_id:n}=t;if(e)return e;const r=i(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function c(t,e,n){const r=t.exception=t.exception||{},o=r.values=r.values||[],s=o[0]=o[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")}function u(t,e){const n=i(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function f(t){if(t&&t.__sentry_captured__)return!0;try{(0,r.my)(t,"__sentry_captured__",!0)}catch(t){}return!1}function p(t){return Array.isArray(t)?t:[t]}},6845:function(t,e,n){n.d(e,{S8:function(){return i},cd:function(){return a}});var r=n(6752),o=n(179),s=n(6453);function i(t,e=100,n=1/0){try{return c("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function a(t,e=3,n=102400){const r=i(t,e);return o=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(o))>n?a(t,e-1,n):r;var o}function c(t,e,n=1/0,i=1/0,a=function(){const 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=i){h[t]="[MaxProperties ~]";break}const e=m[t];h[t]=c(t,e,l-1,i,a),g++}return f(e),h}},179:function(t,e,n){n.d(e,{Ce:function(){return _},GS:function(){return c},HF:function(){return m},W4:function(){return d},my:function(){return u},pO:function(){return f},sp:function(){return p},u4:function(){return l}});var r=n(5166),o=n(3364),s=n(6752),i=n(3932),a=n(6013);function c(t,e,n){if(!(e in t))return;const r=t[e],o=n(r);"function"==typeof o&&f(o,r),t[e]=o}function u(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){o.T&&i.vF.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function f(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,u(t,"__sentry_original__",e)}catch(t){}}function p(t){return t.__sentry_original__}function l(t){return Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&")}function d(t){if((0,s.bJ)(t))return{message:t.message,name:t.name,stack:t.stack,...g(t)};if((0,s.xH)(t)){const e={type:t.type,target:h(t.target),currentTarget:h(t.currentTarget),...g(t)};return"undefined"!=typeof CustomEvent&&(0,s.tH)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function h(t){try{return(0,s.vq)(t)?(0,r.Hd)(t):Object.prototype.toString.call(t)}catch(t){return""}}function g(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function m(t,e=40){const n=Object.keys(d(t));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return(0,a.xv)(r,e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");if(!(r.length>e))return t===n.length?r:(0,a.xv)(r,e)}return""}function _(t){return v(t,new Map)}function v(t,e){if(function(t){if(!(0,s.Qd)(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||"Object"===e}catch(t){return!0}}(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const n of Object.getOwnPropertyNames(t))void 0!==t[n]&&(r[n]=v(t[n],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(v(t,e))})),r}return t}},6453:function(t,e,n){n.d(e,{RV:function(){return p},gd:function(){return i},qQ:function(){return f},vk:function(){return a},yF:function(){return r}});const r="?",o=/\(error: (.*)\)/,s=/captureMessage|captureException/;function i(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0,i=0)=>{const a=[],u=t.split("\n");for(let t=n;t1024)continue;const r=o.test(n)?n.replace(o,"$1"):n;if(!r.match(/\S*Error: /)){for(const t of e){const e=t(r);if(e){a.push(e);break}}if(a.length>=50+i)break}}return function(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(c(e).function||"")&&e.pop(),e.reverse(),s.test(c(e).function||"")&&(e.pop(),s.test(c(e).function||"")&&e.pop()),e.slice(0,50).map((t=>({...t,filename:t.filename||c(e).filename,function:t.function||r})))}(a.slice(i))}}function a(t){return Array.isArray(t)?i(...t):t}function c(t){return t[t.length-1]||{}}const u="";function f(t){try{return t&&"function"==typeof t&&t.name||u}catch(t){return u}}function p(t){const e=t.exception;if(e){const t=[];try{return e.values.forEach((e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)})),t}catch(t){return}}}},6013:function(t,e,n){n.d(e,{Xr:function(){return i},gt:function(){return s},xv:function(){return o}});var r=n(6752);function o(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function s(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;efunction(t,e,n=!1){return!!(0,r.Kg)(t)&&((0,r.gd)(e)?e.test(t):!!(0,r.Kg)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},2544:function(t,e,n){n.d(e,{a3:function(){return a},m7:function(){return c},vm:function(){return i}});var r=n(3364),o=n(3932);const s=n(9085).O;function i(){if(!("fetch"in s))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function a(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function c(){if("string"==typeof EdgeRuntime)return!0;if(!i())return!1;if(a(s.fetch))return!0;let t=!1;const e=s.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=a(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){r.T&&o.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},1114:function(t,e,n){n.d(e,{T2:function(){return a},XW:function(){return s},xg:function(){return i}});var r,o=n(6752);function s(t){return new a((e=>{e(t)}))}function i(t){return new a(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(t){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new a(((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 a(((e,n)=>{let r,o;return this.then((e=>{o=!1,r=e,t&&t()}),(e=>{o=!0,r=e,t&&t()})).then((()=>{o?n(r):e(r)}))}))}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===r.PENDING&&((0,o.Qg)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const 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)}))}}}},1305:function(t,e,n){n.d(e,{lu:function(){return o},zf:function(){return s}});var r=n(9085);function o(){return Date.now()/1e3}const s=function(){const{performance:t}=r.O;if(!t||!t.now)return o;const e=Date.now()-t.now(),n=null==t.timeOrigin?e:t.timeOrigin;return()=>(n+t.now())/1e3}();let i;(()=>{const{performance:t}=r.O;if(!t||!t.now)return void(i="none");const e=36e5,n=t.now(),o=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-o):e,a=s