Files
documents/GEGI/Договор от 13 июля 2022/Kucoin/Terms of Use KuCoin_files/chunk-sentry.js
mguschin 050d0a4c49 Init.
2026-02-02 19:13:26 +03:00

1 line
118 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[14],{"+924":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return i}));var r=n("9AQC");function i(t,e=0){return"string"!==typeof t||0===e||t.length<=e?t:`${t.substr(0,e)}...`}function a(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 a=Math.min(i+140,r);return a>r-5&&(a=r),a===r&&(i=Math.max(a-140,0)),n=n.slice(i,a),i>0&&(n=`'{snip} ${n}`),a<r&&(n+=" {snip}"),n}function s(t,e){if(!Array.isArray(t))return"";var n=[];for(let a=0;a<t.length;a++){var r=t[a];try{n.push(String(r))}catch(i){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))}},"+A1k":function(t,e,n){"use strict";(function(t,r){n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o}));var i=n("RQwI");function a(){return!Object(i["a"])()&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof t?t:0)}function s(t,e){return t.require(e)}function o(t){let e;try{e=s(r,t)}catch(n){}try{const{cwd:n}=s(r,"process");e=s(r,`${n()}/node_modules/${t}`)}catch(n){}return e}}).call(this,n("Q2Ig"),n("Vg/k")(t))},"2bdC":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("6hSO"),i=n("8LbN"),a=n("FGHR");function s(){Object(r["a"])("error",o),Object(r["a"])("unhandledrejection",o)}function o(){var t=Object(a["a"])();if(t){var e="internal_error";("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i["c"].log(`[Tracing] Transaction: ${e} -> Global error occured`),t.setStatus(e)}}},"4Ssk":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})),n.d(e,"d",(function(){return o}));var r=n("z+RT"),i=n("8LbN");function a(){if(!("fetch"in Object(r["a"])()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function s(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function o(){if(!a())return!1;var t=Object(r["a"])();if(s(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=s(o.contentWindow.fetch)),n.head.removeChild(o)}catch(c){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i["c"].warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",c)}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}},"6PXS":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 h})),n.d(e,"d",(function(){return f})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return d}));var r=n("vFt6"),i=n("9AQC"),a=n("+924");function s(t,e,n){if(e in t){var r=t[e],i=n(r);if("function"===typeof i)try{c(i,r)}catch(a){}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,...p(t)};if(Object(i["f"])(t)){var e={type:t.type,target:l(t.target),currentTarget:l(t.currentTarget),...p(t)};return"undefined"!==typeof CustomEvent&&Object(i["g"])(t,CustomEvent)&&(e.detail=t.detail),e}return t}function l(t){try{return Object(i["c"])(t)?Object(r["b"])(t):Object.prototype.toString.call(t)}catch(e){return"<unknown>"}}function p(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 f(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(a["d"])(n[0],e);for(let i=n.length;i>0;i--){var r=n.slice(0,i).join(", ");if(!(r.length>e))return i===n.length?r:Object(a["d"])(r,e)}return""}function h(t){var e=new Map;return v(t,e)}function v(t,e){if(Object(i["i"])(t)){var n=e.get(t);if(void 0!==n)return n;var r={};for(var a of(e.set(t,r),Object.keys(t)))"undefined"!==typeof t[a]&&(r[a]=v(t[a],e));return r}if(Array.isArray(t)){n=e.get(t);if(void 0!==n)return n;r=[];return e.set(t,r),t.forEach((t=>{r.push(v(t,e))})),r}return t}},"6hSO":function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n("z+RT"),i=n("9AQC"),a=n("8LbN"),s=n("6PXS"),o=n("pRiV"),c=n("4Ssk"),u=Object(r["a"])(),d={},_={};function l(t){if(!_[t])switch(_[t]=!0,t){case"console":h();break;case"dom":x();break;case"xhr":b();break;case"fetch":v();break;case"history":E();break;case"error":w();break;case"unhandledrejection":U();break;default:return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a["c"].warn("unknown instrumentation type:",t))}}function p(t,e){d[t]=d[t]||[],d[t].push(e),l(t)}function f(t,e){if(t&&d[t])for(var n of d[t]||[])try{n(e)}catch(r){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a["c"].error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${Object(o["b"])(n)}\nError:`,r)}}function h(){"console"in u&&a["a"].forEach((function(t){t in u.console&&Object(s["e"])(u.console,t,(function(e){return function(...n){f("console",{args:n,level:t}),e&&e.apply(u.console,n)}}))}))}function v(){Object(c["d"])()&&Object(s["e"])(u,"fetch",(function(t){return function(...e){var n={args:e,fetchData:{method:g(e),url:m(e)},startTimestamp:Date.now()};return f("fetch",{...n}),t.apply(u,e).then((t=>(f("fetch",{...n,endTimestamp:Date.now(),response:t}),t)),(t=>{throw f("fetch",{...n,endTimestamp:Date.now(),error:t}),t}))}}))}function g(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 m(t=[]){return"string"===typeof t[0]?t[0]:"Request"in u&&Object(i["g"])(t[0],Request)?t[0].url:String(t[0])}function b(){if("XMLHttpRequest"in u){var t=XMLHttpRequest.prototype;Object(s["e"])(t,"open",(function(t){return function(...e){var n=this,r=e[1],a=n.__sentry_xhr__={method:Object(i["l"])(e[0])?e[0].toUpperCase():e[0],url:e[1]};Object(i["l"])(r)&&"POST"===a.method&&r.match(/sentry_key/)&&(n.__sentry_own_request__=!0);var o=function(){if(4===n.readyState){try{a.status_code=n.status}catch(t){}f("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"===typeof n.onreadystatechange?Object(s["e"])(n,"onreadystatechange",(function(t){return function(...e){return o(),t.apply(n,e)}})):n.addEventListener("readystatechange",o),t.apply(n,e)}})),Object(s["e"])(t,"send",(function(t){return function(...e){return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),f("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}}let y;function E(){if(Object(c["c"])()){var t=u.onpopstate;u.onpopstate=function(...e){var n=u.location.href,r=y;if(y=n,f("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(i){}},Object(s["e"])(u.history,"pushState",e),Object(s["e"])(u.history,"replaceState",e)}function e(t){return function(...e){var n=e.length>2?e[2]:void 0;if(n){var r=y,i=String(n);y=i,f("history",{from:r,to:i})}return t.apply(this,e)}}}var S=1e3;let O,T;function j(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(n){}return!1}function R(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(n){}return!0}function N(t,e=!1){return n=>{if(n&&T!==n&&!R(n)){var r="keypress"===n.type?"input":n.type;(void 0===O||j(T,n))&&(t({event:n,name:r,global:e}),T=n),clearTimeout(O),O=u.setTimeout((()=>{O=void 0}),S)}}}function x(){if("document"in u){var t=f.bind(null,"dom"),e=N(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(s["e"])(n,"addEventListener",(function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{var a=this,s=a.__sentry_instrumentation_handlers__=a.__sentry_instrumentation_handlers__||{},o=s[n]=s[n]||{refCount:0};if(!o.handler){var c=N(t);o.handler=c,e.call(this,n,c,i)}o.refCount+=1}catch(u){}return e.call(this,n,r,i)}})),Object(s["e"])(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var i=this,a=i.__sentry_instrumentation_handlers__||{},s=a[e];s&&(s.refCount-=1,s.refCount<=0&&(t.call(this,e,s.handler,r),s.handler=void 0,delete a[e]),0===Object.keys(a).length&&delete i.__sentry_instrumentation_handlers__)}catch(o){}return t.call(this,e,n,r)}})))}))}}let D=null;function w(){D=u.onerror,u.onerror=function(t,e,n,r,i){return f("error",{column:r,error:i,line:n,msg:t,url:e}),!!D&&D.apply(this,arguments)}}let k=null;function U(){k=u.onunhandledrejection,u.onunhandledrejection=function(t){return f("unhandledrejection",t),!k||k.apply(this,arguments)}}},"8LbN":function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u}));var r=n("z+RT"),i=Object(r["a"])(),a="Sentry Logger ",s=["debug","info","warn","error","log","assert","trace"];function o(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 c(){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&&o((()=>{i.console[n](`${a}[${n}]:`,...e)}))}})):s.forEach((t=>{e[t]=()=>{}})),e}let u;u="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Object(r["b"])("logger",c):c()},"8yT3":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function i(t){var e=t.match(r);if(e){let t;return"1"===e[3]?t=!0:"0"===e[3]&&(t=!1),{traceId:e[1],parentSampled:t,parentSpanId:e[2]}}}},"9/Zf":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 a}));var r=n("z+RT"),i=n("6PXS");n("+924");function a(){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 s(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=s(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||[],a=i[0]=i[0]||{};a.value||(a.value=e||""),a.type||(a.type=n||"Error")}function u(t,e){var n=s(t);if(n){var r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...e},e&&"data"in e){var a={...i&&i.data,...e.data};n.mechanism.data=a}}}function d(t){if(t&&t.__sentry_captured__)return!0;try{Object(i["a"])(t,"__sentry_captured__",!0)}catch(e){}return!1}},"9AQC":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 p})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return m})),n.d(e,"h",(function(){return g})),n.d(e,"i",(function(){return _})),n.d(e,"j",(function(){return d})),n.d(e,"k",(function(){return f})),n.d(e,"l",(function(){return u})),n.d(e,"m",(function(){return v})),n.d(e,"n",(function(){return h}));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 a(t,e){return r.call(t)===`[object ${e}]`}function s(t){return a(t,"ErrorEvent")}function o(t){return a(t,"DOMError")}function c(t){return a(t,"DOMException")}function u(t){return a(t,"String")}function d(t){return null===t||"object"!==typeof t&&"function"!==typeof t}function _(t){return a(t,"Object")}function l(t){return"undefined"!==typeof Event&&m(t,Event)}function p(t){return"undefined"!==typeof Element&&m(t,Element)}function f(t){return a(t,"RegExp")}function h(t){return Boolean(t&&t.then&&"function"===typeof t.then)}function v(t){return _(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function g(t){return"number"===typeof t&&t!==t}function m(t,e){try{return t instanceof e}catch(n){return!1}}},Cpvd:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return h}));var r=n("lW6c"),i=n("8LbN"),a=n("9AQC"),s=n("+A1k"),o=n("2bdC"),c=n("MBYv"),u=n("EldZ"),d=n("FGHR");function _(){var t=this.getScope();if(t){var e=t.getSpan();if(e)return{"sentry-trace":e.toTraceparent()}}return{}}function l(t,e,n){if(!Object(d["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)}})),p(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){return Object(a["h"])(t)||"number"!==typeof t&&"boolean"!==typeof t?(("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):!(t<0||t>1)||(("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)}function f(t,e){var n=this.getClient(),r=n&&n.getOptions()||{};let i=new u["a"](t,this);return i=l(i,r,{parentSampled:t.parentSampled,transactionContext:t,...e}),i.sampled&&i.initSpanRecorder(r._experiments&&r._experiments.maxSpans),i}function h(t,e,n,r,i,a){var s=t.getClient(),o=s&&s.getOptions()||{};let u=new c["c"](e,t,n,r,i);return u=l(u,o,{parentSampled:e.parentSampled,transactionContext:e,...a}),u.sampled&&u.initSpanRecorder(o._experiments&&o._experiments.maxSpans),u}function v(){var t=Object(r["d"])();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=f),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=_))}function g(){var e=Object(r["d"])();if(e.__SENTRY__){var n={mongodb(){var e=Object(s["a"])(t,"./integrations/node/mongo");return new e.Mongo},mongoose(){var e=Object(s["a"])(t,"./integrations/node/mongo");return new e.Mongo({mongoose:!0})},mysql(){var e=Object(s["a"])(t,"./integrations/node/mysql");return new e.Mysql},pg(){var e=Object(s["a"])(t,"./integrations/node/postgres");return new e.Postgres}},i=Object.keys(n).filter((t=>!!Object(s["c"])(t))).map((t=>{try{return n[t]()}catch(e){return}})).filter((t=>t));i.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...i])}}function m(){v(),Object(s["b"])()&&g(),Object(o["a"])()}}).call(this,n("Vg/k")(t))},DTqw: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}}function i(t){return t.split(/[\?#]/,1)[0]}function a(t){return t.split(/\\?\//).filter((t=>t.length>0&&","!==t)).length}n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i}))},EldZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("P/f2"),i=n("lW6c"),a=n("8LbN"),s=n("6PXS"),o=n("jXcl"),c=n("SYqL");class u extends c["a"]{__init(){this._measurements={}}constructor(t,e){super(t),u.prototype.__init.call(this),this._hub=e||Object(i["b"])(),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__)&&a["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}}},i=Object.keys(this._measurements).length>0;return i&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a["c"].log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),r.measurements=this._measurements),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a["c"].log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(r)}("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a["c"].log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var s=this._hub.getClient();s&&s.recordDroppedEvent("sample_rate","transaction")}}toContext(){var t=super.toContext();return Object(s["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["d"])(t)?this._populateBaggageWithSentryValues(t):t;return this.metadata.baggage=e,e}_populateBaggageWithSentryValues(t=Object(o["b"])({})){var e=this._hub||Object(i["b"])(),n=e&&e.getClient();if(!n)return t;const{environment:r,release:a}=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 l=this.metadata.source,p=l&&"url"!==l?this.name:void 0;return Object(o["b"])(Object(s["c"])({environment:r,release:a,transaction:p,user_segment:_,public_key:c,trace_id:this.traceId,sample_rate:u,...Object(o["c"])(t)}),"",!1)}}},FGHR:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s}));var r=n("lW6c");function i(t){var e=Object(r["b"])().getClient(),n=t||e&&e.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function a(t){var e=t||Object(r["b"])(),n=e.getScope();return n&&n.getTransaction()}function s(t){return t/1e3}},Fffm: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("9AQC"),i=n("wCA9"),a=n("6PXS"),s=n("pRiV");function o(t,e=1/0,n=1/0){try{return u("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function c(t,e=3,n=102400){var r=o(t,e);return l(r)>n?c(t,e-1,n):r}function u(t,e,n=1/0,s=1/0,o=Object(i["a"])()){const[c,_]=o;if(null===e||["number","boolean","string"].includes(typeof e)&&!Object(r["h"])(e))return e;var l=d(t,e);if(!l.startsWith("[object "))return l;if(e["__sentry_skip_normalization__"])return e;if(0===n)return l.replace("object ","");if(c(e))return"[Circular ~]";var p=e;if(p&&"function"===typeof p.toJSON)try{var f=p.toJSON();return u("",f,n-1,s,o)}catch(y){}var h=Array.isArray(e)?[]:{};let v=0;var g=Object(a["b"])(e);for(var m in g)if(Object.prototype.hasOwnProperty.call(g,m)){if(v>=s){h[m]="[MaxProperties ~]";break}var b=g[m];h[m]=u(m,b,n-1,s,o),v+=1}return _(e),h}function d(e,n){try{return"domain"===e&&n&&"object"===typeof n&&n._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":"undefined"!==typeof 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(s["b"])(n)}]`:"symbol"===typeof n?`[${String(n)}]`:"bigint"===typeof n?`[BigInt: ${String(n)}]`:`[object ${Object.getPrototypeOf(n).constructor.name}]`}catch(i){return`**non-serializable** (${i})`}}function _(t){return~-encodeURI(t).split(/%..|./).length}function l(t){return _(JSON.stringify(t))}}).call(this,n("IyRk"))},HR75:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a}));var r,i=n("9AQC");function a(t){return new o((e=>{e(t)}))}function s(t){return new o(((e,n)=>{n(t)}))}(function(t){var e=0;t[t["PENDING"]=e]="PENDING";var n=1;t[t["RESOLVED"]=n]="RESOLVED";var r=2;t[t["REJECTED"]=r]="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(e){this._reject(e)}}then(t,e){return new o(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(i){r(i)}else n(e)},t=>{if(e)try{n(e(t))}catch(i){r(i)}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)}))}}}}},KjyA:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return l}));var r=n("9AQC"),i=n("kdvv"),a=n("HR75"),s=n("8LbN"),o=n("z+RT"),c=n("xS++"),u=100;class d{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 d;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 d?e:this}return t instanceof d?(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,u):u;if(n<=0)return this;var r={timestamp:Object(i["b"])(),...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([..._(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,e,n,i=0){return new a["a"](((a,o)=>{var c=t[i];if(null===e||"function"!==typeof c)a(e);else{var u=c({...e},n);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===u&&s["c"].log(`Event processor "${c.id}" dropped event`),Object(r["n"])(u)?u.then((e=>this._notifyEventProcessors(t,e,n,i+1).then(a))).then(null,o):this._notifyEventProcessors(t,u,n,i+1).then(a).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 _(){return Object(o["b"])("globalEventProcessors",(()=>[]))}function l(t){_().push(t)}},MBYv:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return _}));var r=n("kdvv"),i=n("8LbN"),a=n("SYqL"),s=n("EldZ"),o=1e3,c=3e4,u=5e3;class d extends a["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["d"])(),this._popActivity(t.spanId)},void 0===t.endTimestamp&&this._pushActivity(t.spanId)),super.add(t)}}class _ extends s["a"]{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,e,n=o,r=c,a=!1){super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=r,this._onScope=a,_.prototype.__init.call(this),_.prototype.__init2.call(this),_.prototype.__init3.call(this),_.prototype.__init4.call(this),a&&(l(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["d"])()){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&&l(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){var e=t=>{this._finished||this._pushActivity(t)},n=t=>{this._finished||this._popActivity(t)};this.spanRecorder=new d(e,n,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["d"])()+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()}),u)}}function l(t){var e=t.getScope();if(e){var n=e.getTransaction();n&&e.setSpan(void 0)}}},"P/f2":function(t,e,n){"use strict";function r(t,e){return null!=t?t:e()}n.d(e,"a",(function(){return r}))},RQwI:function(t,e,n){"use strict";function r(){return"undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}n.d(e,"a",(function(){return r}))},SYqL: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}));var r=n("P/f2"),i=n("9/Zf"),a=n("kdvv"),s=n("8LbN"),o=n("6PXS");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(a["d"])()}__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=t&&t.op||"< unknown op >",r=e.transaction.name||"< unknown name >",i=e.transaction.spanId,a=`[Tracing] Starting '${n}' span on transaction '${r}' (${i}).`;e.transaction.metadata.spanMetadata[e.spanId]={logMessage:a},s["c"].log(a)}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=d(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&&s["c"].log(t.replace("Starting","Finishing"))}this.endTimestamp="number"===typeof t?t:Object(a["d"])()}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 d(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"}},WSEr:function(t,e,n){"use strict";n.r(e),n.d(e,"FunctionToString",(function(){return o})),n.d(e,"Hub",(function(){return S["a"]})),n.d(e,"InboundFilters",(function(){return l})),n.d(e,"SDK_VERSION",(function(){return O})),n.d(e,"Scope",(function(){return T["a"]})),n.d(e,"addBreadcrumb",(function(){return D})),n.d(e,"addGlobalEventProcessor",(function(){return T["b"]})),n.d(e,"captureEvent",(function(){return N})),n.d(e,"captureException",(function(){return j})),n.d(e,"captureMessage",(function(){return R})),n.d(e,"configureScope",(function(){return x})),n.d(e,"createTransport",(function(){return nt})),n.d(e,"getCurrentHub",(function(){return S["b"]})),n.d(e,"getHubFromCarrier",(function(){return S["c"]})),n.d(e,"makeMain",(function(){return S["e"]})),n.d(e,"setContext",(function(){return w})),n.d(e,"setExtra",(function(){return U})),n.d(e,"setExtras",(function(){return k})),n.d(e,"setTag",(function(){return G})),n.d(e,"setTags",(function(){return B})),n.d(e,"setUser",(function(){return Y})),n.d(e,"startTransaction",(function(){return C})),n.d(e,"withScope",(function(){return I})),n.d(e,"BrowserClient",(function(){return Fe})),n.d(e,"makeFetchTransport",(function(){return ze})),n.d(e,"makeXHRTransport",(function(){return Xe})),n.d(e,"chromeStackLineParser",(function(){return sn})),n.d(e,"defaultStackLineParsers",(function(){return yn})),n.d(e,"defaultStackParser",(function(){return En})),n.d(e,"geckoStackLineParser",(function(){return dn})),n.d(e,"opera10StackLineParser",(function(){return vn})),n.d(e,"opera11StackLineParser",(function(){return bn})),n.d(e,"winjsStackLineParser",(function(){return pn})),n.d(e,"close",(function(){return kn})),n.d(e,"defaultIntegrations",(function(){return Tn})),n.d(e,"flush",(function(){return wn})),n.d(e,"forceLoad",(function(){return xn})),n.d(e,"init",(function(){return jn})),n.d(e,"lastEventId",(function(){return Nn})),n.d(e,"onLoad",(function(){return Dn})),n.d(e,"showReportDialog",(function(){return Rn})),n.d(e,"wrap",(function(){return Un})),n.d(e,"GlobalHandlers",(function(){return Ot})),n.d(e,"TryCatch",(function(){return Gt})),n.d(e,"Breadcrumbs",(function(){return qt})),n.d(e,"LinkedErrors",(function(){return Vt})),n.d(e,"HttpContext",(function(){return ee})),n.d(e,"Dedupe",(function(){return ne})),n.d(e,"Integrations",(function(){return Cn}));var r={};n.r(r),n.d(r,"FunctionToString",(function(){return o})),n.d(r,"InboundFilters",(function(){return l}));var i={};n.r(i),n.d(i,"GlobalHandlers",(function(){return Ot})),n.d(i,"TryCatch",(function(){return Gt})),n.d(i,"Breadcrumbs",(function(){return qt})),n.d(i,"LinkedErrors",(function(){return Vt})),n.d(i,"HttpContext",(function(){return ee})),n.d(i,"Dedupe",(function(){return ne}));var a=n("6PXS");let s;class o{constructor(){o.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=o.id}setupOnce(){s=Function.prototype.toString,Function.prototype.toString=function(...t){var e=Object(a["f"])(this)||this;return s.apply(e,t)}}}o.__initStatic();var c=n("8LbN"),u=n("9/Zf"),d=n("+924"),_=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class l{static __initStatic(){this.id="InboundFilters"}__init(){this.name=l.id}constructor(t={}){this._options=t,l.prototype.__init.call(this)}setupOnce(t,e){var n=t=>{var n=e();if(n){var r=n.getIntegration(l);if(r){var i=n.getClient(),a=i?i.getOptions():{},s=p(r._options,a);return f(t,s)?null:t}}return t};n.id=this.name,t(n)}}function p(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],..._],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}function f(t,e){return e.ignoreInternal&&b(t)?(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn(`Event dropped due to being internal Sentry Error.\nEvent: ${Object(u["d"])(t)}`),!0):h(t,e.ignoreErrors)?(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${Object(u["d"])(t)}`),!0):v(t,e.denyUrls)?(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${Object(u["d"])(t)}.\nUrl: ${E(t)}`),!0):!g(t,e.allowUrls)&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${Object(u["d"])(t)}.\nUrl: ${E(t)}`),!0)}function h(t,e){return!(!e||!e.length)&&m(t).some((t=>e.some((e=>Object(d["a"])(t,e)))))}function v(t,e){if(!e||!e.length)return!1;var n=E(t);return!!n&&e.some((t=>Object(d["a"])(n,t)))}function g(t,e){if(!e||!e.length)return!0;var n=E(t);return!n||e.some((t=>Object(d["a"])(n,t)))}function m(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__)&&c["c"].error(`Cannot extract message for event ${Object(u["d"])(t)}`),[]}return[]}function b(t){try{return"SentryError"===t.exception.values[0].type}catch(e){}return!1}function y(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}function E(t){try{let n;try{n=t.exception.values[0].stacktrace.frames}catch(e){}return n?y(n):null}catch(n){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].error(`Cannot extract url for event ${Object(u["d"])(t)}`),null}}l.__initStatic();var S=n("lW6c"),O="7.11.1",T=n("KjyA");function j(t,e){return Object(S["b"])().captureException(t,{captureContext:e})}function R(t,e){var n="string"===typeof e?e:void 0,r="string"!==typeof e?{captureContext:e}:void 0;return Object(S["b"])().captureMessage(t,n,r)}function N(t,e){return Object(S["b"])().captureEvent(t,e)}function x(t){Object(S["b"])().configureScope(t)}function D(t){Object(S["b"])().addBreadcrumb(t)}function w(t,e){Object(S["b"])().setContext(t,e)}function k(t){Object(S["b"])().setExtras(t)}function U(t,e){Object(S["b"])().setExtra(t,e)}function B(t){Object(S["b"])().setTags(t)}function G(t,e){Object(S["b"])().setTag(t,e)}function Y(t){Object(S["b"])().setUser(t)}function I(t){Object(S["b"])().withScope(t)}function C(t,e){return Object(S["b"])().startTransaction({metadata:{source:"custom"},...t},e)}class A 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}}var $=n("HR75");function P(t){var e=[];function n(){return void 0===t||e.length<t}function r(t){return e.splice(e.indexOf(t),1)[0]}function i(t){if(!n())return Object($["b"])(new A("Not adding Promise due to buffer limit reached."));var i=t();return-1===e.indexOf(i)&&e.push(i),i.then((()=>r(i))).then(null,(()=>r(i).then(null,(()=>{})))),i}function a(t){return new $["a"](((n,r)=>{let i=e.length;if(!i)return n(!0);var a=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{Object($["c"])(t).then((()=>{--i||(clearTimeout(a),n(!0))}),r)}))}))}return{$:e,add:i,drain:a}}function L(t,e=[]){return[t,e]}function M(t,e){const[n,r]=t;return[n,[...r,e]]}function q(t,e){var n=t[1];n.forEach((t=>{var n=t[0].type;e(t,n)}))}function H(t,e){var n=e||new TextEncoder;return n.encode(t)}function F(t,e){const[n,r]=t;let i=JSON.stringify(n);function a(t){"string"===typeof i?i="string"===typeof t?i+t:[H(i,e),t]:i.push("string"===typeof t?H(t,e):t)}for(var s of r){const[t,e]=s;a(`\n${JSON.stringify(t)}\n`),a("string"===typeof e||e instanceof Uint8Array?e:JSON.stringify(e))}return"string"===typeof i?i:z(i)}function z(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}function W(t,e){var n="string"===typeof t.data?H(t.data,e):t.data;return[Object(a["c"])({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}var X={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function Q(t){return X[t]}var J=6e4;function V(t,e=Date.now()){var n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(`${t}`);return isNaN(r)?J:r-e}function K(t,e){return t[e]||t.all||0}function Z(t,e,n=Date.now()){return K(t,e)>n}function tt(t,{statusCode:e,headers:n},r=Date.now()){var i={...t},a=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(a)for(var o of a.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 s?i.all=r+V(s,r):429===e&&(i.all=r+6e4);return i}var et=30;function nt(t,e,n=P(t.bufferSize||et)){let r={};var i=t=>n.drain(t);function a(i){var a=[];if(q(i,((e,n)=>{var i=Q(n);Z(r,i)?t.recordDroppedEvent("ratelimit_backoff",i):a.push(e)})),0===a.length)return Object($["c"])();var s=L(i[0],a),o=e=>{q(s,((n,r)=>{t.recordDroppedEvent(e,Q(r))}))},u=()=>e({body:F(s,t.textEncoder)}).then((t=>{void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=tt(r,t)}),(t=>{("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].error("Failed while sending event:",t),o("network_error")}));return n.add(u).then((t=>t),(t=>{if(t instanceof A)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].error("Skipped sending event due to full buffer"),o("queue_overflow"),Object($["c"])();throw t}))}return{send:a,flush:i}}var rt=n("z+RT"),it=n("6hSO"),at=n("9AQC"),st=n("vFt6"),ot=n("Fffm");function ct(t,e){var n=_t(t,e),r={type:e&&e.name,value:ft(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function ut(t,e,n,r){var i={exception:{values:[{type:Object(at["f"])(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${Object(a["d"])(e)}`}]},extra:{__serialized__:Object(ot["b"])(e)}};if(n){var s=_t(t,n);s.length&&(i.exception.values[0].stacktrace={frames:s})}return i}function dt(t,e){return{exception:{values:[ct(t,e)]}}}function _t(t,e){var n=e.stacktrace||e.stack||"",r=pt(e);try{return t(n,r)}catch(i){}return[]}var lt=/Minified React error #\d+;/i;function pt(t){if(t){if("number"===typeof t.framesToPop)return t.framesToPop;if(lt.test(t.message))return 1}return 0}function ft(t){var e=t&&t.message;return e?e.error&&"string"===typeof e.error.message?e.error.message:e:"No error message"}function ht(t,e,n,r){var i=n&&n.syntheticException||void 0,a=gt(t,e,i,r);return Object(u["a"])(a),a.level="error",n&&n.event_id&&(a.event_id=n.event_id),Object($["c"])(a)}function vt(t,e,n="info",r,i){var a=r&&r.syntheticException||void 0,s=mt(t,e,a,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),Object($["c"])(s)}function gt(t,e,n,r,i){let a;if(Object(at["e"])(e)&&e.error){var s=e;return dt(t,s.error)}if(Object(at["a"])(e)||Object(at["b"])(e)){var o=e;if("stack"in e)a=dt(t,e);else{var c=o.name||(Object(at["a"])(o)?"DOMError":"DOMException"),d=o.message?`${c}: ${o.message}`:c;a=mt(t,d,n,r),Object(u["b"])(a,d)}return"code"in o&&(a.tags={...a.tags,"DOMException.code":`${o.code}`}),a}if(Object(at["d"])(e))return dt(t,e);if(Object(at["i"])(e)||Object(at["f"])(e)){var _=e;return a=ut(t,_,n,i),Object(u["a"])(a,{synthetic:!0}),a}return a=mt(t,e,n,r),Object(u["b"])(a,`${e}`,void 0),Object(u["a"])(a,{synthetic:!0}),a}function mt(t,e,n,r){var i={message:e};if(r&&n){var a=_t(t,n);a.length&&(i.exception={values:[{value:e,stacktrace:{frames:a}}]})}return i}let bt=0;function yt(){return bt>0}function Et(){bt+=1,setTimeout((()=>{bt-=1}))}function St(t,e={},n){if("function"!==typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if(Object(a["f"])(t))return t}catch(c){return t}var i=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);var i=r.map((t=>St(t,e)));return t.apply(this,i)}catch(a){throw Et(),I((t=>{t.addEventProcessor((t=>(e.mechanism&&(Object(u["b"])(t,void 0,void 0),Object(u["a"])(t,e.mechanism)),t.extra={...t.extra,arguments:r},t))),j(a)})),a}};try{for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(i[s]=t[s])}catch(d){}Object(a["g"])(i,t),Object(a["a"])(t,"__sentry_wrapped__",i);try{var o=Object.getOwnPropertyDescriptor(i,"name");o.configurable&&Object.defineProperty(i,"name",{get(){return t.name}})}catch(d){}return i}class Ot{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Ot.id}__init2(){this._installFunc={onerror:Tt,onunhandledrejection:jt}}constructor(t){Ot.prototype.__init.call(this),Ot.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;var t=this._options;for(var e in t){var n=this._installFunc[e];n&&t[e]&&(Dt(e),n(),this._installFunc[e]=void 0)}}}function Tt(){Object(it["a"])("error",(t=>{const[e,n,r]=kt();if(!e.getIntegration(Ot))return;const{msg:i,url:a,line:s,column:o,error:c}=t;if(!(yt()||c&&c.__sentry_own_request__)){var u=void 0===c&&Object(at["l"])(i)?Nt(i,a,s,o):xt(gt(n,c||i,void 0,r,!1),a,s,o);u.level="error",wt(e,c,u,"onerror")}}))}function jt(){Object(it["a"])("unhandledrejection",(t=>{const[e,n,r]=kt();if(!e.getIntegration(Ot))return;let i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch(s){}if(yt()||i&&i.__sentry_own_request__)return!0;var a=Object(at["j"])(i)?Rt(i):gt(n,i,void 0,r,!0);a.level="error",wt(e,i,a,"onunhandledrejection")}))}function Rt(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function Nt(t,e,n,r){var i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=Object(at["e"])(t)?t.message:t,s="Error";var o=a.match(i);o&&(s=o[1],a=o[2]);var c={exception:{values:[{type:s,value:a}]}};return xt(c,e,n,r)}function xt(t,e,n,r){var i=t.exception=t.exception||{},a=i.values=i.values||[],s=a[0]=a[0]||{},o=s.stacktrace=s.stacktrace||{},c=o.frames=o.frames||[],u=isNaN(parseInt(r,10))?void 0:r,d=isNaN(parseInt(n,10))?void 0:n,_=Object(at["l"])(e)&&e.length>0?e:Object(st["a"])();return 0===c.length&&c.push({colno:u,filename:_,function:"?",in_app:!0,lineno:d}),t}function Dt(t){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].log(`Global Handler attached: ${t}`)}function wt(t,e,n,r){Object(u["a"])(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function kt(){var t=Object(S["b"])(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}Ot.__initStatic();var Ut=n("pRiV"),Bt=["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 Gt{static __initStatic(){this.id="TryCatch"}__init(){this.name=Gt.id}constructor(t){Gt.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){var t=Object(rt["a"])();this._options.setTimeout&&Object(a["e"])(t,"setTimeout",Yt),this._options.setInterval&&Object(a["e"])(t,"setInterval",Yt),this._options.requestAnimationFrame&&Object(a["e"])(t,"requestAnimationFrame",It),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(a["e"])(XMLHttpRequest.prototype,"send",Ct);var e=this._options.eventTarget;if(e){var n=Array.isArray(e)?e:Bt;n.forEach(At)}}}function Yt(t){return function(...e){var n=e[0];return e[0]=St(n,{mechanism:{data:{function:Object(Ut["b"])(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function It(t){return function(e){return t.apply(this,[St(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(Ut["b"])(t)},handled:!0,type:"instrument"}})])}}function Ct(t){return function(...e){var n=this,r=["onload","onerror","onprogress","onreadystatechange"];return r.forEach((t=>{t in n&&"function"===typeof n[t]&&Object(a["e"])(n,t,(function(e){var n={mechanism:{data:{function:t,handler:Object(Ut["b"])(e)},handled:!0,type:"instrument"}},r=Object(a["f"])(e);return r&&(n.mechanism.data.handler=Object(Ut["b"])(r)),St(e,n)}))})),t.apply(this,e)}}function At(t){var e=Object(rt["a"])(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(a["e"])(n,"addEventListener",(function(e){return function(n,r,i){try{"function"===typeof r.handleEvent&&(r.handleEvent=St(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Object(Ut["b"])(r),target:t},handled:!0,type:"instrument"}}))}catch(a){}return e.apply(this,[n,St(r,{mechanism:{data:{function:"addEventListener",handler:Object(Ut["b"])(r),target:t},handled:!0,type:"instrument"}}),i])}})),Object(a["e"])(n,"removeEventListener",(function(t){return function(e,n,r){var i=n;try{var a=i&&i.__sentry_wrapped__;a&&t.call(this,e,a,r)}catch(s){}return t.call(this,e,i,r)}})))}Gt.__initStatic();var $t=["fatal","error","warning","log","info","debug"];function Pt(t){return"warn"===t?"warning":$t.includes(t)?t:"log"}var Lt=n("DTqw"),Mt="Breadcrumbs";class qt{static __initStatic(){this.id=Mt}__init(){this.name=qt.id}constructor(t){qt.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Object(it["a"])("console",Ft),this.options.dom&&Object(it["a"])("dom",Ht(this.options.dom)),this.options.xhr&&Object(it["a"])("xhr",zt),this.options.fetch&&Object(it["a"])("fetch",Wt),this.options.history&&Object(it["a"])("history",Xt)}}function Ht(t){function e(e){let n,r="object"===typeof t?t.serializeAttribute:void 0;"string"===typeof r&&(r=[r]);try{n=e.event.target?Object(st["b"])(e.event.target,r):Object(st["b"])(e.event,r)}catch(i){n="<unknown>"}0!==n.length&&Object(S["b"])().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})}return e}function Ft(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:Pt(t.level),message:Object(d["b"])(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message=`Assertion failed: ${Object(d["b"])(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1)}Object(S["b"])().addBreadcrumb(e,{input:t.args,level:t.level})}function zt(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(S["b"])().addBreadcrumb({category:"xhr",data:{method:e,url:n,status_code:r},type:"http"},{xhr:t.xhr,input:i})}else;}function Wt(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?Object(S["b"])().addBreadcrumb({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args}):Object(S["b"])().addBreadcrumb({category:"fetch",data:{...t.fetchData,status_code:t.response.status},type:"http"},{input:t.args,response:t.response})))}function Xt(t){var e=Object(rt["a"])();let n=t.from,r=t.to;var i=Object(Lt["b"])(e.location.href);let a=Object(Lt["b"])(n);var s=Object(Lt["b"])(r);a.path||(a=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),Object(S["b"])().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}qt.__initStatic();var Qt="cause",Jt=5;class Vt{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Vt.id}constructor(t={}){Vt.prototype.__init.call(this),this._key=t.key||Qt,this._limit=t.limit||Jt}setupOnce(){var t=Object(S["b"])().getClient();t&&Object(T["b"])(((e,n)=>{var r=Object(S["b"])().getIntegration(Vt);return r?Kt(t.getOptions().stackParser,r._key,r._limit,e,n):e}))}}function Kt(t,e,n,r,i){if(!r.exception||!r.exception.values||!i||!Object(at["g"])(i.originalException,Error))return r;var a=Zt(t,n,i.originalException,e);return r.exception.values=[...a,...r.exception.values],r}function Zt(t,e,n,r,i=[]){if(!Object(at["g"])(n[r],Error)||i.length+1>=e)return i;var a=ct(t,n[r]);return Zt(t,e,n[r],r,[a,...i])}Vt.__initStatic();var te=Object(rt["a"])();class ee{constructor(){ee.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=ee.id}setupOnce(){Object(T["b"])((t=>{if(Object(S["b"])().getIntegration(ee)){if(!te.navigator&&!te.location&&!te.document)return t;var e=t.request&&t.request.url||te.location&&te.location.href;const{referrer:i}=te.document||{},{userAgent:a}=te.navigator||{};var n={...t.request&&t.request.headers,...i&&{Referer:i},...a&&{"User-Agent":a}},r={...e&&{url:e},headers:n};return{...t,request:r}}return t}))}}ee.__initStatic();class ne{constructor(){ne.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=ne.id}setupOnce(t,e){var n=t=>{var n=e().getIntegration(ne);if(n){try{if(re(t,n._previousEvent))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn("Event dropped due to being a duplicate of previously captured event."),null}catch(r){return n._previousEvent=t}return n._previousEvent=t}return t};n.id=this.name,t(n)}}function re(t,e){return!!e&&(!!ie(t,e)||!!ae(t,e))}function ie(t,e){var n=t.message,r=e.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!oe(t,e)&&!!se(t,e))))}function ae(t,e){var n=ce(e),r=ce(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!oe(t,e)&&!!se(t,e)))}function se(t,e){let n=ue(t),r=ue(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 s=0;s<r.length;s++){var i=r[s],a=n[s];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0}function oe(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(i){return!1}}function ce(t){return t.exception&&t.exception.values&&t.exception.values[0]}function ue(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(n){return}}ne.__initStatic();var de=n("xS++"),_e=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function le(t){return"http"===t||"https"===t}function pe(t,e=!1){const{host:n,path:r,pass:i,port:a,projectId:s,protocol:o,publicKey:c}=t;return`${o}://${c}${e&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${s}`}function fe(t){var e=_e.exec(t);if(!e)throw new A(`Invalid Sentry Dsn: ${t}`);const[n,r,i="",a,s="",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 he({host:a,pass:i,path:c,projectId:u,port:s,protocol:n,publicKey:r})}function he(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function ve(t){if("undefined"!==typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:e,projectId:n,protocol:r}=t;var i=["protocol","publicKey","host","projectId"];if(i.forEach((e=>{if(!t[e])throw new A(`Invalid Sentry Dsn: ${e} missing`)})),!n.match(/^\d+$/))throw new A(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!le(r))throw new A(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(e&&isNaN(parseInt(e,10)))throw new A(`Invalid Sentry Dsn: Invalid port ${e}`);return!0}function ge(t){var e="string"===typeof t?fe(t):he(t);return ve(e),e}var me=n("kdvv"),be="7";function ye(t){var e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function Ee(t){return`${ye(t)}${t.projectId}/envelope/`}function Se(t,e){return Object(a["h"])({sentry_key:t.publicKey,sentry_version:be,...e&&{sentry_client:`${e.name}/${e.version}`}})}function Oe(t,e={}){var n="string"===typeof e?e:e.tunnel,r="string"!==typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${Ee(t)}?${Se(t,r)}`}function Te(t,e){var n=ge(t),r=`${ye(n)}embed/error-page/`;let i=`dsn=${pe(n)}`;for(var a in e)if("dsn"!==a)if("user"===a){var s=e.user;if(!s)continue;s.name&&(i+=`&name=${encodeURIComponent(s.name)}`),s.email&&(i+=`&email=${encodeURIComponent(s.email)}`)}else i+=`&${encodeURIComponent(a)}=${encodeURIComponent(e[a])}`;return`${r}?${i}`}var je=n("jXcl");function Re(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function Ne(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]],t):t}function xe(t,e,n,r){var i=Re(n),a={sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&{dsn:pe(e)}},s="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t];return L(a,[s])}function De(t,e,n,r){var i=Re(n),a=t.type||"event";const{transactionSampling:s}=t.sdkProcessingMetadata||{},{method:o,rate:c}=s||{};Ne(t,n&&n.sdk);var u=we(t,i,r,e);delete t.sdkProcessingMetadata;var d=[{type:a,sample_rates:[{id:o,rate:c}]},t];return L(u,[d])}function we(t,e,n,r){var i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baggage,s=i&&Object(je["c"])(i);return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&{dsn:pe(r)},..."transaction"===t.type&&s&&{trace:Object(a["c"])({...s})}}}var ke=[];function Ue(t){return t.reduce(((t,e)=>(t.every((t=>e.name!==t.name))&&t.push(e),t)),[])}function Be(t){var e=t.defaultIntegrations&&[...t.defaultIntegrations]||[],n=t.integrations;let r=[...Ue(e)];Array.isArray(n)?r=[...r.filter((t=>n.every((e=>e.name!==t.name)))),...Ue(n)]:"function"===typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map((t=>t.name)),a="Debug";return-1!==i.indexOf(a)&&r.push(...r.splice(i.indexOf(a),1)),r}function Ge(t){var e={};return t.forEach((t=>{e[t.name]=t,-1===ke.indexOf(t.name)&&(t.setupOnce(T["b"],S["b"]),ke.push(t.name),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].log(`Integration installed: ${t.name}`))})),e}var Ye="Not capturing exception because it's already been captured.";class Ie{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(Ie.prototype.__init.call(this),Ie.prototype.__init2.call(this),Ie.prototype.__init3.call(this),Ie.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=ge(t.dsn);var e=Oe(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn("No DSN provided, client will not do anything.")}captureException(t,e,n){if(Object(u["c"])(t))return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].log(Ye));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 a=Object(at["j"])(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(a.then((t=>this._captureEvent(t,n,r))).then((t=>{i=t}))),i}captureEvent(t,e,n){if(e&&e.originalException&&Object(u["c"])(e.originalException))return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].log(Ye));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__)&&c["c"].warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Object(de["c"])(t,{init:!1})):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["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($["c"])(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=Ge(this._options.integrations),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__)&&c["c"].warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}sendEvent(t,e={}){if(this._dsn){let r=De(t,this._dsn,this._options._metadata,this._options.tunnel);for(var n of e.attachments||[])r=M(r,W(n,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(r)}}sendSession(t){if(this._dsn){var e=xe(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__)&&c["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 a of(r=!0,i)){var s=a.mechanism;if(s&&!1===s.handled){n=!0;break}}var o="ok"===t.status,c=o&&0===t.errors||o&&n;c&&(Object(de["c"])(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new $["a"]((e=>{let n=0;var r=1,i=setInterval((()=>{0==this._numProcessing?(clearInterval(i),e(!0)):(n+=r,t&&n>=t&&(clearInterval(i),e(!1)))}),r)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(t,e,n){const{normalizeDepth:r=3,normalizeMaxBreadth:i=1e3}=this.getOptions();var a={...t,event_id:t.event_id||e.event_id||Object(u["e"])(),timestamp:t.timestamp||Object(me["b"])()};this._applyClientOptions(a),this._applyIntegrationsMetadata(a);let s=n;e.captureContext&&(s=T["a"].clone(s).update(e.captureContext));let o=Object($["c"])(a);if(s){var c=[...e.attachments||[],...s.getAttachments()];c.length&&(e.attachments=c),o=s.applyToEvent(a,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(ot["a"])(t.data,e,n)}})))},...t.user&&{user:Object(ot["a"])(t.user,e,n)},...t.contexts&&{contexts:Object(ot["a"])(t.contexts,e,n)},...t.extra&&{extra:Object(ot["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(ot["a"])(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=Object(ot["a"])(t.data,e,n)),t)))),r}_applyClientOptions(t){var e=this.getOptions();const{environment:n,release:r,dist:i,maxValueLength:a=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(d["d"])(t.message,a));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=Object(d["d"])(s.value,a));var o=t.request;o&&o.url&&(o.url=Object(d["d"])(o.url,a))}_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=>{if("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){var e=t;"log"===e.logLevel?c["c"].log(e.message):c["c"].warn(e)}}))}_processEvent(t,e,n){const{beforeSend:r,sampleRate:i}=this.getOptions();if(!this._isEnabled())return Object($["b"])(new A("SDK not enabled, will not capture event.","log"));var a="transaction"===t.type;return!a&&"number"===typeof i&&Math.random()>i?(this.recordDroppedEvent("sample_rate","error"),Object($["b"])(new A(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"))):this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",t.type||"error"),new A("An event processor returned null, will not send event.","log");var i=e.data&&!0===e.data.__sentry__;if(i||a||!r)return n;var s=r(n,e);return Ce(s)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",t.type||"error"),new A("`beforeSend` returned `null`, will not send event.","log");var i=n&&n.getSession();return!a&&i&&this._updateSessionFromEvent(i,r),this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof A)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new A(`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__)&&c["c"].error("Error while sending event:",t)})):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["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 Ce(t){var e="`beforeSend` method has to return `null` or a valid event.";if(Object(at["n"])(t))return t.then((t=>{if(!Object(at["i"])(t)&&null!==t)throw new A(e);return t}),(t=>{throw new A(`beforeSend rejected with ${t}`)}));if(!Object(at["i"])(t)&&null!==t)throw new A(e);return t}function Ae(t,e,n){var r=[{type:"client_report"},{timestamp:n||Object(me["b"])(),discarded_events:t}];return L(e?{dsn:e}:{},[r])}var $e=n("4Ssk"),Pe=Object(rt["a"])();let Le;function Me(){if(Le)return Le;if(Object($e["a"])(Pe.fetch))return Le=Pe.fetch.bind(Pe);var t=Pe.document;let e=Pe.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(i){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return Le=e.bind(Pe)}function qe(t,e){var n="[object Navigator]"===Object.prototype.toString.call(Pe&&Pe.navigator),r=n&&"function"===typeof Pe.navigator.sendBeacon;if(r){var i=Pe.navigator.sendBeacon.bind(Pe.navigator);i(t,e)}else if(Object($e["b"])()){var a=Me();a(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,(t=>{("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].error(t)}))}}var He=Object(rt["a"])();class Fe extends Ie{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:O}],version:O},super(t),t.sendClientReports&&He.document&&He.document.addEventListener("visibilitychange",(()=>{"hidden"===He.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return ht(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return vt(this._options.stackParser,t,e,n,this._options.attachStacktrace)}sendEvent(t,e){var n=this.getIntegrationById(Mt);n&&n.options&&n.options.sentry&&Object(S["b"])().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Object(u["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__)&&c["c"].log("Sending outcomes:",t);var e=Oe(this._dsn,this._options),n=Ae(t,this._options.tunnel&&pe(this._dsn));try{qe(e,F(n))}catch(r){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].error(r)}}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].log("No dsn provided, will not send outcomes");else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].log("No outcomes to send")}}function ze(t,e=Me()){function n(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")}})))}return nt(t,n)}var We=4;function Xe(t){function e(e){return new $["a"](((n,r)=>{var i=new XMLHttpRequest;for(var a in i.onerror=r,i.onreadystatechange=()=>{i.readyState===We&&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,a)&&i.setRequestHeader(a,t.headers[a]);i.send(e.body)}))}return nt(t,e)}var Qe="?",Je=10,Ve=20,Ke=30,Ze=40,tn=50;function en(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 nn=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,rn=/\((\S*)(?::(\d+))(?::(\d+))\)/,an=t=>{var e=nn.exec(t);if(e){var n=e[2]&&0===e[2].indexOf("eval");if(n){var r=rn.exec(e[2]);r&&(e[2]=r[1],e[3]=r[2],e[4]=r[3])}const[t,i]=Sn(e[1]||Qe,e[2]);return en(i,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}},sn=[Ke,an],on=/^\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,cn=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,un=t=>{var e=on.exec(t);if(e){var n=e[3]&&e[3].indexOf(" > eval")>-1;if(n){var r=cn.exec(e[3]);r&&(e[1]=e[1]||"eval",e[3]=r[1],e[4]=r[2],e[5]="")}let t=e[3],i=e[1]||Qe;return[i,t]=Sn(i,t),en(t,i,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},dn=[tn,un],_n=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ln=t=>{var e=_n.exec(t);return e?en(e[2],e[1]||Qe,+e[3],e[4]?+e[4]:void 0):void 0},pn=[Ze,ln],fn=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,hn=t=>{var e=fn.exec(t);return e?en(e[2],e[3]||Qe,+e[1]):void 0},vn=[Je,hn],gn=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,mn=t=>{var e=gn.exec(t);return e?en(e[5],e[3]||e[4]||Qe,+e[1],+e[2]):void 0},bn=[Ve,mn],yn=[sn,dn,pn],En=Object(Ut["a"])(...yn),Sn=(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]:Qe,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};function On(t,e){!0===e.debug&&("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?c["c"].enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Object(S["b"])(),r=n.getScope();r&&r.update(e.initialScope);var i=new t(e);n.bindClient(i)}var Tn=[new r.InboundFilters,new r.FunctionToString,new Gt,new qt,new Ot,new Vt,new ne,new ee];function jn(t={}){if(void 0===t.defaultIntegrations&&(t.defaultIntegrations=Tn),void 0===t.release){var e=Object(rt["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(Ut["c"])(t.stackParser||En),integrations:Be(t),transport:t.transport||(Object($e["b"])()?ze:Xe)};On(Fe,n),t.autoSessionTracking&&Gn()}function Rn(t={},e=Object(S["b"])()){var n=Object(rt["a"])();if(!n.document)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].error("Global document not defined in showReportDialog call"));const{client:r,scope:i}=e.getStackTop();var a=t.dsn||r&&r.getDsn();if(a){i&&(t.user={...i.getUser(),...t.user}),t.eventId||(t.eventId=e.lastEventId());var s=n.document.createElement("script");s.async=!0,s.src=Te(a,t),t.onLoad&&(s.onload=t.onLoad);var o=n.document.head||n.document.body;o?o.appendChild(s):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].error("Not injecting report dialog. No injection point found in HTML")}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].error("DSN not configured for showReportDialog call")}function Nn(){return Object(S["b"])().lastEventId()}function xn(){}function Dn(t){t()}function wn(t){var e=Object(S["b"])().getClient();return e?e.flush(t):(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn("Cannot flush events. No client defined."),Object($["c"])(!1))}function kn(t){var e=Object(S["b"])().getClient();return e?e.close(t):(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn("Cannot flush events and disable SDK. No client defined."),Object($["c"])(!1))}function Un(t){return St(t)()}function Bn(t){t.startSession({ignoreDuration:!0}),t.captureSession()}function Gn(){var t=Object(rt["a"])(),e=t.document;if("undefined"!==typeof e){var n=Object(S["b"])();n.captureSession&&(Bn(n),Object(it["a"])("history",(({from:t,to:e})=>{void 0!==t&&t!==e&&Bn(Object(S["b"])())})))}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c["c"].warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}let Yn={};var In=Object(rt["a"])();In.Sentry&&In.Sentry.Integrations&&(Yn=In.Sentry.Integrations);var Cn={...Yn,...r,...i}},"aI3+":function(t,e,n){"use strict";n.r(e),n.d(e,"addExtensionMethods",(function(){return i["a"]})),n.d(e,"startIdleTransaction",(function(){return i["b"]})),n.d(e,"Integrations",(function(){return r})),n.d(e,"Span",(function(){return Ct["a"]})),n.d(e,"spanStatusfromHttpCode",(function(){return Ct["c"]})),n.d(e,"SpanStatus",(function(){return It})),n.d(e,"Transaction",(function(){return At["a"]})),n.d(e,"IdleTransaction",(function(){return G["c"]})),n.d(e,"getActiveTransaction",(function(){return Y["a"]})),n.d(e,"hasTracingEnabled",(function(){return Y["b"]})),n.d(e,"BROWSER_TRACING_INTEGRATION_ID",(function(){return kt})),n.d(e,"BrowserTracing",(function(){return Bt})),n.d(e,"defaultRequestInstrumentationOptions",(function(){return Tt})),n.d(e,"instrumentOutgoingRequests",(function(){return jt})),n.d(e,"TRACEPARENT_REGEXP",(function(){return U["a"]})),n.d(e,"extractTraceparentData",(function(){return U["b"]})),n.d(e,"stripUrlQueryAndFragment",(function(){return o["c"]}));var r={};n.r(r),n.d(r,"Express",(function(){return d})),n.d(r,"Postgres",(function(){return E})),n.d(r,"Mysql",(function(){return S})),n.d(r,"Mongo",(function(){return j})),n.d(r,"Prisma",(function(){return N})),n.d(r,"GraphQL",(function(){return x})),n.d(r,"Apollo",(function(){return D})),n.d(r,"BrowserTracing",(function(){return Bt}));var i=n("Cpvd"),a=n("fqQG"),s=n("8LbN"),o=n("DTqw"),c=n("9AQC");n("Fffm");function u(t,e={}){var n=t.method&&t.method.toUpperCase();let r="",i="url";e.customRoute||t.route?(r=e.customRoute||`${t.baseUrl||""}${t.route&&t.route.path}`,i="route"):(t.originalUrl||t.url)&&(r=Object(o["c"])(t.originalUrl||t.url||""));let a="";return e.method&&n&&(a+=n),e.method&&e.path&&(a+=" "),e.path&&r&&(a+=r),[a,i]}class d{static __initStatic(){this.id="Express"}__init(){this.name=d.id}constructor(t={}){d.prototype.__init.call(this),this._router=t.router||t.app,this._methods=(Array.isArray(t.methods)?t.methods:[]).concat("use")}setupOnce(){this._router?(f(this._router,this._methods),h(this._router)):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].error("ExpressIntegration is missing an Express instance")}}function _(t,e){var n=t.length;switch(n){case 2:return function(n,r){var i=r.__sentry_transaction;if(i){var a=i.startChild({description:t.name,op:`express.middleware.${e}`});r.once("finish",(()=>{a.finish()}))}return t.call(this,n,r)};case 3:return function(n,r,i){var s=r.__sentry_transaction,o=Object(a["a"])([s,"optionalAccess",t=>t.startChild,"call",n=>n({description:t.name,op:`express.middleware.${e}`})]);t.call(this,n,r,(function(...t){Object(a["a"])([o,"optionalAccess",t=>t.finish,"call",t=>t()]),i.call(this,...t)}))};case 4:return function(n,r,i,s){var o=i.__sentry_transaction,c=Object(a["a"])([o,"optionalAccess",t=>t.startChild,"call",n=>n({description:t.name,op:`express.middleware.${e}`})]);t.call(this,n,r,i,(function(...t){Object(a["a"])([c,"optionalAccess",t=>t.finish,"call",t=>t()]),s.call(this,...t)}))};default:throw new Error(`Express middleware takes 2-4 arguments. Got: ${n}`)}}function l(t,e){return t.map((t=>"function"===typeof t?_(t,e):Array.isArray(t)?t.map((t=>"function"===typeof t?_(t,e):t)):t))}function p(t,e){var n=t[e];return t[e]=function(...t){return n.call(this,...l(t,e))},t}function f(t,e=[]){e.forEach((e=>p(t,e)))}function h(t){var e="settings"in t;e&&void 0===t._router&&t.lazyrouter&&t.lazyrouter();var n=e?t._router:t;if(!n)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].debug("Cannot instrument router for URL Parameterization (did not find a valid router)."),void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].debug("Routing instrumentation is currently only supported in Express 4."));var r=Object.getPrototypeOf(n),i=r.process_params;r.process_params=function(t,e,n,r,a){n._reconstructedRoute||(n._reconstructedRoute="");const{layerRoutePath:s,isRegex:c,isArray:d,numExtraSegments:_}=v(t);var l=s||t.path||"",p=l.split("/").filter((t=>t.length>0&&(c||d||!t.includes("*")))).join("/");p&&p.length>0&&(n._reconstructedRoute+=`/${p}${c?"/":""}`);var f=Object(o["a"])(n.originalUrl||"")+_,h=Object(o["a"])(n._reconstructedRoute);if(f===h){var g=r.__sentry_transaction;if(g&&"custom"!==g.metadata.source){var m=n._reconstructedRoute||"/";g.setName(...u(n,{path:!0,method:!0,customRoute:m}))}}return i.call(this,t,e,n,r,a)}}function v(t){var e=Object(a["a"])([t,"access",t=>t.route,"optionalAccess",t=>t.path]),n=Object(c["k"])(e),r=Array.isArray(e);if(!e)return{isRegex:n,isArray:r,numExtraSegments:0};var i=r?Math.max(g(e)-Object(o["a"])(t.path||""),0):0,s=m(r,e);return{layerRoutePath:s,isRegex:n,isArray:r,numExtraSegments:i}}function g(t){return t.reduce(((t,e)=>t+Object(o["a"])(e.toString())),0)}function m(t,e){return t?e.map((t=>t.toString())).join(","):e&&e.toString()}d.__initStatic();var b=n("+A1k"),y=n("6PXS");class E{static __initStatic(){this.id="Postgres"}__init(){this.name=E.id}constructor(t={}){E.prototype.__init.call(this),this._usePgNative=!!t.usePgNative}setupOnce(t,e){var n=Object(b["c"])("pg");if(!n)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].error("Postgres Integration was unable to require `pg` package."));if(this._usePgNative&&!Object(a["a"])([n,"access",t=>t.native,"optionalAccess",t=>t.Client]))return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].error("Postgres Integration was unable to access 'pg-native' bindings."));const{Client:r}=this._usePgNative?n.native:n;Object(y["e"])(r.prototype,"query",(function(t){return function(n,r,i){var s=e().getScope(),o=Object(a["a"])([s,"optionalAccess",t=>t.getSpan,"call",t=>t()]),u=Object(a["a"])([o,"optionalAccess",t=>t.startChild,"call",t=>t({description:"string"===typeof n?n:n.text,op:"db"})]);if("function"===typeof i)return t.call(this,n,r,(function(t,e){Object(a["a"])([u,"optionalAccess",t=>t.finish,"call",t=>t()]),i(t,e)}));if("function"===typeof r)return t.call(this,n,(function(t,e){Object(a["a"])([u,"optionalAccess",t=>t.finish,"call",t=>t()]),r(t,e)}));var d="undefined"!==typeof r?t.call(this,n,r):t.call(this,n);return Object(c["n"])(d)?d.then((t=>(Object(a["a"])([u,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):(Object(a["a"])([u,"optionalAccess",t=>t.finish,"call",t=>t()]),d)}}))}}E.__initStatic();class S{constructor(){S.prototype.__init.call(this)}static __initStatic(){this.id="Mysql"}__init(){this.name=S.id}setupOnce(t,e){var n=Object(b["c"])("mysql/lib/Connection.js");n?Object(y["e"])(n,"createQuery",(function(t){return function(n,r,i){var s=e().getScope(),o=Object(a["a"])([s,"optionalAccess",t=>t.getSpan,"call",t=>t()]),c=Object(a["a"])([o,"optionalAccess",t=>t.startChild,"call",t=>t({description:"string"===typeof n?n:n.sql,op:"db"})]);return"function"===typeof i?t.call(this,n,r,(function(t,e,n){Object(a["a"])([c,"optionalAccess",t=>t.finish,"call",t=>t()]),i(t,e,n)})):"function"===typeof r?t.call(this,n,(function(t,e,n){Object(a["a"])([c,"optionalAccess",t=>t.finish,"call",t=>t()]),r(t,e,n)})):t.call(this,n,r,i)}})):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].error("Mysql Integration was unable to require `mysql` package.")}}S.__initStatic();var O=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],T={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]};class j{static __initStatic(){this.id="Mongo"}__init(){this.name=j.id}constructor(t={}){j.prototype.__init.call(this),this._operations=Array.isArray(t.operations)?t.operations:O,this._describeOperations=!("describeOperations"in t)||t.describeOperations,this._useMongoose=!!t.useMongoose}setupOnce(t,e){var n=this._useMongoose?"mongoose":"mongodb",r=Object(b["c"])(n);r?this._instrumentOperations(r.Collection,this._operations,e):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].error(`Mongo Integration was unable to require \`${n}\` package.`)}_instrumentOperations(t,e,n){e.forEach((e=>this._patchOperation(t,e,n)))}_patchOperation(t,e,n){if(e in t.prototype){var r=this._getSpanContextFromOperationArguments.bind(this);Object(y["e"])(t.prototype,e,(function(t){return function(...i){var s=i[i.length-1],o=n().getScope(),u=Object(a["a"])([o,"optionalAccess",t=>t.getSpan,"call",t=>t()]);if("function"!==typeof s||"mapReduce"===e&&2===i.length){var d=Object(a["a"])([u,"optionalAccess",t=>t.startChild,"call",t=>t(r(this,e,i))]),_=t.call(this,...i);return Object(c["n"])(_)?_.then((t=>(Object(a["a"])([d,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):(Object(a["a"])([d,"optionalAccess",t=>t.finish,"call",t=>t()]),_)}d=Object(a["a"])([u,"optionalAccess",t=>t.startChild,"call",t=>t(r(this,e,i.slice(0,-1)))]);return t.call(this,...i.slice(0,-1),(function(t,e){Object(a["a"])([d,"optionalAccess",t=>t.finish,"call",t=>t()]),s(t,e)}))}}))}}_getSpanContextFromOperationArguments(t,e,n){var r={collectionName:t.collectionName,dbName:t.dbName,namespace:t.namespace},i={op:"db",description:e,data:r},a=T[e],s=Array.isArray(this._describeOperations)?this._describeOperations.includes(e):this._describeOperations;if(!a||!s)return i;try{if("mapReduce"===e){const[t,e]=n;r[a[0]]="string"===typeof t?t:t.name||"<anonymous>",r[a[1]]="string"===typeof e?e:e.name||"<anonymous>"}else for(let t=0;t<a.length;t++)r[a[t]]=JSON.stringify(n[t])}catch(o){}return i}}function R(t){return t&&!!t["$use"]}j.__initStatic();class N{static __initStatic(){this.id="Prisma"}__init(){this.name=N.id}constructor(t={}){N.prototype.__init.call(this),R(t.client)?this._client=t.client:("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].warn(`Unsupported Prisma client provided to PrismaIntegration. Provided client: ${JSON.stringify(t.client)}`)}setupOnce(t,e){this._client?this._client.$use(((t,n)=>{var r=e().getScope(),i=Object(a["a"])([r,"optionalAccess",t=>t.getSpan,"call",t=>t()]),s=t.action,o=t.model,u=Object(a["a"])([i,"optionalAccess",t=>t.startChild,"call",t=>t({description:o?`${o} ${s}`:s,op:"db.prisma"})]),d=n(t);return Object(c["n"])(d)?d.then((t=>(Object(a["a"])([u,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):(Object(a["a"])([u,"optionalAccess",t=>t.finish,"call",t=>t()]),d)})):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].error("PrismaIntegration is missing a Prisma Client Instance")}}N.__initStatic();class x{constructor(){x.prototype.__init.call(this)}static __initStatic(){this.id="GraphQL"}__init(){this.name=x.id}setupOnce(t,e){var n=Object(b["c"])("graphql/execution/execute.js");n?Object(y["e"])(n,"execute",(function(t){return function(...n){var r=e().getScope(),i=Object(a["a"])([r,"optionalAccess",t=>t.getSpan,"call",t=>t()]),s=Object(a["a"])([i,"optionalAccess",t=>t.startChild,"call",t=>t({description:"execute",op:"db.graphql"})]);Object(a["a"])([r,"optionalAccess",t=>t.setSpan,"call",t=>t(s)]);var o=t.call(this,...n);return Object(c["n"])(o)?o.then((t=>(Object(a["a"])([s,"optionalAccess",t=>t.finish,"call",t=>t()]),Object(a["a"])([r,"optionalAccess",t=>t.setSpan,"call",t=>t(i)]),t))):(Object(a["a"])([s,"optionalAccess",t=>t.finish,"call",t=>t()]),Object(a["a"])([r,"optionalAccess",t=>t.setSpan,"call",t=>t(i)]),o)}})):s["c"].error("GraphQL Integration was unable to require graphql/execution package.")}}x.__initStatic();class D{constructor(){D.prototype.__init.call(this)}static __initStatic(){this.id="Apollo"}__init(){this.name=D.id}setupOnce(t,e){var n=Object(b["c"])("apollo-server-core");n?Object(y["e"])(n.ApolloServerBase.prototype,"constructSchema",(function(t){return function(){var n=Array.isArray(this.config.resolvers)?this.config.resolvers:[this.config.resolvers];return this.config.resolvers=n.map((t=>(Object.keys(t).forEach((n=>{Object.keys(t[n]).forEach((r=>{"function"===typeof t[n][r]&&w(t,n,r,e)}))})),t))),t.call(this)}})):s["c"].error("Apollo Integration was unable to require apollo-server-core package.")}}function w(t,e,n,r){Object(y["e"])(t[e],n,(function(t){return function(...i){var s=r().getScope(),o=Object(a["a"])([s,"optionalAccess",t=>t.getSpan,"call",t=>t()]),u=Object(a["a"])([o,"optionalAccess",t=>t.startChild,"call",t=>t({description:`${e}.${n}`,op:"db.graphql.apollo"})]),d=t.call(this,...i);return Object(c["n"])(d)?d.then((t=>(Object(a["a"])([u,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):(Object(a["a"])([u,"optionalAccess",t=>t.finish,"call",t=>t()]),d)}}))}D.__initStatic();var k=n("z+RT"),U=n("8yT3"),B=n("jXcl"),G=n("MBYv"),Y=n("FGHR"),I=Object(k["a"])();function C(){I&&I.document?I.document.addEventListener("visibilitychange",(()=>{var t=Object(Y["a"])();if(I.document.hidden&&t){var e="cancelled";("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${t.op}`),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.finish()}})):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].warn("[Tracing] Could not set up background tab detection due to lack of global document")}var A=n("P/f2"),$=n("kdvv"),P=n("vFt6"),L=(t,e,n)=>{let r;return i=>{e.value>=0&&(i||n)&&(e.delta=e.value-(r||0),(e.delta||void 0===r)&&(r=e.value,t(e)))}},M=()=>`v2-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,q=(t,e)=>({name:t,value:Object(A["a"])(e,(()=>-1)),delta:0,entries:[],id:M()}),H=(t,e)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if("first-input"===t&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((t=>t.getEntries().map(e)));return n.observe({type:t,buffered:!0}),n}}catch(r){}},F=(t,e)=>{var n=r=>{"pagehide"!==r.type&&"hidden"!==Object(k["a"])().document.visibilityState||(t(r),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},z=(t,e)=>{var n=q("CLS",0);let r,i=0,a=[];var s=t=>{if(t&&!t.hadRecentInput){var e=a[0],s=a[a.length-1];i&&0!==a.length&&t.startTime-s.startTime<1e3&&t.startTime-e.startTime<5e3?(i+=t.value,a.push(t)):(i=t.value,a=[t]),i>n.value&&(n.value=i,n.entries=a,r&&r())}},o=H("layout-shift",s);o&&(r=L(t,n,e),F((()=>{o.takeRecords().map(s),r(!0)})))};let W=-1;var X=()=>"hidden"===Object(k["a"])().document.visibilityState?0:1/0,Q=()=>{F((({timeStamp:t})=>{W=t}),!0)},J=()=>(W<0&&(W=X(),Q()),{get firstHiddenTime(){return W}}),V=(t,e)=>{var n=J(),r=q("FID");let i;var a=t=>{i&&t.startTime<n.firstHiddenTime&&(r.value=t.processingStart-t.startTime,r.entries.push(t),i(!0))},s=H("first-input",a);s&&(i=L(t,r,e),F((()=>{s.takeRecords().map(a),s.disconnect()}),!0))},K={},Z=(t,e)=>{var n=J(),r=q("LCP");let i;var a=t=>{var e=t.startTime;e<n.firstHiddenTime&&(r.value=e,r.entries.push(t)),i&&i()},s=H("largest-contentful-paint",a);if(s){i=L(t,r,e);var o=()=>{K[r.id]||(s.takeRecords().map(a),s.disconnect(),K[r.id]=!0,i(!0))};["keydown","click"].forEach((t=>{addEventListener(t,o,{once:!0,capture:!0})})),F(o,!0)}};function tt(t){return"number"===typeof t&&isFinite(t)}function et(t,{startTimestamp:e,...n}){return e&&t.startTimestamp>e&&(t.startTimestamp=e),t.startChild({startTimestamp:e,...n})}var nt=Object(k["a"])();function rt(){return nt&&nt.addEventListener&&nt.performance}let it,at,st=0,ot={};function ct(t=!1){var e=rt();e&&$["a"]&&(e.mark&&nt.performance.mark("sentry-tracing-init"),dt(),_t(t),lt())}function ut(){var t=t=>{var e=Object(Y["a"])();if(e){var n=Object(Y["c"])($["a"]+t.startTime),r=Object(Y["c"])(t.duration);e.startChild({description:"Long Task",op:"ui.long-task",startTimestamp:n,endTimestamp:n+r})}};H("longtask",t)}function dt(){z((t=>{var e=t.entries.pop();e&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log("[Measurements] Adding CLS"),ot["cls"]={value:t.value,unit:""},at=e)}))}function _t(t){Z((t=>{var e=t.entries.pop();if(e){var n=Object(Y["c"])($["a"]),r=Object(Y["c"])(e.startTime);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log("[Measurements] Adding LCP"),ot["lcp"]={value:t.value,unit:"millisecond"},ot["mark.lcp"]={value:n+r,unit:"second"},it=e}}),t)}function lt(){V((t=>{var e=t.entries.pop();if(e){var n=Object(Y["c"])($["a"]),r=Object(Y["c"])(e.startTime);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log("[Measurements] Adding FID"),ot["fid"]={value:t.value,unit:"millisecond"},ot["mark.fid"]={value:n+r,unit:"second"}}}))}function pt(t){var e=rt();if(!e||!nt.performance.getEntries||!$["a"])return;("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log("[Tracing] Adding & adjusting spans using Performance API");var n=Object(Y["c"])($["a"]),r=e.getEntries();let i,a;r.slice(st).forEach((e=>{var r=Object(Y["c"])(e.startTime),o=Object(Y["c"])(e.duration);if(!("navigation"===t.op&&n+r<t.startTimestamp))switch(e.entryType){case"navigation":ht(t,e,n),i=n+Object(Y["c"])(e.responseStart),a=n+Object(Y["c"])(e.requestStart);break;case"mark":case"paint":case"measure":var c=ft(t,e,r,o,n),u=J(),d=e.startTime<u.firstHiddenTime;"first-paint"===e.name&&d&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log("[Measurements] Adding FP"),ot["fp"]={value:e.startTime,unit:"millisecond"},ot["mark.fp"]={value:c,unit:"second"}),"first-contentful-paint"===e.name&&d&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log("[Measurements] Adding FCP"),ot["fcp"]={value:e.startTime,unit:"millisecond"},ot["mark.fcp"]={value:c,unit:"second"});break;case"resource":var _=e.name.replace(nt.location.origin,"");mt(t,e,_,r,o,n);break;default:}})),st=Math.max(r.length-1,0),bt(t),"pageload"===t.op&&("number"===typeof i&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log("[Measurements] Adding TTFB"),ot["ttfb"]={value:1e3*(i-t.startTimestamp),unit:"millisecond"},"number"===typeof a&&a<=i&&(ot["ttfb.requestTime"]={value:1e3*(i-a),unit:"millisecond"})),["fcp","fp","lcp"].forEach((e=>{if(ot[e]&&!(n>=t.startTimestamp)){var r=ot[e].value,i=n+Object(Y["c"])(r),a=Math.abs(1e3*(i-t.startTimestamp)),o=a-r;("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log(`[Measurements] Normalized ${e} from ${r} to ${a} (${o})`),ot[e].value=a}})),ot["mark.fid"]&&ot["fid"]&&et(t,{description:"first input delay",endTimestamp:ot["mark.fid"].value+Object(Y["c"])(ot["fid"].value),op:"web.vitals",startTimestamp:ot["mark.fid"].value}),"fcp"in ot||delete ot.cls,Object.keys(ot).forEach((e=>{t.setMeasurement(e,ot[e].value,ot[e].unit)})),yt(t)),it=void 0,at=void 0,ot={}}function ft(t,e,n,r,i){var a=i+n,s=a+r;return et(t,{description:e.name,endTimestamp:s,op:e.entryType,startTimestamp:a}),a}function ht(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{vt(t,e,r,n)})),vt(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),vt(t,e,"fetch",n,"cache","domainLookupStart"),vt(t,e,"domainLookup",n,"DNS"),gt(t,e,n)}function vt(t,e,n,r,i,a){var s=a?e[a]:e[`${n}End`],o=e[`${n}Start`];o&&s&&et(t,{op:"browser",description:Object(A["a"])(i,(()=>n)),startTimestamp:r+Object(Y["c"])(o),endTimestamp:r+Object(Y["c"])(s)})}function gt(t,e,n){et(t,{op:"browser",description:"request",startTimestamp:n+Object(Y["c"])(e.requestStart),endTimestamp:n+Object(Y["c"])(e.responseEnd)}),et(t,{op:"browser",description:"response",startTimestamp:n+Object(Y["c"])(e.responseStart),endTimestamp:n+Object(Y["c"])(e.responseEnd)})}function mt(t,e,n,r,i,a){if("xmlhttprequest"!==e.initiatorType&&"fetch"!==e.initiatorType){var s={};"transferSize"in e&&(s["Transfer Size"]=e.transferSize),"encodedBodySize"in e&&(s["Encoded Body Size"]=e.encodedBodySize),"decodedBodySize"in e&&(s["Decoded Body Size"]=e.decodedBodySize);var o=a+r,c=o+i;et(t,{description:n,endTimestamp:c,op:e.initiatorType?`resource.${e.initiatorType}`:"resource",startTimestamp:o,data:s})}}function bt(t){var e=nt.navigator;if(e){var n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),tt(n.rtt)&&(ot["connection.rtt"]={value:n.rtt,unit:"millisecond"}),tt(n.downlink)&&(ot["connection.downlink"]={value:n.downlink,unit:""})),tt(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`),tt(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}}function yt(t){it&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log("[Measurements] Adding LCP Data"),it.element&&t.setTag("lcp.element",Object(P["b"])(it.element)),it.id&&t.setTag("lcp.id",it.id),it.url&&t.setTag("lcp.url",it.url.trim().slice(0,200)),t.setTag("lcp.size",it.size)),at&&at.sources&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log("[Measurements] Adding CLS Data"),at.sources.forEach(((e,n)=>t.setTag(`cls.source.${n+1}`,Object(P["b"])(e.node)))))}var Et=n("+924"),St=n("6hSO"),Ot=["localhost",/^\//],Tt={traceFetch:!0,traceXHR:!0,tracingOrigins:Ot};function jt(t){const{traceFetch:e,traceXHR:n,tracingOrigins:r,shouldCreateSpanForRequest:i}={...Tt,...t};var a={},s=t=>{if(a[t])return a[t];var e=r;return a[t]=e.some((e=>Object(Et["a"])(t,e)))&&!Object(Et["a"])(t,"sentry_key"),a[t]};let o=s;"function"===typeof i&&(o=t=>s(t)&&i(t));var c={};e&&Object(St["a"])("fetch",(t=>{Rt(t,o,c)})),n&&Object(St["a"])("xhr",(t=>{xt(t,o,c)}))}function Rt(t,e,n){if(Object(Y["b"])()&&t.fetchData&&e(t.fetchData.url))if(t.endTimestamp){var r=t.fetchData.__span;if(!r)return;var i=n[r];i&&(t.response?i.setHttpStatus(t.response.status):t.error&&i.setStatus("internal_error"),i.finish(),delete n[r])}else{var a=Object(Y["a"])();if(a){i=a.startChild({data:{...t.fetchData,type:"fetch"},description:`${t.fetchData.method} ${t.fetchData.url}`,op:"http.client"});t.fetchData.__span=i.spanId,n[i.spanId]=i;var s=t.args[0]=t.args[0],o=t.args[1]=t.args[1]||{};o.headers=Nt(s,a.getBaggage(),i,o)}}}function Nt(t,e,n,r){let i=r.headers;if(Object(c["g"])(t,Request)&&(i=t.headers),i)if("function"===typeof i.append)i.append("sentry-trace",n.toTraceparent()),i.append(B["a"],Object(B["e"])(e,i.get(B["a"])));else if(Array.isArray(i)){const[,t]=i.find((([t,e])=>t===B["a"]));i=[...i,["sentry-trace",n.toTraceparent()],[B["a"],Object(B["e"])(e,t)]]}else i={...i,"sentry-trace":n.toTraceparent(),baggage:Object(B["e"])(e,i.baggage)};else i={"sentry-trace":n.toTraceparent(),baggage:Object(B["e"])(e)};return i}function xt(t,e,n){if(!(!Object(Y["b"])()||t.xhr&&t.xhr.__sentry_own_request__)&&t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)){var r=t.xhr.__sentry_xhr__;if(t.endTimestamp){var i=t.xhr.__sentry_xhr_span_id__;if(!i)return;var a=n[i];a&&(a.setHttpStatus(r.status_code),a.finish(),delete n[i])}else{var s=Object(Y["a"])();if(s){a=s.startChild({data:{...r.data,type:"xhr",method:r.method,url:r.url},description:`${r.method} ${r.url}`,op:"http.client"});if(t.xhr.__sentry_xhr_span_id__=a.spanId,n[t.xhr.__sentry_xhr_span_id__]=a,t.xhr.setRequestHeader)try{t.xhr.setRequestHeader("sentry-trace",a.toTraceparent());var o=t.xhr.getRequestHeader&&t.xhr.getRequestHeader(B["a"]);t.xhr.setRequestHeader(B["a"],Object(B["e"])(s.getBaggage(),o))}catch(c){}}}}}var Dt=Object(k["a"])();function wt(t,e=!0,n=!0){if(!Dt||!Dt.location)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].warn("Could not initialize routing instrumentation due to invalid location"));let r,i=Dt.location.href;e&&(r=t({name:Dt.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&Object(St["a"])("history",(({to:e,from:n})=>{void 0===n&&i&&-1!==i.indexOf(e)?i=void 0:n!==e&&(i=void 0,r&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log(`[Tracing] Finishing current transaction with op: ${r.op}`),r.finish()),r=t({name:Dt.location.pathname,op:"navigation",metadata:{source:"url"}}))}))}var kt="BrowserTracing",Ut={idleTimeout:G["b"],finalTimeout:G["a"],markBackgroundTransactions:!0,routingInstrumentation:wt,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0},...Tt};class Bt{__init(){this.name=kt}constructor(t){Bt.prototype.__init.call(this);let e=Tt.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)?e=t.tracingOrigins:("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options={...Ut,...t,tracingOrigins:e};const{_metricOptions:n}=this.options;ct(n&&n._reportAllChanges),Object(a["a"])([this,"access",t=>t.options,"access",t=>t._experiments,"optionalAccess",t=>t.enableLongTask])&&ut()}setupOnce(t,e){this._getCurrentHub=e,this._emitOptionsWarning&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].warn(`[Tracing] We added a reasonable default for you: ${Tt.tracingOrigins}`));const{routingInstrumentation:n,startTransactionOnLocationChange:r,startTransactionOnPageLoad:i,markBackgroundTransactions:a,traceFetch:o,traceXHR:c,tracingOrigins:u,shouldCreateSpanForRequest:d}=this.options;n((t=>this._createRouteTransaction(t)),i,r),a&&C(),jt({traceFetch:o,traceXHR:c,tracingOrigins:u,shouldCreateSpanForRequest:d})}_createRouteTransaction(t){if(!this._getCurrentHub)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`));const{beforeNavigate:e,idleTimeout:n,finalTimeout:r}=this.options;var a="pageload"===t.op?Gt():void 0,o={...t,...a,...a&&{metadata:{...t.metadata,...a.metadata}},trimEnd:!0},c="function"===typeof e?e(o):o,u=void 0===c?{...o,sampled:!1}:c;u.metadata=u.name!==o.name?{...u.metadata,source:"custom"}:u.metadata,!1===u.sampled&&("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log(`[Tracing] Will not send ${u.op} transaction because of beforeNavigate.`),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s["c"].log(`[Tracing] Starting ${u.op} transaction on scope`);var d=this._getCurrentHub();const{location:_}=Object(k["a"])();var l=Object(i["b"])(d,u,n,r,!0,{location:_});return l.registerBeforeFinishCallback((t=>{pt(t),t.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))})),l}}function Gt(){var t=Yt("sentry-trace"),e=Yt("baggage"),n=t?Object(U["b"])(t):void 0,r=Object(B["f"])(e,t);if(n||r)return{...n&&n,...r&&{metadata:{baggage:r}}}}function Yt(t){var e=Object(k["a"])();if(e.document&&e.document.querySelector){var n=e.document.querySelector(`meta[name=${t}]`);return n?n.getAttribute("content"):null}return null}var It,Ct=n("SYqL");(function(t){var e="ok";t["Ok"]=e;var n="deadline_exceeded";t["DeadlineExceeded"]=n;var r="unauthenticated";t["Unauthenticated"]=r;var i="permission_denied";t["PermissionDenied"]=i;var a="not_found";t["NotFound"]=a;var s="resource_exhausted";t["ResourceExhausted"]=s;var o="invalid_argument";t["InvalidArgument"]=o;var c="unimplemented";t["Unimplemented"]=c;var u="unavailable";t["Unavailable"]=u;var d="internal_error";t["InternalError"]=d;var _="unknown_error";t["UnknownError"]=_;var l="cancelled";t["Cancelled"]=l;var p="already_exists";t["AlreadyExists"]=p;var f="failed_precondition";t["FailedPrecondition"]=f;var h="aborted";t["Aborted"]=h;var v="out_of_range";t["OutOfRange"]=v;var g="data_loss";t["DataLoss"]=g})(It||(It={}));var At=n("EldZ");("undefined"===typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&Object(i["a"])()},fqQG:function(t,e,n){"use strict";function r(t){let e,n=t[0],r=1;while(r<t.length){var i=t[r],a=t[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(e=n,n=a(n)):"call"!==i&&"optionalCall"!==i||(n=a(((...t)=>n.call(e,...t))),e=void 0)}return n}n.d(e,"a",(function(){return r}))},jXcl:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return p})),n.d(e,"e",(function(){return g})),n.d(e,"f",(function(){return m}));var r=n("9AQC"),i=n("8LbN"),a="baggage",s="sentry-",o=/^sentry-/,c=8192;function u(t,e="",n=!0){return[{...t},e,n]}function d(t){return 0===Object.keys(t[0]).length}function _(t){return t[0]}function l(t){return t[1]}function p(t){return t[2]}function f(t){t[2]=!1}function h(t){return Object.keys(t[0]).reduce(((e,n)=>{var r=t[0][n],a=`${s}${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=""===e?a:`${e},${a}`;return o.length>c?(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i["c"].warn(`Not adding key: ${n} with val: ${r} to baggage due to exceeding baggage size limits.`),e):o}),t[1])}function v(t,e=!1){if(!Array.isArray(t)&&!Object(r["l"])(t)||"number"===typeof t)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i["c"].warn("[parseBaggageHeader] Received input value of incompatible type: ",typeof t,t),u({},"");var n=(Object(r["l"])(t)?t:t.join(",")).split(",").map((t=>t.trim())).filter((t=>""!==t&&(e||o.test(t))));return n.reduce((([t,e],n)=>{const[r,i]=n.split("=");if(o.test(r)){var a=decodeURIComponent(r.split("-")[1]);return[{...t,[a]:decodeURIComponent(i)},e,!0]}return[t,""===e?n:`${e},${n}`,!0]}),[{},"",!0])}function g(t,e){if(!t&&!e)return"";var n=e&&v(e,!0)||void 0,r=n&&l(n),i=u(t&&t[0]||{},r||"");return h(i)}function m(t,e){var n=v(t||"");return(e||!d(n))&&f(n),n}},kdvv:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return l}));var r=n("z+RT"),i=n("+A1k"),a={nowSeconds:()=>Date.now()/1e3};function s(){const{performance:t}=Object(r["a"])();if(t&&t.now){var e=Date.now()-t.now();return{now:()=>t.now(),timeOrigin:e}}}function o(){try{var e=Object(i["a"])(t,"perf_hooks");return e.performance}catch(n){return}}var c=Object(i["b"])()?o():s(),u=void 0===c?a:{nowSeconds:()=>(c.timeOrigin+c.now())/1e3},d=a.nowSeconds.bind(a),_=u.nowSeconds.bind(u),l=_;let p;var f=(()=>{const{performance:t}=Object(r["a"])();if(t&&t.now){var e=36e5,n=t.now(),i=Date.now(),a=t.timeOrigin?Math.abs(t.timeOrigin+n-i):e,s=a<e,o=t.timing&&t.timing.navigationStart,c="number"===typeof o,u=c?Math.abs(o+n-i):e,d=u<e;return s||d?a<=u?(p="timeOrigin",t.timeOrigin):(p="navigationStart",o):(p="dateNow",i)}p="none"})()}).call(this,n("Vg/k")(t))},lW6c:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return m})),n.d(e,"d",(function(){return p})),n.d(e,"e",(function(){return f}));var r=n("9/Zf"),i=n("kdvv"),a=n("8LbN"),s=n("z+RT"),o=n("+A1k"),c=n("KjyA"),u=n("xS++"),d=4,_=100;class l{__init(){this._stack=[{}]}constructor(t,e=new c["a"],n=d){this._version=n,l.prototype.__init.call(this),this.getStackTop().scope=e,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){var e=this.getStackTop();e.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,a)=>{r.captureException(t,{originalException:t,syntheticException:i,...e,event_id:n},a)})),n}captureMessage(t,e,n){var i=this._lastEventId=n&&n.event_id?n.event_id:Object(r["e"])(),a=new Error(t);return this._withClient(((r,s)=>{r.captureMessage(t,e,{originalException:t,syntheticException:a,...n,event_id:i},s)})),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:s=null,maxBreadcrumbs:o=_}=r.getOptions&&r.getOptions()||{};if(!(o<=0)){var c=Object(i["b"])(),u={timestamp:c,...t},d=s?Object(a["b"])((()=>s(u,e))):u;null!==d&&n.addBreadcrumb(d,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=f(this);try{t(this)}finally{f(e)}}getIntegration(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(n){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a["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 a=Object(s["a"])();const{userAgent:o}=a.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(),r=n.__SENTRY__;if(r&&r.extensions&&"function"===typeof r.extensions[t])return r.extensions[t].apply(this,e);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a["c"].warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function p(){var t=Object(s["a"])();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function f(t){var e=p(),n=m(e);return b(e,t),n}function h(){var t=p();return g(t)&&!m(t).isOlderThan(d)||b(t,new l),Object(o["b"])()?v(t):m(t)}function v(t){try{var e=p().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return m(t);if(!g(n)||m(n).isOlderThan(d)){var r=m(t).getStackTop();b(n,new l(r.client,c["a"].clone(r.scope)))}return m(n)}catch(i){return m(t)}}function g(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function m(t){return Object(s["b"])("hub",(()=>new l),t)}function b(t,e){if(!t)return!1;var n=t.__SENTRY__=t.__SENTRY__||{};return n.hub=e,!0}},pRiV:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return a}));n("fqQG");var r=50;function i(...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 a=i.replace(/\(error: (.*)\)/,"$1");for(var o of e){var c=o(a);if(c){r.push(c);break}}}return s(r)}}function a(t){return Array.isArray(t)?i(...t):t}function s(t){if(!t.length)return[];let e=t;var n=e[0].function||"",i=e[e.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==i.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,r).map((t=>({...t,filename:t.filename||e[0].filename,function:t.function||"?"}))).reverse()}var o="<anonymous>";function c(t){try{return t&&"function"===typeof t&&t.name||o}catch(e){return o}}},vFt6:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n("z+RT"),i=n("9AQC");function a(t,e){try{let c=t;var n=5,r=80,i=[];let u=0,d=0;var a=" > ",o=a.length;let _;while(c&&u++<n){if(_=s(c,e),"html"===_||u>1&&d+i.length*o+_.length>=r)break;i.push(_),d+=_.length,c=c.parentNode}return i.reverse().join(a)}catch(c){return"<unknown>"}}function s(t,e){var n=t,r=[];let a,s,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}`),a=n.className,a&&Object(i["l"])(a))for(s=a.split(/\s+/),u=0;u<s.length;u++)r.push(`.${s[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(e){return""}}},wCA9:function(t,e,n){"use strict";function r(){var t="function"===typeof WeakSet,e=t?new WeakSet:[];function n(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++){var r=e[t];if(r===n)return!0}return e.push(n),!1}function r(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}return[n,r]}n.d(e,"a",(function(){return r}))},"xS++":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return o}));var r=n("kdvv"),i=n("9/Zf"),a=n("6PXS");function s(t){var e=Object(r["c"])(),n={sid:Object(i["e"])(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>u(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["c"])(),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 u(t){return Object(a["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}})}},"z+RT":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var r=n("+A1k"),i={};function a(){return Object(r["b"])()?t:"undefined"!==typeof window?window:"undefined"!==typeof self?self:i}function s(t,e,n){var r=n||a(),i=r.__SENTRY__=r.__SENTRY__||{},s=i[t]||(i[t]=e());return s}}).call(this,n("IyRk"))}}]);